/* ==========================================================
   Digitera V4.24.0 — Professional Fun Learning Design System
   CSS-only visual refresh for quizzes, live games & edu games
   ========================================================== */
:root{
  --dgt-game-ink:#152238;
  --dgt-game-muted:#5d6b82;
  --dgt-game-surface:#ffffff;
  --dgt-game-soft:#f6f9ff;
  --dgt-game-border:#dfe7f2;
  --dgt-game-primary:#5b5fe9;
  --dgt-game-primary-dark:#4448c9;
  --dgt-game-blue:#2684ff;
  --dgt-game-cyan:#18b7c9;
  --dgt-game-green:#28aa68;
  --dgt-game-yellow:#f4b72f;
  --dgt-game-orange:#ef7c35;
  --dgt-game-red:#e94d61;
  --dgt-game-purple:#8758d8;
  --dgt-game-shadow:0 18px 48px rgba(38,61,96,.12);
  --dgt-game-shadow-hover:0 24px 60px rgba(38,61,96,.17);
  --dgt-game-radius:24px;
  --dgt-game-radius-sm:16px;
}

/* Shared accessibility and typography */
.quiz-game-shell,.quiz-start-shell,.join-shell,.student-quiz-section,.student-results-section,.student-result-detail-section,
.html-quiz-player,.html-quiz-join-wrap,.live-host-page,.live-team-page,.live-guest-join-page,
.edu-zone-page,.edu-live-page,.edu-student-page,.digitera-game-root{
  font-family:Inter,ui-rounded,"Nunito Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--dgt-game-ink);
}
.quiz-game-shell *,.quiz-start-shell *,.student-quiz-section *,.student-results-section *,.student-result-detail-section *,
.live-host-page *,.live-team-page *,.live-guest-join-page *,.edu-zone-page *,.edu-live-page *,.edu-student-page *{box-sizing:border-box}
.quiz-game-shell button,.quiz-game-shell a,.quiz-start-shell button,.quiz-start-shell a,
.live-host-page button,.live-host-page a,.live-team-page button,.live-team-page a,
.edu-zone-page button,.edu-zone-page a,.edu-live-page button,.edu-live-page a,.edu-student-page button,.edu-student-page a{
  -webkit-tap-highlight-color:transparent;
}
.quiz-game-shell button:focus-visible,.quiz-game-shell a:focus-visible,.quiz-start-shell button:focus-visible,.quiz-start-shell a:focus-visible,
.live-host-page button:focus-visible,.live-host-page a:focus-visible,.live-team-page button:focus-visible,.live-team-page a:focus-visible,
.edu-zone-page button:focus-visible,.edu-zone-page a:focus-visible,.edu-live-page button:focus-visible,.edu-live-page a:focus-visible{
  outline:4px solid rgba(38,132,255,.25)!important;outline-offset:3px!important;
}

/* ==========================================================
   NORMAL QUIZ — student catalog / list
   ========================================================== */
.student-quiz-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#5262e9 0%,#6975ee 45%,#3ea5e7 100%)!important;color:#fff}
.student-quiz-hero:before{content:"";position:absolute;width:360px;height:360px;right:-90px;top:-150px;border-radius:50%;background:rgba(255,255,255,.12)}
.student-quiz-hero:after{content:"";position:absolute;width:230px;height:230px;left:8%;bottom:-165px;border-radius:50%;background:rgba(255,224,116,.14)}
.student-quiz-hero-inner{position:relative;z-index:1}
.student-quiz-hero h1,.student-quiz-hero p,.student-quiz-hero .eyebrow{color:#fff!important}
.student-quiz-hero .lead{opacity:.93}
.student-code-mini-profile{background:rgba(255,255,255,.96)!important;color:var(--dgt-game-ink)!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:0 14px 34px rgba(30,50,100,.20)!important}
.student-code-mini-profile span,.student-code-mini-profile small{color:var(--dgt-game-muted)!important}.student-code-mini-profile strong{color:var(--dgt-game-ink)!important}
.student-quiz-section{background:linear-gradient(180deg,#f8faff 0%,#f4f8ff 55%,#fff 100%)}
.student-live-join-banner{border:0!important;border-radius:22px!important;background:linear-gradient(135deg,#5b5fe9,#7955db)!important;color:#fff!important;box-shadow:0 16px 36px rgba(91,95,233,.24)!important;transition:.2s ease}
.student-live-join-banner:hover{transform:translateY(-3px);box-shadow:0 22px 46px rgba(91,95,233,.30)!important}
.student-live-join-banner strong,.student-live-join-banner small,.student-live-join-banner b{color:#fff!important}.student-live-join-banner small{opacity:.88}
.student-subject-grid,.student-quiz-card-grid{gap:18px!important}
.student-subject-card,.student-quiz-card{position:relative;overflow:hidden;border:1px solid var(--dgt-game-border)!important;border-radius:24px!important;background:#fff!important;box-shadow:var(--dgt-game-shadow)!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.student-subject-card:hover,.student-quiz-card:hover{transform:translateY(-5px);box-shadow:var(--dgt-game-shadow-hover)!important;border-color:#cbd9f5!important}
.student-subject-card:before,.student-quiz-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#5b5fe9,#2684ff,#18b7c9)}
.student-subject-icon{background:linear-gradient(145deg,#eef1ff,#eaf8ff)!important;color:#4f57dd!important;border-radius:18px!important}
.student-subject-card h3,.student-quiz-card h3{color:var(--dgt-game-ink)!important;line-height:1.25!important}
.student-subject-card p,.student-quiz-card p,.student-quiz-meta,.student-subject-counts{color:var(--dgt-game-muted)!important}
.student-quiz-card-top .quiz-number{background:#eef1ff!important;color:#4b52d4!important;border-radius:12px!important;font-weight:950!important}
.class-badge,.student-game-type-badge,.student-team-mode-badge,.quiz-count-pill{border:0!important;border-radius:999px!important;font-weight:900!important}
.student-game-type-badge{background:#edf7ff!important;color:#1c68b6!important}.student-team-mode-badge{background:#fff2db!important;color:#97530b!important}
.student-quiz-start,.student-subject-open{border-radius:14px!important;font-weight:950!important;transition:.18s ease!important}
.student-quiz-start{background:linear-gradient(135deg,var(--dgt-game-primary),#7074f0)!important;color:#fff!important;box-shadow:0 10px 22px rgba(91,95,233,.22)!important}
.student-quiz-start:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(91,95,233,.28)!important}
.student-quiz-start.is-live-now{background:linear-gradient(135deg,#e94d61,#f06c45)!important}.student-quiz-start.is-live-waiting{background:#eef2f7!important;color:#68758a!important;box-shadow:none!important}
.student-quiz-search-field{border:1px solid #d8e2ef!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 20px rgba(38,61,96,.07)!important}
.student-quiz-search-field input{color:var(--dgt-game-ink)!important;background:transparent!important}
.modern-empty-state{border:1px dashed #c9d6e8!important;border-radius:24px!important;background:linear-gradient(145deg,#fff,#f7faff)!important;color:var(--dgt-game-ink)!important}

/* ==========================================================
   NORMAL QUIZ — start / join
   ========================================================== */
.quiz-start-shell,.join-shell{background:radial-gradient(circle at 85% 15%,rgba(91,95,233,.10),transparent 28%),linear-gradient(180deg,#f8faff,#eef5ff)!important}
.quiz-start-card,.join-card,.html-quiz-join-card{border:1px solid var(--dgt-game-border)!important;border-radius:28px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 24px 70px rgba(31,54,88,.14)!important;color:var(--dgt-game-ink)!important}
.quiz-start-card h1,.quiz-start-card h2,.join-card h1,.join-card h2,.html-quiz-join-card h1,.html-quiz-join-card h2{color:var(--dgt-game-ink)!important}
.quiz-start-summary,.quiz-start-facts,.quiz-start-step{border-radius:18px!important;background:#f6f9ff!important;border:1px solid #e4ebf5!important;color:var(--dgt-game-ink)!important}
.quiz-start-facts strong,.quiz-start-summary strong{color:var(--dgt-game-ink)!important}.quiz-start-facts span,.quiz-start-summary small{color:var(--dgt-game-muted)!important}
.quiz-start-card .btn-primary,.join-card .btn-primary,.html-quiz-join-card .btn-primary{border:0!important;border-radius:15px!important;background:linear-gradient(135deg,var(--dgt-game-primary),#7276f2)!important;color:#fff!important;box-shadow:0 12px 26px rgba(91,95,233,.24)!important;font-weight:950!important}
.quiz-start-card input,.join-card input,.html-quiz-join-card input{border:2px solid #dce5f1!important;border-radius:15px!important;background:#fff!important;color:var(--dgt-game-ink)!important}
.quiz-start-card input:focus,.join-card input:focus,.html-quiz-join-card input:focus{border-color:#7d81ee!important;box-shadow:0 0 0 4px rgba(91,95,233,.12)!important}

/* ==========================================================
   NORMAL QUIZ — actual gameplay
   ========================================================== */
.quiz-game-shell{min-height:100vh;background:radial-gradient(circle at 90% 8%,rgba(72,172,236,.14),transparent 25%),radial-gradient(circle at 6% 65%,rgba(135,88,216,.10),transparent 28%),linear-gradient(180deg,#f7f9ff,#eef5ff)!important}
.quiz-game-container{max-width:1040px!important;padding-top:22px!important;padding-bottom:42px!important}
.quiz-game-header{border:1px solid rgba(213,224,239,.9)!important;border-radius:22px!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(10px);box-shadow:0 14px 36px rgba(38,61,96,.10)!important;padding:16px 18px!important}
.quiz-game-title strong{color:var(--dgt-game-ink)!important;font-size:clamp(1.05rem,2.5vw,1.45rem)!important}.quiz-game-title small{color:var(--dgt-game-muted)!important}.quiz-game-type{background:#eef0ff!important;color:#4b50c8!important;border-radius:999px!important;font-weight:950!important}
.game-timer-pill,.team-live-pill{border:1px solid #e0e7f1!important;border-radius:16px!important;background:#f8faff!important;color:var(--dgt-game-muted)!important;box-shadow:none!important}.game-timer-pill strong,.team-live-pill strong{color:var(--dgt-game-primary)!important}
.game-progress-shell{margin:14px 0 20px!important;padding:13px 16px!important;border:1px solid #e0e7f1!important;border-radius:18px!important;background:#fff!important;box-shadow:0 9px 24px rgba(38,61,96,.06)!important}
.game-progress-track{height:11px!important;border-radius:999px!important;background:#e8edf6!important;overflow:hidden!important}.game-progress-track span{border-radius:999px!important;background:linear-gradient(90deg,#5b5fe9,#2684ff,#19b8bd)!important;box-shadow:0 0 12px rgba(38,132,255,.20)!important}
.game-progress-meta{color:var(--dgt-game-muted)!important;font-size:.78rem!important;font-weight:850!important}
.game-question-panel,.wheel-stage,.card-picker-stage,.matching-stage,.find-match-stage,.group-sort-stage,.unjumble-stage,.gameshow-stage,.game-finish-card,.game-countdown-card{
  border:1px solid var(--dgt-game-border)!important;border-radius:28px!important;background:rgba(255,255,255,.98)!important;color:var(--dgt-game-ink)!important;box-shadow:var(--dgt-game-shadow)!important;padding:clamp(18px,3.5vw,34px)!important;
}
.game-question-meta{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:14px!important}.game-question-meta span,.game-kicker{border-radius:999px!important;background:#eef1ff!important;color:#5257cf!important;font-weight:950!important;letter-spacing:.04em!important}
.game-question-panel h2,.game-section-heading h2,.wheel-copy h2,.gameshow-stage h2{color:var(--dgt-game-ink)!important;line-height:1.28!important;font-size:clamp(1.35rem,3vw,2.15rem)!important}
.game-question-image{display:block!important;max-width:min(640px,100%)!important;max-height:340px!important;margin:16px auto 20px!important;border-radius:20px!important;border:1px solid #e4eaf3!important;background:#fff!important;box-shadow:0 10px 28px rgba(38,61,96,.10)!important;object-fit:contain!important}
.game-choice-grid,.gameshow-options,.game-true-false{gap:12px!important}
.game-choice,.game-word-chip,.group-sort-item,.find-match-target{position:relative!important;min-height:62px!important;border:2px solid #dfe6f1!important;border-radius:17px!important;background:#fff!important;color:var(--dgt-game-ink)!important;box-shadow:0 7px 18px rgba(38,61,96,.06)!important;font-weight:850!important;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease!important}
.game-choice:hover,.game-word-chip:hover,.group-sort-item:hover,.find-match-target:hover{transform:translateY(-2px)!important;border-color:#abbcf7!important;background:#f7f8ff!important;box-shadow:0 11px 24px rgba(67,79,170,.12)!important}
.game-choice.is-selected,.game-word-chip.is-selected{border-color:#696eea!important;background:linear-gradient(135deg,#eef0ff,#f5f7ff)!important;box-shadow:0 0 0 4px rgba(91,95,233,.11),0 12px 26px rgba(91,95,233,.12)!important;color:#30358e!important}
.game-choice-letter{display:grid!important;place-items:center!important;min-width:42px!important;height:42px!important;border-radius:13px!important;background:#edf0ff!important;color:#4d52cc!important;font-weight:1000!important}
.game-tf-choice>span:first-child{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;border-radius:15px!important;background:#eef1ff!important;color:#4d52cc!important;font-size:1.55rem!important}
.game-word-bank{gap:10px!important}.game-inline-blank{border-radius:9px!important;background:#fff1c9!important;color:#925f00!important;padding:3px 10px!important}
.game-missing-sentence{border:1px solid #e2e9f4!important;border-radius:20px!important;background:#f8faff!important;color:var(--dgt-game-ink)!important}
.game-nav-row{margin-top:22px!important;padding-top:18px!important;border-top:1px solid #e6ebf3!important;color:var(--dgt-game-muted)!important;font-weight:850!important}
.game-nav-row .btn,.game-big-action,.game-finish-card .btn{min-height:48px!important;border-radius:14px!important;font-weight:950!important;padding-inline:18px!important}
.game-nav-row .btn-primary,.game-big-action,.game-finish-card .btn-primary{border:0!important;background:linear-gradient(135deg,var(--dgt-game-primary),#7276f2)!important;color:#fff!important;box-shadow:0 10px 22px rgba(91,95,233,.22)!important}.game-nav-row .btn-secondary{border:1px solid #dce4ef!important;background:#fff!important;color:#45546a!important}
.game-card-grid,.game-box-grid,.matching-grid{gap:13px!important}.game-card-tile,.game-box-tile,.matching-card{border:1px solid #dbe5f1!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#f7faff)!important;color:var(--dgt-game-ink)!important;box-shadow:0 10px 24px rgba(38,61,96,.09)!important;transition:.18s ease!important}.game-card-tile:hover,.game-box-tile:hover,.matching-card:hover{transform:translateY(-4px) rotate(-.4deg)!important;box-shadow:0 16px 32px rgba(38,61,96,.14)!important}.game-card-tile.is-done,.game-box-tile.is-done{background:#effaf4!important;color:#26784d!important}
.game-wheel{border-color:#fff!important;box-shadow:0 0 0 9px #eef1ff,0 20px 45px rgba(60,73,130,.20)!important}.game-wheel-pointer{color:#e95c55!important;filter:drop-shadow(0 4px 5px rgba(60,42,42,.14))}
.gameshow-hud{border-radius:18px!important;background:#f4f7ff!important;border:1px solid #e0e7f3!important;color:var(--dgt-game-ink)!important}.gameshow-choice{background:#fff!important}
.interactive-player-shell{border:1px solid #dce5f0!important;border-radius:22px!important;background:#f8faff!important;overflow:hidden!important}.interactive-player-label{background:linear-gradient(135deg,#eef1ff,#e9f8ff)!important;color:var(--dgt-game-ink)!important}.interactive-question-frame{background:#fff!important}.interactive-answer-fallback{background:#fff!important;border-top:1px solid #e3eaf3!important;color:var(--dgt-game-ink)!important}.interactive-answer-fallback input,.daily-student-text-answer{border:2px solid #dce5f1!important;border-radius:14px!important;background:#fff!important;color:var(--dgt-game-ink)!important}
.daily-student-manual-note{border-radius:18px!important;background:#fff7dd!important;color:#6f5211!important;border:1px solid #f3df9c!important}
.game-finish-icon{filter:drop-shadow(0 8px 14px rgba(79,70,140,.15))}.game-finish-card h2{color:var(--dgt-game-ink)!important}.game-finish-card p{color:var(--dgt-game-muted)!important}

/* ==========================================================
   RESULT / FEEDBACK
   ========================================================== */
.result-hero,.student-result-card,.student-answer-card{border:1px solid var(--dgt-game-border)!important;border-radius:26px!important;background:#fff!important;box-shadow:var(--dgt-game-shadow)!important;color:var(--dgt-game-ink)!important}
.result-hero h2,.student-result-card h3,.student-answer-card strong{color:var(--dgt-game-ink)!important}.result-hero .muted,.student-result-card p,.student-answer-card small{color:var(--dgt-game-muted)!important}
.score-circle{position:relative!important;background:linear-gradient(135deg,#5b5fe9,#2684ff)!important;color:#fff!important;border:10px solid #eef1ff!important;box-shadow:0 16px 36px rgba(91,95,233,.25)!important}.score-circle:after{content:"";position:absolute;inset:8px;border-radius:50%;border:1px solid rgba(255,255,255,.28)}
.team-result-leaderboard,.student-answer-feedback-grid{border-radius:20px!important;background:#f7f9ff!important;border:1px solid #e0e7f1!important}.team-leaderboard-row{background:#fff!important;border-radius:14px!important;color:var(--dgt-game-ink)!important}.team-leaderboard-row.is-current{background:#eef1ff!important;border-color:#bbc3f7!important}.team-rank{color:#5b5fe9!important;font-weight:1000!important}
.student-result-detail-hero{background:linear-gradient(135deg,#5262e9,#348dde)!important;color:#fff!important}.student-result-detail-hero h1,.student-result-detail-hero p,.student-result-detail-hero span{color:#fff!important}
.student-answer-status.status-correct{background:#eaf9f0!important;color:#207747!important}.student-answer-status.status-wrong{background:#fff0f2!important;color:#a93345!important}.student-answer-status.status-blank{background:#f1f4f8!important;color:#64748b!important}

/* ==========================================================
   LIVE QUIZ / LOBBY / HOST / TEAM
   ========================================================== */
.live-host-page{background:radial-gradient(circle at 50% 0,rgba(49,126,221,.30),transparent 38%),linear-gradient(160deg,#08172f,#0b2851 55%,#103b71)!important}
.live-host-root{border-radius:26px!important}
.live-host-question,.live-host-board,.live-host-finished{border-radius:26px!important}
.live-host-question-card,.live-host-board,.live-host-finished{box-shadow:0 24px 60px rgba(0,0,0,.18)!important}
.live-host-question-card h2{color:#152238!important;line-height:1.25!important}
.live-host-question-top{color:#e8f1ff!important}.live-host-question-timer{background:linear-gradient(135deg,#5b5fe9,#2684ff)!important;color:#fff!important;box-shadow:0 9px 24px rgba(38,132,255,.25)!important}
.live-host-option{border-radius:16px!important;box-shadow:inset 0 -5px rgba(0,0,0,.12),0 10px 22px rgba(0,0,0,.10)!important}
.live-host-team-row{border-radius:16px!important}
.live-result-banner,.live-host-board-title{color:var(--dgt-game-ink)!important}
.live-lobby-stage{border-color:rgba(100,170,255,.22)!important;box-shadow:0 24px 70px rgba(0,0,0,.24)!important}.ml-lobby-stage-brand,.ml-lobby-pin-wrap,.ml-lobby-stage-info{box-shadow:inset 0 1px rgba(255,255,255,.06),0 12px 28px rgba(0,0,0,.16)!important}.ml-lobby-slot-banner{filter:drop-shadow(0 12px 18px rgba(0,0,0,.18))}.ml-lobby-avatar{box-shadow:0 12px 28px rgba(0,0,0,.26),0 0 0 5px rgba(255,255,255,.06)!important}.ml-lobby-start-btn{transition:.15s ease!important}.ml-lobby-start-btn:hover:not(:disabled){transform:translateY(-2px) scale(1.015)!important}.ml-lobby-kick{font-weight:950!important}
.live-team-page{background:radial-gradient(circle at 80% 0,rgba(91,95,233,.18),transparent 28%),linear-gradient(180deg,#f7f9ff,#edf4ff)!important}.live-kahoot-answer-screen{background:linear-gradient(180deg,#f7f9ff,#edf4ff)!important}.live-kahoot-answer{border-radius:18px!important;box-shadow:inset 0 -7px rgba(0,0,0,.12),0 12px 24px rgba(34,48,78,.12)!important}.live-kahoot-answer:active{transform:scale(.975)!important}.live-answer-wait{background:linear-gradient(145deg,#4e54d8,#6553c7)!important}.live-team-board,.live-team-finish{background:#fff!important;color:var(--dgt-game-ink)!important}
.live-guest-card{border-radius:28px!important;box-shadow:0 28px 70px rgba(13,31,68,.24)!important}.live-guest-primary{border-radius:16px!important;background:linear-gradient(135deg,#5b5fe9,#2684ff)!important;box-shadow:0 12px 28px rgba(91,95,233,.26)!important}.live-avatar-option{border-radius:16px!important}.live-avatar-option:hover{transform:translateY(-2px)!important}

/* Cerdas Cermat */
.buzzer-host-screen{border-radius:28px!important;box-shadow:0 28px 70px rgba(0,0,0,.25)!important}.buzzer-host-question,.buzzer-scoreboard{border-radius:24px!important}.buzzer-host-question{background:#fff!important;color:var(--dgt-game-ink)!important}.buzzer-status-card{border-radius:20px!important}.buzzer-score-row{border-radius:13px!important}
.buzzer-team-page{background:radial-gradient(circle at 50% 8%,#1d6ad8 0%,#104a9e 34%,#082a63 72%,#061a39 100%)!important}.buzzer-team-card{border-radius:30px!important;box-shadow:0 28px 70px rgba(0,0,0,.28)!important}.buzzer-button{transition:transform .08s ease,filter .14s ease!important}.buzzer-mini-board{border-radius:20px!important}.buzzer-team-state{border-radius:18px!important}

/* ==========================================================
   EDUCATIONAL GAME ZONE — global polish
   ========================================================== */
.edu-zone-page,.edu-live-page,.edu-student-page{background:linear-gradient(180deg,#f9fbff,#f3f8ff)!important}
.edu-zone-hero-v2,.edu-featured-game-v2,.edu-catalog-card,.edu-spin-showcase,.edu-spin-form,.edu-spin-wheel-card,
.edu-match-showcase,.edu-match-form,.edu-mulpuzzle-showcase,.edu-mulpuzzle-form,
[class*="edu-"][class*="-setup"]>section,[class*="edu-"][class*="-setup"]>article{
  border-color:var(--dgt-game-border)!important;box-shadow:var(--dgt-game-shadow)!important;
}
.edu-zone-hero-v2{border-radius:32px!important;background:linear-gradient(135deg,#eef7ff,#f8fbff 50%,#fff5d7)!important}.edu-zone-hero-content h1{color:#16345f!important}.edu-zone-hero-content p{color:#52677f!important}.edu-zone-kicker-v2{background:#fff!important;color:#246aba!important}
.edu-zone-info-grid article,.edu-catalog-card{border-radius:22px!important;background:#fff!important;transition:.2s ease!important}.edu-zone-info-grid article:hover,.edu-catalog-card:hover{transform:translateY(-4px)!important;box-shadow:var(--dgt-game-shadow-hover)!important}
.edu-primary-cta,[class*="edu-"][class*="-start-btn"],[class*="edu-"][class*="-done-btn"]{border-radius:14px!important;background:linear-gradient(135deg,#477fe7,#5b5fe9)!important;color:#fff!important;box-shadow:0 11px 24px rgba(71,127,231,.22)!important;font-weight:950!important;transition:.17s ease!important}
.edu-primary-cta:hover,[class*="edu-"][class*="-start-btn"]:hover,[class*="edu-"][class*="-done-btn"]:hover{transform:translateY(-2px)!important;filter:brightness(1.04)!important}
[class*="edu-"][class*="-titlebar"],[class*="edu-"][class*="-commandbar"]{border-radius:22px!important;border-color:var(--dgt-game-border)!important;background:#fff!important;box-shadow:0 10px 28px rgba(38,61,96,.08)!important}
[class*="edu-"][class*="-popup-card"],[class*="edu-"][class*="-complete"]>section{border-radius:28px!important;box-shadow:0 30px 80px rgba(20,39,70,.25)!important}
[class*="edu-"][class*="-status"]{border-radius:15px!important;font-weight:850!important}
[class*="edu-"][class*="-toolbar"] button,[class*="edu-"][class*="-actions"] button{border-radius:13px!important;font-weight:900!important}
.edu-zone-page input,.edu-zone-page textarea,.edu-zone-page select,.edu-live-page input,.edu-live-page textarea,.edu-live-page select{border-radius:13px!important;border-color:#d9e3ef!important;color:var(--dgt-game-ink)!important;background:#fff!important}.edu-zone-page input:focus,.edu-zone-page textarea:focus,.edu-zone-page select:focus,.edu-live-page input:focus,.edu-live-page textarea:focus,.edu-live-page select:focus{border-color:#7a8eef!important;box-shadow:0 0 0 4px rgba(91,95,233,.11)!important;outline:none!important}

/* ==========================================================
   General color collision protection
   ========================================================== */
.quiz-game-shell .card,.quiz-start-shell .card,.student-quiz-section .card,.student-results-section .card{color:var(--dgt-game-ink)}
.quiz-game-shell .card p,.quiz-start-shell .card p,.student-quiz-section .card p,.student-results-section .card p{color:var(--dgt-game-muted)}
.quiz-game-shell input,.quiz-game-shell textarea,.quiz-game-shell select{color:var(--dgt-game-ink)!important;background:#fff!important}
.quiz-game-shell input::placeholder,.quiz-game-shell textarea::placeholder{color:#8995a7!important;opacity:1}
.live-host-page .btn-primary,.live-team-page .btn-primary{color:#fff!important}.live-host-page .btn-secondary,.live-team-page .btn-secondary{color:#354258!important;background:#fff!important}

/* ==========================================================
   Mobile refinement
   ========================================================== */
@media(max-width:760px){
  .student-quiz-card-grid,.student-subject-grid{gap:13px!important}
  .student-quiz-card,.student-subject-card{border-radius:20px!important}
  .quiz-game-container{padding:10px 10px 28px!important}
  .quiz-game-header{border-radius:18px!important;padding:12px!important;gap:10px!important}
  .quiz-game-title strong{font-size:1rem!important}.quiz-game-title small{font-size:.72rem!important}
  .game-timer-pill,.team-live-pill{padding:7px 9px!important;border-radius:13px!important}.game-timer-pill strong,.team-live-pill strong{font-size:1rem!important}
  .game-progress-shell{margin:10px 0 14px!important;padding:10px 12px!important;border-radius:15px!important}
  .game-question-panel,.wheel-stage,.card-picker-stage,.matching-stage,.find-match-stage,.group-sort-stage,.unjumble-stage,.gameshow-stage,.game-finish-card{border-radius:21px!important;padding:16px!important}
  .game-question-panel h2{font-size:1.25rem!important}.game-question-image{max-height:240px!important;border-radius:15px!important}
  .game-choice-grid,.gameshow-options{grid-template-columns:1fr!important;gap:9px!important}.game-choice{min-height:56px!important;border-radius:14px!important}.game-choice-letter{min-width:36px!important;height:36px!important;border-radius:11px!important}
  .game-nav-row{gap:8px!important}.game-nav-row .btn{min-height:44px!important;padding-inline:12px!important;font-size:.82rem!important}
  .live-host-page{padding:8px!important}.live-host-question,.live-host-board,.buzzer-host-screen{border-radius:18px!important}
  .ml-lobby-stage{border-radius:20px!important}.ml-lobby-slot{border-radius:18px!important}.ml-lobby-start-btn{font-size:22px!important}
  .buzzer-team-card{border-radius:24px!important}
}
@media(max-width:430px){
  .game-nav-row{display:grid!important;grid-template-columns:1fr 1fr!important}.game-nav-row>span{grid-column:1/-1;grid-row:1;text-align:center}.game-nav-row .btn{width:100%!important}
  .game-true-false{grid-template-columns:1fr!important}
  .quiz-game-header-actions{gap:5px!important}
}

/* Motion should be pleasant, not distracting */
@media(prefers-reduced-motion:no-preference){
  .student-quiz-card,.student-subject-card,.game-choice,.game-card-tile,.game-box-tile,.edu-catalog-card,.live-kahoot-answer{will-change:transform}
}
@media(prefers-reduced-motion:reduce){
  .student-quiz-card,.student-subject-card,.game-choice,.game-card-tile,.game-box-tile,.edu-catalog-card,.live-kahoot-answer,.buzzer-button,.ml-lobby-slot{animation:none!important;transition:none!important;transform:none!important}
}
