@font-face{font-family:Manrope;src:url('../four-to-win/fonts/manrope-regular.woff') format('woff');font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url('../four-to-win/fonts/manrope-bold.woff') format('woff');font-weight:700 900;font-display:swap}
:root{--ink:#292638;--paper:#f7f2e7;--blue:#4d63ed;--pink:#f6a9bd;--yellow:#ffcf51;--mint:#bce8d7;--view-height:100dvh;color-scheme:light;font-family:Manrope,system-ui,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;background-image:radial-gradient(#39314415 .7px,transparent .7px);background-size:9px 9px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:var(--ink)}button:disabled{cursor:wait;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:4px}button,input,select{touch-action:manipulation}button{min-height:44px}input,select{font-size:16px;border:2px solid var(--ink);background:#fffdf7;color:var(--ink);border-radius:10px;padding:13px;width:100%;min-height:48px}input[readonly]{background:#e9e4d9}label{font-weight:700;display:block;margin-bottom:8px}p{line-height:1.6}h1,h2,h3,p{margin-top:0}h2{font-size:clamp(32px,7vw,48px);line-height:1.06;letter-spacing:-1.8px;font-weight:900;margin-bottom:18px}h2 span{color:var(--blue)}.shell{max-width:700px;margin:auto;padding:0 22px calc(22px + env(safe-area-inset-bottom))}.topbar{display:flex;justify-content:space-between;align-items:center;min-height:76px;gap:12px;font-size:13px;font-weight:800}.arcade-link,.account-link{text-decoration:none}.arcade-link span{margin-right:6px}.top-actions{display:flex;align-items:center;gap:14px}.icon-button{border:2px solid var(--ink);border-radius:50%;background:var(--yellow);width:40px;min-height:40px;font-size:23px;box-shadow:2px 2px 0 var(--ink)}.audio-panel{display:flex;justify-content:flex-end;gap:8px;padding-bottom:12px}.audio-panel[hidden]{display:none}.audio-panel button{border:1.5px solid var(--ink);border-radius:8px;background:white;padding:6px 12px}.audio-panel button[aria-pressed=false]{background:#e6e0d5;color:#595462}.eyebrow{font-size:10px;font-weight:900;letter-spacing:1.7px;line-height:1.4;margin:10px 0 12px}.spark{color:var(--blue);font-size:19px;vertical-align:middle;margin-right:4px}.hero{max-width:560px;margin:auto}.hero>.eyebrow{text-align:center}.hero-art{height:310px;position:relative;margin:4px 0 6px}.hero h1{position:relative;z-index:1;font-size:clamp(72px,14vw,104px);font-weight:900;letter-spacing:-6px;line-height:.92;transform:rotate(-3deg);padding-top:12px;margin:0 0 0 16px;-webkit-text-stroke:1.2px var(--ink);text-shadow:3px 4px 0 #fffdf6}.hero h1>span{color:var(--blue);-webkit-text-stroke:1.8px var(--ink);text-shadow:4px 5px 0 var(--ink)}.title-dot{color:#f6a9bd}.sketch{position:absolute;width:210px;height:auto;right:0;bottom:-5px;transform:rotate(6deg);filter:drop-shadow(0 4px 0 #2926380d)}.sticker{position:absolute;z-index:2;bottom:35px;left:25px;background:var(--yellow);font-size:12px;line-height:1.25;font-weight:900;text-align:center;padding:12px 18px;border:2px solid var(--ink);border-radius:4px;transform:rotate(-9deg);box-shadow:3px 3px 0 var(--ink)}.doodle{position:absolute;left:168px;bottom:20px;width:90px;fill:none;stroke:var(--blue);stroke-width:3;stroke-linecap:round;transform:rotate(-8deg)}.tagline{text-align:center;font-size:19px;font-weight:900;letter-spacing:-.5px;margin:8px 0}.intro{text-align:center;font-size:14px;color:#625e6a;margin-bottom:26px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:2px solid var(--ink);border-radius:12px;padding:13px 18px;min-height:48px;font-weight:800;background:#fffdf7;box-shadow:3px 4px 0 var(--ink);transition:transform .1s,box-shadow .1s;text-decoration:none}.btn:active{transform:translate(2px,2px);box-shadow:1px 2px 0 var(--ink)}.primary{background:var(--yellow)}.blue{background:var(--blue);color:white}.pink{background:var(--pink)}.mode-grid{display:grid;gap:13px}.mode-grid .btn{width:100%;text-align:left;justify-content:flex-start;padding:14px 18px}.mode-grid strong{font-size:19px;display:block}.mode-grid small{font-size:11px;display:block;font-weight:500;margin-top:3px}.mode-grid b{margin-left:auto;font-size:25px}.mode-icon{font-size:27px;min-width:35px}.home-links{display:flex;flex-wrap:wrap;justify-content:center;gap:0 10px;margin-top:15px}.text-button{background:transparent;border:0;box-shadow:none;text-decoration:underline;text-underline-offset:4px;font-size:13px;padding:9px 3px}.text-button:active{transform:none;box-shadow:none}.settings,.rules{border-top:1.5px solid #2926382b;margin-top:18px;padding:14px 0}.settings summary,.rules summary{font-size:13px;font-weight:800;cursor:pointer;min-height:30px}.settings summary span{display:block;font-size:11px;color:#625e6a;font-weight:400;margin-top:5px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:16px}.settings-grid label{font-size:12px}.settings-grid select{padding:10px 6px;font-size:12px}.rules{margin-top:0}.rules ol{padding-left:20px;font-size:13px;line-height:1.7}.rules li{margin-bottom:12px}.rules p{font-size:12px;color:#625e6a}.record-strip{display:flex;align-items:center;justify-content:space-between;border-top:1.5px solid #2926382b;padding:20px 0;font-size:9px;letter-spacing:1px}.record-strip b{font-size:28px;display:block;letter-spacing:-1px}.record-strip small{font-size:15px;font-weight:400}.game-footer{text-align:center;font-size:10px;color:#716a76;line-height:1.7;margin:30px 0 0}.game-footer a{display:block;margin-top:8px}#message{font-size:13px;color:#684221;background:#fff0bd;border-radius:8px;padding:9px 12px;overflow-wrap:anywhere;margin:14px 0 0}#message:empty{display:none}.setup,.lobby,.history{padding-top:16px;max-width:520px;margin:auto}.setup>p,.lobby>p,.history>p{font-size:14px}.setup form{margin-top:26px}.setup form>.btn{width:100%;margin-top:14px}.join-divider{text-align:center;font-size:12px;color:#625e6a;margin:24px 0}.join-row{display:flex;gap:10px}.join-row input{text-transform:uppercase;letter-spacing:3px;min-width:0}.small-note{font-size:12px!important;color:#716a76;text-align:center;line-height:1.7;margin:20px 0}.room-ticket{border:2px dashed var(--ink);border-radius:15px;background:var(--yellow);text-align:center;padding:18px;margin:24px 0}.room-ticket>span{font-size:10px;font-weight:900;letter-spacing:2px}.room-ticket>strong{display:block;font-size:42px;letter-spacing:7px;margin:8px}.room-ticket>div{display:flex;gap:10px;justify-content:center}.small{font-size:12px;padding:6px 14px;min-height:40px;box-shadow:2px 2px 0 var(--ink)}.roster{padding:0;list-style:none;display:grid;gap:10px}.roster li{display:flex;gap:12px;align-items:center;padding:10px;background:#fffdf7;border:1.5px solid #29263830;border-radius:10px;font-size:14px;font-weight:800}.roster small{font-weight:400;color:#716a76;font-size:10px}.player-dot{width:30px;height:30px;display:grid;place-items:center;border:1.5px solid var(--ink);border-radius:9px;background:var(--mint)}.color-1{background:var(--pink)}.color-2{background:var(--yellow)}.color-3{background:#d3d9fc}.remove{margin-left:auto;font-size:24px;padding:0 12px;box-shadow:none;border:0;background:none}.lobby>.primary{width:100%;margin-top:18px}.waiting{text-align:center;font-size:14px;padding:12px;background:#e9e5f2;border-radius:12px}.playing{position:fixed;inset:0;overscroll-behavior:none;overflow:hidden}.playing .shell{height:var(--view-height);max-width:600px;padding:0 14px max(8px,env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow:hidden}.playing .topbar{min-height:48px;flex-shrink:0;font-size:11px}.playing .icon-button{width:33px;min-height:33px;font-size:19px}.playing .game-footer{display:none}.playing #app{flex:1;min-height:0;display:flex}.playing #message{flex-shrink:0;max-height:48px;overflow:auto;margin:5px 0 0;padding:6px 9px;font-size:11px}.play-screen{display:flex;flex-direction:column;gap:8px;width:100%;min-height:0}.play-heading{display:flex;align-items:center;justify-content:space-between;min-height:28px;flex-shrink:0}.round-label{font-size:10px;font-weight:900;letter-spacing:1.5px}.exit-button{min-height:28px;width:35px;border:0;background:none;font-size:22px}.play-info{display:flex;justify-content:space-between;align-items:center;min-height:31px;flex-shrink:0;font-size:11px;font-weight:900;letter-spacing:1px}.timer{font-size:23px;font-variant-numeric:tabular-nums;letter-spacing:-1px}.timer-track{height:6px;border-radius:4px;background:#ded9ce;overflow:hidden;flex-shrink:0}#timer-fill{height:100%;background:var(--blue);border-radius:4px;transition:width .1s linear}.urgent #timer-fill{background:#cc4e59}.urgent .timer{color:#ac3441}.prompt{text-align:center;font-size:clamp(28px,7vw,43px);line-height:1.05;margin:4px 0;letter-spacing:-1.4px;text-transform:none;flex-shrink:0;overflow-wrap:anywhere}.canvas-space{flex:1;min-height:0;display:grid;place-items:center;container-type:size}.paper{position:relative;background:#fffefd;border:2px solid var(--ink);border-radius:5px;width:min(100cqw,100cqh);height:min(100cqw,100cqh);max-width:100%;max-height:100%;overflow:hidden;box-shadow:0 3px 0 #29263820}.paper canvas{display:block;width:100%;height:100%}.drawing-paper canvas{touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none}.canvas-hint{position:absolute;top:48%;left:10px;right:10px;text-align:center;pointer-events:none;font-size:12px;color:#a39ca8}.canvas-hint[hidden]{display:none}.paper-corner{position:absolute;top:0;right:0;border-left:18px solid transparent;border-top:18px solid #efe9da;pointer-events:none}.drawing-tools{display:flex;gap:9px;align-items:center;flex-shrink:0;padding:4px 0}.tool{min-height:42px;box-shadow:none;font-size:12px;padding:7px 12px}.drawing-tools>span{font-size:9px;color:#716a76;line-height:1.5;margin-left:auto;max-width:100px;text-align:right}.countdown-body{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:0;text-align:center}.countdown-sketch{width:min(37vw,150px);height:auto;max-height:28%;object-fit:contain;flex-shrink:1}.countdown-body h2{font-size:34px;margin:10px 0}.countdown-body>p{font-size:12px;max-width:280px;margin:10px 0}.countdown-body>strong{font-size:70px;color:var(--blue);font-weight:900;line-height:1.1}.guess-progress{display:flex;align-items:center;gap:7px;font-size:12px;flex-shrink:0}.guess-progress>strong{font-size:19px}.guess-progress>button{margin-left:auto;min-height:30px;font-size:11px}.guessing #guess-form{flex-shrink:0;display:grid;gap:8px;margin-top:3px}.guessing input{height:45px;min-height:45px;padding:8px 12px}.guess-actions{display:grid;grid-template-columns:1fr 1.7fr;gap:10px}.guess-actions .btn{min-height:43px;padding:8px 12px;font-size:14px}.guessing #guess-feedback{min-height:16px;font-size:10px;text-align:center;margin:2px 0 0}.gallery-title{text-align:center;padding:24px 0 0}.gallery-title h2{font-size:49px;transform:rotate(-2deg);letter-spacing:-2px}.gallery-title p:last-child{font-size:14px;max-width:440px;margin:0 auto 20px}.scoreboard{list-style:none;padding:0;display:grid;gap:8px}.scoreboard li{display:grid;grid-template-columns:20px 1fr auto;gap:5px 10px;align-items:center;padding:12px 14px;border:1.5px solid #29263830;background:#fffdf7;border-radius:10px;font-size:13px}.scoreboard .is-me{background:#fff0bd;border:2px solid var(--ink)}.scoreboard small{font-size:10px;font-weight:400}.scoreboard b{font-size:22px}.scoreboard em{font-style:normal;font-size:10px;grid-column:2/4;color:#716a76}.gallery-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:22px 0}.artist-tabs{display:flex;gap:8px;overflow:auto;padding:5px 2px 10px;margin:14px 0 10px}.artist-tab{min-height:40px;font-size:12px;white-space:nowrap;padding:8px 14px;box-shadow:none}.artist-tab[aria-pressed=true]{background:var(--blue);color:white}.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 16px}.art-card{min-width:0}.fancy-frame{position:relative;padding:9px;background:linear-gradient(135deg,#f6d784,#c58e3d 47%,#e9bb64 49%,#f7df9c);border:2px solid #7a5528;box-shadow:2px 3px 0 #29263825;border-radius:3px;transform:rotate(-1deg)}.art-card:nth-child(2n) .fancy-frame{transform:rotate(2deg)}.fancy-frame canvas{aspect-ratio:1;background:#fffefd;display:block;width:100%;height:auto;border:2px solid #906635}.frame-badge{position:absolute;right:-8px;bottom:-9px;width:27px;height:27px;border:2px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:900;background:var(--pink)}.correct .frame-badge{background:var(--mint)}.art-label{padding-top:12px;text-align:center}.art-label strong{font-size:14px;text-transform:capitalize;display:block}.art-label span{font-size:10px;color:#716a76;display:block;margin-top:4px;overflow-wrap:anywhere}.history-list{padding:0;list-style:none}.history-list li{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #29263822;padding:15px 0}.history-list b{display:block;font-size:25px}.history-list span,.history-list time{font-size:11px;color:#716a76}.empty{padding:25px;text-align:center;background:#e9e5f2;border-radius:12px}.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}.loading{text-align:center;margin-top:120px;font-size:15px}.playing #arcade-save-status{font-size:10px!important;line-height:1.35!important;padding:5px 8px!important;margin:3px 0!important;flex-shrink:0}.playing #arcade-guest-import{display:none}
@media(min-width:650px){.hero-art{height:330px}.sketch{width:230px;right:8px}.hero h1{font-size:110px}.hero .sticker{left:34px;bottom:31px}.hero .doodle{left:210px}.mode-grid{max-width:480px;margin:auto}.hero>.intro{margin-bottom:25px}.hero .settings,.hero .rules,.hero .record-strip{max-width:480px;margin-left:auto;margin-right:auto}.gallery-grid{grid-template-columns:repeat(3,1fr)}.art-show{padding-bottom:20px}}
@media(max-width:380px){.shell{padding-left:16px;padding-right:16px}.hero h1{font-size:72px;letter-spacing:-5px;margin-left:8px}.hero-art{height:282px}.sketch{width:178px;right:-8px}.sticker{left:12px;bottom:27px;padding:10px 13px;font-size:10px}.doodle{left:140px;bottom:28px;width:66px}.tagline{font-size:17px}.eyebrow{font-size:9px;letter-spacing:1.3px}.mode-grid .btn{padding:12px}.mode-grid small{font-size:10px}.settings-grid{grid-template-columns:1fr}.record-strip{gap:15px}.room-ticket>strong{font-size:34px}}
@media(max-height:550px){.playing .topbar{min-height:34px}.playing .top-actions{gap:10px}.playing .icon-button{min-height:27px;width:27px;font-size:16px}.playing .play-screen{gap:4px}.playing .play-heading{min-height:20px}.playing .play-info{min-height:24px}.playing .round-label{font-size:9px}.playing .timer{font-size:19px}.playing .prompt{font-size:25px;margin:0}.playing .countdown-body h2{font-size:25px}.playing .countdown-body>strong{font-size:40px}.playing .guess-progress>strong{font-size:15px}.playing .guessing input{height:40px;min-height:40px}.playing .guess-actions .btn{min-height:36px;padding:5px 10px}.playing .guessing #guess-form{gap:5px}.playing .guessing #guess-feedback{font-size:9px;min-height:12px}.playing .drawing-tools{padding:2px 0}.playing .tool{min-height:34px}.playing .audio-panel{padding:0}.playing .audio-panel button{min-height:30px;padding:3px 8px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.party-modes{border:0;padding:0;margin:4px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.party-modes legend{font-size:13px;font-weight:800;margin-bottom:10px}.party-modes label{display:flex;align-items:center;gap:9px;border:2px solid #29263830;border-radius:12px;background:#fffdf7;padding:14px 10px;cursor:pointer;min-width:0}.party-modes label:has(input:checked){border-color:var(--ink);background:var(--yellow);box-shadow:2px 2px 0 var(--ink)}.party-modes input{width:18px;height:18px;min-height:0;margin:0;padding:0;flex-shrink:0;accent-color:var(--blue)}.party-modes span{font-size:13px}.party-modes small{display:block;font-size:10px;font-weight:400;line-height:1.5;margin-top:3px}.setup .party-description{font-size:12px;margin:0 0 12px;line-height:1.6}.team-roster{display:grid;gap:15px}.team-card{border:2px solid var(--ink);border-radius:13px;padding:14px;background:var(--mint)}.team-card.color-1{background:#f8d0df}.team-card.color-2{background:#fff0b9}.team-card.color-3{background:#dce2fc}.team-card h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 9px;font-size:17px}.team-card h3 small{font-size:10px;font-weight:600}.team-card .roster{margin:0}.roster li>span:nth-child(2){min-width:0;overflow-wrap:anywhere;flex:1}.teammate-choice{display:block;font-size:11px;font-weight:700;margin-top:13px}.teammate-choice select{display:block;width:100%;margin-top:6px;min-height:44px;font-size:14px}.team-members{display:block;overflow-wrap:anywhere;line-height:1.5;margin-top:3px}.scoreboard strong{min-width:0;overflow-wrap:anywhere}.artist-credit{text-align:center;font-size:12px;line-height:1.6;margin:12px 0 22px;overflow-wrap:anywhere}#stage-label{max-width:calc(100% - 45px);overflow-wrap:anywhere}.play-info{gap:8px}.play-info .timer{flex-shrink:0}

/* One saved artist, visible from setup through the final collection. */
.artist-avatar{display:inline-grid;place-items:center;vertical-align:middle;width:44px;height:44px;flex-shrink:0;border:1.5px solid var(--ink);border-radius:12px;background:#fffdf7;font-size:29px;line-height:1;overflow:hidden}.artist-avatar img{display:block;width:100%;height:100%;object-fit:cover}.artist-avatar[data-avatar-id=sketch] img{object-fit:contain;padding:3px}.player-menu{display:flex;align-items:center;gap:6px;border:0;background:none;padding:2px 0;font-size:11px;font-weight:800;max-width:135px;min-height:36px}.player-menu>.artist-avatar{width:29px;height:29px;font-size:21px;border-radius:9px}.player-menu>span:last-child{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-card{display:flex;width:100%;align-items:center;text-align:left;gap:12px;margin:12px 0 20px;padding:12px 14px;box-shadow:2px 3px 0 var(--ink);background:#fffdf7}.player-card>span:nth-child(2){min-width:0}.player-card strong{display:block;overflow-wrap:anywhere;font-size:15px}.player-card small{display:block;font-size:11px;font-weight:400;line-height:1.4;margin-top:4px}.player-card>b{margin-left:auto;font-size:23px}.pace-choices{border:0;padding:0;margin:20px 0 12px;display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.pace-choices legend{font-size:12px;font-weight:800;margin-bottom:9px}.pace-choices label{position:relative;display:block;text-align:center;cursor:pointer;background:#fffdf7;border:2px solid #29263830;border-radius:11px;padding:10px 4px;font-size:13px;font-weight:800}.pace-choices input{position:absolute;inset:0;opacity:0;width:100%;height:100%;min-height:0;margin:0;padding:0;z-index:1;cursor:pointer}.pace-choices small{display:block;font-size:11px;font-weight:400;margin-top:4px}.pace-choices label:has(input:checked){background:var(--yellow);border-color:var(--ink);box-shadow:2px 2px 0 var(--ink)}.pace-choices label:has(input:focus-visible){outline:3px solid var(--blue);outline-offset:3px}.category-label{display:block;font-size:12px;padding-top:12px}.category-label select{width:100%;margin-top:7px}.hero>.player-card,.hero>.pace-choices{max-width:480px;margin-left:auto;margin-right:auto}.hero>.settings{margin-top:0;margin-bottom:22px}.setup .player-card{margin-top:8px;margin-bottom:4px}.setup .pace-choices{margin-top:12px}.setup .settings{margin-top:0;margin-bottom:18px}.roster .artist-avatar{width:33px;height:33px;font-size:23px;border-radius:9px}.scoreboard strong>.artist-avatar{width:29px;height:29px;font-size:21px;margin-right:8px;border-radius:8px}.team-members{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.team-members>.artist-avatar{width:22px;height:22px;font-size:16px;border-radius:6px}.artist-tab{display:flex;align-items:center;gap:7px}.artist-tab>.artist-avatar,.artist-credit>.artist-avatar{width:26px;height:26px;font-size:19px;border-radius:7px}.artist-credit>.artist-avatar{margin:0 4px}.history-list li{gap:10px}.history-list li>div{flex:1;min-width:0}.history-list .artist-avatar{width:32px;height:32px;font-size:23px}.history-list span{line-height:1.6}.history-list time{flex-shrink:0}#stage-label{display:flex;align-items:center;gap:6px}#stage-label>.artist-avatar{width:24px;height:24px;font-size:17px;border-radius:7px}
#player-dialog{width:calc(100% - 24px);max-width:430px;max-height:calc(var(--view-height,100dvh) - 24px);border:3px solid var(--ink);border-radius:20px;padding:20px;background:var(--paper);color:var(--ink);box-shadow:7px 7px 0 #29263833;overflow:hidden}#player-dialog::backdrop{background:#2420359c;backdrop-filter:blur(3px)}.artist-editor{display:flex;flex-direction:column;max-height:calc(var(--view-height,100dvh) - 70px);gap:10px;min-height:0}.artist-editor-heading{flex-shrink:0}.artist-editor-heading .eyebrow{margin:0 0 6px}.artist-editor h2{font-size:32px;margin:0}.artist-fields{overflow:auto;min-height:0;padding:2px 4px;overscroll-behavior:contain}.artist-fields>label{display:block;font-size:13px;font-weight:800;margin:12px 0 7px}.artist-fields>input{width:100%;font-size:16px;min-height:46px}#artist-preview{display:flex;gap:13px;align-items:center;padding:6px 0}#artist-preview>.artist-avatar{width:58px;height:58px;font-size:38px}#artist-preview strong{font-size:16px;overflow-wrap:anywhere}.avatar-picker{border:0;margin:18px 0 12px;padding:0}.avatar-picker legend{font-size:13px;font-weight:800;margin-bottom:9px}.avatar-picker>div{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.avatar-picker button{border:2px solid transparent;min-width:0;min-height:52px;padding:3px;display:grid;place-items:center;background:#e9e3d8;border-radius:12px}.avatar-picker button[aria-pressed=true]{background:var(--yellow);border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.avatar-picker .artist-avatar{width:38px;height:38px;font-size:28px;border:0;background:transparent}.player-note{font-size:11px;line-height:1.6;color:#716a76;margin:12px 0}.player-account{font-size:12px;font-weight:800;display:inline-block;padding:5px 0}.artist-editor-actions{display:grid;grid-template-columns:1fr 1.7fr;gap:10px;flex-shrink:0;padding-top:3px}.artist-editor-actions .btn{font-size:13px;min-height:45px;padding:10px 8px}#player-save-status{margin:0;font-size:11px;line-height:1.5;color:#8d3a24;flex-shrink:0}#player-save-status:empty{display:none}@media(max-width:350px){.player-menu>span:last-child{max-width:65px}.avatar-picker>div{gap:5px}.avatar-picker .artist-avatar{width:34px;height:34px;font-size:25px}.player-card{padding:10px;gap:9px}.player-card small{font-size:10px}}

.artist-avatar svg{display:block;width:100%;height:100%;padding:2px}

/* Fit the actual visible area, including Safari's keyboard-induced pan. */
html.in-round{overflow:hidden;overscroll-behavior:none}
body.playing{top:var(--view-top,0px);bottom:auto;height:var(--view-height)}
.playing.compact-guess .shell{padding-top:6px;padding-bottom:8px}
.playing.compact-guess .topbar,.playing.compact-guess .audio-panel,
.playing.compact-guess .play-heading,.playing.compact-guess #guess-feedback{display:none}
.playing.compact-guess .play-screen{gap:4px}
.playing.compact-guess .play-info{min-height:28px;font-size:10px}
.playing.compact-guess .timer{font-size:22px}
.playing.compact-guess .timer-track{height:4px}
.playing.compact-guess .guess-progress{min-height:30px}
.playing.compact-guess .guess-progress>strong{font-size:16px}
.playing.compact-guess #guess-form{gap:7px;margin-top:3px}
.playing.compact-guess #guess-input{font-size:16px;height:44px;min-height:44px;padding:8px 12px}
.playing.compact-guess .guess-actions .btn{min-height:44px;padding:8px 12px}

.shell{overflow-x:clip}@media(max-width:649px){.hero-art{height:235px}.hero h1{font-size:68px;letter-spacing:-4px;margin-left:6px}.hero .sketch{width:164px;right:10px;bottom:0}.hero .sticker{bottom:20px;left:16px;font-size:10px;padding:9px 13px}.hero .doodle{width:60px;left:145px;bottom:24px}}
