/* MFAST V7.6 shared experience layer
   Platform structure is consistent; each game keeps its own identity. */
:root{
  --mfast-cream:#fff8e9;
  --mfast-ink:#17213a;
  --mfast-red:#e43e50;
  --mfast-orange:#f28b35;
  --mfast-teal:#159b96;
  --mfast-blue:#3868d9;
  --mfast-purple:#7754c9;
  --mfast-radius:18px;
  --mfast-shadow:0 18px 55px rgba(0,0,0,.28);
  --mfast-accent:#7754c9;
  --mfast-accent-2:#3868d9;
  --mfast-accent-soft:rgba(119,84,201,.18);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,a,input,select,textarea{transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background-color .18s ease,opacity .18s ease}
button:not(:disabled):hover,.btn:hover{transform:translateY(-1px);filter:brightness(1.05)}
button:not(:disabled):active,.btn:active{transform:translateY(0)}
:focus-visible{outline:3px solid color-mix(in srgb,var(--mfast-accent) 72%,white);outline-offset:3px}
button:disabled{transform:none!important;filter:none!important}

/* Shared game identities */
[data-theme="spiderman"]{--mfast-accent:#ed3346;--mfast-accent-2:#3577e5;--mfast-accent-soft:rgba(237,51,70,.17);--mfast-halo:rgba(53,119,229,.30);--mfast-status-surface:rgba(53,119,229,.14);--mfast-private-surface:rgba(237,51,70,.13);--mfast-vote-surface:rgba(119,84,201,.15)}
[data-theme="batman"]{--mfast-accent:#f4c430;--mfast-accent-2:#8c6e00;--mfast-accent-soft:rgba(244,196,48,.15);--mfast-halo:rgba(244,196,48,.22);--mfast-status-surface:rgba(244,196,48,.11);--mfast-private-surface:rgba(119,84,201,.14);--mfast-vote-surface:rgba(53,119,229,.13)}
[data-theme="mafia"]{--mfast-accent:#008c45;--mfast-accent-2:#cd212a;--mfast-accent-soft:rgba(0,140,69,.13);--mfast-halo:rgba(244,245,240,.16);--mfast-italy-green:#008c45;--mfast-italy-ivory:#f4f5f0;--mfast-italy-red:#cd212a;--mfast-status-surface:rgba(244,245,240,.08);--mfast-private-surface:rgba(0,140,69,.13);--mfast-vote-surface:rgba(205,33,42,.12)}
[data-theme="spies"]{--mfast-accent:#00e887;--mfast-accent-2:#00a85a;--mfast-accent-soft:rgba(0,232,135,.16);--mfast-halo:rgba(0,168,90,.25);--mfast-status-surface:rgba(0,232,135,.13);--mfast-private-surface:rgba(0,168,90,.13);--mfast-vote-surface:rgba(245,158,11,.13)}
[data-theme="f1"]{--mfast-accent:#f0231c;--mfast-accent-2:#8c0b08;--mfast-accent-soft:rgba(240,35,28,.16);--mfast-halo:rgba(240,35,28,.25);--mfast-status-surface:rgba(255,255,255,.07);--mfast-private-surface:rgba(240,35,28,.13);--mfast-vote-surface:rgba(242,139,53,.12)}

/* Game catalogue */
.mfast-catalog{background:linear-gradient(145deg,#fff8e9 0%,#f8eee0 48%,#e9f5f2 100%)!important;color:var(--mfast-ink)!important}
.mfast-catalog .intro{background:linear-gradient(135deg,#fffdf8,#fff7e8)!important;border-color:#ddcfb7!important;box-shadow:0 18px 55px rgba(83,55,19,.12)!important}
.mfast-catalog .intro h1,.mfast-catalog .intro h2{color:var(--mfast-ink)}
.mfast-catalog .intro h1:after{content:"";display:block;width:84px;height:7px;margin-top:14px;border-radius:99px;background:linear-gradient(90deg,var(--mfast-red),var(--mfast-orange),var(--mfast-teal),var(--mfast-blue),var(--mfast-purple))}
.mfast-catalog .muted{color:#667087!important}
.mfast-catalog .how div{background:white!important;border-color:#dfd3bd!important;color:#687086!important}
.mfast-catalog .how b{color:var(--mfast-ink)!important}
.mfast-catalog .card{border-color:rgba(255,255,255,.14);box-shadow:var(--mfast-shadow)}
.mfast-catalog .card:hover{transform:translateY(-3px);border-color:var(--accent,#655ee8)}
.mfast-catalog .card.mafia{--accent:#008c45;--accent2:#cd212a;--glow:#f4f5f0;background:linear-gradient(90deg,#008c45 0 33.33%,#f4f5f0 33.33% 66.66%,#cd212a 66.66%) top/100% 7px no-repeat,linear-gradient(150deg,#1d2220,#0e1110)!important;border-color:#6b746f!important}
.mfast-catalog .card.mafia .tag{background:#f4f5f0;color:#173629;border-color:#dedfd9}
.mfast-catalog .card.mafia .btn{background:linear-gradient(135deg,#008c45,#006b35)}
.mfast-catalog .back,.mfast-catalog .foot,.mfast-catalog .foot a{color:#4f5d73!important}

/* Shared game console shell */
.mfast-console{
  min-height:100vh;
  background:
    radial-gradient(circle at 12% -10%,var(--mfast-halo),transparent 37%),
    radial-gradient(circle at 94% 14%,var(--mfast-accent-soft),transparent 34%),
    linear-gradient(150deg,#101a2c 0%,#07101f 58%,#050a12 100%)!important;
  color:#f8fbff;
}
.mfast-console[data-theme="batman"]{background:radial-gradient(circle at 15% -5%,rgba(244,196,48,.20),transparent 33%),linear-gradient(150deg,#171713,#090a0c 58%,#030405)!important}
.mfast-console[data-theme="mafia"]{background:radial-gradient(circle at 12% -5%,rgba(0,140,69,.14),transparent 36%),radial-gradient(circle at 92% 4%,rgba(205,33,42,.10),transparent 32%),linear-gradient(150deg,#181b1a,#0d0f0e 62%,#070808)!important}
.mfast-console[data-theme="f1"]{background:radial-gradient(circle at 86% -8%,rgba(240,35,28,.25),transparent 34%),linear-gradient(150deg,#18191c,#090a0c 62%,#040405)!important}
.mfast-console-nav{width:min(1100px,calc(100% - 28px));margin:14px auto -8px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:#b9c6d8;font-size:11px;font-weight:900;letter-spacing:.10em;text-transform:uppercase}
.mfast-console-nav a{color:#fff;text-decoration:none;padding:8px 11px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(8,16,30,.68)}
.mfast-console-nav strong{color:var(--mfast-accent);text-align:center}
.mfast-console .c,.mfast-console .gateway{
  border-color:color-mix(in srgb,var(--mfast-accent) 34%,#30425c)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.52),inset 0 1px rgba(255,255,255,.04)!important;
}
.mfast-console .c>h1:first-child{margin-top:4px}
.mfast-console .c>h1:first-child:after,.mfast-console .gateway>div>h1:first-child:after{content:"";display:block;width:72px;height:5px;margin-top:12px;border-radius:99px;background:linear-gradient(90deg,var(--mfast-accent),var(--mfast-accent-2))}
.mfast-console[data-theme="mafia"] .c>h1:first-child:after,.mfast-console[data-theme="mafia"] .gateway>div>h1:first-child:after{width:96px;background:linear-gradient(90deg,var(--mfast-italy-green) 0 33.33%,var(--mfast-italy-ivory) 33.33% 66.66%,var(--mfast-italy-red) 66.66%)}
.mfast-console[data-theme="mafia"] .mfast-console-nav strong{color:var(--mfast-italy-ivory)}
.mfast-console[data-theme="mafia"] .mfast-console-nav{border-bottom:1px solid rgba(245,240,228,.13);padding-bottom:10px}
.mfast-console[data-theme="mafia"] .c,.mfast-console[data-theme="mafia"] .gateway,.mfast-console[data-theme="mafia"] .rules-panel{background:linear-gradient(180deg,rgba(24,39,29,.97),rgba(13,23,17,.98))!important}
.mfast-console[data-theme="mafia"] .notice,.mfast-console[data-theme="mafia"] .review-note,.mfast-console[data-theme="mafia"] .roundbox,.mfast-console[data-theme="mafia"] details.optional,.mfast-console[data-theme="mafia"] .rule,.mfast-console[data-theme="mafia"] .secret-cover,.mfast-console[data-theme="mafia"] .target-card{background:#192a20!important;border-color:#496b56!important}
.mfast-console[data-theme="mafia"] input,.mfast-console[data-theme="mafia"] textarea,.mfast-console[data-theme="mafia"] select{background:#0d1811!important;border-color:#4b7058!important}
.mfast-console[data-theme="mafia"] .sec{background:#344f3e!important;color:var(--mfast-italy-ivory)!important}
.mfast-console[data-theme="mafia"] .vote-choice,.mfast-console[data-theme="mafia"] .target-choice{background:#142219!important;border-color:#405f4b!important}
.mfast-console[data-theme="mafia"] .autopilot-box{background:#14251a!important;border-color:var(--mfast-italy-green)!important}
.mfast-console[data-theme="mafia"] h1,.mfast-console[data-theme="mafia"] h2{color:var(--mfast-italy-ivory)}
.mfast-console h2{border-bottom-color:color-mix(in srgb,var(--mfast-accent) 30%,#34445f)!important}
.mfast-console button:not(.sec):not(.good):not(.warn):not(.danger-auto){background:linear-gradient(135deg,var(--mfast-accent),var(--mfast-accent-2))!important;color:#fff}
.mfast-console[data-theme="batman"] button:not(.sec):not(.good):not(.warn):not(.danger-auto){color:#17130a}
.mfast-console[data-theme="spiderman"] button:not(.sec):not(.good):not(.warn):not(.danger-auto){background:linear-gradient(135deg,#c92336,#245bb5)!important}
.mfast-console[data-theme="spies"] button:not(.sec):not(.good):not(.warn):not(.danger-auto){background:linear-gradient(135deg,#00e887,#00b968)!important;color:#03140c!important}
.mfast-console[data-theme="f1"] button:not(.sec):not(.good):not(.warn):not(.danger-auto){background:linear-gradient(135deg,#ca1712,#8c0b08)!important}
.mfast-console input,.mfast-console textarea,.mfast-console select{border-color:color-mix(in srgb,var(--mfast-accent) 28%,#465b85)!important;background:rgba(5,13,25,.88)!important}
.mfast-console .notice,.mfast-console .review-note,.mfast-console .roundbox,.mfast-console details.optional,.mfast-console .rule,.mfast-console .panel,.mfast-console .kpi{
  border-color:color-mix(in srgb,var(--mfast-accent) 28%,#34496f)!important;
}
.mfast-console .eyebrow,.mfast-console .host-label,.mfast-console .tag{background:var(--mfast-accent)!important;color:#fff!important}
.mfast-console[data-theme="batman"] .eyebrow,.mfast-console[data-theme="batman"] .host-label,.mfast-console[data-theme="batman"] .tag{color:#17130a!important}
.mfast-console[data-theme="spiderman"] .eyebrow,.mfast-console[data-theme="spiderman"] .host-label,.mfast-console[data-theme="spiderman"] .tag{background:#c92336!important}
.mfast-console[data-theme="mafia"] .eyebrow,.mfast-console[data-theme="mafia"] .host-label,.mfast-console[data-theme="mafia"] .tag{background:#087443!important}
.mfast-console[data-theme="f1"] .eyebrow,.mfast-console[data-theme="f1"] .host-label,.mfast-console[data-theme="f1"] .tag{background:#ca1712!important}
.mfast-console[data-theme="spies"] .eyebrow,.mfast-console[data-theme="spies"] .host-label,.mfast-console[data-theme="spies"] .tag{color:#fff!important}
.mfast-console .pill,.mfast-console .type-pill{border-color:color-mix(in srgb,var(--mfast-accent) 55%,#46617f)!important}
.mfast-console .code{border-color:color-mix(in srgb,var(--mfast-accent) 55%,#47688c)!important}

/* Setup screens */
.mfast-configure .c{max-width:1050px;margin-inline:auto}
.mfast-configure .review-note{border-left:5px solid var(--mfast-accent)!important;background:linear-gradient(135deg,var(--mfast-accent-soft),rgba(15,28,46,.88))!important}
.mfast-configure details{overflow:hidden}
.mfast-configure details[open]>summary{color:var(--mfast-accent)}
.mfast-configure label{display:block;margin-top:7px;font-size:12px;font-weight:850;letter-spacing:.035em;text-transform:uppercase;color:#ccd7e7}
.mfast-configure #saveBtn{position:sticky;bottom:10px;z-index:12;box-shadow:0 10px 30px rgba(0,0,0,.45)}

/* Host consoles */
.mfast-host .hostbadge{border-color:color-mix(in srgb,var(--mfast-accent) 45%,#4b648e)!important}
.mfast-host .actiongrid{padding:10px;border:1px solid color-mix(in srgb,var(--mfast-accent) 30%,#34445f);border-radius:16px;background:rgba(5,13,25,.52)}
.mfast-host .row{border-bottom-color:rgba(255,255,255,.10)!important}
.mfast-host #sharePanel .notice{border-left:5px solid #49c98a!important}
.mfast-lock-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:16px}
.mfast-lock-actions button{min-height:50px}
.mfast-lock-actions .mfast-lock-danger{background:linear-gradient(135deg,#d82e42,#891524)!important;color:white!important}

/* Player portals */
.mfast-player .w{margin-top:18px}
.mfast-player .c{backdrop-filter:blur(7px)}
.mfast-player .rule,.mfast-player .notice{box-shadow:inset 0 1px rgba(255,255,255,.035)}
.mfast-player .autopilot-box{border-color:var(--mfast-accent)!important;box-shadow:0 10px 30px rgba(0,0,0,.48)!important}
.mfast-player .auto-progress>span{background:linear-gradient(90deg,var(--mfast-accent-2),var(--mfast-accent))!important}
.mfast-player[data-theme="mafia"] .auto-progress>span{background:linear-gradient(90deg,var(--mfast-italy-green) 0 33.33%,var(--mfast-italy-ivory) 33.33% 66.66%,var(--mfast-italy-red) 66.66%)!important}
.mfast-player[data-theme="mafia"] .identity{background:linear-gradient(145deg,#24543b,#16261d)!important;border-color:#4d795f!important}
.mfast-player[data-theme="mafia"] .identity.vill{background:linear-gradient(145deg,#71333a,#2b171a)!important;border-color:#a45960!important}
.mfast-player .vote-choice.selected,.mfast-player .target-choice.selected{border-color:var(--mfast-accent)!important;box-shadow:0 0 0 2px var(--mfast-accent-soft)}

/* Projector / live screens */
.mfast-display{overflow-x:hidden}
.mfast-display .brand{color:var(--mfast-accent)!important}
.mfast-display .hero{position:relative;overflow:hidden;border-color:color-mix(in srgb,var(--mfast-accent) 48%,#35516f)!important;background:linear-gradient(145deg,var(--mfast-accent-soft),rgba(9,20,36,.94))!important}
.mfast-display .hero:before{content:"";position:absolute;width:440px;height:440px;border-radius:50%;right:-210px;top:-270px;background:var(--mfast-accent);filter:blur(80px);opacity:.13;pointer-events:none}
.mfast-display .phase,.mfast-display .timer{color:#fff;text-shadow:0 0 30px var(--mfast-halo)}
.mfast-display .timer{font-variant-numeric:tabular-nums}
.mfast-display .kpi{border-top:5px solid var(--mfast-accent)!important}
.mfast-display .kpi:nth-child(even){border-top-color:var(--mfast-accent-2)!important}
.mfast-display[data-theme="mafia"] .kpi:nth-child(2),.mfast-display[data-theme="mafia"] .kpi:nth-child(4){border-top-color:var(--mfast-italy-red)!important}
.mfast-display[data-theme="mafia"] .timer{text-shadow:0 0 30px rgba(245,240,228,.18)}
.mfast-display[data-theme="mafia"] .hero,.mfast-display[data-theme="mafia"] .panel,.mfast-display[data-theme="mafia"] .kpi{background:linear-gradient(150deg,#1b2d22,#101a14)!important;border-color:#4d6d58!important}

/* Owner console refinements */
.mfast-admin .panel{backdrop-filter:blur(8px)}
.mfast-admin .stat{transition:transform .18s ease,box-shadow .18s ease}
.mfast-admin .stat:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(70,46,16,.10)}
.mfast-admin .game:hover{box-shadow:0 9px 20px rgba(70,46,16,.10)}

/* Universal game-code entrance */
.join-form{display:grid;gap:8px}
.join-form label{font-size:12px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}
.join-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.join-controls input{width:100%;min-height:58px;margin:0;padding:13px 16px;border:2px solid var(--mfast-ink);border-radius:14px;background:#fff;color:var(--mfast-ink);font:900 22px/1 Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;box-shadow:inset 0 2px 0 rgba(23,33,58,.04)}
.join-controls input::placeholder{color:#9096a5;letter-spacing:.06em}
.join-controls button{min-height:58px;margin:0;padding:13px 19px;border:0;border-radius:14px;background:var(--mfast-ink);color:#fff;font:900 14px/1 Arial,sans-serif;cursor:pointer;white-space:nowrap}
.join-form small{color:#4e586d}
.join-result{padding:11px 13px;border:2px solid #9aa5b6;border-radius:12px;background:#fff;color:var(--mfast-ink);font-weight:800;line-height:1.4}
.join-result.is-success{border-color:var(--mfast-teal);background:#e3f8f4;color:#075f5a}
.join-result.is-notice{border-color:var(--mfast-orange);background:#fff0d8;color:#71410b}
.join-result.is-error{border-color:var(--mfast-red);background:#ffe8eb;color:#8c1827}
.join-result.is-loading{border-color:var(--mfast-blue);background:#eaf0ff;color:#21479e}
.mfast-catalog .card h2{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.45)}
.mfast-catalog .card .tag{color:#fff}
.mfast-catalog .join-controls input{background:#fff!important;color:var(--mfast-ink)!important;border-color:var(--mfast-ink)!important}
.mfast-catalog .join-controls button{background:var(--mfast-ink)!important;color:#fff!important}

/* Setup and Host Control are clear operational workspaces. */
body.mfast-console.mfast-configure,body.mfast-console.mfast-host{
  background:linear-gradient(145deg,var(--mfast-cream) 0%,#f6ecdc 48%,#e8f4f1 100%)!important;
  color:var(--mfast-ink)!important;
}
.mfast-configure .mfast-console-nav,.mfast-host .mfast-console-nav{
  width:min(1100px,calc(100% - 28px));margin:14px auto -7px;padding:10px 12px;border:1px solid #dacdb8;border-left:6px solid var(--mfast-accent);border-radius:15px;background:rgba(255,253,248,.93);color:#687086;box-shadow:0 8px 24px rgba(70,46,16,.08)
}
.mfast-configure .mfast-console-nav a,.mfast-host .mfast-console-nav a{background:var(--mfast-ink);border-color:var(--mfast-ink);color:#fff}
.mfast-configure .mfast-console-nav strong,.mfast-host .mfast-console-nav strong{color:var(--mfast-ink)!important}
.mfast-configure .c,.mfast-host .c{
  background:#fffdf8!important;color:var(--mfast-ink)!important;border:1px solid #dacdb8!important;border-top:7px solid var(--mfast-accent)!important;box-shadow:0 20px 52px rgba(70,46,16,.14)!important;
}
.mfast-configure .c>h1:first-child,.mfast-host .c>h1:first-child{color:var(--mfast-ink)!important;text-shadow:none!important;letter-spacing:-.035em}
.mfast-configure h2,.mfast-host h2{color:var(--mfast-ink)!important;border-bottom-color:#ddcfba!important}
.mfast-configure h3,.mfast-host h3{color:var(--mfast-ink)!important}
.mfast-configure label{color:#4f5d73!important}
.mfast-configure .muted,.mfast-configure .helper,.mfast-host .muted,.mfast-host .setup-note,.mfast-host .auditrow small{color:#687086!important}
.mfast-configure input,.mfast-configure textarea,.mfast-configure select,.mfast-host input,.mfast-host textarea,.mfast-host select{
  background:#fff!important;color:var(--mfast-ink)!important;border:1px solid #b9c1cf!important;box-shadow:inset 0 1px 2px rgba(23,33,58,.05)
}
.mfast-configure input:disabled,.mfast-host input:disabled{background:#eee9df!important;color:#50596b!important}
.mfast-configure .notice,.mfast-configure .review-note,.mfast-configure .roundbox,.mfast-configure details.optional,.mfast-host .notice,.mfast-host .vote-result{
  background:#f8f2e7!important;color:var(--mfast-ink)!important;border-color:#d8c9b3!important
}
.mfast-configure .review-note{background:linear-gradient(135deg,var(--mfast-accent-soft),#fffaf1)!important;border-left:6px solid var(--mfast-accent)!important}
.mfast-configure .suggestion{background:#f1f4fb!important;color:var(--mfast-ink)!important;border-color:#bac6da!important}
.mfast-host .hostbadge{background:#eef2f8!important;color:var(--mfast-ink)!important;border-color:#bcc7d6!important}
.mfast-host .row,.mfast-host .auditrow{border-bottom-color:#ddd4c5!important}
.mfast-host .actiongrid{background:#f4eee4!important;border-color:#d6c9b6!important}
.mfast-configure .sec,.mfast-host .sec{background:var(--mfast-ink)!important;color:#fff!important}
.mfast-configure .good,.mfast-host .good{background:linear-gradient(135deg,var(--mfast-teal),#0d706b)!important;color:#fff!important}
.mfast-configure button.warn,.mfast-host button.warn{background:linear-gradient(135deg,var(--mfast-orange),#ca6014)!important;color:#271305!important}
.mfast-host .late-badge{background:#fff0c9!important;color:#704906!important;border-color:#c9962d!important}
.mfast-host .type-pill{background:#e9effa!important;color:#294e86!important;border-color:#9fb3d0!important}
.mfast-configure[data-theme="mafia"] .c,.mfast-host[data-theme="mafia"] .c{border-top-color:transparent!important;background:linear-gradient(90deg,var(--mfast-italy-green) 0 33.33%,var(--mfast-italy-ivory) 33.33% 66.66%,var(--mfast-italy-red) 66.66%) top/100% 7px no-repeat,#fffdf8!important}
.mfast-configure[data-theme="mafia"] .notice,.mfast-configure[data-theme="mafia"] .review-note,.mfast-configure[data-theme="mafia"] .roundbox,.mfast-configure[data-theme="mafia"] details.optional,.mfast-configure[data-theme="mafia"] .rule,.mfast-host[data-theme="mafia"] .notice,.mfast-host[data-theme="mafia"] .review-note,.mfast-host[data-theme="mafia"] .roundbox,.mfast-host[data-theme="mafia"] details.optional,.mfast-host[data-theme="mafia"] .rule,.mfast-host[data-theme="mafia"] .secret-cover,.mfast-host[data-theme="mafia"] .target-card{background:#f7f2e8!important;color:var(--mfast-ink)!important;border-color:#b9c9bd!important}
.mfast-configure[data-theme="mafia"] input,.mfast-configure[data-theme="mafia"] textarea,.mfast-configure[data-theme="mafia"] select,.mfast-host[data-theme="mafia"] input,.mfast-host[data-theme="mafia"] textarea,.mfast-host[data-theme="mafia"] select{background:#fff!important;color:var(--mfast-ink)!important;border-color:#91a99a!important}
.mfast-configure[data-theme="mafia"] .review-note{background:linear-gradient(135deg,#e4f1e8,#fffaf1)!important;border-left-color:#087443!important}
.mfast-console[data-theme="mafia"] button:not(.sec):not(.good):not(.warn):not(.danger-auto):not(.mfast-lock-danger){background:linear-gradient(135deg,#087443,#05532f)!important;color:#fff!important}
.mfast-player[data-theme="mafia"] .notice,.mfast-player[data-theme="mafia"] .review-note,.mfast-player[data-theme="mafia"] .roundbox,.mfast-player[data-theme="mafia"] details.optional,.mfast-player[data-theme="mafia"] .rule,.mfast-player[data-theme="mafia"] .secret-cover,.mfast-player[data-theme="mafia"] .target-card{color:#f7faf8!important}
.mfast-player[data-theme="mafia"] input,.mfast-player[data-theme="mafia"] textarea,.mfast-player[data-theme="mafia"] select{color:#fff!important}
.mfast-configure h1,.mfast-host h1{letter-spacing:-.045em;line-height:1;text-wrap:balance}
.mfast-configure h2,.mfast-host h2{margin:28px -4px 14px;padding:12px 14px!important;border:0!important;border-left:6px solid var(--mfast-accent)!important;border-radius:12px;background:linear-gradient(90deg,var(--mfast-accent-soft),transparent 82%);font-size:clamp(21px,3vw,29px)}
.mfast-configure .roundbox,.mfast-configure details.optional{box-shadow:0 7px 18px rgba(70,46,16,.07)}
.mfast-host #sharePanel .notice{background:#e5f6ef!important}
.mfast-host #voteNotice .notice{background:#fff0d6!important;border-color:#e0a34b!important}
.mfast-host #winnerPanel .notice{background:#eee8ff!important;border-color:#9c84db!important}
.mfast-host .host-actions button{min-height:54px}
.mfast-reuse-panel{margin:28px 0 5px;padding:19px;border:1px solid #d8c9b3;border-left:7px solid var(--mfast-accent);border-radius:18px;background:linear-gradient(135deg,#fff,#f4eee4);box-shadow:0 10px 28px rgba(70,46,16,.09)}.mfast-reuse-panel h2{margin:6px 0 8px!important;padding:0!important;border:0!important;background:none!important}.mfast-reuse-panel p{margin:6px 0 13px}.mfast-reuse-panel small{display:block;margin-top:10px;color:#687086}.mfast-reuse-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mfast-reuse-actions button{min-height:55px}.mfast-reuse-actions button:last-child{background:linear-gradient(135deg,var(--mfast-purple),var(--mfast-blue))!important}
.mfast-past-runs{margin-top:14px;padding:12px;border:1px solid #cfc3b2;border-radius:13px;background:#fffdf8}.mfast-past-runs summary{cursor:pointer;font-weight:900;color:var(--mfast-ink)}.mfast-past-runs>div{display:flex;justify-content:space-between;gap:12px;padding:10px 2px;border-bottom:1px solid #e1d8ca;color:var(--mfast-ink)}.mfast-past-runs>div:last-child{border-bottom:0}.mfast-past-runs span{color:#687086;text-align:right}

/* Guided Host lobby and fast joining */
.mfast-host-guide{margin:16px 0 20px;padding:18px;border:1px solid #d9cbb6;border-radius:18px;background:linear-gradient(135deg,#fff,#f5eee2);box-shadow:0 10px 26px rgba(70,46,16,.09)}
.mfast-guide-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mfast-guide-head h2{margin:6px 0 0!important;padding:0!important;border:0!important;background:none!important}.mfast-guide-head>b{font-size:22px;color:var(--mfast-accent)}
.mfast-eyebrow{font-size:10px;font-weight:1000;letter-spacing:.14em;color:#5c6678}.mfast-guide-progress{height:9px;margin:14px 0;border-radius:99px;background:#e4ddd1;overflow:hidden}.mfast-guide-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--mfast-accent),var(--mfast-accent-2))}
.mfast-guide-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mfast-guide-steps div{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #ddd4c7;border-radius:11px;color:#687086;background:#fff}.mfast-guide-steps span{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:50%;background:#e9e4db;font-weight:900}.mfast-guide-steps .is-done{color:#116954;border-color:#9ed5c5;background:#eaf8f3}.mfast-guide-steps .is-done span{background:var(--mfast-teal);color:#fff}.mfast-guide-next{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}.mfast-guide-next button{width:auto!important;margin:0!important}
.mfast-qr-join{width:150px;margin:14px auto 0;padding:8px;border:1px solid #cfc3b1;border-radius:14px;background:#fff}.mfast-qr-join svg,.mfast-display-qr svg{display:block;width:100%;height:auto}.mfast-display-qr{width:120px;padding:6px;border-radius:12px;background:#fff;color:#17213a;text-align:center}.mfast-display-qr small{display:block;margin-top:4px;font-size:9px;font-weight:1000;letter-spacing:.12em}

/* Connection recovery */
.mfast-sync{position:fixed;z-index:90;top:12px;right:12px;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #8ba0bd;border-radius:999px;background:#17213a;color:#fff;font:800 11px/1.2 Arial,sans-serif;box-shadow:0 8px 28px rgba(0,0,0,.25)}.mfast-sync:before{content:"";width:8px;height:8px;border-radius:50%;background:#f28b35}.mfast-sync button{width:auto!important;min-height:0!important;margin:0!important;padding:5px 8px!important;border-radius:99px!important;font-size:10px!important}.mfast-sync.is-ok:before{background:#40c890}.mfast-sync.is-offline:before,.mfast-sync.is-error:before{background:#f04b5d}.mfast-sync.is-quiet{opacity:.32;transform:translateY(-4px)}.mfast-sync.is-quiet:hover{opacity:1;transform:none}

/* Accessibility panel and modes */
.mfast-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.mfast-access{position:fixed;z-index:95;left:12px;bottom:12px;font:800 12px/1.3 Arial,sans-serif}.mfast-access-toggle{width:auto!important;min-height:42px!important;margin:0!important;padding:9px 12px!important;border:2px solid #fff!important;border-radius:999px!important;background:#17213a!important;color:#fff!important;box-shadow:0 8px 30px rgba(0,0,0,.3)}.mfast-access-toggle span{font-size:9px;letter-spacing:.1em}.mfast-access-menu{position:absolute;left:0;bottom:52px;width:205px;padding:13px;border:1px solid #d5c8b5;border-radius:14px;background:#fffdf8;color:#17213a;box-shadow:0 14px 38px rgba(0,0,0,.28)}.mfast-access-menu strong{display:block;margin-bottom:7px}.mfast-access-menu label{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:8px 0!important;color:#17213a!important;text-transform:none!important;letter-spacing:0!important}.mfast-access-menu input{width:18px!important;height:18px!important;margin:0!important;padding:0!important}.mfast-large-text{font-size:118%}.mfast-high-contrast .mfast-console{filter:contrast(1.18)}.mfast-high-contrast :focus-visible{outline:4px solid #ffeb3b!important}.mfast-reduced-motion *,.mfast-reduced-motion *:before,.mfast-reduced-motion *:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}

/* Player screens keep the story atmosphere inside a consistent MFAST shell. */
.mfast-player .mfast-console-nav{
  margin-top:12px;padding:10px 12px;border:1px solid rgba(255,255,255,.72);border-left:6px solid var(--mfast-accent);border-radius:15px;background:rgba(255,250,241,.96);color:#687086;box-shadow:0 12px 32px rgba(0,0,0,.24)
}
.mfast-player .mfast-console-nav a{background:var(--mfast-ink);border-color:var(--mfast-ink);color:#fff}
.mfast-player .mfast-console-nav strong{color:var(--mfast-ink)!important}
.mfast-player .c,.mfast-player .gateway{border-top:6px solid var(--mfast-accent)!important}
.mfast-player button,.mfast-player .btn{border-radius:14px!important;font-weight:900!important}
.mfast-player input,.mfast-player textarea,.mfast-player select{border-radius:14px!important}
.mfast-player .notice,.mfast-player .identity,.mfast-player .rule,.mfast-player .secret-cover,.mfast-player .target-card{border-radius:16px!important}

/* Mafia uses the Italian tricolour on a neutral charcoal stage—no muddy green wash. */
body.mfast-player[data-theme="mafia"],body.mfast-display[data-theme="mafia"]{background:radial-gradient(circle at 12% -5%,rgba(0,140,69,.16),transparent 34%),radial-gradient(circle at 90% 2%,rgba(205,33,42,.14),transparent 34%),linear-gradient(150deg,#171a19,#0c0e0d 62%,#060707)!important}
.mfast-player[data-theme="mafia"] .c,.mfast-player[data-theme="mafia"] .gateway{background:linear-gradient(90deg,var(--mfast-italy-green) 0 33.33%,var(--mfast-italy-ivory) 33.33% 66.66%,var(--mfast-italy-red) 66.66%) top/100% 7px no-repeat,linear-gradient(180deg,#202321f5,#111312fa)!important;border-color:#626a66!important}
.mfast-player[data-theme="mafia"] .notice,.mfast-player[data-theme="mafia"] .review-note,.mfast-player[data-theme="mafia"] .roundbox,.mfast-player[data-theme="mafia"] details.optional,.mfast-player[data-theme="mafia"] .rule,.mfast-player[data-theme="mafia"] .secret-cover,.mfast-player[data-theme="mafia"] .target-card{background:#1d211f!important;border-color:#59625d!important}
.mfast-player[data-theme="mafia"] input,.mfast-player[data-theme="mafia"] textarea,.mfast-player[data-theme="mafia"] select{background:#0e100f!important;border-color:#67716b!important}
.mfast-player[data-theme="mafia"] .sec{background:#454c48!important;color:#fff!important}
.mfast-player[data-theme="mafia"] .vote-choice,.mfast-player[data-theme="mafia"] .target-choice{background:#171a18!important;border-color:#525b56!important}
.mfast-player[data-theme="mafia"] .autopilot-box{background:#171b18!important;border-color:var(--mfast-italy-green)!important}
.mfast-player[data-theme="mafia"] h1,.mfast-player[data-theme="mafia"] h2{color:#fff!important}
.mfast-player[data-theme="mafia"] .identity{background:linear-gradient(145deg,#006c35,#153324)!important;border-color:#42a874!important}
.mfast-player[data-theme="mafia"] .identity.vill{background:linear-gradient(145deg,#8d1920,#341316)!important;border-color:#d75d64!important}
.mfast-player[data-theme="mafia"] .rules-panel{background:#171a18!important;border-color:#626b66!important}

/* V7.3.4 gameplay typography, page rhythm and contrast */
.mfast-console{font-family:"Aptos","Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.5}
.mfast-console h1,.mfast-console h2,.mfast-console h3,.mfast-console button{
  font-family:"Aptos Display","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
.mfast-console h1,.mfast-console h2,.mfast-console h3{text-wrap:balance}
.mfast-player .w{width:min(900px,calc(100% - 28px));margin-top:22px}
.mfast-player .c,.mfast-player .gateway{padding:clamp(20px,4vw,38px)!important}
.mfast-player .c>h1,.mfast-player .gateway h1{letter-spacing:-.045em;line-height:.94}
.mfast-player .c>h2,.mfast-player .gateway h2{letter-spacing:-.025em;line-height:1.12}
.mfast-player #home,.mfast-player #join{
  background:radial-gradient(circle at 100% 0,var(--mfast-accent-soft),transparent 34%),linear-gradient(165deg,rgba(19,31,52,.98),rgba(7,14,26,.99))!important;
}
.mfast-player #home>p,.mfast-player #gameGateway p{max-width:670px}
.mfast-player #home .eyebrow,.mfast-player #gameGateway .eyebrow{box-shadow:0 8px 22px rgba(0,0,0,.26)}
.mfast-player #portal{position:relative;background:linear-gradient(180deg,rgba(14,24,41,.98),rgba(7,13,23,.99))!important}
.mfast-player #portal:before{content:"";position:absolute;inset:0 0 auto;height:7px;border-radius:22px 22px 0 0;background:linear-gradient(90deg,var(--mfast-accent),var(--mfast-accent-2));pointer-events:none}
.mfast-player[data-theme="mafia"] #portal:before{background:linear-gradient(90deg,var(--mfast-italy-green) 0 33.33%,var(--mfast-italy-ivory) 33.33% 66.66%,var(--mfast-italy-red) 66.66%)}
.mfast-player #pt{margin:18px 0 12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.13)!important;font-size:clamp(24px,4vw,34px);letter-spacing:-.035em}
.mfast-player #liveChip{
  top:8px!important;margin:0 0 14px!important;padding:10px 13px!important;border:1px solid #ded4c1!important;border-left:6px solid #29a76f!important;border-radius:14px!important;background:rgba(255,250,241,.97)!important;color:var(--mfast-ink)!important;box-shadow:0 10px 24px rgba(0,0,0,.24)!important;letter-spacing:.035em
}
.mfast-player #status,.mfast-player #mission,.mfast-player #votes{position:relative;display:grid;gap:11px;margin:14px 0;padding:14px;border:1px solid rgba(255,255,255,.13);border-radius:22px;box-shadow:inset 0 1px rgba(255,255,255,.04),0 10px 28px rgba(0,0,0,.18)}
.mfast-player #status:empty,.mfast-player #mission:empty,.mfast-player #votes:empty{display:none}
.mfast-player #status{background:linear-gradient(145deg,var(--mfast-status-surface),rgba(4,10,20,.46));border-left:6px solid var(--mfast-accent-2)}
.mfast-player #mission{background:linear-gradient(145deg,var(--mfast-private-surface),rgba(4,10,20,.5));border-left:6px solid var(--mfast-accent)}
.mfast-player #votes{background:linear-gradient(145deg,var(--mfast-vote-surface),rgba(4,10,20,.5));border-left:6px solid var(--mfast-purple)}
.mfast-player #status:not(:empty):before,.mfast-player #mission:not(:empty):before,.mfast-player #votes:not(:empty):before{grid-column:1/-1;display:inline-flex;justify-self:start;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:1000;letter-spacing:.13em;color:#fff}
.mfast-player #status:not(:empty):before{content:"YOUR LIVE STATUS";background:var(--mfast-accent-2)}
.mfast-player #mission:not(:empty):before{content:"YOUR PRIVATE PLAY";background:var(--mfast-accent)}
.mfast-player #votes:not(:empty):before{content:"VOTING";background:var(--mfast-purple)}
.mfast-player[data-theme="batman"] #status:not(:empty):before{color:#fff}
.mfast-player[data-theme="batman"] #mission:not(:empty):before{color:#17130a}
.mfast-player[data-theme="spiderman"] #status:not(:empty):before{background:#245bb5}
.mfast-player[data-theme="spiderman"] #mission:not(:empty):before{background:#c92336}
.mfast-player[data-theme="mafia"] #mission:not(:empty):before{background:#087443}
.mfast-player[data-theme="f1"] #mission:not(:empty):before{background:#ca1712}
.mfast-player[data-theme="spies"] #mission:not(:empty):before{color:#071823}
.mfast-player #status>.notice,.mfast-player #status>.identity,.mfast-player #status>.simple-now,.mfast-player #status>.phase-alert,.mfast-player #mission>.notice,.mfast-player #mission>.edith-direct,.mfast-player #votes>.notice,.mfast-player #votes>.vote-stage{margin:0!important}
.mfast-player #status>.notice,.mfast-player #status>.identity,.mfast-player #status>.simple-now,.mfast-player #mission>.notice,.mfast-player #mission>.edith-direct,.mfast-player #votes>.notice{box-shadow:0 9px 24px rgba(0,0,0,.22)!important}
.mfast-player .identity{padding:clamp(18px,3vw,27px)!important;border-width:2px!important}
.mfast-player .identity h2{font-size:clamp(25px,4vw,36px);letter-spacing:-.035em}
.mfast-player .identity p{font-size:16px}
.mfast-player .simple-now{padding:18px!important;border-left:6px solid var(--mfast-accent)!important;background:linear-gradient(135deg,var(--mfast-accent-soft),rgba(7,18,32,.93))!important;text-align:left!important}
.mfast-player .simple-now h2{font-size:clamp(21px,3vw,28px)!important}
.mfast-player .edith-direct{padding:20px!important;border-width:2px!important;background:linear-gradient(145deg,rgba(53,119,229,.17),rgba(7,17,31,.96))!important}
.mfast-player .edith-direct .intel{margin-top:10px;padding:14px;border-radius:13px;background:rgba(255,255,255,.07);font-size:clamp(18px,2.5vw,22px)!important}
.mfast-player .mission-type{padding:6px 10px;font-size:10px;letter-spacing:.10em}
.mfast-player .target-locked{padding:14px!important;border-left:5px solid var(--mfast-accent)!important;background:rgba(4,10,18,.65)!important}
.mfast-player .vote-stage,.mfast-player .target-stage{padding:3px}
.mfast-player .vote-list,.mfast-player .target-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:52vh;padding:3px}
.mfast-player .vote-choice,.mfast-player .target-choice{margin:0!important;border-radius:14px!important;background:rgba(7,15,27,.9)!important}
.mfast-player .vote-choice:nth-child(even),.mfast-player .target-choice:nth-child(even){background:rgba(20,31,50,.92)!important}
.mfast-player .vote-choice.selected,.mfast-player .target-choice.selected{background:linear-gradient(135deg,var(--mfast-accent-soft),rgba(22,15,32,.96))!important}
.mfast-player #submitVoteBtn,.mfast-player #lockTargetBtn,.mfast-player .agenda-submit{min-height:58px!important;font-size:17px!important;box-shadow:0 10px 24px rgba(0,0,0,.3)!important}
.mfast-player .autopilot-box{padding:12px 14px!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(9,22,43,.98),rgba(16,21,43,.98))!important}
.mfast-player .autopilot-box h3{font-size:19px;margin:6px 0}.mfast-player .autopilot-box p{font-size:13px;line-height:1.45}.mfast-player .autopilot-phase{font-size:10px}.mfast-player .autopilot-next{font-size:12px}
.mfast-player .autopilot-timer{font-variant-numeric:tabular-nums;font-size:clamp(28px,6vw,38px)!important}
.mfast-player #portal>p{margin:22px 0 12px!important;color:#9facbf!important;font-size:12px;letter-spacing:.04em}
.mfast-player #portal>.sec{margin-top:8px!important;background:#27364d!important;border:1px solid #485a73!important;color:#f5f8fc!important}
.mfast-player #portal>.host-switch{background:#161f2d!important;color:#c8d3e2!important}
.mfast-certificate-callout{margin:15px 0;padding:20px;border:2px solid color-mix(in srgb,var(--mfast-accent) 72%,white);border-radius:19px;background:linear-gradient(145deg,var(--mfast-accent-soft),rgba(9,19,34,.97));text-align:center;box-shadow:0 14px 38px rgba(0,0,0,.32)}.mfast-certificate-callout span{font-size:11px;font-weight:1000;letter-spacing:.13em;color:var(--mfast-accent)}.mfast-certificate-callout h2{margin:8px 0 4px!important}.mfast-certificate-callout p{margin:5px 0 13px;color:#c6d1df}.mfast-certificate-callout button{min-height:56px!important;background:linear-gradient(135deg,var(--mfast-accent),var(--mfast-accent-2))!important}
.mfast-saved-certificates{margin-top:18px;padding:15px;border:1px solid color-mix(in srgb,var(--mfast-accent) 55%,#53637b);border-radius:16px;background:var(--mfast-accent-soft)}.mfast-saved-certificates>p{margin:5px 0 10px;font-size:13px}.mfast-saved-certificates button{margin-top:7px!important}

@media(min-width:760px){
  .mfast-player #status{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mfast-player #status>.round-progress,.mfast-player #status>.phase-alert,.mfast-player #status>.spectator-short,.mfast-player #status>[style*="text-align:center"]{grid-column:1/-1}
  .mfast-player #status>.notice:only-of-type{grid-column:1/-1}
}

@media(max-width:600px){
  .mfast-player{font-size:16px!important}
  .mfast-player .mfast-console-nav{width:calc(100% - 20px);margin:10px auto 0;padding:8px 9px;gap:7px}
  .mfast-player .mfast-console-nav strong{font-size:8px;line-height:1.25}
  .mfast-player .mfast-console-nav a{padding:7px 8px;font-size:8px}
  .mfast-player .w{width:100%!important;margin:10px 0 0!important;padding:0 10px 34px!important}
  .mfast-player .c,.mfast-player .gateway{min-height:0!important;padding:18px 13px 27px!important;border:1px solid color-mix(in srgb,var(--mfast-accent) 34%,#30425c)!important;border-top-width:6px!important;border-radius:23px!important}
  .mfast-player #portal:before{border-radius:18px 18px 0 0}
  .mfast-player .c>h1,.mfast-player .gateway h1{font-size:clamp(38px,12vw,56px)!important}
  .mfast-player #pt{margin-top:13px;font-size:24px}
  .mfast-player #liveChip{top:5px!important;padding:9px 10px!important;font-size:10px!important}
  .mfast-player #status,.mfast-player #mission,.mfast-player #votes{display:grid;grid-template-columns:1fr;margin:11px -3px;padding:11px 9px;border-radius:18px;border-left-width:5px}
  .mfast-player #status:not(:empty):before,.mfast-player #mission:not(:empty):before,.mfast-player #votes:not(:empty):before{font-size:9px;padding:4px 8px}
  .mfast-player .identity{padding:17px 12px!important}.mfast-player .identity h2{font-size:25px}
  .mfast-player .simple-now{padding:14px!important}.mfast-player .simple-now h2{font-size:20px!important}
  .mfast-player .notice{font-size:15px;line-height:1.48}
  .mfast-player .vote-list,.mfast-player .target-list{grid-template-columns:1fr;gap:8px;max-height:45vh}
  .mfast-player .vote-choice,.mfast-player .target-choice{min-height:55px!important;padding:12px!important;font-size:16px!important}
  .mfast-player #submitVoteBtn,.mfast-player #lockTargetBtn,.mfast-player .agenda-submit{position:sticky;bottom:8px;z-index:12;min-height:56px!important}
  .mfast-player .autopilot-box{top:45px!important;padding:9px 10px!important}
  .mfast-player .autopilot-box h3{font-size:17px}.mfast-player .autopilot-box p{font-size:12px}
  .mfast-player #portal>.sec{min-height:50px!important;font-size:14px!important}
}

/* Large screens share the same framing and retain each theme accent. */
.mfast-display .top{padding:11px 14px;border:1px solid rgba(255,255,255,.16);border-left:6px solid var(--mfast-accent);border-radius:16px;background:rgba(7,14,26,.72)}
.mfast-display .hero,.mfast-display .panel,.mfast-display .kpi{border-radius:22px!important}
.mfast-display .hero h1{letter-spacing:-.045em;line-height:1;text-wrap:balance}
.mfast-display .phase{display:inline-flex;padding:8px 14px;border-radius:999px;background:var(--mfast-accent);font-size:clamp(18px,2.5vw,34px)!important;letter-spacing:.05em}
.mfast-display[data-theme="batman"] .phase{color:#17130a}
.mfast-display[data-theme="spiderman"] .phase{background:#c92336}
.mfast-display[data-theme="mafia"] .phase{background:#087443}
.mfast-display[data-theme="f1"] .phase{background:#ca1712}
.mfast-display[data-theme="spies"] .phase{color:#071823}
.mfast-display .grid{gap:13px!important}
.mfast-display .kpi{background:linear-gradient(155deg,rgba(20,38,64,.96),rgba(9,20,36,.98))!important;box-shadow:0 13px 30px rgba(0,0,0,.24)}
.mfast-display .kpi:nth-child(even){background:linear-gradient(155deg,var(--mfast-accent-soft),rgba(9,20,36,.98))!important}
.mfast-display .kpi b{font-variant-numeric:tabular-nums}
.mfast-display .panel{border-left:6px solid var(--mfast-accent)!important;box-shadow:0 13px 30px rgba(0,0,0,.2)}
.mfast-display[data-theme="mafia"] .hero,.mfast-display[data-theme="mafia"] .panel,.mfast-display[data-theme="mafia"] .kpi{background:linear-gradient(150deg,#202321,#101211)!important;border-color:#646d68!important}
.mfast-display[data-theme="mafia"] .hero{border-top:8px solid transparent!important;background:linear-gradient(90deg,var(--mfast-italy-green) 0 33.33%,var(--mfast-italy-ivory) 33.33% 66.66%,var(--mfast-italy-red) 66.66%) top/100% 8px no-repeat,linear-gradient(150deg,#202321,#101211)!important}

/* V7.6.2 completed-game presentation: winners first, no stale countdown. */
.mfast-display.game-ended .timer{display:none!important}
.mfast-display.game-ended .final-stage{margin-top:18px!important;padding:clamp(28px,4vw,54px)!important;border-width:2px!important;border-left-width:8px!important;text-align:center;background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--mfast-accent) 22%,transparent),transparent 48%),linear-gradient(150deg,#132640,#0c1729)!important;box-shadow:0 24px 70px rgba(0,0,0,.48)!important}
.mfast-display.game-ended .final-stage h2{margin-bottom:18px!important;font-size:clamp(32px,5vw,66px)!important;letter-spacing:-.035em}
.mfast-display.game-ended .final-stage .winner{max-width:900px;margin:10px auto;padding:16px 22px;border:1px solid rgba(255,255,255,.18);border-radius:18px;background:rgba(4,10,20,.62);font-size:clamp(26px,4vw,54px)!important;font-weight:900}
.mfast-display.game-ended .final-stage .winner.rank-1{padding:22px 26px;border:2px solid color-mix(in srgb,var(--mfast-accent) 72%,#fff);background:linear-gradient(135deg,color-mix(in srgb,var(--mfast-accent) 30%,#091321),#091321);font-size:clamp(34px,5.5vw,76px)!important;box-shadow:0 14px 38px color-mix(in srgb,var(--mfast-accent) 20%,transparent)}
.mfast-display.game-ended .hero{margin-top:12px!important;padding:18px 22px!important;box-shadow:none!important}
.mfast-display.game-ended .hero h1{font-size:clamp(26px,3vw,44px)!important}
.mfast-display.game-ended .hero .phase{font-size:clamp(14px,1.8vw,23px)!important}
.mfast-display.game-ended .hero .sub{margin-top:10px;font-size:clamp(15px,1.6vw,22px)!important}
.mfast-display.game-ended .eliminated-panel{opacity:.82}

@media(max-width:650px){
  .mfast-display .wrap{width:calc(100% - 20px)!important;margin:10px auto!important}
  .mfast-display .top{align-items:flex-start;flex-direction:column;gap:8px;padding:10px 12px}
  .mfast-display .code{font-size:15px!important;padding:7px 10px!important}
  .mfast-display .hero{margin-top:10px!important;padding:24px 13px!important;border-radius:20px!important}
  .mfast-display .hero h1{font-size:clamp(30px,10vw,46px)!important}
  .mfast-display .phase{font-size:15px!important;padding:7px 10px}
  .mfast-display .timer{font-size:clamp(68px,24vw,112px)!important;margin:20px 0!important}
  .mfast-display .sub{font-size:17px!important}
  .mfast-display .grid{grid-template-columns:1fr 1fr!important;gap:8px!important;margin:10px 0!important}
  .mfast-display .kpi{padding:15px 9px!important;border-radius:16px!important}
  .mfast-display .kpi b{font-size:31px!important}
  .mfast-display .panel{padding:16px!important;border-radius:17px!important}
}

@media(max-width:700px){
  .mfast-console-nav{width:calc(100% - 22px);margin-top:10px;font-size:9px;letter-spacing:.07em}
  .mfast-console-nav a{padding:7px 9px}
  .mfast-lock-actions{grid-template-columns:1fr}
  .mfast-host .actiongrid{padding:7px}
  .join-controls{grid-template-columns:1fr}
  .join-controls button{width:100%}
  .mfast-configure .mfast-console-nav,.mfast-host .mfast-console-nav{width:calc(100% - 18px)}
  .mfast-guide-steps{grid-template-columns:1fr}.mfast-guide-next{align-items:stretch;flex-direction:column}.mfast-guide-next button{width:100%!important}.mfast-sync{top:auto;right:10px;bottom:12px}.mfast-sync.is-quiet{display:none}.mfast-access{left:10px;bottom:10px}.mfast-access-toggle span{display:none}.mfast-display-qr{width:94px;position:absolute;right:11px;top:9px}.mfast-display .top{position:relative;padding-right:118px!important}
  .mfast-reuse-actions{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* MFAST V7.6 focus flow — one clear action, progressive detail. */
.mfast-config-stepper{position:sticky;top:8px;z-index:30;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 20px;padding:8px;border:1px solid #d7c9b4;border-radius:18px;background:rgba(255,253,248,.96);box-shadow:0 10px 28px rgba(70,46,16,.12);backdrop-filter:blur(9px)}
.mfast-config-stepper button{display:flex;align-items:center;gap:8px;margin:0!important;padding:10px!important;background:#f2ece2!important;color:#5d6473!important;border:1px solid #d8cdbc!important;box-shadow:none!important;text-align:left}
.mfast-config-stepper button>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:#d8d0c4;color:#4c5260;font-weight:1000}.mfast-config-stepper button>b{font-size:12px}.mfast-config-stepper button.is-active{background:var(--mfast-ink)!important;color:#fff!important;border-color:var(--mfast-ink)!important}.mfast-config-stepper button.is-active>span{background:var(--mfast-accent);color:#fff}.mfast-config-stepper button.is-done>span{background:var(--mfast-teal);color:#fff}.mfast-config-stepper button.is-done>span:after{content:'✓';font-size:0}.mfast-config-stepper button.is-done>span{font-size:0}.mfast-config-stepper button.is-done>span:before{content:'✓';font-size:15px}
.mfast-config-step{animation:mfastStepIn .22s ease}.mfast-config-step[hidden]{display:none!important}.mfast-config-step>header{margin:8px 0 20px;padding:20px;border-left:7px solid var(--mfast-accent);border-radius:17px;background:linear-gradient(100deg,var(--mfast-accent-soft),#fff)}.mfast-config-step>header span{font-size:10px;font-weight:1000;letter-spacing:.14em;color:#5d6677}.mfast-config-step>header h2{margin:5px 0!important;padding:0!important;border:0!important;background:none!important;font-size:clamp(27px,4vw,38px)!important}.mfast-config-step>header p{margin:0;color:#667087}.mfast-config-step>.review-note:first-of-type{margin-bottom:17px}.mfast-step-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:22px 0 4px}.mfast-step-actions:has(button:only-child){grid-template-columns:1fr}.mfast-step-actions button{min-height:54px}.mfast-config-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 22px}.mfast-config-summary>div{padding:15px;border:1px solid #d6c9b6;border-top:5px solid var(--mfast-accent);border-radius:14px;background:#fff}.mfast-config-summary small{display:block;margin-bottom:5px;color:#687086;font-size:10px;font-weight:1000;letter-spacing:.12em}.mfast-config-summary b{display:block;color:var(--mfast-ink);line-height:1.35}.mfast-config-step[data-step="2"] .review-note{margin-bottom:12px}.mfast-config-step[data-step="2"] .roundbox{margin-bottom:9px}.mfast-config-step[data-step="3"] #saveBtn{position:static!important;min-height:60px;font-size:17px}.mfast-config-step[data-step="3"]>button.sec:last-child{margin-top:8px}@keyframes mfastStepIn{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}

.mfast-collapse{margin:10px 0;border:1px solid #d7cbb9;border-radius:16px;background:#fffdf8;overflow:hidden}.mfast-collapse>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 17px;cursor:pointer;color:var(--mfast-ink);list-style:none}.mfast-collapse>summary::-webkit-details-marker{display:none}.mfast-collapse>summary:after{content:'＋';font-size:20px;font-weight:500;color:#687086}.mfast-collapse[open]>summary:after{content:'−'}.mfast-collapse>summary span{margin-left:auto;padding:4px 8px;border-radius:999px;background:#eef1f5;color:#596477;font-size:10px;font-weight:900}.mfast-collapse>div,.mfast-collapse>section,.mfast-collapse>h2,.mfast-collapse>p{margin-left:15px!important;margin-right:15px!important}.mfast-collapse[open]{padding-bottom:13px}.mfast-host-detail>h2[hidden]{display:none!important}
.mfast-host .actiongrid.host-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:16px 0 12px;padding:16px!important;border:2px solid color-mix(in srgb,var(--mfast-accent) 45%,#d6c9b6)!important;background:linear-gradient(135deg,var(--mfast-accent-soft),#fffdf8)!important}.mfast-next-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:3px}.mfast-next-head span{font-size:10px;font-weight:1000;letter-spacing:.14em;color:#5d6677}.mfast-next-head h2{margin:3px 0!important;padding:0!important;border:0!important;background:none!important;font-size:clamp(21px,3vw,29px)!important}.mfast-next-head button{width:auto!important;min-height:40px!important;margin:0!important;padding:9px 11px!important;font-size:11px!important}.mfast-host .actiongrid.host-actions>button{display:none;min-height:58px}.mfast-host .actiongrid.host-actions>#nextBtn,.mfast-host .actiongrid.host-actions>#voteBtn{display:block;grid-column:auto;font-size:15px}.mfast-host .actiongrid.host-actions>button.is-next{display:block;grid-column:auto;font-size:17px}.mfast-host .actiongrid.host-actions>#endBtn{display:block;grid-column:1/-1;background:#fff1f2!important;color:#8d1b2b!important;border:1px solid #d78b96!important;min-height:43px;font-size:12px}.mfast-host .actiongrid.host-actions>#endBtn.is-next{background:linear-gradient(135deg,#d82e42,#891524)!important;color:#fff!important;min-height:58px;font-size:17px}.mfast-host .actiongrid.host-actions.show-all>button{display:block;grid-column:auto}.mfast-host .actiongrid.host-actions.show-all>#endBtn{grid-column:auto}.mfast-host .actiongrid.host-actions.all-disabled>button{display:none!important}.mfast-host .mfast-reuse-panel{display:none}.mfast-host .mfast-reuse-panel.is-available{display:block}.mfast-host #mfastHostReadiness .mfast-host-guide{margin:0!important;border:0!important;box-shadow:none!important}.mfast-host #mfastHostSharing #sharePanel{margin:0 14px}.mfast-host #mfastHostSharing #sharePanel>.notice{margin-top:0!important}

.mfast-player #portal{position:relative;padding-top:16px!important}.mfast-player-top{position:sticky;top:6px;z-index:48;display:grid;gap:6px;margin:-5px 0 10px;padding:7px;border:1px solid color-mix(in srgb,var(--mfast-accent) 38%,#41536e);border-radius:15px;background:rgba(5,13,25,.94);box-shadow:0 9px 26px rgba(0,0,0,.34);backdrop-filter:blur(9px)}.mfast-player-top #liveChip{position:static!important;margin:0!important;padding:4px 8px!important;border:0!important;background:transparent!important;text-align:left!important;font-size:9px!important;opacity:.78}.mfast-player-top #autopilotControls:empty{display:none}.mfast-player-top .autopilot-box{position:static!important;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin:0!important;padding:7px 8px!important;border-radius:11px!important;box-shadow:none!important;text-align:left!important}.mfast-player-top .autopilot-box:not(.live) h3,.mfast-player-top .autopilot-box:not(.live) p{display:none}.mfast-player-top .autopilot-box:not(.live) button{width:auto!important;min-height:38px!important;margin:0!important;padding:8px 11px!important;font-size:11px!important}.mfast-player-top .autopilot-box.live{grid-template-columns:minmax(0,1fr) auto}.mfast-player-top .autopilot-box.live .autopilot-phase{font-size:9px}.mfast-player-top .autopilot-box.live .autopilot-timer{font-size:24px!important;margin:0!important;text-align:right}.mfast-player-top .autopilot-box.live .auto-progress{grid-column:1/-1;margin:0!important}.mfast-player-top .autopilot-box.live .autopilot-next{grid-column:1/-1;margin:0!important;font-size:10px}.mfast-player-top .autopilot-box.live .host-label,.mfast-player-top .autopilot-box.live .danger-auto{grid-column:1/-1}.mfast-player-top .autopilot-box.live .danger-auto{min-height:34px!important;margin:2px 0 0!important;padding:6px 9px!important;font-size:10px!important}
.mfast-player-identity{display:block;margin:10px 0;padding:12px 14px;border:1px solid color-mix(in srgb,var(--mfast-accent) 38%,#41536e);border-left:6px solid var(--mfast-accent);border-radius:15px;background:rgba(10,21,37,.92)}.mfast-identity-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.mfast-player-identity small{display:block;margin-bottom:3px;color:#9facbf;font-size:9px;font-weight:1000;letter-spacing:.13em}.mfast-player-identity b{display:block;font-size:18px}.mfast-player-identity button{width:auto!important;min-height:40px!important;margin:0!important;padding:8px 11px!important;font-size:10px!important;background:#27364d!important;border:1px solid #52637c!important;color:#fff!important}.mfast-character-inline{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.14)}.mfast-character-inline[hidden]{display:none!important}.mfast-character-inline .identity{margin:0!important;padding:14px!important;border-radius:14px!important}.mfast-character-inline .identity button{display:none!important}.mfast-character-inline .character-art{width:min(220px,64vw)!important;margin:0 auto 12px!important}
.mfast-player-stage{display:grid;gap:11px;max-width:760px;margin:0 auto}.mfast-player-stage #status,.mfast-player-stage #mission,.mfast-player-stage #votes{margin:0!important;padding:12px!important;border-radius:17px!important}.mfast-player-stage #status:empty,.mfast-player-stage #mission:empty,.mfast-player-stage #votes:empty{display:none!important}.mfast-player #status .secret-cover{display:none!important}.mfast-player #portal.has-mission #status .simple-now{display:none!important}.mfast-player #portal.has-votes #mission{display:none!important}.mfast-player #portal.has-votes #status{padding-bottom:5px!important}.mfast-player #portal.has-votes #votes{border-width:2px!important;box-shadow:0 14px 34px rgba(0,0,0,.34)!important}.mfast-player #mission:not(:empty),.mfast-player #votes:not(:empty){border-width:2px!important}.mfast-player-bottom{position:sticky;bottom:7px;z-index:44;display:flex;align-items:center;justify-content:center;gap:7px;margin:16px auto 0;padding:7px;max-width:560px;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:rgba(5,13,25,.94);box-shadow:0 9px 26px rgba(0,0,0,.4);backdrop-filter:blur(9px)}.mfast-player-bottom button{width:auto!important;min-height:38px!important;margin:0!important;padding:7px 10px!important;font-size:10px!important;background:#25334a!important;color:#dbe4ef!important;border:1px solid #495a72!important}.mfast-player-bottom .host-switch{opacity:.72}.mfast-landing-rules{display:none!important}.mfast-quick-play{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.mfast-quick-play span{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid color-mix(in srgb,var(--mfast-accent) 30%,#3c4d68);border-radius:13px;background:rgba(7,17,31,.72);font-size:12px}.mfast-quick-play b{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:var(--mfast-accent);color:#fff}.mfast-player[data-theme="batman"] .mfast-quick-play b,.mfast-player[data-theme="spies"] .mfast-quick-play b{color:#071823}.mfast-score-rules{margin:18px 0;padding:13px;border:1px solid color-mix(in srgb,var(--mfast-accent) 50%,#40536d);border-radius:15px;background:rgba(255,255,255,.04)}.mfast-score-rules summary{cursor:pointer;font-size:17px;font-weight:900}.mfast-score-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:13px}.mfast-score-grid span{padding:10px;border-radius:11px;background:rgba(255,255,255,.07);line-height:1.4}.mfast-score-grid b{color:var(--mfast-accent)}.mfast-score-rules p{color:#bac6d6;line-height:1.5}

/* V7.6.1 player-stage refinement */
.mfast-player-identity{padding:15px 17px}.mfast-player-identity small{font-size:11px;color:#c5d0df}.mfast-player-identity b{font-size:24px;line-height:1.15}.mfast-player-identity button{min-height:44px!important;padding:9px 14px!important;font-size:12px!important}
.mfast-player-feature{min-height:300px;display:grid;grid-template-columns:auto minmax(0,1fr);align-content:center;align-items:center;gap:20px;padding:34px;border:1px solid color-mix(in srgb,var(--mfast-accent) 34%,#40536d);border-radius:22px;background:radial-gradient(circle at 15% 20%,color-mix(in srgb,var(--mfast-accent) 15%,transparent),transparent 42%),linear-gradient(145deg,rgba(12,23,39,.94),rgba(4,9,18,.9));box-shadow:inset 0 1px rgba(255,255,255,.05),0 14px 36px rgba(0,0,0,.22)}
.mfast-player-feature[hidden]{display:none!important}.mfast-feature-mark{display:grid;place-items:center;width:76px;height:76px;border-radius:22px;background:var(--mfast-accent);color:#fff;font-size:38px;font-weight:1000;box-shadow:0 12px 30px color-mix(in srgb,var(--mfast-accent) 25%,transparent)}.mfast-player-feature small{font-size:10px;font-weight:1000;letter-spacing:.16em;color:var(--mfast-accent)}.mfast-player-feature h2{margin:5px 0 7px;font-size:30px}.mfast-player-feature p{max-width:520px;margin:0;color:#bac6d6;line-height:1.55}.mfast-player #portal.is-skipping #status{display:none!important}.mfast-player #portal.is-skipping .mfast-player-feature{min-height:260px}.mfast-player[data-theme="batman"] .mfast-feature-mark,.mfast-player[data-theme="spies"] .mfast-feature-mark{color:#071823}
.mfast-player .autopilot-box.live .pause-auto{background:#fff7dd!important;color:#563b00!important;border:1px solid #d4a735!important;margin-top:10px!important}.mfast-player #portal.is-ended .mfast-player-feature{display:none!important}

.mfast-configure[data-theme="spiderman"] .mfast-config-stepper button.is-active>span{background:#c92336}.mfast-configure[data-theme="mafia"] .mfast-config-stepper button.is-active>span{background:#087443}.mfast-configure[data-theme="f1"] .mfast-config-stepper button.is-active>span{background:#ca1712}.mfast-configure[data-theme="batman"] .mfast-config-stepper button.is-active>span,.mfast-configure[data-theme="spies"] .mfast-config-stepper button.is-active>span{color:#071823}.mfast-player[data-theme="spiderman"] .mfast-quick-play b{background:#c92336}.mfast-player[data-theme="mafia"] .mfast-quick-play b{background:#087443}.mfast-player[data-theme="f1"] .mfast-quick-play b{background:#ca1712}

@media(max-width:700px){.mfast-config-stepper{top:4px;grid-template-columns:repeat(4,auto);overflow-x:auto;padding:6px}.mfast-config-stepper button{min-width:48px;justify-content:center;padding:8px!important}.mfast-config-stepper button>b{display:none}.mfast-config-summary{grid-template-columns:1fr}.mfast-step-actions{grid-template-columns:1fr 1.4fr}.mfast-next-head{align-items:flex-start}.mfast-next-head button{font-size:9px!important}.mfast-host .actiongrid.host-actions{grid-template-columns:1fr;padding:12px!important}.mfast-host .actiongrid.host-actions.show-all>button,.mfast-host .actiongrid.host-actions.show-all>#endBtn{grid-column:1/-1}.mfast-player #portal{padding:10px 9px 25px!important}.mfast-player-top{top:4px;margin:-2px -2px 8px}.mfast-player-top .autopilot-box:not(.live){grid-template-columns:1fr auto}.mfast-player-identity{margin:8px -1px;padding:10px 11px}.mfast-player-identity b{font-size:16px}.mfast-player-identity button{font-size:9px!important}.mfast-player-stage{gap:8px}.mfast-player-stage #status,.mfast-player-stage #mission,.mfast-player-stage #votes{padding:9px!important}.mfast-player-bottom{bottom:5px;margin-top:12px}.mfast-player-bottom button{font-size:9px!important}.mfast-quick-play{grid-template-columns:1fr}.mfast-score-grid{grid-template-columns:1fr}}

@media(max-width:700px){.mfast-player-identity{padding:13px 12px}.mfast-player-identity small{font-size:10px}.mfast-player-identity b{font-size:21px}.mfast-player-identity button{min-height:42px!important;padding:8px 11px!important;font-size:10px!important}.mfast-player-feature{min-height:270px;grid-template-columns:1fr;justify-items:center;padding:26px 20px;text-align:center}.mfast-feature-mark{width:64px;height:64px;border-radius:18px;font-size:32px}.mfast-player-feature h2{font-size:25px}.mfast-player #portal.is-skipping .mfast-player-feature{min-height:230px}}

/* MFAST V7.7 consistency — centred single actions, compact results and shared typography. */
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
button,input,select,textarea{font-family:inherit!important}
.mfast-centred-action,.mfast-player .autopilot-box.live .pause-auto{display:block!important;grid-column:1/-1!important;width:min(330px,100%)!important;min-height:46px!important;margin:10px auto 4px!important;text-align:center!important}
.mfast-step-actions>button:only-child,.mfast-reuse-actions>button:only-child,.actions>button:only-child{width:min(440px,100%)!important;margin-inline:auto!important}
.mfast-config-step>header,.mfast-config-summary>div:only-child,.mfast-host .notice:only-child,.mfast-player-stage>.notice:only-child{text-align:center}
.mfast-config-summary>div:only-child{grid-column:1/-1;width:min(560px,100%);margin-inline:auto}
.mfast-catalog .top>.card:only-child,.mfast-catalog .bottom>.card:only-child,.mfast-admin .stats>.stat:only-child,.mfast-admin .kpis>.mini:only-child{grid-column:1/-1;width:min(620px,100%);margin-inline:auto}
.mfast-console .actiongrid>button:only-child,.mfast-console .setupgrid>button:only-child,.mfast-console .grid>button:only-child{grid-column:1/-1;justify-self:center;width:min(420px,100%)!important}
.mfast-console .panel>p:only-child,.mfast-console .notice>p:only-child,.mfast-site .card>p:only-child{max-width:68ch;margin-inline:auto;text-align:center}
.mfast-player .mfast-autopilot-game-controls{grid-column:1/-1;width:100%;margin:3px 0 0;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(255,255,255,.045);overflow:hidden}
.mfast-player .mfast-autopilot-game-controls>summary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:35px;padding:7px 10px;cursor:pointer;list-style:none;color:#dbe4ef;font-size:10px;font-weight:950;letter-spacing:.08em;text-align:center}
.mfast-player .mfast-autopilot-game-controls>summary::-webkit-details-marker{display:none}
.mfast-player .mfast-autopilot-game-controls>summary:after{content:'＋';margin-left:auto;font-size:15px;line-height:1}
.mfast-player .mfast-autopilot-game-controls[open]>summary:after{content:'−'}
.mfast-player .mfast-autopilot-game-controls>summary span{margin-left:2px;color:#9facbf;font-size:9px;font-weight:750;letter-spacing:0;text-transform:none}
.mfast-player .mfast-autopilot-game-controls-menu{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 8px 8px}
.mfast-player .mfast-autopilot-game-controls-menu .pause-auto,.mfast-player .mfast-autopilot-game-controls-menu .danger-auto{display:block!important;grid-column:auto!important;width:100%!important;min-height:38px!important;margin:0!important;padding:7px 9px!important;font-size:10px!important}
.mfast-player .mfast-autopilot-game-controls-menu .pause-auto{background:#fff7dd!important;color:#563b00!important;border:1px solid #d4a735!important}
.mfast-player .mfast-autopilot-game-controls-menu .danger-auto{background:#5b1520!important;color:#fff!important;border:1px solid #a94b59!important}
.mfast-display.game-ended .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mfast-display.game-ended .kpi[hidden],.mfast-display.game-ended #mfastDisplayQr{display:none!important}
.mfast-podium{display:grid;gap:10px;max-width:940px;margin-inline:auto}
.mfast-display.game-ended .tie-summary{font-size:clamp(24px,3vw,46px)!important}
.mfast-full-standings{max-width:940px;margin:18px auto 0;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(4,10,20,.45);text-align:left}
.mfast-full-standings>summary{padding:15px 18px;cursor:pointer;color:#fff;font-weight:900;text-align:center}
.mfast-full-standings-list{max-height:42vh;overflow:auto;padding:0 14px 14px}
.mfast-full-standings-list .winner{margin:7px 0!important;padding:10px 14px!important;font-size:clamp(17px,2vw,25px)!important;text-align:left!important}
.mfast-console[data-theme="spies"]{background:radial-gradient(circle at 12% -5%,rgba(0,232,135,.20),transparent 36%),radial-gradient(circle at 92% 5%,rgba(0,168,90,.12),transparent 34%),linear-gradient(150deg,#070b09,#020403 62%,#000)!important}
.mfast-display[data-theme="spies"] .phase{background:#00e887;color:#03140c}
.mfast-player[data-theme="spies"] .mfast-feature-mark,.mfast-player[data-theme="spies"] .mfast-quick-play b,.mfast-configure[data-theme="spies"] .mfast-config-stepper button.is-active>span{color:#03140c!important}
.mfast-player .vote-list,.mfast-player .target-list{scrollbar-color:var(--mfast-accent) rgba(255,255,255,.08)}
@media(min-width:760px){.mfast-player .vote-list,.mfast-player .target-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mfast-player .vote-list>* ,.mfast-player .target-list>*{margin:0!important}}
@media(max-width:700px){.mfast-display.game-ended .grid{grid-template-columns:1fr 1fr}.mfast-display.game-ended .grid>.kpi:last-of-type:not([hidden]){grid-column:1/-1}.mfast-next-head{justify-content:center;text-align:center}.mfast-next-head>div{width:100%}.mfast-config-step>header{text-align:center;padding:17px 14px}.mfast-full-standings-list{max-height:36vh}}
@media(max-width:420px){.mfast-player .mfast-autopilot-game-controls-menu{grid-template-columns:1fr}.mfast-player .mfast-autopilot-game-controls>summary span{display:none}}

/* V7.8 — fast host onboarding */
.mfast-player .mfast-quick-count{margin:10px 0;padding:12px;border:1px solid rgba(255,255,255,.16);border-radius:13px;background:rgba(255,255,255,.045)}
.mfast-player .mfast-quick-count label{display:block;margin-bottom:5px;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.mfast-player .mfast-quick-count input{margin:0 0 5px}
.mfast-player .mfast-quick-count small{display:block;color:#b7c4d6;line-height:1.4}
.mfast-player .mfast-create-actions{display:grid;grid-template-columns:1.2fr .8fr;gap:8px;margin-top:12px}
.mfast-player .mfast-create-actions button{margin:0}
@media(max-width:480px){.mfast-player .mfast-create-actions{grid-template-columns:1fr}}

/* V7.8.2 — zero-setup homepage game */
.mfast-host .mfast-instant-ready{margin:0 0 14px;padding:17px;border:2px solid #7759d9;border-radius:17px;background:linear-gradient(135deg,#eee9ff,#fff);color:#101936;text-align:center;box-shadow:0 8px 22px rgba(34,25,75,.16)}
.mfast-host .mfast-instant-ready h2{margin:0 0 6px;color:#101936}
.mfast-host .mfast-instant-ready p{margin:6px 0;line-height:1.45}
.mfast-host .mfast-instant-ready button{width:100%;margin:10px 0 0;background:#101936;color:white}
.mfast-host .mfast-recovery-pin{padding:9px;border-radius:10px;background:#fff;border:1px solid #b7acd9}
.mfast-host .mfast-recovery-pin strong{display:inline-block;margin:0 5px;font-size:18px;letter-spacing:.12em}
.mfast-host .mfast-recovery-pin span{display:block;margin-top:4px;font-size:11px;color:#59627a}
