:root {
  --bg: #eaf0f7;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --ink-2: #33435a;
  --muted: #66758a;
  --line: #d5dde8;
  --line-2: #e9eef5;
  --brand: #0b3d91;
  --brand-d: #082a66;
  --brand-2: #1e7be0;
  --brand-weak: #e2eefc;
  --red: #e0262b;
  --gold: #f5a300;
  --orange: #ee6a00;
  --pos: #0a8a47;
  --neg: #d32121;
  --morning: #ffab00; --day: #1e7be0; --night: #3a3fb4; --midnight: #7b1fa2;
  --radius: 10px;
  --shadow: 0 1px 0 rgba(14, 26, 43, .05), 0 2px 6px rgba(14, 26, 43, .06);
  --b1: #ffffff; --b1t: #111; --b2: #1a1a1a; --b2t: #fff; --b3: #e2231a; --b3t: #fff;
  --b4: #1565c0; --b4t: #fff; --b5: #ffd600; --b5t: #111; --b6: #0f8a3c; --b6t: #fff;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--font); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { margin: 0; line-height: 1.3; }
small { font-size: 12px; }
.num, td, dd, .rrow__p, .race__aip { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.hi { color: var(--red); font-weight: 800; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.only-s { display: none !important; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 8px rgba(8, 42, 102, .25);
  background: linear-gradient(100deg, var(--brand-d) 0%, var(--brand) 55%, #1b63c9 100%); }
.top__in { display: flex; align-items: center; gap: 20px; height: 58px; }
.logo { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: #fff; }
.logo:hover { color: #fff; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-weight: 900; font-size: 20px; letter-spacing: .06em; }
.logo__tag { font-size: 11px; color: #bcd3f5; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 700; color: #fff; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.strip { background: var(--brand-d); border-top: 1px solid rgba(255, 255, 255, .08); }
.strip__in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.strip__in::-webkit-scrollbar { display: none; }
.strip__in { align-items: center; }
.strip__v { position: relative; flex: none; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; color: #7f97bd; padding: 8px 11px; min-height: 36px; border-radius: 6px; white-space: nowrap; }
.strip__v.is-open { color: #fff; background: rgba(255, 255, 255, .2); }
.strip__v.is-open:hover { background: rgba(255, 255, 255, .28); color: #fff; }
.strip__lbl { flex: none; font-size: 11px; font-weight: 800; color: var(--brand-d); background: var(--gold); padding: 3px 8px; border-radius: 4px; margin-right: 4px; white-space: nowrap; }
.strip__sep { flex: none; width: 1px; height: 22px; background: rgba(255, 255, 255, .25); margin: 0 6px; }
.strip .slot-ic { width: 14px; height: 14px; margin-left: 5px; flex: none; }
.slot-ic--morning { color: var(--morning); } .slot-ic--night { color: #ffd54a; } .slot-ic--midnight { color: #e0a6ff; }
.strip__v.is-current .slot-ic--night { color: var(--night); } .strip__v.is-current .slot-ic--midnight { color: var(--midnight); }
.strip__v.is-current { background: #fff; color: var(--brand); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-left: 5px; vertical-align: 2px; }
.dot--morning { background: var(--morning); } .dot--day { background: #5fb3ff; }
.dot--night { background: #9fa8ff; } .dot--midnight { background: #d48cff; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); padding-top: 14px; }
.crumbs a { color: var(--brand-2); font-weight: 600; }
.main { padding-top: 16px; padding-bottom: 48px; }

/* ---------- section headings ---------- */
.h2 { position: relative; font-size: 18px; font-weight: 900; margin-bottom: 10px; padding-left: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.h2::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 6px; border-radius: 3px; background: var(--brand); }
.h2 small { font-weight: 600; color: var(--muted); }
.h2--red::before { background: var(--red); }
.h2--gold::before { background: var(--gold); }
.h2--blue::before { background: var(--brand-2); }
.h2--orange::before { background: var(--orange); }
.block { margin-bottom: 28px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.empty { color: var(--ink-2); background: var(--surface); border: 2px dashed var(--line); border-radius: var(--radius); padding: 16px; margin: 0; font-size: 14px; }

/* ---------- banner ---------- */
.banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(120deg, #ffffff 0%, #eef5ff 60%, #dcebff 100%); border: 1px solid #c9dcf5;
  border-radius: 12px; padding: 18px 22px; margin-bottom: 22px; box-shadow: var(--shadow); }
.banner__date { margin: 0 0 2px; font-size: 15px; font-weight: 900; color: var(--brand); }
.banner__date span { margin-left: 8px; font-size: 12px; color: #fff; background: var(--orange); padding: 1px 8px; border-radius: 4px; vertical-align: 1px; }
.banner h1 { font-size: 30px; font-weight: 900; letter-spacing: .02em; }
.hl { color: var(--brand); background: linear-gradient(transparent 62%, #ffe066 62%); padding: 0 2px; }
.banner__lead { margin: 6px 0 0; color: var(--ink-2); max-width: 600px; font-size: 14px; }
.kpis { display: flex; gap: 8px; margin: 0; flex-wrap: wrap; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 14px 8px; min-width: 84px; }
.kpi dt { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.kpi dd { margin: 0; font-size: 26px; font-weight: 900; line-height: 1.2; }
.kpi--red dd { color: var(--red); font-size: 20px; line-height: 1.55; }
.kpi small { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 2px; }

/* ---------- boats & marks ---------- */
.boat { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; font-weight: 900; font-size: 15px; line-height: 1; flex: none; }
.boat--sm { width: 22px; height: 22px; font-size: 13px; border-radius: 4px; }
.boat--1 { background: var(--b1); color: var(--b1t); box-shadow: inset 0 0 0 1.5px #9aa6b5; }
.boat--2 { background: var(--b2); color: var(--b2t); }
.boat--3 { background: var(--b3); color: var(--b3t); }
.boat--4 { background: var(--b4); color: var(--b4t); }
.boat--5 { background: var(--b5); color: var(--b5t); }
.boat--6 { background: var(--b6); color: var(--b6t); }
.combo { display: inline-flex; gap: 3px; align-items: center; }
.mark { display: inline-block; min-width: 1.2em; text-align: center; font-weight: 900; color: var(--red); font-size: 17px; line-height: 1; }

/* ---------- badges & tags ---------- */
.badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 4px; line-height: 1.5; white-space: nowrap; color: #fff; }
.badge--morning { background: var(--morning); color: #3d2a00; }
.badge--day { background: var(--day); }
.badge--night { background: var(--night); }
.badge--midnight { background: var(--midnight); }
.badge--sg { background: linear-gradient(135deg, #b8860b, #f3c623 50%, #b8860b); color: #2b1d00; }
.badge--g1 { background: linear-gradient(135deg, #c62828, #ef5350); }
.badge--g2 { background: #8e24aa; }
.badge--g3 { background: #00897b; }
.badge--ladies { background: #e91e63; }
.badge--rookie { background: #43a047; }
.badge--masters { background: #6d4c41; }
.badge--final { background: #fff; color: var(--red); box-shadow: inset 0 0 0 1.5px var(--red); }
.tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag--solid { background: var(--brand-2); color: #fff; }
.tag--solidish { background: #cfe3fb; color: #0d4a9a; }
.tag--mixed { background: #ffe9a6; color: #7a5300; }
.tag--wild { background: var(--orange); color: #fff; }
.st { font-size: 14px; font-weight: 800; white-space: nowrap; }
.st--open { color: var(--ink); }
.st--closed { color: var(--muted); }
.st--done { color: #fff; background: var(--pos); padding: 1px 7px; border-radius: 4px; font-size: 12px; }
.st--off { color: #fff; background: var(--neg); padding: 1px 7px; border-radius: 4px; font-size: 12px; }
.model { font-size: 11px; font-weight: 700; color: var(--ink-2); background: #f1f4f8; border-radius: 4px; padding: 2px 7px; }
.model--post { background: #e5f6ec; color: var(--pos); }
.wx { font-size: 12px; color: var(--muted); }
.cls { display: inline-block; font-size: 11px; font-weight: 900; padding: 0 5px; border-radius: 3px; margin-right: 4px; background: #e6ebf1; color: var(--ink-2); line-height: 1.6; }
.cls--A1 { background: var(--red); color: #fff; }
.cls--A2 { background: #ff8f00; color: #fff; }
.cls--B1 { background: #dfe9f7; color: #24508f; }

/* ---------- venue cards ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 10px; }
.vcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px 12px; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; min-width: 0; }
.vcard:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(14, 26, 43, .12); color: inherit; }
.vcard__top { display: flex; justify-content: space-between; align-items: baseline; }
.vcard__name { font-size: 20px; font-weight: 900; }
.vcard__day { font-size: 12px; font-weight: 700; color: var(--muted); }
.vcard__badges { display: flex; gap: 4px; flex-wrap: wrap; margin: 2px 0 4px; min-height: 20px; }
.vcard__title { margin: 0 0 8px; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin-bottom: 8px; }
.dots__d { height: 6px; border-radius: 3px; background: #cfe0f6; }
.dots__d--result, .dots__d--canceled { background: #9aa8ba; }
.dots__d--closed { background: #b6c2d1; }
.dots__d.is-next { background: var(--red); }
.vcard__next { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; border-top: 1px solid var(--line-2); padding-top: 8px; }
.vcard__next--done { color: var(--muted); font-size: 13px; }
.vcard__fav { display: inline-flex; align-items: center; gap: 3px; }
.vcard__fav .mark { font-size: 14px; }
.vcard__fav b { font-size: 15px; }

/* ---------- race lists ---------- */
.rlist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.rlist--grid { display: grid; grid-template-columns: 1fr 1fr; }
.rlist--grid .rrow:nth-child(odd) { border-right: 1px solid var(--line-2); }
.rrow, .vrow { display: grid; grid-template-columns: 62px 1fr auto 82px; align-items: center; gap: 10px; padding: 9px 12px 9px 10px; border-top: 1px solid var(--line-2); }
.vrow { grid-template-columns: 1fr auto 76px 70px; }
.rrow:first-child, .vrow:first-child, .rlist--grid .rrow:nth-child(2) { border-top: 0; }
.rrow:hover, .vrow:hover { background: #f4f8fd; color: inherit; }
.rrow__race { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.rrow__race b { font-size: 15px; font-weight: 900; }
.rrow__race em { font-style: normal; font-weight: 900; color: var(--brand); margin-left: 6px; font-size: 15px; }
.rrow__race small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrow__fav { display: flex; align-items: center; gap: 4px; }
.rrow__p { font-weight: 900; font-size: 20px; min-width: 44px; text-align: right; line-height: 1; }
.rrow__p small { font-size: 12px; margin-left: 1px; }
.rrow__conf { text-align: right; }
.vrow__p { font-weight: 800; text-align: right; }
.vrow__p small { color: var(--muted); margin-right: 3px; font-weight: 700; }
.vrow__o { font-weight: 900; font-size: 17px; text-align: right; color: var(--red); }
.vrow__o small { font-size: 11px; margin-left: 1px; color: var(--muted); }

/* ---------- results ---------- */
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 8px; }
.res { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow); }
.res__race { min-width: 74px; }
.res__race b { font-weight: 900; }
.res__pay { font-weight: 900; margin-left: auto; font-size: 16px; }
.is-manshu { color: var(--red); }
.res__tech { font-size: 12px; color: var(--muted); min-width: 52px; text-align: right; }

/* ---------- venue / day head ---------- */
.dayhead, .vhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.vhead { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); }
.vhead__date, .eyebrow { margin: 0 0 2px; font-size: 14px; font-weight: 900; color: var(--brand); }
.dayhead h1, .vhead h1 { font-size: 28px; font-weight: 900; }
.vhead h1 span { font-size: 18px; color: var(--ink-2); margin-left: 4px; }
.vhead__title { margin: 4px 0 6px; font-weight: 700; color: var(--ink-2); }
.vhead__badges { display: flex; gap: 4px; flex-wrap: wrap; }
.hero__lead { margin: 6px 0 0; color: var(--ink-2); max-width: 640px; }
.daynav { display: flex; gap: 6px; flex-wrap: wrap; }
.daynav a { font-size: 14px; font-weight: 800; padding: 8px 12px; border-radius: 8px; background: #f1f5fa; border: 1px solid var(--line); }
.daynav a.btn, .btn { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 2px 0 #a3171b; }
.daynav a.btn:hover, .btn:hover { color: #fff; filter: brightness(1.06); }

.rtabs { display: grid; grid-template-columns: repeat(12, minmax(52px, 1fr)); gap: 5px; overflow-x: auto; padding: 8px 0 10px; position: sticky; top: 100px; background: var(--bg); z-index: 10; scrollbar-width: none; }
.rtab { display: flex; flex-direction: column; align-items: center; padding: 5px 4px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); line-height: 1.2; }
.rtab b { font-size: 16px; font-weight: 900; color: var(--brand); }
.rtab small { color: var(--muted); font-weight: 600; }
.rtab--result, .rtab--canceled { background: #e7ecf2; }
.rtab--result b, .rtab--canceled b { color: var(--muted); }
.rtab.is-next { background: var(--red); border-color: var(--red); }
.rtab.is-next b, .rtab.is-next small { color: #fff; }

/* ---------- race card ---------- */
.race { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 18px; scroll-margin-top: 170px; overflow: hidden; }
.race__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: linear-gradient(100deg, var(--brand-d), var(--brand)); color: #fff; }
.race__title { display: flex; align-items: center; gap: 12px; }
.race__no { display: inline-grid; place-items: center; grid-auto-flow: column; min-width: 52px; height: 46px; background: #fff; color: var(--brand); border-radius: 8px; font-size: 26px; font-weight: 900; line-height: 1; padding: 0 6px; }
.race__no small { font-size: 13px; margin-left: 1px; align-self: end; padding-bottom: 9px; }
.race__head h2 { font-size: 18px; font-weight: 900; }
.race__head h2 small { color: #b8cdf0; font-weight: 600; }
.race__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.race__head .st--open, .race__head .st--closed { color: #fff; }
.race__head .wx { color: #c5d6f2; }
.race__ai { display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 10px; padding: 6px 12px; }
.race__ailabel { font-size: 12px; font-weight: 900; color: var(--red); }
.race__aip { font-size: 26px; font-weight: 900; line-height: 1; }
.race__aip small { font-size: 13px; }
.race .empty { margin: 16px; }

.tablewrap { overflow-x: auto; }
table.card { width: 100%; border-collapse: collapse; background: var(--surface); }
.block > .tablewrap > table.card, .main > .tablewrap > table.card { border: 1px solid var(--line); border-radius: var(--radius); }
table.card th { font-size: 12px; font-weight: 800; color: var(--ink-2); text-align: left; padding: 7px 10px; background: #eef3f9; border-bottom: 2px solid var(--line); line-height: 1.3; white-space: nowrap; }
table.card th small { font-weight: 600; color: var(--muted); }
table.card td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.card tbody tr:last-child td { border-bottom: 0; }
table.card tbody tr:hover td { background: #f7faff; }
table.card tr.sep th { background: var(--brand); color: #fff; font-size: 13px; }
.c-mark { width: 44px; text-align: center !important; }
.c-mark .mark { font-size: 22px; }
.c-lane { width: 48px; }
.card--race td.c-lane { padding: 0; }
.card--race td.c-lane .boat { width: 100%; height: 58px; border-radius: 0; font-size: 22px; box-shadow: none; }
.card--race tr.lane--1 td.c-lane .boat { box-shadow: inset -1px 0 0 var(--line), inset 1px 0 0 var(--line); }
.c-num { text-align: right !important; white-space: nowrap; }
td.c-num { font-size: 15px; }
td.c-num small { display: block; color: var(--muted); font-size: 12px; }
.c-racer .racer { font-weight: 900; font-size: 17px; display: block; }
.c-racer small { color: var(--muted); white-space: nowrap; display: block; }
.c-ai { width: 190px; }
tr.is-out td { opacity: .4; }
.racer { color: var(--ink); }
.racer:hover { color: var(--brand-2); }
.fin { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; font-size: 14px; font-weight: 900; background: #eef1f5; }
.fin--1 { background: #ffcf33; color: #4d3500; }
.fin--2 { background: #cfd8e3; }
.fin--3 { background: #e9b48c; color: #5a2d0c; }

.pbar { position: relative; display: block; height: 28px; background: #edf1f6; border-radius: 6px; overflow: hidden; }
.pbar__fill { position: absolute; inset: 0 auto 0 0; }
.pbar__fill--1 { background: #a8b4c3; } .pbar__fill--2 { background: #3a3a3a; } .pbar__fill--3 { background: var(--b3); }
.pbar__fill--4 { background: var(--b4); } .pbar__fill--5 { background: #f5c800; } .pbar__fill--6 { background: var(--b6); }
.pbar__val { position: relative; display: block; text-align: right; padding: 0 8px; font-weight: 900; font-size: 16px; line-height: 28px; color: var(--ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }

/* phone race strips */
.mlist { list-style: none; margin: 0; padding: 0; }
.mrow { display: grid; grid-template-columns: 40px 1fr 74px; align-items: stretch; border-bottom: 1px solid var(--line-2); }
.mrow:last-child { border-bottom: 0; }
.mrow__lane { display: grid; place-items: center; font-size: 22px; font-weight: 900; }
.mrow--1 .mrow__lane { background: var(--b1); color: var(--b1t); box-shadow: inset -1px 0 0 var(--line); }
.mrow--2 .mrow__lane { background: var(--b2); color: var(--b2t); }
.mrow--3 .mrow__lane { background: var(--b3); color: var(--b3t); }
.mrow--4 .mrow__lane { background: var(--b4); color: var(--b4t); }
.mrow--5 .mrow__lane { background: var(--b5); color: var(--b5t); }
.mrow--6 .mrow__lane { background: var(--b6); color: var(--b6t); }
.mrow__body { padding: 8px 8px 8px 10px; min-width: 0; }
.mrow__name { display: flex; align-items: center; gap: 4px; }
.mrow__name a { font-weight: 900; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow__name .mark { font-size: 16px; }
.mrow__name .fin { margin-left: auto; min-width: 22px; height: 22px; font-size: 12px; }
.mrow__stats { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mrow__stats b { color: var(--ink); margin-left: 2px; font-weight: 800; }
.mrow__stats b.hi { color: var(--red); }
.mrow__ai { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 4px; padding: 8px 10px 8px 0; }
.mrow__ai b { font-size: 24px; font-weight: 900; line-height: 1; }
.mrow__ai b small { font-size: 12px; }
.mrow__bar { display: block; width: 100%; height: 6px; background: #edf1f6; border-radius: 3px; overflow: hidden; }
.mrow__bar span { display: block; height: 100%; }
.mrow.is-out { opacity: .4; }

.race__foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; padding: 14px; border-top: 2px solid var(--line); background: #f6f9fd; }
.tri { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.tri h3 { font-size: 14px; font-weight: 900; color: var(--brand); margin-bottom: 8px; }
.tri h3 small { color: var(--muted); font-weight: 600; }
.tri--value { border-color: #f3c95b; background: #fffbea; }
.tri--value h3 { color: #a15c00; }
.tri--res { border-color: #b9e0c8; }
.tri--res h3 { color: var(--pos); }
.tri__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 360px; }
.tri__list li { display: grid; grid-template-columns: 22px 76px 62px 1fr; gap: 8px; align-items: center; }
.tri__list li b { font-weight: 900; font-size: 15px; text-align: right; }
.tri__list li .num:last-child { min-width: 58px; text-align: right; }
.tri__rank { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 900; }
.tri--value .tri__rank { background: var(--gold); color: #3d2a00; }
.res__line { margin: 0 0 2px; display: flex; gap: 10px; align-items: center; }
.res__big { font-size: 22px; font-weight: 900; }
.tri--res .muted { margin: 0; font-size: 13px; }

/* ---------- venue stats ---------- */
.courses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.course { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.course__bar { width: 100%; max-width: 64px; height: 150px; background: #edf1f6; border-radius: 6px; display: flex; align-items: flex-end; overflow: hidden; }
.course__bar span { display: block; width: 100%; }
.course__bar .pbar__fill--1 { background: #7d8a9b; }
.course b { font-size: 18px; font-weight: 900; }
.course small { font-weight: 700; }
.hbars { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; box-shadow: var(--shadow); }
.hbars div { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; padding: 5px 0; }
.hbars dt { font-size: 14px; font-weight: 800; }
.hbars dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.hbars dd span { display: block; height: 12px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 6px; min-width: 2px; }
.hbars dd b { font-size: 14px; font-weight: 900; }
.stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; }
.stats dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.stats dd { margin: 0; font-size: 24px; font-weight: 900; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 14px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.chip:hover { border-color: var(--brand-2); }

/* ---------- prose & footer ---------- */
.prose { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 26px 32px; }
.prose h1 { font-size: 26px; font-weight: 900; margin-bottom: 14px; }
.prose h2 { font-size: 18px; font-weight: 900; margin: 26px 0 8px; color: var(--brand); }
.prose p, .prose li { color: var(--ink-2); }
.foot { background: var(--brand-d); color: #c9d4e3; padding: 30px 0 40px; }
.foot__cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 20px; }
.foot h3 { font-size: 14px; color: #fff; margin-bottom: 8px; }
.foot__cols a { display: block; font-size: 15px; padding: 3px 0; color: #c9d4e3; }
.foot__cols a:hover { color: #fff; }
.foot__note { font-size: 12px; line-height: 1.7; margin: 6px 0 0; color: #8fa3c2; }

@media (max-width: 960px) {
  .cols { grid-template-columns: 1fr; }
  .rlist--grid { grid-template-columns: 1fr; }
  .rlist--grid .rrow:nth-child(odd) { border-right: 0; }
  .rlist--grid .rrow:nth-child(2) { border-top: 1px solid var(--line-2); }
  .hide-m { display: none; }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 14px; }
  .only-s { display: block !important; }
  .only-l, .hide-s { display: none !important; }
  .top__in { height: 52px; gap: 8px; }
  .logo__tag { display: none; }
  .logo__name { font-size: 18px; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .rtabs { top: 92px; grid-template-columns: repeat(12, 54px); }
  .race { scroll-margin-top: 150px; border-radius: 10px; }
  .banner { padding: 14px; border-left-width: 5px; }
  .banner h1 { font-size: 24px; }
  .banner__lead { font-size: 13px; }
  .kpis { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .kpi { min-width: 0; padding: 5px 10px 6px; }
  .kpi dd { font-size: 22px; }
  .kpi--red { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .kpi--red dd { font-size: 18px; }
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vcard { padding: 8px 10px 10px; }
  .vcard__name { font-size: 18px; }
  .vcard__next { font-size: 13px; }
  .rrow { grid-template-columns: 50px 1fr auto auto; gap: 8px; padding: 9px 10px 9px 8px; }
  .rrow__p { font-size: 18px; min-width: 38px; }
  .vrow { grid-template-columns: 1fr auto auto; }
  .vrow__p { display: none; }
  .vhead { padding: 12px 14px; }
  .dayhead h1, .vhead h1 { font-size: 22px; }
  .vhead h1 span { font-size: 15px; }
  .race__head { padding: 8px 10px; }
  .race__no { min-width: 44px; height: 40px; font-size: 22px; }
  .race__head h2 { font-size: 16px; }
  .race__ai { width: 100%; justify-content: flex-start; padding: 5px 10px; }
  .race__ai .tag { margin-left: auto; }
  .race__aip { font-size: 22px; }
  .race__foot { padding: 10px; gap: 10px; }
  table.card td, table.card th { padding: 7px 6px; }
  .courses { gap: 4px; padding: 12px 8px; }
  .course__bar { height: 110px; }
  .course b { font-size: 14px; }
  .course small { font-size: 10px; }
  .stats dd { font-size: 20px; }
  .prose { padding: 20px 16px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- icons ---------- */
.ic { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex: none; fill: currentColor; }
.badge .ic { width: 12px; height: 12px; margin-right: 3px; vertical-align: -2px; }
.ic--gold { color: var(--gold); margin-right: 4px; }
.race__head .ic--gold { color: #ffd54f; }
.wx { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.wx__i { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.race__head .wx { color: #dce7f8; font-size: 12px; font-weight: 700; }
.race__head .ic--wx { color: #ffd54f; }
.ic--wind { color: #9fd0ff; }
.fbadge { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-left: 5px; border-radius: 3px; background: var(--neg); color: #fff; font-size: 11px; font-weight: 900; vertical-align: 2px; }
.dlt { display: inline-block; font-size: 12px; font-weight: 900; margin-top: 2px; }
.c-ai .dlt { display: block; text-align: right; }
.dlt--up { color: var(--pos); }
.dlt--down { color: var(--neg); }

/* ---------- AIの見解 ---------- */
.aiv { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; background: linear-gradient(90deg, #fff8e1, #fffdf5); border-bottom: 1px solid #f3dfa2; }
.aiv__label { flex: none; display: inline-flex; flex-direction: column; align-items: center; gap: 1px; background: var(--gold); color: #3d2a00; font-size: 12px; font-weight: 900; border-radius: 6px; padding: 4px 8px; line-height: 1.3; }
.aiv__label .ic { width: 16px; height: 16px; }
.aiv__label small { font-size: 10px; font-weight: 800; }
.aiv p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ink); font-weight: 500; }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(120deg, #ffffff 0%, #eef5ff 60%, #dcebff 100%); border: 1px solid #c9dcf5;
  border-radius: 12px; padding: 18px 22px 14px; margin-bottom: 22px; box-shadow: var(--shadow); }
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero h1 { font-size: 30px; font-weight: 900; letter-spacing: .02em; }
.hero__lead { margin: 6px 0 0; color: var(--ink-2); max-width: 640px; font-size: 14px; }
.hero__lead b { color: var(--brand); }
.hero__more { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #bcd1ee; }
.steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.steps__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: #fff; }
.steps li:nth-child(2) .steps__ic { background: var(--gold); color: #3d2a00; }
.steps li:nth-child(3) .steps__ic { background: var(--pos); }
.steps__ic .ic { width: 22px; height: 22px; }
.steps b { font-size: 14px; font-weight: 900; }
.steps p { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust .ic { color: var(--brand-2); width: 18px; height: 18px; }
.trust b { color: var(--ink); }
.hero__links { margin: 8px 0 0; font-size: 14px; font-weight: 800; }
.hero__links a { color: var(--brand-2); }
.hero__toggle { position: absolute; right: 14px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--muted); font: 700 12px var(--font); cursor: pointer; padding: 4px; }
.hero__toggle .ic { transition: transform .2s; transform: rotate(180deg); }
.hero__toggle-min { display: none; }
.hero-min .hero__more { display: none; }
.hero-min .hero { padding-bottom: 18px; }
.hero-min .hero__lead { display: none; }
.hero-min .hero__toggle-min { display: inline; }
.hero-min .hero__toggle-max { display: none; }
.hero-min .hero__toggle .ic { transform: none; }
@media (max-width: 700px) {
  .hero { padding: 14px 14px 12px; border-left-width: 5px; }
  .hero h1 { font-size: 24px; }
  .hero__lead { font-size: 13px; }
  .steps { grid-template-columns: 1fr; gap: 6px; }
  .steps li { padding: 8px 10px; }
  .steps__ic { width: 32px; height: 32px; }
  .trust { flex-direction: column; gap: 6px; }
  .hero__toggle { position: static; margin-top: 8px; }
  .aiv { padding: 10px; gap: 8px; }
  .aiv p { font-size: 14px; }
  .mrow__ai .dlt { font-size: 11px; }
}
.st.is-soon { color: var(--red); }
.race__head .st.is-soon { color: #fff; background: var(--red); padding: 1px 7px; border-radius: 4px; }

/* ---------- charts ---------- */
.chart { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 10px; box-shadow: var(--shadow); }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: #e3e9f1; stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.chart .line { fill: none; stroke: var(--brand-2); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .line--ref { stroke: #9aa7b8; stroke-width: 2; stroke-dasharray: 5 4; }
.chart .line--thin { stroke: #b9cbe4; stroke-width: 1.5; }
.chart .pt { fill: var(--brand-2); stroke: #fff; stroke-width: 2; }
.chart .pt--win { fill: var(--red); }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .hit:hover { fill: rgba(30, 123, 224, .06); }
.chart .lbl { fill: var(--muted); font-size: 12px; font-weight: 700; font-family: var(--font); }
.chart .lbl--main { fill: var(--ink); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.key { display: inline-block; width: 14px; height: 4px; border-radius: 2px; margin-left: 6px; }
.key:first-child { margin-left: 0; }
.key--main { background: var(--brand-2); }
.key--ref { background: repeating-linear-gradient(90deg, #9aa7b8 0 5px, transparent 5px 8px); }
.key--refv { width: 2px; height: 12px; background: var(--ink-2); }
.key--open { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--brand-2); }
.key--next { width: 12px; height: 12px; border-radius: 50%; background: var(--red); }
.key--done { width: 12px; height: 12px; border-radius: 50%; background: #b3bfce; }

.hb { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; box-shadow: var(--shadow); }
.hb__row { display: grid; grid-template-columns: 74px 1fr 58px 58px; align-items: center; gap: 10px; padding: 6px 0; }
.hb__row + .hb__row { border-top: 1px solid var(--line-2); }
.hb__label { font-size: 14px; font-weight: 800; }
.hb__track { position: relative; height: 14px; background: #edf1f6; border-radius: 4px; }
.hb__bar { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 4px; }
.hb__ref { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink-2); }
.hb__val { text-align: right; font-size: 15px; font-weight: 900; }
.hb__n { text-align: right; color: var(--muted); }
.hb__note { margin: 6px 0 0; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

.vh { display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px; height: 140px; align-items: end; }
.vh__col { height: 100%; display: flex; align-items: flex-end; cursor: crosshair; }
.vh__col:hover .vh__bar { filter: brightness(1.15); }
.vh__bar { display: block; width: 100%; min-height: 2px; background: #9fc2ee; border-radius: 4px 4px 0 0; }
.vh__bar.is-fast { background: var(--brand-2); }
.vh__axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.c-wbar { width: 200px; }

/* course schematic */
.suimen .water { fill: #d8eafd; }
.suimen .lane-line { fill: none; stroke: #ffffff; stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; }
.suimen .center { stroke: #b6d3f3; stroke-width: 2; }
.suimen .buoy { fill: #ff8a00; stroke: #fff; stroke-width: 3; }
.suimen .mk { fill: var(--brand-d); font-size: 12px; font-weight: 800; font-family: var(--font); }
.suimen .mk--s { font-size: 10px; fill: #4d6c95; }
.suimen .mk--stand { fill: #fff; font-size: 13px; }
.suimen .startline { stroke: var(--red); stroke-width: 2; stroke-dasharray: 6 4; }
.suimen .stand { fill: var(--brand); }
.suimen .wake { opacity: .85; }
.suimen .wake--1 { fill: #8796a8; } .suimen .wake--2 { fill: #3a3a3a; } .suimen .wake--3 { fill: var(--b3); }
.suimen .wake--4 { fill: var(--b4); } .suimen .wake--5 { fill: #f2c400; } .suimen .wake--6 { fill: var(--b6); }
.suimen .hull { stroke: #fff; stroke-width: 1.5; }
.suimen .hull--1 { fill: #fff; stroke: #8796a8; } .suimen .hull--2 { fill: #1a1a1a; } .suimen .hull--3 { fill: var(--b3); }
.suimen .hull--4 { fill: var(--b4); } .suimen .hull--5 { fill: var(--b5); } .suimen .hull--6 { fill: var(--b6); }
.suimen .hull-n { font-size: 11px; font-weight: 900; fill: #fff; font-family: var(--font); }
.suimen .hull-n--1, .suimen .hull-n--5 { fill: #111; }
.suimen .pct { font-size: 13px; font-weight: 900; fill: var(--ink); font-family: var(--font); }
.suimen .dv { font-size: 11px; font-weight: 800; font-family: var(--font); }
.suimen .dv--up { fill: var(--pos); } .suimen .dv--down { fill: var(--neg); }
.suimen g { cursor: crosshair; }

/* timeline */
.tl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow); }
.tl__scroll { overflow-x: auto; scrollbar-width: thin; }
.tl__grid { position: relative; min-width: 760px; }
.tl__hours { position: relative; height: 18px; margin-left: 64px; font-size: 11px; color: var(--muted); }
.tl__hours span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.tl__row { display: flex; align-items: center; height: 30px; border-top: 1px solid var(--line-2); }
.tl__name { flex: none; width: 64px; font-size: 14px; font-weight: 900; }
.tl__track { position: relative; flex: 1; height: 100%; }
.tl__tick { position: absolute; top: 0; bottom: 0; width: 1px; background: #eef2f7; }
.tl__r { position: absolute; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 10px; font-weight: 900; background: #fff; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand-2); z-index: 1; }
.tl__r:hover { z-index: 3; transform: translate(-50%, -50%) scale(1.25); color: var(--brand); }
.tl__r--result, .tl__r--closed, .tl__r--canceled { background: #b3bfce; color: #fff; box-shadow: none; }
.tl__r.is-next { background: var(--red); color: #fff; box-shadow: 0 0 0 3px rgba(224, 38, 43, .25); }
.tl__now { position: absolute; top: 14px; bottom: 0; width: 2px; background: var(--red); z-index: 2; pointer-events: none; }
.tl__now span { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 10px; font-weight: 900; padding: 0 5px; border-radius: 3px; }

/* tooltip */
.tip { position: fixed; z-index: 50; pointer-events: none; max-width: 280px; background: var(--brand-d); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.5; padding: 6px 9px; border-radius: 6px; box-shadow: 0 4px 14px rgba(8, 42, 102, .3); opacity: 0; transition: opacity .1s; }
.tip.is-on { opacity: 1; }

@media (max-width: 700px) {
  .hb__row { grid-template-columns: 58px 1fr 50px 44px; gap: 6px; }
  .hb__label { font-size: 13px; }
  .vh { height: 110px; }
  .c-wbar { width: auto; }
  .chart { padding: 10px; }
}

.clist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow); }
.clist__row { display: grid; grid-template-columns: 28px 1fr 56px 40px; gap: 8px; align-items: center; padding: 5px 0; }
.clist__track { height: 16px; background: #edf1f6; border-radius: 4px; overflow: hidden; }
.clist__bar { display: block; height: 100%; border-radius: 4px; }
.clist__v { text-align: right; font-size: 16px; font-weight: 900; }
.clist small { text-align: right; font-weight: 800; }
@media (max-width: 700px) {
  .chart .axis { font-size: 20px; }
  .chart .lbl { font-size: 21px; }
  .chart .line { stroke-width: 4; }
  .chart .line--ref { stroke-width: 3; }
  .chart .pt { r: 7px; }
}

/* ---------- touch targets (phones) ---------- */
@media (max-width: 700px) {
  .crumbs { padding-top: 6px; gap: 0 2px; }
  .crumbs a, .crumbs span[aria-current] { display: inline-flex; align-items: center; min-height: 36px; padding: 0 4px; }
  .foot__cols a { padding: 9px 0; }
  .card--venues td a.racer { display: inline-flex; align-items: center; min-height: 40px; min-width: 64px; font-size: 16px; }
  .card--venues td a.tag { display: inline-flex; align-items: center; min-height: 32px; }
  table.card td > a:not(.racer) { display: inline-flex; align-items: center; min-height: 40px; min-width: 48px; }
  .mrow__name a { display: inline-flex; align-items: center; min-height: 34px; }
  .hero__links a { display: inline-flex; align-items: center; min-height: 40px; }
  .hero__toggle { min-height: 40px; padding: 0 10px; }
  .tl__row { height: 38px; }
  .tl__r { width: 28px; height: 28px; font-size: 12px; }
  .tl__grid { min-width: 980px; }
  .logo { min-height: 44px; }
  .chip { padding: 9px 12px; }
  .prose a, .empty a { display: inline-block; padding: 8px 0; }
}

/* ---------- FAQ, peers, page top ---------- */
.faq { margin: 0; display: grid; gap: 8px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.faq dt { font-weight: 900; font-size: 15px; display: flex; gap: 8px; align-items: baseline; }
.faq dd { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; line-height: 1.75; display: flex; gap: 8px; align-items: baseline; }
.faq__q, .faq__a { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 900; color: #fff; background: var(--brand); }
.faq__a { background: var(--red); }
.peers { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.peer { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; box-shadow: var(--shadow); min-width: 0; }
.peer b { font-size: 17px; font-weight: 900; }
.peer span { font-size: 12px; color: var(--muted); }
.peer em { font-style: normal; font-weight: 900; color: var(--ink); font-size: 14px; }
.peer__t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peer--all { justify-content: center; background: var(--brand-weak); }
.peer--all span { color: var(--brand-2); font-weight: 800; }
.aiv p a { color: var(--brand-2); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot__links a { color: #fff; font-size: 15px; font-weight: 700; padding: 6px 0; }
.pagetop { position: fixed; right: 14px; bottom: 16px; z-index: 30; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 11px; font-weight: 900; box-shadow: 0 4px 12px rgba(8, 42, 102, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.pagetop .ic { transform: rotate(180deg); width: 18px; height: 18px; }
.pagetop.is-on { opacity: 1; pointer-events: auto; }
.pagetop:hover { color: #fff; background: var(--brand-2); }
@media (max-width: 700px) { .peers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .faq dt { font-size: 14px; } }

/* ---------- service pages ---------- */
.ptable { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.ptable th, .ptable td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.ptable th { background: #eef3f9; width: 8em; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.ptable--wide th { width: auto; }
.ptable--wide tr:first-child th { background: var(--brand); color: #fff; }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dodont > div { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: #f6fbf8; }
.dodont > div + div { background: #fdf6f5; }
.dodont > div h3 { color: var(--pos); } .dodont > div + div h3 { color: var(--red); }
.dodont h3 { font-size: 15px; font-weight: 900; margin: 0 0 4px; }
.dodont ul { margin: 0; padding-left: 1.2em; }
.dodont li { font-size: 14px; margin: 4px 0; }
.note-list { font-size: 14px; color: var(--ink-2); padding-left: 1.2em; }
.notice { border-radius: 8px; padding: 12px 14px; margin: 12px 0; font-size: 14px; }
.notice p { margin: 2px 0; }
.notice--ok { background: #e7f6ee; border: 1px solid #b6e0c7; color: #0b5b31; }
.notice--err { background: #fdecec; border: 1px solid #f3c0c0; color: #8f1616; }
.form { display: grid; gap: 14px; margin-top: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 800; }
.form input, .form select, .form textarea { font: 16px/1.5 var(--font); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(30, 123, 224, .15); }
.req, .opt { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
.req { background: var(--red); color: #fff; }
.opt { background: #e6ebf1; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--submit { justify-self: start; min-height: 48px; padding: 0 32px; font: 900 16px var(--font); border: 0; border-radius: 8px; cursor: pointer; }
.report { text-align: right; margin: -4px 0 20px; font-size: 13px; }
.report a { color: var(--muted); text-decoration: underline; display: inline-block; padding: 8px 0; }
.foot__links--sub { border-top: 0; padding-top: 0; }
.foot__links--sub a { color: #c9d4e3; font-weight: 600; font-size: 14px; }
@media (max-width: 700px) {
  .dodont { grid-template-columns: 1fr; }
  .ptable th { width: 6.5em; white-space: normal; }
  .ptable th, .ptable td { padding: 8px; font-size: 13px; }
  .btn--submit { width: 100%; }
}
.form__lbl { display: flex; align-items: center; gap: 2px; }
.prose a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--brand); }

/* Bigger tap areas on the home timeline without changing the look (36px hit box around 28px dots) */
.tl__r::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.tl__name { position: relative; }
.tl__name::before { content: ""; position: absolute; inset: -7px 0; }
