/* =====================================================================
   ZEMUS UI v2 — janelas do jogo (catálogo, mochila, quartos, compra)
   Claro e macio pro olho: branco com lilás, um roxo vivo de destaque, verde para comprar e dourado para moedas.
   Letra arredondada (Fredoka). Movimento só quando a pessoa faz algo: abrir, escolher, apertar, comprar.
   ===================================================================== */
:root {
  --zRoxo: #7a5cff; --zRoxo2: #5a3fe0; --zRoxoClaro: #efeaff; --zLilas: #f7f4ff;
  --zVerde: #31d394; --zVerde2: #17a873;
  --zSol: #ffcf3f; --zSol2: #f4a414;
  --zRosa: #ff7eb6;
  --zTinta: #2f2752; --zSuave: #8a82a8; --zLinha: #e6e0f7;
  --zFonte: "Fredoka", "Nunito", system-ui, sans-serif;
}
/* ---------- botões ---------- */
.zBt { --a: var(--zRoxo); --b: var(--zRoxo2); position:relative; overflow:hidden; display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:10px 24px; border:0; border-radius:14px;
  background:linear-gradient(180deg, var(--a), var(--b)); color:#fff; font-family:var(--zFonte); font-weight:600; font-size:16px; letter-spacing:.2px; cursor:pointer;
  box-shadow:0 4px 0 color-mix(in srgb, var(--b) 70%, #000), inset 0 2px 0 rgba(255,255,255,.35), 0 8px 18px -6px color-mix(in srgb, var(--b) 70%, transparent);
  text-shadow:0 1px 1px rgba(0,0,0,.18); transition:transform .1s, box-shadow .1s, filter .15s; }
.zBt::after { content:""; position:absolute; top:0; bottom:0; left:-60%; width:40%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform:skewX(-18deg); transition:left .55s; }
.zBt:hover { transform:translateY(-1px); filter:brightness(1.06); } .zBt:hover::after { left:120%; }
.zBt:active { transform:translateY(3px); box-shadow:0 1px 0 color-mix(in srgb, var(--b) 70%, #000), inset 0 2px 0 rgba(255,255,255,.35); }
.zBt:disabled { --a:#d9d4ea; --b:#bdb6d6; cursor:default; text-shadow:none; color:#f7f5fd; } .zBt:disabled::after { display:none; } .zBt:disabled:hover { transform:none; filter:none; }
.zBtVerde { --a: var(--zVerde); --b: var(--zVerde2); }
.zBtSol { --a: var(--zSol); --b: var(--zSol2); color:#5c3a00; text-shadow:0 1px 0 rgba(255,255,255,.4); }
.zBt2 { --a:#ffffff; --b:#ece7fb; color:var(--zTinta); text-shadow:none; box-shadow:0 4px 0 #d3cbef, inset 0 2px 0 #fff, 0 8px 18px -8px rgba(60,40,140,.3); }
.zBt:focus-visible, .zJanela button:focus-visible { outline:3px solid var(--zSol); outline-offset:2px; }

/* ---------- janela ---------- */
.zJanela, .zPainel.painelFofo { font-family:var(--zFonte) !important; color:var(--zTinta) !important; background:linear-gradient(180deg, #fff, var(--zLilas)) !important; border:0 !important; border-radius:24px !important;
  box-shadow:0 0 0 1px rgba(90,60,200,.12), inset 0 2px 0 #fff, 0 30px 60px -16px rgba(52,30,120,.5) !important; }
.zJanela:not([hidden]), .zPainel:not([hidden]) { animation:zAbre .32s cubic-bezier(.2,1.25,.4,1); }
@keyframes zAbre { from { opacity:0; transform:translateY(16px) scale(.95); } }
.zjTopo { display:flex; align-items:center; gap:10px; padding:12px 12px 10px 16px; }
.zjTitulo { flex:1; display:flex; align-items:center; gap:9px; font-weight:600; font-size:22px; }
.zjTitulo .ic { width:26px; height:26px; color:var(--zRoxo); }
.zjMoedas { display:flex; align-items:center; gap:5px; padding:3px 12px 3px 4px; border-radius:999px; background:var(--zTinta); color:var(--zSol); font-weight:600; font-size:16px; }
.zjMoedas img { width:24px; height:24px; }
.zjFechar { width:36px; height:36px; display:grid; place-items:center; border:0; border-radius:12px; background:var(--zRoxoClaro); cursor:pointer; transition:transform .15s, background .15s; }
.zjFechar .ic { width:18px; height:18px; color:var(--zRoxo2); } .zjFechar:hover { background:#ffe3ef; transform:rotate(90deg); } .zjFechar:hover .ic { color:#e0457f; }
/* abas de cima (trilho com pílula) */
.zjAbas, .zAbas { display:flex; gap:4px; margin:0 14px; padding:4px; border-radius:14px; background:var(--zRoxoClaro); }
.zjAbas button, .zAbas button { flex:1; padding:8px 6px; border:0; border-radius:10px; background:transparent; color:var(--zSuave); font-family:var(--zFonte); font-weight:600; font-size:15px; cursor:pointer; transition:background .2s, color .2s, box-shadow .2s, transform .1s; }
.zjAbas button:hover, .zAbas button:hover { color:var(--zRoxo2); }
.zjAbas button.on, .zAbas button.on { background:#fff; color:var(--zRoxo2); box-shadow:0 2px 0 #d9d0f6, 0 6px 14px -6px rgba(90,60,200,.35); }
.zjAbas button:active, .zAbas button:active { transform:scale(.96); }

/* ---------- catálogo ---------- */
#painelCatalogo.zCat { position:fixed; top:96px; right:14px; bottom:auto; left:auto; width:min(740px, calc(100vw - 28px)); height:min(640px, calc(100vh - 190px)); min-height:380px; display:flex; flex-direction:column; padding:0 !important; overflow:hidden; z-index:20; }
.catBanner { position:relative; overflow:hidden; display:flex; align-items:center; gap:12px; margin:10px 14px 0; padding:8px 14px; border-radius:16px; background:linear-gradient(110deg, #efe8ff 0%, #ffeaf4 60%, #fff4dc 100%); }
.catBanner .bolha { width:42px; height:42px; flex:none; border-radius:14px; } .catBanner .bolha .ic { width:24px; height:24px; color:#fff; }
.catBanner b { display:block; font-weight:600; font-size:19px; line-height:1.1; } .catBanner span { font-size:13px; font-weight:500; color:#6d6590; }
.cbBrilho { position:absolute; right:-30px; top:-30px; width:120px; height:120px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.9), transparent 70%); }
.catCorpo { flex:1; min-height:0; display:grid; grid-template-columns:200px 1fr; gap:12px; padding:12px 14px 0; }
.catMenu { min-height:0; display:flex; flex-direction:column; gap:8px; }
.catBuscaCx { display:flex !important; align-items:center; gap:7px; height:38px !important; padding:0 12px !important; border-radius:12px !important; background:#fff !important; border:2px solid var(--zLinha) !important; box-shadow:none !important; transition:border-color .15s; flex:none; }
.catBuscaCx:focus-within { border-color:var(--zRoxo) !important; } .catBuscaCx .ic { width:16px; height:16px; color:var(--zSuave) !important; }
#catBusca { flex:1; min-width:0; border:0 !important; outline:0; background:transparent !important; font-family:var(--zFonte); font-weight:500 !important; font-size:14px !important; color:var(--zTinta) !important; }
#catBusca::placeholder { color:#b3abcd !important; }
#painelCatalogo #abasCat { flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:3px; padding:0 4px 10px 0; scrollbar-width:thin; scrollbar-color:#d9d0f6 transparent; }
#painelCatalogo #abasCat .catArea { width:auto; flex:none; flex-direction:row; position:relative; box-shadow:none; border:0; display:flex; align-items:center; gap:9px; padding:6px 8px 6px 6px; border:0; border-radius:12px; background:transparent; color:var(--zTinta); font-family:var(--zFonte); font-weight:500; font-size:14px; text-align:left; cursor:pointer; transition:background .15s, transform .12s; }
#painelCatalogo #abasCat .catArea .bolha { width:28px; height:28px; flex:none; border-radius:9px; } #painelCatalogo #abasCat .catArea .bolha .ic { width:16px; height:16px; color:#fff; }
#painelCatalogo #abasCat .catArea .caNome { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#painelCatalogo #abasCat .catArea small { position:static; min-width:0; border:0; padding:1px 7px; border-radius:999px; background:var(--zRoxoClaro); color:var(--zSuave); font-size:11px; font-weight:600; }
#painelCatalogo #abasCat .catArea:hover { background:#f1ecff; transform:translateX(2px); }
#painelCatalogo #abasCat .catArea.on { background:linear-gradient(90deg, var(--zRoxo), #9b7bff); color:#fff; box-shadow:0 6px 14px -6px rgba(90,60,200,.6); }
#painelCatalogo #abasCat .catArea.on small { background:rgba(255,255,255,.25); color:#fff; }
.catVitrine { min-width:0; min-height:0; display:flex; flex-direction:column; gap:10px; }
.catPalco { position:relative; flex:0 0 40%; min-height:140px; border-radius:18px; overflow:hidden; background:radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f1ebff 55%, #e4dafc 100%); box-shadow:inset 0 0 0 1px rgba(122,92,255,.12); }
#catCanvas { position:absolute; inset:0; width:100%; height:100%; display:block; cursor:grab; touch-action:none; } #catCanvas:active { cursor:grabbing; }
.cpTopo { position:absolute; left:12px; top:10px; display:flex; flex-direction:column; pointer-events:none; }
.cpTopo b { font-weight:600; font-size:18px; } .cpTopo span { font-size:12px; font-weight:500; color:var(--zVerde2); }
.cpDica { position:absolute; left:12px; bottom:10px; font-size:11px; font-weight:500; color:#a59cc4; pointer-events:none; }
.cpPreco { position:absolute; right:10px; bottom:10px; display:flex; align-items:center; gap:4px; padding:3px 12px 3px 4px; border-radius:999px; background:var(--zTinta); color:var(--zSol); font-weight:600; font-size:17px; pointer-events:none; }
.cpPreco img { width:24px; height:24px; }
.cpVazio { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:#a59cc4; font-weight:500; font-size:14px; pointer-events:none; }
.cpVazio .ic { width:34px; height:34px; color:#cdbff8; }
.catPalco.tem .cpVazio { display:none; } .catPalco:not(.tem) .cpTopo, .catPalco:not(.tem) .cpPreco, .catPalco:not(.tem) .cpDica { visibility:hidden; }
#painelCatalogo #gradeCat { flex:1; min-height:0; overflow-y:auto; display:grid; grid-template-columns:repeat(auto-fill, minmax(70px, 1fr)); align-content:start; gap:8px; padding:2px 4px 12px 2px; scrollbar-width:thin; scrollbar-color:#d9d0f6 transparent; }
#painelCatalogo #gradeCat .catItem { position:relative; display:flex; flex-direction:column; align-items:center; gap:2px; padding:6px 4px 5px; border:0; border-radius:14px; background:#fff; cursor:pointer; box-shadow:0 0 0 1px var(--zLinha), 0 3px 0 #e9e3f8; transition:transform .12s, box-shadow .12s; }
#painelCatalogo #gradeCat .catItem > img { width:46px; height:46px; object-fit:contain; transition:transform .2s; }
#painelCatalogo #gradeCat .catItem em { display:flex; align-items:center; gap:2px; font-style:normal; font-size:12px; font-weight:600; color:#b47a00; }
#painelCatalogo #gradeCat .catItem em img { width:14px; height:14px; }
#painelCatalogo #gradeCat .catItem:hover { transform:translateY(-2px); box-shadow:0 0 0 1px #d4c8fb, 0 6px 14px -6px rgba(90,60,200,.35); } #painelCatalogo #gradeCat .catItem:hover > img { transform:scale(1.1) rotate(-4deg); }
#painelCatalogo #gradeCat .catItem.on { box-shadow:0 0 0 3px var(--zRoxo), 0 8px 18px -8px rgba(90,60,200,.6); transform:translateY(-2px); }
#painelCatalogo #gradeCat .catItem.on > img { animation:zPulinho .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes zPulinho { 40% { transform:translateY(-6px) scale(1.12); } }
.ciTem { position:absolute; top:-5px; right:-5px; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:var(--zVerde); color:#fff; font-style:normal; font-size:11px; font-weight:600; display:grid; place-items:center; box-shadow:0 0 0 2px #fff; }
#painelCatalogo #gradeCat .vazioFofo { grid-column:1 / -1; }
.catRodape { flex:none; display:flex !important; align-items:center; gap:12px; padding:12px 14px 14px !important; margin:0 !important; border-radius:0 !important; background:transparent !important; border-top:1px solid var(--zLinha) !important; }
.crNota { flex:1; display:flex; align-items:center; gap:6px; font-size:13px; font-weight:500; color:var(--zSuave); } .crNota .ic { width:16px; height:16px; color:var(--zSol2); }
#catComprar { min-width:150px; font-size:17px; }

/* ---------- mochila e quartos (usam o mesmo visual) ---------- */
.zPainel.painelFofo { padding:14px !important; display:flex; flex-direction:column; gap:10px; }
.zPainel .pTit { display:flex; align-items:center; margin:0 !important; padding:0 !important; background:none !important; border:0 !important; }
.zPainel .pTit > span { flex:1; display:flex; align-items:center; gap:9px; font-family:var(--zFonte); font-weight:600 !important; font-size:22px !important; color:var(--zTinta) !important; text-shadow:none !important; }
.zPainel .pTit > span > .ic { width:26px; height:26px; color:var(--zRoxo) !important; filter:none !important; }
.zPainel .pX { width:36px !important; height:36px !important; padding:0 !important; font-size:0 !important; display:grid !important; place-items:center; border:0 !important; border-radius:12px !important; background:var(--zRoxoClaro) !important; box-shadow:none !important; cursor:pointer; transition:transform .15s; }
.zPainel .pX::before { content:""; width:16px; height:16px; background:var(--zRoxo2); -webkit-mask:url(icones-ui/x.svg) center/contain no-repeat; mask:url(icones-ui/x.svg) center/contain no-repeat; }
.zPainel .pX:hover { transform:rotate(90deg); background:#ffe3ef !important; }
.invConta { font-style:normal; padding:1px 9px; border-radius:999px; background:var(--zRoxoClaro); color:var(--zRoxo2); font-size:14px; font-weight:600; }
#painelInventario.zPainel { width:min(420px, calc(100vw - 28px)); max-height:calc(100vh - 210px); }
.zChips { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; flex:none; } .zChips::-webkit-scrollbar { display:none; }
.zChips button { flex:none; padding:6px 13px; border:0; border-radius:999px; background:var(--zRoxoClaro); color:var(--zSuave); font-family:var(--zFonte); font-weight:600; font-size:13px; cursor:pointer; transition:background .15s, color .15s; }
.zChips button.on { background:var(--zRoxo); color:#fff; }
#invGrade { flex:1; min-height:120px; overflow-y:auto; display:grid; grid-template-columns:repeat(auto-fill, minmax(84px, 1fr)); align-content:start; gap:9px; padding:4px 4px 8px 2px; }
.invItem { position:relative; display:flex; flex-direction:column; align-items:center; gap:3px; padding:8px 5px 7px; border:0; border-radius:16px; background:#fff; cursor:pointer; font-family:var(--zFonte); color:var(--zTinta); box-shadow:0 0 0 1px var(--zLinha), 0 3px 0 #e9e3f8; transition:transform .12s, box-shadow .12s; }
.invItem .catFoto { width:100% !important; aspect-ratio:1 !important; border-radius:12px !important; background:radial-gradient(circle at 50% 40%, #fff, #f1ebff) !important; display:grid; place-items:center; }
.invItem .catFoto img { width:78% !important; height:78% !important; object-fit:contain; }
.invItem b { width:100%; font-size:12px; font-weight:500; text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.invItem:hover { transform:translateY(-2px); box-shadow:0 0 0 2px var(--zRoxo), 0 8px 16px -8px rgba(90,60,200,.5); }
.invDica { display:flex; align-items:center; gap:6px; font-size:13px; font-weight:500; color:var(--zSuave); flex:none; } .invDica .ic { width:16px; height:16px; color:var(--zRoxo); }
#painelQuartos.zPainel { width:min(400px, calc(100vw - 28px)); max-height:calc(100vh - 210px); }
#painelQuartos .zAbas { margin:0; flex:none; }
#listaQuartos { flex:1; min-height:80px; overflow-y:auto; display:flex; flex-direction:column; gap:8px; padding:2px; }
.qCard { display:flex; align-items:center; gap:11px; padding:9px 10px; border-radius:16px; background:#fff; box-shadow:0 0 0 1px var(--zLinha), 0 3px 0 #e9e3f8; animation:zEntra .3s backwards; }
.qCard:nth-child(2) { animation-delay:.04s; } .qCard:nth-child(3) { animation-delay:.08s; } .qCard:nth-child(4) { animation-delay:.12s; }
@keyframes zEntra { from { opacity:0; transform:translateY(6px); } }
.qCard .bolha { width:40px; height:40px; flex:none; border-radius:13px; } .qCard .bolha .ic { width:22px; height:22px; color:#fff; }
.qInfo { flex:1; min-width:0; display:flex; flex-direction:column; } .qInfo b { font-family:var(--zFonte); font-weight:600; font-size:16px; }
.qInfo span { display:flex; align-items:center; gap:5px; font-size:12px; font-weight:500; color:var(--zSuave); }
.qPonto { width:8px; height:8px; border-radius:50%; background:var(--zVerde); box-shadow:0 0 0 3px #d6f7ea; }
.qCard .zBt { padding:8px 18px; font-size:15px; }
.qAqui { font-style:normal; padding:5px 10px; border-radius:999px; background:#e6fbf2; color:var(--zVerde2); font-family:var(--zFonte); font-weight:600; font-size:12px; }
.qCard.aqui { box-shadow:0 0 0 2px var(--zVerde), 0 3px 0 #c8f0de; }

/* ---------- confirmar compra ---------- */
.zFundo { position:fixed; inset:0; z-index:70; display:grid; place-items:center; background:rgba(40,25,90,.32); backdrop-filter:blur(3px); font-family:var(--zFonte); }
.zFundo[hidden] { display:none; }
.zCaixa { position:relative; width:min(320px, calc(100vw - 32px)); display:flex; flex-direction:column; align-items:center; gap:8px; padding:20px 18px 18px; border-radius:26px; background:linear-gradient(180deg, #fff, var(--zLilas)); color:var(--zTinta); box-shadow:0 30px 60px -12px rgba(40,20,100,.5); animation:zAbre .32s cubic-bezier(.2,1.3,.4,1); }
.ccFoto { width:130px; height:130px; display:grid; place-items:center; border-radius:50%; background:radial-gradient(circle at 50% 40%, #fff, #e9e0ff); }
.ccFoto img { width:78%; height:78%; object-fit:contain; animation:zFlutua 2.4s ease-in-out infinite; }
@keyframes zFlutua { 50% { transform:translateY(-6px) rotate(-3deg); } }
.ccNome { font-weight:600; font-size:20px; text-align:center; }
.ccPergunta, .ccFeito { width:100%; display:flex; flex-direction:column; align-items:center; gap:8px; }
.zFundo[data-passo="pergunta"] .ccFeito, .zFundo[data-passo="feito"] .ccPergunta { display:none; }
.ccPreco { display:flex; align-items:center; gap:5px; padding:4px 16px 4px 5px; border-radius:999px; background:var(--zTinta); color:var(--zSol); font-weight:600; font-size:20px; }
.ccPreco img { width:28px; height:28px; }
.ccNota { font-size:12px; font-weight:500; color:var(--zSuave); } .ccTem { font-size:13px; font-weight:500; color:var(--zVerde2); }
.ccBotoes { width:100%; display:flex; gap:8px; margin-top:6px; } .ccBotoes .zBt { flex:1; padding:11px 8px; font-size:15px; }
.ccOk { font-weight:700; font-size:28px; background:linear-gradient(90deg, var(--zVerde2), #2bb8d8); -webkit-background-clip:text; background-clip:text; color:transparent; animation:zPulinho .5s cubic-bezier(.2,1.6,.4,1); }
.zConfete { position:absolute; left:50%; top:38%; width:9px; height:13px; border-radius:3px; pointer-events:none; animation:zConfete 1.1s cubic-bezier(.15,.8,.35,1) forwards; }
@keyframes zConfete { 0% { transform:translate(-50%, -50%) scale(.4); opacity:1; } 100% { transform:translate(calc(-50% + var(--x)), calc(-50% + var(--y) + 60px)) rotate(var(--r)); opacity:0; } }

/* ---------- celular e telas pequenas ---------- */
@media (max-width:900px), (max-height:520px) {
  #painelCatalogo.zCat { top:6px !important; right:66px; width:calc(100vw - 80px); height:calc(100vh - 12px); min-height:0; border-radius:18px !important; }
  .zjTopo { padding:8px 8px 6px 12px; } .zjTitulo { font-size:17px; } .zjTitulo .ic { width:20px; height:20px; } .zjFechar { width:30px; height:30px; }
  .zjAbas { margin:0 10px; } .zjAbas button { padding:5px 4px; font-size:13px; }
  .catBanner { display:none; }
  .catCorpo { grid-template-columns:150px 1fr; gap:8px; padding:8px 10px 0; }
  .catBuscaCx { height:30px !important; } #painelCatalogo #abasCat .catArea { padding:4px 6px 4px 4px; font-size:12px; } #painelCatalogo #abasCat .catArea .bolha { width:22px; height:22px; } #painelCatalogo #abasCat .catArea small { display:none; }
  .catPalco { flex-basis:42%; min-height:100px; } .cpTopo b { font-size:14px; } .cpDica { display:none; }
  #painelCatalogo #gradeCat { grid-template-columns:repeat(auto-fill, minmax(58px, 1fr)); gap:6px; } #painelCatalogo #gradeCat .catItem > img { width:36px; height:36px; }
  .catRodape { padding:6px 10px 8px !important; } .crNota { font-size:11px; } #catComprar { min-width:110px; padding:7px 14px; font-size:15px; }
  #painelInventario.zPainel, #painelQuartos.zPainel { top:6px !important; right:66px !important; max-height:calc(100vh - 12px); }
}
@media (prefers-reduced-motion: reduce) { .zJanela, .zPainel, .zCaixa, .qCard, .ccFoto img, .zConfete { animation:none !important; } }

/* =====================================================================
   ZEMUS UI v2 no resto do jogo (HUD, menu, chat, tela inicial) - vale com body.z2
   ===================================================================== */
body.z2 { --hTexto:var(--zTinta); --hFraco:var(--zSuave); }
body.z2 .hudCartao, body.z2 .hudBarra, body.z2 .hudLocal, body.z2 .hudMini, body.z2 #barra, body.z2 #historico div, body.z2 #painelGestos, body.z2 .iniDock {
  background:linear-gradient(180deg, #ffffff, var(--zLilas)) !important; border:0 !important; border-image:none !important;
  box-shadow:0 0 0 1px rgba(90,60,200,.12), inset 0 2px 0 #fff, 0 12px 26px -12px rgba(52,30,120,.55) !important; font-family:var(--zFonte); }
/* cartão do jogador */
body.z2 .hudCartao { border-radius:20px !important; padding:6px 8px 6px 6px !important; gap:10px !important; }
body.z2 .hudNivel { width:48px !important; height:48px !important; border:0 !important; border-radius:16px !important; background:linear-gradient(160deg, #9b7bff, var(--zRoxo2)) !important; box-shadow:inset 0 2px 0 rgba(255,255,255,.35), 0 6px 14px -6px rgba(90,60,200,.8) !important; }
body.z2 .hudNivel .ic { display:block !important; width:40px !important; height:40px !important; color:#fff !important; opacity:.16 !important; }
body.z2 .hudNivel b { font-family:var(--zFonte); font-weight:600; font-size:21px; color:#fff !important; text-shadow:0 1px 2px rgba(40,20,100,.4) !important; margin:0 !important; }
body.z2 .hudInfo > span { font-family:var(--zFonte); font-weight:600; font-size:16px; color:var(--zTinta) !important; }
body.z2 .hudXp, body.z2 .hudBarra > div { background:#ece6ff !important; border:0 !important; border-image:none !important; border-radius:999px !important; box-shadow:inset 0 1px 2px rgba(60,40,140,.15) !important; overflow:hidden !important; }
body.z2 .hudXp { height:14px !important; } body.z2 .hudBarra > div { height:10px !important; }
body.z2 .hudXp > i, body.z2 .hudBarra > div > i { border:0 !important; border-image:none !important; margin:0 !important; max-width:100% !important; border-radius:999px !important; box-shadow:inset 0 2px 0 rgba(255,255,255,.4) !important; position:relative; overflow:hidden; }
body.z2 .hudXp > i { background:linear-gradient(90deg, var(--zRoxo), var(--zRosa)) !important; }
body.z2 .hudBarra.fome > div > i { background:linear-gradient(90deg, #ffb35c, #ff7a59) !important; display:block !important; height:100% !important; }
body.z2 .hudBarra.sede > div > i { background:linear-gradient(90deg, #6fd3ff, #3d8bff) !important; display:block !important; height:100% !important; }
body.z2 .hudXp > i::after, body.z2 .hudBarra > div > i::after { content:""; position:absolute; top:0; bottom:0; width:30%; left:-40%; background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation:z2Brilho 3.2s ease-in-out infinite; }
@keyframes z2Brilho { 60%, 100% { left:120%; } }
body.z2 .hudXp small { font-family:var(--zFonte); font-weight:600; color:var(--zTinta) !important; font-size:9.5px !important; line-height:14px !important; mix-blend-mode:normal; }
body.z2 .hudMoedas { background:var(--zTinta) !important; border:0 !important; box-shadow:none !important; padding:3px 13px 3px 3px !important; }
body.z2 .hudMoedas b { font-family:var(--zFonte); font-weight:600; color:var(--zSol) !important; }
body.z2 .hudBarra { border-radius:999px !important; padding:4px 11px 4px 4px !important; }
body.z2 .hudBarra.fome > .ic { background:linear-gradient(160deg, #ffb35c, #ff7a59) !important; box-shadow:0 4px 10px -4px rgba(255,120,80,.7) !important; }
body.z2 .hudBarra.sede > .ic { background:linear-gradient(160deg, #6fd3ff, #3d8bff) !important; box-shadow:0 4px 10px -4px rgba(60,130,255,.7) !important; }
body.z2 .hudBarra.baixo { animation:z2Pisca 1s ease-in-out infinite !important; }
@keyframes z2Pisca { 50% { box-shadow:0 0 0 3px #ff7a9a, 0 12px 26px -12px rgba(255,80,120,.6) !important; } }
body.z2 .hudLocal { border-radius:999px !important; padding:4px 12px 4px 4px !important; }
body.z2 .hudLocal #infoQuarto { background:linear-gradient(90deg, var(--zRoxo), #9b7bff) !important; color:#fff !important; font-weight:600; }
body.z2 .hudLocal #infoOnline { color:var(--zSuave) !important; font-weight:500; }
body.z2 .hudMini { border-radius:16px !important; } body.z2 .hudMini .ic { color:var(--zRoxo2) !important; }
body.z2 .hudMini:hover { transform:translateY(-2px); } body.z2 .hudMini:active { transform:translateY(2px); }
/* bolhas de ícone (todas) */
body.z2 .bolha { border-radius:14px !important; box-shadow:inset 0 2px 0 rgba(255,255,255,.35), 0 6px 12px -6px rgba(40,20,100,.45) !important; border:0 !important; background-image:none; }
body.z2 .bolha.verde, body.z2 .bolha.menta { background:linear-gradient(160deg, #5fe3a9, #17b47c) !important; }
body.z2 .bolha.azul { background:linear-gradient(160deg, #6fc6ff, #3d7cf5) !important; }
body.z2 .bolha.ouro { background:linear-gradient(160deg, #ffd85a, #f59a12) !important; }
body.z2 .bolha.coral { background:linear-gradient(160deg, #ff9c7a, #f2565b) !important; }
body.z2 .bolha.rosa { background:linear-gradient(160deg, #ff9fd0, #ec5c9e) !important; }
body.z2 .bolha.roxo { background:linear-gradient(160deg, #b89bff, #6d4cf0) !important; }
body.z2 .bolha .ic { color:#fff !important; filter:none !important; margin:0 !important; }
/* menu de baixo */
body.z2 #hudMenu { gap:8px !important; }
body.z2 #hudMenu button { width:76px !important; padding:8px 2px 7px !important; gap:4px !important; border:0 !important; border-image:none !important; border-radius:20px !important;
  background:linear-gradient(180deg, #fff, var(--zLilas)) !important; box-shadow:0 0 0 1px rgba(90,60,200,.12), inset 0 2px 0 #fff, 0 12px 24px -12px rgba(52,30,120,.6) !important;
  color:#6d6590 !important; font-family:var(--zFonte) !important; font-weight:500 !important; font-size:12px !important; transition:transform .15s, box-shadow .15s !important; }
body.z2 #hudMenu button .bolha { width:40px; height:40px; transition:transform .2s cubic-bezier(.2,1.6,.4,1); }
body.z2 #hudMenu button:hover { transform:translateY(-4px) !important; color:var(--zRoxo2) !important; }
body.z2 #hudMenu button:hover .bolha { transform:scale(1.1) rotate(-6deg); }
body.z2 #hudMenu button:active { transform:translateY(2px) scale(.97) !important; }
body.z2 #hudMenu button.ativo { box-shadow:0 0 0 3px var(--zRoxo), 0 12px 24px -10px rgba(90,60,200,.7) !important; color:var(--zRoxo2) !important; }
/* chat */
body.z2 #barra { border-radius:22px !important; padding:6px !important; gap:6px !important; }
body.z2 #barra input { background:#f3efff !important; border:2px solid transparent !important; border-image:none !important; border-radius:16px !important; box-shadow:none !important; color:var(--zTinta) !important; font-family:var(--zFonte); font-weight:500 !important; transition:border-color .15s, background .15s; }
body.z2 #barra input:focus { border-color:var(--zRoxo) !important; background:#fff !important; }
body.z2 #barra input::placeholder { color:#ada5c9 !important; }
body.z2 #barra button, body.z2 #btGestos { border-radius:14px !important; border:0 !important; box-shadow:inset 0 2px 0 rgba(255,255,255,.35), 0 6px 12px -6px rgba(40,20,100,.5) !important; }
body.z2 #btGestos { background:linear-gradient(160deg, #ff9fd0, #ec5c9e) !important; }
body.z2 #btFalar { background:linear-gradient(160deg, #9b7bff, var(--zRoxo2)) !important; }
body.z2 #barra button .ic { filter:none !important; }
body.z2 #historico div { border-radius:14px !important; color:var(--zTinta) !important; font-family:var(--zFonte); font-weight:500 !important; }
body.z2 #historico b { color:var(--zRoxo2) !important; font-weight:600; }
body.z2 #painelGestos { border-radius:20px !important; padding:10px !important; }
body.z2 #painelGestos button { border:0 !important; border-image:none !important; border-radius:14px !important; background:#f3efff !important; box-shadow:none !important; color:var(--zTinta) !important; font-family:var(--zFonte); font-weight:500 !important; transition:background .15s, transform .1s; }
body.z2 #painelGestos button:hover { background:var(--zRoxo) !important; color:#fff !important; } body.z2 #painelGestos button:active { transform:scale(.95); }
/* tela inicial */
body.z2 .iniDock { border-radius:26px !important; padding:8px 10px !important; }
body.z2 .iniDock > button { border:0 !important; border-image:none !important; border-radius:18px !important; background:#f3efff !important; box-shadow:none !important; color:var(--zTinta) !important; font-family:var(--zFonte) !important; font-weight:600 !important; font-size:16px !important; padding:6px 18px 6px 6px !important; transition:transform .12s, background .15s !important; }
body.z2 .iniDock > button:hover { background:#e9e2ff !important; transform:translateY(-2px); }
body.z2 .iniDock > button .bolha { border-radius:13px !important; }
body.z2 .iniDock > button.principal { background:linear-gradient(180deg, var(--zSol), var(--zSol2)) !important; color:#5c3a00 !important; box-shadow:0 4px 0 #c47a00, inset 0 2px 0 rgba(255,255,255,.45), 0 10px 20px -8px rgba(240,160,20,.8) !important; animation:none !important; position:relative; overflow:hidden; }
body.z2 .iniDock > button.principal::after { content:""; position:absolute; top:0; bottom:0; width:35%; left:-50%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); transform:skewX(-18deg); animation:z2Brilho 2.8s ease-in-out infinite; }
body.z2 .iniDock > button.principal:active { transform:translateY(3px); box-shadow:0 1px 0 #c47a00 !important; }
body.z2 .iniEuFoto { border:3px solid #fff !important; box-shadow:0 0 0 2px var(--zRoxo) !important; background:radial-gradient(circle at 50% 35%, #fff, #e9e0ff) !important; }
body.z2 .iniEuTxt small { color:var(--zRoxo2) !important; }
body.z2 .iniCabeca { border:3px solid #fff !important; box-shadow:0 4px 10px -4px rgba(52,30,120,.5) !important; }
body.z2 .iniAmigos > small { color:var(--zSuave) !important; font-family:var(--zFonte); font-weight:600; }
/* painéis antigos (perfil, lista de quartos da tela inicial, notícia) */
body.z2 .painelFofo:not(.zPainel) { background:linear-gradient(180deg, #fff, var(--zLilas)) !important; border:0 !important; border-radius:24px !important; box-shadow:0 0 0 1px rgba(90,60,200,.12), 0 30px 60px -16px rgba(52,30,120,.5) !important; color:var(--zTinta) !important; font-family:var(--zFonte); }
body.z2 .painelFofo:not(.zPainel) .pTit span { font-weight:600; color:var(--zTinta); } body.z2 .painelFofo:not(.zPainel) .pTit .ic { color:var(--zRoxo) !important; }
body.z2 .painelFofo:not(.zPainel) .pX { border:0 !important; border-radius:12px !important; background:var(--zRoxoClaro) !important; box-shadow:none !important; color:var(--zRoxo2) !important; font-family:var(--zFonte); font-weight:600; }
body.z2 .perfLista div, body.z2 .iniSala, body.z2 .perfChip { border:0 !important; box-shadow:0 0 0 1px var(--zLinha), 0 3px 0 #e9e3f8 !important; }
body.z2 .perfFoto { border:4px solid #fff !important; box-shadow:0 0 0 2px var(--zRoxo), 0 12px 24px -10px rgba(90,60,200,.6) !important; }
body.z2 .notPub { background:linear-gradient(180deg, var(--zSol), var(--zSol2)) !important; box-shadow:0 4px 0 #c47a00 !important; font-family:var(--zFonte); font-weight:600 !important; }
body.z2 #aviso { font-family:var(--zFonte); font-weight:500; }
@media (max-width:900px), (max-height:520px) {
  body.z2 #hudMenu button { width:50px !important; padding:4px !important; border-radius:15px !important; }
  body.z2 #hudMenu button .bolha { width:30px; height:30px; border-radius:11px !important; }
  body.z2 .hudNivel { width:36px !important; height:36px !important; border-radius:12px !important; } body.z2 .hudNivel b { font-size:15px; } body.z2 .hudInfo > span { font-size:13px; }
  body.z2 .iniDock > button { font-size:12px !important; padding:3px 12px 3px 3px !important; }
}


/* =====================================================================
   Tema de Natal por cima do Zemus UI v2 - vale com body.natal (é só tirar a classe depois do Natal)
   pisca-pisca nas janelas, flocos no fundo das janelas
   ===================================================================== */
body.natal {
  --neve:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='12' viewBox='0 0 56 12'%3E%3Cpath d='M0 0 H56 V3 Q50 3 49 6 Q48 11 45 8 Q43 5 37 5 Q31 5 29 8 Q27 12 24 7 Q22 4 16 4 Q11 4 9 8 Q7 11 5 7 Q3 3 0 3 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  --floco:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg stroke='%237a5cff' stroke-width='1.6' stroke-linecap='round' opacity='.07' fill='none'%3E%3Cpath d='M22 12v20M13 17l18 10M13 27l18-10'/%3E%3Cpath d='M68 56v16M61 60l14 8M61 68l14-8'/%3E%3C/g%3E%3C/svg%3E");
  --gorro:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='34' viewBox='0 0 40 34'%3E%3Cpath d='M6 26 C8 12 16 4 28 4 C33 4 36 8 34 12 C30 10 26 12 25 17 L24 26 Z' fill='%23e8423f'/%3E%3Cpath d='M10 22 C13 13 19 8 26 7' stroke='%23ff7a73' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Crect x='3' y='23' width='26' height='9' rx='4.5' fill='%23ffffff'/%3E%3Ccircle cx='34' cy='13' r='5' fill='%23ffffff'/%3E%3C/svg%3E");
}
/* neve no topo das janelas (tema de Natal, sem pisca-pisca) */
body.natal :is(.zJanela, .painelFofo, .zCaixa) { position:relative; }
body.natal :is(.zJanela, .painelFofo, .zCaixa):not([hidden])::before {
  content:""; position:absolute; left:0; right:0; top:0; height:20px; z-index:3; pointer-events:none; border-radius:inherit; border-bottom-left-radius:0; border-bottom-right-radius:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'%3E%3Cpath d='M0 0 H120 V8 C112 9 108 12 102 11 C97 10 95 15 90 15 C86 15 85 11 80 11 C74 11 72 16 66 16 C61 16 60 12 54 12 C48 12 46 18 41 19 C37 19 37 13 32 13 C26 13 24 10 18 11 C12 12 9 9 4 10 C2 10 1 9 0 9 Z' fill='%23ffffff'/%3E%3Cpath d='M41 19 C43 19 44 21 42.5 21.5 C41 22 40 20.5 41 19 Z M90 15 C91.5 15 92 17 91 17.6 C90 18 89 16.5 90 15 Z' fill='%23ffffff'/%3E%3C/svg%3E") 0 0 / 120px 20px repeat-x;
  filter:drop-shadow(0 2px 1.5px rgba(120,140,200,.35));
}
body.natal :is(.zJanela, .painelFofo, .zCaixa):not([hidden])::after { /* uns floquinhos caindo da neve */
  content:""; position:absolute; left:0; right:0; top:14px; height:16px; z-index:3; pointer-events:none;
  background:radial-gradient(circle, #fff 1.6px, transparent 2.2px) 14px 2px / 86px 16px repeat-x, radial-gradient(circle, #fff 1.2px, transparent 1.8px) 52px 9px / 110px 16px repeat-x;
  opacity:.9; animation:neveCai 4s ease-in-out infinite;
}
@keyframes neveCai { 0%, 100% { transform:translateY(0); opacity:.9; } 50% { transform:translateY(3px); opacity:.55; } }
body.natal .zjTopo { padding-top:24px !important; }
body.natal .zPainel .pTit { padding-top:10px !important; }
@media (prefers-reduced-motion: reduce) { body.natal :is(.zJanela, .painelFofo, .zCaixa)::after { animation:none; } }
/* floquinhos bem clarinhos no fundo das janelas */
body.natal .zJanela, body.natal .zPainel.painelFofo, body.natal .zCaixa { background:var(--floco) 0 0 / 90px 90px, linear-gradient(180deg, #fff, var(--zLilas)) !important; }
/* botão principal com fita listrada de bengala doce embaixo */
body.natal .zBtVerde { --a:#36d07e; --b:#1a9e57; }
body.natal .iniDock > button.principal { background:linear-gradient(180deg, #ff6b6b, #d93a45) !important; color:#fff !important; box-shadow:0 4px 0 #a3232f, inset 0 2px 0 rgba(255,255,255,.4), 0 10px 20px -8px rgba(217,58,69,.8) !important; text-shadow:0 1px 1px rgba(0,0,0,.2); }
body.natal .iniDock > button.principal:active { box-shadow:0 1px 0 #a3232f !important; }
/* barra de XP de bengala doce */
body.natal .hudXp > i { background:repeating-linear-gradient(-45deg, #ff5d6c 0 7px, #ffffff 7px 14px) !important; }



/* ---------- catálogo: arrastar, tamanho, zoom e efeito ---------- */
#painelCatalogo .zjTopo { cursor:grab; user-select:none; touch-action:none; } #painelCatalogo.arrastando .zjTopo { cursor:grabbing; }
#painelCatalogo.arrastando { animation:none !important; user-select:none; box-shadow:0 0 0 2px var(--zRoxo), 0 40px 70px -20px rgba(52,30,120,.6) !important; }
.catGrip { position:absolute; right:4px; bottom:4px; width:22px; height:22px; z-index:5; cursor:nwse-resize; border-radius:6px; touch-action:none;
  background:linear-gradient(135deg, transparent 0 45%, #b9aee0 45% 52%, transparent 52% 62%, #b9aee0 62% 69%, transparent 69% 79%, #b9aee0 79% 86%, transparent 86%); opacity:.8; }
.catGrip:hover { opacity:1; background-color:var(--zRoxoClaro); }
.catPalco { flex:0 0 50% !important; min-height:170px !important; }
.cpZoom { position:absolute; right:10px; top:10px; display:flex; flex-direction:column; gap:5px; }
.cpZoom button { width:32px; height:32px; border:0; border-radius:11px; background:#fff; color:var(--zRoxo2); font-family:var(--zFonte); font-weight:600; font-size:20px; line-height:1; cursor:pointer; box-shadow:0 0 0 1px var(--zLinha), 0 4px 10px -4px rgba(52,30,120,.4); transition:transform .1s; }
.cpZoom button:hover { background:var(--zRoxoClaro); } .cpZoom button:active { transform:scale(.92); }
.cpEfeito { position:absolute; left:10px; bottom:10px; display:flex; align-items:center; gap:6px; padding:6px 12px 6px 8px; border:0; border-radius:999px; background:#fff; color:var(--zTinta); font-family:var(--zFonte); font-weight:600; font-size:13px; cursor:pointer; box-shadow:0 0 0 1px var(--zLinha), 0 4px 10px -4px rgba(52,30,120,.4); transition:background .2s, color .2s; }
.cpEfeito[hidden] { display:none; } .cpEfeito .ic { width:16px; height:16px; color:var(--zSol2); }
.cpEfeito.on { background:linear-gradient(90deg, #ff4fd8, #7a5cff, #45b7ff); background-size:200% 100%; color:#fff; animation:zArcoIris 2s linear infinite; } .cpEfeito.on .ic { color:#fff; }
@keyframes zArcoIris { to { background-position:200% 0; } }
.catPalco:not(.tem) .cpZoom, .catPalco:not(.tem) .cpEfeito { visibility:hidden; }
.catPalco .cpDica { left:auto; right:58px; bottom:14px; }
.catPalco .cpPreco { top:10px; right:52px; bottom:auto; }
@media (max-width:900px), (max-height:520px) { .catGrip { display:none; } #painelCatalogo .zjTopo { cursor:default; } .catPalco { flex-basis:46% !important; min-height:110px !important; } .cpZoom button { width:26px; height:26px; font-size:16px; } }

/* ---------- catálogo v3: sem faixa, vitrine só quando escolhe um item, nasce no meio ---------- */
#painelCatalogo.zCat { top:calc(50% - 34px) !important; left:50%; right:auto; transform:translate(-50%, -50%); width:min(720px, calc(100vw - 28px)); height:min(600px, calc(100vh - 160px)); }
#painelCatalogo.zCat.posto { transform:none; }
.catBanner { display:none !important; }
.catPalco { flex:0 0 0 !important; min-height:0 !important; opacity:0; transform:scale(.96); margin-bottom:-10px; transition:flex-basis .32s cubic-bezier(.2,1.2,.4,1), opacity .2s, transform .32s cubic-bezier(.2,1.4,.4,1), margin .3s; }
.catVitrine.aberta .catPalco { flex-basis:48% !important; min-height:170px !important; opacity:1; transform:none; margin-bottom:0; }
.cpFechar { position:absolute; left:10px; top:10px; z-index:2; width:28px; height:28px; border:0; border-radius:10px; background:#fff; display:grid; place-items:center; cursor:pointer; box-shadow:0 0 0 1px var(--zLinha), 0 4px 10px -4px rgba(52,30,120,.4); }
.cpFechar .ic { width:15px; height:15px; color:var(--zSuave); } .cpFechar:hover { background:var(--zRoxoClaro); }
.catPalco .cpTopo { left:46px; }
.cpVazio { display:none !important; }
.catRodape .crEscolha { font-size:13px; font-weight:500; color:var(--zSuave); }
/* item voando para a mochila depois de comprar */
.voaMochila { position:fixed; z-index:200; width:64px; height:64px; object-fit:contain; pointer-events:none; filter:drop-shadow(0 6px 8px rgba(52,30,120,.35)); transition:transform .75s cubic-bezier(.5,-0.3,.6,1), opacity .75s ease-in; }
@keyframes zMochilaPula { 30% { transform:scale(1.25) rotate(-8deg); } 60% { transform:scale(.95) rotate(4deg); } }
.mochilaPula { animation:zMochilaPula .5s cubic-bezier(.2,1.6,.4,1); }
/* no celular o catálogo ocupa a tela toda */
@media (max-width:900px), (max-height:520px) {
  #painelCatalogo.zCat, #painelCatalogo.zCat.posto { inset:0 !important; top:0 !important; left:0 !important; right:0 !important; bottom:0 !important; transform:none !important; width:100vw !important; height:100dvh !important; max-height:none !important; border-radius:0 !important; z-index:60; }
  .catVitrine.aberta .catPalco { flex-basis:44% !important; min-height:120px !important; }
}
.ccFoiPra { font-size:13px; font-weight:500; color:var(--zSuave); margin-top:-4px; }
#painelCatalogo.zCat:not([hidden]):not(.posto) { animation:zAbreMeio .32s cubic-bezier(.2,1.25,.4,1); }
@keyframes zAbreMeio { from { opacity:0; transform:translate(-50%, calc(-50% + 16px)) scale(.95); } }
@media (max-width:900px), (max-height:520px) { #painelCatalogo.zCat:not([hidden]) { animation:zSobe .3s cubic-bezier(.2,1.1,.4,1) !important; } @keyframes zSobe { from { transform:translateY(40px); opacity:0; } } }

/* botão de som na tela inicial (liga/desliga a música de Natal) */
.iniSom { position:absolute; top:14px; right:14px; z-index:5; pointer-events:auto; width:44px; height:44px; border:0; border-radius:14px; background:rgba(255,255,255,.92); display:grid; place-items:center; cursor:pointer; box-shadow:0 6px 16px -6px rgba(52,30,120,.45); }
.iniSom .ic { width:22px; height:22px; color:var(--zRoxo); } .iniSom.off .ic { color:#a59cc4; }

/* =====================================================================
   Barra do quarto (dock): chat + Quartos, Loja, Mochila, Celular e o rosto da pessoa
   ===================================================================== */
#dock { position:fixed; left:50%; bottom:calc(14px + env(safe-area-inset-bottom)); transform:translateX(-50%); z-index:6; display:flex; align-items:center; gap:6px;
  padding:7px 10px 7px 8px; border-radius:28px; background:rgba(255,255,255,.94); backdrop-filter:blur(10px);
  box-shadow:0 0 0 1px rgba(122,92,255,.12), 0 18px 40px -16px rgba(52,30,120,.55), inset 0 -3px 0 rgba(122,92,255,.08);
  font-family:var(--zFonte); max-width:calc(100vw - 20px); }
#dock [hidden] { display:none !important; }
body.naInicio #dock { display:none !important; }
/* chat dentro da barra */
#dock #barra { position:static !important; transform:none !important; left:auto !important; bottom:auto !important; width:min(380px, 34vw) !important; min-width:220px; margin:0 !important;
  display:flex; align-items:center; gap:6px; padding:0 !important; border:0 !important; border-image:none !important; background:transparent !important; box-shadow:none !important; border-radius:0 !important; }
#dock #barra input { flex:1; min-width:0; height:44px !important; padding:0 16px !important; border:0 !important; border-radius:16px !important; background:#f3efff !important; color:var(--zTinta) !important;
  font-family:var(--zFonte) !important; font-size:15px !important; font-weight:500 !important; box-shadow:inset 0 2px 0 rgba(90,60,200,.06) !important; transition:box-shadow .15s, background .15s; }
#dock #barra input::placeholder { color:#9d93c4 !important; font-weight:400 !important; }
#dock #barra input:focus { background:#fff !important; box-shadow:0 0 0 2px var(--zRoxo), 0 6px 16px -8px rgba(90,60,200,.5) !important; }
#dock #barra button { width:44px !important; height:44px !important; border-radius:15px !important; }
.dkDiv { width:2px; height:36px; margin:0 4px; border-radius:2px; background:#ece6ff; flex:none; }
/* botões com os ícones desenhados */
#dock #hudMenu { position:static !important; display:flex !important; flex-direction:row !important; gap:2px !important; margin:0; padding:0; background:none; box-shadow:none; }
#dock #hudMenu > button { position:relative; width:66px !important; height:auto !important; padding:2px 0 3px !important; display:flex !important; flex-direction:column; align-items:center; gap:1px !important;
  border:0 !important; border-image:none !important; border-radius:16px !important; background:transparent !important; box-shadow:none !important; color:var(--zTinta) !important;
  font-family:var(--zFonte) !important; font-weight:500 !important; font-size:12px !important; letter-spacing:0 !important; cursor:pointer; transform:none !important; transition:background .15s; }
#dock #hudMenu > button > img { width:44px; height:44px; display:block; transition:transform .28s cubic-bezier(.2,1.7,.4,1), filter .2s; filter:drop-shadow(0 3px 3px rgba(52,30,120,.18)); }
#dock #hudMenu > button > span:last-child { line-height:1.1; }
#dock #hudMenu > button:hover { background:#f5f1ff !important; }
#dock #hudMenu > button:hover > img { transform:translateY(-6px) rotate(-7deg) scale(1.08); filter:drop-shadow(0 8px 6px rgba(52,30,120,.22)); }
#dock #hudMenu > button:active > img { transform:translateY(1px) scale(.92); transition-duration:.08s; }
#dock #hudMenu > button.ativo { background:#ece5ff !important; color:var(--zRoxo2) !important; }
#dock #hudMenu > button.ativo::after { content:""; position:absolute; bottom:-4px; left:50%; width:16px; height:4px; margin-left:-8px; border-radius:2px; background:var(--zRoxo); }
/* a bolinha de mensagem nova no celular */
#dock #btCelular > .bolha { position:absolute; top:2px; right:10px; width:0; height:0; background:none !important; box-shadow:none !important; }
#dock #btCelular .celBadge { position:absolute; top:0; right:0; transform:translate(50%, -10%); }
/* o rosto da pessoa (muda junto com o personagem) */
#dock .dkEu .dkEuFoto { width:44px; height:44px; border-radius:50%; overflow:hidden; display:block; background:radial-gradient(circle at 50% 35%, #fff, #e4dafc);
  box-shadow:0 0 0 2.5px var(--zRoxo), 0 0 0 5px #fff, 0 6px 12px -4px rgba(52,30,120,.45); transition:transform .28s cubic-bezier(.2,1.7,.4,1); }
#dock .dkEu .dkEuFoto img { width:100%; height:100%; object-fit:cover; display:block; }
#dock .dkEu:hover .dkEuFoto { transform:translateY(-5px) scale(1.06); }
#dock .dkEu > span:last-child { margin-top:3px; }
.perfVisual { width:100%; margin-top:12px; padding:11px; font-size:15px; }
/* telas médias: sem o nome embaixo do ícone */
@media (max-width:1000px) {
  #dock #barra { width:min(300px, 32vw) !important; min-width:160px; }
  #dock #hudMenu > button { width:52px !important; } #dock #hudMenu > button > span:last-child { display:none; }
  #dock .dkEu .dkEuFoto { width:40px; height:40px; }
}
/* celular em pé: chat em cima, ícones embaixo, tudo numa barra só */
@media (max-width:640px) {
  #dock { left:8px; right:8px; transform:none; flex-wrap:wrap; justify-content:space-around; padding:6px 6px 4px; border-radius:22px; bottom:calc(6px + env(safe-area-inset-bottom)); }
  #dock #barra { width:100% !important; min-width:0; order:0; }
  #dock #barra input { height:38px !important; font-size:14px !important; }
  #dock #barra button { width:38px !important; height:38px !important; }
  .dkDiv { display:none; }
  #dock #hudMenu { width:100%; justify-content:space-around; }
  #dock #hudMenu > button { width:56px !important; } #dock #hudMenu > button > span:last-child { display:block; font-size:11px !important; }
  #dock #hudMenu > button > img { width:38px; height:38px; }
  #dock .dkEu .dkEuFoto { width:36px; height:36px; }
}
/* celular deitado (tela baixa) */
@media (max-height:520px) and (min-width:641px) {
  #dock { bottom:6px; padding:4px 8px 4px 6px; }
  #dock #barra input, #dock #barra button { height:36px !important; } #dock #barra button { width:36px !important; }
  #dock #hudMenu > button > img { width:36px; height:36px; }
}
#dock #hudMenu > button[hidden] { display:none !important; }

/* ---------- card do móvel (abre no canto direito quando clica num móvel seu) ---------- */
#painelMovel.cardMovel { position:fixed !important; left:auto !important; right:16px !important; top:50% !important; bottom:auto !important; transform:translateY(-50%) !important; z-index:15 !important;
  width:260px !important; min-width:0 !important; padding:14px 14px 12px !important; border:0 !important; border-radius:24px !important; background:linear-gradient(180deg, #fff, var(--zLilas)) !important;
  box-shadow:0 0 0 1px rgba(122,92,255,.12), 0 24px 50px -18px rgba(52,30,120,.55) !important; font-family:var(--zFonte); color:var(--zTinta); display:flex; flex-direction:column; gap:8px;
  animation:cmEntra .32s cubic-bezier(.2,1.25,.4,1); }
#painelMovel.cardMovel[hidden] { display:none !important; }
@keyframes cmEntra { from { opacity:0; transform:translate(24px, -50%) scale(.96); } }
.cmFechar { position:absolute; top:10px; right:10px; z-index:2; width:32px; height:32px; border:0; border-radius:11px; background:#fff; display:grid; place-items:center; cursor:pointer; box-shadow:0 0 0 1px var(--zLinha); }
.cmFechar .ic { width:16px; height:16px; color:var(--zSuave); } .cmFechar:hover { background:var(--zRoxoClaro); }
.cmFoto { position:relative; height:150px; border-radius:18px; display:grid; place-items:center; background:radial-gradient(ellipse at 50% 40%, #fff 0%, #efe8ff 60%, #e2d8fc 100%); overflow:hidden; }
.cmFoto img { max-width:78%; max-height:82%; object-fit:contain; filter:drop-shadow(0 8px 8px rgba(52,30,120,.25)); animation:cmPula .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes cmPula { from { transform:scale(.6) translateY(10px); opacity:0; } }
.cmSeu { position:absolute; left:10px; top:10px; padding:2px 10px; border-radius:999px; background:var(--zRoxo); color:#fff; font-size:12px; font-weight:500; }
.cmNome { font-size:20px; font-weight:600; line-height:1.15; padding-right:4px; }
.cmDesc { margin:0; font-size:14px; line-height:1.4; color:#5d5585; }
.cmChips { display:flex; flex-wrap:wrap; gap:5px; } .cmChips:empty { display:none; }
.cmChips span { padding:3px 10px; border-radius:999px; background:#efe9ff; color:var(--zRoxo2); font-size:12px; font-weight:500; }
.cmDica { font-size:13px; font-weight:500; color:var(--zRoxo2); } .cmDica:empty { display:none; }
.cmUsar { display:flex; gap:6px; } .cmUsar:has(> :not([hidden])) { margin-top:2px; } .cmUsar .zBt { flex:1; padding:10px; font-size:15px; } .cmUsar .zBt[hidden] { display:none; }
.cmBotoes { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; }
.cmBotoes button { display:flex; flex-direction:column; align-items:center; gap:2px; padding:8px 2px 6px !important; border:0 !important; border-radius:14px !important; background:#fff !important; color:var(--zTinta) !important;
  font-family:var(--zFonte) !important; font-size:13px !important; font-weight:500 !important; cursor:pointer; box-shadow:0 0 0 1px var(--zLinha), 0 3px 0 #e9e3f8 !important; transition:transform .12s; }
.cmBotoes button img { width:28px; height:28px; transition:transform .25s cubic-bezier(.2,1.7,.4,1); }
.cmBotoes button:hover { background:#f5f1ff !important; } .cmBotoes button:hover img { transform:translateY(-3px) rotate(-8deg) scale(1.1); }
.cmBotoes button:active { transform:translateY(2px); box-shadow:0 0 0 1px var(--zLinha) !important; }
.cmBotoes button.on { background:#ece5ff !important; box-shadow:0 0 0 2px var(--zRoxo) !important; }
.cmBotoes button[hidden] { display:none; }
@media (max-width:640px), (max-height:520px) {
  #painelMovel.cardMovel { top:auto !important; bottom:calc(128px + env(safe-area-inset-bottom)) !important; right:8px !important; left:8px !important; width:auto !important; transform:none !important;
    display:grid; grid-template-columns:88px 1fr; grid-template-areas:"foto nome" "foto desc" "usar usar" "bt bt"; column-gap:10px; row-gap:6px; padding:10px !important; animation:none; }
  .cmFoto { grid-area:foto; height:88px; } .cmNome { grid-area:nome; font-size:17px; padding-right:36px; } .cmDesc { grid-area:desc; font-size:13px; } .cmChips { display:none; } .cmDica { grid-column:1 / -1; }
  .cmUsar { grid-area:usar; } .cmBotoes { grid-area:bt; } .cmSeu { display:none; }
}
@media (max-height:520px) and (min-width:641px) { #painelMovel.cardMovel { bottom:64px !important; left:auto !important; width:380px !important; } }
#painelMovel .cmFechar { background:#fff !important; border:0 !important; padding:0 !important; color:var(--zSuave) !important; }
#painelMovel .cmFechar:hover { background:var(--zRoxoClaro) !important; }
#painelMovel button:focus { outline:none; } #painelMovel button:focus-visible { outline:2px solid var(--zRoxo); outline-offset:2px; }

/* ---------- mochila vazia ---------- */
#invGrade .invVazio { grid-column:1 / -1; padding:28px 18px 18px; gap:8px; }
#invGrade .invVazio > img { width:84px; height:84px; filter:drop-shadow(0 8px 10px rgba(52,30,120,.2)); animation:invBalanca 3s ease-in-out infinite; transform-origin:50% 100%; }
@keyframes invBalanca { 50% { transform:rotate(-5deg) translateY(-3px); } }
#invGrade .invVazio b { font-family:var(--zFonte); font-size:19px; font-weight:600; color:var(--zTinta); }
#invGrade .invVazio span { max-width:260px; font-family:var(--zFonte); font-size:14px; font-weight:400; color:#6d6590; line-height:1.4; }
#invGrade .invVazio .zBt { margin-top:8px; display:inline-flex; align-items:center; gap:8px; padding:10px 20px 10px 12px; font-size:15px; }
#invGrade .invVazio .zBt img { width:26px; height:26px; }
@media (prefers-reduced-motion: reduce) { #invGrade .invVazio > img { animation:none; } }

/* ---------- menu de gestos ---------- */
#painelGestos { position:fixed !important; left:50% !important; transform:translateX(-50%) !important; bottom:calc(92px + env(safe-area-inset-bottom)) !important; z-index:20;
  display:block !important; width:min(392px, calc(100vw - 20px)); max-height:calc(100vh - 170px); overflow-y:auto; padding:12px 12px 14px !important; border:0 !important; border-image:none !important;
  border-radius:24px !important; background:linear-gradient(180deg, #fff, var(--zLilas)) !important; box-shadow:0 0 0 1px rgba(122,92,255,.12), 0 24px 50px -18px rgba(52,30,120,.55) !important;
  font-family:var(--zFonte); color:var(--zTinta); animation:zAbre .28s cubic-bezier(.2,1.25,.4,1); scrollbar-width:thin; }
#painelGestos[hidden] { display:none !important; }
#painelGestos .gTopo { display:flex; align-items:baseline; justify-content:space-between; gap:8px; padding:2px 4px 8px; }
#painelGestos .gTopo + .gGrade + .gTopo { margin-top:12px; padding-top:12px; border-top:2px dashed #e7e0fb; }
#painelGestos .gTopo b { font-size:17px; font-weight:600; } #painelGestos .gTopo small { font-size:12px; color:#8a82ad; }
#painelGestos .gGrade { display:grid; grid-template-columns:repeat(4, 1fr); gap:7px; }
body.z2 #painelGestos .gGrade button { display:flex !important; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:76px; padding:8px 4px 7px !important;
  border:0 !important; border-radius:18px !important; background:var(--cor, #efe9ff) !important; color:var(--zTinta) !important; box-shadow:inset 0 -3px 0 rgba(47,39,82,.08) !important;
  font-family:var(--zFonte) !important; font-weight:500 !important; font-size:12px !important; line-height:1.15; text-align:center; cursor:pointer; transition:transform .15s; }
#painelGestos .gIco { font-size:28px; line-height:1; transition:transform .3s cubic-bezier(.2,1.7,.4,1); filter:drop-shadow(0 3px 2px rgba(47,39,82,.18)); }
body.z2 #painelGestos .gGrade button:hover { transform:translateY(-2px); color:var(--zTinta) !important; background:var(--cor, #efe9ff) !important; box-shadow:inset 0 -3px 0 rgba(47,39,82,.08), 0 0 0 2px var(--zRoxo) !important; }
#painelGestos .gGrade button:hover .gIco { transform:scale(1.18) rotate(-8deg); }
#painelGestos .gGrade button:active { transform:translateY(1px) scale(.96); }
@media (max-width:640px) { #painelGestos { bottom:calc(112px + env(safe-area-inset-bottom)) !important; } #painelGestos .gGrade button { min-height:68px; } #painelGestos .gIco { font-size:24px; } }

/* ---------- menuzinho ao clicar num boneco ---------- */
.menuBoneco { position:fixed; z-index:30; display:flex; flex-direction:column; align-items:center; gap:6px; padding:9px 10px 10px; border-radius:18px; background:#fff;
  box-shadow:0 0 0 1px rgba(122,92,255,.14), 0 16px 34px -12px rgba(52,30,120,.55); font-family:var(--zFonte); animation:zAbre .22s cubic-bezier(.2,1.25,.4,1); }
.menuBoneco[hidden] { display:none; }
.menuBoneco::after { content:""; position:absolute; left:50%; bottom:-7px; width:14px; height:14px; margin-left:-7px; background:#fff; transform:rotate(45deg); box-shadow:3px 3px 4px -2px rgba(52,30,120,.18); }
.menuBoneco b { font-size:14px; font-weight:600; color:var(--zTinta); }
.menuBoneco .zBt { display:flex; align-items:center; gap:7px; padding:8px 16px 8px 12px; font-size:14px; background:linear-gradient(180deg, #9b7bff, var(--zRoxo2)); color:#fff; }
.menuBoneco .zBt .ic { width:18px; height:18px; color:#fff; }

/* ---------- balões de fala ---------- */
body .balao { padding:7px 13px 8px !important; max-width:230px; border:0 !important; border-image:none !important; border-radius:18px !important; background:#fff !important; color:var(--zTinta) !important;
  font-family:var(--zFonte) !important; font-size:14px !important; font-weight:400; line-height:1.3; box-shadow:0 0 0 1.5px rgba(122,92,255,.18), 0 8px 18px -8px rgba(40,25,90,.5) !important;
  transition:opacity .5s, filter .5s; transform-origin:50% 100%; text-align:left; word-wrap:break-word; }
body .balao::after { content:""; position:absolute; left:50%; bottom:-6px; width:12px; height:12px; margin-left:-6px; background:#fff; transform:rotate(45deg); border-radius:2px;
  box-shadow:2px 2px 0 -0.5px rgba(122,92,255,.18); }
body .balao b { display:inline; margin:0 4px 0 0 !important; font-size:14px; font-weight:600; color:var(--zRoxo2) !important; }
body .balao b::after { content:":"; }
body .balao.vip b { color:#d98a00 !important; }
body .balao.meu { background:linear-gradient(180deg, #f6f2ff, #ece4ff) !important; } body .balao.meu::after { background:#ece4ff; }
/* só o balão mais novo (o de baixo) tem a setinha */
body .balao.velho::after { display:none; }
body .balao.novo > * { animation:balaoPula .45s cubic-bezier(.2,1.6,.4,1); }
body .balao.novo { animation:balaoPula .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes balaoPula { 0% { opacity:0; scale:.3; } 60% { opacity:1; scale:1.08; } 100% { scale:1; } }
body .balao.sumindo { opacity:0; filter:blur(2px); }
@media (prefers-reduced-motion: reduce) { body .balao.novo, body .balao.novo > * { animation:none; } }

/* ---------- chat do quarto (do lado) ---------- */
body.naInicio #chatQuarto { display:none !important; }
.chatQuarto { position:fixed; left:max(14px, env(safe-area-inset-left)); bottom:calc(98px + env(safe-area-inset-bottom)); z-index:5; width:300px; display:flex; flex-direction:column;
  border-radius:22px; background:rgba(255,255,255,.88); backdrop-filter:blur(10px); box-shadow:0 0 0 1px rgba(122,92,255,.12), 0 18px 40px -18px rgba(52,30,120,.55); font-family:var(--zFonte); overflow:hidden; }
.cqTopo { display:flex; align-items:center; gap:8px; padding:10px 14px; border:0; background:transparent; cursor:pointer; color:var(--zTinta); font-family:inherit; text-align:left; }
.cqTopo .ic { width:18px; height:18px; color:var(--zRoxo); } .cqTopo b { flex:1; font-size:14px; font-weight:600; }
.cqTopo em { min-width:20px; padding:1px 7px; border-radius:999px; background:#ff5d6c; color:#fff; font-style:normal; font-size:12px; font-weight:600; text-align:center; animation:zPulinho .4s; }
.cqTopo em[hidden] { display:none; }
.cqSeta { width:9px; height:9px; border-right:2.5px solid #9d93c4; border-bottom:2.5px solid #9d93c4; transform:rotate(45deg) translate(-2px, -2px); transition:transform .2s; }
.chatQuarto.fechado .cqSeta { transform:rotate(-135deg) translate(-2px, -2px); }
body .chatQuarto #historico { position:static !important; left:auto !important; bottom:auto !important; width:auto !important; max-height:min(260px, 34vh) !important; overflow-y:auto !important;
  display:flex !important; flex-direction:column; justify-content:flex-start; gap:2px !important; padding:0 8px 10px !important; pointer-events:auto !important; scrollbar-width:thin; scrollbar-color:#d9d0f6 transparent; }
.chatQuarto.fechado #historico { display:none !important; }
body .chatQuarto #historico > div { background:none !important; box-shadow:none !important; border:0 !important; border-image:none !important; border-radius:14px !important; padding:5px 6px !important; }
.cqLinha { display:flex !important; gap:9px; align-items:flex-start; animation:cqEntra .35s cubic-bezier(.2,1.25,.4,1); }
.cqLinha:hover { background:#f3efff !important; }
@keyframes cqEntra { from { opacity:0; transform:translateX(-12px); } }
.cqLinha img { width:32px; height:32px; flex:none; border-radius:50%; background:radial-gradient(circle at 50% 35%, #fff, #e4dafc); box-shadow:0 0 0 2px #fff, 0 0 0 3.5px #e2d9ff; object-fit:cover; }
.cqLinha.meu img { box-shadow:0 0 0 2px #fff, 0 0 0 3.5px var(--zRoxo); }
.cqLinha > div { min-width:0; display:flex; flex-direction:column; }
body .cqLinha b { font-size:13px !important; font-weight:600 !important; color:var(--zRoxo2) !important; line-height:1.2; } body .cqLinha b.vip { color:#d98a00 !important; }
.cqLinha span { font-size:14px; line-height:1.3; color:var(--zTinta); word-wrap:break-word; overflow-wrap:anywhere; }
.cqVazio { padding:4px 8px 6px !important; font-size:13px; color:#9d93c4; }
@media (max-width:640px) { .chatQuarto { width:min(300px, calc(100vw - 16px)); left:8px; bottom:calc(122px + env(safe-area-inset-bottom)); } }
@media (max-height:520px) { .chatQuarto { bottom:58px; } body .chatQuarto #historico { max-height:30vh !important; } }

/* ---------- dicas ao passar o mouse ---------- */
#dica { padding:6px 12px !important; border-radius:12px; background:var(--zTinta) !important; color:#fff !important; font-family:var(--zFonte); font-size:13px !important; font-weight:500 !important;
  box-shadow:0 8px 18px -8px rgba(40,25,90,.6); z-index:40 !important; }
#dica::before { content:""; display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:var(--zSol); vertical-align:1px; box-shadow:0 0 6px var(--zSol); }
#dica.pula { animation:dicaPula .25s cubic-bezier(.2,1.6,.4,1); }
@keyframes dicaPula { from { opacity:0; transform:translateY(5px) scale(.9); } }
body .balao { display:flex; align-items:flex-start; flex-wrap:wrap; padding-left:8px !important; }
body .balao .bRosto { width:24px; height:24px; flex:none; margin:-2px 6px -2px 0; border-radius:50%; background:radial-gradient(circle at 50% 35%, #fff, #e4dafc); box-shadow:0 0 0 2px #fff, 0 0 0 3px #e2d9ff; object-fit:cover; }
body .balao .bRosto:not([src]) { visibility:hidden; }
body .balao > span { flex:1 1 0; min-width:0; }
body .balao { display:block !important; }
body .balao .bRosto { display:inline-block; vertical-align:-7px; margin:-4px 6px -2px -2px; }
body .balao > span { display:inline; }

/* ---------- menu do pet (ao clicar num bichinho) ---------- */
#menuPet.menuPetZ { position:fixed; z-index:30; width:230px; padding:12px; border-radius:20px; background:linear-gradient(180deg, #fff, var(--zLilas)); font-family:var(--zFonte); color:var(--zTinta);
  box-shadow:0 0 0 1px rgba(122,92,255,.12), 0 20px 44px -16px rgba(52,30,120,.55); animation:zAbre .25s cubic-bezier(.2,1.25,.4,1); }
#menuPet.menuPetZ[hidden] { display:none; }
.mpTopo { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.mpTopo img { width:46px; height:46px; border-radius:14px; background:radial-gradient(circle at 50% 40%, #fff, #e6ddff); object-fit:contain; padding:3px; }
.mpTopo b { display:block; font-size:17px; font-weight:600; line-height:1.15; } .mpTopo small { font-size:12px; color:#8a82ad; }
.mpBotoes { display:flex; flex-direction:column; gap:6px; }
.mpBotoes button:not(.zBt) { padding:9px 12px; border:0; border-radius:13px; background:#fff; color:var(--zTinta); font-family:var(--zFonte); font-size:14px; font-weight:500; text-align:left; cursor:pointer;
  box-shadow:0 0 0 1px var(--zLinha); transition:background .15s, transform .12s; }
.mpBotoes button:not(.zBt):hover { background:#f3efff; transform:translateX(2px); }
.mpBotoes .zBt { padding:10px; font-size:15px; }
.mpNome { display:flex; gap:6px; margin-top:8px; } .mpNome[hidden] { display:none; }
.mpNome input { flex:1; min-width:0; height:38px; padding:0 12px; border:0; border-radius:12px; background:#f3efff; font-family:var(--zFonte); font-size:14px; color:var(--zTinta); outline:none; }
.mpNome input:focus { box-shadow:0 0 0 2px var(--zRoxo); } .mpNome .zBt { padding:0 14px; font-size:14px; }

/* ---------- balões: nascem na cabeça e sobem ---------- */
body .balao { transition:opacity .7s ease, filter .7s ease; }
body .balao.novo { animation:balaoNasce .5s cubic-bezier(.2,1.5,.4,1); }
@keyframes balaoNasce { 0% { opacity:0; scale:.2; } 55% { opacity:1; scale:1.06; } 100% { scale:1; } }
body .balao.novo > * { animation:none; }

/* ---------- chat do quarto: só as 5 últimas + histórico ---------- */
.cqHist { margin:0 10px 10px; padding:8px; border:0; border-radius:12px; background:#f3efff; color:var(--zRoxo2); font-family:var(--zFonte); font-size:13px; font-weight:500; cursor:pointer; }
.cqHist:hover { background:#e9e2ff; } .cqHist[hidden], .chatQuarto.fechado .cqHist { display:none; }
#painelHistorico.zPainel { position:fixed !important; left:50% !important; top:50% !important; right:auto !important; transform:translate(-50%, -50%) !important; width:min(440px, calc(100vw - 24px)) !important;
  max-height:min(620px, calc(100vh - 140px)) !important; display:flex !important; flex-direction:column; z-index:45; }
#painelHistorico[hidden] { display:none !important; }
.hcDica { display:block; margin:-2px 2px 8px; font-size:12px; color:#8a82ad; font-family:var(--zFonte); }
#hcLista { flex:1; min-height:120px; overflow-y:auto; display:flex; flex-direction:column; gap:4px; padding-right:4px; scrollbar-width:thin; scrollbar-color:#d9d0f6 transparent; font-family:var(--zFonte); }
#hcLista .cqLinha { padding:6px 8px; border-radius:14px; }
#hcLista .cqLinha > div { flex:1; padding:6px 10px; border-radius:14px; background:#fff; box-shadow:0 0 0 1px var(--zLinha); }
#hcLista .cqLinha time { flex:none; align-self:center; font-size:11px; color:#a59cc4; }
#hcLista .cqLinha b { font-size:13px; font-weight:600; color:var(--zRoxo2); } #hcLista .cqLinha b.vip { color:#d98a00; }
body .chatQuarto #historico { max-height:none !important; overflow:hidden !important; }
@media (max-height:620px) { body .chatQuarto #historico { max-height:30vh !important; overflow-y:auto !important; } }
/* o pulinho do balão agora é feito no código (cresce a partir da pontinha em cima da cabeça) */
body .balao.novo, body .balao.novo > * { animation:none !important; }
body .balao { transform-origin:50% 100% !important; }

/* ---------- chat do quarto compacto: uma linha por mensagem ---------- */
.chatQuarto { width:270px; border-radius:18px; }
.cqTopo { padding:8px 12px; } .cqTopo b { font-size:13px; }
body .chatQuarto #historico { gap:0 !important; padding:0 6px 6px !important; }
body .chatQuarto #historico > .cqLinha { display:flex !important; align-items:flex-start; gap:7px; padding:3px 6px !important; border-radius:10px !important; animation:cqEntra .3s cubic-bezier(.2,1.25,.4,1); }
body .chatQuarto #historico > .cqLinha:hover { background:#f3efff !important; }
.chatQuarto .cqLinha img { width:20px; height:20px; margin-top:1px; box-shadow:0 0 0 1.5px #e2d9ff; }
.chatQuarto .cqLinha.meu img { box-shadow:0 0 0 1.5px var(--zRoxo); }
.chatQuarto .cqLinha p { margin:0; min-width:0; font-size:13px; line-height:1.4; color:var(--zTinta); overflow-wrap:anywhere; }
body .chatQuarto .cqLinha p b { font-size:13px !important; margin-right:4px; } body .chatQuarto .cqLinha p b::after { content:":"; }
.chatQuarto .cqLinha p span { font-size:13px; }
.chatQuarto .cqHist { margin:0 8px 8px; padding:6px; font-size:12px; }
.chatQuarto .cqVazio { font-size:12px; }

/* ---------- avisos na tela ---------- */
body #aviso.avisoZ { position:fixed !important; top:calc(18px + env(safe-area-inset-top)) !important; left:50% !important; right:auto !important; transform:translateX(-50%); z-index:80 !important;
  display:flex; align-items:center; gap:10px; max-width:min(460px, calc(100vw - 24px)); padding:10px 18px 10px 10px !important; border:0 !important; border-radius:18px !important;
  background:#fff !important; color:var(--zTinta) !important; font-family:var(--zFonte) !important; font-size:15px !important; font-weight:500 !important; line-height:1.3;
  box-shadow:0 0 0 1px rgba(122,92,255,.12), 0 18px 40px -14px rgba(40,25,90,.55) !important; cursor:pointer; }
body #aviso.avisoZ[hidden] { display:none !important; }
#aviso .avIco { flex:none; width:30px; height:30px; display:grid; place-items:center; border-radius:11px; }
#aviso .avIco svg { width:24px; height:24px; }
#aviso.erro .avIco { background:#ffe8ec; } #aviso.ok .avIco { background:#dcf8ec; } #aviso.info .avIco { background:#ece6ff; }
#aviso.erro { box-shadow:0 0 0 1.5px #ffc9d3, 0 18px 40px -14px rgba(180,40,70,.45) !important; }
#aviso.entra { animation:avisoEntra .45s cubic-bezier(.2,1.5,.4,1); }
#aviso.sai { animation:avisoSai .28s ease-in forwards; }
@keyframes avisoEntra { 0% { opacity:0; transform:translate(-50%, -24px) scale(.9); } 60% { opacity:1; transform:translate(-50%, 4px) scale(1.02); } 100% { transform:translate(-50%, 0); } }
@keyframes avisoSai { to { opacity:0; transform:translate(-50%, -16px) scale(.95); } }
#aviso.erro.entra .avIco { animation:avisoTreme .5s .15s; }
@keyframes avisoTreme { 25% { transform:rotate(-12deg); } 50% { transform:rotate(10deg); } 75% { transform:rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { #aviso.entra, #aviso.sai, #aviso.erro.entra .avIco { animation:none; } }

/* =====================================================================
   Tela de carregamento: logo animada, o seu boneco dando boas-vindas e barrinha
   ===================================================================== */
#transicao .tranTxt { background:#fff !important; border:0 !important; box-shadow:0 0 0 1.5px rgba(122,92,255,.2), 0 10px 24px -10px rgba(52,30,120,.5) !important; font-family:var(--zFonte) !important; color:var(--zTinta) !important; }
#transicao .tranTxt b { color:var(--zRoxo2) !important; font-weight:600 !important; }
#transicao .tranTxt i { background:var(--zRoxo) !important; }
.tranCena { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; opacity:0; pointer-events:none; transition:opacity .35s; overflow:hidden; font-family:var(--zFonte); }
#transicao.comCena .tranCena { opacity:1; }
#transicao.comCena .tranTxt { opacity:0 !important; }
/* neve caindo */
.tcNeve { position:absolute; inset:0; }
.tcNeve i { position:absolute; top:-12px; width:calc(10px * var(--s)); height:calc(10px * var(--s)); border-radius:50%; background:#fff; box-shadow:0 0 6px rgba(122,92,255,.35); opacity:.9; animation:tcCai linear infinite; }
@keyframes tcCai { to { transform:translate(40px, 105vh); } }
/* logo */
.tcLogo { position:relative; display:flex; flex-direction:column; align-items:center; transform:scale(1.05); filter:drop-shadow(0 14px 20px rgba(90,60,200,.25)); }
.tcLogo .logoNatal { width:min(380px, 70vw); }
/* boneco dando boas-vindas */
.tcBoneco { position:relative; width:150px; height:170px; display:flex; justify-content:center; align-items:flex-end; margin-top:28px; }
.tcEu { width:150px; height:150px; object-fit:contain; opacity:0; transform:translateY(20px) scale(.8); transition:opacity .4s, transform .5s cubic-bezier(.2,1.5,.4,1); position:relative; z-index:2; }
.tcEu.ok { opacity:1; transform:none; animation:tcPula 1.6s ease-in-out .5s infinite; }
@keyframes tcPula { 0%, 100% { transform:translateY(0); } 30% { transform:translateY(-14px) rotate(-2deg); } 55% { transform:translateY(0) scale(1.03, .97); } }
.tcSombra { position:absolute; bottom:6px; left:50%; width:90px; height:14px; margin-left:-45px; border-radius:50%; background:rgba(52,30,120,.18); filter:blur(2px); animation:tcSombra 1.6s ease-in-out .5s infinite; }
@keyframes tcSombra { 30% { transform:scale(.75); opacity:.6; } }
.tcAceno { position:absolute; right:-6px; top:46px; z-index:3; font-size:34px; transform-origin:70% 90%; animation:tcAcena 1s ease-in-out infinite; filter:drop-shadow(0 3px 3px rgba(52,30,120,.25)); }
@keyframes tcAcena { 0%, 100% { transform:rotate(-10deg); } 50% { transform:rotate(22deg); } }
.tcBalao { position:absolute; bottom:150px; left:50%; z-index:4; white-space:nowrap; padding:10px 18px; border-radius:20px; background:#fff; color:var(--zTinta); font-size:18px; font-weight:500;
  box-shadow:0 0 0 1.5px rgba(122,92,255,.2), 0 14px 28px -12px rgba(52,30,120,.55); transform:translateX(-50%); animation:tcBalao .6s cubic-bezier(.2,1.6,.4,1) both, tcFlutua 3s ease-in-out .6s infinite; transform-origin:50% 100%; }
.tcBalao::after { content:""; position:absolute; left:50%; bottom:-7px; width:14px; height:14px; margin-left:-7px; background:#fff; transform:rotate(45deg); border-radius:3px; box-shadow:2px 2px 0 -.5px rgba(122,92,255,.2); }
.tcBalao b { color:var(--zRoxo2); font-weight:600; }
@keyframes tcBalao { from { opacity:0; transform:translateX(-50%) scale(.3); } }
@keyframes tcFlutua { 50% { transform:translateX(-50%) translateY(-5px); } }
/* barrinha de carregando */
.tcBarra { position:relative; width:min(280px, 70vw); height:12px; border-radius:999px; background:rgba(122,92,255,.15); overflow:hidden; box-shadow:inset 0 2px 3px rgba(52,30,120,.12); }
.tcBarra i { position:absolute; top:0; bottom:0; width:40%; border-radius:999px; background:repeating-linear-gradient(-45deg, #ff6b81 0 10px, #fff 10px 20px); box-shadow:0 0 10px rgba(255,107,129,.5); animation:tcBarra 1.3s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes tcBarra { from { left:-40%; } to { left:100%; } }
.tcDica { margin:0; max-width:min(420px, 86vw); text-align:center; font-size:14px; color:#6d6590; min-height:20px; }
.tcDica.entra { animation:tcDica .5s ease; } @keyframes tcDica { from { opacity:0; transform:translateY(6px); } }
@media (max-height:600px) { .tcLogo .logoNatal { width:min(240px, 60vw); } .tcBoneco { transform:scale(.8); margin-top:10px; } .tranCena { gap:6px; } }
@media (prefers-reduced-motion: reduce) { .tcNeve, .tcAceno, .tcEu.ok, .tcSombra, .tcBalao { animation:none !important; } }
/* emojis que saem dos gestos */
.coracao.emojiGesto { color:initial; text-shadow:0 2px 4px rgba(40,25,90,.35); font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif; }
#editor .grade .ferrEntrada { grid-column:1 / -1; }
.qEditar { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:10px; padding:10px; font-size:14px; background:#f3efff !important; color:var(--zRoxo2) !important; box-shadow:none !important; }
.qEditar[hidden] { display:none; } .qEditar .ic { width:18px; height:18px; color:var(--zRoxo2); }

/* ---------- aviso de atualização do jogo ---------- */
.avisoNovidade { position:fixed; top:calc(16px + env(safe-area-inset-top)); left:50%; transform:translateX(-50%); z-index:85; display:flex; align-items:center; gap:12px; width:min(440px, calc(100vw - 24px));
  padding:12px 14px; border-radius:20px; background:linear-gradient(135deg, #fff, #f1ebff); color:var(--zTinta); font-family:var(--zFonte); box-shadow:0 0 0 1.5px rgba(122,92,255,.25), 0 20px 44px -14px rgba(52,30,120,.6); }
.avisoNovidade[hidden] { display:none; }
.avisoNovidade .anIco { flex:none; width:42px; height:42px; display:grid; place-items:center; border-radius:14px; background:linear-gradient(180deg, #9b7bff, #5a3fe0); font-size:22px; box-shadow:0 6px 14px -6px rgba(90,60,200,.7); animation:anGira 2.4s ease-in-out infinite; }
@keyframes anGira { 50% { transform:rotate(-8deg) scale(1.06); } }
.avisoNovidade b { display:block; font-size:16px; font-weight:600; } .avisoNovidade small { display:block; font-size:13px; color:#6d6590; line-height:1.35; margin-top:2px; }
.avisoNovidade .anX { flex:none; align-self:flex-start; width:28px; height:28px; border:0; border-radius:10px; background:#fff; color:#9d93c4; cursor:pointer; box-shadow:0 0 0 1px var(--zLinha); }
.avisoNovidade.entra { animation:avisoEntra .5s cubic-bezier(.2,1.5,.4,1); } .avisoNovidade.sai { animation:avisoSai .28s ease-in forwards; }

/* ---------- informações do quarto (clicar no nome do quarto, em cima à esquerda) ---------- */
#btSala { cursor:pointer; user-select:none; transition:transform .15s cubic-bezier(.2,1.6,.4,1), filter .15s; }
#btSala:hover { transform:translateY(-1px); filter:brightness(1.04); } #btSala:active { transform:scale(.96); }
#btSala:focus-visible { outline:3px solid var(--zRoxo); outline-offset:2px; }
#btSala .hlSeta { width:14px; height:14px; color:#a99bd8; transition:transform .25s; }
#btSala.aberto .hlSeta { transform:rotate(180deg); }
#btSala .hlCurte { display:inline-flex; align-items:center; gap:3px; color:#e0457f; } #btSala .hlCurte[hidden] { display:none; }
#btSala .hlCurte .ic { width:13px; height:13px; } #btSala .hlCurte b { font-size:12px; }
@media (max-width:900px), (max-height:520px) {
  #btSala.hudLocal { display:flex !important; padding:2px 8px 2px 3px; font-size:11px; max-width:52vw; }
  #btSala #infoOnline { display:none; } #btSala #infoQuarto { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}

#painelSala.zPainel { position:fixed !important; z-index:16 !important; width:min(360px, calc(100vw - 24px)); max-height:calc(100vh - 140px); overflow:auto; gap:12px; transform-origin:top left; animation:psAbre .28s cubic-bezier(.2,1.4,.4,1); }
#painelSala[hidden] { display:none !important; }
@keyframes psAbre { from { opacity:0; transform:translateY(-8px) scale(.94); } }
#painelSala .pTit > span { min-width:0; } #painelSala #psNome { font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.psMeta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; font-size:13px; font-weight:500; color:var(--zSuave); margin-top:-4px; }
.psMeta > span { display:inline-flex; align-items:center; gap:5px; } .psMeta b { color:var(--zTinta); font-weight:600; }
.psDono .ic { width:16px; height:16px; color:var(--zSol2); }
.psSelos { display:flex; flex-wrap:wrap; gap:6px; } .psSelos:empty { display:none; }
.psSelo { display:inline-flex; align-items:center; gap:5px; padding:4px 10px 4px 7px; border-radius:999px; font-family:var(--zFonte); font-weight:600; font-size:12px; background:var(--zRoxoClaro); color:var(--zRoxo2); }
.psSelo .ic { width:14px; height:14px; }
.psSelo.ouro { background:#fff3cf; color:#a76300; } .psSelo.rosa { background:#ffe3ef; color:#c2336b; } .psSelo.cinza { background:#eeecf4; color:#6c6788; }
.psParte { display:flex; flex-direction:column; gap:12px; } .psParte[hidden] { display:none; }
#psAbas { margin:0; } #psAbas[hidden] { display:none; }
.psDesc { margin:0; padding:12px 14px; border-radius:14px; background:var(--zLilas); color:var(--zTinta); font-size:14px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; }
.psDesc.vazia { color:var(--zSuave); font-style:italic; }
.psAcoes { display:flex; gap:8px; align-items:stretch; }
/* o coração: o momento "uau" do painel */
.psCurtir { flex:1; display:flex; align-items:center; gap:9px; padding:8px 16px 8px 8px; border:0; border-radius:16px; cursor:pointer; background:#fff; color:var(--zTinta); font-family:var(--zFonte); font-size:15px; font-weight:600;
  box-shadow:0 0 0 2px #ffd0e2, 0 4px 0 #ffd0e2; transition:transform .1s, box-shadow .2s, background .2s; }
.psCurtir:active { transform:translateY(3px); box-shadow:0 0 0 2px #ffd0e2, 0 1px 0 #ffd0e2; }
.psCurtir b { font-size:20px; min-width:1ch; }
.psCurtir > span:last-child { margin-left:auto; font-size:13px; color:#c2336b; }
.psCoracao { position:relative; width:38px; height:38px; flex:none; display:grid; place-items:center; border-radius:12px; background:#ffe3ef; transition:background .25s; }
.psCoracao .ic { width:22px; height:22px; color:#ff6b9a; transition:transform .3s cubic-bezier(.2,1.8,.4,1); }
.psCurtir.on { background:linear-gradient(180deg, #ff86b5, #ff5a93); color:#fff; box-shadow:0 0 0 2px #ff5a93, 0 4px 0 #d93a74; }
.psCurtir.on > span:last-child { color:#fff; }
.psCurtir.on .psCoracao { background:rgba(255,255,255,.28); }
.psCurtir.on .psCoracao .ic { color:#fff; --i:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19.5 12.6 12 20l-7.5-7.4A5 5 0 1 1 12 6a5 5 0 1 1 7.5 6.6z"/></svg>'); }
.psCurtir.pulo .psCoracao .ic { animation:psPulo .5s cubic-bezier(.2,1.8,.4,1); }
@keyframes psPulo { 0% { transform:scale(.6); } 50% { transform:scale(1.35); } 100% { transform:scale(1); } }
.psFaisca { position:absolute; left:50%; top:50%; width:7px; height:7px; margin:-3.5px; border-radius:50%; pointer-events:none; animation:psFaisca .6s ease-out forwards; }
@keyframes psFaisca { to { transform:translate(var(--dx), var(--dy)) scale(.2); opacity:0; } }
.psDenunciar { display:inline-flex; align-items:center; gap:6px; padding:0 14px; border:0; border-radius:16px; background:transparent; color:var(--zSuave); font-family:var(--zFonte); font-weight:600; font-size:13px; cursor:pointer; transition:background .2s, color .2s; }
.psDenunciar .ic { width:16px; height:16px; } .psDenunciar:hover { background:#fff0f0; color:#d64545; }
.psDenuncia { display:flex; flex-direction:column; gap:8px; padding:12px; border-radius:16px; background:#fff6f6; box-shadow:0 0 0 1.5px #ffd6d6; animation:zEntra .25s; }
.psDenuncia[hidden] { display:none; }
.psDenuncia > b { font-family:var(--zFonte); font-weight:600; font-size:15px; color:#b23a3a; } .psDenuncia > span { font-size:12px; color:#9a6b6b; line-height:1.4; }
.psDenuncia textarea, .psCampo input, .psCampo textarea { width:100%; box-sizing:border-box; padding:10px 12px; border:2px solid var(--zLinha); border-radius:12px; background:#fff; color:var(--zTinta); font:500 14px/1.4 var(--zFonte); resize:none; outline:none; transition:border-color .2s, box-shadow .2s; }
.psDenuncia textarea:focus { border-color:#ff8f8f; box-shadow:0 0 0 4px #ffe1e1; }
.psCampo input:focus, .psCampo textarea:focus { border-color:var(--zRoxo); box-shadow:0 0 0 4px var(--zRoxoClaro); }
.psBotoes { display:flex; gap:8px; justify-content:flex-end; }
.psVoltar { padding:0 14px; border:0; border-radius:12px; background:transparent; color:var(--zSuave); font-family:var(--zFonte); font-weight:600; font-size:14px; cursor:pointer; } .psVoltar:hover { color:var(--zTinta); }
.psBtRosa { --a:#ff7b7b; --b:#e04848; padding:9px 18px; font-size:14px; }
.psCampo { display:flex; flex-direction:column; gap:6px; } .psCampo > span { display:flex; justify-content:space-between; font-family:var(--zFonte); font-weight:600; font-size:13px; color:var(--zTinta); }
.psCampo > span em { font-style:normal; font-weight:500; color:var(--zSuave); }
.psAcesso { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; }
.psAcesso button { display:flex; flex-direction:column; align-items:center; gap:3px; padding:10px 4px 9px; border:0; border-radius:14px; background:#fff; color:var(--zSuave); cursor:pointer; text-align:center; box-shadow:0 0 0 2px var(--zLinha); transition:box-shadow .2s, background .2s, color .2s, transform .1s; }
.psAcesso button:active { transform:scale(.96); }
.psAcesso button .ic { width:22px; height:22px; } .psAcesso button b { font-family:var(--zFonte); font-weight:600; font-size:14px; color:var(--zTinta); } .psAcesso button small { font-size:11px; line-height:1.2; }
.psAcesso button.on { background:var(--zRoxoClaro); color:var(--zRoxo2); box-shadow:0 0 0 2.5px var(--zRoxo); }
.psAcesso button.on[data-acesso="aberto"] { background:#e6fbf2; color:var(--zVerde2); box-shadow:0 0 0 2.5px var(--zVerde); }
.psAcesso button.on[data-acesso="fechado"] { background:#fff0f0; color:#d64545; box-shadow:0 0 0 2.5px #ff7b7b; }
.psSalvar { align-self:stretch; }
.psEditar { display:flex; align-items:center; gap:11px; padding:10px; border:0; border-radius:16px; background:#fff; cursor:pointer; text-align:left; box-shadow:0 0 0 1px var(--zLinha), 0 3px 0 #e9e3f8; transition:transform .15s; }
.psEditar:hover { transform:translateY(-1px); } .psEditar:active { transform:translateY(2px); box-shadow:0 0 0 1px var(--zLinha); }
.psEditar .bolha { width:40px; height:40px; flex:none; display:grid; place-items:center; border-radius:13px; background:linear-gradient(160deg, #9b84ff, #6a4cf0); } .psEditar .bolha .ic { width:22px; height:22px; color:#fff; }
.psEditar > span:nth-child(2) { flex:1; display:flex; flex-direction:column; } .psEditar b { font-family:var(--zFonte); font-weight:600; font-size:15px; color:var(--zTinta); } .psEditar small { font-size:12px; color:var(--zSuave); }
.psEditar > .ic { width:18px; height:18px; color:var(--zSuave); }
.psDestaqueAgora { display:flex; align-items:center; gap:11px; padding:12px; border-radius:16px; background:var(--zLilas); font-size:13px; color:var(--zSuave); }
.psDestaqueAgora .ic { width:26px; height:26px; flex:none; color:#b4abd6; } .psDestaqueAgora b { display:block; font-family:var(--zFonte); font-weight:600; font-size:15px; color:var(--zTinta); }
.psDestaqueAgora.on { background:linear-gradient(135deg, #fff6d6, #ffe7a3); color:#9a6200; } .psDestaqueAgora.on .ic { color:var(--zSol2); } .psDestaqueAgora.on b { color:#6b4200; }
.psExplica { margin:0; font-size:13px; line-height:1.45; color:var(--zSuave); } .psExplica b { color:var(--zTinta); font-weight:600; }
.psPlanos { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; }
.psPlano { position:relative; display:flex; flex-direction:column; align-items:center; gap:4px; padding:14px 4px 10px; border:0; border-radius:16px; background:#fff; cursor:pointer; box-shadow:0 0 0 2px #ffe3a3, 0 4px 0 #ffd36b; transition:transform .12s, box-shadow .12s; }
.psPlano:hover { transform:translateY(-2px); } .psPlano:active { transform:translateY(2px); box-shadow:0 0 0 2px #ffe3a3, 0 1px 0 #ffd36b; }
.psPlano b { font-family:var(--zFonte); font-weight:600; font-size:17px; color:var(--zTinta); }
.psPlano span { display:inline-flex; align-items:center; gap:4px; font-family:var(--zFonte); font-weight:600; font-size:14px; color:#a76300; } .psPlano span img { width:18px; height:18px; }
.psPlano em { position:absolute; top:-9px; left:50%; transform:translateX(-50%); padding:2px 8px; border-radius:999px; background:var(--zRosa); color:#fff; font-style:normal; font-family:var(--zFonte); font-weight:600; font-size:10px; white-space:nowrap; }
.psPlano:disabled { opacity:.55; cursor:default; transform:none; }
.psTeste { font-size:12px; color:var(--zSuave); text-align:center; } .psTeste[hidden] { display:none; }
@media (max-width:640px) {
  #painelSala.zPainel { left:8px !important; right:8px !important; top:auto !important; bottom:calc(108px + env(safe-area-inset-bottom)) !important; width:auto; max-height:62vh; transform-origin:bottom center; }
}

/* lista de quartos: destaque, cadeado, campainha e curtidas */
.qCard.destaque { background:linear-gradient(135deg, #fffaf0, #fff1c9); box-shadow:0 0 0 1.5px #ffd36b, 0 3px 0 #ffd36b; }
.qSelo { display:inline-flex; align-items:center; gap:3px; } .qSelo .ic { width:12px; height:12px; }
.qSelo.curte { color:#e0457f; } .qSelo.tranca { color:#d64545; } .qSelo.camp { color:var(--zRoxo2); } .qSelo.ouro { color:#a76300; font-weight:600; }
.qDesc { display:block !important; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; color:var(--zSuave); }
#qAbas button { font-size:13px; padding:8px 2px; }

/* avisos da sala: campainha (dono) e denúncia (equipe) */
#alertasSala { position:fixed; z-index:40; top:calc(96px + env(safe-area-inset-top)); left:50%; transform:translateX(-50%); display:flex; flex-direction:column; gap:8px; width:min(380px, calc(100vw - 24px)); pointer-events:none; }
.alSala { pointer-events:auto; display:flex; flex-direction:column; gap:10px; padding:12px 14px; border-radius:18px; background:#fff; box-shadow:0 0 0 1px var(--zLinha), 0 14px 30px -10px rgba(40,20,100,.45); font-family:var(--zFonte); animation:alEntra .45s cubic-bezier(.2,1.5,.4,1); }
.alSala.sai { animation:alSai .25s ease-in forwards; }
@keyframes alEntra { from { opacity:0; transform:translateY(-24px) scale(.9); } } @keyframes alSai { to { opacity:0; transform:translateY(-14px) scale(.95); } }
.alSala .alTopo { display:flex; align-items:center; gap:11px; }
.alSala .bolha { width:40px; height:40px; flex:none; display:grid; place-items:center; border-radius:13px; background:linear-gradient(160deg, #9b84ff, #6a4cf0); } .alSala .bolha .ic { width:22px; height:22px; color:#fff; }
.alSala.campainha .bolha .ic { animation:alSino 1s ease-in-out 2; transform-origin:50% 10%; }
@keyframes alSino { 0%,100% { transform:rotate(0); } 15% { transform:rotate(18deg); } 30% { transform:rotate(-16deg); } 45% { transform:rotate(10deg); } 60% { transform:rotate(-6deg); } }
.alSala.denuncia .bolha { background:linear-gradient(160deg, #ff8f8f, #e04848); }
.alSala .alTxt { flex:1; min-width:0; display:flex; flex-direction:column; } .alSala .alTxt b { font-weight:600; font-size:15px; color:var(--zTinta); } .alSala .alTxt span { font-size:13px; color:var(--zSuave); overflow-wrap:anywhere; }
.alSala .alMotivo { margin:0; padding:8px 10px; border-radius:12px; background:#fff6f6; color:#7a3b3b; font-size:13px; line-height:1.4; font-family:inherit; overflow-wrap:anywhere; }
.alSala .alBotoes { display:flex; gap:8px; justify-content:flex-end; } .alSala .alBotoes .zBt { padding:8px 16px; font-size:14px; }
.alSala .alTempo { height:4px; border-radius:2px; background:var(--zRoxoClaro); overflow:hidden; } .alSala .alTempo i { display:block; height:100%; background:var(--zRoxo); animation:alTempo linear forwards; animation-duration:var(--t, 30s); }
@keyframes alTempo { from { width:100%; } to { width:0; } }

/* editor de blocos do quarto no visual novo */
body.z2 #editor { width:min(300px, calc(100vw - 24px)); padding:14px !important; border:0 !important; border-radius:22px !important; background:#fff !important; box-shadow:0 0 0 1px var(--zLinha), 0 18px 40px -14px rgba(40,20,100,.45) !important; font-family:var(--zFonte); color:var(--zTinta); display:flex; flex-direction:column; gap:10px; }
body.z2 #editor[hidden] { display:none !important; }
body.z2 #editor .tit { display:flex; align-items:center; gap:9px; font-weight:600; font-size:20px; color:var(--zTinta); }
#editor .bolhaEd { width:34px; height:34px; flex:none; display:grid; place-items:center; border-radius:11px; background:linear-gradient(160deg, #9b84ff, #6a4cf0); } #editor .bolhaEd .ic { width:20px; height:20px; color:#fff; }
body.z2 #editor .tit2 { font-weight:600; font-size:14px; color:var(--zTinta); margin-top:2px; }
body.z2 #editor .dica { font-family:system-ui, sans-serif; font-size:12px; line-height:1.45; color:var(--zSuave); margin:0; }
body.z2 #editor .grade { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
body.z2 #editor .grade button { display:flex; align-items:center; gap:8px; padding:9px 10px; border:0; border-radius:13px; background:var(--zLilas); color:var(--zTinta); font-family:var(--zFonte); font-weight:600; font-size:13px; cursor:pointer; box-shadow:0 0 0 1.5px var(--zLinha); transition:box-shadow .2s, background .2s, transform .1s; }
body.z2 #editor .grade button:active { transform:scale(.96); }
body.z2 #editor .grade button i { width:14px; height:14px; flex:none; border-radius:5px; box-shadow:inset 0 -2px 0 rgba(0,0,0,.15); }
body.z2 #editor .grade button.sel { background:#fff; box-shadow:0 0 0 2.5px var(--zRoxo), 0 4px 10px -4px rgba(90,60,200,.4); color:var(--zRoxo2); }
body.z2 #editor .grade .ferrEntrada { grid-column:1 / -1; }
body.z2 #editor .tam { display:flex; align-items:center; gap:6px; padding:6px 6px 6px 12px; border-radius:13px; background:var(--zLilas); }
body.z2 #editor .tam span { flex:1; font-weight:500; font-size:14px; }
body.z2 #editor .tam button { width:34px; height:34px; border:0; border-radius:10px; background:#fff; color:var(--zRoxo2); font-family:var(--zFonte); font-weight:600; font-size:20px; line-height:1; cursor:pointer; box-shadow:0 0 0 1.5px var(--zLinha), 0 2px 0 var(--zLinha); }
body.z2 #editor .tam button:active { transform:translateY(2px); box-shadow:0 0 0 1.5px var(--zLinha); }
body.z2 #editor .acoes { display:flex; gap:8px; }
body.z2 #editor .acoes button { flex:1; padding:10px; border:0; border-radius:14px; font-family:var(--zFonte); font-weight:600; font-size:15px; cursor:pointer; }
body.z2 #editor #edCancelar { background:var(--zRoxoClaro); color:var(--zRoxo2); }
body.z2 #editor #edSalvar { background:linear-gradient(180deg, var(--zVerde), var(--zVerde2)); color:#fff; box-shadow:0 4px 0 #0f7f57; text-shadow:0 1px 1px rgba(0,0,0,.18); }
body.z2 #editor #edSalvar:active { transform:translateY(3px); box-shadow:0 1px 0 #0f7f57; }
body.z2 .alSala .bolha, body.z2 .psEditar .bolha { background:linear-gradient(160deg, #9b84ff, #6a4cf0) !important; }
body.z2 .alSala.denuncia .bolha { background:linear-gradient(160deg, #ff8f8f, #e04848) !important; }
.qInfo .qSelos { flex-wrap:wrap; gap:3px 10px; margin-top:1px; } .qInfo .qSelos .qSelo { gap:3px; }
.qInfo .qPonto { flex:none; }
#listaQuartos .zBt { border:0; background:linear-gradient(180deg, var(--a), var(--b)); color:#fff; padding:8px 18px; }
/* aviso de novidade que pede para reentrar */
.avisoNovidade.reentrar { box-shadow:0 0 0 2px var(--zRoxo), 0 18px 40px -12px rgba(90,60,200,.55); }
.avisoNovidade .anReentrar { margin-top:9px; padding:8px 18px; font-size:14px; }
/* card do móvel: modo da porta */
.cmPorta { display:flex; flex-direction:column; gap:6px; } .cmPorta[hidden] { display:none; }
.cmPorta > span { font-family:var(--zFonte); font-weight:600; font-size:13px; color:var(--zTinta); }
.cmSeg { display:grid; grid-template-columns:repeat(3, 1fr); gap:4px; padding:4px; border-radius:14px; background:var(--zLilas); }
.cmSeg button { padding:7px 2px; border:0; border-radius:10px; background:transparent; color:var(--zSuave); font-family:var(--zFonte); font-weight:600; font-size:12px; line-height:1.15; cursor:pointer; transition:background .2s, color .2s, box-shadow .2s; }
.cmSeg button.on { background:#fff; color:var(--zRoxo2); box-shadow:0 2px 6px -2px rgba(90,60,200,.35); }
.cmSeg button.on[data-pm="trancada"] { color:#d64545; } .cmSeg button.on[data-pm="aberta"] { color:var(--zVerde2); }
#painelMovel .cmSeg button { padding:7px 2px; border:0; border-radius:10px; background:transparent; color:var(--zSuave); box-shadow:none; font-family:var(--zFonte); font-weight:600; font-size:12px; line-height:1.15; min-height:0; }
#painelMovel .cmSeg button.on { background:#fff; color:var(--zRoxo2); box-shadow:0 2px 6px -2px rgba(90,60,200,.35); }
#painelMovel .cmSeg button.on[data-pm="trancada"] { color:#d64545; } #painelMovel .cmSeg button.on[data-pm="aberta"] { color:var(--zVerde2); }

/* ---------- ranking (telão do lobby) ---------- */
#painelRanking.zPainel { position:fixed !important; top:50% !important; left:50% !important; right:auto !important; bottom:auto !important; transform:translate(-50%, -50%); z-index:44 !important; width:min(400px, calc(100vw - 24px)); max-height:calc(100vh - 120px); display:flex; flex-direction:column; gap:12px; overflow:hidden; padding-bottom:0; }
#painelRanking[hidden] { display:none !important; }
.rkLista { display:flex; flex-direction:column; gap:8px; overflow:auto; padding:2px 14px 6px; min-height:120px; }
.rkLinha { display:flex; align-items:center; gap:12px; padding:8px 12px; border:0; border-radius:18px; background:#fff; box-shadow:0 2px 0 var(--zLinha); font-family:var(--zFonte); color:var(--zTinta); cursor:pointer; text-align:left; transition:transform .12s, box-shadow .12s; }
.rkLinha:hover { transform:translateY(-1px); box-shadow:0 4px 0 #d9d0f6, 0 8px 18px -10px rgba(90,60,200,.45); }
.rkLinha:active { transform:scale(.98); }
.rkLinha:focus-visible { outline:3px solid var(--zRoxo); outline-offset:2px; }
.rkPos { width:32px; height:32px; flex:none; display:grid; place-items:center; border-radius:50%; background:var(--zRoxoClaro); color:var(--zRoxo2); font-weight:700; font-size:16px; }
.rkLinha.top1 .rkPos { background:#ffcf4a; color:#6b4a00; box-shadow:0 2px 0 #d9a21c; }
.rkLinha.top2 .rkPos { background:#dfe5f2; color:#4d5670; box-shadow:0 2px 0 #b5bfd6; }
.rkLinha.top3 .rkPos { background:#f6b483; color:#6e3b14; box-shadow:0 2px 0 #d68a52; }
.rkLinha.top1 { background:linear-gradient(90deg, #fff7d9, #fff 70%); }
.rkFoto { width:54px; height:54px; flex:none; border-radius:50%; overflow:hidden; background:radial-gradient(circle at 50% 40%, #fff, #e9e1ff); border:3px solid #fff; box-shadow:0 0 0 2px var(--zLinha); }
.rkFoto img { width:100%; height:100%; object-fit:cover; }
.rkFoto img:not([src]) { visibility:hidden; }
.rkTxt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.rkTxt b { font-weight:600; font-size:17px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rkTxt em { font-style:normal; font-size:14px; font-weight:600; color:#c27a00; display:flex; align-items:center; gap:5px; }
.rkTxt em img { width:18px; height:18px; } .rkTxt em .ic { width:16px; height:16px; }
#painelRanking[data-aba=curtidas] .rkTxt em { color:#d2457f; }
.rkSeta { width:18px; height:18px; color:var(--zSuave); }
.rkNota { margin:0 16px 14px; font-size:13px; color:var(--zSuave); text-align:center; }
@media (max-width:600px) { #painelRanking.zPainel { max-height:calc(100vh - 160px); } }
#painelPerfil [hidden] { display:none !important; }

/* medidor de desempenho da equipe (F8) */
#medidor { position:fixed; left:12px; top:170px; z-index:60; display:flex; flex-direction:column; gap:2px; padding:10px 12px; border-radius:14px; background:rgba(30,24,60,.82); color:#efeaff; font:600 12px/1.35 var(--zFonte); pointer-events:none; backdrop-filter:blur(4px); }
#medidor b { font-size:18px; } #medidor[hidden] { display:none; }

/* =====================================================================
   MINI GAMES (madrugada 19/11): painel do evento, confete. Cantos retos.
   ===================================================================== */
#evHud { position:fixed; top:calc(76px + env(safe-area-inset-top)); right:14px; z-index:30; width:min(320px, calc(100vw - 24px));
  font-family:var(--zFonte); color:var(--zTinta); background:linear-gradient(180deg, #fff, var(--zLilas)); border-radius:0; padding:10px 12px 10px;
  box-shadow:0 0 0 2px var(--zRoxo), 0 14px 30px -12px rgba(52,30,120,.55); display:flex; flex-direction:column; gap:6px; pointer-events:auto; }
#evHud[hidden] { display:none; }
#evHud .ic { display:inline-block; width:18px; height:18px; background:currentColor; -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; }
#evHud .evTopo { display:flex; align-items:center; gap:8px; }
#evHud .evIco { width:22px; height:22px; color:var(--zRoxo); }
#evHud .evTit { flex:1; font-size:17px; font-weight:600; }
#evHud .evTempo { display:inline-flex; align-items:center; gap:4px; background:var(--zRoxo); color:#fff; padding:3px 9px; font-weight:600; font-size:16px; min-width:58px; justify-content:center; }
#evHud .evTempo em { font-style:normal; font-variant-numeric:tabular-nums; }
#evHud .evTempo.pouco { background:#e0457f; animation:evPisca .5s steps(2) infinite; }
@keyframes evPisca { 50% { filter:brightness(1.25); } }
#evHud .evTexto { font-size:14px; line-height:1.3; color:var(--zTinta); }
#evHud[data-fase=contagem] .evTexto, #evHud[data-fase=fim] .evTexto { font-weight:600; color:var(--zRoxo2); font-size:15px; }
#evHud .evCor { text-align:center; color:#fff; font-weight:700; font-size:22px; letter-spacing:1px; padding:6px; text-shadow:0 2px 0 rgba(0,0,0,.25); box-shadow:inset 0 -4px 0 rgba(0,0,0,.18); }
#evHud .evPergunta { background:#2f2752; color:#fff; padding:10px; text-align:center; }
#evHud .evPergunta p { margin:0 0 6px; font-size:17px; line-height:1.3; font-weight:500; }
#evHud .evPergunta small { display:flex; justify-content:space-between; gap:8px; font-size:12px; }
#evHud .evPergunta .sim { color:#7fe0a8; } #evHud .evPergunta .nao { color:#ff9aaa; }
#evHud .evPergunta b { display:block; font-size:24px; } #evHud .evPergunta b.sim { color:#7fe0a8; } #evHud .evPergunta b.nao { color:#ff9aaa; }
#evHud .evTimes { display:flex; align-items:center; justify-content:center; gap:10px; font-weight:600; font-size:15px; }
#evHud .evTimes span { padding:4px 10px; color:#fff; } #evHud .evTimes .rosa { background:#ff7ab8; } #evHud .evTimes .azul { background:#4aa8ff; }
#evHud .evTimes b { font-size:20px; } #evHud .evTimes i { font-style:normal; color:var(--zSuave); }
#evHud .evPlacar { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; max-height:150px; overflow:auto; }
#evHud .evPlacar:empty { display:none; }
#evHud .evPlacar li { display:flex; align-items:center; gap:8px; padding:3px 6px; background:#fff; box-shadow:inset 3px 0 0 var(--zLinha); font-size:14px; }
#evHud .evPlacar li.eu { box-shadow:inset 3px 0 0 var(--zRoxo); background:var(--zRoxoClaro); font-weight:600; }
#evHud .evPlacar li.rosa { box-shadow:inset 3px 0 0 #ff7ab8; } #evHud .evPlacar li.azul { box-shadow:inset 3px 0 0 #4aa8ff; }
#evHud .evPlacar li.fora { opacity:.5; text-decoration:line-through; }
#evHud .evPlacar .pos { width:18px; color:var(--zSuave); font-variant-numeric:tabular-nums; } #evHud .evPlacar .nm { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#evHud .evAcoes { display:flex; align-items:center; gap:8px; }
#evHud .evAcoes[hidden] { display:none; }
#evHud .evMira { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px; border:0; border-radius:0; padding:8px; cursor:pointer; font-family:var(--zFonte); font-weight:600; font-size:14px;
  background:var(--zRoxoClaro); color:var(--zRoxo2); box-shadow:inset 0 -3px 0 var(--zLinha); }
#evHud .evMira.on { background:#e0457f; color:#fff; box-shadow:inset 0 -3px 0 #a92a5c; }
#evHud .evVidas { display:inline-flex; align-items:center; gap:2px; color:#e0457f; } #evHud .evVidas small { margin-left:4px; color:var(--zSuave); font-size:12px; }
@media (max-width:600px) { #evHud { top:calc(118px + env(safe-area-inset-top)); right:auto; left:50%; transform:translateX(-50%); width:min(300px, calc(100vw - 16px)); padding:8px; } #evHud .evPlacar { max-height:84px; } #evHud .evPergunta p { font-size:15px; } }
.evConfete { position:fixed; inset:0; pointer-events:none; z-index:90; overflow:hidden; }
.evConfete i { position:absolute; top:-20px; width:9px; height:14px; animation:evCai 2.8s cubic-bezier(.3,.6,.6,1) forwards; }
@keyframes evCai { to { transform:translateY(105vh) rotate(var(--g)); } }
@media (prefers-reduced-motion: reduce) { .evConfete { display:none; } #evHud .evTempo.pouco { animation:none; } }

/* ===== VIP: painel "Seja VIP", nome com coroa, balão dourado ===== */
#painelVip.zPainel { position:fixed !important; top:50% !important; left:50% !important; right:auto !important; bottom:auto !important; transform:translate(-50%, -50%); z-index:44 !important;
  width:min(420px, calc(100vw - 24px)); max-height:calc(100vh - 200px); overflow:auto; border-radius:0 !important; }
#painelVip[hidden] { display:none !important; }
#painelVip .vipSub { margin:0; font-size:15px; color:var(--zSuave); }
#painelVip .vipAviso { margin:0; padding:8px 10px; background:#fff3cf; color:#7a4a00; font-weight:600; font-size:14px; box-shadow:inset 3px 0 0 var(--zSol2); }
#painelVip .vipAviso[hidden] { display:none; }
#painelVip .vipLista { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
#painelVip .vipLista li { display:flex; gap:10px; align-items:flex-start; background:#fff; padding:8px 10px; box-shadow:inset 3px 0 0 var(--zSol); }
#painelVip .vipLista .ic { flex:none; width:22px; height:22px; margin-top:2px; color:#d98a00; background:currentColor; -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; }
#painelVip .vipLista b { display:block; font-size:15px; font-weight:600; } #painelVip .vipLista span { display:block; font-size:13px; color:var(--zSuave); line-height:1.3; }
#painelVip .vipComo { margin:0; padding:10px; background:var(--zRoxoClaro); color:var(--zRoxo2); font-weight:600; font-size:14px; text-align:center; }
#painelVip.souVip .vipComo { background:#fff3cf; color:#7a4a00; }
body .balao.vip { box-shadow:0 0 0 2px #ffc93c, 0 6px 14px -6px rgba(217,138,0,.6) !important; background:linear-gradient(180deg, #fffdf2, #fff3cf) !important; }
#listaQuartos .qSelo.jogo { color:#17a873; font-weight:600; } #listaQuartos .qSelo.vipQ { color:#a76300; font-weight:600; }
.ciVip { position:absolute; top:-5px; left:-5px; width:20px; height:20px; background:var(--zSol); box-shadow:0 0 0 2px #fff; }
.ciVip::before { content:""; position:absolute; inset:4px; background:#7a4a00; -webkit-mask:url(icones-ui/crown.svg) center/contain no-repeat; mask:url(icones-ui/crown.svg) center/contain no-repeat; }
.psCampo input#psLimite { width:100%; accent-color:var(--zRoxo); height:28px; padding:0; border:0; background:transparent; box-shadow:none; }

/* ===================================================================
   CRACHÁ DO NOME (em cima do boneco)
   - plaquinha escura com o nome; a sua é roxinha
   - VIP: plaquinha dourada com coroa e um brilho passando
   - equipe: selo colorido do cargo flutuando em cima do nome
   (tudo em CSS: o texto do elemento continua sendo só o nome)
   =================================================================== */
body .nome:not(.pet) { transform-origin:50% 100%; padding:4px 8px; border-radius:3px; background:rgba(26,20,48,.78); color:#fff; font:700 12px/1.1 "Nunito","Segoe UI",system-ui,sans-serif; text-shadow:none; letter-spacing:.01em; box-shadow:0 2px 0 rgba(0,0,0,.18); overflow:visible; }
body .nome.eu { background:rgba(122,99,214,.94); box-shadow:0 0 0 1.5px rgba(255,255,255,.7), 0 2px 0 rgba(0,0,0,.18); }
body .nome.vip { color:#ffe08a !important; background:linear-gradient(180deg, #3a2a63, #24183f) !important; padding-left:24px !important;
  box-shadow:0 0 0 1.5px #ffc93c, 0 0 12px rgba(255,201,60,.45), 0 2px 0 rgba(0,0,0,.2) !important; overflow:hidden; }
body .nome.vip.eu { box-shadow:0 0 0 1.5px #ffc93c, 0 0 0 3px rgba(255,255,255,.55), 0 0 12px rgba(255,201,60,.5) !important; }
body .nome.vip::before { content:"" !important; position:absolute; left:6px; top:50%; width:13px; height:13px; transform:translateY(-50%); background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffc93c' %3E %3Cpath d='M19 19h-14c-.5 0 -.9 -.3 -1 -.8l-2 -10c0 -.4 .1 -.8 .5 -1.1c.4 -.2 .8 -.2 1.1 0l4.1 3.3l3.4 -5.1c.4 -.6 1.3 -.6 1.7 0l3.4 5.1l4.1 -3.3c.3 -.3 .8 -.3 1.1 0c.4 .2 .5 .6 .5 1.1l-2 10c0 .5 -.5 .8 -1 .8z' /%3E %3C/svg%3E") center/contain no-repeat !important; -webkit-mask:none !important; mask:none !important; margin:0 !important; }
body .nome.vip::after { content:"" !important; position:absolute; inset:0; background:linear-gradient(100deg, transparent 30%, rgba(255,240,190,.55) 48%, transparent 66%); background-size:250% 100%; animation:nomeBrilho 3.2s ease-in-out infinite; pointer-events:none; }
@keyframes nomeBrilho { 0%, 55% { background-position:130% 0; } 100% { background-position:-30% 0; } }
/* selo do cargo (equipe) */
body .nome[data-cargo] { overflow:visible !important; }
body .nome[data-cargo]::before { content:attr(data-rotulo) !important; position:absolute; left:50%; bottom:calc(100% + 5px); top:auto; width:auto; height:auto; transform:translateX(-50%); white-space:nowrap;
  padding:3px 7px 3px 21px; border-radius:3px; color:#fff; font:800 10px/1.15 "Nunito","Segoe UI",system-ui,sans-serif; letter-spacing:.02em;
  background:var(--icone) 6px center / 11px no-repeat, linear-gradient(180deg, var(--c2), var(--c)) !important; -webkit-mask:none !important; mask:none !important; margin:0 !important;
  box-shadow:0 0 0 1.5px rgba(255,255,255,.9), 0 3px 8px rgba(0,0,0,.28), 0 0 14px var(--c2); animation:seloFlutua 2.6s ease-in-out infinite; }
@keyframes seloFlutua { 0%, 100% { transform:translateX(-50%) translateY(0); } 50% { transform:translateX(-50%) translateY(-3px); } }
body .nome.vip[data-cargo] { padding-left:24px !important; }
body .nome.vip[data-cargo]::before { left:50%; top:auto; }
body .nome.vip[data-cargo]::after { content:"" !important; inset:auto; left:6px; top:50%; width:13px; height:13px; transform:translateY(-50%); background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffc93c' %3E %3Cpath d='M19 19h-14c-.5 0 -.9 -.3 -1 -.8l-2 -10c0 -.4 .1 -.8 .5 -1.1c.4 -.2 .8 -.2 1.1 0l4.1 3.3l3.4 -5.1c.4 -.6 1.3 -.6 1.7 0l3.4 5.1l4.1 -3.3c.3 -.3 .8 -.3 1.1 0c.4 .2 .5 .6 .5 1.1l-2 10c0 .5 -.5 .8 -1 .8z' /%3E %3C/svg%3E") center/contain no-repeat !important; animation:none; }
body .nome[data-cargo]:not(.vip)::after { content:"" !important; position:absolute; left:3px; right:3px; bottom:0; height:2px; border-radius:2px; background:var(--c2); }
body .nome[data-cargo="dono"] { --c:#8b5cf6; --c2:#ff5fae; --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff' %3E %3Cpath d='M18 4a1 1 0 0 1 .783 .378l.074 .108l3 5a1 1 0 0 1 -.032 1.078l-.08 .103l-8.53 9.533a1.7 1.7 0 0 1 -1.215 .51c-.4 0 -.785 -.14 -1.11 -.417l-.135 -.126l-8.5 -9.5a1 1 0 0 1 -.172 -1.067l.06 -.115l3.013 -5.022l.064 -.09a.982 .982 0 0 1 .155 -.154l.089 -.064l.088 -.05l.05 -.023l.06 -.025l.109 -.032l.112 -.02l.117 -.005h12zm-8.886 3.943a1 1 0 0 0 -1.371 .343l-.6 1l-.06 .116a1 1 0 0 0 .177 1.07l2 2.2l.09 .088a1 1 0 0 0 1.323 -.02l.087 -.09a1 1 0 0 0 -.02 -1.323l-1.501 -1.65l.218 -.363l.055 -.103a1 1 0 0 0 -.398 -1.268z' /%3E %3C/svg%3E"); }
body .nome[data-cargo="admin"] { --c:#e0475f; --c2:#ff7a59; --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M11.143 20.743a12 12 0 0 1 -7.643 -14.743a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3c.504 1.716 .614 3.505 .343 5.237' /%3E %3Cpath d='M17.8 20.817l-2.172 1.138a.392 .392 0 0 1 -.568 -.41l.415 -2.411l-1.757 -1.707a.389 .389 0 0 1 .217 -.665l2.428 -.352l1.086 -2.193a.392 .392 0 0 1 .702 0l1.086 2.193l2.428 .352a.39 .39 0 0 1 .217 .665l-1.757 1.707l.414 2.41a.39 .39 0 0 1 -.567 .411l-2.172 -1.138' /%3E %3C/svg%3E"); }
body .nome[data-cargo="moderador"] { --c:#3b82f6; --c2:#5fb8ff; --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M11.46 20.846a12 12 0 0 1 -7.96 -14.846a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.09 7.06' /%3E %3Cpath d='M15 19l2 2l4 -4' /%3E %3C/svg%3E"); }
body .nome[data-cargo="suporte"] { --c:#16a571; --c2:#3fd19a; --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff' %3E %3Cpath d='M12 2a9 9 0 0 1 9 9v6a3 3 0 0 1 -2.152 2.879c-.678 1.901 -3.538 3.121 -6.848 3.121a1 1 0 0 1 0 -2c1.889 0 3.482 -.482 4.334 -1.075a3 3 0 0 1 -2.334 -2.925l.001 -3.051l.004 -.051a2.995 2.995 0 0 1 2.995 -2.898h1c.351 0 .688 .06 1 .171v-.171a7 7 0 0 0 -13.996 -.24l-.004 .41c.313 -.11 .65 -.17 1 -.17h1a3 3 0 0 1 3 3v3a3 3 0 0 1 -3 3h-1a3 3 0 0 1 -3 -3v-6a9 9 0 0 1 9 -9' /%3E %3C/svg%3E"); }
body .nome[data-cargo="eventos"] { --c:#ff4fa3; --c2:#ff9ec4; --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff' %3E %3Cpath d='M3 5a1 1 0 0 1 1 -1a1 1 0 0 1 1.993 -.117l.007 .117a1 1 0 0 1 .117 1.993l-.117 .007a1 1 0 1 1 -2 0a1 1 0 0 1 -1 -1m7.53 -1.243a1 1 0 1 1 1.94 .486l-.5 2a1 1 0 1 1 -1.94 -.486zm6.47 1.243a1 1 0 0 1 1 -1a1 1 0 0 1 1.993 -.117l.007 .117a1 1 0 0 1 .117 1.993l-.117 .007a1 1 0 0 1 -2 0a1 1 0 0 1 -1 -1m-8.81 4.293l6.517 6.518a1 1 0 0 1 -.29 1.617l-9.573 4.387a2 2 0 0 1 -2.661 -2.652l4.39 -9.58a1 1 0 0 1 1.616 -.29m7.517 -1a1 1 0 0 1 0 1.414l-1 1a1 1 0 0 1 -1.414 -1.414l1 -1a1 1 0 0 1 1.414 0m4.05 3.237a1 1 0 0 1 .486 1.94l-2 .5a1 1 0 0 1 -.486 -1.94zm-2.756 7.47a1 1 0 0 1 1 -1a1 1 0 0 1 1.993 -.117l.007 .117a1 1 0 0 1 .117 1.993l-.117 .007a1 1 0 0 1 -2 0a1 1 0 0 1 -1 -1' /%3E %3C/svg%3E"); }
body .nome[data-cargo="construtor"] { --c:#f08a24; --c2:#ffc14d; --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.414 10l-7.383 7.418a2.091 2.091 0 0 0 0 2.967a2.11 2.11 0 0 0 2.976 0l7.407 -7.385'/%3E%3Cpath d='M18.121 15.293l2.586 -2.586a1 1 0 0 0 0 -1.414l-7.586 -7.586a1 1 0 0 0 -1.414 0l-2.586 2.586a1 1 0 0 0 0 1.414l7.586 7.586a1 1 0 0 0 1.414 0z'/%3E%3C/svg%3E"); }

/* ===== menu do boneco: amigo e mensagem ===== */
.menuBoneco .zBt { width:100%; justify-content:flex-start; }
.menuBoneco #mbAmigo { background:linear-gradient(180deg, #5fd3a0, #2fb37a); }
.menuBoneco #mbAmigo.feito, .menuBoneco #mbAmigo:disabled { background:#eef0f6; color:#6b7390; cursor:default; }
.menuBoneco #mbAmigo.feito .ic, .menuBoneco #mbAmigo:disabled .ic { color:#6b7390; }
.menuBoneco #mbMsg { background:linear-gradient(180deg, #6fb4ff, #3b82f6); }

/* ===== celular: listas de amigos, pedidos e conversas ===== */
.celSub { text-transform:none !important; letter-spacing:0 !important; font-size:.82em !important; color:#7a6fae !important; }
.celContato { cursor:pointer; }
.celContato .celFotinho { position:relative; overflow:visible; }
.celContato .celFotinho img { width:100%; height:100%; border-radius:50%; }
.celPonto { position:absolute; right:-2px; bottom:-2px; width:.8em; height:.8em; border-radius:50%; background:#b9bfcf; border:2px solid #fff; }
.celContato.on .celPonto { background:#2fd07a; }
.celContato.pedido { background:#fff7e6; box-shadow:inset 0 0 0 1.5px #ffd36b; cursor:default; }
.celPedidoBts { display:flex; gap:.35em; }
.celPedidoBts button { width:2.1em; height:2.1em; border:0; border-radius:.6em; display:grid; place-items:center; cursor:pointer; }
.celPedidoBts .sim { background:#2fb37a; } .celPedidoBts .nao { background:#eef0f6; }
.celPedidoBts .ic { width:1.1em; height:1.1em; color:#fff; } .celPedidoBts .nao .ic { color:#6b7390; }
.celConvTit { display:flex; flex-direction:column; line-height:1.1; min-width:0; } .celConvTit small { font-size:.7em; color:#7a8b9c; font-weight:700; }
.celDia { align-self:center; margin:.5em 0 .2em; padding:.2em .7em; border-radius:.5em; background:rgba(122,99,214,.12); color:#6b5fb0; font-size:.72em; font-weight:800; }

/* ===== notificação de celular (desce no alto da tela) ===== */
.notifCel { position:fixed; left:50%; top:10px; z-index:60; width:min(360px, calc(100vw - 32px)); transform:translate(-50%, -140%); transition:transform .38s cubic-bezier(.2,1.2,.4,1); cursor:pointer;
  background:rgba(255,255,255,.97); border-radius:10px; box-shadow:0 10px 30px rgba(40,24,100,.28), 0 0 0 1.5px rgba(122,99,214,.18); padding:9px 12px 11px; font-family:"Nunito","Segoe UI",system-ui,sans-serif; color:#2b2350; }
.notifCel.ver { transform:translate(-50%, 0); }
.ncTopo { display:flex; align-items:center; gap:6px; font-size:12px; color:#7a6fae; margin-bottom:6px; }
.ncTopo b { font-weight:800; } .ncTopo small { margin-left:auto; font-size:11px; }
.ncApp { width:20px; height:20px; border-radius:5px; display:grid; place-items:center; background:linear-gradient(180deg, #6fb4ff, #3b82f6); }
.notifCel.amigo .ncApp, .notifCel.ok .ncApp { background:linear-gradient(180deg, #5fd3a0, #2fb37a); }
.ncApp .ic { width:13px; height:13px; color:#fff; }
.ncCorpo { display:flex; align-items:center; gap:10px; }
.ncCorpo .celFotinho { width:40px; height:40px; font-size:14px; } .ncCorpo .celFotinho img { width:100%; height:100%; }
.ncCorpo > span:last-child { display:flex; flex-direction:column; min-width:0; }
.ncNome { font-size:14px; font-weight:800; } .ncTexto { font-size:13px; color:#4a4470; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ncBts { display:flex; gap:8px; justify-content:flex-end; margin-top:9px; }
.ncBts button { border:0; border-radius:6px; padding:7px 14px; font:800 13px "Nunito","Segoe UI",sans-serif; cursor:pointer; }
.ncBts .sim { background:#2fb37a; color:#fff; } .ncBts .nao { background:#eef0f6; color:#6b7390; }
/* o botão do celular dá uma tremidinha quando chega coisa nova */
#btCelular.tremeCel .bolha { animation:tremeCel .7s ease-in-out; }
@keyframes tremeCel { 0%,100% { transform:rotate(0); } 15% { transform:rotate(-14deg); } 30% { transform:rotate(12deg); } 45% { transform:rotate(-9deg); } 60% { transform:rotate(6deg); } 75% { transform:rotate(-3deg); } }

/* ===== perfil: selos (cargo/VIP) e botões de amigo/mensagem ===== */
.perfSelos { display:flex; flex-wrap:wrap; gap:5px; margin:2px 0 4px; }
.perfSelos:empty { display:none; }
.perfSelo { padding:3px 8px 3px 22px; border-radius:3px; color:#fff; font:800 11px/1.2 "Nunito","Segoe UI",sans-serif; background:var(--icone) 6px center / 12px no-repeat, linear-gradient(180deg, var(--c2), var(--c)); box-shadow:0 2px 6px rgba(0,0,0,.15); }
.perfSelo[data-cargo="dono"] { --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff' %3E %3Cpath d='M18 4a1 1 0 0 1 .783 .378l.074 .108l3 5a1 1 0 0 1 -.032 1.078l-.08 .103l-8.53 9.533a1.7 1.7 0 0 1 -1.215 .51c-.4 0 -.785 -.14 -1.11 -.417l-.135 -.126l-8.5 -9.5a1 1 0 0 1 -.172 -1.067l.06 -.115l3.013 -5.022l.064 -.09a.982 .982 0 0 1 .155 -.154l.089 -.064l.088 -.05l.05 -.023l.06 -.025l.109 -.032l.112 -.02l.117 -.005h12zm-8.886 3.943a1 1 0 0 0 -1.371 .343l-.6 1l-.06 .116a1 1 0 0 0 .177 1.07l2 2.2l.09 .088a1 1 0 0 0 1.323 -.02l.087 -.09a1 1 0 0 0 -.02 -1.323l-1.501 -1.65l.218 -.363l.055 -.103a1 1 0 0 0 -.398 -1.268z' /%3E %3C/svg%3E"); --c:#8b5cf6; --c2:#ff5fae; } .perfSelo[data-cargo="admin"] { --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M11.143 20.743a12 12 0 0 1 -7.643 -14.743a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3c.504 1.716 .614 3.505 .343 5.237' /%3E %3Cpath d='M17.8 20.817l-2.172 1.138a.392 .392 0 0 1 -.568 -.41l.415 -2.411l-1.757 -1.707a.389 .389 0 0 1 .217 -.665l2.428 -.352l1.086 -2.193a.392 .392 0 0 1 .702 0l1.086 2.193l2.428 .352a.39 .39 0 0 1 .217 .665l-1.757 1.707l.414 2.41a.39 .39 0 0 1 -.567 .411l-2.172 -1.138' /%3E %3C/svg%3E"); --c:#e0475f; --c2:#ff7a59; } .perfSelo[data-cargo="moderador"] { --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E %3Cpath d='M11.46 20.846a12 12 0 0 1 -7.96 -14.846a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.09 7.06' /%3E %3Cpath d='M15 19l2 2l4 -4' /%3E %3C/svg%3E"); --c:#3b82f6; --c2:#5fb8ff; }
.perfSelo[data-cargo="suporte"] { --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff' %3E %3Cpath d='M12 2a9 9 0 0 1 9 9v6a3 3 0 0 1 -2.152 2.879c-.678 1.901 -3.538 3.121 -6.848 3.121a1 1 0 0 1 0 -2c1.889 0 3.482 -.482 4.334 -1.075a3 3 0 0 1 -2.334 -2.925l.001 -3.051l.004 -.051a2.995 2.995 0 0 1 2.995 -2.898h1c.351 0 .688 .06 1 .171v-.171a7 7 0 0 0 -13.996 -.24l-.004 .41c.313 -.11 .65 -.17 1 -.17h1a3 3 0 0 1 3 3v3a3 3 0 0 1 -3 3h-1a3 3 0 0 1 -3 -3v-6a9 9 0 0 1 9 -9' /%3E %3C/svg%3E"); --c:#16a571; --c2:#3fd19a; } .perfSelo[data-cargo="eventos"] { --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff' %3E %3Cpath d='M3 5a1 1 0 0 1 1 -1a1 1 0 0 1 1.993 -.117l.007 .117a1 1 0 0 1 .117 1.993l-.117 .007a1 1 0 1 1 -2 0a1 1 0 0 1 -1 -1m7.53 -1.243a1 1 0 1 1 1.94 .486l-.5 2a1 1 0 1 1 -1.94 -.486zm6.47 1.243a1 1 0 0 1 1 -1a1 1 0 0 1 1.993 -.117l.007 .117a1 1 0 0 1 .117 1.993l-.117 .007a1 1 0 0 1 -2 0a1 1 0 0 1 -1 -1m-8.81 4.293l6.517 6.518a1 1 0 0 1 -.29 1.617l-9.573 4.387a2 2 0 0 1 -2.661 -2.652l4.39 -9.58a1 1 0 0 1 1.616 -.29m7.517 -1a1 1 0 0 1 0 1.414l-1 1a1 1 0 0 1 -1.414 -1.414l1 -1a1 1 0 0 1 1.414 0m4.05 3.237a1 1 0 0 1 .486 1.94l-2 .5a1 1 0 0 1 -.486 -1.94zm-2.756 7.47a1 1 0 0 1 1 -1a1 1 0 0 1 1.993 -.117l.007 .117a1 1 0 0 1 .117 1.993l-.117 .007a1 1 0 0 1 -2 0a1 1 0 0 1 -1 -1' /%3E %3C/svg%3E"); --c:#ff4fa3; --c2:#ff9ec4; } .perfSelo[data-cargo="construtor"] { --icone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.414 10l-7.383 7.418a2.091 2.091 0 0 0 0 2.967a2.11 2.11 0 0 0 2.976 0l7.407 -7.385'/%3E%3Cpath d='M18.121 15.293l2.586 -2.586a1 1 0 0 0 0 -1.414l-7.586 -7.586a1 1 0 0 0 -1.414 0l-2.586 2.586a1 1 0 0 0 0 1.414l7.586 7.586a1 1 0 0 0 1.414 0z'/%3E%3C/svg%3E"); --c:#f08a24; --c2:#ffc14d; }
.perfSelo.vip { color:#ffe08a; background:linear-gradient(180deg, #3a2a63, #24183f); box-shadow:inset 0 0 0 1.5px #ffc93c; padding-left:8px; }
.perfAcoes { display:flex; gap:8px; margin:10px 0 4px; }
.perfAcoes[hidden] { display:none; }
.perfAcoes .zBt { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; padding:10px; color:#fff; }
.perfAcoes .zBt .ic { width:17px; height:17px; color:#fff; }
#perfAmigo { background:linear-gradient(180deg, #5fd3a0, #2fb37a); } #perfAmigo:disabled { background:#eef0f6; color:#6b7390; } #perfAmigo:disabled .ic { color:#6b7390; }
#perfMsg { background:linear-gradient(180deg, #6fb4ff, #3b82f6); }

/* selo único "Equipe Zemus" em cima do nome (o cargo de cada um fica no perfil) */
body .nome[data-cargo]::before { padding:3px 8px 3px 22px !important; font-size:10.5px !important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%23ffffff' %3E %3Cpath d='M18 4a1 1 0 0 1 .783 .378l.074 .108l3 5a1 1 0 0 1 -.032 1.078l-.08 .103l-8.53 9.533a1.7 1.7 0 0 1 -1.215 .51c-.4 0 -.785 -.14 -1.11 -.417l-.135 -.126l-8.5 -9.5a1 1 0 0 1 -.172 -1.067l.06 -.115l3.013 -5.022l.064 -.09a.982 .982 0 0 1 .155 -.154l.089 -.064l.088 -.05l.05 -.023l.06 -.025l.109 -.032l.112 -.02l.117 -.005h12zm-8.886 3.943a1 1 0 0 0 -1.371 .343l-.6 1l-.06 .116a1 1 0 0 0 .177 1.07l2 2.2l.09 .088a1 1 0 0 0 1.323 -.02l.087 -.09a1 1 0 0 0 -.02 -1.323l-1.501 -1.65l.218 -.363l.055 -.103a1 1 0 0 0 -.398 -1.268z' /%3E %3C/svg%3E") 7px center / 11px no-repeat, linear-gradient(100deg, #7a3cff 0%, #ff4fa3 28%, #ffb03a 50%, #ff4fa3 72%, #7a3cff 100%) !important;
  background-size:11px, 300% 100% !important; animation:seloFlutua 2.6s ease-in-out infinite, seloHolo 4s linear infinite !important;
  box-shadow:0 0 0 1.5px rgba(255,255,255,.95), 0 3px 8px rgba(0,0,0,.28), 0 0 16px rgba(255,79,163,.65) !important; text-shadow:0 1px 0 rgba(80,20,90,.35); }
@keyframes seloHolo { from { background-position:7px center, 0% 0; } to { background-position:7px center, 300% 0; } }
body .nome[data-cargo]:not(.vip)::after { background:linear-gradient(90deg, #7a3cff, #ff4fa3, #ffb03a) !important; }

/* ===== nível na frente do nome ===== */
body .nome:not(.pet) { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
body .nome .nvl { display:inline-grid; place-items:center; min-width:17px; height:17px; padding:0 3px; border-radius:3px; font:900 10px/1 "Nunito","Segoe UI",system-ui,sans-serif; color:#fff; letter-spacing:0;
  background:linear-gradient(180deg, #4fd47e, #2a9d55); box-shadow:inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.35); text-shadow:0 1px 0 rgba(0,0,0,.2); }
body .nome .nvl:empty { display:none; }
body .nome .nvl[data-faixa="azul"] { background:linear-gradient(180deg, #5fb0ff, #2f6fe0); }
body .nome .nvl[data-faixa="roxo"] { background:linear-gradient(180deg, #b98cff, #7a3cff); }
body .nome .nvl[data-faixa="lenda"] { color:#5a3200; text-shadow:0 1px 0 rgba(255,255,255,.45); background:linear-gradient(180deg, #ffe58a, #ffb52e); box-shadow:inset 0 -2px 0 rgba(150,80,0,.25), 0 0 0 1px #fff3c2, 0 0 8px rgba(255,190,60,.8); }
body .nome .nvl.subiu { animation:nvlSubiu .9s cubic-bezier(.2,1.6,.4,1); }
@keyframes nvlSubiu { 0% { transform:scale(1); } 30% { transform:scale(1.8); box-shadow:0 0 0 3px #fff, 0 0 18px #ffd34d; } 100% { transform:scale(1); } }
.subiuNivel { animation:hudSubiu 1s ease-out; }
@keyframes hudSubiu { 0% { filter:none; } 25% { filter:drop-shadow(0 0 14px #ffd34d) brightness(1.15); } 100% { filter:none; } }

/* ===================== PAINEL "MEU NÍVEL" ===================== */
#painelNivel.zPainel { position:fixed !important; top:50% !important; left:50% !important; right:auto !important; bottom:auto !important; transform:translate(-50%, -50%); z-index:44 !important;
  width:min(440px, calc(100vw - 24px)); max-height:calc(100vh - 140px); overflow:auto; border-radius:0 !important; display:flex; flex-direction:column; gap:10px; }
#painelNivel[hidden] { display:none !important; }
.pnTopo { display:flex; gap:12px; align-items:center; background:#fff; padding:10px; box-shadow:inset 3px 0 0 var(--zSol, #ffc93c); }
.pnSelo { width:54px; height:54px; flex:none; display:grid; place-items:center; background:linear-gradient(180deg, #ffe58a, #ffb52e); box-shadow:inset 0 -3px 0 rgba(150,80,0,.25); }
.pnSelo b { font:900 24px/1 "Nunito","Segoe UI",sans-serif; color:#6a3a00; }
.pnInfo { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; } .pnInfo > b { font-size:16px; }
.pnBarra { height:12px; background:#f1dfc2; overflow:hidden; } .pnBarra i { display:block; height:100%; background:linear-gradient(180deg, #a6ec7a, #3faa4a); transition:width .5s; }
.pnInfo small { font-size:12px; color:var(--zSuave, #7a6fae); font-weight:700; }
.pnAbas { display:flex; gap:4px; } .pnAbas button { flex:1; border:0; padding:8px 6px; font:800 13px "Nunito","Segoe UI",sans-serif; background:#efe9ff; color:#6b5fb0; cursor:pointer; }
.pnAbas button.ativa { background:#7a63d6; color:#fff; }
.pnAba { display:flex; flex-direction:column; gap:8px; } .pnAba[hidden] { display:none; }
.pnProx { background:linear-gradient(180deg, #fff8e1, #fff); padding:10px; box-shadow:inset 0 0 0 2px #ffd36b; display:flex; flex-direction:column; gap:8px; }
.pnProx small { font-weight:800; color:#a0670a; font-size:12px; }
#pnProxItens, .nfGanhou { display:flex; flex-wrap:wrap; gap:6px; }
.pnChip { display:inline-flex; align-items:center; gap:5px; padding:5px 9px; font:800 12.5px "Nunito","Segoe UI",sans-serif; background:#efe9ff; color:#5b4bb0; }
.pnChip .ic { width:15px; height:15px; color:currentColor; }
.pnChip.moedas { background:#fff1c9; color:#9a5b00; } .pnChip.danca { background:#ffe3f1; color:#c2347a; } .pnChip.moldura { background:#e3f2ff; color:#2f6fe0; }
.pnSub { font-weight:800; font-size:13px; color:#6b5fb0; margin-top:4px; }
.pnLista { display:flex; flex-direction:column; gap:4px; }
.pnLinha { display:flex; gap:10px; align-items:center; background:#fff; padding:6px 8px; }
.pnLinha > b { width:44px; flex:none; font-size:13px; color:#7a63d6; } .pnLinha > span { display:flex; flex-wrap:wrap; gap:4px; }
.pnLinha .pnChip { padding:3px 7px; font-size:11.5px; } .pnLinha.prox { box-shadow:inset 3px 0 0 #ffc93c; background:#fffbef; }
.pnComo { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:4px; }
.pnComo li { background:#fff; padding:6px 8px; font-size:12.5px; } .pnComo b { color:#3faa4a; } .pnComo span { color:#9a8fc8; }
.pnDica { margin:0; font-size:12.5px; color:#7a6fae; }
.pnConquistas { display:flex; flex-direction:column; gap:5px; }
.pnConq { display:flex; gap:10px; align-items:center; background:#fff; padding:8px; opacity:.85; }
.pnConq.feita { opacity:1; box-shadow:inset 3px 0 0 #ffc93c; }
.pnIns { width:38px; height:38px; flex:none; display:grid; place-items:center; background:#e8e4f3; }
.pnIns .ic { width:22px; height:22px; color:#9a92b8; }
.pnConq.feita .pnIns, .pnIns.feita { background:linear-gradient(180deg, #ffe58a, #ffb52e); box-shadow:inset 0 -3px 0 rgba(150,80,0,.2); }
.pnConq.feita .pnIns .ic, .pnIns.feita .ic { color:#6a3a00; }
.pnCtx { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; } .pnCtx b { font-size:14px; } .pnCtx small { font-size:12px; color:#7a6fae; }
.pnCtx em { font-style:normal; font-weight:800; color:#3faa4a; font-size:12px; }
.pnProg { height:6px; background:#eee8fb; overflow:hidden; } .pnProg i { display:block; height:100%; background:#7a63d6; }
.pnMolduras { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pnMold { border:0; background:#2b2147; padding:16px 6px 8px; display:flex; flex-direction:column; align-items:center; gap:8px; cursor:pointer; box-shadow:inset 0 0 0 2px transparent; }
.pnMold.escolhida { box-shadow:inset 0 0 0 3px #ffc93c; } .pnMold.trancada { cursor:default; opacity:.6; }
.pnMold small { color:#fff; font-weight:800; font-size:12px; }
.pnMold .nome.demo { position:relative !important; transform:none !important; left:auto; top:auto; pointer-events:none; }
/* perfil: insígnias */
.perfInsigTit { font-weight:800; font-size:13px; color:#6b5fb0; margin-top:6px; }
.perfInsig { display:flex; flex-wrap:wrap; gap:5px; } .perfInsig .pnIns { width:32px; height:32px; } .perfInsig .pnIns .ic { width:19px; height:19px; } .perfInsig small { color:#9a92b8; font-size:12px; }
/* gestos: dança trancada */
#painelGestos button.trancado { opacity:.55; filter:grayscale(.6); }
/* notificação de conquista */
.notifCel.conquista .ncApp { background:linear-gradient(180deg, #ffe58a, #ffb52e); } .notifCel.conquista .ncApp .ic { color:#6a3a00; }
.notifCel .celFotinho.insignia { display:grid; place-items:center; border-radius:6px; background:linear-gradient(180deg, #ffe58a, #ffb52e); }
.notifCel .celFotinho.insignia .ic { width:22px; height:22px; color:#6a3a00; }

/* ===================== FESTA DE SUBIR DE NÍVEL ===================== */
.nivelFesta { position:fixed; inset:0; z-index:70; display:grid; place-items:center; background:rgba(30,20,60,.45); animation:nfFundo .3s ease; }
@keyframes nfFundo { from { opacity:0; } }
.nfCaixa { position:relative; width:min(360px, calc(100vw - 32px)); background:#fff; padding:22px 18px 18px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px; overflow:hidden;
  box-shadow:0 20px 50px rgba(30,10,80,.35), inset 0 0 0 3px #ffc93c; animation:nfEntra .55s cubic-bezier(.2,1.5,.4,1); font-family:"Nunito","Segoe UI",sans-serif; color:#2b2350; }
@keyframes nfEntra { from { transform:scale(.4) rotate(-6deg); opacity:0; } }
.nfRaios { position:absolute; left:50%; top:70px; width:520px; height:520px; margin:-260px 0 0 -260px; background:repeating-conic-gradient(rgba(255,201,60,.18) 0 10deg, transparent 10deg 20deg); animation:nfGira 12s linear infinite; pointer-events:none; }
@keyframes nfGira { to { transform:rotate(360deg); } }
.nfCaixa > *:not(.nfRaios) { position:relative; }
.nfCaixa > small { font-weight:800; color:#7a6fae; }
.nfNivel { font:900 30px/1 "Nunito","Segoe UI",sans-serif; color:#7a3cff; } .nfNivel b { font-size:46px; color:#ff4fa3; }
.nfCaixa p { margin:0; font-size:13px; color:#5b4f8f; } .nfProx { font-weight:800; color:#a0670a !important; }
.nfGanhou { justify-content:center; }
.nfCaixa .zBt { margin-top:4px; padding:10px 26px; font-size:15px; }

/* ===================== MOLDURAS DO CRACHÁ (liberadas por nível) ===================== */
body .nome[data-moldura] { overflow:visible; }
body .nome[data-moldura="brilho"] { box-shadow:0 0 0 1.5px #fff, 0 0 10px rgba(255,255,255,.75) !important; animation:mBrilho 2s ease-in-out infinite; }
@keyframes mBrilho { 50% { box-shadow:0 0 0 1.5px #fff, 0 0 18px rgba(255,255,255,1) !important; } }
body .nome[data-moldura="neon"] { box-shadow:0 0 0 2px #29f0ff, 0 0 10px #29f0ff, 0 0 20px rgba(41,240,255,.55) !important; animation:mNeon 3s steps(1) infinite; }
@keyframes mNeon { 0%, 46%, 50%, 100% { box-shadow:0 0 0 2px #29f0ff, 0 0 10px #29f0ff, 0 0 20px rgba(41,240,255,.55); } 48% { box-shadow:0 0 0 2px #8ff8ff, 0 0 2px #29f0ff; } }
body .nome[data-moldura="fogo"] { box-shadow:0 0 0 2px #ff7a1a, 0 -4px 12px rgba(255,90,20,.8), 0 0 18px rgba(255,170,40,.6) !important; animation:mFogo .9s ease-in-out infinite alternate; }
@keyframes mFogo { to { box-shadow:0 0 0 2px #ffb52e, 0 -7px 16px rgba(255,60,20,.9), 0 0 22px rgba(255,200,60,.7); } }
body .nome[data-moldura="arcoiris"] { border:2px solid transparent !important; background-origin:border-box !important; background-clip:padding-box, border-box !important;
  background-image:linear-gradient(rgba(26,20,48,.9), rgba(26,20,48,.9)), linear-gradient(90deg, #ff4f6a, #ffb52e, #ffe14d, #4fd47e, #4fb0ff, #b98cff, #ff4f6a) !important; background-size:100% 100%, 300% 100% !important; animation:mArco 3s linear infinite; box-shadow:0 0 12px rgba(185,140,255,.6) !important; }
@keyframes mArco { to { background-position:0 0, 300% 0; } }
body .nome[data-moldura="galaxia"] { background:radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 60%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 25%, #cfe8ff, transparent), radial-gradient(1px 1px at 40% 80%, #fff, transparent), linear-gradient(135deg, #1a0b3d, #3b1a7a 50%, #0e1a4d) !important;
  box-shadow:0 0 0 1.5px #b98cff, 0 0 14px rgba(140,90,255,.75) !important; animation:mGalaxia 4s ease-in-out infinite; }
@keyframes mGalaxia { 50% { box-shadow:0 0 0 1.5px #7fd0ff, 0 0 18px rgba(90,170,255,.8); } }
body .nome[data-moldura="lenda"] { color:#5a3200 !important; background:linear-gradient(100deg, #ffd34d, #fff1b0 45%, #ffb52e 55%, #ffd34d) !important; background-size:250% 100% !important;
  box-shadow:0 0 0 2px #fff7d6, 0 0 14px rgba(255,190,60,.95), 0 0 28px rgba(255,150,30,.5) !important; animation:mLenda 2.6s linear infinite; text-shadow:0 1px 0 rgba(255,255,255,.6); }
@keyframes mLenda { to { background-position:-250% 0; } }
@media (prefers-reduced-motion: reduce) { body .nome[data-moldura] { animation:none !important; } .nfRaios { animation:none; } }

/* =====================================================================
   HUB do jogador (nível + XP + moedas/gemas + fome/sede + quarto) - v101
   ===================================================================== */
#topo #hub { --t1:#4fd47e; --t2:#1f9d55; --tBrilho:rgba(79,212,126,.55);
  display:flex; flex-direction:column; gap:8px; width:268px; padding:10px; box-sizing:border-box; border-radius:4px;
  background:linear-gradient(180deg, #ffffff, #f4f0ff); font-family:var(--zFonte, "Nunito", sans-serif);
  box-shadow:0 0 0 1px rgba(90,60,200,.14), inset 0 2px 0 #fff, 0 14px 28px -14px rgba(52,30,120,.6); pointer-events:auto; }
/* tira o visual antigo das peças que agora moram dentro do hub */
#topo #hub .hudCartao, #topo #hub .hudBarra, #topo #hub .hudLocal, #topo #hub .hudMoedas, #topo #hub .hudNecess {
  background:none !important; box-shadow:none !important; border:0 !important; border-image:none !important; border-radius:0 !important; padding:0 !important; margin:0 !important; animation:none !important; }
#topo #hub .hudXp, #topo #hub .hudBarra > div { border:0 !important; border-image:none !important; }
#topo #hub .hudXp > i, #topo #hub .hudBarra > div > i { border:0 !important; border-image:none !important; margin:0 !important; max-width:100% !important; box-sizing:border-box; }

/* topo: emblema + nome + XP */
#topo #hub .hubTopo { display:flex !important; align-items:center; gap:11px !important; cursor:pointer; }
#hub .hubEmblema { position:relative; width:56px; height:56px; flex:none; display:grid; place-items:center; filter:drop-shadow(0 4px 6px rgba(40,20,100,.35)); transition:transform .2s cubic-bezier(.2,1.6,.4,1); }
#hub .hubTopo:hover .hubEmblema { transform:scale(1.07) rotate(-4deg); }
#hub .hubEmblema::before, #hub .hubEmblema::after { content:""; position:absolute; clip-path:var(--forma); }
#hub .hubEmblema::before { inset:0; background:#fff; }
#hub .hubEmblema::after { inset:3px; background:radial-gradient(circle at 35% 25%, rgba(255,255,255,.45), transparent 55%), linear-gradient(160deg, var(--t1), var(--t2)); }
#hub .hubEmblema b { position:relative; z-index:2; font:900 21px/1 "Nunito","Segoe UI",sans-serif; color:#fff; text-shadow:0 2px 0 rgba(0,0,0,.22); }
#hub .hubIco { position:absolute; z-index:3; right:-5px; bottom:-4px; width:22px; height:22px; border-radius:4px; background:linear-gradient(160deg, var(--t1), var(--t2)); box-shadow:0 0 0 2px #fff, 0 2px 4px rgba(0,0,0,.25); }
#hub .hubIco::after { content:""; position:absolute; inset:4px; background:#fff; -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; }
#hub .hubCol { flex:1; min-width:0; display:flex; flex-direction:column; gap:5px; }
#hub .hubNomeLinha { display:flex; align-items:baseline; gap:6px; min-width:0; }
#hub #hudNome { font-weight:800; font-size:16px; color:var(--zTinta, #2a2350); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#hub #hubTier { flex:none; font-weight:800; font-size:11px; color:var(--t2); }
#topo #hub .hubXp { position:relative; height:15px !important; border-radius:3px !important; background:#ece6ff !important; box-shadow:inset 0 1px 2px rgba(60,40,140,.18) !important; overflow:hidden !important; }
#topo #hub .hubXp > i { display:block; height:100%; border-radius:0 !important; background:linear-gradient(90deg, var(--t2), var(--t1)) !important; box-shadow:inset 0 2px 0 rgba(255,255,255,.4) !important; transition:width .5s; }
#topo #hub .hubXp small { position:absolute; inset:0; display:grid; place-items:center; font:800 9.5px/1 "Nunito",sans-serif !important; color:var(--zTinta, #2a2350) !important; }

/* moedas e gemas */
#hub .hubMoedas { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
#topo #hub .hubMoeda { display:flex !important; align-items:center; gap:6px; padding:4px 8px 4px 4px !important; border-radius:3px !important; background:#2a2350 !important; }
#hub .hubMoeda img { width:24px; height:24px; display:block; filter:none !important; }
#hub .hubMoeda b { font:900 15px/1 "Nunito",sans-serif !important; color:#ffd34d !important; }
#hub .hubGema b { color:#7ff0ff !important; }
#hub .hubGemaIco { width:24px; height:24px; flex:none; background:linear-gradient(160deg, #7ff0ff, #3d8bff 55%, #c46bff); -webkit-mask:url(icones-ui/diamond-cheio.svg) center/88% no-repeat; mask:url(icones-ui/diamond-cheio.svg) center/88% no-repeat; animation:gemaBrilha 3s ease-in-out infinite; }
@keyframes gemaBrilha { 0%, 100% { filter:brightness(1); } 50% { filter:brightness(1.35); } }

/* fome e sede */
#topo #hub .hubNecess { display:flex !important; flex-direction:column; gap:5px; }
#topo #hub .hudBarra { display:flex !important; align-items:center; gap:7px !important; }
#hub .hubEmoji { width:20px; flex:none; text-align:center; font-size:15px; line-height:1; }
#topo #hub .hudBarra > div { flex:1; width:auto !important; height:10px !important; border-radius:3px !important; background:#ece6ff !important; box-shadow:inset 0 1px 2px rgba(60,40,140,.15) !important; overflow:hidden !important; }
#topo #hub .hudBarra > div > i { display:block !important; height:100% !important; border-radius:0 !important; transition:width .5s, background .4s; }
#topo #hub .hudBarra.fome > div > i { background:linear-gradient(90deg, #ffb35c, #ff7a59) !important; }
#topo #hub .hudBarra.sede > div > i { background:linear-gradient(90deg, #6fd3ff, #3d8bff) !important; }
#topo #hub .hudBarra.sono > div > i { background:linear-gradient(90deg, #b9a4ff, #7a5cff) !important; }
#hub .hudBarra small { width:32px; flex:none; text-align:right; font:800 11px/1 "Nunito",sans-serif; color:var(--zSuave, #6d6590); }
/* acabando: amarelo, e o emoji começa a pular */
#topo #hub .hudBarra.medio > div > i { background:linear-gradient(90deg, #ffd34d, #ffa41f) !important; }
#hub .hudBarra.medio small { color:#c27a00; }
#hub .hudBarra.medio .hubEmoji { animation:emojiPula 1.4s ease-in-out infinite; }
/* quase no fim: vermelho, pisca e pula mais rápido */
#topo #hub .hudBarra.baixo > div > i { background:linear-gradient(90deg, #ff6b6b, #e0284f) !important; animation:barraPisca .8s ease-in-out infinite !important; }
#hub .hudBarra.baixo small { color:#e0284f; }
#hub .hudBarra.baixo .hubEmoji { animation:emojiPula .7s ease-in-out infinite; }
@keyframes emojiPula { 0%, 100% { transform:translateY(2px); } 50% { transform:translateY(-4px) scale(1.12); } }
@keyframes barraPisca { 50% { opacity:.45; } }

/* quarto embaixo */
#topo #hub .hudLocal { display:flex !important; width:auto !important; align-items:center; gap:6px; padding:7px 0 0 !important; border-top:1px solid #e6e0f7 !important; font-size:12px; cursor:pointer; }
#topo #hub .hudLocal #infoQuarto { padding:3px 8px !important; border-radius:3px !important; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:130px; }
#topo #hub .hudLocal .hlSeta { margin-left:auto; }

/* ---- faixas de nível: cor + forma do emblema ---- */
:is(#hub, #painelPerfil) [data-tier="novato"]      { --t1:#5fe08f; --t2:#1f9d55; --forma:inset(0 round 10px); }
:is(#hub, #painelPerfil) [data-tier="explorador"]  { --t1:#4fe3ee; --t2:#1388b0; --forma:polygon(28% 0,72% 0,100% 28%,100% 72%,72% 100%,28% 100%,0 72%,0 28%); }
:is(#hub, #painelPerfil) [data-tier="aventureiro"] { --t1:#6fb8ff; --t2:#2f5fe0; --forma:polygon(0 0,100% 0,100% 58%,50% 100%,0 58%); }
:is(#hub, #painelPerfil) [data-tier="heroi"]       { --t1:#c19bff; --t2:#6d2ff0; --forma:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%); }
:is(#hub, #painelPerfil) [data-tier="mestre"]      { --t1:#ff9fd6; --t2:#d6307f; --forma:polygon(50% 0,100% 50%,50% 100%,0 50%); }
:is(#hub, #painelPerfil) [data-tier="campeao"]     { --t1:#ffc06b; --t2:#e8561a; --forma:polygon(50% 0,63% 13%,82% 10%,85% 33%,100% 50%,85% 67%,82% 90%,63% 87%,50% 100%,37% 87%,18% 90%,15% 67%,0 50%,15% 33%,18% 10%,37% 13%); }
:is(#hub, #painelPerfil) [data-tier="lenda"]       { --t1:#ffe98f; --t2:#e89a0c; --forma:polygon(50% 0,63% 13%,82% 10%,85% 33%,100% 50%,85% 67%,82% 90%,63% 87%,50% 100%,37% 87%,18% 90%,15% 67%,0 50%,15% 33%,18% 10%,37% 13%); }
:is(#hub, #painelPerfil) [data-tier="mitico"]      { --t1:#ff7ac8; --t2:#6d4cf0; --forma:polygon(50% 0,63% 13%,82% 10%,85% 33%,100% 50%,85% 67%,82% 90%,63% 87%,50% 100%,37% 87%,18% 90%,15% 67%,0 50%,15% 33%,18% 10%,37% 13%); }
#hub .hubEmblema[data-tier="mestre"] b { font-size:17px; }
#hub .hubEmblema[data-tier="lenda"] b { color:#6b3a00; text-shadow:0 1px 0 rgba(255,255,255,.5); }
#hub .hubEmblema[data-tier="lenda"] { filter:drop-shadow(0 0 7px rgba(255,190,40,.85)) drop-shadow(0 4px 5px rgba(120,60,0,.35)); animation:emblemaLenda 2.4s ease-in-out infinite; }
#hub .hubEmblema[data-tier="campeao"]::after { background:radial-gradient(circle at 35% 25%, rgba(255,255,255,.45), transparent 55%), linear-gradient(160deg, #ffd36b, var(--t1) 35%, var(--t2)); }
#hub .hubEmblema[data-tier="mitico"]::after { background:conic-gradient(from 0deg, #ff5f9e, #ffb03a, #ffe35a, #4fe08f, #4fc3ff, #8b5cf6, #ff5f9e); animation:emblemaMitico 3s linear infinite; }
#hub .hubEmblema[data-tier="mitico"] { filter:drop-shadow(0 0 8px rgba(200,120,255,.9)); }
@keyframes emblemaLenda { 50% { transform:translateY(-2px); } }
@keyframes emblemaMitico { to { filter:hue-rotate(360deg); } }
#topo #hub:has(.hubEmblema[data-tier="explorador"])  { --t1:#4fe3ee; --t2:#1388b0; }
#topo #hub:has(.hubEmblema[data-tier="aventureiro"]) { --t1:#6fb8ff; --t2:#2f5fe0; }
#topo #hub:has(.hubEmblema[data-tier="heroi"])       { --t1:#c19bff; --t2:#6d2ff0; }
#topo #hub:has(.hubEmblema[data-tier="mestre"])      { --t1:#ff9fd6; --t2:#d6307f; }
#topo #hub:has(.hubEmblema[data-tier="campeao"])     { --t1:#ffc06b; --t2:#e8561a; }
#topo #hub:has(.hubEmblema[data-tier="lenda"])       { --t1:#ffd34d; --t2:#d98a00; }
#topo #hub:has(.hubEmblema[data-tier="mitico"])      { --t1:#ff7ac8; --t2:#6d4cf0; }

/* celular / tela baixa: hub menor */
@media (max-width:900px), (max-height:520px) {
  #topo #hub { width:196px; padding:7px; gap:5px; }
  #hub .hubEmblema { width:40px; height:40px; } #hub .hubEmblema b { font-size:15px; } #hub .hubIco { width:16px; height:16px; right:-4px; bottom:-3px; } #hub .hubIco::after { inset:3px; }
  #hub #hudNome { font-size:13px; } #topo #hub .hubTopo { gap:8px !important; }
  #topo #hub .hubXp { height:12px !important; }
  #hub .hubMoeda img, #hub .hubGemaIco { width:18px; height:18px; } #hub .hubMoeda b { font-size:12px !important; }
  #topo #hub .hudBarra > div { height:8px !important; } #hub .hubEmoji { font-size:12px; width:16px; } #hub .hudBarra small { font-size:10px; width:28px; }
  #topo #hub .hudLocal { font-size:10.5px; padding-top:5px !important; } #topo #hub .hudLocal #infoOnline { display:none; }
}

/* número do nível em cima do boneco: mesmas cores das faixas */
body .nome .nvl[data-faixa="explorador"]  { background:linear-gradient(180deg, #4fe3ee, #1388b0); }
body .nome .nvl[data-faixa="aventureiro"] { background:linear-gradient(180deg, #6fb8ff, #2f5fe0); }
body .nome .nvl[data-faixa="heroi"]       { background:linear-gradient(180deg, #c19bff, #6d2ff0); }
body .nome .nvl[data-faixa="mestre"]      { background:linear-gradient(180deg, #ff9fd6, #d6307f); }
body .nome .nvl[data-faixa="campeao"]     { background:linear-gradient(180deg, #ffc06b, #e8561a); box-shadow:inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 1px #ffe0b0, 0 0 6px rgba(255,130,40,.6); }
body .nome .nvl[data-faixa="lenda"]       { color:#5a3200; text-shadow:0 1px 0 rgba(255,255,255,.45); background:linear-gradient(180deg, #ffe58a, #ffb52e); box-shadow:inset 0 -2px 0 rgba(150,80,0,.25), 0 0 0 1px #fff3c2, 0 0 8px rgba(255,190,60,.8); }
body .nome .nvl[data-faixa="mitico"]      { background:linear-gradient(90deg, #ff5f9e, #ffb03a, #4fe08f, #4fc3ff, #8b5cf6, #ff5f9e); background-size:300% 100%; animation:nvlMitico 3s linear infinite; box-shadow:0 0 0 1px #fff, 0 0 8px rgba(200,120,255,.8); }
@keyframes nvlMitico { to { background-position:300% 0; } }

/* prêmio de gemas */
.pnChip.gemas { background:#dff7ff; color:#1678c2; }

/* selo do perfil: só "Equipe Zemus" (sem dizer qual cargo) */
.perfSelo[data-cargo="equipe"] { padding-left:24px; color:#fff; text-shadow:0 1px 0 rgba(80,20,90,.35);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M18 4a1 1 0 0 1 .78.38l3 5a1 1 0 0 1-.1 1.18l-8.53 9.53a1.7 1.7 0 0 1-2.46 0l-8.5-9.5a1 1 0 0 1-.11-1.18l3.01-5.02A1 1 0 0 1 6 4z'/%3E%3C/svg%3E") 7px center / 12px no-repeat, linear-gradient(90deg, #7a3cff, #ff4fa3, #ffb03a, #7a3cff);
  background-size:12px, 300% 100%; animation:seloHolo 4s linear infinite; box-shadow:0 0 0 1.5px rgba(255,255,255,.9), 0 2px 8px rgba(255,79,163,.45); }

/* aba Efeitos do editor: amostras de aura */
.edAura { display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 6px !important; }
.auraPrev { position:relative; width:46px; height:46px; display:block; }
.auraPrev::before { content:""; position:absolute; left:6px; right:6px; bottom:4px; height:14px; border-radius:50%; border:3px solid var(--a1); box-shadow:0 0 10px var(--a1), inset 0 0 8px var(--a2); }
.auraPrev::after { content:""; position:absolute; left:17px; right:17px; top:4px; bottom:10px; border-radius:3px; background:linear-gradient(0deg, var(--a1), transparent); opacity:.75; }
.auraPrev[data-aura="dourada"]  { --a1:#ffc93c; --a2:#fff1b0; }
.auraPrev[data-aura="rosa"]     { --a1:#ff5fae; --a2:#ffd0ea; }
.auraPrev[data-aura="gelo"]     { --a1:#4fc3ff; --a2:#d9f6ff; }
.auraPrev[data-aura="arcoiris"] { --a1:#ff5f9e; --a2:#7fe0ff; animation:emblemaMitico 3s linear infinite; }
.auraPrev[data-aura=""]::before { border-color:#cfc8e6; border-style:dashed; box-shadow:none; }
.auraPrev[data-aura=""]::after { display:none; }

/* =====================================================================
   PERFIL v2: capa com a cor da faixa, emblema do nível, números e vitrine de insígnias
   ===================================================================== */
#painelPerfil.painelFofo { width:min(400px, calc(100% - 24px)) !important; border-radius:4px !important; padding:14px !important; max-height:calc(100% - 24px); overflow:auto; }
#painelPerfil .pX { border-radius:4px !important; }
#painelPerfil .perfVista { display:flex; flex-direction:column; gap:10px; margin-top:10px; }
#painelPerfil .perfVista[hidden] { display:none !important; }
/* capa */
#painelPerfil .perfCapa { position:relative; display:flex; align-items:center; gap:14px; padding:14px; border-radius:4px; overflow:hidden; isolation:isolate;
  background:repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 10px, transparent 10px 20px), linear-gradient(140deg, var(--t1), var(--t2)); box-shadow:inset 0 0 0 1px rgba(255,255,255,.25), 0 10px 22px -12px var(--t2); }
#painelPerfil .perfCapa::before { content:""; position:absolute; z-index:-1; width:220px; height:220px; right:-70px; top:-90px; background:radial-gradient(circle, rgba(255,255,255,.38), transparent 65%); }
#painelPerfil .perfCapa[data-tier="mitico"] { background:linear-gradient(120deg, #ff5f9e, #ffb03a, #4fe08f, #4fc3ff, #8b5cf6, #ff5f9e); background-size:300% 100%; animation:capaMitica 8s linear infinite; }
#painelPerfil .perfCapa[data-tier="lenda"]::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); background-size:250% 100%; animation:capaBrilho 3.5s ease-in-out infinite; }
@keyframes capaMitica { to { background-position:300% 0; } }
@keyframes capaBrilho { from { background-position:150% 0; } to { background-position:-100% 0; } }
#painelPerfil .perfFotoCx { position:relative; flex:none; }
#painelPerfil .perfFoto { width:112px !important; height:112px !important; border-radius:4px !important; border:3px solid #fff !important; background:radial-gradient(circle at 50% 35%, #fff, #efeaff 70%) !important; box-shadow:0 8px 18px -8px rgba(0,0,0,.5) !important; overflow:hidden; }
#painelPerfil .perfEmb { position:absolute; right:-12px; bottom:-10px; width:42px; height:42px; display:grid; place-items:center; filter:drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
#painelPerfil .perfEmb::before, #painelPerfil .perfEmb::after { content:""; position:absolute; clip-path:var(--forma); }
#painelPerfil .perfEmb::before { inset:0; background:#fff; }
#painelPerfil .perfEmb::after { inset:3px; background:radial-gradient(circle at 35% 25%, rgba(255,255,255,.45), transparent 55%), linear-gradient(160deg, var(--t1), var(--t2)); }
#painelPerfil .perfEmb[data-tier="mitico"]::after { background:conic-gradient(#ff5f9e, #ffb03a, #ffe35a, #4fe08f, #4fc3ff, #8b5cf6, #ff5f9e); }
#painelPerfil .perfEmb b { position:relative; z-index:2; font:900 16px/1 "Nunito","Segoe UI",sans-serif; color:#fff; text-shadow:0 1px 0 rgba(0,0,0,.25); }
#painelPerfil .perfEmb[data-tier="lenda"] b { color:#6b3a00; text-shadow:0 1px 0 rgba(255,255,255,.5); }
#painelPerfil .perfDados { min-width:0; gap:4px !important; }
#painelPerfil .perfDados > b { font-size:22px !important; font-weight:900; color:#fff; text-shadow:0 2px 0 rgba(0,0,0,.18); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
#painelPerfil #perfTier { font-weight:800; font-size:12px; color:rgba(255,255,255,.92); }
#painelPerfil #perfTier:empty { display:none; }
#painelPerfil .perfCapa[data-tier="lenda"] .perfDados > b, #painelPerfil .perfCapa[data-tier="lenda"] #perfTier { color:#5a3000; text-shadow:0 1px 0 rgba(255,255,255,.5); }
#painelPerfil .perfSelos { margin:2px 0 0; }
/* números */
#painelPerfil .perfStats { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; }
#painelPerfil .perfStat { display:flex !important; flex-direction:column; align-items:center; gap:1px; padding:8px 4px !important; border-radius:4px !important; background:#fff !important; border:0 !important; box-shadow:0 0 0 1px #e6e0f7, 0 3px 0 #ebe6f8 !important; }
#painelPerfil .perfStat[hidden] { display:none !important; }
#painelPerfil .perfStat .ic { width:18px; height:18px; color:#7a63d6; } #painelPerfil .perfStat img { width:20px; height:20px; }
#painelPerfil .perfStat b { font:900 17px/1.1 "Nunito",sans-serif; color:var(--zTinta, #2a2350); }
#painelPerfil .perfStat small { font-size:11px; font-weight:700; color:#8e86ad; }
/* vitrine */
#painelPerfil .perfInsigTopo { display:flex; align-items:center; justify-content:space-between; margin-top:2px; }
#painelPerfil .perfInsigTit { margin:0; font-size:14px; color:var(--zTinta, #2a2350); }
#painelPerfil .perfVerTodas { border:0; border-radius:4px; padding:6px 10px; background:#efe9ff; color:#5b3fd6; font:800 12px "Nunito",sans-serif; cursor:pointer; }
#painelPerfil .perfVerTodas:hover { background:#e2d8ff; }
#painelPerfil .perfInsig { display:grid; grid-template-columns:repeat(5, 1fr); gap:7px; }
.perfIns { --r1:#c9d2dc; --r2:#8a97a6; --rb:rgba(140,150,170,.0); position:relative; aspect-ratio:1; width:100%; padding:0; border:0; cursor:pointer; display:grid; place-items:center; border-radius:4px;
  background:radial-gradient(circle at 50% 30%, rgba(255,255,255,.5), transparent 60%), linear-gradient(160deg, var(--r1), var(--r2)); box-shadow:inset 0 0 0 2px rgba(255,255,255,.55), inset 0 -3px 0 rgba(0,0,0,.15), 0 0 12px var(--rb); transition:transform .15s; }
.perfIns:hover { transform:translateY(-2px) scale(1.05); }
.perfIns .ic { width:56%; height:56%; color:#fff; filter:drop-shadow(0 1px 0 rgba(0,0,0,.25)); }
.perfIns[data-r="rara"] { --r1:#7cc8ff; --r2:#2f6fe0; --rb:rgba(60,140,255,.35); }
.perfIns[data-r="epica"] { --r1:#c79bff; --r2:#6d2ff0; --rb:rgba(140,80,255,.5); }
.perfIns[data-r="lendaria"] { --r1:#ffe58a; --r2:#f0a010; --rb:rgba(255,190,40,.75); }
.perfIns[data-r="lendaria"] .ic { color:#6b3a00; filter:drop-shadow(0 1px 0 rgba(255,255,255,.5)); }
.perfIns[data-r="lendaria"]::after { content:""; position:absolute; inset:0; border-radius:4px; background:linear-gradient(110deg, transparent 35%, rgba(255,255,255,.7) 50%, transparent 65%); background-size:250% 100%; animation:capaBrilho 2.8s ease-in-out infinite; pointer-events:none; }
.perfIns.vazio { cursor:default; background:repeating-linear-gradient(135deg, #f4f1fb 0 6px, #ece7f8 6px 12px); box-shadow:inset 0 0 0 2px #e2dcf2; }
.perfIns.vazio:hover { transform:none; }
.perfIns.trancada { filter:grayscale(1); opacity:.45; --rb:transparent; }
.perfIns.trancada::after { display:none; }
.perfIns.trancada::before { content:""; position:absolute; right:-4px; bottom:-4px; width:16px; height:16px; border-radius:3px; background:#fff url(icones-ui/lock.svg) center/11px no-repeat; box-shadow:0 1px 3px rgba(0,0,0,.4); }
/* aba com todas */
#painelPerfil .perfInsVolta { display:flex; align-items:center; gap:8px; }
#painelPerfil #perfVoltar { width:34px; height:34px; display:grid; place-items:center; border:0; border-radius:4px; background:#efe9ff; cursor:pointer; }
#painelPerfil #perfVoltar .ic { width:18px; height:18px; color:#5b3fd6; }
#painelPerfil #perfInsTit { flex:1; font-weight:900; font-size:16px; color:var(--zTinta, #2a2350); }
#painelPerfil #perfInsConta { font-weight:900; font-size:13px; color:#fff; background:#7a63d6; padding:4px 8px; border-radius:3px; }
#painelPerfil .perfLegenda { display:flex; gap:10px; flex-wrap:wrap; font-size:11px; font-weight:800; color:#8e86ad; }
#painelPerfil .perfLegenda span { display:flex; align-items:center; gap:4px; } #painelPerfil .perfLegenda span::before { content:""; width:10px; height:10px; border-radius:2px; background:var(--c); }
#painelPerfil .perfLegenda [data-r="lendaria"] { --c:#f5b52a; } #painelPerfil .perfLegenda [data-r="epica"] { --c:#8b5cf6; } #painelPerfil .perfLegenda [data-r="rara"] { --c:#3d8bff; } #painelPerfil .perfLegenda [data-r="comum"] { --c:#9aa6b4; }
#painelPerfil .perfTodas { display:flex; flex-direction:column; gap:6px; max-height:min(430px, 60vh); overflow:auto; padding:2px 2px 4px; }
.perfInsLinha { display:flex; align-items:center; gap:10px; padding:7px 10px 7px 7px; border-radius:4px; background:#fff; box-shadow:0 0 0 1px #e6e0f7; }
.perfInsLinha .perfIns { width:44px; flex:none; cursor:default; } .perfInsLinha .perfIns:hover { transform:none; }
.perfInsTxt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.perfInsTxt b { font-size:14px; font-weight:900; color:var(--zTinta, #2a2350); } .perfInsTxt small { font-size:11.5px; color:#8e86ad; font-weight:700; }
.perfInsTxt .pnProg { margin-top:3px; }
.perfInsLinha em { font-style:normal; font-size:10.5px; font-weight:900; padding:3px 6px; border-radius:3px; color:#fff; background:#9aa6b4; }
.perfInsLinha[data-r="rara"] em { background:#3d8bff; } .perfInsLinha[data-r="epica"] em { background:#8b5cf6; } .perfInsLinha[data-r="lendaria"] em { background:#f0a010; }
.perfInsLinha[data-r="lendaria"]:not(.trancada) { box-shadow:0 0 0 2px #ffd35a, 0 0 12px rgba(255,190,40,.35); }
.perfInsLinha[data-r="epica"]:not(.trancada) { box-shadow:0 0 0 2px #c4a8ff; }
.perfInsLinha.trancada { background:#faf9fd; } .perfInsLinha.trancada b { color:#8e86ad; }
@media (max-height:620px) { #painelPerfil .perfFoto { width:84px !important; height:84px !important; } #painelPerfil .perfEmb { width:34px; height:34px; } #painelPerfil .perfEmb b { font-size:13px; } }

/* =====================================================================
   SALAS v2: lista em linhas (destaques primeiro), busca e leilão do destaque
   ===================================================================== */
#painelQuartos.zPainel { width:min(420px, calc(100vw - 28px)) !important; border-radius:4px !important; }
#painelQuartos .pX, #painelQuartos .zAbas, #painelQuartos .zAbas button { border-radius:4px !important; }
.sBusca { display:flex; align-items:center; gap:8px; padding:0 10px; height:38px; flex:none; background:#f3efff; border-radius:4px; box-shadow:inset 0 0 0 2px transparent; transition:box-shadow .15s, background .15s; }
.sBusca:focus-within { background:#fff; box-shadow:inset 0 0 0 2px var(--zRoxo, #7a5cff); }
.sBusca .ic { width:17px; height:17px; color:#9a8fc4; flex:none; }
#painelQuartos .sBusca input { flex:1; min-width:0; border:0 !important; background:none !important; padding:0 !important; outline:0; font:600 14px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); }
#listaQuartos { gap:4px !important; }
.sGrupo { display:flex; align-items:center; gap:6px; padding:8px 4px 3px; font:800 12.5px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); }
.sGrupo:first-child { padding-top:2px; }
.sGrupo .ic { width:15px; height:15px; color:#7a63d6; } .sGrupo.destaque .ic { color:#e89a0c; }
.sGrupo small { margin-left:auto; font-weight:700; font-size:11px; color:#9a92b8; }
.sLinha { display:flex; align-items:center; gap:10px; min-height:50px; padding:6px 8px 6px 6px; border-radius:4px; background:#fff; box-shadow:0 0 0 1px #e8e2f6; flex:none; }
.sLinha:hover { box-shadow:0 0 0 1px #cfc3f5, 0 3px 10px -6px rgba(90,60,200,.5); }
.sLinha.aqui { box-shadow:0 0 0 2px #2fc08a; background:#f2fcf7; }
.sLinha.destaque { background:linear-gradient(90deg, #fff7dc, #fff); box-shadow:0 0 0 1px #ffd76b; }
.sLinha.destaque.aqui { box-shadow:0 0 0 2px #2fc08a; }
.sEmb { position:relative; width:38px; height:38px; flex:none; display:grid; place-items:center; border-radius:4px; background:linear-gradient(160deg, #6fb8ff, #3d6ff0); box-shadow:inset 0 2px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12); }
.sEmb .ic { width:21px; height:21px; color:#fff; }
.sLinha.destaque .sEmb { background:linear-gradient(160deg, #ffd85a, #f29a12); }
.sLinha.jogo .sEmb { background:linear-gradient(160deg, #5fe3a9, #17a873); }
.sLinha.vip .sEmb { background:linear-gradient(160deg, #3a2a63, #1f1438); } .sLinha.vip .sEmb .ic { color:#ffc93c; }
.sLinha.oficial .sEmb { background:linear-gradient(160deg, #b89bff, #6d4cf0); }
.sPos { position:absolute; left:-5px; top:-5px; min-width:17px; height:17px; padding:0 3px; display:grid; place-items:center; border-radius:3px; font:900 10.5px/1 "Nunito",sans-serif; color:#fff; background:#8e86ad; box-shadow:0 0 0 2px #fff; }
.sPos.p1 { background:linear-gradient(180deg, #ffe066, #f0a010); color:#5a3200; } .sPos.p2 { background:linear-gradient(180deg, #e4e9ef, #9aa6b4); color:#2b3440; } .sPos.p3 { background:linear-gradient(180deg, #f2b98a, #c9743a); }
.sTxt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.sTxt > b { display:flex; align-items:center; gap:6px; min-width:0; font:800 14.5px/1.2 var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sMarcas { display:inline-flex; gap:3px; flex:none; } .sMarcas .ic { width:13px; height:13px; color:#9a8fc4; }
.sTxt > small { display:flex; align-items:center; gap:8px; font-size:11.5px; font-weight:700; color:#9a92b8; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sLance { display:inline-flex; align-items:center; gap:3px; color:#b06d00; } .sLance img { width:14px; height:14px; }
.sTempo { color:#c27a00; } .sTempo::before { content:"⏱ "; }
.sGente { display:flex; align-items:center; gap:3px; flex:none; min-width:52px; justify-content:flex-end; font:900 13.5px "Nunito",sans-serif; color:#b4abd6; }
.sGente .ic { width:14px; height:14px; color:currentColor; } .sGente small { font-weight:700; font-size:11px; color:#c3bcdc; }
.sGente.tem { color:#17a873; } .sGente.cheio { color:#e0475f; }
#listaQuartos .sIr { flex:none; width:58px; height:34px; padding:0 !important; border:0 !important; border-radius:4px !important; cursor:pointer; color:#fff !important; font:900 14px var(--zFonte, "Nunito", sans-serif) !important;
  background:linear-gradient(180deg, #3ddc97, #17a873) !important; box-shadow:inset 0 2px 0 rgba(255,255,255,.3), 0 3px 0 #0f7d55 !important; transition:transform .1s; }
#listaQuartos .sIr:hover { transform:translateY(-1px); } #listaQuartos .sIr:active { transform:translateY(2px); box-shadow:inset 0 2px 0 rgba(255,255,255,.3), 0 1px 0 #0f7d55 !important; }
#listaQuartos .sIr:disabled { background:#d9d4ea !important; box-shadow:none !important; cursor:default; transform:none; }
.sAqui { flex:none; width:58px; text-align:center; font:900 12px var(--zFonte, "Nunito", sans-serif); font-style:normal; color:#17a873; }

/* destaque da sala: comprar e leilão */
#painelSala .psDestaqueAgora { border-radius:4px; }
.psComprar { display:flex; flex-direction:column; gap:10px; } .psComprar[hidden], .psLeilao[hidden] { display:none !important; }
.psDestacar { display:flex; align-items:center; gap:10px; width:100%; padding:12px 14px; border:0; border-radius:4px; cursor:pointer; color:#5c3a00; font:900 15px var(--zFonte, "Nunito", sans-serif);
  background:linear-gradient(180deg, #ffd85a, #f5a612); box-shadow:inset 0 2px 0 rgba(255,255,255,.45), 0 4px 0 #c47a00; transition:transform .1s; }
.psDestacar:hover { transform:translateY(-1px); } .psDestacar:active { transform:translateY(3px); box-shadow:inset 0 2px 0 rgba(255,255,255,.45), 0 1px 0 #c47a00; }
.psDestacar:disabled { filter:grayscale(.7); opacity:.6; cursor:default; transform:none; }
.psDestacar .ic { width:20px; height:20px; color:#5c3a00; } .psDestacar span { flex:1; text-align:left; }
.psDestacar em { display:flex; align-items:center; gap:4px; font-style:normal; padding:4px 8px; border-radius:3px; background:rgba(255,255,255,.45); } .psDestacar em img { width:18px; height:18px; }
.psLeilao { display:flex; flex-direction:column; gap:10px; }
.psLeiTit { display:flex; gap:10px; align-items:flex-start; } .psLeiTit .ic { width:22px; height:22px; color:#7a63d6; flex:none; margin-top:2px; }
.psLeiTit b { display:block; font:900 15px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); } .psLeiTit small { font-size:12px; line-height:1.4; color:var(--zSuave, #6d6590); }
.psLeiPlacar { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; }
.psLeiPlacar div { display:flex; flex-direction:column; align-items:center; padding:7px 4px; border-radius:4px; background:#f3efff; }
.psLeiPlacar small { font-size:11px; font-weight:700; color:#9a92b8; } .psLeiPlacar b { font:900 17px "Nunito",sans-serif; color:var(--zTinta, #2a2350); }
.psLeiPlacar div:first-child { background:#fff4cf; } .psLeiPlacar div:first-child b { color:#b06d00; }
.psLances { display:grid; grid-template-columns:repeat(auto-fit, minmax(70px, 1fr)); gap:6px; }
.psLances button { display:flex; flex-direction:column; align-items:center; gap:1px; padding:8px 4px; border:0; border-radius:4px; cursor:pointer; background:#fff; box-shadow:0 0 0 2px #e2dbf7, 0 3px 0 #e2dbf7; transition:transform .1s; }
.psLances button:hover { transform:translateY(-1px); box-shadow:0 0 0 2px #7a63d6, 0 3px 0 #7a63d6; }
.psLances button b { font:900 16px "Nunito",sans-serif; color:#5b3fd6; } .psLances button small { font-size:10.5px; font-weight:700; color:#9a92b8; }
.psLances button.sobe { background:linear-gradient(180deg, #fff7dc, #ffe9a6); box-shadow:0 0 0 2px #f5b52a, 0 3px 0 #d98a00; } .psLances button.sobe b { color:#a35c00; } .psLances button.sobe small { color:#a35c00; }
.psLances button:disabled { opacity:.45; cursor:default; transform:none; }
.psSaldo { display:flex; align-items:center; justify-content:center; gap:4px; font-size:12px; font-weight:700; color:var(--zSuave, #6d6590); } .psSaldo img { width:15px; height:15px; }

/* janelas que se arrastam pelo título */
@media (min-width:641px) {
  .painel .pTit, .painelFofo .pTit { cursor:grab; user-select:none; touch-action:none; }
  .arrastando, .arrastando * { transition:none !important; animation:none !important; }
  .arrastando .pTit { cursor:grabbing; }
  .arrastando { box-shadow:0 0 0 2px var(--zRoxo, #7a5cff), 0 30px 60px -16px rgba(52,30,120,.6) !important; }
}

/* =====================================================================
   JANELA DA SALA v2 (clicar no nome da sala): mesmo estilo da lista de Salas
   ===================================================================== */
#painelSala.zPainel { border-radius:4px !important; width:min(380px, calc(100vw - 24px)) !important; }
#painelSala :is(button, input, textarea, .psDesc, .psSelo, .zAbas, .psDestaqueAgora, .psDenuncia, .psCoracao, .bolha, .pX) { border-radius:4px !important; }
#painelSala .pTit > span { gap:11px !important; }
.psEmb { width:44px; height:44px; flex:none; display:grid; place-items:center; border-radius:4px; background:linear-gradient(160deg, #6fb8ff, #3d6ff0); box-shadow:inset 0 2px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12); }
.psEmb .ic { width:24px !important; height:24px !important; color:#fff !important; }
.psEmb[data-tipo="destaque"] { background:linear-gradient(160deg, #ffd85a, #f29a12); }
.psEmb[data-tipo="oficial"] { background:linear-gradient(160deg, #b89bff, #6d4cf0); }
.psTitTxt { display:flex; flex-direction:column; min-width:0; line-height:1.15; }
.psTitTxt #psNome { font-size:20px; font-weight:800 !important; }
.psTitTxt .psDono { font:700 12px var(--zFonte, "Nunito", sans-serif); color:#9a92b8; } .psTitTxt .psDono b { color:var(--zTinta, #2a2350); }
#painelSala .psMeta { margin:0; }
#painelSala .psOnline { padding:5px 10px; border-radius:4px; background:#e9fbf3; color:#17a873; font-weight:700; }
#painelSala .psOnline .ic { width:15px; height:15px; color:#17a873; } #painelSala .psOnline b { color:#0f7d55; font-weight:900; } #painelSala .psOnline small { font-weight:700; color:#5fc79c; margin-right:4px; }
/* botão grande de editar (só para quem pode editar) */
#painelSala .psEditar { padding:9px 10px 9px 9px; background:linear-gradient(90deg, #f1ecff, #fff); box-shadow:0 0 0 2px #d9cdff, 0 3px 0 #d9cdff; transition:transform .1s, box-shadow .15s; }
#painelSala .psEditar[hidden] { display:none !important; }
#painelSala .psEditar:hover { transform:translateY(-1px); box-shadow:0 0 0 2px #7a63d6, 0 3px 0 #7a63d6; }
#painelSala .psEditar:active { transform:translateY(2px); box-shadow:0 0 0 2px #7a63d6, 0 1px 0 #7a63d6; }
#painelSala .psEditar .bolha { background:linear-gradient(160deg, #9b84ff, #6a4cf0) !important; }
#painelSala .psEditar b { font-weight:800; }
/* curtir e denunciar em linha */
#painelSala .psCurtir { box-shadow:0 0 0 1px #ffd0e1; }
#painelSala .psDenunciar { box-shadow:0 0 0 1px #eee8f8; }
#painelSala .psDesc { background:#fff; box-shadow:0 0 0 1px #e8e2f6; }

/* rolagem mais leve nas listas das janelas */
#listaQuartos, #painelSala, #perfTodas, .pnLista, #edConteudo { overscroll-behavior:contain; will-change:scroll-position; }
.sLinha { contain:layout paint; }
.sLinha:hover { box-shadow:0 0 0 1px #cfc3f5; }
#painelSala [hidden] { display:none !important; }

/* =====================================================================
   EDITOR DE PERSONAGEM v2: estilo quadrado, abas em grupos, cartões leves
   ===================================================================== */
#editorAvatar { background:rgba(30,20,70,.5) !important; }
#editorAvatar .edJanela { --dest2:#7a5cff; --dest2-claro:#efe9ff; --dest2-forte:#5b3fd6; --tinta:#2a2350; --suave:#8e86ad; --linha:#e8e2f6;
  border-radius:4px !important; background:linear-gradient(180deg, #ffffff, #f4f0ff) !important; box-shadow:0 0 0 1px rgba(90,60,200,.15), 0 30px 70px -20px rgba(30,15,90,.7) !important; font-family:var(--zFonte, "Nunito", sans-serif); }
/* topo */
#editorAvatar .edTopo { padding:12px 14px 10px; }
#editorAvatar .edTopo > .ic { border-radius:4px; background:linear-gradient(160deg, #9b84ff, #6a4cf0); box-shadow:inset 0 2px 0 rgba(255,255,255,.3); }
#editorAvatar .edTopo b { color:var(--tinta); font-weight:900; }
#editorAvatar .edTopo .edFechar { border-radius:4px; background:#efe9ff; color:#5b3fd6; }
#editorAvatar .edTopo .edFechar:hover { background:#ffe3ef; color:#d6307f; }
/* abas em grupos */
#editorAvatar .edMeio { grid-template-columns:150px minmax(240px, 34%) 1fr; gap:10px; }
#editorAvatar #edAbas { gap:2px; padding:2px 4px 8px 0; }
#editorAvatar .edGrupo { padding:9px 8px 3px; font:800 11px var(--zFonte, "Nunito", sans-serif); color:#a9a1c6; }
#editorAvatar .edGrupo:first-child { padding-top:0; }
#editorAvatar #edAbas button { position:relative; flex-direction:row; justify-content:flex-start; gap:9px; padding:7px 8px; border-radius:4px; color:#6d6590; font:700 13px var(--zFonte, "Nunito", sans-serif); text-align:left; }
#editorAvatar #edAbas button span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#editorAvatar #edAbas button .ic { width:18px; height:18px; flex:none; color:#9a8fc4; }
#editorAvatar #edAbas button:hover { background:#f1ecff; color:var(--tinta); }
#editorAvatar #edAbas button.sel { background:#7a5cff; color:#fff; box-shadow:inset 0 -2px 0 rgba(0,0,0,.15); }
#editorAvatar #edAbas button.sel .ic { color:#fff; }
#editorAvatar #edAbas button.usa::after { content:""; position:absolute; right:8px; top:50%; width:7px; height:7px; margin-top:-3.5px; border-radius:2px; background:#2fc08a; box-shadow:0 0 0 2px #fff; }
#editorAvatar #edAbas button.sel.usa::after { box-shadow:0 0 0 2px #7a5cff; background:#7fffc4; }
#editorAvatar #edAbas button[data-aba="efeitos"] .ic { color:#e89a0c; } #editorAvatar #edAbas button[data-aba="efeitos"].sel { background:linear-gradient(90deg, #f5b52a, #e8870c); }
#editorAvatar #edAbas button[data-aba="efeitos"].sel .ic { color:#fff; }
/* palco */
#editorAvatar .edPalco { border-radius:4px; background:radial-gradient(circle at 50% 35%, #ffffff, #ebe5ff 70%); box-shadow:inset 0 0 0 1px var(--linha); }
#editorAvatar .edGirar, #editorAvatar .edPalcoDica { border-radius:4px; }
#editorAvatar .edGirar input { border-radius:3px; } #editorAvatar .edGirar input::after { border-radius:2px; }
/* lado direito */
#editorAvatar .edLado { border-radius:4px; border:0; box-shadow:0 0 0 1px var(--linha); }
#editorAvatar #edTitulo { padding:12px 14px 8px; border-bottom:1px solid var(--linha); margin-bottom:4px; }
#editorAvatar #edTitulo > .ic { width:34px; height:34px; padding:7px; box-sizing:border-box; border-radius:4px; background:#7a5cff; color:#fff; -webkit-mask:none; mask:none; position:relative; }
#editorAvatar #edTitulo > .ic::after { content:""; position:absolute; inset:7px; background:#fff; -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; }
#editorAvatar #edTitulo b { color:var(--tinta); font-size:17px; }
#editorAvatar #edConteudo { padding:0 14px 14px; scrollbar-color:#d9d0f5 transparent; }
#editorAvatar #edConteudo h4 { display:flex; align-items:center; gap:6px; margin:14px 0 8px; font:800 12.5px var(--zFonte, "Nunito", sans-serif); color:var(--tinta); }
#editorAvatar #edConteudo h4::before { content:""; width:4px; height:13px; border-radius:1px; background:#7a5cff; }
#editorAvatar #edConteudo h4:first-child { margin-top:6px; }
/* cartões */
#editorAvatar .edGrade { grid-template-columns:repeat(auto-fill, minmax(92px, 1fr)); gap:8px; }
#editorAvatar .edCard { padding:4px; border:0; border-radius:4px; background:#fff; box-shadow:0 0 0 1px var(--linha), 0 2px 0 #ebe6f8; contain:layout paint; transition:box-shadow .12s; }
#editorAvatar .edCard:hover { box-shadow:0 0 0 2px #c9bcf7, 0 2px 0 #c9bcf7; }
#editorAvatar .edCard:active { transform:scale(.97); }
#editorAvatar .edCard .edMini { border-radius:3px; background:linear-gradient(#f6f3ff, #ece6ff); }
#editorAvatar .edCard .edMini:not(.pronta)::after { border-radius:3px; border-color:#e2dbf7; border-top-color:#7a5cff; }
#editorAvatar .edCard b { padding:5px 2px 2px; font-size:11.5px; font-weight:800; color:#4a4270; text-align:center; }
#editorAvatar .edCard.sel { background:#f3efff; box-shadow:0 0 0 2.5px #7a5cff, 0 2px 0 #7a5cff; }
#editorAvatar .edCard.sel b { color:#5b3fd6; }
#editorAvatar .edCard em { top:3px; right:3px; width:20px; height:20px; border-radius:3px; border:0; background:#7a5cff; box-shadow:0 0 0 2px #fff; }
#editorAvatar .edCard em .ic { width:12px; height:12px; }
/* cores */
#editorAvatar .edCores { gap:6px; }
#editorAvatar .edCores button { width:30px; height:30px; border-radius:4px; border:2px solid #fff; box-shadow:0 0 0 1px #ddd5f2; transition:transform .1s; }
#editorAvatar .edCores button:hover { transform:translateY(-2px); }
#editorAvatar .edCores button.sel { box-shadow:0 0 0 2.5px #7a5cff; transform:scale(1.08); }
#editorAvatar .edCores button.orig { background:#f3efff; color:#7a63d6; }
/* zerar e rodapé */
#editorAvatar .edZerar { border-radius:4px; border:2px dashed #d3c8f5; background:#faf8ff; color:#6d6590; }
#editorAvatar .edZerar:hover { border-color:#7a5cff; color:#5b3fd6; }
#editorAvatar .edRodape { padding:10px 14px 12px; }
#editorAvatar .edRodape button { border-radius:4px; background:#efe9ff; color:#5b3fd6; font-weight:800; }
#editorAvatar .edRodape button.principal { color:#fff; background:linear-gradient(180deg, #3ddc97, #17a873); box-shadow:inset 0 2px 0 rgba(255,255,255,.3), 0 3px 0 #0f7d55; }
#editorAvatar .edRodape button.principal:active { box-shadow:inset 0 2px 0 rgba(255,255,255,.3), 0 1px 0 #0f7d55; }
#editorAvatar .edAura { padding:8px 4px !important; }
@media (max-width:900px), (max-height:520px) {
  #editorAvatar .edMeio { grid-template-columns:62px minmax(140px, 30%) 1fr; gap:6px; }
  #editorAvatar .edGrupo { display:none; }
  #editorAvatar #edAbas button { flex-direction:column; justify-content:center; gap:2px; padding:6px 2px; font-size:9.5px; text-align:center; }
  #editorAvatar #edAbas button span { max-width:100%; }
  #editorAvatar #edAbas button.usa::after { right:4px; top:8px; margin:0; }
  #editorAvatar .edGrade { grid-template-columns:repeat(auto-fill, minmax(72px, 1fr)); gap:6px; }
  #editorAvatar #edTitulo { padding:7px 10px 5px; } #editorAvatar #edTitulo > .ic { width:28px; height:28px; padding:5px; }
}

/* =====================================================================
   MOCHILA v2: busca, categorias com contagem, ordem e páginas
   ===================================================================== */
#painelInventario.zPainel { width:min(460px, calc(100vw - 28px)) !important; border-radius:4px !important; }
#painelInventario .pX { border-radius:4px !important; }
#painelInventario .invConta { border-radius:3px; }
.invBarra { display:flex; gap:6px; flex:none; } .invBarra .sBusca { flex:1; }
.invOrdem { flex:none; min-width:58px; height:38px; padding:0 10px; border:0; border-radius:4px; cursor:pointer; background:#efe9ff; color:#5b3fd6; font:800 12.5px var(--zFonte, "Nunito", sans-serif); }
.invOrdem::before { content:"⇅ "; } .invOrdem:hover { background:#e2d8ff; }
.invAbas { display:flex; gap:5px; overflow-x:auto; flex:none; padding:2px 1px 6px; scrollbar-width:thin; scrollbar-color:#d9d0f5 transparent; overscroll-behavior:contain; }
.invAbas button { flex:none; display:flex; align-items:center; gap:5px; height:32px; padding:0 8px; border:0; border-radius:4px; cursor:pointer; background:#fff; color:#6d6590; box-shadow:0 0 0 1px #e8e2f6; font:700 12.5px var(--zFonte, "Nunito", sans-serif); }
.invAbas button .ic { width:15px; height:15px; color:#9a8fc4; }
.invAbas button em { font-style:normal; font-size:10.5px; font-weight:900; padding:1px 5px; border-radius:2px; background:#f1ecff; color:#7a63d6; }
.invAbas button:hover { box-shadow:0 0 0 1px #c9bcf7; color:var(--zTinta, #2a2350); }
.invAbas button.on { background:#7a5cff; color:#fff; box-shadow:inset 0 -2px 0 rgba(0,0,0,.15); } .invAbas button.on .ic { color:#fff; } .invAbas button.on em { background:rgba(255,255,255,.25); color:#fff; }
#painelInventario #invGrade { grid-template-columns:repeat(4, 1fr) !important; gap:7px !important; padding:2px !important; min-height:0; align-content:start; contain:layout paint; }
#painelInventario .invItem { padding:5px 4px 6px !important; border-radius:4px !important; box-shadow:0 0 0 1px #e8e2f6, 0 2px 0 #ebe6f8 !important; transition:box-shadow .12s !important; }
#painelInventario .invItem:hover { transform:none !important; box-shadow:0 0 0 2px #7a5cff, 0 2px 0 #7a5cff !important; }
#painelInventario .invItem:active { transform:scale(.97) !important; }
#painelInventario .invItem .catFoto { border-radius:3px !important; background:linear-gradient(#f6f3ff, #ece6ff) !important; }
#painelInventario .invItem b { font-size:11.5px !important; font-weight:800 !important; color:#4a4270; }
#painelInventario .invItem .ciTem { position:absolute; top:4px; right:4px; left:auto; padding:2px 5px; border-radius:3px; background:#2a2350; color:#ffd34d; font:900 11px/1 "Nunito",sans-serif; font-style:normal; box-shadow:0 0 0 2px #fff; }
#painelInventario .invItem .invPet { position:absolute; top:4px; left:4px; width:18px; height:18px; display:grid; place-items:center; border-radius:3px; background:#2fc08a; box-shadow:0 0 0 2px #fff; }
#painelInventario .invItem .invPet .ic { width:11px; height:11px; color:#fff; }
.invPaginas { display:flex; align-items:center; justify-content:center; gap:4px; flex:none; padding-top:2px; }
.invPaginas[hidden] { display:none !important; }
.invPaginas button { min-width:32px; height:32px; padding:0 6px; display:grid; place-items:center; border:0; border-radius:4px; cursor:pointer; background:#fff; color:#5b3fd6; box-shadow:0 0 0 1px #e2dbf7; font:900 13px "Nunito",sans-serif; }
.invPaginas button .ic { width:16px; height:16px; color:currentColor; }
.invPaginas button:hover:not(:disabled) { box-shadow:0 0 0 2px #7a5cff; }
.invPaginas button.on { background:#7a5cff; color:#fff; box-shadow:inset 0 -2px 0 rgba(0,0,0,.15); }
.invPaginas button:disabled { opacity:.35; cursor:default; }
.invPaginas span { color:#a9a1c6; font-weight:900; padding:0 2px; }
.invPaginas small { margin-left:8px; font-size:11.5px; font-weight:700; color:#9a92b8; }
@media (max-width:640px) { #painelInventario #invGrade { grid-template-columns:repeat(4, 1fr) !important; } .invPaginas small { display:none; } }

/* =====================================================================
   CELULAR v2: reto (sem inclinar, sem mãos) e apps funcionando
   ===================================================================== */
/* reto, com a mão segurando (a mão sai pela parte de baixo da tela) */
#celular .celSegura { --P:min(270px, 40vh); right:max(60px, 7vw); bottom:calc(var(--P) * 0.3); transform:translateY(125%); transition:transform .45s cubic-bezier(.2,1.1,.3,1); }
#celular.aberto .celSegura { transform:none; }
#celular.fechando .celSegura { transform:translateY(125%); transition:transform .3s ease-in; }
#celular.fotografando .celSegura { opacity:0; transition:none; }
#celular.flash::after { content:""; position:fixed; inset:0; background:#fff; pointer-events:none; animation:celFlash .4s ease-out forwards; }
@keyframes celFlash { from { opacity:.85; } to { opacity:0; } }
@media (max-height:620px) { #celular .celSegura { --P:min(240px, 40vh); bottom:calc(var(--P) * 0.22); } }
/* banco */
.celCartao > span { display:flex; align-items:center; gap:.3em; font-weight:800; }
.celZemita { width:1.1em; height:1.1em; display:inline-block; background:linear-gradient(160deg, #7ff0ff, #c46bff); -webkit-mask:url(icones-ui/diamond-cheio.svg) center/contain no-repeat; mask:url(icones-ui/diamond-cheio.svg) center/contain no-repeat; }
.celBotoesBanco button.on { background:#2a2350 !important; color:#fff !important; } .celBotoesBanco button.on .ic { color:#fff !important; }
.celBotoesBanco button:not(:disabled) { cursor:pointer; }
.celBancoCorpo { margin-top:.6em; }
.celMov { display:flex; align-items:center; gap:.55em; padding:.5em .6em; border-radius:.8em; background:#fff; }
.celMovIc { width:2em; height:2em; flex:none; display:grid; place-items:center; border-radius:.6em; background:#e6fbf2; } .celMovIc .ic { width:1.1em; height:1.1em; color:#17a873; }
.celMov.sai .celMovIc { background:#fff0f0; } .celMov.sai .celMovIc .ic { color:#e0475f; }
.celMovTxt { flex:1; min-width:0; display:flex; flex-direction:column; } .celMovTxt b { font-size:.9em; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .celMovTxt small { font-size:.75em; color:#8a95a3; font-weight:700; }
.celMov em { font-style:normal; font-weight:900; color:#17a873; } .celMov.sai em { color:#e0475f; }
.celAmigosTr { display:flex; flex-wrap:wrap; gap:.35em; padding:0 .2em; }
.celAmigosTr button { display:flex; align-items:center; gap:.35em; padding:.4em .7em; border:0; border-radius:.7em; background:#fff; color:#2d4a63; font:800 .85em "Nunito","Segoe UI",sans-serif; cursor:pointer; box-shadow:0 0 0 1px #dbe6f0; }
.celAmigosTr button i { width:.55em; height:.55em; border-radius:50%; background:#c4ccd6; } .celAmigosTr button i.on { background:#2fc08a; }
.celAmigosTr button.on { background:#2a2350; color:#fff; box-shadow:none; }
.celValor { display:flex; align-items:center; gap:.4em; margin:0 .2em; padding:.3em .6em; border-radius:.8em; background:#fff; box-shadow:0 0 0 1px #dbe6f0; }
.celValor img { width:1.5em; height:1.5em; } .celValor input { flex:1; min-width:0; border:0; outline:0; background:none; font:900 1.3em "Nunito","Segoe UI",sans-serif; color:#2d4a63; }
.celRapidos { display:grid; grid-template-columns:repeat(4, 1fr); gap:.35em; margin:.5em .2em 0; }
.celRapidos button { padding:.45em 0; border:0; border-radius:.6em; background:#fff3cf; color:#a35c00; font:900 .85em "Nunito","Segoe UI",sans-serif; cursor:pointer; }
.celMandar { margin:.8em .2em .3em; padding:.75em; border:0; border-radius:.8em; background:linear-gradient(180deg, #3ddc97, #17a873); color:#fff; font:900 .95em "Nunito","Segoe UI",sans-serif; cursor:pointer; box-shadow:0 .2em 0 #0f7d55; }
.celMandar:disabled { background:#cfd6de; box-shadow:none; cursor:default; }
.celMandar.confirma { background:linear-gradient(180deg, #ffb35c, #ef6f3c); box-shadow:0 .2em 0 #b84a1d; }
.celNota { padding:0 .4em; font-size:.72em; font-weight:700; color:#8a95a3; text-align:center; }
/* câmera */
.celVisor { position:relative; margin:.6em .7em .3em; aspect-ratio:16/10; border-radius:.9em; overflow:hidden; background:#1d2230; display:grid; place-items:center; }
.celVisor img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.celVisorVazio { display:flex; flex-direction:column; align-items:center; gap:.3em; padding:1em; text-align:center; color:#c9d3e0; } .celVisorVazio .ic { width:2.2em; height:2.2em; color:#fff; } .celVisorVazio b { color:#fff; } .celVisorVazio span { font-size:.78em; font-weight:700; }
.celVisorVazio[hidden] { display:none; }
.celCamAcoes { display:flex; gap:.4em; margin:0 .7em; } .celCamAcoes[hidden] { display:none; }
.celCamAcoes button { flex:1; display:flex; align-items:center; justify-content:center; gap:.35em; padding:.5em; border:0; border-radius:.7em; background:#fff; color:#2d4a63; font:800 .85em "Nunito","Segoe UI",sans-serif; cursor:pointer; }
.celCamAcoes button .ic { width:1.1em; height:1.1em; } .celCamAcoes button:first-child { background:#ff6ea6; color:#fff; } .celCamAcoes button:first-child .ic { color:#fff; }
.celObturador { display:flex; justify-content:center; padding:.7em 0 .4em; }
.celObturador button { width:3.6em; height:3.6em; border-radius:50%; border:.3em solid #fff; background:#ff5f7a; box-shadow:0 0 0 .15em #ff5f7a, 0 .3em .8em rgba(0,0,0,.25); cursor:pointer; transition:transform .1s; }
.celObturador button:active { transform:scale(.88); }
.celGaleria { display:grid; grid-template-columns:repeat(4, 1fr); gap:.3em; padding:0 .7em .5em; overflow-y:auto; }
.celGaleria button { padding:0; border:0; border-radius:.4em; overflow:hidden; aspect-ratio:1; cursor:pointer; box-shadow:0 0 0 1px #dbe6f0; } .celGaleria button.on { box-shadow:0 0 0 .18em #ff5f7a; }
.celGaleria img { width:100%; height:100%; object-fit:cover; display:block; }
/* rede social */
.celPostar { align-items:flex-start !important; }
.celPostarCx { flex:1; min-width:0; display:flex; flex-direction:column; gap:.3em; padding:.4em; border-radius:.9em; background:#fff; box-shadow:0 0 0 1px #f5d3e2; }
.celPostarCx textarea { width:100%; box-sizing:border-box; resize:none; border:0; outline:0; background:none; font:700 .88em "Nunito","Segoe UI",sans-serif; color:#2d4a63; }
.celPostarBts { display:flex; align-items:center; gap:.3em; }
.celPostarBts button { border:0; cursor:pointer; }
#celAbrirCam { width:2em; height:2em; display:grid; place-items:center; border-radius:.6em; background:#f1f5f9; } #celAbrirCam .ic { width:1.1em; height:1.1em; color:#2d4a63; }
.celAnexo { position:relative; width:2.4em; height:2em; padding:0; border-radius:.5em; overflow:hidden; } .celAnexo[hidden] { display:none; }
.celAnexo img { width:100%; height:100%; object-fit:cover; } .celAnexo .ic { position:absolute; top:.1em; right:.1em; width:.8em; height:.8em; color:#fff; background:#0008; border-radius:50%; }
.celPostarBt { margin-left:auto; padding:.45em 1em; border-radius:.7em; background:linear-gradient(180deg, #ff8fbf, #ec5c9e); color:#fff; font:900 .85em "Nunito","Segoe UI",sans-serif; }
.celPostarBt:disabled { opacity:.6; }
.celAbas button { cursor:pointer; }
.celFeed { margin-top:.5em; }
.celPost { display:flex; flex-direction:column; gap:.35em; padding:.6em; border-radius:.9em; background:#fff; }
.celPostTopo { display:flex; align-items:center; gap:.4em; } .celPostTopo b { font-size:.9em; font-weight:900; } .celPostTopo small { font-size:.72em; font-weight:700; color:#8a95a3; }
.celInicial { width:1.9em; height:1.9em; display:grid; place-items:center; border-radius:.55em; background:hsl(var(--h) 70% 60%); color:#fff; font-weight:900; }
.celApagar { margin-left:auto; width:1.8em; height:1.8em; display:grid; place-items:center; border:0; border-radius:.5em; background:none; cursor:pointer; } .celApagar .ic { width:1em; height:1em; color:#a5b0bd; }
.celApagar.confirma { background:#ffe3e3; } .celApagar.confirma .ic { color:#e0475f; }
.celPost p { margin:0; font-size:.9em; font-weight:700; line-height:1.35; color:#2d4a63; white-space:pre-wrap; word-break:break-word; }
.celPost > img { width:100%; border-radius:.6em; display:block; cursor:zoom-in; }
.celCurtir { align-self:flex-start; display:flex; align-items:center; gap:.3em; padding:.3em .7em; border:0; border-radius:.6em; background:#fff0f6; color:#c2336b; font:900 .8em "Nunito","Segoe UI",sans-serif; cursor:pointer; }
.celCurtir .ic { width:1.05em; height:1.05em; color:#ff8fbf; } .celCurtir.on { background:#ff6ea6; color:#fff; } .celCurtir.on .ic { color:#fff; }
/* conquistas */
.celConta { margin-left:auto; font-weight:900; font-size:.8em; padding:.2em .5em; border-radius:.5em; background:#7a63d6; color:#fff; }
.celConquistas { padding-top:.5em; font-size:.82em; } .celConquistas .perfInsLinha .perfIns { width:3em; }
.celConquistas .perfInsTxt small + small { margin-top:.1em; }
/* ajustes */
.celAjusteCol { flex-wrap:wrap; } .celAjusteCol > span { flex-basis:100%; }
.celSeg { display:grid; grid-template-columns:repeat(3, 1fr); gap:.3em; width:100%; margin-top:.4em; }
.celSeg button { padding:.45em 0; border:0; border-radius:.6em; background:#f1f5f9; color:#2d4a63; font:800 .85em "Nunito","Segoe UI",sans-serif; cursor:pointer; }
.celSeg button.on { background:#2a2350; color:#fff; }
/* ajustes v107b */
#painelInventario #invGrade { grid-template-columns:repeat(4, minmax(0, 1fr)) !important; overflow-x:hidden !important; }
#painelInventario .invItem { min-width:0; }
#painelInventario .invItem .catFoto { aspect-ratio:4 / 3 !important; }
.sBusca input { flex:1; min-width:0; border:0 !important; background:none !important; padding:0 !important; outline:0; box-shadow:none !important; font:600 14px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350) !important; }
.celPostar .celPostarBts button { flex:none; padding:0; }
.celPostar .celPostarBts .celPostarBt { margin-left:auto; padding:.45em 1em; border-radius:.7em; background:linear-gradient(180deg, #ff8fbf, #ec5c9e) !important; color:#fff !important; font:900 .85em "Nunito","Segoe UI",sans-serif; }

/* =====================================================================
   SALAS v3: dono embaixo do nome, banners nas abas Jogos e Oficiais
   ===================================================================== */
.sTxt > small .sOficial { font-style:normal; padding:1px 5px; border-radius:2px; background:#efe9ff; color:#6d4cf0; font-weight:800; }
.sTxt > small .sDono { overflow:hidden; text-overflow:ellipsis; }
.sDicaVazias { display:flex; align-items:center; justify-content:center; gap:6px; padding:10px 6px 4px; font-size:11.5px; font-weight:700; color:#a9a1c6; text-align:center; }
.sDicaVazias .ic { width:14px; height:14px; color:#c3bcdc; flex:none; }
#listaQuartos.banners { gap:8px !important; }
.sBanner { position:relative; flex:none; height:128px; display:flex; flex-direction:column; justify-content:space-between; padding:9px; border-radius:4px; overflow:hidden; isolation:isolate; contain:layout paint;
  background:var(--img) center 45% / cover no-repeat, linear-gradient(135deg, #8b6cff, #4a2fd0); box-shadow:0 0 0 1px rgba(90,60,200,.18), 0 6px 14px -8px rgba(40,20,100,.6); }
.sBanner::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(20,10,50,0) 30%, rgba(20,10,50,.82) 100%); }
.sBanner.jogo { background:var(--img) center 45% / cover no-repeat, linear-gradient(135deg, #3ddc97, #127e58); }
.sBanner.vip { background:var(--img) center 45% / cover no-repeat, linear-gradient(135deg, #3a2a63, #1f1438); box-shadow:0 0 0 2px #ffc93c, 0 6px 14px -8px rgba(40,20,100,.6); }
.sBanner.aqui { box-shadow:0 0 0 3px #2fc08a, 0 6px 14px -8px rgba(40,20,100,.6); }
.sBanner:hover { box-shadow:0 0 0 2px #7a5cff, 0 8px 18px -8px rgba(40,20,100,.7); }
.sbEtiqueta { align-self:flex-start; display:flex; align-items:center; gap:5px; padding:4px 8px; border-radius:3px; background:rgba(255,255,255,.92); color:#4a2fd0; font:800 11px var(--zFonte, "Nunito", sans-serif); box-shadow:0 2px 6px rgba(0,0,0,.2); }
.sbEtiqueta .ic { width:13px; height:13px; color:currentColor; }
.sBanner.jogo .sbEtiqueta { color:#0f7d55; } .sBanner.vip .sbEtiqueta { background:#2a2350; color:#ffc93c; }
.sbBaixo { display:flex; align-items:flex-end; gap:8px; }
.sbTxt { flex:1; min-width:0; display:flex; flex-direction:column; }
.sbTxt b { font:900 19px/1.1 var(--zFonte, "Nunito", sans-serif); color:#fff; text-shadow:0 2px 6px rgba(0,0,0,.5); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sbTxt small { font-size:11.5px; font-weight:700; color:rgba(255,255,255,.85); text-shadow:0 1px 3px rgba(0,0,0,.5); }
.sbGente { flex:none; display:flex; align-items:center; gap:5px; padding:5px 8px; border-radius:3px; background:rgba(20,10,50,.6); color:#d6d0ee; font:800 12px "Nunito",sans-serif; }
.sbGente i { width:7px; height:7px; border-radius:50%; background:#8e86ad; }
.sbGente.tem { color:#fff; } .sbGente.tem i { background:#3ddc97; box-shadow:0 0 0 3px rgba(61,220,151,.3); animation:sbPulsa 1.6s ease-in-out infinite; }
@keyframes sbPulsa { 50% { box-shadow:0 0 0 5px rgba(61,220,151,0); } }
.sBanner .sIr { width:64px !important; height:34px !important; }
.sBanner .sAqui { color:#7fffc4; text-shadow:0 1px 3px rgba(0,0,0,.6); }

/* banners mais baixos */
.sBanner { height:96px !important; padding:7px 8px !important; }
.sBanner { background-position:center 42%, 0 0 !important; }
.sbEtiqueta { padding:3px 7px !important; font-size:10.5px !important; }
.sbTxt b { font-size:16.5px !important; }
.sbTxt small { font-size:11px !important; }
.sbGente { padding:4px 7px !important; font-size:11.5px !important; }
.sBanner .sIr { height:30px !important; }

/* =====================================================================
   LOJA v2: lista única do lado (sem abas em cima), cartões com nome, estilo quadrado
   ===================================================================== */
#painelCatalogo.zCat { border-radius:4px !important; width:min(820px, calc(100vw - 28px)); height:min(620px, calc(100vh - 120px)); }
#painelCatalogo .zjTopo { gap:8px; padding:12px 12px 10px 14px; border-bottom:1px solid #e8e2f6; }
#painelCatalogo .zjTitulo { flex:none; }
#painelCatalogo .catBuscaTopo { flex:1; max-width:340px; height:36px; margin-left:8px; cursor:text; }
#painelCatalogo .zjMoedas { border-radius:4px !important; padding:3px 10px 3px 4px; font-size:14.5px; }
#painelCatalogo .zjMoedas img { width:22px; height:22px; }
#painelCatalogo .zjZemitas { color:#7ff0ff; } #painelCatalogo .zjZemitas .hubGemaIco { width:20px; height:20px; margin-left:2px; }
#painelCatalogo .zjFechar { border-radius:4px !important; }
#painelCatalogo .catCorpo { grid-template-columns:196px 1fr; gap:12px; padding:10px 12px 0; }
/* lista do lado */
#painelCatalogo #abasCat { gap:2px !important; padding:0 6px 12px 0 !important; }
#painelCatalogo .catGrupoTit { display:flex; align-items:center; justify-content:space-between; gap:6px; padding:10px 6px 3px; font:800 11px var(--zFonte, "Nunito", sans-serif); color:#a9a1c6; }
#painelCatalogo .catVerGrupo { border:0; background:none; cursor:pointer; padding:2px 5px; border-radius:3px; font:800 10.5px var(--zFonte, "Nunito", sans-serif); color:#7a63d6; }
#painelCatalogo .catVerGrupo:hover { background:#f1ecff; } #painelCatalogo .catVerGrupo.on { background:#7a5cff; color:#fff; }
#painelCatalogo #abasCat .catArea { border-radius:4px !important; padding:5px 7px 5px 5px !important; font:700 13px var(--zFonte, "Nunito", sans-serif) !important; color:#4a4270; }
#painelCatalogo #abasCat .catArea:hover { transform:none !important; }
#painelCatalogo #abasCat .catArea .bolha { width:26px !important; height:26px !important; border-radius:4px !important; }
#painelCatalogo #abasCat .catArea .bolha .ic { width:15px !important; height:15px !important; }
#painelCatalogo #abasCat .catArea em { font-style:normal; font-size:10.5px; font-weight:900; padding:1px 6px; border-radius:2px; background:#f1ecff; color:#7a63d6; }
#painelCatalogo #abasCat .catArea.on { background:#7a5cff !important; color:#fff !important; box-shadow:inset 0 -2px 0 rgba(0,0,0,.15) !important; }
#painelCatalogo #abasCat .catArea.on em { background:rgba(255,255,255,.25); color:#fff; }
/* linha do título da lista */
.catLinhaTopo { display:flex; align-items:center; gap:8px; flex:none; }
.catIcoTopo { width:30px; height:30px; flex:none; display:grid; place-items:center; border-radius:4px !important; }
.catIcoTopo .ic { width:17px; height:17px; color:#fff; }
.catLinhaTopo b { font:900 17px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); }
.catLinhaTopo small { font-size:12px; font-weight:700; color:#9a92b8; }
.catOrdem { margin-left:auto; height:30px; padding:0 10px; border:0; border-radius:4px; cursor:pointer; background:#efe9ff; color:#5b3fd6; font:800 12px var(--zFonte, "Nunito", sans-serif); }
.catOrdem::before { content:"⇅ "; } .catOrdem:hover { background:#e2d8ff; }
/* vitrine 3D e cartões */
#painelCatalogo .catPalco { border-radius:4px !important; }
#painelCatalogo #gradeCat { grid-template-columns:repeat(auto-fill, minmax(100px, 1fr)) !important; gap:8px !important; contain:layout paint; }
#painelCatalogo #gradeCat .catItem { padding:5px 5px 7px !important; border-radius:4px !important; gap:3px !important; box-shadow:0 0 0 1px #e8e2f6, 0 2px 0 #ebe6f8 !important; transition:box-shadow .12s !important; }
#painelCatalogo #gradeCat .catItem:hover { transform:none !important; box-shadow:0 0 0 2px #c9bcf7, 0 2px 0 #c9bcf7 !important; }
#painelCatalogo #gradeCat .catItem.on { transform:none !important; box-shadow:0 0 0 2.5px #7a5cff, 0 2px 0 #7a5cff !important; background:#f6f3ff; }
#painelCatalogo #gradeCat .ciFoto { width:100%; aspect-ratio:4 / 3; display:grid; place-items:center; border-radius:3px; background:linear-gradient(#f8f6ff, #ece6ff); }
#painelCatalogo #gradeCat .ciFoto img { width:72%; height:86%; object-fit:contain; transition:transform .2s; }
#painelCatalogo #gradeCat .catItem:hover .ciFoto img { transform:scale(1.08); }
#painelCatalogo #gradeCat .ciNome { width:100%; font-size:11.5px; font-weight:800; color:#4a4270; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#painelCatalogo #gradeCat .catItem em { padding:2px 7px; border-radius:3px; background:#fff4cf; color:#a35c00 !important; font-weight:900 !important; }
#painelCatalogo #gradeCat .ciTem { position:absolute; top:7px; left:7px; right:auto; padding:2px 5px; border-radius:3px; background:#2fc08a; color:#fff; font:900 10.5px/1 "Nunito",sans-serif; font-style:normal; box-shadow:0 0 0 2px #fff; }
#painelCatalogo #gradeCat .catItem.vip { background:linear-gradient(#fffaf0, #fff); box-shadow:0 0 0 1px #ffd76b, 0 2px 0 #ffe9a6 !important; }
#painelCatalogo #gradeCat .ciVip { position:absolute; top:7px; right:7px; width:20px; height:20px; border-radius:3px; background:#2a2350; box-shadow:0 0 0 2px #fff; }
#painelCatalogo #gradeCat .ciVip::after { content:""; position:absolute; inset:4px; background:#ffc93c; -webkit-mask:url(icones-ui/crown.svg) center/contain no-repeat; mask:url(icones-ui/crown.svg) center/contain no-repeat; }
#painelCatalogo .catRodape { border-top:1px solid #e8e2f6; }
#painelCatalogo #catComprar { border-radius:4px !important; }
@media (max-width:900px), (max-height:520px) {
  #painelCatalogo .catCorpo { grid-template-columns:140px 1fr; }
  #painelCatalogo .catBuscaTopo { height:30px; } #painelCatalogo .zjZemitas { display:none; }
  #painelCatalogo #gradeCat { grid-template-columns:repeat(auto-fill, minmax(78px, 1fr)) !important; }
  .catLinhaTopo b { font-size:14px; } .catIcoTopo { width:24px; height:24px; }
}
#painelCatalogo #catGrupos[hidden], #painelCatalogo .catBanner[hidden] { display:none !important; }
#painelCatalogo #abasCat .catVerGrupo { width:auto !important; height:auto !important; min-width:0 !important; padding:2px 6px !important; border:0 !important; border-radius:3px !important; box-shadow:none !important; background:transparent !important; color:#7a63d6 !important; font:800 10.5px var(--zFonte, "Nunito", sans-serif) !important; }
#painelCatalogo #abasCat .catVerGrupo:hover { background:#f1ecff !important; }
#painelCatalogo #abasCat .catVerGrupo.on { background:#7a5cff !important; color:#fff !important; }
#painelCatalogo .zjZemitas .hubGemaIco { display:inline-block; width:20px; height:20px; flex:none; background:linear-gradient(160deg, #7ff0ff, #3d8bff 55%, #c46bff); -webkit-mask:url(icones-ui/diamond-cheio.svg) center/88% no-repeat; mask:url(icones-ui/diamond-cheio.svg) center/88% no-repeat; }

/* =====================================================================
   LOJA v3: topo arrumado, altura da tela, página inicial, ícones 3D
   ===================================================================== */
/* altura máxima da tela (a largura continua a mesma) */
#painelCatalogo.zCat { height:calc(100vh - 16px) !important; max-height:none !important; }
/* topo: luzinhas de natal acima de tudo, o X no fim da direita */
#painelCatalogo .zjTopo { padding-top:12px; }

#painelCatalogo .catBuscaTopo { flex:1; max-width:none; }
#painelCatalogo .zjFechar { margin-left:4px; flex:none; }
#painelCatalogo .zjTopo > * { position:relative; z-index:1; }
#painelCatalogo .zjTopo::before, #painelCatalogo .zjTopo::after { z-index:0; }
/* comprar só aparece com item escolhido */
#painelCatalogo #catComprar[hidden] { display:none !important; }
/* ícone 3D de cada categoria */
.catIco3d { width:30px; height:30px; flex:none; display:grid; place-items:center; border-radius:4px; background:#f1ecff; overflow:hidden; }
.catIco3d img { width:118%; height:118%; object-fit:contain; filter:drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
.catIco3d .ic { width:16px; height:16px; color:#fff; }
.catIco3d.roxo { background:linear-gradient(160deg, #b89bff, #6d4cf0); }
.catIco3d.ouro { background:linear-gradient(160deg, #fff1b8, #ffd25a); } .catIco3d.verde, .catIco3d.menta { background:linear-gradient(160deg, #d8fbe9, #a8efcb); }
.catIco3d.azul { background:linear-gradient(160deg, #dcefff, #a9d4ff); } .catIco3d.rosa { background:linear-gradient(160deg, #ffe3f1, #ffbcdc); }
.catIco3d.coral { background:linear-gradient(160deg, #ffe4da, #ffc0a8); }
#painelCatalogo #abasCat .catArea.on .catIco3d { box-shadow:0 0 0 2px #fff; }
#painelCatalogo .catLinhaTopo[hidden], #painelCatalogo #gradeCat[hidden], #painelCatalogo #catInicio[hidden] { display:none !important; }
/* página inicial */
.catInicio { flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:12px; padding:2px 4px 14px 2px; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#d9d0f5 transparent; }
.ciHeroi { position:relative; flex:none; height:168px; border-radius:4px; overflow:hidden; background:var(--img) right center / cover no-repeat, linear-gradient(120deg, #a07bff, #ff6ea6); box-shadow:0 0 0 1px rgba(90,60,200,.2), 0 10px 22px -12px rgba(90,60,200,.6); }
.ciHeroi::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(42,26,110,.88) 0%, rgba(42,26,110,.55) 38%, rgba(42,26,110,0) 62%); }
.ciHeroiTxt { position:relative; height:100%; max-width:56%; display:flex; flex-direction:column; justify-content:center; gap:4px; padding:0 18px; color:#fff; }
.ciHeroiTxt small { align-self:flex-start; padding:2px 7px; border-radius:3px; background:#ffd34d; color:#5a3200; font:900 11px var(--zFonte, "Nunito", sans-serif); }
.ciHeroiTxt b { font:900 23px/1.1 var(--zFonte, "Nunito", sans-serif); text-shadow:0 2px 6px rgba(0,0,0,.35); }
.ciHeroiTxt span { font-size:12.5px; font-weight:700; opacity:.92; }
.ciHeroiTxt button { align-self:flex-start; margin-top:6px; height:32px; padding:0 14px; border:0; border-radius:4px; cursor:pointer; color:#fff; font:900 13px var(--zFonte, "Nunito", sans-serif); background:linear-gradient(180deg, #3ddc97, #17a873); box-shadow:inset 0 2px 0 rgba(255,255,255,.3), 0 3px 0 #0f7d55; }
.ciPassos { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; flex:none; }
.ciPassos > div { display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; column-gap:8px; padding:9px 10px; border-radius:4px; background:#fff; box-shadow:0 0 0 1px #e8e2f6; }
.ciPassos span { grid-row:1 / 3; width:26px; height:26px; display:grid; place-items:center; border-radius:4px; background:#7a5cff; color:#fff; font:900 14px "Nunito",sans-serif; }
.ciPassos b { font:900 13.5px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); }
.ciPassos small { font-size:11px; font-weight:700; line-height:1.3; color:#8e86ad; }
.ciTit { display:flex; align-items:baseline; gap:8px; margin:4px 0 -2px; font:900 15px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); }
.ciTit small { font-size:11.5px; font-weight:700; color:#a9a1c6; }
.ciCats { display:grid; grid-template-columns:repeat(auto-fill, minmax(92px, 1fr)); gap:8px; flex:none; }
.ciCats button { position:relative; height:84px; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:2px; padding:6px 4px 7px; border:0; border-radius:4px; cursor:pointer; overflow:hidden; background:#f1ecff; box-shadow:0 0 0 1px rgba(90,60,200,.12), 0 2px 0 rgba(90,60,200,.12); transition:box-shadow .12s; }
.ciCats button.ouro { background:linear-gradient(160deg, #fff6d0, #ffe08a); } .ciCats button.verde, .ciCats button.menta { background:linear-gradient(160deg, #e3fcf0, #b6f2d4); }
.ciCats button.azul { background:linear-gradient(160deg, #e6f3ff, #b9dcff); } .ciCats button.rosa { background:linear-gradient(160deg, #fff0f7, #ffcce4); }
.ciCats button.roxo { background:linear-gradient(160deg, #f1ebff, #d9caff); } .ciCats button.coral { background:linear-gradient(160deg, #fff0ea, #ffd0bd); }
.ciCats button:hover { box-shadow:0 0 0 2px #7a5cff, 0 2px 0 #7a5cff; }
.ciCats img { flex:1; min-height:0; width:86%; object-fit:contain; filter:drop-shadow(0 3px 3px rgba(0,0,0,.18)); transition:transform .2s; }
.ciCats button:hover img { transform:scale(1.08) rotate(-3deg); }
.ciCats b { font:900 12px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); }
.ciFila { display:grid; grid-template-columns:repeat(auto-fill, minmax(100px, 1fr)); gap:8px; flex:none; }
#painelCatalogo .ciFila .catItem { position:relative; display:flex; flex-direction:column; align-items:center; gap:3px; padding:5px 5px 7px; border:0; border-radius:4px; cursor:pointer; background:#fff; box-shadow:0 0 0 1px #e8e2f6, 0 2px 0 #ebe6f8; }
#painelCatalogo .ciFila .catItem:hover { box-shadow:0 0 0 2px #c9bcf7, 0 2px 0 #c9bcf7; }
#painelCatalogo .ciFila .ciFoto { width:100%; aspect-ratio:4 / 3; display:grid; place-items:center; border-radius:3px; background:linear-gradient(#f8f6ff, #ece6ff); }
#painelCatalogo .ciFila .ciFoto img { width:72%; height:86%; object-fit:contain; }
#painelCatalogo .ciFila .ciNome { width:100%; font-size:11.5px; font-weight:800; color:#4a4270; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#painelCatalogo .ciFila .catItem em { display:flex; align-items:center; gap:3px; padding:2px 7px; border-radius:3px; background:#fff4cf; color:#a35c00; font-style:normal; font-size:12px; font-weight:900; }
#painelCatalogo .ciFila .catItem em img { width:14px; height:14px; }
#painelCatalogo .ciFila .catItem.vip { box-shadow:0 0 0 1px #ffd76b, 0 2px 0 #ffe9a6; }
#painelCatalogo .ciFila .ciVip { position:absolute; top:7px; right:7px; width:20px; height:20px; border-radius:3px; background:#2a2350; box-shadow:0 0 0 2px #fff; }
#painelCatalogo .ciFila .ciVip::after { content:""; position:absolute; inset:4px; background:#ffc93c; -webkit-mask:url(icones-ui/crown.svg) center/contain no-repeat; mask:url(icones-ui/crown.svg) center/contain no-repeat; }
@media (max-width:900px), (max-height:520px) { .ciHeroi { height:120px; } .ciHeroiTxt b { font-size:17px; } .ciHeroiTxt span { display:none; } .ciPassos { grid-template-columns:1fr; } .ciPassos small { display:none; } }

/* =====================================================================
   LIMITADOS e cadeado VIP
   ===================================================================== */
/* cartão limitado: escuro com brilho holográfico e borda dourada */
#painelCatalogo .catItem.lim { background:linear-gradient(160deg, #2a1a5e, #4a2a8a 55%, #7a3cb0) !important; box-shadow:0 0 0 2px #ffd35a, 0 3px 0 #c98a10, 0 0 14px rgba(255,190,60,.35) !important; overflow:hidden; }
#painelCatalogo .catItem.lim::before { content:""; position:absolute; inset:0; background:linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 48%, transparent 66%); background-size:250% 100%; animation:limBrilho 3s ease-in-out infinite; pointer-events:none; }
@keyframes limBrilho { from { background-position:150% 0; } to { background-position:-100% 0; } }
#painelCatalogo .catItem.lim .ciFoto { background:radial-gradient(circle at 50% 40%, rgba(255,255,255,.35), rgba(255,255,255,.06) 70%) !important; }
#painelCatalogo .catItem.lim .ciNome { color:#fff !important; }
#painelCatalogo .catItem.lim em { background:#ffd35a !important; color:#5a3200 !important; }
#painelCatalogo .catItem.lim:hover, #painelCatalogo .catItem.lim.on { box-shadow:0 0 0 3px #fff3c2, 0 3px 0 #c98a10, 0 0 18px rgba(255,190,60,.6) !important; }
.ciLimSelo { position:absolute; top:6px; left:6px; padding:2px 6px; border-radius:3px; background:linear-gradient(90deg, #ffd35a, #ff9f3d); color:#5a3200; font:900 9.5px/1.2 "Nunito",sans-serif; font-style:normal; letter-spacing:.2px; box-shadow:0 1px 4px rgba(0,0,0,.3); z-index:1; }
.limEtq { position:absolute; left:6px; right:6px; bottom:30px; padding:2px 4px; border-radius:3px; background:rgba(20,10,50,.75); color:#fff3c2; font:800 10px/1.3 "Nunito",sans-serif; font-style:normal; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; z-index:1; }
.limEtq.espera { color:#9fe8ff; } .limEtq.fim { background:rgba(224,40,79,.85); color:#fff; } .limEtq.meu { background:linear-gradient(90deg, #2fc08a, #17a873); color:#fff; }
#painelCatalogo .ciFilaLim .catItem { min-height:0; }
/* botão de comprar dos limitados */
#painelCatalogo #catComprar.lim { background:linear-gradient(180deg, #ffd35a, #f0a010) !important; color:#5a3200 !important; box-shadow:inset 0 2px 0 rgba(255,255,255,.45), 0 4px 0 #b46c00 !important; }
#painelCatalogo #catComprar.lim:disabled { background:#2a2350 !important; color:#fff3c2 !important; box-shadow:none !important; opacity:1; }
#painelCatalogo #catComprar.espera:disabled { color:#9fe8ff !important; }
/* cadeado nos itens VIP para quem não é VIP */
#painelCatalogo .catItem.trava .ciFoto img { filter:grayscale(.35) brightness(.92); }
.ciCadeado { position:absolute; top:34%; left:50%; width:30px; height:30px; margin:-15px 0 0 -15px; border-radius:4px; background:rgba(42,35,80,.85); box-shadow:0 0 0 2px #ffd35a, 0 3px 8px rgba(0,0,0,.35); z-index:1; }
.ciCadeado::after { content:""; position:absolute; inset:7px; background:#ffd35a; -webkit-mask:url(icones-ui/lock.svg) center/contain no-repeat; mask:url(icones-ui/lock.svg) center/contain no-repeat; }
/* mochila: número de série */
.ciSerie { position:absolute; top:4px; right:4px; padding:2px 5px; border-radius:3px; background:linear-gradient(90deg, #ffd35a, #ff9f3d); color:#5a3200; font:900 10.5px/1 "Nunito",sans-serif; font-style:normal; box-shadow:0 0 0 2px #fff; }
#painelInventario .invItem.lim { background:linear-gradient(160deg, #2a1a5e, #6a32a8) !important; box-shadow:0 0 0 2px #ffd35a, 0 2px 0 #c98a10 !important; }
#painelInventario .invItem.lim b { color:#fff !important; }
/* categoria Limitados na lista do lado */
#painelCatalogo #abasCat .catArea[data-cat="limitados"]:not(.on) { background:linear-gradient(90deg, #fff4cf, #fff) !important; box-shadow:inset 0 0 0 1px #ffd35a !important; }
.ciCats button[data-cat-ir="limitados"] { background:linear-gradient(160deg, #3a2470, #7a3cb0) !important; box-shadow:0 0 0 2px #ffd35a, 0 2px 0 #c98a10 !important; }
.ciCats button[data-cat-ir="limitados"] b { color:#ffd35a !important; }

/* =====================================================================
   MINHAS SALAS e imobiliária (comprar modelos de sala) + porta de teleporte
   ===================================================================== */
.msTopo { display:flex; align-items:center; gap:10px; padding:2px 2px 6px; flex:none; }
.msTopo > div { flex:1; display:flex; flex-direction:column; } .msTopo b { font:900 15px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); } .msTopo small { font-size:11.5px; font-weight:700; color:#9a92b8; }
.msNova { height:34px; padding:0 12px; border:0; border-radius:4px; cursor:pointer; color:#fff; font:900 13px var(--zFonte, "Nunito", sans-serif); background:linear-gradient(180deg, #3ddc97, #17a873); box-shadow:inset 0 2px 0 rgba(255,255,255,.3), 0 3px 0 #0f7d55; }
.msNova.on { background:#efe9ff; color:#5b3fd6; box-shadow:none; }
.msGrade { display:grid; grid-template-columns:repeat(auto-fill, minmax(112px, 1fr)); gap:8px; flex:none; }
.msCard { position:relative; display:flex; flex-direction:column; align-items:center; gap:3px; padding:8px 6px; border:0; border-radius:4px; cursor:pointer; background:#fff; box-shadow:0 0 0 1px #e8e2f6, 0 2px 0 #ebe6f8; }
.msCard:hover { box-shadow:0 0 0 2px #c9bcf7, 0 2px 0 #c9bcf7; } .msCard.on { box-shadow:0 0 0 2.5px #7a5cff, 0 2px 0 #7a5cff; background:#f6f3ff; }
.msCard.vip { background:linear-gradient(#fffaf0, #fff); box-shadow:0 0 0 1px #ffd76b, 0 2px 0 #ffe9a6; }
.msCard.trava .msPlanta { filter:grayscale(.5); opacity:.7; }
.msPlanta { height:70px; display:grid; place-items:center; } .msPlanta svg { max-width:100%; max-height:66px; }
.msCard b { font:900 13px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); } .msCard small { font-size:11px; font-weight:700; color:#9a92b8; }
.msCard em { display:flex; align-items:center; gap:3px; padding:2px 7px; border-radius:3px; background:#fff4cf; color:#a35c00; font-style:normal; font-size:12px; font-weight:900; } .msCard em img { width:14px; height:14px; }
.msCard .ciVip { position:absolute; top:6px; right:6px; width:20px; height:20px; border-radius:3px; background:#2a2350; } .msCard .ciVip::after { content:""; position:absolute; inset:4px; background:#ffc93c; -webkit-mask:url(icones-ui/crown.svg) center/contain no-repeat; mask:url(icones-ui/crown.svg) center/contain no-repeat; }
.msCard .ciCadeado { top:40px; }
.msCompra { display:flex; flex-direction:column; gap:7px; padding:10px; margin-top:4px; border-radius:4px; background:#f6f3ff; box-shadow:0 0 0 1px #e2dbf7; flex:none; }
.msInfo b { display:block; font:900 14px var(--zFonte, "Nunito", sans-serif); color:var(--zTinta, #2a2350); } .msInfo small { font-size:12px; color:#6d6590; font-weight:600; }
.msComprar { display:flex; align-items:center; justify-content:center; gap:5px; height:38px; border:0; border-radius:4px; cursor:pointer; color:#fff; font:900 14px var(--zFonte, "Nunito", sans-serif); background:linear-gradient(180deg, #3ddc97, #17a873); box-shadow:inset 0 2px 0 rgba(255,255,255,.3), 0 3px 0 #0f7d55; }
.msComprar img { width:18px; height:18px; } .msComprar:disabled { background:#d9d4ea; box-shadow:none; color:#8e86ad; cursor:default; }
.msTeste { text-align:center; font-size:11px; color:#9a92b8; font-weight:700; }
/* porta de teleporte */
#painelTeleporte.zPainel { width:min(380px, calc(100vw - 24px)) !important; border-radius:4px !important; }
.tpExplica { margin:0; font-size:13px; line-height:1.4; color:var(--zSuave, #6d6590); }
.tpLista { display:flex; flex-direction:column; gap:5px; max-height:300px; overflow:auto; }
.tpLista button { display:flex; align-items:center; gap:10px; padding:7px 9px 7px 7px; border:0; border-radius:4px; cursor:pointer; text-align:left; background:#fff; box-shadow:0 0 0 1px #e8e2f6; }
.tpLista button:hover { box-shadow:0 0 0 2px #c9bcf7; } .tpLista button.on { box-shadow:0 0 0 2.5px #7a5cff; background:#f6f3ff; }
.tpLista .tpMarca { margin-left:auto; width:22px; height:22px; display:grid; place-items:center; border-radius:3px; background:#efe9ff; } .tpLista .tpMarca .ic { width:13px; height:13px; color:transparent; }
.tpLista button.on .tpMarca { background:#7a5cff; } .tpLista button.on .tpMarca .ic { color:#fff; }
.tpNenhum .sTxt b { font-size:13px !important; color:#8e86ad !important; }
.tpBotoes { display:flex; gap:8px; } .tpBotoes .zBt { flex:1; border-radius:4px !important; } .tpBotoes [hidden] { display:none !important; }
#listaQuartos .msCard { background:#fff !important; border:0 !important; color:var(--zTinta, #2a2350) !important; padding:8px 6px !important; }
#listaQuartos .msCard.on { background:#f6f3ff !important; }
#listaQuartos .msCard.vip { background:linear-gradient(#fffaf0, #fff) !important; }
#listaQuartos .msNova { border:0 !important; background:linear-gradient(180deg, #3ddc97, #17a873) !important; color:#fff !important; padding:0 12px !important; }
#listaQuartos .msNova.on { background:#efe9ff !important; color:#5b3fd6 !important; }
#listaQuartos .msComprar { border:0 !important; background:linear-gradient(180deg, #3ddc97, #17a873) !important; color:#fff !important; padding:0 !important; }
#listaQuartos .msComprar:disabled { background:#d9d4ea !important; color:#8e86ad !important; }
#listaQuartos .vazioFofo .zBt { border:0 !important; }

/* cardápio do balcão */
#painelCardapio.zPainel { width:min(380px, calc(100vw - 24px)) !important; border-radius:4px !important; }
.cdLista { display:flex; flex-direction:column; gap:5px; max-height:min(420px, 60vh); overflow:auto; }
.cdLista button { display:flex; align-items:center; gap:10px; padding:7px 10px 7px 7px; border:0; border-radius:4px; cursor:pointer; text-align:left; background:#fff; box-shadow:0 0 0 1px #e8e2f6; font:inherit; }
.cdLista button:hover { box-shadow:0 0 0 2px #c9bcf7; }
.cdLista .cdEm { width:38px; height:38px; display:grid; place-items:center; font-size:22px; border-radius:4px; background:#fff4e6; flex:none; }
.cdLista .cdTxt { display:flex; flex-direction:column; gap:2px; min-width:0; }
.cdLista .cdTxt b { font-size:14px; color:#3b3363; } .cdLista .cdTxt small { font-size:12px; color:#8e86ad; }
.cdLista .cdPreco { margin-left:auto; display:flex; align-items:center; gap:4px; font-weight:800; color:#b7791f; font-size:14px; flex:none; }
.cdLista .cdPreco img { width:16px; height:16px; }

/* vender item / oferta */
#painelVender.zPainel, #painelOferta.zPainel { width:min(420px, calc(100vw - 24px)) !important; border-radius:4px !important; }
.vdBusca { width:100%; box-sizing:border-box; padding:8px 10px; border:0; border-radius:4px; box-shadow:0 0 0 1px #e1d9f5; font:inherit; font-size:13px; }
.vdGrade { display:grid; grid-template-columns:repeat(auto-fill, minmax(70px, 1fr)); gap:6px; max-height:250px; overflow:auto; padding:2px; }
.vdGrade button { position:relative; display:flex; flex-direction:column; align-items:center; gap:3px; padding:6px 4px; border:0; border-radius:4px; background:#fff; box-shadow:0 0 0 1px #e8e2f6; cursor:pointer; font:inherit; }
.vdGrade button img { width:46px; height:46px; object-fit:contain; } .vdGrade button small { font-size:10.5px; color:#5d5580; line-height:1.15; text-align:center; max-height:2.3em; overflow:hidden; }
.vdGrade button em { position:absolute; top:3px; right:4px; font-style:normal; font-size:10px; font-weight:900; color:#7a5cff; }
.vdGrade button.on { box-shadow:0 0 0 2.5px #7a5cff; background:#f6f3ff; }
.vdGrade .vdVazio { grid-column:1/-1; text-align:center; color:#8e86ad; font-size:13px; padding:20px; }
.vdPrecoLinha { display:flex; gap:8px; } .vdPrecoLinha .zBt { flex:none; border-radius:4px !important; }
.vdPreco { flex:1; display:flex; align-items:center; gap:6px; padding:0 10px; border-radius:4px; box-shadow:0 0 0 1px #e1d9f5; background:#fff; } .vdPreco img { width:18px; } .vdPreco input { flex:1; border:0; outline:0; font:inherit; font-weight:800; font-size:15px; min-width:0; padding:9px 0; }
.ofCorpo { display:flex; gap:12px; align-items:center; }
.ofFoto { width:84px; height:84px; flex:none; display:grid; place-items:center; border-radius:4px; background:#f6f3ff; } .ofFoto img { width:72px; height:72px; object-fit:contain; }
.ofTxt { display:flex; flex-direction:column; gap:4px; } .ofTxt small { color:#8e86ad; font-size:12.5px; } .ofTxt b { color:#3b3363; font-size:16px; }
.ofPreco { display:flex; align-items:center; gap:5px; color:#b7791f; font-weight:800; } .ofPreco img { width:18px; } .ofPreco b { color:#b7791f !important; font-size:18px !important; }
/* pix: campo do nome */
.celPixNome { margin:0 .8em; display:flex; align-items:center; gap:.4em; padding:0 .7em; border-radius:.5em; background:#fff; box-shadow:0 0 0 1px #dde6ef; } .celPixNome .ic { width:1.1em; height:1.1em; color:#7a8b9c; }
.celPixNome input { flex:1; border:0; outline:0; background:none; font:inherit; font-weight:800; padding:.65em 0; min-width:0; }

#painelVender .vdBusca, #painelVender .vdPreco input { background:#fff !important; color:#3b3363 !important; box-shadow:none; }
#painelVender .vdBusca { box-shadow:0 0 0 1px #e1d9f5 !important; }
#mbExtras { display:contents; }

/* documento do perfil */
#painelPerfil .perfDoc { margin-top:2px; border-radius:4px; background:linear-gradient(135deg, #f3fbff, #eef0ff); box-shadow:0 0 0 1px #dfe3f7; padding:9px 11px; display:flex; flex-direction:column; gap:6px; }
.perfDoc[hidden] { display:none !important; }
.pdTopo { display:flex; align-items:center; gap:6px; font-weight:900; font-size:12px; color:#5b6aa0; } .pdTopo .ic { width:14px; height:14px; color:#5b6aa0; } .pdTopo span { margin-left:auto; font-weight:800; font-size:10.5px; color:#97a0c4; }
.pdLinha { display:flex; align-items:center; gap:8px; font-size:13px; } .pdLinha small { width:86px; flex:none; color:#8a91b4; font-size:11.5px; font-weight:800; } .pdLinha b { color:#353a63; font-weight:800; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pdLinha select { flex:1; min-width:0; font:inherit; font-weight:800; font-size:12.5px; color:#353a63; background:#fff !important; border:0; border-radius:3px; box-shadow:0 0 0 1px #d9def3; padding:3px 4px; }
.pdDiv { border:0; background:none; color:#d0456b; font:inherit; font-size:11px; font-weight:800; cursor:pointer; text-decoration:underline; margin-left:auto; flex:none; }
.nome .nmAlianca { margin-left:4px; font-size:.95em; }
/* pedido de casamento */
#painelCasamento.zPainel { width:min(360px, calc(100vw - 24px)) !important; border-radius:4px !important; }
.csCorpo { display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:4px 6px; } .csAnel { font-size:44px; animation:emojiPula 1.4s ease-in-out infinite; }
.csCorpo b { font-size:16px; color:#3b3363; } .csCorpo small { color:#8e86ad; font-size:12.5px; line-height:1.4; }

/* dinheiro vivo */
.invVivo { display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:4px; background:#eafaf1; box-shadow:0 0 0 1px #bfe8d0; }
.invVivo .ivIc { font-size:24px; } .invVivo .ivTxt { display:flex; flex-direction:column; gap:1px; } .invVivo b { font-size:16px; color:#1f7a47; font-weight:900; } .invVivo small { font-size:11.5px; color:#5d8a70; line-height:1.3; }
.celCartao .celVivo { font-size:.8em; font-weight:800; opacity:.95; }
#painelCaixa.zPainel { width:min(380px, calc(100vw - 24px)) !important; border-radius:4px !important; }
.cxSaldos { display:grid; grid-template-columns:1fr 1fr; gap:6px; } .cxSaldos div { background:#fff; border-radius:4px; box-shadow:0 0 0 1px #e1d9f5; padding:8px 10px; display:flex; flex-direction:column; gap:3px; }
.cxSaldos small { font-size:11px; color:#8e86ad; font-weight:700; } .cxSaldos b { display:flex; align-items:center; gap:5px; font-size:18px; color:#3b3363; font-weight:900; } .cxSaldos img { width:18px; }
.cxAbas { display:grid; grid-template-columns:1fr 1fr; gap:4px; } .cxAbas button { border:0; border-radius:4px; padding:8px; font:inherit; font-weight:800; cursor:pointer; background:#f1edfb; color:#6d6590; } .cxAbas button.on { background:#2fb66b; color:#fff; }
.cxValor { display:flex; align-items:center; gap:8px; padding:0 12px; border-radius:4px; background:#fff; box-shadow:0 0 0 1px #e1d9f5; font-size:18px; }
.cxValor input { flex:1; border:0; outline:0; font:inherit; font-weight:900; font-size:18px; padding:10px 0; min-width:0; background:#fff !important; color:#3b3363 !important; }
.cxRapidos { display:grid; grid-template-columns:repeat(4, 1fr); gap:5px; } .cxRapidos button { border:0; border-radius:4px; padding:7px; font:inherit; font-weight:800; cursor:pointer; background:#fff; box-shadow:0 0 0 1px #e1d9f5; color:#3b3363; }
#cxOk { border-radius:4px !important; }
.cdVivo { padding:7px 10px; border-radius:4px; background:#eafaf1; color:#1f7a47; font-size:12.5px; } .cdVivo b { font-weight:900; }

/* crimes */
.cxRoubar { border-radius:4px !important; background:linear-gradient(180deg, #4a4458, #2b2635) !important; color:#fff !important; }
.assaltoBarra { position:fixed; left:50%; top:90px; transform:translateX(-50%); z-index:60; width:min(340px, calc(100vw - 32px)); padding:10px 12px; border-radius:4px; background:#2b2635; color:#fff; box-shadow:0 8px 24px rgba(0,0,0,.35); display:flex; flex-direction:column; gap:8px; }
.assaltoBarra[hidden] { display:none; } .assaltoBarra b { font-size:13px; } .assaltoBarra > div { height:10px; background:#4a4458; border-radius:2px; overflow:hidden; } .assaltoBarra i { display:block; height:100%; width:0; background:linear-gradient(90deg, #ffd34d, #e0475f); }
.nome .nmProcurado { margin-left:5px; padding:1px 6px; border-radius:3px; background:#e0475f; color:#fff; font-size:.8em; font-weight:900; white-space:nowrap; animation:procPisca 1s ease-in-out infinite; }
@keyframes procPisca { 50% { background:#ff8a3c; } }

/* prisão */
.prisaoBox { position:fixed; left:50%; top:86px; transform:translateX(-50%); z-index:55; display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:4px; background:#132a5e; color:#fff; box-shadow:0 8px 24px rgba(0,0,0,.35); width:max-content; max-width:calc(100vw - 24px); }
.prisaoBox[hidden] { display:none; } .prIc { font-size:28px; } .prTxt { display:flex; flex-direction:column; } .prTxt b { font-size:15px; } .prTxt small { font-size:12.5px; opacity:.85; } #prTempo { font-weight:900; }
.prisaoBox .zBt { border-radius:4px !important; background:#ffc93c !important; color:#3b2a00 !important; }
.mbPrender { background:linear-gradient(180deg, #3d64b0, #132a5e) !important; }

/* NPCs */
body .nome.npc .nvl { display:none !important; }
.nome .nmNpc { margin-left:5px; padding:1px 6px; border-radius:3px; background:#ffe45f; color:#5a4200; font-size:.8em; font-weight:900; white-space:nowrap; }
.npcConversa { position:fixed; left:50%; bottom:96px; transform:translateX(-50%); z-index:58; width:min(560px, calc(100vw - 24px)); display:flex; gap:12px; padding:12px; border-radius:4px; background:#fff; box-shadow:0 0 0 2px #2b4a8a, 0 10px 30px rgba(0,0,0,.3); animation:npcEntra .2s ease-out; }
.npcConversa[hidden] { display:none; }
@keyframes npcEntra { from { transform:translate(-50%, 12px); opacity:0; } }
.npcFotoCx { width:72px; height:72px; flex:none; border-radius:4px; background:#e8eefc; overflow:hidden; display:grid; place-items:center; } .npcFotoCx img { width:100%; height:100%; object-fit:cover; }
.npcCorpo { flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; }
.npcTopo { display:flex; align-items:center; gap:8px; } .npcTopo b { font-size:15px; color:#2b2350; font-weight:900; } .npcTopo small { font-size:11px; font-weight:800; padding:1px 6px; border-radius:3px; background:#ffe45f; color:#5a4200; }
.npcTopo button { margin-left:auto; border:0; background:#f1edfb; color:#6d6590; width:26px; height:26px; border-radius:3px; cursor:pointer; font-weight:900; }
#npcTexto { margin:0; font-size:14px; line-height:1.45; color:#3b3363; min-height:40px; }
.npcOpcoes { display:flex; flex-wrap:wrap; gap:6px; } .npcOpcoes button { border:0; border-radius:4px; padding:8px 12px; font:inherit; font-size:13px; font-weight:800; cursor:pointer; background:#2b4a8a; color:#fff; } .npcOpcoes button:last-child { background:#f1edfb; color:#6d6590; }
.npcOpcoes button:hover { filter:brightness(1.1); }
/* agência de empregos */
#painelAgencia.zPainel { width:min(760px, calc(100vw - 24px)) !important; border-radius:4px !important; }
.agCorpo { display:grid; grid-template-columns:220px 1fr; gap:10px; min-height:0; max-height:min(560px, calc(100vh - 220px)); }
.agLista { display:flex; flex-direction:column; gap:5px; overflow:auto; }
.agLista button { position:relative; display:flex; align-items:center; gap:9px; padding:8px; border:0; border-radius:4px; background:#fff; box-shadow:0 0 0 1px #e1d9f5; cursor:pointer; text-align:left; font:inherit; }
.agLista button.on { box-shadow:0 0 0 2.5px #2b4a8a; background:#f3f6ff; }
.agEm { width:36px; height:36px; flex:none; display:grid; place-items:center; font-size:20px; border-radius:4px; background:#eef2fb; }
.agTxt { display:flex; flex-direction:column; min-width:0; } .agTxt b { font-size:13.5px; color:#2b2350; } .agTxt small { font-size:11.5px; color:#8e86ad; }
.agLista em { position:absolute; top:6px; right:6px; font-style:normal; font-size:10px; font-weight:900; padding:1px 5px; border-radius:3px; } .agMeu { background:#dff7ea; color:#1f9d5a; } .agCheio { background:#fde8e4; color:#c4502f; }
.agDetalhe { overflow:auto; display:flex; flex-direction:column; gap:10px; padding:2px 4px 2px 2px; }
.agTopo { display:flex; gap:12px; align-items:flex-start; } .agEmG { width:58px; height:58px; flex:none; display:grid; place-items:center; font-size:32px; border-radius:4px; background:#eef2fb; }
.agTopo b { display:block; font-size:19px; color:#2b2350; font-weight:900; } .agTopo small { display:block; font-size:13px; color:#6d6590; line-height:1.4; margin-top:2px; }
.agInfo { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; } .agInfo div { background:#fff; border-radius:4px; box-shadow:0 0 0 1px #e1d9f5; padding:7px 9px; display:flex; flex-direction:column; gap:2px; }
.agInfo small { font-size:10.5px; color:#8e86ad; font-weight:800; } .agInfo b { font-size:12.5px; color:#3b3363; }
.agSub { font-size:12px; font-weight:900; color:#6d6590; }
.agCargos { display:flex; flex-direction:column; gap:4px; } .agCargos div { display:flex; align-items:center; gap:8px; padding:6px 9px; border-radius:4px; background:#fff; box-shadow:0 0 0 1px #e1d9f5; }
.agCargos span { width:20px; height:20px; flex:none; display:grid; place-items:center; border-radius:3px; background:#eef2fb; color:#2b4a8a; font-size:11px; font-weight:900; }
.agCargos b { font-size:13px; color:#2b2350; } .agCargos small { font-size:11.5px; color:#8e86ad; margin-left:auto; } .agCargos em { font-style:normal; font-size:11px; font-weight:900; color:#1f9d5a; background:#dff7ea; padding:1px 5px; border-radius:3px; }
.agCargos div.atual { box-shadow:0 0 0 2px #2fb66b; background:#f1fbf5; }
.agAviso { font-size:12px; color:#8a5a00; background:#fff6dd; border-radius:4px; padding:7px 9px; }
.agBt { border:0; border-radius:4px; padding:12px; font:inherit; font-size:15px; font-weight:900; cursor:pointer; color:#fff; background:linear-gradient(180deg, #3fcf7f, #22a05a); } .agBt.feito { background:#eef2fb; color:#2b4a8a; cursor:default; }
#painelAgencia.favela .agLista button.on { box-shadow:0 0 0 2.5px #3a2b1f; } #painelAgencia.favela .agBt:not(.feito) { background:linear-gradient(180deg, #4a4458, #2b2635); }
.agVazio { color:#8e86ad; font-size:13px; padding:10px; }
@media (max-width: 640px) { .agCorpo { grid-template-columns:1fr; max-height:calc(100vh - 200px); } .agLista { flex-direction:row; overflow-x:auto; } .agLista button { flex:none; } .agInfo { grid-template-columns:1fr 1fr; } }

/* relógio do jogo */
.relogioJogo { position:fixed; top:22px; right:124px; z-index:30; display:flex; align-items:center; gap:6px; padding:7px 11px; border-radius:4px; background:rgba(255,255,255,.92); box-shadow:0 4px 14px rgba(40,20,90,.18); font:800 14px/1 "Nunito", sans-serif; color:#3b3363; pointer-events:auto; }
.relogioJogo:empty { display:none; } .relogioJogo span { font-size:16px; }
body.inicio .relogioJogo, body:has(#inicio:not([hidden])) .relogioJogo { display:none; }
@media (max-width: 640px) { .relogioJogo { top:14px; right:100px; padding:5px 8px; font-size:12px; } }

/* menuzinho do móvel de usar */
.menuMovel .mmTopo { display:flex; align-items:center; gap:8px; padding:2px 2px 4px; } .menuMovel .mmTopo img { width:34px; height:34px; object-fit:contain; } .menuMovel .mmTopo b { font-size:13.5px; color:#2b2350; font-weight:900; }
.menuMovel .mmUsar { background:linear-gradient(180deg, #3fcf7f, #22a05a) !important; color:#fff !important; font-weight:900 !important; }

/* taser e anúncios */
.taserHud { position:fixed; left:50%; bottom:96px; transform:translateX(-50%); z-index:40; display:flex; align-items:center; gap:12px; padding:8px 10px 8px 14px; border-radius:4px; background:#132a5e; color:#fff; font-size:13px; box-shadow:0 8px 24px rgba(0,0,0,.3); white-space:nowrap; }
.taserHud[hidden] { display:none; } .taserHud b { font-weight:900; color:#ffe45f; } .thTec { opacity:.9; } .taserHud kbd { display:inline-block; min-width:18px; padding:1px 4px; margin-right:2px; border-radius:3px; background:#2b4a8a; font:800 11px/1.4 "Nunito", sans-serif; text-align:center; }
.taserHud button { border:0; border-radius:3px; padding:6px 10px; font:inherit; font-weight:900; cursor:pointer; background:#ffe45f; color:#3b2a00; }
body.mirando canvas { cursor:crosshair !important; }
@media (pointer:coarse) { .thTec { display:none; } }
.anuncio { position:fixed; left:50%; top:76px; transform:translateX(-50%); z-index:70; padding:12px 18px; border-radius:4px; font:900 16px/1.3 "Nunito", sans-serif; color:#fff; background:linear-gradient(90deg, #e0475f, #132a5e 50%, #3b7bff); box-shadow:0 10px 30px rgba(0,0,0,.35); max-width:calc(100vw - 24px); text-align:center; }
.anuncio[hidden] { display:none; } .anuncio.ver { animation:anuncioEntra .45s cubic-bezier(.2,1.4,.4,1); }
@keyframes anuncioEntra { from { transform:translate(-50%, -24px) scale(.9); opacity:0; } }

.hospBox { background:#ffffff !important; color:#3b3363 !important; box-shadow:0 0 0 2px #e0475f, 0 8px 24px rgba(0,0,0,.25) !important; }
.hospBox .zBt { background:#e0475f !important; color:#fff !important; }

/* entregas, táxi e propostas */
.pacoteHud { position:fixed; left:50%; top:76px; transform:translateX(-50%); z-index:45; display:flex; align-items:center; gap:8px; padding:8px 12px; border-radius:4px; background:#ffcc1f; color:#1c3a78; font:800 14px/1.2 "Nunito", sans-serif; box-shadow:0 6px 18px rgba(0,0,0,.25); white-space:nowrap; }
.pacoteHud[hidden] { display:none; } .pacoteHud b { font-weight:900; } .pacoteHud span { padding:2px 6px; border-radius:3px; background:#1c3a78; color:#fff; } .pacoteHud span.atrasado { background:#e0475f; }
.pacoteHud button { border:0; border-radius:3px; padding:5px 9px; font:inherit; font-weight:900; background:#2fb66b; color:#fff; cursor:pointer; }
#painelDestino.zPainel, #painelProposta.zPainel { width:min(380px, calc(100vw - 24px)) !important; border-radius:4px !important; }
.dsLista { display:flex; flex-direction:column; gap:5px; max-height:min(420px, 60vh); overflow:auto; }
.dsLista button { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:9px 11px; border:0; border-radius:4px; background:#fff; box-shadow:0 0 0 1px #e1d9f5; cursor:pointer; font:inherit; text-align:left; }
.dsLista button:hover { box-shadow:0 0 0 2px #ffcc1f; } .dsLista b { color:#2b2350; font-size:14px; } .dsLista small { color:#8e86ad; font-size:12px; }

/* ===== gangues: crachá no nome e app do celular ===== */
.nome .nmGangue { margin-left:5px; padding:1px 6px; border-radius:3px; background:var(--cor, #9b7bff); color:#fff; font-size:.78em; font-weight:900; white-space:nowrap; text-shadow:0 1px 0 rgba(0,0,0,.35); box-shadow:inset 0 0 0 1px rgba(0,0,0,.18); }
.gaMinha { border-left:6px solid var(--cor) !important; }
.gaBandeira { flex:none; width:34px; height:34px; border-radius:3px; background:var(--cor); position:relative; box-shadow:inset 0 -4px 0 rgba(0,0,0,.18); }
.gaBandeira::after { content:"🏴"; position:absolute; inset:0; display:grid; place-items:center; font-size:18px; }
.gaQuad { flex:none; width:16px; height:16px; border-radius:3px; background:var(--cor); margin-right:4px; }
.gaTerr { font-weight:900; font-size:.9em; white-space:nowrap; }
.gaCampo { display:flex; flex-direction:column; gap:4px; width:100%; font-weight:800; font-size:.86em; color:#4a4570; text-align:left; margin-top:6px; }
.gaCampo input { font:inherit; font-weight:700; padding:8px 10px; border:2px solid #d9d4f0; border-radius:4px; background:#fff; color:#2b2350; }
.gaCampo input:focus-visible { outline:none; border-color:#7a63d6; }
.gaCores { display:grid; grid-template-columns:repeat(8, 1fr); gap:5px; width:100%; margin:2px 0 6px; }
.gaCores button { aspect-ratio:1; border:0; border-radius:3px; background:var(--cor); cursor:pointer; box-shadow:inset 0 -3px 0 rgba(0,0,0,.18); }
.gaCores button.on { outline:3px solid #2b2350; outline-offset:2px; }
.gaCores button:disabled { opacity:.25; cursor:not-allowed; }
.gaCores button:focus-visible { outline:3px solid #7a63d6; outline-offset:2px; }
#painelProposta { border-top:6px solid var(--cor, transparent); }

/* ===== assalto ao banco: faixa da sirene e luz piscando na tela ===== */
.sireneHud { position:fixed; left:50%; bottom:132px; transform:translateX(-50%); z-index:46; display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:4px; background:#1d1d22; color:#fff; font:800 14px/1.2 "Nunito", sans-serif; box-shadow:0 6px 18px rgba(0,0,0,.35); border:3px solid #ff3b4f; animation:sireneBorda 1.2s steps(1) infinite; max-width:calc(100vw - 24px); flex-wrap:wrap; justify-content:center; }
.sireneHud[hidden] { display:none; }
.sireneHud .srLuz { width:14px; height:14px; border-radius:2px; background:#ff3b4f; animation:sireneLuzinha 1.2s steps(1) infinite; }
.sireneHud .srTxt { display:flex; flex-direction:column; } .sireneHud .srTxt small { font-weight:700; opacity:.85; font-size:.82em; }
.sireneHud .srTempo { padding:3px 7px; border-radius:3px; background:#ff3b4f; font-variant-numeric:tabular-nums; }
.sireneHud button { border:0; border-radius:3px; padding:6px 9px; font:inherit; font-weight:900; cursor:pointer; background:#3b7bff; color:#fff; }
.sireneHud #srMudo { background:#4a5160; }
.sireneHud button[hidden] { display:none; }
.sireneHud button:focus-visible { outline:3px solid #ffd34d; outline-offset:2px; }
@keyframes sireneBorda { 0% { border-color:#ff3b4f; } 50% { border-color:#3b7bff; } }
@keyframes sireneLuzinha { 0% { background:#ff3b4f; } 50% { background:#3b7bff; } }
.sireneLuz { position:fixed; inset:0; pointer-events:none; z-index:5; animation:sireneTela 1.2s ease-in-out infinite; }
.sireneLuz[hidden] { display:none; }
@keyframes sireneTela { 0%, 100% { box-shadow:inset 0 0 90px 10px rgba(255,59,79,.45); } 50% { box-shadow:inset 0 0 90px 10px rgba(59,123,255,.45); } }
@media (prefers-reduced-motion: reduce) {
  .sireneHud, .sireneHud .srLuz, .sireneLuz { animation:none; }
  .sireneLuz { box-shadow:inset 0 0 70px 6px rgba(255,59,79,.3); }
}

/* ===== escola: cursos e aula ===== */
#painelEscola { width:min(440px, calc(100vw - 24px)); }
.esLista { display:flex; flex-direction:column; gap:8px; max-height:min(60vh, 460px); overflow:auto; padding:2px; }
.esCurso { display:flex; align-items:center; gap:10px; padding:10px; border-radius:4px; background:#fff; border:2px solid #e3dcf5; }
.esCurso.feito { border-color:#2fb66b; background:#f0fbf4; }
.esEm { flex:none; width:44px; height:44px; display:grid; place-items:center; font-size:24px; border-radius:4px; background:#fff4dc; }
.esTxt { flex:1; display:flex; flex-direction:column; gap:2px; min-width:0; } .esTxt small { color:#5d5880; font-weight:700; }
.esCurso .zBt { flex:none; max-width:150px; white-space:normal; font-size:.86em; }
.esBarra { height:8px; border-radius:2px; background:#ece8f8; overflow:hidden; margin-top:3px; } .esBarra i { display:block; height:100%; background:#2fb66b; }
.esDiploma { flex:none; padding:6px 9px; border-radius:3px; background:#2fb66b; color:#fff; font-weight:900; }
.aulaHud { background:#1f5a3c; color:#fff; } .aulaHud span { background:#ffd34d !important; color:#1f5a3c !important; } .aulaHud small { opacity:.85; font-weight:700; }
@media (max-width:480px) { .esCurso { flex-wrap:wrap; } .esCurso .zBt { max-width:none; width:100%; } }
/* ===== missões do dia ===== */
.msCard { gap:6px; } .msCard.feito { opacity:.6; }
.msTopo { display:flex; align-items:center; gap:6px; width:100%; flex-wrap:wrap; } .msTopo small { color:#7a6fae; font-weight:700; }
.msSt { margin-left:auto; padding:2px 7px; border-radius:3px; background:#ece8f8; color:#4a4570; font-weight:900; font-size:.82em; }
.msSt.pronta { background:#ffd34d; color:#5a3a00; } .msSt.ok { background:#2fb66b; color:#fff; }

/* ===== concessionária ===== */
#painelCarros { width:min(460px, calc(100vw - 24px)); }
.crAbas, .olxAbas { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin-bottom:8px; }
.crAbas button, .olxAbas button { border:2px solid #e3dcf5; border-radius:4px; background:#fff; padding:8px; font:inherit; font-weight:900; color:#4a4570; cursor:pointer; }
.crAbas button.on, .olxAbas button.on { background:#7a63d6; border-color:#7a63d6; color:#fff; }
.crAbas button:focus-visible, .olxAbas button:focus-visible, .crModelos button:focus-visible { outline:3px solid #ffd34d; outline-offset:2px; }
.crCorpo { display:flex; flex-direction:column; gap:6px; max-height:min(64vh, 520px); overflow:auto; padding:2px; }
.crVitrine { display:flex; align-items:center; gap:10px; padding:8px; border-radius:4px; background:linear-gradient(180deg, #2b2b33, #3a3a44); color:#fff; }
.crVitrine > img { width:130px; height:130px; flex:none; } .crVitrine div { display:flex; flex-direction:column; gap:4px; } .crVitrine b { font-size:1.2em; } .crVitrine small { opacity:.85; font-weight:700; }
.crPreco { display:inline-flex; align-items:center; gap:4px; font-weight:900; font-size:1.1em; color:#ffd34d; } .crPreco img { width:18px; height:18px; }
.crModelos { display:grid; grid-template-columns:repeat(4, 1fr); gap:4px; }
.crModelos button { border:2px solid #e3dcf5; border-radius:4px; background:#fff; padding:6px 2px; font:inherit; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:1px; color:#2b2350; }
.crModelos button b { font-size:.8em; } .crModelos button small { font-size:.75em; color:#7a6fae; font-weight:800; }
.crModelos button.on { border-color:#e0475f; background:#fff0f2; }
.crMeu { display:flex; align-items:center; gap:8px; padding:6px; border-radius:4px; background:#fff; border:2px solid #e3dcf5; }
.crMeu > img { width:70px; height:70px; flex:none; } .crMeu > div { flex:1; display:flex; flex-direction:column; } .crMeu small { color:#5d5880; font-weight:700; }
.crBts { display:flex; flex-direction:column; gap:4px; } .crBts .zBt { font-size:.82em; padding:6px 8px; }
@media (max-width:480px) { .crModelos { grid-template-columns:repeat(2, 1fr); } .crVitrine > img { width:96px; height:96px; } }
/* ===== OLX ===== */
.olxBusca { width:100%; font:inherit; font-weight:700; padding:8px 10px; border:2px solid #d9d4f0; border-radius:4px; margin-bottom:6px; }
.olxGrade { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.olxCard { display:flex; flex-direction:column; align-items:center; gap:2px; padding:6px; border-radius:4px; background:#fff; border:2px solid #e3dcf5; text-align:center; }
.olxCard img { width:64px; height:64px; object-fit:contain; } .olxCard b { font-size:.85em; line-height:1.15; } .olxCard small { font-size:.72em; color:#7a6fae; font-weight:700; }
.olxPreco { font-weight:900; color:#2fb66b; font-size:.9em; }
.olxCard button { margin-top:3px; width:100%; border:0; border-radius:3px; padding:6px; font:inherit; font-weight:900; background:#7a63d6; color:#fff; cursor:pointer; }
.olxCard button.confirma { background:#2fb66b; } .olxCard em { font-size:.75em; font-weight:800; color:#7a6fae; margin-top:3px; }
.ppLinha > img { width:34px; height:34px; object-fit:contain; flex:none; }
.gaCampo select { font:inherit; font-weight:700; padding:7px 8px; border:2px solid #d9d4f0; border-radius:4px; background:#fff; }

/* ===== prefeitura ===== */
#painelPrefeitura { width:min(460px, calc(100vw - 24px)); }
.nome .nmPrefeito { margin-left:5px; padding:1px 6px; border-radius:3px; background:#1c3a78; color:#ffd34d; font-size:.78em; font-weight:900; white-space:nowrap; }
.pfFase { display:flex; flex-direction:column; padding:8px 10px; border-radius:4px; color:#fff; background:#2b4a8a; }
.pfFase small { font-weight:700; opacity:.9; } .pfFase.pf-votacao { background:#2fb66b; } .pfFase.pf-resultado { background:#7a63d6; }
.pfPrefeito { display:flex; align-items:center; gap:10px; padding:10px; border-radius:4px; background:#fff8e0; border:2px solid #ffc93c; }
.pfPrefeito > div { display:flex; flex-direction:column; } .pfPrefeito b { font-size:1.1em; } .pfPrefeito small { color:#6b5a2a; font-weight:700; }
.pfCartola { font-size:30px; flex:none; }
.pfCand { display:flex; align-items:center; gap:8px; padding:8px; border-radius:4px; background:#fff; border:2px solid #e3dcf5; }
.pfCand.meu { border-color:#2fb66b; } .pfCand > div { flex:1; display:flex; flex-direction:column; } .pfCand small { color:#5d5880; font-weight:700; font-style:italic; }
.pfVotos { font-weight:900; color:#7a63d6; white-space:nowrap; } .pfVotei { font-weight:900; color:#2fb66b; white-space:nowrap; }
.pfBonus { display:grid; grid-template-columns:repeat(3, 1fr); gap:5px; }
.pfBonus button { display:flex; flex-direction:column; align-items:center; gap:2px; padding:8px 4px; border:2px solid #e3dcf5; border-radius:4px; background:#fff; font:inherit; cursor:pointer; text-align:center; color:#2b2350; }
.pfBonus button span { font-size:22px; } .pfBonus button b { font-size:.82em; } .pfBonus button small { font-size:.7em; color:#5d5880; font-weight:700; }
.pfBonus button.on { border-color:#ffc93c; background:#fff8e0; } .pfBonus button:focus-visible { outline:3px solid #7a63d6; outline-offset:2px; }
.pfEvento { display:flex; flex-direction:column; gap:4px; } .pfEvento input { font:inherit; font-weight:700; padding:8px 10px; border:2px solid #d9d4f0; border-radius:4px; }
.pfHist { font-size:.85em; color:#4a4570; padding:2px 4px; }
#pfCorpo .gaCampo input { width:100%; }
@media (max-width:480px) { .pfBonus { grid-template-columns:1fr; } }

/* ===== feira do porto ===== */
#painelFeira { width:min(440px, calc(100vw - 24px)); }
.frPesc { display:flex; flex-direction:column; gap:4px; padding:10px; border-radius:4px; background:#e8f4ff; border:2px solid #2a8fc4; } .frPesc small { color:#1c3a78; font-weight:700; }
.frLista { display:flex; flex-direction:column; gap:6px; }
.frPeixe { display:flex; align-items:center; gap:8px; padding:8px; border-radius:4px; background:#fff; border:2px solid #e3dcf5; }
.frPeixe > div { flex:1; display:flex; flex-direction:column; } .frPeixe small { color:#5d5880; font-weight:700; font-size:.8em; }
.frEm { flex:none; width:40px; height:40px; display:grid; place-items:center; font-size:22px; border-radius:4px; background:#dff4ff; }
.frPeixe .zBt { flex:none; font-size:.85em; } .frPreco { font-weight:900; color:#2fb66b; white-space:nowrap; }
.frPeixe .zBt:disabled { opacity:.45; filter:grayscale(1); cursor:not-allowed; }

/* ===== tribunal ===== */
.prisaoBox #prJulg { background:#6b3f24; color:#ffc93c; } .prisaoBox #prJulg[hidden] { display:none; }
.julgHud { position:fixed; left:50%; top:76px; transform:translateX(-50%); z-index:46; display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center; max-width:calc(100vw - 24px); padding:8px 12px; border-radius:4px; background:#3a2418; color:#fff; border:3px solid #ffc93c; font:800 14px/1.2 "Nunito", sans-serif; box-shadow:0 6px 18px rgba(0,0,0,.3); }
.julgHud[hidden] { display:none; } .jhTxt { display:flex; flex-direction:column; } .jhTxt small { font-weight:700; opacity:.85; font-size:.8em; }
.jhTempo { padding:3px 7px; border-radius:3px; background:#ffc93c; color:#3a2418; font-variant-numeric:tabular-nums; }
.jhBts { display:flex; gap:5px; } .jhBts button { border:0; border-radius:3px; padding:7px 10px; font:inherit; font-weight:900; cursor:pointer; background:#8a5a3c; color:#fff; }
.jhBts button.ok { background:#2fb66b; } .jhBts button.mais { background:#e0475f; } .jhBts button:focus-visible { outline:3px solid #ffd34d; outline-offset:2px; }

/* ===== imobiliária ===== */
#painelImob { width:min(460px, calc(100vw - 24px)); }
.imLista { display:grid; grid-template-columns:1fr 1fr; gap:5px; }
.imCasa { display:flex; flex-direction:column; align-items:flex-start; gap:2px; padding:8px; border:2px solid #e3dcf5; border-radius:4px; background:#fff; font:inherit; text-align:left; cursor:pointer; color:#2b2350; }
.imCasa small { color:#5d5880; font-weight:700; font-size:.75em; } .imCasa.on { border-color:#2fb66b; background:#f0fbf4; }
.imCasa:focus-visible { outline:3px solid #7a63d6; outline-offset:2px; }
.imPreco { font-weight:900; color:#2fb66b; font-size:.88em; } .imCompra { font-size:.72em; font-weight:700; color:#7a6fae; }
.imMinha { display:flex; align-items:center; gap:8px; padding:8px; border-radius:4px; background:#fff; border:2px solid #e3dcf5; }
.imMinha > div { flex:1; display:flex; flex-direction:column; } .imMinha small { color:#5d5880; font-weight:700; font-size:.8em; }
.imMinha.atrasado { border-color:#e0475f; background:#fff0f2; }
@media (max-width:480px) { .imLista { grid-template-columns:1fr; } }

/* ===== clima ===== */
.climaTela { position:fixed; inset:0; pointer-events:none; z-index:4; }
.climaTela[hidden] { display:none; }
.climaTela.cl-nublado { background:rgba(60,70,90,.14); }
.climaTela.cl-frio { background:linear-gradient(180deg, rgba(150,200,255,.22), rgba(200,230,255,.08)); }
.climaTela.cl-chuva { background:linear-gradient(180deg, rgba(40,55,80,.22), rgba(40,55,80,.08)); }
.nome .nmGripe { margin-left:4px; font-size:.9em; }
/* ===== pets: barras no menu ===== */
.mpEstado { display:flex; flex-direction:column; gap:4px; padding:4px 2px 6px; }
.mpEstado label { display:flex; align-items:center; gap:6px; font-weight:800; font-size:.8em; color:#4a4570; }
.mpBar { flex:1; height:8px; border-radius:2px; background:#ece8f8; overflow:hidden; } .mpBar i { display:block; height:100%; }
.mpDoente { color:#e0475f; font-size:.85em; }

/* ===== jornalista ===== */
.jnEscrever { display:flex; flex-direction:column; gap:5px; padding:8px; margin:6px 0; border-radius:4px; background:#fff8e0; border:2px solid #ffc93c; }
.jnEscrever input, .jnEscrever textarea { font:inherit; font-weight:700; padding:7px 9px; border:2px solid #e3dcf5; border-radius:4px; resize:vertical; }
.jnMat { display:flex; flex-direction:column; gap:3px; padding:8px; margin-bottom:6px; border-radius:4px; background:#fff; border-left:4px solid #1d1d22; }
.jnMat > span { font-size:.88em; color:#3a355a; } .jnMat small { color:#7a6fae; font-weight:700; }
.jnMatBts { display:flex; gap:6px; } .jnCurtir, .jnApagar { border:2px solid #e3dcf5; background:#fff; border-radius:3px; padding:3px 8px; font:inherit; font-weight:800; cursor:pointer; }
.jnCurtir.on { background:#ffe3ec; border-color:#ff7ab8; } .jnApagar { color:#e0475f; }
/* ===== show ===== */
.showLuz { position:fixed; inset:0; pointer-events:none; z-index:4; mix-blend-mode:screen; animation:showLuzes 2.4s linear infinite;
  background:radial-gradient(circle at 20% 30%, rgba(255,95,210,.28), transparent 40%), radial-gradient(circle at 80% 25%, rgba(95,240,255,.25), transparent 40%), radial-gradient(circle at 50% 80%, rgba(255,228,95,.2), transparent 45%); }
.showLuz[hidden] { display:none; }
@keyframes showLuzes { 0% { filter:hue-rotate(0deg); } 100% { filter:hue-rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .showLuz { animation:none; } }
/* ===== corrida ===== */
.corridaHud { background:#1d1d22; color:#fff; } .corridaHud b { font-variant-numeric:tabular-nums; min-width:56px; display:inline-block; }
.corridaHud span { background:#e0475f !important; } .corridaHud small { opacity:.8; } .corridaHud .crRec { background:#ffc93c !important; color:#1d1d22 !important; }
#painelCorrida { width:min(380px, calc(100vw - 24px)); }
.rcLinha { display:flex; align-items:center; gap:8px; padding:7px 9px; border-radius:4px; background:#fff; border:2px solid #e3dcf5; }
.rcLinha b { flex:1; } .rcPos { width:30px; font-weight:900; color:#e0475f; } .rcLinha span:last-child { font-weight:900; font-variant-numeric:tabular-nums; }

/* ===== cassino ===== */
#painelCassino { width:min(420px, calc(100vw - 24px)); } .csAbas { grid-template-columns:1fr 1fr 1fr; }
.csTopo { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 10px; border-radius:4px; background:#1d1830; color:#ffe45f; font-weight:800; }
.csTopo b { font-size:1.2em; } .csTopo small { color:#c9c2ea; font-weight:700; }
.csRolos { display:grid; grid-template-columns:repeat(3, 1fr); gap:6px; padding:10px; border-radius:4px; background:#c2203a; }
.csRolos span { display:grid; place-items:center; height:70px; font-size:40px; border-radius:3px; background:#fff8e0; }
.csRolos.ganhou span { background:#fff3a8; box-shadow:inset 0 0 0 3px #ffc93c; }
.csRes { text-align:center; font-weight:900; color:#2b2350; padding:4px; }
.csApostas, .csCores { display:grid; grid-template-columns:repeat(3, 1fr); gap:5px; }
.csApostas button, .csCores button { border:2px solid #e3dcf5; border-radius:4px; background:#fff; padding:8px; font:inherit; font-weight:900; cursor:pointer; color:#2b2350; }
.csApostas button.on, .csCores button.on { outline:3px solid #2b2350; outline-offset:1px; }
.csCores .cs-vermelho, .csNum.cs-vermelho { background:#c2203a; color:#fff; } .csCores .cs-preto, .csNum.cs-preto { background:#1d1d22; color:#fff; } .csCores .cs-verde, .csNum.cs-verde { background:#2fb66b; color:#fff; }
.csNum { display:inline-block; min-width:30px; padding:2px 6px; border-radius:3px; }
.csTabela { display:flex; flex-wrap:wrap; gap:4px 10px; font-size:.78em; font-weight:700; color:#5d5880; }
.pfCofre { display:flex; flex-direction:column; padding:8px 10px; border-radius:4px; background:#f0fbf4; border:2px solid #2fb66b; } .pfCofre small { color:#3a6a4a; font-weight:700; }

/* ===== gripe: aviso fixo ===== */
.gripeBox { position:fixed; left:12px; top:210px; z-index:45; width:min(300px, calc(100vw - 24px)); padding:8px 10px; border-radius:4px; background:#fff; border:3px solid #8fd0a8; box-shadow:0 6px 16px rgba(0,0,0,.18); font:700 13px/1.35 "Nunito", sans-serif; color:#2b2350; }
.gripeBox[hidden] { display:none; }
.gbTopo { display:flex; align-items:center; gap:8px; } .gbEm { font-size:24px; } .gbTxt { flex:1; display:flex; flex-direction:column; } .gbTxt small { color:#5d5880; }
.gbTopo button { border:0; border-radius:3px; padding:6px 8px; font:inherit; font-weight:900; background:#2fb66b; color:#fff; cursor:pointer; }
.gbTopo button:focus-visible { outline:3px solid #7a63d6; outline-offset:2px; }
.gbExplica { display:none; margin-top:6px; } .gripeBox.aberto .gbExplica { display:block; }
.gbExplica p { margin:4px 0; } .gbExplica ul { margin:2px 0 8px; padding-left:18px; } .gbExplica li { margin:2px 0; }
@media (max-width:520px) { .gripeBox { top:auto; bottom:150px; } }

/* ===== cartãozinho em cima do nome (trabalho e gangue) ===== */
.nome .nmCima { position:absolute; left:50%; bottom:calc(100% + 3px); transform:translateX(-50%); display:flex; gap:3px; pointer-events:none; text-shadow:none; }
.nmCima span { display:inline-flex; align-items:center; gap:4px; max-width:150px; overflow:hidden; text-overflow:ellipsis; padding:2px 7px; border-radius:3px; font-size:10.5px; font-weight:900; line-height:1.3; white-space:nowrap; box-shadow:0 2px 5px rgba(0,0,0,.25); }
.nmCima .ncTrab { background:#fff; color:#3a2f6b; border:1.5px solid #d9d4f0; }
.nmCima .ncGangue { background:var(--cor, #9b7bff); color:#fff; border:1.5px solid rgba(0,0,0,.2); text-shadow:0 1px 0 rgba(0,0,0,.35); }
.nmCima .ncGangue::before { content:"🏴"; font-size:.95em; }
.nome .nmTrab, .nome .nmGangue, .nome .nmProcurado, .nome .nmPrefeito, .nome .nmGripe { display:none !important; }
body .nome[data-cargo] .nmCima { bottom:calc(100% + 30px); } /* com o selo da equipe: o cartão sobe por cima dele */

/* ===== dica da tecla E em cima do móvel/NPC mais perto ===== */
.dicaE { position:fixed; left:0; top:0; z-index:6; pointer-events:none; }
.dicaE[hidden] { display:none; }
.dicaEin { display:flex; align-items:center; gap:5px; padding:3px 8px 3px 3px; border-radius:4px; background:rgba(29,24,48,.88); color:#fff; font:800 12px/1 "Nunito", sans-serif; white-space:nowrap; box-shadow:0 3px 8px rgba(0,0,0,.3); transform-origin:50% 100%; opacity:0; transform:translateY(6px) scale(.6); transition:opacity .14s ease, transform .14s ease; }
.dicaE.on .dicaEin { opacity:1; transform:none; animation:dicaEpop .32s cubic-bezier(.3,1.6,.5,1); }
.dicaE.on .dicaEin.troca { animation:dicaEtroca .26s cubic-bezier(.3,1.6,.5,1); }
.dicaE.on kbd { animation:dicaEtecla .5s ease .18s; }
.dicaEin kbd { display:grid; place-items:center; width:20px; height:20px; border-radius:3px; background:#fff; color:#2b2350; font:900 12px/1 "Nunito", sans-serif; box-shadow:inset 0 -2px 0 #c9c2ea; }
@keyframes dicaEpop { 0% { opacity:0; transform:translateY(8px) scale(.5); } 70% { opacity:1; transform:translateY(-2px) scale(1.08); } 100% { transform:none; } }
@keyframes dicaEtroca { 0% { transform:scale(.85); } 60% { transform:scale(1.06); } 100% { transform:none; } }
@keyframes dicaEtecla { 0%,100% { transform:none; box-shadow:inset 0 -2px 0 #c9c2ea; } 40% { transform:translateY(2px); box-shadow:inset 0 0 0 #c9c2ea; } }
@media (prefers-reduced-motion:reduce) { .dicaEin, .dicaE.on .dicaEin, .dicaE.on kbd { animation:none !important; transition:opacity .1s; } }
@media (pointer:coarse) { .dicaE { display:none !important; } }

/* ===== evento "Chuva de moedas" ===== */
#caosFaixas { position:fixed; inset:0; pointer-events:none; z-index:7; }
#caosFaixas i { position:absolute; left:0; right:0; height:0; background:#000; transition:height .55s cubic-bezier(.6,0,.2,1); }
#caosFaixas i:first-child { top:0; } #caosFaixas i:last-child { bottom:0; }
#caosFaixas.on i { height:11vh; }
#caosBanner[hidden] { display:none; }
#caosBanner { position:fixed; left:50%; top:13vh; z-index:8; pointer-events:none; display:flex; flex-direction:column; align-items:center; gap:6px; transform:translateX(-50%); text-align:center; max-width:calc(100vw - 32px); }
#caosBanner b { font:900 clamp(30px, 6vw, 58px)/1 "Nunito", sans-serif; color:#ffd23d; letter-spacing:.01em; text-shadow:0 4px 0 #b3560f, 0 7px 0 #5a2108, 0 12px 22px rgba(0,0,0,.5); -webkit-text-stroke:2px #5a2108; paint-order:stroke fill; }
#caosBanner span { font:800 15px/1.3 "Nunito", sans-serif; color:#fff; background:rgba(29,24,48,.88); padding:7px 12px; border-radius:0; box-shadow:0 4px 12px rgba(0,0,0,.35); }
#caosBanner b, #caosBanner span { opacity:0; transform:scale(.4) rotate(-4deg); }
#caosBanner.on b { animation:caosTitulo .7s cubic-bezier(.3,1.7,.5,1) forwards, caosBalanca 1.6s ease-in-out .7s infinite; }
#caosBanner.on span { animation:caosSub .4s ease .35s forwards; }
@keyframes caosTitulo { 0% { opacity:0; transform:scale(.3) rotate(-8deg); } 100% { opacity:1; transform:scale(1) rotate(-2deg); } }
@keyframes caosBalanca { 0%,100% { transform:scale(1) rotate(-2deg); } 50% { transform:scale(1.05) rotate(2deg); } }
@keyframes caosSub { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
.caosMais { position:absolute; left:0; top:0; display:flex; align-items:center; gap:3px; padding:2px 7px 2px 4px; background:#2b2350; color:#ffd23d; font:900 15px/1 "Nunito", sans-serif; box-shadow:0 3px 8px rgba(0,0,0,.35); will-change:transform,opacity; }
.caosMais .ic { width:16px; height:16px; color:#ffd23d; }
.caosMais.meu { background:#ffd23d; color:#2b2350; } .caosMais.meu .ic { color:#2b2350; }
.nome.fantasma { opacity:.7; }
.caosYT { position:fixed; left:-400px; bottom:0; width:200px; height:113px; border:0; opacity:0; pointer-events:none; }
.evCaos { display:flex; flex-direction:column; gap:10px; padding:4px 2px; }
.evCaos .evTxt { margin:0; font:700 13px/1.4 "Nunito", sans-serif; color:#5b5479; }
.evCaos label { display:flex; flex-direction:column; gap:4px; font:800 12px/1.2 "Nunito", sans-serif; color:#2b2350; }
.evCaos input { font:700 14px "Nunito", sans-serif; padding:9px 10px; border:2px solid #d9d2f2; border-radius:0; background:#fff; color:#2b2350; min-width:0; }
.evCaos input:focus { outline:none; border-color:#7a5cff; }
.evRapido { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; }
.evRapido button { font:800 13px "Nunito", sans-serif; padding:7px 0; border:2px solid #ffd23d; background:#fff8dc; color:#7a4d00; border-radius:0; cursor:pointer; }
.evRapido button:hover { background:#ffd23d; }
.evCaos .evIr, .evCaos .evParar { display:flex; align-items:center; justify-content:center; gap:8px; font:900 15px "Nunito", sans-serif; padding:12px; border:0; border-radius:0; cursor:pointer; }
.evCaos .evIr { background:#7a5cff; color:#fff; box-shadow:inset 0 -3px 0 #4f37c7; } .evCaos .evIr:hover { background:#8c71ff; }
.evCaos .evParar { background:#fff; color:#c23a5f; border:2px solid #f2c2d0; padding:9px; font-size:13px; }
.evCaos .ic { width:18px; height:18px; }
@media (prefers-reduced-motion:reduce) { #caosBanner.on b { animation:caosTitulo .01s forwards; } }

/* ===== app Eventos (lista) e HUD dos eventos ===== */
.evLista { display:flex; flex-direction:column; gap:8px; padding:2px 0 8px; }
.evLista .evParar { display:flex; align-items:center; justify-content:center; gap:8px; font:800 13px "Nunito", sans-serif; padding:9px; background:#fff; color:#c23a5f; border:2px solid #f2c2d0; border-radius:0; cursor:pointer; }
.evLista .evParar .ic { width:16px; height:16px; }
.evCard { background:#fff; border:2px solid #e6e0f7; border-radius:0; }
.evCard.aberto { border-color:#7a5cff; }
.evCard.breve { opacity:.55; }
.evTopo { display:flex; align-items:flex-start; gap:10px; width:100%; padding:9px; background:none; border:0; text-align:left; cursor:pointer; font:inherit; color:inherit; }
.evTopo:disabled { cursor:default; }
.evIc { flex:none; display:grid; place-items:center; width:38px; height:38px; background:#ffd23d; border-radius:0; }
.evCard:nth-child(3n) .evIc { background:#ff8fb1; } .evCard:nth-child(3n+1) .evIc { background:#7fd0ff; }
.evIc .ic { width:22px; height:22px; color:#2b2350; }
.evNome { display:flex; flex-direction:column; gap:2px; min-width:0; }
.evNome b { font:900 14px/1.2 "Nunito", sans-serif; color:#2b2350; }
.evNome small { font:700 12px/1.35 "Nunito", sans-serif; color:#6b6488; }
.evMais { display:none; flex-direction:column; gap:8px; padding:0 9px 10px; }
.evCard.aberto .evMais { display:flex; }
.evMais label { display:flex; flex-direction:column; gap:4px; font:800 12px/1.2 "Nunito", sans-serif; color:#2b2350; }
.evMais input { font:700 14px "Nunito", sans-serif; padding:8px 10px; border:2px solid #d9d2f2; border-radius:0; background:#fff; color:#2b2350; min-width:0; }
.evMais input:focus { outline:none; border-color:#7a5cff; }
.evMais .evIr { display:flex; align-items:center; justify-content:center; gap:8px; font:900 15px "Nunito", sans-serif; padding:11px; border:0; border-radius:0; background:#7a5cff; color:#fff; box-shadow:inset 0 -3px 0 #4f37c7; cursor:pointer; }
.evMais .evIr:hover { background:#8c71ff; } .evMais .evIr .ic { width:18px; height:18px; }
#evHud { position:fixed; left:50%; top:14px; z-index:7; transform:translateX(-50%); pointer-events:none; padding:7px 14px; background:rgba(29,24,48,.9); color:#fff; font:900 14px/1.2 "Nunito", sans-serif; border-radius:0; box-shadow:0 4px 12px rgba(0,0,0,.3); white-space:nowrap; max-width:calc(100vw - 32px); overflow:hidden; text-overflow:ellipsis; }
#evBarra { position:fixed; left:0; top:0; z-index:6; width:120px; height:12px; background:#2b2350; border:2px solid #fff; box-shadow:0 2px 6px rgba(0,0,0,.35); pointer-events:none; }
#evBarra i { display:block; height:100%; width:100%; background:linear-gradient(90deg, #ff4f9a, #ffd23d); transition:width .15s; }
#evBotao { position:fixed; right:16px; bottom:110px; z-index:8; display:flex; align-items:center; gap:8px; padding:14px 18px; font:900 17px "Nunito", sans-serif; color:#2b2350; background:#ffd23d; border:0; border-radius:0; box-shadow:inset 0 -4px 0 #d39b00, 0 6px 14px rgba(0,0,0,.3); cursor:pointer; animation:evPulsa 1s ease-in-out infinite; }
#evBotao[hidden] { display:none; }
#evBotao .ic { width:22px; height:22px; } #evBotao:active { transform:translateY(2px); box-shadow:inset 0 -2px 0 #d39b00; }
@keyframes evPulsa { 50% { transform:scale(1.06); } }
#evFlash { position:fixed; inset:0; z-index:6; pointer-events:none; opacity:0; }
#evFlash.on { animation:evFlash .5s ease-out; }
@keyframes evFlash { 0% { opacity:1; } 100% { opacity:0; } }
.caosMais.xp { background:#2a6bd6; color:#fff; } .caosMais.xp .ic { color:#fff; }
@media (prefers-reduced-motion:reduce) { #evBotao { animation:none; } }
#evBarra.energia { width:180px; height:16px; } #evBarra.energia i { background:linear-gradient(90deg, #3de0ff, #8b5cff, #ff4f9a, #ffd23d); }
.evMais select { font:700 14px "Nunito", sans-serif; padding:8px 10px; border:2px solid #d9d2f2; border-radius:0; background:#fff; color:#2b2350; min-width:0; }
.evMais select:focus { outline:none; border-color:#7a5cff; }
.evDica { font:700 11px/1.35 "Nunito", sans-serif; color:#6b6488; }

/* ===== eventos da equipe: Campeões, Apresentar, pergunta do quiz, nível no perfil ===== */
.perfEventos { display:inline-flex; align-items:center; gap:5px; margin-top:4px; padding:3px 8px 3px 5px; font:800 12px/1.2 "Nunito", sans-serif; color:#2b2350; background:color-mix(in srgb, var(--c, #ffc93c) 30%, #fff); border:2px solid var(--c, #ffc93c); border-radius:0; }
.perfEventos .ic { width:15px; height:15px; color:color-mix(in srgb, var(--c) 70%, #2b2350); }
.campEu { display:flex; gap:10px; align-items:flex-start; padding:10px; background:#fff; border:2px solid var(--c); border-radius:0; }
.campEu > span:last-child { display:flex; flex-direction:column; gap:3px; flex:1; min-width:0; }
.campEu b { font:900 16px/1.2 "Nunito", sans-serif; color:#2b2350; } .campEu small { font:700 12px/1.3 "Nunito", sans-serif; color:#6b6488; }
.campIns { flex:none; display:grid; place-items:center; width:46px; height:46px; background:var(--c); border-radius:0; box-shadow:inset 0 -4px 0 rgba(0,0,0,.18); }
.campIns .ic { width:28px; height:28px; color:#fff; }
.campEu .pnProg { display:block; height:8px; background:#ece8f8; } .campEu .pnProg i { display:block; height:100%; background:var(--c); }
.campTxt { margin:8px 2px; font:700 12px/1.4 "Nunito", sans-serif; color:#6b6488; }
.campAbas { display:grid; grid-template-columns:repeat(3, 1fr); gap:4px; margin:6px 0; }
.campAbas button { font:800 13px "Nunito", sans-serif; padding:7px 0; border:2px solid #d9d2f2; background:#fff; color:#2b2350; border-radius:0; cursor:pointer; }
.campAbas button.on { background:#7a5cff; border-color:#7a5cff; color:#fff; }
.campLista { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:3px; }
.campLista li { display:grid; grid-template-columns:30px 1fr auto auto; gap:6px; align-items:center; padding:7px 8px; background:#fff; border:2px solid #ece8f8; font:700 13px "Nunito", sans-serif; color:#2b2350; }
.campLista li.eu { border-color:#7a5cff; } .campLista li.vazio { display:block; color:#6b6488; }
.campLista em { font-style:normal; font-weight:900; color:#7a5cff; } .campLista b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .campLista small { color:#6b6488; font-size:11px; } .campLista span { font-weight:900; }
.campIr, .apBloco .evIr { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:8px; padding:11px; font:900 14px "Nunito", sans-serif; border:0; border-radius:0; background:#7a5cff; color:#fff; box-shadow:inset 0 -3px 0 #4f37c7; cursor:pointer; }
.campIr .ic, .apBloco .evIr .ic, .apBt .ic { width:18px; height:18px; }
.apBloco { display:flex; flex-direction:column; gap:7px; padding:10px; margin-bottom:8px; background:#fff; border:2px solid #e6e0f7; border-radius:0; }
.apTit { font:900 13px/1.2 "Nunito", sans-serif; color:#2b2350; }
.apBloco input[type=text], .apBloco input[type=number], .apBloco select { font:700 13px "Nunito", sans-serif; padding:8px; border:2px solid #d9d2f2; border-radius:0; background:#fff; color:#2b2350; min-width:0; width:100%; box-sizing:border-box; }
.apLinha { display:flex; gap:6px; align-items:stretch; } .apLinha > * { flex:1; min-width:0; }
.apBt { display:flex; align-items:center; justify-content:center; gap:6px; padding:9px; font:800 13px "Nunito", sans-serif; border:0; border-radius:0; background:#2b2350; color:#fff; cursor:pointer; }
.apBt.claro { background:#fff; color:#2b2350; border:2px solid #d9d2f2; }
.apJogos { display:grid; grid-template-columns:1fr 1fr; gap:5px; }
.apJogos button { padding:9px 6px; font:800 12px/1.2 "Nunito", sans-serif; border:2px solid #d9d2f2; background:#fff; color:#2b2350; border-radius:0; cursor:pointer; }
.apJogos button.on { border-color:#7a5cff; background:#efeaff; }
.apPremios label, .apLab { display:flex; flex-direction:column; gap:3px; font:800 12px "Nunito", sans-serif; color:#2b2350; }
.apOpc { display:flex; align-items:center; gap:6px; } .apOpc em { flex:none; display:grid; place-items:center; width:26px; height:26px; background:var(--c); color:#fff; font:900 13px "Nunito", sans-serif; font-style:normal; }
.apOpc input[type=radio] { flex:none; width:18px; height:18px; accent-color:#7a5cff; }
.apPessoas, .apReg { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:3px; max-height:200px; overflow:auto; }
.apPessoas li { display:flex; justify-content:space-between; align-items:center; gap:6px; padding:5px 6px; background:#f6f4fd; font:700 13px "Nunito", sans-serif; color:#2b2350; }
.apPessoas button { padding:4px 9px; font:800 12px "Nunito", sans-serif; border:2px solid #f2c2d0; background:#fff; color:#c23a5f; border-radius:0; cursor:pointer; }
.apReg li { display:flex; flex-direction:column; gap:1px; padding:5px 6px; background:#f6f4fd; font:700 12px/1.3 "Nunito", sans-serif; color:#2b2350; } .apReg small { color:#6b6488; }
#animPergunta { position:fixed; left:50%; top:54px; z-index:8; transform:translateX(-50%); width:min(560px, calc(100vw - 32px)); padding:12px 14px 10px; background:rgba(29,24,48,.95); color:#fff; border:3px solid #ffc93c; border-radius:0; box-shadow:0 8px 22px rgba(0,0,0,.4); pointer-events:none; }
#animPergunta[hidden] { display:none; }
#animPergunta > b { display:block; font:900 18px/1.3 "Nunito", sans-serif; margin-bottom:8px; }
.apOps { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.apOps span { display:flex; align-items:center; gap:7px; padding:6px 8px; background:color-mix(in srgb, var(--c) 30%, #1d1830); border:2px solid var(--c); font:800 14px/1.2 "Nunito", sans-serif; }
.apOps em { flex:none; display:grid; place-items:center; width:24px; height:24px; background:var(--c); font-style:normal; font-weight:900; }
#animPergunta.respondida .apOps span:not(.certa) { opacity:.35; } #animPergunta .apOps span.certa { background:var(--c); }
.apTempo { display:block; height:6px; margin-top:8px; background:rgba(255,255,255,.15); } .apTempo i { display:block; height:100%; width:100%; background:#ffc93c; }
@media (max-width:520px) { .apOps { grid-template-columns:1fr; } #animPergunta > b { font-size:15px; } }
#apSalvarLim { align-self:flex-end; flex:0 0 auto; padding:9px 16px; }
.campSub { display:block; margin:12px 2px 6px; font:900 14px "Nunito", sans-serif; color:#2b2350; }
.campAgenda { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; }
.campAgenda li { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px; background:#fff; border:2px solid #ece8f8; }
.campAgenda li.vazio { display:block; font:700 12px "Nunito", sans-serif; color:#6b6488; }
.campAgenda li > span { display:flex; flex-direction:column; min-width:0; } .campAgenda b { font:900 13px/1.2 "Nunito", sans-serif; color:#2b2350; } .campAgenda small { font:700 11px/1.3 "Nunito", sans-serif; color:#6b6488; }
.campAgenda button { flex:none; display:flex; align-items:center; gap:4px; padding:6px 8px; font:800 11px "Nunito", sans-serif; border:2px solid #d9d2f2; background:#fff; color:#2b2350; border-radius:0; cursor:pointer; }
.campAgenda button.on { background:#ffd23d; border-color:#ffd23d; } .campAgenda .ic { width:14px; height:14px; }
.apTirarAg { margin-left:6px; padding:2px 7px; font:800 11px "Nunito", sans-serif; border:2px solid #f2c2d0; background:#fff; color:#c23a5f; border-radius:0; cursor:pointer; }
#animPergunta.palavra .apOps { grid-template-columns:1fr; }
.apMasc { margin:0 0 4px; font:900 26px/1.2 "Nunito", monospace; letter-spacing:.12em; text-align:center; color:#ffc93c; }
.apChat { display:block; text-align:center; font:800 12px "Nunito", sans-serif; color:#c9c2ea; }
#animPergunta.voto { pointer-events:auto; }
#animPergunta.voto .apOps button { display:flex; align-items:center; gap:7px; padding:8px; background:color-mix(in srgb, var(--c) 30%, #1d1830); border:2px solid var(--c); color:#fff; font:800 14px/1.2 "Nunito", sans-serif; border-radius:0; cursor:pointer; text-align:left; }
#animPergunta.voto .apOps button em { flex:none; display:grid; place-items:center; width:24px; height:24px; background:var(--c); font-style:normal; font-weight:900; }
#animPergunta.voto .apOps button.certa { background:var(--c); } #animPergunta.voto .apOps button:disabled { opacity:.4; cursor:default; }
/* brilho nas bordas da tela no "1" de cada compasso (eventos com música) */
#festaVinheta { position:fixed; inset:0; pointer-events:none; z-index:6; opacity:0; box-shadow:inset 0 0 calc(160px * var(--k, 1)) calc(28px * var(--k, 1)) var(--c, #ff3d8b); mix-blend-mode:screen; }
#festaVinheta.on { animation:festaVinheta .42s ease-out; }
@keyframes festaVinheta { 0% { opacity:.95; } 100% { opacity:0; } }
/* ===== caído: tela cinza + painel para chamar a ambulância ===== */
/* tela cinza: uma camada por cima (leve, não pesa no PC fraco) */
#caidoVeu { position:fixed; inset:0; z-index:5; pointer-events:none; background:hsl(0 0% 50%); mix-blend-mode:saturation; opacity:0; transition:opacity .9s; }
#caidoVeu::after { content:""; position:absolute; inset:0; box-shadow:inset 0 0 180px 40px rgba(30,10,20,.55); }
body.estouCaido #caidoVeu { opacity:.88; }
.caidoBox { position:fixed; left:50%; bottom:96px; transform:translateX(-50%); z-index:56; width:min(360px, calc(100vw - 32px)); background:#fff; color:#2a2148; border:2px solid #e0303f; border-radius:0; box-shadow:0 10px 30px rgba(20,10,40,.45); padding:12px; display:flex; flex-direction:column; gap:10px; font-family:"Nunito", sans-serif; animation:caidoEntra .35s ease-out; }
.caidoBox[hidden] { display:none; }
@keyframes caidoEntra { from { transform:translate(-50%, 16px); opacity:0; } to { transform:translate(-50%, 0); opacity:1; } }
.caidoBox .cdTopo { display:flex; align-items:center; gap:10px; }
.caidoBox .cdIc { flex:none; display:grid; place-items:center; width:40px; height:40px; background:#e0303f; animation:caidoBate 1s ease-in-out infinite; }
.caidoBox .cdIc .ic { width:24px; height:24px; background:#fff; }
@keyframes caidoBate { 0%, 100% { transform:scale(1); } 15% { transform:scale(1.12); } 30% { transform:scale(1); } 45% { transform:scale(1.08); } }
.caidoBox .cdTopo b { display:block; font-size:17px; font-weight:900; }
.caidoBox .cdTopo small { font-size:13px; color:#6b5f8a; }
.caidoBox .cdOps { display:flex; flex-direction:column; gap:6px; }
.caidoBox .cdAmb, .caidoBox .cdEsp { display:flex; align-items:center; gap:10px; padding:10px; border-radius:0; text-align:left; font:inherit; }
.caidoBox .cdAmb { background:#e0303f; color:#fff; border:0; cursor:pointer; box-shadow:0 3px 0 #a01a2c; }
.caidoBox .cdAmb:hover:not(:disabled) { filter:brightness(1.08); }
.caidoBox .cdAmb:active:not(:disabled) { transform:translateY(2px); box-shadow:0 1px 0 #a01a2c; }
.caidoBox .cdAmb.chamada { background:#2f9e6b; box-shadow:0 3px 0 #1d6b47; cursor:default; }
.caidoBox .cdAmb .ic, .caidoBox .cdEsp .ic { width:24px; height:24px; flex:none; }
.caidoBox .cdAmb .ic { background:#fff; }
.caidoBox .cdEsp { background:#f3effc; color:#4a3d72; }
.caidoBox .cdEsp .ic { background:#7a62c9; }
.caidoBox .cdAmb b, .caidoBox .cdEsp b { display:block; font-size:14.5px; font-weight:900; }
.caidoBox .cdAmb small, .caidoBox .cdEsp small { display:block; font-size:12.5px; opacity:.92; }
.caidoBox .cdDica { font-size:11.5px; color:#7d7398; }
/* doença (fica logo abaixo do aviso da gripe) */
.doencaBox { top:262px; border-color:#f0b45a; border-radius:0; }
.doencaBox .gbTopo button { background:#e08a1e; }
.doencaBox.grave { border-color:#e0303f; animation:doencaPisca 1.6s ease-in-out infinite; }
.doencaBox.grave .gbTopo button { background:#e0303f; }
.doencaBox .dbAlerta { color:#c0182c; font-weight:900; }
@keyframes doencaPisca { 50% { box-shadow:0 0 0 4px rgba(224,48,63,.25), 0 6px 16px rgba(0,0,0,.18); } }
@media (max-width:520px) { .doencaBox { top:auto; bottom:210px; } }
