:root{font-family:"Trebuchet MS","Segoe UI",sans-serif;color:#12465a;background:#1595db;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:linear-gradient(#0485d855,#22b5e577),url('./assets/sky.webp') center top/cover no-repeat fixed}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,#stage:focus-visible{outline:3px solid #ffdb46;outline-offset:3px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.symbols{position:absolute;width:0;height:0}.masthead{width:min(1240px,calc(100% - 48px));margin:26px auto 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}.wordmark{width:175px;display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none}.wordmark img{width:170px;filter:drop-shadow(0 2px 0 #ffffffd0)}.wordmark>span{font-size:10px;font-weight:bold;letter-spacing:.2em;color:#e6fffb}.masthead-title{text-align:center;text-shadow:0 2px 1px #126b9b50;color:white}.masthead-title>span{font-size:14px;letter-spacing:.08em}h1{font-size:37px;letter-spacing:-1.2px;margin:1px 0;font-weight:900}.paper-link{display:flex;align-items:center;gap:8px;font-size:14px;color:white;text-decoration:none;background:#0473b081;border:1px solid #8be4ff80;border-radius:24px;padding:11px 15px;box-shadow:inset 0 1px 0 #ffffff70}.paper-link:hover{background:#04669c}#game-shell{width:min(1240px,calc(100% - 48px));margin:auto;padding:7px;background:linear-gradient(#d1ffff,#85dfeb 48%,#068abe);border:1px solid #d1fbff;border-radius:22px;box-shadow:0 14px 45px #07436350,inset 0 0 0 2px #ffffff65}.game-frame{position:relative;border:2px solid #218ba8;border-radius:15px 15px 7px 7px;overflow:hidden;background:#5cbccf}.room-title{position:absolute;z-index:4;left:20px;top:18px;display:flex;align-items:center;gap:10px;background:linear-gradient(#fffef3e8,#e5f9f0e8);border:1px solid #fff;border-radius:14px;padding:10px 14px;box-shadow:0 3px 12px #15576325;pointer-events:none}.room-title strong{display:block;font-size:16px;color:#155c68}.room-title div>span{display:block;font-size:12px;margin-top:2px;color:#4e7d82}.room-pin{font-size:19px;color:#79b919;text-shadow:0 1px white}.room-tools{position:absolute;right:16px;top:18px;z-index:5;display:flex;align-items:center;gap:10px}.preview-badge{font-size:12px;background:#e7ffffd9;color:#23697c;padding:7px 12px;border-radius:20px;border:1px solid #ffffffaa}.glass-button{width:35px;height:35px;display:grid;place-items:center;background:linear-gradient(#f5ffff,#9ee4f1);border:1px solid white;border-radius:10px;color:#126585}.glass-button svg{width:20px;height:20px}#stage{position:relative;width:100%;aspect-ratio:1.6;overflow:hidden;touch-action:none}#backdrop{position:absolute;inset:0;width:100%;height:100%;display:block}#stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block}#labels,#hotspots{position:absolute;inset:0;pointer-events:none;z-index:2}.nametag{position:absolute;transform:translate(-50%,0);color:white;background:#104a66b0;padding:3px 8px;border-radius:7px;font-size:11px;white-space:nowrap;border:1px solid #ffffff70;text-shadow:0 1px #16485a;will-change:transform}.nametag.player{background:#ffffffeb;color:#1b5361;text-shadow:none;border-color:#b9d985;font-weight:bold}.speech{position:absolute;transform:translate(-50%,-100%);max-width:200px;min-width:35px;text-align:center;padding:9px 13px;background:#ffffffed;border:2px solid #68abc1;border-radius:14px;font-size:14px;color:#20566d;overflow-wrap:anywhere;box-shadow:0 3px 8px #17526b20}.speech:after{content:'';position:absolute;bottom:-7px;left:calc(50% - 5px);width:10px;height:10px;background:white;border-right:2px solid #68abc1;border-bottom:2px solid #68abc1;transform:rotate(45deg)}.hotspot{pointer-events:auto;position:absolute;transform:translate(-50%,-100%);border:1px solid #fff;background:linear-gradient(#ffffffe8,#dcfaffed);padding:5px 10px;border-radius:10px;color:#1c6679;font-size:12px;font-weight:bold;box-shadow:0 2px 7px #1d536329;white-space:nowrap}.hotspot:hover{background:#fff5b3;transform:translate(-50%,-105%)}.stage-hint{position:absolute;z-index:3;bottom:13px;left:50%;transform:translateX(-50%);background:#f2fff3c7;border:1px solid #ffffff85;border-radius:15px;padding:6px 12px;font-size:12px;color:#357365;white-space:nowrap;pointer-events:none}.stage-hint span{padding:0 8px}.toolbar{display:flex;align-items:center;gap:9px;background:linear-gradient(#31bded 0%,#087fbb 46%,#00619a 49%,#0476ae 100%);border:2px solid #c6faff;border-radius:19px;padding:9px 13px;margin:6px 5px 0;box-shadow:inset 0 2px 0 #83e4fc,inset 0 -3px 0 #065688,0 2px 4px #16557150;color:white}.tool-button{height:56px;width:54px;flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:1px solid #2e9ac6;border-radius:13px;background:linear-gradient(#6dd7f5,#1895c9 49%,#037bb4 50%);color:white;box-shadow:inset 0 1px 0 #b9faff,0 2px 2px #025f91}.tool-button:hover{background:linear-gradient(#a0edff,#20acce)}.tool-button span{font-size:11px;text-shadow:0 1px #065d82}.tool-button svg{height:23px;width:23px}.toolbar form{flex:1;display:flex;min-width:0;padding:4px;background:#e5fbff;border:2px solid #065c8a;border-radius:14px;box-shadow:0 1px 0 #93eaff}.toolbar input{width:100%;min-width:0;background:transparent;border:0;outline-offset:0;color:#245e73;font-size:15px;padding:7px 10px}.toolbar input::placeholder{color:#6c929f}.toolbar form button{width:35px;flex-shrink:0;border:1px solid #62bc69;border-radius:10px;color:#31702d;background:linear-gradient(#deffa1,#8fe262);display:grid;place-items:center}.toolbar form button svg{width:20px}.below-game{padding:10px 14px 5px;display:flex;justify-content:space-between;gap:15px;color:#064567;font-size:12px}.below-game b{color:#003c5c}.subtle{color:#176281}#demo-label{font-size:11px;color:#07567a}footer{max-width:1240px;margin:16px auto 25px;padding:0 22px;color:#dcf6ff;font-size:12px;display:flex;justify-content:space-between;gap:20px;text-shadow:0 1px #1a84b2}#loader,#load-error{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;background:linear-gradient(#d2f5ffed,#e6ffc8ed);text-align:center;padding:25px}#loader img{width:76px;height:76px;object-fit:contain;animation:float 1.5s ease-in-out infinite}#loader strong{font-size:18px}#loader span{font-size:14px;color:#487c87}@keyframes float{50%{transform:translateY(-8px)}}[hidden]{display:none!important}dialog{width:min(440px,calc(100% - 28px));max-height:85dvh;overflow:auto;border:2px solid #f0ffff;border-radius:20px;padding:25px;background:linear-gradient(#f5ffff,#e5f7ed);color:#20566d;box-shadow:0 18px 80px #00385470}dialog::backdrop{background:#00325077;backdrop-filter:blur(4px)}.close{position:absolute;top:10px;right:12px;border:0;background:#d5edf0;color:#29697c;border-radius:50%;width:29px;height:29px;font-size:24px;line-height:1}dialog h2{margin:5px 0 8px;font-size:27px;color:#126b83;letter-spacing:-.6px}dialog p{font-size:14px;line-height:1.6}dialog .kicker{font-size:11px;letter-spacing:.12em;font-weight:bold;color:#639447}dialog label{display:block;font-size:14px;margin:17px 0 8px}dialog input:not([type=checkbox]),dialog select{width:100%;padding:11px;border-radius:10px;border:1px solid #a6ced4;background:white;color:#295b6b}dialog input[type=color]{height:44px;padding:4px}.choice-row{display:flex;gap:8px;flex-wrap:wrap}.choice-row button,.modal-button{border:1px solid #8bc5d1;border-radius:11px;background:linear-gradient(#fff,#cfedf4);padding:10px 12px;color:#175d79;font-size:14px}.choice-row button[aria-pressed=true]{background:linear-gradient(#dfffa8,#a1e86e);border-color:#83b844}.palette-dot{width:42px;height:42px;border-radius:50%!important;padding:0!important}.modal-button{display:block;margin-top:20px;width:100%;text-align:center;text-decoration:none;font-weight:bold}.modal-button.primary{background:linear-gradient(#cef781,#8edc57);border-color:#76b440;color:#326523}.map-list{display:grid;gap:10px;margin-top:20px}.map-list button{display:flex;justify-content:space-between;background:white;border:1px solid #a9d3d8;border-radius:12px;padding:15px;color:#285d70}.muted{font-size:12px!important;color:#648793}.check-label{display:flex!important;align-items:center;gap:10px}.check-label input{accent-color:#167dad;width:20px;height:20px}.emotes{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.emotes button{border:1px solid #b9dade;background:white;border-radius:14px;padding:15px 5px;font-size:27px}.motion-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#fffdebeF;color:#2c626e;border:1px solid #d3eece;border-radius:14px;padding:11px 18px;font-size:14px;z-index:20;box-shadow:0 5px 22px #00588240;pointer-events:none;opacity:0;transition:opacity .2s}#toast.show{opacity:1}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}#game-shell:fullscreen{width:100%;height:100%;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#178ec8}#game-shell:fullscreen .game-frame{width:min(100%,calc((100dvh - 120px)*1.6))}#game-shell:fullscreen .toolbar{width:min(1240px,100%)}#game-shell:fullscreen .below-game{width:min(1240px,100%)}@media(max-width:760px){.masthead{width:calc(100% - 24px);margin:17px auto 12px}.wordmark{width:110px}.wordmark img{width:105px}.wordmark>span{font-size:7px;letter-spacing:.12em}.masthead-title>span{font-size:11px}.masthead-title h1{font-size:24px}.paper-link{font-size:0;padding:9px}.paper-link svg{width:21px;height:21px}#game-shell{width:calc(100% - 12px);padding:4px;border-radius:14px}.game-frame{border-radius:10px}.room-title{left:9px;top:9px;padding:6px 9px;gap:5px;border-radius:10px}.room-title strong{font-size:12px}.room-title div>span,.room-pin{display:none}.room-tools{right:8px;top:8px;gap:6px}.preview-badge{font-size:10px;padding:5px 7px}.glass-button{width:28px;height:28px;border-radius:8px}.stage-hint{font-size:9px;padding:4px 7px;bottom:5px}.stage-hint span{padding:0 3px}.nametag{font-size:8px;padding:2px 4px}.speech{font-size:11px;padding:6px 8px;max-width:130px}.hotspot{font-size:9px;padding:3px 6px}.toolbar{gap:6px;flex-wrap:wrap;padding:7px;margin:4px 0 0;border-radius:13px;justify-content:center}.tool-button{height:43px;width:48px;border-radius:10px}.tool-button svg{width:19px;height:19px}.tool-button span{font-size:9px}.toolbar form{order:2;flex-basis:100%;height:41px}.toolbar input{font-size:14px}.below-game{padding:9px 7px 5px;flex-direction:column;gap:4px;font-size:11px}#demo-label{font-size:10px}footer{font-size:10px;flex-direction:column;gap:7px;padding:0 16px}#loader strong{font-size:14px}#loader img{width:40px;height:40px}#loader span{display:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-width:760px){.hotspot{max-width:75px;white-space:normal;font-size:10px;line-height:1.2;min-height:26px}.hotspot[data-hotspot=fonte]{margin-top:-19px}.hotspot[data-hotspot=banca]{margin-top:10px}}

/* arma e praça ao vivo */
.gun-button .gun-emoji{font-size:22px;line-height:1;filter:grayscale(.2)}
.gun-button[aria-pressed="true"]{background:linear-gradient(#3a3d42,#15171a)!important;color:#fff!important;box-shadow:0 0 0 2px #d8342a inset,0 4px 14px rgba(0,0,0,.35)!important}
#stage.mirando,#stage.mirando canvas{cursor:crosshair}
.preview-badge.ao-vivo{background:linear-gradient(#ff6b6b,#d8342a);color:#fff;border-color:#b3251d}

.below-game a{color:inherit;font-weight:700}

.dance-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.dance-card{border:1px solid #68cbd6;border-radius:18px;background:linear-gradient(#fff,#c7f9e6);padding:18px 12px;color:#07536c;cursor:pointer;display:grid;gap:8px;text-align:center}.dance-card>span{font-size:32px}.dance-card strong{font-size:17px}.dance-card small{line-height:1.4}.dance-card:hover{background:#aaf2ce}.dance-card:focus-visible{outline:3px solid #138eca;outline-offset:3px}.dance-now{display:flex;align-items:center;justify-content:center;gap:16px;padding:9px;border-radius:0 0 16px 16px;background:#075269;color:white}.dance-now[hidden]{display:none}.dance-now button{border:1px solid #a4f4ec;border-radius:20px;padding:6px 13px;background:#c8fae9;color:#075269;cursor:pointer}#dance-volume{width:100%;accent-color:#07958d}#dance-button>span:first-child{font-size:25px;line-height:25px}

/* cartão do jogador e amigos (estilo Club Penguin) */
#amigos-button{position:relative}
.amigos-badge{position:absolute;top:2px;right:4px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#d8342a;color:#fff;font:700 11px/18px sans-serif;box-shadow:0 0 0 2px #fff}
.cartao{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}
.cartao-boneco{width:150px;height:auto;border-radius:18px;background:radial-gradient(circle at 50% 35%,#ffffff,#c9f0ff 60%,#8fd3f5);box-shadow:inset 0 0 0 2px rgba(255,255,255,.8),0 6px 16px rgba(0,60,110,.25)}
.cartao-info{flex:1;min-width:200px}
.cartao-info h2{margin:2px 0 6px}
.cartao-tag{display:inline-block;padding:3px 10px;border-radius:99px;background:linear-gradient(#ffe36b,#f5b800);color:#5a3d00;font:700 11px/1.4 sans-serif;letter-spacing:.06em}
.cartao-status{margin:8px 0;font-size:13px}
.cartao-moods{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0}
.cartao-moods span{padding:3px 9px;border-radius:99px;background:#e4f6ff;color:#1b6fa8;font-size:12px}
.cartao-orkut{display:grid;grid-template-columns:1fr 1fr;gap:3px 12px;margin:8px 0;font-size:12.5px}
.cartao-acoes{margin-top:10px;display:grid;gap:8px}
.amigo-selo{margin:0;font-weight:700;color:#2a9a2a}
.amigo-linha{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid rgba(80,140,190,.2)}
.amigo-linha b{flex:1}
.amigo-cor{flex:none;width:26px;height:26px;border-radius:50%;box-shadow:inset 0 -3px 6px rgba(0,0,0,.15),0 1px 3px rgba(0,40,80,.3)}
.amigos-rotulo{margin:10px 0 2px;font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#1b6fa8}
.amigo-status{font-size:12px;color:#5b7d94}
.amigo-linha .modal-button{width:auto;flex:none;padding-left:14px;padding-right:14px}
/* Shared desktop alerts, placed below the plaza chat toolbar. */
.plaza-chat-alerts{margin:7px 7px 0}.plaza-chat-alerts .room-notifications{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:9px 12px;border:1px solid #a5dbe6;border-radius:12px;background:linear-gradient(#f6ffff,#d6eef7);box-shadow:inset 0 1px #fff;color:#245d75;font:12px/1.4 'Segoe UI',Arial}.plaza-chat-alerts .room-notifications span{flex:1;min-width:160px}.plaza-chat-alerts .vista-button{padding:7px 11px;border:1px solid #7db1c8;border-radius:7px;color:#215979;background:linear-gradient(#fff,#c8eaf7 48%,#a9d8ed 50%,#e7f8ff);box-shadow:inset 0 1px #fff;font-size:12px}.plaza-chat-alerts .vista-button[aria-pressed=true]{background:linear-gradient(#e5ffc7,#b6e890);border-color:#92b95c}.plaza-chat-alerts button:disabled{opacity:.6;cursor:default}#game-shell:fullscreen .plaza-chat-alerts{width:min(1226px,100%)}#game-shell:fullscreen .game-frame{width:min(100%,calc((100dvh - 190px)*1.6))}@media(max-width:760px){.plaza-chat-alerts{margin:6px 0 0}.plaza-chat-alerts .room-notifications{padding:8px;font-size:11px}}
