/* BikeSeek — 全ページ共通の唯一の CSS（v2・2026-11-16）
   正本: sagyou/renewal_20261116/README.md（決めたこと）
   デザインは旧 BikeSeek（2026-06「Paddock / Race-plate」）を引き継ぐ: パドックの白い地、インクの黒、ゼッケンの黄、サーキットの赤、
   Saira Condensed の見出し・JetBrains Mono の数字。carseek.net（明るい紙＋青1色・装飾ゼロ）とは別のサイトに見えることを優先する。
   ⚠ ゼッケン（黄色の板）はロゴと「選ばれている」印にだけ使う。カテゴリに番号を振らない（姉妹サイトで却下された番号の型）。
   契約: 幕（.viewport::after）は「覆う」だけ。動画要素を visibility:hidden / display:none / opacity:0 で隠さない（LSN-0239）。
   記事（content/*.html）と mini/ はこの CSS を読まない（記事は同じ配色のインライン CSS を持つ）。 */

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --paddock: #F7F6F2;      /* 地 */
  --paddock-2: #EFEDE6;    /* 一段深い地 */
  --paddock-3: #E6E3DA;
  --white: #ffffff;
  --ink: #15171C;          /* 文字・枠・影 */
  --asphalt: #2B2F36;      /* 本文 */
  --steel-ink: #5A5F66;    /* 補足（AA を満たす灰） */
  --steel: #9AA0A6;        /* 罫・無効 */
  --hairline: #DCDAD2;
  --plate: #F5C518;        /* ゼッケンの黄 — ロゴと「選ばれている」だけ */
  --circuit: #D6202B;      /* サーキットの赤 — リンク・LIVE・強調だけ */
  --player-bg: #0d0e11;
  --display: "Saira Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 6px;
  --hd-h: 64px;
  --row-h: 56px;
  --max: 1280px;
  --maxw: var(--max);      /* ZUBARY 帯（注入器の所有物）が読む名前 */
  --side: 390px;
  --gutter: clamp(16px, 3vw, 32px);
  --t: 140ms ease;
  --shadow: 3px 3px 0 var(--ink);
  color-scheme: light;
}

/* ── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paddock); }
body {
  margin: 0; background: var(--paddock); color: var(--asphalt);
  font-family: var(--body); font-size: 15px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--circuit); outline-offset: 2px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r); font-weight: 600; }
.skip:focus { left: 12px; }
.num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* 言語切替: data-l の対で書く。JS が無くても JA が読める。EN は「隠す」だけを !important で（LSN-0243） */
[data-l="en"] { display: none !important; }
html[lang="en"] [data-l="ja"] { display: none !important; }
html[lang="en"] [data-l="en"] { display: revert !important; }

/* 見出しの役割。Saira は欧文だけ持つので、和文は --body の和文フォントで出る */
.t-display { font-family: var(--display), var(--body); font-weight: 800; letter-spacing: .01em; }
.t-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-ink); }
.t-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--circuit); }
.t-caption { font-size: 12px; line-height: 1.55; color: var(--steel-ink); }
.t-page { font-family: var(--display), var(--body); font-weight: 800; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; color: var(--ink); }

/* ── Header ──────────────────────────────────────────────── */
.hd { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paddock) 90%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--hairline); }
.hd__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--hd-h); display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand__plate { display: grid; place-items: center; width: 34px; height: 34px; background: var(--plate); border: 2.5px solid var(--ink); border-radius: 5px; box-shadow: 1px 1px 0 var(--ink); }
.brand__plate b { font: 800 16px/1 var(--display); letter-spacing: .02em; color: var(--ink); }
.brand__word { font: 800 23px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.brand__word .k { color: var(--circuit); }
.brand-tag { font-size: 12.5px; color: var(--steel-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 11px; border-radius: var(--r); font: 700 15px/1 var(--display), var(--body); letter-spacing: .05em; text-transform: uppercase; color: var(--asphalt); white-space: nowrap; transition: background var(--t), color var(--t); }
html[lang="ja"] .nav a { font: 600 13.5px/1 var(--body); letter-spacing: .02em; }
.nav a:hover { background: var(--paddock-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--plate); border-radius: var(--r) var(--r) 0 0; }
.hd__tools { display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; background: var(--paddock-2); border: 1.5px solid var(--ink); border-radius: var(--r); }
.lang button { height: 26px; padding: 0 10px; border-radius: 4px; font: 700 11.5px/1 var(--mono); letter-spacing: .06em; color: var(--steel-ink); transition: background var(--t), color var(--t); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paddock); }
.menu { display: none; width: 44px; height: 44px; border-radius: var(--r); font-size: 20px; color: var(--ink); }
.menu:hover { background: var(--paddock-2); }
.drawer { display: none; background: var(--paddock); border-bottom: 2px solid var(--ink); }
.drawer[data-open="true"] { display: block; }
.drawer ul { list-style: none; margin: 0; padding: 8px var(--gutter) 14px; }
.drawer a { display: block; padding: 12px 8px; color: var(--ink); font-size: 16px; font-weight: 600; border-radius: var(--r); }
.drawer a:hover { background: var(--paddock-2); }

/* ── 見出し帯（トップの最上段・1行。製品＝プレーヤーを押し下げない） ── */
.mast { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 14px; display: flex; align-items: flex-end; gap: 10px 24px; flex-wrap: wrap; }
.mast__t { font-family: var(--display), var(--body); font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; color: var(--ink); }
.mast__t em { font-style: normal; color: var(--circuit); }
.mast__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.mast__meta .pill-s { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--hairline); background: var(--white); border-radius: 999px; font: 600 12px/1 var(--mono); color: var(--steel-ink); white-space: nowrap; }
.mast__meta .pill-s b { color: var(--ink); }

/* ── Buttons / Inputs / Pills / Chips ────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--r); font-weight: 700; font-size: 14.5px; white-space: nowrap; border: 2px solid var(--ink); transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t); }
.btn--primary { background: var(--ink); color: var(--paddock); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--circuit); border-color: var(--circuit); box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.btn--ghost { background: var(--white); color: var(--ink); }
.btn--ghost:hover { background: var(--paddock-2); }
.btn--sm { height: 32px; padding: 0 11px; font-size: 12.5px; border-width: 1.5px; }
.input { width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: var(--r); background: var(--white); border: 2px solid var(--ink); color: var(--ink); outline: 0; box-shadow: var(--shadow); transition: border-color var(--t), box-shadow var(--t); }
.input::placeholder { color: var(--steel); }
.input:focus { border-color: var(--circuit); box-shadow: 3px 3px 0 var(--circuit); }
.search { position: relative; }
.search::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -8px; border-radius: 50%; border: 2px solid var(--steel-ink); box-sizing: border-box; }
.search::after { content: ""; position: absolute; left: 24px; top: 50%; width: 6px; height: 2px; margin-top: 2px; background: var(--steel-ink); transform: rotate(45deg); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r); background: var(--white); border: 1.5px solid var(--ink); color: var(--asphalt); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background var(--t), transform var(--t), box-shadow var(--t); }
.pill:hover { background: var(--paddock-2); }
.pill[aria-pressed="true"], .pill.is-on { background: var(--plate); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.pill .n { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--steel-ink); }
.pill[aria-pressed="true"] .n { color: var(--ink); }
.seg { display: inline-flex; padding: 3px; background: var(--paddock-2); border: 1.5px solid var(--ink); border-radius: var(--r); }
.seg button { height: 26px; padding: 0 10px; border-radius: 4px; font-size: 12px; font-weight: 600; color: var(--steel-ink); white-space: nowrap; transition: background var(--t), color var(--t); }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paddock); }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; background: var(--paddock-2); border: 1px solid var(--hairline); color: var(--asphalt); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.chip--live { background: var(--circuit); border-color: var(--circuit); color: #fff; font-family: var(--mono); letter-spacing: .06em; }

/* ── Avatar（頭文字タイル） ────────────────────────────────── */
.av { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--paddock-3); border: 1.5px solid var(--ink); overflow: hidden; display: grid; place-items: center; }
.av__i { font-family: var(--display), var(--body); font-weight: 800; font-size: 14px; color: var(--ink); line-height: 1; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av img.is-broken { display: none; }
.av--24 { width: 24px; height: 24px; border-width: 1px; }
.av--24 .av__i { font-size: 10px; }
.av--48 { width: 48px; height: 48px; border-width: 2px; }
.av--48 .av__i { font-size: 19px; }

/* ── Home ────────────────────────────────────────────────── */
.home { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 48px; }
.home__grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--side); gap: 24px; align-items: start; }
.stage { min-width: 0; }

/* 舞台。黒い枠で縁取る（旧 BikeSeek の検索窓と同じ硬い影）。幕は ::after のオーバーレイで、動画要素は隠さない */
.viewport { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--player-bg); border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 5px 5px 0 var(--ink); }
.viewport iframe, .viewport #bs-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.viewport::after { content: ""; position: absolute; inset: 0; background: var(--player-bg); opacity: 0; pointer-events: none; transition: opacity var(--t); }
.viewport[data-curtain="on"]::after { opacity: 1; }

.now { display: flex; align-items: center; gap: 12px; min-height: var(--row-h); margin-top: 12px; padding: 8px 4px; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; }
.now__state { display: inline-flex; align-items: center; gap: 7px; font: 700 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt); white-space: nowrap; padding: 5px 8px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--white); }
html[lang="ja"] .now__state { font: 700 12px/1 var(--body); letter-spacing: .02em; }
.now__state .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.now[data-state="latest"] .dot, .now[data-state="video"] .dot { background: var(--plate); box-shadow: 0 0 0 1.5px var(--ink); }
.now[data-state="live"] .now__state { color: #fff; background: var(--circuit); border-color: var(--circuit); }
.now[data-state="live"] .dot { background: #fff; }
.now[data-state="tap"] .now__state { background: var(--plate); }
.now[data-state="tap"] .dot { background: var(--ink); }
.now[data-state="error"] .now__state { color: var(--steel-ink); }
.now__name { font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.now__title { flex: 1 1 160px; min-width: 0; font-size: 14px; color: var(--asphalt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now__actions { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.now__official { font-size: 13px; font-weight: 600; color: var(--circuit); white-space: nowrap; }
.now__official:hover { text-decoration: underline; }
.now__msg { padding: 10px 4px 0; font-size: 13px; color: var(--steel-ink); }

.info { display: flex; gap: 16px; padding: 20px 4px 0; }
.info__body { min-width: 0; flex: 1; }
.info__name { font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.info__meta { margin-top: 4px; font: 500 12px/1.6 var(--mono); color: var(--steel-ink); }
html[lang="ja"] .info__meta { font-family: var(--body); }
.info__note { margin-top: 10px; font-size: 14.5px; color: var(--asphalt); max-width: 70ch; }
.info__caution { margin-top: 6px; font-size: 13px; color: var(--steel-ink); }
.info__foot { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--steel-ink); }
.info__foot a { color: var(--circuit); font-weight: 600; }
.info__foot a:hover { text-decoration: underline; }
.info__foot a.is-quiet { color: var(--steel-ink); font-weight: 500; }
.info__foot a.is-quiet:hover { color: var(--ink); }
.info__toggle { display: none; }

/* 節の見出し（Saira・下に黄色の線） */
.sec-hd { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-bottom: 14px; padding: 0 4px 8px; border-bottom: 2px solid var(--ink); }
.sec-hd h2 { font-family: var(--display), var(--body); font-weight: 800; font-size: 24px; letter-spacing: .01em; }
.sec-hd .s { font-size: 13px; color: var(--steel-ink); }
.sec-hd .more { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--circuit); }
.sec-hd .more:hover { text-decoration: underline; }

/* ── 新着の動画（プレーヤー列の下。PC は3列・SP は横へ送る1段） ── */
.newv { margin-top: 30px; min-width: 0; }
.newv[hidden] { display: none; }
.newv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 16px; }
.vcard { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 4px; border-radius: var(--r); transition: background var(--t); }
.vcard:hover { background: var(--paddock-2); }
.vcard__img { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--paddock-3); border: 1.5px solid var(--ink); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; }
.vcard__t { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.vcard__m { font: 500 11.5px/1.4 var(--mono); color: var(--steel-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ja"] .vcard__m { font-family: var(--body); font-size: 12px; }

/* ── Browser panel（PC 右列） ─────────────────────────────── */
.browser { position: sticky; top: calc(var(--hd-h) + 16px); max-height: calc(100vh - var(--hd-h) - 32px); display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 4px 4px 0 var(--ink); }
.browser__top { padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 10px; background: var(--paddock); border-bottom: 2px solid var(--ink); border-radius: var(--r) var(--r) 0 0; }
.browser__hd .t { font-family: var(--display), var(--body); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: .02em; }
.browser__hd .s { display: block; font-size: 12px; color: var(--steel-ink); margin-top: 2px; line-height: 1.5; }
.browser__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.browser__cats .pill { height: 30px; padding: 0 10px; font-size: 12.5px; }
.browser__langs { display: flex; align-items: center; gap: 8px; }
.browser__list { overflow-y: auto; overscroll-behavior: contain; padding: 4px 6px 6px; flex: 1 1 auto; min-height: 0; }
.browser__foot { padding: 10px 14px 12px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--steel-ink); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.browser__foot a { color: var(--circuit); font-weight: 600; }
.browser__foot a:hover { text-decoration: underline; }
.browser__empty { padding: 24px 12px; font-size: 14px; color: var(--steel-ink); text-align: center; }
.grp { position: sticky; top: 0; z-index: 1; background: var(--white); padding: 12px 10px 6px; font-family: var(--display), var(--body); font-size: 15px; font-weight: 800; letter-spacing: .02em; color: var(--ink); border-bottom: 1px solid var(--hairline); }
.grp .n { font: 500 11.5px/1 var(--mono); margin-left: 6px; color: var(--steel-ink); }
.grp .s { display: block; font: 400 12px/1.5 var(--body); color: var(--steel-ink); margin-top: 2px; letter-spacing: 0; }
.row { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: var(--row-h); padding: 6px 10px; border-radius: var(--r); text-align: left; color: var(--ink); transition: background var(--t); }
.row:hover { background: var(--paddock-2); }
.row[aria-selected="true"] { background: color-mix(in srgb, var(--plate) 28%, var(--white)); }
.row[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; background: var(--plate); border: 1px solid var(--ink); border-radius: 2px; }
.row__body { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.row__name { font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__meta { font-size: 12px; color: var(--steel-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.is-dormant .row__name { color: var(--steel-ink); font-weight: 500; }
.row__tag { flex: 0 0 auto; }
.row[hidden], .grp[hidden] { display: none; }

/* ── 記事一覧（トップ最下部・2列） ───────────────────────── */
.articles { margin-top: 44px; }
.alist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.aline { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 4px; border-bottom: 1px solid var(--hairline); transition: background var(--t); min-width: 0; }
.aline:hover { background: var(--white); }
.aline .cat { font: 700 11px/1.4 var(--mono); letter-spacing: .06em; color: var(--circuit); }
html[lang="ja"] .aline .cat { font: 700 12px/1.4 var(--body); letter-spacing: 0; }
.aline .t { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5; }

/* ── SEO 段落（小さく・一覧の下） ────────────────────────── */
.seo { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--hairline); max-width: 78ch; }
.seo h2 { font-size: 15px; color: var(--ink); }
.seo p { margin-top: 6px; font-size: 13px; color: var(--steel-ink); }

/* ── Page（下層） ─────────────────────────────────────────── */
.page { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter) 64px; }
.page__hd { max-width: 74ch; }
.page__hd .lead { margin-top: 12px; font-size: 15.5px; color: var(--asphalt); }
.page__hd .t-caption { margin-top: 8px; }
.page__hd .crumb { font-size: 12.5px; color: var(--steel-ink); margin-bottom: 10px; }
.page__hd .crumb a { color: var(--circuit); }
.page__hd .actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.section { margin-top: 48px; }
.section__hd { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; padding: 0 0 8px; border-bottom: 2px solid var(--ink); }
.section__hd h2 { font-family: var(--display), var(--body); font-weight: 800; font-size: 24px; letter-spacing: .01em; }
.section__hd .n { font: 500 13px/1 var(--mono); color: var(--steel-ink); }
.section__hd .s { flex-basis: 100%; font-size: 13px; color: var(--steel-ink); }
.section__hd .more { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--circuit); }
.section__hd .more:hover { text-decoration: underline; }

/* 全チャンネル一覧（静的・JS 無しで読める） */
.filters { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.filters .search { max-width: 440px; }
.filters__cats { display: flex; flex-wrap: wrap; gap: 6px; }
.filters__langs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crow { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; gap: 4px 14px; align-items: start; padding: 14px 4px; border-bottom: 1px solid var(--hairline); }
.crow__av { grid-column: 1; grid-row: 1 / span 3; }
.crow__top { grid-column: 2; grid-row: 1; display: flex; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; min-width: 0; }
.crow__name { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.crow__name:hover { text-decoration: underline; text-decoration-color: var(--circuit); }
.crow__meta { font-size: 12px; color: var(--steel-ink); }
.crow__ext { grid-column: 3; grid-row: 1 / span 3; font-size: 13px; font-weight: 600; color: var(--circuit); white-space: nowrap; padding-top: 2px; }
.crow__ext:hover { text-decoration: underline; }
.crow__why { grid-column: 2; grid-row: 2; font-size: 13.5px; color: var(--asphalt); }
.crow__sub { display: block; font-size: 12px; color: var(--steel-ink); margin-top: 2px; }
.crow__faces { grid-column: 2; grid-row: 3; display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--steel-ink); }
.crow__faces a { color: var(--circuit); font-weight: 600; }
.crow__faces a:hover { text-decoration: underline; }
.crow.is-dormant .crow__name { color: var(--steel-ink); font-weight: 600; }
.crow[hidden], .section[hidden] { display: none; }
.xrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 12px 4px; border-bottom: 1px solid var(--hairline); }
.xrow__name { font-size: 15px; font-weight: 600; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.xrow__meta { font-size: 12px; color: var(--steel-ink); }
.xrow__ext { grid-column: 2; grid-row: 1; font-size: 13px; font-weight: 600; color: var(--circuit); white-space: nowrap; }
.xrow__ext:hover { text-decoration: underline; }

/* リンク集（2列） */
.lgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 4px; border-bottom: 1px solid var(--hairline); min-width: 0; }
.lrow__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.lrow__name:hover { text-decoration: underline; text-decoration-color: var(--circuit); }
.lrow__why { font-size: 13px; color: var(--asphalt); }
.lrow__url { font: 500 11.5px/1.5 var(--mono); color: var(--steel-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 記事の一覧（guides.html・挿絵つき） */
.agrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; margin-top: 8px; }
.acard { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hairline); min-width: 0; }
.acard img { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; border: 1.5px solid var(--ink); background: var(--paddock-3); }
.acard .t { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.acard .d { margin-top: 4px; font-size: 13px; color: var(--steel-ink); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard:hover .t { text-decoration: underline; text-decoration-color: var(--circuit); }

/* このサイトについて */
.doc { max-width: 72ch; }
.doc h2 { font-family: var(--display), var(--body); font-weight: 800; font-size: 24px; margin: 44px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.doc p { color: var(--asphalt); margin: 0 0 1em; }
.doc strong { color: var(--ink); }
.doc ul, .doc ol { margin: 0 0 1.2em 1.2em; padding: 0; color: var(--asphalt); }
.doc li { margin-bottom: .45em; }
.doc a { color: var(--circuit); font-weight: 600; }
.doc a:hover { text-decoration: underline; }
.notice { padding: 14px 16px; border-radius: var(--r); background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); margin: 1.2em 0; }
.notice p { margin: 0; font-size: 14px; }

/* ── Footer（インクの黒い帯。旧 BikeSeek のフッターを引き継ぐ） ── */
.ft { background: var(--ink); color: #c9ccd1; margin-top: 56px; }
.ft__in { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 28px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; font-size: 13px; }
.ft__col { display: flex; flex-direction: column; gap: 8px; }
.ft__col .brand__word { color: #fff; font-size: 21px; }
.ft__col a { color: #e7e9ec; }
.ft__col a:hover { color: var(--plate); }
.ft__col .h { font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.ft__bottom { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter) 30px; font: 500 11.5px/1.5 var(--mono); color: var(--steel); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #2f333b; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1199px) { .brand-tag { display: none; } }
@media (max-width: 1023px) {
  .nav { display: none; }
  .menu { display: inline-flex; align-items: center; justify-content: center; }
  .home__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .browser { position: static; max-height: none; }
  .browser__cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 2px 14px 4px; }
  .browser__cats::-webkit-scrollbar { display: none; }
  /* 310行を開ききると記事が画面のはるか下へ沈む（SP で 23,000px）。一覧は枠の中でスクロールさせる */
  .browser__list { max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; }
  .mast__meta { margin-left: 0; }
}
@media (max-width: 767px) {
  :root { --hd-h: 56px; }
  .brand__word { font-size: 21px; }
  .brand__plate { width: 30px; height: 30px; }
  .mast { padding: 12px var(--gutter) 10px; }
  .mast__t { font-size: 22px; }
  .mast__meta { display: none; }
  .home { padding: 0 0 40px; }
  .home__grid { gap: 0; }
  /* SP: プレーヤーはヘッダー直下に固定し、その下が縦に流れる。sticky は親の高さの中でしか効かないので .stage の箱を消して .home__grid を親にする */
  .stage { display: contents; }
  .stage__sticky { position: sticky; top: var(--hd-h); z-index: 30; background: var(--paddock); }
  .viewport { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .now { padding: 8px var(--gutter); margin-top: 0; }
  .now__name { max-width: 55%; }
  .now__actions { width: 100%; margin-left: 0; justify-content: space-between; }
  .now__msg { padding: 8px var(--gutter) 0; }
  .info { padding: 16px var(--gutter) 0; }
  .info__note, .info__caution, .info__foot { display: none; }
  .info.is-open .info__note, .info.is-open .info__caution { display: block; }
  .info.is-open .info__foot { display: flex; }
  .info__toggle { display: inline-flex; align-items: center; height: 32px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--circuit); }
  .info__foot a.is-quiet { display: none; }
  .newv { margin-top: 18px; }
  .newv .sec-hd { margin-left: var(--gutter); margin-right: var(--gutter); }
  .newv__grid { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .newv__grid::-webkit-scrollbar { display: none; }
  .vcard { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; padding: 0; }
  .vcard:hover { background: none; }
  .browser { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; margin-top: 18px; order: 5; }
  .browser__top { border-radius: 0; }
  .articles, .seo { margin-left: var(--gutter); margin-right: var(--gutter); }
  .alist, .lgrid, .agrid { grid-template-columns: minmax(0, 1fr); }
  .acard { grid-template-columns: 112px minmax(0, 1fr); }
  .acard img { width: 112px; }
  .ft__in { grid-template-columns: minmax(0, 1fr); }
  .crow { grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto auto auto; }
  .crow__av { grid-row: 1 / span 4; }
  .crow__av .av--48 { width: 40px; height: 40px; }
  .crow__ext { grid-column: 2; grid-row: 4; padding-top: 0; }
  .page__hd .actions .btn { display: block; max-width: 100%; white-space: normal; height: auto; min-height: 42px; padding-top: 9px; padding-bottom: 9px; text-align: left; line-height: 1.5; }
}
@media (min-width: 768px) { .info__toggle { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
