/* Ballyvale Rovers FC — demo theme (royal blue, yellow, pitch green) */
@font-face { font-family: "Big Shoulders"; font-weight: 100 900; font-display: swap; src: url("../fonts/bigshoulders.woff2") format("woff2-variations"), url("../fonts/bigshoulders.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --blue: #0b3d91;
  --blue-2: #0f4fb8;
  --navy: #061f4d;
  --yellow: #ffd400;
  --yellow-2: #ffe14d;
  --pitch: #1f7a3a;
  --pitch-2: #23893f;
  --paper: #f3f6fb;
  --card: #fff;
  --ink: #0d1626;
  --muted: #5b6678;
  --line: #dce3ee;
  --W: #16a34a; --D: #9ca3af; --L: #dc2626;
  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95; letter-spacing: .01em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 6px; border: 2px solid transparent; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 1.05rem; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover:not(:disabled) { background: var(--yellow-2); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost:hover:not(:disabled) { border-color: #fff; }
.btn-block { width: 100%; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 0 var(--yellow); }
.top-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; font-size: 1.05rem; letter-spacing: .03em; }
.logo svg { width: 40px; height: 45px; }
.logo b { color: var(--yellow); font-weight: 900; font-size: 1.2rem; }
.top-nav { display: flex; gap: 2px; margin-left: auto; }
.top-nav a { color: #c9d6ee; text-decoration: none; padding: 8px 11px; font-weight: 600; font-size: .95rem; border-radius: 4px; }
.top-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 900px) { .top-nav { display: none; } .top-inner > .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 72px);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 60px, transparent 60px 120px),
    radial-gradient(ellipse 60% 70% at 50% 0%, var(--blue-2), transparent 70%),
    var(--blue); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(255,255,255,.1); }
.kicker { text-align: center; font-family: var(--display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); font-size: 1.05rem; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(12px, 4vw, 48px); margin-top: 22px; }
.team { display: grid; justify-items: center; gap: 10px; text-align: center; }
.team svg { width: clamp(64px, 12vw, 120px); height: clamp(72px, 13.5vw, 135px); filter: drop-shadow(0 12px 20px rgba(0,0,0,.35)); }
.team b { font-family: var(--display); font-size: clamp(1.2rem, .9rem + 1.4vw, 2rem); font-weight: 900; text-transform: uppercase; line-height: 1; }
.countdown { display: grid; justify-items: center; gap: 10px; }
.cd-label { color: #c9d6ee; font-weight: 600; font-size: .95rem; }
.cd { display: flex; gap: 8px; }
.cd span { display: grid; justify-items: center; min-width: 62px; padding: 10px 6px 8px; border-radius: 8px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12); }
.cd b { font-family: var(--display); font-weight: 900; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd i { font-style: normal; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #a9bbdf; }
@media (max-width: 640px) {
  .vs { grid-template-columns: 1fr 1fr; }
  .countdown { grid-column: 1 / -1; grid-row: 2; }
  .cd span { min-width: 54px; } .cd b { font-size: 1.9rem; }
}

.predict { margin: 34px auto 0; max-width: 640px; padding: 18px 20px; border-radius: 12px; background: rgba(6, 31, 77, .55); border: 1px solid rgba(255,255,255,.12); display: grid; gap: 12px; justify-items: center; text-align: center; }
.predict-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 1.15rem; }
.predict-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.pstep { display: flex; align-items: center; gap: 6px; }
.pstep button { width: 38px; height: 38px; border-radius: 6px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.pstep button:hover { border-color: var(--yellow); }
.pstep output { min-width: 36px; font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.dash { font-family: var(--display); font-size: 2rem; color: #a9bbdf; }
.predict-result { width: 100%; display: grid; gap: 8px; animation: pop .3s ease both; }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
.predict-result p { font-weight: 600; }
.poll { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.15); }
.poll span { display: block; height: 100%; transition: width .6s ease; }
.poll-h { background: var(--yellow); } .poll-d { background: #a9bbdf; } .poll-a { background: #ef4444; }
.poll-key { display: flex; justify-content: space-between; font-size: .8rem; color: #c9d6ee; }

/* Sections */
.sec-head { display: grid; gap: 8px; margin-bottom: 24px; }
.sec-head.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 14px; }
.sec-head h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); color: var(--blue); }
.sec-head p { color: var(--muted); }

/* Match centre */
.match { position: relative; padding-block: clamp(48px, 7vw, 88px); }
.mc { background: var(--navy); color: #fff; border-radius: 16px; padding: clamp(18px, 3vw, 30px); display: grid; gap: 22px; box-shadow: 0 30px 60px -36px rgba(6, 31, 77, .8); }
.mc-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.mc-team { display: grid; justify-items: center; gap: 6px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; }
.mc-team svg { width: 54px; height: 61px; }
.mc-score { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 10px; justify-items: center; }
.mc-score b { font-family: var(--display); font-weight: 900; font-size: clamp(3rem, 2rem + 4vw, 4.6rem); line-height: 1; font-variant-numeric: tabular-nums; min-width: 1ch; text-align: center; }
.mc-score b.flash { animation: flash .8s ease; }
@keyframes flash { 0% { color: var(--yellow); transform: scale(1.35); } 100% { color: #fff; transform: none; } }
.mc-score i { font-style: normal; font-size: 2rem; color: #6f86b5; }
.mc-min { grid-column: 1 / -1; font-weight: 700; font-size: .9rem; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #c9d6ee; font-variant-numeric: tabular-nums; }
.mc-min.live { background: #dc2626; color: #fff; }
.mc-min.live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #fff; vertical-align: middle; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.mc-stats { display: grid; gap: 12px; }
.stat { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat > span:last-of-type { text-align: right; }
.stat small { grid-column: 1 / -1; grid-row: 1; text-align: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #a9bbdf; font-weight: 600; margin-bottom: -6px; }
.bar { height: 8px; border-radius: 4px; background: #ef4444; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v); background: var(--yellow); transition: width .5s ease; }
.mc-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.feed { list-style: none; display: grid; gap: 8px; max-height: 280px; overflow-y: auto; padding-right: 4px; }
.feed li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.05); animation: feedIn .35s ease both; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-6px); } }
.feed li b { font-family: var(--display); font-weight: 800; color: var(--yellow); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.feed li.goal { background: rgba(255, 212, 0, .14); border-left: 3px solid var(--yellow); }
.feed li.card-y span::before { content: ""; display: inline-block; width: 10px; height: 14px; margin-right: 8px; border-radius: 2px; background: var(--yellow); vertical-align: -2px; }
.feed .feed-empty { display: block; color: #a9bbdf; background: transparent; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall 1.6s cubic-bezier(.3,.6,.5,1) forwards; }
@keyframes fall { to { transform: translate3d(var(--x), 105vh, 0) rotate(var(--r)); } }

/* Fixtures */
.fixtures { padding-block: clamp(48px, 7vw, 88px); background: var(--card); }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.tabs button { min-height: 40px; padding: 6px 16px; border: 0; border-radius: 6px; background: transparent; font-family: var(--display); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.form-guide { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.form-guide span { font-weight: 700; color: var(--muted); margin-right: 6px; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.form-guide b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; color: #fff; font-size: .85rem; }
.form-guide .W { background: var(--W); } .form-guide .D { background: var(--D); } .form-guide .L { background: var(--L); }
.fx-list { list-style: none; display: grid; gap: 10px; }
.fx { display: grid; grid-template-columns: 110px 1fr auto 1fr 90px; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); animation: feedIn .3s ease both; }
.fx-date { font-weight: 700; font-size: .9rem; color: var(--muted); line-height: 1.25; }
.fx-date small { display: block; font-weight: 500; }
.fx-home, .fx-away { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1; }
.fx-home { text-align: right; }
.fx-mid { min-width: 74px; text-align: center; font-family: var(--display); font-weight: 900; font-size: 1.6rem; padding: 4px 10px; border-radius: 6px; background: var(--navy); color: #fff; font-variant-numeric: tabular-nums; }
.fx-mid.time { font-size: 1.1rem; background: var(--blue); }
.fx-comp { justify-self: end; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; text-align: right; }
.fx-res { justify-self: end; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 4px; color: #fff; font-weight: 800; font-size: .85rem; }
.fx-res.W { background: var(--W); } .fx-res.D { background: var(--D); } .fx-res.L { background: var(--L); }
.us { color: var(--blue); }
@media (max-width: 700px) {
  .fx { grid-template-columns: 1fr auto 1fr; row-gap: 6px; }
  .fx-date { grid-column: 1 / -1; display: flex; gap: 8px; font-size: .85rem; }
  .fx-date small { display: inline; }
  .fx-comp, .fx-res { grid-column: 1 / -1; justify-self: center; }
  .fx-home, .fx-away { font-size: 1.1rem; }
}

/* Table */
.table-sec { padding-block: clamp(48px, 7vw, 88px); }
.tb-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.tb { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.tb th, .tb td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.tb thead th { background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; padding: 0; }
.tb thead th.pos, .tb thead th.club { padding: 12px 10px; }
.tb thead button { width: 100%; padding: 12px 10px; background: transparent; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.tb thead button:hover { color: var(--yellow); }
.tb thead button.on { color: var(--yellow); box-shadow: inset 0 -3px 0 var(--yellow); }
.tb .club { text-align: left; }
.tb td.club { font-weight: 700; }
.tb td.pts { font-weight: 800; }
.tb tr.us-row td { background: #fff8d1; }
.tb tr.us-row td.club { color: var(--blue); }
.tb tbody tr { transition: transform .3s ease; }
.tb tbody tr:nth-child(-n+2) td.pos { box-shadow: inset 3px 0 0 var(--W); }
.tb tbody tr:nth-last-child(-n+2) td.pos { box-shadow: inset 3px 0 0 var(--L); }

/* Penalty game */
.pens { padding-block: clamp(48px, 7vw, 88px); background: var(--navy); color: #fff; }
.pens h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); color: var(--yellow); }
.pens-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.pens-copy { display: grid; gap: 16px; }
.pens-copy > p { color: #c9d6ee; }
.pens-score { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pens-score div { padding: 12px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; }
.pens-score span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #a9bbdf; font-weight: 600; }
.pens-score b { font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pens-dots { display: flex; gap: 8px; }
.pens-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); transition: background-color .2s ease, border-color .2s ease; }
.pens-dots i.hit { background: var(--W); border-color: var(--W); }
.pens-dots i.miss { background: var(--L); border-color: var(--L); }
.pens-msg { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; min-height: 1.6em; }

.pitch { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px; overflow: hidden;
  background: repeating-linear-gradient(180deg, var(--pitch) 0 44px, var(--pitch-2) 44px 88px); box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); touch-action: manipulation; }
.pen-goal { position: absolute; left: 12%; right: 12%; top: 10%; height: 46%; border: 6px solid #fff; border-bottom: 0; border-radius: 4px 4px 0 0; }
.net { position: absolute; inset: 0; background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 14px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 14px), rgba(0,0,0,.18); }
.zones { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); z-index: 3; }
.zones button { border: 0; background: transparent; cursor: crosshair; transition: background-color .15s ease; }
.zones button:hover:not(:disabled), .zones button:focus-visible { background: rgba(255, 212, 0, .22); }
.zones button:disabled { cursor: default; }
.keeper { position: absolute; z-index: 2; left: 50%; bottom: 0; width: 22%; height: 78%; transform: translateX(-50%); transition: transform .38s cubic-bezier(.2,.8,.3,1); transform-origin: 50% 100%; }
.k-head { position: absolute; left: 50%; top: 0; width: 34%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #f1c27d; }
.k-body { position: absolute; left: 22%; right: 22%; top: 24%; bottom: 0; border-radius: 10px 10px 4px 4px; background: #111827; box-shadow: inset 0 -30% 0 #374151; }
.k-arm { position: absolute; top: 28%; width: 18%; height: 46%; border-radius: 8px; background: #111827; }
.k-arm.l { left: 4%; transform: rotate(18deg); } .k-arm.r { right: 4%; transform: rotate(-18deg); }
.k-arm::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -8%; height: 26%; border-radius: 50%; background: #84cc16; }
.spot { position: absolute; left: 50%; bottom: 14%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; opacity: .9; }
.ball { position: absolute; z-index: 4; left: 50%; bottom: 12%; width: 7%; aspect-ratio: 1; margin-left: -3.5%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 30%, #e5e7eb 60%, #9ca3af 100%);
  box-shadow: 0 6px 8px rgba(0,0,0,.35); transition: transform .42s cubic-bezier(.15,.7,.3,1); }
.ball::after { content: ""; position: absolute; inset: 30%; background: #111; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
@media (max-width: 860px) { .pens-grid { grid-template-columns: 1fr; } .pitch { order: -1; } }

/* Academy */
.academy { padding-block: clamp(48px, 7vw, 88px); background: var(--card); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips button { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; color: var(--ink); cursor: pointer; transition: all .15s ease; }
.chips button:hover { border-color: var(--blue); }
.chips button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.sessions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sess { display: grid; gap: 4px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); border-top: 4px solid var(--blue); animation: feedIn .3s ease both; }
.sess.girls { border-top-color: #db2777; }
.sess b { font-family: var(--display); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; line-height: 1; color: var(--blue); }
.sess.girls b { color: #be185d; }
.sess span { font-weight: 600; }
.sess small { color: var(--muted); }
@media (max-width: 860px) { .sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sessions { grid-template-columns: 1fr; } }

/* Join */
.join { padding-block: clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--blue), var(--navy)); color: #fff; }
.join h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); color: var(--yellow); }
.join-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.join-copy { display: grid; gap: 16px; }
.join-copy > p { color: #c9d6ee; }
.join-list { list-style: none; display: grid; gap: 8px; }
.join-list li { position: relative; padding-left: 28px; font-weight: 600; }
.join-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); }
.join-list li::after { content: ""; position: absolute; left: 5px; top: .48em; width: 8px; height: 4px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.join-form, .join-done { background: var(--card); color: var(--ink); border-radius: 14px; padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; }
.jf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jf { display: grid; gap: 6px; }
.jf label { font-weight: 700; font-size: .92rem; }
.jf label em { font-style: normal; font-weight: 400; color: var(--muted); }
.jf input { min-height: 48px; padding: 10px 12px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); }
.jf input:focus { outline: none; border-color: var(--blue); }
.jf input[aria-invalid="true"] { border-color: var(--L); }
.err { color: var(--L); font-size: .86rem; font-weight: 700; }
.age-out { padding: 12px 14px; border-radius: 8px; background: #fff8d1; border: 1px solid #f5d94a; font-weight: 600; animation: pop .3s ease both; }
.age-out b { font-family: var(--display); font-size: 1.4rem; font-weight: 900; color: var(--blue); }
.jcheck { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; cursor: pointer; }
.jcheck input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.demo-note { font-size: .84rem; color: var(--muted); text-align: center; }
.join-done { justify-items: center; text-align: center; padding-block: 36px; }
.join-done:focus { outline: none; }
.jd-crest { width: 80px; height: 90px; animation: pop .4s ease both; }
.join-done h3 { font-size: 2.6rem; color: var(--blue); }
.join-done p { color: var(--muted); max-width: 44ch; }
.join-done .btn-ghost { color: var(--blue); border-color: var(--line); }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .jf-row { grid-template-columns: 1fr; } }

.foot { background: #030f28; color: #a9bbdf; padding-block: 26px; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); font-size: .92rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot a { color: var(--yellow); font-weight: 700; }

section[id], .booker { scroll-margin-top: 72px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; }
