/* Inner-page composition follows the supplied four-panel artwork. Index styles are untouched. */
.detail-page { --panel:#080c0deF; background:#080b0d; min-height:100vh; min-height:100svh; color:#fff4da; display:flex; flex-direction:column; }
.detail-page::before { position:fixed; inset:0; z-index:-1; pointer-events:none; background:var(--page-background) center center/cover no-repeat; }
.detail-video { --page-background:url('../assets/video-stage.webp'); }.detail-rewards { --page-background:url('../assets/rewards-stage.webp'); }.detail-draw { --page-background:url('../assets/draw-stage.webp'); }.detail-referral { --page-background:url('../assets/referral-stage.webp'); }
.detail-page [hidden] { display:none!important; }
.detail-page button { cursor:pointer; }.detail-page button:disabled { cursor:default; opacity:.55; }
.detail-header { background:linear-gradient(#070a0b,#050809); border-bottom:1px solid #b9924833; position:relative; z-index:20; }
.detail-header-inner { max-width:1240px; height:94px; margin:auto; padding:10px 45px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.detail-header .brand-word b { font-size:43px; }.detail-header .brand-word strong { font-size:33px; }.detail-header .brand-tag { font-size:9px; }
.detail-header .language-picker { margin-left:auto; margin-right:28px; }
.anniversary-badge { display:block; width:280px; flex-shrink:0; }
.header-anniversary-logo { display:block; width:100%; height:auto; object-fit:contain; }
.detail-main { width:100%; max-width:1240px; margin:0 auto; padding:0 0 32px; min-height:680px; flex:1 0 auto; overflow:hidden; }
.event-heading { position:relative; text-align:center; margin:0; height:275px; padding:0 100px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.event-title-logo { display:block; width:78%; height:188px; object-fit:contain; filter:drop-shadow(0 5px 6px #42040055); }
.hero-subtitle { font-size:26px; line-height:1.35; font-style:italic; font-weight:700; margin:-5px 0 8px; text-shadow:0 3px 3px #3d0804,0 0 14px #290000; }
.hero-small-line { font-size:18px; font-weight:600; margin:5px 0 0; text-shadow:0 2px 5px #210000; }
.hero-handwriting { position:absolute; right:20px; top:60px; max-width:160px; font:italic 23px/1.6 'STKaiti','KaiTi',Georgia,serif; transform:rotate(-10deg); color:#ffdfaa; white-space:pre-line; text-shadow:0 2px 5px #170100; margin:0; }
.hanging-banner { position:absolute; left:12px; top:95px; background:linear-gradient(100deg,#cd1825,#840619); border:2px solid #ebbf4c; border-top:5px solid #ffd982; color:#ffedbd; padding:16px 13px; white-space:pre-line; font-size:21px; line-height:1.65; font-weight:700; transform:rotate(6deg); box-shadow:0 3px 18px #0008; }
.video-heading { height:300px; text-align:center; position:relative; padding:5px 140px 8px; }
.video-anniversary-art { display:block; width:min(760px,100%); height:235px; object-fit:contain; margin:-20px auto -16px; }
.hero-ribbon { width:max-content; max-width:100%; margin:auto; padding:7px 30px 0; color:#ffe794; background:linear-gradient(110deg,transparent,#8e1902 12%,#9f2407 88%,transparent); border-bottom:1px solid #ffb345; transform:rotate(-2deg); }
.hero-ribbon strong { display:block; font-size:30px; letter-spacing:1px; }.hero-ribbon span { display:block; font-size:11px; padding:7px 0 4px; letter-spacing:1px; }
.video-heading .hero-handwriting { top:160px; right:23px; }
.video-section { position:relative; width:66%; max-width:830px; margin:0 auto; }
.video-frame { aspect-ratio:16/9; position:relative; overflow:hidden; border:3px solid #f8b850; border-radius:7px; background:#030609; box-shadow:0 0 7px #ffed9b,0 0 25px #ff6b12a6,0 15px 25px #0006; }
.video-poster { position:absolute; inset:0; border:0; padding:0; width:100%; background:#080917; color:#fff; }
.video-poster>img { display:block; width:100%; height:100%; object-fit:cover; }.poster-copy { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:30px; background:linear-gradient(#01041018,#01041000 70%,#0008); }
.poster-brand { font-size:27px; font-style:italic; font-weight:900; text-shadow:0 2px 5px #000; }.play-circle { display:grid; place-items:center; width:91px; height:91px; border:3px solid #fff5d5; border-radius:50%; padding-left:6px; background:#0004; color:white; font-size:44px; }
.video-frame iframe,.video-frame video { position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-under { text-align:right; padding:12px 2px 0; }.text-link { color:#ffdf94; font-size:14px; text-decoration:underline; text-underline-offset:4px; }
.rewards-layout { width:86%; margin:0 3% 0 auto; display:grid; grid-template-columns:minmax(0,1.85fr) minmax(230px,1fr); gap:22px; align-items:start; }
.game-column { min-width:0; }.angpao-arena { position:relative; height:435px; border:5px solid #ffcca0; border-radius:24px; background:radial-gradient(ellipse at 50% 65%,#ff986b,#ff453d 55%,#bd0e2b); box-shadow:0 0 0 8px #f93b4b,0 0 0 11px #ffd79a,0 0 30px #ff3d2799,inset 0 0 0 4px #ff897e,inset 0 0 30px #ffa893; overflow:hidden; }
.angpao-arena::before { content:''; position:absolute; inset:8px; border:1px solid #ffe7b477; border-radius:12px; pointer-events:none; z-index:10; }
.game-hud { position:absolute; top:17px; left:17px; right:17px; display:flex; justify-content:space-between; z-index:12; gap:10px; }
.game-hud>div { display:flex; gap:8px; align-items:center; padding:9px 12px; background:linear-gradient(#a41317,#690713); border:1px solid #f7ad51; border-radius:13px; font-size:17px; color:#fff0be; box-shadow:0 2px 5px #900b05; }
.game-hud strong { font-size:24px; font-variant-numeric:tabular-nums; }.hud-icon { font-size:23px; }.game-track { display:none; }
.packet-field { position:absolute; inset:61px 6px 46px; overflow:hidden; z-index:6; }.angpao-packet { position:absolute; top:0; border:0; padding:0; background:transparent; will-change:transform; filter:drop-shadow(0 4px 3px #87060055); touch-action:manipulation; }.angpao-packet img { display:block; width:100%; height:auto; pointer-events:none; user-select:none; }.angpao-packet:focus-visible { outline:3px solid #fff0a2; }
.angpao-bucket { position:absolute; bottom:41px; left:50%; transform:translateX(-50%); width:154px; height:150px; object-fit:contain; pointer-events:none; z-index:3; }
.arena-floor { position:absolute; bottom:0; left:0; right:0; padding:12px 10px; min-height:45px; z-index:11; background:linear-gradient(#df1717,#ae0617); border-top:1px solid #ffa86a; text-align:center; font-size:17px; }
.game-overlay { position:absolute; inset:70px 10px 47px; z-index:9; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:15px 20px; background:#9c091547; border-radius:15px; }
.overlay-angpao { width:65px; height:82px; object-fit:contain; display:none; }.game-overlay h2 { color:#fff0b4; font-size:26px; margin:0 0 10px; text-shadow:0 2px 4px #87050d; }.game-overlay p { margin:0 0 18px; line-height:1.5; font-size:17px; max-width:350px; }.result-money { font-size:40px; color:#ffe7a1; margin:0 0 15px; }.packet-gain { position:absolute; z-index:20; color:#fffec5; font-size:23px; font-weight:800; text-shadow:0 2px 5px #900; pointer-events:none; animation:gain-rise .65s both; }
.reward-total-line { display:flex; justify-content:space-between; gap:15px; padding:19px 0 4px; color:#fff0b8; font-size:14px; }.reward-total-line strong { font-size:17px; }.glass-panel { border:1px solid #b48b47; border-radius:13px; background:linear-gradient(140deg,#100f0f,#03090ceF); box-shadow:0 9px 20px #0006; }
.reward-sidebar { padding:22px 18px; min-height:420px; }.reward-sidebar h2 { font-size:21px; text-align:center; margin:0 0 15px; color:#fff9de; }.tier-list { list-style:none; padding:0; margin:0; display:grid; gap:10px; }.tier-list li { display:grid; grid-template-columns:35px 1fr auto; align-items:center; gap:8px; background:#0b0d0e; border:1px solid #a17c4133; border-radius:8px; padding:11px 10px; font-size:14px; }.tier-list strong { font-size:20px; font-weight:500; }.tier-crown { font-size:30px; color:#ffe0a1; }.tier-1 .tier-crown{color:#d6e4f5}.tier-2 .tier-crown{color:#ffe558}.tier-3 .tier-crown{color:#c4d1ed}.tier-4 .tier-crown{color:#70d9f8}
.leaderboard-panel { margin:24px auto 0; width:90%; padding:18px 24px; }.section-title-row { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:10px; }.section-title-row h2 { font-size:23px; margin:0; color:#ffe2a2; }.demo-badge { font-size:12px; color:#d1be91; border:1px solid #bb8a4633; border-radius:5px; padding:3px 8px; }.table-scroll { overflow-x:auto; }.leaderboard-table { width:100%; border-collapse:collapse; text-align:left; font-size:15px; }.leaderboard-table th { font-weight:500; color:#ceb57c; font-size:13px; }.leaderboard-table th,.leaderboard-table td { padding:10px 12px; border-bottom:1px solid #ffe6ba19; }.leaderboard-table tr:last-child td{border-bottom:0}.leaderboard-table td:last-child{text-align:right}.leaderboard-table th:last-child{text-align:right}.reward-cell{color:#ffd780}
.action-button { display:inline-flex; align-items:center; justify-content:center; min-height:51px; padding:11px 35px; border:1px solid #ff5c4c; border-radius:12px; background:linear-gradient(#ff4035,#ff002c 55%,#cc001d); color:#fff3d5; font-size:24px; font-weight:800; text-shadow:0 2px 2px #af0817; box-shadow:0 0 20px #ff241d55,inset 0 1px #ffffff4d; transition:filter .2s; }.action-button:hover { filter:brightness(1.12); }.small-button { padding:8px 17px; border:1px solid #d6ae5f66; background:#0a1116; border-radius:7px; color:#ffdfa1; font:inherit; }.error-message { color:#ffc5b4; font-size:15px; line-height:1.5; }.error-message:empty{display:none}
.draw-heading { height:285px; padding:0 120px; justify-content:flex-start; }.draw-heading .event-title-logo { height:162px; width:83%; margin:-10px auto -10px; }.draw-heading .hero-subtitle { font-size:23px; margin:0 0 17px; }.campaign-dates { display:flex; border:1px solid #ffbe59; border-radius:13px; background:linear-gradient(#430c06df,#130606df); padding:10px 18px; min-width:58%; justify-content:center; box-shadow:0 0 10px #ff9b1a66; }.campaign-dates>div { display:flex; align-items:center; gap:11px; padding:0 24px; }.campaign-dates>div+div { border-left:1px solid #a77b4166; }.calendar-symbol { font-size:39px; color:#ffc84e; }.campaign-dates p { margin:0; text-align:left; }.campaign-dates strong,.campaign-dates p span { display:block; line-height:1.5; font-size:18px; }.campaign-dates p span { font-size:15px; color:#ffe6b3; }.phone-prize-pill { position:absolute; right:32px; bottom:30px; border:2px solid #ffc358; border-radius:45%; background:#2e0c07de; padding:8px 20px; box-shadow:0 0 15px #ff8e1044; font-size:18px; }.phone-prize-pill span,.phone-prize-pill b { display:block; }
.draw-toolbar { display:grid; grid-template-columns:repeat(4,1fr); padding:14px 32px; background:#090d10e8; gap:0; border-top:1px solid #e4bd7544; }.draw-toolbar button { border:1px solid #8e968733; background:linear-gradient(#12191d,#090e12); color:#f5f1df; font-size:19px; padding:12px 8px; border-radius:8px; }.draw-toolbar button.is-active { border-color:#ff674e; background:linear-gradient(#ff4939,#e40023); box-shadow:0 0 12px #ff251f33; }.spin-layout { display:grid; grid-template-columns:26% minmax(0,1fr) 26%; gap:22px; padding:6px 32px 25px; background:#060b0f75; align-items:stretch; }.spin-info { padding:23px 19px 17px; display:flex; align-items:center; flex-direction:column; text-align:center; gap:10px; }.panel-icon{color:#ffe190;font-size:43px;line-height:1}.big-gold{color:#ffe078;font-size:35px}.spin-info h2{color:#ffe394;font-size:25px;line-height:1.35;margin:0}.spin-side-copy{font-size:16px;line-height:1.6;white-space:pre-line;margin:0 0 6px}.spin-info .gold-button{width:100%;padding:10px 12px;font-size:17px;min-height:42px;border-radius:7px;margin-top:auto}.prize-art { width:124px; height:89px; object-fit:cover; mask-image:radial-gradient(ellipse,black 30%,transparent 75%); }.prize-count-copy{font-size:26px;color:#ffe790;line-height:1.35;margin:0 0 10px;font-weight:700}
.spin-center { position:relative; min-width:0; text-align:center; padding-top:0; }.slot-machine { aspect-ratio:2/1; position:relative; margin:0 -14px 12px; }.machine-frame { position:absolute; inset:0; width:100%; height:100%; z-index:3; pointer-events:none; object-fit:fill; }.reels { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:3px; background:#47200b; position:absolute; top:30.5%; left:9.4%; right:9.4%; bottom:12%; border-radius:12px; overflow:hidden; }.number-reel { height:100%; overflow:hidden; position:relative; color:#df2d17; background:linear-gradient(#ae8558,#fff0d5 25%,#fffced 50%,#fff0d5 75%,#9a6c39); font-size:clamp(45px,5.8vw,76px); font-weight:900; text-shadow:0 2px 1px #fff,0 -2px 1px #6c0f00; }.reel-strip>span,.final-digit { height:100%; display:flex; align-items:center; justify-content:center; }.reel-strip { height:100%;will-change:transform; }.spin-button { min-width:82%; border:2px solid #ffe793; border-radius:55px; box-shadow:0 0 0 4px #8f3000,0 0 0 6px #ffc944,0 0 22px #ff9b00; padding:9px 21px; margin:0 0 14px; }.deposit-note { font-size:18px; margin:7px 0 5px; color:#fff1bd; }.spin-allowance { color:#ffe595; font-size:16px; margin:6px 0; }.spin-result { color:#ffdf91; font-size:19px; margin:9px 0; min-height:26px; }
.referral-heading { height:245px; padding-top:20px; }.referral-heading .event-title-logo { height:175px; width:68%; }.referral-heading .hero-subtitle { font-size:27px; background:linear-gradient(100deg,transparent,#360800a6,transparent); padding:8px 22px; border-top:1px solid #ffb63f; }.referral-heading .hero-handwriting { top:105px; }.referral-center-wrap { width:77%; margin:0 auto; }.referral-offers { display:grid; grid-template-columns:1fr 1fr; gap:0; }.referral-offer { padding:23px 27px 22px; min-width:0; }.referral-offer>div { display:grid; grid-template-columns:60px minmax(0,1fr); align-items:center; column-gap:14px; }.offer-icon { width:60px; height:68px; grid-row:1/3; color:#ffe199; display:flex;align-items:center;justify-content:center; }.offer-icon svg { width:54px; height:54px; fill:none; stroke:currentColor; stroke-width:1.8; }.trophy-icon { font-size:48px; }.referral-offer h2 { font-size:23px; color:#fff0b1; margin:0 0 5px; }.offer-amount { color:#ffe38a!important; font-size:57px!important; font-weight:800; line-height:1!important; margin:0 0 15px!important; white-space:nowrap; }.offer-amount>span { font-size:35px; margin-right:3px; }.referral-offer p:not(.offer-amount) { grid-column:1/-1; color:#fff5e0; font-size:20px; line-height:1.7; margin:3px 0 0; }.referral-note { display:flex; gap:12px; align-items:center; justify-content:center; border:1px solid #d28544; border-radius:13px; background:#1c0904c9; padding:13px 16px; font-size:16px; line-height:1.5; color:#ffd78e; margin:17px 0 27px; }.referral-note>span:first-child { width:30px; height:30px; flex-shrink:0; background:#ff3932; border-radius:50%; display:grid;place-items:center;color:#270300;font-size:23px;font-weight:900; }.referral-cta{text-align:center;padding-bottom:14px}.referral-cta .action-button{min-width:390px;font-size:28px;padding:16px 30px}
.page-nav { position:sticky; bottom:0; margin-top: auto; z-index:30; padding:18px 32px max(18px,env(safe-area-inset-bottom)); background:#050c10f7; border-top:1px solid #919c9633; box-shadow:0 -8px 20px #0003; backdrop-filter:blur(8px); }.page-nav-inner { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; max-width:1176px; margin:auto; }.page-nav-link { display:flex; align-items:center; justify-content:center; gap:17px; padding:16px 14px; min-height:70px; border:1px solid #69726a26; border-radius:10px; font-size:17px; background:linear-gradient(#080f13,#050b10); }.page-nav-link svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}.page-nav-link:first-child svg{fill:currentColor;stroke:none}.page-nav-link.is-active { background:linear-gradient(#ff3e32,#e30022); border-color:#ff6c54; box-shadow:0 0 19px #fc271a33,inset 0 1px #fff4; }.page-nav-link:hover{border-color:#edb969}.nav-home-copy{display:flex;flex-direction:column;gap:3px}.nav-home-copy strong{font-weight:500}.nav-home-copy small{font-size:12px}
.campaign-dialog { width:min(580px,calc(100% - 28px)); max-height:85dvh; overflow:auto; padding:30px; border:1px solid #eac16e; border-radius:15px; background:radial-gradient(ellipse at top,#401008,#0b0b0d); color:#fff1da; box-shadow:0 0 55px #eb762d33; }.campaign-dialog::backdrop{background:#000c;backdrop-filter:blur(6px)}.campaign-dialog h2{font-size:27px;color:#ffe298;margin:15px 20px 20px 0}.campaign-dialog p,.rules-list{font-size:17px;line-height:1.75}.rules-list{padding-left:23px}.rules-list li{padding-bottom:12px}.dialog-close{position:absolute;top:13px;right:13px;width:34px;height:34px;border:1px solid #b78b4855;border-radius:50%;background:#150b09;color:#ffda8f;font-size:25px}.dialog-kicker{font-size:12px;letter-spacing:2px;color:#c69c65}.dialog-prize-art{display:block;width:160px;height:160px;object-fit:cover;border-radius:15px;margin:auto}.number-history-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #a7804633;padding:14px 0}.number-history-row strong{font-size:30px;letter-spacing:5px;color:#ffda91}.number-history-row time{font-size:14px;color:#c3b28f}.number-history{margin-bottom:20px}
@keyframes gain-rise{to{opacity:0;transform:translateY(-45px)}}
@media(max-width:1050px){.detail-header-inner{height:82px;padding-inline:30px}.detail-header .language-picker{margin-right:8px}.anniversary-badge b{font-size:18px}.anniversary-badge>strong{font-size:45px}.detail-main{min-height:610px}.event-heading{height:235px;padding-inline:85px}.event-title-logo{height:165px;width:84%}.hero-subtitle{font-size:22px}.hero-handwriting{font-size:18px;max-width:130px;right:14px}.hanging-banner{font-size:17px;padding:12px 9px;top:75px}.hero-small-line{font-size:16px}.rewards-layout{width:88%;gap:21px;grid-template-columns:minmax(0,1.9fr) minmax(210px,1fr)}.angpao-arena{height:375px}.reward-sidebar{min-height:370px;padding:16px 12px}.reward-sidebar h2{font-size:18px}.tier-list{gap:8px}.tier-list li{padding:9px 7px;font-size:12px;grid-template-columns:30px 1fr auto}.tier-list strong{font-size:17px}.game-hud>div{font-size:15px;padding:8px}.game-hud strong{font-size:21px}.video-heading{height:270px;padding-inline:120px}.video-anniversary-art{height:215px}.hero-ribbon strong{font-size:24px}.hero-ribbon span{font-size:9px}.video-heading .hero-handwriting{top:135px}.draw-heading{height:270px}.draw-heading .event-title-logo{height:150px}.draw-heading .hero-subtitle{font-size:19px}.campaign-dates>div{padding:0 15px}.campaign-dates strong{font-size:17px}.phone-prize-pill{font-size:16px;right:15px;padding:6px 13px}.spin-layout{grid-template-columns:24% minmax(0,1fr) 24%;gap:18px;padding-inline:24px}.spin-info{padding:19px 12px;gap:8px}.spin-info h2{font-size:22px}.big-gold{font-size:30px}.prize-count-copy{font-size:22px}.spin-side-copy,.deposit-note{font-size:15px}.spin-info .gold-button{font-size:14px}.referral-heading{height:225px}.referral-heading .hero-subtitle{font-size:24px}.referral-offer{padding:20px}.referral-offer>div{grid-template-columns:46px minmax(0,1fr);column-gap:8px}.offer-icon{width:46px}.offer-icon svg{width:42px}.referral-offer h2{font-size:19px}.offer-amount{font-size:49px!important}.offer-amount>span{font-size:29px}.referral-offer p:not(.offer-amount){font-size:17px}.page-nav-link{font-size:15px;gap:12px;padding:12px}.page-nav-link svg{width:28px;height:28px}}
@media(max-width:760px){.detail-header-inner{height:72px;padding:10px 20px;gap:12px}.detail-header .brand-word b{font-size:31px}.detail-header .brand-word strong{font-size:25px}.detail-header .brand-tag{font-size:7px}.detail-header .language-picker{margin-right:0}.detail-header .language-picker select{font-size:12px;max-width:120px}.anniversary-badge>strong{font-size:36px}.anniversary-badge b{font-size:13px}.anniversary-badge div span{display:none}.anniversary-badge sup{font-size:12px}.detail-main{min-height:0;padding-bottom:24px}.event-heading{height:212px;padding:0 60px}.event-title-logo{width:98%;height:155px}.hero-subtitle{font-size:19px;line-height:1.4}.hero-small-line{font-size:14px}.hero-handwriting{font-size:15px;max-width:105px;top:64px;right:9px}.hanging-banner{display:none}.video-heading{height:245px;padding:0 65px}.video-anniversary-art{height:200px;margin:-9px auto -12px}.hero-ribbon{padding-inline:12px}.hero-ribbon strong{font-size:21px}.hero-ribbon span{font-size:8px}.video-heading .hero-handwriting{top:120px;font-size:15px;right:6px;max-width:100px}.video-section{width:76%}.poster-brand{font-size:22px}.play-circle{width:67px;height:67px;font-size:34px}.poster-copy{gap:16px}.rewards-layout{width:90%;margin:auto;grid-template-columns:minmax(0,1.9fr) minmax(180px,1fr);gap:18px}.angpao-arena{height:325px;border-width:3px;box-shadow:0 0 0 5px #f93b4b,0 0 0 7px #ffd79a,0 0 24px #ff3d2799}.game-hud{top:13px;left:10px;right:10px;gap:7px}.game-hud>div{font-size:12px;gap:5px;padding:7px}.game-hud strong{font-size:17px}.hud-icon{display:none}.arena-floor{font-size:13px;padding:10px 8px;min-height:40px}.packet-field{inset:54px 4px 41px}.game-overlay{inset:58px 8px 42px;padding:10px}.game-overlay h2{font-size:21px}.game-overlay p{font-size:14px}.game-overlay .action-button{font-size:18px;padding:10px 19px;min-height:45px}.angpao-bucket{width:117px;height:115px;bottom:38px}.reward-sidebar{padding:14px 9px;min-height:325px}.reward-sidebar h2{font-size:15px}.tier-list{gap:6px}.tier-list li{grid-template-columns:22px 1fr auto;padding:7px 5px;font-size:10px;gap:4px}.tier-list strong{font-size:14px}.tier-crown{font-size:24px}.reward-total-line{font-size:12px;padding-top:14px;flex-wrap:wrap;gap:4px}.reward-total-line strong{font-size:15px}.leaderboard-panel{padding:15px 17px}.section-title-row h2{font-size:20px}.leaderboard-table{font-size:14px}.leaderboard-table th,.leaderboard-table td{padding:10px 8px}.draw-heading{height:234px;padding:0 50px}.draw-heading .event-title-logo{width:100%;height:135px}.draw-heading .hero-subtitle{font-size:17px;margin-bottom:13px}.campaign-dates{padding:7px 8px;min-width:70%}.campaign-dates>div{gap:6px;padding:0 10px}.calendar-symbol{font-size:28px}.campaign-dates strong{font-size:14px}.campaign-dates p span{font-size:12px}.phone-prize-pill{font-size:12px;padding:5px 9px;right:8px;bottom:14px}.draw-toolbar{padding:10px 15px}.draw-toolbar button{font-size:14px;padding:10px 6px}.spin-layout{grid-template-columns:23% minmax(0,1fr) 23%;gap:12px;padding:4px 15px 15px}.spin-info{padding:15px 8px;gap:6px}.spin-info h2{font-size:17px}.big-gold{font-size:23px}.panel-icon{font-size:32px}.spin-side-copy{font-size:12px}.spin-info .gold-button{font-size:12px;padding:7px 4px;min-height:34px}.prize-art{width:88px;height:66px}.prize-count-copy{font-size:17px}.slot-machine{margin:8px -9px 10px}.number-reel{font-size:42px}.spin-button{font-size:19px;padding:8px 16px;min-height:44px}.deposit-note{font-size:12px}.spin-allowance{font-size:13px}.spin-result{font-size:15px}.referral-heading{height:215px}.referral-heading .event-title-logo{width:90%;height:160px}.referral-heading .hero-subtitle{font-size:20px;padding:5px 12px}.referral-heading .hero-handwriting{top:98px}.referral-center-wrap{width:80%}.referral-offer{padding:18px 15px}.referral-offer>div{grid-template-columns:35px minmax(0,1fr);column-gap:7px}.offer-icon{width:35px;height:54px}.offer-icon svg{width:33px}.trophy-icon{font-size:33px}.referral-offer h2{font-size:16px}.offer-amount{font-size:39px!important}.offer-amount>span{font-size:22px}.referral-offer p:not(.offer-amount){font-size:14px}.referral-note{font-size:13px;padding:10px 12px;gap:8px;margin:14px 0 22px}.referral-note>span:first-child{width:23px;height:23px;font-size:18px}.referral-cta .action-button{min-width:280px;font-size:23px;padding:13px 23px}.page-nav{padding:12px 15px max(12px,env(safe-area-inset-bottom))}.page-nav-inner{gap:7px}.page-nav-link{padding:10px 7px;gap:8px;font-size:12px;min-height:61px}.page-nav-link svg{width:24px;height:24px}.nav-home-copy small{font-size:9px}}
@media(max-width:540px){.detail-header-inner{height:64px;padding:9px 16px}.detail-header .brand-word b{font-size:29px}.detail-header .brand-word strong{font-size:22px}.detail-header .brand-tag{font-size:6px}.anniversary-badge{display:none}.detail-header .language-picker select{max-width:120px}.detail-main{background-size:auto 670px}.event-heading{height:183px;padding:0 12px}.event-title-logo{width:100%;height:138px}.hero-subtitle{font-size:16px;margin:-4px 5px 4px}.hero-small-line{font-size:12px;margin-top:4px}.hero-handwriting{display:none}.video-heading{height:205px;padding:0 13px}.video-anniversary-art{height:169px;margin:-3px auto -8px}.hero-ribbon strong{font-size:19px}.hero-ribbon span{font-size:8px;letter-spacing:.5px}.video-section{width:88%}.play-circle{width:59px;height:59px;font-size:29px;border-width:2px}.poster-brand{font-size:18px}.poster-copy{gap:13px}.video-frame{border-width:2px}.video-under{padding-top:11px}.text-link{font-size:12px}.rewards-layout{width:90%;grid-template-columns:1fr;gap:14px}.angpao-arena{height:368px}.game-hud>div{font-size:14px;padding:8px 11px}.game-hud strong{font-size:21px}.hud-icon{display:block;font-size:19px}.game-overlay h2{font-size:23px}.game-overlay p{font-size:16px}.game-overlay .action-button{font-size:21px}.angpao-bucket{width:140px;height:135px}.arena-floor{font-size:14px;min-height:44px}.reward-sidebar{min-height:0;padding:15px 12px}.reward-sidebar h2{font-size:18px;margin-bottom:12px}.tier-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tier-list li{display:flex;flex-direction:column;gap:3px;font-size:11px;padding:8px 4px}.tier-list strong{font-size:15px}.tier-crown{font-size:26px}.reward-total-line{font-size:13px}.leaderboard-panel{margin-top:18px;padding:14px 12px}.section-title-row h2{font-size:18px}.leaderboard-table{font-size:13px}.leaderboard-table th{font-size:12px}.leaderboard-table th,.leaderboard-table td{padding:10px 6px}.draw-heading{height:206px;padding:0 10px}.draw-heading .event-title-logo{height:119px;margin:0 auto -8px}.draw-heading .hero-subtitle{font-size:14px;margin-bottom:10px}.campaign-dates{min-width:80%;padding:6px 8px}.campaign-dates>div{padding:0 10px}.campaign-dates strong{font-size:13px}.campaign-dates p span{font-size:11px}.calendar-symbol{font-size:26px}.phone-prize-pill{display:none}.draw-toolbar{padding:9px 12px}.draw-toolbar button{font-size:12px;padding:10px 3px}.spin-layout{grid-template-columns:1fr 1fr;gap:14px;padding:6px 17px 20px}.spin-center{grid-row:1;grid-column:1/-1;max-width:390px;width:100%;margin:0 auto 4px}.slot-machine{margin:0 0 12px}.number-reel{font-size:62px}.spin-button{font-size:24px;min-height:47px;width:75%;min-width:0}.deposit-note{font-size:15px}.spin-allowance{font-size:14px}.spin-result{font-size:18px;margin:8px 0}.spin-info{padding:15px 12px;gap:7px}.spin-info h2{font-size:20px}.big-gold{font-size:27px}.spin-side-copy{font-size:13px}.spin-info .gold-button{font-size:13px;min-height:38px}.prize-count-copy{font-size:21px}.prize-art{height:69px;width:95px}.referral-heading{height:194px;padding-top:4px}.referral-heading .event-title-logo{height:145px;width:90%}.referral-heading .hero-subtitle{font-size:17px;padding:5px 8px}.referral-center-wrap{width:90%}.referral-offers{grid-template-columns:1fr;gap:11px}.referral-offer{padding:21px}.referral-offer>div{grid-template-columns:58px minmax(0,1fr);column-gap:16px}.offer-icon{width:58px;height:68px}.offer-icon svg{width:52px}.trophy-icon{font-size:48px}.referral-offer h2{font-size:21px}.offer-amount{font-size:55px!important}.offer-amount>span{font-size:31px}.referral-offer p:not(.offer-amount){font-size:16px}.referral-note{font-size:13px}.referral-cta .action-button{min-width:0;width:90%;font-size:23px}.page-nav{padding:9px 9px max(9px,env(safe-area-inset-bottom))}.page-nav-inner{gap:5px}.page-nav-link{flex-direction:column;gap:5px;padding:8px 4px;min-height:69px;font-size:11px;text-align:center;line-height:1.25}.page-nav-link svg{width:22px;height:22px}.nav-home-copy small{font-size:8px}.nav-home-copy{gap:1px}.campaign-dialog{padding:25px 23px}.campaign-dialog h2{font-size:24px}.campaign-dialog p,.rules-list{font-size:16px}.campaign-dialog .action-button{font-size:19px;min-height:45px}}
@media(max-width:360px){.detail-header .brand-word b{font-size:25px}.detail-header .brand-word strong{font-size:19px}.detail-header .language-picker select{max-width:104px}.hero-subtitle{font-size:14px}.hero-small-line{font-size:11px}.game-hud>div{font-size:12px;padding:7px}.game-hud strong{font-size:18px}.number-reel{font-size:53px}.game-overlay h2{font-size:21px}.hero-ribbon strong{font-size:17px}.referral-offer{padding:18px}.referral-offer h2{font-size:19px}.offer-amount{font-size:50px!important}}
@media(prefers-reduced-motion:reduce){.packet-gain{animation:none}.action-button{transition:none}}

.detail-draw .draw-heading { background:transparent; }
.phone-prize-pill b span { display:inline; }

/* Keep the anniversary artwork visible in the header at every screen width. */
@media(max-width:1050px) { .anniversary-badge { width:230px; } }
@media(max-width:760px) { .anniversary-badge { width:185px; } }
@media(max-width:620px) {
 .detail-header-inner { display:grid; grid-template-columns:1fr 1fr; height:auto; min-height:104px; gap:4px 12px; padding:8px 16px; }
 .detail-header .brand { grid-column:1; grid-row:1; justify-self:start; }
 .anniversary-badge { display:block; grid-column:2; grid-row:1; justify-self:end; width:min(180px,100%); }
 .detail-header .language-picker { grid-column:1/-1; grid-row:2; justify-self:end; margin:0; padding:3px 6px; }
 .detail-header .language-picker select { font-size:12px; }
}
