/* ==========================================================================
   tokens.css — ブランディング変数(着せ替え用)
   --------------------------------------------------------------------------
   配色・フォント・角丸・余白などの「見た目」はすべてここで管理します。
   style.css 側は変数を参照するだけなので、このファイルを差し替えれば
   サイト全体のトーンが変わります。
   現在の値: ライト(白ベース+ティールグリーン)。誰にでも読みやすいことを優先。
   文字色はすべて背景とのコントラスト 4.5:1 以上で選んでいます。
   ========================================================================== */

:root {
  color-scheme: light;

  /* ---- Color: 基本 ---- */
  --color-bg: #f6f7f9;             /* ページ背景 */
  --color-bg-glow: #e8f4f2;        /* 右上のほのかな色味(radial-gradient)。不要なら --color-bg と同じ値に */
  --color-surface: #ffffff;        /* カード・パネル背景 */
  --color-surface-muted: #f1f3f6;  /* SOON カード・埋め込み枠の地 */
  --color-text: #1a2233;           /* 本文 */
  --color-text-muted: #566074;     /* 補足テキスト */
  --color-text-dim: #646e82;       /* さらに控えめ(コピーライト等) */
  --color-border: #e1e5eb;         /* 罫線 */
  --color-accent: #0f766e;         /* リンク・ボタン・強調(ティール) */
  --color-accent-hover: #0b5c56;
  --color-accent-soft: #e3f3f1;    /* アクセントの薄い地(バッジ・背景) */
  --gradient-accent: linear-gradient(100deg, #0f766e 0%, #0b6aa8 100%); /* 見出しの強調語 */
  --flow-color-1: #0f766e;         /* トップの「流れ」アニメーションの色(上の流れ) */
  --flow-color-2: #0b6aa8;         /* 同(下の流れ) */
  --flow-color-3: #e59a00;         /* 流れの上を動く点の一部 */
  --color-accent-contrast: #ffffff;/* accent 上の文字色 */
  --color-accent-2: #e59a00;       /* サブアクセント(MAP など、装飾用) */
  --color-focus: #0f766e;          /* フォーカスリング */
  --color-notice-bg: #fff8e6;      /* 注意書きボックス */
  --color-notice-border: #f0c35a;
  --color-grid: transparent;       /* 背景の方眼。管制モニター風にするなら rgb(26 34 51 / 0.05) など */
  --color-glow: rgb(15 118 110 / 0.14);
  --shelf-bg: #eceff3;             /* 棚の地の色(カードが白く浮くように少し濃く) */
  --shelf-nav-bg: rgb(246 247 249 / 0.9); /* 棚を選ぶナビ(スクロールで上に残る)の背景 */

  /* ---- Color: ステータスタグ(新しい種類はここと style.css に1行ずつ追加) ---- */
  /* 「ライブ配信」は実験の“種類”。配信中かどうかの“状態”は onair / offair で別に出す */
  --status-live-bg: #fdecec;
  --status-live-fg: #b42318;
  --status-onair-bg: #d42f36;      /* 実際に配信中のときだけ(生放送=赤) */
  --status-onair-fg: #ffffff;
  --status-offair-bg: #eceff3;     /* 配信時間外 */
  --status-offair-fg: #566074;
  --status-map-bg: #fff1d6;
  --status-map-fg: #8a5300;
  --status-tool-bg: #e6efff;
  --status-tool-fg: #1f4fb8;
  --status-note-bg: #eceff3;
  --status-note-fg: #3b4556;
  --status-new-bg: #ffe066;
  --status-new-fg: #5c4300;
  --status-soon-bg: #eceff3;
  --status-soon-fg: #566074;
  --status-default-bg: #eceff3;
  --status-default-fg: #1a2233;

  /* ---- Color: カードのサムネイル(ステータスごと) ---- */
  --thumb-live-bg: linear-gradient(135deg, #e3f2fc 0%, #c4e2f5 100%);
  --thumb-live-fg: #0b6aa8;
  --thumb-map-bg: linear-gradient(135deg, #fff6e0 0%, #ffe1a6 100%);
  --thumb-map-fg: #a86400;
  --thumb-tool-bg: linear-gradient(135deg, #edf2ff 0%, #d0dcff 100%);
  --thumb-tool-fg: #2d5bd1;
  --thumb-default-bg: linear-gradient(135deg, #eef2f6 0%, #dde4ec 100%);
  --thumb-default-fg: #566074;
  --thumb-soon-bg: #f1f3f6;
  --thumb-soon-fg: #9aa3b2;
  --thumb-bracket: transparent;    /* サムネ四隅のカギ括弧(管制モニター風にするなら色を入れる) */
  --thumb-grid: rgb(255 255 255 / 0.35);

  /* ---- Typography ---- */
  /* Web フォントは各 HTML の <head> で Google Fonts を読み込んでいる */
  --font-display: "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "Consolas", monospace; /* 番号・日付だけに使う */

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.375rem;
  --text-hero: clamp(2rem, 1.1rem + 3.6vw, 3.5rem);
  --leading-body: 1.85;
  --leading-tight: 1.45;
  --leading-hero: 1.35;
  --weight-bold: 700;
  --weight-black: 900;
  --tracking-display: 0.02em;
  --tracking-hero: 0.02em;
  --tracking-mono: 0.08em;

  /* ---- Shape / Space ---- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --container-max: 1180px;
  --container-narrow: 760px;
  --gutter: 16px;                  /* スマホ時の左右余白 */
  --card-min: 250px;               /* カードの最小幅(列数が自動で決まる) */

  /* ---- Effect ---- */
  --shadow-card: 0 1px 2px rgb(16 24 40 / 0.04), 0 2px 6px rgb(16 24 40 / 0.05);
  --shadow-card-hover: 0 14px 32px -10px rgb(16 24 40 / 0.18);
  --card-hover-lift: -4px;
  --grid-size: 48px;               /* 背景方眼の間隔 */
  --transition-fast: 180ms ease;

  /* ---- Header ---- */
  --header-bg: rgb(255 255 255 / 0.85);
  --header-border: var(--color-border);
  --header-height: 64px;
}
