/* JapanTechDesk 디자인 시스템 v3 — 2026-11-17 (James 「더 미래지향 · 세련 · 사용성 좋은 UI UX 로 한 번 더」)
   v2 대비: 표제 Inter(광학 크기) + 고정폭 라벨(JetBrains Mono) · 밝은/어두운 화면 토큰 · 타일 격자 첫 화면 · 칩으로 거르는 목록
            ⌘K 검색 창(불투명) · 읽기 진행 막대 · 다음 기사 · 하프톤(점 무늬) 그림
   원칙 그대로: 폭 정본 .wrap 하나 · 격자는 gap 만 · 같은 줄 칸은 늘려 바닥 끝선 0 · 간격 4px 배수 */

:root {
  color-scheme: light;
  --bg: #f6f6f3;
  --surface: #ffffff;
  --surface-2: #efefea;
  --ink: #0b0c0f;
  --ink-2: #444852;
  --ink-3: #676c77;
  --line: #e2e2dc;
  --line-2: #cdcdc5;
  --signal: #e0002a;
  --dark: #0b0c0f;
  --dark-2: #16181d;
  --on-dark: #f3f3f1;
  --on-dark-2: #a4a9b4;
  --c-startups: #d4002a;
  --c-ai: #2563eb;
  --c-funding: #15803d;
  --c-product: #7c3aed;
  --c-interviews: #a16207;
  --c-culture: #0f766e;
  --halo: 0.5;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --max: 1240px;
  --gut: 24px;
  --gap: 16px;
  --r: 14px;
  --r-s: 8px;
  --pill: 999px;
  --head-h: 64px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0c0f;
  --surface: #131519;
  --surface-2: #1b1e23;
  --ink: #f3f3f1;
  --ink-2: #c4c8d0;
  --ink-3: #9096a2;
  --line: #24272e;
  --line-2: #363a44;
  --signal: #ff4057;
  --dark: #050608;
  --dark-2: #101216;
  --c-startups: #ff5c6e;
  --c-ai: #6aa8ff;
  --c-funding: #4ade80;
  --c-product: #b08cff;
  --c-interviews: #f5c04f;
  --c-culture: #34d3bd;
  --halo: 0.42;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0c0f;
    --surface: #131519;
    --surface-2: #1b1e23;
    --ink: #f3f3f1;
    --ink-2: #c4c8d0;
    --ink-3: #9096a2;
    --line: #24272e;
    --line-2: #363a44;
    --signal: #ff4057;
    --dark: #050608;
    --dark-2: #101216;
    --c-startups: #ff5c6e;
    --c-ai: #6aa8ff;
    --c-funding: #4ade80;
    --c-product: #b08cff;
    --c-interviews: #f5c04f;
    --c-culture: #34d3bd;
    --halo: 0.42;
  }
}
@media (max-width: 700px) {
  :root { --gut: 16px; --gap: 12px; --head-h: 56px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 56px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color 0.2s, color 0.2s; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ol, ul, figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
.jp { font-family: var(--jp); }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); box-sizing: content-box; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 99; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: var(--r-s); }
.skip:focus { left: var(--gut); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ── 글자 체계 ───────────────────────────────────────── */
.label { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.kicker { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 24px; font: 600 11.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c, var(--signal)); }
.kicker::before, .dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--signal)); flex: none; }
.dot { display: inline-flex; align-items: center; gap: 6px; }
.h-xl { font: 750 clamp(34px, 4.3vw, 58px)/1.02 var(--sans); letter-spacing: -0.042em; }
.h-art { font: 750 clamp(34px, 4.6vw, 60px)/1.03 var(--sans); letter-spacing: -0.042em; }
.h-sec { font: 750 clamp(24px, 2.4vw, 32px)/1.1 var(--sans); letter-spacing: -0.035em; display: flex; align-items: baseline; gap: 12px; }
.h-sec .jp { font: 500 13px/1 var(--jp); color: var(--ink-3); letter-spacing: 0.04em; }
.h-card { font: 650 20px/1.24 var(--sans); letter-spacing: -0.022em; }
.h-s { display: block; min-height: 24px; font: 600 15px/1.36 var(--sans); letter-spacing: -0.012em; }
.h-xl a:hover, .h-card a:hover, a.h-s:hover, .h-l a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.h-l { font: 700 23px/1.22 var(--sans); letter-spacing: -0.028em; }
.dek { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.dek-l { color: var(--ink-2); font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.55; max-width: 60ch; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font: 500 12px/1.4 var(--mono); color: var(--ink-3); letter-spacing: 0.01em; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── 머리(붙어 다니는 한 줄 · 반투명) ─────────────────── */
.head { position: sticky; top: 0; z-index: 40; background: var(--bg); background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.head__in { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font: 800 21px/1 var(--sans); letter-spacing: -0.04em; white-space: nowrap; }
.logo__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 18%, transparent); flex: none; }
.logo b { color: var(--signal); font-weight: 800; }
.nav { display: flex; gap: 2px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--pill); font: 500 14px/1 var(--sans); color: var(--ink-2); white-space: nowrap; transition: background-color 0.15s, color 0.15s; }
.nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sbtn { display: inline-flex; align-items: center; gap: 10px; height: 40px; min-width: 210px; padding: 0 8px 0 14px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--surface); color: var(--ink-3); font: 500 14px/1 var(--sans); cursor: pointer; transition: border-color 0.15s; }
.sbtn:hover { border-color: var(--ink-3); }
.sbtn kbd { margin-left: auto; font: 600 11px/1 var(--mono); padding: 5px 7px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--ink-3); }
.ibtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); color: var(--ink-2); cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.ibtn:hover { border-color: var(--ink-3); color: var(--ink); }
.lang { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--pill); font: 500 13px/1 var(--jp); color: var(--ink-2); }
.lang:hover { border-color: var(--ink-3); color: var(--ink); }
.theme-dark { display: none; }
:root[data-theme="dark"] .theme-dark { display: block; }
:root[data-theme="dark"] .theme-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-dark { display: block; } :root:not([data-theme="light"]) .theme-light { display: none; } }
.chips { display: none; }

/* ── 첫 화면 타일 격자 ─────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding-block: 28px 0; align-items: stretch; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.tile > * { position: relative; }
.tile__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 39px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tile__more { font: 600 12px/1 var(--mono); color: var(--ink-3); letter-spacing: 0.04em; display: inline-flex; align-items: center; min-height: 24px; }
.tile__more:hover { color: var(--ink); }
.tile--lead { grid-column: 1 / span 8; grid-row: span 2; padding: 44px; gap: 20px; justify-content: flex-end; min-height: 520px; }
.tile--lead .meta { margin-top: 4px; }
.tile--brief { grid-column: 9 / span 4; grid-row: span 2; }
.tile--fund { grid-column: 1 / span 4; }
.tile--nums { grid-column: 5 / span 4; }
.tile--int { grid-column: 9 / span 4; background: var(--dark); border-color: var(--dark); color: var(--on-dark); --c: var(--c-interviews); }
:root[data-theme="dark"] .tile--int { border-color: var(--line-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile--int { border-color: var(--line-2); } }
.tile--int .tile__head { border-bottom-color: rgba(255, 255, 255, 0.12); }
.tile--int .label, .tile--int .tile__more, .tile--int .meta { color: var(--on-dark-2); }
.tile--int .dek { color: var(--on-dark-2); }
.tile--int .meta { margin-top: auto; }
.quote-mark { font: 800 64px/0.5 var(--sans); color: var(--c-interviews); height: 26px; }

/* 하프톤 = 점 무늬 해 · 분류 색 · 그림 없이 표정 */
.halftone { position: absolute !important; inset: 0; color: var(--c, var(--signal)); pointer-events: none; opacity: var(--halo);
  background-image: radial-gradient(currentColor 2.1px, transparent 2.5px), radial-gradient(currentColor 1px, transparent 1.4px);
  background-size: 18px 18px, 18px 18px; background-position: 0 0, 9px 9px;
  -webkit-mask-image: radial-gradient(circle at var(--hx, 78%) var(--hy, 30%), #000 0 14%, rgba(0, 0, 0, 0.5) 30%, transparent 58%);
  mask-image: radial-gradient(circle at var(--hx, 78%) var(--hy, 30%), #000 0 14%, rgba(0, 0, 0, 0.5) 30%, transparent 58%); }

/* 줄 목록(최신 · 투자 기록) = 같은 높이 줄 · 끝선이 타일 바닥에 */
.rows { list-style: none; padding: 0; display: grid; grid-auto-rows: 1fr; flex: 1 1 auto; }
.rows li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line); min-width: 0; }
.rows li:last-child { border-bottom: 0; padding-bottom: 0; }
.rows .num { font: 600 12px/1 var(--mono); color: var(--ink-3); align-self: start; padding-top: 4px; }
.rows .amt { font: 700 19px/1 var(--mono); letter-spacing: -0.02em; color: var(--c-funding); min-width: 6.2ch; }
.rows .meta { margin-top: 6px; }
.rows a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 숫자로 보는 일본 = 2 × 2 */
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; flex: 1 1 auto; gap: 0; }
.nums a { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 14px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.nums a:nth-child(2n) { padding-left: 14px; padding-right: 0; border-left: 1px solid var(--line); }
.nums a:nth-last-child(-n + 2) { border-bottom: 0; padding-bottom: 0; }
.nums b { font: 750 32px/1 var(--sans); letter-spacing: -0.04em; color: var(--c, var(--ink)); }
.nums span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.nums a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ── 칩으로 거르는 목록 ─────────────────────────────── */
.stream { padding-top: 64px; }
.stream__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--pill); background: transparent; font: 500 13.5px/1 var(--sans); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--ink-3)); }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"]::before { background: var(--bg); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; padding-top: 32px; align-items: stretch; }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-top: 18px; border-top: 2px solid var(--c); }
.card > .meta { margin-top: auto; padding-top: 2px; }
.card[hidden] { display: none; }
.more-btn { display: flex; align-items: center; gap: 8px; margin: 44px auto 0; height: 48px; padding: 0 24px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--surface); font: 600 14px/1 var(--sans); cursor: pointer; transition: border-color 0.15s; }
.more-btn:hover { border-color: var(--ink-3); }
.more-btn[hidden] { display: none; }
.empty { padding-top: 32px; color: var(--ink-3); }

/* ── 바닥(매체 소개 포함) ───────────────────────────── */
.foot { margin-top: 96px; background: var(--dark); color: var(--on-dark-2); }
.foot__lede { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-block: 64px 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.foot__lede h2 { font: 650 clamp(24px, 2.5vw, 32px)/1.22 var(--sans); letter-spacing: -0.03em; color: var(--on-dark); }
.foot__lede p { margin-top: 14px; font: 400 14px/1.85 var(--jp); color: var(--on-dark-2); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 48px; font-size: 14px; }
.foot .logo { color: var(--on-dark); }
.foot h3 { font: 600 11.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; display: grid; }
.foot li a { display: inline-flex; align-items: center; min-height: 32px; }
.foot a:hover { color: var(--on-dark); }
.foot__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); font: 500 12px/1.4 var(--mono); color: var(--on-dark-2); }
.btn-out { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: var(--pill); color: var(--on-dark); font: 600 14px/1 var(--sans); justify-self: start; }
.btn-out:hover { border-color: var(--on-dark); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── 기사 ─────────────────────────────────────────── */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--signal); z-index: 60; }
.art { padding-top: 32px; }
.crumb { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--ink-3); min-height: 24px; }
.crumb a:hover { color: var(--ink); }
.art__head { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; max-width: 920px; }
.art__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-block: 14px; border-block: 1px solid var(--line); }
.art__bar .meta strong { color: var(--ink); font-weight: 600; }
.share { display: flex; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--surface); font: 600 12.5px/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.pill:hover { border-color: var(--ink-3); color: var(--ink); }
.banner { position: relative; overflow: hidden; height: 128px; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.banner .label { position: absolute; left: 24px; bottom: 20px; color: var(--c); }
.art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; margin-top: 44px; align-items: start; }
.prose { font: 400 18px/1.78 var(--sans); color: var(--ink); max-width: 68ch; }
.prose p { margin: 0 0 1.15em; }
.prose > p:first-child { font-size: 20px; line-height: 1.62; letter-spacing: -0.01em; color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--signal); }
.prose h2 { font: 700 24px/1.25 var(--sans); letter-spacing: -0.025em; margin: 1.6em 0 0.5em; }
.srcbox { margin-top: 36px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.srcbox ol { margin-top: 14px; padding-left: 0; list-style: none; display: grid; gap: 10px; counter-reset: s; }
.srcbox li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.srcbox li::before { content: counter(s, decimal-leading-zero); font: 600 12px/1 var(--mono); color: var(--ink-3); }
.srcbox a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.srcbox span { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.note a { text-decoration: underline; text-underline-offset: 3px; }
.next { display: flex; flex-direction: column; gap: 10px; margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); transition: border-color 0.15s; }
.next:hover { border-color: var(--ink-3); }
.next .h-l { display: flex; justify-content: space-between; gap: 16px; }
.next .h-l::after { content: "→"; color: var(--signal); }
.rail { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: var(--gap); }
.rail .tile { padding: 22px; }
.rail p.dek { font-size: 14.5px; }
.related { margin-top: 88px; }

/* ── 분류 · 일반 페이지 · 검색 창 ───────────────────── */
.cathead { position: relative; overflow: hidden; margin-top: 28px; padding: 44px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.cathead > * { position: relative; }
.cathead h1 { font: 750 clamp(40px, 5vw, 64px)/1 var(--sans); letter-spacing: -0.045em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 14px; }
.cathead h1 .jp { font: 500 17px/1 var(--jp); color: var(--ink-3); letter-spacing: 0.04em; }
.cathead p { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 56ch; }
.page { padding-top: 48px; }
.page__in { max-width: 720px; }
.page h1 { font: 750 clamp(34px, 3.8vw, 48px)/1.06 var(--sans); letter-spacing: -0.04em; margin-bottom: 24px; }
.page h1.jp { font-family: var(--jp); font-weight: 700; letter-spacing: 0; }
.page .prose > p:first-child { font-size: 19px; }
.page .prose.jp { font-family: var(--jp); font-size: 16px; line-height: 1.9; }
.page .prose.jp > p:first-child { font-size: 17px; }
.page dl { display: grid; grid-template-columns: 9em minmax(0, 1fr); margin: 24px 0; border-top: 1px solid var(--line); }
.page dt, .page dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.page dt { font-weight: 600; color: var(--ink-2); }
.searchbox { display: flex; gap: 12px; }
.searchbox input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-s); font: 400 17px var(--sans); background: var(--surface); color: var(--ink); }
.searchbox button { height: 52px; padding: 0 22px; border: 0; border-radius: var(--r-s); background: var(--ink); color: var(--bg); font: 600 15px var(--sans); cursor: pointer; }
.results { list-style: none; margin-top: 28px; padding: 0; display: grid; }
.results li { display: flex; flex-direction: column; gap: 6px; padding-block: 18px; border-bottom: 1px solid var(--line); }

.palette { position: fixed; inset: 0; z-index: 80; display: none; padding: 12vh 16px 16px; background: rgba(5, 6, 8, 0.6); }
.palette.is-open { display: grid; justify-items: center; align-items: start; }
.palette__box { width: min(680px, 100%); background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); overflow: hidden; }
.palette__in { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.palette__in input { flex: 1; min-width: 0; height: 60px; border: 0; outline: 0; background: transparent; font: 500 18px var(--sans); color: var(--ink); }
.palette__list { list-style: none; margin: 0; padding: 8px; max-height: min(56vh, 520px); overflow-y: auto; }
.palette__list a { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; }
.palette__list a[aria-selected="true"], .palette__list a:hover { background: var(--surface-2); }
.palette__list .t { font: 600 15.5px/1.35 var(--sans); letter-spacing: -0.012em; color: var(--ink); }
.palette__foot { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--line); font: 500 11.5px/1.4 var(--mono); color: var(--ink-3); }
.palette__foot kbd { font: 600 11px/1 var(--mono); padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 5px; }
.pv { position: fixed; right: 12px; bottom: 12px; z-index: 50; background: var(--ink); color: var(--bg); font: 600 11.5px/1 var(--mono); padding: 9px 12px; border-radius: var(--pill); opacity: 0.88; pointer-events: none; }

/* ── 좁은 화면 ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .head { padding-bottom: 0; }
  .chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 12px; }
  .chips::-webkit-scrollbar { display: none; }
  .chips a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--pill); font: 500 13.5px/1 var(--sans); color: var(--ink-2); white-space: nowrap; flex: 0 0 auto; }
  .chips a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
  .chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
  .tile--lead { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .tile--brief, .tile--fund, .tile--nums, .tile--int { grid-column: span 6; grid-row: auto; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .head__in { gap: 12px; }
  .logo { font-size: 19px; }
  .sbtn { min-width: 0; width: 40px; padding: 0; justify-content: center; }
  .sbtn span, .sbtn kbd { display: none; }
  .lang { display: none; }
  .bento { padding-top: 16px; }
  .tile { padding: 22px; }
  .tile--lead { padding: 26px; min-height: 380px; }
  .tile--lead .halftone, .cathead .halftone { opacity: calc(var(--halo) * 0.8);
    -webkit-mask-image: radial-gradient(circle 200px at 100% 0%, #000 0 25%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
    mask-image: radial-gradient(circle 200px at 100% 0%, #000 0 25%, rgba(0, 0, 0, 0.45) 55%, transparent 100%); }
  .tile--brief, .tile--fund, .tile--nums, .tile--int { grid-column: 1 / -1; }
  .grid3 { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .stream { padding-top: 48px; }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .foot__lede, .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__lede { gap: 24px; }
  .cathead { padding: 28px; }
  .prose { font-size: 17.5px; }
  .prose > p:first-child { font-size: 18.5px; }
  .banner { height: 88px; }
  .page dl { grid-template-columns: minmax(0, 1fr); }
  .page dt { padding-bottom: 0; border-bottom: 0; }
}

/* 11-18 정비 — 화면 읽기용 제목 · 원 매체 · 밝힘 줄 · 매체 소개 칸(점무늬가 남는 높이를 받는다) · 휴대폰 운영자 정보 입구 · 바닥 링크 터치 높이 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.via { font: 500 12.5px/1.5 var(--mono); color: var(--ink-3); }
.via a { text-decoration: underline; text-underline-offset: 3px; }
.tile--about { grid-column: 9 / span 4; --hx: 80%; --hy: 82%; }
.tile__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; }
.chips a.chips__ja { font-family: var(--jp); }
.chips a.chips__ja::before { display: none; }
.foot__bottom a { display: inline-flex; align-items: center; min-height: 24px; }
@media (max-width: 1100px) { .tile--about { grid-column: span 6; grid-row: auto; } }
@media (min-width: 701px) and (max-width: 1100px) { .chips a.chips__ja { display: none; } }
@media (max-width: 700px) { .tile--about { grid-column: 1 / -1; } .chips a.chips__ja { order: -1; } }
