:root {
  --paper: #ffffff;
  --wash: #f6f5fd;
  --wash-2: #efedfb;
  --line: #e4e2f4;
  --line-2: #cdc9ee;
  --ink: #17153a;
  --ink-2: #47456c;
  --ink-3: #75739a;
  --indigo: #3a31c4;
  --indigo-d: #2e2a8c;
  --indigo-x: #1d1a5c;
  --indigo-l: #ebe9fc;
  --indigo-m: #a9a4f2;
  --stop: #c8412b;
  --stop-l: #fdeeea;
  --warn: #9a6a08;
  --warn-l: #fdf5e2;
  --ok: #17784f;
  --ok-l: #e6f5ee;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --wrap: 1180px;
  --gut: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.8 var(--sans); overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--indigo-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--indigo-m); outline-offset: 2px; }
.tv-skip { position: absolute; left: -999px; top: 8px; background: var(--indigo-d); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.tv-skip:focus { left: 12px; }

.tv-top { border-bottom: 1px solid var(--line); background: var(--paper); }
.tv-top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tv-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 19px/1 var(--sans); letter-spacing: .16em; min-height: 44px; }
.tv-logo:hover { color: var(--indigo-d); text-decoration: none; }
.tv-mark { flex: none; }
.tv-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.tv-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.tv-nav a:hover { background: var(--wash); color: var(--ink); }
.tv-nav a[aria-current="page"] { color: var(--indigo-d); font-weight: 700; box-shadow: inset 0 -2px 0 var(--indigo); border-radius: 0; }

.tv-rail { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.tv-rail-in { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gut) 8px; display: grid; grid-template-columns: 196px 1fr; align-items: start; gap: 24px; position: relative; }
.tv-rail-now { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); padding-top: 2px; min-height: 44px; }
.tv-rail-no { font: 700 13px/1.3 var(--mono); color: var(--indigo); letter-spacing: .06em; }
.tv-rail-lab { font-size: 14px; font-weight: 700; line-height: 1.5; }
.tv-rail-more { display: none; }
.tv-rail-dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); position: relative; }
.tv-rail-dots::before { content: ""; position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 21px; height: 2px; background: var(--line-2); }
.tv-rail-dots li { position: relative; display: flex; justify-content: center; }
.tv-rail-dots li.is-done::after { content: ""; position: absolute; left: 50%; right: -50%; top: 21px; height: 2px; background: var(--indigo); }
.tv-rail-dots li:last-child::after { display: none; }
.tv-rail-dots a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: var(--ink-3); min-width: 44px; min-height: 44px; padding-top: 6px; }
.tv-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper); display: grid; place-items: center; font: 700 13px/1 var(--mono); color: var(--ink-3); transition: background .2s, border-color .2s, box-shadow .2s, color .2s; }
.tv-dot-lab { font-size: 12px; line-height: 1.3; white-space: nowrap; }
.tv-rail-dots a:hover .tv-dot { border-color: var(--indigo); color: var(--indigo); }
.tv-rail-dots li.is-done .tv-dot { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.tv-rail-dots li.is-now .tv-dot { border-color: var(--indigo); color: var(--indigo); box-shadow: 0 0 0 5px var(--indigo-l); }
.tv-rail-dots li.is-now .tv-dot-lab { color: var(--indigo-d); font-weight: 700; }
.tv-rail-bar { display: none; }

.tv-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.tv-hero::after { content: "00"; position: absolute; right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); top: 18px; font: 700 300px/1 var(--mono); color: var(--wash-2); letter-spacing: -.06em; pointer-events: none; z-index: 0; }
.tv-hero-in { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 52px var(--gut) 44px; }
.tv-hero-in > * { max-width: 860px; }
.tv-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 14px; color: var(--ink-2); }
.tv-zero { font: 700 12px/1 var(--mono); letter-spacing: .08em; color: #fff; background: var(--indigo-d); padding: 7px 10px; border-radius: 999px; }
.tv-hero h1 { font: 800 clamp(30px, 4.7vw, 54px)/1.16 var(--sans); letter-spacing: -.01em; margin: 0 0 18px; }
.tv-lead { font-size: 18px; line-height: 1.75; color: var(--ink-2); margin: 0 0 26px; }
.tv-byline { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--ink-3); margin: 22px 0 0; }
.tv-byline a { color: var(--ink-2); }

.tv-card { border: 1.5px solid var(--indigo-d); border-radius: 16px; padding: 20px 22px 18px; background: var(--paper); display: grid; grid-template-columns: 1fr auto; gap: 14px 18px; align-items: end; box-shadow: 0 22px 44px -30px rgba(46, 42, 140, .45); }
.tv-card-slot { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tv-card-k { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tv-card-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px dashed var(--indigo-m); background: var(--wash); border-radius: 12px; padding: 8px 8px 8px 18px; min-height: 64px; }
.tv-code { font: 700 30px/1 var(--mono); letter-spacing: .14em; color: var(--indigo-x); user-select: all; }
.tv-btn { font: 700 16px/1 var(--sans); border-radius: 10px; min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; border: 0; }
.tv-btn-copy { background: var(--indigo-l); color: var(--indigo-d); }
.tv-btn-copy:hover { background: #dedafb; }
.tv-btn-copy.is-done { background: var(--ok-l); color: var(--ok); }
.tv-btn-go { background: var(--indigo-d); color: #fff; min-height: 64px; padding: 0 26px; font-size: 17px; }
.tv-btn-go:hover { background: var(--indigo-x); color: #fff; text-decoration: none; }
.tv-card-gain { grid-column: 1 / -1; margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); padding-left: 18px; position: relative; line-height: 1.6; }
.tv-card-gain::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); }
.tv-card-fine { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.7; color: var(--ink-3); }
.tv-card.is-inline { margin: 28px 0; }

.tv-doc { background: var(--wash); }
.tv-lu { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gut) 8px; }
.tv-lu-h { font: 700 13px/1 var(--mono); letter-spacing: .12em; color: var(--indigo); margin: 0 0 14px; }
.tv-lu ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--ink); }
.tv-lu li { border-bottom: 1px solid var(--line-2); }
.tv-lu li:not(:nth-child(3n)) { border-right: 1px solid var(--line-2); }
.tv-lu a { display: flex; gap: 12px; padding: 14px 16px 14px 0; text-decoration: none; color: var(--ink); min-height: 56px; align-items: baseline; }
.tv-lu li:not(:nth-child(3n + 1)) a { padding-left: 16px; }
.tv-lu a:hover { background: var(--paper); }
.tv-lu-no { font: 700 14px/1.5 var(--mono); color: var(--indigo); flex: none; }
.tv-lu-t { font-size: 15px; line-height: 1.55; }

.tv-steps { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gut) 64px; }
.tv-step { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; margin: 0 0 28px; }
.tv-step-gut { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; align-items: flex-end; padding-top: 34px; color: var(--ink-3); }
.tv-step-di, .tv-step-of { font-size: 13px; line-height: 1.4; }
.tv-step-n { font: 700 64px/1 var(--mono); letter-spacing: -.04em; color: var(--line-2); margin: 4px 0 6px; transition: color .25s; }
.tv-step.is-now .tv-step-n { color: var(--indigo); }
.tv-step-body { min-width: 0; max-width: 780px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 34px 46px 30px; transition: border-color .25s, box-shadow .25s; }
.tv-step.is-now .tv-step-body { border-color: var(--indigo-m); box-shadow: 0 26px 50px -36px rgba(46, 42, 140, .55); }
.tv-step-chip { display: none; margin: 0 0 10px; font: 700 12px/1 var(--mono); letter-spacing: .06em; color: var(--indigo-d); }
.tv-step-chip::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 4px var(--indigo-l); }
.tv-step.is-now .tv-step-chip { display: block; }

.tv-prose h2 { font: 800 clamp(23px, 2.6vw, 29px)/1.35 var(--sans); margin: 0 0 18px; letter-spacing: -.005em; }
.tv-prose h3 { font: 700 19px/1.5 var(--sans); margin: 34px 0 10px; padding-left: 18px; position: relative; }
.tv-prose h3::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--indigo); border-radius: 2px; }
.tv-prose h4 { font-size: 17px; margin: 24px 0 6px; }
.tv-prose p { margin: 0 0 1em; }
.tv-prose strong { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 64%, #e3e0fd 0); }
.tv-prose ul, .tv-prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.tv-prose ul { list-style: none; padding-left: 0; }
.tv-prose ul > li { position: relative; padding-left: 22px; margin: 0 0 .4em; }
.tv-prose ul > li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 7px; height: 7px; background: var(--indigo-m); border-radius: 1px; }
.tv-prose ol > li { margin: 0 0 .4em; padding-left: 4px; }
.tv-prose ol > li::marker { font: 700 15px var(--mono); color: var(--indigo); }
.tv-prose ul.tv-check > li { padding-left: 32px; }
.tv-prose ul.tv-check > li::before { width: 18px; height: 18px; left: 0; top: .36em; border: 2px solid var(--indigo); background: var(--paper); border-radius: 5px; }
.tv-prose ul.tv-check > li::after { content: ""; position: absolute; left: 6px; top: calc(.36em + 3px); width: 5px; height: 9px; border: solid var(--indigo); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tv-prose blockquote { margin: 0 0 1.1em; padding: 12px 18px; border-left: 3px solid var(--indigo-m); background: var(--wash); color: var(--ink-2); }
.tv-prose code { font: 600 .9em var(--mono); background: var(--wash-2); padding: 1px 6px; border-radius: 5px; }
.tv-prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.tv-pre { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.tv-table { margin: 18px 0 22px; overflow-x: auto; }
.tv-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.65; }
.tv-table th { text-align: left; font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 10px 14px; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.tv-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tv-table.is-two td:first-child { background: var(--wash); font-weight: 600; width: 42%; position: relative; padding-right: 26px; }
.tv-table.is-two td:first-child::after { content: "→"; position: absolute; right: 8px; top: 12px; color: var(--indigo); font-weight: 700; }
.tv-table.is-many thead th { background: var(--indigo-l); border-bottom-color: var(--indigo-d); }

.tv-note { margin: 20px 0; padding: 14px 18px 4px; border-radius: 12px; border-left: 4px solid var(--indigo); background: var(--indigo-l); }
.tv-note-k { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--indigo-d); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.tv-note-k b { font-size: 15px; color: var(--ink); }
.tv-note p { font-size: 15.5px; line-height: 1.75; }
.tv-note.is-warn { border-left-color: var(--warn); background: var(--warn-l); }
.tv-note.is-warn .tv-note-k { color: var(--warn); }
.tv-note.is-stop { border-left-color: var(--stop); background: var(--stop-l); }
.tv-note.is-stop .tv-note-k { color: var(--stop); }
.tv-note.is-ok { border-left-color: var(--ok); background: var(--ok-l); }
.tv-note.is-ok .tv-note-k { color: var(--ok); }

.tv-state { margin: 18px 0 20px; }
.tv-state-say { margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; background: var(--indigo-x); color: #fff; padding: 10px 18px; border-radius: 14px 14px 14px 4px; font-size: 15px; line-height: 1.5; max-width: 100%; }
.tv-state-tag { font: 700 11px/1 var(--mono); letter-spacing: .08em; color: var(--indigo-m); }
.tv-state-say q { quotes: "「" "」"; font-weight: 700; }
.tv-state-do { margin: 8px 0 0 18px; padding: 4px 0 0 18px; border-left: 2px dotted var(--indigo-m); }
.tv-state-do p { margin: 0 0 .6em; font-size: 16px; }

.tv-walk { list-style: none; margin: 20px 0 24px; padding: 0; counter-reset: none; }
.tv-walk li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; position: relative; padding: 0 0 18px; margin: 0; }
.tv-walk li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line-2); }
.tv-walk li:last-child::before { display: none; }
.tv-walk-no { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--indigo); color: var(--indigo); font: 700 15px/1 var(--mono); display: grid; place-items: center; background: var(--paper); }
.tv-walk-t b { display: block; font-size: 16.5px; line-height: 1.55; padding-top: 7px; }
.tv-walk-t p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.tv-prose ol.tv-walk > li { padding-left: 0; }

.tv-basis { margin: 26px 0 8px; padding: 16px 20px 6px; border: 1.5px dashed var(--indigo-m); border-radius: 14px; background: var(--paper); font-size: 15px; line-height: 1.75; }
.tv-basis-h { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-weight: 700; }
.tv-basis-h time { font: 700 13px/1.6 var(--mono); color: var(--indigo); }

.tv-qa { margin: 8px 0 4px; border-top: 1.5px solid var(--ink); counter-reset: tvqa; }
.tv-qa details { border-bottom: 1px solid var(--line); counter-increment: tvqa; }
.tv-qa summary { list-style: none; cursor: pointer; position: relative; padding: 15px 36px 15px 58px; min-height: 52px; font-weight: 700; font-size: 16.5px; line-height: 1.55; }
.tv-qa summary::-webkit-details-marker { display: none; }
.tv-qa summary::before { content: "问 " counter(tvqa); position: absolute; left: 0; top: 16px; font: 700 12px/1 var(--mono); color: var(--indigo-d); background: var(--indigo-l); padding: 6px 7px; border-radius: 6px; white-space: nowrap; }
.tv-qa summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 700 20px/1 var(--mono); color: var(--indigo); }
.tv-qa details[open] summary::after { content: "−"; }
.tv-qa details p { margin: 0 0 16px; padding: 2px 0 2px 16px; border-left: 2px solid var(--indigo-m); color: var(--ink-2); font-size: 16px; }

.tv-fig, .tv-shot { margin: 22px 0; }
.tv-fig img { display: block; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); width: 100%; max-width: 560px; }
.tv-fig figcaption, .tv-shot figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.6; }
.tv-shot-frame { display: block; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; box-shadow: 0 16px 34px -26px rgba(23, 21, 58, .5); }
.tv-shot-frame img { display: block; width: 100%; }
.tv-shot.is-phone { max-width: 320px; }
.tv-shot.is-phone .tv-shot-frame { border-radius: 26px; border: 6px solid var(--ink); }
.tv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin: 22px 0; }
.tv-pair > figure { margin: 0; }

.tv-new { background: var(--paper); border-top: 1px solid var(--line); }
.tv-new-in { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gut) 56px; }
.tv-new-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1.5px solid var(--ink); padding-bottom: 12px; }
.tv-new-head h2 { font-size: 24px; margin: 0; }
.tv-new-all { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.tv-new-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.tv-new-list li { border-bottom: 1px solid var(--line); }
.tv-new-list a { display: grid; grid-template-columns: 54px 1fr; gap: 2px 14px; padding: 16px 0; text-decoration: none; color: var(--ink); }
.tv-new-list time { grid-row: span 2; font: 700 14px/1.6 var(--mono); color: var(--indigo); }
.tv-new-list b { font-size: 16.5px; line-height: 1.5; }
.tv-new-list span { font-size: 14px; color: var(--ink-3); line-height: 1.6; }
.tv-new-list a:hover b { color: var(--indigo-d); text-decoration: underline; }

.tv-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.tv-crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 22px 0 0; font-size: 13.5px; color: var(--ink-3); }
.tv-crumbs li + li::before { content: "/"; margin: 0 8px 0 4px; color: var(--line-2); }
.tv-crumbs a { color: var(--ink-2); display: inline-block; padding: 10px 0; }

.tv-art-head, .tv-plain-head, .tv-coll-head { max-width: 860px; padding: 26px 0 30px; }
.tv-art-head h1, .tv-plain-head h1, .tv-coll-head h1 { font: 800 clamp(28px, 3.8vw, 44px)/1.22 var(--sans); margin: 0 0 14px; }
.tv-cover { margin: 0 0 30px; }
.tv-cover img { display: block; width: 100%; border-radius: 16px; border: 1px solid var(--line); }
.tv-cover figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 8px; }
.tv-art-page main { background: linear-gradient(var(--paper) 0, var(--paper) 340px, var(--wash) 340px); }
.tv-art-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-bottom: 64px; }
.tv-art-grid.is-solo { grid-template-columns: minmax(0, 820px); }
.tv-art-grid.is-solo .tv-art-body { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 34px 46px 30px; }
.tv-art-body .tv-steps { padding: 0; max-width: none; }
.tv-art-body .tv-step { grid-template-columns: minmax(0, 1fr); gap: 0; }
.tv-art-body .tv-step-gut { display: none; }
.tv-vrail { position: sticky; top: 24px; align-self: start; padding-top: 4px; }
.tv-vrail-h { font: 700 13px/1 var(--mono); letter-spacing: .1em; color: var(--indigo); margin: 0 0 14px; }
.tv-vrail ol { list-style: none; margin: 0; padding: 0; position: relative; }
.tv-vrail li { position: relative; padding: 0 0 6px; }
.tv-vrail li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: -2px; width: 2px; background: var(--line-2); }
.tv-vrail li:last-child::before { display: none; }
.tv-vrail li.is-done::before { background: var(--indigo); }
.tv-vrail a { display: grid; grid-template-columns: 28px 1fr; gap: 12px; text-decoration: none; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; min-height: 44px; padding: 2px 0; }
.tv-vdot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper); display: grid; place-items: center; font: 700 12px/1 var(--mono); color: var(--ink-3); position: relative; z-index: 1; }
.tv-vlab { padding-top: 3px; }
.tv-vrail li.is-done .tv-vdot { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.tv-vrail li.is-now .tv-vdot { border-color: var(--indigo); color: var(--indigo); box-shadow: 0 0 0 4px var(--indigo-l); }
.tv-vrail li.is-now .tv-vlab { color: var(--ink); font-weight: 700; }
.tv-after { margin-top: 8px; }
.tv-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0 18px; font-size: 14px; }
.tv-tags-k { font: 700 12px/1 var(--mono); letter-spacing: .08em; color: var(--ink-3); margin-right: 4px; }
.tv-tags a, .tv-tag-t { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); text-decoration: none; color: var(--ink-2); }
.tv-tags a { border-color: var(--indigo-m); color: var(--indigo-d); font-weight: 700; }
.tv-tags a:hover { background: var(--indigo-l); }
.tv-tag-t { border-style: dashed; color: var(--ink-3); }
.tv-rel { margin: 26px 0; }
.tv-rel-h { font: 700 13px/1 var(--mono); letter-spacing: .1em; color: var(--indigo); margin: 0 0 10px; }
.tv-rel ul { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.tv-rel li { border-bottom: 1px solid var(--line); }
.tv-prose .tv-rel ul > li { padding-left: 0; margin: 0; }
.tv-prose .tv-rel ul > li::before { display: none; }
.tv-rel a { display: block; padding: 14px 0; text-decoration: none; color: var(--ink); }
.tv-rel a b { display: block; font-size: 16.5px; }
.tv-rel a span { font-size: 14px; color: var(--ink-3); }
.tv-rel a:hover b { color: var(--indigo-d); text-decoration: underline; }
.tv-sign { margin: 26px 0; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.tv-sign-k { margin: 0 0 4px; font-weight: 700; color: var(--ink); }
.tv-sign p:last-child { margin: 0; }
.tv-near { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.tv-near a { display: block; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); text-decoration: none; color: var(--ink); }
.tv-near a:hover { border-color: var(--indigo); }
.tv-near small { display: block; font: 700 12px/1.4 var(--mono); color: var(--ink-3); }
.tv-near b { font-size: 15px; line-height: 1.5; }
.tv-near-next { text-align: right; }

.tv-coll-page main { background: var(--wash); }
.tv-coll { padding-bottom: 64px; }
.tv-coll-intro { color: var(--ink-2); font-size: 16px; }
.tv-coll-intro p { margin: 0 0 .8em; }
.tv-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; max-width: 900px; }
.tv-list li { counter-increment: tvli; border-bottom: 1px solid var(--line); }
.tv-list li:last-child { border-bottom: 0; }
.tv-list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 2px 14px; padding: 18px 24px 18px 20px; text-decoration: none; color: var(--ink); }
.tv-list a::before { content: counter(tvli, decimal-leading-zero); grid-row: span 2; font: 700 15px/1.6 var(--mono); color: var(--indigo); }
.tv-list b { font-size: 17px; line-height: 1.5; }
.tv-list span { grid-column: 2; font-size: 14px; color: var(--ink-3); line-height: 1.6; }
.tv-list time { grid-column: 3; grid-row: 1; font: 600 13px/1.8 var(--mono); color: var(--ink-3); }
.tv-list a:hover b { color: var(--indigo-d); text-decoration: underline; }
.tv-taglist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 900px; }
.tv-taglist a { display: block; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.tv-taglist b { display: block; font-size: 17px; }
.tv-taglist span { display: block; font-size: 14px; color: var(--ink-3); }
.tv-taglist em { font: normal 700 13px var(--mono); color: var(--indigo); }
.tv-turn { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; max-width: 900px; margin: 22px 0 0; }
.tv-turn a { min-height: 48px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 10px; background: var(--paper); border: 1px solid var(--indigo-m); text-decoration: none; font-weight: 700; }
.tv-turn-next { justify-self: end; }
.tv-turn-at { font: 700 14px var(--mono); color: var(--ink-2); }

.tv-plain-page main { background: linear-gradient(var(--paper) 0, var(--paper) 280px, var(--wash) 280px); }
.tv-plain { padding-bottom: 64px; }
.tv-plain-body { max-width: 820px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 34px 46px 26px; }
.tv-back { list-style: none; margin: 0; padding: 0; max-width: 820px; border-top: 1.5px solid var(--ink); }
.tv-back li { border-bottom: 1px solid var(--line); background: var(--paper); }
.tv-back a { display: grid; grid-template-columns: 48px 1fr; gap: 2px 12px; padding: 18px 20px; text-decoration: none; color: var(--ink); }
.tv-back-no { grid-row: span 2; font: 700 18px/1.4 var(--mono); color: var(--indigo); }
.tv-back b { font-size: 17px; }
.tv-back span:last-child { font-size: 14px; color: var(--ink-3); }

.tv-foot { background: var(--indigo-x); color: #d6d4f6; font-size: 14px; line-height: 1.8; }
.tv-foot a { color: #fff; }
.tv-foot-in { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gut) 28px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; }
.tv-logo-inv { color: #fff; margin-bottom: 10px; }
.tv-logo-inv:hover { color: #fff; }
.tv-foot-say p { margin: 0; }
.tv-foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tv-foot-h { font: 700 12px/1 var(--mono); letter-spacing: .1em; color: var(--indigo-m); margin: 8px 0 10px; }
.tv-foot ul { list-style: none; margin: 0; padding: 0; }
.tv-foot li a { display: inline-block; padding: 6px 0; text-decoration: none; }
.tv-foot li a:hover { text-decoration: underline; }
.tv-foot-end { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gut) 26px; border-top: 1px solid rgba(255, 255, 255, .14); font: 500 12.5px/1.6 var(--mono); color: #a9a6dd; }

@media (max-width: 1100px) {
  .tv-dot-lab { display: none; }
  .tv-rail-in { grid-template-columns: 170px 1fr; padding-bottom: 6px; }
  .tv-rail-dots a { padding-top: 6px; }
  .tv-hero::after { font-size: 220px; }
}
@media (max-width: 900px) {
  .tv-step { grid-template-columns: 1fr; gap: 0; }
  .tv-step-gut { position: static; flex-direction: row; align-items: baseline; gap: 8px; padding: 0 0 10px 4px; }
  .tv-step-n { font-size: 34px; margin: 0; }
  .tv-step-body { padding: 28px 30px 24px; }
  .tv-lu ol { grid-template-columns: 1fr 1fr; }
  .tv-lu li:not(:nth-child(3n)) { border-right: 0; }
  .tv-lu li:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .tv-lu li:not(:nth-child(3n + 1)) a { padding-left: 0; }
  .tv-lu li:nth-child(even) a { padding-left: 16px; }
  .tv-art-grid { grid-template-columns: 1fr; gap: 0; }
  .tv-vrail { position: static; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 8px; margin-bottom: 20px; }
  .tv-foot-in { grid-template-columns: 1fr; gap: 28px; }
  .tv-new-list { grid-template-columns: 1fr; }
  .tv-hero::after { display: none; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  html { scroll-padding-top: 64px; }
  .tv-top-in { min-height: 56px; }
  .tv-logo { font-size: 17px; letter-spacing: .12em; }
  .tv-nav a { padding: 10px 8px; font-size: 14px; }
  .tv-nav a:nth-child(3) { display: none; }
  .tv-rail-in { display: block; padding: 0 var(--gut); }
  .tv-rail-dots { display: none; }
  .tv-rail-now { flex-direction: row; align-items: center; gap: 10px; min-height: 46px; padding: 0; }
  .tv-rail-no { font-size: 13px; }
  .tv-rail-lab { font-size: 14px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tv-rail-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--indigo); }
  .tv-rail-more::after { content: ""; width: 7px; height: 7px; border: solid var(--indigo); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); }
  .tv-rail-bar { display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--line); }
  .tv-rail-bar span { display: block; height: 100%; width: 0; background: var(--indigo); transition: width .25s; }
  .tv-hero-in { padding: 22px var(--gut) 26px; }
  .tv-kicker { margin-bottom: 12px; font-size: 13px; gap: 8px; }
  .tv-hero h1 { font-size: 27px; line-height: 1.25; margin-bottom: 10px; }
  .tv-lead { font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
  .tv-card { grid-template-columns: 1fr; padding: 14px 14px 12px; gap: 10px; border-radius: 14px; }
  .tv-card-field { min-height: 58px; padding-left: 14px; }
  .tv-code { font-size: 25px; letter-spacing: .1em; }
  .tv-btn-go { min-height: 54px; width: 100%; }
  .tv-card-gain { font-size: 14px; }
  .tv-card-fine { font-size: 13px; line-height: 1.6; }
  .tv-byline { margin-top: 14px; font-size: 13px; }
  .tv-lu { padding-top: 28px; }
  .tv-lu ol { grid-template-columns: 1fr; }
  .tv-lu li:nth-child(odd) { border-right: 0; }
  .tv-lu li:nth-child(even) a { padding-left: 0; }
  .tv-lu a { min-height: 50px; padding: 12px 0; }
  .tv-steps { padding: 20px 10px 44px; }
  .tv-step { margin-bottom: 20px; }
  .tv-step-body { padding: 22px 18px 16px; border-radius: 14px; }
  .tv-prose h3 { font-size: 18px; margin-top: 28px; }
  .tv-table.is-many table, .tv-table.is-many thead, .tv-table.is-many tbody, .tv-table.is-many tr, .tv-table.is-many td { display: block; }
  .tv-table.is-many thead { position: absolute; left: -9999px; }
  .tv-table.is-many tr { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; padding: 6px 0; background: var(--paper); }
  .tv-table.is-many td { border: 0; padding: 6px 14px; }
  .tv-table.is-many td::before { content: attr(data-th); display: block; font-size: 12px; font-weight: 700; color: var(--indigo-d); }
  .tv-table.is-two table, .tv-table.is-two tbody, .tv-table.is-two tr, .tv-table.is-two td { display: block; }
  .tv-table.is-two thead { position: absolute; left: -9999px; }
  .tv-table.is-two tr { border-bottom: 1px solid var(--line); padding: 0 0 10px; margin-bottom: 10px; }
  .tv-table.is-two td { border: 0; padding: 4px 0; width: auto; }
  .tv-table.is-two td:first-child { width: auto; padding: 8px 30px 8px 12px; border-radius: 8px; }
  .tv-table.is-two td:first-child::after { content: "↓"; top: 8px; }
  .tv-state-do { margin-left: 10px; padding-left: 12px; }
  .tv-crumbs li:last-child { display: none; }
  .tv-fig { max-width: 100%; }
  .tv-pair { grid-template-columns: 1fr; }
  .tv-art-grid.is-solo .tv-art-body, .tv-plain-body { padding: 24px 18px 16px; border-radius: 14px; }
  .tv-list a { grid-template-columns: 38px 1fr; padding: 16px 16px 16px 14px; }
  .tv-list time { grid-column: 2; grid-row: auto; }
  .tv-taglist { grid-template-columns: 1fr; }
  .tv-near { grid-template-columns: 1fr; }
  .tv-near-next { text-align: left; }
  .tv-foot-cols { grid-template-columns: 1fr 1fr; }
  .tv-new-list a { grid-template-columns: 46px 1fr; }
}
@media (max-width: 360px) {
  .tv-hero-in { padding-top: 16px; }
  .tv-kicker { margin-bottom: 8px; }
  .tv-hero h1 { font-size: 23px; margin-bottom: 8px; }
  .tv-lead { font-size: 14.5px; line-height: 1.65; margin-bottom: 12px; }
  .tv-card { padding: 12px 12px 10px; gap: 8px; }
  .tv-card-field { min-height: 54px; }
  .tv-code { font-size: 22px; }
  .tv-btn-copy { padding: 0 14px; }
  .tv-btn-go { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .tv-rail, .tv-top, .tv-foot, .tv-lu { display: none; }
  .tv-step-body { border: 0; box-shadow: none; }
}
