/* Palavreiro (site) — mesmo visual do app: "Noite suave", fonte Outfit, formas arredondadas */
:root {
  --bg-top: #2A2058;
  --bg-bottom: #120E2B;
  --surface: #231C48;
  --surface-high: #2F275C;
  --outline: #4A4180;
  --absent: #3A3363;
  --key: #5A4F96;
  --key-absent: #17132F;
  --text: #F4F1FF;
  --muted: #A9A2D0;
  --accent: #9B8CFF;
  --correct: #5FB873;
  --present: #E6C14F;
  --blue: #6FA8E8;
  --purple: #B48CF0;
  --red: #E5737A;
  --flag-blue: #4A72CF;
  --dark-text: #1A1438;
  --r-tile: 14px;
  --r-key: 12px;
  --r-card: 28px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;
  background-color: var(--bg-bottom);
  min-height: 100vh;
  min-height: 100dvh;
}
button { font-family: inherit; color: inherit; }
.hidden { display: none !important; }

#app {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 0 14px env(safe-area-inset-bottom);
}

/* ---------- topo ---------- */
.topbar { display: flex; align-items: center; gap: 6px; padding: 10px 0; }
.topbar h1 { flex: 1; margin: 0; font-size: 1.5rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: none; background: transparent;
  display: grid; place-items: center; font-size: 1.25rem; cursor: pointer; color: var(--text); flex-shrink: 0;
}
.icon-btn.filled { background: var(--surface-high); }
.icon-btn svg { width: 24px; height: 24px; }
.badge {
  font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 99px;
  background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red);
}

/* ---------- abertura ---------- */
.splash {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom)); animation: rise .7s ease both; transition: opacity .4s;
}
.splash.hide { opacity: 0; pointer-events: none; }
.splash h1 { font-size: 3rem; font-weight: 800; margin: 22px 0 0; }
.splash .credit { position: absolute; bottom: calc(44px + env(safe-area-inset-bottom)); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.mark { display: flex; gap: 6px; }
.mark span { width: 26px; height: 26px; border-radius: 8px; background: var(--correct); }
.mark span:nth-child(2), .mark span:nth-child(4) { background: var(--present); }
.mark span:nth-child(3) { background: var(--flag-blue); }
#flag { display: block; width: 100%; max-width: 420px; height: 180px; }
.mark.small { gap: 3px; }
.mark.small span { width: 10px; height: 10px; border-radius: 3px; }
.mark.bounce span { animation: hop 1.6s infinite ease-in-out; }
.mark.bounce span:nth-child(2) { animation-delay: .12s; }
.mark.bounce span:nth-child(3) { animation-delay: .24s; }
.mark.bounce span:nth-child(4) { animation-delay: .36s; }
.mark.bounce span:nth-child(5) { animation-delay: .48s; }
@keyframes hop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-9px); } }

/* ---------- créditos ---------- */
.credit {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 14px;
}
.credit img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(255, 255, 255, .7); }
.credit b { color: #fff; text-decoration: underline; }
.footer { display: flex; justify-content: center; padding: 16px 0 20px; }
/* segurar os créditos: sem seleção, sem menu do link; anel cresce enquanto segura */
.credit { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; position: relative; }
.credit img { -webkit-user-drag: none; pointer-events: none; transition: transform 1.5s ease-in, box-shadow 1.5s ease-in; }
.credit.pressing img { transform: scale(1.18); box-shadow: 0 0 0 4px var(--correct), 0 0 18px 4px color-mix(in srgb, var(--correct) 60%, transparent); }
.credit.pressing { animation: egg-shake .12s linear infinite; animation-delay: .6s; }
@keyframes egg-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-1.5px) rotate(-.6deg); } 75% { transform: translateX(1.5px) rotate(.6deg); } }
.egg-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }
.egg-msg { position: fixed; inset: 0; z-index: 91; display: grid; place-items: center; pointer-events: none; padding: 0 20px; }
.egg-msg span {
  font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 800; text-align: center; line-height: 1.1; color: var(--text);
  padding: 18px 26px; border-radius: 32px; background: color-mix(in srgb, var(--bg-bottom) 72%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  animation: egg-pop .55s cubic-bezier(.2, 1.5, .4, 1) both;
}
.egg-msg.calm span { animation: fade .5s ease both; }
.egg-msg.out { opacity: 0; transition: opacity .7s ease; }
@keyframes egg-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
/* aviso de conquista desbloqueada */
.ach-pill {
  position: fixed; top: calc(10px + env(safe-area-inset-top)); left: 50%; z-index: 85; transform: translate(-50%, -160%);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 7px; row-gap: 1px;
  width: max-content; max-width: calc(100vw - 24px); padding: 9px 18px; border-radius: 99px; text-align: center;
  background: var(--surface-high); color: var(--text); font-size: .9rem; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--present) 55%, transparent), 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .38s cubic-bezier(.2, 1.3, .4, 1), opacity .38s; opacity: 0;
}
.ach-pill.in { transform: translate(-50%, 0); opacity: 1; }
.ach-pill .ap-k { color: var(--present); font-weight: 600; }
.ach-pill .ap-sep { color: var(--muted); }
.ach-pill b { font-weight: 700; }

/* ---------- início ---------- */
.home-head { display: flex; align-items: center; padding: 16px 0 6px; }
.home-head .title { flex: 1; }
.home-head h1 { margin: 0 0 6px; font-size: 2rem; font-weight: 800; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; margin: 18px 6px 10px; }
.cards { display: flex; flex-direction: column; gap: 12px; }
.card {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--outline) 45%, transparent);
  cursor: pointer; text-align: left; width: 100%; transition: transform .12s;
}
.card:active { transform: scale(.98); }
.card .ico { width: 58px; height: 58px; display: grid; place-items: center; flex-shrink: 0; }
.card .txt { flex: 1; min-width: 0; }
.card .name { font-size: 1.3rem; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card .sub { color: var(--muted); font-size: .9rem; }
.pill-badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: var(--surface-high); }
.pill-badge.new { background: var(--present); color: var(--dark-text); }
.mini { display: grid; gap: 2px; }
.mini i { display: block; border-radius: 3px; }

/* ---------- botões ---------- */
.pill {
  border: none; border-radius: 99px; padding: 13px 18px; font-size: 1rem; font-weight: 600; cursor: pointer;
  background: var(--correct); color: #14102C; white-space: nowrap;
}
.pill.ghost { background: var(--surface-high); color: var(--text); }
.pill.accent { background: var(--accent); color: var(--dark-text); }
.pill:disabled { opacity: .4; cursor: default; }
.pill.danger { background: var(--red); color: var(--dark-text); }
.row-btns { display: flex; gap: 10px; }
.row-btns .pill { flex: 1; }
.wide { width: 100%; }

/* ---------- mensagem ---------- */
.toast {
  position: fixed; left: 50%; bottom: 290px; transform: translateX(-50%); z-index: 70;
  background: var(--text); color: var(--dark-text); font-weight: 600; padding: 8px 18px; border-radius: 99px;
  opacity: 0; transition: opacity .2s; pointer-events: none; text-align: center; max-width: 90vw;
}
.toast.show { opacity: 1; }

/* ---------- tabuleiro ---------- */
.game { flex: 1; display: flex; flex-direction: column; }
.boards { flex: 1; display: flex; align-items: center; justify-content: center; padding: 6px 0; }
.boards-grid { display: grid; gap: 12px; }
.board { display: grid; gap: var(--gap, 6px); }
.board.solved { opacity: .75; }
.brow { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap, 6px); }
.tile {
  width: var(--tile, 58px); height: var(--tile, 58px); border-radius: calc(var(--tile, 58px) * .22);
  display: grid; place-items: center; font-weight: 600; font-size: calc(var(--tile, 58px) * .48);
  background: rgba(47, 39, 92, .55); user-select: none; position: relative;
}
.tile.input { background: var(--surface-high); border: 1.5px solid var(--outline); cursor: pointer; }
.tile.input.sel { border: 3px solid var(--accent); }
.tile.input.sel::after {
  content: ""; position: absolute; bottom: 10%; width: 36%; height: 3px; border-radius: 3px; background: var(--accent);
}
.tile.pending { background: var(--surface-high); border: 1.5px solid var(--outline); }
.tile.c { background: var(--correct); }
.tile.p { background: var(--present); color: var(--dark-text); }
.tile.a { background: var(--absent); }
.tile.fade { opacity: .25; }
.tile.flip { animation: flip .32s ease both; }
.tile.pop { animation: pop .11s ease; }
.brow.shake { animation: shake .3s; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
@keyframes pop { from { transform: scale(1.1); } to { transform: none; } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-10px); } 40% { transform: translateX(10px); } 60% { transform: translateX(-7px); } 80% { transform: translateX(7px); } }

/* ---------- teclado ---------- */
.keyboard { display: flex; flex-direction: column; gap: 7px; padding: 8px 0 12px; }
.krow { display: flex; gap: 5px; justify-content: center; }
.key {
  flex: 1; max-width: 48px; height: 56px; border: none; border-radius: var(--r-key); background: var(--key);
  font-weight: 600; font-size: 1.1rem; cursor: pointer; position: relative; overflow: hidden; padding: 0;
}
.key.wide { max-width: 76px; flex: 1.6; font-size: .75rem; }
/* Tecla dividida (Dueto/Quarteto): uma cor por tabuleiro, ocupando a tecla inteira. */
.key .kseg { position: absolute; display: grid; inset: 0; }
.key .kseg i { display: block; }
.key span { position: relative; }
.key.c { background: var(--correct); }
.key.p { background: var(--present); color: var(--dark-text); }
.key.a { background: var(--key-absent); color: rgba(169,162,208,.45); }
.spacer-half { flex: .5; }

/* ---------- janelas ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .55); display: flex; align-items: flex-end; justify-content: center;
  animation: fade .2s;
}
.sheet {
  width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--surface);
  border-radius: 32px 32px 0 0; padding: 22px 24px calc(24px + env(safe-area-inset-bottom)); animation: up .25s ease;
}
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--outline); margin: 0 auto 16px; }
.sheet h2 { margin: 0 0 4px; font-size: 1.6rem; font-weight: 800; text-align: center; }
.sheet .subtitle { color: var(--muted); text-align: center; margin: 0 0 14px; }
.sheet p { line-height: 1.45; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; margin: 14px 0; }
.stats.three { grid-template-columns: repeat(3, 1fr); }
.stats.two { grid-template-columns: repeat(2, 1fr); }
.stats b { display: block; font-size: 1.6rem; font-weight: 800; }
.stats small { color: var(--muted); font-size: .75rem; }
.dist { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.dist div { display: flex; align-items: center; gap: 6px; font-size: .85rem; }
.dist .n { width: 14px; color: var(--muted); }
.dist .bar { background: var(--absent); border-radius: 99px; padding: 3px 8px; text-align: right; font-weight: 600; font-size: .75rem; min-width: 26px; }
.dist .bar.hit { background: var(--correct); }
.meaning { background: var(--surface-high); border-radius: var(--r-card); padding: 16px; margin: 12px 0; }
.meaning small { color: var(--muted); }
.meaning b { display: block; margin-top: 6px; font-size: 1.05rem; }
.note { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 12px; }
.ex { display: flex; gap: 4px; margin-top: 10px; }
.ex .tile { --tile: 34px; }

/* ---------- conexões ---------- */
.conn { padding: 0 2px; }
.conn .hint { text-align: center; color: var(--muted); margin: 0 0 12px; }
.conn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wtile {
  aspect-ratio: 1.15; border: none; border-radius: 16px; background: var(--surface-high); font-weight: 600;
  font-size: .82rem; cursor: pointer; padding: 3px; word-break: keep-all; overflow-wrap: normal; line-height: 1.1;
}
.wtile.sel { background: var(--accent); color: var(--dark-text); }
.solved { border-radius: 18px; padding: 12px; text-align: center; color: var(--dark-text); margin-bottom: 8px; }
.solved b { display: block; text-transform: uppercase; }
.dots { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--muted); margin: 16px 0; font-size: .9rem; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.dots i.off { background: var(--absent); }
.lv0 { background: var(--present); } .lv1 { background: var(--correct); } .lv2 { background: var(--blue); } .lv3 { background: var(--purple); }

/* ---------- caça-palavras ---------- */
.ws-theme { text-align: center; }
.ws-theme small { color: var(--muted); }
.ws-theme h2 { margin: 0 0 10px; font-weight: 800; }
.ws-wrap { position: relative; width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1; border-radius: 24px; background: var(--surface); touch-action: none; user-select: none; }
.ws-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ws-grid { position: absolute; inset: 0; display: grid; }
.ws-grid span { display: grid; place-items: center; font-weight: 600; font-size: clamp(14px, 4.4vw, 22px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0; }
.chips span { background: var(--surface-high); border-radius: 99px; padding: 6px 12px; font-weight: 600; }
.chips span.found { text-decoration: line-through; color: var(--muted); }

/* ---------- quizzes ---------- */
.big-q { background: var(--surface); border-radius: var(--r-card); padding: 22px; text-align: center; font-size: 1.2rem; line-height: 1.4; font-weight: 500; }
.slots { display: flex; justify-content: center; gap: 4px; margin: 20px 0 8px; flex-wrap: nowrap; }
.slots .tile { --tile: min(44px, calc((100vw - 60px) / var(--n))); }
.opt { width: 100%; border: none; border-radius: 20px; padding: 16px; margin: 5px 0; font-size: 1.1rem; font-weight: 600; background: var(--surface-high); cursor: pointer; }
.opt.right { background: var(--correct); color: var(--dark-text); }
.opt.wrong { background: var(--red); color: var(--dark-text); }
.opt.dim { background: var(--surface); }
.timer { height: 10px; border-radius: 99px; background: var(--surface); overflow: hidden; }
.timer i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .1s linear; }
.center { text-align: center; }
.muted { color: var(--muted); }
.word-big { font-size: 2.2rem; font-weight: 800; text-align: center; margin: 6px 0 20px; }
.textlink { background: none; border: none; color: var(--muted); cursor: pointer; padding: 8px; font-size: .95rem; }

/* ---------- perfil ---------- */
.section { background: var(--surface); border-radius: var(--r-card); padding: 18px; margin-bottom: 16px; }
.section h3 { margin: 0 0 12px; font-size: 1.15rem; }
.seg { display: flex; background: var(--bg-bottom); border-radius: 99px; padding: 4px; }
.seg button { flex: 1; border: none; background: none; padding: 9px 4px; border-radius: 99px; font-weight: 600; color: var(--muted); cursor: pointer; font-size: .85rem; }
.seg button.on { background: var(--surface-high); color: var(--text); }
.toggle { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.switch { width: 50px; height: 30px; border-radius: 99px; background: var(--absent); border: none; position: relative; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); transition: left .15s; }
.switch.on { background: var(--correct); }
.switch.on::after { left: 24px; }
.rec { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; }
.rec span:last-child { color: var(--muted); font-size: .85rem; text-align: right; }
/* recordes: cartões por jogo */
.recs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.recc {
  --c: var(--accent);
  display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px 14px 13px; border-radius: 22px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 13%, var(--surface-high)), var(--surface-high) 62%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent);
}
.recs .recc:last-child:nth-child(odd) { grid-column: 1 / -1; }
.recc-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.recc-ico {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; line-height: 1;
  background: color-mix(in srgb, var(--c) 24%, transparent);
}
.recc-name { font-size: .8rem; font-weight: 600; color: var(--muted); line-height: 1.15; overflow-wrap: anywhere; }
.recc-val { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.recc-val b { font-size: 1.85rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.recc-val span { font-size: .78rem; font-weight: 600; color: color-mix(in srgb, var(--c) 70%, var(--text)); }
.recc-sub { font-size: .78rem; color: var(--muted); padding-top: 9px; border-top: 1px solid color-mix(in srgb, var(--outline) 55%, transparent); }
.recc.zero .recc-val b { color: color-mix(in srgb, var(--muted) 60%, transparent); }
@media (max-width: 374px) { .recs { gap: 8px; } .recc { padding: 12px 12px 11px; } .recc-val b { font-size: 1.6rem; } }
.ach { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ach div { background: var(--surface-high); border-radius: 22px; padding: 14px; }
.ach div.off { opacity: .45; }
.ach b { display: block; }
.ach small { color: var(--muted); }
.cal-head { display: flex; align-items: center; }
.cal-head b { flex: 1; text-align: center; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.cal .dow { text-align: center; color: var(--muted); font-size: .75rem; }
.cal .day { aspect-ratio: 1; border-radius: 10px; background: var(--bg-bottom); display: grid; place-items: center; font-size: .8rem; color: var(--muted); position: relative; }
.cal .day.on { color: var(--text); }
.cal .day.today { outline: 2px solid var(--text); }
.cal .day i { position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; }

#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; }

@media (max-height: 700px) {
  .key { height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile.flip, .tile.pop, .brow.shake, .mark.bounce span { animation: none; }
  .credit.pressing { animation: none; }
  .ach-pill { transition: opacity .3s; transform: translate(-50%, 0); }
}

/* Seletor "Do dia | Infinito" */
.mode-switch { display: flex; gap: 4px; margin: 0 16px 10px; padding: 4px; border-radius: 999px; background: var(--surface); }
.mode-switch button { flex: 1; border: none; border-radius: 999px; padding: 9px 0; background: transparent; color: var(--muted); font: 600 15px Outfit, sans-serif; cursor: pointer; }
.mode-switch button.on { background: var(--accent); color: #14102C; }

/* ---------- painel Hoje ---------- */
/* Hoje compacto: título, 5 bolinhas, contagem e Arquivo numa linha */
.today { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--outline) 45%, transparent); border-radius: 99px; padding: 7px 7px 7px 16px; margin-top: 10px; }
.today.all { border-color: color-mix(in srgb, var(--correct) 55%, transparent); }
.today-title { font-size: 1.05rem; font-weight: 800; }
.today-dots { display: flex; gap: 5px; }
.tdot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--outline); background: transparent; color: var(--muted); font: 700 11px Outfit, sans-serif; display: grid; place-items: center; padding: 0; cursor: pointer; transition: transform .12s; }
.tdot:active { transform: scale(.9); }
.tdot.done { background: var(--correct); border-color: var(--correct); color: var(--dark-text); }
.today-count { flex: 1; text-align: right; color: var(--muted); font-weight: 700; font-size: .9rem; line-height: 1.15; }
.today.all .today-count { color: var(--correct); font-size: .85rem; white-space: nowrap; }
@media (max-width: 440px) {
  .today.all { flex-wrap: wrap; row-gap: 2px; border-radius: 24px; padding-bottom: 6px; }
  .today.all .today-dots { flex: 1; }
  .today.all .today-count { order: 5; flex-basis: 100%; text-align: center; font-size: .8rem; }
}
.today-arch { flex-shrink: 0; border: none; border-radius: 99px; padding: 7px 11px; background: var(--surface-high); color: var(--text); font: 600 .8rem Outfit, sans-serif; cursor: pointer; white-space: nowrap; }
@media (max-width: 380px) { .today { gap: 7px; padding-left: 12px; } .today-arch span { display: none; } .tdot { width: 26px; height: 26px; } }
.today-bar { height: 8px; border-radius: 99px; background: var(--bg-bottom); overflow: hidden; }
.today-bar i { display: block; height: 100%; border-radius: 99px; background: var(--correct); transition: width .3s; }

/* ---------- arquivo ---------- */
.arch-intro { font-size: .9rem; margin: 0 4px 12px; }
.arch-seg button { font-size: .8rem; padding: 9px 2px; }
.cal button.day { border: none; font: inherit; font-size: .8rem; cursor: pointer; padding: 0; }
.cal .day.arch { background: var(--surface-high); color: var(--text); }
.cal .day.arch.w { background: color-mix(in srgb, var(--correct) 28%, var(--surface-high)); }
.cal .day.arch.l { background: color-mix(in srgb, var(--red) 24%, var(--surface-high)); }
.cal .day.off { opacity: .35; }
.cal .day em { position: absolute; top: 1px; right: 4px; font-style: normal; font-weight: 800; font-size: .7rem; }
.cal .day em.ok { color: var(--correct); }
.cal .day em.no { color: var(--red); }
.icon-btn:disabled { opacity: .3; cursor: default; }
.stats.one { grid-template-columns: 1fr; }

/* ---------- Intruso e Certo ou Errado ---------- */
.score-row { display: flex; justify-content: space-between; align-items: center; background: var(--surface); border-radius: 99px; padding: 8px 18px; margin-bottom: 14px; }
.score-row small { color: var(--muted); margin-right: 8px; }
.score-row b { font-size: 1.4rem; font-weight: 800; }
.hearts { display: flex; gap: 4px; font-size: 1.15rem; }
.hearts i { font-style: normal; transition: opacity .2s, filter .2s; }
.hearts i.lost { opacity: .25; filter: grayscale(1); }
.intr-q { margin: 0 0 10px; }
.intr-list { display: flex; flex-direction: column; gap: 4px; }
.intr-opt { padding: 18px 16px; font-size: 1.15rem; letter-spacing: .03em; transition: background .2s; }
.intr-msg { min-height: 1.5em; font-weight: 600; margin: 14px 0; }
.intr-msg.good { color: var(--correct); }
.intr-msg.bad { color: var(--red); }
.ort-card { background: var(--surface); border: 2px solid transparent; border-radius: var(--r-card); padding: 28px 18px 18px; text-align: center; margin: 10px 0 18px; transition: border-color .2s, background .2s; }
.ort-card small { color: var(--muted); }
.ort-word { font-size: 2.4rem; font-weight: 800; margin: 14px 0 6px; overflow-wrap: anywhere; letter-spacing: .02em; }
.ort-fix { min-height: 1.4em; margin: 6px 0 0; font-weight: 600; color: var(--correct); }
.ort-card.good { border-color: var(--correct); background: color-mix(in srgb, var(--correct) 12%, var(--surface)); }
.ort-card.bad { border-color: var(--red); background: color-mix(in srgb, var(--red) 12%, var(--surface)); }
.ort-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ort-btn { border: none; border-radius: 24px; padding: 22px 10px; font-size: 1.25rem; font-weight: 800; cursor: pointer; color: var(--dark-text); transition: transform .1s; }
.ort-btn:active { transform: scale(.97); }
.ort-btn.no { background: var(--red); }
.ort-btn.yes { background: var(--correct); }

/* ---------- perfil: topo, abas, evolução, conquistas, sincronizar ---------- */
.phead { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: var(--r-card); padding: 16px; margin-bottom: 12px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--dark-text); display: grid; place-items: center; flex-shrink: 0; }
.avatar svg { width: 30px; height: 30px; }
.phead b { display: block; font-size: 1.15rem; }
.phead small { display: block; color: var(--muted); font-size: .85rem; }
.ptabs { margin-bottom: 14px; background: var(--surface); }
.ptabs button { font-size: .95rem; }
.ptabs button.on { background: var(--accent); color: var(--dark-text); }
.evo-seg button { line-height: 1.15; padding: 7px 4px; }
.evo-seg button small { display: block; font-size: .7rem; font-weight: 500; opacity: .8; }
.evo { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 16px; }
.evo-col { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.evo-col small { color: var(--muted); font-size: .65rem; }
.evo-track { height: 130px; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.evo-val { font-size: .68rem; font-weight: 600; margin-bottom: 3px; white-space: nowrap; }
.evo-bar { display: block; width: 72%; max-width: 30px; border-radius: 8px 8px 4px 4px; background: var(--accent); }
.evo-bar.empty { height: 28%; background: none; border: 1.5px dashed var(--outline); }
.evo-legend { font-size: .8rem; text-align: center; margin: 10px 0 0; }
.evo-empty { text-align: center; font-size: .9rem; margin: 16px 0 4px; }
.ach-head { display: flex; justify-content: space-between; align-items: baseline; }
.ach-head b { color: var(--muted); }
.ach-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.ach-row { display: flex; align-items: center; gap: 12px; background: var(--surface-high); border-radius: 20px; padding: 10px 14px; }
.ach-row.off .ach-emo, .ach-row.off .ach-txt b { opacity: .55; }
.ach-emo { font-size: 1.5rem; width: 32px; text-align: center; flex-shrink: 0; }
.ach-txt { flex: 1; min-width: 0; }
.ach-txt b { display: block; font-size: .95rem; }
.ach-txt small { color: var(--muted); font-size: .8rem; }
.ach-prog { font-weight: 700; font-size: .85rem; color: var(--muted); flex-shrink: 0; }
.ach-prog.done { color: var(--dark-text); background: var(--correct); border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.sync-box { width: 100%; min-height: 110px; border-radius: 18px; border: 1.5px solid var(--outline); background: var(--bg-bottom); color: var(--text); padding: 12px; font: .85rem/1.35 monospace; resize: vertical; word-break: break-all; }
.sync-box:focus { outline: 2px solid var(--accent); }
.ort { justify-content: center; padding-bottom: 60px; }

/* ---------- Mestre Mandou ---------- */
.mm { padding-bottom: 16px; }
.mm-crown { font-size: 3rem; line-height: 1; margin-bottom: 4px; }
.mm-timer { margin-bottom: 14px; }
.mm-order {
  background: var(--surface); border-radius: var(--r-card); padding: 22px 18px; min-height: 128px;
  display: grid; place-items: center; text-align: center; font-size: 1.35rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere;
}
.mm-order b { color: var(--present); font-weight: 800; }
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.mm-word {
  min-height: 96px; border: none; border-radius: 24px; background: var(--surface-high); padding: 10px 8px;
  font-size: 1.45rem; font-weight: 800; letter-spacing: .02em; cursor: pointer; overflow-wrap: anywhere; line-height: 1.15;
  transition: background .2s, transform .1s;
}
.mm-word:active { transform: scale(.97); }
.mm-word.right { background: var(--correct); color: var(--dark-text); }
.mm-word.wrong { background: var(--red); color: var(--dark-text); }
.mm-word.dim { background: var(--surface); color: var(--muted); }
@media (max-width: 370px) { .mm-order { font-size: 1.2rem; padding: 18px 14px; } .mm-word { font-size: 1.25rem; min-height: 84px; } }
.row-btns.wrap { flex-wrap: wrap; }

/* ---------- perfil: Seus chutes ---------- */
.fg-label { font-size: .85rem; margin: 0 0 10px; }
.fg-bars { display: flex; flex-direction: column; gap: 6px; }
.fg-bars div { display: grid; grid-template-columns: 18px 1fr 30px; align-items: center; gap: 8px; }
.fg-bars b { font-weight: 800; text-align: center; }
.fg-track { height: 14px; border-radius: 99px; background: var(--bg-bottom); overflow: hidden; }
.fg-track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--correct))); }
.fg-bars small { color: var(--muted); font-weight: 600; text-align: right; }
.fg-line { margin: 12px 0 0; font-size: .95rem; line-height: 1.4; }
.fg-line + .fg-line { margin-top: 6px; }
.fg-empty { text-align: center; font-size: .9rem; margin: 6px 0 2px; }

/* ---------- Jogar com amigo ---------- */
.mp { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }
.mp-card { background: var(--surface); border: 1px solid color-mix(in srgb, var(--outline) 45%, transparent); border-radius: var(--r-card); padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; }
.mp-card h2 { margin: 0; font-size: 1.45rem; font-weight: 800; text-align: center; line-height: 1.25; }
.mp-card h2 b { color: var(--accent); }
.mp-card.center { align-items: center; text-align: center; }
.mp-card .row-btns { width: 100%; }
.mp-lead { text-align: center; margin: -6px 0 2px; line-height: 1.4; }
.mp-big { font-size: 2.6rem; line-height: 1; text-align: center; }
.mp-duo { display: grid; grid-template-columns: repeat(5, 16px); gap: 4px; justify-content: center; }
.mp-duo i { height: 16px; border-radius: 5px; background: var(--correct); }
.mp-duo i:nth-child(2), .mp-duo i:nth-child(4) { background: var(--present); }
.mp-duo i:nth-child(3) { background: var(--flag-blue); }
.mp-field { display: flex; flex-direction: column; gap: 6px; }
.mp-field > span { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-left: 6px; }
.mp-input { width: 100%; border: 1.5px solid var(--outline); background: var(--bg-bottom); color: var(--text); border-radius: 18px; padding: 14px 16px; font: 500 1.1rem Outfit, sans-serif; }
.mp-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.mp-modes { background: var(--bg-bottom); }
.mp-modes button { font-size: .95rem; padding: 10px 4px; }
.mp-modes button.on { background: var(--accent); color: var(--dark-text); }
.mp-mode-badge { align-self: center; background: color-mix(in srgb, var(--accent) 22%, var(--surface-high)); }
.mp-link { background: var(--bg-bottom); border-radius: 18px; padding: 14px 16px; font: 500 .9rem/1.4 ui-monospace, Menlo, monospace; color: var(--text); word-break: break-all; text-align: center; user-select: all; }
.mp-wait { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0 4px; color: var(--muted); }
.mp-wait p { margin: 0; font-weight: 600; animation: breathe 2.4s ease-in-out infinite; }
.mp-wait.joined p { color: var(--text); animation: none; font-size: 1.15rem; }
.mp-wait.joined { animation: rise .4s ease both; }
.mp-wait b { color: var(--accent); }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.mp-after { margin: 4px 0; font-weight: 600; animation: breathe 2.4s ease-in-out infinite; }
.mp-net { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 75; background: var(--surface-high); color: var(--muted); font-size: .8rem; font-weight: 600; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--outline); }

/* faixa do adversário */
.opp { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 22px; padding: 8px 12px; margin-bottom: 2px; }
.opp-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.opp-who b { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp-who small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.opp-who small.win { color: var(--correct); }
.opp-who small.lose, .opp-who small.gone { color: var(--red); }
.opp-boards { display: flex; gap: 6px; flex-shrink: 0; }
.ob { display: grid; gap: 2px; --c: 9px; }
.opp.n2 .ob { --c: 7px; }
.opp.n4 .ob { --c: 5px; gap: 1.5px; }
.opp.n4 .opp-boards { gap: 4px; }
.ob-row { display: grid; grid-template-columns: repeat(5, var(--c)); gap: 2px; }
.opp.n4 .ob-row { gap: 1.5px; }
.ob-row i { display: block; width: var(--c); height: var(--c); border-radius: 2px; background: color-mix(in srgb, var(--outline) 30%, transparent); }
.ob-row.done i { opacity: .3; }
.ob-row i.c { background: var(--correct); }
.ob-row i.p { background: var(--present); }
.ob-row i.a { background: color-mix(in srgb, var(--muted) 40%, var(--absent)); }
.ob-row.in i { animation: obIn .35s ease both; }
.ob-row.in i:nth-child(2) { animation-delay: .05s; } .ob-row.in i:nth-child(3) { animation-delay: .1s; }
.ob-row.in i:nth-child(4) { animation-delay: .15s; } .ob-row.in i:nth-child(5) { animation-delay: .2s; }
@keyframes obIn { from { transform: scale(.2); opacity: 0; } 70% { transform: scale(1.25); } to { transform: none; opacity: 1; } }

/* contagem 3-2-1 */
.mp-count { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(18, 14, 43, .55); pointer-events: none; animation: fade .2s; }
.mp-count b { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--accent); color: var(--dark-text); font-size: 4rem; font-weight: 800; box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent) 25%, transparent); }
.mp-count b.beat { animation: pop .35s ease; }
.mp-count.go b { background: var(--correct); font-size: 2.6rem; }

/* resultado */
.mp-results { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 16px; }
.mp-res { display: grid; grid-template-columns: 1fr auto 48px; align-items: center; gap: 10px; background: var(--surface-high); border-radius: 18px; padding: 12px 16px; }
.mp-res b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-res span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.mp-res small { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.mp-res.ok { box-shadow: inset 0 0 0 2px var(--correct); }
.mp-res.ok span { color: var(--correct); }
@media (prefers-reduced-motion: reduce) { .ob-row.in i, .mp-wait p, .mp-after { animation: none; } }

/* Entrar numa partida colando o link */
.mp-or { display: flex; align-items: center; gap: 10px; margin: 24px 0 12px; color: var(--muted); font-size: .85rem; }
.mp-or::before, .mp-or::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--outline, #4A4180) 60%, transparent); }
.mp-err { color: var(--red); font-size: .85rem; margin: 6px 0 0; }
.mp-err.hidden { display: none; }

/* Melhor de 3 e QR da sala */
.mp-score { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.05; padding: 4px 12px; border-radius: 999px; background: var(--surface-high, rgba(255,255,255,.08)); margin-right: 4px; flex: none; }
.mp-score b { font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.mp-score small { font-size: .58rem; color: var(--muted); white-space: nowrap; }
.mp-score.over { background: rgba(245,200,76,.2); }
.mp-score.over b { color: #F5C84C; }
.mp-series { text-align: center; color: var(--accent); font-weight: 600; margin: 6px 0 0; }
.mp-series.gold { color: #F5C84C; font-weight: 700; font-size: 1.05rem; margin: 2px 0 6px; }
.mp-trophy { font-size: 4rem; text-align: center; line-height: 1.1; animation: mp-trophy .7s ease-in-out infinite alternate; }
.mp-trophy.theirs { opacity: .75; }
@keyframes mp-trophy { from { transform: scale(.94) rotate(-4deg); } to { transform: scale(1.06) rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .mp-trophy { animation: none; } }
.mp-qr { margin: 16px 0 4px; padding: 16px; border-radius: 22px; background: var(--bg-bottom); text-align: center; }
.mp-qr svg { width: min(200px, 60vw); height: auto; border-radius: 12px; display: block; margin: 0 auto; }
.mp-qr p { margin: 10px 0 0; color: var(--muted); font-size: .9rem; }

/* Sala segura por 10 minutos */
.mp-ttl { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.mp-expired { margin: 14px 0 0; text-align: center; }
.mp-expired p { margin: 0 0 10px; color: var(--red); font-weight: 600; }

/* Sinônimo ou Antônimo */
.sa-q { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.sa-pill { display: inline-block; padding: 4px 12px; border-radius: 99px; font-weight: 800; letter-spacing: .04em; color: var(--dark-text); }
.sa-pill.syn { background: var(--correct); }
.sa-pill.ant { background: var(--red); }
.sa-trap { margin: 4px 0 0; text-align: center; color: var(--present); font-weight: 600; }
.sa-ico { display: grid; gap: 5px; justify-items: center; font-size: 8px; font-weight: 800; letter-spacing: -.01em; }
.sa-ico span { display: block; padding: 3px 5px; border-radius: 99px; white-space: nowrap; color: var(--dark-text); line-height: 1.1; }

/* Modos da partida com amigo: as pílulas quebram linha (4 por linha) */
.mp-modes { flex-wrap: wrap; border-radius: 24px; row-gap: 4px; }
.mp-modes button { flex: 1 1 22%; }

/* Anagrama, Qual é a Palavra?, Caça, Velha e Damas */
.mpg { gap: 10px; }
.mpg .keyboard { margin-top: auto; transition: opacity .2s; }
.mpg .keyboard.off { opacity: .35; pointer-events: none; }
.mpg-input { display: flex; justify-content: center; gap: 6px; transition: opacity .2s; }
.mpg-input .tile { --tile: 46px; cursor: default; }
.mpg-input.off { opacity: .4; }
.mpg-input.shake, .ana-letters.shake { animation: shake .3s; }

.mp-sheet-ico { font-size: 3.4rem; text-align: center; line-height: 1.1; }

.ana-opp { align-self: center; padding: 6px 14px; border-radius: 99px; background: var(--surface); color: var(--muted); font-size: .9rem; font-weight: 600; }
.ana-opp b { color: var(--text); }
.ana-opp.got { color: var(--accent); animation: blink .5s ease-in-out infinite alternate; }
.ana-opp.gone { color: var(--red); }
@keyframes blink { from { opacity: 1; } to { opacity: .35; } }
.ana-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 4px; }
.ana-letters { display: flex; gap: 8px; justify-content: center; }
.ana-l { width: min(60px, 16vw); height: min(60px, 16vw); border-radius: 16px; display: grid; place-items: center; font-size: min(2rem, 8.5vw); font-weight: 800; color: var(--text); background: var(--surface-high); border: 1.5px solid var(--outline); box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.ana-l.pop { animation: pop .25s ease both; }
.ana-l.pop.l1 { animation-delay: .04s; } .ana-l.pop.l2 { animation-delay: .08s; } .ana-l.pop.l3 { animation-delay: .12s; } .ana-l.pop.l4 { animation-delay: .16s; }
.ana-letters.reveal .ana-l { opacity: .9; }
.ana-mix { border: none; background: var(--surface-high); color: var(--text); font: 600 .85rem Outfit, sans-serif; padding: 7px 14px; border-radius: 99px; cursor: pointer; }
.ana-mix:disabled { opacity: .35; cursor: default; }
.ana-msg { margin: 0; min-height: 1.5em; font-size: 1.1rem; font-weight: 700; text-align: center; color: var(--muted); }
.ana-msg.win { color: var(--correct); }
.ana-msg.lose { color: var(--accent); }
.ana-msg b { letter-spacing: .04em; }
.ana-timer { margin: 2px 8px; }
.ana-final { font-size: 1.8rem !important; font-variant-numeric: tabular-nums; }
.ana-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 4px; }
.ana-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; background: var(--surface-high); border-radius: 14px; padding: 8px 12px; font-size: .9rem; }
.ana-row span { color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ana-row.me span { color: var(--correct); }
.ana-row.opp span { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .ana-opp.got, .ana-l.pop { animation: none; } }

/* Reações rápidas na partida com amigo */
.mp-react { position: relative; z-index: 60; width: 36px; height: 36px; font-size: 1.15rem; background: var(--surface-high); transition: opacity .2s, transform .15s; }
.mp-react:active { transform: scale(.9); }
.mp-react.cool { opacity: .35; pointer-events: none; }
.mp-react-catch { position: fixed; inset: 0; z-index: 65; }
.mp-react-pick {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 66; display: flex; gap: 4px; padding: 6px;
  background: var(--surface); border-radius: 99px; box-shadow: 0 12px 32px rgba(0,0,0,.45), inset 0 0 0 1px var(--outline);
  animation: reactPick .18s ease both;
}
.mp-react-pick button { width: 48px; height: 48px; border: none; border-radius: 50%; background: transparent; font-size: 2.1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: transform .12s, background .12s; }
.mp-react-pick button:hover, .mp-react-pick button:focus-visible { background: var(--surface-high); transform: scale(1.12); outline: none; }
@keyframes reactPick { from { opacity: 0; transform: translate(-50%, -8px) scale(.92); } }
.mp-bubble {
  position: fixed; z-index: 70; display: flex; flex-direction: column; align-items: center; pointer-events: none;
  transform: translateX(-50%); animation: reactUp 2.5s ease-out forwards;
}
.mp-bubble span { font-size: 56px; line-height: 1; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.mp-bubble small { margin-top: 2px; padding: 2px 10px; border-radius: 99px; background: var(--surface-high); color: var(--text); font-size: .8rem; font-weight: 700; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-bubble.mine span { font-size: 40px; }
.mp-bubble.mine small { font-size: .7rem; color: var(--muted); }
@keyframes reactUp {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(.5); }
  10% { opacity: 1; transform: translate(-50%, 0) scale(1.08); }
  18% { transform: translate(-50%, -6px) scale(1); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -60px) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .mp-bubble { animation: reactFade 2.5s linear forwards; } .mp-react-pick { animation: none; } }
@keyframes reactFade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

/* Folha de fim: Compartilhar | Stories | Replay e "Próximo jogo" */
.mp-share-row .pill { padding: 11px 8px; font-size: .92rem; min-width: 0; }
.mp-next { margin: 16px 0 2px; }
.mp-next > span { display: block; margin: 0 0 6px 4px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Rodadas (criar partida e Próximo jogo) */
.mp-rounds { background: var(--bg-bottom); }
.mp-rounds button { font-size: .9rem; padding: 9px 4px; }
.mp-rounds button.on { background: var(--accent); color: var(--dark-text); }
.mp-rounds.small { margin-top: 6px; }
.mp-rounds.small button { font-size: .78rem; padding: 6px 4px; }
.mp-count { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.mp-count p { margin: 18px 0 0; min-height: 1.2em; font-weight: 700; color: var(--text); text-align: center; }
.mp-gone p { margin: 0; line-height: 1.4; }
.ana-rows.one { grid-template-columns: 1fr; }

/* Qual é a Palavra? */
.pal-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pal-round { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pal-def { width: 100%; background: var(--surface); border-radius: var(--r-card); padding: 18px; text-align: center; font-size: 1.12rem; line-height: 1.4; font-weight: 500; min-height: 84px; display: grid; place-items: center; }
.pal-slots { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 4px; min-height: 44px; transition: opacity .2s; }
.pal-slots .tile { --tile: min(42px, calc((100vw - 64px) / var(--n, 6))); cursor: default; }
.pal-slots .tile.o { background: var(--accent); color: var(--dark-text); }
.pal-slots.off { opacity: .55; }
.pal-slots.shake { animation: shake .3s; }
.pal-fix { font-size: 1.4rem; font-weight: 800; color: var(--muted); min-width: 10px; text-align: center; }
.pal-hint { margin: 0; min-height: 1.2em; font-size: .85rem; font-weight: 600; color: var(--present); }

/* Caça-Palavras com amigo */
.cz { gap: 8px; padding-bottom: 16px; }
.cz-head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; }
.cz-theme { color: var(--muted); font-weight: 600; }
.cz-theme b { color: var(--text); }
.cz-clock { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.cz-clock.low { color: var(--red); }
.cz-n { font-weight: 800; }
.cz-n.me { color: var(--correct); }
.cz-chips span.me { background: color-mix(in srgb, var(--correct) 30%, var(--surface-high)); color: var(--correct); text-decoration: line-through; }
.cz-chips span.opp { background: color-mix(in srgb, var(--accent) 26%, var(--surface-high)); color: var(--accent); text-decoration: line-through; }
.cz-chips span.pend { opacity: .6; }

/* Jogo da Velha */
.vv { align-items: center; justify-content: center; gap: 16px; padding-bottom: 30px; }
.vv-turn { margin: 0; font-size: 1.3rem; font-weight: 800; color: var(--muted); text-align: center; min-height: 1.5em; }
.vv-turn.mine { color: var(--correct); }
.vv-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(340px, 86vw); padding: 12px; border-radius: 32px; background: var(--surface); }
.vv-c { aspect-ratio: 1; border: none; border-radius: 22px; background: var(--surface-high); color: var(--text); cursor: pointer; display: grid; place-items: center; padding: 14%; transition: background .2s, transform .1s; }
.vv-c svg { width: 100%; height: 100%; animation: pop .25s ease both; }
.vv-c.x { color: var(--correct); }
.vv-c.o { color: var(--present); }
.vv-c.pend { opacity: .5; }
.vv-c.last { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent); }
.vv-c.win { background: color-mix(in srgb, currentColor 26%, var(--surface-high)); }
.vv-board.off .vv-c { cursor: default; }
.vv-c:active { transform: scale(.96); }
.vv-sym { margin: 0; color: var(--muted); font-weight: 600; }
.vv-sym b.x { color: var(--correct); }
.vv-sym b.o { color: var(--present); }

/* Damas */
.dm { gap: 10px; padding-bottom: 16px; }
.dm-status { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px; }
.dm-turn { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--muted); }
.dm-turn.mine { color: var(--correct); }
.dm-count { display: flex; gap: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dm-count span { display: inline-flex; align-items: center; gap: 5px; }
.dm-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.dm-dot.w { background: #F4F1FF; }
.dm-dot.b { background: #14102C; box-shadow: inset 0 0 0 1.5px var(--outline); }
.dm-board { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 6px var(--surface); }
.dm-c { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; }
.dm-c.light { background: color-mix(in srgb, var(--surface-high) 55%, var(--muted) 25%); }
.dm-c.dark { background: var(--surface); }
.dm-c.last { background: color-mix(in srgb, var(--accent) 34%, var(--surface)); }
.dm-c.path { background: color-mix(in srgb, var(--correct) 28%, var(--surface)); }
.dm-c.dest { cursor: pointer; }
.dm-c.dest::after { content: ""; position: absolute; width: 32%; height: 32%; border-radius: 50%; background: var(--correct); opacity: .85; }
.dm-c.dest.fin::after { background: transparent; box-shadow: inset 0 0 0 3px var(--correct); width: 44%; height: 44%; }
.dm-p { width: 78%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: min(22px, 5vw); line-height: 1; cursor: pointer; transition: transform .15s; }
.dm-p.w { background: radial-gradient(circle at 35% 30%, #fff, #DCD6F5 70%); color: #6B5FB0; box-shadow: 0 3px 0 #A9A2D0, 0 6px 10px rgba(0,0,0,.35); }
.dm-p.b { background: radial-gradient(circle at 35% 30%, #3A3363, #120E2B 75%); color: #E6C14F; box-shadow: 0 3px 0 #0A0818, 0 6px 10px rgba(0,0,0,.45), inset 0 0 0 1.5px #4A4180; }
.dm-p.sel { transform: scale(1.1); outline: 3px solid var(--correct); outline-offset: 2px; }
.dm-p.must { outline: 3px solid var(--present); outline-offset: 1px; animation: dmMust 1.2s ease-in-out infinite alternate; }
@keyframes dmMust { from { outline-color: var(--present); } to { outline-color: color-mix(in srgb, var(--present) 25%, transparent); } }
.dm-p.hit { opacity: .35; }
.dm-board.off .dm-p { cursor: default; }
.dm-foot { display: flex; justify-content: center; }
.dm-resign { padding: 9px 22px; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .dm-p.must, .vv-c svg { animation: none; } }

/* ---------- Trivia ---------- */
.tv-ico { position: relative; width: 50px; height: 50px; border-radius: 50%; background: conic-gradient(#5FB873 0 60deg, #E6C14F 0 120deg, #4A8FE0 0 180deg, #F0964A 0 240deg, #F07BB4 0 300deg, #B48CF0 0 360deg); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--surface-high); }
.tv-ico i { position: absolute; top: -7px; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top: 8px solid var(--text); }
.tv-ico b { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 12px; }
.tv-hud { background: var(--surface); border-radius: 24px; padding: 10px 14px; margin-bottom: 14px; }
.tv-medals { display: flex; justify-content: space-between; gap: 4px; }
.tv-medal { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 19px; background: var(--surface-high); border: 2px solid var(--outline); filter: grayscale(1); opacity: .45; transition: all .3s; }
.tv-medal.on { filter: none; opacity: 1; background: color-mix(in srgb, var(--c) 30%, var(--surface)); border-color: var(--c); box-shadow: 0 0 12px color-mix(in srgb, var(--c) 45%, transparent); animation: obIn .5s; }
.tv-hud-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.tv-streak { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.tv-streak b { color: var(--text); }
.tv-pips { display: flex; gap: 4px; }
.tv-pips i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-high); }
.tv-pips i.on { background: var(--present); }
.tv-stage { min-height: 380px; }
.tv-wheel-wrap { position: relative; width: min(270px, 74vw); aspect-ratio: 1; margin: 18px auto 8px; }
.tv-pointer { position: absolute; z-index: 2; top: -10px; left: 50%; margin-left: -13px; border: 13px solid transparent; border-top: 22px solid var(--text); filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.tv-wheel { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 6px var(--surface-high), 0 10px 30px rgba(0,0,0,.35); }
.tv-wslot { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateY(calc(min(270px, 74vw) * -.33)); }
.tv-wslot span { position: absolute; transform: translate(-50%, -50%); font-size: 28px; line-height: 1; }
.tv-hub { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; box-shadow: 0 0 0 4px var(--surface-high); }
.tv-wlabel { min-height: 40px; margin: 14px 0 0; color: var(--muted); }
.tv-cat { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; background: color-mix(in srgb, var(--c) 42%, var(--surface)); border: 1px solid var(--c); color: var(--text); font-weight: 700; font-size: .95rem; animation: obIn .4s; }
.tv-q { background: var(--surface); border-radius: 24px; padding: 14px 16px 16px; border-top: 4px solid var(--c); }
.tv-qhead { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.tv-crown-tag { font-size: .8rem; font-weight: 700; color: var(--present); }
.tv-secs { margin-left: auto; font-weight: 800; font-size: 1.15rem; min-width: 26px; text-align: right; }
.tv-text { font-size: 1.2rem; font-weight: 600; line-height: 1.35; margin: 14px 2px 2px; }
.tv-opts { margin-top: 10px; }
.tv-opt { text-align: left; padding: 14px 18px; font-size: 1.02rem; transition: background .2s, transform .1s; }
.tv-opt:active { transform: scale(.98); }
.tv-msg { min-height: 24px; font-weight: 600; margin: 10px 0; }
.tv-msg.good { color: var(--correct); }
.tv-msg.bad { color: var(--red); }
.tv-crown { text-align: center; padding: 10px 4px; }
.tv-crown h2 { margin: 4px 0; font-size: 1.7rem; font-weight: 800; }
.tv-crown-ico { font-size: 56px; animation: obIn .6s; }
.tv-crown-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tv-crown-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border-radius: 22px; border: 2px solid var(--c); background: color-mix(in srgb, var(--c) 18%, var(--surface)); font-weight: 700; font-size: .95rem; cursor: pointer; }
.tv-crown-btn span { font-size: 26px; }
.tv-sheet-medals { display: flex; justify-content: center; gap: 6px; }

/* ---------- Jogo da Memória ---------- */
.mem-ico { display: grid; grid-template-columns: 22px 22px; gap: 4px; transform: rotate(-6deg); }
.mem-ico i { width: 22px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), var(--purple)); font: 800 8px Outfit, sans-serif; font-style: normal; display: grid; place-items: center; color: var(--dark-text); }
.mem-ico i.ok { background: var(--correct); }
.mem-levels { margin-bottom: 10px; }
.mem-hud span { display: flex; align-items: baseline; }
.mem-grid { display: grid; gap: 8px; perspective: 900px; }
.mem-card { position: relative; aspect-ratio: 3 / 4; border: none; padding: 0; background: none; cursor: pointer; }
.mem-grid.lv-dificil .mem-card { aspect-ratio: 4 / 3.4; }
.mem-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.3,.7,.3,1); }
.mem-card.up .mem-inner { transform: rotateY(180deg); }
.mem-face { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: grid; place-items: center; }
.mem-back { background: linear-gradient(145deg, #5A4F96, #3A3170); border: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.mem-back i { width: 44%; aspect-ratio: 1; border-radius: 30%; border: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); transform: rotate(45deg); }
.mem-front { transform: rotateY(180deg); background: var(--surface-high); border: 2px solid var(--outline); padding: 4px; }
.mem-word { font-weight: 800; font-size: clamp(.68rem, 3.3vw, 1rem); text-align: center; word-break: break-word; line-height: 1.1; }
.mem-word.long { font-size: clamp(.58rem, 2.7vw, .85rem); }
.mem-card.ok .mem-front { background: var(--correct); border-color: var(--correct); color: var(--dark-text); }
.mem-card.ok { animation: memPop .45s; }
.mem-card.miss { animation: shake .35s; }
@keyframes memPop { 0% { transform: none; } 45% { transform: scale(1.12); } 100% { transform: none; } }
.mem-best { font-size: .85rem; margin-top: 14px; }
.mem-next { margin-top: 10px; }
/* ================= Rodada 11: criar partida em cartões, sugestão de jogo, Adedonha, Trivia e Forca ================= */
.mp.mp-create { justify-content: flex-start; padding: 4px 0 40px; gap: 0; }
.mpc-hero { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 0 4px; text-align: center; }
.mpc-hero h2 { margin: 2px 0 0; font-size: 1.45rem; font-weight: 800; }
.mpc-hero p { margin: 0; font-size: .95rem; }
.mpc-sec { margin: 18px 6px 8px; font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.mpc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mpc-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; text-align: left;
  padding: 12px 12px 13px; border: none; border-radius: 22px; cursor: pointer; color: var(--text);
  background: var(--surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--outline) 45%, transparent);
  transition: background .18s, box-shadow .18s, transform .12s;
}
.mpc-card:active { transform: scale(.97); }
.mpc-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mpc-card b { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.mpc-card small { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.mpc-ico { width: 46px; height: 46px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 14px; background: var(--bg-bottom); flex: none; }
.mpc-ico svg { width: 36px; height: 36px; display: block; overflow: visible; }
.mpc-ico.big { width: 72px; height: 72px; border-radius: 22px; align-self: center; margin: 0; }
.mpc-ico.big svg { width: 54px; height: 54px; }
.mpc-check {
  position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: .8rem; font-weight: 800; background: var(--accent); color: var(--dark-text); opacity: 0; transform: scale(.4); transition: opacity .18s, transform .18s;
}
.mpc-card.on { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); box-shadow: inset 0 0 0 2px var(--accent); }
.mpc-card.on .mpc-check { opacity: 1; transform: none; }
.mpc-card.on .mpc-ico { background: color-mix(in srgb, var(--accent) 14%, var(--bg-bottom)); }
.mpc-setup { margin-top: 18px; }
.mpc-setup .mp-field > span em { font-style: normal; color: var(--accent); letter-spacing: .06em; }
.mpc-rules { margin: -2px 4px 0; font-size: .88rem; line-height: 1.4; color: var(--muted); text-align: center; }
.mpc-go { font-size: 1.05rem; padding: 15px 18px; overflow: hidden; text-overflow: ellipsis; }
.mpc-qrnote { margin: 0; text-align: center; font-size: .8rem; color: var(--muted); }
.mp-create .mp-or { margin: 22px 0 12px; }
/* grade compacta (folhas de fim): ícone + nome, 4 por linha */
.mpc-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mpc-grid.compact .mpc-card { align-items: center; text-align: center; gap: 0; padding: 8px 2px 7px; border-radius: 16px; background: var(--surface-high); }
.mpc-grid.compact .mpc-card.on { background: color-mix(in srgb, var(--accent) 22%, var(--surface-high)); }
.mpc-grid.compact .mpc-ico { width: 34px; height: 34px; margin: 0 0 4px; border-radius: 10px; }
.mpc-grid.compact .mpc-ico svg { width: 26px; height: 26px; }
.mpc-grid.compact b { font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mpc-grid.compact .mpc-check { top: 4px; right: 4px; width: 16px; height: 16px; font-size: .6rem; }
@media (max-width: 370px) { .mpc-card small { font-size: .74rem; } .mpc-grid.compact b { font-size: .66rem; } }
@media (min-width: 520px) { .mpc-grid.compact { grid-template-columns: repeat(6, 1fr); } }
/* convidado: sugerir outro jogo */
.mp-next.guest { margin-top: 14px; }
.mp-sugg-grid { margin-top: 10px; }
.mp-sugg-grid > span { display: block; margin: 0 0 6px 4px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mp-sugg-note { margin: 8px 0 0; text-align: center; color: var(--correct); font-weight: 600; font-size: .9rem; }
.mp-sugg-note b { color: var(--text); }
/* anfitrião: aviso da sugestão no topo da folha */
.mp-sugg {
  display: flex; align-items: center; gap: 10px; margin: -4px 0 14px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: color-mix(in srgb, var(--present) 16%, var(--surface-high)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--present) 55%, transparent);
  animation: rise .35s ease both;
}
.mp-sugg .mpc-ico { width: 40px; height: 40px; margin: 0; }
.mp-sugg .mpc-ico svg { width: 30px; height: 30px; }
.mp-sugg p { flex: 1; margin: 0; font-size: .92rem; line-height: 1.3; min-width: 0; }
.mp-sugg p b:last-child { color: var(--present); }
.mp-sugg .pill { padding: 9px 14px; font-size: .9rem; }
.mp-sugg-x { width: 34px; height: 34px; font-size: .95rem; color: var(--muted); }
.timer i.low { background: var(--red); }

/* ---------- Trivia ---------- */
.tv { gap: 12px; padding-bottom: 20px; }
.mtv-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 4px; }
.mtv-round { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mtv-opp { padding: 5px 12px; border-radius: 99px; background: var(--surface); color: var(--muted); font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.mtv-opp b { color: var(--text); }
.mtv-opp.done { color: var(--correct); }
.mtv-opp.gone { color: var(--red); }
.mtv-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 380px; }
.mtv-wheel-box { position: relative; width: 210px; height: 210px; margin-top: 18px; }
.mtv-wheel { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 6px var(--surface), 0 12px 30px rgba(0,0,0,.35); transition: transform 1.3s cubic-bezier(.12,.62,.18,1); }
.mtv-wheel span { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; display: grid; place-items: center; font-size: 22px; }
.mtv-wheel i { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-style: normal; font-size: 2rem; font-weight: 800; box-shadow: 0 0 0 4px var(--bg-bottom); }
.mtv-pointer { position: absolute; left: 50%; top: -14px; width: 0; height: 0; margin-left: -11px; border: 11px solid transparent; border-top: 18px solid var(--text); border-bottom: 0; z-index: 2; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.mtv-msg { margin: 0; min-height: 1.5em; font-size: 1.1rem; font-weight: 700; text-align: center; color: var(--muted); }
.mtv-msg.land { animation: pop .3s ease both; }
.mtv-msg.win { color: var(--correct); }
.mtv-msg.lose { color: var(--accent); }
.mtv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; font-size: .95rem; font-weight: 700; color: var(--dark-text); background: var(--cc); }
.mtv-q { width: 100%; background: var(--surface); border-radius: var(--r-card); padding: 20px 18px; text-align: center; font-size: 1.15rem; line-height: 1.4; font-weight: 600; box-shadow: inset 0 3px 0 var(--cc); }
.mtv-opts { width: 100%; display: grid; gap: 8px; }
.mtv-opt { position: relative; margin: 0; padding: 14px 16px; font-size: 1.02rem; text-align: left; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 8px; transition: background .15s, transform .1s; }
.mtv-opt:not(:disabled):active { transform: scale(.98); }
.mtv-opt:disabled { cursor: default; }
.mtv-opt.sel { background: color-mix(in srgb, var(--accent) 35%, var(--surface-high)); box-shadow: inset 0 0 0 2px var(--accent); }
.mtv-opt.right { color: var(--dark-text); }
.mtv-opt.wrong { color: var(--dark-text); }
.mtv-opt.dim { opacity: .55; color: var(--text); }
.mtv-tag { flex: none; font-style: normal; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: rgba(20,16,44,.82); color: var(--text); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtv-tag.me { color: var(--correct); }
.mtv-tag.opp { color: var(--accent); }
.mtv-tag + .mtv-tag { margin-left: -4px; }
.mtv-timer { margin: 0 8px; }
.mtv-rows { display: grid; gap: 6px; margin: 10px 0 4px; }
.mtv-row { display: grid; grid-template-columns: 28px 1fr 40px 40px; align-items: center; gap: 8px; background: var(--surface-high); border-radius: 14px; padding: 8px 10px; font-size: .86rem; }
.mtv-row.head { background: none; padding: 0 10px; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.mtv-row.head b { color: var(--muted); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtv-row i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: .95rem; background: color-mix(in srgb, var(--cc, transparent) 35%, transparent); }
.mtv-row span { line-height: 1.3; min-width: 0; }
.mtv-row span small { display: block; color: var(--correct); font-weight: 600; }
.mtv-row b { text-align: center; color: var(--red); }
.mtv-row b.ok { color: var(--correct); }
.mtv-row b.ok.them { color: var(--accent); }

/* ---------- Adedonha ---------- */
.ad { gap: 10px; padding-bottom: 20px; }
.ad-head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; }
.ad-round { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ad-clock { font-size: 1.15rem; font-variant-numeric: tabular-nums; min-height: 1.3em; }
.ad-clock.low { color: var(--red); }
.ad-timer { margin: 0 6px; }
.ad-stage { display: flex; flex-direction: column; gap: 12px; }
.ad-spin { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 50px 0 20px; }
.ad-spin p { margin: 0; font-weight: 700; color: var(--muted); animation: breathe 2s ease-in-out infinite; }
.ad-letter { display: grid; place-items: center; width: 128px; height: 128px; border-radius: 34px; font-size: 4.6rem; font-weight: 800; color: var(--dark-text); background: var(--present); box-shadow: 0 8px 0 color-mix(in srgb, var(--present) 55%, #000), 0 16px 30px rgba(0,0,0,.35); }
.ad-letter.spin { background: var(--surface-high); color: var(--text); box-shadow: 0 8px 0 rgba(0,0,0,.25); }
.ad-letter.land { animation: pop .35s ease both; }
.ad-top { display: flex; align-items: center; gap: 14px; padding: 2px 4px; }
.ad-top .ad-letter { width: 60px; height: 60px; border-radius: 18px; font-size: 2.2rem; flex: none; box-shadow: 0 5px 0 color-mix(in srgb, var(--present) 55%, #000); }
.ad-top p { margin: 0; color: var(--muted); font-weight: 600; line-height: 1.35; }
.ad-top p b { color: var(--text); }
.ad-top.small .ad-letter { width: 48px; height: 48px; font-size: 1.8rem; border-radius: 15px; }
.ad-banner { text-align: center; padding: 12px; border-radius: 20px; background: color-mix(in srgb, var(--red) 22%, var(--surface)); font-size: 1.35rem; font-weight: 800; color: var(--text); animation: pop .3s ease both; }
.ad-banner small { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); animation: breathe 2s ease-in-out infinite; }
.ad-fields { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ad-field { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 10px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s; }
.ad-field > span:first-child { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
.ad-in { display: flex; align-items: center; gap: 8px; }
.ad-in i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--present); color: var(--dark-text); }
.ad-in input { flex: 1; min-width: 0; border: none; background: var(--bg-bottom); color: var(--text); border-radius: 12px; padding: 9px 12px; font: 600 1.05rem Outfit, sans-serif; }
.ad-in input:focus { outline: 2px solid var(--accent); }
.ad-in input:disabled { opacity: .7; }
.ad-field.ok { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--correct) 70%, transparent); }
.ad-field.bad { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--red) 70%, transparent); }
.ad-stop { width: 100%; border: none; border-radius: 26px; padding: 16px; font: 800 1.6rem Outfit, sans-serif; letter-spacing: .06em; cursor: pointer; background: var(--red); color: var(--dark-text); box-shadow: 0 6px 0 color-mix(in srgb, var(--red) 50%, #000); transition: opacity .2s, transform .1s; }
.ad-stop:not(:disabled):active { transform: translateY(3px); box-shadow: 0 3px 0 color-mix(in srgb, var(--red) 50%, #000); }
.ad-stop:disabled { opacity: .35; cursor: default; }
.ad-votes { display: grid; gap: 8px; }
.ad-vrow { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 9px 10px 9px 14px; border-radius: 18px; background: var(--surface); transition: opacity .15s; }
.ad-vcat { grid-column: 1; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ad-vans { grid-column: 1; font-size: 1.08rem; font-weight: 700; overflow-wrap: anywhere; }
.ad-vans small { display: block; font-size: .75rem; font-weight: 600; color: var(--red); }
.ad-vbtn { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; border: none; border-radius: 16px; font-size: 1.4rem; font-weight: 800; cursor: pointer; background: var(--correct); color: var(--dark-text); transition: background .15s, transform .1s; }
.ad-vbtn.no { background: var(--red); }
.ad-vbtn:disabled { cursor: default; }
.ad-vrow.auto .ad-vbtn { opacity: .55; }
.ad-vrow.no .ad-vans { text-decoration: line-through; color: var(--muted); }
.ad-vbtn:not(:disabled):active { transform: scale(.92); }
.ad-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; table-layout: fixed; }
.ad-table th, .ad-table td { text-align: left; padding: 7px 8px; font-size: .88rem; }
.ad-table thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-table tbody th { width: 30%; font-weight: 600; color: var(--muted); font-size: .78rem; background: var(--surface); border-radius: 12px 0 0 12px; line-height: 1.2; }
.ad-table tbody td { background: var(--surface); font-weight: 700; }
.ad-table tbody td:last-child { border-radius: 0 12px 12px 0; }
.ad-table td span { display: block; overflow-wrap: anywhere; line-height: 1.2; }
.ad-table td b { display: inline-block; margin-top: 3px; font-size: .72rem; padding: 1px 7px; border-radius: 99px; }
.ad-table td.p10 b { background: var(--correct); color: var(--dark-text); }
.ad-table td.p5 b { background: var(--present); color: var(--dark-text); }
.ad-table td.p0 b { background: var(--absent); color: var(--muted); }
.ad-table td.p0 span { color: var(--muted); text-decoration: line-through; }
.ad-table tfoot th, .ad-table tfoot td { font-size: 1.05rem; padding-top: 8px; }
.ad-table tfoot td b { font-size: 1.3rem; }
.ad-next { margin: 2px 0 0; text-align: center; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Forca ---------- */
.fc { gap: 10px; padding-bottom: 20px; }
.fc-stage { display: flex; flex-direction: column; gap: 12px; }
.fc-role { margin: 0; color: var(--muted); font-weight: 700; text-align: center; }
.fc-role.mine { color: var(--correct); }
.fc-form { display: flex; flex-direction: column; gap: 12px; background: var(--surface); border-radius: var(--r-card); padding: 20px 18px; }
.fc-form h2 { margin: 0; text-align: center; font-size: 1.4rem; font-weight: 800; }
.fc-form p { margin: -6px 0 0; text-align: center; }
.fc-form-ico { align-self: center; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--bg-bottom); }
.fc-form-ico svg { width: 46px; height: 46px; }
.fc-help { font-size: .82rem; color: var(--muted); }
.fc-field.shake { animation: shake .3s; }
.fc-wait { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 70px 10px 20px; text-align: center; color: var(--muted); }
.fc-wait p { margin: 0; font-size: 1.1rem; font-weight: 600; }
.fc-wait b { color: var(--accent); }
.fc-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 4px; }
.fc-theme { padding: 6px 14px; border-radius: 99px; background: color-mix(in srgb, var(--accent) 20%, var(--surface)); color: var(--muted); font-weight: 600; font-size: .92rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-theme b { color: var(--text); }
.fc-err { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fc-err b { color: var(--text); font-size: 1.1rem; }
.fc-err.hi b { color: var(--red); }
.fc-board { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: var(--r-card); background: var(--surface); }
.fc-gallows { width: 128px; height: 128px; flex: none; }
.fc-post { fill: none; stroke: var(--outline); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.fc-man > * { fill: none; stroke: var(--accent); stroke-width: 5.5; stroke-linecap: round; }
.fc-man .new { animation: pop .3s ease both; transform-box: fill-box; transform-origin: center; }
.fc-gallows.lost .fc-man > * { stroke: var(--red); }
.fc-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.fc-side .fc-role { text-align: left; font-size: .9rem; }
.fc-misses { margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.fc-misses span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; background: color-mix(in srgb, var(--red) 30%, var(--surface-high)); color: var(--red); text-decoration: line-through; }
.fc-misses em { color: var(--muted); font-size: .85rem; }
.fc-mask { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 16px; padding: 6px 0; }
.fc-wd { display: flex; gap: 4px; align-items: flex-end; }
.fc-sl { --w: min(34px, calc((100vw - 60px) / var(--n, 8) - 4px)); width: var(--w); height: calc(var(--w) * 1.22); display: grid; place-items: center; border-radius: 9px; background: var(--surface-high); border-bottom: 3px solid var(--outline); font-size: calc(var(--w) * .62); font-weight: 800; }
.fc-sl.got { background: var(--correct); color: var(--dark-text); border-bottom-color: color-mix(in srgb, var(--correct) 55%, #000); animation: pop .3s ease both; }
.fc-sl.hid { color: var(--muted); }
.fc-sl.miss { background: color-mix(in srgb, var(--red) 30%, var(--surface-high)); color: var(--text); }
.fc-hy { font-size: 1.4rem; font-weight: 800; color: var(--muted); align-self: center; }
.fc-status { margin: 0; text-align: center; font-size: 1.1rem; font-weight: 700; color: var(--muted); min-height: 1.4em; }
.fc-status.win { color: var(--correct); }
.fc-status.lose { color: var(--red); }
.fc-final { margin: -4px 0 0; text-align: center; color: var(--muted); }
.fc-final b { color: var(--text); letter-spacing: .04em; }
.fc-tries { margin: 0; text-align: center; font-size: .85rem; color: var(--muted); }
.fc-tries span { display: inline-block; margin: 2px; padding: 2px 9px; border-radius: 99px; background: var(--surface-high); font-weight: 700; }
.fc-tries span.no { text-decoration: line-through; color: var(--red); }
.fc-tries span.ok { background: var(--correct); color: var(--dark-text); }
.fc-keys { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; transition: opacity .2s; }
.fc-keys.off { opacity: .45; }
.fc-key { height: 44px; border: none; border-radius: 11px; background: var(--key); color: var(--text); font: 700 1.05rem Outfit, sans-serif; cursor: pointer; padding: 0; transition: transform .1s; }
.fc-key:not(:disabled):active { transform: scale(.9); }
.fc-key:disabled { cursor: default; }
.fc-key.hit { background: var(--correct); color: var(--dark-text); }
.fc-key.miss { background: var(--key-absent); color: rgba(169,162,208,.45); }
.fc-key.pend { opacity: .5; }
.fc-tryline { display: flex; justify-content: center; }
.fc-tryopen { padding: 10px 22px; font-size: .95rem; }
.fc-tryrow { display: flex; gap: 8px; }
.fc-tryrow .mp-input { padding: 11px 14px; font-size: 1rem; }
.fc-tryrow .pill { flex: none; }
.fc-sheetword { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 10px 0 4px; padding: 14px; border-radius: 20px; background: var(--surface-high); }
.fc-sheetword small { color: var(--muted); font-weight: 600; }
.fc-sheetword b { font-size: 1.5rem; font-weight: 800; letter-spacing: .05em; text-align: center; }
.fc-sheetword .note { margin: 4px 0 0; }
@media (prefers-reduced-motion: reduce) { .mtv-wheel { transition: none; } .ad-spin p, .ad-banner small, .mp-sugg { animation: none; } }

/* ---------- Rodada 12: Matiz, Pódio e Ampulheta ---------- */
.mz-ico { position: relative; width: 50px; height: 46px; }
.mz-ico i { position: absolute; width: 26px; height: 26px; border-radius: 50%; mix-blend-mode: screen; opacity: .9; }
.mz-ico i:nth-child(1) { left: 12px; top: 0; background: #E5737A; }
.mz-ico i:nth-child(2) { left: 2px; top: 18px; background: #5FB873; }
.mz-ico i:nth-child(3) { left: 22px; top: 18px; background: #6FA8E8; }
.pd-ico { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.pd-ico i { width: 14px; border-radius: 5px 5px 2px 2px; display: grid; place-items: start center; padding-top: 2px; font: 800 9px Outfit, sans-serif; font-style: normal; color: var(--dark-text); }
.pd-ico i:nth-child(1) { height: 26px; background: #C9C3E8; }
.pd-ico i:nth-child(2) { height: 38px; background: var(--present); }
.pd-ico i:nth-child(3) { height: 18px; background: #E09A63; }
.amp-ico { display: grid; justify-items: center; }
.amp-ico i { width: 26px; height: 20px; background: var(--present); clip-path: polygon(0 0, 100% 0, 58% 100%, 42% 100%); border-top: 3px solid var(--text); }
.amp-ico i:last-child { transform: rotate(180deg); background: linear-gradient(0deg, var(--surface-high) 45%, var(--present) 45%); }

.mz .score-row, .amp .score-row { margin: 0 0 14px; }
.mz-stage, .amp > [data-stage] { display: flex; flex-direction: column; gap: 14px; padding-bottom: 16px; }
.mz .hint, .pd .hint, .amp .hint { text-align: center; color: var(--muted); margin: 0; }
.mz-swatch { width: 100%; max-width: 360px; aspect-ratio: 2.2; margin: 0 auto; border-radius: var(--r-card); box-shadow: 0 0 0 3px var(--surface-high); display: grid; place-items: center; }
.mz-swatch.big { aspect-ratio: 1; max-width: 320px; }
.mz-swatch.half { aspect-ratio: 1; border-radius: 22px; }
.mz-swatch b { font-size: 3rem; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.mz-sliders { display: grid; gap: 10px; background: var(--surface); border-radius: var(--r-card); padding: 14px 18px; }
.mz-row { display: grid; grid-template-columns: 22px 1fr 40px; align-items: center; gap: 10px; }
.mz-row span { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.mz-row input { width: 100%; height: 28px; accent-color: var(--c); }
.mz-R { --c: #E5737A; } .mz-G { --c: #5FB873; } .mz-B { --c: #6FA8E8; }
.mz-row b { color: var(--c); }
.mz-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 360px; width: 100%; margin: 0 auto; text-align: center; }
.mz-pair small { display: block; color: var(--muted); margin-top: 8px; }
.mz-pair code { font: 600 .95rem ui-monospace, monospace; }
.mz-score { display: flex; flex-direction: column; align-items: center; }
.mz-score b { font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--accent); }
.mz-score small { color: var(--muted); }
.mz-sum { display: flex; flex-direction: column; gap: 16px; }
.mz-minis { display: flex; justify-content: center; gap: 8px; }
.mz-mini { display: grid; grid-template-columns: 1fr 1fr; width: 56px; border-radius: 14px; overflow: hidden; background: var(--surface); text-align: center; }
.mz-mini i { height: 40px; }
.mz-mini small { grid-column: 1 / 3; padding: 4px 0; font-weight: 600; }

.pd { gap: 12px; padding-bottom: 16px; }
.pd-title { font-size: 1.1rem; padding: 16px; }
.pd-slots { display: grid; gap: 6px; }
.pd-slot { display: flex; align-items: center; gap: 12px; min-height: 44px; border: 1.5px dashed var(--outline); border-radius: 16px; padding: 8px 14px; background: transparent; color: var(--text); font: 600 1rem Outfit, sans-serif; text-align: left; cursor: pointer; }
.pd-slot b { color: var(--muted); width: 26px; }
.pd-slot.full { border-style: solid; background: var(--surface-high); }
.pd-slot.c { border-color: transparent; background: var(--correct); color: var(--dark-text); cursor: default; }
.pd-slot.c b { color: var(--dark-text); }
.pd-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pd-opt { border: none; border-radius: 14px; padding: 10px 8px; background: var(--key); color: var(--text); font: 600 .95rem Outfit, sans-serif; cursor: pointer; }
.pd-opt.used { opacity: .3; cursor: default; }
.pd-opt.out { background: var(--key-absent); color: var(--muted); text-decoration: line-through; }
.pd .pill:disabled { opacity: .45; cursor: default; }
.pd-hist { display: grid; gap: 6px; }
.pd-try { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.pd-chip { border-radius: 10px; padding: 6px 3px; font-size: .68rem; font-weight: 600; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-chip.c { background: var(--correct); color: var(--dark-text); }
.pd-chip.p { background: var(--present); color: var(--dark-text); }
.pd-chip.a { background: var(--absent); color: var(--muted); }

.amp-card { display: flex; align-items: center; gap: 14px; border-radius: 20px; padding: 12px 16px; background: var(--surface); }
.amp-card b { min-width: 64px; font-size: 1.15rem; font-weight: 800; color: var(--accent); }
.amp-card.new { position: sticky; top: 8px; z-index: 2; background: var(--surface-high); box-shadow: 0 0 0 2px var(--accent), 0 8px 22px rgba(0,0,0,.35); }
.amp-card.ok { box-shadow: 0 0 0 2px var(--correct); }
.amp-card.bad { box-shadow: 0 0 0 2px var(--red); }
.amp-card.ok b { color: var(--correct); } .amp-card.bad b { color: var(--red); }
.amp-line { display: flex; flex-direction: column; gap: 6px; }
.amp-gap { height: 30px; border: 1.5px dashed var(--outline); border-radius: 99px; background: transparent; color: var(--muted); font: 700 1rem Outfit, sans-serif; cursor: pointer; }
.amp-gap:hover, .amp-gap:focus-visible { border-color: var(--accent); color: var(--accent); }
.amp-end { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
/* ---------- Quadrante (Sudoku) ---------- */
.sdk-ico { display: grid; grid-template-columns: repeat(3, 15px); gap: 2px; padding: 3px; border-radius: 10px; background: var(--outline); transform: rotate(-5deg); }
.sdk-ico i { width: 15px; height: 15px; border-radius: 4px; background: var(--surface-high); font: 800 10px Outfit, sans-serif; font-style: normal; display: grid; place-items: center; color: var(--text); }
.sdk-ico i.on { background: var(--blue); color: var(--dark-text); }
.sdk-levels { margin-bottom: 10px; }
.sdk-hud span { display: flex; align-items: baseline; }
.sdk-hud b.bad { color: var(--red); }
.sdk-tag { color: var(--correct); font-weight: 700; font-size: .85rem; }
.sdk-grid { display: grid; grid-template-columns: repeat(9, 1fr); width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--outline); gap: 1px; padding: 2px; }
.sdk-c { border: none; padding: 0; min-width: 0; min-height: 0; background: var(--surface); color: var(--blue); font: 600 min(24px, 5.6vw) Outfit, sans-serif; display: grid; place-items: center; cursor: pointer; position: relative; }
.sdk-c:nth-child(9n+3), .sdk-c:nth-child(9n+6) { margin-right: 2px; }
.sdk-c:nth-child(n+19):nth-child(-n+27), .sdk-c:nth-child(n+46):nth-child(-n+54) { margin-bottom: 2px; }
.sdk-c.fixed { color: var(--text); font-weight: 800; background: var(--surface-high); }
.sdk-c.hl { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.sdk-c.fixed.hl { background: color-mix(in srgb, var(--accent) 16%, var(--surface-high)); }
.sdk-c.same { background: color-mix(in srgb, var(--accent) 38%, var(--surface)); }
.sdk-c.sel { background: color-mix(in srgb, var(--accent) 55%, var(--surface)); color: var(--text); }
.sdk-c.err { color: var(--red); background: color-mix(in srgb, var(--red) 22%, var(--surface)); }
.sdk-c.shake { animation: shake .3s; }
.sdk-notes { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; height: 100%; padding: 1px; }
.sdk-notes i { font: 600 min(9px, 2.2vw) Outfit, sans-serif; font-style: normal; color: var(--muted); display: grid; place-items: center; line-height: 1; }
.sdk-tools { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 12px 0 10px; }
.sdk-tools .pill { padding: 9px 16px; font-size: .9rem; }
.sdk-tools .pill.on { background: var(--accent); color: var(--dark-text); }
.sdk-pad { width: 100%; display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; max-width: 440px; margin: 0 auto; }
.sdk-pad button { border: none; border-radius: var(--r-key); background: var(--key); font: 700 1.3rem Outfit, sans-serif; padding: 12px 0; cursor: pointer; }
.sdk-pad button:disabled { opacity: .3; cursor: default; }
.sdk-best { font-size: .85rem; margin-top: 14px; }

/* ---------- Xeque (Xadrez) ---------- */
.xz-ico { position: relative; display: grid; grid-template-columns: 22px 22px; border-radius: 12px; overflow: hidden; transform: rotate(-5deg); }
.xz-ico i { width: 22px; height: 22px; background: var(--surface-high); }
.xz-ico i:nth-child(1), .xz-ico i:nth-child(4) { background: var(--accent); }
.xz-ico b { position: absolute; inset: 0; display: grid; place-items: center; font: 400 32px "DejaVu Sans", sans-serif; color: #F4F1FF; -webkit-text-stroke: 1.2px #14102C; }
.xz-setup h3 { margin: 14px 0 8px; font-size: .95rem; color: var(--muted); font-weight: 600; }
.xz-wins { font-size: .85rem; margin-top: 14px; }
.xz-board { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); width: 100%; max-width: 440px; margin: 0 auto; aspect-ratio: 1; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 3px var(--surface-high); }
.xz-c { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; cursor: pointer; }
.xz-c.light { background: color-mix(in srgb, var(--surface-high) 55%, var(--muted) 30%); }
.xz-c.dark { background: color-mix(in srgb, var(--surface) 80%, var(--accent) 20%); }
.xz-c.last { box-shadow: inset 0 0 0 100px color-mix(in srgb, var(--present) 30%, transparent); }
.xz-c.sel { box-shadow: inset 0 0 0 100px color-mix(in srgb, var(--correct) 40%, transparent); }
.xz-c.check { background: radial-gradient(circle, var(--red) 25%, color-mix(in srgb, var(--red) 40%, transparent) 70%); }
.xz-c.dest::after { content: ""; position: absolute; width: 30%; height: 30%; border-radius: 50%; background: var(--correct); opacity: .8; pointer-events: none; }
.xz-c.dest.cap::after { width: 86%; height: 86%; background: transparent; box-shadow: inset 0 0 0 4px var(--correct); }
.xz-pc { display: grid; place-items: center; width: 100%; height: 100%; }
.xz-r, .xz-f { position: absolute; font-size: 9px; font-weight: 700; color: var(--bg-bottom); opacity: .7; pointer-events: none; }
.xz-r { top: 2px; left: 3px; }
.xz-f { bottom: 1px; right: 3px; }
.xz-p { font: 400 min(38px, 8.4vw) "DejaVu Sans", "Segoe UI Symbol", sans-serif; font-style: normal; line-height: 1; pointer-events: none; paint-order: stroke; }
.xz-p.w { color: #F4F1FF; -webkit-text-stroke: 1.4px #14102C; }
.xz-p.b { color: #14102C; -webkit-text-stroke: 1.2px #C9C2EA; }
.xz-p.mini { font-size: 15px; -webkit-text-stroke-width: .8px; margin-right: -2px; }
.xz-board.off .xz-c { cursor: default; }
.xz-side { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 30px; padding: 6px 4px; }
.xz-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xz-name.turn { color: var(--text); }
.xz-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.xz-dot.w { background: #F4F1FF; }
.xz-dot.b { background: #14102C; box-shadow: inset 0 0 0 1.5px var(--outline); }
.xz-caps { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.xz-caps em { font-style: normal; font-weight: 700; color: var(--muted); margin-left: 6px; font-size: .85rem; }
.xz-status { text-align: center; margin: 8px 0; font-size: 1.05rem; font-weight: 800; color: var(--muted); }
.xz-status.mine { color: var(--correct); }
.xz-status.chk, .dm-turn.chk { color: var(--red); }
.xz-btns { max-width: 440px; margin: 0 auto; }
.xz-btns .pill:disabled { opacity: .4; }
.xz-promo { display: flex; gap: 10px; justify-content: center; margin: 12px 0 4px; }
.xz-pick { border: none; width: 64px; height: 64px; border-radius: 18px; background: var(--surface-high); cursor: pointer; display: grid; place-items: center; }
.xz-pick .xz-p { font-size: 40px; }

/* ---------- tela inicial: abas no celular (B), grade + prévia no computador (E) ---------- */
.home-wide { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.hm-top { display: none; }
.hm-tabs { display: flex; gap: 4px; padding: 5px; margin: 14px 0 6px; border-radius: 28px; background: var(--surface); }
.hm-tab { flex: 1; min-height: 46px; border: none; border-radius: 23px; background: transparent; color: var(--muted); font-size: .9rem; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; transition: background-color .2s, color .2s; }
.hm-tab small { font-size: .7rem; font-weight: 600; opacity: .8; }
.hm-tab[aria-selected="true"] { color: var(--dark-text); }
.hm-tab.c-p[aria-selected="true"] { background: var(--correct); }
.hm-tab.c-l[aria-selected="true"] { background: var(--blue); }
.hm-tab.c-c[aria-selected="true"] { background: var(--present); }
.hm-cat { display: none; }
.hm-cat.on { display: block; animation: hmIn .35s ease both; }
.hm-lbl { margin: 12px 6px 12px; font-size: 1.35rem; font-weight: 800; }
.hm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hm-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 168px; padding: 14px; border-radius: var(--r-card); background: var(--surface); border: 1px solid color-mix(in srgb, var(--outline) 45%, transparent); text-align: left; cursor: pointer; transition: transform .15s, background-color .15s; }
.hm-card:hover { background: var(--surface-high); transform: translateY(-2px); }
.hm-card:active { transform: scale(.97); }
.hm-card .ico { width: 58px; height: 58px; display: grid; place-items: center; }
.hm-name { font-size: 1.05rem; font-weight: 700; line-height: 1.15; }
.hm-sub { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.hm-badge { position: absolute; top: 12px; right: 12px; }
.hm-badge .pill-badge { font-size: 11px; padding: 3px 8px; }
.hm-prev { display: none; }
.hm-nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); width: calc(100% - 32px); max-width: 528px; height: 68px; border-radius: 34px; background: var(--surface-high); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); display: flex; align-items: center; justify-content: space-around; z-index: 20; }
.hm-nav button, .hm-top button { border: none; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; font-weight: 600; }
.hm-nav button { flex-direction: column; gap: 2px; min-width: 64px; min-height: 44px; justify-content: center; font-size: 12px; }
.hm-nav button.on { color: var(--present); font-weight: 700; }
.hm-nav svg { width: 22px; height: 22px; }
@keyframes hmIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  #app.home-wide { max-width: 1200px; padding: 0 32px 40px; }
  .hm-nav, .hm-tabs { display: none; }
  .hm-top { display: flex; gap: 6px; padding: 6px; border-radius: 30px; background: var(--surface); }
  .hm-top button { height: 44px; padding: 0 18px; gap: 8px; border-radius: 22px; color: var(--text); }
  .hm-top button:hover { background: var(--surface-high); }
  .hm-top button.on { background: var(--present); color: var(--dark-text); font-weight: 700; }
  .hm-top svg { width: 18px; height: 18px; }
  .hm-body { display: flex; gap: 28px; align-items: flex-start; margin-top: 18px; }
  .hm-main { flex: 1; min-width: 0; }
  .hm-cat, .hm-cat.on { display: block; animation: none; margin-bottom: 26px; }
  .hm-lbl { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .hm-cat.c-p .hm-lbl { color: var(--correct); }
  .hm-cat.c-l .hm-lbl { color: var(--blue); }
  .hm-cat.c-c .hm-lbl { color: var(--present); }
  .hm-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px 8px; }
  .hm-card { min-height: 0; padding: 0; gap: 8px; align-items: center; text-align: center; background: transparent; border: none; }
  .hm-card:hover { background: transparent; transform: translateY(-3px); }
  .hm-card .ico { width: 84px; height: 84px; border-radius: 28px; background: var(--surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--outline) 45%, transparent); transition: box-shadow .2s, background-color .2s; }
  .hm-card[aria-pressed="true"] .ico { background: var(--surface-high); box-shadow: 0 0 0 3px var(--present); }
  .hm-name { font-size: .82rem; font-weight: 600; }
  .hm-sub, .hm-badge { display: none; }
  .hm-prev { display: block; position: sticky; top: 24px; flex: 0 0 340px; padding: 28px; border-radius: 32px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--outline) 45%, transparent); }
  .hm-prev-in { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; animation: hmIn .3s ease both; }
  .hm-prev-ico { width: 140px; height: 140px; border-radius: 44px; background: var(--surface-high); display: grid; place-items: center; }
  .hm-prev-ico > * { transform: scale(1.7); }
  .hm-prev h2 { margin: 0; font-size: 2rem; font-weight: 800; }
  .hm-prev p { margin: 0; color: var(--muted); line-height: 1.45; }
  .hm-pill { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; color: var(--dark-text); }
  .hm-pill.c-p { background: var(--correct); } .hm-pill.c-l { background: var(--blue); } .hm-pill.c-c { background: var(--present); }
  .hm-play { width: 100%; margin-top: 8px; font-size: 1.1rem; }
  .hm-friend { width: 100%; background: var(--surface-high); color: var(--text); }
}
@media (prefers-reduced-motion: reduce) { .hm-cat.on, .hm-prev-in { animation: none; } }

/* ---------- Batalha Naval (solo e com amigo): layout A + frotas ao lado (D) ---------- */
.nv { gap: 10px; }
.nv-wrap { display: flex; flex-direction: column; gap: 10px; }
.nv-status { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 4px; min-height: 36px; }
.nv-turn { margin: 0; flex: 1; min-width: 0; font-size: 1.1rem; font-weight: 800; color: var(--muted); line-height: 1.2; }
.nv-turn.mine { color: var(--correct); }
.nv-count { display: flex; gap: 14px; font-weight: 600; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.nv-count b { color: var(--text); font-variant-numeric: tabular-nums; }
.nv-act:empty { display: none; }
.nv-act .pill, .pill.nv-mini { padding: 8px 16px; font-size: .88rem; }
.nv-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.nv-card { background: var(--surface); border: 1px solid color-mix(in srgb, var(--outline) 45%, transparent); border-radius: var(--r-card); padding: 12px 10px; min-width: 0; display: flex; flex-direction: column; }
.nv-card h2 { margin: 0 4px 8px; font-size: 1rem; font-weight: 700; }
.nv-foe { grid-column: 1 / -1; }
.nv-mine h2 { font-size: .9rem; }
.nv-fit { display: flex; justify-content: center; align-items: center; }
.nv-board { width: 100%; display: grid; grid-template-columns: .65fr repeat(10, minmax(0, 1fr)); gap: 3px; }
.nv-l { display: grid; place-items: center; overflow: hidden; min-height: 0; font-style: normal; font-size: .7rem; font-weight: 600; color: var(--muted); aspect-ratio: 1; }
.nv-board > .nv-l:nth-child(-n+11) { aspect-ratio: auto; padding-bottom: 2px; }
.nv-c { aspect-ratio: 1; min-width: 0; border: none; padding: 0; border-radius: 8px; background: var(--surface-high); color: var(--dark-text); display: grid; place-items: center; overflow: hidden; min-height: 0; font: 800 clamp(.6rem, 2.6vw, 1rem)/1 Outfit, sans-serif; transition: background-color .2s; }
.nv-mine .nv-c { border-radius: 4px; font-size: .55rem; }
.nv-mine .nv-board { gap: 2px; }
.nv-mine .nv-l { font-size: .5rem; }
.nv-board.enemy .nv-c { cursor: pointer; }
.nv-board.enemy:not(.off) .nv-c:not(.hit):not(.miss):not(.sunk):not(.ship):hover { background: color-mix(in srgb, var(--accent) 35%, var(--surface-high)); }
.nv-board.off .nv-c { cursor: default; }
.nv-c.ship { background: var(--flag-blue); }
.nv-c.ship.sel { background: var(--present); }
.nv-c.hit { background: var(--correct); }
.nv-c.hit.me { background: var(--red); }
.nv-c.miss { background: var(--key-absent); color: var(--muted); }
.nv-c.sunk { background: var(--purple); }
.nv-c.aim { box-shadow: 0 0 0 3px var(--present); position: relative; z-index: 1; }
.nv-c.last { animation: pop .3s ease; }
.nv-fleets { gap: 14px; padding: 14px; }
.nv-fleet h3 { margin: 0 0 8px; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-ship { display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; }
.nv-nm { font-size: .78rem; }
.nv-ship.gone .nv-nm { color: var(--purple); text-decoration: line-through; }
.nv-cap { display: flex; gap: 2px; }
.nv-cap i { width: 13px; height: 10px; background: var(--outline); }
.nv-cap.mine i { background: var(--flag-blue); }
.nv-cap i:first-child { border-radius: 6px 2px 2px 6px; }
.nv-cap i:last-child { border-radius: 2px 6px 6px 2px; }
.nv-cap i.hit { background: var(--red); }
.nv-cap i.sunk { background: var(--purple); }
.nv-place .nv-c { border-radius: 6px; }
.nv-pbtns .pill:disabled { opacity: .4; }
.nv-wins { margin: 0; font-size: .85rem; }
@media (max-width: 899px) {
  /* celular: a tela inteira sem rolar; o mar grande se ajusta à altura que sobra */
  #app.nv-wide { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
  #app.nv-wide .topbar { padding: 6px 0; }
  .game.nv { flex: 1 1 auto; min-height: 0; overflow: hidden; padding-bottom: 10px; gap: 8px; }
  .nv-wrap { flex: 1 1 auto; min-height: 0; gap: 8px; }
  .nv-wrap.hidden { display: none; }
  .nv-count { display: none; }
  .nv-turn { font-size: 1rem; }
  .nv-layout { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, auto) minmax(112px, 190px); align-content: start; gap: 8px; align-items: stretch; }
  .nv-foe, .nv-place { min-height: 0; padding: 8px 8px 10px; }
  .nv-place { flex: 0 1 auto; }
  .nv-pbtns { margin-top: auto; }
  .nv-card h2 { margin-bottom: 6px; font-size: .95rem; }
  /* altura de um mar quadrado na largura da tela; encolhe se a tela for baixa */
  .nv-foe .nv-fit, .nv-place .nv-fit { flex: 0 1 calc(min(100vw, 560px) - 44px); min-height: 0; container-type: size; align-items: flex-start; }
  .nv-foe { overflow: hidden; }
  /* o tabuleiro é quase quadrado: largura máxima pela altura que sobra */
  .nv-foe .nv-board, .nv-place .nv-board { width: min(100cqw, calc(100cqh * 1.05 - 10px)); }
  .nv-mine, .nv-fleets { min-height: 0; padding: 8px 10px; }
  .nv-mine h2 { margin: 0 2px 4px; font-size: .8rem; }
  .nv-mine .nv-fit { flex: 1 1 auto; min-height: 0; container-type: size; }
  .nv-mine .nv-board { width: min(100cqw, calc(100cqh - 8px)); gap: 1px; }
  .nv-mine .nv-c { font-size: 6px; border-radius: 3px; }
  .nv-mine .nv-l { font-size: 6px; }
  .nv-fleets { flex-direction: row; justify-content: space-around; gap: 6px; }
  .nv-fleet { min-width: 0; }
  .nv-nm { display: none; }
  .nv-ship { margin-bottom: 0; }
  .nv-fleet { display: flex; flex-direction: column; gap: 4px; }
  .nv-fleet h3 { font-size: .62rem; margin: 0 0 2px; letter-spacing: .03em; }
  .nv-cap i { width: 11px; height: 9px; }
  .nv-setup > .seg button { padding: 7px 4px; }
  .nv-pbtns .pill { padding: 12px 8px; }
}
@media (max-width: 899px) and (max-height: 640px) {
  .nv-wins { display: none; }
  .nv-cap i { height: 7px; }
}
@media (min-width: 900px) {
  #app.nv-wide { max-width: 1200px; padding: 0 32px 40px; }
  .nv-layout { grid-template-columns: 230px minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .nv-fleets { grid-column: 1; grid-row: 1; }
  .nv-foe { grid-column: 2; grid-row: 1; }
  .nv-mine { grid-column: 3; grid-row: 1; }
  .nv-card { padding: 20px; }
  .nv-card h2, .nv-mine h2 { font-size: 1.1rem; }
  .nv-mine .nv-c { border-radius: 8px; font-size: 1rem; }
  .nv-mine .nv-board { gap: 3px; }
  .nv-mine .nv-l { font-size: .7rem; }
  .nv-nm { font-size: .9rem; }
  .nv-cap i { width: 16px; height: 12px; }
  .nv-setup { max-width: 520px; margin: 0 auto; width: 100%; }
  .nv-place .nv-board { max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) { .nv-c.last { animation: none; } }
.nv-ico { display: grid; grid-template-columns: repeat(3, 13px); gap: 3px; }
.nv-ico i { height: 13px; border-radius: 4px; background: color-mix(in srgb, var(--outline) 60%, transparent); }
.nv-ico i.s { background: var(--flag-blue); }
.nv-ico i.s:nth-child(4) { border-radius: 7px 3px 3px 7px; } .nv-ico i.s:nth-child(6) { border-radius: 3px 7px 7px 3px; }
.nv-ico i.h { background: var(--correct); }
.nv-ico i.m { background: var(--key-absent); }

/* Palavra Cruzada */
.cz { max-width: 460px; margin: 0 auto; width: 100%; }
.cz .hint { text-align: center; color: var(--muted); margin: 0 0 10px; min-height: 2.6em; }
.cz-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; width: min(100%, 300px); margin: 0 auto 12px; }
.cz-b { aspect-ratio: 1; }
.cz-c { position: relative; aspect-ratio: 1; border: 0; border-radius: 12px; background: var(--surface-high); color: var(--text); font: 800 1.35rem Outfit, sans-serif; cursor: pointer; padding: 0; }
.cz-c small { position: absolute; top: 3px; left: 6px; font-size: .62rem; font-weight: 600; color: var(--muted); }
.cz-c.in { background: var(--outline); }
.cz-c.at { outline: 2px solid var(--accent); outline-offset: 0; }
.cz-c.ok { background: var(--correct); }
.cz-c.ok small { color: inherit; }
.cz-c.bad { background: color-mix(in srgb, var(--red) 55%, var(--surface)); }
.cz .keyboard { margin-top: 6px; }
.cz-clues { display: grid; gap: 10px; margin: 10px 0 4px; }
.cz-clues h3 { margin: 0 0 6px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.cz-clue { display: flex; gap: 8px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 12px; color: var(--text); font: inherit; font-size: .9rem; padding: 6px 8px; cursor: pointer; }
.cz-clue.on { background: var(--surface-high); }
.cz-clue b { color: var(--accent); }
.cz-ico { display: grid; grid-template-columns: repeat(3, 13px); gap: 3px; }
.cz-ico i { height: 13px; border-radius: 4px; background: var(--correct); }
.cz-ico i.b { background: transparent; }

/* Retrospectiva e sincronização */
.retro-btn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--surface); color: var(--text); border: 0; border-radius: 22px; padding: 14px 16px; margin-bottom: 14px; font: inherit; cursor: pointer; font-size: 1.05rem; }
.retro-btn > span:nth-child(2) { flex: 1; }
.retro-btn small { display: block; color: var(--muted); font-size: .85rem; }
.retro-row { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; padding: 8px 0; }
.retro-row span { grid-row: span 2; font-size: 1.3rem; }
.retro-row b { font-size: 1.25rem; font-weight: 800; }
.retro-row small { color: var(--muted); }
.sync-code { font-size: 2rem; font-weight: 800; letter-spacing: .18em; text-align: center; margin: 12px 0; }
.sync-qr { width: min(70%, 220px); margin: 0 auto; }
.sync-qr svg { display: block; width: 100%; height: auto; border-radius: 16px; }
.link-btn { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }

/* Silhueta */
.sil { max-width: 460px; margin: 0 auto; width: 100%; }
.sil .hint, .mm .hint { text-align: center; color: var(--muted); margin: 0 0 10px; }
.sil-map { display: block; width: min(70vw, 230px); height: min(70vw, 230px); margin: 0 auto 12px; }
.sil-map path { fill: var(--accent); }
.sil-answer { text-align: center; font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.sil-search { margin-bottom: 10px; }
.sil-search input { width: 100%; box-sizing: border-box; }
.sil-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; min-height: 38px; }
.sil-opt { background: var(--surface-high); color: var(--text); border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .92rem; cursor: pointer; }
.sil-rows { display: grid; gap: 6px; margin-top: 8px; }
.sil-row { display: grid; grid-template-columns: 1fr auto 26px 44px; gap: 8px; align-items: center; background: var(--surface); border-radius: 14px; padding: 9px 12px; font-size: .9rem; }
.sil-row b { font-weight: 600; min-width: 0; }
.sil-row span:last-child { text-align: right; }
.sil-row.ok { grid-template-columns: 1fr auto; background: var(--correct); }
.sil-dir { font-size: 1.2rem; text-align: center; color: var(--present); font-weight: 800; }
.sil-ico { width: 46px; height: 46px; }
.sil-ico path { fill: var(--blue); }

/* Mais ou Menos */
.mm { max-width: 460px; margin: 0 auto; width: 100%; }
.mm-theme { text-align: center; font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
.mm-card { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--surface); border-radius: 22px; padding: 18px 14px; margin-bottom: 10px; text-align: center; }
.mm-card span { font-weight: 600; }
.mm-card b { font-size: 1.7rem; font-weight: 800; }
.mm-card.second { background: var(--surface-high); }
.mm-card.ok { background: var(--correct); }
.mm-card.bad { background: color-mix(in srgb, var(--red) 65%, var(--surface)); }
.mm-q { margin-top: 12px !important; }
.mm .row-btns .pill { flex: 1; }
.mm-less { background: var(--present); color: var(--dark-text); }
.mm-end { text-align: center; padding-top: 18px; }
.mm-big { font-size: 3.4rem; font-weight: 800; }
.mm-dots { display: flex; justify-content: center; gap: 5px; margin: 14px 0; }
.mm-dots i { width: 18px; height: 18px; border-radius: 6px; background: var(--red); }
.mm-dots i.ok { background: var(--correct); }
.mm-ico { display: flex; flex-direction: column; align-items: center; line-height: 1.05; font-size: 20px; }
.mm-ico b { color: var(--correct); font-weight: 400; }
.mm-ico i { color: var(--present); font-style: normal; }

/* Campo Minado */
.mina { max-width: 460px; margin: 0 auto; width: 100%; }
.mina .hint, .cam .hint { text-align: center; color: var(--muted); margin: 8px 0 10px; }
.mina-lv { margin-bottom: 4px; }
.mina-grid { display: grid; gap: 3px; width: 100%; margin-bottom: 12px; touch-action: manipulation; }
.mina-c { aspect-ratio: 1; min-width: 0; border: 0; padding: 0; border-radius: 7px; background: var(--key); color: var(--text); font: 800 1rem Outfit, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mina-c.on { background: var(--surface); cursor: default; }
.mina-c.boom { background: var(--red); }
.mina-ico { display: grid; grid-template-columns: repeat(3, 15px); gap: 2px; }
.mina-ico i { height: 15px; border-radius: 4px; background: var(--surface-high); color: var(--blue); font: 800 10px/15px Outfit, sans-serif; text-align: center; font-style: normal; }
.mina-ico i.c { background: var(--key); }

/* Caminhos */
.cam { max-width: 460px; margin: 0 auto; width: 100%; }
.cam-board { display: block; width: 100%; max-width: 400px; aspect-ratio: 1; margin: 0 auto 12px; touch-action: none; user-select: none; }
.cam-cell { fill: var(--surface-high); }
.cam-ico { width: 46px; height: 46px; }

/* Fato ou Mito */
.fm-card b { font-size: 1.25rem; line-height: 1.35; font-weight: 700; }
.fm-card { padding: 28px 18px; }
.fm-verdict { text-align: center; font-weight: 800; font-size: 1.1rem; margin: 6px 0 4px; }
.fm-why { text-align: center; color: var(--muted); margin: 0 0 14px; line-height: 1.4; }
.fm-ico { display: flex; align-items: center; gap: 6px; font-size: 25px; font-weight: 800; }
.fm-ico b { color: var(--correct); }
.fm-ico i { color: var(--red); font-style: normal; }

/* Pesquisa e Top 10 */
.resp { max-width: 460px; margin: 0 auto; width: 100%; }
.resp .hint { text-align: center; color: var(--muted); margin: 0 0 8px; }
.resp-form { display: flex; gap: 8px; margin-bottom: 10px; }
.resp-form input { flex: 1; min-width: 0; box-sizing: border-box; }
.resp-end { margin-bottom: 10px; }
.resp-list { display: grid; gap: 6px; }
.resp-row { display: flex; justify-content: space-between; gap: 8px; background: var(--surface); border-radius: 14px; padding: 10px 14px; color: var(--muted); }
.resp-row b { font-weight: 600; }
.resp-row.ok { background: var(--correct); color: var(--text); }
.resp-row.miss { background: var(--surface-high); color: var(--text); }
.resp-errors { color: var(--red); font-size: .9rem; margin: 10px 0 0; text-align: center; }
.resp-note { color: var(--muted); font-size: .8rem; margin: 12px 0 0; text-align: center; }
.pq-ico, .emp-ico { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.pq-ico { align-items: flex-start; }
.pq-ico i { height: 9px; border-radius: 4px; background: var(--present); }
.emp-ico i { height: 11px; border-radius: 4px; }
.t10-ico { font-size: 30px; font-weight: 800; color: var(--blue); line-height: 1; }

/* Placas */
.pl-sign { display: block; width: 130px; height: 130px; margin: 2px auto 10px; }
.pl-q { font-size: 1.05rem; }
.pl-opts { display: grid; gap: 8px; }
.pl-opt { background: var(--surface-high); color: var(--text); border: 0; border-radius: 16px; padding: 13px 14px; font: inherit; cursor: pointer; }
.pl-ans { padding: 16px; margin-bottom: 8px; }
.pl-ans b { font-size: 1.05rem; }

/* Empilha */
.emp { max-width: 400px; margin: 0 auto; width: 100%; }
.emp-board { display: block; width: 100%; aspect-ratio: 400 / 560; background: var(--surface); border-radius: 22px; margin: 8px 0 12px; touch-action: manipulation; cursor: pointer; }
