@font-face{font-family:Overpass;src:url('/fonts/overpass.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:Overpass;src:url('/fonts/overpass-italic.woff2') format('woff2');font-weight:100 900;font-style:italic;font-display:swap}
*{box-sizing:border-box} :root{--ground:#10161C;--text:#F4F5F4;--muted:#CED5D8;--rule:#536069;--ink:#171C22;--green:#2FA35A;--yellow:#F2C12E;--orange:#F08A24;--red:#C93A2E;--sqborder:#10161C;color-scheme:dark}
html,body{margin:0;min-height:100%;background:var(--ground);color:var(--text)}body{font:400 17px/24px Overpass,system-ui,-apple-system,"Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--text);outline-offset:5px}button:disabled{opacity:.45;cursor:not-allowed}button:not(:disabled):active{transform:translateY(1px)}[hidden]{display:none!important}
/* Screen headings receive focus for announcements, but are not interactive controls. */
.view[tabindex="-1"]:focus,.view h1[tabindex="-1"]:focus,.view .place-name[tabindex="-1"]:focus{outline:none}
#scenery{position:fixed;inset:0;z-index:0;pointer-events:none;background:#10161C;overflow:hidden}
#scenery img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.8);opacity:0;transition:opacity .9s ease}
#scenery img.visible{opacity:1}#scenery::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,15,20,.78),rgba(8,15,20,.63) 42%,rgba(8,15,20,.74) 72%,rgba(8,15,20,.91))}
#scenery.reading::after{background:linear-gradient(180deg,rgba(8,15,20,.87),rgba(8,15,20,.8) 45%,rgba(8,15,20,.94))}
#app{position:relative;z-index:1}.shell{max-width:460px;min-height:100svh;margin:auto;padding:22px 24px max(24px,env(safe-area-inset-bottom));display:flex;flex-direction:column}
.top{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px}.logo{width:126px;display:block}.logo svg{display:block;width:100%;height:auto}.textbutton{border:0;background:none;padding:12px 0;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-size:15px}.textbutton:hover{color:white}.view{display:flex;flex:1;flex-direction:column;text-align:center;padding-top:28px}.flex-space{flex:1;min-height:20px}.eyebrow{font-size:14px;color:var(--muted);margin:0 0 10px}.notice{font-size:12px;letter-spacing:.04em;text-align:center;color:var(--muted);padding-top:5px}
.hero-title{font-weight:900;line-height:1.06;font-size:clamp(38px,10vw,54px);letter-spacing:-.035em;margin:0;overflow-wrap:break-word}.hero-copy{font-size:19px;line-height:26px;font-weight:600;margin:14px auto 0}.signpost{width:240px;height:220px;max-height:28svh;margin:20px auto 8px;display:block}
.arm{position:relative;border:0;background:var(--text);clip-path:polygon(0 0,calc(100% - 32px) 0,100% 50%,calc(100% - 32px) 100%,0 100%);padding:2px 3px 2px 2px;min-height:64px;width:100%;text-align:center}.arm>span{min-height:60px;display:flex;align-items:center;justify-content:center;padding:10px 35px 10px 24px;background:var(--ink);color:#fff;clip-path:polygon(0 0,calc(100% - 30px) 0,100% 50%,calc(100% - 30px) 100%,0 100%);font-weight:900;font-size:20px;letter-spacing:.025em;line-height:24px;text-transform:uppercase;transition:background .15s}.arm:hover>span{background:#28333B}.smallcopy{font-size:14px;line-height:20px;color:var(--muted)}p:empty{display:none}.footer{display:flex;flex-wrap:wrap;justify-content:center;gap:0 24px;margin:8px 0 0}.footer .textbutton{display:inline-flex;align-items:center;justify-content:center;min-width:44px;font-size:14px;color:var(--muted);text-decoration:none}.steps{display:flex;gap:5px}.step{width:12px;height:12px;background:var(--rule);border:2px solid transparent}.step.current{background:transparent;border-color:var(--text)}.step.done{border-color:var(--sqborder)}
.permission-symbol{width:100px;height:100px;margin:12px auto 28px}.permission-title{font-size:36px;line-height:1.1;font-weight:900;letter-spacing:-.025em;margin:12px 0 18px}.permission-copy{line-height:26px;margin:0 auto 24px;max-width:340px}.mode-choices{margin-top:8px}.mode-choices .smallcopy{margin:8px 0 24px}.mode-choices .arm:nth-of-type(2)>span{background:#29343D}.mode-choices .arm:nth-of-type(2):hover>span{background:#36434D}
.field{text-align:left;margin:12px 0}.field label{display:block;font-size:14px;font-weight:600;margin:0 0 7px}select{width:100%;padding:14px 12px;border:1px solid var(--rule);border-radius:2px;background:var(--ground);color:var(--text)}.location-button{min-height:52px;border:1px solid var(--text);background:rgba(255,255,255,.07);font-weight:700}.location-button:hover{background:rgba(255,255,255,.13)}.divider-label{display:flex;align-items:center;gap:14px;font-size:13px;color:var(--muted);margin:22px 0 6px}.divider-label::before,.divider-label::after{content:'';height:1px;background:var(--rule);flex:1}
.plate{display:inline-block;max-width:100%;border:3px solid var(--ink);background:#fff;color:var(--ink);padding:15px 18px;margin:8px auto 0}.place-name{font-size:clamp(26px,8vw,38px);font-weight:900;line-height:1.05;text-transform:uppercase;overflow-wrap:break-word;letter-spacing:.01em}.ga{font-size:20px;font-weight:600;font-style:italic;line-height:24px;margin:0 0 4px}.sub{margin:9px 0 0;color:var(--muted);font-size:15px}.screen-guess .view{padding-top:26px}.dial{display:block;width:230px;max-width:100%;height:230px;margin:0 auto;color:var(--text)}.dial text{font-family:Overpass,system-ui;font-size:12px;font-weight:700;fill:var(--text)}.dial-input{position:relative;padding:18px 0 0}.dial-input .dial{width:230px;height:230px}#dial-guess{touch-action:none;cursor:grab}#dial-guess:active{cursor:grabbing}.dial-input:focus-within .dial{outline:2px solid var(--text);outline-offset:4px;border-radius:50%}.direction-control,.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}.direction-control:focus-visible{position:static;width:90%;height:24px;clip:auto;margin:8px auto;accent-color:var(--text)}.hint{color:var(--muted);font-size:14px;line-height:20px;margin:12px auto 0;max-width:300px;min-height:20px}.round-time{display:flex;align-items:center;gap:16px;margin:12px 0 18px}.countdown{font-size:40px;line-height:40px;font-weight:900;width:48px;text-align:left}.countdown::after{content:'s';font-size:17px;margin-left:3px;font-weight:600;color:var(--muted)}.timerbar{height:5px;flex:1;background:var(--rule);overflow:hidden}.timerbar>div{height:100%;background:var(--text)}.pointing-cue{margin:auto;padding:32px 0 20px;width:100px;color:var(--text)}
.score{font-weight:900;font-size:64px;line-height:1;letter-spacing:-.03em;margin:20px 0 8px}.verdict{font-size:24px;font-weight:800;line-height:28px;margin:4px 0 18px}.dial-key{display:flex;justify-content:center;gap:25px;margin:8px 0 0;font-size:13px;color:var(--muted)}.dial-key span{display:flex;align-items:center;gap:8px}.dial-key i{width:8px;height:20px;display:inline-block;border:2px solid var(--text);transform:rotate(28deg)}.key-answer{background:var(--text)}.key-guess{background:var(--ground)}.reveal-arm{background:var(--ink);clip-path:polygon(0 0,calc(100% - 30px) 0,100% 50%,calc(100% - 30px) 100%,0 100%);padding:3px 5px 3px 3px;margin:4px auto 10px;max-width:100%;width:max-content}.reveal-face{background:#fff;color:var(--ink);clip-path:polygon(0 0,calc(100% - 28px) 0,100% 50%,calc(100% - 28px) 100%,0 100%);display:flex;align-items:center;gap:12px;padding:14px 34px 14px 14px;font-weight:900;line-height:1.1}.reveal-face b{font-size:clamp(17px,5.5vw,22px);text-transform:uppercase;overflow-wrap:anywhere}.reveal-face small{font-size:14px;white-space:nowrap}.route-note{font-size:14px;line-height:20px;color:var(--muted);margin:6px 0 12px}.screen-result .score{font-size:76px;margin:clamp(30px,6svh,60px) 0 12px}.result-caption{font-size:20px;line-height:26px;font-weight:600;margin:0 0 20px}.result-squares{display:flex;gap:9px;justify-content:center;margin:10px 0}.square-column{width:49px;text-align:center;font-size:14px;font-weight:600}.square{height:44px;border:2px solid var(--sqborder);margin-bottom:7px}.streak{margin-top:18px}#next-five{margin:14px 0 2px}.section-title{display:flex;justify-content:space-between;text-align:left;font-size:17px;font-weight:800;border-bottom:2px solid var(--text);padding-bottom:8px;margin-top:28px}table{width:100%;border-collapse:collapse;font-size:15px;text-align:left;margin:0 0 12px}td,th{padding:9px 4px;border-bottom:1px solid var(--rule)}th{font-size:12px;font-weight:400;color:var(--muted)}td:nth-last-child(-n+2),th:nth-last-child(-n+2){text-align:right}.own{font-weight:800}.empty{font-size:15px;color:var(--muted);padding:12px 0;line-height:22px}.past-place{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--rule);padding:12px 0;text-align:left}
.content{text-align:left}.content h1{font-size:36px;line-height:40px;font-weight:900;letter-spacing:-.025em;margin:12px 0 28px}.content h2{font-size:21px;line-height:28px;margin:26px 0 10px;font-weight:800}.content p{margin:0 0 18px}.content ol{padding-left:24px}.content li{padding:0 0 16px 3px}.help-detail{border-top:1px solid var(--rule);text-align:left;margin-top:18px;font-size:15px}.help-detail summary{padding:16px 0;cursor:pointer;font-weight:600}.help-detail p{line-height:23px;margin:0 0 16px}.help-detail .textbutton{margin-right:24px}.score-guide p{display:flex;align-items:center;gap:12px;font-size:15px;margin:0;padding:8px 0}.score-guide i{width:16px;height:16px}.score-guide span{flex:1}.score-guide b{font-weight:600}.menu-list{display:flex;flex-direction:column;border-top:1px solid var(--rule);margin-top:24px}.menu-list :is(button,a){text-decoration:none;text-align:left;font-size:25px;font-weight:800;border:0;border-bottom:1px solid var(--rule);background:none;padding:22px 0}.menu-list :is(button,a)::after{content:'→';float:right}.menu-list :is(button,a):hover{padding-left:5px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:90%;padding:12px 18px;background:var(--text);color:var(--ground);font-size:14px;display:none;z-index:10}
#debug{font-size:12px;line-height:17px;text-align:left;overflow-wrap:anywhere;border-top:1px solid var(--rule);margin-top:20px;padding:12px 0;color:var(--muted)}.preview-tools{margin-top:24px;border-top:1px solid var(--rule);padding-top:16px;font-size:13px;color:var(--muted)}.preview-tools label{display:block;margin-bottom:8px}.preview-tools div{display:flex;gap:8px}.preview-tools input{min-width:0;flex:1;background:var(--ground);border:1px solid var(--rule);color:var(--text);padding:8px}.preview-tools button{background:var(--text);color:var(--ground);border:0;padding:8px 18px;font-weight:800}.preview-tools p{margin:8px 0 0}
.swing{transform-origin:120px 120px;animation:reveal .35s ease-out}@keyframes reveal{from{opacity:0;transform:rotate(-12deg)}to{opacity:1;transform:rotate(0)}}
@media(max-height:740px){.shell{padding-top:12px;padding-bottom:16px}.view,.screen-guess .view{padding-top:16px}.signpost{height:160px;width:200px;margin:12px auto 0}.hero-title{font-size:40px}.hero-copy{font-size:17px;line-height:23px}.dial,.dial-input .dial{width:190px;height:190px}.dial-input{padding-top:12px}.score{font-size:56px;margin-top:12px}.screen-result .score{font-size:64px;margin-top:24px}.permission-symbol{height:75px;width:75px;margin:0 auto 20px}.permission-title{font-size:32px}.permission-copy{margin-bottom:18px}.mode-choices .smallcopy{margin-bottom:16px}.flex-space{min-height:12px}}
@media(max-width:360px){.shell{padding-left:20px;padding-right:20px}.hero-title{font-size:36px}.hero-copy{font-size:17px}.place-name{font-size:27px}.square-column{width:44px}.result-squares{gap:7px}.reveal-face{gap:8px}.arm>span{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:not(:disabled):active{transform:none}}

.developer-tools{max-width:460px;margin:auto;padding:0 24px 24px}.screen-reveal #country-result:empty{display:none}

.live-compass{margin:16px auto 0;width:230px;max-width:100%;pointer-events:none}.live-compass.waiting{opacity:.35}.heading-readout{font-size:18px;font-weight:700;margin:8px 0 0;min-height:24px}.screen-calibration .permission-copy{margin-bottom:4px}.screen-calibration .help-detail{margin-top:4px}.screen-calibration .live-compass{margin-top:8px}@media(max-height:740px){.live-compass{width:190px;margin-top:10px}.screen-calibration .permission-title{margin-bottom:10px}.screen-calibration .permission-copy{font-size:15px;line-height:21px}}

/* Keep timed actions and recovery in view, including compact phones. */
.setup-actions{display:flex;flex-direction:column;gap:8px}.setup-actions .secondary-choice{order:2;min-height:40px;background:transparent;clip-path:none}.setup-actions .secondary-choice>span{min-height:40px;background:transparent;clip-path:none;font-size:14px;font-weight:600;text-transform:none;text-decoration:underline}
.field input[type=search]{width:100%;min-height:52px;padding:12px;border:1px solid var(--rule);border-radius:2px;background:var(--ground);color:var(--text)}.field input::placeholder{color:var(--muted);opacity:.8}
.start-matches{display:grid;gap:6px;text-align:left}.start-matches button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 12px;background:#17232ce8;border:1px solid var(--rule);text-align:left}.start-matches button:hover{background:#29343d}.start-matches small{font-size:12px;line-height:17px;color:var(--muted);text-align:right}.start-matches strong{font-size:16px;line-height:20px}.screen-picker .divider-label{margin-top:18px}#start-note{margin:10px 0;line-height:20px}
.guess-review{text-align:left;border-top:1px solid var(--rule);margin-top:12px;font-size:14px}.guess-review summary{padding:12px 0;cursor:pointer}.score-meaning{margin:0 0 12px}.screen-result .streak{margin-top:8px}.screen-practice input[type=range]{display:block;width:100%;accent-color:var(--text);min-height:32px}.screen-practice label{font-size:14px}#practice-dial{touch-action:none;cursor:grab}
@media(max-height:640px){
 .screen-guess,.screen-calibration,.screen-practice{padding:8px 16px max(10px,env(safe-area-inset-bottom))}
 .screen-guess .top,.screen-calibration .top,.screen-practice .top{min-height:36px}
 .screen-guess .logo,.screen-calibration .logo,.screen-practice .logo{width:108px}
 .screen-guess .view,.screen-calibration .view,.screen-practice .view{padding-top:8px}
 .screen-guess .eyebrow{margin-bottom:4px;font-size:13px}
 .screen-guess .plate{padding:9px 12px;margin-top:4px}.screen-guess .place-name{font-size:24px}.screen-guess .ga{font-size:16px;line-height:18px;margin-bottom:2px}.screen-guess .sub{font-size:13px;line-height:18px;margin-top:5px}
 .screen-guess .dial,.screen-guess .dial-input .dial,.screen-guess .live-compass{width:136px;height:136px}
 .screen-guess .dial-input{padding-top:5px}.screen-guess .live-compass{margin-top:5px}.screen-guess .heading-readout{font-size:15px;line-height:20px;min-height:20px;margin-top:4px}
 .screen-guess .hint{font-size:13px;line-height:17px;margin-top:5px;min-height:17px}.screen-guess .round-time{margin:6px 0 8px}.screen-guess .countdown{font-size:28px;line-height:30px}
 .screen-guess .flex-space,.screen-calibration .flex-space,.screen-practice .flex-space{min-height:4px}
 .screen-guess .arm,.screen-calibration .arm,.screen-practice .arm{min-height:50px}.screen-guess .arm>span,.screen-calibration .arm>span,.screen-practice .arm>span{min-height:46px;padding-top:6px;padding-bottom:6px;font-size:17px}
 .screen-calibration .permission-title,.screen-practice .permission-title{font-size:28px;margin:6px 0 8px}
 .screen-calibration .permission-copy,.screen-practice .permission-copy{font-size:14px;line-height:19px;margin-bottom:4px}
 .screen-calibration .live-compass,.screen-calibration .dial,.screen-practice .dial{width:120px;height:120px}
 .screen-calibration .heading-readout{font-size:15px;line-height:20px;min-height:20px;margin:4px 0 0}
 .screen-calibration #calibration-status{margin:5px 0;font-size:13px;line-height:18px}
 .screen-calibration .help-detail{font-size:13px;margin-top:2px}.screen-calibration .help-detail summary{padding:9px 0}
 .screen-calibration .setup-actions{gap:5px}.screen-practice .dial-input{padding-top:4px}.screen-practice #practice-feedback{margin:5px 0}
}

/* Leagues and owner tools share the game's restrained signs and clear type. */
.field input,.field textarea,.league-tools textarea,.moderation-form textarea,.admin-range input,.admin-search input,.invite-copy{width:100%;min-height:48px;padding:12px;border:1px solid var(--rule);border-radius:2px;background:var(--ground);color:var(--text);font:inherit}
.form-error{color:#ffb4a7;font-size:14px;line-height:20px}.league-list{display:grid;gap:12px;margin:8px 0 24px}.league-card{position:relative;background:#101c25d9;border:1px solid var(--rule);border-left:4px solid var(--text);padding:20px 44px 18px 16px;text-align:left}.league-card strong,.league-card span{display:block}.league-card strong{font-size:23px;line-height:28px;overflow-wrap:anywhere}.league-card span{font-size:14px;color:var(--muted);margin-top:5px}.league-card>b{position:absolute;right:18px;top:27px;font-size:24px}.segmented{display:flex;border:1px solid var(--rule);padding:4px;gap:4px;margin:12px 0}.segmented button{flex:1;border:0;padding:10px;background:transparent;font-weight:700;min-height:44px}.segmented button[aria-pressed=true]{color:var(--ink);background:var(--text)}.period-tabs{border:0;border-bottom:1px solid var(--rule);padding:0}.period-tabs button[aria-pressed=true]{background:transparent;color:var(--text);border-bottom:3px solid var(--text)}.league-summary{font-size:23px;line-height:29px;font-weight:800;margin:24px 0 6px}.table-scroll{overflow-x:auto;max-width:100%;margin-top:18px}.league-table th[scope=row]{font-size:16px;color:inherit;font-weight:600;overflow-wrap:anywhere;max-width:150px;text-align:left}.league-table tr.own{background:#ffffff10}.league-table td{font-size:14px}.league-tools{margin-top:22px}.league-tools .location-button{width:100%;margin:8px 0}.league-tools label{display:block;font-size:14px;margin-top:16px}.league-tools textarea{margin:8px 0 0}.screen-leagues .permission-title{overflow-wrap:anywhere}.screen-leagues .arm{margin-top:10px}.screen-leagues #invite-friends{width:100%}.screen-leagues .view{padding-bottom:12px}
.screen-admin{max-width:960px}.screen-admin .view{text-align:left}.screen-admin .permission-title{margin-bottom:24px}.admin-range{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.admin-range label{flex:1;min-width:135px;font-size:13px}.admin-range input{margin-top:5px}.admin-range button{padding:10px 22px}.admin-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid var(--rule);margin:24px 0}.admin-tabs button{border:0;background:none;min-height:44px;padding:10px 16px;font-weight:700}.admin-tabs button[aria-pressed=true]{border-bottom:3px solid var(--text)}.admin-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.admin-metrics>div{border:1px solid var(--rule);background:#101c25d9;padding:20px}.admin-metrics b{font-size:38px;line-height:42px;display:block}.admin-metrics span{font-size:13px;line-height:18px;display:block;color:var(--muted);margin-top:8px}.activity-bars>div{display:flex;align-items:center;gap:14px;margin:14px 0;font-size:14px}.activity-bars>div>div{flex:1;height:12px;background:#ffffff12}.activity-bars i{display:block;height:100%;background:var(--text)}.activity-bars b{min-width:30px;text-align:right}.admin-card{border:1px solid var(--rule);background:#101c25d9;padding:18px;margin:14px 0;overflow-wrap:anywhere}.admin-card-heading{display:flex;justify-content:space-between;gap:16px}.admin-card-heading>b{font-size:20px}.admin-card-heading strong{font-size:25px}.admin-card .textbutton{margin-right:18px}.admin-card summary{cursor:pointer;padding:10px 0}.admin-search{display:flex;gap:10px}.admin-search input{min-width:0;flex:1}.admin-search button{padding:8px 16px}.admin-paging{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0}.admin-paging button{padding:10px 18px}.admin-paging span{font-size:13px}.export-link{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;text-decoration:none;min-height:48px}.admin-member{border-top:1px solid var(--rule);padding-top:16px;margin-top:16px}.moderation-form{border-left:3px solid var(--orange);padding:8px 14px;margin:8px 0}.moderation-form label{font-size:14px}.moderation-form textarea{margin-top:8px}.moderation-actions{display:flex;align-items:center;gap:18px}.moderation-actions .location-button{padding:6px 22px}.admin-note{border-top:1px solid var(--rule);padding-top:20px;margin-top:24px}.screen-admin h2{font-size:22px;margin-top:30px}.screen-result [data-action=leagues]{margin-top:18px}
@media(max-width:600px){.admin-metrics{grid-template-columns:repeat(2,1fr)}.admin-metrics>div{padding:14px}.admin-tabs button{padding:10px;font-size:14px}.screen-admin .shell{padding:16px}.league-table th[scope=row]{max-width:110px;font-size:14px}.league-table td{font-size:12px}.admin-card-heading{flex-wrap:wrap}.admin-range{gap:8px}}

.screen-phone-handoff .view{justify-content:center;flex:0;padding-top:clamp(28px,6svh,64px)}.screen-phone-handoff .permission-copy{margin-bottom:24px}.phone-qr{display:block;width:264px;max-width:100%;align-self:center;background:#fff;line-height:0}.phone-qr img{display:block;width:100%;height:auto;image-rendering:pixelated}.screen-phone-handoff [data-action=copyphone]{align-self:center;margin-top:12px}.phone-practice{margin-top:28px;padding-top:12px;border-top:1px solid var(--rule)}.phone-practice .textbutton{color:var(--muted)}

.league-table thead th:nth-child(2){text-align:left}.league-table td:last-child{white-space:nowrap}

/* A small home for saved games, transfers and installation. */
.screen-settings .permission-title{margin-bottom:24px}
.player-summary{display:flex;align-items:center;gap:16px;text-align:left;margin:0 0 28px}
.player-summary img,.home-icon,.install-offer img{border-radius:20%;flex-shrink:0}
.player-summary strong{font-size:24px;overflow-wrap:anywhere}.player-summary p{font-size:15px;line-height:22px;margin:4px 0;color:var(--muted)}
.player-install{margin:12px 0 20px}.player-controls{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.player-controls .location-button{flex:1;min-width:120px;padding:12px}
.transfer-code{font-size:clamp(16px,4.3vw,24px);line-height:1.5!important;letter-spacing:.025em;font-family:monospace;font-weight:700;text-align:center;padding:18px 8px;background:var(--ground);border:1px solid var(--rule);user-select:all;overflow-wrap:anywhere}
#transfer-in{margin:18px 0}#transfer-in label{display:block;margin-bottom:8px}#player-code{display:block;width:100%;min-width:0;padding:14px 10px;font:16px monospace;background:var(--ground);color:var(--text);border:1px solid var(--rule);border-radius:2px;text-transform:uppercase}#transfer-in button{width:100%;margin-top:12px;padding:12px}
.player-message{border-left:3px solid var(--green);padding:12px 16px;background:#101c25d9;text-align:left;font-size:15px;line-height:23px}
.admin-range[hidden]{display:none}
.settings-links{border-top:1px solid var(--rule);margin:0 0 28px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:56px;padding:16px 0;border:0;border-bottom:1px solid var(--rule);background:none;text-align:left;font-size:16px;font-weight:600}.settings-row b{font-weight:400}.settings-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 22px;margin:24px 0 8px}.settings-footer .textbutton{font-size:14px;margin:0}.screen-settings .help-detail{margin-top:0}.screen-settings .player-summary{margin-bottom:18px}.screen-settings>.view>.textbutton{margin-top:24px}.screen-report .field{text-align:left}.screen-report textarea{resize:vertical}.report-consent{display:flex;gap:12px;align-items:center;text-align:left;font-size:14px;line-height:20px;margin-top:20px;min-height:44px}.report-consent input{width:20px;height:20px;flex-shrink:0;accent-color:var(--text)}.report-note{text-align:left;font-size:12px;margin:6px 0 16px}.screen-support .arm{display:block;text-decoration:none}.screen-support p{line-height:25px}.report-message{white-space:pre-wrap}.admin-settings label{display:block;margin-bottom:8px}.admin-settings input{width:100%;padding:12px;font:inherit;color:var(--text);background:var(--ground);border:1px solid var(--rule)}.admin-settings button{padding:12px 20px;margin-top:12px}
.home-icon{display:block;margin:0 auto 24px}.screen-install .permission-title{font-size:34px;line-height:1.15;margin:0 0 24px}.install-instructions{font-size:18px;line-height:27px;text-align:left}.install-instructions ol{padding-left:26px;margin:0 0 24px}.install-instructions li{padding:0 0 16px 6px}.install-instructions .phone-qr{margin:20px auto}.screen-install>.view>.smallcopy{margin:20px 0}.install-offer{display:flex;align-items:center;gap:12px;border-top:1px solid var(--rule);padding-top:20px;margin-top:28px;text-align:left}.install-offer>div{flex:1;min-width:0}.install-offer p{font-size:13px;line-height:18px;color:var(--muted);margin:4px 0}.install-offer .textbutton{margin:0;font-size:15px;padding:4px 0}.install-offer>button{font-size:26px;min-width:44px;min-height:44px;text-decoration:none}

/* Keep the round action inside the visible viewport as browser bars expand.
   Only the round details scroll, so zoom and long place names cannot hide it. */
.screen-guess,.screen-reveal{height:100vh;height:100svh;height:100dvh;min-height:0;padding-bottom:max(12px,env(safe-area-inset-bottom))}
.screen-guess .top,.screen-reveal .top{flex-shrink:0}
.screen-guess .view,.screen-reveal .view{min-height:0;overflow:hidden}
.round-content{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;overscroll-behavior-y:contain;scrollbar-width:thin}
.round-content>*{flex-shrink:0}
.round-content:focus-visible{outline:2px solid var(--text);outline-offset:-2px}
.round-actions{flex-shrink:0;padding-top:12px}
.round-actions .arm{display:block}
.round-actions .round-time{margin:0 0 10px}
@media(max-height:640px){
 .screen-reveal{padding-top:8px;padding-left:16px;padding-right:16px}
 .screen-reveal .top{min-height:36px}.screen-reveal .logo{width:108px}
 .screen-reveal .view{padding-top:8px}
 .screen-reveal .dial{width:136px;height:136px}
 .screen-reveal .dial-key{font-size:12px;line-height:18px;gap:20px;margin-top:4px}
 .screen-reveal .dial-key i{height:16px}
 .screen-reveal .score{font-size:48px;margin:10px 0 4px}
 .screen-reveal .verdict{font-size:22px;line-height:25px;margin:2px 0 8px}
 .screen-reveal .reveal-arm{margin:4px auto 8px}
 .screen-reveal .reveal-face{padding:10px 30px 10px 12px}
 .screen-reveal .route-note{margin:4px 0 8px}
 .screen-reveal #country-result{font-size:13px;line-height:18px;margin:6px 0}
 .round-actions{padding-top:8px}.round-actions .round-time{margin-bottom:8px}
 .screen-reveal .arm{min-height:50px}.screen-reveal .arm>span{min-height:46px;padding-top:6px;padding-bottom:6px;font-size:17px}
}
@media(max-height:500px){
 .screen-reveal .dial{width:112px;height:112px}
 .screen-reveal .score{font-size:44px;margin-top:6px}
}

.faq{max-width:640px}
.faq article{padding:30px 0 12px}
.faq h1{font-size:clamp(32px,6vw,44px);line-height:1.1}
.faq h2{margin:32px 0 8px}
.faq details{border-bottom:1px solid var(--rule)}
.faq summary{padding:14px 0;cursor:pointer;font-weight:700;line-height:1.45}
.faq details p{color:var(--muted);line-height:1.5}
.content .faq-contact{margin:28px 0 8px}
.faq-contact a{display:inline-block;padding:10px 0;text-underline-offset:4px}

.owner-test-bar{display:flex;flex:none;align-items:center;gap:14px;border-bottom:1px solid var(--rule);font-size:14px;line-height:18px}
.owner-test-bar>:first-child{margin-right:auto;color:var(--muted);font-weight:700}
.owner-test-bar a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:3px}
