/* ---------- tn: the post's stylesheet (ships with the markdown) ---------- */
/* Pixelify Sans (SIL Open Font License), latin subset, one variable file for 400-700 */
@font-face { font-family: "Pixelify Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(PixelifySans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
.tn { --frame-0: #171412; --frame-1: #593a27; --frame-2: #8c5939;
      --navy: #1b2b4c; --dusk: #3b3429;
      --gold-1: #7a5e14; --gold-2: #c3931a; --red-1: #8a2e36; --red-2: #cb505a;
      --blue-1: #28556b; --blue-2: #3984a9; --ink: #f3ead8; --muted: #b9ad96; --hi: #ffd770;
      --fire: #e2562c; --wind: #e0b52a; --earth: #5fae3a; --water: #3c9ad6;
      --pixel: "Pixelify Sans", "JetBrains Mono", monospace;
      --mono: "JetBrains Mono", monospace;
      --label: 700 12px/1 "JetBrains Mono", monospace;
      color: var(--ink); font: 14px/1.55 var(--mono); margin: 24px 0; }
.tn *, .tn *::before, .tn *::after { box-sizing: border-box; }
.tn img { image-rendering: pixelated; display: block; }
.tn b { color: #fff; }
.tn a { color: #8fd3ff; }
.tn code { font-family: inherit; font-size: .95em; background: rgba(255,255,255,.1); padding: 1px 6px; border-radius: 4px; }
.tn .hi { color: var(--hi); }

/* pixel panel: the game's 5-px "UI_box sharp" frame, rebuilt with box-shadows */
.tn-panel { position: relative; background: var(--navy); padding: 22px 18px 16px;
  border: 2px solid var(--frame-0);
  box-shadow: inset 0 0 0 2px var(--frame-1), inset 0 0 0 4px var(--frame-2),
              inset 0 0 0 6px var(--frame-1), inset 0 0 0 8px var(--frame-0); }
.tn-panel.dusk { background: var(--dusk); }
.tn-panel.gold { box-shadow: inset 0 0 0 2px var(--gold-1), inset 0 0 0 4px var(--gold-2),
              inset 0 0 0 6px var(--gold-1), inset 0 0 0 8px var(--frame-0); }
.tn-panel.red  { background: #3b2c29; box-shadow: inset 0 0 0 2px var(--red-1), inset 0 0 0 4px var(--red-2),
              inset 0 0 0 6px var(--red-1), inset 0 0 0 8px var(--frame-0); }
.tn-panel.blue { background: #29303b; box-shadow: inset 0 0 0 2px var(--blue-1), inset 0 0 0 4px var(--blue-2),
              inset 0 0 0 6px var(--blue-1), inset 0 0 0 8px var(--frame-0); }
.tn-tag { position: absolute; top: -14px; left: 14px; background: var(--frame-0); color: var(--ink);
  font: var(--label); padding: 6px 9px; border: 2px solid var(--frame-2); text-transform: uppercase; }
.tn-panel.gold .tn-tag { border-color: var(--gold-2); }
.tn-panel.red .tn-tag { border-color: var(--red-2); }
.tn-panel.blue .tn-tag { border-color: var(--blue-2); }
.tn-note { color: var(--muted); font-size: 12px; margin-top: 12px; }
.tn-key { display: inline-block; min-width: 16px; padding: 0 4px; text-align: center; font: 700 10px/14px var(--mono);
  color: var(--frame-0); background: var(--ink); border-bottom: 2px solid var(--muted); vertical-align: 1px; }
.tn-sub { font: var(--label); color: var(--muted); text-transform: uppercase; margin: 16px 0 8px; display: flex; justify-content: space-between; gap: 8px; }
.tn-sub:first-child { margin-top: 0; }
.tn-inl { display: inline-block !important; width: 16px; height: 16px; vertical-align: -3px; }

/* animations (sprite sheets) */
.tn-ff { width: 48px; height: 48px; background: url(ff-rainbow.png) 0 0 / 192px 48px; image-rendering: pixelated;
  animation: tn-ff .6s steps(4) infinite; }
.tn-ff.reg { background-image: url(ff-regular.png); }
.tn-ff.sm { width: 24px; height: 24px; background-size: 96px 24px; animation-name: tn-ff-sm; }
@keyframes tn-ff { to { background-position: -192px 0; } }
@keyframes tn-ff-sm { to { background-position: -96px 0; } }
@keyframes tn-ff-32 { to { background-position: -128px 0; } }
@keyframes tn-ff-44 { to { background-position: -176px 0; } }
@keyframes tn-bob { 50% { transform: translateY(-4px); } }
@keyframes tn-drift { 0% { transform: translate(0,0); } 50% { transform: translate(-30px,-14px); } 100% { transform: translate(0,0); } }
@media (prefers-reduced-motion: reduce) { .tn * { animation: none !important; } }

/* hero banner */
.tn-banner { position: relative; height: 250px; overflow: hidden; border: 2px solid var(--frame-0);
  background: url(bg-grasslands.png) center 42% / cover no-repeat, #8fc2d9; image-rendering: pixelated;
  box-shadow: inset 0 0 0 2px var(--frame-1), inset 0 0 0 4px var(--frame-2), inset 0 0 0 6px var(--frame-1), inset 0 0 0 8px var(--frame-0); }
.tn-banner .ninja { position: absolute; left: 50%; bottom: 18px; width: 192px; margin-left: -96px; animation: tn-bob 1.2s steps(2) infinite; }
.tn-banner .ff1 { position: absolute; top: 34px; left: 64px; animation: tn-ff .6s steps(4) infinite, tn-drift 7s ease-in-out infinite; }
.tn-banner .ff2 { position: absolute; top: 70px; right: 70px; animation: tn-ff-sm .5s steps(4) infinite, tn-drift 5s ease-in-out infinite reverse; }
.tn-banner .ver { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.tn-chip { font: var(--label); padding: 5px 8px; background: var(--frame-0); color: var(--ink); border: 2px solid var(--frame-2); }
.tn-chip.beta { border-color: var(--gold-2); color: var(--hi); }

/* route timeline */
.tn-route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tn-stage { text-align: center; }
.tn-stage > img { width: 64px; margin: 0 auto 2px; }
.tn-stage h3 { margin: 0 0 12px; font: 700 17px/1.1 var(--pixel); color: #fff; }
.tn-stage h3 small { display: block; font: 12px/1.4 var(--mono); color: var(--muted); }
.tn-stage ul { list-style: none; margin: 0; padding: 0; text-align: left; display: grid; gap: 9px; }
.tn-stage li { display: grid; grid-template-columns: 32px 1fr; gap: 8px; align-items: center; font-size: 12.5px; line-height: 1.35; }
.tn-stage li img, .tn-stage li .tn-ff { width: 32px; height: 32px; }
.tn-stage li .tn-ff { background-size: 128px 32px; animation-name: tn-ff-32; }

/* numbered steps */
.tn-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.tn-steps li { counter-increment: s; display: grid; grid-template-columns: 26px 44px 1fr; gap: 10px; align-items: center; }
.tn-steps li::before { content: counter(s); font: 700 14px/26px var(--mono); text-align: center; color: var(--frame-0); background: var(--gold-2);
  box-shadow: inset 0 -3px 0 var(--gold-1); }
.tn-steps li > img, .tn-steps li > .tn-ff { width: 44px; height: 44px; }
.tn-steps li > .tn-ff { background-size: 176px 44px; animation-name: tn-ff-44; }
.tn-steps.compact li { grid-template-columns: 26px 32px 1fr; } .tn-steps.compact li > img { width: 32px; height: 32px; }

/* icon tiles grid */
.tn-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; }
.tn-tile { background: rgba(0,0,0,.22); border: 2px solid var(--frame-0); padding: 10px; display: grid; gap: 6px; align-content: start; }
.tn-tile img { width: 32px; height: 32px; }
.tn-tile .big { font: 700 20px/1 var(--mono); color: var(--hi); }
.tn-tile .t { font-size: 12.5px; line-height: 1.4; }
.tn-tile .row { display: flex; align-items: center; gap: 8px; }
.tn-iconnote { display: flex; align-items: center; gap: 10px; }
.tn-iconnote > img { width: 28px; height: 28px; flex: none; }

/* flow diagram (skill path, base loop, dojo) */
.tn-path { display: grid; grid-template-columns: auto 18px auto 18px auto 18px auto; align-items: start; justify-content: center; gap: 4px; }
.tn-node { display: grid; justify-items: center; align-content: start; gap: 3px; text-align: center; font-size: 11.5px; line-height: 1.3; width: 96px; color: var(--muted); }
.tn-node b { margin-top: 4px; font-size: 12px; }
.tn-node .ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--frame-0); border: 2px solid var(--frame-2); }
.tn-node .ic img { width: 40px; height: 40px; }
.tn-node.split { width: auto; }
.tn-node.split .pair { display: flex; gap: 6px; }
.tn-node.split b + b { margin-top: 0; }
.tn-arrow { height: 4px; background: var(--gold-2); position: relative; margin-top: 26px; }
.tn-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 7px solid transparent; border-left-color: var(--gold-2); border-right: 0; }

/* do / skip, two-up */
.tn-ds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tn-ds .tn-panel { font-size: 13px; }

/* chart */
.tn-chart svg { width: 100%; max-width: 480px; margin: 0 auto; height: auto; display: block; }

/* pets */
.tn-gates { display: grid; gap: 10px; }
.tn-gate { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: center; background: rgba(0,0,0,.22); border: 2px solid var(--frame-0); padding: 10px 12px; }
.tn-gate h4 { margin: 0; font: var(--label); line-height: 1.35; color: var(--ink); text-transform: uppercase; display: grid; justify-items: start; gap: 6px; }
.tn-gate h4 img { width: 32px; height: 32px; }
.tn-petlist { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.tn-pet { width: 56px; text-align: center; font-size: 11px; line-height: 1.2; color: var(--muted); }
.tn-pet img { width: 48px; height: 48px; margin: 0 auto 3px; }
.tn-combos { display: grid; gap: 8px; }
.tn-combo { display: grid; grid-template-columns: 172px 1fr; gap: 14px; align-items: center; background: rgba(0,0,0,.22); border: 2px solid var(--frame-0); padding: 10px 12px; }
.tn-combo .pets { display: flex; gap: 6px; }
.tn-combo .pets img { width: 52px; height: 52px; background: var(--frame-0); border: 2px solid var(--frame-2); padding: 0; }
.tn-combo .t { font-size: 13.5px; line-height: 1.45; }
.tn-combo .t b { display: block; font-size: 14px; margin-bottom: 2px; }
.tn-combo.main { border-color: var(--gold-2); }

/* pet bond slots */
.tn-pslots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tn-pslot { display: grid; justify-items: center; gap: 6px; text-align: center; background: rgba(0,0,0,.22); border: 2px solid var(--frame-0); padding: 12px 6px 10px; }
.tn-pslot .box { width: 64px; height: 64px; display: grid; place-items: center; background: var(--frame-0); border: 2px solid var(--frame-2); }
.tn-pslot .box img { width: 48px; height: 48px; }
.tn-pslot .box.lock { background: #24304a; border-color: #4b5d80; }
.tn-pslot .box.lock img { width: 32px; height: 32px; }
.tn-pslot .lbl { font: var(--label); color: var(--muted); text-transform: uppercase; }
.tn-pslot .big { font: 700 22px/1 var(--mono); color: var(--hi); display: flex; align-items: center; gap: 6px; }
.tn-pslot .big img { width: 20px; height: 20px; }
.tn-bflow { display: grid; grid-template-columns: 1fr 24px 1fr; gap: 10px; align-items: stretch; margin-top: 16px; }
.tn-bflow > .x { align-self: center; font: 700 22px/1 var(--mono); color: var(--gold-2); text-align: center; }
.tn-bstate { background: #2e2a26; border: 2px solid var(--frame-0); padding: 12px 10px; display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; }
.tn-bstate .lbl { font: var(--label); color: var(--ink); text-transform: uppercase; }
.tn-bstate .cap { font-size: 12px; line-height: 1.4; color: var(--muted); }
.tn-bbar { position: relative; width: 100%; max-width: 210px; height: 22px; margin-left: 10px; background: #d9cfb6; border: 2px solid var(--frame-0); display: flex; align-items: center; }
.tn-bbar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: linear-gradient(#e3d94a, #b9a91d); }
.tn-bbar.done .fill { background: linear-gradient(#8ef05a, #4fc02c); }
.tn-bbar .bone { position: relative; width: 28px; height: 28px; margin-left: -12px; border-radius: 50%; background: #7d7466; border: 2px solid var(--frame-0); display: grid; place-items: center; }
.tn-bbar .bone img { width: 16px; height: 16px; }
.tn-bbar .txt { position: relative; margin-left: 6px; display: flex; align-items: center; gap: 4px; font: 700 11px/1 var(--mono); color: #b3161f; }
.tn-bbar .txt img { width: 14px; height: 14px; }
.tn-gbtn { min-width: 150px; padding: 8px 12px; display: grid; gap: 5px; justify-items: center; font: 700 12.5px/1.25 var(--mono); color: #fff;
  background: #4b5877; border: 2px solid #1b2030; box-shadow: inset 0 2px 0 #6c7aa0, inset 0 -3px 0 #343e59; }
.tn-gbtn.off { background: #3d4458; color: #8f98ae; box-shadow: inset 0 -3px 0 #2c3242; }
.tn-gbtn .cost { display: flex; align-items: center; gap: 5px; color: #a6f07e; font-size: 11.5px; }
.tn-gbtn .cost img { width: 16px; height: 16px; }
.tn-num { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e0353c; color: #fff; font: 700 11px/1 var(--mono); margin-right: 4px; vertical-align: 1px; }

/* heroes */
.tn-anatomy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.tn-anatomy .col { background: rgba(0,0,0,.22); border: 2px solid var(--frame-0); padding: 10px 6px; }
.tn-anatomy h4 { margin: 0 0 8px; font: var(--label); color: var(--muted); text-transform: uppercase; }
.tn-anatomy .il { display: grid; gap: 6px; justify-content: center; text-align: left; font-size: 12px; line-height: 1.25; }
.tn-anatomy .il > span { display: grid; grid-template-columns: 24px 1fr; gap: 7px; align-items: center; }
.tn-anatomy .il img { width: 24px; height: 24px; }
.tn-anatomy .il small { display: block; color: var(--muted); font-size: 11px; }
.tn-anatomy .list { font-size: 12px; line-height: 1.6; }
.tn .r-rare { color: #6fb6ff; } .tn .r-epic { color: #c08bff; } .tn .r-leg { color: var(--hi); }
.tn-formula { text-align: center; margin-top: 12px; font: 700 14px/1.5 var(--mono); }
.tn-formula small { color: var(--muted); font-weight: 400; font-size: 12px; }

.tn-field { display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center; gap: 10px 30px;
  padding: 16px 14px 12px; background: linear-gradient(180deg, #8a4f2c 0%, #6b3c22 100%); border: 2px solid var(--frame-0); }
.tn-field .col { display: grid; gap: 8px; justify-items: center; }
.tn-field .lbl { font: var(--label); color: #ffe2c2; text-transform: uppercase; text-shadow: 0 1px 0 #000; }
.tn-field .foe { display: grid; justify-items: center; gap: 6px; font: var(--label); color: #ffe2c2; text-transform: uppercase; text-shadow: 0 1px 0 #000; }
.tn-field .fa { width: 30px; height: 4px; background: #ffe2c2; position: relative; }
.tn-field .fa::after { content: ""; position: absolute; right: -2px; top: -5px; border: 7px solid transparent; border-left-color: #ffe2c2; border-right: 0; }
.tn-slot { width: 64px; height: 52px; display: grid; place-items: center; font: 700 12px/1 var(--mono); border: 2px solid var(--frame-0); background: rgba(23,20,18,.82);
  box-shadow: inset 0 0 0 2px var(--frame-2); }
.tn-slot.tank { color: #9fd0ff; } .tn-slot.dd { color: #ff9f9f; } .tn-slot.sup { color: #a6f0a6; }
.tn-slot.opt { opacity: .75; box-shadow: none; border: 2px dashed var(--frame-2); }
.tn-form-t { font-size: 13px; margin-top: 12px; display: grid; gap: 6px; }

.tn-heroes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
.tn-hero { width: 96px; text-align: center; }
.tn-hero .pf { width: 96px; height: 96px; background: var(--frame-0); border: 2px solid var(--frame-2); position: relative; }
.tn-hero .pf img { width: 92px; height: 92px; }
.tn-hero .pf .role { position: absolute; left: -2px; bottom: -2px; font: var(--label); font-size: 10px; padding: 3px 5px; background: var(--frame-0); border: 2px solid var(--frame-2); }
.tn-hero.gold .pf, .tn-hero.gold .pf .role { border-color: var(--gold-2); }
.tn-hero.epic .pf, .tn-hero.epic .pf .role { border-color: #9a4fd6; }
.tn-hero.rare .pf, .tn-hero.rare .pf .role { border-color: var(--blue-2); }
.tn-hero .pf .bdg { position: absolute; top: 2px; left: 2px; display: grid; gap: 2px; }
.tn-hero .pf .bdg img, .tn-hero .pf .rar { width: 20px; height: 20px; }
.tn-hero .pf .rar { position: absolute; top: 2px; right: 2px; }
.tn-hero .nm { font: 700 14px/1.2 var(--pixel); margin-top: 5px; }
.tn-hero .why { font-size: 11px; line-height: 1.3; color: var(--muted); margin-top: 2px; }
.tn-bench { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tn-bench img { width: 40px; height: 40px; border: 2px solid #4b4b4b; background: var(--frame-0); }
.tn-swaps { display: grid; gap: 10px; }
.tn-swap { display: grid; grid-template-columns: 56px 26px 56px 1fr; gap: 8px; align-items: center; font-size: 12.5px; }
.tn-swap > img, .tn-swap > .hc { width: 56px; height: 56px; border: 2px solid var(--frame-2); background: var(--frame-0); }
.tn-swap > .hc { display: grid; place-items: center; font: 700 11px/1.1 var(--mono); text-align: center; }
.tn-swap .x { font: 700 18px/1 var(--mono); text-align: center; color: var(--gold-2); }

/* faction lineup table */
.tn-lineup { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 12px; }
.tn-lineup th { font: var(--label); color: var(--muted); text-transform: uppercase; text-align: left; padding: 0 6px; }
.tn-lineup td { background: rgba(0,0,0,.22); padding: 6px; vertical-align: top; }
.tn-lineup td:first-child { width: 40px; border-left: 4px solid var(--c, var(--frame-2)); }
.tn-lineup td:first-child img { width: 28px; height: 28px; margin-top: 2px; }
.tn-lineup .note { color: var(--muted); font-size: 11px; }
.tn-hc { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; vertical-align: middle; margin: 2px 4px 2px 0; padding: 2px 6px 2px 2px; background: var(--frame-0); border: 1px solid var(--frame-1); white-space: nowrap; }
.tn-hc img { width: 22px; height: 22px; }
.tn-hc.np { padding-left: 6px; }

/* ranked list */
.tn-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: r; }
.tn-rank li { counter-increment: r; display: grid; grid-template-columns: 26px 40px 1fr; gap: 10px; align-items: center; font-size: 12.5px; }
.tn-rank li::before { content: counter(r); font: 700 14px/26px var(--mono); text-align: center; color: var(--frame-0); background: var(--gold-2); box-shadow: inset 0 -3px 0 var(--gold-1); }
.tn-rank li img { width: 40px; height: 40px; }

/* week strip */
.tn-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.tn-day { background: rgba(0,0,0,.22); border: 2px solid var(--frame-0); padding: 6px 2px; font: var(--label); color: var(--muted); }
.tn-day img { width: 24px; height: 24px; margin: 6px auto 0; }
.tn-day.big { border-color: var(--gold-2); color: var(--hi); }

/* seasons strip */
.tn-seasons { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px; }
.tn-seasons figure { margin: 0; text-align: center; font: 700 11px/1.6 var(--mono); color: var(--muted); }
.tn-seasons img { width: 100%; aspect-ratio: 1; border: 2px solid var(--frame-0); }
.tn-seasons .next { display: grid; place-items: center; aspect-ratio: 1; border: 2px dashed var(--gold-2); color: var(--hi); font: 700 20px/1 var(--mono); }

/* secrets: Sketchy card */
.tn img.smooth { image-rendering: auto; }
.tn-sk { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tn-skcard { display: flex; align-items: center; gap: 8px; padding: 10px; background: #2e2a26; border: 2px solid var(--frame-0); }
.tn-abtn { width: 40px; height: 40px; display: grid; place-items: center; background: #4b5877; border: 2px solid #1b2030; box-shadow: inset 0 2px 0 #6c7aa0, inset 0 -3px 0 #343e59; outline: 3px solid #e0353c; outline-offset: 2px; }
.tn-abtn img { width: 24px; height: 24px; }
.tn-cycle { position: relative; width: 84px; height: 84px; background: var(--frame-0); border: 2px solid var(--frame-2); }
.tn-cycle img { position: absolute; inset: 2px; width: 76px; height: 76px; opacity: 0; animation: tn-cyc 1.6s steps(1) infinite; }
.tn-cycle img:first-child { opacity: 1; }
.tn-cycle img:nth-child(2) { animation-delay: .4s; } .tn-cycle img:nth-child(3) { animation-delay: .8s; } .tn-cycle img:nth-child(4) { animation-delay: 1.2s; }
@keyframes tn-cyc { 0% { opacity: 1; } 25%, 100% { opacity: 0; } }
.tn-skmid { display: grid; justify-items: center; gap: 2px; }
.tn-skmid .big { font: 700 18px/1 var(--mono); color: var(--hi); }
.tn-skmid .x { font: 700 22px/1 var(--mono); color: var(--gold-2); }

/* secrets: upgrade-menu icons */
.tn-eyes2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tn-eyes2 .row { display: flex; gap: 8px; }
.tn-up { width: 56px; height: 56px; display: grid; place-items: center; border: 2px solid var(--frame-0); }
.tn-up img { width: 32px; height: 32px; }
.tn-up.medal { background: #e39a1e; box-shadow: inset 0 0 0 2px #ffd34d, inset 0 -4px 0 #b56d10; }
.tn-up.elixir { background: #b0249c; box-shadow: inset 0 0 0 2px #d84bc4, inset 0 -4px 0 #7d1470; }

/* secrets: achievements */
.tn-achs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tn-ach { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; background: rgba(0,0,0,.22); border: 2px solid var(--frame-0); padding: 8px 10px; }
.tn-ach.wide { grid-column: 1 / -1; }
.tn-ach .ic { width: 44px; height: 44px; display: grid; place-items: center; background: #6e4a2f; border: 2px solid #2e1c10; box-shadow: inset 0 0 0 2px #9a6a44; }
.tn-ach .ic img { width: 32px; height: 32px; }
.tn-ach .t { font-size: 12px; line-height: 1.4; color: var(--muted); }
.tn-ach .t b { display: block; font-size: 12.5px; color: #fff; margin-bottom: 1px; }

/* author TODO (remove before publishing) */
.tn .todo { border: 2px dashed #facc15; color: #fde68a; background: rgba(250,204,21,.07); padding: 10px 12px; font-size: 13px; margin: 16px 0; }
.tn .todo::before { content: "AUTHOR TODO: "; font-weight: 700; }

/* footer */
.tn-sources { font-size: 12px; color: var(--muted); }
.tn-sources ul { padding-left: 18px; margin: 6px 0 0; }

@media (max-width: 600px) {
  .tn-route, .tn-ds, .tn-anatomy { grid-template-columns: 1fr; gap: 26px; }
  .tn-anatomy { gap: 10px; }
  .tn-gate { grid-template-columns: 1fr; gap: 8px; }
  .tn-gate h4 { display: flex; align-items: center; }
  .tn-gate h4 img { width: 24px; height: 24px; }
  .tn-pslot .big { font-size: 18px; }
  .tn-bflow { grid-template-columns: 1fr; } .tn-bflow > .x { transform: rotate(90deg); justify-self: center; }
  .tn-field { gap: 10px 18px; }
  .tn-path { grid-template-columns: auto; justify-items: center; }
  .tn-arrow { width: 4px; height: 16px; margin-top: 0; } .tn-arrow::after { right: -5px; top: auto; bottom: -6px; border: 7px solid transparent; border-top-color: var(--gold-2); border-bottom: 0; }
  .tn-seasons { grid-template-columns: repeat(4, 1fr); }
  .tn-hero { width: 84px; } .tn-hero .pf { width: 84px; height: 84px; } .tn-hero .pf img { width: 80px; height: 80px; }
  .tn-banner .ninja { width: 160px; margin-left: -80px; }
  .tn-combo { grid-template-columns: 1fr; gap: 6px; }
  .tn-achs, .tn-eyes2 { grid-template-columns: 1fr; }
  .tn-week { grid-template-columns: repeat(4, 1fr); }
}
