/* 地域の配色(kobe)。tools/area.py build が areas/kobe/area.json の theme から作ったファイル。手で直さない */
:root {
  --accent: #006b54;
  --accent-ink: #ffffff;
  --accent-soft: #e2efeb;
  --next-until-bg: #006b54;
  --next-until-ink: #ffffff;
  --band-bg: #e2efeb;
  --band-ink: #006b54;
  --band-edge: #006b54;
  --card-top: #009a78;
  --line-s-bg: #007a60;
  --line-s-ink: #ffffff;
  --line-s-code: #007a60;
  --line-k-bg: #0072ab;
  --line-k-ink: #ffffff;
  --line-k-code: #0072ab;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #5fd1b0;
    --accent-ink: #0b1a20;
    --accent-soft: #1a2f2a;
    --next-until-bg: #5fd1b0;
    --next-until-ink: #0b1a20;
    --band-bg: #1a2f2a;
    --band-ink: #d6efe7;
    --band-edge: #5fd1b0;
    --card-top: #3fae8e;
    --line-s-bg: #5fd1b0;
    --line-s-ink: #0b1a20;
    --line-s-code: #5fd1b0;
    --line-k-bg: #5cc1f0;
    --line-k-ink: #0b1a20;
    --line-k-code: #5cc1f0;
  }
}
/* 路線の札(.route.line-<路線>)と、ホームの駅のチップの駅番号(.chip-code.line-<路線>)。色は上の変数 */
.route.line-k { background: var(--line-k-bg); color: var(--line-k-ink); }
.chip-code.line-k { color: var(--line-k-code); }
.route.line-s { background: var(--line-s-bg); color: var(--line-s-ink); }
.chip-code.line-s { color: var(--line-s-code); }
/* 駅のページの表: 狭い画面では文字を少し小さくし、余白を詰める(横にはみ出さず、方面の見出しは語の切れ目で折り返すように) */
@media (max-width: 359px) {
  table { font-size: .875rem; }
  table th[scope="row"] { overflow-wrap: break-word; }
  table th, table td { padding: .5rem .3rem; }
}
