*{box-sizing:border-box}:root{--green:#c0f778;--pink:#e9a4cf;--text:#f0f5e9}body{margin:0;background:#101b1b;color:var(--text);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;overflow:hidden}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--pink);outline-offset:4px}[hidden]{display:none!important}#game{position:fixed;inset:0;width:100%;height:100%;touch-action:none}header{position:fixed;z-index:5;top:0;left:0;width:100%;display:flex;align-items:center;justify-content:space-between;padding:25px 4%}.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none;font-size:38px}.brand>span{font-size:17px;font-weight:700;letter-spacing:-.5px}.brand small{display:block;font-size:8px;letter-spacing:3px;color:#8b9c8b;margin-top:5px}header button{color:#dce7d5;border:1px solid #ffffff20;border-radius:10px;background:#1b2d2cd9;padding:10px 15px;margin-left:6px}main{position:fixed;inset:0;display:flex;align-items:center;padding:85px 7% 25px;gap:3vw;background:radial-gradient(ellipse at 80% 45%,#2f593b66,transparent 58%),#0e1b1bbf}.menu-card{width:470px;max-height:calc(100dvh - 105px);overflow:auto;flex-shrink:0;scrollbar-width:thin;padding:8px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:700;color:#a3bf9b}h1{font-size:80px;letter-spacing:-6px;line-height:.98;font-weight:750;margin:25px 0 20px}h1>span{color:var(--green)}h1 em{display:block;color:#a0b69a;font-size:13px;letter-spacing:10px;font-style:normal;margin:15px 0 0 7px;font-weight:500}.subtitle{color:#acb9ab;font-size:16px;line-height:1.5;margin:0 0 25px}.character-row{display:flex;gap:10px}.character{display:flex;align-items:center;gap:7px;padding:8px 10px 8px 2px;border:1px solid #ffffff1c;background:#1e302c;border-radius:13px;color:#edf4e8;flex:1;text-align:left;min-width:0}.portrait{width:62px;height:62px;flex-shrink:0;background-image:url('assets/caras-3d.png');background-size:200% 100%;background-repeat:no-repeat}.man{background-position:left center}.woman{background-position:right center}.character>span:nth-child(2){font-size:12px;font-weight:600}.character small{display:block;color:#8ea08c;font-size:9px;font-weight:400;margin-top:4px}.character.selected{border-color:#9fd761;background:#31432d}.modes{display:flex;gap:10px;margin:14px 0}.modes button{border:1px solid #ffffff1c;background:#162624;color:#c1cebc;border-radius:10px;text-align:left;flex:1;padding:12px 13px;font-size:12px;font-weight:600}.modes button.active{background:#d4efc110;border-color:#95ba72;color:#d4f7b5}.modes small{display:block;font-size:9px;margin-top:4px;font-weight:400;color:#8d9f8a}.play{width:100%;background:var(--green);color:#21341c;display:flex;justify-content:space-between;align-items:center;border:none;border-radius:10px;padding:18px 20px;font-size:12px;letter-spacing:1px;font-weight:800;box-shadow:0 5px 0 #638c3d}.play:hover{filter:brightness(1.1)}.play span{font-size:21px}.rules{font-size:10px;line-height:1.7;color:#92a38c;margin:18px 0}.menu-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff15;padding-top:15px;font-size:8px;letter-spacing:1px;color:#7b9178}.hero-art{position:relative;flex:1;height:500px;min-width:240px}.orbit{position:absolute;border:1px dashed #b9ef7633;border-radius:50%;width:460px;height:460px;left:0;top:5px}.hero-face{position:absolute;background-image:url('assets/caras-3d.png');background-size:200% 100%;background-repeat:no-repeat;width:225px;height:225px;filter:drop-shadow(0 20px 15px #0006);z-index:2}.hero-face.man{left:5px;top:30px;transform:rotate(-13deg)}.hero-face.woman{right:0;bottom:65px;transform:rotate(10deg)}.hero-worm{position:absolute;width:270px;height:230px;border:47px solid #a4d966;border-radius:100px;transform:rotate(-25deg);left:10px;top:120px;box-shadow:inset 8px -12px 16px #1d4328,8px 13px 15px #0005}.hero-worm.second{border-color:#cf8bbd;width:190px;height:200px;left:auto;right:0;top:210px;transform:rotate(20deg);box-shadow:inset 8px -12px 16px #673a66,8px 13px 15px #0005}.pill{position:absolute;bottom:0;left:60px;white-space:nowrap;border:1px solid #ffffff25;border-radius:25px;padding:12px 20px;color:#a3b69b;font-size:9px;letter-spacing:1.5px;transform:rotate(-5deg)}#hud{position:fixed;inset:100px 0 0;pointer-events:none}.hud-score{position:absolute;top:0;left:4%;display:flex;flex-direction:column;padding:14px 18px;background:#10211cd9;border:1px solid #ffffff15;border-radius:14px;min-width:140px}.hud-score>span{font-size:9px;letter-spacing:2px;color:#b0c5a5}.hud-score strong{font-size:35px;letter-spacing:-2px}.hud-score small{font-size:10px;color:#94ae89}.leaderboard{position:absolute;right:3%;top:0;background:#10211cdb;border:1px solid #ffffff15;padding:17px 20px;border-radius:14px;min-width:190px}.leaderboard>span{font-size:8px;letter-spacing:1.5px;color:#8fa786}.leaderboard ol{padding-left:20px;font-size:11px;margin:12px 0 0}.leaderboard li{padding:4px 0;color:#b6c8ad}.leaderboard li.you{color:var(--green);font-weight:700}.leaderboard b{float:right;margin-left:20px}.hint{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:10px;background:#10211cdb;border-radius:30px;padding:10px 18px;color:#adc3a2}#modal{position:fixed;inset:0;background:#091716c9;backdrop-filter:blur(7px);z-index:10;display:flex;align-items:center;justify-content:center}.modal-card{width:390px;max-width:90%;background:#20372d;border:1px solid #a8d97c40;border-radius:22px;padding:35px}.modal-card h2{font-size:38px;letter-spacing:-2px;line-height:1.1;margin:20px 0}.modal-card>p:not(.eyebrow){color:#a8bea0;font-size:13px;line-height:1.7;margin:0 0 25px}.secondary{background:transparent;color:#bcd0b4;border:1px solid #ffffff20;border-radius:8px;width:100%;padding:11px;margin-top:15px;font-size:11px}.mobile{position:fixed;inset:0;pointer-events:none;display:none}#joystick{position:absolute;bottom:25px;left:28px;width:108px;height:108px;border:1px solid #ffffff30;background:#a5c38a12;border-radius:50%;pointer-events:auto;touch-action:none}#stick{display:block;width:42px;height:42px;border-radius:50%;background:#c0f77880;margin:32px}#boost{position:absolute;bottom:45px;right:30px;width:70px;height:70px;border-radius:50%;background:#c0f7782a;border:1px solid #c0f77880;color:#d5f9b5;font-size:10px;font-weight:700;pointer-events:auto;touch-action:none}@media(pointer:coarse){.mobile{display:block}.hint{display:none}}@media(max-width:900px){.hero-art{display:none}main{justify-content:center;padding:80px 20px 20px}.menu-card{width:470px;max-width:100%}header{padding:18px 5%}.leaderboard{min-width:145px;padding:12px}.leaderboard>span{font-size:7px}.hud-score{min-width:100px;padding:10px}#hud{top:85px}}@media(max-height:720px){h1{font-size:60px;margin:15px 0}.subtitle{font-size:13px;margin-bottom:14px}.portrait{width:48px;height:48px}.play{padding:13px 18px}.rules{margin:12px 0}.hero-art{height:430px}.hero-face{width:190px;height:190px}}

@media(max-width:600px){h1{font-size:clamp(42px,16vw,72px);letter-spacing:-4px}.menu-card{min-width:0}.brand>span{font-size:14px}.eyebrow{font-size:8px;letter-spacing:1px}}

@media(max-width:600px){header{padding:14px 4%}.brand{gap:6px;font-size:30px}.brand>span{font-size:12px}.brand small{font-size:6px;letter-spacing:2px}header button{padding:8px 9px;margin-left:3px}}

.character-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.character{min-height:58px}.emoji-portrait{display:grid;place-items:center;width:58px;flex-shrink:0;font-size:37px}.modes{flex-wrap:wrap}.modes button{min-width:120px}.play:disabled{opacity:.5;cursor:default}#local-two{display:block;font-size:12px;color:#b9cbb2;margin:12px 0}#face-two,#join-code{font:inherit;background:#142b25;color:#edf6e8;border:1px solid #739463;border-radius:8px;padding:10px;max-width:100%}#face-two{margin-left:10px}#online-panel{border:1px solid #789f6244;border-radius:12px;padding:12px;margin:12px 0;background:#122922}#online-panel .secondary{margin-top:5px}#room-status,#room-count,#room-players{font-size:12px;line-height:1.5;color:#b6cdaa;margin:10px 0 0}.room-join{display:flex;gap:8px;margin-top:8px}.room-join input{width:50%;letter-spacing:3px;text-transform:uppercase}.room-join button{width:50%;margin:0!important}.room-code-row{display:flex;align-items:center;gap:12px}#room-code{font-size:25px;letter-spacing:4px;color:#c0f778}.room-code-row button{width:auto;margin:0!important}header button:disabled{opacity:.45}

.avatar-portrait{width:58px;height:58px;object-fit:contain;flex-shrink:0}

