/* GHPunter — styles */
:root {
  --night: #06170f;
  --pitch: #0f3d2a;
  --pitch-2: #175338;
  --ink: #16261d;
  --muted: #55665b;
  --paper: #f1f4ef;
  --card: #ffffff;
  --rule: #c9d5cc;
  --rule-soft: #e1e8e2;
  --right: #11804a;
  --right-bg: #def2e5;
  --wrong: #c8102e;
  --wrong-bg: #fbe3e6;
  --void: #6d7871;
  --void-bg: #e9ece9;
  --gold: #f2b300;
  --gold-soft: #fff1c2;
  --on-dark: #e3eee7;
  --on-dark-muted: #b4c9bb;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cond: "IBM Plex Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--night); }
body { margin: 0; color: var(--ink); font: 400 16px/1.6 var(--body); background: transparent; min-height: 100vh; }
/* the stadium behind everything */
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: var(--night) url("img/stadium.jpg") center 32% / cover no-repeat; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 14, 9, .38) 0, rgba(3, 14, 9, .52) 34vh, rgba(3, 14, 9, .84) 100%); }
body.gated { overflow: hidden; }
a { color: var(--pitch-2); text-underline-offset: 2px; }
a:hover { color: var(--pitch); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- masthead ---------- */
.masthead { position: relative; z-index: 6; background: linear-gradient(180deg, rgba(3, 14, 9, .92), rgba(3, 14, 9, .62)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 6px 18px; min-height: 64px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.brand:hover { color: #fff; }
.ball { width: 30px; height: 30px; flex: none; }
.brand-name { font: 800 32px/1 var(--display); letter-spacing: .02em; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--on-dark); text-decoration: none; padding: 10px 10px; font-weight: 600; font-size: 15px; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.flagline { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 4px; }
.flagline span:nth-child(1) { background: var(--wrong); }
.flagline span:nth-child(2) { background: var(--gold); }
.flagline span:nth-child(3) { background: #1d9a5a; }
.preview-bar { background: var(--gold-soft); border-bottom: 1px solid #e8d48e; font-size: 14px; position: relative; z-index: 5; }
.preview-bar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }

main.wrap { padding: 10px 18px 48px; min-height: 70vh; }
main:focus { outline: none; }
.hero-loading { color: var(--on-dark-muted); padding: 40px 0; }

/* ---------- hero (on the picture) ---------- */
.hero { color: #fff; padding: 26px 0 22px; }
.hero .page-title { color: #fff; text-shadow: 0 3px 26px rgba(0, 0, 0, .55); }
.hero .lede, .hero .post-meta, .hero .updated { color: var(--on-dark); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero .post-sub { color: var(--gold); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero .lede { margin-bottom: 18px; }
.comp-chip { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 3px 10px; border-radius: 999px; background: rgba(242, 179, 0, .16); border: 1px solid rgba(242, 179, 0, .5); color: var(--gold); font-weight: 600; font-size: 14px; }
.chip-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.chip-link:hover { color: var(--gold); }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.admin-head .lede { margin: 0; }
.btn.on-dark { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .2); }
.btn.on-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- sheet (readable content) ---------- */
.sheet { background: var(--paper); border-radius: 16px; padding: 24px 28px 36px; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
.sheet > :first-child { margin-top: 0; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--pitch); background: var(--pitch); color: #fff;
  padding: 10px 18px; border-radius: var(--radius); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; min-height: 44px; }
.btn:hover { background: var(--pitch-2); color: #fff; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: transparent; color: var(--pitch); border-color: #9fb5a7; }
.btn.ghost:hover { background: #e3ebe5; color: var(--pitch); }
.btn.small { min-height: 34px; padding: 5px 12px; font-size: 14px; }
.btn.danger { background: transparent; color: var(--wrong); border-color: #e4a8b1; }
.btn.danger:hover { background: var(--wrong-bg); }
.btn.danger.armed { background: var(--wrong); color: #fff; border-color: var(--wrong); }
.btn.social { background: #fff; color: var(--ink); border-color: #9fb3a6; min-width: 200px; }
.btn.social:hover { background: #f3f6f4; color: var(--ink); }
.btn.s-x { background: #111; color: #fff; border-color: #111; }
.btn.s-x:hover { background: #2a2a2a; color: #fff; }
.btn.s-facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.btn.s-facebook:hover { background: #0f63d1; color: #fff; }
.linkish { background: none; border: 0; padding: 4px 0; color: var(--pitch-2); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; font-size: 14px; }
.or { color: var(--muted); font-size: 14px; }
.field { display: block; margin: 0 0 16px; }
.field > span { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea, select {
  width: 100%; border: 1px solid #9fb3a6; background: #fff; border-radius: var(--radius); padding: 10px 12px; font-size: 16px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--pitch-2); outline: 3px solid rgba(242, 179, 0, .55); outline-offset: 0; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--wrong); font-weight: 600; font-size: 14px; margin: 8px 0 0; }
.notice { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 6px 0; }

/* ---------- headings / states ---------- */
.page-title { font: 800 clamp(36px, 6.4vw, 62px)/0.96 var(--display); margin: 0 0 10px; letter-spacing: .005em; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 62ch; }
.lede.dark { color: var(--muted); font-size: 16px; }
.state { padding: 20px 0; color: var(--muted); margin: 0; }
.narrow { max-width: 680px; }
.panel-title { font: 700 26px/1.1 var(--display); margin: 26px 0 12px; }
.post-sub { font-size: 19px; margin: 0; font-weight: 600; color: var(--pitch-2); }
.post-meta { font-size: 14px; color: var(--muted); margin: 4px 0 0; }

/* ---------- the scoreboard ---------- */
.board { position: relative; margin: 18px 0 0; padding: 18px 18px 16px; border-radius: 12px; color: #fff; overflow: hidden;
  background: rgba(7, 34, 23, .82); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.board::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 240' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='6' y='6' width='388' height='228'/%3E%3Cline x1='200' y1='6' x2='200' y2='234'/%3E%3Ccircle cx='200' cy='120' r='38'/%3E%3Crect x='6' y='66' width='52' height='108'/%3E%3Crect x='342' y='66' width='52' height='108'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.board > * { position: relative; }
.board-top { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.board h2 { font: 700 24px/1.1 var(--display); margin: 0; letter-spacing: .01em; }
.board-note { font-size: 13px; color: var(--on-dark-muted); margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tile { background: rgba(3, 18, 11, .7); border-radius: 6px; padding: 10px 12px; border-top: 4px solid var(--void); }
.tile b { display: block; font: 800 clamp(40px, 9vw, 64px)/.9 var(--display); font-variant-numeric: tabular-nums; }
.tile span { display: block; font-size: 14px; color: #cfe0d5; margin-top: 4px; }
.tile.t-right { border-top-color: #2fbf71; }
.tile.t-wrong { border-top-color: #ff5a6e; }
.tile.t-void { border-top-color: #a9b4ad; }
.tile.t-pend { border-top-color: var(--gold); }
.bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(3, 18, 11, .8); margin: 14px 0 10px; }
.bar i { display: block; height: 100%; width: var(--w); transform-origin: left; animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; }
.bar .b-right { background: #2fbf71; }
.bar .b-wrong { background: #ff5a6e; }
.bar .b-void { background: #a9b4ad; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rate { margin: 0; font-size: 15px; color: var(--on-dark); }
.rate b { font: 800 26px/1 var(--display); color: #fff; margin-right: 4px; }
.markets { margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 10px; }
.markets summary { cursor: pointer; font-weight: 600; font-size: 14px; color: #fff; }
.markets table { width: 100%; border-collapse: collapse; margin-top: 8px; font: 400 14px/1.4 var(--cond); font-variant-numeric: tabular-nums; }
.markets th, .markets td { text-align: right; padding: 5px 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.markets th:first-child, .markets td:first-child { text-align: left; }
.markets th { color: var(--on-dark-muted); font-weight: 600; }

/* ---------- jump bar, day picker, filters ---------- */
.jump { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--rule); margin: -24px -28px 8px; padding: 10px 28px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; border-radius: 16px 16px 0 0; }
.jump button, .filters button { flex: none; border: 1px solid var(--rule); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); white-space: nowrap; }
.jump button:hover, .filters button:hover { border-color: var(--pitch-2); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.filters button[aria-pressed="true"] { background: var(--pitch); color: #fff; border-color: var(--pitch); }
.pick-help { margin: 0 0 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 0 12px; scrollbar-width: thin; }
.days button { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 104px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--rule); background: #fff; cursor: pointer; text-align: left; }
.days button:hover { border-color: var(--pitch-2); }
.days .d-name { font: 700 19px/1.1 var(--display); color: var(--ink); }
.days .d-count { font-size: 12px; color: var(--muted); }
.days button.today { border-color: var(--gold); }
.days button.empty .d-name { color: #8a978f; }
.days button[aria-pressed="true"] { background: var(--pitch); border-color: var(--pitch); }
.days button[aria-pressed="true"] .d-name { color: #fff; }
.days button[aria-pressed="true"] .d-count { color: #cfe0d5; }
.days button.quick { border-style: dashed; }

/* ---------- post and prediction content ---------- */
.post-body { max-width: 100%; }
.post-body > p, .post-body > ul, .post-body > ol, .post-body > blockquote, .post-body > h3, .post-body > h4 { max-width: 72ch; }
.post-body h2 { font: 800 32px/1.05 var(--display); margin: 40px 0 10px; padding-top: 14px; border-top: 3px solid var(--ink); scroll-margin-top: 64px; }
.post-body > h2:first-child { margin-top: 8px; }
.post-body h3 { font: 600 18px/1.3 var(--body); margin: 26px 0 8px; }
.post-body li { margin: 0 0 8px; }
.table-wrap { overflow-x: auto; margin: 10px 0 18px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.post-body table, .editor table { border-collapse: collapse; width: 100%; font: 400 14px/1.35 var(--cond); font-variant-numeric: tabular-nums; }
.post-body th, .post-body td, .editor th, .editor td { padding: 7px 9px; border-bottom: 1px solid var(--rule-soft); border-right: 1px solid var(--rule-soft); text-align: left; vertical-align: top; }
.post-body th, .editor th { background: #e6eee8; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--rule); }
.post-body tr:last-child td { border-bottom: 0; }
.post-body td:last-child, .post-body th:last-child { border-right: 0; }
.post-body td p, .post-body th p, .editor td p, .editor th p { margin: 0; }
.fx-table td.pick { white-space: nowrap; }
.fx-table td.fx { min-width: 12.5em; position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--rule); }
.fx-table tr.row-void td.fx { background: var(--void-bg); }
.fx-table td:has(> .conf) { white-space: nowrap; }
.info-cell { width: 1%; white-space: nowrap; }
.info-btn { font-size: 13px; }
tr.info-row td { background: #f7faf7; padding: 12px 14px 14px; white-space: normal; }
tr.info-row td > .info { position: sticky; left: 14px; max-width: min(80ch, calc(100vw - 84px)); }
.info { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font: 400 14px/1.45 var(--body); max-width: 80ch; }
.info dt { font-weight: 600; color: var(--ink); }
.info dd { margin: 0; color: #2b3a31; }
.info.status { margin: 6px 0 16px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; }

.conf { display: inline-block; padding: 1px 7px; border-radius: 4px; font-weight: 600; white-space: nowrap; }
.conf.high { background: #d6efdf; color: #0c5e36; }
.conf.medium { background: var(--gold-soft); color: #6b4e00; }
.conf.low { background: #eceeec; color: #4c5750; }
.volatile { display: inline-block; margin-left: 4px; font-size: 12px; color: #8a5a00; }

/* grading marks */
td.g-win { background: var(--right-bg); }
td.g-loss { background: var(--wrong-bg); }
td.g-void { background: var(--void-bg); color: var(--void); }
td.g-live-win { background: linear-gradient(90deg, rgba(17, 128, 74, .14), rgba(17, 128, 74, .04)); }
td.g-live-loss { background: linear-gradient(90deg, rgba(200, 16, 46, .12), rgba(200, 16, 46, .03)); }
.gmark { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; font: 700 12px/1 var(--body); color: #fff; margin-left: 6px; vertical-align: -3px; }
.gmark.win { background: var(--right); }
.gmark.loss { background: var(--wrong); }
.gmark.void { background: var(--void); width: auto; padding: 0 6px; border-radius: 4px; font-size: 11px; }
.gmark.live { width: 10px; height: 10px; vertical-align: 0; background: transparent; border: 2px solid currentColor; }
.gmark.live.win { color: var(--right); }
.gmark.live.loss { color: var(--wrong); }
.ft { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--ink); color: #fff; font: 600 13px/1.5 var(--cond); white-space: nowrap; }
.ft.void { background: var(--void); }
.ft.live { background: var(--wrong); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
tr.row-void td { color: var(--void); }
.line-mark { margin-left: 6px; }
.tally { font-size: 14px; margin: 6px 0 -4px; color: var(--muted); }
.tally b { font-weight: 600; }
.c-right { color: var(--right); }
.c-wrong { color: var(--wrong); }
.post-notice { margin: 32px 0 0; padding: 14px 16px; background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--gold); border-radius: var(--radius); font-size: 14px; max-width: 72ch; }
.post-notice p { margin: 0; }

/* ---------- discussion ---------- */
.discussion { margin-top: 44px; max-width: 780px; }
.discussion > h2 { font: 800 34px/1 var(--display); margin: 0 0 4px; }
.discussion .count { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.comment-box { margin-bottom: 22px; }
.signin, .comment-form { background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 18px; }
.signin-title { font: 700 22px/1.15 var(--display); margin: 0 0 4px; }
.signin-sub { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.signin-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.comment-form .as { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-size: 15px; }
.comment-form .actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.comments { list-style: none; margin: 0; padding: 0; }
.comment { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); }
.c-main { flex: 1; min-width: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar.initial { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 16px; }
.comment .who { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.comment .name { font-weight: 600; }
.comment .when { color: var(--muted); font-size: 13px; }
.comment .text { margin: 4px 0 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment .tools { display: flex; gap: 14px; align-items: center; }
.replies { list-style: none; margin: 6px 0 0; padding: 0 0 0 12px; border-left: 3px solid var(--rule); }
.replies .comment { border-top: 0; padding: 8px 0; }
.replies .avatar { width: 28px; height: 28px; font-size: 13px; }
.badge { display: inline-block; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; padding: 0 7px; border-radius: 4px; }
.reply-box { margin-top: 10px; }

/* ---------- archive ---------- */
.archive { list-style: none; margin: 0; padding: 0; max-width: 780px; }
.archive li { border-top: 1px solid var(--rule); }
.archive a { display: block; padding: 16px 0; text-decoration: none; color: var(--ink); }
.archive a:hover .a-title { text-decoration: underline; }
.a-comp { display: block; font-size: 13px; font-weight: 600; color: var(--pitch-2); }
.a-title { font: 700 26px/1.1 var(--display); display: block; }
.a-sub { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.comp-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- legal ---------- */
.legal { max-width: 72ch; }
.legal h2 { font: 700 24px/1.15 var(--display); margin: 30px 0 6px; }
.legal p, .legal li { font-size: 16px; }
.updated { color: var(--muted); font-size: 14px; }

/* ---------- entry agreement ---------- */
.gate { position: fixed; inset: 0; background: rgba(3, 14, 9, .78); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 14px; }
.gate-card { background: #fff; border-radius: 14px; max-width: 680px; width: 100%; max-height: calc(100vh - 28px); display: flex; flex-direction: column; padding: 22px 22px 18px; border-top: 6px solid var(--gold); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.gate-card h2 { font: 800 32px/1 var(--display); margin: 0 0 8px; }
.gate-lede { margin: 0 0 12px; font-size: 15px; }
.gate-terms { flex: 1 1 auto; min-height: 120px; overflow-y: auto; border: 1px solid var(--rule); border-radius: 8px; background: #f7f9f6; padding: 4px 16px 12px; font-size: 14px; }
.gate-terms h2 { font: 700 19px/1.2 var(--display); margin: 18px 0 4px; }
.gate-terms p { font-size: 14px; margin: 6px 0; }
.gate-terms .updated { font-size: 13px; }
.gate-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; font-size: 15px; cursor: pointer; }
.gate-check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--pitch); }
.gate-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- footer ---------- */
.foot { background: rgba(3, 14, 9, .9); border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: var(--on-dark-muted); }
.foot .wrap { padding-top: 20px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.foot p { margin: 0; max-width: 68ch; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--on-dark); }
.foot a:hover { color: #fff; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 15px; z-index: 120; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); max-width: calc(100vw - 32px); }

/* ---------- admin ---------- */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--rule); margin: 0 0 20px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 10px 14px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--muted); white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--pitch); }
.tabs .pill { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--wrong); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-top: 1px solid var(--rule); padding: 14px 0; }
.list .row-main { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.list .t { font-weight: 600; }
.list .sub { color: var(--muted); font-size: 14px; }
.list .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 4px; background: var(--rule-soft); color: var(--muted); margin-left: 6px; vertical-align: 2px; }
.chip.live { background: #d6efdf; color: #0c5e36; }
.msg { cursor: pointer; }
.msg.unread .t::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--wrong); margin-right: 8px; vertical-align: 1px; }
.msg .snippet { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.msg-body { margin-top: 10px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px; cursor: auto; }
.msg-body .text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 12px; }
.msg-body .contact { font-size: 14px; margin: 0 0 12px; }
.editor-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.editor { background: #fff; border: 1px solid #9fb3a6; border-radius: var(--radius); min-height: 320px; max-height: 65vh; overflow: auto; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.editor:focus { outline: 3px solid rgba(242, 179, 0, .55); }
.editor:empty::before { content: attr(data-placeholder); color: #8a978f; }
.editor h2 { font: 800 26px/1.1 var(--display); margin: 22px 0 6px; }
.editor h3 { font-size: 17px; margin: 16px 0 6px; }
.editor table { margin: 8px 0 14px; border: 1px solid var(--rule); }
.detect { font-size: 14px; color: var(--muted); margin: 8px 0 16px; }
.detect b { color: var(--ink); }
.check-list { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.check-list th, .check-list td { text-align: left; padding: 7px 9px; border-bottom: 1px solid var(--rule-soft); }
.check-list th { background: #e6eee8; }
.check-list .sec td { background: #f4f7f4; font-weight: 700; }
.missing { color: var(--wrong); font-weight: 600; }

@media (max-width: 720px) {
  main.wrap { padding-top: 4px; }
  .brand-name { font-size: 26px; }
  .ball { width: 26px; height: 26px; }
  .mast-inner { min-height: 0; }
  .nav { width: 100%; margin: 0 -10px; }
  .hero { padding: 18px 0 18px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet { margin: 0 -18px; border-radius: 16px 16px 0 0; padding: 18px 18px 30px; }
  .jump { margin: -18px -18px 8px; padding: 10px 18px; }
  .post-body h2 { font-size: 28px; }
  .info { grid-template-columns: 1fr; gap: 2px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -18px; margin-right: -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .gate-terms h2 { font-size: 17px; }
  .info dd { margin-bottom: 8px; }
  .gate-card { padding: 18px 16px 14px; }
  .gate-card h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .bar i, .pulse { animation: none; }
}
