:root { color-scheme: dark; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: #111110; color: #f3eee4; }
* { box-sizing: border-box; }
body { margin: 0; background: #111110; }
button, select { font: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #463b2c; gap: 20px; }
.brand { font-size: 23px; font-weight: 800; line-height: 1.2; }
.brand span { display: block; margin-top: 5px; font-size: 10px; font-weight: 500; letter-spacing: 3px; color: #c5ac7d; }
.preview-tag { border: 1px solid #917448; color: #e3c68c; padding: 8px 11px; font-size: 11px; letter-spacing: 1px; }
.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-block: 72px 78px; }
.hero::before { content: ""; position: absolute; inset: 82px 0 auto; height: 650px; z-index: -1; background: linear-gradient(90deg, #111110 13%, #11111077 100%), url("/assets/hero-bg.jpg") center/cover; opacity: .46; }
.eyebrow { margin: 0 0 17px; color: #dbbc80; font-size: 11px; font-weight: 700; letter-spacing: 2.5px; }
.hero h1 { margin: 0; font-size: clamp(48px, 6.4vw, 86px); line-height: 1.13; letter-spacing: -4px; }
.hero h1 em { color: #ead09a; font-style: normal; }
.lead { max-width: 460px; margin: 30px 0 25px; color: #d2c8b8; font-size: 16px; line-height: 1.9; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points span { border: 1px solid #746044; padding: 9px 12px; color: #ebd9b6; font-size: 11px; }
.preview-explain { max-width: 450px; margin-top: 28px; color: #a9a195; font-size: 12px; line-height: 1.8; }
.game-card { padding: 25px 30px 28px; border: 1px solid #9c7641; background: radial-gradient(circle at 50% 37%, #3c2d18 0, #1b1813 60%, #141310 100%); box-shadow: 0 28px 80px #000a, inset 0 0 65px #8c5b1a16; }
.game-card-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 10px; letter-spacing: 1.6px; color: #bba980; }
.game-card-heading strong { color: #8bd3b8; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.wheel-wrap { width: min(100%, 470px); aspect-ratio: 1; position: relative; margin: 20px auto 14px; filter: drop-shadow(0 18px 28px #000a); overflow: clip; }
#wheel { display: block; width: 100%; height: 100%; transition: transform 4.5s cubic-bezier(.13,.72,.12,1); }
.pointer { width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 32px solid #ffdf9a; position: absolute; top: 1%; left: 50%; transform: translateX(-50%); z-index: 3; filter: drop-shadow(0 3px 3px #000); }
.wheel-hub { position: absolute; top: 50%; left: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; border-radius: 50%; background: radial-gradient(circle at 45% 40%, #d8b679bb, #906028a8 75%); box-shadow: inset 0 0 20px #fff3c74d; }
.wheel-hub span { color: #4a3018; font-size: clamp(9px, 1vw, 13px); font-weight: 700; text-shadow: 0 1px 1px #ffe9a5; }
.wheel-hub strong { color: #3d240c; font-size: clamp(13px, 1.6vw, 19px); text-shadow: 0 1px 1px #ffe9a5; }
.spin-button { width: 100%; min-height: 62px; display: flex; justify-content: space-between; align-items: center; border: 0; padding: 0 22px; background: #e4c18a; color: #251b0d; font-size: 19px; font-weight: 800; cursor: pointer; }
.spin-button:hover:not(:disabled) { background: #f5dcae; }
.spin-button:disabled { opacity: .55; cursor: wait; }
.wheel-note { margin: 13px 0 0; color: #a9a093; font-size: 11px; line-height: 1.6; }
.demo-controls { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; align-items: end; padding: 24px; border: 1px solid #4f4839; background: #1b1a16; }
.demo-controls h2, .section-heading h2, .result-section h2 { margin: 0; font-size: 25px; }
.demo-controls p:not(.eyebrow) { margin: 8px 0 0; color: #ada69a; font-size: 12px; line-height: 1.6; }
.demo-controls label { display: grid; gap: 9px; color: #c4b9a8; font-size: 12px; }
.demo-controls select { width: 100%; min-height: 45px; border: 1px solid #69583f; border-radius: 0; padding: 0 10px; background: #25221c; color: #f2e8d5; }
.odds-section { padding-block: 74px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading p:last-child { max-width: 380px; margin: 0; color: #ada69a; font-size: 12px; line-height: 1.7; }
.odds-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.odds-item { display: grid; min-height: 148px; align-content: space-between; padding: 18px; border: 1px solid #51483a; background: #211e19; }
.odds-item span { color: #c2b4a0; font-size: 12px; }
.odds-item strong { color: #f1dfb4; font-size: 28px; white-space: nowrap; }
.odds-item strong small { font-size: 12px; font-weight: 400; }
.odds-item b { color: #d2b67c; font-size: 14px; }
.odds-item.grand { border-color: #c99d50; background: linear-gradient(140deg, #4b341b, #221d16); }
.odds-item.thanks strong { color: #b4aea6; font-size: 23px; }
.result-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; padding-bottom: 90px; }
.result-card, .delivery-card { min-height: 326px; padding: 28px; border: 1px solid #51483a; background: #1c1a17; }
.result-card h2 { line-height: 1.45; color: #e8d5ac; }
.result-card > p:not(.eyebrow) { color: #afa799; font-size: 13px; line-height: 1.75; }
.mail-preview { margin-top: 24px; border-left: 3px solid #d7b578; background: #272219; padding: 15px 18px; }
.mail-preview[hidden] { display: none; }
.mail-preview span { color: #d5b87d; font-size: 11px; letter-spacing: 1px; }
.mail-preview strong { display: block; margin-top: 8px; font-size: 16px; }
.mail-preview p { color: #d1c9b9; font-size: 12px; line-height: 1.7; }
.mail-preview small { color: #aaa094; }
.delivery-card ol { list-style: none; padding: 0; margin: 23px 0 0; display: grid; gap: 18px; }
.delivery-card li { display: flex; gap: 17px; align-items: start; color: #c9c0b1; font-size: 13px; line-height: 1.7; }
.delivery-card li b { color: #d7b578; font-size: 13px; }
footer { border-top: 1px solid #3d392f; padding-block: 20px 35px; color: #918c83; font-size: 11px; }
@media (max-width: 920px) { .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 50px; } .hero-copy { max-width: 680px; } .game-card { max-width: 650px; width: 100%; margin-inline: auto; } .odds-grid { grid-template-columns: repeat(3, 1fr); } .demo-controls { grid-template-columns: 1fr 1fr; } .demo-controls > div { grid-column: 1 / -1; } }
@media (max-width: 650px) { .shell { width: calc(100% - 32px); } .site-header { min-height: 70px; } .brand { font-size: 19px; } .preview-tag { font-size: 9px; padding: 7px; } .hero { padding-block: 36px 45px; } .hero h1 { letter-spacing: -2px; } .lead { font-size: 14px; } .game-card { padding: 17px; } .wheel-wrap { margin-block: 16px 6px; } .pointer { border-left-width: 10px; border-right-width: 10px; border-top-width: 24px; } .spin-button { min-height: 56px; font-size: 17px; } .demo-controls { grid-template-columns: 1fr; padding: 18px; } .demo-controls > div { grid-column: auto; } .odds-section { padding-block: 50px; } .section-heading { display: block; } .section-heading p:last-child { margin-top: 10px; } .odds-grid { grid-template-columns: repeat(2, 1fr); } .odds-item { min-height: 130px; padding: 14px; } .result-section { grid-template-columns: 1fr; padding-bottom: 55px; } .result-card, .delivery-card { min-height: 0; padding: 22px; } }

/* Full event scene. The wheel cells are equal in size; the odds are listed separately. */
body { background: radial-gradient(circle at 50% 0, #20382e, #0c1513 65%); }
.site-header { min-height: 64px; border-bottom: 0; }
.hero { position: relative; display: block; min-height: 720px; padding: 0; overflow: hidden; border: 2px solid #a67b3c; background-color: #071510; background-image: linear-gradient(90deg, #071510f2 0%, #071510d9 43%, #071510a8 72%, #0715109a), url("treasure-hall.png"); background-position: center; background-size: cover; background-repeat: no-repeat; box-shadow: 0 30px 70px #000b; }
.hero::before { display: none; }
.event-title { position: relative; z-index: 1; width: 60%; margin: 15px auto 0; text-align: center; text-shadow: 0 3px 9px #000, 0 0 24px #000; }
.event-title span { color: #e3bc72; font-size: 12px; font-weight: 700; letter-spacing: 5px; }
.event-title h1 { margin: 0; color: #ffdf89; font-family: "STKaiti", "KaiTi", sans-serif; font-size: clamp(42px, 5vw, 65px); letter-spacing: 12px; line-height: 1.22; -webkit-text-stroke: .5px #89521e; }
.event-title p { margin: 0; color: #f2dfad; font-size: 11px; }
.event-content { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .74fr); gap: 6%; align-items: center; padding: 30px 5% 42px 4%; }
.wheel-area { display: grid; justify-items: center; min-width: 0; }
.wheel-wrap { width: min(100%, 520px); margin: 0; overflow: visible; background: url("wheel-face-v2.png") center / 100% 100% no-repeat; }
.pointer { width: 52px; height: 56px; top: -1%; border: 0; background: linear-gradient(140deg, #fff1b4, #c77b2e 61%, #692f10); clip-path: polygon(8% 0, 92% 0, 50% 100%); }
.wheel-hub { width: 27%; border: 8px double #ffe2a1; background: radial-gradient(circle at 36% 28%, #e14a33, #9c2919 68%, #54190e); box-shadow: 0 6px 14px #000b, inset 0 2px 12px #ffe29b9c; }
.wheel-hub span, .wheel-hub strong { color: #fff0c4; font-family: "STKaiti", "KaiTi", sans-serif; font-size: clamp(17px, 2.2vw, 28px); text-shadow: 0 2px 3px #571c10; }
.wheel-hub { cursor: pointer; padding: 0; }
.wheel-hub:hover:not(:disabled) { filter: brightness(1.16); }
.wheel-hub:disabled { cursor: wait; }
.wheel-caption { margin-top: 4px; padding: 5px 12px; border-radius: 20px; background: #07130fe0; color: #ebd7ad; font-size: 11px; text-align: center; }
.game-card { padding: 16px 18px 20px; border: 2px solid #a67a3d; background: linear-gradient(#23352cda, #0b1714f2); box-shadow: inset 0 0 20px #d7a95629, 0 15px 35px #0009; }
.game-card-heading { padding-bottom: 8px; border-bottom: 1px solid #aa7d42; letter-spacing: 0; }
.game-card-heading span { font-family: "STKaiti", "KaiTi", sans-serif; font-size: 25px; font-weight: 700; color: #f8d88c; }
.game-card-heading strong { color: #d6c392; font-size: 11px; }
.prize-list { padding-top: 5px; }
.prize-row { display: grid; grid-template-columns: 41px 1fr auto; align-items: center; gap: 9px; min-height: 48px; border-bottom: 1px solid #c19a5e50; }
.prize-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #d19b44; border-radius: 50%; background: radial-gradient(circle, #b77b27, #633e19); box-shadow: 0 0 11px #f8c35655; color: #ffe59b; font-size: 21px; }
.prize-row b { display: block; color: #ffecbd; font-size: 15px; }
.prize-row small { display: block; color: #afbdac; font-size: 10px; }
.prize-row strong { color: #f3c876; font-size: 17px; }
.prize-row.grand b, .prize-row.grand strong { color: #ffe174; }
.panel-action { padding-top: 13px; text-align: center; }
.panel-action p { margin: 0 0 10px; color: #f4e4b8; font-size: 13px; }
.spin-button { width: 100%; min-height: 55px; justify-content: center; border: 2px solid #ffdc78; border-radius: 6px; background: linear-gradient(#fa9f43, #d44821 48%, #a72b17); box-shadow: inset 0 2px 2px #fff9, 0 4px 0 #6f230e, 0 8px 17px #0009; color: #fff5d3; font-size: 22px; letter-spacing: 5px; text-shadow: 0 2px 2px #6d210f; }
.spin-button:hover:not(:disabled) { background: linear-gradient(#ffb760, #eb5c2e 48%, #b73620); }
.panel-action small { display: block; margin-top: 12px; color: #d9cbad; font-size: 10px; }
.demo-controls { margin-top: 22px; }
.gm-demo { grid-column: 1 / -1; display: grid; gap: 9px; padding-top: 16px; border-top: 1px solid #5f5039; color: #c4b9a8; font-size: 12px; }
.gm-demo > div { display: flex; gap: 8px; }
.gm-demo input { width: 96px; min-height: 42px; border: 1px solid #69583f; padding: 0 10px; background: #25221c; color: #f2e8d5; font: inherit; }
.gm-demo button { border: 1px solid #b98c51; padding: 0 17px; background: #73522c; color: #ffe9ba; cursor: pointer; }
.gm-demo small { color: #a8a094; }

/* Player account controls for the public wheel page. */
.demo-controls { grid-template-columns: minmax(240px, 1fr) minmax(0, 1.8fr); align-items: center; gap: 18px 30px; }
.demo-controls a { color: #e9bf79; }
#account-login { display: grid; place-items: center; min-height: 50px; padding: 10px 18px; border: 1px solid #c99d58; background: linear-gradient(#c8883d, #793923); color: #fff0cf; font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; }
#account-login[hidden] { display: none; }
#account-panel { display: flex; align-items: end; }
#account-panel[hidden] { display: none; }
#account-panel label { flex: 1; }
#account-message { grid-column: 1 / -1; margin: 0; color: #f1c47b; }
#qa-note { grid-column: 1 / -1; border: 1px solid #96703d; padding: 10px 12px; color: #f6d48b; }
@media (max-width: 760px) { .demo-controls { grid-template-columns: 1fr; } }
.spin-history { margin-top: 28px; border-top: 1px solid #6a5334; padding-top: 14px; }
.spin-history h3 { color: #e8c783; font-size: 17px; }
.spin-history > div > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #554b3a; color: #e8dcc7; font-size: 13px; }
.spin-history button { border: 1px solid #b98c51; padding: 5px 8px; background: #73522c; color: #ffe9ba; cursor: pointer; }
.odds-section { padding-block: 45px; }
.odds-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 950px) { .hero { min-height: 0; } .event-content { grid-template-columns: 1fr 320px; gap: 2%; padding-inline: 2%; } .wheel-wrap { width: min(100%, 450px); } }
@media (max-width: 720px) { .shell { width: calc(100% - 20px); } .hero { background-image: linear-gradient(#071510e8, #071510e0), url("treasure-hall.png"); background-position: center, 55% center; } .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 0, #07110b44 50%, #07110b 100%); } .event-title { width: 100%; margin-top: 20px; padding-inline: 8px; } .event-title span { font-size: 10px; letter-spacing: 3px; } .event-title h1 { font-size: 42px; letter-spacing: 6px; } .event-title p { font-size: 10px; } .event-content { grid-template-columns: 1fr; gap: 14px; padding: 23px 13px 21px; } .wheel-wrap { width: min(100%, 390px); } .wheel-caption { font-size: 10px; } .game-card { max-width: 460px; width: 100%; margin-inline: auto; padding: 14px 16px; } .game-card-heading span { font-size: 22px; } .prize-row { min-height: 46px; } .panel-action { padding-top: 10px; } .spin-button { font-size: 20px; } }
