/* CASA SORO — schermata TV (palco fisso 1920×1080 ridimensionato) */

#stage {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px; margin: -540px 0 0 -960px;
  transform-origin: 50% 50%;
  z-index: 1;
}
.screen { position: absolute; inset: 0; }

/* ---------- barra superiore ---------- */
.topbar {
  position: absolute; left: 0; right: 0; top: 0; height: 110px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; padding: 0 56px;
}
.topbar .logo { height: 92px; }
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--panel); border: 2px solid var(--panel-b);
  border-radius: 999px; padding: 12px 26px; font-size: 26px; color: var(--ink2);
}
.pill b { color: var(--ink); font-family: var(--f-display); font-weight: 800; }
.pill .code { color: var(--gold); letter-spacing: .12em; font-family: var(--f-display); font-weight: 800; }
.cardcount .pips { display: flex; gap: 6px; }
.cardcount .pip { width: 12px; height: 18px; border-radius: 3px; background: rgba(255,255,255,.18); }
.cardcount .pip.done { background: var(--gold); }
.cardcount .pip.now { background: #fff; box-shadow: 0 0 12px #fff; }
.tb-right { display: flex; gap: 16px; align-items: center; }
.mute { width: 60px; height: 60px; border-radius: 50%; background: var(--panel); border: 2px solid var(--panel-b); font-size: 26px; }

/* ---------- bottoni ---------- */
.btn-gold {
  font-family: var(--f-display); font-weight: 800; font-size: 44px; color: #3a1d00;
  padding: 28px 70px; border-radius: 999px;
  background: linear-gradient(180deg, #ffe08a, var(--gold) 50%, var(--gold2));
  box-shadow: 0 10px 0 #b45f07, 0 22px 40px rgba(0,0,0,.45), inset 0 3px 0 rgba(255,255,255,.6);
  transition: box-shadow .15s;
}
.btn-gold:hover, .btn-gold:focus { outline: none; box-shadow: 0 13px 0 #b45f07, 0 26px 50px rgba(0,0,0,.5), 0 0 0 8px rgba(255, 201, 74, .35), inset 0 3px 0 rgba(255,255,255,.6); }
.btn-gold:active { box-shadow: 0 4px 0 #b45f07, 0 10px 20px rgba(0,0,0,.4); }
.btn-gold[disabled] { filter: grayscale(.8) brightness(.7); pointer-events: none; }
.btn-ghost { font-size: 24px; color: var(--ink2); padding: 14px 26px; border-radius: 999px; border: 2px solid var(--panel-b); }
.btn-ghost:focus, .btn-ghost:hover { outline: none; background: var(--panel); color: var(--ink); }

/* ---------- home ---------- */
.home { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding-bottom: 120px; }
.home .logo { height: 470px; --logo-mask: url(../img/logo-cortes.png); }
.home { gap: 18px !important; }
.home .sub { font-size: 36px; color: var(--ink2); margin-top: -6px; margin-bottom: 20px; }
.home .btn-gold { position: relative; z-index: 3; }
.home .btn-gold { animation: homeGlow 2.4s ease-in-out infinite; }
@keyframes homeGlow { 0%, 100% { box-shadow: 0 10px 0 #b45f07, 0 22px 40px rgba(0,0,0,.45), inset 0 3px 0 rgba(255,255,255,.6), 0 0 0 rgba(255,194,51,0); } 50% { box-shadow: 0 10px 0 #b45f07, 0 22px 40px rgba(0,0,0,.45), inset 0 3px 0 rgba(255,255,255,.6), 0 0 50px rgba(255,194,51,.6); } }

.home .fan { position: absolute; z-index: 1; bottom: -170px; left: 50%; width: 0; height: 0; }
.home .fan .card3d { position: absolute; --w: 210px; left: -105px; bottom: 0; transform-origin: 50% 120%; }
.home .hint { position: absolute; top: 44px; font-size: 22px; color: var(--muted); }

/* ---------- lobby ---------- */
.lobby { padding: 130px 70px 60px; display: grid; grid-template-columns: 600px 1fr; gap: 60px; }
.joinpanel {
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04));
  border: 2px solid var(--panel-b); border-radius: 44px; padding: 46px 44px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.joinpanel h2 { font-family: var(--f-display); font-size: 46px; font-weight: 800; line-height: 1.05; }
.joinpanel .step { color: var(--ink2); font-size: 26px; margin-top: 10px; }
.qr { width: 330px; height: 330px; background: #fff; border-radius: 30px; padding: 22px; margin: 30px 0 22px; box-shadow: 0 0 0 8px rgba(255,201,74,.25); }
.qr svg { width: 100%; height: 100%; display: block; }
.url { font-size: 25px; color: var(--ink2); word-break: break-all; }
.url b { color: var(--ink); }
.codetiles { display: flex; gap: 14px; margin-top: 18px; }
.codetiles span {
  width: 96px; height: 116px; border-radius: 22px; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 76px; color: #3a1d00;
  background: linear-gradient(180deg, #ffe08a, var(--gold) 55%, var(--gold2));
  box-shadow: 0 8px 0 #b45f07, inset 0 3px 0 rgba(255,255,255,.6);
}
.lobby-right { display: flex; flex-direction: column; }
.lobby-right h1 { font-family: var(--f-display); font-weight: 800; font-size: 64px; line-height: 1; display: flex; align-items: baseline; gap: 24px; }
.lobby-right h1 small { font-size: 30px; color: var(--muted); font-family: var(--f-body); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; flex: 1; align-content: start; }
.pslot {
  height: 176px; border-radius: 30px; border: 3px dashed rgba(255,255,255,.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font-size: 30px; position: relative;
}
.pslot.filled { border: 2px solid var(--panel-b); background: var(--panel); }
.pslot .nm { max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pslot .crown { position: absolute; top: 12px; right: 18px; font-size: 32px; }
.pgrid.many { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pgrid.many .pslot { height: 128px; flex-direction: row; gap: 16px; font-size: 26px; }
.lobby-foot { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 26px; }
.lobby-foot .msg { font-size: 30px; color: var(--ink2); }
.lobby-foot .msg b { color: var(--ink); }
.cardsel { display: flex; align-items: center; gap: 14px; font-size: 26px; color: var(--ink2); }
.cardsel button { width: 64px; height: 64px; border-radius: 18px; background: var(--panel); border: 2px solid var(--panel-b); font-size: 34px; }
.cardsel button:focus { outline: 4px solid var(--gold); }
.cardsel b { font-family: var(--f-display); font-size: 44px; color: var(--ink); min-width: 60px; text-align: center; }

/* ---------- pesca ---------- */
.drawscr { display: flex; align-items: center; justify-content: center; gap: 160px; padding-top: 60px; }
.deck { position: relative; width: 340px; height: 483px; }
.deck .card3d { --w: 340px; position: absolute; left: 0; top: 0; }
.drawer-box { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; max-width: 760px; }
.drawer-box .who { display: flex; align-items: center; gap: 30px; }
.drawer-box .who .nm { font-family: var(--f-display); font-weight: 800; font-size: 96px; line-height: 1; }
.drawer-box .lead { font-size: 40px; color: var(--ink2); }
.drawer-box .lead b { color: var(--gold); }
.drawer-box .hint { font-size: 30px; color: var(--muted); display: flex; align-items: center; gap: 18px; }
.phone-ico { width: 44px; height: 70px; border: 4px solid currentColor; border-radius: 10px; position: relative; animation: tap 1.2s infinite; }
.phone-ico::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); left: 50%; top: 45%; transform: translate(-50%, -50%); }
@keyframes tap { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- rivelazione ---------- */
.revealscr { display: flex; align-items: center; justify-content: center; }
.rays {
  position: absolute; left: 50%; top: 50%; width: 2600px; height: 2600px; margin: -1300px 0 0 -1300px;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.14) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 55%);
          mask-image: radial-gradient(circle, #000 0%, transparent 55%);
  animation: spin 40s linear infinite; opacity: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.bigcard { position: absolute; left: 50%; top: 50%; }
.bigcard .card3d { --w: 400px; margin: -284px 0 0 -200px; }
.reveal-text { position: absolute; left: 1080px; top: 330px; width: 740px; }
.reveal-text .kicker { font-size: 30px; color: var(--ink2); text-transform: uppercase; letter-spacing: .2em; }
.reveal-text h1 { font-family: var(--f-display); font-weight: 800; font-size: 120px; line-height: .95; margin: 16px 0 26px; }
.reveal-text p { font-size: 36px; line-height: 1.35; color: var(--ink); }
.reveal-text .drawn { margin-top: 30px; font-size: 26px; color: var(--muted); display: flex; align-items: center; gap: 14px; }

/* ---------- timer ---------- */
.timer { position: absolute; width: 150px; height: 150px; }
.timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer .trk { stroke: rgba(255,255,255,.12); }
.timer .bar { stroke: var(--gold); transition: stroke .3s; stroke-linecap: round; }
.timer.low .bar { stroke: var(--rossa); }
.timer .n { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 60px; }
.timer.low .n { color: var(--rossa); animation: beat .5s infinite; }
@keyframes beat { 50% { transform: scale(1.12); } }

/* ---------- striscia giocatori ---------- */
.strip { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 0 60px; }
.strip .sp { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 20px; color: var(--ink2); width: 92px; }
.strip .sp .nm { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip .sp .ck { position: absolute; top: -6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; background: var(--verde); color: #fff; font-size: 22px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.4); transform: scale(0); }
.strip .sp.done .ck { transform: scale(1); transition: transform .35s cubic-bezier(.3,1.8,.5,1); }
.strip .sp:not(.done) .av { opacity: .55; }

/* ---------- quiz ---------- */
.gamehead { position: absolute; left: 70px; right: 70px; top: 120px; display: flex; align-items: center; gap: 24px; }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 24px 10px 12px; border-radius: 999px; font-size: 26px; background: var(--cc, var(--blu)); box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.chip i { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.22); border-radius: 50%; }
.chip i svg { width: 26px; color: #fff; }
.chip.soft { background: var(--panel); box-shadow: none; border: 2px solid var(--panel-b); padding: 10px 24px; }

.qbox {
  position: absolute; left: 70px; right: 260px; top: 210px; min-height: 250px;
  background: #fff; color: #0e1c33; border-radius: 40px; padding: 44px 56px;
  font-family: var(--f-display); font-weight: 800; font-size: 60px; line-height: 1.12;
  display: flex; align-items: center;
  box-shadow: 0 16px 0 rgba(0,0,0,.2), 0 30px 60px rgba(0,0,0,.35);
}
.qbox .blank { border-color: var(--rossa); color: var(--rossa); }
.gametimer { right: 70px; top: 260px; }

.answers { position: absolute; left: 70px; right: 70px; top: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ans {
  position: relative; height: 176px; border-radius: 34px; display: flex; align-items: center; gap: 30px; padding: 0 40px;
  font-family: var(--f-display); font-weight: 800; font-size: 50px; line-height: 1.05; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 60%), var(--ac);
  box-shadow: 0 12px 0 var(--ad), 0 24px 40px rgba(0,0,0,.3);
}
.answers.fx .ans { transition: opacity .5s, transform .5s, filter .5s, box-shadow .5s; }
.ans .shape { width: 80px; height: 80px; flex: 0 0 80px; background: rgba(255,255,255,.22); border-radius: 22px; display: grid; place-items: center; }
.ans .shape svg { width: 46px; }
.ans .cnt { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: -8px; }
.ans .cnt .av { margin-left: -14px; border: 3px solid rgba(0,0,0,.2); }
.ans.dim { opacity: .28; filter: grayscale(.6); transform: scale(.97); }
.ans.win { transform: scale(1.015); box-shadow: 0 12px 0 var(--ad), 0 0 0 8px #fff, 0 0 60px rgba(255,255,255,.6); }
.ans .okmark { position: absolute; left: -24px; top: -24px; width: 76px; height: 76px; border-radius: 50%; background: var(--verde); display: grid; place-items: center; font-size: 44px; box-shadow: 0 6px 16px rgba(0,0,0,.4); border: 5px solid #fff; }

/* ---------- bugiardo ---------- */
.liebig { position: absolute; left: 70px; right: 260px; top: 210px; }
.liebig .qbox { position: relative; left: 0; right: 0; top: 0; }
.lie-hint { position: absolute; left: 70px; right: 70px; top: 540px; text-align: center; font-size: 44px; color: var(--ink2); }
.lie-hint b { color: #fff; }
.lie-hint .pen { font-size: 90px; display: block; margin-bottom: 10px; }

.lie-opts { position: absolute; left: 70px; right: 70px; top: 470px; bottom: 170px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 24px; align-content: center; }
.lie-opts.c3 { grid-template-columns: repeat(3, 1fr); }
.lopt {
  position: relative; min-height: 104px; border-radius: 26px; padding: 18px 32px;
  background: rgba(255,255,255,.1); border: 3px solid rgba(255,255,255,.18);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  font-size: 38px; line-height: 1.12; color: #fff;
}
.lie-opts.c3 .lopt { font-size: 32px; padding: 16px 24px; }
.lopt .foot { display: none; align-items: center; gap: 12px; min-height: 52px; }
.lopt .foot .voters { margin-left: auto; padding-left: 12px; }
.lie-opts.fx { top: 360px; bottom: 36px; gap: 22px; }
.lie-opts.fx .foot { display: flex; }
.lie-opts.fx .lopt { transition: opacity .5s, transform .5s, background .4s, border-color .4s, box-shadow .4s; }
.lopt .tx { flex: 1; }
.lopt .voters { display: flex; }
.lie-opts.c3 .lopt .voters .av { --s: 46px !important; }
.lopt .voters .av { margin-left: -12px; border: 3px solid var(--bg1); }
.lopt.focus { transform: scale(1.05); background: rgba(255,255,255,.2); border-color: #fff; z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.lopt.gone { opacity: .25; }
.lopt.truth { background: linear-gradient(180deg, #2ee89a, #12a86b); border-color: #baffdf; }
.stamp {
  padding: 5px 16px; border-radius: 12px;
  font-family: var(--f-display); font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: .04em;
  border: 4px solid currentColor; transform: rotate(-3deg); background: var(--bg1);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; max-width: 100%; overflow: hidden;
}
.stamp .av { margin: -4px 0; }
.stamp .avs { display: inline-flex; }
.stamp .avs .av { margin-left: -8px; }
.stamp.lie { color: #ff5a73; }
.stamp.house { color: #c8b6ff; }
.stamp.true { color: #fff; background: #0e8a57; }
.pts-fly { position: absolute; font-family: var(--f-display); font-weight: 800; font-size: 44px; color: var(--gold); text-shadow: 0 4px 0 rgba(0,0,0,.35); pointer-events: none; z-index: 10; }

/* ---------- classifica ---------- */
.scorescr { padding: 130px 0 40px; display: flex; flex-direction: column; align-items: center; }
.scorescr h1 { font-family: var(--f-display); font-weight: 800; font-size: 76px; }
.scorescr h1 span { color: var(--gold); }
.board { position: relative; width: 1260px; margin-top: 30px; }
.board.two { width: 1760px; }
.row {
  position: absolute; left: 0; height: 74px; width: 100%;
  display: flex; align-items: center; gap: 22px; padding: 0 30px 0 18px;
  background: rgba(255,255,255,.08); border-radius: 22px; border: 2px solid rgba(255,255,255,.08);
  font-size: 34px;
}
.board.two .row { width: calc(50% - 15px); }
.row .rk { width: 64px; font-family: var(--f-display); font-weight: 800; font-size: 40px; text-align: center; color: var(--ink2); }
.row .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .sc { font-family: var(--f-display); font-weight: 800; font-size: 42px; min-width: 150px; text-align: right; }
.row .dl { font-size: 28px; color: var(--verde); min-width: 120px; text-align: right; }
.row .mv { width: 36px; font-size: 26px; text-align: center; }
.row .mv.up { color: var(--verde); } .row .mv.down { color: var(--rossa); }
.row.r1 { background: linear-gradient(90deg, rgba(255,201,74,.45), rgba(255,201,74,.12)); border-color: rgba(255,201,74,.7); }
.row.r1 .rk { color: var(--gold); }
.row.r2 { background: linear-gradient(90deg, rgba(210,220,255,.3), rgba(210,220,255,.08)); }
.row.r3 { background: linear-gradient(90deg, rgba(230,150,90,.35), rgba(230,150,90,.08)); }

/* ---------- finale ---------- */
.finalscr { padding-top: 110px; }
.finalscr h1 { text-align: center; font-family: var(--f-display); font-weight: 800; font-size: 72px; }
.podium { position: absolute; left: 50%; bottom: 290px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 26px; }
.pod { width: 300px; display: flex; flex-direction: column; align-items: center; }
.pod .who { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 18px; }
.pod .who .nm { font-family: var(--f-display); font-weight: 800; font-size: 44px; max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .who .sc { font-size: 30px; color: var(--ink2); }
.pod .blk {
  width: 100%; border-radius: 26px 26px 0 0; display: flex; justify-content: center; padding-top: 18px;
  font-family: var(--f-display); font-weight: 800; font-size: 96px; color: rgba(0,0,0,.35);
  box-shadow: inset 0 6px 0 rgba(255,255,255,.4);
}
.pod.p1 .blk { height: 250px; background: linear-gradient(180deg, #ffe08a, var(--gold) 40%, var(--gold2)); }
.pod.p2 .blk { height: 180px; background: linear-gradient(180deg, #f2f5ff, #aab6d6); }
.pod.p3 .blk { height: 125px; background: linear-gradient(180deg, #ffcfa6, #c77a44); }
.pod .crownbig { font-size: 64px; margin-bottom: -14px; }
.awards { position: absolute; left: 70px; right: 70px; bottom: 70px; display: flex; justify-content: center; gap: 24px; }
.award {
  width: 400px; border-radius: 28px; padding: 22px 26px; display: flex; align-items: center; gap: 20px;
  background: rgba(255,255,255,.09); border: 2px solid rgba(255,255,255,.15);
}
.award .ic { font-size: 54px; }
.award .t { font-size: 22px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.award .n { font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1.1; }
.award .v { font-size: 20px; color: var(--ink2); }
.final-actions { position: absolute; right: 60px; top: 130px; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.others { position: absolute; left: 60px; top: 220px; width: 330px; display: flex; flex-direction: column; gap: 8px; }
.others .o { display: flex; align-items: center; gap: 14px; font-size: 24px; color: var(--ink2); }
.others .o b { color: var(--ink); margin-left: auto; font-family: var(--f-display); }

/* ---------- overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(8,4,20,.75); backdrop-filter: blur(6px); }
.overlay .box { text-align: center; font-size: 36px; }
.overlay .box .logo { height: 300px; margin-bottom: 30px; }
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 60;
  background: #fff; color: #0e1c33; padding: 16px 30px; border-radius: 999px; font-size: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
#confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }

/* ---------- annulla partita ---------- */
.quitbtn { height: 60px; padding: 0 24px; border-radius: 999px; font-size: 22px; color: var(--ink2);
  background: var(--panel); border: 2px solid var(--panel-b); }
.quitbtn:hover, .quitbtn:focus { outline: none; color: #fff; background: rgba(255,61,90,.35); border-color: var(--rossa); }
.quitdlg { z-index: 80; }
.qbox2 { width: 640px; max-width: 92vw; background: linear-gradient(180deg, #17345a, #0e1c33); border: 2px solid var(--panel-b);
  border-radius: 32px; padding: 36px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.qbox2 .qt { font-family: var(--f-display); font-weight: 800; font-size: 40px; }
.qbox2 .qs { color: var(--ink2); font-size: 22px; margin: 10px 0 26px; }
.qbox2 .qa { display: flex; flex-direction: column; gap: 14px; }
.qopt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 20px; border-radius: 20px;
  font-family: var(--f-display); font-weight: 800; font-size: 26px; background: rgba(255,255,255,.08); border: 3px solid transparent; }
.qopt small { font-family: var(--f-body); font-weight: 700; font-size: 17px; opacity: .8; }
.qopt.gold { color: var(--gold); }
.qopt.red { color: #ff7a8e; }
.qopt:focus, .qopt:hover { outline: none; border-color: #fff; background: rgba(255,255,255,.16); }

/* ---------- carte nuove ---------- */
.card3d[data-type="gialla"] .card-front { color: #3a2600; }
.card3d[data-type="gialla"] .cf-icon, .card3d[data-type="gialla"] .cf-corner { color: #5a3a00; }
.card3d[data-type="gialla"] .cf-name { text-shadow: 0 2px 0 rgba(255,255,255,.4); }
.card3d[data-type="nera"] .card-front { border-color: #d9cfff; }
.card3d[data-type="oro"] .card-front { background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.7), transparent 45%), linear-gradient(160deg, #ffe066, #ffb400 55%, #c77800); color: #4a2a00; }
.card3d[data-type="oro"] .cf-icon, .card3d[data-type="oro"] .cf-corner { color: #fff6cc; filter: drop-shadow(0 4px 0 rgba(0,0,0,.2)); }
.chip.x2 { background: linear-gradient(180deg, #ffe08a, #ffb400); color: #4a2a00; padding: 10px 22px; }
.x2p { margin-left: 6px; color: #3a1d00; background: linear-gradient(180deg, #ffe08a, var(--gold)); border-radius: 999px; padding: 2px 12px; font-family: var(--f-display); }
.x2t { color: var(--gold); }
.drawer-box .lead.jolly { color: var(--gold); font-family: var(--f-display); font-size: 44px; }
.qbox .unit { color: #7a6cae; font-size: .7em; }
.qbox.small { font-size: 42px; min-height: 0; padding: 26px 44px; right: 70px; }

/* ---------- 🟢 disegna ---------- */
.boardwrap { position: absolute; left: 70px; top: 190px; width: 1080px; height: 810px; border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 0 8px rgba(255,255,255,.9), 0 30px 60px rgba(0,0,0,.45); background: #fff; }
.boardwrap canvas { display: block; width: 1080px; height: 810px; }
.boardtag { position: absolute; left: 18px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px;
  border-radius: 999px; background: rgba(14,28,51,.85); font-size: 22px; }
.paintside { position: absolute; left: 1200px; right: 60px; top: 190px; bottom: 60px; display: flex; flex-direction: column; gap: 18px; }
.hintw { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hintw span { display: flex; gap: 6px; }
.hintw i { width: 44px; height: 56px; border-radius: 10px; background: rgba(255,255,255,.12); border-bottom: 5px solid var(--verde);
  font-style: normal; font-family: var(--f-display); font-weight: 800; font-size: 34px; display: grid; place-items: center; }
.ps-timer { display: flex; align-items: center; gap: 24px; }
.ps-timer .timer { position: relative; width: 120px; height: 120px; }
.ps-timer .timer .n { font-size: 46px; }
.ps-count { font-size: 30px; color: var(--ink2); }
.ps-count b { color: #fff; font-family: var(--f-display); font-size: 48px; }
.ps-title { font-size: 20px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink2); }
.ps-right { display: flex; flex-direction: column; gap: 8px; }
.rg { display: flex; align-items: center; gap: 12px; font-size: 26px; background: rgba(31,198,127,.18); border: 2px solid rgba(31,198,127,.5);
  border-radius: 18px; padding: 6px 14px; }
.rg b { width: 40px; font-family: var(--f-display); color: var(--verde); }
.rg > span:not(.av) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rg em { font-style: normal; color: var(--verde); font-family: var(--f-display); }
.rg em.pts { color: var(--gold); }
.rg.artist { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.ps-feed { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.wg { align-self: flex-start; display: flex; align-items: center; gap: 10px; background: #fff; color: #0e1c33; border-radius: 20px 20px 20px 6px;
  padding: 6px 18px 6px 6px; font-size: 24px; max-width: 100%; }
.wg > span:not(.av) { text-decoration: line-through; text-decoration-color: rgba(230,57,70,.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-kicker { font-size: 26px; color: var(--ink2); text-transform: uppercase; letter-spacing: .14em; }
.ps-word { font-family: var(--f-display); font-weight: 800; font-size: 76px; line-height: 1; color: var(--verde); word-break: break-word; }
.ps-none { font-size: 28px; color: var(--ink2); }

/* ---------- 🟡 maggioranza ---------- */
.maj-opts { top: 500px; }
.maj-opts .ans { height: 150px; }
.maj-people { position: absolute; left: 70px; right: 70px; top: 500px; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.mp { width: 170px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 24px; padding: 14px 6px;
  border-radius: 24px; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.12); }
.mp > span:not(.av) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.maj-verdict { position: absolute; left: 70px; right: 70px; top: 345px; text-align: center; font-size: 40px; color: var(--ink2); }
.maj-verdict b { color: var(--gold); font-family: var(--f-display); font-size: 52px; }
.bars { position: absolute; left: 70px; right: 70px; top: 430px; bottom: 50px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.bar { display: flex; align-items: center; gap: 22px; position: relative; }
.bar .bl { width: 440px; display: flex; align-items: center; gap: 12px; font-size: 32px; font-family: var(--f-display); font-weight: 800; }
.bar .bl > span:not(.av) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .bt { flex: 1; height: 76px; border-radius: 20px; background: rgba(255,255,255,.07); position: relative; overflow: hidden; }
.bar .bf { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 20px; background: linear-gradient(90deg, rgba(255,194,51,.35), rgba(255,194,51,.7)); }
.bar.win .bf { background: linear-gradient(90deg, #ffd54f, #ffb400); }
.bar .bv { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; }
.bar .bn { width: 60px; font-family: var(--f-display); font-weight: 800; font-size: 44px; text-align: right; }
.bar .bw { position: absolute; right: -10px; top: -22px; background: var(--verde); color: #fff; border-radius: 999px; padding: 4px 16px;
  font-family: var(--f-display); font-size: 26px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.bar.lit .bt { box-shadow: 0 0 0 4px #fff, 0 0 40px rgba(255,194,51,.7); }

/* ---------- ⚫ duello ---------- */
.dp-center { position: absolute; left: 50%; top: 600px; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; }
.dp-swords { font-size: 80px; margin-top: -40px; }
.dp-name { font-family: var(--f-display); font-weight: 800; font-size: 64px; }
.dp-sub { font-size: 32px; color: var(--ink2); }
.dp-o { position: absolute; width: 100px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 20px; color: var(--ink2); }
.dp-o > span:not(.av) { white-space: nowrap; }
.arena { position: absolute; left: 70px; right: 70px; top: 490px; display: flex; align-items: center; justify-content: center; gap: 80px; }
.fighter { width: 520px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 20px; border-radius: 36px;
  background: rgba(255,255,255,.06); border: 3px solid rgba(255,255,255,.12); }
.fighter .fn { font-family: var(--f-display); font-weight: 800; font-size: 52px; }
.fighter .fs { font-size: 28px; color: var(--ink2); }
.fighter.done { border-color: var(--verde); }
.fighter.done .fs { color: var(--verde); }
.vs { font-family: var(--f-display); font-weight: 800; font-size: 120px; color: var(--rossa); text-shadow: 0 8px 0 rgba(0,0,0,.4); }
.duel-bets { position: absolute; left: 0; right: 0; top: 860px; text-align: center; font-size: 26px; color: var(--ink2); }
.duel-bets b { color: var(--gold); }
.truth { position: absolute; left: 0; right: 0; top: 360px; display: flex; flex-direction: column; align-items: center; }
.truth .tl { font-size: 24px; text-transform: uppercase; letter-spacing: .16em; color: var(--ink2); }
.truth .tn { font-family: var(--f-display); font-weight: 800; font-size: 120px; line-height: 1; color: var(--gold); }
.truth .tu { font-size: 30px; color: var(--ink2); }
.nline { position: absolute; left: 180px; right: 180px; top: 680px; height: 20px; }
.nline .axis { position: absolute; left: 0; right: 0; top: 8px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); }
.mk { position: absolute; top: 10px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mk.ans { top: -40px; }
.mk.ans i { display: block; width: 8px; height: 60px; border-radius: 4px; background: var(--gold); box-shadow: 0 0 20px var(--gold); }
.mk.pb { top: 34px; }
.mk.pb::before { content: ''; width: 4px; height: 24px; background: rgba(255,255,255,.6); margin-top: -26px; }
.mk.pa { top: auto; bottom: -4px; flex-direction: column-reverse; }
.mk.pa::before { content: ''; width: 4px; height: 24px; background: rgba(255,255,255,.6); margin-bottom: -26px; }
.mk b { font-family: var(--f-display); font-size: 30px; }
.mk.win.lit .av { box-shadow: 0 0 0 5px var(--gold), 0 0 30px var(--gold); }
.duel-sum { position: absolute; left: 70px; right: 70px; bottom: 90px; display: flex; justify-content: center; gap: 40px; }
.ds { display: flex; align-items: center; gap: 14px; font-size: 32px; padding: 14px 30px; border-radius: 26px; background: rgba(255,255,255,.07); border: 3px solid transparent; }
.ds em { font-style: normal; color: var(--ink2); }
.ds b { color: var(--gold); font-family: var(--f-display); }
.ds.win.lit { border-color: var(--gold); background: rgba(255,194,51,.15); }
.betters { position: absolute; left: 0; right: 0; bottom: 36px; text-align: center; font-size: 24px; color: var(--ink2); display: flex; justify-content: center; align-items: center; gap: 8px; }

.chip.c-gialla { color: #3a2600; }
.chip.c-gialla i svg { color: #3a2600; }
.reveal-text h1 .w { display: inline-block; white-space: nowrap; }
.reveal-text h1.long { font-size: 96px; }
.musicbtn { position: absolute; top: 34px; right: 40px; font-size: 22px; color: var(--ink2); padding: 12px 22px; border-radius: 999px;
  background: var(--panel); border: 2px solid var(--panel-b); }
.musicbtn span { color: var(--ink); font-weight: 800; }
.musicbtn:focus, .musicbtn:hover { outline: none; border-color: var(--gold); color: #fff; }
.duelhint { font-size: 22px; color: var(--muted); }

/* ---------- duello: quiz e disegno ---------- */
.answers.dq { top: 480px; }
.answers.dq .ans { height: 116px; font-size: 42px; }
.mfrow { position: absolute; left: 70px; right: 70px; top: 790px; display: flex; justify-content: center; align-items: center; gap: 40px; }
.mf { width: 520px; display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-radius: 28px; background: rgba(255,255,255,.06); border: 3px solid rgba(255,255,255,.12); }
.mf b { display: block; font-family: var(--f-display); font-size: 38px; }
.mf .fs { font-size: 22px; color: var(--ink2); }
.mf.done { border-color: var(--verde); }
.mf.done .fs { color: var(--verde); }
.vs.small { font-size: 72px; }
.dp-arms { margin-top: 8px; font-size: 26px; color: var(--gold); }
.dword { position: absolute; left: 0; right: 0; top: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dword span { font-size: 24px; text-transform: uppercase; letter-spacing: .16em; color: var(--ink2); }
.dword b { font-family: var(--f-display); font-size: 64px; line-height: 1; color: #fff; }
.dboards { position: absolute; left: 60px; right: 60px; top: 290px; display: flex; align-items: center; justify-content: center; gap: 30px; }
.dboard { position: relative; width: 800px; height: 600px; border-radius: 26px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 7px rgba(255,255,255,.9), 0 24px 50px rgba(0,0,0,.45); }
.dboard canvas { display: block; width: 800px; height: 600px; }
.dboard .dvotes { position: absolute; right: 16px; top: 14px; padding: 6px 18px; border-radius: 999px; background: rgba(14,28,51,.88); font-size: 26px; }
.dboard .dvotes:empty { display: none; }
.dboard .dvotes b { font-family: var(--f-display); color: var(--gold); font-size: 32px; }
.dboard.win.lit { box-shadow: 0 0 0 8px var(--gold), 0 0 60px rgba(255,194,51,.8); }
.tn.qa { font-size: 76px; text-align: center; padding: 0 60px; }
.ddraw .strip { bottom: 16px; }
.ddraw .timer { top: 150px; right: 70px; width: 120px; height: 120px; }
.ddraw .timer .n { font-size: 46px; }
.ddraw .dword { top: 185px; }
.ddraw .dboards { top: 330px; }
.dboard, .dboard canvas { width: 760px; height: 570px; }

/* ---------- scelta dei giochi ---------- */
.cardtoggles { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.ct-label { font-size: 20px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-right: 6px; }
.ct { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; font-size: 21px;
  color: var(--muted); background: rgba(255,255,255,.05); border: 2px solid rgba(255,255,255,.12); text-decoration: line-through; }
.ct i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.ct i svg { width: 20px; color: #fff; opacity: .5; }
.ct.on { color: #fff; text-decoration: none; background: rgba(255,255,255,.14); border-color: var(--cc); }
.ct.on { background: color-mix(in srgb, var(--cc) 30%, transparent); border-color: var(--cc); }
.ct.on i { background: var(--cc); }
.ct.on i svg { opacity: 1; }
.ct.blocked { opacity: .45; }
.ct small { font-size: 15px; }
.ct:focus { outline: 4px solid var(--gold); outline-offset: 2px; }
.card3d[data-type="arancio"] .cf-icon { color: #fff; }

/* ---------- mimo e cantante ---------- */
.stagebox { position: absolute; left: 70px; top: 190px; width: 1080px; height: 810px; border-radius: 36px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(ellipse at 50% 110%, rgba(255,255,255,.12), transparent 60%), rgba(0,0,0,.25); border: 2px solid rgba(255,255,255,.1); }
.stagebox .spot { position: absolute; left: 50%; top: -120px; width: 900px; height: 1100px; margin-left: -450px; opacity: .5;
  background: conic-gradient(from 160deg at 50% 0%, transparent 0deg, rgba(255,240,200,.35) 16deg, rgba(255,240,200,.35) 24deg, transparent 40deg); pointer-events: none; }
.performer { position: relative; }
.performer .pic { position: absolute; right: -40px; bottom: -10px; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cc); box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 0 6px rgba(255,255,255,.9); }
.performer .pic svg { width: 64px; color: #fff; }
.pf-name { font-family: var(--f-display); font-weight: 800; font-size: 84px; line-height: 1; position: relative; }
.pf-sub { font-size: 36px; color: var(--ink2); position: relative; }
.notes { position: absolute; left: 50%; top: 42%; }
.notes span { position: absolute; font-size: 64px; color: var(--cc); text-shadow: 0 4px 0 rgba(0,0,0,.3); }
.ps-song { font-size: 30px; color: var(--ink2); }
.rg > span.rn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- presentazione: regole e giochi ---------- */
.introscr { display: flex; flex-direction: column; padding: 120px 90px 40px; }
.introscr .in-stage { position: relative; flex: 1; }
.in-slide { position: absolute; inset: 0; display: flex; align-items: center; }
.in-kicker { font-size: 26px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); font-weight: 800; }
.in-rules { flex-direction: column; justify-content: center; text-align: center; gap: 18px; }
.in-rules h1 { font-family: var(--f-display); font-weight: 800; font-size: 104px; line-height: 1; margin: 0 0 20px; }
.in-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; width: 100%; }
.in-step {
  background: var(--panel); border: 3px solid var(--panel-b); border-radius: 32px; padding: 34px 26px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.in-step .ic { font-size: 84px; line-height: 1; filter: drop-shadow(0 6px 0 rgba(0,0,0,.25)); }
.in-step .tx { display: flex; flex-direction: column; gap: 8px; }
.in-step b { font-family: var(--f-display); font-size: 36px; line-height: 1.1; }
.in-step span { font-size: 24px; color: var(--ink2); line-height: 1.3; }
.in-step span b { font-family: inherit; font-size: inherit; color: var(--gold); }
.in-games { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.in-games .lbl { font-size: 22px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin-right: 8px; font-weight: 800; }
.in-games .chip { font-size: 26px; }

.in-card { gap: 90px; padding: 0 30px; }
.in-cardbox { flex: 0 0 auto; }
.in-cardbox .card3d { --w: 400px; }
.in-info { flex: 1; min-width: 0; }
.in-info h1 { font-family: var(--f-display); font-weight: 800; font-size: 120px; line-height: 1; margin: 8px 0 6px; color: var(--cc); text-shadow: 0 6px 0 rgba(0,0,0,.3); }
.in-tag { font-size: 34px; color: var(--ink2); font-style: italic; margin-bottom: 30px; }
.in-how { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 16px; }
.in-how li { display: flex; align-items: center; gap: 22px; font-size: 36px; line-height: 1.2; font-weight: 700; }
.in-how li b {
  flex: 0 0 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cb, var(--cc)); color: #fff; font-family: var(--f-display); font-size: 34px; box-shadow: 0 5px 0 rgba(0,0,0,.3);
}
.in-pts {
  display: inline-flex; align-items: center; gap: 16px; font-size: 28px; font-weight: 800; color: var(--gold);
  background: rgba(255,194,51,.1); border: 2px solid rgba(255,194,51,.4); border-radius: 22px; padding: 14px 24px;
}
.in-pts .coin { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #6b3a00; font-size: 26px; box-shadow: 0 4px 0 #b45f07; }

.in-foot { display: flex; align-items: center; gap: 30px; min-height: 90px; }
.in-dots { display: flex; gap: 10px; }
.in-dots span { width: 54px; height: 12px; border-radius: 9px; background: rgba(255,255,255,.12); overflow: hidden; }
.in-dots span i { display: block; height: 100%; width: 0; background: var(--cc); border-radius: 9px; }
.in-dots span.now { width: 90px; transition: width .3s; }
.in-ready { flex: 1; display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.in-ready .lbl { font-size: 22px; color: var(--ink2); margin-right: 10px; }
.in-ready .rp { position: relative; opacity: .45; filter: grayscale(.6); transition: opacity .3s, filter .3s; }
.in-ready .rp.ok { opacity: 1; filter: none; }
.in-ready .rp em { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--ok, #1fc67f); color: #fff; font-style: normal; font-size: 16px; font-weight: 900; display: grid; place-items: center; border: 3px solid #0b1628; }
.in-btns { display: flex; gap: 14px; align-items: center; }
.in-btns .btn-gold.small { font-size: 30px; padding: 18px 40px; }
.in-btns .btn-ghost { font-size: 22px; padding: 12px 22px; }

/* ---------- schermo intero ---------- */
.hometools { position: absolute; top: 34px; right: 40px; z-index: 3; display: flex; gap: 14px; align-items: center; }
.hometools .musicbtn { position: static; }
.fsbtn {
  display: inline-flex; align-items: center; gap: 12px; color: var(--ink2);
  width: 60px; height: 60px; justify-content: center; border-radius: 50%;
  background: var(--panel); border: 2px solid var(--panel-b);
  transition: border-color .2s, color .2s, background .2s, transform .15s;
}
.fsbtn i { display: grid; place-items: center; width: 28px; height: 28px; }
.fsbtn i svg { width: 28px; height: 28px; }
.fsbtn.big { width: auto; height: auto; padding: 12px 22px 12px 18px; border-radius: 999px; font-size: 22px; }
.fsbtn.big span { color: var(--ink); font-weight: 800; }
.fsbtn:focus, .fsbtn:hover { outline: none; border-color: var(--gold); color: var(--gold); }
.fsbtn:hover i, .fsbtn:focus i { animation: fsPulse .9s ease-in-out infinite; }
.fsbtn:active { transform: scale(.94); }
.fsbtn.on { color: var(--gold); border-color: rgba(255,194,51,.55); background: rgba(255,194,51,.12); }
@keyframes fsPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* ---------- avviso ritardi di connessione ---------- */
.lagbox { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 50; transition: transform .35s cubic-bezier(.2,1.4,.4,1); pointer-events: none; }
.lagbox.show { transform: translate(-50%, 0); }
.lagbox .lg { display: flex; align-items: center; gap: 10px; padding: 10px 20px 10px 14px; border-radius: 999px; font-size: 20px;
  background: rgba(40, 10, 30, .92); border: 2px solid #ff8a3d; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.5); white-space: nowrap; }
.lagbox .lg.tv { border-color: #ff3d5a; }
.lagbox .lg i { width: 12px; height: 12px; border-radius: 50%; background: #ff8a3d; animation: lagBlink 1s infinite; }
.lagbox .lg.tv i { background: #ff3d5a; }
.lagbox .lg span { color: #ffc9a8; }
@keyframes lagBlink { 50% { opacity: .25; } }

/* ---------- duello: conto alla rovescia ---------- */
.goscr .cdwrap { position: absolute; left: 0; right: 0; top: 190px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.goscr .cdlabel { font-size: 34px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); font-weight: 800; }
.goscr .cdnum { font-family: var(--f-display); font-weight: 800; font-size: 230px; line-height: 1; color: #fff; text-shadow: 0 10px 0 rgba(0,0,0,.35), 0 0 60px rgba(201,184,255,.5); }
.goscr .cdnum.go { color: var(--gold); text-shadow: 0 10px 0 #9a5b00, 0 0 80px rgba(255,194,51,.7); }
.goscr .cdrole { font-size: 28px; color: var(--ink2); }
.goscr .arena { top: 560px; }
.goscr .cdnum.ready { font-size: 150px; padding: 40px 0; color: #c9b8ff; }

/* ---------- 🩵 Che cos'è? ---------- */
.picframe { position: absolute; left: 205px; top: 190px; width: 810px; height: 810px; border-radius: 32px; overflow: hidden;
  background: #0d0820; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 6px rgba(18,184,200,.35); }
.picframe .picimg { width: 100%; height: 100%; object-fit: cover; display: block; will-change: filter, transform; }
.picframe.done .picimg { filter: none; transform: none; }
.picframe .tiles { position: absolute; inset: 0; }
.picframe .tile { position: absolute; width: 25%; height: 25%; background-size: 400% 400%; background-repeat: no-repeat;
  box-shadow: inset 0 0 0 2px rgba(13,8,32,.9); transition: left .6s cubic-bezier(.3,1.3,.5,1), top .6s cubic-bezier(.3,1.3,.5,1); }
.picframe .tile.ok { box-shadow: inset 0 0 0 1px rgba(13,8,32,.3); }
.picframe .picmode { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 8px 20px; border-radius: 999px;
  background: rgba(8,4,20,.7); font-size: 22px; font-weight: 800; white-space: nowrap; }
.picframe .credit { position: absolute; right: 14px; bottom: 12px; font-size: 16px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.45); padding: 4px 12px; border-radius: 999px; }

/* ---------- 🩷 Indizi ---------- */
.cluebox { position: absolute; left: 70px; top: 190px; width: 1080px; bottom: 60px; display: flex; flex-direction: column; gap: 16px; perspective: 1400px; }
.clues { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.clue { position: relative; flex: 1; display: flex; align-items: center; gap: 22px; padding: 0 28px; border-radius: 24px;
  background: rgba(255,255,255,.05); border: 3px dashed rgba(255,255,255,.14); transform-origin: 50% 0; }
.clue b { flex: 0 0 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: 34px;
  background: rgba(255,255,255,.1); color: var(--ink2); }
.clue .ctext { font-size: 38px; font-weight: 800; line-height: 1.15; visibility: hidden; }
.clue .lock { margin-left: auto; font-size: 26px; color: var(--ink2); }
.clue.open { background: linear-gradient(90deg, rgba(255,95,162,.22), rgba(255,95,162,.06)); border: 3px solid rgba(255,95,162,.55); }
.clue.open b { background: #ff5fa2; color: #fff; box-shadow: 0 5px 0 #9c1e5a; }
.clue.open .ctext { visibility: visible; }
.clue.open .lock { display: none; }
.cluepts { font-size: 26px; color: var(--ink2); text-align: center; }
.cluepts b { display: inline-block; color: var(--gold); font-family: var(--f-display); font-size: 36px; }

/* ---------- pausa ---------- */
.pausebtn { font-size: 24px; }
.pauseov { z-index: 70; }
.pauseov .pbox { text-align: center; padding: 50px 80px; border-radius: 36px; background: linear-gradient(180deg, #17345a, #0e1c33); border: 2px solid var(--panel-b); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.pauseov .pic { font-size: 110px; line-height: 1; }
.pauseov .pt { font-family: var(--f-display); font-weight: 800; font-size: 80px; margin: 10px 0; }
.pauseov p { font-size: 28px; color: var(--ink2); margin: 0 0 30px; }

.agebadge { display: inline-block; padding: 2px 10px; border-radius: 8px; border: 2px solid currentColor; font-weight: 900; margin: 0 6px; }
.pausebtn { display: grid; place-items: center; color: var(--ink); }

.pts.neg, .dl.neg { color: #ff6b81 !important; }

/* ---------- 🎉 Bonus ---------- */
.chip.c-bonus { color: #1f3300; }
.chip.c-bonus i svg { color: #1f3300; }
.funprompt { position: absolute; left: 120px; right: 120px; top: 200px; text-align: center; }
.funprompt small { display: block; font-size: 28px; color: var(--ink2); letter-spacing: .1em; text-transform: uppercase; font-weight: 800; margin-bottom: 18px; }
.funprompt .fp { font-family: var(--f-display); font-weight: 800; font-size: 76px; line-height: 1.1; }
.funprompt.small { top: 185px; }
.funprompt.small .fp { font-size: 46px; }
.funscr .strip { position: absolute; left: 0; right: 0; bottom: 50px; }
.fungrid { position: absolute; left: 90px; right: 90px; top: 330px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fungrid.n5, .fungrid.n6, .fungrid.n7, .fungrid.n8, .fungrid.n9 { grid-template-columns: repeat(3, 1fr); }
.funcard { position: relative; background: var(--panel); border: 3px solid var(--panel-b); border-radius: 26px; padding: 22px 24px 20px 84px; min-height: 120px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.funcard > b { position: absolute; left: 20px; top: 22px; width: 48px; height: 48px; border-radius: 50%; background: #a3e635; color: #1f3300; display: grid; place-items: center; font-family: var(--f-display); font-size: 28px; }
.funcard > span { font-size: 32px; font-weight: 800; line-height: 1.2; }
.funcard .fa { display: flex; align-items: center; gap: 10px; font-size: 22px; color: var(--ink2); }
.funcard .fa i { font-style: normal; font-weight: 800; color: var(--ink); }
.funcard .fa em { margin-left: auto; font-style: normal; color: var(--gold); font-weight: 800; }
.funcard.win { border-color: var(--gold); background: rgba(255,194,51,.12); }
.funcard .crown { position: absolute; right: -14px; top: -30px; font-size: 56px; }
.wheelbox { position: absolute; left: 120px; top: 200px; width: 760px; height: 760px; }
.wheelbox .wheel { width: 100%; height: 100%; }
.wheelsvg { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.wptr { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); z-index: 2; font-size: 70px; color: #fff; text-shadow: 0 4px 0 rgba(0,0,0,.4); }
.wside { position: absolute; left: 960px; right: 80px; top: 230px; display: flex; flex-direction: column; gap: 26px; }
.wside .wk { font-size: 30px; color: var(--ink2); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.wside .wv { display: flex; align-items: center; gap: 24px; }
.wside .wv b { font-family: var(--f-display); font-size: 64px; }
.wpen { background: var(--panel); border: 3px solid #a3e635; border-radius: 28px; padding: 26px 30px; }
.wpen small { display: block; font-size: 22px; color: var(--ink2); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.wpen span { display: block; font-family: var(--f-display); font-size: 48px; line-height: 1.15; margin-top: 8px; }
.wdo { position: absolute; left: 100px; right: 100px; top: 170px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.wdo .wname { font-size: 40px; font-weight: 800; }
.wdo .wpenbig { font-family: var(--f-display); font-weight: 800; font-size: 72px; line-height: 1.1; color: #a3e635; max-width: 1500px; }
.wdo .wvote { font-size: 28px; color: var(--ink2); }
.wheelscr.do .strip { position: absolute; left: 0; right: 0; bottom: 50px; }
.wverdict { font-family: var(--f-display); font-weight: 800; font-size: 130px; }
.wverdict.ok { color: #a3e635; } .wverdict.ko { color: #ff6b81; }
.wpts { font-size: 40px; color: var(--gold); font-weight: 800; }
.potwrap { position: absolute; left: 80px; top: 190px; width: 760px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.bomb { position: relative; font-size: 300px; line-height: 1; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.bomb .spark { position: absolute; right: 20px; top: 10px; font-size: 90px; animation: spark .25s infinite alternate; }
@keyframes spark { from { transform: scale(.7) rotate(-20deg); opacity: .6; } to { transform: scale(1.2) rotate(20deg); opacity: 1; } }
.pholder { display: flex; align-items: center; gap: 22px; }
.pholder b { font-family: var(--f-display); font-size: 60px; }
.pholder span { font-size: 30px; color: var(--ink2); }
.potq { position: absolute; left: 900px; right: 80px; top: 230px; background: var(--panel); border: 3px solid var(--panel-b); border-radius: 30px; padding: 30px; }
.potq .pq { font-size: 40px; font-weight: 800; line-height: 1.2; margin-bottom: 22px; }
.potq .popts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.potq .popts span { background: rgba(255,255,255,.07); border-radius: 18px; padding: 14px 18px; font-size: 28px; display: flex; gap: 12px; align-items: center; }
.potq .popts b { color: var(--gold); }
.ptrail { position: absolute; left: 900px; right: 80px; top: 720px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 26px; color: var(--ink2); }
.ptrail i { font-style: normal; }
.phelp { position: absolute; left: 80px; right: 80px; bottom: 50px; text-align: center; font-size: 26px; color: var(--ink2); }
.potscr.res .boom { position: absolute; left: 0; right: 0; top: 140px; text-align: center; font-size: 340px; line-height: 1; }
.potscr.res .bres { position: absolute; left: 0; right: 0; top: 560px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.potscr.res .bres b { font-family: var(--f-display); font-size: 56px; }
.potscr.res .bres .neg { font-size: 54px; font-weight: 900; color: #ff6b81; }
.potscr.res .bres span { font-size: 30px; color: var(--ink2); }

.funscr.vote .fungrid { right: 260px; }
