:root {
  color-scheme: light;
  --ink: #252b52;
  --muted: #62688e;
  --blue: #4169dc;
  --blue-deep: #3447b9;
  --purple: #8051d4;
  --purple-deep: #623ab7;
  --sky: #e9edff;
  --paper: #fff;
  --line: #d7e3f1;
  --gold: #f0ad4f;
  --sans: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: #e6eaff; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: linear-gradient(140deg, #e1efff 0%, #eeeaff 48%, #dce5ff 100%); font: 500 16px/1.55 var(--sans); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.site-header { min-height: 74px; padding: 0 clamp(18px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d9def0; background: #f8f9ff; }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; color: #1d3c5e; font-size: 17px; font-weight: 700; letter-spacing: -.04em; }
.brand b { color: var(--purple); }
.brand-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg,#4e80ec,#7650cf); box-shadow: inset 0 2px 3px rgba(255,255,255,.32), 0 4px 9px rgba(65,75,165,.2); font-size: 12px; letter-spacing: -.04em; }
.header-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #486786; font-size: 13px; font-weight: 700; transition: color .2s, transform .2s; }
.header-link:hover { color: var(--blue); transform: translateY(-1px); }
.home-hero { max-width: 1210px; min-height: 630px; margin: 0 auto; padding: 54px 30px 38px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 26px; }
.hero-copy { position: relative; z-index: 1; padding: 10px 0 22px; animation: arrive .55s both; }
.kicker { margin: 0 0 13px; color: #6583a4; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.kicker-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }
.hero-copy h1 { max-width: 580px; margin: 0; color: #193958; font: 700 clamp(38px, 5.2vw, 65px)/1.04 var(--serif); letter-spacing: -.047em; }
.hero-subtitle { margin: 18px 0 0; color: #52718f; font-size: clamp(20px,2.2vw,27px); line-height: 1.3; }
.hero-subtitle span { color: var(--blue); font-weight: 800; }
.hero-description { max-width: 440px; margin: 18px 0 27px; color: #526d88; font-size: 16px; line-height: 1.75; }
.play-button { min-height: 57px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; border: 0; border-radius: 9px; color: #fff; background: linear-gradient(115deg,#3e70df,#7850ce); box-shadow: 0 5px 0 #4a439a, 0 12px 24px rgba(64,73,170,.22); text-decoration: none; font-weight: 800; transition: transform .18s, box-shadow .18s, filter .18s; }
.play-button:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #4a439a, 0 15px 26px rgba(64,73,170,.28); filter: brightness(1.04); }
.play-button:active { transform: translateY(3px); box-shadow: 0 2px 0 #4a439a; }
.play-button span { font-size: 22px; line-height: 1; }
.hero-note { margin: 18px 0 0; color: #7087a0; font-size: 12px; }
.hero-note span { color: #e5a242; }
.download-links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 9px; }
.download-links .secondary-btn { min-height: 40px; padding: 8px 12px; font-size: 11px; }
.download-links .secondary-btn span { opacity: .7; }
.hero-art { position: relative; min-height: 525px; display: grid; place-items: end center; isolation: isolate; }
.hero-art::before { position: absolute; z-index: -2; inset: 36px 14px 13px; border-radius: 48% 52% 40% 48%; content: ""; background: radial-gradient(ellipse at 52% 43%, #f6f4ff 0 24%, #e0e5ff 52%, #bdd9fa 100%); box-shadow: inset 0 0 35px rgba(255,255,255,.72); }
.art-orbit { position: absolute; z-index: -1; border: 1px solid rgba(69,123,179,.18); border-radius: 50%; transform: rotate(-22deg); }
.orbit-one { width: 410px; height: 116px; top: 177px; left: 3%; border-color: rgba(110,79,190,.22); }
.orbit-two { width: 440px; height: 150px; top: 150px; left: 1%; border-color: rgba(58,116,204,.2); transform: rotate(31deg); }
.host-illustration { position: relative; z-index: 1; width: min(100%,380px); height: auto; max-height: 500px; filter: drop-shadow(0 12px 17px rgba(39,76,122,.12)); animation: host-arrive .65s both; }
.host-note { position: absolute; z-index: 3; top: 16%; right: -1%; padding: 12px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid #dedcf2; border-radius: 8px; color: #5b668d; background: #fff; box-shadow: 0 10px 26px rgba(64,68,145,.12); font-size: 12px; line-height: 1.55; transform: rotate(2deg); }
.host-note b { color: #3d477c; }
.note-mark { color: #e5a64e; font-size: 20px; }
.art-spark { position: absolute; z-index: 2; color: #e5a64e; font-size: 29px; }
.spark-one { top: 22%; left: 17%; }
.spark-two { top: 45%; right: 8%; color: #6295ca; font-size: 23px; }
.how-section { max-width: 1130px; margin: 0 auto; padding: 68px 28px 82px; border-top: 1px solid rgba(72,111,155,.17); }
.section-heading { text-align: center; }
.section-heading .kicker { margin-bottom: 6px; }
.section-heading h2 { margin: 0; color: #282f60; font: 700 clamp(28px,3vw,38px)/1.2 var(--serif); letter-spacing: -.035em; }
.steps-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step-card { min-height: 157px; padding: 23px 24px; border: 1px solid #d9def0; border-radius: 10px; background: #fff; box-shadow: 0 5px 15px rgba(65,69,146,.05); transition: transform .2s, box-shadow .2s; }
.step-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(65,69,146,.12); }
.step-number { color: #7656c7; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.step-card h3 { margin: 8px 0 4px; color: #294966; font-size: 17px; }
.step-card p { margin: 0; color: #637b94; font-size: 13px; line-height: 1.6; }
.site-footer { min-height: 66px; padding: 17px clamp(18px,5vw,72px); display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #d9def0; color: #747b9a; background: #f5f6ff; font-size: 11px; }
.site-footer a { color: #6248b5; text-decoration: none; font-weight: 700; }

/* Game page */
.game-page { min-height: 100vh; background: linear-gradient(145deg,#dceaff,#ece8ff 52%,#d8e2ff); }
.game-header { min-height: 68px; padding-inline: clamp(16px,3.6vw,52px); }
.game-header-right { display: flex; align-items: center; gap: 27px; }
.header-game-label { display: inline-flex; align-items: center; gap: 8px; color: #6a839d; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.header-game-label i { width: 7px; height: 7px; border-radius: 50%; background: #73a35f; box-shadow: 0 0 0 3px #e3f0df; }
.game-layout { width: min(1410px,100%); margin: 27px auto 18px; padding: 0 21px; display: grid; grid-template-columns: 138px minmax(0,1fr); gap: 25px; align-items: start; }
.ad-rail { position: sticky; top: 16px; min-width: 0; padding-top: 68px; }
.ad-label { margin: 0 0 8px; color: #91a3b7; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-align: center; }
.ad-slot, .social-ad-slot { min-height: 270px; margin-bottom: 16px; overflow: hidden; border: 1px solid rgba(155,177,202,.36); border-radius: 5px; background: rgba(255,255,255,.3); }
.social-ad-slot { min-height: 90px; }
.game-shell { min-width: 0; }
.game-heading { margin: 0 2px 15px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.game-heading .kicker { margin-bottom: 4px; font-size: 10px; }
.game-heading h1 { margin: 0; color: #282e5c; font: 700 clamp(27px,3vw,37px)/1.1 var(--serif); letter-spacing: -.04em; }
.game-heading h1 span { color: var(--purple); }
.game-heading-note { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #d7d8f0; border-radius: 5px; color: #666d96; background: #fff; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.host-star { color: var(--gold); font-size: 16px; }
.game-arena { min-height: 540px; display: grid; grid-template-columns: minmax(300px,.82fr) minmax(430px,1.18fr); border: 1px solid #c9cdeb; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px rgba(67,67,155,.11); overflow: hidden; animation: arrive .42s both; }
.host-side { position: relative; min-height: 535px; padding: 26px 22px 15px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; overflow: hidden; background: linear-gradient(155deg,#c7dcff 0%,#e5e5ff 52%,#d2d9ff 100%); }
.host-side::before { position: absolute; top: 18px; right: 0; left: 0; height: 1px; content: ""; background: rgba(255,255,255,.6); }
.host-halo { position: absolute; top: 30px; left: 50%; width: 315px; height: 315px; border: 1px solid rgba(114,97,194,.2); border-radius: 50%; background: radial-gradient(circle,#f9faff 0,#eeedff 55%,rgba(175,196,249,.2) 72%); transform: translateX(-50%); }
.host-halo::before,.host-halo::after { position: absolute; inset: 20px; border: 1px solid rgba(86,140,194,.11); border-radius: 50%; content: ""; }
.host-halo::after { inset: -17px 31px; transform: rotate(34deg); }
.halo-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #f2bb68; box-shadow: 0 0 0 5px rgba(255,255,255,.42); }
.dot-a { top: 55px; right: 35px; }.dot-b { top: 166px; left: 3px; background: #83acd5; }.dot-c { right: 58px; bottom: 29px; background: #83acd5; }
.avatar { position: relative; z-index: 1; width: min(100%,360px); height: auto; max-height: 425px; flex: 1 1 auto; margin-top: 30px; transform-origin: 50% 100%; filter: drop-shadow(0 10px 14px rgba(42,81,126,.12)); transition: filter .25s, transform .25s; }
.avatar-thinking { transform: rotate(-1.5deg) translateY(-2px); }
.avatar-happy { transform: translateY(-3px); }
.face-mouth { opacity: 0; transition: opacity .17s ease; }
.avatar-neutral .mouth-neutral, .avatar-curious .mouth-thinking { opacity: 1; }
.avatar-happy .mouth-happy, .avatar-sad .mouth-sad, .avatar-thinking .mouth-thinking { opacity: 1; }
.avatar-sad .brow-left { transform: rotate(11deg); transform-origin: 180px 190px; }
.avatar-sad .brow-right { transform: rotate(-11deg); transform-origin: 230px 190px; }
.avatar-curious .brow-left { transform: rotate(-9deg); transform-origin: 180px 190px; }
.avatar-curious .brow-right { transform: rotate(7deg); transform-origin: 230px 190px; }
.avatar-thinking .brow-left { transform: rotate(10deg); transform-origin: 180px 190px; }
.avatar-thinking .eye-right { transform: scaleY(.78); transform-origin: 237px 207px; }
.brow,.eye { transition: transform .2s ease; }
.host-speech { position: absolute; z-index: 3; top: 35px; left: 50%; width: min(290px,calc(100% - 30px)); min-height: 67px; padding: 10px 15px; border: 1px solid #d9d9ef; border-radius: 7px; color: #333c69; background: #fff; box-shadow: 0 7px 17px rgba(65,65,151,.14); transform: translateX(-50%); animation: speech-in .24s both; }
.host-speech::after { position: absolute; bottom: -7px; left: 30px; width: 12px; height: 12px; border-right: 1px solid #d6e2ef; border-bottom: 1px solid #d6e2ef; content: ""; background: #fff; transform: rotate(45deg); }
.speech-label { display: block; margin-bottom: 2px; color: #8197ad; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
#speech-text { display: block; font: 700 14px/1.4 var(--serif); }
.host-caption { position: relative; z-index: 2; margin: -3px 0 0; color: #537392; font-size: 11px; font-weight: 700; }
.question-side { min-width: 0; padding: 23px clamp(20px,3vw,35px) 17px; display: flex; flex-direction: column; background: #fff; }
.question-toolbar { min-height: 29px; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.phase-tag { color: #7c91a7; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.timer-wrap { display: none; padding: 5px 9px; border: 1px solid #d7e4f1; border-radius: 5px; color: #4d6e8d; background: #f2f7fd; font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 800; }
.timer-wrap.active { display: inline-flex; align-items: center; gap: 6px; }
.timer-wrap.low { border-color: #e2a19b; color: #a64a44; background: #fff4f2; }
.timer-icon { font-size: 15px; }
.panel-content { min-height: 410px; display: flex; flex: 1; align-items: center; transition: opacity .18s ease, transform .18s ease; }
.panel-content > * { width: 100%; animation: content-in .28s both; }
.question-wrap { width: 100%; }
.question-meta { margin-bottom: 13px; display: flex; align-items: center; gap: 8px; color: #8ba0b4; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.q-count { color: #4f79a0; }
.question-title { margin: 0; color: #203f5f; font: 700 clamp(23px,2.6vw,31px)/1.25 var(--serif); letter-spacing: -.025em; }
.typing-text::after { display: inline-block; width: 1px; height: .94em; margin-left: 3px; content: ""; background: #4385be; vertical-align: -.08em; animation: caret-blink .75s steps(2,end) infinite; }
.question-sub { margin: 9px 0 19px; color: #73889c; font-size: 13px; }
.answers { display: grid; gap: 8px; }
.answer-btn { min-height: 44px; padding: 9px 15px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #d6e2ef; border-radius: 5px; color: #315575; background: #f7faff; text-align: left; font-size: 13px; font-weight: 700; transition: background .16s,border-color .16s,transform .16s,color .16s; }
.answer-btn::after { content: "›"; color: #86a1bc; font-size: 20px; line-height: 1; }
.answer-btn:hover,.answer-btn:focus-visible { border-color: #9278de; color: #43348d; background: #f0edff; transform: translateX(2px); outline: none; }
.question-actions { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.text-button { padding: 7px 0; border: 0; color: #68839e; background: transparent; font-size: 12px; font-weight: 700; }
.text-button:hover { color: #225f9a; }
.answer-chip { color: #9aabbb; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.guess-actions,.action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.primary-btn,.secondary-btn { min-height: 43px; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #4a59ce; border-radius: 5px; color: white; background: linear-gradient(110deg,#4169dc,#7950ce); box-shadow: 0 3px 0 #45439d; text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .16s,filter .16s,box-shadow .16s; }
.primary-btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 4px 0 #45439d; }
.primary-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #45439d; }
.secondary-btn { border-color: #d6e2ef; color: #58728b; background: #f4f7fb; box-shadow: 0 3px 0 #d9e3ed; }
.secondary-btn:hover { background: #eaf2fa; }
.result-panel { width: 100%; }
.result-title { margin: 0; color: #282e5c; font: 700 clamp(25px,3vw,34px)/1.22 var(--serif); letter-spacing: -.03em; }
.result-copy { margin: 11px 0 19px; color: #6a8198; font-size: 14px; line-height: 1.65; }
.title-mark { color: var(--purple); }
.input-row { margin: 15px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.text-input { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #d6e2ef; border-radius: 5px; color: #274866; background: #fbfdff; }
.text-input:focus { border-color: #6f9dc9; outline: 3px solid rgba(63,130,190,.12); }
.privacy-note { margin: 13px 0; display: flex; align-items: start; gap: 8px; color: #72879b; font-size: 11px; line-height: 1.5; }
.privacy-note input { margin-top: 3px; accent-color: #2874b9; }
.answer-recap { margin: 15px 0; padding: 12px; border: 1px solid #dce7f1; border-radius: 5px; color: #6b8298; background: #f6f9fd; font-size: 13px; }
.answer-recap strong { color: #294c6b; }
.mistake { min-height: 18px; margin-top: 8px; color: #b14842; font-size: 12px; }
.save-status { color: #72879b; font-size: 10px; }
.db-message { min-height: 22px; padding-top: 9px; border-top: 1px solid #edf1f5; color: #8b9caf; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.db-message i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #91ae80; vertical-align: 1px; }
.db-message.offline i { background: #d7a65d; }.db-message.error i { background: #d27670; }
.privacy-line { margin: 11px 2px 0; color: #8398ac; font-size: 10px; }
.game-footer { min-height: 56px; padding-inline: max(20px,calc((100% - 1250px)/2)); font-size: 10px; }
.game-footer a { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@keyframes arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes host-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes content-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes speech-in { from { opacity: 0; transform: translate(-50%,4px); } to { opacity: 1; transform: translate(-50%,0); } }
@keyframes caret-blink { to { visibility: hidden; } }
@media (max-width: 1160px) { .game-layout { grid-template-columns: minmax(0,1fr); max-width: 1000px; }.ad-rail { display: none; } }
@media (max-width: 800px) { .home-hero { min-height: auto; padding-top: 48px; grid-template-columns: 1fr; gap: 0; }.hero-copy { text-align: center; }.download-links { justify-content: center; }.hero-copy h1,.hero-description { margin-inline: auto; }.hero-art { min-height: 420px; max-width: 540px; width: 100%; margin: 0 auto; }.host-illustration { max-height: 400px; }.host-note { right: 0; }.steps-grid { gap: 10px; }.step-card { padding: 17px 15px; }.game-arena { grid-template-columns: minmax(235px,.75fr) minmax(370px,1.25fr); }.host-side { min-height: 510px; padding-inline: 13px; }.avatar { margin-top: 58px; }.host-halo { width: 260px; height: 260px; }.host-speech { top: 29px; }.question-side { padding-inline: 20px; } }
@media (max-width: 650px) { .site-header { min-height: 62px; padding-inline: 16px; }.game-header-right { gap: 12px; }.header-game-label { display: none; }.home-hero { padding: 39px 20px 20px; }.hero-copy h1 { font-size: clamp(38px,11vw,54px); }.hero-description { font-size: 14px; }.hero-art { min-height: 350px; }.host-illustration { max-height: 350px; }.host-note { top: 9%; right: -3px; padding: 8px 11px; }.orbit-one { width: 320px; }.orbit-two { width: 330px; }.how-section { padding: 48px 18px 55px; }.steps-grid { grid-template-columns: 1fr; }.step-card { min-height: 0; }.site-footer { padding: 16px 18px; flex-wrap: wrap; justify-content: center; text-align: center; }.game-layout { margin: 20px auto 14px; padding: 0 12px; }.game-heading { align-items: center; }.game-heading h1 { font-size: 27px; }.game-heading-note { padding: 7px 8px; font-size: 8px; }.game-arena { grid-template-columns: 1fr; }.host-side { min-height: 300px; max-height: 320px; padding-top: 80px; }.host-halo { top: 24px; width: 220px; height: 220px; }.avatar { width: 250px; max-height: 260px; margin-top: 28px; flex: 1 1 260px; }.host-speech { top: 13px; width: min(275px,calc(100% - 26px)); min-height: 58px; padding: 8px 12px; }.host-speech #speech-text { font-size: 12px; }.host-caption { margin-top: 0; font-size: 9px; }.question-side { padding: 18px 17px 14px; }.panel-content { min-height: 390px; }.question-title { font-size: 25px; }.input-row { grid-template-columns: 1fr; }.game-footer { gap: 5px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* A focused browser-game board: solid surfaces, clear controls, no ad overlays. */
.game-page { min-height: 100vh; color: #fff; background: radial-gradient(ellipse at 12% 8%,rgba(77,112,220,.56),transparent 38%),radial-gradient(ellipse at 91% 16%,rgba(127,76,202,.48),transparent 35%),linear-gradient(145deg,#20264f 0%,#252754 50%,#33265e 100%); }
.game-header { border-bottom: 1px solid rgba(192,199,255,.2); background: #20264f; }
.game-header .brand { color: #f4f5ff; }
.game-header .brand b { color: #c5b4ff; }
.game-header .header-link { color: #d2d8ff; }
.game-header .header-link:hover { color: #fff; }
.game-header .header-game-label { color: #c2c9f0; }
.game-layout { width: min(1260px,100%); margin: 30px auto 20px; padding: 0 24px; display: block; }
.game-shell { width: 100%; }
.game-heading { margin: 0 4px 17px; align-items: center; }
.game-heading .kicker { color: #c3c9ed; }
.game-heading h1 { color: #fff; font-family: var(--sans); font-size: clamp(28px,3.1vw,40px); letter-spacing: -.045em; }
.game-heading h1 span { color: #c7b2ff; }
.game-heading-note { min-height: 37px; padding: 8px 14px; border: 1px solid rgba(220,218,255,.42); border-radius: 7px; color: #fff; background: linear-gradient(105deg,#4169dc,#754bc6); box-shadow: 0 3px 0 #191e43; }
.game-arena { min-height: 570px; grid-template-columns: minmax(290px,.78fr) minmax(430px,1.22fr); border: 2px solid #7d84da; border-radius: 13px; background: #f7f8ff; box-shadow: 0 8px 0 #171c42,0 19px 40px rgba(8,11,40,.25); }
.host-side { min-height: 566px; padding: 25px 20px 17px; background: radial-gradient(circle at 52% 39%,rgba(255,255,255,.28),transparent 39%),linear-gradient(145deg,#537ee6 0%,#4d67d0 48%,#7652cf 100%); }
.host-side::before { top: 0; height: 7px; background: linear-gradient(90deg,#91c8ff,#c9b6ff); }
.host-halo { top: 95px; width: 330px; height: 330px; border-color: rgba(255,255,255,.44); background: radial-gradient(circle,rgba(245,248,255,.96) 0 37%,rgba(224,226,255,.7) 65%,rgba(255,255,255,.12) 75%); }
.host-halo::before,.host-halo::after { border-color: rgba(90,100,190,.16); }
.halo-dot { background: #ffd678; }
.dot-b,.dot-c { background: #d8d4ff; }
.avatar { max-height: 440px; margin-top: 62px; filter: drop-shadow(0 15px 15px rgba(22,27,79,.27)); }
.host-speech { top: 27px; width: min(300px,calc(100% - 34px)); min-height: 70px; padding: 12px 16px; border: 2px solid #384b98; border-radius: 9px; color: #28315c; box-shadow: 0 4px 0 rgba(30,38,99,.38); animation: none; }
.host-speech::after { border-right: 2px solid #384b98; border-bottom: 2px solid #384b98; }
.speech-label { color: #6c70a1; }
.host-caption { color: #f0efff; }
.question-side { padding: 25px clamp(22px,3.5vw,43px) 20px; border-left: 2px solid #e0def8; background: #f7f8ff; }
.phase-tag { color: #6952b4; }
.timer-wrap { border: 2px solid #d7d3f2; color: #4f4b91; background: #eeedff; }
.timer-wrap.low { border-color: #e49b9e; color: #a33455; background: #fff0f1; }
.question-meta { color: #747ba2; }
.q-count { color: #5e51a7; }
.question-title { color: #24284f; font-family: var(--sans); font-size: clamp(25px,2.7vw,34px); letter-spacing: -.04em; }
.typing-text::after { background: #7952d0; }
.question-sub { color: #646a8e; }
.answers { gap: 9px; }
.answer-btn { min-height: 48px; padding: 8px 13px; justify-content: flex-start; gap: 12px; border: 2px solid #dfe1f1; border-radius: 8px; color: #282d58; background: #fff; box-shadow: 0 3px 0 #d7d8eb; font-size: 14px; transition: transform .12s,border-color .12s,background .12s,box-shadow .12s; }
.answer-btn::after { margin-left: auto; color: #7762be; font-weight: 800; }
.answer-btn:hover,.answer-btn:focus-visible { border-color: #7664d1; color: #33256f; background: #f3f0ff; box-shadow: 0 4px 0 #c9c1ed; transform: translateY(-1px); outline: 3px solid rgba(120,91,207,.18); outline-offset: 1px; }
.answer-btn:active { box-shadow: 0 1px 0 #c9c1ed; transform: translateY(2px); }
.answer-key { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border: 1px solid #d9d4f5; border-radius: 7px; color: #6252ad; background: #f0edff; font-size: 11px; font-weight: 900; }
.answer-label { flex: 1; }
.question-actions { margin-top: 18px; }
.text-button { padding: 8px 10px; border-radius: 6px; color: #574b9e; }
.text-button:hover { color: #352477; background: #ebe8ff; }
.answer-chip { color: #777b9b; }
.primary-btn,.secondary-btn { min-height: 46px; border-radius: 7px; }
.primary-btn { border-color: #6852c5; background: linear-gradient(110deg,#4169dc,#7950ce); box-shadow: 0 4px 0 #3e347e; }
.primary-btn:hover { box-shadow: 0 5px 0 #3e347e; }
.secondary-btn { border-color: #d8d9ea; color: #514c7f; background: #fff; box-shadow: 0 4px 0 #d8d9ea; }
.secondary-btn:hover { background: #f0edff; }
.result-title { color: #272b57; font-family: var(--sans); }
.result-copy { color: #646a8e; }
.privacy-line { color: #c7cbea; }
.game-footer { border-top-color: rgba(192,199,255,.2); color: #bdc4e6; background: #20264f; }
.game-footer a { color: #d2c1ff; }
.db-message { border-top-color: #e2e3f1; color: #737895; }

@media (max-width: 850px) {
  .game-layout { margin-top: 20px; padding-inline: 16px; }
  .game-arena { grid-template-columns: 1fr; }
  .host-side { min-height: 335px; max-height: 360px; padding-top: 72px; }
  .host-halo { top: 43px; width: 250px; height: 250px; }
  .avatar { width: 255px; max-height: 300px; margin-top: 42px; flex: 1 1 280px; }
  .question-side { border-top: 2px solid #e0def8; border-left: 0; }
  .game-footer { justify-content: center; text-align: center; }
}
@media (max-width: 520px) {
  .game-layout { margin-top: 16px; padding-inline: 11px; }
  .game-heading { align-items: flex-start; }
  .game-heading h1 { font-size: 27px; }
  .game-heading-note { min-height: 33px; padding: 6px 9px; font-size: 8px; }
  .game-arena { min-height: 0; border-radius: 10px; }
  .host-side { min-height: 275px; max-height: 295px; }
  .host-speech { top: 12px; width: min(280px,calc(100% - 24px)); min-height: 59px; padding: 8px 12px; }
  .host-speech #speech-text { font-size: 12px; }
  .avatar { width: 220px; max-height: 245px; margin-top: 32px; }
  .question-side { padding: 18px 15px 15px; }
  .panel-content { min-height: 390px; }
  .question-title { font-size: 24px; }
  .answer-btn { min-height: 47px; }
  .game-header .brand { font-size: 15px; }
  .game-header-right { gap: 10px; }
}

/* Contained sponsorship, opt-in soundtrack, and related games. */
.music-toggle { min-height: 34px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #5b619a; border-radius: 6px; color: #e5e4ff; background: #303663; box-shadow: 0 2px 0 #171c42; cursor: pointer; font-size: 11px; font-weight: 800; }
.music-toggle > span:first-child { color: #cabbff; font-size: 15px; }
.music-toggle:hover,.music-toggle:focus-visible { border-color: #b9a8ff; color: #fff; outline: 2px solid rgba(196,178,255,.28); outline-offset: 2px; }
.music-toggle.is-playing { border-color: #c2b0ff; background: #514596; }
.ad-rail { display: block; }
.ad-card { width: 100%; min-height: 90px; padding: 4px; overflow: hidden; border: 1px solid rgba(200,202,255,.32); border-radius: 8px; background: #fff; box-shadow: 0 4px 0 rgba(18,22,61,.24); }
.ad-frame { display: block; width: 100%; height: 250px; border: 0; border-radius: 5px; background: #fff; }
.more-games { width: min(1260px,calc(100% - 48px)); margin: 22px auto 24px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #555d9d; border-radius: 10px; background: #292e60; box-shadow: 0 4px 0 #171c42; }
.more-games .kicker { margin-bottom: 3px; color: #b9bce4; font-size: 8px; }
.more-games h2 { margin: 0; color: #fff; font: 800 17px/1.25 var(--sans); letter-spacing: -.02em; }
.more-games-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.more-games-links a { min-height: 38px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid #555d9d; border-radius: 6px; color: #ebe9ff; background: #353b76; text-decoration: none; font-size: 11px; font-weight: 800; transition: background .15s,border-color .15s,transform .15s; }
.more-games-links a:hover,.more-games-links a:focus-visible { border-color: #b9a8ff; color: #fff; background: #514596; transform: translateY(-1px); outline: none; }
.more-games-links a span { color: #cabbff; }
@media (min-width: 1161px) {
  .game-layout { width: min(1450px,100%); display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 20px; }
  .ad-rail { grid-column: 1; grid-row: 1; align-self: start; width: 220px; margin-top: 68px; padding: 0; }
  .game-shell { grid-column: 2; grid-row: 1; }
}
@media (max-width: 1160px) {
  .game-layout { max-width: 1000px; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
  .game-shell { order: 0; }
  .ad-rail { display: block; position: static; order: 1; width: min(320px,100%); margin: 0 auto; padding: 0; }
  .ad-label { margin-bottom: 5px; }
  .ad-card { height: 100px; min-height: 0; }
  .ad-frame { height: 90px; }
}
@media (max-width: 650px) {
  .music-toggle { min-height: 32px; padding: 5px 8px; }
  .music-label { display: none; }
  .more-games { width: calc(100% - 24px); padding: 16px; align-items: flex-start; flex-direction: column; }
  .more-games-links { width: 100%; justify-content: flex-start; }
  .more-games-links a { flex: 1 1 auto; justify-content: center; }
}

