/* JaviD Future Bot — design system (light, per 2026-10-19 reference).
   Tokens first; every component reads only these variables. */
:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-2: #f1f5f3;
  --mint-50: #ecfdf5;
  --mint-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --green-700: #047857;
  --green-800: #065f46;
  --green-900: #064e3b;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --faint: #94a3b8;
  --line: #e2e8f0;
  --line-2: #d7dee5;
  --warn-bg: #fffbeb;
  --warn-line: #fde68a;
  --warn-text: #92400e;
  --risk-bg: #fef2f2;
  --risk-line: #fecaca;
  --risk-text: #991b1b;
  --loss: #dc2626;
  --gain: #047857;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, .08);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans KR", "Malgun Gothic", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; letter-spacing: -0.005em; word-break: keep-all; overflow-wrap: anywhere; }
:lang(ja) body, body:lang(ja) { word-break: normal; line-break: strict; }
img { max-width: 100%; height: auto; display: block; }
svg[aria-hidden="true"] { width: 20px; height: 20px; flex: none; vertical-align: middle; }
h2 > svg[aria-hidden="true"], h3 > svg[aria-hidden="true"] { width: 22px; height: 22px; }
.go svg[aria-hidden="true"] { width: 16px; height: 16px; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
h1, h2, h3 { color: var(--navy-900); line-height: 1.25; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(30px, 5.2vw, 48px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.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; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--emerald-500); outline-offset: 2px; border-radius: 6px; }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy-900); text-decoration: none; font-size: 17px; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.hdr > .brand { min-width: 0; flex: 0 1 auto; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-tools, .menu-btn { flex: none; }
@media (max-width: 420px) { .hdr { gap: 8px; } .brand { font-size: 15px; } .lang select { max-width: 112px; padding-right: 26px; } }
.nav { display: none; margin-left: auto; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-800); background: var(--mint-50); }
.hdr-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1024px) { .nav { display: flex; } .hdr-tools { margin-left: 8px; } }
.lang { position: relative; }
.lang select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; color: var(--text-2); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; border: 1px solid var(--line-2); border-radius: 8px; padding: 7px 30px 7px 10px; cursor: pointer; min-height: 38px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--navy-900); cursor: pointer; }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.hdr-cta { display: none; }
@media (min-width: 640px) { .hdr-cta { display: inline-flex; } }
.mnav { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.mnav.open { display: block; }
.mnav a { display: block; padding: 14px var(--gutter); color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mnav a[aria-current="page"] { color: var(--green-800); background: var(--mint-50); }
@media (min-width: 1024px) { .mnav, .mnav.open { display: none; } }

/* ── buttons & chips ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border-radius: 10px; padding: 12px 18px; min-height: 46px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-outline { background: var(--surface); color: var(--green-800); border-color: var(--green-700); }
.btn-outline:hover { background: var(--mint-50); color: var(--green-900); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--navy-900); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--green-800); background: var(--mint-50); border: 1px solid var(--mint-100); padding: 5px 10px; border-radius: 999px; line-height: 1.3; }
.chip svg { width: 14px; height: 14px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; line-height: 1.4; white-space: normal; max-width: 100%; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-ok { color: var(--green-700); background: var(--mint-50); }
.b-wait { color: #92400e; background: #fef3c7; }
.b-off { color: var(--muted); background: var(--surface-2); }
.b-live { color: #0369a1; background: #e0f2fe; }

/* ── layout blocks ── */
main { display: block; }
.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-head p { color: var(--muted); max-width: 640px; margin-top: 6px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 22px; }
@media (min-width: 768px) { .card-pad { padding: 26px; } }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr; }
.g3 { grid-template-columns: 1fr; }
.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .g2 { grid-template-columns: repeat(2, minmax(0,1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0,1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.stack > * + * { margin-top: 12px; }
.page-head { padding: 44px 0 8px; }
.page-head p { color: var(--text-2); margin-top: 12px; max-width: 760px; font-size: 17px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green-700); background: var(--mint-50); border: 1px solid var(--mint-100); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.prose h2 { margin: 34px 0 10px; font-size: 22px; }
.prose h3 { margin: 22px 0 8px; }
.prose p, .prose ul, .prose ol { color: var(--text-2); margin: 0 0 12px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }

/* ── hero ── */
.hero { padding: 44px 0 36px; background: radial-gradient(1200px 400px at 85% -10%, var(--mint-50), transparent 60%), linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } .hero { padding: 64px 0 52px; } }
.hero h1 { margin-bottom: 16px; }
.hero .sub { font-size: 17.5px; color: var(--text-2); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero .ctas .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .hero .ctas .btn { flex: 0 0 auto; } }
.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero .risk { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.hero-shot { position: relative; }
.hero-shot .frame { aspect-ratio: 16 / 10; background: #0d1117; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; }
.hero-shot .frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.hero-shot .frame .ph { color: #94a3b8; font-size: 14px; padding: 20px; text-align: center; }
.hero-shot .cap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ── exchange cards ── */
.ex-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; height: 100%; }
a.ex-card.picked { border-color: var(--green-700); box-shadow: 0 0 0 2px var(--mint-100), var(--shadow-lg); }
a.ex-card:hover { border-color: var(--emerald-500); box-shadow: var(--shadow-lg); transform: translateY(-1px); color: inherit; }
.ex-card .logo { width: 104px; height: 42px; border-radius: 10px; background: #000; overflow: hidden; }
.ex-card .logo img { width: 100%; height: 100%; object-fit: contain; }
.ex-card .name { font-weight: 800; font-size: 17px; color: var(--navy-900); }
.ex-card .meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ex-card .note { font-size: 13px; color: var(--muted); }
.ex-card .go { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }

/* ── performance ── */
.perf-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.perf-what { color: var(--text-2); margin-top: 8px; max-width: 820px; }
.views { display: flex; gap: 6px; margin: 16px 0 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.seg button { font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: transparent; border: 0; border-radius: 8px; padding: 7px 14px; min-height: 36px; cursor: pointer; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface); color: var(--green-800); box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.shot { background: #0d1117; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; }
.shot img { width: 100%; height: 100%; object-fit: contain; }
.shot .ph { color: #94a3b8; font-size: 14px; padding: 24px; text-align: center; max-width: 520px; }
.shot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.stale { margin-top: 12px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-text); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; }
.metrics { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 14px; }
@media (min-width: 900px) { .metrics { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.metric { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.metric .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.metric .v { font-size: 22px; font-weight: 800; color: var(--navy-900); margin-top: 4px; font-variant-numeric: tabular-nums; }
.metric .v.gain { color: var(--gain); }
.metric .v.loss { color: var(--loss); }
.metric .v small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.scope { margin-top: 12px; font-size: 13.5px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.scope p + p { margin-top: 6px; }
.chart-card { margin-top: 16px; }
.chart-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 8px; }
.chart { width: 100%; height: 260px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .axis { fill: var(--faint); font-size: 11px; }
.chart .grid-line { stroke: var(--line); stroke-width: 1; }
.chart-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.tbl th { font-size: 12.5px; color: var(--muted); font-weight: 700; background: var(--surface-2); }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.gain { color: var(--gain); } .tbl td.loss { color: var(--loss); }

/* ── features ── */
.feat { padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.feat .ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--mint-50); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.feat .ico svg { width: 20px; height: 20px; }
.feat h3 { font-size: 16px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.feat p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.feat.dim .ico { background: var(--surface-2); color: var(--muted); }

/* ── ways ── */
.way { padding: 24px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.way h3 { display: flex; gap: 10px; align-items: center; font-size: 19px; }
.way ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.way li { display: flex; gap: 8px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.way li svg { flex: none; width: 18px; height: 18px; color: var(--emerald-600); margin-top: 3px; }
.way .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.way .state { font-size: 14px; color: var(--warn-text); background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-sm); padding: 10px 12px; }

/* ── risk ── */
.riskbox { background: var(--risk-bg); border: 1px solid var(--risk-line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 10px; }
.riskbox h2, .riskbox h3 { color: var(--risk-text); font-size: 18px; display: flex; align-items: center; gap: 8px; }
.riskbox p { color: #7f1d1d; font-size: 15px; }
.riskbox a { color: var(--risk-text); font-weight: 700; }
.note-box { background: var(--mint-50); border: 1px solid var(--mint-100); border-radius: var(--radius); padding: 18px 20px; }
.note-box h3 { font-size: 16px; color: var(--green-900); display: flex; gap: 8px; align-items: center; }
.note-box p { color: var(--green-900); font-size: 14.5px; margin-top: 6px; }
.warn-box { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 18px 20px; color: var(--warn-text); }

/* ── final cta ── */
.final { background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #ecfdf5; border-radius: 20px; padding: 32px 24px; display: grid; gap: 18px; align-items: center; }
.final h2 { color: #fff; }
.final p { color: #d1fae5; margin-top: 8px; }
.final .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.final .btn-primary { background: #fff; color: var(--green-900); }
.final .btn-primary:hover { background: var(--mint-50); color: var(--green-900); }
.final .btn-ghost { color: #ecfdf5; border-color: rgba(236,253,245,.45); }
.final .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
@media (min-width: 900px) { .final { grid-template-columns: 1fr auto; padding: 36px 40px; } }

/* ── download page ── */
.steps { display: grid; gap: 12px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.step { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; }
.step .n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green-800); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step b { display: block; color: var(--navy-900); }
.step span { font-size: 14px; color: var(--muted); }
.ex-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
@media (min-width: 640px) { .ex-tabs { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.ex-tab { display: flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; color: var(--text-2); background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; min-height: 52px; cursor: pointer; text-decoration: none; }
.ex-tab img { width: 64px; height: 26px; object-fit: contain; background: #000; border-radius: 6px; flex: none; }
.ex-tab { min-width: 0; flex-wrap: wrap; row-gap: 6px; }
.ex-card { min-width: 0; }
.ex-tab[aria-selected="true"] { border-color: var(--green-700); background: var(--mint-50); color: var(--green-900); box-shadow: inset 0 0 0 1px var(--green-700); }
.ex-tab .st { margin-left: auto; }
.panel[hidden] { display: none; }
.dl-box { display: grid; gap: 18px; }
@media (min-width: 900px) { .dl-box { grid-template-columns: 1.2fr .8fr; } }
.dl-btns { display: grid; gap: 10px; }
@media (min-width: 520px) { .dl-btns { grid-template-columns: 1fr 1fr; } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--navy-900); font-weight: 600; }
.hash { font-family: var(--mono); font-size: 12px; word-break: break-all; color: var(--text-2); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 4px; font-weight: 700; color: var(--navy-900); display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--green-700); font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq .ans { padding: 0 4px 16px; color: var(--text-2); }
.install-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .install-grid { grid-template-columns: 1fr 1fr; } }
.mock { border: 1px solid var(--line-2); border-radius: 10px; padding: 14px; background: var(--surface-2); font-size: 14px; }
.mock .t { font-weight: 800; color: var(--navy-900); margin-bottom: 6px; }
.mock .bts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.mock .bt { font-size: 13px; border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 10px; background: #fff; }
.mock .bt.on { border-color: var(--green-700); color: var(--green-800); font-weight: 700; box-shadow: 0 0 0 2px var(--mint-100); }

/* ── guide ── */
.gstep { display: grid; gap: 16px; padding: 22px; }
@media (min-width: 960px) { .gstep { grid-template-columns: 340px 1fr; align-items: start; } }
.gstep .num { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--green-800); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-right: 10px; flex: none; }
.gstep h2 { font-size: 19px; display: flex; align-items: center; }
.gstep p { color: var(--text-2); margin-top: 10px; font-size: 15px; }
.gstep figure { margin: 0; }
.gstep figure img { border-radius: 10px; border: 1px solid var(--line-2); background: #0d1117; }
.gstep figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* ── board ── */
.form { display: grid; gap: 12px; }
.form label { font-size: 14px; font-weight: 600; color: var(--text-2); display: grid; gap: 6px; }
.form input[type=text], .form input[type=password], .form textarea { font: inherit; font-size: 15px; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--text); width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.form .check { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.post { padding: 16px 18px; }
.post .hd { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.post .hd b { color: var(--navy-900); }
.post .body { margin-top: 8px; white-space: pre-wrap; color: var(--text-2); }
.post .reply { margin-top: 10px; background: var(--mint-50); border: 1px solid var(--mint-100); border-radius: 10px; padding: 10px 12px; white-space: pre-wrap; font-size: 14.5px; color: var(--green-900); }
.msg { font-size: 14px; margin-top: 6px; }

/* ── footer ── */
.site-footer { margin-top: 56px; background: var(--navy-900); color: #cbd5e1; padding: 44px 0 28px; font-size: 14px; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.ft-grid { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .ft-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.ft-about { grid-column: 1 / -1; }
@media (min-width: 900px) { .ft-about { grid-column: auto; } }
.ft-about .brand { color: #fff; }
.ft-about p { margin-top: 10px; color: #94a3b8; max-width: 360px; }
.site-footer h3 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-risk { margin-top: 30px; padding-top: 18px; border-top: 1px solid #1e293b; color: #94a3b8; font-size: 13px; display: grid; gap: 6px; }
.ft-risk b { color: #fecaca; font-weight: 700; }

/* ── misc ── */
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.list-check li { display: flex; gap: 8px; align-items: flex-start; color: var(--text-2); }
.list-check li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") no-repeat center / 12px; }
ol.rules { padding-left: 1.3em; margin: 0; display: grid; gap: 8px; color: var(--text-2); }
.empty { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 26px 22px; text-align: center; color: var(--text-2); background: var(--surface); }
.empty b { display: block; font-size: 17px; color: var(--navy-900); margin-bottom: 6px; }
.ext::after { content: " ↗"; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
