﻿.online-screen{display:none}.online-screen.active{display:block}.compact{padding:25px 0}.online-pill{visibility:visible}.back-link{text-decoration:none}.online-card{padding:22px;margin-top:26px}.online-card h1{margin:0}.online-card>p{color:#655f73}.online-card>label{display:block;font-weight:800;font-size:13px;margin:12px 0 5px}.online-card h3{margin:18px 0 8px}.avatar-studio{background:#eee8fb;border:2px solid var(--ink);border-radius:16px;padding:13px;margin-bottom:18px}.avatar-stage{display:grid;grid-template-columns:1fr 90px;align-items:center;min-height:172px;background:linear-gradient(#bfe9ff 68%,#a4dfb1 68%);border:2px solid var(--ink);border-radius:13px;padding:10px}.random-avatar{border:2px solid var(--ink);border-radius:9px;background:var(--yellow);padding:8px;font-size:11px;font-weight:800;box-shadow:2px 2px 0 var(--ink)}.avatar-tabs{display:flex;gap:6px;overflow-x:auto;padding:11px 1px 8px}.avatar-tab{flex:0 0 39px;height:39px;border:2px solid var(--ink);border-radius:10px;background:white;font-size:18px}.avatar-tab.active{background:var(--yellow);transform:translateY(-2px)}.avatar-options{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.avatar-option{height:42px;border:2px solid var(--ink);border-radius:9px;background:white;font-weight:800;overflow:hidden}.avatar-option.active{background:var(--mint);box-shadow:2px 2px 0 var(--ink)}.swatch{display:block;width:24px;height:24px;border:2px solid var(--ink);border-radius:50%;margin:auto}
.avatar{--skin:#c98252;--hair:#2a1a16;--shirt:#ff6fae;position:relative;width:110px;height:145px;margin:auto}.avatar .neck{position:absolute;width:30px;height:29px;background:var(--skin);border:3px solid var(--ink);left:40px;top:93px}.avatar .body{position:absolute;width:100px;height:55px;left:5px;bottom:0;background:var(--shirt);border:3px solid var(--ink);border-radius:48px 48px 12px 12px}.avatar .head{position:absolute;width:88px;height:102px;left:11px;top:7px;background:var(--skin);border:3px solid var(--ink);border-radius:47% 47% 43% 43%;z-index:2}.avatar.shape-1 .head{border-radius:42% 42% 50% 50%}.avatar.shape-2 .head{width:94px;left:8px;border-radius:50% 50% 38% 38%}.avatar .ears:before,.avatar .ears:after{content:"";position:absolute;width:12px;height:21px;background:var(--skin);border:3px solid var(--ink);top:45px;z-index:1;border-radius:50%}.avatar .ears:before{left:5px}.avatar .ears:after{right:5px}.hair-piece{position:absolute;z-index:5;top:2px;left:15px;width:80px;height:35px;background:var(--hair);border:3px solid var(--ink);border-radius:55% 55% 25% 25%}.hair-1 .hair-piece{clip-path:polygon(0 0,100% 0,95% 100%,74% 58%,57% 100%,38% 55%,14% 100%)}.hair-2 .hair-piece{height:26px;border-radius:60%}.hair-3 .hair-piece{height:64px;left:8px;width:94px;border-radius:50% 50% 34% 34%}.hair-4 .hair-piece{height:45px;background:radial-gradient(circle,var(--hair) 0 7px,transparent 8px);background-size:19px 19px;border:0}.hair-5 .hair-piece{display:none}.brows,.eyes,.mouth,.beard{position:absolute;z-index:6;left:0;width:100%;text-align:center;color:#20171a}.brows{top:43px;font-size:17px;letter-spacing:18px;padding-left:18px}.eyes{top:56px;font-size:18px;letter-spacing:18px;padding-left:18px}.mouth{top:77px;font-size:22px}.beard{top:76px;font-size:28px}.acc{position:absolute;z-index:8;inset:0;pointer-events:none}.acc-1 .acc:after{content:"★";position:absolute;top:-8px;right:2px;color:#ffd84d;font-size:28px;text-shadow:1px 1px var(--ink)}.acc-2 .acc:after{content:"";position:absolute;top:57px;left:25px;width:55px;height:17px;border:4px solid var(--ink);border-radius:10px;box-shadow:inset 22px 0 transparent}.acc-3 .acc:after{content:"♛";position:absolute;top:-18px;left:39px;color:#ffd84d;font-size:35px;text-shadow:2px 2px var(--ink)}
.or{text-align:center;font-weight:800;margin:15px}.join-row{display:flex;gap:8px}.join-row input{text-transform:uppercase}.join-row button{border:2px solid var(--ink);border-radius:10px;background:var(--mint);font-weight:800;padding:0 18px}.center{text-align:center}.room-code{font-size:48px;font-weight:800;letter-spacing:8px;color:var(--purple)}.network-hint{font-size:12px}.online-players{display:grid;gap:8px;margin:18px 0}.online-player{display:flex;align-items:center;gap:12px;text-align:start;background:white;border:2px solid var(--ink);border-radius:12px;padding:8px}.online-player .avatar{width:55px;height:67px;transform:scale(.62);transform-origin:center;margin:-12px -8px}.online-player strong{flex:1}.online-player i{font-style:normal;color:var(--purple)}.result-player{display:grid;grid-template-columns:45px 1fr auto;gap:9px;align-items:center}.result-player .avatar{width:42px;height:48px;transform:scale(.48);transform-origin:center;margin:-12px}.result-player span{text-align:start}#waitingText,#nextWait,#answerWait{font-weight:800;color:white!important}[dir=ltr] .online-player{text-align:left}@media(max-width:370px){.avatar-stage{grid-template-columns:1fr 75px}.avatar-options{grid-template-columns:repeat(4,1fr)}}
#onlineCategorySetup{margin:18px 0;text-align:start}.category-help{margin:0 0 9px!important;font-size:12px}.online-category-choice{min-height:48px}.submit-status{font-size:12px;font-weight:800;margin-top:8px;color:var(--purple)}#hostStart:disabled{opacity:.45}
.join-team-chooser{margin-top:12px;padding:12px;border:2px solid var(--ink);border-radius:12px;background:#eee8fb}.join-team-chooser p{margin:0 0 8px;font-weight:800}.join-team-chooser>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.join-team-option{border:2px solid var(--ink);border-radius:9px;background:white;padding:9px;font-weight:800}.join-team-option:hover{background:var(--mint)}#onlineTeamBoards .team-board{background:white}.online-team-member{justify-content:space-between}
.avatar-stage{display:grid;place-items:center;grid-template-columns:1fr;min-height:190px;padding:4px}.online-character-picker{margin-bottom:0}.online-player .character-sprite{width:55px;height:67px}.result-player .character-sprite{width:42px;height:50px}.online-team-member .character-sprite{margin-inline-end:3px}


/* v85 focused online/host button polish - structure unchanged */
.online-screen .online-card,
.online-screen .host-question-card,
.online-screen .acting-stage { border-radius: 18px; border-width: 3px; box-shadow: 7px 7px 0 rgba(24,20,38,.82); }
.online-screen .online-card { max-width: 720px; margin-inline: auto; }
.topbar { align-items: center; gap: 12px; }
.topbar .lang-button,
.topbar .icon-button,
.topbar .round-pill { min-height: 46px; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); }
.topbar .back-link { display: inline-flex; align-items: center; gap: 7px; padding-inline: 14px; }
.online-pill { background: var(--paper); letter-spacing: .08em; }
.online-screen .primary-button,
.online-screen .secondary-button,
.join-row button,
.format-choice,
.join-team-option,
.board-question,
.target-choice,
.power-chip,
.host-stage-action { min-height: 52px; border-radius: 14px; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); transition: transform .14s ease, box-shadow .14s ease, filter .14s ease; }
.online-screen .primary-button:hover:not(:disabled),
.online-screen .secondary-button:hover:not(:disabled),
.join-row button:hover:not(:disabled),
.format-choice:hover:not(:disabled),
.join-team-option:hover:not(:disabled),
.board-question:hover:not(:disabled),
.target-choice:hover:not(:disabled),
.power-chip:hover:not(:disabled),
.host-stage-action:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 4px 5px 0 var(--ink); filter: saturate(1.08); }
.online-screen .primary-button:active:not(:disabled),
.online-screen .secondary-button:active:not(:disabled),
.join-row button:active:not(:disabled),
.format-choice:active:not(:disabled),
.join-team-option:active:not(:disabled),
.board-question:active:not(:disabled),
.target-choice:active:not(:disabled),
.power-chip:active:not(:disabled),
.host-stage-action:active:not(:disabled) { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
#createRoom,
#hostStart,
#onlineConfirmCategories,
#onlineConfirmTricks,
#hostStageAction,
#onlineNext,
#onlineActingDone,
#onlineDrawSubmit { background: linear-gradient(180deg,#67dec9,#45c6ae) !important; color: var(--ink) !important; letter-spacing: .02em; }
#createRoom::before { content: "\002B"; margin-inline-end: 8px; font-weight: 900; }
#hostStart::before,
#onlineConfirmCategories::before,
#onlineConfirmTricks::before { content: "\2192"; margin-inline-end: 8px; font-weight: 900; }
[dir="rtl"] #hostStart::before,
[dir="rtl"] #onlineConfirmCategories::before,
[dir="rtl"] #onlineConfirmTricks::before { content: "\2190"; }
.big-screen-create { background: linear-gradient(180deg,#ffdc5c,#ffc93d) !important; color: var(--ink) !important; width: 100%; justify-content: center; }
.big-screen-create::before { content: "\25A3"; margin-inline-end: 8px; }
.how-to-play-button { background: #fff !important; color: var(--ink) !important; width: 100%; justify-content: center; }
.how-to-play-button::before { content: "?"; margin-inline-end: 8px; }
.join-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 12px; border: 2px dashed rgba(24,20,38,.35); border-radius: 16px; background: rgba(255,255,255,.48); }
.join-row input,
.name-character-row input,
#onlineFake,
#onlineTeamCount,
.team-add-player input,
.team-board input { min-height: 52px; border-radius: 14px; border-width: 2px; background: #fffdf8; }
.join-row button { min-width: 112px; background: linear-gradient(180deg,#67dec9,#45c6ae); }
.join-row button::before { content: "\21B5"; margin-inline-end: 7px; }
.or { position: relative; margin: 18px 0; color: #655f73; }
.or::before,
.or::after { content: ""; display: inline-block; width: 58px; height: 2px; margin: 0 10px 4px; background: rgba(24,20,38,.25); }
.format-toggle { gap: 12px; }
.format-choice { display: grid; place-items: center; background: #fffdf8; font-size: 16px; }
.format-choice[data-online-format="solo"]::before { content: "\25CF"; margin-inline-end: 7px; color: #6b5cff; }
.format-choice[data-online-format="teams"]::before { content: "\25CF\25CF"; margin-inline-end: 7px; color: #31b69f; letter-spacing: -3px; }
.format-choice.selected { background: linear-gradient(180deg,#ffe06a,#ffd13f) !important; outline: 3px solid rgba(255,255,255,.85); }
.room-code { display: inline-block; padding: 8px 18px; border: 3px solid var(--ink); border-radius: 18px; background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); }
.network-hint { max-width: 560px; margin-inline: auto; color: #655f73; font-weight: 800; }
.online-player { border-radius: 15px; background: #fffdf8; box-shadow: 2px 2px 0 rgba(24,20,38,.25); }
.team-count-wrap,
.join-team-chooser,
.representative-card { border-radius: 16px; background: rgba(255,248,232,.82); }
.category-actions .random-category-button { background: #fffdf8 !important; }
.category-actions .random-category-button::before { content: "\21BB"; margin-inline-end: 8px; }
.selection-count,
.leader-chip,
.board-round { border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); }
.board-question { background: #fffdf8; text-align: center; font-size: 15px; }
.board-question:hover:not(:disabled) { background: var(--yellow) !important; }
.board-question:disabled { opacity: .58; text-decoration: none; }
.power-chip { background: #fffdf8; padding-inline: 14px; }
.power-chip.active { background: var(--yellow); }
.power-chip.used { opacity: .52; }
.host-screen-entry .online-pill,
.host-screen-entry #createBigScreen,
.host-screen-entry #hostStageAction { background: linear-gradient(180deg,#8fc3ff,#72aef7) !important; }
.big-screen-stage .host-stage-top,
#onlineHostStage .host-score-strip { gap: 12px; }
.host-score { border-radius: 14px; box-shadow: 2px 2px 0 var(--ink); }
.host-progress { border-radius: 16px; }
@media(max-width:560px){
  .online-card { margin-top: 16px; padding: 18px; }
  .join-row { grid-template-columns: 1fr; }
  .join-row button { width: 100%; min-height: 52px; }
  .format-toggle { grid-template-columns: 1fr; }
  .topbar { gap: 8px; }
  .topbar .lang-button, .topbar .icon-button, .topbar .round-pill { min-height: 42px; padding-inline: 10px; }
  .room-code { font-size: 36px; letter-spacing: 5px; }
}

/* QR Code and Split Widescreen TV Lobby styling */
.qr-placeholder-box {
  width: 120px;
  height: 120px;
  background: white;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px auto;
  position: relative;
}
.qr-pattern {
  width: 96px;
  height: 96px;
  background-image: 
    linear-gradient(45deg, var(--ink) 25%, transparent 25%), 
    linear-gradient(-45deg, var(--ink) 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, var(--ink) 75%), 
    linear-gradient(-45deg, transparent 75%, var(--ink) 75%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
  opacity: 0.85;
}
.qr-pattern::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 18px;
  height: 18px;
  background: white;
  border: 5px solid var(--ink);
}
.qr-pattern::after {
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  background: white;
  border: 5px solid var(--ink);
}

.host-screen-entry #lobbyScreen .lobby-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  max-width: 960px;
  margin-inline: auto;
  text-align: right;
}
.host-screen-entry #lobbyScreen .lobby-players-side {
  border-inline-start: 3px dashed rgba(24, 20, 38, 0.15);
  padding-inline-start: 25px;
  text-align: right;
}
.host-screen-entry #lobbyScreen .online-players {
  text-align: right;
}

.online-card .mode-choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* Force unselected format-choice and language-choice to be white, and yellow when selected */
.online-screen .format-choice,
.online-screen .language-choice-grid .format-choice {
  background: white !important;
  color: var(--ink) !important;
  box-shadow: 2px 2px 0 var(--ink) !important;
  border: 2px solid var(--ink) !important;
}

.online-screen .format-choice.selected,
.online-screen .language-choice-grid .format-choice.selected {
  background: linear-gradient(180deg, #ffe06a, #ffd13f) !important;
  color: var(--ink) !important;
  box-shadow: 3px 3px 0 var(--ink) !important;
}

/* Drag and Drop Player Chips Cursors */
.online-team-member {
  cursor: grab !important;
  user-select: none !important;
}
.online-team-member:active {
  cursor: grabbing !important;
}

/* v91 phone lobby and team-control repair */
.online-screen, .online-card, .lobby-container, .lobby-info-side, .lobby-players-side {
  box-sizing: border-box;
  max-width: 100%;
}
.online-card.lobby-container {
  overflow: hidden;
}
.host-player-control {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px;
  border: 2px solid rgba(24,20,38,.18);
  border-radius: 14px;
  background: #fffdf8;
}
.host-player-name {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: start;
}
.host-player-name strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.host-player-name small {
  color: #756f83;
  font-size: 11px;
  font-weight: 800;
}
.host-player-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
}
.host-team-select-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: white;
  box-shadow: 2px 2px 0 rgba(24,20,38,.25);
  font-size: 12px;
  font-weight: 900;
}
.host-team-select {
  min-height: 34px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 900;
  color: var(--ink);
  outline: none;
}
.host-mini-action,
.host-icon-action {
  min-height: 38px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #ffdc55;
  color: var(--ink);
  font-family: inherit;
  font-weight: 900;
  box-shadow: 2px 2px 0 rgba(24,20,38,.35);
  cursor: pointer;
}
.host-mini-action { padding: 6px 10px; }
.host-icon-action { width: 38px; padding: 0; background: #fff; font-size: 20px; line-height: 1; }
.player-team-switcher-title {
  margin: 15px 0 8px;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}
.player-team-choice-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 15px;
}
.player-team-choice {
  min-height: 46px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  font-family: inherit;
  font-weight: 900;
  box-shadow: 2px 2px 0 rgba(24,20,38,.35);
  cursor: pointer;
}
.player-team-choice.selected {
  background: linear-gradient(180deg,#ffe06a,#ffd13f);
  box-shadow: inset 0 0 0 3px white, 3px 3px 0 var(--ink);
}
.team-members[data-team-drop] {
  min-height: 58px;
  padding: 8px;
  border: 2px dashed rgba(24,20,38,.22);
  border-radius: 14px;
}
.team-members[data-team-drop]:empty::after {
  content: attr(data-empty-label);
  display: block;
  color: rgba(24,20,38,.45);
  font-weight: 900;
  font-size: 12px;
  padding: 10px;
}
@media(max-width:760px){
  html, body { max-width: 100%; overflow-x: hidden; }
  .online-shell { width: 100%; max-width: 100vw; overflow-x: hidden; }
  .online-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    padding-inline: 10px;
  }
  .online-topbar > * { min-width: 0; }
  .host-screen-entry #lobbyScreen .lobby-container,
  #lobbyScreen .lobby-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 10px auto !important;
    padding: 18px !important;
    text-align: center !important;
    transform: none !important;
  }
  .host-screen-entry #lobbyScreen .lobby-players-side,
  #lobbyScreen .lobby-players-side {
    border-inline-start: 0 !important;
    border-top: 2px dashed rgba(24,20,38,.14);
    padding-inline-start: 0 !important;
    padding-top: 14px;
    text-align: center !important;
    width: 100%;
    overflow: visible;
  }
  .host-screen-entry #lobbyScreen .online-players,
  #lobbyScreen .online-players { text-align: center !important; }
  .room-code {
    font-size: clamp(32px, 12vw, 56px) !important;
    letter-spacing: .06em;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .qr-placeholder-box { width: 112px !important; height: 112px !important; }
  #lobbyQrCode { width: 92px !important; height: 92px !important; }
  .host-player-control {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .host-player-actions { justify-content: center; }
  .host-team-select-wrap { width: 100%; justify-content: space-between; }
  .host-team-select { flex: 1; text-align: center; }
  .team-boards { grid-template-columns: 1fr !important; }
  .team-board { min-width: 0; }
}

.question-audio-button { display: inline-flex; align-items: center; gap: 10px; background: var(--purple, #6941d8); color: white; border: 3px solid var(--ink, #0d0b1a); border-radius: 999px; padding: 12px 22px; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 4px 4px 0 var(--ink, #0d0b1a); transition: transform 0.1s, box-shadow 0.1s; margin: 8px 0; } .question-audio-button:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink,#0d0b1a); } .audio-btn-icon { font-size: 20px; } .audio-plays-left { display: inline-block; margin-left: 8px; font-size: 13px; font-weight: 800; background: var(--yellow,#ffd84d); color: var(--ink,#0d0b1a); border: 2px solid var(--ink,#0d0b1a); border-radius: 999px; padding: 3px 10px; }

/* Team switch popup - replaces old arrows, dropdowns, and drag/drop controls */
.online-team-member { cursor: default !important; user-select: auto !important; }
.team-switch-trigger {
  min-height: 38px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: linear-gradient(180deg,#67dec9,#45c6ae);
  color: var(--ink);
  font-family: inherit;
  font-weight: 900;
  padding: 7px 12px;
  box-shadow: 2px 2px 0 rgba(24,20,38,.35);
  cursor: pointer;
}
.team-switch-trigger:hover { transform: translateY(-1px); box-shadow: 3px 4px 0 rgba(24,20,38,.35); }
.team-switch-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(24,20,38,.42);
}
.team-switch-popup.hidden { display: none !important; }
.team-switch-panel {
  width: min(420px, 100%);
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #fff8e8;
  box-shadow: 8px 8px 0 rgba(24,20,38,.35);
  padding: 18px;
  position: relative;
}
.team-switch-close {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: white;
  font-weight: 900;
  cursor: pointer;
}
.team-switch-panel h3 { margin: 0 42px 14px 0; font-size: 20px; }
[dir="rtl"] .team-switch-panel h3 { margin: 0 0 14px 42px; }
.team-switch-options { display: grid; gap: 9px; }
.team-switch-option {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  font-family: inherit;
  font-weight: 900;
  padding: 10px 14px;
  cursor: pointer;
}
.team-switch-option.selected {
  background: linear-gradient(180deg,#ffe06a,#ffd13f);
  box-shadow: inset 0 0 0 3px white;
}
.team-switch-option strong { font-size: 12px; color: #645b73; }
#playerTeamSwitcher .team-switch-trigger { width: 100%; justify-content: center; }

/* v113 focused online fixes */
.host-tools-menu .danger,
.host-tools-menu button.danger {
  background: #b31221 !important;
  color: #fff !important;
  border-color: var(--ink) !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.28);
}
#onlineAnswerTimer {
  --timer-progress: 100%;
  --timer-angle: 0deg;
}
#onlineAnswerTimer .timer-watch,
#onlineAnswerTimer .timer-watch:after {
  transition: background .18s linear, transform .18s linear;
}
#answerWait {
  display: block;
  margin-top: 12px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink) !important;
  font-weight: 900;
  text-align: center;
}
#answerWait:empty {
  display: none;
}
#onlineFake::placeholder {
  color: rgba(23,20,38,.42);
  font-weight: 800;
}
#onlineVote #onlineAnswers {
  display: grid;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}
#onlineVote #onlineAnswers .answer-option {
  width: 100%;
  cursor: pointer;
}
#onlineVote #onlineAnswers .answer-option:disabled {
  cursor: not-allowed;
}


/* v118 focused online MCQ/results/audio fixes */
#onlineVote.online-screen.active {
  display: block;
  width: min(94vw, 980px);
  margin: clamp(18px, 3vw, 34px) auto;
  padding: clamp(18px, 3vw, 30px);
  background: var(--paper);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 rgba(24,20,38,.88);
}
#onlineVote .vote-heading {
  margin: 0 0 16px;
  color: var(--ink);
  text-align: start;
  display: grid;
  gap: 12px;
}
#onlineVote .vote-deadline {
  grid-row: 1;
  justify-self: center;
  margin: 0 auto 4px;
  width: 64px;
  height: 64px;
  background: var(--yellow);
}
#onlineVote #onlineVoteCharacter {
  justify-self: start;
}
#onlineVote .vote-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ink);
}
#onlineVote .vote-heading p {
  margin: 0;
  opacity: 1;
}
.vote-question-category {
  margin-bottom: 8px;
  font-weight: 900;
  color: var(--purple);
}
.vote-question-text {
  font-size: clamp(22px, 3.3vw, 34px);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 14px;
}
.vote-question-image {
  display: block;
  width: min(100%, 520px);
  max-height: 330px;
  object-fit: contain;
  border-radius: 14px;
  margin: 12px auto 18px;
  background: white;
}
.vote-help-text {
  margin: 10px 0 0;
  font-weight: 800;
  color: rgba(24,20,38,.72);
}
#onlineVote #onlineAnswers {
  display: grid;
  width: 100%;
  max-width: 960px;
  margin: 18px auto 0;
  gap: 14px;
}
#onlineVote #onlineAnswers .answer-option,
#onlineVote #onlineAnswers .answer-option:nth-child(2n),
.online-screen .answer-option,
.online-screen .answer-option:nth-child(2n) {
  background: #fff !important;
}
#onlineVote #onlineAnswers .answer-option.choice-selected {
  background: var(--yellow) !important;
}
#onlineVote #onlineAnswers .answer-option.vote-correct,
.online-screen .answer-option.vote-correct {
  background: #42e68c !important;
}
#onlineVote #onlineAnswers .answer-option.vote-wrong,
.online-screen .answer-option.vote-wrong {
  background: #ff606d !important;
}
#onlineVote #onlineAnswers .answer-option {
  width: 100%;
  cursor: pointer;
}
#onlineVote .vote-power-dock {
  justify-content: center;
}
.question-audio-wrap audio:not(.hidden) {
  display: none !important;
}
.question-audio-wrap {
  width: min(100%, 520px);
  margin: 14px auto 16px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
}
.question-audio-button {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
  color: var(--ink) !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0,1fr) auto;
  gap: 12px;
  text-align: start;
}
.question-audio-track {
  height: 9px;
  background: #e7e1d6;
}
.question-audio-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--pink);
  transition: width .08s linear;
}
#onlineNext.final-next-button,
#hostStageAction.final-next-button {
  background: linear-gradient(180deg,#ffe680,#f2b705 58%,#c98500) !important; color: var(--ink) !important; text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
@media (max-width: 640px) {
  #onlineVote.online-screen.active {
    width: calc(100vw - 24px);
    padding: 16px 12px;
    border-radius: 20px;
    box-shadow: 5px 5px 0 rgba(24,20,38,.88);
  }
  #onlineVote .vote-heading {
    text-align: start;
  }
  #onlineVote .vote-deadline {
    width: 56px;
    height: 56px;
  }
  .vote-question-image {
    max-height: 260px;
  }
  .result-card {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 14px !important;
    overflow: visible !important;
  }
  .result-card > div {
    width: 100% !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    text-align: start !important;
  }
  .result-card > div:nth-child(3),
  .result-card > div:nth-child(4) {
    align-items: center !important;
    text-align: center !important;
  }
  .results-cards-container {
    gap: 14px !important;
  }
}

/* v119 MCQ no-repeat and gold final leaderboard button */
#onlineVote .vote-question-category,#onlineVote .vote-question-text,#onlineVote .vote-question-image,#onlineVote #onlineVoteAudioWrap{display:none!important}
#onlineNext.final-next-button,#hostStageAction.final-next-button{background:linear-gradient(180deg,#ffe680,#f2b705 58%,#c98500)!important;color:var(--ink)!important;text-shadow:0 1px 0 rgba(255,255,255,.35);}


.vote-waiting-card{grid-column:1/-1;background:var(--paper);border:3px solid var(--ink);border-radius:18px;box-shadow:5px 5px 0 var(--ink);padding:24px;text-align:center}.vote-waiting-card h2{margin:0 0 10px}.vote-waiting-card p{margin:6px 0;font-weight:800}.phone-wait-screen p{white-space:pre-line}
