:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#27233c;background:#faf9f6;font-synthesis:none;font-weight:400;--purple: #6544b7;--deep: #332453;--muted: #746f82;--line: #e8e4ec}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;color:inherit;font-weight:650;cursor:pointer;transition:background .15s,transform .15s}button:hover,.button:hover{background:#f0ebfa;text-decoration:none}button:active{transform:translateY(1px)}button:disabled{opacity:.48;cursor:not-allowed}button.primary,.primary{color:#fff;background:var(--purple);border-color:var(--purple);box-shadow:0 5px 14px #6544b71b}button.primary:hover,.primary:hover{background:#513595}button.quiet,.quiet{background:transparent;border-color:transparent;color:var(--muted)}.danger{color:#a73550!important}input{width:100%;min-height:46px;border:1px solid #d9d4e2;border-radius:10px;padding:12px;background:#fff;color:#27233c}input:focus{border-color:var(--purple)}:focus-visible{outline:3px solid #ae8ef5;outline-offset:3px}label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;margin-bottom:20px}form>.primary{width:100%;margin-top:6px}fieldset{border:0;padding:0;margin:0 0 22px}legend{font-size:14px;font-weight:600;margin-bottom:10px}header{max-width:1440px;margin:auto;padding:28px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eeeaf0}.brand{display:flex;align-items:center;gap:12px;font-weight:780;font-size:21px;letter-spacing:-.7px}.brand:hover{text-decoration:none}.brand-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:var(--purple);color:#fff;font-size:33px;transform:rotate(-7deg)}.brand-small{display:block;font-size:9px;letter-spacing:4.5px;margin-top:1px;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.8px;line-height:1.12}h2{letter-spacing:-.6px;line-height:1.25}p{line-height:1.7;color:#706a7e}.eyebrow{display:block;font-size:11px;font-weight:800;letter-spacing:2px;color:var(--purple);margin-bottom:15px}.landing{max-width:1440px;margin:auto;padding:80px 5% 60px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.hero-copy h1{font-size:clamp(42px,4.7vw,72px);font-weight:780;line-height:1.06;margin:22px 0}.hero-copy em{font-style:normal;color:var(--purple)}.hero-copy>p{max-width:465px;font-size:17px;line-height:1.8;margin:24px 0}.hero-copy>.primary{min-width:205px;padding:17px 24px;font-size:16px}.hero-copy>.primary span{margin-left:22px}.join-inline{display:flex;gap:8px;margin-top:22px;max-width:420px}.join-inline input{max-width:192px;letter-spacing:1px}.join-inline button{font-size:13px;white-space:nowrap;background:transparent;border:0;padding:8px}.hero-meta{display:flex;gap:15px;flex-wrap:wrap;margin-top:30px;font-size:11px;color:var(--muted)}.hero-art{position:relative;padding:50px 5px 70px;background:radial-gradient(ellipse,#eae3f9 0%,#f6f1f9 40%,transparent 70%)}.example-paper{position:relative;background:#fff;border:1px solid #eee6e1;box-shadow:0 22px 60px #3b274518;border-radius:14px;transform:rotate(-4deg);padding:15px 18px}.example-paper svg{width:100%;display:block}.paper-caption{display:flex;justify-content:space-between;border-top:1px solid #f1edf2;padding:16px 4px 8px;font-size:11px;color:var(--muted)}.floating-tag{position:absolute;z-index:1;background:#fff;box-shadow:0 6px 24px #34235312;border:1px solid #ede6f4;padding:13px 17px;border-radius:12px;font-size:12px;font-weight:600}.top-tag{right:-10px;top:12px;transform:rotate(4deg)}.bottom-tag{left:2px;bottom:36px;transform:rotate(3deg)}.palette-dots{position:absolute;right:12px;bottom:0;display:flex;gap:9px;background:#fff;padding:12px 16px;border-radius:40px;box-shadow:0 4px 14px #29202e12;transform:rotate(-8deg)}.palette-dots i{width:22px;height:22px;border-radius:50%;background:#7652d7}.palette-dots i:nth-child(2){background:#e0528d}.palette-dots i:nth-child(3){background:#ef7546}.palette-dots i:nth-child(4){background:#efbd3f}.palette-dots i:nth-child(5){background:#40a486}.how{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:1296px;margin:0 auto;padding:33px 0}.how>div{padding:0 25px;border-right:1px solid var(--line)}.how>div:last-child{border:0}.how b{font-size:12px;letter-spacing:1.4px;color:var(--purple)}.how p{font-size:13px;margin:12px 0 0}footer{max-width:1440px;margin:auto;padding:30px 5%;font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.page{max-width:1180px;margin:0 auto;padding:50px 30px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 4px 20px #241c3c03}.auth{max-width:480px;margin:30px auto}.auth h1{font-size:36px}.auth p{font-size:14px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.page-heading h1{font-size:42px;margin-bottom:12px}.dashboard-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:36px}.mode-options,.form-row{display:flex;gap:12px}.form-row>label{flex:1;min-width:0}.mode{flex:1;align-items:flex-start;text-align:left;flex-direction:column;padding:16px;font-size:13px}.mode span{font-size:11px;color:var(--muted);font-weight:400}.mode.active{border-color:var(--purple);background:#f4f0fd}.muted{color:var(--muted);font-size:13px}.history{margin-top:15px;padding:23px}.history h3{font-size:18px}.history .danger{float:right}.empty{padding:40px 25px;line-height:1.8;border:1px dashed #d6cddd;border-radius:20px;color:var(--muted)}.error,.banner{border-radius:12px;padding:14px 18px;margin:0 0 20px;background:#fff0ec;color:#914027;font-size:14px;line-height:1.5}.banner{background:#fff6d9;color:#6a5427}.header-right{display:flex;align-items:center;gap:12px}.status{font-size:12px;color:#935821}.status.online{color:#277762}.game-page{max-width:1200px;margin:auto;padding:30px 32px 60px}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 25px}.game-heading h1{font-size:28px;margin:0}.game-heading .eyebrow{font-size:10px;margin-bottom:8px}.code{font-family:ui-monospace,monospace;font-size:40px;font-weight:700;letter-spacing:6px;color:var(--purple)}.small-code{font-size:17px;letter-spacing:3px;background:#efe9fa;padding:12px 16px;border-radius:12px}.lobby-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.lobby-welcome{text-align:center;padding:34px}.big-icon{font-size:58px;color:var(--purple);margin-bottom:25px}.lobby-welcome h2{font-size:29px;max-width:360px;margin:0 auto 15px}.lobby-facts{display:flex;justify-content:center;gap:24px;margin:25px 0;color:var(--muted);font-size:12px}.lobby-facts b{display:block;font-size:23px;color:var(--deep);margin-bottom:7px}.invite{background:#f9f7fd;border:1px dashed #d8cdea;border-radius:15px;padding:20px;margin-bottom:25px;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:18px}.invite>div{display:flex;flex-direction:column;align-items:center;gap:12px;overflow-wrap:anywhere;font-size:12px;width:100%}.invite img{width:105px;height:105px;border-radius:6px}.invite>.code{display:block;width:100%}.lobby-welcome>.primary{min-width:240px}.lobby-welcome>.muted{margin:20px 0 0}.waiting{padding:15px;color:var(--purple);font-weight:650}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.panel-title h2{font-size:18px;margin:0}.panel-title>a{font-size:13px;color:var(--purple)}.pill{display:inline-block;border-radius:20px;background:#eee8f9;color:var(--purple);font-size:11px;padding:6px 11px;vertical-align:middle;white-space:nowrap}.people{display:grid;gap:3px;max-height:480px;overflow-y:auto}.person{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #f2eff5}.person:last-child{border:0}.avatar{width:38px;height:38px;border-radius:13px;background:#eee6ff;color:#7754bd;display:grid;place-items:center;font-weight:750;flex-shrink:0}.av-1{background:#e3f2e9;color:#307856}.av-2{background:#feeee1;color:#a3673c}.av-3{background:#e5eefc;color:#4d76b1}.person b{font-size:14px;overflow-wrap:anywhere}.person small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.person-actions{display:flex;margin-left:auto;align-items:center}.person-actions button{font-size:11px;padding:8px}.person-actions .danger{font-size:20px}.turn-top{display:flex;align-items:center;gap:25px;margin:22px 0}.turn-top h2{font-size:27px;margin:0}.turn-top .eyebrow{margin-bottom:8px;font-size:10px}.next-label{margin-left:auto;font-size:13px;line-height:1.8;font-weight:600}.next-label span{font-weight:400;color:var(--muted)}.timer{min-width:105px;text-align:center;font-size:36px;line-height:1.1;font-weight:750;font-variant-numeric:tabular-nums;color:var(--purple);padding:10px 18px;border-radius:14px;background:#eee8fa}.timer span{display:block;font-size:9px;letter-spacing:1.5px;margin-top:8px}.timer.urgent{color:#b0444f;background:#fceced}.challenge{padding:18px 23px;border:1px solid #e4d8fd;border-radius:14px;background:#f2edfd;color:#58358f;font-size:20px;text-align:center;font-weight:650}.canvas-frame{position:relative;overflow:hidden;line-height:0;border:1px solid #e0dce8;border-radius:17px;background:#fff;box-shadow:0 8px 30px #30224906}.canvas-frame canvas{width:100%;height:auto;display:block;aspect-ratio:1000/650;max-height:65vh;object-fit:contain}.canvas-frame canvas.can-draw{touch-action:none;cursor:crosshair;object-fit:fill;max-height:none}.canvas-mark{position:absolute;bottom:15px;right:18px;color:#b4afbf;font-size:8px;letter-spacing:2px;pointer-events:none}.toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;margin-top:12px}.tool-group{display:flex;gap:4px}.tool-group button{font-size:17px;padding:8px 12px;border-color:transparent;min-width:40px}.tool-group button span{font-size:11px;text-transform:capitalize}.tool-group .selected{color:var(--purple);background:#eee8fa;border-color:#dacdee}.swatches{display:flex;gap:8px;align-items:center}.swatch{padding:0;width:25px;height:25px;min-height:25px;border-radius:50%;border:1px solid #b8b2c3}.swatch.chosen{outline:2px solid var(--purple);outline-offset:3px}.custom-color{position:relative;overflow:hidden;width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;margin:0}.custom-color input{position:absolute;opacity:0;width:30px;height:30px;padding:0}.size{display:flex;flex-direction:row;align-items:center;font-size:11px;margin:0}.size input{width:75px;padding:0;min-height:30px;accent-color:var(--purple)}.canvas-help{text-align:center;font-size:12px;margin:15px 0}.phase-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#eee8fa;color:var(--purple);border-radius:14px;padding:20px 25px;margin-bottom:15px}.phase-banner b{font-size:20px}.phase-banner span{font-size:13px}.result{background:#e6f3ea;color:#26764f}.rating{text-align:center;background:#efe9fa;border-radius:18px;padding:24px;margin-top:16px}.rating h2{font-size:22px;margin-bottom:16px}.rating-buttons{display:flex;justify-content:center;gap:10px}.rating-buttons button{width:58px;height:58px;border-radius:50%;font-size:20px;border:1px solid #dcd0f0;color:var(--purple)}.rating-buttons button:not(:disabled):hover{background:var(--purple);color:#fff;transform:translateY(-4px)}.rating p{font-size:12px;margin:16px 0 0}.host-panel{margin-top:30px}.host-controls{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.host-controls button{font-size:12px}.host-panel>.roster{box-shadow:none;padding:18px;margin-bottom:20px}.host-panel .people{grid-template-columns:repeat(3,1fr);gap:15px}.host-panel>.muted{overflow-wrap:anywhere}.champion{text-align:center;padding:40px 20px;background:radial-gradient(ellipse at top,#f0e4ff,transparent 65%);border-radius:24px}.trophy{font-size:65px;animation:appear .8s ease-out}.champion h2{font-size:16px;letter-spacing:3px;color:var(--purple);margin:22px 0 15px}.champion h1{font-size:48px;animation:appear 1s ease-out}.champion p{font-size:17px}.winner-art{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;margin:25px 0}.winner-art img{width:min(100%,480px);border:8px solid white;box-shadow:0 8px 30px #5437821c;border-radius:12px;transform:rotate(-2deg)}.results{margin-top:35px}.results h2{font-size:25px;margin-top:30px}.table-wrap{overflow-x:auto;padding:12px 22px}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th{font-size:11px;color:var(--muted)}th,td{padding:15px 12px;border-bottom:1px solid #f0edf4;white-space:nowrap}tr:last-child td{border:0}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.artwork{padding:12px}.artwork img{width:100%;aspect-ratio:1000/650;object-fit:contain;border:1px solid #f0edf5;border-radius:10px}.artwork>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px 6px 7px}.artwork h3{font-size:14px;margin:0}.artwork b{font-size:12px;color:var(--purple)}.artwork p{font-size:12px;padding:5px}.center{text-align:center;padding:60px}.presentation .game-page{max-width:1400px}.presentation .quiet,.presentation header .brand-small{display:none}@keyframes appear{0%{opacity:0;transform:translateY(15px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(min-width:1500px){.can-draw{max-width:1050px;margin:auto}}@media(max-width:900px){.landing{gap:20px;padding-top:50px}.hero-copy h1{font-size:46px}.hero-meta{gap:12px}.hero-art{padding-top:65px}.top-tag{font-size:10px;right:0}.bottom-tag{font-size:10px}.how{margin:0 5%;gap:5px}.how>div{padding:0 10px}.dashboard-grid,.lobby-grid{grid-template-columns:1fr}.host-panel .people,.gallery{grid-template-columns:repeat(2,1fr)}.rating-buttons{gap:5px}.rating-buttons button{width:49px;height:49px;padding:8px}.toolbar{gap:9px}.tool-group button span{display:none}.phase-banner{flex-direction:column;text-align:center}.lobby-welcome .invite{max-width:450px;margin:0 auto 25px}}@media(max-width:600px){header{padding:20px}.brand{font-size:17px;gap:9px}.brand-icon{width:38px;height:38px;font-size:28px}.brand-small{font-size:8px;letter-spacing:3px}header>.quiet{font-size:11px}.landing{grid-template-columns:1fr;padding:42px 25px 28px}.hero-copy h1{font-size:48px}.hero-copy>p{font-size:15px}.hero-art{margin-top:22px}.how{grid-template-columns:repeat(2,1fr);gap:25px;padding:28px 0}.how>div:nth-child(2){border:0}footer{flex-direction:column;gap:12px;padding:25px}.page{padding:30px 18px}.card{padding:22px;border-radius:17px}.auth{margin:15px auto}.page-heading h1{font-size:35px}.page-heading{align-items:flex-start;gap:10px}.page-heading p{font-size:13px}.mode-options{flex-direction:column}.game-page{padding:20px 12px 35px}.game-heading h1{font-size:22px}.small-code{font-size:13px;padding:10px;letter-spacing:2px}.header-right{gap:3px}.header-right .quiet{font-size:10px;padding:7px}.status{font-size:10px}.turn-top{gap:12px}.turn-top h2{font-size:21px}.next-label{display:none}.timer{margin-left:auto;min-width:85px;font-size:29px;padding:10px}.canvas-frame{border-radius:11px}.canvas-mark{display:none}.toolbar{padding:9px;gap:10px}.swatches{gap:9px}.swatch{width:28px;height:28px;min-height:28px}.tool-group button{min-width:42px}.rating{padding:20px 12px}.rating h2{font-size:18px}.rating-buttons{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;max-width:300px;margin:auto}.rating-buttons button{width:45px;height:45px;padding:5px}.host-panel .people{grid-template-columns:1fr}.host-panel{padding:18px}.panel-title{flex-wrap:wrap}.panel-title>a{font-size:12px}.lobby-facts{gap:18px}.lobby-welcome h2{font-size:27px}.gallery{grid-template-columns:1fr}.champion h1{font-size:37px}.challenge{font-size:16px}.form-row{gap:10px}.form-row label{font-size:12px}.form-row input{padding:10px}}.swatches{flex-wrap:wrap;justify-content:center;max-width:100%;gap:2px}.swatch{width:44px;height:44px;min-height:44px;padding:9px;border:0;background-clip:content-box}.swatch.chosen{outline-offset:-5px}.custom-color,.custom-color input{width:44px;height:44px}.drawing-studio .canvas-frame{width:min(100%,max(320px,calc((100dvh - 420px)*1.53846)));margin-inline:auto}.swatch[aria-label="Color #ffffff"]{box-shadow:inset 0 0 0 1px #e0dce8}
