@charset "UTF-8";
:root {
  --pine: #075738;
  --pine-dark: #073f2f;
  --green: #77d515;
  --red: #e6303f;
  --gold: #ffda48;
  --ice: #effcff;
  --ink: #234b47;
  --muted: #58736f;
  --line: #dce7e0;
  --body: "Trebuchet MS", "Microsoft YaHei", Arial, sans-serif;
  --round: "Arial Rounded MT Bold", "Trebuchet MS", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #054532; font: 14px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 3px solid #ed9c11; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
fieldset { min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.holiday-art { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 1px #00362735); }
.mini-icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.full { width: 100%; }
.game-world { min-height: 100dvh; position: relative; isolation: isolate; padding: 0 0 26px; background: url("/winter.svg") center top / cover fixed; }
.game-world::after { content: ""; position: fixed; inset: 0; z-index: -1; box-shadow: inset 0 0 150px #00251d55; pointer-events: none; }
.game-header { width: min(710px, 100%); min-height: 83px; padding: 18px 24px 8px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 5; }
.wecard-logo { display: inline-block; position: relative; transform: rotate(-3deg); line-height: 1; padding: 4px 0; }
.wecard-logo > span { font-family: var(--round); font-weight: 1000; letter-spacing: -1.8px; font-size: 33px; color: #fff6c9; -webkit-text-stroke: 1px #075836; paint-order: stroke fill; text-shadow: 0 3px 0 #b5242c, 1px 5px 0 #043d28, -1px 5px 0 #043d28, 0 6px 6px #002c23; }
.wecard-logo::before { content: ""; position: absolute; height: 5px; width: 46px; border-radius: 90% 50% 70% 20%; background: #fff; left: 0; top: 0; transform: rotate(-3deg); box-shadow: 17px 2px 0 -1px #fff; }
.wecard-logo i { color: var(--gold); position: absolute; right: -15px; top: -6px; font-size: 20px; font-style: normal; text-shadow: 0 2px 0 #ce6f10; }
.game-header-tools { display: flex; align-items: center; gap: 12px; }
.demo-chip { font-size: 9px; border: 1px solid #8ac7a7; border-radius: 4px; color: #d7f6df; padding: 1px 6px; }
.language-control { position: relative; }
.lang-switch { border: 2px solid #74481c; border-radius: 18px; background: linear-gradient(#ffefab, #ffd360); color: #5c390f; box-shadow: inset 0 2px 0 #fff8d1, 0 3px 0 #412b12, 0 4px 7px #012c2470; display: flex; gap: 8px; align-items: center; padding: 7px 12px; min-height: 37px; font-weight: 900; font-size: 12px; line-height: 1; }
.lang-switch > span:first-child { font-size: 19px; line-height: .8; }.chevron { font-size: 15px; }
.language-menu { position: absolute; right: 0; top: calc(100% + 11px); width: 155px; border: 3px solid #d8a64c; border-radius: 10px; padding: 5px; background: #fffbed; box-shadow: 0 8px 25px #00291d70; z-index: 10; }
.language-menu button { width: 100%; display: flex; align-items: center; gap: 9px; border: 0; background: none; border-radius: 5px; padding: 9px; text-align: left; font-size: 12px; }
.language-menu button[aria-checked="true"] { background: #e7f5d6; font-weight: bold; }.language-menu button > .mini-icon { margin-left: auto; width: 14px; height: 14px; }
.game-stage { max-width: 650px; margin: 3px auto 0; padding: 0 82px 0 20px; }
.game-main { position: relative; z-index: 1; }
.christmas-heading { height: 168px; position: relative; margin: 0 -9px; display: flex; align-items: center; justify-content: center; }
.snow-roof { position: absolute; top: 0; left: -5%; width: 110%; height: 100px; filter: drop-shadow(0 6px 0 #02392d); }
.christmas-heading h1 { position: relative; z-index: 2; text-align: center; line-height: .9; transform: rotate(-3deg); margin-top: 20px; }
.christmas-heading h1 > span { display: block; font-family: Impact, "Arial Black", var(--round); font-size: 72px; letter-spacing: -.5px; font-weight: 900; color: #ffdc44; -webkit-text-stroke: 2px #a42c1f; paint-order: stroke fill; text-shadow: 0 5px 0 #ed6230, 0 8px 0 #a82c20, 1px 10px 0 #003a2a, -1px 10px 0 #003a2a; }
.christmas-heading h1 > strong { display: inline-block; font-size: 27px; font-family: var(--round); color: #fff8e2; font-weight: 1000; margin-top: 11px; padding: 6px 24px 9px; background: linear-gradient(#f6575d, #cf1b36); border: 3px solid #9f1927; border-radius: 6px 6px 17px 17px; box-shadow: 0 3px 0 #033e2b; text-shadow: 0 2px 0 #9b1f29; }
.title-gift { position: absolute; width: 81px; height: 81px; left: -2px; bottom: 0; transform: rotate(-12deg); z-index: 2; }.title-snowman { position: absolute; right: -8px; bottom: -2px; height: 97px; width: 97px; transform: rotate(9deg); }
.game-tagline { text-align: center; color: #efffd8; font-size: 12px; font-weight: bold; line-height: 1.5; padding: 9px 8px 16px; text-shadow: 0 2px 0 #03452c; max-width: 430px; margin: 0 auto; }
.quiz-shell { position: relative; padding: 8px; border: 3px solid #023b2a; border-radius: 23px; background: linear-gradient(100deg, #21b755, #049a41 48%, #21cc72); box-shadow: inset 0 0 0 3px #76ef96, 0 6px 0 #022f23, 0 9px 22px #002d2459; }
.quiz-shell::before { content: ""; position: absolute; inset: -4px 14px auto; height: 13px; background: #f2ffff; border-radius: 45% 40% 55% 60%; box-shadow: 36px 4px 0 -2px #f2ffff, -9px 4px 0 -2px #f2ffff; z-index: 1; }
.quiz-paper { background: linear-gradient(150deg, #fff, #effcff 70%, #e8f9ed); border: 3px solid #94d7e3; border-radius: 13px; padding: 23px 24px 14px; box-shadow: inset 0 0 15px #78d6f33d; position: relative; }
.frame-light { position: absolute; z-index: 2; width: 9px; height: 13px; background: #d5fff6; box-shadow: 0 0 7px #a0ffef, inset 0 -3px 2px #4bdce4; border-radius: 50%; pointer-events: none; }.light-a { left: 1px; top: 21%; }.light-b { right: 0; top: 50%; }.light-c { left: 2px; bottom: 15%; }
.question-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 10px; }
.date-tag { color: #547171; background: #e1f2ed; border-radius: 20px; padding: 4px 9px; font-size: 10px; font-weight: bold; white-space: nowrap; }
.countdown { display: inline-flex; align-items: center; gap: 5px; color: #c32f39; font-variant-numeric: tabular-nums; font-size: 12px; }.countdown .mini-icon { width: 13px; height: 13px; }
.question-heading { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 11px; font-weight: bold; color: #3c7760; }
.q-medal { display: grid; place-items: center; width: 24px; height: 24px; background: linear-gradient(#ffe98a,#ffcb3d); color: #845015; border: 1px solid #d0a343; border-radius: 50%; font-family: var(--round); font-size: 16px; font-weight: 1000; box-shadow: 0 2px 0 #dfaa34; }
#quiz-title { margin: 12px 0 20px; font-family: var(--round); font-weight: 900; color: #164b40; font-size: 28px; letter-spacing: -.4px; line-height: 1.2; }
.answer-list { border: 0; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.game-answer { display: flex; align-items: center; gap: 12px; position: relative; min-height: 57px; padding: 10px 12px; border: 2px solid #b9d8d7; border-radius: 12px; background: #fff; box-shadow: 0 3px 0 #d4e9e5; cursor: pointer; }
.game-answer input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.game-answer:has(input:focus-visible) { outline: 3px solid #dca132; outline-offset: 3px; }
.game-answer > b { display: grid; place-items: center; width: 29px; height: 29px; flex-shrink: 0; border-radius: 8px; background: #e7f4f0; border: 1px solid #d0e5df; font-size: 13px; color: #4c7b6a; }
.game-answer > span { font-size: 13px; line-height: 1.4; font-weight: bold; }
.game-answer > i { width: 18px; height: 18px; border: 2px solid #c5d9d6; border-radius: 50%; margin-left: auto; display: grid; place-items: center; flex-shrink: 0; }.game-answer > i .mini-icon { opacity: 0; width: 12px; height: 12px; }
.game-answer.selected { border-color: #50aa3a; background: #effbdc; box-shadow: 0 3px 0 #8cc767; }.game-answer.selected > b { border-color: #38942a; background: linear-gradient(#8edb34,#4ca927); color: #fff; text-shadow: 0 1px #346f19; }.game-answer.selected > i { background: #449e2f; border-color: #449e2f; color: #fff; }.game-answer.selected > i .mini-icon { opacity: 1; }
.answer-list:disabled .game-answer, .answer-list:disabled input { cursor: default; }
.game-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-align: center; border: 2px solid #3e880c; border-radius: 13px; padding: 11px 18px; min-height: 50px; color: #fff; background: linear-gradient(#aff126 0%, #83dc12 48%, #63c40c 100%); box-shadow: inset 0 3px 0 #d4ff6e, inset 0 -3px 0 #57ad08, 0 4px 0 #2c7409, 0 5px 8px #16472526; font-family: var(--round); font-size: 18px; font-weight: 1000; text-shadow: 0 2px 0 #377f16, 1px 0 0 #377f16, -1px 0 0 #377f16; line-height: 1.2; transition: transform .12s; }
.game-button:hover:not(:disabled) { filter: brightness(1.05); }.game-button:active:not(:disabled) { transform: translateY(3px); box-shadow: inset 0 3px 0 #d4ff6e, inset 0 -3px 0 #57ad08, 0 1px 0 #2c7409; }.game-button:disabled { background: linear-gradient(#d7e6cb,#b9cfaa); color: #506849; text-shadow: none; border-color: #91aa80; box-shadow: inset 0 2px 0 #edf6e7, 0 3px 0 #95b085; }
.submit-button { width: 100%; }.answer-note { display: flex; justify-content: center; align-items: center; gap: 4px; color: #627f72; font-size: 9px; text-align: center; margin-top: 13px; line-height: 1.4; }.answer-note .mini-icon { width: 10px; height: 10px; }
.participation { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 18px; color: #5b766a; font-size: 10px; }.participation .mini-icon { width: 13px; height: 13px; }.participation b { color: #1c6545; }
.answer-locked { display: flex; gap: 8px; align-items: center; justify-content: center; background: #e7f7d6; border: 1px solid #a8d38b; padding: 12px; border-radius: 9px; font-size: 13px; color: #367228; }.answer-locked > span { background: #3a932d; color: #fff; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; margin-left: auto; }
.game-foot { display: flex; align-items: center; justify-content: space-between; padding: 18px 7px 10px; color: #c5e7cf; font-size: 9px; }.game-foot > button { border: 0; padding: 0; background: none; color: #d9efcc; font-size: 10px; }
.holiday-rail { position: fixed; right: max(10px, calc((100vw - 680px) / 2)); top: 235px; display: flex; flex-direction: column; align-items: center; gap: 19px; width: 66px; z-index: 4; }
.rail-button { display: flex; flex-direction: column; align-items: center; border: 0; background: none; padding: 0; color: #fff7cf; width: 66px; position: relative; }
.rail-button > .holiday-art { width: 56px; height: 56px; transition: transform .15s; }.rail-button:hover > .holiday-art { transform: translateY(-3px) rotate(-4deg); }.rail-button > span { margin-top: 1px; font-size: 10px; font-weight: bold; line-height: 1.3; text-align: center; background: #053b2bcc; padding: 3px 5px; border: 1px solid #4c956756; border-radius: 10px; min-width: 58px; text-shadow: 0 1px 0 #023c2e; }
.rail-button.has-gift::after { content: ""; width: 9px; height: 9px; border: 2px solid #ffdb81; background: #ee4248; border-radius: 50%; position: absolute; right: 5px; top: 5px; }
.ground-gift { position: fixed; z-index: 0; bottom: 0; width: 130px; height: 130px; opacity: .6; pointer-events: none; }.ground-gift-left { left: max(1%,calc(50% - 510px)); transform: rotate(-17deg); }.ground-gift-right { right: max(1%,calc(50% - 490px)); transform: rotate(18deg); }
.boost-card { margin-top: 24px; border: 3px solid #9b651d; border-radius: 17px; background: #fff8da; box-shadow: 0 4px 0 #034631, inset 0 0 0 3px #ffe9a1; overflow: hidden; }
.boost-title { display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(#ef5353,#c92737); padding: 12px 8px; border-bottom: 3px solid #a5262b; color: #fff6ce; text-shadow: 0 2px 0 #a5262b; }.boost-title h2 { font-family: var(--round); font-size: 17px; font-weight: 1000; text-align: center; }.boost-title > span { color: #ffdc5d; }
.boost-body { padding: 18px 20px 10px; }.boost-meter-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; }.boost-meter-heading > span { font-size: 11px; color: #7a5c26; max-width: 200px; line-height: 1.5; }.boost-meter-heading > strong { font-family: var(--round); font-size: 30px; font-weight: 1000; color: #c82c36; letter-spacing: -.5px; line-height: 1; }
.meter-wrap { position: relative; margin-top: 13px; }.meter-wrap progress { appearance: none; width: 100%; height: 22px; display: block; overflow: hidden; border: 2px solid #b07d25; border-radius: 20px; background: #d1b778; accent-color: #ffb817; }.meter-wrap progress::-webkit-progress-bar { background: #d8c99c; box-shadow: inset 0 2px 4px #7f60234d; }.meter-wrap progress::-webkit-progress-value { background: linear-gradient(#ffed80,#ffd037 45%,#ffad12); border-radius: 20px; box-shadow: inset 0 2px 0 #fff9bc; }.meter-wrap progress::-moz-progress-bar { background: #ffd037; border-radius: 20px; }.meter-wrap > span { position: absolute; right: 8px; top: 0; font-size: 10px; font-weight: bold; line-height: 22px; color: #6b4d19; }
.boost-explainer { font-size: 9px; color: #80683b; margin: 10px 0 16px; line-height: 1.6; }.invite-button { width: 100%; font-size: 17px; }.invite-button .mini-icon { width: 18px; height: 18px; }.boost-ranges { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; gap: 12px; }.boost-ranges > div { display: flex; flex-direction: column; gap: 3px; text-align: center; background: #fff0bd; border: 1px solid #ebd393; border-radius: 8px; padding: 8px 3px; }.boost-ranges span { font-size: 9px; color: #7b632e; }.boost-ranges b { color: #bd3a32; font-family: var(--round); font-size: 16px; }
.boost-history { border-top: 1px dashed #dfc987; margin-top: 17px; }.boost-history summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-size: 11px; color: #775f31; cursor: pointer; }.boost-history summary span { border-radius: 20px; background: #f0db9b; padding: 0 7px; }.boost-history > div > p { color: #7e6b43; font-size: 10px; padding-bottom: 10px; }.boost-record { display: flex; align-items: center; gap: 9px; font-size: 10px; padding: 8px 0; border-top: 1px solid #f1dfad; }.boost-record b { flex-shrink: 0; }.boost-record > span { color: #7e6b43; font-size: 9px; }.boost-record strong { margin-left: auto; color: #3c842e; white-space: nowrap; }.boost-record .rejected { color: #aa5546; }
.guarantee-tag { display: flex; justify-content: center; align-items: center; gap: 5px; color: #af3428; font-size: 12px; font-weight: bold; margin-top: 10px; }.guarantee-tag .holiday-art { width: 27px; height: 27px; }
.preview-banner { max-width: 650px; margin: 10px auto; background: #fff3af; border: 2px solid #d4a23e; border-radius: 7px; font-size: 10px; padding: 8px 14px; color: #75501c; text-align: center; }.preview-banner a { text-decoration: underline; margin-left: 10px; }
dialog { padding: 0; border: 0; max-height: 91dvh; overflow: auto; color: var(--ink); }
dialog::backdrop { background: #001e19bc; backdrop-filter: blur(4px); }
.game-dialog { width: min(430px, calc(100% - 32px)); padding: 27px 28px 24px; border: 5px solid #27a35a; border-radius: 24px; background: linear-gradient(140deg,#fff, #f0fcff 70%,#e4f7ec); box-shadow: inset 0 0 0 3px #a6e4e8, 0 0 0 3px #073f30, 0 15px 70px #001c1970; text-align: center; }
.dialog-close { position: absolute; right: 9px; top: 9px; width: 31px; height: 31px; border: 2px solid #7fa5a5; border-radius: 50%; background: linear-gradient(#fff,#d4eeee); box-shadow: 0 2px 0 #638c87; color: #3c6260; font-size: 26px; font-weight: 1000; line-height: 23px; display: grid; place-items: center; z-index: 2; }
.dialog-art { width: 94px; height: 94px; margin: 0 auto 8px; }.dialog-art.small-art { width: 70px; height: 70px; }
.game-dialog h2 { font-family: var(--round); font-size: 25px; font-weight: 1000; line-height: 1.2; color: #164f3e; letter-spacing: -.5px; }
.dialog-intro { font-size: 12px; color: #5a766d; line-height: 1.7; margin-top: 12px; }
.game-field { display: flex; flex-direction: column; gap: 8px; text-align: left; font-size: 11px; font-weight: bold; margin: 23px 0 19px; }
.game-field input, .game-field textarea { width: 100%; border: 2px solid #a1c7c0; border-radius: 10px; background: #fff; box-shadow: inset 0 2px 3px #416d5c12; font-size: 15px; color: #1c5743; padding: 13px; min-height: 49px; font-family: var(--body); }
.game-field input::placeholder { font-size: 12px; color: #7b8d85; font-weight: normal; }
.register-note { font-size: 11px; color: #5c776a; margin-top: 22px; }.register-note a, .register-note button { font-weight: bold; text-decoration: underline; color: #bc303c; border: 0; padding: 0; background: none; font-size: inherit; }
.dialog-demo { margin-top: 15px; font-size: 9px; color: #8e6430; line-height: 1.5; background: #fff1c7; padding: 6px; border-radius: 5px; }
.dialog-error { background: #fff0ed; border: 1px solid #df938e; border-radius: 7px; color: #ab2e34; font-size: 11px; line-height: 1.6; padding: 10px; margin-top: 15px; text-align: left; }
.confirm-choice { display: flex; gap: 12px; align-items: center; text-align: left; padding: 15px; background: #eef9e1; border: 2px solid #add188; border-radius: 10px; font-size: 13px; font-weight: bold; margin: 21px 0; }.confirm-choice b { display: grid; place-items: center; border-radius: 6px; background: #469c2d; color: #fff; width: 28px; height: 28px; flex-shrink: 0; }
.dialog-link { border: 0; background: none; color: #466f58; text-decoration: underline; font-size: 11px; padding: 8px 10px; margin-top: 12px; }.dialog-kicker { font-size: 10px; color: #bc7624; margin-bottom: 5px; }.result-date { font-size: 10px; color: #6b8275; margin: 9px 0 14px; }.result-question { font-size: 13px; font-weight: bold; line-height: 1.5; color: #466f58; }
.correct-answer { background: #e7f5dd; border: 1px solid #a9c990; border-radius: 10px; padding: 11px 13px; text-align: left; margin-top: 17px; }.correct-answer > small { font-size: 9px; color: #5d7c4b; }.correct-answer > strong { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.5; margin-top: 5px; }.correct-answer strong b { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 5px; color: #fff; background: #489138; flex-shrink: 0; }.your-answer { font-size: 10px; color: #5d7867; margin-top: 9px; text-align: left; }
.win-title { color: #ce3b26; font-family: var(--round); font-size: 29px; font-weight: 1000; margin: 22px 0 5px; }.tier-name { color: #a36320; font-size: 12px; font-weight: bold; }.cdk-box { border: 2px dashed #d5a64d; border-radius: 11px; background: #fff6d5; padding: 12px; margin-top: 16px; }.cdk-box > span { color: #8a672d; font-size: 9px; display: block; }.cdk-box > code { display: block; font-weight: bold; word-break: break-all; color: #775221; font-size: 15px; letter-spacing: .4px; margin: 7px 0 10px; line-height: 1.5; }.copy-cdk { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #c6952c; border-radius: 7px; background: linear-gradient(#ffe77d,#ffc53c); box-shadow: 0 2px 0 #b48422; color: #71501a; padding: 7px 16px; min-height: 36px; font-size: 12px; font-weight: bold; }.copy-cdk .mini-icon { width: 14px; height: 14px; }.redemption-note { font-size: 10px; color: #6b806e; margin: 14px 0; }.result-retention { color: #647d6c; font-size: 9px; margin-top: 20px; line-height: 1.7; }.not-win-title, .pending-title { color: #687a67; font-family: var(--round); font-size: 23px; margin-top: 21px; }
.reward-history { text-align: left; }.reward-item { margin: 22px 0 18px; border-bottom: 1px solid #cbdfd5; padding-bottom: 18px; }.reward-item:last-child { border-bottom: 0; }.reward-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; }.reward-heading > span { font-size: 10px; color: #647c6b; white-space: nowrap; }.reward-tier { font-size: 11px; color: #ac6724; text-align: right; }.reward-item > p, .reward-item > small { font-size: 9px; color: #637e6b; margin-top: 11px; display: block; }.reward-item .cdk-box { text-align: center; }.reward-item .redeemed-stamp { color: #2d7b42; }.redeemed-stamp .mini-icon { height: 12px; width: 12px; }.empty-rewards { padding: 35px 0 10px; }.empty-rewards h3 { font-family: var(--round); font-size: 22px; color: #886c3d; }.empty-rewards p { font-size: 11px; color: #6b806e; margin-top: 15px; line-height: 1.8; }.activity-rules { text-align: left; margin-top: 20px; }.activity-rules > p { font-size: 11px; line-height: 1.8; color: #4c705b; margin-top: 13px; }.activity-rules h3 { font-size: 12px; color: #9b6b24; margin-top: 22px; }.rule-tiers { margin: 12px 0; background: #e5f4df; padding: 9px 12px; border-radius: 8px; }.rule-tiers > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 0; font-size: 11px; }.rule-tiers b { color: #a9691c; white-space: nowrap; }.identity-id { color: #a66a20; font-size: 27px; font-weight: bold; letter-spacing: 1px; margin: 17px 0; word-break: break-all; }
.empty-quiz { text-align: center; min-height: 300px; padding-top: 30px; }.empty-quiz > .holiday-art { width: 90px; height: 90px; margin: 0 auto 18px; }.empty-quiz h2 { font-family: var(--round); font-size: 24px; }.empty-quiz p { font-size: 11px; color: var(--muted); margin: 12px 0 22px; }
#toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 15px); z-index: 100; width: max-content; max-width: min(490px, calc(100% - 30px)); padding: 12px 20px; border: 1px solid #a9d8a4; border-radius: 10px; background: #073c2ff5; color: #fff6cc; box-shadow: 0 4px 20px #00221d66; font-size: 12px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .15s,transform .15s; pointer-events: none; }#toast.show { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.initial, .connection-error { min-height: 100dvh; display: flex; flex-direction: column; gap: 20px; justify-content: center; align-items: center; text-align: center; color: #faffed; padding: 30px; }.connection-error > .holiday-art { width: 130px; height: 130px; }.connection-error h1 { font-size: 25px; }.connection-error p { font-size: 12px; }.brand-star { color: var(--gold); font-size: 65px; }
/* The operator console stays quiet and readable; game chrome is customer-facing only. */
body:has(.admin-header) { background: #f3f6f0; }
.admin-header { min-height: 80px; background: var(--pine-dark); padding: 18px max(26px,calc((100vw - 1240px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; }.admin-brand { font-weight: 900; font-size: 22px; letter-spacing: -.5px; }.admin-brand small { display: inline-block; font-size: 10px; font-weight: normal; margin-left: 13px; letter-spacing: 0; color: #c2d9c9; }.admin-header > div { display: flex; align-items: center; gap: 20px; }.admin-header .text-button { color: #def1d7; }.admin-wrap { max-width: 1240px; padding: 35px 26px; margin: 0 auto; }
.admin-login { max-width: 460px; padding: 30px; margin: 65px auto; }.admin-login > .holiday-art { width: 72px; height: 72px; margin-bottom: 20px; }.admin-login h1 { font-size: 29px; }.admin-login > p { color: var(--muted); font-size: 12px; margin-top: 15px; }.admin-login form { margin-top: 30px; }.admin-login .admin-login-note { font-size: 10px; line-height: 1.8; }
.admin-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }.admin-title h1 { font-size: 29px; }.admin-title p { color: var(--muted); font-size: 11px; margin-top: 9px; }.primary,.outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 6px; min-height: 41px; padding: 10px 17px; font-size: 12px; font-weight: bold; line-height: 1.5; }.primary { background: var(--pine); color: #fff; }.primary:hover { background: var(--pine-dark); }.outline-button { background: transparent; border-color: #a6bca7; color: var(--pine); }.primary:disabled, .outline-button:disabled { opacity: .5; }.text-button { border: 0; background: none; color: var(--pine); padding: 7px 2px; font-size: 11px; text-align: left; }.text-button:hover { text-decoration: underline; }.danger { color: #bb3440; }
.admin-warning { background: #fff0ce; border: 1px solid #e3c98b; color: #805d22; border-radius: 6px; font-size: 11px; line-height: 1.8; padding: 13px 16px; margin: 15px 0; }.admin-stats { display: grid; grid-template-columns: repeat(6,1fr); border: 1px solid #d6e3d5; border-radius: 8px; padding: 21px 0; background: #fff; margin: 26px 0; }.admin-stats > div { border-right: 1px solid #dce6d8; padding: 0 22px; }.admin-stats > div:last-child { border: 0; }.admin-stats span { font-size: 10px; color: var(--muted); display: block; }.admin-stats strong { display: block; font-size: 29px; line-height: 1.2; margin-top: 8px; }
.admin-tabs { display: flex; gap: 25px; border-bottom: 1px solid #b8cbb8; margin-bottom: 23px; overflow-x: auto; }.admin-tabs button { padding: 12px 3px; font-size: 12px; white-space: nowrap; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); }.admin-tabs button.active { color: var(--pine); font-weight: bold; border-bottom-color: var(--pine); }.admin-panel { background: #fff; border: 1px solid #d8e4d6; border-radius: 8px; padding: 25px; margin-bottom: 22px; }.admin-panel h2 { font-size: 18px; }.admin-panel > p { color: var(--muted); font-size: 11px; margin-top: 12px; line-height: 1.9; }.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }.section-heading h2 { font-size: 18px; }.section-heading p { font-size: 11px; color: var(--muted); margin-top: 8px; }.admin-panel form { margin-top: 22px; }.field { display: flex; flex-direction: column; gap: 7px; font-size: 11px; color: #486545; font-weight: bold; margin-bottom: 18px; }.field input,.field textarea,.field select { min-height: 41px; padding: 10px 11px; border: 1px solid #b9cfb6; border-radius: 5px; font-family: var(--body); background: #fff; color: var(--ink); font-size: 12px; width: 100%; font-weight: normal; }.field textarea { resize: vertical; line-height: 1.7; }.field input::placeholder,.field textarea::placeholder { color: #6e836a; font-size: 11px; }.field small { font-weight: normal; font-size: 10px; color: var(--muted); }.checkbox-field { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; min-height: 39px; }.checkbox-field input { height: 16px; width: 16px; accent-color: var(--pine); }.form-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }.form-row > .field { min-width: 145px; flex: 1; }.editor-fields { border: 0; padding: 0; margin: 0; }.editor-fields:disabled { opacity: .75; }.translation-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; margin-top: 15px; }.translation-grid > section { background: #f8fbf5; border: 1px solid #dce7d7; border-radius: 6px; padding: 16px; }.translation-grid h3 { font-size: 12px; margin-bottom: 20px; }.translation-grid .field:last-child { margin-bottom: 0; }.form-hint { font-size: 10px; color: var(--muted); margin: 18px 0; }.table-scroll { overflow: auto; width: 100%; }table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }th { background: #f1f6ed; font-size: 10px; font-weight: normal; color: #56734e; padding: 12px 10px; white-space: nowrap; }td { padding: 14px 10px; border-bottom: 1px solid #e6eee1; vertical-align: middle; }td:first-child { white-space: nowrap; }tr:last-child td { border-bottom: 0; }.table-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }.badge { display: inline-block; padding: 3px 8px; border-radius: 4px; font-size: 10px; background: #e6f3dc; color: #4b7040; white-space: nowrap; }.badge.warn { color: #936321; background: #fff0c9; }.badge.reject { color: #aa3b45; background: #fae9e8; }.badge.muted { color: #62745d; background: #eef1e9; }.muted { color: var(--muted); }
.mapping-editor { border-top: 1px solid #dce7d7; margin-top: 25px; padding-top: 23px; }.mapping-editor h3 { font-size: 14px; margin-bottom: 14px; }.tier-editor { display: grid; grid-template-columns: 42px 1fr 1fr 1fr 80px 1.2fr; gap: 11px; align-items: center; border-bottom: 1px solid #e4edde; padding: 13px 0 0; }.tier-editor > b { font-size: 11px; }.tier-editor .field { font-size: 10px; }.tier-editor .field input,.tier-editor .field select { font-size: 11px; padding: 8px; }.tier-editor .field:last-child { min-width: 0; }.boost-editor { background: #f3f8ed; border-radius: 6px; border: 1px solid #dde9d3; padding: 18px; margin-top: 22px; }.boost-editor h4 { font-size: 12px; margin: 0 0 15px; }.boost-fields { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }.boost-fields .field { font-size: 10px; margin-bottom: 8px; }.pool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }.pool-layout .admin-panel { margin-bottom: 0; }.pool-table td { font-size: 11px; }.pool-id { color: #7c8b6f; font-size: 9px; margin-right: 5px; }.pool-snapshot { font-size: 10px; display: flex; flex-direction: column; gap: 3px; min-width: 170px; }.pool-snapshot span { color: #607455; }.pool-snapshot b { font-weight: normal; color: #2e633e; }.admin-info { background: #edf5e6; color: #4a7140; border: 1px solid #d6e6c9; border-radius: 5px; padding: 13px 16px; font-size: 11px; line-height: 1.8; margin-top: 20px; }.language-settings { border: 1px solid #d2dfcb; border-radius: 5px; display: flex; gap: 25px; flex-wrap: wrap; padding: 13px 18px; margin: 0 0 22px; }.language-settings legend { font-size: 11px; padding: 0 6px; color: var(--muted); }.settings-form { max-width: 750px; }.api-config { background: #f6f9f2; border: 1px solid #dce7d5; padding: 18px; border-radius: 6px; margin: 22px 0; }.api-config h3 { font-size: 14px; margin-bottom: 17px; }.api-contract { margin: 15px 0; background: #133b2b; color: #d6e9c7; padding: 15px; border-radius: 6px; overflow-x: auto; font-size: 11px; }.audit-list > div { padding: 11px 0; display: flex; align-items: baseline; gap: 15px; border-bottom: 1px solid #dce7d5; font-size: 10px; }.audit-list time { flex-shrink: 0; color: var(--muted); }.audit-list span { word-break: break-all; color: var(--muted); }.qa-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 23px; }.qa-options a { display: flex; align-items: center; gap: 15px; padding: 16px; border: 1px solid #dce5ce; background: #f7faef; border-radius: 7px; font-size: 12px; font-weight: bold; }.qa-options .holiday-art { width: 50px; height: 50px; }.qa-options span { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; font-weight: normal; }.admin-footnote { font-size: 10px; color: var(--muted); margin-top: 25px; }
.pool-layout > .admin-panel { min-width: 0; }
@media (min-width: 1100px) { .game-stage { margin-top: 9px; }.game-header { padding-top: 25px; }.ground-gift { width: 165px; height: 165px; opacity: .75; } }
@media (max-width: 740px) {
  .game-header { padding: 15px 20px 9px; min-height: 73px; }.wecard-logo > span { font-size: 29px; }.game-stage { max-width: 610px; padding-left: 17px; padding-right: 77px; margin-top: 3px; }.christmas-heading { height: 144px; }.christmas-heading h1 > span { font-size: clamp(40px, 9.6vw, 64px); -webkit-text-stroke-width: 1.5px; }.christmas-heading h1 > strong { font-size: clamp(21px, 4.8vw, 27px); padding: 5px 18px 7px; margin-top: 9px; border-width: 2px; }.snow-roof { height: 83px; }.title-gift { height: 65px; width: 65px; bottom: 1px; left: -4px; }.title-snowman { height: 78px; width: 78px; bottom: 1px; right: -6px; }.game-tagline { font-size: 11px; padding: 7px 3px 14px; max-width: 310px; }.quiz-paper { padding: 20px 17px 12px; }.quiz-shell { border-radius: 20px; padding: 7px; }.quiz-paper { border-radius: 11px; border-width: 2px; }.question-meta { font-size: 9px; }.date-tag { font-size: 9px; padding: 4px 7px; }.countdown { font-size: 11px; }.question-heading { margin-top: 18px; font-size: 10px; }.q-medal { height: 22px; width: 22px; font-size: 15px; }#quiz-title { font-size: 25px; margin: 11px 0 18px; }.game-answer { min-height: 55px; padding: 9px 10px; gap: 10px; border-radius: 10px; }.game-answer > b { width: 27px; height: 27px; border-radius: 7px; font-size: 12px; }.game-answer > span { font-size: 12px; }.game-answer > i { width: 16px; height: 16px; }.answer-list { gap: 10px; margin-bottom: 19px; }.game-button { font-size: 16px; min-height: 48px; border-radius: 11px; padding: 11px 10px; }.answer-note { font-size: 8px; margin-top: 13px; }.participation { font-size: 9px; margin-top: 16px; }.holiday-rail { right: 7px; top: 240px; width: 62px; gap: 19px; }.rail-button { width: 62px; }.rail-button > .holiday-art { width: 53px; height: 53px; }.rail-button > span { font-size: 9px; min-width: 55px; padding: 3px; }.game-foot { font-size: 8px; padding: 17px 4px 10px; gap: 8px; }.game-foot > button { font-size: 9px; }.ground-gift { display: none; }.boost-card { margin-top: 22px; border-radius: 15px; }.boost-title { padding: 11px 6px; gap: 5px; }.boost-title h2 { font-size: 15px; }.boost-body { padding: 16px 16px 7px; }.boost-meter-heading > strong { font-size: 27px; }.boost-meter-heading > span { font-size: 10px; max-width: 140px; }.boost-explainer { font-size: 8px; }.boost-ranges { gap: 8px; }.boost-ranges span { font-size: 8px; }.boost-ranges b { font-size: 15px; }.boost-history summary { font-size: 10px; }.boost-record { font-size: 9px; gap: 6px; }.boost-record > span { font-size: 8px; }.guarantee-tag { font-size: 10px; }.preview-banner { margin: 10px 16px; font-size: 9px; }.game-dialog { padding: 25px 23px 22px; border-radius: 21px; }.game-dialog h2 { font-size: 24px; }.game-dialog .game-button { font-size: 17px; }.dialog-intro { font-size: 11px; }.dialog-art { width: 87px; height: 87px; }.game-field input { font-size: 16px; }.game-dialog .activity-rules > p { font-size: 10px; }
  .admin-header { padding: 18px; min-height: 73px; }.admin-brand { font-size: 19px; }.admin-brand small { font-size: 9px; margin-left: 8px; }.admin-header > div { gap: 12px; }.admin-header .text-button { font-size: 10px; }.admin-wrap { padding: 25px 16px; }.admin-title h1 { font-size: 25px; }.admin-title p { font-size: 9px; }.admin-title .outline-button { font-size: 10px; min-height: 35px; padding: 8px 10px; }.admin-warning { font-size: 10px; padding: 12px; }.admin-stats { grid-template-columns: repeat(3,1fr); padding: 0; margin: 23px 0; }.admin-stats > div { padding: 16px; border-bottom: 1px solid #dce6d8; }.admin-stats > div:nth-child(3) { border-right: 0; }.admin-stats > div:nth-child(n+4) { border-bottom: 0; }.admin-stats strong { font-size: 26px; }.admin-stats span { font-size: 9px; }.admin-tabs { gap: 20px; }.admin-tabs button { font-size: 11px; }.admin-panel { padding: 20px 16px; }.admin-panel h2,.section-heading h2 { font-size: 16px; }.section-heading { align-items: flex-start; gap: 13px; }.section-heading p { font-size: 10px; }.section-heading > .primary { min-height: 35px; padding: 8px 10px; font-size: 10px; white-space: nowrap; }.translation-grid { grid-template-columns: 1fr; gap: 15px; }.translation-grid > section { padding: 16px; }.form-row { gap: 4px 15px; }.form-row > .field { min-width: 0; }.form-row > .checkbox-field { width: 100%; margin-bottom: 15px; }.tier-editor { grid-template-columns: 36px 1fr 1fr; gap: 0 12px; }.tier-editor > b { grid-row: span 3; align-self: start; padding-top: 24px; }.tier-editor > .field:nth-child(4) { grid-column: 2; }.tier-editor > .field:last-child { grid-column: 2 / -1; }.boost-editor { padding: 16px; }.boost-fields { grid-template-columns: 1fr 1fr; gap: 15px; }.boost-fields > .field:last-child { grid-column: 1 / -1; }.pool-layout { grid-template-columns: 1fr; gap: 20px; }.language-settings { gap: 4px; flex-direction: column; }.audit-list > div { flex-wrap: wrap; gap: 4px 12px; }.audit-list span { width: 100%; }.qa-options { grid-template-columns: 1fr 1fr; gap: 10px; }.qa-options a { padding: 12px; flex-direction: column; gap: 10px; text-align: center; font-size: 11px; }.qa-options .holiday-art { width: 48px; height: 48px; }.api-config { padding: 15px; }.api-contract { font-size: 10px; }.admin-footnote { font-size: 9px; }.admin-login { padding: 25px; margin: 30px auto; }.admin-login h1 { font-size: 25px; }
}
@media (max-width: 370px) {
  .game-header { padding-left: 16px; padding-right: 15px; min-height: 67px; }.wecard-logo > span { font-size: 26px; letter-spacing: -1.5px; }.wecard-logo i { font-size: 17px; right: -11px; }.lang-switch { font-size: 11px; padding: 7px 10px; gap: 6px; min-height: 34px; }.game-header-tools { gap: 7px; }.demo-chip { font-size: 8px; padding: 0 4px; }.game-stage { padding-left: 11px; padding-right: 68px; }.christmas-heading { height: 130px; margin-left: -5px; margin-right: -5px; }.christmas-heading h1 > span { font-size: 38px; }.christmas-heading h1 > strong { font-size: 20px; padding: 5px 15px 7px; }.snow-roof { top: 1px; height: 74px; }.title-gift { width: 49px; height: 49px; bottom: 5px; }.title-snowman { width: 60px; height: 60px; right: -4px; bottom: 5px; }.game-tagline { font-size: 10px; padding-top: 5px; padding-bottom: 12px; }.quiz-shell { padding: 6px; border-width: 2px; border-radius: 17px; }.quiz-paper { padding: 18px 12px 12px; }.question-meta { gap: 4px; }.date-tag { font-size: 8px; padding: 4px 6px; }.countdown { font-size: 10px; gap: 3px; }.countdown .mini-icon { width: 11px; height: 11px; }.question-heading { margin-top: 16px; }#quiz-title { font-size: 23px; }.game-answer { min-height: 53px; gap: 7px; padding: 8px; }.game-answer > span { font-size: 11px; }.game-answer > b { width: 24px; height: 26px; font-size: 11px; }.game-answer > i { width: 14px; height: 14px; border-width: 1px; }.answer-note { font-size: 7px; }.game-button { font-size: 14px; min-height: 46px; padding: 10px 7px; }.game-button .mini-icon { width: 15px; height: 15px; }.holiday-rail { right: 3px; top: 222px; width: 59px; gap: 17px; }.rail-button { width: 59px; }.rail-button > .holiday-art { width: 47px; height: 47px; }.rail-button > span { font-size: 8px; min-width: 51px; }.game-foot { font-size: 7px; }.game-foot > button { font-size: 8px; }.boost-body { padding: 14px 12px 5px; }.boost-title h2 { font-size: 13px; }.boost-meter-heading > span { font-size: 9px; }.boost-meter-heading > strong { font-size: 25px; }.boost-explainer { font-size: 8px; }.boost-ranges span { font-size: 7px; }.boost-ranges b { font-size: 14px; }.answer-locked { font-size: 11px; padding: 11px 8px; }.game-dialog { padding-left: 18px; padding-right: 18px; }.register-note { font-size: 10px; }.game-dialog h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
