body{background:#162538;color:#edf5ff;font-family:Inter,system-ui,sans-serif}header{z-index:2;top:20px;left:24px}h1{font-size:27px;letter-spacing:-1.4px;font-weight:950;text-shadow:0 3px 16px #071526}h1 span{color:#59e5ca}h1 em{font-size:19px;font-style:normal;color:#fff}header small{font-size:11px;letter-spacing:.6px;color:#c0d2df}#stats{z-index:2;top:18px;right:22px;width:206px;min-width:0;background:#112134ed;border:1px solid #ffffff19;border-radius:20px;box-shadow:0 8px 30px #0003;padding:15px}#score{font-size:20px;letter-spacing:-.6px}.territory-meter{height:4px;border-radius:9px;background:#ffffff18;margin:10px 0}#meter{display:block;height:100%;width:0;background:#59e5ca;border-radius:9px;transition:width .4s}#board>div{display:flex;align-items:center;gap:7px;padding:3px 0;font-size:11px}#board .rank{opacity:.6;width:14px}#board .dot{width:7px;height:7px;border-radius:2px}#board .player-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:#c7d5e3}#board .mine .player-name{color:white;font-weight:800}#board .percent{font-variant-numeric:tabular-nums;color:#c7d5e3}#hint{bottom:48px;z-index:2;white-space:normal;width:min(620px,88vw);background:#112134de;border:1px solid #ffffff12;border-radius:30px;padding:10px 16px;font-size:11px;color:#d1dce6}#minimap{position:absolute;left:22px;bottom:88px;width:160px;height:120px;background:#132235e8;border:1px solid #ffffff25;border-radius:12px;z-index:2;box-shadow:0 5px 20px #0003}#run-stats{position:absolute;left:24px;top:88px;font-size:12px;letter-spacing:1px;color:#c1d2e2;pointer-events:none}#capture{position:absolute;left:50%;top:25%;transform:translate(-50%,-12px);z-index:2;font-size:28px;font-weight:900;text-shadow:0 2px 16px #071d28;color:#72ffda;pointer-events:none;opacity:0;transition:opacity .2s,transform .4s}#capture.show{opacity:1;transform:translate(-50%,0)}#overlay{z-index:4;background:radial-gradient(ellipse at center,#0a183b66,#071222bc);backdrop-filter:blur(6px)}.panel{position:relative;width:min(440px,92vw);padding:30px 34px;background:linear-gradient(145deg,#20354ef5,#111f34fa);border:1px solid #c4ecff30;border-radius:30px;box-shadow:0 30px 100px #020a1c99;text-align:center}.eyebrow{font-size:9px;letter-spacing:2px;color:#87a9c4}h2{font-size:36px;margin:12px 0;letter-spacing:-1.5px}#description{font-size:13px;line-height:1.7;margin:0 0 12px;color:#b9ccdf}#name{background:#07182d75;border:1px solid #aec8ee20;outline:0;color:#fff;font-size:14px}#name:focus{border-color:#59e5ca}#play{background:linear-gradient(120deg,#69f2d2,#3acbab);color:#082d28;box-shadow:0 6px 0 #218c7d,0 12px 22px #07192666;padding:16px;transition:transform .15s}#play:hover:not(:disabled){transform:translateY(-2px)}#play:active{transform:translateY(2px)}#connection{color:#8da9c3;min-height:16px}.mascot{position:relative;margin:0 auto 18px;width:60px;height:60px;transform:rotate(-8deg);background:linear-gradient(145deg,#7bf8df,#25bfa2);border-radius:16px;box-shadow:5px 7px 0 #177e80,0 14px 30px #3bd3b42b;border:2px solid #b2fff1}.mascot i{position:absolute;top:21px;left:14px;width:9px;height:14px;background:#103946;border-radius:50%;box-shadow:2px 2px 0 #fff inset}.mascot i+i{left:35px}.mascot:after{content:'';position:absolute;left:26px;top:40px;width:10px;height:5px;border-radius:0 0 8px 8px;background:#103946}#swatches{display:flex;justify-content:center;gap:10px;margin:15px 0}#swatches button{width:27px;height:27px;padding:0;margin:0;border-radius:9px;background:var(--color);box-shadow:inset 0 -4px #0002;border:2px solid transparent}#swatches button[aria-pressed=true]{outline:2px solid white;outline-offset:3px}#results{display:flex;gap:8px;margin:15px 0}#results[hidden]{display:none}#results div{flex:1;background:#091a2c75;border-radius:12px;padding:12px 4px;font-size:10px;color:#91abc4}#results b{display:block;font-size:22px;color:white;margin-bottom:3px}.sound-toggle{position:absolute;left:24px;bottom:46px;width:34px;height:34px;padding:4px;margin:0;background:#182e45;color:#c2d7e7;border:1px solid #ffffff22;z-index:3}#local-toolbar{z-index:10}#toro-progress{max-width:230px!important;font-size:10px!important;bottom:42px!important}button:focus-visible{outline:3px solid white;outline-offset:4px}@media(max-width:600px){header{left:14px;top:14px}h1{font-size:22px}header small{max-width:140px;font-size:9px}#stats{top:12px;right:12px;width:150px;padding:10px;border-radius:14px}#score{font-size:16px}#board>div{font-size:9px;padding:1px 0}#minimap{left:12px;bottom:105px;width:112px;height:84px}#run-stats{left:14px;top:74px;font-size:10px}#hint{bottom:48px;font-size:9px;padding:8px 12px;width:75vw;left:56%}.sound-toggle{left:12px;bottom:52px}.panel{padding:24px}h2{font-size:29px}.mascot{width:52px;height:52px;margin-bottom:12px}#capture{top:32%;font-size:22px}#toro-progress{bottom:150px!important;max-width:150px!important}}@media(max-height:580px){.panel{padding:16px 24px;max-width:520px}.mascot{display:none}h2{font-size:26px;margin:8px}#description{font-size:11px}#swatches{margin:10px}#name,#play{padding:10px}#results{margin:5px}#minimap{width:112px;height:84px}#connection{font-size:10px!important;margin-top:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
header{background:#112134ed;border:1px solid #ffffff19;border-radius:16px;padding:10px 14px;box-shadow:0 6px 20px #0002}#run-stats{top:108px;color:#1c3b51;background:#ffffffb0;padding:6px 10px;border-radius:20px}.toro-controls .toro-pad{left:auto;right:18px;bottom:105px}.toro-controls .toro-controls-hint{display:none}@media(min-width:900px) and (pointer:fine){.toro-controls .toro-pad{display:none}}@media(max-width:600px){header{padding:8px 10px}#run-stats{top:96px}.toro-controls .toro-pad{right:12px;bottom:110px}#minimap{bottom:118px}#hint{font-size:9px}}

@media(max-width:600px){#hint{display:none}.sound-toggle{top:94px;left:112px;bottom:auto;width:28px;height:28px}}
.sound-toggle{top:108px;left:120px;bottom:auto}@media(max-width:600px){.sound-toggle{top:94px;left:112px}}

#swatches{display:grid;grid-template-columns:repeat(8,27px);gap:10px;justify-content:center}#overlay .panel{max-height:calc(100dvh - 115px);overflow-y:auto}@media(max-width:600px){#swatches{gap:9px}}@media(max-height:580px){#swatches{grid-template-columns:repeat(16,20px);gap:6px}#swatches button{width:20px;height:20px}#overlay .panel{max-height:calc(100dvh - 75px)}}
