@font-face{font-family:Bricolage;src:url('assets/fonts/bricolage-800.ttf');font-weight:800;font-display:swap}@font-face{font-family:DM;src:url('assets/fonts/dm-sans-400.ttf');font-weight:400;font-display:swap}@font-face{font-family:DM;src:url('assets/fonts/dm-sans-600.ttf');font-weight:600;font-display:swap}
:root{font-family:DM,system-ui,sans-serif;color:#f6eedb;background:#0d1b18;--paper:#f6eedb;--accent:#f0c768;--ink:#172c27}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,canvas:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}button:disabled{cursor:default;opacity:.4}
#club{position:relative;margin:auto;width:100%;max-width:480px;height:100svh;height:100dvh;min-height:480px;max-height:1000px;display:flex;flex-direction:column;overflow:hidden;background:var(--ink);isolation:isolate}header{height:calc(65px + env(safe-area-inset-top));padding:calc(12px + env(safe-area-inset-top)) 20px 12px;display:flex;align-items:center;gap:13px;flex-shrink:0}header img{width:90px;height:27px;object-fit:contain}.game-name{font-size:11px;font-weight:600;letter-spacing:1.4px;line-height:1.2;border-left:1px solid #f6eedb55;padding-left:13px}.icon{margin-left:auto;width:40px;height:40px;flex-shrink:0;background:none;border:1px solid #f6eedb44;border-radius:50%;color:var(--paper);font-size:20px}#surface{position:relative;min-height:0;flex:1;margin:0 14px;overflow:hidden;border-radius:14px;background:#2a1b11;box-shadow:0 3px 18px #0005}canvas{width:100%;height:100%;display:block;touch-action:none;user-select:none;outline-offset:-4px!important}#turn-bar{position:absolute;left:14px;right:14px;top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none;color:#f6eedb;font-size:13px;text-shadow:0 1px 5px #000}#player-label{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#shot-label{font-size:11px;letter-spacing:1px;white-space:nowrap}footer{padding:8px 20px calc(12px + env(safe-area-inset-bottom));flex-shrink:0;min-height:72px;text-align:center}#cue{font-size:14px;line-height:1.35;margin:4px 0 8px;color:#e0e7cc}footer .primary{margin-top:7px}.primary{border:0;display:flex;justify-content:space-between;align-items:center;gap:18px;width:100%;min-height:52px;padding:13px 18px;background:var(--accent);color:var(--ink);border-radius:11px;font-weight:600;font-size:16px;box-shadow:0 3px 0 #ad8139}.primary span{font-size:24px}.primary:active{transform:translateY(2px);box-shadow:0 1px 0 #ad8139}.text-button{background:transparent;color:var(--paper);border:0;min-height:40px;font-size:13px;text-decoration:underline;text-underline-offset:4px}.card{position:absolute;z-index:5;left:28px;right:28px;top:50%;transform:translateY(-50%);padding:26px;background:var(--paper);color:var(--ink);border-radius:16px;box-shadow:0 18px 60px #0008}.eyebrow{font-size:11px;letter-spacing:1.4px;font-weight:600;margin:0 0 18px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Bricolage,DM,sans-serif;font-weight:800}h1{font-size:clamp(58px,15vw,80px);letter-spacing:-.055em;line-height:.87;margin:0 0 22px}h1 em{font-style:normal;color:#ab381f}.card>p:not(.eyebrow){font-size:16px;line-height:1.45;margin-bottom:22px}.segmented{display:flex;gap:4px;padding:4px;background:#172c2710;border-radius:10px;margin:0 0 16px}.segmented button{flex:1;min-height:42px;border:0;background:none;border-radius:7px;font-weight:600;font-size:14px;color:#425246}.segmented button[aria-pressed=true]{background:var(--ink);color:var(--paper)}#intro .primary{box-shadow:none}#score-bar{position:absolute;bottom:12px;left:14px;right:14px;display:flex;gap:8px;pointer-events:none}#score-bar span{display:flex;align-items:center;gap:5px;border-radius:20px;background:#12251fdd;padding:6px 10px;font-size:12px}#score-bar i{width:8px;height:8px;border-radius:50%;background:var(--player)}dialog{width:min(390px,calc(100% - 32px));max-height:calc(100dvh - 40px);border:0;border-radius:18px;padding:24px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#0a1411cb;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;gap:12px}dialog h2{font-size:30px;line-height:1;letter-spacing:-1px;margin:0}dialog .icon{color:var(--ink);border-color:#172c2733}dialog ol{padding-left:20px;font-size:15px;line-height:1.5;margin:25px 0}dialog li{margin-bottom:16px;padding-left:5px}dialog>p{font-size:13px;line-height:1.5;color:#566453}dialog .text-button{color:var(--ink)}
@media(min-width:481px){body{background:radial-gradient(ellipse at 50% 30%,#30443a,#08130f)}#club{box-shadow:0 0 80px #0005}}@media(max-height:650px){header{height:56px;padding:8px 16px}.card{padding:21px;left:22px;right:22px}h1{font-size:56px}.card>p:not(.eyebrow){font-size:14px}.eyebrow{margin-bottom:13px}footer{padding-top:6px;min-height:62px}#cue{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
header,#surface,footer{transition:opacity .15s}#club.intro #turn-bar{opacity:0}.bottom-card{top:auto;bottom:calc(18px + env(safe-area-inset-bottom));transform:none;max-height:calc(100dvh - 110px);overflow-y:auto;padding:23px}.bottom-card h2{font-size:42px;letter-spacing:-.045em;line-height:.98;margin:0 0 13px;overflow-wrap:anywhere}.bottom-card .pass-label{font-size:14px;margin-bottom:9px}.bottom-card #handoff-tip{font-size:14px;margin-bottom:18px}.bottom-card .eyebrow{margin-bottom:12px}.bottom-card #handoff-name{color:#a53c24}.bottom-card #result-summary{font-size:15px;line-height:1.4;margin:0 0 14px;overflow-wrap:anywhere}#standings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:15px}.standing{background:#172c2709;border:1px solid #172c2722;border-radius:9px;padding:8px 10px;display:flex;gap:8px;align-items:center;min-width:0}.standing.winner{border-color:#b88529;background:#edc96e22}.standing i{width:10px;height:10px;border-radius:50%;background:var(--player);flex-shrink:0}.standing span{font-size:13px;min-width:0;overflow-wrap:anywhere}.standing b{margin-left:auto;font:800 22px Bricolage}.bottom-card #rematch-note{font-size:12px;line-height:1.4;margin-bottom:12px;color:#566453}.bottom-card .text-button{display:block;color:var(--ink);margin:7px auto -8px}#setup fieldset{border:0;padding:0;margin:0}#setup legend{font-size:14px;font-weight:600;margin-bottom:10px}.setup-copy{margin:20px 0!important;font-size:16px!important;color:var(--ink)!important}#names{display:grid;gap:10px}#names label{display:flex;align-items:center;gap:12px;font-size:14px}#names i{width:12px;height:12px;border-radius:50%;flex-shrink:0;background:var(--player)}#names input{width:100%;min-width:0;border:1px solid #172c2733;border-radius:8px;font-size:16px;padding:12px;color:var(--ink);background:#fff9eb}.optional{font-size:13px;color:#596954;margin:12px 0 20px}#aim{margin:auto auto calc(20px + env(safe-area-inset-bottom));padding:22px}#aim::backdrop{background:#07110d33;backdrop-filter:none}#aim>p{margin:16px 0;font-size:14px}#aim input{width:100%;accent-color:#ab3e25;margin:8px 0 24px;min-height:28px}.range-label{display:flex;justify-content:space-between;font-size:15px;font-weight:600}.range-label output{font-size:13px;font-weight:400}#aim .primary{margin-top:3px}#new-game{width:100%}#club.end footer,#club.handoff footer{visibility:hidden}#club.end #score-bar{display:none}
@media(max-height:650px){.bottom-card{padding:19px;left:22px;right:22px}.bottom-card h2{font-size:34px}.standing{padding:6px 8px}.bottom-card .eyebrow{font-size:10px}.card .primary{min-height:46px}}

/* Bo’s venue skin; play geometry is unchanged. */
:root,body{background:#151513;color:var(--paper)}#club{height:calc(100svh - 32px);height:calc(100dvh - 32px)}header{height:80px;padding:8px 20px}header img{width:62px;height:62px}.game-name{font-size:12px}h1 em{color:#65512b}.card{border-radius:5px}.primary{border-radius:5px}.primary:hover{filter:brightness(.96);transform:translateY(1px)}.primary:active{transform:translateY(3px)}.concept-note{height:32px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 18px;margin:auto;max-width:480px;font:12px DM;color:#d5c9b4;background:#20201e}.concept-note a{color:inherit;text-underline-offset:3px}.concept-note a:focus-visible{outline:2px solid #e4b963}.no-js{background:#fff6e4;color:#20201e;padding:20px;position:fixed;inset:auto 12px 50px;z-index:10}.no-js a{color:inherit}@media(min-width:481px){body{background:radial-gradient(ellipse at top,#3b3428,#111110)}}@media(max-height:700px){header{height:64px}header img{height:48px;width:48px}.card{padding:20px}h1{font-size:56px}.card .eyebrow{font-size:10px}}

/* Keep the hit area still when the handover button appears under the pointer. */
.primary:hover{transform:none;box-shadow:0 2px 0 #9a7538}.primary:active{transform:translateY(2px);box-shadow:0 1px 0 #9a7538}

/* The table owns the viewport; shot results float over its unused launch area. */
#club{height:calc(100svh - 24px - env(safe-area-inset-bottom));height:calc(100dvh - 24px - env(safe-area-inset-bottom))}
header{height:calc(60px + env(safe-area-inset-top));padding:calc(7px + env(safe-area-inset-top)) 14px 7px;gap:12px}
header img{width:44px;height:44px}
header .icon{width:36px;height:36px;font-size:20px}
.game-identity{flex:1;min-width:0}
.game-name{display:block;border:0;padding:0;font-size:12px;line-height:1.3;letter-spacing:1.4px}
#turn-bar{position:static;margin-top:3px;gap:8px;font-size:12px;line-height:1.3;text-shadow:none}
#shot-label{font-size:11px;letter-spacing:.5px}
#table-space{flex:1;min-height:0;container-type:size;display:grid;place-items:center}
#surface{flex:none;margin:0;width:min(calc(100cqw - 20px),60cqh);aspect-ratio:3 / 5;border-radius:6px}
footer{position:absolute;z-index:2;left:12px;right:12px;bottom:64px;display:none;grid-template-columns:minmax(0,1fr) 144px;align-items:center;gap:12px;height:auto;min-height:0;padding:10px;text-align:left;background:#20201ef5;border:1px solid #f6eedb33;border-radius:6px}
#club.settled footer{display:grid}
#cue{grid-area:1 / 1;font-size:13px;line-height:1.35;margin:0}
footer #next{grid-area:1 / 2;width:100%;height:48px;min-height:48px;margin:0;padding:10px 12px;font-size:14px;gap:8px}
#help #keyboard-open{margin:18px 0 10px}
@media(max-width:380px){footer{grid-template-columns:minmax(0,1fr) 122px;gap:8px;left:8px;right:8px}footer #next{font-size:13px;padding:10px}}
.concept-note{height:calc(24px + env(safe-area-inset-bottom));padding:0 12px env(safe-area-inset-bottom);font-size:12px}
