:root{font-family:Trebuchet MS,Arial,sans-serif;color:#faf4ec;background:#1d171d;font-synthesis:none;letter-spacing:0;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button svg{flex-shrink:0;pointer-events:none}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid #ffe489;outline-offset:4px}button:disabled{opacity:.4;cursor:not-allowed}[hidden]{display:none!important}.game{height:calc(100svh - 34px);min-height:680px;position:relative;overflow:hidden;background:#332332}#game{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}button{border:0}h1,h2,p{margin:0}.topbar{position:absolute;inset:23px 30px auto;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;pointer-events:none}.topbar>*{pointer-events:auto}h1{position:relative;font-family:Arial Black,Trebuchet MS,sans-serif;font-size:44px;font-weight:950;font-style:italic;line-height:1.05;transform:rotate(-4deg);text-shadow:0 3px 4px #0006}.logo-line{position:absolute;left:10%;right:0;bottom:-12px;height:6px;border-radius:60%;background:#cba2ea;transform:rotate(-2deg)}.top-actions{display:flex;gap:10px;align-items:center}.face-button{display:flex;align-items:center;justify-content:center;gap:11px;font-size:20px;font-weight:700;background:linear-gradient(#9462a3,#674470);border:2px solid #d8a9ee;border-radius:8px;padding:13px 19px;box-shadow:inset 0 2px #ffffff27,0 5px 18px #0004;min-height:54px}.face-button:hover{background:#9561a4}.face-button svg{width:25px;height:25px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:52px;height:54px;border:1px solid #b58cc2;border-radius:8px;background:#241c27c9}.icon-button:hover{background:#58334c}.icon-button svg{width:23px;height:23px}.remove-face{position:absolute;right:163px;top:88px;display:flex;gap:5px;align-items:center;background:#21181abf;border-radius:5px;padding:6px 9px;font-size:12px;color:#e8d3ea}.controls{position:absolute;left:50%;bottom:15px;transform:translate(-50%);width:min(600px,calc(100% - 32px));display:flex;flex-direction:column;align-items:center}.drop-form{display:flex;align-items:center;width:min(475px,100%);height:49px;border:1px solid #a58c9e;border-radius:8px;background:#231d24ed;box-shadow:0 3px 15px #0003;overflow:visible}.drop-form>svg{width:20px;height:20px;margin-left:14px;color:#c8b6c9;flex:none}.drop-form input{min-width:0;flex:1;width:100%;background:none;border:0;color:#fff7ed;padding:12px 10px;font-size:16px;outline-offset:-3px}.drop-form input::placeholder{color:#d4c3d0}.drop-button{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:5px;background:#f3cf79;color:#30251b;height:37px;padding:0 14px;margin-right:5px;font-weight:800}.drop-button:hover{background:#ffe29a}.drop-button svg{width:17px;height:17px}.drop-hint{font-size:12px;line-height:27px;color:#c7b5c2;text-shadow:0 1px 4px #000}.drop-hint button{font:inherit;color:#e6d7df;background:none;padding:0 2px;text-decoration:underline;text-decoration-color:#cbb5ca66;text-underline-offset:3px}.tool-tray{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:10px}.tool{height:105px;min-width:0;padding:2px 3px 9px;background:linear-gradient(#3c3039f5,#201c23f5);border:2px solid #877082;border-radius:8px;box-shadow:0 5px 10px #0005,inset 0 1px #ffffff1c;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;transition:border-color .12s,background .12s}.tool:hover{background:#493a44}.tool.selected{border-color:#ffda71;box-shadow:0 0 0 2px #ffda7145,0 4px 12px #0005;background:linear-gradient(#5b4641,#30252c)}.tool canvas{width:90px;max-width:100%;height:65px;object-fit:contain;pointer-events:none}.tool span{font-size:14px;font-weight:700;white-space:nowrap;line-height:21px}.tool-hint{font-size:13px;font-style:italic;color:#d5c6d5;text-shadow:0 2px 4px #000;min-height:25px;line-height:25px}.toast{position:absolute;left:50%;top:108px;transform:translate(-50%);max-width:calc(100% - 40px);text-align:center;font-size:13px;line-height:1.35;padding:8px 13px;background:#201820df;border:1px solid #b391a05c;border-radius:6px;opacity:0;transition:opacity .2s;pointer-events:none}.toast.visible{opacity:1}footer{min-height:34px;display:flex;align-items:center;justify-content:space-between;padding:8px 25px;color:#a99ba8;font-size:11px;background:#1d171d}footer nav{display:flex;gap:22px}footer a{color:#c9b7c8;text-decoration:none}footer a:hover{text-decoration:underline}dialog{width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:22px;border:1px solid #947d91;border-radius:8px;background:#2b222d;color:#faf4ec;box-shadow:0 24px 100px #000a;overflow-y:auto}dialog::backdrop{background:#120d18c9;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.dialog-heading h2{font-size:23px}.dialog-heading .icon-button{width:32px;height:32px;border:0;background:none}.dialog-heading .icon-button svg{width:20px}.crop-area{position:relative;margin:auto;max-width:280px;aspect-ratio:1;background:#19151c;overflow:hidden;border-radius:4px;border:1px solid #99848c}.crop-area canvas{display:block;width:100%;height:100%;touch-action:none;cursor:move}.crop-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,transparent 33%,#fff2 33%,#fff2 33.5%,transparent 33.5%,transparent 66%,#fff2 66%,#fff2 66.5%,transparent 66.5%),linear-gradient(to bottom,transparent 33%,#fff2 33%,#fff2 33.5%,transparent 33.5%,transparent 66%,#fff2 66%,#fff2 66.5%,transparent 66.5%);box-shadow:inset 0 0 0 10px #ffffff0a}.zoom-row{display:flex;gap:14px;align-items:center;margin:17px auto 13px;max-width:280px}.zoom-row svg{width:17px;color:#bcaebf}.zoom-row input{flex:1;min-width:0;accent-color:#e3c183}.position-row{display:flex;justify-content:center;gap:5px;align-items:center}.position-row button{background:#443547;border:1px solid #69546e;border-radius:4px;min-width:28px;min-height:30px;display:flex;align-items:center;justify-content:center}.position-row svg{width:14px;height:14px}.position-row #choose-photo{font-size:11px;padding:0 8px;margin-left:5px}.privacy-note{font-size:12px;line-height:1.55;color:#c5b9c6;display:flex;align-items:flex-start;gap:8px;margin-top:18px}.privacy-note svg{flex:none;width:14px;height:16px;margin-top:2px}.consent{display:flex;gap:10px;margin-top:16px;align-items:flex-start;line-height:1.5;font-size:12px}.consent input{flex:none;accent-color:#e3c183;width:18px;height:18px;margin:2px 0 0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px}.dialog-actions button{padding:11px 18px;border-radius:5px;font-weight:700;font-size:14px}.primary{background:#f2cd78;color:#35241e}.secondary{background:#49394b;color:#e7d7e9}.error{color:#ffb8a9;font-size:12px;line-height:1.5;margin-top:6px}.info-dialog{width:min(640px,calc(100% - 24px));padding:28px}.info-dialog h3{font-size:16px;margin:23px 0 8px;color:#efcc8a}.info-dialog p,.info-dialog li{font-size:14px;line-height:1.7;color:#d6cbd9}.info-dialog ul{padding-left:20px}.info-dialog a{color:#edce92}.review-notice{border-left:3px solid #edce92;padding:10px 14px;background:#ffffff06;margin-bottom:20px!important}@media(min-width:1550px){h1{font-size:53px}.topbar{inset:28px 40px auto}.controls{width:650px}.tool{height:113px}.tool span{font-size:15px}.tool canvas{height:70px}.drop-form{height:52px}}@media(max-width:700px){.topbar{inset:20px 18px auto;gap:10px}h1{font-size:30px}.top-actions{gap:6px}.face-button{font-size:15px;gap:7px;padding:9px 11px;min-height:43px}.face-button svg{width:20px;height:20px}.icon-button{width:39px;height:43px}.icon-button svg{width:19px;height:19px}.remove-face{right:110px;top:70px}.controls{width:calc(100% - 24px);bottom:12px}.tool-tray{gap:6px}.tool{height:92px;padding:2px 2px 6px}.tool span{font-size:11px}.tool canvas{height:57px;width:78px}.drop-hint{font-size:11px}.tool-hint{font-size:12px}.toast{top:99px}footer{padding:8px 12px}footer>span{display:none}footer nav{justify-content:center;width:100%;gap:28px}.game{height:calc(100svh - 31px);min-height:680px}}@media(max-width:430px){.topbar{inset:18px 12px auto}h1{font-size:25px;margin-top:6px}.logo-line{height:4px;bottom:-9px}.face-button{font-size:13px;gap:5px;padding:9px}.face-button svg{width:18px}.top-actions{gap:5px}.icon-button{width:34px;height:40px}.top-actions #mute{position:absolute;right:0;top:49px;width:30px;height:30px;border-color:#98758b88}.remove-face{right:54px;top:67px;font-size:11px}.tool span{font-size:10px}.tool-tray{gap:5px}.tool{height:84px}.tool canvas{height:52px}.controls{bottom:9px}.drop-form{height:45px}.drop-button{height:34px}.dialog-heading h2{font-size:21px}dialog{padding:17px}.crop-area{max-width:250px}}@media(max-height:550px){.game{min-height:650px}.topbar{inset:16px 20px auto}h1{font-size:30px}dialog{max-height:calc(100dvh - 12px)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.game{height:calc(100svh - 30px);min-height:580px}.controls{display:none;bottom:85px;background:#211c24f5;padding:18px;width:min(540px,calc(100% - 24px));border:1px solid #897784;border-radius:8px;z-index:5}.tools-open .controls{display:flex}.arena-3d{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}.fruit-bar{position:absolute;z-index:4;bottom:max(8px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;width:min(410px,calc(100% - 20px));padding:4px;background:#211b17ed;border:1px solid #a88a5d;border-radius:8px;box-shadow:0 4px 16px #0008}.fruit-bar button{min-width:0;height:55px;display:grid;grid-template-rows:35px 13px;place-items:center;border-radius:5px;background:#4a392d;color:#fff1dc;font-size:10px;font-weight:700;padding:2px 0;touch-action:manipulation}.fruit-bar button:hover{background:#69503b}.fruit-bar button:active{background:#9a663e}.fruit-bar canvas{width:47px;height:36px;pointer-events:none}.fruit-bar span{white-space:nowrap}#game.grabbing{cursor:grabbing}#game{position:relative}.controls .tool-tray{grid-template-columns:repeat(4,minmax(0,1fr))}.tools-toggle{position:absolute;bottom:22px;right:24px;border:2px solid #f3ce76;background:#332936;color:#ffe7ad;padding:14px 22px;border-radius:8px;font-weight:800;box-shadow:0 4px 14px #0007;z-index:6}.topbar h1{font-size:25px;transform:none;font-style:normal;color:#fff0ce;text-shadow:0 2px 8px #101b18}.logo-line{height:3px;background:#dfb763}.top-actions .face-button,.top-actions .icon-button{background:#142522e8;border:1px solid #a78d59;color:#f8ebcf;box-shadow:0 3px 12px #0006}.top-actions button:hover{background:#29423b;border-color:#ebc781}.arena-panel{position:absolute;right:14px;top:76px;z-index:8;width:min(270px,calc(100% - 28px));padding:12px;background:#142522f7;color:#fff0d0;border:1px solid #a78d59;border-radius:8px;box-shadow:0 8px 26px #0009;font-size:13px}.arena-panel[hidden]{display:none}.arena-panel>label{display:flex;align-items:center;gap:8px;min-height:33px}.arena-panel input{accent-color:#c69d55}.arena-options-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0}.arena-panel select{min-width:115px;max-width:154px;padding:5px;background:#263e36;border:1px solid #768370;border-radius:4px;color:#fff0d0;font:inherit}#room-picker{width:min(640px,calc(100% - 24px));background:#142522;border-color:#a78d59;color:#fff0d0}#room-picker h2{margin:0 0 16px;font-size:24px}.room-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.room-grid button{min-height:98px;display:grid;place-items:center;align-content:center;gap:9px;background:#293e36;color:#fff1dc;border:1px solid #617167;border-radius:8px;font-weight:700;font-size:13px;text-align:center;padding:8px 4px}.room-grid button:hover{border-color:var(--room-accent);background:#374e43}.room-grid svg{width:26px;height:26px;color:var(--room-accent)}@media(max-width:430px){.room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#rooms-button{position:absolute;right:72px;top:49px;width:30px;height:30px}}@media(max-width:430px){#arena-options{position:absolute;top:49px;right:36px;width:30px;height:30px}.arena-panel{top:103px}}.fruit-bar{background:#152522ee;border-color:#ad8f57;box-shadow:0 6px 18px #0009,inset 0 1px #ffffff17}.fruit-bar button{background:linear-gradient(#3c534b,#253730);color:#fff1d4;border:1px solid #6c7967}.fruit-bar button:hover{background:#4b6151;border-color:#e4bb72}.fruit-bar button:active{background:#755a34}.tool-hint,.drop-hint{display:none}.tool-tray{margin-top:12px}.tool{height:80px}.tool canvas{height:49px}.tool span{font-size:11px}.toast{top:95px;font-size:12px}@media(max-width:430px){.topbar h1{font-size:20px}.controls{padding:12px}.tool span{font-size:9px}.tools-toggle{right:14px;bottom:16px}.game{min-height:580px}}
#face-dialog,.info-dialog{background:#142522;border-color:#a78d59;color:#fff0d0}.info-dialog p,.info-dialog li{color:#e3d8c2}.privacy-note{color:#d8cbb0}.position-row button{background:#263e36;border-color:#617167}.secondary{background:#263e36;color:#fff0d0}
