:root {
  --panel: #fff7ea;
  --panel-border: #c98a3e;
  --panel-dark: #8a5a2b;
  --accent: #ff9f1c;
  --accent-2: #2ec4b6;
  --text: #4a2f14;
  --green: #4caf50;
  --red: #e53935;
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #2b1d10; color: var(--text); }
canvas#game { position: fixed; inset: 0; width: 100%; height: 100%; display: block; cursor: default; touch-action: none; }
.hidden { display: none !important; }
#visit-bar { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; background: rgba(60,35,15,.92); color: #fff; padding: 8px 10px 8px 18px; border-radius: 14px; border: 3px solid #f0b55a; font-weight: 800; font-size: 16px; z-index: 25; }
#visit-bar { max-width: calc(100vw - 24px); flex-wrap: wrap; justify-content: center; }
#visit-bar button { white-space: nowrap; }
@media (max-width: 700px) { #visit-bar { top: 66px; font-size: 13px; } }
#visit-bar button { padding: 8px 14px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#ffd27a, #f0a33a); font-weight: 800; cursor: pointer; color: #4a2f14; }

#hud { position: fixed; inset: 0; pointer-events: none; }
#hud > * { pointer-events: auto; }
#hud-left { position: absolute; top: 12px; left: 12px; display: flex; gap: 10px; }
#hud-right { position: absolute; top: 12px; right: 12px; display: flex; gap: 10px; }
#hud-bottom { position: absolute; bottom: 14px; right: 14px; display: flex; gap: 10px; }

.hud-pill {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(#5b3a1c, #3b2410);
  border: 3px solid #d9a05b; border-radius: 30px; padding: 4px 14px 4px 6px;
  color: #fff; font-weight: 800; font-size: 20px; text-shadow: 0 2px 0 #000;
  box-shadow: 0 4px 0 #1f1208, 0 6px 12px rgba(0,0,0,.5);
  min-height: 44px;
}
.hud-pill img { height: 34px; width: auto; filter: drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
.level-badge {
  width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(#ffd86b, #ff9f1c);
  border: 3px solid #fff3c4; display: grid; place-items: center; font-size: 18px; color: #4a2f14; text-shadow: none;
}
.xp-wrap { display: flex; flex-direction: column; gap: 2px; min-width: 150px; }
.xp-bar { height: 12px; background: #1b1007; border-radius: 8px; overflow: hidden; border: 2px solid #9a6a36; }
.xp-fill { height: 100%; width: 0; background: linear-gradient(#7ee787, #2e9d3b); transition: width .3s; }
.xp-text { font-size: 11px; font-weight: 600; opacity: .9; }

.hud-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 78px; height: 78px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(#ffd27a, #f0a33a); border: 3px solid #fff1c9;
  box-shadow: 0 5px 0 #a35f12, 0 8px 14px rgba(0,0,0,.45);
  color: #4a2f14; font-weight: 800; font-size: 13px;
}
.hud-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #a35f12; }
.hud-btn img { height: 38px; }
#btn-expand-label { font-size: 11px; line-height: 1.1; text-align: center; }
.hud-btn .ico { font-size: 30px; line-height: 1; }
.hud-btn.active { background: linear-gradient(#8ef0e2, #2ec4b6); border-color: #d9fff9; box-shadow: 0 5px 0 #157a70; }

#toasts { position: absolute; top: 80px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.toast { background: rgba(40,25,10,.92); color: #fff; padding: 8px 16px; border-radius: 20px; border: 2px solid #d9a05b; font-weight: 700; animation: toast 3s forwards; }
@keyframes toast { 0% { opacity: 0; transform: translateY(-10px);} 10% { opacity: 1; transform: none;} 80% { opacity: 1;} 100% { opacity: 0; } }

#build-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: rgba(40,25,10,.92); color: #fff; padding: 10px 18px; border-radius: 14px; border: 2px solid #d9a05b; font-weight: 600; text-align: center; }
#build-hint button { padding: 4px 10px; margin: 4px 2px; border-radius: 8px; border: 2px solid #fff1c9; background: linear-gradient(#ffd27a, #f0a33a); font-weight: 800; cursor: pointer; color: #4a2f14; font-size: 13px; }
#build-hint .dica-barra { display: flex; align-items: center; gap: 8px; }
#build-hint .dica-txt { flex: 1; }
#build-hint .dica-alca { cursor: grab; touch-action: none; user-select: none; font-size: 22px; line-height: 1; padding: 6px 8px; margin-left: -10px; border-radius: 10px; color: #ffd27a; background: rgba(255,255,255,.08); border: 1px dashed rgba(255,210,122,.5); }
#build-hint.arrastando .dica-alca { cursor: grabbing; background: rgba(255,255,255,.15); }
#build-hint .dica-min { margin: 0 -8px 0 0 !important; padding: 4px 10px !important; min-width: 36px; font-size: 16px !important; }
/* minimizada: some o texto e fica tudo numa linha só (alça, botões, ▴) */
#build-hint.mini { display: flex; align-items: center; gap: 4px; padding: 4px 12px; width: max-content !important; max-width: calc(100vw - 16px); }
#build-hint.mini .dica-botoes button { white-space: nowrap; }
#build-hint.mini .dica-barra { display: contents; }
#build-hint.mini .dica-txt { display: none; }
#build-hint.mini .dica-botoes { order: 1; display: flex; flex-wrap: wrap; justify-content: center; }
#build-hint.mini .dica-min { order: 2; margin: 0 -6px 0 4px !important; }
body.toque #build-hint.mini .dica-botoes button { margin-top: 0; }
#build-hint kbd { background: #222; padding: 1px 6px; border-radius: 4px; border: 1px solid #666; }
/* celular (body.toque, posto pelo main.js conforme o último toque): botões maiores e textos de mouse/teclado escondidos */
body.toque #build-hint button { padding: 9px 14px; margin: 6px 3px 0; font-size: 15px; }
body.toque .so-pc, body:not(.toque) .so-toque { display: none; }

/* Painéis */
.panel {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(960px, 94vw); height: min(640px, 88vh);
  background: var(--panel); border: 5px solid var(--panel-border); border-radius: 22px;
  box-shadow: 0 0 0 4px #5b3a1c, 0 20px 50px rgba(0,0,0,.6);
  display: flex; flex-direction: column; overflow: hidden; z-index: 20;
}
.panel.small { width: min(520px, 94vw); height: auto; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; background: linear-gradient(#ffb85c, #f08a1d); border-bottom: 4px solid var(--panel-border); }
.panel-head h2 { margin: 0; font-size: 22px; color: #fff; text-shadow: 0 2px 0 #8a4a0a; }
.close { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; background: var(--red); color: #fff; font-size: 24px; font-weight: 900; cursor: pointer; line-height: 1; }
.tabs { display: flex; gap: 6px; padding: 10px 14px 0; overflow-x: auto; flex-shrink: 0; }
.tab { padding: 8px 14px; border-radius: 12px 12px 0 0; background: #e9cfa5; border: 2px solid var(--panel-border); border-bottom: none; cursor: pointer; font-weight: 700; white-space: nowrap; }
.tab.active { background: #fff; color: #a35f12; }
.tab-badge { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: #e53935; color: #fff; font-size: 11px; line-height: 18px; text-align: center; vertical-align: 1px; }
.grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 14px; background: #fff; border-top: 2px solid var(--panel-border); }
.shop-limite { grid-column: 1 / -1; background: #fff6df; border: 2px solid #f0c060; border-radius: 10px; padding: 8px 12px; font-size: 14px; color: #5a3a10; line-height: 1.4; }
.shop-limite.cheio { background: #ffe8e2; border-color: #e88b74; }
.card {
  border: 3px solid #e2c597; border-radius: 14px; background: #fffaf2; padding: 8px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px; transition: transform .08s;
}
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card.locked { opacity: .55; filter: grayscale(.6); cursor: not-allowed; }
.card.novo { border-color: #f0a33a; box-shadow: 0 0 0 2px #ffd27a; position: relative; }
.card.novo::before { content: "NOVO"; position: absolute; top: 4px; left: 4px; background: #e53935; color: #fff; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 8px; z-index: 1; }
.card .thumb { width: 120px; height: 100px; display: grid; place-items: center; }
.card .thumb img { max-width: 120px; max-height: 100px; }
.card .name { font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; min-height: 2.4em; }
.card .price { display: flex; align-items: center; gap: 4px; font-weight: 800; color: #4a2f14; background: #ffe7b8; padding: 2px 10px; border-radius: 12px; font-size: 13px; }
.card .price img { height: 16px; }
.card .meta { font-size: 11px; color: #7a5a3a; text-align: center; }
.card .lock { font-size: 11px; color: var(--red); font-weight: 700; }
.card .bonus { font-size: 11px; font-weight: 800; color: #2e7d32; background: #e3f4dc; padding: 1px 8px; border-radius: 10px; text-align: center; }

.ctx { position: fixed; z-index: 30; display: flex; flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 12px); box-sizing: border-box; gap: 6px; background: rgba(40,25,10,.95); padding: 6px; border-radius: 14px; border: 2px solid #d9a05b; transform: translate(-50%, -100%); }
.ctx button { width: 54px; height: 54px; border-radius: 12px; border: 2px solid #fff1c9; background: linear-gradient(#ffd27a, #f0a33a); font-size: 22px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; color: #4a2f14; }
.ctx button small { font-size: 10px; }
.ctx button .ic { width: 28px; height: 28px; margin-bottom: 1px; }
img.ic { width: 1.25em; height: 1.25em; object-fit: contain; vertical-align: -.28em; pointer-events: none; }
@media (max-width: 420px) { .ctx { gap: 4px; padding: 5px; } .ctx button { width: 50px; height: 52px; font-size: 20px; } .ctx button small { font-size: 9px; } }
.ctx button.danger { background: linear-gradient(#ff8a80, #e53935); color: #fff; }
.ctx button.ok { background: linear-gradient(#8ef0e2, #2ec4b6); }

.menu-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.menu-body label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.menu-body select, .menu-body input { padding: 8px; border-radius: 8px; border: 2px solid var(--panel-border); font-size: 15px; }
.menu-body .row { display: flex; gap: 8px; flex-wrap: wrap; }
.menu-body button { padding: 10px 14px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#ffd27a, #f0a33a); font-weight: 800; cursor: pointer; color: #4a2f14; }
.menu-body button.danger { background: linear-gradient(#ff8a80, #e53935); color: #fff; }
.menu-body button:disabled { opacity: .5; filter: grayscale(.5); cursor: not-allowed; }
.muted { color: #7a5a3a; font-size: 13px; margin: 0; }

/* Estrelas do café e Livro de receitas */
#pill-stars { cursor: pointer; position: relative; padding-right: 16px; }
#pill-stars img { height: 30px; }
#pill-stars .badge { position: absolute; top: -8px; right: -10px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #e53935; color: #fff; border: 2px solid #fff; font-size: 12px; line-height: 18px; text-align: center; text-shadow: none; }
#pill-stars .badge:empty { display: none; }
.livro-topo { padding: 8px 16px 0; font-size: 14px; font-weight: 600; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.livro-topo .grande { font-size: 20px; font-weight: 800; color: #a35f12; display: flex; align-items: center; gap: 6px; }
.livro-topo .grande img { height: 28px; }
.card .estrelas { display: flex; gap: 2px; }
.card .estrelas img { height: 20px; }
.card .barra { width: 100%; height: 10px; background: #eadbc4; border-radius: 6px; overflow: hidden; border: 1px solid #c98a3e; }
.card .barra div { height: 100%; background: linear-gradient(#ffd27a, #f0a33a); }
.card.pronta { border-color: #43c04a; box-shadow: 0 0 0 3px #c9f2cb; animation: tutPulsa 1s ease-in-out infinite alternate; }
.card.dominado { background: linear-gradient(#fffbe6, #fff1c2); border-color: #f0c040; }
.card .chapeu { height: 22px; vertical-align: middle; }
.card button.pegar { padding: 6px 10px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#8ef08e, #3fae49); font-weight: 800; cursor: pointer; color: #173d1a; font-size: 12px; }
.card .recomp { font-size: 11px; color: #7a5a3a; text-align: center; }
.ranking { grid-column: 1 / -1; }
.ranking table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ranking td, .ranking th { padding: 8px; border-bottom: 1px dashed #e2c597; text-align: left; }
.ranking th { color: #7a5a3a; font-size: 12px; }
.ranking tr.eu td { background: #fff4dc; font-weight: 800; }
.ranking .pos { font-size: 18px; font-weight: 800; width: 40px; }
.ranking .num { text-align: right; }

/* Avatar */
.card.avatar canvas { width: 110px; height: 140px; }
.card.avatar.atual { border-color: #2ec4b6; box-shadow: 0 0 0 3px #bff3ec; }
.card.avatar .price img { height: 14px; }
canvas.mini-av { width: 32px; height: 40px; vertical-align: middle; margin-right: 6px; }

/* Molhos */
#pill-molhos { cursor: pointer; font-size: 15px; padding-right: 12px; }
#pill-molhos img { height: 30px; }
#pill-molhos.ativo { border-color: #8ef0e2; box-shadow: 0 4px 0 #1f1208, 0 0 12px #2ec4b6; }
#pill-vip { cursor: pointer; font-size: 15px; padding: 4px 12px 4px 8px; gap: 5px; }
#pill-vip .vip-coroa { font-size: 22px; filter: grayscale(1) brightness(1.3); text-shadow: none; }
#pill-vip.ativo { background: linear-gradient(#ffd86b, #e89a14); border-color: #fff3c4; color: #4a2f14; text-shadow: 0 1px 0 #fff6d5; box-shadow: 0 4px 0 #7a4a06, 0 0 12px #ffcf4a; }
#pill-vip.ativo .vip-coroa { filter: none; }
.molho .mi-ativo { color: #157a70; font-weight: 800; font-size: 12px; }
.molho .botoes { display: flex; flex-direction: column; gap: 6px; }
.molho .botoes button { padding: 6px 10px; font-size: 12px; }
@media (max-width: 700px) { #hud-molhos { display: none; } }

/* Celebridades */
#btn-celebs .badge { background: #f5b400; color: #4a2f14; }
.card.celeb { cursor: default; }
.card.celeb canvas, .card.celeb .desconhecida { width: 110px; height: 140px; }
.card.celeb .desconhecida { object-fit: contain; opacity: .7; }
.card.celeb.nocafe { border-color: #f5b400; box-shadow: 0 0 0 3px #ffe9a8; }
.card .coracoes { display: flex; gap: 1px; }
.card .coracoes img { height: 18px; }
.card .coracoes img.vazio { filter: grayscale(1); opacity: .35; }
.card .favs { display: flex; gap: 4px; justify-content: center; }
.card .favs img { height: 30px; }
.card .estado { font-size: 11px; font-weight: 800; text-align: center; }
.card .estado.agora { color: #2e7d32; }
@media (max-width: 520px) { .hud-btn { width: 56px; } }

/* Caixa de presentes entre amigos */
#pill-presentes { cursor: pointer; position: relative; padding: 4px 10px; }
#pill-presentes img { height: 30px; }
#pill-presentes { padding: 4px 10px; }                 /* só o ícone (21/10/2026) */
#pill-radio { cursor: pointer; position: relative; padding: 4px 10px; }
#pill-radio img { height: 30px; }
#pill-radio.tocando img { animation: radio-pulsa 1s ease-in-out infinite; }
@keyframes radio-pulsa { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12) rotate(-4deg); } }
#caixa .tabs { padding-top: 8px; }
#pill-presentes .badge { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: #e53935; color: #fff; border: 2px solid #fff; font-size: 12px; line-height: 18px; text-align: center; text-shadow: none; }
#pill-presentes .badge:empty { display: none; }
#pill-presentes.tem img { animation: presentePula .7s ease-in-out infinite alternate; }
@keyframes presentePula { to { transform: translateY(-4px) rotate(-6deg); } }
#caixa-body { max-height: 70vh; overflow-y: auto; }
#caixa-body h3 { margin: 0 0 6px; font-size: 15px; color: #a35f12; display: flex; justify-content: space-between; align-items: center; }
.cx-lista { display: flex; flex-direction: column; gap: 6px; }
.cx-item { display: flex; align-items: center; gap: 10px; border: 2px solid #e2c597; border-radius: 12px; padding: 6px 10px; background: #fffaf2; }
.cx-item img { width: 36px; height: 36px; object-fit: contain; }
.cx-item .cx-txt { flex: 1; font-size: 13px; }
.cx-item .cx-txt b { color: #a35f12; }
.cx-item button { padding: 6px 10px !important; font-size: 12px; }
.cx-item button:disabled { opacity: .55; }
.aviso-sujo { color: #b0461b; font-weight: 700; font-size: 13px; margin: 6px 0 0; }
.cx-item.novo { border-color: #f0a030; background: #fff3dc; }
#visit-bar #btn-visit-presente { background: linear-gradient(#8ef08e, #3fae49); color: #173d1a; }
#visit-bar #btn-visit-presente:disabled { opacity: .55; cursor: default; }

/* Missões e conquistas */
/* quadro de missões da tela principal (22/10/2026, tela reimaginada pela IA: arte_nova\hud\tela_original.webp) */
#missoes-box { position: absolute; top: 74px; left: 12px; width: 290px; z-index: 4; color: #4a1e08; padding: 0; overflow: hidden;
  background: linear-gradient(#fff8e6, #fdebc8); border: 4px solid #e8a33c; border-radius: 20px;
  box-shadow: 0 0 0 2px #fff3d3 inset, 0 5px 0 #b8661a, 0 10px 18px rgba(0,0,0,.35); }
#missoes-box .mb-cab { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; cursor: pointer;
  background: linear-gradient(#fffaf0, #fbe5bd); border-bottom: 2px solid #efcf98; }
#missoes-box .mb-cab img { height: 34px; width: 34px; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(0,0,0,.25)); }
#missoes-box .mb-titulo { font-size: 20px; font-weight: 900; color: #4a1e08; letter-spacing: .2px; }
#missoes-box .mb-cab .seta { margin-left: auto; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
#missoes-box .mb-cab .seta::before { content: ""; border: 7px solid transparent; border-top: 9px solid #5b2a0c; border-bottom: 0; transition: transform .15s; }
#missoes-box .mb-cab .seta.fechada::before { transform: rotate(-90deg); }
#missoes-box .mb-cab .badge { background: #e53935; color: #fff; border: 2px solid #fff; border-radius: 12px; padding: 0 7px; font-size: 12px; font-weight: 900; }
#missoes-box .mb-item { display: flex; gap: 10px; align-items: center; padding: 6px 12px 7px 8px; cursor: pointer; }
#missoes-box .mb-item + .mb-item { border-top: 2px solid #f1dcb4; }
#missoes-box .mb-item:hover { background: rgba(255,255,255,.45); }
#missoes-box .mb-item img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 2px 1px rgba(0,0,0,.2)); }
#missoes-box .mb-txt { font-size: 14px; font-weight: 600; line-height: 1.2; flex: 1; min-width: 0; }
#missoes-box .mb-barra { height: 9px; margin-top: 5px; border-radius: 6px; overflow: hidden; background: #f1e2c6; box-shadow: inset 0 1px 2px rgba(91,42,12,.35); }
#missoes-box .mb-barra div { height: 100%; border-radius: 6px; background: linear-gradient(#7ee05a, #34a52a); box-shadow: inset 0 2px 0 rgba(255,255,255,.4); }
#missoes-box .mb-item.feita .mb-txt { color: #23801c; font-weight: 800; }
#missoes-box .mb-item.feita { background: linear-gradient(90deg, rgba(126,224,90,.18), transparent); }
#missoes-box.fechado .mb-item { display: none; }
#missoes-box.fechado .mb-cab { border-bottom: 0; }
/* novidade nas missões com o quadro recolhido (26/10/2026, pedido do dono): a seta vermelha dos Avisos, à direita, apontando para ele */
#missoes-box.fechado { overflow: visible; }
#missoes-box.fechado .mb-cab { border-radius: 16px; }          /* sem o recorte do quadro: o fundo do cabeçalho segue o canto (20 − 4 de borda) */
#missoes-box .mb-cab { position: relative; }
#missoes-box .mb-alerta { display: none; }
#missoes-box.fechado .mb-alerta { display: block; position: absolute; left: calc(100% + 6px); top: 50%; width: 54px; height: 54px; margin-top: -27px; cursor: pointer;   /* tocar abre o quadro */
  background: url(../assets/ui/ic/seta_alerta_esquerda.png) center / contain no-repeat;      /* arte da IA (PEDIDOS_IA_SETAS.txt) */
  animation: mbAlerta .7s ease-in-out infinite alternate; filter: drop-shadow(0 2px 1px rgba(0,0,0,.3)); }
@keyframes mbAlerta { from { transform: translateX(8px); } to { transform: translateX(0); } }
@media (max-width: 700px) { #missoes-box { top: 120px; width: 200px; } .xp-wrap { min-width: 80px; } .xp-text { display: none; }
  #missoes-box { border-width: 3px; border-radius: 16px; } #missoes-box.fechado .mb-cab { border-radius: 13px; }
  #missoes-box .mb-cab { padding: 4px 8px 4px 6px; gap: 6px; } #missoes-box .mb-cab img { width: 26px; height: 26px; } #missoes-box .mb-titulo { font-size: 16px; }
  #missoes-box .mb-item { gap: 7px; padding: 5px 8px 5px 6px; } #missoes-box .mb-item img { width: 28px; height: 28px; }
  #missoes-box .mb-txt { font-size: 11.5px; } #missoes-box .mb-barra { height: 7px; margin-top: 3px; } }
@media (max-height: 600px) { #missoes-box .mb-item img { width: 26px; height: 26px; } #missoes-box .mb-txt { font-size: 11.5px; } }    /* tela baixa: linhas mais compactas */
.missao { display: flex; gap: 12px; align-items: center; border: 3px solid #e2c597; border-radius: 14px; padding: 10px; background: #fffaf2; }
.missao.feita { border-color: #43c04a; background: #f0fbef; }
.missao > img { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0; }
.missao .mi-corpo { flex: 1; min-width: 0; }
.missao .mi-txt { font-weight: 800; font-size: 14px; }
.missao .mi-rec { font-size: 12px; color: #7a5a3a; margin-top: 2px; }
.missao .mi-barra { height: 10px; background: #eadbc4; border-radius: 6px; overflow: hidden; border: 1px solid #c98a3e; margin-top: 6px; }
.missao .mi-barra div { height: 100%; background: linear-gradient(#ffd27a, #f0a33a); }
.missao.feita .mi-barra div { background: linear-gradient(#8ef08e, #3fae49); }
.missao .mi-num { font-size: 11px; color: #7a5a3a; }
.missao button.pegar { padding: 8px 12px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#8ef08e, #3fae49); font-weight: 800; cursor: pointer; color: #173d1a; }
.missao button.trocar { padding: 6px 10px; font-size: 12px; background: #fff; border: 2px solid #e2c597; }
.conq-niveis { display: flex; gap: 3px; margin-top: 3px; }
.conq-niveis span { width: 16px; height: 6px; border-radius: 3px; background: #e2c597; }
.conq-niveis span.ok { background: #f0a33a; }
.missao .selo { width: 44px; height: 44px; }
#missoes-body { max-height: 66vh; overflow-y: auto; gap: 10px; }

/* Festival do Brasil */
.festival { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.fest-regiao { border: 3px solid; border-radius: 14px; overflow: hidden; background: #fffaf2; }
.fest-cab { color: #fff; font-weight: 800; padding: 6px 12px; font-size: 15px; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.fest-pratos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px; }
.fest-prato { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; font-size: 12px; }
.fest-prato img { height: 56px; max-width: 100%; object-fit: contain; }
.fest-prato .nome { font-weight: 800; }
.fest-prato .barra { width: 100%; height: 8px; background: #eadbc4; border-radius: 6px; overflow: hidden; }
.fest-prato .barra div { height: 100%; background: linear-gradient(#8ef08e, #3fae49); }
.fest-prato .meta { color: #7a5a3a; font-size: 11px; }
.fest-prato.locked img { filter: grayscale(1); opacity: .5; }
.fest-prato.ok .nome { color: #2e7d32; }
.fest-prato.falta { opacity: .5; justify-content: center; min-height: 60px; }
.fest-pe { padding: 0 12px 10px; text-align: right; }

/* Geladeira */
.hud-btn { position: relative; }
.hud-btn .badge { position: absolute; top: -8px; right: -8px; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 11px; background: #2e8bc0; color: #fff; border: 2px solid #fff; font-size: 12px; line-height: 18px; text-align: center; box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.hud-btn .badge:empty { display: none; }
.hud-btn .badge.cheia { background: #e53935; }
#geladeira-itens { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.gel-slot { border: 3px solid #bfe3f5; background: linear-gradient(#f4fbff, #dff1fb); border-radius: 14px; padding: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 150px; justify-content: center; }
.gel-slot img { max-width: 80px; max-height: 64px; }
.gel-slot .nome { font-size: 12px; font-weight: 800; text-align: center; line-height: 1.2; }
.gel-slot .porc { font-size: 12px; color: #2e6f96; font-weight: 700; }
.gel-slot button { padding: 5px 8px !important; font-size: 12px; }
.gel-slot.vazio { border-style: dashed; background: #f6fafc; color: #9ab3c2; font-weight: 700; font-size: 13px; }
@media (max-width: 520px) { #hud-bottom { gap: 6px; right: 8px; } .hud-btn { width: 62px; height: 66px; font-size: 11px; } .hud-btn img { height: 30px; } .hud-btn .ico { font-size: 24px; } }

/* Eventos e presentes */
#eventos-bar { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: min(640px, calc(100vw - 560px)); z-index: 5; }
#eventos-bar .evento { background: linear-gradient(#7b3fc4, #5a2a99); color: #fff; border: 2px solid #e3c8ff; border-radius: 16px; padding: 5px 12px; font-size: 13px; font-weight: 600; box-shadow: 0 3px 8px rgba(0,0,0,.4); cursor: pointer; }
#eventos-bar .evento.aviso { background: linear-gradient(#2e8bc0, #1c6a96); border-color: #cdeeff; }
#eventos-bar .evento.breve { background: rgba(40,25,10,.9); border-color: #d9a05b; }
@media (max-width: 900px) { #eventos-bar { top: 66px; max-width: calc(100vw - 24px); } }
#presente-body .item { font-size: 22px; font-weight: 800; color: #2e7d32; display: flex; align-items: center; gap: 8px; }
#presente-body .item img { height: 30px; }
#presente-body .item.neg { color: #c62828; }
#presente-body .msg { background: #fff4dc; border-left: 4px solid #f0a33a; padding: 8px 12px; border-radius: 6px; margin: 8px 0; font-style: italic; }

/* Bônus do café */
#bonus { max-height: 88vh; }
#bonus-body { overflow-y: auto; gap: 12px; }
#bonus-body h3 { margin: 0 0 4px; font-size: 15px; color: #a35f12; }
#bonus-body ul { margin: 0; padding: 0; list-style: none; }
#bonus-body li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dashed #e2c597; font-size: 13px; }
#bonus-body li b { white-space: nowrap; color: #2e7d32; }
#bonus-body li.sem b { color: #9a8a7a; font-weight: 600; }
.bonus-barra { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 2px 0; }
.bonus-barra > span:first-child { width: 90px; }
.bonus-barra .trilho { flex: 1; height: 12px; background: #eadbc4; border-radius: 8px; overflow: hidden; border: 1px solid #c98a3e; }
.bonus-barra .cheio { height: 100%; background: linear-gradient(#7ee787, #2e9d3b); }
.bonus-barra b { width: 42px; text-align: right; }

/* Lucros e despesas */
#pill-coins { cursor: pointer; }
#financas { width: min(600px, 94vw); max-height: 90vh; }
#financas .tabs { padding-top: 8px; }
#fin-body { overflow-y: auto; gap: 12px; background: #fff; border-top: 2px solid var(--panel-border); }
#fin-body h3 { margin: 0 0 4px; font-size: 15px; color: #a35f12; }
.fin-tab { width: 100%; border-collapse: collapse; font-size: 13px; }
.fin-tab td { padding: 3px 0; border-bottom: 1px dashed #e2c597; }
.fin-tab td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.fin-tab tr.sub td { font-weight: 800; color: #a35f12; border-bottom: none; padding-top: 8px; }
.fin-tab tr.tot td { border-top: 2px solid #c98a3e; border-bottom: none; font-size: 15px; font-weight: 800; }
.fin-pos { color: #2e7d32; } .fin-neg { color: #c62828; } .fin-zero { color: #9a8a7a; }
.fin-dica { background: #fff4dc; border-left: 4px solid #f0a33a; padding: 6px 10px; border-radius: 6px; font-size: 13px; margin: 0; }
.fin-func { border: 2px solid #e2c597; border-radius: 10px; padding: 6px 10px; font-size: 13px; }
.fin-func + .fin-func { margin-top: 6px; }
.fin-func .topo { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; }
.fin-func .ocup { height: 8px; background: #eadbc4; border-radius: 6px; overflow: hidden; margin: 4px 0; }
.fin-func .ocup div { height: 100%; background: linear-gradient(#ffd27a, #f0a33a); }
.fin-func .veredito { font-weight: 700; }

/* Tutorial */
#tutorial { position: fixed; left: 14px; bottom: 14px; width: min(360px, calc(100vw - 28px)); z-index: 40; background: var(--panel); border: 4px solid var(--panel-border); border-radius: 16px; box-shadow: 0 0 0 3px #5b3a1c, 0 12px 30px rgba(0,0,0,.55); padding: 10px 14px 12px; animation: tutIn .25s ease-out; }
body.com-dica #tutorial { bottom: calc(var(--dica-h, 60px) + 28px); }
/* desfazer a última compra de piso/parede/janela/porta (5 s) */
#desfazer { position: fixed; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 45; padding: 9px 16px; border-radius: 14px; border: 3px solid #fff1c9;
  background: linear-gradient(#ffd27a, #f0a33a); color: #4a2f14; font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.4); white-space: nowrap; animation: tutIn .2s ease-out; }
#desfazer span { font-weight: 600; font-size: 13px; }
#desfazer b { display: inline-block; min-width: 22px; margin-left: 6px; border-radius: 11px; background: #a35f12; color: #fff; text-align: center; }
body.com-dica #desfazer { bottom: calc(var(--dica-h, 60px) + 28px); }       /* barra de dicas à mostra: o tutorial fica acima dela */
#tutorial .tut-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; color: #a35f12; }
#tutorial .tut-head span { font-size: 12px; color: #7a5a3a; }
#tutorial p { margin: 6px 0 10px; font-size: 14px; line-height: 1.4; }
#tutorial kbd { background: #eee; padding: 0 5px; border-radius: 4px; border: 1px solid #bbb; font-size: 12px; }
#tutorial .tut-botoes { display: flex; justify-content: space-between; gap: 8px; }
#tutorial button { padding: 8px 14px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#ffd27a, #f0a33a); font-weight: 800; cursor: pointer; color: #4a2f14; }
#tutorial .tut-pular { background: none; border-color: transparent; color: #7a5a3a; font-weight: 600; text-decoration: underline; padding-left: 0; }
#tutorial .tut-ok { margin-left: auto; }
@keyframes tutIn { from { opacity: 0; transform: translateY(10px); } }
#tut-seta { position: fixed; z-index: 15; pointer-events: none; font-size: 42px; color: #ffcf3d; text-shadow: 0 0 3px #5b3a1c, 0 3px 0 #5b3a1c, 0 0 12px rgba(0,0,0,.6); transform: translate(-50%, -100%); animation: tutSeta .8s ease-in-out infinite alternate; }
@keyframes tutSeta { to { margin-top: -14px; } }
.tut-alvo { outline: 4px solid #ffcf3d !important; outline-offset: 3px; animation: tutPulsa 1s ease-in-out infinite alternate; position: relative; z-index: 1; }
@keyframes tutPulsa { to { outline-color: #ff7b1c; } }

#loading {position: fixed; inset: 0; background: #2b1d10; display: grid; place-items: center; z-index: 100; color: #fff; font-size: 22px; font-weight: 700; gap: 10px; grid-auto-flow: row; align-content: center; justify-items: center; }
.spinner { width: 54px; height: 54px; border: 6px solid #5b3a1c; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- celular (por último, para valer sobre as regras anteriores) ---------- */
.panel.small { max-height: 92vh; }
.panel.small > .menu-body { overflow-y: auto; }
@media (max-width: 700px) {
  #hud-right { top: 8px; right: 8px; gap: 6px; }
  #hud-left { top: 62px; left: 8px; gap: 6px; }            /* segunda linha: nível, estrelas e molhos */
  .hud-pill { min-height: 40px; max-height: 46px; font-size: 16px; padding: 3px 10px 3px 5px; white-space: nowrap; }
  #pill-vip { padding: 3px 9px 3px 6px; gap: 3px; font-size: 13px; }
  #pill-vip .vip-coroa { font-size: 17px; }
  .hud-pill img { height: 28px; }
  .level-badge { width: 32px; height: 32px; font-size: 15px; }
  .xp-wrap { min-width: 60px; }
  #missoes-box { top: 112px; left: 8px; width: 190px; }
  #toasts { top: 112px; width: calc(100vw - 24px); }
  .toast { font-size: 13px; text-align: center; }
  #build-hint { width: calc(100vw - 16px); bottom: 84px; font-size: 13px; padding: 8px 10px; }
  #tutorial { bottom: 84px; }
  body.com-dica #tutorial { bottom: auto; top: 112px; }      /* celular: sobe para o topo e libera a barra de Girar/Colocar */
  #desfazer { bottom: 84px; font-size: 13px; max-width: calc(100vw - 16px); white-space: normal; }
  body.com-dica #desfazer { bottom: calc(var(--dica-h, 60px) + 92px); }
}
@media (max-width: 380px) {           /* celulares estreitos: a fileira nível/estrelas/molhos/VIP cabe sem sair da tela */
  #hud-left { gap: 4px; }
  #hud-left .hud-pill { padding: 3px 7px 3px 4px; }
  .xp-wrap { min-width: 36px; }
}
@media (max-width: 520px) {
  #hud-bottom { left: 6px; right: 6px; bottom: 8px; gap: 4px; justify-content: space-between; }
  .hud-btn { flex: 1 1 0; width: auto; min-width: 0; height: 64px; font-size: 10px; border-radius: 14px; }
  .hud-btn img { height: 28px; }
  .hud-btn .ico { font-size: 22px; }
  #btn-expand-label { font-size: 9px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; padding: 8px; }
  .card .thumb { width: 90px; height: 76px; }
  .card .thumb img { max-width: 90px; max-height: 76px; }
  .panel-head h2 { font-size: 18px; }
  .panel-head { padding: 8px 12px; }
}

/* Doces do CafêZinho (minijogo match-3) */
.mj-card { display: flex; align-items: center; gap: 12px; padding: 10px; margin: 8px 0; background: #fff8ea; border: 2px solid var(--panel-border); border-radius: 14px; }
.mj-card.locked { opacity: .6; }
.mj-img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.mj-txt { flex: 1; min-width: 0; }
.mj-nome { font-weight: 900; font-size: 17px; color: #7a4a14; }
.mj-info { margin-top: 4px; font-size: 13px; font-weight: 700; color: #a35f12; }
.mj-card button { flex: none; }
/* ---------- TEMA NOVO de janela (22/10/2026, arte do menu de Molhos do dono do jogo) ----------
   .panel.tema-novo: moldura laranja grossa e arredondada, cabeçalho laranja com o título grande branco contornado,
   botão de fechar vermelho redondo, corpo creme. Cartões .mh-card, plaquinhas .mh-chip, botões .mh-usar (verde) e
   .mh-comprar (amarelo) e rodapé .mh-rodape servem para qualquer janela que for passando para o tema. */
.panel.small.tema-novo { width: min(600px, 96vw); }
.panel.tema-novo { background: linear-gradient(#fff4dc, #ffe9bf); border: 6px solid #e8932b; border-radius: 30px;
  box-shadow: 0 0 0 3px #fff2cf inset, 0 10px 0 #b8661a, 0 18px 40px rgba(0,0,0,.45); }
.panel.tema-novo > .panel-head { background: linear-gradient(#ffcb74, #f59a2e 70%, #ee8a1f); border-bottom: 4px solid #d27d1b; padding: 8px 14px 8px 16px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.45); border-radius: 22px 22px 0 0; }
.panel.tema-novo > .panel-head h2 { display: flex; align-items: center; gap: 8px; font-size: 34px; font-weight: 900; color: #fff; letter-spacing: .5px;
  -webkit-text-stroke: 2px #8a3d06; paint-order: stroke fill; text-shadow: 0 4px 0 #8a3d06, 0 6px 6px rgba(0,0,0,.25); }
.panel.tema-novo > .panel-head h2 img { height: 56px; margin: -10px 0 -10px -4px; filter: drop-shadow(0 3px 2px rgba(0,0,0,.3)); }
.panel.tema-novo .close { width: 50px; height: 50px; font-size: 30px; border: 4px solid #fff3d6; background: radial-gradient(circle at 35% 30%, #ff7b6b, #e53935 55%, #b71c1c);
  box-shadow: 0 4px 0 #8e1515, 0 6px 10px rgba(0,0,0,.3); text-shadow: 0 2px 0 #8e1515; }
.panel.tema-novo > .menu-body { padding: 12px 14px 14px; gap: 10px; }
.mh-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 22px; background: linear-gradient(#fffbf1, #fff1d6);
  border: 3px solid #f4d49b; box-shadow: inset 0 2px 0 #fff, 0 3px 0 #e9c486; }
.mh-card.ativo { border-color: #7cc576; background: linear-gradient(#f6fff1, #e3f6d9); box-shadow: inset 0 2px 0 #fff, 0 3px 0 #9fd58f; }
.mh-frasco { width: 92px; height: 92px; flex: none; object-fit: contain; }
.mh-info { flex: 1; min-width: 0; }
.mh-nome { font-size: 21px; font-weight: 900; color: #4a1e08; line-height: 1.1; }
.mh-desc { font-size: 14px; color: #6b4b2e; margin: 3px 0 8px; line-height: 1.25; }
.mh-desc b { color: #4a1e08; }
.mh-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mh-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 18px; background: linear-gradient(#fffaf0, #fbe8c4);
  border: 2px solid #f0d09a; font-weight: 800; font-size: 14px; color: #4a1e08; white-space: nowrap; }
.mh-chip img { height: 22px; }
.mh-chip.ativo { background: linear-gradient(#f2fff0, #d8f3cf); border-color: #7cc576; color: #1e6b1c; }
.mh-botoes { display: flex; flex-direction: column; gap: 8px; flex: none; width: 132px; }
.tema-novo .mh-usar, .tema-novo .mh-comprar { border-radius: 16px; font-weight: 900; cursor: pointer; padding: 6px 4px; }
.tema-novo .mh-usar { background: linear-gradient(#8de462, #43ad2e); border: 3px solid #2f8a1e; color: #fff; font-size: 21px; text-shadow: 0 2px 0 #1f5c14;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 4px 0 #1f5c14; }
.tema-novo .mh-comprar { display: flex; align-items: center; justify-content: center; gap: 5px; background: linear-gradient(#ffdc6a, #f6a823); border: 3px solid #cc7d0c;
  color: #4a1e08; font-size: 16px; box-shadow: inset 0 2px 0 rgba(255,255,255,.55), 0 4px 0 #9a5c05; }
.mh-comprar img { height: 24px; }
.mh-comprar b { font-size: 19px; }
.tema-novo .mh-usar:disabled, .tema-novo .mh-comprar:disabled { filter: grayscale(.6); opacity: .55; cursor: not-allowed; }
.tema-novo .mh-usar:not(:disabled):active, .tema-novo .mh-comprar:not(:disabled):active { transform: translateY(2px); box-shadow: none; }
.mh-rodape { margin-top: 4px; padding: 10px 12px; border-radius: 18px; text-align: center; font-size: 13.5px; color: #4a1e08;
  background: linear-gradient(#fff8e8, #ffeccc); border: 2px solid #f0d3a0; }
@media (max-width: 460px) {
  .panel.tema-novo { border-width: 4px; border-radius: 24px; }
  .panel.tema-novo > .panel-head h2 { font-size: 26px; -webkit-text-stroke-width: 1.5px; }
  .panel.tema-novo > .panel-head h2 img { height: 42px; }
  .panel.tema-novo .close { width: 42px; height: 42px; font-size: 24px; }
  .panel.tema-novo > .menu-body { padding: 8px 8px 10px; }
  .mh-card { gap: 6px; padding: 8px; border-radius: 18px; }
  .mh-frasco { width: 54px; height: 54px; }
  .mh-nome { font-size: 15.5px; } .mh-desc { font-size: 12px; margin-bottom: 5px; }
  .mh-chips { gap: 4px; } .mh-chip { font-size: 11px; padding: 1px 7px; gap: 3px; } .mh-chip img { height: 15px; }
  .mh-botoes { width: 92px; gap: 6px; }
  .tema-novo .mh-usar { font-size: 16px; padding: 5px 2px; }
  .tema-novo .mh-comprar { font-size: 11px; gap: 3px; padding: 5px 2px; } .mh-comprar b { font-size: 14px; } .mh-comprar img { height: 16px; }
  .mh-rodape { font-size: 12px; padding: 8px; }
}
/* combo prato + bebida: selo na Loja, destaque vindo do mini tutorial e os passos do tutorial (ui.js tutorialCombo) */
.card .bonus.combo { color: #c62828; }
.card.destaque { box-shadow: 0 0 0 4px #ff7a1a, 0 0 18px #ffb35c; animation: destaque-pulsa 1s ease-in-out infinite; }
@keyframes destaque-pulsa { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.tc-passo { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 6px 0; background: #fff8ea; border: 2px solid #ead2a8; border-radius: 12px; }
.tc-passo img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.tc-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #ff7a1a; color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
/* rádio online (js/radio.js) */
.radio-agora { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: #f1e6d4; border: 2px solid var(--panel-border); }
.radio-agora.on { background: linear-gradient(#fff3cf, #ffe2a3); }
.radio-estado { font-size: 13px; font-weight: 800; color: #a35f12; }
.radio-nome { font-size: 18px; font-weight: 900; color: #5a3a10; }
.radio-parar { flex: none; }
.radio-vol { display: flex; flex-direction: row !important; align-items: center; gap: 8px; margin: 10px 0 6px; font-weight: 700; }
.radio-vol input { flex: 1; padding: 0 !important; }
#radio-busca { width: 100%; box-sizing: border-box; }
#radio-lista { max-height: 46vh; overflow-y: auto; }
.radio-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 6px 0; background: #fff8ea; border: 2px solid #ead2a8; border-radius: 12px; }
.radio-item.atual { border-color: #f0a33a; background: #fff1cc; }
.radio-txt { flex: 1; display: flex; flex-direction: column; }
.radio-txt .muted { font-size: 13px; }
.radio-item button { flex: none; }
.radio-item .radio-fav { background: none; border: none; box-shadow: none; padding: 0 2px; font-size: 26px; line-height: 1; color: #c9a46a; cursor: pointer; min-width: 0; }
.radio-item .radio-fav.on { color: #f5b400; text-shadow: 0 1px 0 #a36a00; }
.radio-sec { margin: 10px 2px 2px; font-weight: 900; font-size: 14px; color: #a35f12; }
.radio-dica { margin: 4px 2px 6px; font-size: 13px; }
.radio-eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; margin-left: 4px; }
.radio-eq i { width: 3px; background: #e07a10; border-radius: 1px; animation: radio-eq .8s ease-in-out infinite; }
.radio-eq i:nth-child(2) { animation-delay: .25s; } .radio-eq i:nth-child(3) { animation-delay: .5s; }
@keyframes radio-eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
#bem, #jelly { position: fixed; inset: 0; z-index: 25; background: rgba(30,15,5,.55); display: grid; place-items: center; }
#bem.hidden, #jelly.hidden { display: none; }
#jelly-frame { flex: 1; width: 100%; border: 0; background: #2b1a3d; }
@media (max-width: 600px) { #jelly .bem-caixa { width: 100vw; height: 100%; border-radius: 0; border-width: 0; } }
#bem .bem-caixa, #jelly .bem-caixa { width: min(560px, 98vw); height: min(940px, 97vh); display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border: 5px solid var(--panel-border); border-radius: 22px; box-shadow: 0 0 0 4px #5b3a1c, 0 20px 50px rgba(0,0,0,.6); }
#bem .bem-caixa, #jelly .bem-caixa { position: relative; }
.mj-premio { position: absolute; left: 50%; top: 64px; transform: translateX(-50%); z-index: 2; pointer-events: none; opacity: 0; white-space: nowrap;
  background: rgba(40,25,10,.94); color: #ffe7a8; border: 2px solid #d9a05b; border-radius: 20px; padding: 8px 16px; font-weight: 800; font-size: 15px; box-shadow: 0 4px 14px #0005; }
.mj-premio img { height: 20px; vertical-align: -4px; margin-right: 6px; }
.mj-premio.mostra { animation: mj-premio 5s forwards; }
@keyframes mj-premio { 0% { opacity: 0; transform: translate(-50%, -12px) scale(.9); } 6% { opacity: 1; transform: translate(-50%, 0) scale(1.05); } 10% { transform: translate(-50%, 0) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 600px) { .mj-premio { font-size: 13px; padding: 6px 12px; } }
#bem-frame { flex: 1; width: 100%; border: 0; background: #f6f3ee; }
@media (max-width: 600px) { #bem .bem-caixa { width: 100vw; height: 100%; border-radius: 0; border-width: 0; } }
#doces { position: fixed; inset: 0; z-index: 25; background: rgba(30,15,5,.55); display: grid; place-items: center; }
#doces.hidden { display: none; }
#doces .dc-caixa { width: min(640px, 98vw); height: min(860px, 96vh); display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border: 5px solid var(--panel-border); border-radius: 22px; box-shadow: 0 0 0 4px #5b3a1c, 0 20px 50px rgba(0,0,0,.6); }
#dc-hud { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #fff3dc; border-bottom: 2px solid var(--panel-border); flex-wrap: wrap; }
#dc-hud.hidden { display: none; }
#dc-fase { font-weight: 900; color: #a35f12; font-size: 17px; }
.dc-jog { display: flex; align-items: center; gap: 4px; background: #4a68d8; color: #fff; border-radius: 14px; padding: 2px 10px 2px 4px; font-weight: 900; font-size: 18px; }
.dc-jog img { height: 24px; }
.dc-jog.poucas { background: #e53935; animation: dc-pisca .8s infinite alternate; }
@keyframes dc-pisca { to { transform: scale(1.08); } }
#dc-alvos { display: flex; gap: 8px; margin-left: auto; }
.dc-alvo { display: flex; align-items: center; gap: 3px; background: #fff; border: 2px solid #e2c597; border-radius: 12px; padding: 2px 8px 2px 2px; font-weight: 900; color: #4a2f14; }
.dc-alvo img { height: 30px; width: 30px; object-fit: contain; }
.dc-alvo.ok { background: #e3f4dc; border-color: #8bc34a; color: #2e7d32; }
.dc-area { position: relative; flex: 1; min-height: 0; background: radial-gradient(circle at 50% 30%, #6bb3e8, #2e6fb0); }
#dc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
#dc-aviso { position: absolute; left: 50%; top: 12px; transform: translate(-50%, -10px); background: rgba(40,25,10,.9); color: #fff; padding: 6px 14px; border-radius: 14px;
  font-weight: 800; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; text-align: center; max-width: 90%; }
#dc-aviso.on { opacity: 1; transform: translate(-50%, 0); }
#dc-tela { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(40,20,5,.45); padding: 12px; }
#dc-tela.hidden { display: none; }
.dc-fim { background: var(--panel); border: 4px solid var(--panel-border); border-radius: 18px; padding: 16px 18px; width: min(420px, 100%); text-align: center; display: flex; flex-direction: column; gap: 10px; }
.dc-fim h3 { margin: 0; font-size: 24px; color: #a35f12; }
.dc-fim p { margin: 0; font-weight: 700; color: #4a2f14; }
.dc-fim .muted { font-weight: 400; }
.dc-fim .row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.dc-fim button { padding: 10px 16px; border-radius: 12px; border: 2px solid #fff1c9; background: linear-gradient(#ffd27a, #f0a33a); font-weight: 900; cursor: pointer; color: #4a2f14; font-size: 15px; }
.dc-fim button.danger { background: linear-gradient(#ff8a80, #e53935); color: #fff; }
.dc-fim button:disabled { opacity: .5; filter: grayscale(.5); cursor: not-allowed; }
.dc-estrelas img { height: 54px; margin: 0 4px; }
.dc-vidas img { height: 34px; margin: 0 2px; }
.dc-estrelas img.apagada, .dc-vidas img.apagada { filter: grayscale(1); opacity: .35; }
.dc-alvo-txt { display: inline-flex; align-items: center; gap: 2px; }
.dc-alvo-txt img { height: 26px; }
.dc-regras { font-size: 12px; }
@media (max-width: 600px) { #doces .dc-caixa { width: 100vw; height: 100%; border-radius: 0; border-width: 0; } #dc-alvos { margin-left: 0; } }

/* Convites */
.convite-aviso { background: #fff3dc; border: 2px solid #f0a030; border-radius: 12px; padding: 8px 12px; margin: 0; font-size: 14px; color: #4a2f14; }
.convite-aviso.hidden { display: none; }
.convite { display: flex; flex-direction: column; gap: 10px; }
.convite p { margin: 0; }
.convite h3 { margin: 6px 0 0; color: #a35f12; font-size: 16px; }
.convite-link { display: flex; gap: 6px; }
.convite-link input { flex: 1; min-width: 0; padding: 8px; border-radius: 8px; border: 2px solid var(--panel-border); font-size: 14px; background: #fff; }
.convite button { padding: 8px 14px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#ffd27a, #f0a33a); font-weight: 800; cursor: pointer; color: #4a2f14; }
.convite .row { display: flex; gap: 8px; flex-wrap: wrap; }

#btn-festa .badge { background: #e53935; }

/* busca no fogão */
.busca-receitas { display: flex; gap: 8px; align-items: center; padding: 10px 14px; flex-wrap: wrap; flex-shrink: 0; }
.busca-receitas input[type=search] { flex: 1 1 180px; min-width: 0; padding: 9px 12px; border-radius: 12px; border: 2px solid var(--panel-border); font-size: 15px; background: #fff; }
.busca-receitas label { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; color: #4a2f14; white-space: nowrap; }
.busca-receitas select { padding: 8px; border-radius: 10px; border: 2px solid var(--panel-border); font-size: 13px; font-weight: 700; background: #fff; }
.rec-vazio { grid-column: 1 / -1; text-align: center; padding: 20px; }

/* fogão: seções e destaque do que não temos pronto */
.rec-sec { grid-column: 1 / -1; font-weight: 900; font-size: 15px; color: #4a2f14; padding: 6px 4px 0; border-bottom: 2px dashed #e2c597; }
.rec-sec.g0 { color: #c62828; }
.rec-sec.g1 { color: #d9640a; }
.rec-sec.g2, .rec-sec.g3 { color: #7a5a3a; font-size: 13px; }
.card.rec-falta { border-color: #f08a1d; background: linear-gradient(#fff3dc, #ffe2b0); box-shadow: 0 0 0 3px rgba(240,138,29,.35); }
.card.rec-esperando { border-color: #e53935; background: linear-gradient(#ffecec, #ffd0cc); box-shadow: 0 0 0 3px rgba(229,57,53,.35); animation: rec-pulsa 1.2s infinite alternate; }
@keyframes rec-pulsa { to { box-shadow: 0 0 0 6px rgba(229,57,53,.15); } }
.rec-tag { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 10px; text-align: center; }
.rec-tag.falta { background: #f08a1d; color: #fff; }
.rec-tag.esperando { background: #e53935; color: #fff; }
.rec-tag.tem { background: #e3f4dc; color: #2e7d32; }

/* melhorar móvel */
.card.melhor-opcao { border-color: #2ec4b6; background: linear-gradient(#e9fffb, #c9f5ee); box-shadow: 0 0 0 3px rgba(46,196,182,.35); }
/* Melhorar dos Balcões New (balcoes_linha.js): critérios da próxima versão */
.bl-req { font-size: 12px; font-weight: 700; color: #a3261a; text-align: left; }
.bl-req.ok { color: #1b6e23; }
.card.bl-versao.locked { opacity: 1; }
.bl-nota { grid-column: 1 / -1; margin: 4px 0; }
.mini-btn, #rec-melhorar { padding: 8px 12px; border-radius: 10px; border: 2px solid #d9fff9; background: linear-gradient(#8ef0e2, #2ec4b6); font-weight: 800; cursor: pointer; color: #0d4a44; }

/* criar meu avatar */
.cri-corpo { flex: 1; min-height: 0; display: flex; gap: 12px; padding: 12px; background: #fff; border-top: 2px solid var(--panel-border); }
.cri-lado { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
#cri-prev { width: 220px; height: 280px; background: radial-gradient(circle at 50% 70%, #fff3dc, #f3dcb8); border-radius: 16px; border: 3px solid #e2c597; }
.cri-lado .row { display: flex; gap: 6px; }
.cri-lado button, .cri-seg button { padding: 8px 12px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#ffd27a, #f0a33a); font-weight: 800; cursor: pointer; color: #4a2f14; }
.cri-salvar { background: linear-gradient(#8ef0e2, #2ec4b6) !important; color: #0d4a44 !important; width: 100%; font-size: 15px; }
.cri-opcoes { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cri-linha { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cri-seg { display: flex; gap: 4px; }
.cri-seg button.ativo, .cri-op.ativo { outline: 3px solid #2ec4b6; outline-offset: 1px; }
.cri-tons { display: flex; gap: 5px; }
.cri-tons .tom { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 2px #c9a77a; cursor: pointer; padding: 0; }
.cri-tons .tom.ativo { box-shadow: 0 0 0 3px #2ec4b6; }
.cri-grade { flex: 1; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; align-content: start; }
.cri-op { position: relative; height: 74px; border: 2px solid #e2c597; border-radius: 12px; background: #fffaf2; display: grid; place-items: center; cursor: pointer; overflow: hidden; }
.cri-op img { max-width: 62px; max-height: 62px; object-fit: contain; }
.cri-op span { font-size: 11px; font-weight: 800; color: #7a5a3a; text-align: center; }
.cri-op b { position: absolute; bottom: 2px; right: 3px; font-size: 9px; background: #ff9f43; color: #fff; border-radius: 6px; padding: 0 4px; }
@media (max-width: 640px) { .cri-corpo { flex-direction: column; overflow-y: auto; } #cri-prev { width: 160px; height: 204px; } .cri-grade { min-height: 260px; } }

/* estúdio de peças (admin) */
.cri-admin { display: flex; flex-direction: column; gap: 6px; width: 100%; border-top: 2px dashed #e2c597; padding-top: 8px; }
.cri-admin button { background: linear-gradient(#ffe08a, #ffc23a) !important; font-size: 13px; }
.cri-op b.nova { background: #2ec4b6; }
.estudio { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.estudio label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 13px; color: #4a2f14; }
.estudio input[type=range] { flex: 1; max-width: 220px; }
.estudio input[type=color] { width: 54px; height: 32px; border: 2px solid #e2c597; border-radius: 8px; padding: 0; }
.estudio input[type=text], .estudio input:not([type]), .estudio select { flex: 1; max-width: 240px; padding: 6px 8px; border-radius: 8px; border: 2px solid #e2c597; }
.estudio .row { display: flex; gap: 8px; flex-wrap: wrap; }
.estudio button { padding: 8px 12px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#ffd27a, #f0a33a); font-weight: 800; cursor: pointer; color: #4a2f14; }
.estudio #est-salvar { background: linear-gradient(#8ef0e2, #2ec4b6); color: #0d4a44; }

/* ---------- botões de baixo recolhidos no "Botões" (22/10/2026: computador e celular). Computador: aberto = a barra inteira
   como antes, à esquerda do Botões. Celular: gaveta de 2 colunas acima dele. A Loja fica sozinha à esquerda (#hud-loja). ---------- */
#gaveta { display: none; }
#hud-bottom.aberto #gaveta { display: contents; }
#hud-bottom.aberto #btn-gaveta { background: linear-gradient(#8ef0e2, #2ec4b6); border-color: #d9fff9; box-shadow: 0 5px 0 #157a70; }
#hud-loja { position: absolute; left: 14px; bottom: 14px; z-index: 5; }
#tutorial { bottom: 108px; }                       /* fica acima do botão da Loja */
@media (max-width: 700px) { #hud-loja { left: 8px; bottom: 10px; } #hud-loja .hud-btn { width: 62px; height: 62px; font-size: 10px; } #hud-loja .hud-btn img { height: 30px; } }
@media (max-width: 700px) {
  #hud-bottom { left: auto; right: 8px; bottom: 10px; flex-direction: column; align-items: flex-end; gap: 8px; }
  #btn-gaveta { display: flex; flex: none; width: 62px; height: 62px; font-size: 10px; }
  #btn-gaveta .ico { font-size: 26px; }
  #hud-bottom.aberto #btn-gaveta { background: linear-gradient(#8ef0e2, #2ec4b6); border-color: #d9fff9; box-shadow: 0 5px 0 #157a70; }
  #gaveta { display: none; }
  #hud-bottom.aberto #gaveta { display: grid; grid-template-columns: repeat(2, 64px); gap: 10px 8px; padding: 10px; border-radius: 18px;
    background: rgba(40,25,10,.88); border: 2px solid #d9a05b; box-shadow: 0 6px 18px rgba(0,0,0,.5); animation: gavetaAbre .15s ease-out; }
  #gaveta .hud-btn { flex: none; width: 64px; height: 64px; font-size: 10px; border-radius: 14px; }
  #gaveta .hud-btn img { height: 28px; }
  #gaveta .hud-btn .ico { font-size: 22px; }
  #gaveta .hud-btn .badge { top: -6px; right: -6px; min-width: 20px; height: 18px; font-size: 10px; line-height: 14px; padding: 0 4px; }
  #build-hint, #tutorial, #desfazer { bottom: 82px; }
  body.gaveta-aberta #tutorial, body.gaveta-aberta #tut-seta { visibility: hidden; }
}
@keyframes gavetaAbre { from { opacity: 0; transform: translateY(10px) scale(.96); } }
/* celular: botão ▲/▼ no canto de cima esconde todo o topo (fica guardado no aparelho; no computador não aparece) */
#btn-topo { display: none; }
@media (max-width: 700px) {
  #btn-topo { display: flex; align-items: center; justify-content: center; position: absolute; top: 8px; left: 8px; z-index: 6; width: 40px; height: 40px; padding: 0;
    border-radius: 50%; border: 2px solid #d9a05b; background: rgba(40,25,10,.82); color: #ffd27a; font-size: 15px; box-shadow: 0 3px 8px rgba(0,0,0,.4); cursor: pointer; }
  body.topo-oculto #hud-left, body.topo-oculto #hud-right, body.topo-oculto #missoes-box, body.topo-oculto #eventos-bar { display: none !important; }
  body.topo-oculto #btn-topo { opacity: .8; }
}
#versao-nova { position: fixed; z-index: 150; top: 10px; left: 50%; transform: translateX(-50%); max-width: calc(100vw - 20px); padding: 10px 16px; border-radius: 14px; border: 3px solid #fff1c9; background: linear-gradient(#8ef0e2, #2ec4b6); color: #0f3d38; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 5px 0 #157a70, 0 8px 18px rgba(0,0,0,.45); animation: versaoPulsa 1s ease-in-out infinite alternate; }
@keyframes versaoPulsa { to { transform: translateX(-50%) scale(1.04); } }

/* topo sem espaço para as duas fileiras lado a lado (ui.js arrumaTopo): a da esquerda desce e o que fica embaixo dela desce junto */
body.hud-duas #hud-left { top: 66px; }
body.hud-duas #missoes-box { top: 128px; }
body.hud-duas #toasts { top: 128px; }
body.hud-duas #eventos-bar { top: 128px; left: 278px; transform: none; justify-content: flex-start; max-width: calc(100vw - 292px); }body.tut-alto:not(.com-dica) #tutorial { bottom: 108px; }

/* ---------- favoritos e "em todos" no painel de receitas ---------- */
#recipe-grid .card { position: relative; }
.rec-fav { position: absolute; top: 4px; right: 4px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85);
  color: #b88a3a; font-size: 18px; line-height: 30px; padding: 0; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.rec-fav.on { color: #ffb300; background: #fff6d5; }
.busca-receitas label { white-space: nowrap; }
#rec-todos-n { color: #2e8b57; font-weight: 800; }

/* ---------- subiu de nível ---------- */
#nivel { overflow: hidden; z-index: 60; }
#nivel-confete { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
#nivel-confete i { position: absolute; top: -14px; width: 9px; height: 14px; border-radius: 2px; animation: confeteCai 2.2s ease-in forwards; }
@keyframes confeteCai { to { top: 105%; transform: rotate(720deg) translateX(30px); opacity: .2; } }
.nivel-parabens { text-align: center; margin: 2px 0 8px; font-weight: 700; }
.nivel-premios { display: flex; justify-content: center; gap: 18px; margin-bottom: 8px; }
.nivel-premios div { display: flex; align-items: center; gap: 6px; background: #fff3d6; border: 2px solid #f0c36a; border-radius: 14px; padding: 6px 14px; font-size: 20px; }
.nivel-premios img { height: 28px; }
.nivel-sub { display: flex; align-items: center; gap: 6px; margin: 10px 0 6px; font-size: 16px; }
.nivel-sub img { height: 24px; }
.nivel-receitas { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
.nivel-receitas div { background: #fff8ea; border-radius: 10px; padding: 4px; text-align: center; }
.nivel-receitas img { height: 48px; max-width: 70px; object-fit: contain; }
.nivel-receitas small { display: block; font-size: 10px; line-height: 1.15; }

/* ---------- prêmio do dia e roleta ---------- */
.diario-head { background: url(../assets/ui/diario_fundo.png) center/cover; }
.diario-head h2 { text-shadow: 0 2px 0 #000, 0 0 8px rgba(0,0,0,.6); color: #fff; }
.diario-dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin: 8px 0; }
.diario-dia { position: relative; background: #fff8ea; border: 2px solid #e8cf9c; border-radius: 10px; padding: 4px 2px; text-align: center; font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.diario-dia span { font-size: 20px; height: 30px; display: flex; align-items: center; }
.diario-dia span img { height: 30px; max-width: 34px; object-fit: contain; }
.diario-dia small { font-size: 9px; line-height: 1.1; }
.diario-dia.atual { border-color: #ff9f1c; background: #fff0c8; box-shadow: 0 0 0 3px rgba(255,159,28,.35); }
.diario-dia.feito { opacity: .55; }
.diario-dia.grande { background: #ffe6f0; border-color: #f48fb1; }
.diario-dia i { position: absolute; top: 1px; right: 2px; }
.diario-dia i img { width: 16px; height: 16px; }
/* roleta: a roda (canvas, gira) fica dentro do aro dourado de luzes (parado); ponteiro em cima, botão no centro e base embaixo */
.roleta { position: relative; width: 300px; height: 300px; margin: 14px auto 52px; }
.roleta canvas { position: absolute; left: 17%; top: 17%; width: 66%; height: 66%; border-radius: 50%; z-index: 1; }
.roleta img { position: absolute; pointer-events: none; }
.roleta-base { left: 20%; width: 60%; bottom: -46px; z-index: 0; }
.roleta-aro { inset: 0; width: 100%; height: 100%; z-index: 2; filter: drop-shadow(0 5px 8px rgba(0,0,0,.35)); }
.roleta-centro { left: 41%; top: 41%; width: 18%; height: 18%; z-index: 3; }
.roleta-seta { left: 42%; top: 2%; width: 16%; z-index: 4; filter: drop-shadow(0 3px 3px rgba(0,0,0,.4)); transform-origin: 50% 10%; }
.roleta.girando .roleta-aro { animation: roleta-luzes .5s steps(2) infinite; }
.roleta.girando .roleta-seta { animation: roleta-tique .12s ease-in-out infinite alternate; }
@keyframes roleta-luzes { from { filter: drop-shadow(0 5px 8px rgba(0,0,0,.35)) brightness(1); } to { filter: drop-shadow(0 5px 8px rgba(0,0,0,.35)) brightness(1.25); } }
@keyframes roleta-tique { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
.roleta-res { text-align: center; min-height: 20px; margin: 4px 0 0; }
.roleta-res img { height: 22px; vertical-align: -5px; }
@media (max-width: 420px) { .diario-dias { grid-template-columns: repeat(4, 1fr); } .roleta { width: 260px; height: 260px; margin-bottom: 44px; } .roleta-base { bottom: -40px; } }#recipe-grid .card .rec-tag { margin-right: 30px; }

/* ---------- nota do café (painel do caixa) ---------- */
.nota-cafe { background: #fff8e6; border: 2px solid #f0c36a; border-radius: 14px; padding: 8px 12px; margin-bottom: 10px; }
.nota-cafe h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nota-num { font-size: 22px; color: #e07b00; }
.nota-est { color: #f5a623; letter-spacing: 1px; white-space: nowrap; }
.nota-lista { list-style: none; margin: 0; padding: 0; }
.nota-lista li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 3px 0; border-bottom: 1px dashed #ecd7a8; }
.nota-lista li:last-child { border-bottom: 0; }
.nota-lista small { display: block; color: #8a6d3b; font-size: 11px; }
.nota-dica { margin: 6px 0 0; background: #fff0c8; border-radius: 10px; padding: 6px 8px; font-size: 13px; }#bonus-body .nota-lista b.nota-est { color: #f5a623; font-size: 17px; font-weight: 400; }
#bonus-body .nota-cafe h3 .nota-est { font-size: 20px; }

/* ---------- frenesi ---------- */
#frenesi { background: transparent; border: 0; box-shadow: none; width: min(340px, calc(100vw - 24px)); z-index: 70; }
#frenesi .menu-body { padding: 0; overflow: visible; }
.frenesi-caixa { position: relative; text-align: center; color: #fff; padding: 46px 18px 18px; border-radius: 30px; border: 6px solid #ffc928;
  background: radial-gradient(circle at 50% 30%, #a43cff, #5b10d6 70%); box-shadow: 0 0 0 3px #7a4a06, 0 14px 40px rgba(60,0,120,.6); animation: frenesiEntra .35s ease-out; }
.frenesi-caixa h2 { margin: 6px 0 0; font-size: 34px; letter-spacing: 2px; text-shadow: 0 3px 0 #3a0a7a, 0 0 18px #ffd54f; color: #ffe066; }
.frenesi-caixa h3 { margin: 2px 0 8px; font-size: 18px; text-shadow: 0 2px 0 #3a0a7a; }
.frenesi-caixa p { margin: 0 0 12px; font-size: 14px; opacity: .95; }
.frenesi-x2 { position: absolute; top: -34px; right: -14px; width: 92px; transform: rotate(14deg); animation: frenesiBalanca 1.2s ease-in-out infinite alternate; filter: drop-shadow(0 4px 4px rgba(0,0,0,.4)); }
.frenesi-ic { height: 70px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.4)); }
@keyframes frenesiEntra { from { transform: scale(.6); opacity: 0; } }
@keyframes frenesiBalanca { to { transform: rotate(-6deg) scale(1.06); } }
.evento.frenesi-chip { background: linear-gradient(#a43cff, #6a18e0); border-color: #ffc928; color: #fff; display: flex; align-items: center; gap: 6px; animation: frenesiPulsa 1s ease-in-out infinite alternate; }
.evento.frenesi-chip img { height: 26px; }
@keyframes frenesiPulsa { to { box-shadow: 0 0 14px #c77dff; } }
/* borda roxa pulsando: a sombra é pintada uma vez e só a opacidade anima (animar a sombra borrada repintava a tela inteira a cada quadro) */
body.frenesi::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; box-shadow: inset 0 0 80px rgba(164,60,255,.65); will-change: opacity; animation: frenesiBorda 1.4s ease-in-out infinite alternate; }
@keyframes frenesiBorda { from { opacity: .5; } to { opacity: 1; } }
/* ---------- selos de eventos: ícone · texto · tempo; no celular ficam à direita, embaixo do topo, compactos ---------- */
#eventos-bar .evento { display: flex; align-items: center; gap: 5px; }
#eventos-bar .ev-tempo { opacity: .85; font-weight: 700; white-space: nowrap; }
#eventos-bar .ev-tempo::before { content: "· "; }
@media (max-width: 900px) and (min-width: 701px) {
  #eventos-bar { top: 66px; left: 274px; transform: none; justify-content: flex-start; max-width: calc(100vw - 290px); }
}
@media (max-width: 700px) {
  #eventos-bar { top: 112px; left: auto; right: 8px; transform: none; flex-direction: column; flex-wrap: nowrap; align-items: flex-end; gap: 4px; max-width: calc(100vw - 214px); }
  #eventos-bar .evento { font-size: 11px; padding: 3px 8px; border-radius: 12px; max-width: 100%; }
  #eventos-bar .ev-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  #eventos-bar .ev-tempo { font-size: 10px; flex: none; }
  #eventos-bar .ev-ic { flex: none; }
  .evento.frenesi-chip img { height: 20px; }
}
/* ---------- álbum de figurinhas ---------- */
#album { position: fixed; }
.album-topo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.album-botoes { display: flex; flex-wrap: wrap; gap: 6px; }
.album-final { background: linear-gradient(#fff3c4, #ffd86b); border: 2px solid #e0a020; border-radius: 12px; padding: 8px 12px; margin-bottom: 10px; font-weight: 800; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.album-pag { border: 3px solid var(--cor); border-radius: 16px; margin-bottom: 12px; overflow: hidden; background: #fffaf0; }
.album-cab { background: var(--cor); color: #fff; font-weight: 800; padding: 6px 12px; display: flex; align-items: center; gap: 6px; text-shadow: 0 1px 0 rgba(0,0,0,.4); }
.album-cab span { margin-left: auto; background: rgba(0,0,0,.25); border-radius: 10px; padding: 0 8px; font-size: 13px; }
.album-cab img { height: 24px; }
.album-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; padding: 10px; }
.album-pe { padding: 0 10px 10px; text-align: center; }
.fig { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,.3);
  background: repeating-conic-gradient(from 0deg at 50% 45%, #fff6d8 0 10deg, #ffe9a8 10deg 20deg); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.fig img { max-width: 86%; max-height: 64%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.fig canvas { width: 80%; height: auto; }
.fig-nome { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.88); font-size: 10px; font-weight: 700; line-height: 1.15; padding: 2px 3px; text-align: center; color: #4a2f14; }
.fig-n { position: absolute; top: 3px; right: 3px; background: #e53935; color: #fff; border-radius: 9px; font-size: 11px; font-weight: 800; padding: 0 6px; }
.fig.rara { border-color: #ffc928; box-shadow: 0 0 0 2px #b8860b, 0 0 12px rgba(255,201,40,.8); background: repeating-conic-gradient(from 0deg at 50% 45%, #fff3b0 0 10deg, #ffd54f 10deg 20deg); }
.fig.vazia { background: #efe6d2; border: 3px dashed #c9b48a; box-shadow: none; }
.fig.vazia.rara { border-color: #e0b84a; background: #f6edc9; }
.fig-num { position: absolute; top: 4px; left: 6px; font-weight: 800; color: #a08a5a; font-size: 12px; }
.fig-q { font-size: 34px; color: #c9b48a; font-weight: 900; }
.fig-tag { position: absolute; bottom: 4px; font-size: 10px; font-weight: 800; color: #b8860b; text-transform: uppercase; }
#album-pacote { position: absolute; inset: 0; background: rgba(30,15,5,.75); display: flex; align-items: center; justify-content: center; z-index: 5; border-radius: inherit; }
#album-pacote.hidden { display: none !important; }
.pacote-caixa { background: #fff8e6; border: 4px solid #f0c36a; border-radius: 18px; padding: 14px; text-align: center; width: min(420px, calc(100% - 24px)); }
.pacote-caixa h3 { margin: 0 0 10px; }
.pacote-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.pacote-fig { animation: figVira .5s ease-out both; }
.pacote-fig b { display: block; margin-top: 4px; font-size: 12px; }
.pacote-fig b.nova { color: #2e8b57; }
.pacote-fig b.rep { color: #a08a5a; }
@keyframes figVira { from { transform: rotateY(90deg) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }#album button.pegar, #album-pacote button { padding: 9px 14px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#8ef08e, #3fae49); font-weight: 800; cursor: pointer; color: #173d1a; }
#album button.pegar:disabled { opacity: .5; filter: grayscale(.5); cursor: not-allowed; }

/* ---------- caixa misteriosa ---------- */
.misterio-head { background: linear-gradient(#d81b8f, #9c1268); }
.misterio-head h2 { color: #fff; text-shadow: 0 2px 0 #4a0a30; }
.mist-abas { display: flex; gap: 6px; }
.mist-abas button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; border: 3px solid transparent !important; opacity: .7; }
.mist-abas button small { font-size: 11px; font-weight: 600; }
.mist-abas button.on { opacity: 1; border-color: var(--cor) !important; box-shadow: 0 0 0 2px #fff inset; }
.mist-roda { position: relative; width: 280px; height: 280px; margin: 6px auto; }
.mist-roda canvas { width: 280px; height: 280px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
#mist-seta { position: absolute; left: 50%; top: 50%; width: 64px; transform: translate(-50%,-50%) rotate(180deg); filter: drop-shadow(0 3px 3px rgba(0,0,0,.4)); }
@media (max-width: 420px) { .mist-roda, .mist-roda canvas { width: 240px; height: 240px; } #mist-seta { width: 54px; } }
/* ---------- passe dourado ---------- */
.passe-head { background: linear-gradient(#ffcf3d, #e09a10); }
.passe-head h2 { color: #4a2f14; text-shadow: 0 1px 0 #fff6d5; }
#passe h3 { margin: 12px 0 6px; font-size: 16px; }
.passe-topo { display: flex; flex-direction: column; gap: 6px; }
.passe-banner { position: relative; width: min(100%, 460px); margin: -4px auto 0; }
.passe-banner img { width: 100%; display: block; }
.passe-banner b { position: absolute; left: 0; right: 0; top: 44%; transform: translateY(-50%); text-align: center; font-size: clamp(15px, 4.6vw, 22px); font-weight: 900; color: #7a3e00; text-shadow: 0 1px 0 #fff6d5; }
.passe-fim { text-align: center; font-size: 13px; font-weight: 700; color: #8a6d3b; }
.passe-prog { display: flex; align-items: center; gap: 8px; position: relative; }
.passe-prog img { height: 40px; }
.passe-prog > span { position: absolute; left: 0; width: 40px; text-align: center; font-weight: 900; font-size: 17px; color: #4a2f14; }
.passe-prog small { white-space: nowrap; }
.pt-barra { height: 10px; background: #ead9b5; border-radius: 6px; overflow: hidden; margin: 3px 0; }
.pt-barra > div { height: 100%; background: linear-gradient(90deg, #ffb300, #ffd54f); border-radius: 6px; }
.pt-barra.grande { flex: 1; height: 14px; }
.passe-comprar { display: flex; align-items: center; gap: 10px; background: #fff3c4; border: 2px solid #f0c36a; border-radius: 12px; padding: 8px; margin-top: 8px; }
.passe-comprar > img { height: 46px; }
.passe-comprar div { flex: 1; font-size: 13px; }
.passe-ok { background: #fff3c4; border-radius: 10px; padding: 6px 10px; font-weight: 800; margin: 8px 0 0; }
.passe-tarefa { display: flex; align-items: center; gap: 8px; background: #fff8ea; border: 1px solid #ecd7a8; border-radius: 10px; padding: 6px 10px; margin-bottom: 5px; }
.passe-tarefa .pt-txt { flex: 1; font-size: 13px; font-weight: 700; }
.passe-tarefa small { color: #8a6d3b; font-weight: 600; }
.passe-tarefa.feita { opacity: .6; }
.pt-fichas { background: #ffd54f; border-radius: 10px; padding: 2px 8px; font-size: 13px; white-space: nowrap; }
.passe-trilhas { display: flex; flex-direction: column; gap: 5px; }
.pt-cab, .pt-linha { display: grid; grid-template-columns: 44px 1fr 1fr; gap: 6px; align-items: center; }
.pt-cab span { display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13px; }
.pt-cab img { height: 22px; }
.pt-num { position: relative; text-align: center; }
.pt-num img { height: 40px; filter: grayscale(.8) opacity(.6); }
.pt-linha.lib .pt-num img { filter: none; }
.pt-num b { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); font-size: 15px; color: #4a2f14; }
.pt-premio { display: flex; align-items: center; gap: 6px; border-radius: 10px; padding: 5px 8px; min-height: 40px; font-size: 12px; }
.pt-premio.gratis { background: #ffe1ec; border: 2px solid #f48fb1; }
.pt-premio.ouro { background: #fff3c4; border: 2px solid #f0c36a; }
.pt-premio.bloq { opacity: .55; }
.pt-premio.pego { opacity: .5; }
.pt-premio .pt-ic { font-size: 20px; flex: none; width: 38px; display: flex; justify-content: center; }
.pt-premio .pt-ic img { height: 36px; max-width: 40px; object-fit: contain; }
.pt-linha.grande .pt-premio .pt-ic { width: 52px; }
.pt-linha.grande .pt-premio .pt-ic img { height: 52px; max-width: 56px; filter: drop-shadow(0 0 6px rgba(255,200,40,.8)); }
.pt-premio > b .ic, .pt-premio > .ic { width: 22px; height: 22px; }
.pt-premio .pt-nome { flex: 1; font-weight: 700; line-height: 1.15; }
.pt-premio button.pegar { padding: 4px 8px; font-size: 12px; border-radius: 8px; border: 2px solid #fff1c9; background: linear-gradient(#8ef08e, #3fae49); font-weight: 800; color: #173d1a; cursor: pointer; }
.pt-linha.grande .pt-premio { box-shadow: 0 0 0 2px #ffcf3d; }
#passe-comprar { padding: 8px 12px; border-radius: 10px; border: 2px solid #fff1c9; background: linear-gradient(#8ef08e, #3fae49); font-weight: 800; color: #173d1a; cursor: pointer; }
#passe-comprar:disabled { opacity: .5; }

/* barra de baixo com 10 botões: em telas médias os botões ficam menores para caber */
@media (min-width: 701px) and (max-width: 1150px) {
  #hud-bottom { gap: 6px; right: 8px; }
  .hud-btn { width: 64px; height: 64px; font-size: 10px; border-radius: 14px; }
  .hud-btn img { height: 28px; }
  .hud-btn .ico { font-size: 22px; }
}/* janelas grandes (Álbum, Passe): o conteúdo rola dentro da janela (antes ficava cortado) */
.panel > .menu-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.panel > .menu-body > * { flex-shrink: 0; }       /* conteúdo não encolhe: a janela rola */

/* ---------- página da equipe ---------- */
.equipe-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.equipe-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.eq-card { background: #fff8ea; border: 2px solid #e8cf9c; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
.eq-card.cozinha { border-color: #f0a33a; background: #fff3e2; }
.eq-card canvas { width: 96px; height: 105px; border-radius: 50%; background: radial-gradient(#fff, #f6e2b8); border: 3px solid #d9a05b; }
.eq-nome { font-weight: 900; font-size: 17px; color: #4a2f14; }
.eq-cargo { font-size: 12px; font-weight: 800; color: #fff; background: #3fae49; border-radius: 10px; padding: 1px 10px; }
.eq-card.cozinha .eq-cargo { background: #e07b00; }
.eq-desde { font-size: 12px; color: #8a6d3b; }
.eq-stats { width: 100%; margin-top: 4px; border-top: 1px dashed #e0c99a; padding-top: 4px; }
.eq-stat { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; padding: 1px 0; }
.eq-stat span { text-align: left; }
.eq-pe { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 12px; }
.eq-pe button { padding: 5px 10px !important; font-size: 12px; }
.eq-card.vaga { border-style: dashed; background: #fffdf6; justify-content: center; min-height: 230px; }
.eq-card.vaga.cheia { opacity: .75; }
.eq-mais { font-size: 46px; color: #3fae49; line-height: 1; font-weight: 900; }
.eq-card.vaga.cheia .eq-mais { font-size: 34px; }
.eq-card .pegar { margin-top: 8px; }
.equipe-info summary { cursor: pointer; font-weight: 800; color: #6b4a2b; }
/* Maravilhas do mundo (aba Navio e janela de maravilha nova) */
.maravilha-head { background: linear-gradient(#1e88e5, #1259a8); }
.maravilha-head h2 { color: #fff; text-shadow: 0 2px 0 #0b3466; }
.mv-secao { margin-top: 14px; padding-top: 10px; border-top: 2px dashed #e0cfb0; }
.mv-titulo { margin: 0 0 2px; font-size: 18px; }
.mv-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.mv-card { background: #f4f1ec; border: 2px solid #ddd3c4; border-radius: 12px; padding: 6px; text-align: center; opacity: .78; flex-shrink: 0; }
.mv-card.ok { background: #fff8e1; border-color: #f0c050; opacity: 1; box-shadow: 0 0 0 2px rgba(240,192,80,.25); }
.mv-img { height: 92px; display: flex; align-items: flex-end; justify-content: center; }
.mv-img img { max-height: 92px; max-width: 100%; }
.mv-card:not(.ok) .mv-img img { filter: grayscale(1) brightness(.75); }
.mv-breve { font-size: 46px; font-weight: 900; color: #b9a98f; }
.mv-n { font-weight: 800; font-size: 13px; margin-top: 4px; line-height: 1.15; }
.mv-c { font-size: 11px; color: #8a7a64; }
.mv-b { font-size: 11px; color: #2e7d32; font-weight: 700; margin-top: 3px; line-height: 1.2; }
.mv-s { font-size: 11px; margin-top: 3px; color: #7a5b2e; }
.mv-nova { text-align: center; }
.mv-brilho { height: 210px; display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(circle at 50% 60%, rgba(255,214,90,.75), rgba(255,214,90,0) 62%); }
.mv-brilho img { max-height: 200px; max-width: 80%; animation: mvSobe .8s ease-out; }
@keyframes mvSobe { from { transform: translateY(30px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.mv-nome { font-size: 24px; font-weight: 900; margin-top: 6px; }
.mv-cidade { color: #8a7a64; font-weight: 700; }
.mv-bonus { color: #2e7d32; font-weight: 800; margin: 6px 0; }

/* encomenda, delivery e navio: o que falta está no fogão? (cozinhar / acelerar / servir) */
.fz { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 5px; padding: 4px 8px; border-radius: 9px;
  background: #fff1dc; font-size: 12px; font-weight: 700; color: #8a4b12; }
.fz > span { flex: 1 1 160px; }
.fz.falta { background: #f3f0ea; color: #6d6253; }
.fz.pronto { background: #e5f6e6; color: #2e7d32; }
.fz-btn { padding: 4px 10px; border-radius: 9px; border: 2px solid #c97a1c; background: linear-gradient(#ffc960, #f39a2c);
  color: #fff; font-weight: 800; font-size: 12px; text-shadow: 0 1px 0 rgba(0,0,0,.35); cursor: pointer; white-space: nowrap; }
.fz-btn img { height: 14px; vertical-align: -2px; margin: 0 2px 0 4px; }
.fz-btn.cash { border-color: #2e8b3e; background: linear-gradient(#7ad67f, #3fa34a); }
.fz-btn:disabled { filter: grayscale(1); opacity: .55; cursor: default; }

/* Mercado arco-íris */
.mercado-head { background: linear-gradient(90deg, #ef4444, #f59e0b, #eab308, #22c55e, #3b82f6, #8b5cf6); }
.mercado-head h2 { color: #fff; text-shadow: 0 2px 0 #4c1d95, 0 0 6px rgba(0,0,0,.35); }
.cupom-ic { height: 18px; vertical-align: -4px; margin-right: 3px; }
.mc-topo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; flex-shrink: 0; }
.mc-saldo { background: #f3e8ff; border: 2px solid #a78bfa; border-radius: 20px; padding: 4px 12px; font-size: 15px; color: #4c1d95; }
.mc-saldo .cupom-ic { height: 24px; vertical-align: -6px; }
.mc-tempo { color: #7a5b2e; font-weight: 700; font-size: 13px; flex: 1; }
.mc-trocar { border-radius: 12px; font-weight: 800; }
.mc-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; flex-shrink: 0; }
.mc-card { position: relative; background: #fffaf2; border: 2px solid #e6d5b8; border-radius: 14px; padding: 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mc-card.destaque { border-color: #a78bfa; background: linear-gradient(#f5efff, #fffaf2); box-shadow: 0 0 0 3px rgba(167,139,250,.3); }
.mc-card.esgotado { opacity: .55; }
.mc-selo { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); background: #8b5cf6; color: #fff; font-size: 11px; font-weight: 800;
  padding: 2px 10px; border-radius: 10px; white-space: nowrap; }
.mc-selo.desc { background: #e53935; }
.mc-img { height: 96px; display: flex; align-items: flex-end; justify-content: center; margin-top: 6px; }
.mc-img img { max-height: 96px; max-width: 100%; }
.mc-emoji { font-size: 56px; line-height: 1; }
.mc-nome { font-weight: 800; font-size: 13px; line-height: 1.15; }
.mc-desc { font-size: 11px; color: #2e7d32; font-weight: 700; line-height: 1.2; min-height: 13px; }
.mc-estoque { font-size: 11px; color: #8a7a64; }
.mc-comprar { margin-top: auto; width: 100%; border-radius: 10px; font-weight: 800; font-size: 14px; padding: 6px; border: 2px solid #7c3aed;
  background: linear-gradient(#a78bfa, #7c3aed); color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.35); cursor: pointer; }
.mc-comprar img { height: 18px; vertical-align: -4px; margin-right: 3px; }
.mc-comprar:disabled { filter: grayscale(.8); opacity: .6; cursor: default; }
.mc-info { margin-top: 12px; font-size: 13px; flex-shrink: 0; }
.mc-info summary { cursor: pointer; font-weight: 800; color: #6d28d9; }
#btn-mercado.tem-novo { position: relative; }
#btn-mercado.tem-novo::after { content: "!"; position: absolute; top: -6px; right: -6px; background: #e53935; color: #fff; border-radius: 50%;
  width: 18px; height: 18px; font-size: 12px; font-weight: 900; line-height: 18px; text-align: center; }

/* Bufê */
.bufe-head { background: linear-gradient(#ff8a3d, #e8590c); }
.bufe-head h2 { color: #fff; text-shadow: 0 2px 0 #7a2e05; }
.bf-topo { display: flex; gap: 12px; align-items: flex-start; background: #fff3e6; border: 2px solid #ffb27a; border-radius: 14px; padding: 8px 12px; flex-shrink: 0; }
.bf-moca { height: 120px; width: auto; flex-shrink: 0; }
.bf-titulo { font-size: 18px; font-weight: 900; color: #7a2e05; }
.bf-prazo { margin-top: 4px; font-size: 13px; }
.bf-prazo img { height: 18px; vertical-align: -4px; }
.bf-rapida { color: #2e7d32; font-weight: 800; }
.bf-premio { margin-top: 4px; font-size: 13px; color: #6d4c1d; font-weight: 700; }
.bf-caixas { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; flex-shrink: 0; }
.bf-caixa { display: flex; align-items: center; gap: 10px; background: #fffaf2; border: 2px solid #e6d5b8; border-radius: 14px; padding: 8px; }
.bf-caixa.ok { background: #eef8ee; border-color: #8bc48d; }
.bf-cx-img { position: relative; width: 74px; height: 74px; flex-shrink: 0; }
.bf-cx-img > img:first-child { width: 74px; height: 74px; object-fit: contain; }
.bf-cx-img > span { position: absolute; left: 0; right: 0; top: 18px; text-align: center; font-size: 30px; }
.bf-tick { position: absolute; right: -6px; bottom: -4px; width: 30px; }
.bf-cx-corpo { flex: 1; min-width: 0; }
.bf-cx-nome { font-weight: 900; font-size: 15px; }
.bf-amigos { display: flex; align-items: center; gap: 8px; margin-top: 10px; background: #fff8e1; border-radius: 12px; padding: 6px 10px; font-size: 13px; flex-shrink: 0; }
.bf-amigos img { height: 34px; }
@media (max-width: 560px) { .bf-moca { height: 80px; } .bf-caixa { flex-wrap: wrap; } .bf-caixa .pegar { width: 100%; } }

/* Luxo do café */
#pill-level { cursor: pointer; }
.level-badge { position: relative; }
.level-badge.luxo { background: center/contain no-repeat; border: none; width: 48px; height: 48px; margin: -4px 0; color: #fff; text-shadow: 0 1px 2px #000, 0 0 3px #000; }
/* medalhas novas (22/10/2026) têm a xícara no meio: o número do nível vai numa plaquinha embaixo da medalha */
.level-badge.luxo #hud-level { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-size: 12px; line-height: 15px; min-width: 18px;
  padding: 0 4px; border-radius: 8px; background: rgba(40,24,10,.9); border: 1.5px solid #ffd27a; text-align: center; text-shadow: none; }
.level-badge #luxo-badge { position: absolute; top: -8px; right: -10px; font-size: 13px; background: #e53935; border-radius: 10px; padding: 0 3px; line-height: 18px; }
/* 27/10/2026: número do nível de luxo (I, II, III; Rubi IV…) numa plaquinha do lado direito da medalha */
.level-badge #luxo-num { position: absolute; right: -9px; top: 50%; transform: translateY(-50%); font: 900 9px/12px sans-serif; font-style: normal; padding: 0 3px;
  border-radius: 6px; background: #7a1010; color: #ffe08a; border: 1px solid #ffd27a; text-shadow: none; white-space: nowrap; }
.lx-sub { display: block; font-size: 9px; line-height: 1.2; font-weight: 700; }
.lx-sub b { color: #2e7d32; } .lx-sub u { text-decoration: none; color: #6d28d9; font-weight: 900; }
.lx-rubi { margin-top: 12px; background: #fff3f3; border: 2px solid #f0a0a0; border-radius: 14px; padding: 8px 10px; flex-shrink: 0; }
.lx-rubi p { margin: 4px 0 6px; font-size: 13px; }
.lx-rubi-tit { font-weight: 900; color: #b71c1c; margin-top: 4px; }
.lx-rubi-teaser { text-align: center; margin: 8px 0 0; flex-shrink: 0; }
.lx-trava { margin-top: 8px; background: #fff8e1; border: 2px solid #f0c860; border-radius: 12px; padding: 6px 10px; font-size: 13px; text-align: center; flex-shrink: 0; }
.luxo-head { background: linear-gradient(90deg, #7b45d6, #1d6fe0, #e0508f); }
.luxo-head h2 { color: #fff; text-shadow: 0 2px 0 #2b1157; }
.lx-carreira { display: flex; gap: 4px; overflow-x: auto; padding: 4px 2px 8px; flex-shrink: 0; }
.lx-degrau { flex: 1 0 64px; text-align: center; font-size: 10px; font-weight: 800; color: #9a8b74; opacity: .55; }
.lx-degrau img { width: 44px; height: 44px; object-fit: contain; filter: grayscale(1); }
.lx-degrau.ok { opacity: 1; color: #4a2f14; }
.lx-degrau.ok img { filter: none; }
.lx-degrau.atual { opacity: 1; color: #6d28d9; }
.lx-degrau.atual img { filter: grayscale(.5); animation: lxPulsa 1.6s ease-in-out infinite; }
@keyframes lxPulsa { 50% { transform: scale(1.12); } }
.lx-degrau span { display: block; line-height: 1.1; }
.lx-topo { display: flex; gap: 12px; align-items: center; background: #f6f0ff; border: 2px solid #c4b5fd; border-radius: 14px; padding: 8px 12px; flex-shrink: 0; }
.lx-moldura { width: 96px; height: 96px; object-fit: contain; flex-shrink: 0; }
.lx-nome { font-size: 20px; font-weight: 900; }
.lx-estrelas img { height: 34px; margin-right: 2px; }
.lx-tarefa { display: flex; gap: 10px; align-items: center; background: #fffaf2; border: 2px solid #e6d5b8; border-radius: 12px; padding: 8px; margin-top: 8px; flex-shrink: 0; }
.lx-tarefa.ok { background: #eef8ee; border-color: #8bc48d; }
.lx-ic { font-size: 30px; width: 40px; text-align: center; flex-shrink: 0; }
.lx-t-corpo { flex: 1; min-width: 0; }
.lx-t-txt { font-weight: 800; }
.lx-premio { margin: 10px 0 6px; font-size: 13px; color: #6d4c1d; font-weight: 700; text-align: center; flex-shrink: 0; }
#luxo-celebra { position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 400; text-align: center; pointer-events: none;
  animation: lxCelebra 3.2s ease-out forwards; font-size: 30px; font-weight: 900; color: #fff; text-shadow: 0 3px 0 #2b1157, 0 0 12px rgba(0,0,0,.6); }
#luxo-celebra img { width: 200px; height: 200px; object-fit: contain; filter: drop-shadow(0 0 24px #ffd54f); }
@keyframes lxCelebra { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); } 25% { transform: translate(-50%, -50%) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; } }

/* Doces: reforços, sequência arco-íris e panela de geleia */
#dc-reforcos { display: flex; align-items: center; gap: 8px; padding: 6px 12px; background: #fdebd0; border-bottom: 2px solid var(--panel-border); }
#dc-reforcos.hidden { display: none; }
.dc-ref { position: relative; width: 52px; height: 52px; border-radius: 14px; border: 2px solid #e2c597; background: #fff; cursor: pointer; padding: 3px; }
.dc-ref img { width: 100%; height: 100%; object-fit: contain; }
.dc-ref b { position: absolute; right: -6px; bottom: -6px; background: #4a68d8; color: #fff; border-radius: 10px; font-size: 11px; padding: 1px 5px; white-space: nowrap; }
.dc-ref.on { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.35); background: #f3e8ff; animation: dc-pisca .6s infinite alternate; }
.dc-ref-dica { font-size: 12px; font-weight: 700; color: #6d4c1d; }
.dc-abas { display: flex; gap: 6px; justify-content: center; }
.dc-fim .dc-abas button { padding: 6px 12px; font-size: 14px; background: #f3e2c8; border-color: #e2c597; }
.dc-fim .dc-abas button.on { background: linear-gradient(#ffd27a, #f0a33a); }
.dc-selo { background: #e53935; color: #fff; border-radius: 9px; padding: 0 6px; font-size: 12px; }
.dc-seq { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.dc-seq-barra { display: flex; gap: 4px; }
.dc-seq-barra span { width: 46px; height: 12px; border-radius: 6px; background: #ddd2c0; border: 2px solid #b9a98f; }
.dc-seq-barra span.on { background: linear-gradient(90deg, #ef4444, #f59e0b, #eab308, #22c55e, #3b82f6, #8b5cf6); border-color: #6d28d9; }
.dc-seq-txt { font-size: 12px; font-weight: 700; color: #6d4c1d; }
.dc-seq-txt img { height: 22px; vertical-align: -6px; margin: 0 1px; }
.dc-antes { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 800; color: #6d4c1d; }
.dc-fim .dc-antes .dc-ref { padding: 3px; background: #fff; border: 2px solid #e2c597; }
.dc-fim .dc-antes .dc-ref.on { background: #f3e8ff; border-color: #7c3aed; }
.dc-panela { background: #fff0f3; border: 2px solid #f4a3b5; border-radius: 14px; padding: 8px; }
.dc-panela-topo { font-weight: 800; color: #9d1c3a; font-size: 14px; }
.dc-panela-barra { height: 12px; background: #f6d4dc; border-radius: 6px; overflow: hidden; margin: 6px 0; }
.dc-panela-barra div { height: 100%; background: linear-gradient(#ff6b8b, #c2185b); }
.dc-panela-premios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.dc-fim .dc-pp { padding: 4px; font-size: 11px; line-height: 1.15; background: #fff; border: 2px solid #f4a3b5; color: #6d1430; border-radius: 10px; }
.dc-fim .dc-pp span { display: block; font-weight: 900; font-size: 13px; }
.dc-fim .dc-pp.pode { background: linear-gradient(#ffd27a, #f0a33a); border-color: #c97a1c; animation: dc-pisca .7s infinite alternate; }
.dc-fim .dc-pp.pego { background: #e3f4dc; border-color: #8bc34a; color: #2e7d32; }
.dc-fim .dc-pp:disabled { opacity: 1; filter: none; cursor: default; }

/* Evento da semana (cascata) */
.evento.ev-cascata { cursor: pointer; background: linear-gradient(#7b3fa0, #4a1d6b); }
.evento.ev-cascata.pronto { animation: dc-pisca .7s infinite alternate; }
.evento .ev-ic img { height: 22px; vertical-align: middle; }
#evento .panel-head h2 { color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.5); }
.ev-ficha { height: 20px; vertical-align: -5px; margin: 0 2px; }
.ev-ficha.grande { height: 64px; flex-shrink: 0; }
.ev-topo { display: flex; gap: 12px; align-items: center; background: #fff6e8; border: 2px solid #f0c27a; border-radius: 14px; padding: 8px 12px; flex-shrink: 0; }
.ev-total { font-size: 20px; font-weight: 900; color: #6d3a07; }
.ev-trilha { display: flex; gap: 6px; overflow-x: auto; padding: 10px 2px; flex-shrink: 0; }
.ev-bau { flex: 1 0 92px; text-align: center; background: #fffaf2; border: 2px solid #e6d5b8; border-radius: 12px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ev-bau img { width: 60px; height: 52px; object-fit: contain; filter: grayscale(.85) brightness(.9); }
.ev-bau.pode { border-color: #f0a33a; background: #fff3d6; }
.ev-bau.pode img { filter: none; animation: lxPulsa 1s ease-in-out infinite; }
.ev-bau.aberto { opacity: .6; }
.ev-bau.aberto img { filter: none; }
.ev-bau-n { font-weight: 900; font-size: 13px; }
.ev-bau-p { font-size: 10px; line-height: 1.15; color: #6d4c1d; min-height: 24px; }
.ev-bau .pegar { padding: 3px 10px; font-size: 12px; }
.ev-h { margin: 6px 0 2px; font-size: 16px; }
.ev-tarefa { display: flex; align-items: center; gap: 10px; background: #fffaf2; border: 2px solid #e6d5b8; border-radius: 12px; padding: 6px 10px; margin-top: 6px; flex-shrink: 0; }
.ev-tarefa.atual { border-color: #f0a33a; background: #fff3d6; }
.ev-tarefa.feita { opacity: .55; }
.ev-tarefa.bloq { opacity: .7; filter: grayscale(.6); }
.ev-t-ic { font-size: 26px; width: 34px; text-align: center; }
.ev-t-corpo { flex: 1; min-width: 0; }
.ev-t-txt { font-weight: 800; }
.ev-t-fichas { font-weight: 900; color: #6d3a07; white-space: nowrap; }

.ev-bau .ev-bau-n img { width: auto; height: 18px; filter: none !important; animation: none !important; vertical-align: -4px; }

/* Clubes: chat, membros e ranking */
.cl-intro h3 { margin: 0 0 4px; }
.cl-criar { display: flex; flex-direction: column; gap: 6px; background: #fff8e6; border: 2px solid #f0c27a; border-radius: 12px; padding: 8px 10px; margin: 8px 0; flex-shrink: 0; }
.cl-criar input { padding: 7px 10px; border-radius: 10px; border: 2px solid #e2c597; font-size: 15px; }
.cl-emblemas { display: flex; flex-wrap: wrap; gap: 4px; }
.cl-emblemas button { width: 36px; height: 36px; font-size: 20px; border-radius: 10px; border: 2px solid #e2c597; background: #fff; padding: 0; cursor: pointer; }
.cl-emblemas button.on { border-color: #7c3aed; background: #f3e8ff; }
.cl-pos { width: 30px; font-weight: 900; text-align: center; flex-shrink: 0; }
.cl-emb { font-size: 26px; width: 34px; text-align: center; flex-shrink: 0; }
.cl-emb.grande { font-size: 52px; width: 64px; }
.cl-pts { font-weight: 900; color: #6d3a07; min-width: 44px; text-align: right; }
.cl-topo { display: flex; gap: 10px; align-items: center; background: #eef7ff; border: 2px solid #9ccbe8; border-radius: 14px; padding: 8px 12px; flex-shrink: 0; }
.cl-nome { font-size: 20px; font-weight: 900; }
.cl-torneio { font-size: 13px; margin-top: 3px; }
.cl-abas { display: flex; gap: 6px; margin: 8px 0; flex-shrink: 0; }
.cl-abas button { flex: 1; padding: 6px; border-radius: 10px; border: 2px solid #e2c597; background: #f3e2c8; font-weight: 800; cursor: pointer; }
.cl-abas button.on { background: linear-gradient(#ffd27a, #f0a33a); }
.cl-chat { display: flex; flex-direction: column; gap: 6px; max-height: 46vh; min-height: 160px; overflow-y: auto; background: #fffaf2; border: 2px solid #e6d5b8; border-radius: 12px; padding: 8px; flex-shrink: 0; }
.cl-msg { max-width: 82%; align-self: flex-start; background: #fff; border: 1px solid #e6d5b8; border-radius: 12px 12px 12px 4px; padding: 5px 9px; }
.cl-msg.eu { align-self: flex-end; background: #dcf3d6; border-color: #a5d6a7; border-radius: 12px 12px 4px 12px; }
.cl-msg-quem { font-size: 11px; font-weight: 800; color: #7a5b2e; }
.cl-msg-txt { font-size: 14px; word-wrap: break-word; }
.cl-enviar { display: flex; gap: 6px; margin-top: 6px; flex-shrink: 0; }
.cl-enviar input { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 2px solid #e2c597; font-size: 15px; }
.cl-premio { display: flex; gap: 10px; align-items: center; background: #fff3d6; border: 2px solid #f0a33a; border-radius: 12px; padding: 8px 10px; margin-bottom: 8px; flex-shrink: 0; }
.cl-premio img { height: 54px; }
.cl-premios { font-size: 13px; background: #fff8e6; border-radius: 10px; padding: 6px 10px; margin-top: 8px; flex-shrink: 0; }

/* Fusão de bebidas (minijogo de juntar iguais) */
#fusao { position: fixed; inset: 0; z-index: 25; background: rgba(30,15,5,.55); display: grid; place-items: center; }
#fusao.hidden { display: none; }
#fusao .fz-caixa { width: min(560px, 98vw); height: min(900px, 97vh); display: flex; flex-direction: column; overflow: hidden;
  background: var(--panel); border: 5px solid var(--panel-border); border-radius: 22px; box-shadow: 0 0 0 4px #5b3a1c, 0 20px 50px rgba(0,0,0,.6); }
#fz-pedidos { display: flex; gap: 6px; padding: 8px; background: #fff3dc; border-bottom: 2px solid var(--panel-border); }
.fz-pedido { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; background: #fff; border: 2px solid #e2c597; border-radius: 12px; padding: 4px; }
.fz-pedido.pronto { border-color: #4caf50; background: #eef8ee; }
.fz-av { width: 40px; height: 40px; border-radius: 50%; }
.fz-quer { display: flex; gap: 2px; }
.fz-quer span { position: relative; width: 40px; height: 40px; border-radius: 8px; background: #f3e2c8; display: grid; place-items: center; }
.fz-quer span.tem { background: #c8e6c9; }
.fz-quer img { width: 36px; height: 36px; object-fit: contain; }
.fz-quer b, .fz-n { position: absolute; right: 1px; bottom: -2px; font-size: 10px; background: #5b3a1c; color: #fff; border-radius: 8px; padding: 0 4px; }
.fz-rec { font-size: 12px; font-weight: 800; color: #6d3a07; }
.fz-pedido button { padding: 3px 10px; border-radius: 10px; border: 2px solid #2e8b3e; background: linear-gradient(#7ad67f, #3fa34a); color: #fff; font-weight: 900; cursor: pointer; }
.fz-barra { display: flex; align-items: center; gap: 8px; padding: 4px 10px; font-weight: 800; color: #4a2f14; }
#fz-energia { display: flex; align-items: center; gap: 3px; }
#fz-energia img { height: 24px; }
#fz-energia button { padding: 1px 8px; border-radius: 10px; border: 2px solid #e2c597; background: #fff; font-weight: 800; cursor: pointer; }
#fz-prox { color: #7a5b2e; font-weight: 600; }
.fz-dica { flex: 1; text-align: right; font-size: 11px; font-weight: 600; color: #7a5b2e; }
#fz-lixo { width: 46px; height: 46px; padding: 0; border: none; background: none; cursor: pointer; }
#fz-lixo img { width: 100%; height: 100%; object-fit: contain; }
.fz-area { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 6px; background: linear-gradient(#6bb3e8, #2e6fb0); }
#fz-tab { display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(8, 1fr); gap: 3px; touch-action: none; user-select: none; }
.fz-casa { position: relative; border-radius: 10px; display: grid; place-items: center; background: #e6f2fb; box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.fz-casa.b { background: #d6e9f7; }
.fz-casa img { pointer-events: none; }
.fz-item { width: 88%; height: 88%; object-fit: contain; cursor: grab; }
.fz-item.novo { animation: fzSurge .3s ease-out; }
@keyframes fzSurge { from { transform: scale(.3); } 70% { transform: scale(1.15); } to { transform: scale(1); } }
.fz-casa.arrastando .fz-item { opacity: .3; }
.fz-cesta { width: 96%; height: 96%; object-fit: contain; cursor: pointer; animation: lxPulsa 1.8s ease-in-out infinite; }
.fz-teia { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.fz-casa .fz-n { right: 3px; bottom: 2px; }
.fz-fantasma { position: fixed; z-index: 60; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,.4)); transform: scale(1.1); }
#fz-aviso { position: absolute; left: 50%; top: 10px; transform: translate(-50%, -10px); background: rgba(40,25,10,.9); color: #fff; padding: 6px 14px; border-radius: 14px;
  font-weight: 800; font-size: 14px; opacity: 0; transition: .25s; pointer-events: none; text-align: center; max-width: 90%; }
#fz-aviso.on { opacity: 1; transform: translate(-50%, 0); }
#fz-cadeia { display: flex; gap: 2px; padding: 6px 8px; overflow-x: auto; background: #fff3dc; border-top: 2px solid var(--panel-border); }
#fz-cadeia span { position: relative; flex: 0 0 38px; height: 38px; display: grid; place-items: center; }
#fz-cadeia img { width: 34px; height: 34px; object-fit: contain; }
#fz-cadeia span.nao img { filter: brightness(0) opacity(.25); }
#fz-cadeia b { position: absolute; right: 0; bottom: -2px; font-size: 9px; background: #5b3a1c; color: #fff; border-radius: 6px; padding: 0 3px; }
@media (max-width: 600px) { #fusao .fz-caixa { width: 100vw; height: 100%; border-radius: 0; border-width: 0; } .fz-dica { display: none; } }

/* moldura de luxo ao lado do nome (amigos, ranking, visita) */
.lx-mini { height: 22px; width: 22px; object-fit: contain; vertical-align: -5px; margin-left: 3px; }

.guia-bloq { opacity: .55; filter: grayscale(.7); }

/* Avisos no celular */
.av-status { font-size: 16px; font-weight: 800; padding: 8px 12px; border-radius: 12px; background: #f3f0ea; flex-shrink: 0; }
.av-status.on { background: #e5f6e6; color: #2e7d32; }
.av-tipos { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.av-tipo { display: flex; align-items: center; gap: 10px; background: #fffaf2; border: 2px solid #e6d5b8; border-radius: 12px; padding: 6px 10px; cursor: pointer; }
.av-tipo input { width: 22px; height: 22px; flex-shrink: 0; }
.av-ic { font-size: 24px; width: 30px; text-align: center; flex-shrink: 0; }

/* Amizades (aba Amigos) */
.amz { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.amz h3 { margin: 6px 0 2px; }
.amz-codigo { background: #eef7ff; border: 2px solid #9ccbe8; border-radius: 12px; padding: 6px 10px; font-size: 15px; }
.amz-codigo b { letter-spacing: 2px; font-size: 18px; color: #1d4e89; }
.amz-codigo button { padding: 2px 8px; }
.amz-add { display: flex; gap: 6px; }
.amz-add input { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 2px solid #e2c597; font-size: 15px; }
.amz-ic { font-size: 26px; width: 34px; text-align: center; flex-shrink: 0; }
.amz-tira { padding: 2px 8px; opacity: .6; }

/* carro da pamonha */
.evento.pamonha-chip { background: linear-gradient(#f7c51e, #d99a00) !important; border-color: #3f8f2f !important; color: #3a2400 !important; animation: frenesiPulsa 1s ease-in-out infinite alternate; }
#pamonha .pamonha-head { background: linear-gradient(90deg, #f2b705, #4c8f2b); }
#pamonha .panel-head h2 { color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.5); }
.pm-topo { display: flex; gap: 12px; align-items: center; background: #fff8dc; border: 2px solid #f2c94c; border-radius: 14px; padding: 8px 12px; }
.pm-topo img { width: 130px; flex: none; }
.pm-topo p { margin: 0 0 6px; }
.pm-tempo { margin-top: 6px !important; color: #b3261e; }
.pm-botoes { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.pm-botoes button { flex: 1 1 200px; }
@media (max-width: 520px) { .pm-topo img { width: 90px; } }

/* carro do ovo (pechincha) e Tempero da Granja */
.evento.ovo-chip { background: linear-gradient(#fff3c4, #f2c94c) !important; border-color: #c77b1a !important; color: #4a2a00 !important; animation: frenesiPulsa 1s ease-in-out infinite alternate; }
#ovo .ovo-head { background: linear-gradient(90deg, #f2b705, #c0392b); }
#ovo .panel-head h2 { color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.5); }
.ovo-fala { position: relative; background: #fff; border: 2px solid #f2c94c; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 16px; color: #5b3a1c; }
.ovo-fala::before { content: ""; position: absolute; left: -10px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-right-color: #f2c94c; border-left: 0; }
.ovo-item { display: flex; gap: 10px; align-items: center; margin: 10px 0; padding: 8px 12px; background: #f3fbe9; border: 2px solid #9ccc65; border-radius: 12px; }
.ovo-item img { height: 54px; flex: none; }
.price s { opacity: .6; margin-right: 2px; }
.price b.granja { color: #2e7d32; }

/* carro de limpeza e Limpa-Tudo */
.evento.limpeza-chip { background: linear-gradient(#d6f1ff, #5bb8f0) !important; border-color: #1565c0 !important; color: #0b3a66 !important; animation: frenesiPulsa 1s ease-in-out infinite alternate; }
#limpeza .limpeza-head { background: linear-gradient(90deg, #f2b705, #1e88e5); }
#limpeza .panel-head h2 { color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.5); }

/* carro da panela velha (algodão doce) e coleção de panelas exclusivas */
.evento.panela-chip { background: linear-gradient(#ffe3ee, #f48fb1) !important; border-color: #26a69a !important; color: #5a1a35 !important; animation: frenesiPulsa 1s ease-in-out infinite alternate; }
#panela .panela-head { background: linear-gradient(90deg, #f48fb1, #26a69a); }
#vigia .vigia-head { background: linear-gradient(90deg, #1a237e, #c62828); }
/* presente de avatar exclusivo: janela em destaque (brilho pulsando) até a pessoa escolher */
#presente-avatar.presente-avatar { z-index: 55; width: min(440px, calc(100vw - 24px)); border-color: #f2c94c; box-shadow: 0 0 0 6px rgba(242,201,76,.45), 0 12px 40px rgba(0,0,0,.6); animation: presentePulsa 1.1s ease-in-out infinite alternate; }
#presente-avatar .panel-head { background: linear-gradient(90deg, #e53935, #f2b705); }
@keyframes presentePulsa { from { box-shadow: 0 0 0 4px rgba(242,201,76,.35), 0 12px 40px rgba(0,0,0,.6); } to { box-shadow: 0 0 0 12px rgba(242,201,76,.65), 0 12px 40px rgba(0,0,0,.6); } }
#vigia .ovo-item { display: flex; gap: 12px; align-items: center; margin: 10px 0; }
#panela .panel-head h2 { color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.5); }

/* ---------- TEMA NOVO em todas as janelas (22/10/2026) ----------
   ui.js põe a classe .tema-novo em toda .panel (também nas criadas depois). Moldura, cabeçalho, título e fechar vêm do
   bloco do tema lá em cima (feito para o menu de Molhos); aqui: título um pouco menor para nomes longos, os cabeçalhos
   coloridos especiais (Luxo, Passe, Mercado…) mantêm a cor, e os cartões e botões genéricos ganham o mesmo acabamento. */
.panel.tema-novo > .panel-head h2 { font-size: 28px; }
#molhos.tema-novo > .panel-head h2 { font-size: 34px; }
.panel.tema-novo > .panel-head h2 img { height: 46px; }
.panel.tema-novo > .panel-head h2 img.ic { height: 40px; width: auto; }
.panel.tema-novo > .panel-head[class*="-head "], .panel.tema-novo > .panel-head.passe-head { border-radius: 22px 22px 0 0; }
.panel.tema-novo > .panel-head.luxo-head { background: linear-gradient(90deg, #7b45d6, #1d6fe0, #e0508f); }
.panel.tema-novo > .panel-head.passe-head { background: linear-gradient(#ffcf3d, #e09a10); }
.panel.tema-novo > .panel-head.mercado-head { background: linear-gradient(90deg, #ef4444, #f59e0b, #eab308, #22c55e, #3b82f6, #8b5cf6); }
.panel.tema-novo > .panel-head.misterio-head { background: linear-gradient(#d81b8f, #9c1268); }
.panel.tema-novo > .panel-head.maravilha-head { background: linear-gradient(#1e88e5, #1259a8); }
.panel.tema-novo > .panel-head.bufe-head { background: linear-gradient(#ff8a3d, #e8590c); }
.panel.tema-novo > .panel-head.diario-head { background: url(../assets/ui/diario_fundo.png) center/cover; }
.panel.tema-novo .tabs { background: transparent; }
/* cartões genéricos (missões, listas) no mesmo acabamento do .mh-card */
.tema-novo .missao { border: 3px solid #f4d49b; border-radius: 20px; background: linear-gradient(#fffbf1, #fff1d6); box-shadow: inset 0 2px 0 #fff, 0 3px 0 #e9c486; }
.tema-novo .missao.feita { border-color: #7cc576; background: linear-gradient(#f6fff1, #e3f6d9); box-shadow: inset 0 2px 0 #fff, 0 3px 0 #9fd58f; }
.tema-novo .cx-item { border: 2px solid #f0d09a; border-radius: 16px; background: linear-gradient(#fffbf1, #fff3dd); box-shadow: 0 2px 0 #ecc98d; }
/* botões genéricos dentro das janelas: 3D, amarelo; .pegar verde; .danger vermelho */
.tema-novo .menu-body button:not(.mh-usar):not(.mh-comprar):not(.close):not(.tab):not(.rec-fav):not(.radio-fav):not(.pegar):not(.danger) {
  border-radius: 14px; border: 3px solid #cc7d0c; background: linear-gradient(#ffdc6a, #f6a823); color: #4a1e08; font-weight: 900;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.55), 0 3px 0 #9a5c05; }
.tema-novo .menu-body button.pegar, .tema-novo button.pegar { border: 3px solid #2f8a1e; background: linear-gradient(#8de462, #43ad2e); color: #fff;
  text-shadow: 0 1px 0 #1f5c14; box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 3px 0 #1f5c14; border-radius: 14px; font-weight: 900; }
.tema-novo .menu-body button.danger, .tema-novo button.danger { border: 3px solid #a51c1c; background: linear-gradient(#ff8a80, #e53935); color: #fff;
  text-shadow: 0 1px 0 #7a1010; box-shadow: inset 0 2px 0 rgba(255,255,255,.45), 0 3px 0 #7a1010; }
.tema-novo .menu-body button:disabled { filter: grayscale(.6); opacity: .55; }
.tema-novo .menu-body button:not(:disabled):active { transform: translateY(2px); box-shadow: none; }
@media (max-width: 460px) {
  .panel.tema-novo > .panel-head h2 { font-size: 21px; }
  #molhos.tema-novo > .panel-head h2 { font-size: 26px; }
  .panel.tema-novo > .panel-head h2 img { height: 36px; }
}
/* peças da IA do tema novo (ui.js aplicaPecasTema liga cada uma só quando a imagem já foi instalada) */
.panel.tema-novo.tt-com-icone > .panel-head h2::before { content: ""; flex: none; width: 50px; height: 50px; margin: -10px 0 -10px -4px;
  background: var(--tt-ic) center/contain no-repeat; filter: drop-shadow(0 3px 2px rgba(0,0,0,.3)); }
body.tema-folha .panel.tema-novo { overflow: visible; }
body.tema-folha .panel.tema-novo > :last-child { border-radius: 0 0 24px 24px; }
body.tema-folha .panel.tema-novo::before { content: ""; position: absolute; left: -2px; top: -32px; width: 46px; height: 46px; z-index: 3; pointer-events: none;
  background: var(--tema-folha) center/contain no-repeat; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
body.tema-fechar-img .panel.tema-novo .close { background: var(--tema-fechar) center/contain no-repeat; border: none; box-shadow: none; color: transparent; text-shadow: none; }
/* folhas claras no cabeçalho (antes do fechar) e nos cantos do rodapé, como na arte do menu de Molhos */
body.tema-folhas-cab .panel.tema-novo > .panel-head { position: relative; }
body.tema-folhas-cab .panel.tema-novo > .panel-head > h2, body.tema-folhas-cab .panel.tema-novo > .panel-head > .close { position: relative; z-index: 1; }
body.tema-folhas-cab .panel.tema-novo > .panel-head::after { content: ""; position: absolute; right: 66px; top: 0; bottom: 0; width: 150px; z-index: 0; pointer-events: none;
  background: var(--tema-folhas-cab) right center/contain no-repeat; opacity: .38; }
body.tema-folhas-rod .mh-rodape { position: relative; padding-left: 58px; padding-right: 58px; }
body.tema-folhas-rod .mh-rodape::before, body.tema-folhas-rod .mh-rodape::after { content: ""; position: absolute; bottom: 4px; width: 50px; height: 50px; pointer-events: none;
  background: var(--tema-folhas-rod) center/contain no-repeat; filter: sepia(.5) saturate(1.4) brightness(.92); opacity: .75; }
body.tema-folhas-rod .mh-rodape::before { left: 6px; }
body.tema-folhas-rod .mh-rodape::after { right: 6px; transform: scaleX(-1); }
@media (max-width: 460px) {
  body.tema-folhas-cab .panel.tema-novo > .panel-head::after { right: 52px; width: 96px; }
  body.tema-folhas-rod .mh-rodape { padding-left: 38px; padding-right: 38px; }
  body.tema-folhas-rod .mh-rodape::before, body.tema-folhas-rod .mh-rodape::after { width: 32px; height: 32px; }
  .panel.tema-novo.tt-com-icone > .panel-head h2::before { width: 38px; height: 38px; }
  body.tema-folha .panel.tema-novo::before { width: 34px; height: 34px; left: 0; top: -24px; }
}
#pill-vip img.vip-coroa { height: 26px; width: auto; }
@media (max-width: 520px) { #pill-vip img.vip-coroa { height: 20px; } }
/* aviso de upgrade da máquina de bebidas na janela de nível */
.nivel-maq { display: flex; align-items: center; gap: 10px; margin: 8px 0; padding: 8px 12px; border-radius: 14px; background: linear-gradient(#f2fff0, #dcf5d2); border: 2px solid #7cc576; font-weight: 700; color: #1e5b1a; }
.nivel-maq img { height: 48px; width: auto; flex: none; }
/* ---------- painel AVISOS do lado direito (22/10/2026, arte do dono do jogo): aberto = cartão creme com a lista;
   recolhido = só a aba com a setinha e o sino com o número. Substitui a fila de selos no meio do topo. ---------- */
#eventos-bar.avisos-lado { left: auto !important; right: 12px; top: 74px; transform: none !important; max-width: none !important; width: 290px;
  display: block; padding: 0; overflow: hidden; color: #4a1e08; background: linear-gradient(#fff8e6, #fdebc8); border: 4px solid #e8a33c; border-radius: 20px;
  box-shadow: 0 0 0 2px #fff3d3 inset, 0 5px 0 #b8661a, 0 10px 18px rgba(0,0,0,.35); }
#eventos-bar.avisos-lado .av-cab { display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 8px; cursor: pointer; background: linear-gradient(#fffaf0, #fbe5bd); border-bottom: 2px solid #efcf98; }
#eventos-bar.avisos-lado .av-sino { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 1px rgba(0,0,0,.25)); }
#eventos-bar.avisos-lado .av-tit { font-size: 20px; font-weight: 900; }
#eventos-bar.avisos-lado .av-num { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: #e53935; color: #fff; border: 2px solid #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
#eventos-bar.avisos-lado .av-seta { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe08a, #f6a823 70%); border: 2px solid #cc7d0c; box-shadow: 0 2px 0 #9a5c05; display: flex; align-items: center; justify-content: center; }
#eventos-bar.avisos-lado .av-seta::before { content: ""; border: 6px solid transparent; border-left: 8px solid #5b2a0c; border-right: 0; margin-left: 3px; }
#eventos-bar.avisos-lado .av-lista { display: flex; flex-direction: column; gap: 6px; padding: 7px; max-height: calc(100vh - 230px); overflow-y: auto; }
#eventos-bar.avisos-lado .evento { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 14px; font-size: 13px; font-weight: 600; max-width: none;
  background: linear-gradient(#fffdf6, #fff3dd) !important; color: #4a1e08 !important; border: 2px solid #f1dcb4 !important; box-shadow: 0 2px 0 #ecc98d; animation: none; }
#eventos-bar.avisos-lado .evento .ev-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: linear-gradient(#fff, #f3e6ff); box-shadow: inset 0 0 0 2px #e6d4f7; }
#eventos-bar.avisos-lado .evento .ev-ic img { width: 36px; height: 36px; object-fit: contain; }
#eventos-bar.avisos-lado .ev-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; white-space: normal; overflow: visible; }
#eventos-bar.avisos-lado .ev-txt b { font-size: 14.5px; font-weight: 900; color: #3d1a06; }
#eventos-bar.avisos-lado .ev-txt small { font-size: 11.5px; color: #7a5a3c; font-weight: 600; }
#eventos-bar.avisos-lado .ev-tempo { flex: none; padding: 3px 9px; border-radius: 10px; background: linear-gradient(#efe4ff, #ddd0fb); color: #4b2a8a; font-weight: 900; font-size: 13px; opacity: 1; }
#eventos-bar.avisos-lado .ev-tempo::before { content: none; }
/* quem pede ação (carros de rua, vigia, frenesi, baú pronto): o ícone pulsa para chamar atenção */
#eventos-bar.avisos-lado .evento:is(.pamonha-chip, .ovo-chip, .limpeza-chip, .panela-chip, .vigia-chip, .frenesi-chip, .pronto) .ev-ic { animation: frenesiPulsa 1s ease-in-out infinite alternate; }
#eventos-bar.avisos-lado .evento.frenesi-chip .ev-ic { background: linear-gradient(#fff6c8, #ffd54a); box-shadow: inset 0 0 0 2px #f2b705; }
#eventos-bar.avisos-lado .evento.breve { opacity: .85; }
/* recolhido: só a aba na borda direita (setinha + sino com o número) */
#eventos-bar.avisos-lado.recolhido { width: auto; right: 0; border-right: 0; border-radius: 18px 0 0 18px; }
#eventos-bar.avisos-lado.recolhido .av-lista, #eventos-bar.avisos-lado.recolhido .av-tit { display: none; }
#eventos-bar.avisos-lado.recolhido .av-cab { border-bottom: 0; padding: 6px 10px 6px 6px; position: relative; }
#eventos-bar.avisos-lado.recolhido .av-seta { order: -1; margin-left: 0; width: 24px; height: 24px; background: none; border: 0; box-shadow: none; }
#eventos-bar.avisos-lado.recolhido .av-seta::before { border-left: 0; border-right: 8px solid #5b2a0c; margin: 0; }
#eventos-bar.avisos-lado.recolhido .av-sino { width: 40px; height: 40px; }
#eventos-bar.avisos-lado.recolhido .av-num { position: absolute; top: 0; right: 2px; }
/* aviso novo com o painel recolhido (26/10/2026, pedido do dono): seta vermelha à esquerda da aba, apontando para o sino */
#eventos-bar.avisos-lado.recolhido { overflow: visible; }
#eventos-bar.avisos-lado.recolhido .av-cab { border-radius: 14px 0 0 14px; }   /* idem: o fundo da aba segue o canto (18 − 4 de borda) */
#eventos-bar.avisos-lado .av-alerta { display: none; }
#eventos-bar.avisos-lado.recolhido .av-alerta { display: block; position: absolute; right: calc(100% + 4px); top: 50%; width: 54px; height: 54px; margin-top: -27px; cursor: pointer;   /* tocar abre o painel */
  background: url(../assets/ui/ic/seta_alerta_direita.png) center / contain no-repeat;       /* arte da IA (PEDIDOS_IA_SETAS.txt) */
  animation: avAlerta .7s ease-in-out infinite alternate; filter: drop-shadow(0 2px 1px rgba(0,0,0,.3)); }
@keyframes avAlerta { from { transform: translateX(-8px); } to { transform: translateX(0); } }
/* janela dos upgrades disponíveis (upgrades.js) */
#upgrades .up-lista li { align-items: center; }
#upgrades .up-thumb { flex: none; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
#upgrades .up-thumb img, #upgrades .up-thumb canvas { max-width: 52px; max-height: 52px; object-fit: contain; }
#upgrades .up-novo { font-style: normal; font-size: 11px; font-weight: 900; color: #fff; background: #e53935; border-radius: 8px; padding: 1px 6px; }
#upgrades li small { color: #6a4a2c; }
#eventos-bar.avisos-lado .evento.upgrade-chip .ev-ic { font-size: 24px; }
/* janela dos requisitos para subir de nível (nivel_req.js) */
#nivel-req .nr-lista li.nr-ok { opacity: .65; }
#nivel-req .nr-ic { flex: none; width: 34px; font-size: 24px; text-align: center; }
#nivel-req li small { color: #6a4a2c; }
#eventos-bar.avisos-lado .evento.nivel-chip .ev-ic { font-size: 24px; }
body.hud-duas #eventos-bar.avisos-lado { top: 128px; }
@media (max-width: 900px) { #eventos-bar.avisos-lado { top: 120px; } }
@media (max-width: 700px) {
  #eventos-bar.avisos-lado { top: 112px; right: 8px; width: min(240px, calc(100vw - 16px)); border-width: 3px; border-radius: 16px; }
  #eventos-bar.avisos-lado .av-tit { font-size: 16px; } #eventos-bar.avisos-lado .av-sino { width: 26px; height: 26px; }
  #eventos-bar.avisos-lado .evento { gap: 6px; padding: 4px 6px; } #eventos-bar.avisos-lado .evento .ev-ic { width: 32px; height: 32px; font-size: 18px; }
  #eventos-bar.avisos-lado .evento .ev-ic img { width: 27px; height: 27px; }
  #eventos-bar.avisos-lado .ev-txt b { font-size: 12px; } #eventos-bar.avisos-lado .ev-txt small { font-size: 10.5px; } #eventos-bar.avisos-lado .ev-tempo { font-size: 11px; padding: 2px 6px; }
  #eventos-bar.avisos-lado.recolhido .av-sino { width: 32px; height: 32px; }
}/* evento da semana: a tarefa atual leva direto para onde ela se cumpre */
.ev-tarefa[data-ir] { cursor: pointer; transition: transform .1s; }
.ev-tarefa[data-ir]:hover { transform: translateY(-1px); box-shadow: 0 3px 0 #e9c486, 0 0 0 3px rgba(242,183,5,.35); }
.ev-tarefa[data-ir]:active { transform: translateY(1px); }
.ev-ir { flex: none; margin-left: 8px; padding: 5px 12px; border-radius: 14px; border: 3px solid #2f8a1e; background: linear-gradient(#8de462, #43ad2e); color: #fff; font-weight: 900; font-size: 15px; text-shadow: 0 1px 0 #1f5c14; box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 3px 0 #1f5c14; }
/* aviso de ajuda de amigos: Retribuir e Visitar */
#eventos-bar.avisos-lado .av-amigo { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 5px; }
#eventos-bar.avisos-lado .av-amigo i { font-style: normal; font-weight: 800; font-size: 11.5px; color: #5b3a1c; width: 100%; }
#eventos-bar.avisos-lado .av-bt { padding: 3px 9px; border-radius: 11px; border: 2px solid #cc7d0c; background: linear-gradient(#ffdc6a, #f6a823); color: #4a1e08; font-weight: 900; font-size: 12px; cursor: pointer; box-shadow: 0 2px 0 #9a5c05; }
#eventos-bar.avisos-lado .av-bt.ok { border-color: #2f8a1e; background: linear-gradient(#8de462, #43ad2e); color: #fff; text-shadow: 0 1px 0 #1f5c14; box-shadow: 0 2px 0 #1f5c14; }
#eventos-bar.avisos-lado .av-bt:disabled { filter: grayscale(.5); opacity: .7; cursor: default; }
#eventos-bar.avisos-lado .av-bt:not(:disabled):active { transform: translateY(1px); box-shadow: none; }
/* celular: tela cheia e zoom (+ / −) no canto direito, acima do botão Botões */
#tela-ctl { display: none; }
@media (max-width: 900px), (pointer: coarse) {
  #tela-ctl { display: flex; flex-direction: column; gap: 6px; position: absolute; right: 8px; bottom: 96px; z-index: 6; }
  #tela-ctl button { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 2px solid #d9a05b; background: rgba(40,25,10,.82); color: #ffd27a;
    font-size: 24px; font-weight: 900; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(0,0,0,.4); cursor: pointer; }
  #tela-ctl button:active { transform: scale(.92); }
  /* ícone de tela cheia: quatro cantinhos (vira "sair" com os cantos para dentro) */
  #tela-ctl .tc-ic { width: 18px; height: 18px; position: relative;
    background: linear-gradient(#ffd27a, #ffd27a) 0 0 / 7px 2.5px, linear-gradient(#ffd27a, #ffd27a) 0 0 / 2.5px 7px,
                linear-gradient(#ffd27a, #ffd27a) 100% 0 / 7px 2.5px, linear-gradient(#ffd27a, #ffd27a) 100% 0 / 2.5px 7px,
                linear-gradient(#ffd27a, #ffd27a) 0 100% / 7px 2.5px, linear-gradient(#ffd27a, #ffd27a) 0 100% / 2.5px 7px,
                linear-gradient(#ffd27a, #ffd27a) 100% 100% / 7px 2.5px, linear-gradient(#ffd27a, #ffd27a) 100% 100% / 2.5px 7px; background-repeat: no-repeat; }
  body.tela-cheia #tela-ctl .tc-ic { transform: scale(.7); opacity: .8; }
}/* Pesque e Pague (pesqueiro.js): janela no mesmo acabamento do menu de Molhos */
#pesqueiro .pq-ic { width: 72px; height: 72px; flex: none; object-fit: contain; }
#pesqueiro .pq-resumo { display: flex; flex-wrap: wrap; gap: 6px; }
#pesqueiro .pq-resumo span { padding: 4px 10px; border-radius: 14px; background: linear-gradient(#fffaf0, #fbe8c4); border: 2px solid #f0d09a; font-weight: 700; font-size: 13px; color: #4a1e08; }
#pesqueiro .pq-h { margin: 8px 0 0; font-size: 18px; font-weight: 900; color: #4a1e08; }
#pesqueiro .pq-h small { font-size: 12px; font-weight: 700; color: #7a5a3c; margin-left: 6px; }
#pesqueiro .pq-card.bloq { filter: grayscale(.7); opacity: .7; }
#pesqueiro .pq-card.ativo { border-color: #7cc576; background: linear-gradient(#f6fff1, #e3f6d9); }
#pesqueiro .pq-tempo { display: block; text-align: center; font-size: 11px; color: #7a5a3c; font-weight: 700; }
@media (max-width: 460px) { #pesqueiro .pq-ic { width: 48px; height: 48px; } }#pesqueiro .pq-cercas { display: flex; flex-wrap: wrap; gap: 6px; }
#pesqueiro .pq-cerca { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 14px; border: 2px solid #f0d09a; background: linear-gradient(#fffaf0, #fbe8c4); font-weight: 800; font-size: 13px; color: #4a1e08; cursor: pointer; }
#pesqueiro .pq-cerca.sel { border-color: #2f8a1e; background: linear-gradient(#f2fff0, #d8f3cf); }
#pesqueiro .pq-cerca i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(0,0,0,.3); }
#pesqueiro .pq-cercas .mh-usar, #pesqueiro .pq-cercas .mh-comprar { font-size: 15px; padding: 6px 14px; }
.cerca-amostra { display: block; width: 70%; height: 46px; margin: 20px auto 0; border-radius: 8px; border: 3px solid rgba(0,0,0,.25); box-shadow: inset 0 -10px 0 rgba(0,0,0,.15); }
/* 27/10/2026 (pedido do dono): abas mais justas no celular — Missões (5 abas) e Lucros (4) cabem sem arrastar */
@media (max-width: 480px) { .tabs { gap: 3px; padding-left: 6px; padding-right: 6px; } .tab { padding: 7px 7px; font-size: 13px; } }
/* 27/10/2026: aviso do ticket de expansão na janela dos carros da rua (tickets_expansao.js) */
.tk-aviso { background: #fff3c4; border: 1px solid #e0b84a; border-radius: 10px; padding: 6px 10px; margin: 6px 0; color: #5b3a1c; }
/* 27/10/2026: liberar o prato do requisito de nível com Cafe Cash (nivel_req.js) */
.nr-botoes { display: flex; flex-direction: column; gap: 4px; align-items: stretch; } .nr-pula { white-space: nowrap; }
/* 27/10/2026: mini tutoriais (tutorial.js) — "Agora não" e "Pular" discretos, o botão de seguir em destaque */
#tutorial .tut-depois { background: none; border-color: transparent; color: #7a5a3a; font-weight: 600; text-decoration: underline; padding-left: 0; padding-right: 4px; }
#tutorial .tut-botoes { flex-wrap: wrap; align-items: center; }
/* 27/10/2026: fazer os Temperos com os temperos da cozinha (ui.js fillMolhos) */
.mh-cozinha { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 8px; padding: 6px 10px; background: #fff3c4; border: 1px solid #e0b84a; border-radius: 12px; color: #5b3a1c; font-size: 14px; }
.mh-cozinha span { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; }
.mh-tp { height: 22px; width: 22px; object-fit: contain; vertical-align: middle; }
.mh-fazer { border-radius: 16px; font-weight: 900; cursor: pointer; padding: 5px 4px; background: linear-gradient(#8fd16a, #4e9a2c); border: 2px solid #2f6a17; color: #fff; text-shadow: 0 1px 0 #2f6a17; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 4px; font-size: 13px; }
.mh-fazer span { display: inline-flex; align-items: center; font-size: 12px; }
.mh-fazer .mh-tp { height: 18px; width: 18px; }
.mh-fazer:disabled { filter: grayscale(.6); opacity: .55; cursor: not-allowed; }
/* 27/10/2026 (pedido do dono): no celular os 8 níveis do Luxo ficam em 2 fileiras de 4, sem passar da tela */
@media (max-width: 480px) { .lx-carreira { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 4px 2px; } .lx-degrau { min-width: 0; } .lx-degrau img { width: 36px; height: 36px; } }
