/* IMPOSTOR 9.0 — MIDNIGHT ICE
   Full color+surface system for landing, lobby, game, invite, TV and admin.
   System fonts only / no external resources / no functional state changes. */
:root{
 --ice-bg:#0a111b;--ice-void:#080f17;--ice-surface:#132230;
 --ice-elevated:#1c2c3a;--ice-soft:#22384a;--ice-line:#355367;
 --ice-line-bright:#55849b;--ice-text:#f3faff;--ice-muted:#a7bdcb;
 --ice-hot:#62e3db;--ice-main:#68e3eb;--ice-light:#c6f7ff;
 --ice-lavender:#9abfff;--ice-danger:#ff8599;
 --bg:#0a111b;--panel:#132230;--panel-2:#1c2c3a;--panel-3:#22384a;
 --line:#355367;--line-2:#55849b;--text:#f3faff;--muted:#a7bdcb;
 --accent:#62e3db;--accent-hover:#8ef1e8;--accent-soft:rgba(98,227,219,.16);
 --v6-bg:#0a111b;--v6-surface:#132230;--v6-surface-high:#1c2c3a;
 --v6-border:#355367;--v6-text:#f3faff;--v6-muted:#a7bdcb;
 --v6-lime:#9af2ed;--v6-green:#b2f5f1;--v6-violet:#b7f6f2;
 --ui-bg:#0a111b;--ui-card:#132230;--ui-line:#355367;
 --ui-mint:#62e3db;--ui-blue:#9abfff;--ui-fg:#f3faff;--ui-sub:#a7bdcb;
}
html{color-scheme:dark}
body:not(.tv11-body){
 color:var(--ice-text)!important;
 background:
  radial-gradient(ellipse 800px 460px at 12% -180px,rgba(68,180,209,.23),transparent 78%),
  radial-gradient(ellipse 650px 580px at 108% 16%,rgba(71,143,161,.16),transparent 74%),
  radial-gradient(ellipse 600px 600px at -16% 75%,rgba(63,186,218,.07),transparent 75%),
  linear-gradient(150deg,#0d0815 0%,#0a111b 57%,#090610 100%)!important;
 font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
body:not(.tv11-body)::before{opacity:.23!important;background-image:radial-gradient(rgba(174,241,237,.65) .65px,transparent .65px)!important;background-size:32px 32px!important;mask-image:linear-gradient(180deg,#000000,transparent 93%)}
body:not(.tv11-body) ::selection{background:#87efe9!important;color:#111b20!important}
body:not(.tv11-body) .glass-card,
body:not(.tv11-body) .card,
body:not(.tv11-body) .settings-block,
body:not(.tv11-body) .scoreboard-card,
body:not(.tv11-body) .tv-mode-card{
 background:linear-gradient(148deg,rgba(26,38,46,.98),rgba(15,22,26,.99))!important;
 border:1px solid var(--ice-line)!important;
 border-radius:25px!important;
 box-shadow:0 22px 62px #05030b90,inset 0 1px #fbffff0a!important;
}
body:not(.tv11-body) .glass-card h2,body:not(.tv11-body) .card h2,
body:not(.tv11-body) .setup-section h3{color:var(--ice-text)!important}
body:not(.tv11-body) .card-description,body:not(.tv11-body) .lobby-note{color:var(--ice-muted)!important}
body:not(.tv11-body) .field-label{color:#cbd9e1!important}
body:not(.tv11-body) .eyebrow{color:#b5ece9!important}
body:not(.tv11-body) a{color:#adece9}
body:not(.tv11-body) a:hover{color:#d5faf7}
body:not(.tv11-body) input:not([type=checkbox]):not([type=radio]),
body:not(.tv11-body) select,body:not(.tv11-body) textarea{
 color:#f4fbff!important;background:#0b1a25!important;border:1px solid #41657a!important;
 border-radius:14px!important;box-shadow:inset 0 1px 3px #05030a66!important;
}
body:not(.tv11-body) input:not([type=checkbox]):not([type=radio])::placeholder{color:#7492a7!important}
body:not(.tv11-body) input:not([type=checkbox]):not([type=radio]):focus,
body:not(.tv11-body) select:focus,body:not(.tv11-body) textarea:focus{
 outline:none!important;border-color:#9cefea!important;
 box-shadow:0 0 0 4px #45d8d322,inset 0 1px 3px #05030a55!important;
}
body:not(.tv11-body) button:focus-visible,
body:not(.tv11-body) a:focus-visible,
body:not(.tv11-body) input:focus-visible,
body:not(.tv11-body) summary:focus-visible,
body:not(.tv11-body) label:focus-within{outline-color:#aaf4f0!important}
body:not(.tv11-body) button:not(:disabled):active{transform:translateY(1px) scale(.992)}
body:not(.tv11-body) button:disabled{opacity:.45;cursor:not-allowed}
/* Matching principal actions across all screens. */
body:not(.tv11-body) .btn-start,
body:not(.tv11-body) .btn-new-game,
body:not(.tv11-body) .btn-call-vote,
body:not(.tv11-body) .btn-timer-start,
body:not(.tv11-body) .btn-primary,
body:not(.tv11-body) .btn-secondary-wide,
body:not(.tv11-body) form > button:not(.btn-start):not(.btn-new-game):not(.btn-lobby):not(.btn-back):not(.kick-btn):not(.btn-delete):not(.btn-edit):not(.setup-save-btn):not(.setup-launch-btn):not(.surprise-toggle-btn):not(.special-card):not(.code-choice-card),
body:not(.tv11-body) .reveal-answer-btn{
 background:linear-gradient(115deg,#a4f9f1 0%,#5be0da 54%,#41c6ca 100%)!important;
 border:1px solid #b9f9fa!important;color:#093039!important;
 font-weight:900!important;box-shadow:0 9px 26px rgba(72,184,214,.19)!important;
}
body:not(.tv11-body) .btn-start:hover,
body:not(.tv11-body) .btn-new-game:hover,
body:not(.tv11-body) .btn-call-vote:hover,
body:not(.tv11-body) form > button[type=submit]:hover:not(:disabled){filter:brightness(1.085)}
body:not(.tv11-body) .btn-lobby,
body:not(.tv11-body) .btn-back,
body:not(.tv11-body) .btn-timer-stop,
body:not(.tv11-body) .vote-close-btn,
body:not(.tv11-body) .kick-btn{
 background:#1c303f!important;color:#d9edf5!important;
 border:1px solid #466d81!important;box-shadow:none!important;
}
body:not(.tv11-body) .btn-lobby:hover,
body:not(.tv11-body) .btn-back:hover,
body:not(.tv11-body) .btn-timer-stop:hover{background:#22323c!important}
body:not(.tv11-body) .host-chip{background:#234952!important;color:#c6f7ff!important;border-color:#447b86!important}
body:not(.tv11-body) .player-item,
body:not(.tv11-body) .score-row{background:#172735!important;border:1px solid #345365!important}
body:not(.tv11-body) .player-item:hover{border-color:#4d81a4!important}
body:not(.tv11-body) .player-avatar{background:linear-gradient(145deg,#244953,#1a3649)!important;border-color:#3c7287!important;color:#b6f4ec!important}

/* Landing: typography, editorial hero, large action cards */
body.v6-landing .container{max-width:1020px!important;column-gap:19px;row-gap:18px}
body.v6-landing .landing-hero{padding-top:53px!important;margin-bottom:5px!important}
body.v6-landing .hero-kicker{
 background:#202f38!important;border:1px solid #3d5b6d!important;
 color:#c3f7f4!important;box-shadow:0 6px 28px #4e9cb01c;
}
body.v6-landing .hero-pulse{background:#85efe9!important;box-shadow:0 0 0 5px #80eae426,0 0 18px #85efe976!important}
body.v6-landing .landing-hero h1{
 color:#f5faff!important;letter-spacing:-.093em!important;
 text-shadow:0 17px 62px rgba(72,188,219,.16)!important;
}
body.v6-landing .hero-period{color:#8ff1eb!important;text-shadow:0 0 45px #85ede691}
body.v6-landing .landing-hero .subtitle{color:#c5d4dd!important;font-size:clamp(1rem,2.4vw,1.22rem)}
body.v6-landing .hero-tags{gap:8px;margin-top:24px}
body.v6-landing .hero-tags span{background:#172229!important;border:1px solid #304755!important;color:#c3d2db!important;padding:9px 14px}
body.v6-landing .landing-hero:after{height:2px!important;width:220px!important;margin-top:30px!important;background:linear-gradient(90deg,transparent,#84eae4,transparent)!important;opacity:.95!important}
body.v6-landing .glass-card{position:relative;overflow:hidden}
body.v6-landing .glass-card:after{
 content:"";position:absolute;top:-115px;right:-120px;width:230px;height:230px;
 background:radial-gradient(circle,#81eae425,transparent 66%);pointer-events:none;
}
body.v6-landing .glass-card:nth-of-type(3):after{background:radial-gradient(circle,#86e3dd2a,transparent 66%)}
body.v6-landing .glass-card:hover{border-color:#5087ab!important;box-shadow:0 24px 62px #06030c90,0 0 0 1px #90ece71a!important;transform:translateY(-2px)}
body.v6-landing .glass-card h2 .icon{
 border:1px solid #4e83a6!important;background:#263944!important;color:#cef9f6!important;
 border-radius:14px!important;
}
body.v6-landing .glass-card:nth-of-type(3) h2 .icon{
 border-color:#5087ab!important;background:#263843!important;color:#cdf9f6!important;
}
body.v6-landing .card-description{color:#b0c5d1!important}
body.v6-landing .code-choice-card{
 background:#11191d!important;border-color:#324b5a!important;border-radius:15px!important;
}
body.v6-landing .code-choice-card.is-active{
 background:linear-gradient(145deg,#263944,#1d2c34)!important;border-color:#97eae5!important;
 box-shadow:0 0 0 1px #9df2ed2c!important;
}
body.v6-landing .code-choice-card.is-active .code-choice-icon{color:#cdf8f6!important}
body.v6-landing .custom-code-box{background:#131c22!important;border-color:#405f71!important;border-radius:17px!important}
body.v6-landing .glass-card form>button[type=submit],body.v6-join .join-invite-card form button{
 background:linear-gradient(115deg,#b6f5f2,#83efe8 65%,#6ac4dc)!important;
 color:#15292f!important;border-color:#d2f9f7!important;
 box-shadow:0 10px 28px #51bad630!important;
}
body.v6-landing .glass-card form>button[type=submit]:hover{box-shadow:0 14px 34px #51bad645!important}

/* Host: ice dashboard */
body.setup-host-body .room-header{border-color:#344e5d}
body.setup-host-body .room-code{color:#f4f9ff!important}
body.setup-host-body .room-code-badge{border-color:#44667a!important;background:#162128!important}
body.setup-host-body .live-status{background:#23353f!important;color:#c5f8f5!important;border-color:#5086aa!important}
body.setup-host-body .live-status i{background:#84efe9!important;box-shadow:0 0 0 4px #84efe922!important}
body.setup-host-body .setup-hero h1{color:#f4f9fe!important}
body.setup-host-body .setup-hero h1 span{color:#92f1eb!important}
body.setup-host-body .setup-hero p{color:#afc4d0!important}
body.setup-host-body .setup-eyebrow,body.setup-host-body .setup-mini-tag{color:#acece8!important}
body.setup-host-body .setup-dot{background:#90f1eb!important;box-shadow:0 0 0 5px #82efe826!important}
body.setup-host-body .setup-tv-shortcut{
 background:#18242b!important;color:#eef3f9!important;border-color:#406072!important;
}
body.setup-host-body .setup-tv-shortcut:hover{background:#23353f!important;border-color:#6d9bba!important}
body.setup-host-body .setup-invite,
body.setup-host-body .setup-section,
body.setup-host-body .setup-players{
 background:linear-gradient(143deg,#18232a,#10181c 85%)!important;
 border:1px solid #324b59!important;border-radius:26px!important;
 box-shadow:0 20px 60px #04030880,inset 0 1px #fbffff0c!important;
}
body.setup-host-body .setup-invite{
 background:
 radial-gradient(ellipse 430px 240px at 70% -30px,#5fc4df26,transparent 80%),
 linear-gradient(140deg,#1a262e,#10181d 80%)!important;
}
body.setup-host-body .setup-invite:after{background:radial-gradient(ellipse,#6ac9e226,transparent 76%)!important}
body.setup-host-body .setup-invite h2{color:#f4f9ff!important}
.v6-accent-dot{color:#97f2ec!important}
body.setup-host-body .setup-invite p{color:#b3c7d2!important}
.v6-room-code-label{color:#89afc8!important}
body.setup-host-body .setup-code-box{
 border-color:#4e83a6!important;background:#1d2b33!important;color:#ecf1f7!important;
 box-shadow:inset 0 1px #fbffff12,0 4px 30px #6fc9e111!important;
}
body.setup-host-body .setup-copy,body.setup-host-body .v6-copy-code{
 background:#22333d!important;color:#ecf1f6!important;border:1px solid #4c7fa1!important;
}
body.setup-host-body .v6-copy-code{background:#19262d!important;border-color:#3d5b6d!important;color:#d7f0ef!important}
body.setup-host-body .setup-copy:hover,body.setup-host-body .v6-copy-code:hover{background:#2a3f4b!important}
.v6-invite-link{background:#0e1519!important;color:#a3bbc9!important;border-color:#304856!important}
.v6-invite-hint{color:#a7ccc9!important}
.v6-qr-card{background:#131c22!important;border-color:#3d5b6d!important}
.v6-qr-top{color:#cce1e0!important}
.v6-qr-top>span+span{color:#a8f4ef!important}
.v6-qr-bottom{color:#b9ccd6!important}
.v6-qr-status-dot{background:#96f1ec!important;box-shadow:0 0 0 3px #96f1ec27!important}
.v6-qr-link{color:#c0f7f4!important;border-color:#324b59!important}
body.setup-host-body .setup-presets{background:#18242b!important;border-color:#3a5667!important;color:#c3e3e1!important}
body.setup-host-body .setup-section-head h3{color:#f5faff!important}
body.setup-host-body .setup-section-head p{color:#a5bdca!important}
body.setup-host-body .setup-step{
 background:#243641!important;border:1px solid #4b7fa0!important;color:#c9f8f5!important;
 border-radius:13px!important;
}
body.setup-host-body .setup-mode-content{
 background:linear-gradient(145deg,#162128,#121b21)!important;border-color:#365161!important;
 border-radius:20px!important;
}
body.setup-host-body .setup-mode-content strong{color:#f5faff!important}
body.setup-host-body .setup-mode-content small{color:#a3bbc9!important}
body.setup-host-body .setup-mode-card:hover .setup-mode-content{
 border-color:#83bccb!important;background:linear-gradient(145deg,#1d2b33,#172329)!important;
 box-shadow:0 12px 32px #07040e66!important;
}
body.setup-host-body .setup-mode-card input:checked+.setup-mode-content,
body.setup-host-body .setup-mode-duo input:checked+.setup-mode-content{
 border-color:#a6f4ef!important;
 background:radial-gradient(circle at 95% -10%,#8af0ea26,transparent 63%),linear-gradient(145deg,#2b414d,#1e2d35)!important;
 box-shadow:0 0 0 1px #9df2ed47,inset 0 1px #fbffff16,0 16px 36px #07040b80!important;
}
body.setup-host-body .setup-mode-card input:checked+.setup-mode-content strong{color:#f4f9ff!important}
body.setup-host-body .setup-selected-mark{color:#d7faf8!important}
body.setup-host-body .duo-new-tag{background:#b6f4ec!important;color:#1d3942!important;border-radius:7px!important}
body.setup-host-body .duo-options{
 border-color:#5188ac!important;background:radial-gradient(ellipse 370px 180px at 100% 0%,#88e9e422,transparent),linear-gradient(140deg,#1f2f38,#162026)!important;
 border-radius:20px!important;
}
body.setup-host-body .duo-options-icon{background:#293d49!important;border:1px solid #528aae!important}
body.setup-host-body .duo-options-main>strong{color:#f5faff!important}
body.setup-host-body .duo-options-main>p,body.setup-host-body .duo-options-hint{color:#aec4d0!important}
body.setup-host-body .duo-choice-group label span{background:#18232a!important;border-color:#3e5d6f!important;color:#daf1f0!important}
body.setup-host-body .duo-choice-group label input:checked+span{
 background:linear-gradient(130deg,#b8f6f2,#91eee8)!important;border-color:#d1f9f7!important;color:#1b2932!important;
}
.duo-privacy-section{border-color:#4a6f8466!important}
.duo-privacy-icon{background:#283b46!important;border-color:#457392!important;color:#c5f7f4!important}
.duo-privacy-heading strong{color:#f4f9ff!important}
.duo-privacy-heading small{color:#aec4d0!important}
.duo-privacy-toggle{background:#162026!important;border-color:#426275!important}
.duo-privacy-toggle:hover{background:#1a272f!important;border-color:#94dad5!important}
.duo-privacy-copy strong{color:#f5faff!important}
.duo-privacy-copy small{color:#b0c5d0!important}
.duo-privacy-switch{background:#2e4552!important;border-color:#506c80!important}
.duo-privacy-input:checked+.duo-privacy-switch{background:#91f1eb!important;border-color:#d5faf7!important}
.duo-privacy-input:checked+.duo-privacy-switch>span{background:#1f3441!important}
.duo-preview{background:#22333d!important;border-color:#457492!important;color:#edf2f7!important}
.duo-preview-signal{background:#324b5a!important;border-color:#6b9bba!important}
.duo-preview.is-hidden{background:#21313a!important;border-color:#4d81a3!important;color:#dffbf9!important}
.duo-preview.is-hidden .duo-preview-signal{background:#324a58!important;border-color:#6f9dbb!important}
body.setup-host-body .setup-setting{background:#152026!important;border-color:#334c5a!important}
body.setup-host-body .setup-setting:hover{background:#1c2931!important;border-color:#548baf!important}
body.setup-host-body .setup-setting:has(.setup-toggle-input:checked){background:#21313b!important;border-color:#548baf!important}
body.setup-host-body .setup-setting:has(.setup-toggle-input:disabled){opacity:.48!important}
body.setup-host-body .setup-setting-icon{background:#263843!important;border-color:#436477!important}
body.setup-host-body .setup-setting-copy strong{color:#f5faff!important}
body.setup-host-body .setup-setting-copy small{color:#a3bbc9!important}
body.setup-host-body .setup-switch{background:#304755!important;border-color:#4b6f85!important}
body.setup-host-body .setup-toggle-input:checked+.setup-switch{background:#9bf2ed!important;border-color:#cdf8f6!important}
body.setup-host-body .setup-toggle-input:checked+.setup-switch:after{background:#182933!important}
/* Chance selector and interactive surprise gallery */
body.setup-host-body .setup-field-heading strong{color:#f4f9fe!important}
body.setup-host-body .setup-field-heading small{color:#a2bac8!important}
body.setup-host-body .setup-chance-hero{
 background:linear-gradient(115deg,#1f2e37,#19252d)!important;border-color:#476a7e!important;
 border-radius:18px!important;
}
body.setup-host-body .setup-chance-hero-copy strong{color:#f4f9fe!important}
body.setup-host-body .setup-chance-hero-copy small{color:#b3c7d2!important}
body.setup-host-body .setup-chance-hero-value{border-color:#3d5a6c!important}
body.setup-host-body .setup-chance-hero-value span{color:#a6bdca!important}
body.setup-host-body .setup-chance-hero-value strong{color:#b6f6f2!important}
body.setup-host-body .setup-chance span{
 border-color:#385363!important;
 background:linear-gradient(145deg,#18242b,#131c21)!important;
}
body.setup-host-body .setup-chance strong{color:#e1fbfa!important}
body.setup-host-body .setup-chance em{color:#d8edec!important}
body.setup-host-body .setup-chance small{color:#89afc8!important}
body.setup-host-body .setup-chance:hover span{border-color:#86bdcc!important;background:#202f38!important}
body.setup-host-body .setup-chance input:checked+span{
 border-color:#a7f4ef!important;
 background:linear-gradient(145deg,#2e4452,#21313b)!important;
 box-shadow:0 0 0 1px #9cf2ed4c,inset 0 1px #fbffff16,0 10px 24px #66c6e016!important;
}
body.setup-host-body .setup-chance input:checked+span strong{color:#bbf6f3!important}
body.setup-host-body .setup-chance input:checked+span em{color:#f5faff!important}
body.setup-host-body .surprise-toggle-btn{
 background:linear-gradient(120deg,#19252c,#202f38)!important;border-color:#4a6e84!important;color:#f4f9fe!important;
}
body.setup-host-body .surprise-toggle-btn:hover{background:linear-gradient(120deg,#22323c,#283b47)!important;border-color:#a4e0dc!important}
body.setup-host-body .surprise-toggle-btn.is-open{background:linear-gradient(120deg,#2a3f4b,#22323c)!important;border-color:#9df0eb!important;box-shadow:0 0 0 1px #97f2ec3d!important}
body.setup-host-body .surprise-toggle-icon{background:#293d49!important;border-color:#4b7fa0!important}
body.setup-host-body .surprise-toggle-copy strong{color:#f4f9fe!important}
body.setup-host-body .surprise-toggle-copy small{color:#b2c6d1!important}
body.setup-host-body .surprise-toggle-meta{background:#121c22!important;border-color:#3e5d6f!important}
body.setup-host-body .surprise-toggle-meta b{color:#c5f8f5!important}
body.setup-host-body .surprise-toggle-meta small{color:#b8cbd5!important}
body.setup-host-body .special-cards-panel{background:linear-gradient(145deg,#162128,#10181d)!important;border-color:#416073!important}
body.setup-host-body .special-panel-label{color:#b4f5f1!important}
body.setup-host-body .special-cards-panel-head h4{color:#f4f9fe!important}
body.setup-host-body .special-cards-panel-head p{color:#abc1ce!important}
body.setup-host-body .special-card{background:linear-gradient(145deg,#1a272f,#141d23)!important;border-color:#354f5f!important;color:#f5faff!important}
body.setup-host-body .special-card:hover{border-color:#95dbd6!important;background:linear-gradient(145deg,#22323c,#19252c)!important}
body.setup-host-body .special-card.is-selected{background:linear-gradient(145deg,#2c424e,#22333d)!important;border-color:#a6f3ef!important;box-shadow:0 0 0 1px #c1f7f444,0 15px 30px #06030c70!important}
body.setup-host-body .special-card-icon{background:#263843!important;border-color:#457493!important}
body.setup-host-body .special-card-copy strong{color:#f4f9ff!important}
body.setup-host-body .special-card-copy p{color:#b0c5d1!important}
body.setup-host-body .special-card-tags span{background:#1e2c35!important;border-color:#446578!important;color:#defbf9!important}
body.setup-host-body .special-card.is-unavailable .special-card-tags span:first-child{background:#1e2c35!important;border-color:#48799a!important;color:#c6f8f5!important}
body.setup-host-body .setup-timer-card{background:linear-gradient(145deg,#1b2830,#172735)!important;border-color:#3e5c6e!important}
body.setup-host-body .setup-timer-card .setup-setting{background:#19252c!important;border-color:#395565!important}
body.setup-host-body .setup-timer-select{background:#131d23!important;border-color:#3b5768!important;color:#d6e1e7!important}
body.setup-host-body .setup-timer-select select{background:#1c2932!important;border-color:#496d82!important;color:#f4f9fe!important}
body.setup-host-body .setup-bottom-bar{
 background:linear-gradient(115deg,#1e2d36,#18242b)!important;border:1px solid #477796!important;
 box-shadow:0 20px 50px #05030899!important;
}
body.setup-host-body .setup-summary-label{color:#b6f5f2!important}
body.setup-host-body .setup-summary strong{color:#f4f9ff!important}
body.setup-host-body .setup-summary small{color:#bcdbd9!important}
body.setup-host-body .setup-summary small.has-changes{color:#abf4f0!important}
body:not(.tv11-body) .setup-save-btn{background:#283c48!important;border:1px solid #4a7c9d!important;color:#ebf0f6!important}
body:not(.tv11-body) .setup-launch-btn{
 background:linear-gradient(115deg,#c7f8f5,#90f1eb)!important;color:#172832!important;border:0!important;
 box-shadow:0 9px 25px #70c6dd26!important;
}
body.setup-host-body .setup-players-total{background:#243641!important;color:#ccf8f6!important}
body.setup-host-body .setup-players .player-item{background:#162026!important;border-color:#375262!important}
body.setup-host-body .setup-players .player-item:hover{border-color:#6999b9!important}
body.setup-host-body .setup-players-foot{color:#a0b9c7!important}
body.setup-host-body .setup-players-foot a{color:#bff7f3!important}
/* Role and results */
body.v6-game .gameplay-header{border-color:#3a5667!important}
body.v6-game .gameplay-header h1{color:#f4f9fe!important}
body.v6-game .game-live-pill{background:#243640!important;border-color:#487999!important;color:#bef6f3!important}
body.v6-game .game-live-pill span{background:#8af0ea!important}
body.v6-game .role-card{
 background:radial-gradient(ellipse 460px 260px at 90% -80px,#6dc6de2e,transparent),linear-gradient(145deg,#19262d,#11191e)!important;
 border-color:#457392!important;box-shadow:0 22px 65px #05030b99!important;
}
body.v6-game .role-card.impostor{background:linear-gradient(145deg,#21313b,#131c22)!important;border-color:#77a3bf!important}
body.v6-game .role-card.jester{background:linear-gradient(145deg,#243640,#141e24)!important;border-color:#6999b9!important}
body.v6-game .role-card.devil{background:linear-gradient(145deg,#23353f,#131c21)!important;border-color:#5b8fb2!important}
body.v6-game .role-card:before{background:linear-gradient(90deg,#a9f4ef,#a1f3ee,#86efe9)!important}
body.v6-game .role-title{color:#f0f5fb!important}
body.v6-game .secret-warning{border-color:#5086aa!important;background:#24353f!important;color:#d2f9f7!important}
body.v6-game .password-box,body.v6-game .question-box{
 background:linear-gradient(135deg,#0d1519,#162026)!important;border-color:#446578!important;
 box-shadow:inset 0 1px #fbffff0a!important;
}
body.v6-game .password-text,body.v6-game .question-text{color:#f4f9fe!important}
body.v6-game .role-description{color:#b2c6d2!important}
body.v6-game .duo-secret-team{background:linear-gradient(135deg,#273a46,#1f2f38)!important;border-color:#6797b7!important}
body.v6-game .duo-secret-team>span{color:#bef6f3!important}
body.v6-game .duo-secret-team strong{color:#f1f6fb!important}
body.v6-game .duo-secret-team small{color:#bfd0d9!important}
body.v6-game .duo-secret-team.duo-anonymous{background:linear-gradient(135deg,#243640,#1c2a32)!important;border-color:#6596b6!important}
body.v6-game .duo-secret-team.duo-anonymous strong{color:#edf2f8!important}
body.v6-game .duo-public-badge{background:linear-gradient(135deg,#21313a,#18232a)!important;border-color:#4f85a8!important}
body.v6-game .duo-public-badge strong{color:#f5faff!important}
body.v6-game .duo-public-badge p{color:#bcced8!important}
body.v6-game .special-round-banner{background:linear-gradient(115deg,#253742,#1d2b33)!important;border-color:#5a8eb1!important}
body.v6-game .oral-instructions{background:#202f38!important;border-color:#416173!important}
body.v6-game .oral-instructions strong{color:#ecf1f7!important}
body.v6-game .oral-instructions p{color:#baccd7!important}
body.v6-game .host-answer-card{background:#162128!important;border-color:#3d5a6c!important}
body.v6-game .round-players-section{background:linear-gradient(140deg,#18242b,#10181d)!important}
body.v6-game .host-round-actions{background:#172329!important;border-color:#375161!important}
body.v6-game .vote-panel{background:#1b2830!important;border-color:#486b7f!important}
body.v6-game .vote-player-btn{background:#172329!important;border-color:#406072!important;color:#eaeff5!important}
body.v6-game .vote-player-btn:hover{background:#293c48!important;border-color:#96d8d4!important}
body.v6-game .round-result-inline{background:linear-gradient(130deg,#1f2e37,#151f25)!important;border-color:#4a7c9c!important}
body.v6-game .game-timer-card{background:linear-gradient(130deg,#19252d,#121c22)!important;border:1px solid #3e5d6f!important}
body.v6-game .timer-display{color:#c6f8f5!important}
body.v6-game .timer-status{color:#b2c6d1!important}
body.v6-game .timer-finished .timer-display{color:#9ff2ed!important}
/* Invitation page */
body.v6-join .join-invite-card{
 border:1px solid #4c80a2!important;background:linear-gradient(140deg,#1d2b33,#111a1f)!important;
 box-shadow:0 25px 65px #06030c90!important;
}
body.v6-join .join-invite-card:after{background:radial-gradient(#97f1ec36,transparent 70%)!important}
body.v6-join .join-invite-symbol{border-color:#5086aa!important;background:linear-gradient(140deg,#324b5a,#22323c)!important}
body.v6-join .join-brand h1{color:#f4f9fe!important}
body.v6-join .join-brand .eyebrow{color:#c1f7f4!important}
body.v6-join .join-brand p{color:#c1d1da!important}
body.v6-join .join-invite-meta>div{background:#172329!important;border-color:#3b5768!important}
body.v6-join .join-invite-meta span{color:#a8bfcc!important}
body.v6-join .join-invite-meta strong{color:#f0f5fa!important}
body.v6-join .join-invite-back{color:#bce0de!important}
/* Admin screen */
body:not(.tv11-body) .btn-save{background:linear-gradient(115deg,#aaf4f0,#80eae4)!important;border-color:#c6f8f5!important;color:#192a34!important}
body:not(.tv11-body) .btn-edit{background:#2f4654!important;color:#f1f6fb!important;border-color:#4a7c9c!important}
body:not(.tv11-body) .btn-delete{background:#21313a!important;color:#ccf8f6!important;border-color:#477796!important}
body:not(.tv11-body) .password-item{background:#18232a!important;border-color:#3f5e70!important}
body:not(.tv11-body) .message.success{background:#202f38!important;border-color:#43718e!important;color:#cef9f6!important}
/* TV: synchronized ice palette, no changes to audience data */
body.tv11-body{
 background:radial-gradient(ellipse 700px 460px at 12% 0%,#39768a33,transparent 75%),linear-gradient(155deg,#0d0815,#070510)!important;
 color:#f5faff!important;
}
body.tv11-body .tv11-top{border-color:#36505f!important}
body.tv11-body .tv11-dot{background:#91f1eb!important;box-shadow:0 0 24px #72cde685!important}
body.tv11-body .tv11-brand small,body.tv11-body .tv11-label,body.tv11-body .tv11-small{color:#8cb1c9!important}
body.tv11-body .tv11-live i{background:#8ef0ea!important}
body.tv11-body .tv11-phase,body.tv11-body .tv11-clock,
body.tv11-body .tv11-panel,body.tv11-body .tv11-winner{
 background:linear-gradient(145deg,#18242b,#10181d)!important;
 border:1px solid #3c596a!important;border-radius:24px!important;
 box-shadow:0 18px 48px #06040c88!important;
}
body.tv11-body .tv11-phase h1{color:#f5faff!important}
body.tv11-body .tv11-phase p,body.tv11-body .tv11-clock p{color:#b2c6d1!important}
body.tv11-body .tv11-people span{color:#abc1ce!important}
body.tv11-body .tv11-clock>div:nth-of-type(1){color:#cdf9f6!important}
body.tv11-body .tv11-clock.is-done>div:nth-of-type(1){color:#a2f3ee!important}
body.tv11-body .tv11-progress{background:#2b414d!important}
body.tv11-body .tv11-progress i{background:linear-gradient(90deg,#94f1eb,#a0f3ee)!important}
body.tv11-body .tv11-player,body.tv11-body .tv11-score{background:#1b2830!important;border-color:#395566!important}
body.tv11-body .tv11-player span{background:#283b47!important;color:#ccf8f6!important}
body.tv11-body .tv11-count{background:#263843!important;color:#c6f8f5!important}
body.tv11-body .tv11-score.leader{background:#253741!important;border-color:#497a9a!important}
body.tv11-body .tv11-score.leader .rank,body.tv11-body .tv11-score.leader b{color:#b6f5f2!important}
body.tv11-body .tv11-winner{background:linear-gradient(115deg,#273a45,#18242b)!important;border-color:#5087ab!important}
body.tv11-body .tv-special-event{background:linear-gradient(105deg,#243640,#19252c)!important;border-color:#538aae!important}
body.tv11-body .tv11-footer{color:#87a1b4!important}
/* Accessibility + responsive refinements */
body.setup-host-body .special-cards-panel[hidden],
body.setup-host-body .duo-options[hidden],
body.v6-game [hidden],body.tv11-body [hidden]{display:none!important}
@media(max-width:950px){body.setup-host-body .setup-mode-content{min-height:180px}}
@media(max-width:680px){
 body.v6-landing .landing-hero{padding-top:25px!important}
 body.setup-host-body .setup-section,body.setup-host-body .setup-players{border-radius:21px!important}
 body.setup-host-body .setup-chance-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
 body.setup-host-body .setup-chance span{min-height:80px!important;padding:12px!important}
 body.setup-host-body .setup-chance small{font-size:.67rem}
 body.setup-host-body .setup-mode-grid{gap:10px}
 body.v6-game .role-card{border-radius:22px!important}
}
@media(max-width:440px){
 body.setup-host-body .setup-chance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.setup-host-body .setup-chance span{min-height:74px!important}
 body.setup-host-body .setup-code-box{font-size:1.5rem!important}
 body.v6-landing .landing-hero h1{font-size:clamp(3.1rem,15.5vw,4.7rem)!important}
}
@media(prefers-reduced-motion:reduce){body:not(.tv11-body) *,body.tv11-body *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* IMPOSTOR 9.0 — MOBILE-FIRST FINISH
   Designed for 320–430px phones, landscape phones, tablets and desktop.
   No external fonts/scripts. */
:root{--ice-bg:#0a111b;--ice-surface:#132230;--ice-line:#355367;--ice-main:#62e3db;--ice-text:#f3faff;--ice-muted:#a7bdcb}
body:not(.tv11-body){background:radial-gradient(ellipse 750px 450px at 18% -190px,#20536688,transparent 78%),radial-gradient(ellipse 550px 500px at 110% 20%,#1738505c,transparent 78%),#0a111b!important}
body:not(.tv11-body) .container,body.tv11-body .tv11{min-width:0}
body:not(.tv11-body){overflow-x:clip;-webkit-font-smoothing:antialiased}
body:not(.tv11-body) .setup-shell,body:not(.tv11-body) .setup-form,body:not(.tv11-body) .setup-section,body:not(.tv11-body) .role-card,body:not(.tv11-body) .glass-card{min-width:0}
body:not(.tv11-body) img,body:not(.tv11-body) svg{max-width:100%}
body:not(.tv11-body) .role-title,body:not(.tv11-body) .password-text,body:not(.tv11-body) .question-text,body:not(.tv11-body) .player-name,body:not(.tv11-body) .setup-summary,body:not(.tv11-body) .host-answer-text{overflow-wrap:anywhere}
body:not(.tv11-body) button,body:not(.tv11-body) input,body:not(.tv11-body) select,body:not(.tv11-body) textarea{font-family:inherit}
body:not(.tv11-body) button,body:not(.tv11-body) a,body:not(.tv11-body) label,body:not(.tv11-body) summary{-webkit-tap-highlight-color:transparent}
body:not(.tv11-body) .glass-card,body:not(.tv11-body) .setup-invite,body:not(.tv11-body) .setup-section,body:not(.tv11-body) .setup-players,body:not(.tv11-body) .role-card{box-shadow:0 18px 45px #00000040,inset 0 1px 0 #ffffff0a!important}
body:not(.tv11-body) .room-code-input{font-variant-numeric:tabular-nums}
body:not(.tv11-body) .setup-timer-card,body:not(.tv11-body) .setup-timer-select{min-width:0}
body:not(.tv11-body) .duo-privacy-toggle{min-width:0}
body:not(.tv11-body) .special-card.is-unavailable{opacity:.64}
body:not(.tv11-body) .special-card:hover{box-shadow:0 10px 24px #0003}
/* Distinct role colors: readable without reintroducing pink. */
body.v6-game .role-card.impostor{background:linear-gradient(145deg,#263138,#17212d)!important;border-color:#577b8f!important}
body.v6-game .role-card.jester{background:linear-gradient(145deg,#232d46,#151f32)!important;border-color:#667eac!important}
body.v6-game .role-card.devil{background:linear-gradient(145deg,#322923,#1d2229)!important;border-color:#9c7958!important}
body.v6-game .timer-finished .timer-display,body.tv11-body .tv11-clock.is-done>div:nth-of-type(1){color:#ffae7b!important}
/* CSS media rules: laptops / tablets */
@media(max-width:1050px){
 body.setup-host-body .setup-settings-grid{grid-template-columns:1fr!important}
 body.setup-host-body .setup-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.setup-host-body .setup-mode-content{min-height:172px!important}
 body.setup-host-body .setup-chance-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 body.setup-host-body .special-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:780px){
 body.v6-landing .container{width:min(calc(100% - 28px),540px)!important;max-width:540px!important;grid-template-columns:1fr!important;gap:14px!important}
 body.v6-landing .landing-hero{padding:30px 0 16px!important;margin:0!important}
 body.v6-landing .landing-hero h1{font-size:clamp(2.75rem,12.2vw,5.1rem)!important;letter-spacing:-.085em!important}
 body.v6-landing .landing-hero .subtitle{margin-top:12px!important}
 body.v6-landing .hero-kicker{margin-bottom:16px!important}
 body.v6-landing .hero-tags{margin-top:15px!important;gap:7px}
 body.v6-landing .hero-tags span{padding:8px 10px;font-size:.7rem}
 body.v6-landing .landing-hero:after{margin-top:20px!important}
 body.v6-landing .glass-card{padding:24px!important;border-radius:22px!important}
 body.v6-landing .glass-card h2{font-size:1.36rem!important}
 body.v6-landing .code-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body.v6-landing .code-choice-card{min-width:0;padding:12px 10px!important}
 body.v6-landing .code-choice-copy strong{font-size:.86rem}
 body.v6-landing .code-choice-copy small{font-size:.7rem;line-height:1.35}
 body.v6-landing .custom-code-password-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
 body.v6-landing .glass-card form > button[type=submit]{width:100%;min-height:54px!important}
 body.setup-host-body .setup-invite{grid-template-columns:1fr!important;gap:14px!important}
 body.setup-host-body .setup-qr-card{max-width:100%}
 body.setup-host-body .setup-section{padding:22px!important}
 body.setup-host-body .setup-players{padding:22px!important}
 body.setup-host-body .setup-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.setup-host-body .setup-mode-content{min-height:164px!important}
 body.setup-host-body .setup-chance-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
 body.setup-host-body .setup-chance span{min-height:86px!important}
 body.setup-host-body .special-card-grid{grid-template-columns:1fr!important}
 body.setup-host-body .setup-chance-hero{gap:14px}
 body.setup-host-body .setup-bottom-bar{position:relative!important;bottom:auto!important;flex-direction:column;align-items:stretch;gap:14px}
 body.setup-host-body .setup-bottom-buttons{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;width:100%;gap:9px}
 body.setup-host-body .setup-bottom-buttons button{min-width:0;white-space:normal!important;line-height:1.3!important}
 body.v6-game .gameplay-header{gap:10px!important}
 body.v6-game .round-players-section{min-width:0}
 body.v6-game .vote-grid{grid-template-columns:1fr!important}
 body.v6-game .timer-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%}
 body.v6-game .timer-actions button{width:100%!important;min-width:0}
 body.v6-join .container{max-width:540px!important;width:min(calc(100% - 28px),540px)!important;padding-top:26px!important}
 body.v6-join .glass-card{padding:24px!important}
 body.tv11-body .tv11{width:min(100% - 24px,1600px)!important;padding-top:18px}
 body.tv11-body .tv11-hero{grid-template-columns:1fr!important}
 body.tv11-body .tv11-content{grid-template-columns:1fr!important}
}
@media(max-width:560px){
 body:not(.tv11-body){padding:12px 0 max(22px,env(safe-area-inset-bottom))!important}
 body:not(.tv11-body) .container{width:min(calc(100% - 24px),100%)!important;padding-left:0!important;padding-right:0!important}
 body:not(.tv11-body) input:not([type=checkbox]):not([type=radio]),body:not(.tv11-body) select,body:not(.tv11-body) textarea{font-size:16px!important;min-height:48px}
 body:not(.tv11-body) button:not(.code-choice-card):not(.special-card){min-height:44px}
 body.v6-landing .container{width:min(calc(100% - 24px),100%)!important;gap:12px!important}
 body.v6-landing .landing-hero{padding:18px 0 13px!important}
 body.v6-landing .landing-hero h1{font-size:clamp(2.6rem,12vw,4.4rem)!important}
 body.v6-landing .landing-hero:after{margin-top:15px!important}
 body.v6-landing .hero-tags{gap:6px}
 body.v6-landing .hero-tags span{font-size:.68rem;padding:7px 9px}
 body.v6-landing .glass-card{padding:20px 18px!important;border-radius:20px!important}
 body.v6-landing .glass-card h2{font-size:1.24rem!important}
 body.v6-landing .code-choice-card{min-height:86px}
 body.v6-landing .code-choice-icon{font-size:1.12rem}
 body.v6-landing .custom-code-password-row{grid-template-columns:minmax(0,1fr);gap:8px}
 body.v6-landing .custom-code-unlock{width:100%}
 body.setup-host-body .room-header{display:flex!important;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
 body.setup-host-body .room-code{font-size:1.8rem!important;letter-spacing:.09em}
 body.setup-host-body .room-header .lobby-meta{margin:0!important;max-width:none;gap:7px}
 body.setup-host-body .setup-hero{display:flex;flex-direction:column!important;align-items:flex-start!important;gap:13px!important;padding:12px 2px 0!important}
 body.setup-host-body .setup-hero h1{font-size:clamp(2rem,9.2vw,2.85rem)!important;margin:13px 0 9px!important}
 body.setup-host-body .setup-hero p{font-size:.88rem;line-height:1.58}
 body.setup-host-body .setup-tv-shortcut{align-self:stretch!important;text-align:center;display:flex;justify-content:center;min-height:44px;align-items:center}
 body.setup-host-body .setup-shell{gap:15px!important}
 body.setup-host-body .setup-invite,body.setup-host-body .setup-section,body.setup-host-body .setup-players{padding:18px 15px!important;border-radius:20px!important}
 body.setup-host-body .setup-invite h2{font-size:1.5rem!important}
 body.setup-host-body .setup-invite-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 body.setup-host-body .setup-code-box{font-size:1.32rem!important;padding:11px 9px!important;letter-spacing:.1em;min-width:0;display:grid;place-items:center}
 body.setup-host-body .setup-copy,body.setup-host-body .v6-copy-code{padding:10px 8px!important;min-width:0;font-size:.73rem!important;white-space:normal!important;line-height:1.3!important}
 body.setup-host-body .v6-qr-card{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;padding:16px!important}
 body.setup-host-body .v6-qr-paper{width:176px;height:176px;padding:7px;max-width:100%}
 body.setup-host-body .v6-qr-top,body.setup-host-body .v6-qr-bottom,body.setup-host-body .v6-qr-link{grid-column:auto;grid-row:auto;text-align:center;justify-content:center}
 body.setup-host-body .v6-invite-link{overflow-wrap:anywhere;font-size:.7rem}
 body.setup-host-body .setup-topline{align-items:flex-start;flex-direction:column;gap:8px}
 body.setup-host-body .setup-section-head{gap:11px;margin-bottom:16px}
 body.setup-host-body .setup-section-head h3{font-size:1.1rem!important}
 body.setup-host-body .setup-section-head p{font-size:.75rem!important}
 body.setup-host-body .setup-step{width:33px;height:33px;flex-shrink:0}
 body.setup-host-body .setup-mode-grid{grid-template-columns:1fr!important;gap:9px!important}
 body.setup-host-body .setup-mode-content{min-height:0!important;padding:15px 14px 15px 62px!important;gap:6px!important}
 body.setup-host-body .setup-mode-content strong{font-size:.95rem}
 body.setup-host-body .setup-mode-content small{font-size:.76rem;max-width:100%}
 body.setup-host-body .duo-options{padding:16px 12px!important;gap:11px!important}
 body.setup-host-body .duo-options-icon{width:34px;height:34px;font-size:1rem}
 body.setup-host-body .duo-options-main{min-width:0}
 body.setup-host-body .duo-choice-group{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 body.setup-host-body .duo-choice-group label{min-width:0}
 body.setup-host-body .duo-choice-group label span{font-size:.75rem;min-height:48px;padding:9px 6px!important}
 body.setup-host-body .duo-privacy-toggle{padding:12px 11px;gap:10px}
 body.setup-host-body .duo-privacy-copy strong{font-size:.83rem}
 body.setup-host-body .duo-privacy-copy small{font-size:.71rem}
 body.setup-host-body .duo-privacy-input{right:11px}
 body.setup-host-body .setup-setting{padding:12px 10px;gap:9px;min-height:76px}
 body.setup-host-body .setup-setting-icon{width:35px;height:35px;flex-shrink:0}
 body.setup-host-body .setup-setting-copy strong{font-size:.83rem}
 body.setup-host-body .setup-setting-copy small{font-size:.72rem}
 body.setup-host-body .setup-switch{width:46px;flex-shrink:0}
 body.setup-host-body .setup-toggle-input{right:9px}
 body.setup-host-body .setup-chance-hero{padding:15px 13px}
 body.setup-host-body .setup-chance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.setup-host-body .setup-chance-grid .setup-chance:last-child:nth-child(odd){grid-column:1/-1}
 body.setup-host-body .setup-chance span{min-height:77px!important;padding:12px!important}
 body.setup-host-body .setup-chance strong{font-size:1.2rem!important}
 body.setup-host-body .surprise-toggle-btn{gap:10px!important;padding:13px!important}
 body.setup-host-body .surprise-toggle-icon{width:36px;height:36px}
 body.setup-host-body .surprise-toggle-copy strong{font-size:.86rem}
 body.setup-host-body .surprise-toggle-copy small{font-size:.73rem}
 body.setup-host-body .surprise-toggle-meta{min-width:46px}
 body.setup-host-body .special-cards-panel{padding:12px!important}
 body.setup-host-body .special-card{padding:12px!important;gap:10px!important}
 body.setup-host-body .special-card-icon{width:40px;height:40px;flex-shrink:0}
 body.setup-host-body .special-card-copy strong{font-size:.9rem}
 body.setup-host-body .special-card-copy p{font-size:.78rem}
 body.setup-host-body .setup-timer-card{padding:10px!important}
 body.setup-host-body .setup-timer-select{flex-direction:column;align-items:stretch;gap:9px;padding:12px}
 body.setup-host-body .setup-timer-select select{width:100%!important;min-width:0!important}
 body.setup-host-body .setup-bottom-bar{padding:13px!important;border-radius:17px!important}
 body.setup-host-body .setup-summary strong{font-size:.8rem!important}
 body.setup-host-body .setup-players-head{align-items:flex-start;flex-direction:column;gap:6px}
 body.setup-host-body .setup-players .player-list{grid-template-columns:1fr!important}
 body.setup-host-body .setup-players .player-item{min-width:0}
 body.setup-player-body .glass-card{padding:20px 17px!important}
 body.v6-game .container{width:min(calc(100% - 24px),100%)!important}
 body.v6-game .gameplay-header{display:flex!important;align-items:flex-start!important;flex-wrap:wrap}
 body.v6-game .gameplay-header h1{font-size:clamp(2.1rem,9vw,3.2rem)!important}
 body.v6-game .game-live-pill{margin:0!important;white-space:nowrap}
 body.v6-game .role-card{padding:20px 16px!important;border-radius:20px!important}
 body.v6-game .role-title{font-size:clamp(1.35rem,5vw,1.75rem)!important}
 body.v6-game .password-box,body.v6-game .question-box{padding:18px 13px!important}
 body.v6-game .password-text{font-size:clamp(1.65rem,8vw,2.7rem)!important}
 body.v6-game .question-text{font-size:clamp(1.25rem,5.7vw,1.8rem)!important;line-height:1.35}
 body.v6-game .duo-secret-team,body.v6-game .duo-public-badge{padding:14px!important}
 body.v6-game .game-timer-card{padding:17px!important;gap:18px!important}
 body.v6-game .timer-display{font-size:clamp(3rem,13vw,4.3rem)!important}
 body.v6-game .timer-actions{grid-template-columns:1fr 1fr}
 body.v6-game .vote-panel{padding:15px!important}
 body.v6-game .vote-panel-head{gap:10px;flex-wrap:wrap}
 body.v6-game .round-result-card{padding:20px 16px!important;width:100%;max-height:calc(100dvh - 32px);overflow-y:auto}
 body.v6-join .container{width:min(calc(100% - 24px),100%)!important;padding-top:14px!important}
 body.v6-join .join-invite-card{padding:21px 17px!important}
 body.v6-join .join-brand h1{font-size:clamp(1.85rem,8.5vw,2.6rem)!important}
 body.v6-join .join-invite-meta{gap:8px}
 body.v6-join .join-invite-meta>div{padding:11px!important}
 body.tv11-body .tv11{width:calc(100% - 24px)!important}
 body.tv11-body .tv11-top{grid-template-columns:1fr auto!important;gap:12px!important}
 body.tv11-body .tv11-live{grid-column:2;grid-row:1}
 body.tv11-body .tv11-room{grid-column:1/-1;grid-row:2;text-align:left;margin-top:6px}
 body.tv11-body .tv11-room strong{font-size:26px!important}
 body.tv11-body .tv11-phase,body.tv11-body .tv11-clock,body.tv11-body .tv11-panel{padding:18px!important;min-height:0}
 body.tv11-body .tv11-phase h1{font-size:clamp(2.5rem,10vw,4.1rem)}
 body.tv11-body .tv11-clock>div:nth-of-type(1){font-size:clamp(3rem,13vw,5rem)}
 body.tv11-body .tv11-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.tv11-body .tv11-player{min-width:0;overflow-wrap:anywhere}
}
@media(max-width:370px){
 body.v6-landing .code-choice{grid-template-columns:1fr}
 body.setup-host-body .setup-bottom-buttons{grid-template-columns:1fr!important}
 body.setup-host-body .setup-bottom-buttons button{width:100%}
 body.setup-host-body .surprise-toggle-btn{flex-wrap:wrap}
 body.setup-host-body .surprise-toggle-meta{min-width:0;width:100%;display:flex;justify-content:center;gap:7px}
 body.setup-host-body .setup-invite-actions{grid-template-columns:1fr}
 body.setup-host-body .setup-code-box{font-size:1.55rem!important}
 body.setup-host-body .duo-privacy-toggle{align-items:flex-start}
 body.setup-host-body .duo-privacy-switch{width:44px;height:28px;flex-shrink:0}
 body.setup-host-body .duo-privacy-switch>span{width:20px;height:20px}
 body.setup-host-body .duo-privacy-input:checked+.duo-privacy-switch>span{transform:translateX(16px)}
 body.v6-game .timer-actions{grid-template-columns:1fr}
 body.tv11-body .tv11-player-grid{grid-template-columns:1fr!important}
}
@media(hover:none){body:not(.tv11-body) button:hover:not(:disabled),body:not(.tv11-body) .special-card:hover{transform:none!important}}
@media(prefers-reduced-motion:reduce){body:not(.tv11-body) *,body.tv11-body *{transition-duration:0s!important;animation:none!important}}
/* Remove the last violet controls inherited from the base stylesheet. */
body.v6-landing .code-choice-icon{background:#152936!important;border:1px solid #3c6073!important;color:#9be7ee!important}
body.v6-landing .code-choice-card.is-active .code-choice-icon{background:linear-gradient(145deg,#2c8b98,#28748a)!important;border-color:#64d4d7!important;color:#f4ffff!important;box-shadow:0 7px 18px #2bbcc52c!important}
body.v6-landing .code-choice-check{background:#4dc8d6!important;color:#092d37!important}
body.v6-landing .code-choice-card.is-active .code-choice-copy small{color:#b4d7dd!important}
