/* Stadium UI: the scene is the screen, controls sit at its edges. */
.menu.kb-menu { --kb-panel:#112638; --kb-ink:#101d2a; --kb-text:#fff6df; --kb-muted:#c2d3dd; --kb-line:#4a677d; --kb-accent:#ffc743; --kb-cyan:#76e7ff; position:absolute; inset:0; display:flex; justify-content:flex-end; padding:30px 40px; color:var(--kb-text); font:calc(14px * var(--ui-scale,1))/1.4 var(--ui); pointer-events:none; background:linear-gradient(90deg,#07121e66,transparent 42%); }
.kb-menu * { box-sizing:border-box; }
.kb-menu ::selection { color:var(--kb-ink); background:var(--kb-cyan); }
.kb-menu button,.kb-menu input,.kb-menu summary { pointer-events:auto; }
.kb-menu button,.kb-menu summary { cursor:pointer; }
.kb-menu button { min-height:44px; padding:9px 17px; border:1px solid #7796b5; border-bottom:4px solid #17324c; border-radius:9px; color:var(--kb-text); background:linear-gradient(#355979,#24435f); box-shadow:inset 0 1px 0 #a5c6de55,0 5px 12px #0003; font:700 18px/1.1 var(--num); transition:transform 130ms ease,filter 130ms ease; }
.kb-menu button:hover { filter:brightness(1.16); transform:translateY(-2px); }
.kb-menu button:active { transform:translateY(2px); }
.kb-menu button:focus-visible,.kb-menu input:focus-visible,.kb-menu summary:focus-visible { outline:3px solid var(--kb-cyan); outline-offset:4px; }
.kb-menu button[aria-pressed="true"],.kb-menu button[aria-selected="true"],.kb-menu .kb-primary { color:#332713; background:linear-gradient(#ffdc73,#ffc13b); border-color:#ffe6a1; border-bottom-color:#b3741d; }
.kb-menu button:disabled { opacity:.5; cursor:default; }
.kb-menu p { margin:0 0 16px; }
.kb-menu kbd { font:600 .95em var(--ui); background:#304a61; border-radius:4px; padding:2px 5px; color:var(--kb-text); }
.kb-menu .kb-play { min-height:74px; display:flex; justify-content:space-between; align-items:center; padding:10px 28px; border:2px solid #ffe297; border-bottom:7px solid #bc7c21; border-radius:14px; background:linear-gradient(#ffdc64,#ffbb32); color:#372611; font:900 42px/1 var(--num); text-transform:uppercase; font-style:italic; letter-spacing:-.02em; text-shadow:0 1px #ffedb0; box-shadow:0 9px 25px #0006,inset 0 2px #fff6c9; }
.kb-play span { font-style:normal; margin-left:28px; }
.kb-home { position:absolute; inset:0; pointer-events:none; }
.kb-logo { position:absolute; top:35px; left:44px; margin:0; font:900 italic 65px/.86 var(--num); letter-spacing:-.03em; transform:rotate(-4deg); text-shadow:0 4px 0 #12273a,0 7px 16px #0008; }
.kb-logo span { display:block; color:var(--kb-accent); }
.kb-logo i { display:block; position:absolute; width:20px; height:20px; background:#fff6df; border:5px solid #152333; border-radius:50%; right:-20px; top:38px; box-shadow:3px -6px 0 -3px #ffc743; }
.kb-menu .kb-profile-link { position:absolute; top:32px; right:40px; display:flex; align-items:center; gap:13px; min-width:182px; text-align:left; background:#173951e8; border:1px solid #8cafc2; border-bottom:4px solid #0b2336; }
.kb-profile-link strong { display:block; font:800 24px var(--num); }
.kb-profile-link small { display:block; color:#bbd4e5; font:600 11px var(--ui); }
.kb-shirt-number { display:grid; place-content:center; min-width:40px; height:43px; font:900 26px var(--num); color:#152f50; background:var(--kb-accent); clip-path:polygon(20% 0,80% 0,100% 22%,83% 39%,80% 100%,20% 100%,17% 39%,0 22%); }
.kb-navigation { position:absolute; top:191px; left:44px; display:grid; justify-items:start; gap:9px; }
.kb-navigation button { min-width:180px; text-align:left; font-size:24px; text-transform:uppercase; background:linear-gradient(100deg,#274c6aed,#193e55a3); border:1px solid #65859b; border-bottom:4px solid #102b40; }
.kb-lobby-caption { position:absolute; left:44px; top:390px; text-shadow:0 3px 9px #000c; }
.kb-lobby-caption h2 { font:800 italic 34px/1 var(--num); margin:0 0 12px; text-transform:uppercase; }
.kb-lobby-caption p { color:#d4e4eb; font-weight:600; font-size:13px; }
.kb-lobby-roster { position:absolute; bottom:43px; left:44px; width:min(570px,48vw); }
.kb-lobby-roster h3 { font:700 16px var(--num); text-transform:uppercase; margin:0 0 7px; text-shadow:0 2px 4px #000; }
.kb-lobby-roster h3 span { margin-left:15px; font:500 11px var(--ui); color:#c2d5df; text-transform:none; }
.kb-lobby-roster ul { list-style:none; display:flex; flex-wrap:wrap; gap:5px; margin:0; padding:0; }
.kb-lobby-roster li { display:flex; gap:7px; align-items:center; padding:5px 8px; background:#092538d6; border-radius:5px; color:#c6dbe7; font:700 12px var(--num); }
.kb-lobby-roster li b { font:800 9px var(--ui); color:#aec3cf; }
.kb-lobby-roster li.is-local { color:#ffdf7b; background:#3d361ed9; }
.kb-lobby-roster li.is-local b { color:#ffdf7b; }
.kb-start { position:absolute; right:40px; bottom:43px; width:322px; display:grid; gap:10px; }
.kb-summary { display:flex; flex-direction:column; align-items:flex-end; gap:5px; padding-bottom:5px; text-shadow:0 2px 5px #000; }
.kb-summary span { font-size:13px; color:#e2eef4; }
.kb-menu .kb-summary button { min-height:32px; padding:3px 0; border:0; box-shadow:none; background:none; font-size:19px; text-decoration:underline; text-underline-offset:4px; }
.kb-menu .kb-practice-row { justify-self:end; display:flex; gap:8px; }
.kb-menu .kb-practice { background:#13364dde; min-height:36px; font-size:17px; }
.kb-menu .kb-footnote { position:absolute; bottom:14px; right:43px; margin:0; font-size:10px; color:#acc4d5; }
.kb-panel { pointer-events:auto; align-self:stretch; width:min(550px,46vw); min-width:0; display:grid; grid-template-rows:auto auto minmax(0,1fr) auto; background:linear-gradient(120deg,#15334de8,#0c2030ed); border:1px solid #63859b80; border-radius:20px 20px 15px 15px; box-shadow:0 15px 40px #0005; overflow:hidden; }
.kb-header { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:23px 23px 19px; }
.kb-header h2 { margin:0; font:900 italic 43px/.95 var(--num); text-transform:uppercase; }
.kb-header>span { font-size:12px; color:var(--kb-muted); white-space:nowrap; }
.kb-tabs { display:flex; gap:7px; padding:0 23px 15px; }
.kb-tabs button { flex:1; min-width:0; padding:8px; }
.kb-content { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 23px 20px; scrollbar-width:thin; scrollbar-color:#7094aa #122e43; }
.kb-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:15px 23px; background:#0c2237; border-top:1px solid #526f8266; }
.kb-saved { color:var(--kb-muted); font-size:11px; }
.kb-view { display:flex; gap:4px; }.kb-view button { padding:8px 11px; }
.kb-row { padding:0; border:0; margin:0 0 15px; min-width:0; }
.kb-row legend { padding:0 0 8px; font:700 17px var(--num); color:#d0e1eb; }
.kb-seg { display:flex; flex-wrap:wrap; gap:6px; }.kb-seg button { padding:7px 12px; font-size:17px; }
.kb-swatches { display:flex; flex-wrap:wrap; gap:7px; }
.kb-menu .kb-swatches button { position:relative; width:30px; height:30px; min-height:30px; padding:0; border:2px solid #b1c5d0; border-radius:50%; background:var(--swatch); box-shadow:inset 0 2px 2px #fff3,0 3px 5px #0004; }
.kb-menu .kb-swatches button[aria-pressed="true"] { outline:2px solid var(--kb-accent); outline-offset:2px; border-color:#172d40; }
.kb-swatches span { color:#fff; font:800 17px var(--ui); text-shadow:0 1px 3px #000,1px 0 2px #000; }
.kb-visual-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.kb-options-hair { grid-template-columns:repeat(4,minmax(0,1fr)); }
.kb-menu .kb-visual-options button { position:relative; min-height:106px; padding:0 3px 7px; background:linear-gradient(#2c526d,#1c3d55); border:1px solid #67879c; border-bottom:4px solid #0b283b; overflow:hidden; }
.kb-menu .kb-visual-options button[aria-pressed="true"] { background:linear-gradient(#577485,#2b536a); border:2px solid #ffdb70; border-bottom:4px solid #d3a33b; color:#ffe09a; }
.kb-visual-options img { display:block; width:100%; height:85px; object-fit:contain; filter:drop-shadow(0 4px 4px #0006); }
.kb-visual-options img:not([src]) { visibility:hidden; }
.kb-visual-options span { display:block; font-size:15px; }
.kb-colors-pair { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.kb-kit-details { display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
.kb-field { display:grid; gap:8px; margin:20px 0; }.kb-field label { font-weight:600; }
.kb-field input { width:100%; min-height:48px; border:2px solid #7399b2; border-radius:8px; background:#071c2b; color:var(--kb-text); padding:8px 12px; font:700 26px var(--num); caret-color:var(--kb-cyan); }
.kb-field input[type="number"] { width:100px; }.kb-field small { color:var(--kb-muted); font-size:11px; }.kb-number-field { margin:0 0 15px; }
.page-profile .kb-panel { width:390px; align-self:center; min-height:510px; }
.page-profile .kb-content { grid-row:2 / 4; padding-top:8px; }.kb-profile-crest { width:100px; height:118px; display:grid; place-content:center; margin:0 auto; background:linear-gradient(#ffe288,#f1ad25); color:#173754; clip-path:polygon(0 0,100% 0,94% 72%,50% 100%,6% 72%); font:900 62px var(--num); }
.kb-profile-name { text-align:center; font:900 34px var(--num); margin:10px 0; }
.kb-menu .kb-note { color:var(--kb-muted); font-size:12px; line-height:1.5; }
.kb-slider { display:grid; grid-template-columns:minmax(125px,1fr) minmax(70px,1fr) 48px; gap:10px; align-items:center; margin-bottom:18px; }
.kb-slider input { accent-color:var(--kb-accent); width:100%; min-height:44px; margin:0; cursor:pointer; }.kb-slider output { text-align:right; font-variant-numeric:tabular-nums; }
.kb-bindings { margin-bottom:16px; }.kb-bindings>div { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:5px 0; border-bottom:1px solid #496479; }.kb-bindings button { min-width:125px; }.kb-pad-help { margin-top:18px; }.kb-pad-help summary { min-height:44px; padding:12px 0; font-weight:600; }.kb-pad-help p { color:var(--kb-muted); }
.menu.kb-overlay { background:#06111bce; pointer-events:auto; }
.kb-preparation { position:absolute; inset:0; }
.kb-stage-header { position:absolute; top:25px; left:35px; right:35px; display:flex; align-items:center; gap:23px; }.kb-stage-header h2 { font:900 italic 43px var(--num); text-transform:uppercase; margin:0; }.kb-stage-header>span { margin-left:auto; font-size:12px; color:#d2e5ef; }
.kb-terrain-title { position:absolute; top:115px; left:48px; text-shadow:0 3px 9px #00131c; }.kb-terrain-title h3 { font:900 italic 38px var(--num); margin:0; text-transform:uppercase; }.kb-terrain-title p { color:#d3e5ed; font-size:13px; }
.kb-match-options { position:absolute; right:35px; top:113px; width:287px; max-height:calc(100% - 113px - 120px); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#3fe6ff55 transparent; padding:18px 18px 8px; background:linear-gradient(100deg,#13344dcc,#08273ae8); border-radius:15px; pointer-events:auto; }
.kb-match-options .kb-row { margin-bottom:8px; }.kb-match-options .kb-note { margin-bottom:12px; }.kb-match-options .kb-dimensions { color:#bad4df; font-size:12px; margin:0 0 20px; }
.kb-mode-options { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; }.kb-menu .kb-mode-options button { padding:8px 3px; min-height:97px; font-size:14px; }.kb-mode-options svg { width:100%; height:44px; display:block; margin-bottom:7px; }.kb-mode-options span { display:block; }
.kb-match-options .kb-seg { gap:4px; }.kb-match-options .kb-seg button { flex:1; font-size:16px; padding:7px 9px; }
.kb-layout-deck { position:absolute; left:35px; bottom:30px; width:calc(100% - 387px); max-width:1120px; pointer-events:auto; }
.kb-layout-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }.kb-layout-heading h3 { font:800 22px var(--num); margin:0; text-shadow:0 2px 6px #000; }.kb-layout-heading>div { display:flex; gap:5px; }.kb-layout-heading button { min-height:32px; width:36px; padding:0; font-size:29px; }
.kb-layouts { display:flex; gap:9px; }.kb-menu .kb-layouts button { position:relative; padding:0 0 8px; min-width:0; flex:1; background:#163a50ee; overflow:hidden; border-bottom-width:4px; }.kb-menu .kb-layouts button[aria-pressed="true"] { background:#d3a53c; border-color:#ffe6a0; border-bottom-color:#9b7024; color:#172a34; }.kb-layouts img { width:100%; height:auto; display:block; }.kb-layouts span { font-size:17px; }.kb-layouts b { position:absolute; top:6px; left:0; right:0; font:900 48px var(--num); color:#fff5d4; text-shadow:0 3px 10px #000; }
.kb-menu .kb-kickoff { position:absolute; bottom:30px; right:35px; width:287px; font-size:31px; padding:12px 20px; }.kb-kickoff span { margin-left:8px; }
@media(min-width:1600px) { .kb-logo { font-size:85px; }.kb-navigation { top:240px; }.kb-navigation button { font-size:29px; min-width:220px; }.kb-lobby-caption { top:460px; }.kb-panel { width:610px; }.kb-visual-options img { height:118px; }.kb-match-options { width:330px; top:145px; }.kb-layout-deck { width:calc(100% - 440px); }.kb-menu .kb-kickoff { width:330px; }.kb-terrain-title { top:140px; } }
@media(max-height:760px) { .menu.kb-menu { padding:22px 30px; }.kb-header { padding-top:18px; padding-bottom:15px; }.kb-header h2 { font-size:36px; }.kb-visual-options img { height:73px; }.kb-visual-options button { min-height:94px; }.kb-lobby-caption { top:365px; }.kb-lobby-caption h2 { font-size:29px; }.kb-match-options { top:105px; }.kb-demo { max-height:172px; } }
@media(max-width:1000px) { .kb-panel { width:54vw; }.kb-lobby-caption { display:none; }.kb-lobby-roster { width:45vw; }.kb-start { width:280px; }.kb-match-options { width:250px; right:22px; }.kb-menu .kb-kickoff { width:250px; right:22px; font-size:26px; }.kb-layout-deck { left:22px; width:calc(100% - 294px); }.kb-layouts { gap:5px; }.kb-layouts span { font-size:14px; }.kb-stage-header>span { display:none; } }
@media(max-width:700px) { .menu.kb-menu { padding:14px; }.kb-logo { top:25px; left:22px; font-size:50px; }.kb-menu .kb-profile-link { top:20px; right:18px; min-width:0; padding:7px; }.kb-profile-link strong { font-size:19px; }.kb-navigation { left:22px; top:145px; }.kb-navigation button { min-width:150px; font-size:20px; }.kb-start { right:18px; bottom:40px; width:250px; }.kb-lobby-roster { left:22px; bottom:240px; width:calc(100% - 44px); }.kb-panel { width:min(500px,100%); }.page-profile .kb-panel { width:100%; }.kb-stage-header { left:18px; right:18px; top:18px; gap:12px; }.kb-stage-header h2 { font-size:28px; }.kb-match-options { top:90px; width:210px; right:18px; padding:12px; }.kb-terrain-title { top:90px; left:20px; max-width:140px; }.kb-terrain-title h3 { font-size:28px; }.kb-terrain-title p { font-size:11px; }.kb-layout-deck { width:calc(100% - 36px); bottom:108px; left:18px; }.kb-menu .kb-kickoff { bottom:18px; right:18px; width:250px; min-height:66px; }.kb-mode-options { grid-template-columns:1fr; }.kb-menu .kb-mode-options button { display:flex; align-items:center; gap:5px; min-height:42px; }.kb-mode-options svg { width:45px; height:28px; margin:0; }.kb-match-options .kb-note { display:none; }.kb-layouts span { font-size:12px; }.kb-layouts b { font-size:28px; }.kb-footnote { display:none; } }
@media(prefers-reduced-motion:reduce) { .kb-menu button { transition:none; } }
[data-reduced-motion="true"] .kb-menu button { transition:none; }
.kb-demo { display: block; width: 100%; max-height: 205px; margin-bottom: 8px; }
.demo-field { fill: #142f2d; stroke: #adb8b7; stroke-width: 1; }
.demo-grid { fill: none; stroke: #31504c; stroke-width: 1; }
.demo-arrow { fill: none; stroke: #3fe6ff; stroke-width: 3; }
.demo-ball { fill: #f5f0de; stroke: #111a22; stroke-width: 3; }
.demo-player { fill: #3fe6ff; stroke: #111a22; stroke-width: 3; }
.demo-opponent { fill: #ffc43d; stroke: #111a22; stroke-width: 3; }
.demo-danger { fill: #f05a3655; stroke: #f05a36; stroke-width: 2; }
.demo-land { fill: #3fe6ff2e; stroke: #3fe6ff; stroke-width: 2; }
.demo-self { fill: #f05a3640; stroke: #f05a36; stroke-width: 2; stroke-dasharray: 5 3; }
.demo-arrow-bad { stroke: #f05a36; stroke-dasharray: 6 4; }
.demo-edge { stroke: #f05a36; stroke-width: 3; stroke-dasharray: 6 4; }
.demo-wave { fill: #f05a3622; stroke: #f05a36; stroke-width: 3; stroke-dasharray: 6 4; }
.kb-demo text { fill: #adb8b7; font: 600 12px var(--ui); }
.demo-kick { animation: kb-kick 3s ease-out infinite; }
.demo-dodge { animation: kb-dodge 3s ease-in-out infinite; }
.demo-push { animation: kb-push 3s ease-out infinite; }
.demo-return { animation: kb-return 3s ease-in-out infinite; }
.kb-lesson h3 { font: 700 28px/1.1 var(--num); margin: 0 0 12px; }
.kb-lesson p { line-height: 1.6; }
@keyframes kb-kick { 0%, 25% { transform: translateX(0); } 65%, 90% { transform: translateX(120px); } }
@keyframes kb-dodge { 0%, 20% { transform: translateY(0); } 50%, 90% { transform: translateY(-48px); } }
@keyframes kb-push { 0%, 25% { transform: translateX(0); } 65%, 90% { transform: translateX(100px); } }
@keyframes kb-return { 0% { transform: translateX(-60px); } 35% { transform: translateX(68px); } 70%, 100% { transform: translateX(-70px); } }
[data-reduced-motion="true"] .kb-demo *, .reduced-motion .kb-demo * { animation: none !important; }
[data-high-contrast="true"] .kb-menu, .high-contrast .kb-menu { --kb-panel: #111a22; --kb-muted: #f5f0de; --kb-line: #adb8b7; }
@media (prefers-reduced-motion: reduce) { .kb-demo * { animation: none !important; } }

/* Optional prototypes live in a compact upward-opening rules drawer. */
.kb-extra-rules { position:relative; margin:0 -4px; }
.kb-extra-rules summary { min-height:32px; padding:5px 4px; color:#e4d093; font:700 16px var(--num); }
.kb-rule-options { position:absolute; z-index:3; left:-8px; right:-8px; bottom:38px; padding:16px; background:#183c55; border:1px solid #90aec1; border-radius:12px; box-shadow:0 9px 24px #0008; }
.kb-match-options .kb-rule-options .kb-note { display:block; margin-bottom:0; }
.kb-match-options .kb-extra-rules .kb-row legend { color:#fff0c5; }

/* phones in landscape (≈ 390 px high): the logo shrinks, the menu moves up, the roster and the tagline give way */
@media (max-height:500px) {
  .kb-home .kb-logo { transform:scale(.62); transform-origin:top left; }
  .kb-navigation { top:120px; left:24px; gap:6px; }
  .kb-navigation button { min-width:150px; font-size:18px; padding:6px 12px; }
  .kb-lobby-caption, .kb-lobby-roster { display:none; }
  .kb-profile-link { transform:scale(.8); transform-origin:top right; }
}

/* En ligne: hub (create / join / public list) and lobby room */
.kb-online { z-index:5; justify-content:center; align-items:stretch; background:linear-gradient(90deg,#07121ecc,#07121e66 60%,#07121e99); }
.kb-online-panel { width:min(760px,100%); grid-template-rows:auto minmax(0,1fr) auto; }
.kb-online h3 { margin:0 0 10px; font:800 20px var(--num); text-transform:uppercase; letter-spacing:.01em; }
.kb-online-cards { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:22px; }
.kb-online-card { display:flex; flex-direction:column; gap:10px; padding:16px; background:#0a1d2cb3; border:1px solid #4a677d80; border-radius:12px; }
.kb-online-card .kb-note { margin:0; min-height:38px; color:var(--kb-muted); font-size:12px; }
.kb-online-card button:last-child { margin-top:auto; }
.kb-code-input { width:100%; min-height:56px; border:2px solid #7399b2; border-radius:9px; background:#071c2b; color:var(--kb-text); padding:6px 12px; font:900 34px var(--num); letter-spacing:.3em; text-align:center; text-transform:uppercase; caret-color:var(--kb-cyan); pointer-events:auto; }
.kb-code-input::placeholder { color:#4e6b80; letter-spacing:.2em; }
.kb-code-input:focus-visible { outline:3px solid var(--kb-cyan); outline-offset:3px; }
.kb-online-list-head { display:flex; align-items:baseline; justify-content:space-between; }
.kb-menu .kb-link { min-height:30px; padding:2px 4px; border:0; background:none; box-shadow:none; font-size:15px; text-decoration:underline; text-underline-offset:4px; color:var(--kb-muted); }
.kb-lobby-list { list-style:none; margin:0 0 12px; padding:0; display:grid; gap:6px; }
.kb-lobby-list li { display:grid; grid-template-columns:minmax(0,1fr) auto auto; grid-template-areas:"host count join" "meta count join"; align-items:center; gap:0 14px; padding:9px 10px 9px 14px; background:#0a1d2cb3; border:1px solid #4a677d66; border-radius:10px; }
.kb-lobby-list .kb-lobby-empty { display:block; padding:16px; color:var(--kb-muted); font-size:13px; text-align:center; }
.kb-lobby-host { grid-area:host; font:800 20px var(--num); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kb-lobby-meta { grid-area:meta; font-size:12px; color:var(--kb-muted); }
.kb-lobby-list b { grid-area:count; font:900 22px var(--num); color:var(--kb-accent); }
.kb-lobby-list button { grid-area:join; min-height:40px; font-size:16px; }
.kb-online-status { min-height:20px; margin:4px 0 0; font-size:13px; font-weight:600; color:var(--kb-muted); }
.kb-online-status[data-tone="bad"] { color:#ff9a86; }
.kb-online-status[data-tone="good"] { color:#9ff0b5; }
.kb-room .kb-header > div { display:grid; gap:4px; }
.kb-menu .kb-code { display:grid; justify-items:center; gap:0; min-height:0; padding:6px 16px 8px; background:#071c2b; border:2px dashed #ffc74399; border-bottom-width:2px; box-shadow:none; }
.kb-code small { font:700 10px var(--ui); color:var(--kb-muted); letter-spacing:.12em; text-transform:uppercase; }
.kb-code b { font:900 36px/1 var(--num); letter-spacing:.18em; color:var(--kb-accent); }
.kb-seats { list-style:none; margin:0 0 18px; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.kb-seat { display:flex; align-items:center; gap:10px; min-height:46px; padding:6px 10px; background:#0a1d2cb3; border:1px solid #4a677d66; border-radius:9px; }
.kb-seat-number { display:grid; place-content:center; min-width:32px; height:32px; font:900 19px var(--num); color:#152f50; background:#8fb2c6; clip-path:polygon(20% 0,80% 0,100% 22%,83% 39%,80% 100%,20% 100%,17% 39%,0 22%); }
.kb-seat-name { flex:1; min-width:0; font:800 18px var(--num); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.kb-seat-name small { font:700 10px var(--ui); color:var(--kb-accent); text-transform:uppercase; margin-left:4px; }
.kb-seat b { font:800 10px var(--ui); letter-spacing:.06em; color:var(--kb-muted); }
.kb-seat.is-ready b { color:#9ff0b5; }
.kb-seat.is-me { border-color:#ffdf7b; background:#3d361e99; }
.kb-seat.is-me .kb-seat-number { background:var(--kb-accent); }
.kb-seat.is-off { opacity:.55; }
.kb-seat.is-empty { background:#0a1d2c55; border-style:dashed; color:var(--kb-muted); }
.kb-seat.is-empty .kb-seat-number { background:#34506480; color:#8fb2c6; }
.kb-seat.is-empty .kb-seat-name { font-weight:600; font-size:16px; }
.kb-online-summary { display:grid; grid-template-columns:auto 1fr; gap:6px 16px; margin:0; font-size:14px; }
.kb-online-summary dt { font:700 15px var(--num); color:var(--kb-muted); text-transform:uppercase; }
.kb-online-summary dd { margin:0; font-weight:600; }
.kb-menu .kb-online-primary { min-width:210px; font-size:21px; }
@media(max-width:700px) { .kb-online-cards { grid-template-columns:1fr; } .kb-seats { grid-template-columns:1fr; } .kb-menu .kb-online-primary { min-width:0; } }
.kb-menu .kb-online-btn { min-height:56px; display:flex; justify-content:space-between; align-items:center; padding:8px 24px; border:2px solid #9ee9ff; border-bottom:6px solid #1b6b8a; border-radius:12px; background:linear-gradient(#5fd6f5,#2aa9d3); color:#08263a; font:900 26px/1 var(--num); text-transform:uppercase; font-style:italic; text-shadow:0 1px #b8f2ff; }
@media(max-width:700px) { .kb-menu .kb-online-btn { font-size:20px; min-height:48px; } }

/* Title card (ui/title.js) */
.title-screen { position:absolute; inset:0; z-index:8; display:grid; place-content:center; justify-items:center; pointer-events:auto; background:radial-gradient(circle at 50% 42%,#07121e55,#07121ee6 75%); color:#fff6df; text-align:center; animation:title-in .6s ease-out; transition:opacity .35s; }
.title-screen.leaving { opacity:0; pointer-events:none; }
.title-inner { display:grid; justify-items:center; gap:18px; }
.title-logo { position:relative; margin:0; font:900 italic clamp(64px,11vw,150px)/.84 var(--num); letter-spacing:-.03em; transform:rotate(-4deg); text-shadow:0 6px 0 #12273a,0 12px 30px #000b; }
.title-logo span { display:block; color:#ffc743; }
.title-logo i { position:absolute; width:.3em; height:.3em; right:-.32em; top:.52em; background:#fff6df; border:.07em solid #152333; border-radius:50%; box-shadow:.05em -.09em 0 -.04em #ffc743; }
.title-tagline { margin:6px 0 0; font:600 clamp(14px,1.6vw,20px) var(--ui); color:#d4e4eb; text-shadow:0 2px 8px #000; }
.title-go { margin-top:26px; padding:12px 26px; border:2px solid #ffe297; border-bottom:6px solid #bc7c21; border-radius:12px; background:linear-gradient(#ffdc64,#ffbb32); color:#372611; font:900 italic clamp(20px,2.2vw,28px) var(--num); text-transform:uppercase; cursor:pointer; animation:title-pulse 1.4s ease-in-out infinite; }
.title-go:focus-visible { outline:3px solid #76e7ff; outline-offset:4px; }
.title-foot { position:absolute; bottom:22px; left:0; right:0; margin:0; font:600 12px var(--ui); color:#9fb8c8; }
@keyframes title-in { from { opacity:0; } }
@keyframes title-pulse { 50% { transform:scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .title-screen, .title-go { animation:none; } }
.reduced-motion .title-screen, .reduced-motion .title-go { animation:none; }
.kb-welcome { margin:0 0 12px; text-align:center; font:900 italic 26px var(--num); color:var(--kb-accent); text-transform:uppercase; }
.kb-menu .kb-footnote { pointer-events:auto; }
.kb-menu .kb-footnote .kb-link { min-height:0; padding:0; font:600 10px var(--ui); color:#acc4d5; }
.kb-credits h4 { margin:18px 0 6px; font:800 17px var(--num); text-transform:uppercase; color:var(--kb-accent); }
.kb-credits ul { margin:0; padding-left:18px; } .kb-credits li { margin:3px 0; } .kb-credits p { margin:0 0 6px; }
.kb-credits code { font-size:11px; color:var(--kb-cyan); }
.kb-credits-logo { margin:4px 0 2px; font:900 italic 44px/.9 var(--num); } .kb-credits-logo span { color:var(--kb-accent); }
