/* Show do Solão — play.php styles */
:root{
  --bg0:#0b0f14; --bg1:#0d1117;
  --ink:#e5e7eb; --muted:#9fb0c6;
  --accent:#60a5fa; --gold:#f59e0b; --danger:#ef4444; --success:#10b981;
  --card: rgba(17,24,39,.70);
}
body{
  color:var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -20%, rgba(96,165,250,.12), transparent 60%),
    radial-gradient(1000px 500px at -10% 120%, rgba(245,158,11,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}
.stage-wrap{
  position: relative;
  padding-top: 8px;
  overflow: visible;
  contain: layout;
  transform: translateZ(0);
}
.stage-wrap,
.card-quiz,
#plat-overlay .plat-overlay__panel,
#uni-overlay .uni-overlay__panel,
#cards-overlay .cards-overlay__panel {
  overscroll-behavior: contain;
}
.stage-wrap,
.card-quiz { -webkit-overflow-scrolling: touch; }

.stage-wrap::before, .stage-wrap::after{
  content: "";
  position: absolute;
  inset: -10%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(96,165,250,.08), transparent 30%,
    rgba(245,158,11,.10) 60%, transparent 80%
  );
  filter: blur(16px) saturate(120%);
  animation: sweep 12s linear infinite;
  pointer-events: none;
  will-change: transform;
}
.stage-wrap::after{
  opacity: .7;
}
@keyframes sweep { to { transform: rotate(-360deg); } }
html, body { overflow-x: hidden; }
@media (min-width:576px){
  html,body{height:auto;min-height:100%;overflow-y:auto;overscroll-behavior-y:auto}
  body[data-game-id]{overflow-y:auto!important}
}

.brand-pin{
  position:sticky; top:8px; z-index:10; display:flex; justify-content:flex-end;
  margin-bottom:6px;
}
.card-quiz{
  background: linear-gradient(180deg, var(--card), rgba(17,24,39,.55));
  border:1px solid rgba(255,255,255,.06);
  border-radius:22px; box-shadow:0 20px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.02);
}

.quiz-flex{
  display:grid; grid-template-columns: minmax(160px, 280px) 1fr; gap:22px;
}
@media (max-width: 992px){
  .quiz-flex{ grid-template-columns: 1fr; }
}
.portrait-frame{
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  position: relative;
}
.portrait-inner{
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.portrait{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0;
  filter: none;
}

.title-bar{
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin-bottom:8px;
}
.title-left .badge{ margin-right:8px;}
.title-right .badge{ margin-left:6px;}

.question-clock{
  --clock-angle: 0deg;
  --clock-color: #60a5fa;
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  margin: 0 10px 0 0;
  vertical-align: middle;
  border-radius: 50%;
  background: rgba(15,23,42,.88);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 14px color-mix(in srgb, var(--clock-color) 35%, transparent);
  transition: color .2s ease, box-shadow .2s ease, background .2s ease;
}
.question-clock__ring{
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--clock-color) 0 7deg, transparent 7deg 24deg);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%);
  mask: radial-gradient(circle, transparent 58%, #000 60%);
  transform: rotate(var(--clock-angle));
  transform-origin: center;
}
.question-clock__hand{
  position: absolute;
  left: calc(50% - 1px);
  top: 7px;
  width: 2px;
  height: 12px;
  border-radius: 2px;
  background: var(--clock-color);
  box-shadow: 0 0 7px var(--clock-color);
  transform: rotate(var(--clock-angle));
  transform-origin: 50% 12px;
}
.question-clock::after{
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clock-color);
  transform: translate(-50%,-50%);
}
.question-clock.is-danger{
  --clock-color: #ef4444;
  background: rgba(69,10,10,.9);
  box-shadow: 0 0 0 1px rgba(239,68,68,.7), 0 0 20px rgba(239,68,68,.65);
}
.question-timer{
  display:inline-flex;align-items:baseline;justify-content:center;gap:2px;min-width:58px;height:52px;padding:7px 10px;
  border:2px solid rgba(96,165,250,.75);border-radius:14px;color:#dbeafe;background:rgba(15,23,42,.92);
  box-shadow:0 0 0 3px rgba(96,165,250,.1),0 8px 18px rgba(0,0,0,.28)
}
.question-timer strong{font-size:1.55rem;line-height:1;font-variant-numeric:tabular-nums}.question-timer small{color:#93c5fd;font-size:.72rem;font-weight:900}
.question-timer.is-danger{border-color:#ef4444;color:#fecaca;background:rgba(69,10,10,.92);box-shadow:0 0 0 3px rgba(239,68,68,.14),0 0 20px rgba(239,68,68,.3)}
.quick-help{display:inline-flex;gap:6px;margin-left:4px}
.quick-help .badge-help{display:inline-flex;align-items:center;gap:5px;min-height:42px;padding:7px 10px;border:1px solid rgba(96,165,250,.42);color:#dbeafe;background:rgba(30,64,175,.14);font-size:.78rem;font-weight:850}
.quick-help .badge-help:hover:not(:disabled){border-color:#60a5fa;background:rgba(37,99,235,.3);color:#fff;transform:translateY(-1px)}
.quick-help .badge-help:disabled{opacity:.38;filter:grayscale(1)}
.game-report-button{display:inline-grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid rgba(250,204,21,.58);border-radius:50%;color:#fef08a;background:rgba(120,53,15,.32);font-size:1rem;font-weight:950;text-decoration:none}.game-report-button:hover{color:#fff;background:rgba(180,83,9,.5)}
.life-rules-strip{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;margin:5px 0 10px;padding:8px 10px;border:1px solid rgba(248,113,113,.22);border-radius:11px;color:#cbd5e1;background:rgba(127,29,29,.1);font-size:.76rem}
.life-rules-strip strong{color:#fca5a5}.life-rules-strip span::before{content:"•";margin-right:6px;color:#f87171}
.report-link{white-space:nowrap}
.life-hearts{
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:4px 7px;
  margin-right:7px;
  border-radius:999px;
  background:rgba(15,23,42,.78);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.life-heart{
  display:inline-block;
  font-size:1.22rem;
  line-height:1;
  transition:color .25s ease,opacity .25s ease,filter .25s ease,transform .25s ease;
}
.life-heart.is-alive{
  color:#ef4444;
  filter:drop-shadow(0 0 6px rgba(239,68,68,.72));
  text-shadow:0 1px 0 #7f1d1d;
}
.life-heart.is-empty{ color:#475569; opacity:.48; filter:none; text-shadow:none; }
.life-heart.is-lost{ animation:heartLost .8s ease-in-out 2; }
.life-heart.is-restored{ animation:heartRestored 1s ease-in-out 2; }
@keyframes heartLost{
  0%,100%{ transform:scale(1); opacity:.48; }
  35%{ transform:scale(1.28) rotate(-10deg); color:#ef4444; opacity:1; }
  65%{ transform:scale(.76) rotate(9deg); }
}
@keyframes heartRestored{
  0%,100%{ transform:scale(1); }
  35%{ transform:scale(1.42); filter:drop-shadow(0 0 13px #f87171); }
  65%{ transform:scale(.9); }
}
.life-penalty-alert{ border-color:rgba(239,68,68,.6); box-shadow:0 0 20px rgba(239,68,68,.16); }
.notice-open{ overflow:hidden; }
.game-notice{
  position:fixed;
  inset:0;
  z-index:12000;
  display:grid;
  place-items:center;
  padding:14px;
  background:rgba(7,12,20,.72);
  backdrop-filter:blur(4px);
}
.game-notice.d-none{ display:none!important; }
.game-notice__card{
  position:relative;
  width:min(340px,100%);
  padding:34px 24px 24px;
  text-align:center;
  color:#3f2a1b;
  border:3px solid #d5b778;
  border-radius:22px;
  background:
    radial-gradient(circle at 14px 14px,rgba(112,78,43,.13) 0 4px,transparent 5px) 0 0/28px 28px,
    linear-gradient(155deg,#f5e6bf 0%,#dfc28c 52%,#c69b62 100%);
  box-shadow:0 0 0 4px #795334,0 18px 48px rgba(17,12,8,.62),inset 0 2px 0 #fff4d5;
  animation:noticePop .42s cubic-bezier(.2,1.5,.45,1);
}
.game-notice__card::after{
  content:"";
  position:absolute;
  inset:12px;
  pointer-events:none;
  border:2px dashed rgba(91,61,34,.32);
  border-radius:23px;
}
.game-notice__soil-objects{
  position:absolute;
  z-index:2;
  top:50%;
  left:50%;
  display:none;
  justify-content:space-between;
  width:min(370px,78vw);
  margin-top:-215px;
  transform:translateX(-50%);
  color:#d6bc7d;
  font-size:1.85rem;
  letter-spacing:.75rem;
  filter:drop-shadow(0 4px 3px rgba(45,28,14,.45));
  animation:soilObjects 1.8s ease-in-out infinite;
}
.game-notice__soil-objects span{ color:#8f6846;font-size:.65em;vertical-align:middle; }
.game-notice__icon{
  position:absolute;
  z-index:2;
  top:-31px;
  left:50%;
  display:grid;
  place-items:center;
  width:62px;
  height:62px;
  transform:translateX(-50%);
  color:#fff;
  font-size:2.35rem;
  line-height:1;
  border:4px solid #e9d49d;
  border-radius:50%;
  background:linear-gradient(145deg,#65a30d,#166534);
  box-shadow:0 8px 0 #365314,0 14px 28px rgba(20,83,45,.42);
  animation:noticeHeart 1.1s ease-in-out infinite;
}
.game-notice__eyebrow{ position:relative;z-index:2;color:#6f4a2d;font-weight:900;text-transform:uppercase;letter-spacing:.1em;font-size:.78rem; }
.game-notice__title{ position:relative;z-index:2;margin:4px 0 7px;font-weight:1000;font-size:1.35rem;color:#57351f;text-shadow:0 2px 0 #f8eccd; }
.game-notice__message{ position:relative;z-index:2;margin:0 auto 9px;max-width:34ch;font-size:.88rem;font-weight:700;line-height:1.4;color:#49311f; }
.game-notice__hearts{ position:relative;z-index:2;display:flex;justify-content:center;gap:6px;margin:7px 0 12px;font-size:1.4rem; }
.game-notice__hearts .on{ color:#ed2f69;filter:drop-shadow(0 3px 2px rgba(151,18,61,.28)); }
.game-notice__hearts .off{ color:#8f8176;opacity:.42;filter:grayscale(1); }
.game-notice__action{
  position:relative;
  z-index:2;
  min-width:190px;
  padding:9px 17px;
  border:3px solid #f2db9b;
  border-radius:999px;
  color:#6b3b00;
  font-weight:1000;
  background:linear-gradient(#e6c46f,#c68a3b);
  box-shadow:0 6px 0 #805229,0 10px 20px rgba(82,50,25,.28);
  transition:transform .15s ease,box-shadow .15s ease;
}
.game-notice__action:hover{ transform:translateY(-2px) scale(1.02);box-shadow:0 8px 0 #805229,0 13px 24px rgba(82,50,25,.32); }
.game-notice__action:active{ transform:translateY(4px);box-shadow:0 2px 0 #805229; }
.game-notice__close{
  position:absolute;
  z-index:3;
  top:14px;
  right:16px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  color:#fff;
  font-size:1.55rem;
  line-height:1;
  background:#795334;
  box-shadow:0 3px 0 #49301e;
}
.game-notice__soil-cut{ display:none; }
.soil-root{ position:absolute;top:-3px;width:2px;height:38px;background:#d0a969;transform-origin:top; }
.soil-root::after{ content:"";position:absolute;left:0;top:15px;width:17px;height:2px;background:#d0a969;transform:rotate(32deg);transform-origin:left; }
.soil-root--one{ left:25%;transform:rotate(11deg); }.soil-root--two{ right:29%;height:31px;transform:rotate(-14deg); }
.soil-pebble{ position:absolute;border-radius:50%;background:#aa8869;box-shadow:inset -3px -2px 0 rgba(61,39,24,.3); }
.soil-pebble--one{ left:10%;top:23px;width:17px;height:11px; }.soil-pebble--two{ left:52%;top:29px;width:12px;height:8px; }.soil-pebble--three{ right:9%;top:15px;width:20px;height:13px; }
@keyframes noticePop{ from{opacity:0;transform:scale(.62) rotate(-3deg)} to{opacity:1;transform:scale(1) rotate(0)} }
@keyframes noticeHeart{ 0%,100%{transform:translateX(-50%) scale(1)} 45%{transform:translateX(-50%) scale(1.1)} }
@keyframes soilObjects{ 0%,100%{transform:translateX(-50%) translateY(0) rotate(-2deg)} 50%{transform:translateX(-50%) translateY(-7px) rotate(2deg)} }
h2.enunciado{
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  display: inline-block;
  padding: .35em .7em;
  border-radius: 14px;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  color: #241a04;
  font-weight: 800;
  text-shadow: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.3) inset, 0 0 26px rgba(250,204,21,.55), 0 8px 20px rgba(0,0,0,.3);
}

.option-btn{
  text-align:left;
  display:flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:var(--ink);
  min-height:56px;border:2px solid rgba(255,255,255,.12);transition: transform .06s ease, box-shadow .2s ease,border-color .2s ease,background .2s ease;
}
.option-btn:hover{ transform: translateY(-1px);border-color:#60a5fa;box-shadow:0 8px 18px rgba(0,0,0,.25),0 0 0 3px rgba(96,165,250,.12); }
.option-btn[disabled]{ opacity:.9; }
.answer-form .option-btn.disabled:disabled{
  border-color:#64748b!important;
  background:linear-gradient(90deg,rgba(71,85,105,.72),rgba(30,41,59,.82))!important;
  color:#aeb8c7!important;
  opacity:.68!important;
  filter:grayscale(1);
  box-shadow:none!important;
  cursor:not-allowed;
}
.answer-form .option-btn.disabled:disabled .opt-text{text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:#cbd5e1}
.answer-form .option-btn.disabled:disabled .opt-letter{border-color:#94a3b8!important;background:#475569!important;color:#dbe4ef!important;text-decoration:line-through}
.option-btn.is-selected{border-color:#facc15!important;background:linear-gradient(90deg,rgba(250,204,21,.24),rgba(250,204,21,.07))!important;box-shadow:0 0 0 4px rgba(250,204,21,.2),0 8px 20px rgba(0,0,0,.3)!important;transform:scale(1.012)}
.option-btn.selected-answer .opt-letter::after{content:"Sua escolha";position:absolute;left:42px;top:-21px;padding:2px 7px;border-radius:999px;color:#111827;background:#facc15;font-size:.62rem;font-weight:950;white-space:nowrap}
.option-btn.selected-answer{position:relative;overflow:visible}
.option-btn.selected-correct,.option-btn.correct-answer.flash-correct-15,.option-btn.correct-answer.flash-correct-20{border-color:#22c55e!important;background:linear-gradient(90deg,rgba(34,197,94,.28),rgba(34,197,94,.06))!important;box-shadow:0 0 0 4px rgba(34,197,94,.18),0 0 25px rgba(34,197,94,.24)!important}
.selected-wrong{
  border-color:#ef4444!important;background:linear-gradient(90deg,rgba(239,68,68,.31),rgba(239,68,68,.07))!important;
  box-shadow:0 0 0 4px rgba(239,68,68,.2),0 0 26px rgba(239,68,68,.25)!important;
}
.opt-letter{
  position:relative;
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 999px;
  display: inline-grid; place-items: center;
  font-weight: 800;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.opt-text{ flex: 1 1 auto; }
/* Alternativas em grade 2x2 (duas em cima, duas embaixo) em vez de empilhadas. */
.answer-form,.answered-options{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem .7rem; }
.answer-form .option-btn,.answered-options .option-btn{ width:100%; margin:0!important; }
.answer-result{display:flex;align-items:center;gap:13px;margin:15px 0;padding:14px 16px;border:2px solid;border-radius:15px;box-shadow:0 10px 26px rgba(0,0,0,.25)}
.answer-result__icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:50%;color:#fff;font-size:1.8rem;font-weight:950}
.answer-result strong,.answer-result span{display:block}.answer-result strong{font-size:1.15rem;letter-spacing:.03em}.answer-result div>span{margin-top:2px;color:#dbe7f5;font-size:.84rem}
.answer-result.is-correct{border-color:#22c55e;background:rgba(20,83,45,.68)}.answer-result.is-correct .answer-result__icon{background:#16a34a;box-shadow:0 0 18px rgba(34,197,94,.55)}
.answer-result.is-wrong{border-color:#ef4444;background:rgba(127,29,29,.7)}.answer-result.is-wrong .answer-result__icon{background:#dc2626;box-shadow:0 0 18px rgba(239,68,68,.52)}
@media (max-width: 520px){
  .opt-letter{ width: 28px; height: 28px; }
}

.help-legend{ font-size:.95rem; }

.btn-double-bet{
  position:relative;
  overflow:hidden;
  min-height:42px;
  color:#351700;
  font-weight:900;
  letter-spacing:.01em;
  border:1px solid #fff1a6;
  background:linear-gradient(115deg,#d97706 0%,#fbbf24 34%,#fff0a6 58%,#f59e0b 100%);
  box-shadow:0 0 0 2px rgba(245,158,11,.18),0 7px 22px rgba(245,158,11,.38),inset 0 1px 0 rgba(255,255,255,.78);
  animation:doubleBetPulse 1.65s ease-in-out infinite;
}
.btn-double-bet::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.65) 45%,transparent 68%);
  transform:translateX(-130%);
  animation:doubleBetShine 2.5s ease-in-out infinite;
}
.btn-double-bet:hover:not(:disabled){ color:#210d00; transform:translateY(-1px); box-shadow:0 0 0 3px rgba(251,191,36,.25),0 10px 30px rgba(245,158,11,.55); }
.btn-double-bet:disabled{ color:#5b2c00; opacity:.62; filter:saturate(.65); }
.btn-double-bet.is-active:disabled{ opacity:1; filter:none; }
.btn-skip,.btn-stop{
  position:relative;
  overflow:hidden;
  min-height:42px;
  font-weight:900;
  letter-spacing:.01em;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.btn-skip{color:#351700;border:1px solid #fff1a6;background:linear-gradient(115deg,#d97706 0%,#fbbf24 38%,#fff0a6 60%,#f59e0b 100%);box-shadow:0 0 0 2px rgba(245,158,11,.15),0 7px 20px rgba(245,158,11,.32),inset 0 1px 0 rgba(255,255,255,.76)}
.btn-stop{color:#fff7ed;border:1px solid #fecaca;background:linear-gradient(115deg,#7f1d1d 0%,#dc2626 38%,#fb7185 60%,#991b1b 100%);box-shadow:0 0 0 2px rgba(239,68,68,.14),0 7px 20px rgba(220,38,38,.3),inset 0 1px 0 rgba(255,255,255,.5)}
.btn-skip::after,.btn-stop::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.62) 45%,transparent 68%);transform:translateX(-130%);animation:doubleBetShine 2.8s ease-in-out infinite}
.btn-skip:hover:not(:disabled),.btn-stop:hover:not(:disabled){transform:translateY(-1px);filter:saturate(1.08) brightness(1.04)}
.btn-skip:hover:not(:disabled){color:#210d00;box-shadow:0 0 0 3px rgba(251,191,36,.23),0 10px 28px rgba(245,158,11,.5)}
.btn-stop:hover:not(:disabled){color:#fff;box-shadow:0 0 0 3px rgba(248,113,113,.22),0 10px 28px rgba(220,38,38,.48)}
.btn-skip:disabled,.btn-stop:disabled{opacity:.48;filter:grayscale(.35);box-shadow:none}
.double-bet-alert{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  padding:11px 13px;
  color:#fff8d7;
  background:linear-gradient(110deg,rgba(120,53,15,.92),rgba(180,83,9,.78));
  border:1px solid rgba(253,230,138,.72);
  border-radius:13px;
  box-shadow:0 0 22px rgba(245,158,11,.24),inset 0 1px 0 rgba(255,255,255,.14);
}
.double-bet-alert > span{ color:#fde68a; font-size:1.45rem; text-shadow:0 0 12px #fbbf24; }
@keyframes doubleBetPulse{ 50%{ box-shadow:0 0 0 3px rgba(245,158,11,.28),0 10px 30px rgba(245,158,11,.55),inset 0 1px 0 #fff; } }
@keyframes doubleBetShine{ 0%,35%{ transform:translateX(-130%); } 72%,100%{ transform:translateX(130%); } }

.ladder{
  position:relative;
  isolation:isolate;
  padding:18px;
  overflow:hidden;
  background:
    radial-gradient(circle at 95% 0, rgba(251,191,36,.22), transparent 36%),
    radial-gradient(circle at 0 100%, rgba(249,115,22,.12), transparent 38%),
    linear-gradient(160deg, rgba(30,41,59,.96), rgba(8,14,27,.96));
  border-color:rgba(251,191,36,.28);
}
.ladder::before{
  content:"";
  position:absolute;
  inset:-80% -35%;
  z-index:-1;
  pointer-events:none;
  opacity:.65;
  background:conic-gradient(from 20deg, transparent 0 38%, rgba(255,255,255,.06) 43%, transparent 48% 100%);
  animation:ladderGlow 10s linear infinite;
}
.ladder__header{ display:flex; align-items:center; gap:12px; position:relative; }
.ladder__trophy{
  flex:0 0 46px;
  width:46px; height:46px;
  display:grid; place-items:center;
  border-radius:50%;
  color:#422006;
  font-size:1.35rem;
  background:linear-gradient(145deg,#fff7ae 0%,#fbbf24 45%,#d97706 100%);
  border:2px solid rgba(255,255,255,.62);
  box-shadow:0 0 22px rgba(251,191,36,.46), inset 0 2px 4px rgba(255,255,255,.7);
}
.ladder__eyebrow{
  color:#fcd34d;
  font-size:.67rem;
  font-weight:800;
  letter-spacing:.14em;
  line-height:1.1;
  text-transform:uppercase;
}
.ladder__title{ margin:2px 0 0; color:#fff; font-size:1.08rem; font-weight:900; }
.ladder__hint{ margin:10px 0 12px; color:#cbd5e1; font-size:.78rem; }
.ladder .steps-wrap{ position:relative; }
.ladder .step{
  position:relative;
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:5px 9px 5px 7px;
  margin-bottom:6px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:linear-gradient(100deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
  color:#dbe4f0;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ladder .step__marker{
  width:28px; height:28px;
  display:grid; place-items:center;
  border-radius:50%;
  color:#94a3b8;
  background:rgba(15,23,42,.8);
  border:1px solid rgba(255,255,255,.12);
  font-size:.72rem;
  font-weight:900;
}
.ladder .step__question{ overflow:hidden; color:#cbd5e1; font-size:.76rem; white-space:nowrap; text-overflow:ellipsis; }
.ladder .step__value{ color:#f8fafc; font-size:.88rem; white-space:nowrap; }
.ladder .step__value small{ color:#94a3b8; font-size:.62em; font-weight:700; }
.ladder .step.completed{ border-color:rgba(16,185,129,.18); background:linear-gradient(100deg,rgba(16,185,129,.12),rgba(255,255,255,.02)); }
.ladder .step.completed .step__marker{ color:#d1fae5; background:#047857; border-color:#34d399; }
.ladder .step.upcoming{ opacity:.74; }
.ladder .step.milestone:not(.active){ border-color:rgba(251,191,36,.22); }
.ladder .step.active{
  z-index:1;
  min-height:48px;
  transform:scale(1.025);
  color:#2b1600;
  background:
    radial-gradient(circle at 85% 0,rgba(255,255,255,.72),transparent 32%),
    linear-gradient(110deg,#d97706 0%,#fbbf24 38%,#fde68a 66%,#f59e0b 100%);
  border-color:#fff4b8;
  box-shadow:0 0 0 2px rgba(251,191,36,.32),0 8px 26px rgba(245,158,11,.44),inset 0 1px 0 rgba(255,255,255,.8);
  animation:activeStepGlow 1.8s ease-in-out infinite;
}
.ladder .step.active::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 18%,rgba(255,255,255,.48) 42%,transparent 62%);
  transform:translateX(-120%);
  animation:stepShine 2.6s ease-in-out infinite;
}
.ladder .step.active .step__marker{ color:#6b3600; background:#fff8cf; border-color:#fff; box-shadow:0 0 14px rgba(255,255,255,.8); }
.ladder .step.active .step__question,.ladder .step.active .step__value,.ladder .step.active .step__value small{ color:#351b00; font-weight:900; }
@keyframes ladderGlow{ to{ transform:rotate(-360deg); } }
@keyframes activeStepGlow{ 50%{ box-shadow:0 0 0 3px rgba(251,191,36,.42),0 10px 34px rgba(245,158,11,.62),inset 0 1px 0 #fff; } }
@keyframes stepShine{ 0%,35%{ transform:translateX(-120%); } 70%,100%{ transform:translateX(120%); } }

.cards-overlay__panel,
.uni-overlay__panel,
.plat-overlay__panel{
  background: linear-gradient(180deg, rgba(2,6,23,.92), rgba(2,6,23,.88));
  border:1px solid rgba(255,255,255,.08); border-radius:18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
}
.cards-overlay__backdrop,
.uni-overlay__backdrop,
.plat-overlay__backdrop{
  background: rgba(2,6,23,.7);
}

.plat-grid{ display:grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap:8px; }
@media (max-width: 768px){ .plat-grid{ grid-template-columns: repeat(5, minmax(0,1fr)); } }
@media (max-width: 520px){ .plat-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); } }

.badge-help{ border-radius:999px; }

.prize-banner{
  margin: 8px 0 14px 0;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:12px 16px;
  background:
    radial-gradient(400px 120px at 10% 10%, rgba(96,165,250,.15), transparent 60%),
    radial-gradient(400px 120px at 90% 90%, rgba(245,158,11,.12), transparent 60%),
    linear-gradient(180deg, rgba(17,24,39,.75), rgba(17,24,39,.55));
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.03);
}
.prize-left{ display:flex; flex-direction:column; }
.prize-label{
  font-size:.95rem; color:#cbd5e1; letter-spacing:.3px;
  text-shadow: 0 0 14px rgba(96,165,250,.25);
}
.prize-amount{
  font-weight:800; line-height:1; letter-spacing:.5px;
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  color:#ffffff;
  text-shadow: 0 0 18px rgba(96,165,250,.45), 0 0 34px rgba(245,158,11,.35);
  animation: prizePulse 1.9s ease-in-out infinite;
}
.prize-amount .prize-unit{
  font-weight:700; font-size:.6em; opacity:.9; margin-left:.25em;
}
.prize-right{
  text-align:right; min-width: 180px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px; padding:8px 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.prize-total-label{ font-size:.85rem; color:#a7b6cb; }
.prize-total{
  font-weight:800; font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color:#fef08a; text-shadow: 0 0 14px rgba(245,158,11,.35);
}
@keyframes prizePulse {
  0%, 100% { transform: scale(1);   filter: drop-shadow(0 0 0 rgba(245,158,11,0)); }
  50%      { transform: scale(1.03); filter: drop-shadow(0 0 12px rgba(245,158,11,.35)); }
}
@media (max-width: 520px){
  .prize-banner{ flex-direction:column; align-items:stretch; }
  .prize-right{ text-align:left; }
}

.uni-students{
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px;
  align-items: stretch;
}
.uni-student{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 140px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}
.uni-avatar{
  width: 156px; height: 156px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 14px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.06);
  margin-bottom: 8px;
  background: rgba(255,255,255,.02);
}
.uni-avatar img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 520px){
  .uni-avatar{ width: 50px; height: 50px; }
}
.uni-think, .uni-speech{
  min-height: 22px;
  line-height: 1.1;
  text-align: center;
}
.uni-speech.d-none{ display: none !important; }
.uni-student.is-correct .uni-avatar,
.uni-student.is-wrong .uni-avatar,
.uni-student.is-neutral .uni-avatar{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.uni-letter{
  display: inline-grid; place-items: center;
  min-width: 28px; height: 28px; padding: 0 8px;
  font-weight: 800; border-radius: 999px;
  background: var(--gold); color: #0b0f14;
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.uni-student.is-correct .uni-letter,
.uni-student.is-wrong  .uni-letter,
.uni-student.is-neutral .uni-letter{
  background: var(--gold) !important; color: #0b0f14 !important;
  border-color: rgba(255,255,255,.15) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.25) !important;
}
@media (max-width: 520px){
  .uni-students{ grid-template-columns: repeat(3, minmax(90px, 1fr)); gap: 10px; }
  .uni-student{ min-height: 126px; padding: 10px; }
  .uni-avatar{ width: 50px; height: 50px; }
}

#plat-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.plat-card{
  position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-image: var(--plateia-url, url('plateia.png'));
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  height: 74px;
  padding: 6px 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 4px 12px rgba(0,0,0,.22);
}
.plat-card::after{
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.18));
}
.plat-card > *{ position: relative; z-index: 1; }
.plat-thinking{
  font-style: italic; opacity: .95;
  font-size: .95rem; line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.plat-answer{
  font-weight: 800; font-size: 1.6rem; line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 2px 4px rgba(0,0,0,.45);
}
.plat-legend{ display:flex; gap:6px; margin-top:8px; }
.plat-dot{
  width:22px; height:22px;
  display:inline-grid; place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.12);
  font-size:.9rem; font-weight:800;
}
@media (min-width: 768px){ #plat-grid{ gap: 10px; } .plat-card{ height: 78px; } }
@media (min-width: 1200px){ .plat-card{ height: 84px; } }

#ladder .steps-wrap { display: block; }
#ladder.ladder--two-cols .steps-wrap { column-count: 2; column-gap: .75rem; }
#ladder.ladder--two-cols .step { break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: .5rem; }
#ladder.ladder--paged .steps-wrap { column-count: 1; }
#ladderPager.d-none { display: none !important; }
@supports not (column-count: 2) {
  #ladder.ladder--two-cols .steps-wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .75rem;
  }
}

.lights-fixed{
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden; contain: paint;
}
.lights-fixed::before, .lights-fixed::after{
  content: "";
  position: absolute; inset: -10%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(96,165,250,.08), transparent 30%,
    rgba(245,158,11,.10) 60%, transparent 80%
  );
  filter: blur(16px) saturate(120%);
  animation: sweep 12s linear infinite;
  will-change: transform;
}
.lights-fixed::after{ opacity: .7; }

:root{ --ui-zoom: 1; }
#zoomRoot{
  transform: scale(var(--ui-zoom));
  transform-origin: top center;
  display: inline-block;
}
.zoom-viewport{
  display: grid;
  place-items: start center;
  width: 100%;
}
html, body{ overscroll-behavior-x: none; overflow-x: hidden; }

.zoom-group{
  display:flex; gap:6px; padding:6px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
  backdrop-filter: blur(4px);
}
.zoom-group .zoom-btn{ min-width: 52px; font-weight:700; padding:.25rem .5rem; }
.zoom-group .zoom-btn[aria-pressed="true"],
.zoom-group .zoom-btn.active{ box-shadow: 0 0 0 2px rgba(255,255,255,.25) inset; }

/* Responsividade da tela de jogo */
@media (max-width: 991.98px){
  html{height:auto!important;min-height:100%;overflow-y:auto!important;overscroll-behavior-y:auto;touch-action:pan-y;}
  body{height:auto!important;min-height:100vh;overflow-y:visible!important;overscroll-behavior-y:auto;touch-action:pan-y;}
  main.container{ max-width:100%; }
  .zoom-viewport{display:block;overflow:visible;}
  .stage-wrap,#zoomRoot{ display:block; width:100%; max-width:100%; overflow:visible;contain:layout;transform:none; }
  .brand-pin{ position:relative; top:0; }
  .quiz-flex{ grid-template-columns:1fr; gap:12px; }
  .portrait-frame{ max-width:170px; aspect-ratio:4 / 3; }
  .portrait{ object-position:center 24%; }
  .title-left{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
  .quick-help{flex:1 0 100%;margin:2px 0 0}
  .quick-help .badge-help{flex:1 1 0;justify-content:center;min-width:0}
  #ladder{ margin-top:2px; }
  #ladder .steps-wrap{
    display:flex;
    gap:9px;
    margin:0 -4px;
    padding:4px 4px 12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:thin;
    scrollbar-color:#d99a16 rgba(255,255,255,.06);
  }
  #ladder .step{
    flex:0 0 clamp(158px,34vw,205px);
    grid-template-columns:30px minmax(0,1fr);
    scroll-snap-align:center;
    margin:0;
  }
  #ladder .step__value{ grid-column:2; }
  #ladder .step.active{ transform:none; }
  #ladderPager{ display:none!important; }
}

@media (max-width: 575.98px){
  main.container{ --bs-gutter-x:1rem; margin-top:.75rem!important; margin-bottom:1.5rem!important; }
  .stage-wrap{ width:100%; padding-top:2px; }
  .brand-pin{ display:none; }
  .zoom-group{ display:none; }
  .zoom-group .zoom-btn{ flex:1 1 0; min-width:0; min-height:38px; }
  .row.g-4{ --bs-gutter-y:.85rem; }
  .card-quiz{ border-radius:17px; }
  .col-lg-8 > .card-quiz{ padding:14px!important; }
  .quiz-flex>div:first-child{display:none}
  .portrait-frame{ display:none; }
  .title-bar{ align-items:flex-start; gap:8px; }
  .title-left,.title-right{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; width:100%; }
  .title-left .badge,.title-right .badge{ margin:0; }
  .question-timer{min-width:64px;height:52px;padding:6px 9px}.question-timer strong{font-size:1.65rem}
  .life-hearts{ margin-right:0; padding:4px 6px; }
  .life-heart{ font-size:1.12rem; }
  .game-notice{ padding:12px;align-items:end; }
  .game-notice__card{ margin-bottom:12px;padding:30px 18px 18px;border-width:3px;border-radius:19px; }
  .game-notice__icon{ width:56px;height:56px;top:-28px;font-size:2.1rem; }
  .game-notice__action{ width:100%;min-width:0; }
  .prize-banner{ margin:8px 0 12px; padding:11px 12px; gap:8px; }
  .prize-right{ min-width:0; padding:7px 10px; }
  h2.enunciado{ font-size:1.04rem; line-height:1.4; }
  .option-btn{ min-height:58px; margin-block:.45rem!important; padding:.62rem .68rem; line-height:1.3; }
  .answer-result{padding:12px;gap:10px}.answer-result__icon{flex-basis:40px;width:40px;height:40px;font-size:1.5rem}.answer-result strong{font-size:1rem}
  .life-rules-strip{gap:5px 8px;font-size:.7rem}.life-rules-strip strong{flex-basis:100%}
  .help-legend{ font-size:.84rem; }
  #help-form{ display:flex!important; }
  #help-form .badge-help{ flex:1 1 0; min-height:46px;padding:6px 4px;flex-direction:column;gap:1px;font-size:.69rem; }
  .game-actions > form:not(#help-form){ flex:1 1 calc(50% - 8px); margin-left:0!important; }
  .game-actions > form:not(#help-form) .btn{ width:100%; min-height:44px; }
  .game-actions .double-bet-form{ flex-basis:100%; }
  .ladder{ padding:14px; }
  .ladder__header{ gap:10px; }
  .ladder__trophy{ flex-basis:40px; width:40px; height:40px; }
  .ladder__hint{ margin-bottom:9px; }
  #ladder .step{ flex-basis:156px; }
  .cards-grid{ gap:6px!important; }
  .cards-overlay__panel,.uni-overlay__panel,.plat-overlay__panel{ width:calc(100vw - 16px)!important; max-width:none!important; padding:14px!important; }
  .uni-students{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  .uni-student{ min-width:0; padding:7px; }
}

@media (max-width: 380px){
  .title-left .badge,.title-right .badge{ font-size:.68rem; }
  .prize-amount{ font-size:1.45rem; }
  .opt-letter{ flex-basis:27px; width:27px; height:27px; }
  .option-btn.selected-answer .opt-letter::after{left:33px}
}

@media (prefers-reduced-motion: reduce){
  .ladder::before,.ladder .step.active,.ladder .step.active::after,.btn-double-bet,.btn-double-bet::after,.life-heart,.game-notice__card,.game-notice__icon,.game-notice__soil-objects{ animation:none; }
  .stage-wrap::before,.stage-wrap::after,.lights-fixed::before,.lights-fixed::after{ animation:none; }
  .prize-amount{ animation:none; }
}

/* Regras acessíveis por popup, sem ocupar o cabeçalho do jogo. */
.life-rules-strip{display:none!important}
.game-info-button{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;padding:0;border:2px solid #facc15;border-radius:50%;background:rgba(250,204,21,.13);color:#fde68a;font-weight:950;font-size:1rem;line-height:1;box-shadow:0 0 14px rgba(250,204,21,.2)}
.game-info-button:hover,.game-info-button:focus-visible{background:#facc15;color:#422006;outline:3px solid rgba(250,204,21,.25);outline-offset:2px}
.ladder-toggle{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;padding:0;border:2px solid #f59e0b;border-radius:50%;background:rgba(245,158,11,.13);color:#fde68a;font-weight:950;line-height:1;box-shadow:0 0 14px rgba(245,158,11,.2)}
.ladder-toggle:hover,.ladder-toggle:focus-visible{background:#f59e0b;color:#422006;outline:3px solid rgba(245,158,11,.25);outline-offset:2px}
.ladder-popup-close{display:none;margin-left:auto;width:34px;height:34px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.1);color:#fff;font-size:1.3rem;line-height:1}
.game-info-popup{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:16px}
.game-info-popup__backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(2,6,23,.84);backdrop-filter:blur(5px)}
.game-info-popup__card{position:relative;width:min(430px,100%);max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:2px solid rgba(250,204,21,.65);border-radius:20px;background:linear-gradient(155deg,#172554,#0f172a 70%);color:#e5edf8;box-shadow:0 24px 70px rgba(0,0,0,.65)}
.game-info-popup__card h2{margin:8px 0 10px;color:#fde68a;font-size:1.35rem}.game-info-popup__card p,.game-info-popup__card li{font-size:.9rem;line-height:1.45}.game-info-popup__card ul{margin:0 0 18px;padding-left:20px}.game-info-popup__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#facc15;color:#422006;font-size:1.4rem;font-weight:950}.game-info-popup__close{position:absolute;top:9px;right:10px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:1.35rem;line-height:1}

/* Mobile: o jogo inteiro cabe em uma única tela, sem página rolável. */
@media (max-width:575.98px){
  html:has(body[data-game-id]){height:100%;overflow:hidden!important}
  body[data-game-id]{height:100dvh!important;min-height:0!important;overflow:hidden!important}
  body[data-game-id]>nav,
  body[data-game-id]>footer,
  body[data-game-id] .lights-fixed,
  body[data-game-id] .brand-pin,
  body[data-game-id] .zoom-group,
  body[data-game-id] #ladderPager,
  body[data-game-id] #zoomRoot>.row>.col-lg-4,
  body[data-game-id] .prize-banner,
  body[data-game-id] .report-link,
  body[data-game-id] .help-result-inline{display:none!important}

  body[data-game-id]>main.container{width:100%!important;max-width:none!important;height:100dvh;margin:0!important;padding:0!important}
  body[data-game-id] .zoom-viewport,
  body[data-game-id] #zoomRoot,
  body[data-game-id] #zoomRoot>.row,
  body[data-game-id] #zoomRoot>.row>.col-lg-8,
  body[data-game-id] .quiz-flex,
  body[data-game-id] .quiz-flex>div:last-child{width:100%;height:100%;min-height:0;margin:0!important;padding:0!important;overflow:hidden}
  body[data-game-id] #zoomRoot{max-width:none;transform:none!important;contain:layout}
  body[data-game-id] #zoomRoot>.row{display:block}
  body[data-game-id] #zoomRoot .card-quiz{height:100%;min-height:0;border:0;border-radius:0;padding:clamp(6px,1.5vh,11px)!important;overflow:hidden}
  body[data-game-id] .quiz-flex{display:block}
  body[data-game-id] .quiz-flex>div:last-child{display:flex;flex-direction:column}

  body[data-game-id] .title-bar{flex:0 0 auto;align-items:center;gap:4px;margin:0 0 clamp(4px,.8vh,7px)!important;padding:0}
  body[data-game-id] .title-left{display:flex;flex-wrap:nowrap;align-items:center;width:100%;gap:5px}
  body[data-game-id] .title-right{display:none}
  body[data-game-id] .title-left>.badge.bg-info{display:none}
  body[data-game-id] .title-left>.badge{margin:0;padding:4px 6px;font-size:clamp(.65rem,2.6vw,.78rem);white-space:nowrap}
  body[data-game-id] .game-info-button{order:5;width:30px;height:30px;flex-basis:30px;margin-left:auto}
  body[data-game-id] .ladder-toggle{order:4;width:30px;height:30px;flex-basis:30px;margin-left:auto}
  body[data-game-id] .ladder-toggle+.game-info-button{margin-left:0}
  body[data-game-id] .question-timer{width:clamp(43px,12vw,50px);height:clamp(43px,12vw,50px);min-width:clamp(43px,12vw,50px);padding:3px 5px}
  body[data-game-id] .question-timer strong{font-size:clamp(1.2rem,5vw,1.5rem)}
  body[data-game-id] .life-hearts{margin:0;padding:3px 5px;white-space:nowrap}
  body[data-game-id] .life-heart{font-size:clamp(.92rem,4vw,1.08rem)}
  body[data-game-id] #help-form{flex:1 1 auto;min-width:0;margin:0!important;gap:3px}
  body[data-game-id] #help-form .badge-help{height:clamp(38px,11vw,46px);min-height:0;min-width:0;padding:2px;gap:0;font-size:clamp(.56rem,2.2vw,.67rem);line-height:1}
  body[data-game-id] #help-form .badge-help>span:first-child{font-size:clamp(.9rem,3.5vw,1.1rem)}

  body[data-game-id] h2.enunciado{flex:0 0 auto;max-height:3.6em;margin:0 0 clamp(4px,.8vh,7px)!important;overflow:hidden;font-size:clamp(.88rem,3.7vw,1.08rem)!important;line-height:1.18}
  body[data-game-id] .answer-form,
  body[data-game-id] .answered-options{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(4px,.75vh,6px) clamp(4px,1.5vw,8px);margin:0 0 clamp(4px,.75vh,6px)!important;overflow:hidden}
  body[data-game-id] .answer-form .option-btn,
  body[data-game-id] .answered-options .option-btn{width:100%;height:100%;min-height:0;margin:0!important;padding:4px 6px;overflow:hidden;font-size:clamp(.62rem,2.5vw,.78rem);line-height:1.08}
  body[data-game-id] .answer-form .opt-letter,
  body[data-game-id] .answered-options .opt-letter{width:clamp(20px,5.5vw,25px);height:clamp(20px,5.5vw,25px);flex-basis:clamp(20px,5.5vw,25px);font-size:clamp(.62rem,2.3vw,.75rem)}

  body[data-game-id] .game-actions{flex:0 0 auto;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px!important;margin:0!important}
  body[data-game-id] .game-actions form{width:100%;min-width:0;margin:0!important}
  body[data-game-id] .game-actions .btn{width:100%;min-width:0;min-height:32px;margin:0!important;padding:3px;overflow:hidden;font-size:clamp(.59rem,2.45vw,.74rem);line-height:1.05;white-space:normal}

  body[data-game-id] .answer-result{position:fixed;z-index:10020;left:10px;right:10px;top:50%;transform:translateY(-50%);margin:0!important;padding:12px;box-shadow:0 20px 60px rgba(0,0,0,.72);animation:mobileResultOut .3s ease 1.65s forwards}
  body[data-game-id] .answer-result__icon{flex:0 0 40px;width:40px;height:40px;font-size:1.45rem}
  body[data-game-id] .answer-result strong{font-size:1rem}
  body[data-game-id] .answer-result div>span{font-size:.76rem}
  body[data-game-id] .double-bet-alert,
  body[data-game-id] .double-bet-result{position:fixed;z-index:10015;left:12px;right:12px;top:50%;transform:translateY(-50%);margin:0!important;padding:12px;font-size:.8rem;box-shadow:0 20px 60px rgba(0,0,0,.7)}
  body[data-game-id] .double-bet-alert,
  body[data-game-id] .double-bet-result{animation:mobileInfoOut .3s ease 2.15s forwards}
  body[data-game-id] .stopped-panel,
  body[data-game-id] #final-panel{position:fixed;z-index:10030;left:12px;right:12px;top:50%;max-height:calc(100dvh - 24px);margin:0!important;padding:14px;overflow:auto;transform:translateY(-50%);border:2px solid rgba(250,204,21,.62);border-radius:18px;background:linear-gradient(155deg,#172554,#0f172a 72%);box-shadow:0 24px 70px rgba(0,0,0,.75)}
  body[data-game-id] .stopped-panel .alert,
  body[data-game-id] #final-panel .alert{margin-bottom:10px}
  body[data-game-id] .stopped-panel .btn,
  body[data-game-id] #final-panel .btn{width:100%;margin:4px 0!important}
  body[data-game-id] .game-info-popup__card{max-height:calc(100dvh - 20px);padding:20px}
  body[data-game-id] .game-info-popup__card h2{max-height:none;margin:7px 0 8px!important;font-size:1.2rem!important}
  body[data-game-id] .game-info-popup__card p,
  body[data-game-id] .game-info-popup__card li{font-size:.78rem;line-height:1.3}
  @keyframes mobileResultOut{to{opacity:0;visibility:hidden;transform:translateY(-54%) scale(.96)}}
  @keyframes mobileInfoOut{to{opacity:0;visibility:hidden;transform:translateY(-54%) scale(.96)}}
}

@media (max-width:575.98px){
  body[data-game-id].mobile-ladder-open #zoomRoot>.row>.col-lg-4{
    position:fixed;
    inset:0;
    z-index:10060;
    display:block!important;
    width:100%;
    height:100dvh;
    margin:0!important;
    padding:6px!important;
    overflow:hidden;
    background:rgba(2,6,23,.9);
    backdrop-filter:blur(6px);
  }
  body[data-game-id].mobile-ladder-open #ladder{height:100%;margin:0;padding:10px;border-radius:14px;overflow:hidden}
  body[data-game-id].mobile-ladder-open .ladder-popup-close{display:block}
  body[data-game-id].mobile-ladder-open .ladder__header{gap:7px}
  body[data-game-id].mobile-ladder-open .ladder__trophy{width:36px;height:36px;flex-basis:36px}
  body[data-game-id].mobile-ladder-open .ladder__title{font-size:.94rem}
  body[data-game-id].mobile-ladder-open .ladder__eyebrow{font-size:.58rem}
  body[data-game-id].mobile-ladder-open .ladder__hint{margin:5px 0;font-size:.66rem}
  body[data-game-id].mobile-ladder-open #ladder .steps-wrap{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:4px;
    height:calc(100% - 79px);
    margin:0;
    padding:0;
    overflow:hidden;
  }
  body[data-game-id].mobile-ladder-open #ladder .step{
    display:grid;
    grid-template-columns:22px minmax(0,1fr)!important;
    align-content:center;
    min-width:0;
    min-height:0;
    margin:0;
    padding:3px 4px;
    gap:1px 3px;
    transform:none;
  }
  body[data-game-id].mobile-ladder-open #ladder .step__marker{width:20px;height:20px;font-size:.61rem}
  body[data-game-id].mobile-ladder-open #ladder .step__question{font-size:.58rem}
  body[data-game-id].mobile-ladder-open #ladder .step__value{grid-column:2;overflow:hidden;font-size:clamp(.57rem,2.3vw,.7rem);text-overflow:ellipsis}
  body[data-game-id].mobile-ladder-open #ladder .step__value small{display:none}
}

@media (max-width:575.98px) and (max-height:650px){
  body[data-game-id] #zoomRoot .card-quiz{padding:5px!important}
  body[data-game-id] .question-timer,
  body[data-game-id] #help-form .badge-help{height:36px;min-height:36px}
  body[data-game-id] .question-timer{width:36px;min-width:36px}
  body[data-game-id] .game-info-button{width:27px;height:27px;flex-basis:27px}
  body[data-game-id] h2.enunciado{max-height:2.4em;margin-bottom:4px!important}
  body[data-game-id] .game-actions .btn{min-height:28px}
}

/* Ajuste fino do palco mobile: respostas mais compactas e Solano sempre presente. */
@media (max-width:575.98px){
  body[data-game-id] #zoomRoot .card-quiz{position:relative}
  body[data-game-id] .quiz-flex>div:first-child{
    position:absolute;
    z-index:6;
    top:clamp(44px,8vh,58px);
    right:6px;
    display:block!important;
    width:clamp(50px,14vw,64px);
    height:clamp(54px,15vw,70px);
    overflow:visible;
    pointer-events:none;
  }
  body[data-game-id] .portrait-frame{
    display:block!important;
    width:100%;
    height:100%;
    min-height:0;
    aspect-ratio:auto;
    border:2px solid rgba(250,204,21,.72);
    border-radius:12px;
    background:rgba(15,23,42,.92);
    box-shadow:0 5px 18px rgba(0,0,0,.48),0 0 12px rgba(250,204,21,.2);
  }
  body[data-game-id] .portrait-inner{width:100%;height:100%;border-radius:10px;overflow:hidden}
  body[data-game-id] .portrait{display:block;width:100%;height:100%;object-fit:cover;object-position:center 18%}
  body[data-game-id] h2.enunciado{
    min-height:clamp(54px,15vw,70px);
    max-height:4.8em;
    padding:4px clamp(60px,17vw,74px) 4px 0;
    font-size:clamp(1rem,4.15vw,1.2rem)!important;
    line-height:1.18;
  }
  body[data-game-id] .answer-form,
  body[data-game-id] .answered-options{
    flex:0 0 auto;
    grid-template-rows:repeat(2,clamp(104px,21vh,140px));
  }
  body[data-game-id] .answer-form .option-btn,
  body[data-game-id] .answered-options .option-btn{
    font-size:clamp(.78rem,3.1vw,.92rem);
    line-height:1.16;
    padding:6px 8px;
  }
  body[data-game-id] .answer-form .opt-letter,
  body[data-game-id] .answered-options .opt-letter{
    font-size:clamp(.72rem,2.8vw,.85rem);
  }
}

@media (max-width:575.98px) and (max-height:650px){
  body[data-game-id] .quiz-flex>div:first-child{top:41px;width:48px;height:52px}
  body[data-game-id] h2.enunciado{min-height:52px;max-height:3.7em;padding-right:57px;font-size:clamp(.94rem,3.9vw,1.08rem)!important}
  body[data-game-id] .answer-form,
  body[data-game-id] .answered-options{grid-template-rows:repeat(2,clamp(96px,19.2vh,120px))}
  body[data-game-id] .answer-form .option-btn,
  body[data-game-id] .answered-options .option-btn{font-size:clamp(.74rem,2.9vw,.86rem)}
}

/* Plateia mobile: as 30 plaquinhas aparecem juntas, sem rolagem. */
@media (max-width:575.98px){
  body[data-game-id] .plat-overlay__panel{
    position:absolute;
    inset:6px;
    width:auto!important;
    height:auto;
    max-height:none;
    margin:0;
    padding:0!important;
    overflow:hidden;
    border-radius:14px;
  }
  body[data-game-id] .plat-overlay__header{flex:0 0 auto;padding:7px 9px}
  body[data-game-id] .plat-overlay__title{font-size:.92rem}
  body[data-game-id] .plat-overlay__close{width:30px;height:30px;padding:2px}
  body[data-game-id] .plat-overlay__content{flex:1 1 auto;min-height:0;padding:6px 8px;overflow:hidden}
  body[data-game-id] .plat-overlay__hint{margin:0 0 5px;font-size:clamp(.62rem,2.55vw,.74rem)!important;line-height:1.12}
  body[data-game-id] #plat-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
    grid-template-rows:repeat(5,minmax(0,1fr));
    height:clamp(230px,48vh,330px);
    gap:3px;
  }
  body[data-game-id] .plat-card{width:100%;height:100%;min-height:0;padding:2px;border-radius:7px}
  body[data-game-id] .plat-thinking{font-size:.68rem}
  body[data-game-id] .plat-answer{font-size:clamp(.95rem,4vw,1.25rem)}
  body[data-game-id] .plat-legend{gap:4px;margin-top:4px}
  body[data-game-id] .plat-dot{width:19px;height:19px;font-size:.7rem}
  body[data-game-id] .plat-summary{margin-top:4px!important;padding:4px!important;font-size:.68rem;line-height:1.1}
  body[data-game-id] .plat-overlay__footer{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px 8px}
  body[data-game-id] .plat-overlay__footer .btn{width:100%;min-width:0;margin:0!important;padding:5px 3px;font-size:.72rem}
}

@media (max-width:575.98px) and (max-height:650px){
  body[data-game-id] .plat-overlay__header{padding:5px 8px}
  body[data-game-id] .plat-overlay__content{padding:4px 7px}
  body[data-game-id] #plat-grid{height:225px}
  body[data-game-id] .plat-overlay__footer{padding:5px 7px}
}

/* Composição final do palco mobile. */
@media (max-width:575.98px){
  body[data-game-id] .life-heart{font-size:clamp(1.12rem,4.7vw,1.32rem)}
  body[data-game-id] .quiz-flex>div:first-child{
    top:clamp(44px,8vh,58px);
    width:clamp(100px,28vw,128px);
    height:clamp(108px,30vw,140px);
  }
  body[data-game-id] h2.enunciado{
    min-height:clamp(108px,30vw,140px);
    max-height:none;
    padding-right:clamp(110px,31vw,140px);
  }
  body[data-game-id] #help-form.mobile-help-row{
    flex:0 0 auto;
    display:flex!important;
    width:100%;
    margin:5px 0 0!important;
    gap:5px;
  }
  body[data-game-id] #help-form.mobile-help-row .badge-help{
    flex:1 1 0;
    height:40px;
    min-height:40px;
    border-radius:11px;
    flex-direction:row;
    gap:4px;
    font-size:clamp(.65rem,2.65vw,.78rem);
  }
  body[data-game-id] #help-form.mobile-help-row .badge-help>span:first-child{font-size:1rem}
  body[data-game-id] .game-actions .btn{border-radius:11px}
}

@media (max-width:575.98px) and (max-height:650px){
  body[data-game-id] .quiz-flex>div:first-child{top:41px;width:96px;height:104px}
  body[data-game-id] h2.enunciado{min-height:104px;padding-right:106px;font-size:clamp(.94rem,3.9vw,1.08rem)!important}
  body[data-game-id] #help-form.mobile-help-row .badge-help{height:36px;min-height:36px}
}

/* Feedback cinematográfico de resposta. */
body.answer-cinematic{overflow:hidden!important}
body.answer-cinematic::after{content:"";position:fixed;inset:0;z-index:9990;background:rgba(0,3,12,.88);backdrop-filter:blur(3px);animation:answerBackdropIn .22s ease both}
body.answer-cinematic .answered-options{position:relative;z-index:9992}
body.answer-cinematic>.answered-options{position:fixed!important;z-index:2147482990!important;left:var(--cinematic-options-left)!important;top:var(--cinematic-options-top)!important;width:var(--cinematic-options-width)!important;height:var(--cinematic-options-height)!important;margin:0!important;transform:none!important;contain:none!important}
body.answer-cinematic .answered-options .option-btn{opacity:.2;filter:saturate(.35);transition:opacity .18s ease,filter .18s ease}
body.answer-cinematic .answered-options .option-btn.cinematic-wrong-lock,
body.answer-cinematic .answered-options .option-btn.cinematic-correct-reveal,
body.answer-cinematic .answered-options .option-btn.cinematic-correct-celebration{opacity:1;filter:none}
.option-btn.cinematic-wrong-lock{border-color:#ff394f!important;background:linear-gradient(100deg,#7f1d1d,#dc2626)!important;color:#fff!important;box-shadow:0 0 0 4px rgba(239,68,68,.3),0 0 34px rgba(239,68,68,.72)!important}
.option-btn.cinematic-correct-celebration{position:relative;z-index:9994;border-color:#86efac!important;background:linear-gradient(100deg,#14532d,#22c55e)!important;color:#fff!important;animation:answerCorrectFour .38s ease-in-out 4!important}
.option-btn.cinematic-correct-reveal{position:relative;z-index:9994;border-color:#93c5fd!important;background:linear-gradient(100deg,#172554,#2563eb)!important;color:#fff!important;animation:answerBlueThree .42s ease-in-out 3!important}
body.answer-cinematic .answer-result{position:fixed!important;z-index:10005!important;left:50%!important;right:auto!important;top:50%!important;width:min(520px,calc(100vw - 24px));margin:0!important;opacity:0;visibility:hidden;transform:translate(-50%,-50%) scale(.82)!important;animation:none!important;transition:opacity .22s ease,transform .3s cubic-bezier(.2,1.4,.4,1),visibility .22s}
body.answer-cinematic>.answer-result{z-index:2147483000!important}
body.answer-cinematic .answer-result.is-cinematic-visible{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)!important;box-shadow:0 0 0 5px rgba(255,255,255,.12),0 0 70px currentColor,0 24px 80px rgba(0,0,0,.85)!important;animation:answerMessageGlow .72s ease-in-out infinite alternate!important}
body.answer-cinematic .answer-result strong{font-size:clamp(1.45rem,5vw,2.35rem);text-shadow:0 0 16px currentColor}
body.answer-cinematic .answer-result__icon{width:64px;height:64px;flex-basis:64px;font-size:2.2rem}
@keyframes answerBackdropIn{from{opacity:0}to{opacity:1}}
@keyframes answerCorrectFour{0%,100%{transform:scale(1);box-shadow:0 0 12px rgba(34,197,94,.25)}50%{transform:scale(1.045);box-shadow:0 0 0 6px rgba(134,239,172,.35),0 0 55px rgba(34,197,94,.95)}}
@keyframes answerBlueThree{0%,100%{transform:scale(1);box-shadow:0 0 12px rgba(37,99,235,.3)}50%{transform:scale(1.04);box-shadow:0 0 0 6px rgba(147,197,253,.38),0 0 58px rgba(59,130,246,.98)}}
@keyframes answerMessageGlow{from{filter:brightness(1);text-shadow:0 0 8px currentColor}to{filter:brightness(1.28);text-shadow:0 0 22px currentColor}}

/* Avisos e encerramento com linguagem visual de aplicativo. */
.app-inline-notice{margin:12px 0;padding:12px 14px;border:1px solid rgba(250,204,21,.4);border-radius:14px;background:linear-gradient(135deg,rgba(120,53,15,.92),rgba(30,41,59,.96));color:#fef3c7;box-shadow:0 14px 38px rgba(0,0,0,.34)}
.app-final-message{margin-bottom:14px;padding:18px;border:1px solid;border-radius:18px;color:#fff;font-size:1.05rem;box-shadow:0 18px 55px rgba(0,0,0,.48);animation:noticePop .42s cubic-bezier(.2,1.5,.45,1)}
.app-final-message.is-success{border-color:rgba(74,222,128,.55);background:linear-gradient(145deg,#14532d,#052e16);box-shadow:0 18px 55px rgba(0,0,0,.48),0 0 35px rgba(34,197,94,.2)}
.app-final-message.is-danger{border-color:rgba(248,113,113,.58);background:linear-gradient(145deg,#7f1d1d,#2b1118);box-shadow:0 18px 55px rgba(0,0,0,.48),0 0 35px rgba(239,68,68,.2)}
#final-panel{position:fixed;inset:0;z-index:10030;display:flex!important;flex-wrap:wrap;align-content:center;justify-content:center;gap:8px;padding:16px;background:rgba(2,6,23,.9);backdrop-filter:blur(7px)}
#final-panel.d-none{display:none!important}#final-panel .app-final-message{flex:0 0 min(520px,100%);text-align:center}
.app-final-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:0 0 min(720px,100%)}
.app-final-actions .btn{min-height:46px;margin:0!important;font-weight:800;display:grid;place-items:center}
.btn-final-report{color:#062b3a!important;background:#22b8cf;border-color:#22b8cf}.btn-final-report:hover{color:#fff!important;background:#0e7490;border-color:#0e7490}
.btn-final-replay{color:#fff!important;background:#2563eb;border-color:#2563eb}.btn-final-replay:hover{background:#1d4ed8;border-color:#1d4ed8}
.btn-final-report:focus-visible,.btn-final-replay:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:575.98px){.app-final-actions{grid-template-columns:1fr}.app-final-actions .btn{width:100%}}

/* Conteúdo rolável em telas pequenas e com zoom/fonte do sistema ampliados:
   a "casca" (corpo/tela) continua em tela cheia (100dvh) — não volta a
   colapsar pra altura automática, senão perde a tela cheia pra TODO MUNDO,
   com zoom ou não. Só o cartão do jogo ganha rolagem interna, pra quando o
   conteúdo não couber (texto maior) em vez de ser cortado pelo
   overflow:hidden da tela cheia. */
@media (max-width:575.98px){
  body[data-game-id] #zoomRoot .card-quiz{overflow-y:auto!important}
  body[data-game-id] .answer-form,body[data-game-id] .answered-options{display:block!important;overflow:visible!important}
  body[data-game-id] .answer-form .option-btn,body[data-game-id] .answered-options .option-btn{height:auto!important;min-height:52px!important;margin:.45rem 0!important}
}

/* Resultado de parada com aparência de aplicativo. */
.stopped-panel{position:fixed;inset:0;z-index:10030;display:grid;place-items:center;padding:16px;background:rgba(2,6,23,.88);backdrop-filter:blur(7px)}
.app-result-card{position:relative;width:min(520px,100%);padding:28px;border:2px solid rgba(250,204,21,.58);border-radius:24px;text-align:center;background:radial-gradient(circle at 50% 0,rgba(250,204,21,.18),transparent 38%),linear-gradient(155deg,#172554,#0f172a 72%);color:#e5edf8;box-shadow:0 28px 90px rgba(0,0,0,.75),0 0 45px rgba(245,158,11,.16);animation:noticePop .42s cubic-bezier(.2,1.5,.45,1)}
.app-result-card__icon{display:grid;place-items:center;width:68px;height:68px;margin:-58px auto 12px;border:4px solid #fef3c7;border-radius:50%;background:linear-gradient(145deg,#fbbf24,#b45309);font-size:2rem;box-shadow:0 10px 28px rgba(245,158,11,.42)}
.app-result-card__eyebrow{color:#fbbf24;font-size:.72rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase}.app-result-card h2{margin:5px 0 8px;color:#fff;font-size:clamp(1.55rem,5vw,2.25rem);font-weight:950}.app-result-card p{margin:0;color:#cbd5e1}.app-result-card__score{display:grid;justify-items:center;margin:18px 0;padding:15px;border:1px solid rgba(250,204,21,.24);border-radius:17px;background:rgba(245,158,11,.08)}.app-result-card__score small{color:#cbd5e1}.app-result-card__score strong{color:#fef08a;font-size:clamp(2rem,8vw,3.4rem);line-height:1.05;text-shadow:0 0 24px rgba(250,204,21,.38)}.app-result-card__score span{color:#fbbf24;font-weight:900}.app-result-card__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.app-result-card__actions .btn{margin:0!important}
@media(max-width:575.98px){.stopped-panel{left:0!important;right:0!important;top:0!important;max-height:none!important;padding:12px!important;transform:none!important;border:0!important;border-radius:0!important}.app-result-card{padding:23px 16px 16px}.app-result-card__actions{grid-template-columns:1fr}.app-result-card__icon{margin-top:-52px}}

@media (min-width: 576px){
  #cards-overlay .cards-overlay__panel,
  #uni-overlay   .uni-overlay__panel{ transform: translateY(-6vh); }
}
@media (min-width: 992px){
  #cards-overlay .cards-overlay__panel,
  #uni-overlay   .uni-overlay__panel{ transform: translateY(-8vh); }
}
#cards-overlay .cards-overlay__panel,
#uni-overlay   .uni-overlay__panel{
  max-height: calc(100vh - 10vh);
  overflow: auto;
}
/* Módulos de ajuda compartilhados pelos três modos do jogo. */
.cards-overlay__panel,.uni-overlay__panel,.plat-overlay__panel,.mp-help-popup__card{width:min(470px,calc(100% - 28px));padding:25px!important;border:2px solid rgba(250,204,21,.45)!important;border-radius:23px!important;background:radial-gradient(circle at 50% 0,rgba(37,99,235,.23),transparent 45%),linear-gradient(145deg,#172554,#0f172a)!important;color:#e5e7eb;text-align:center;box-shadow:0 28px 90px rgba(0,0,0,.78)!important}
.plat-overlay:not(.d-none){display:grid;place-items:center;padding:14px}.plat-overlay:not(.d-none) .plat-overlay__panel{margin:0}
.cards-overlay__backdrop,.uni-overlay__backdrop,.plat-overlay__backdrop{background:rgba(2,6,23,.9)!important;backdrop-filter:blur(7px)!important}
.cards-overlay__title,.uni-overlay__title,.plat-overlay__title,.mp-help-popup h2{color:#fff;font-weight:950}
.game-help-chart{display:grid;gap:8px;margin:14px 0 4px}
.game-help-chart__row{display:grid;grid-template-columns:30px minmax(0,1fr) 46px;align-items:center;gap:8px}
.game-help-chart__row>strong{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#1d4ed8;color:#fff}
.game-help-chart__row>span{height:13px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.1)}
.game-help-chart__row i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#22c55e,#facc15)}
.game-help-chart__row b{color:#fef08a;text-align:right}
.game-audience-board{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important;margin:14px 0!important}
.game-audience-sign{display:grid!important;place-items:center!important;min-width:0!important;min-height:0!important;aspect-ratio:1!important;padding:0!important;border:2px solid rgba(255,255,255,.55)!important;border-radius:7px!important;background-image:none!important;color:#fff!important;font-size:clamp(.75rem,3.5vw,1.05rem)!important;font-weight:950!important;box-shadow:0 5px 12px rgba(0,0,0,.28)!important;transform:rotate(-2deg)!important}
.game-audience-sign:nth-child(2n){transform:rotate(2deg)!important}.game-audience-sign.is-0{background:#dc2626!important}.game-audience-sign.is-1{background:#2563eb!important}.game-audience-sign.is-2{background:#16a34a!important}.game-audience-sign.is-3{background:#ca8a04!important}
.game-audience-sign .plat-thinking,.game-audience-sign .plat-answer{display:grid;place-items:center;width:100%;height:100%;font-size:inherit;font-weight:950}
.mp-cards-grid,.cards-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.mp-card-choice,.cards-grid .card-btn{position:relative;min-height:145px;overflow:hidden;border:2px solid rgba(250,204,21,.55);border-radius:13px;background-position:center;background-repeat:no-repeat;background-size:cover;box-shadow:0 12px 28px rgba(0,0,0,.38);transition:transform .18s ease,border-color .18s ease,filter .18s ease}
.mp-card-choice:hover,.cards-grid .card-btn:hover{transform:translateY(-5px);border-color:#fef08a;filter:brightness(1.08)}
.mp-card-choice.is-picked{border-color:#86efac;box-shadow:0 0 0 4px rgba(34,197,94,.22),0 16px 35px rgba(0,0,0,.5)}
.mp-card-choice .card-face,.cards-grid .card-face{display:grid;place-items:center;position:absolute;inset:50% auto auto 50%;min-width:42px;min-height:42px;padding:6px;border-radius:50%;transform:translate(-50%,-50%);background:rgba(2,6,23,.86);color:#fff;font-size:1.2rem;font-weight:950}
.mp-card-choice .card-face:empty{display:none}
.mp-card-picker-hint{margin:12px 0 0;color:#cbd5e1}
.game-university-result .uni-students,.mp-help-popup .uni-students{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.game-university-result .uni-student,.mp-help-popup .uni-student{min-height:118px;padding:8px}.game-university-result .uni-avatar,.mp-help-popup .uni-avatar,.uni-overlay .uni-avatar{width:82px;height:82px}
@media(max-width:575.98px){.mp-card-choice,.cards-grid .card-btn{min-height:105px}.game-university-result .uni-avatar,.mp-help-popup .uni-avatar,.uni-overlay .uni-avatar{width:58px;height:58px}.game-university-result .uni-student,.mp-help-popup .uni-student{min-height:94px;padding:5px}.game-audience-board{margin:8px 0!important}}
