@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;700;900&display=swap');
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 10%,#622794 0,transparent 45%),radial-gradient(ellipse at 95% 85%,#2d3177,transparent 50%),#190d34;color:#fff;font-family:Nunito,system-ui,sans-serif;min-height:100vh}header{display:flex;justify-content:space-between;align-items:center;padding:22px 5%;border-bottom:1px solid #ffffff17}header a{font-size:23px;font-weight:900;letter-spacing:2px;color:#f4ca74;text-decoration:none}header span{font-size:11px;letter-spacing:3px;color:#c5afd9}main{max-width:1100px;margin:auto;padding:24px 16px}.panel{background:linear-gradient(145deg,#392353ef,#241635ef);border:1px solid #ffffff20;border-radius:28px;padding:28px;text-align:center;box-shadow:0 25px 80px #08021150;animation:appear .35s ease}#setup{max-width:520px;margin:auto}.art{font-size:58px;animation:float 3s ease-in-out infinite}.art span{display:inline-block;transform:rotate(-12deg)}.eyebrow{font-size:11px;letter-spacing:4px;color:#e5bd71}h1{font-size:60px;margin:8px 0;font-weight:900;letter-spacing:-3px}h1 em{font-style:normal;color:#f3c769}p{color:#d2c1e2}label{display:block;text-align:left;font-size:13px;font-weight:700;margin:16px 0}input,select{display:block;width:100%;margin-top:6px;background:#150c26;color:#fff;border:1px solid #ffffff25;border-radius:12px;padding:14px;font:inherit;font-size:16px}button{border:1px solid #ffffff25;background:#42245f;color:white;padding:12px 16px;border-radius:12px;cursor:pointer;font:inherit;font-weight:800;min-height:44px;transition:transform .15s,background .15s}button:hover{transform:translateY(-2px);background:#58327a}button:disabled{opacity:.45;cursor:default;transform:none}.primary{background:linear-gradient(135deg,#ffe4a2,#e9b550);color:#241331;border:0;box-shadow:0 6px 18px #e6b35224}.primary:hover{background:#ffde91}#setup>button,#joinBox>button{width:100%;min-height:56px}.toggle{display:flex;gap:8px;margin:24px 0}.toggle button{flex:1;font-size:12px}.selected{border-color:#f4ca74!important;background:#69438b!important}details{margin:22px 0;font-size:13px;text-align:left}summary{cursor:pointer;color:#f0cc83}small{font-size:11px;color:#bca7ce}.topline{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px}.scoreboard{display:flex;gap:12px;margin:18px 0}.scoreboard>div{flex:1;padding:14px;background:#ffffff0c;border:1px solid #ffffff20;border-radius:16px}.scoreboard b{float:right;color:#f3c769}.playhead{display:flex;justify-content:space-between;align-items:center;padding:0 8px}.playhead p{margin:6px 0}.playhead h2{font-size:32px;letter-spacing:4px;margin:8px 0}.clock{font-size:36px;font-weight:900;text-align:center;color:#f8d580}.clock small{display:block;font-size:12px}.tools{background:#372049;border-radius:18px 18px 0 0;padding:12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}#colors{display:flex;gap:7px;flex-wrap:wrap}#colors button{width:30px;min-height:30px;height:30px;padding:0;border:2px solid #ffffff60;border-radius:50%}#colors button.selected{outline:3px solid #f4ca74}.brushes{display:flex;gap:5px;flex-wrap:wrap}.brushes button{font-size:12px;min-height:34px;padding:6px 10px}canvas{display:block;width:100%;height:auto;background:#fffdf6;border-radius:0 0 18px 18px;touch-action:none;box-shadow:0 15px 30px #08021140}#guessForm{display:flex;gap:8px;margin-top:16px}#guessForm input{margin:0;flex:1;min-width:0}#done{margin-top:16px;width:100%;min-height:56px}#cover,#waiting,#result{margin:18px 0}#cover button,#result button{min-width:220px}#error{text-align:center;color:#ffc0b6;min-height:24px}.celebrate{font-size:60px;animation:pop .6s ease}.invite{font-size:32px;letter-spacing:6px;color:#f4ca74;user-select:all}[hidden]{display:none!important}@keyframes appear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes float{50%{transform:translateY(-8px) rotate(3deg)}}@keyframes pop{50%{transform:scale(1.25) rotate(8deg)}}@media(max-width:600px){header{padding:15px}header span{font-size:8px;letter-spacing:1px}.panel{padding:22px}main{padding:14px 10px}.playhead h2{font-size:23px;letter-spacing:2px}#guessForm{flex-wrap:wrap}#guessForm input{flex-basis:100%}.clock{font-size:29px}h1{font-size:52px}.tools{padding:9px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
