:root{--surface:#fff;--panel:#eaece8;--panel-border:#ccd2c8;--soft-accent:#fcfaf4;--closing:#eae7de;--inverse:#f5f4ef;--inverse-muted:#c7cbd7;--on-accent:#11192c;--navy-rgb:11,16,32;--hero-desktop-position:center 51%;--hero-mobile-position:64% center;--gold-rgb:216,181,107;--focus:#7c62c4;--hero-desktop-min-height:590px;--hero-mobile-min-height:0px;--hero-desktop-opacity:1;--hero-mobile-opacity:.7;--hero-desktop-overlay:linear-gradient(90deg,rgba(var(--navy-rgb),.91) 0%,rgba(var(--navy-rgb),.4) 44%,rgba(var(--navy-rgb),.06) 80%);--hero-mobile-overlay:linear-gradient(90deg,rgba(var(--navy-rgb),.89),rgba(var(--navy-rgb),.22)),linear-gradient(180deg,rgba(var(--navy-rgb),.5),rgba(var(--navy-rgb),.25))}
.header{background:rgba(var(--navy-rgb),.98);color:var(--inverse)}
.wordmark{flex-shrink:0;line-height:1}.brand-logo{display:block;width:184px;height:51px;object-fit:contain}.footer-logo{width:156px;height:43px}
.language-control{display:flex;align-items:center;gap:9px;color:var(--inverse);border:1px solid #ffffff30;border-radius:7px;padding-left:12px;flex-shrink:0}
.language-control .language{border:0;min-height:44px;border-radius:0;background:transparent;color:var(--inverse);padding:8px 25px 8px 2px;max-width:170px;font-size:14px;letter-spacing:0}.language option{background:var(--navy);color:var(--inverse)}
.hero{min-height:var(--hero-desktop-min-height);color:var(--inverse)}.hero-inner{display:block;min-height:var(--hero-desktop-min-height);padding-top:24px}.hero-art{object-position:var(--hero-desktop-position);opacity:var(--hero-desktop-opacity)}
.hero:after{background:var(--hero-desktop-overlay)}
.hero-games{position:relative;z-index:2;scroll-margin-top:20px}.hero-games-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--inverse-muted);font-size:12px;font-weight:500;letter-spacing:1.4px;margin-bottom:10px;line-height:1.5}
.hero-games-heading>span:first-child{color:var(--gold)}.hero-games-heading>span:last-child{letter-spacing:.6px;font-size:12px}
.hero-game-grid{display:grid;grid-template-columns:repeat(var(--game-count,7),minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0}
.hero-game-grid li{display:flex;align-items:center;gap:10px;min-width:0;min-height:60px;padding:12px;background:rgba(var(--navy-rgb),.72);border:1px solid #ffffff24;border-radius:7px;font-size:14px;line-height:1.4;color:var(--inverse);backdrop-filter:blur(8px)}
.hero-game-number{flex-shrink:0;color:var(--gold);font-size:12px;font-variant-numeric:tabular-nums}.hero-game-name{overflow-wrap:anywhere}.hero-game-cover{width:44px;height:44px;object-fit:cover;border-radius:7px;flex-shrink:0}
.hero-stage{display:flex;justify-content:space-between;align-items:center;min-height:calc(var(--hero-desktop-min-height) - 138px);gap:32px}.hero-copy{padding:34px 0 40px;max-width:640px;min-width:0}
.hero .eyebrow{font-size:12px;margin-bottom:18px;letter-spacing:1.5px}.hero h1{font-size:clamp(48px,5.8vw,76px);line-height:1.08;letter-spacing:-2.8px;margin-bottom:22px;overflow-wrap:anywhere;text-wrap:balance}.hero h1 em{letter-spacing:-2px}.hero-description{font-size:16px;margin-bottom:24px;color:var(--inverse-muted);max-width:570px}.hero-note{color:var(--inverse-muted);font-size:13px;margin-top:20px;gap:10px}.archive-badge{font-size:12px;letter-spacing:.6px;padding:4px 8px}.hero-caption{margin-bottom:36px;color:var(--inverse);flex-shrink:0}.hero-caption strong{color:var(--inverse)}
.hero h1:lang(zh),.hero h1:lang(ja),.hero h1:lang(ko){font-size:clamp(42px,5vw,64px);line-height:1.2;letter-spacing:-1px}.hero h1 em:lang(zh),.hero h1 em:lang(ja),.hero h1 em:lang(ko),.hero h1 em:lang(th){font-family:inherit;font-style:normal;letter-spacing:-1px}.hero h1:lang(th){line-height:1.4;letter-spacing:0;font-size:clamp(40px,4.8vw,62px)}
.event-strip,.skin-section{background:var(--navy-light);color:var(--inverse)}.label,.skin-grid p:not(.eyebrow),.skin-grid .skin-detail,.skin-image>span{color:var(--inverse-muted)!important}
.button.gold{color:var(--on-accent)}.button.gold:hover{background:var(--gold);filter:brightness(1.1)}.reward-card,.guide-section,.coin-input-wrap{background:var(--surface)}.reward-card.featured{background:var(--navy-light);color:var(--inverse)}.featured .reward-amount{color:var(--gold)}.reward-grid{grid-template-columns:repeat(var(--tier-count,4),minmax(0,1fr))}
.card-bottom span{font-size:14px}.tier-label{font-size:12px;letter-spacing:1px}.calculator-grid{background:var(--panel);border-color:var(--panel-border)}.calculator-result,.coin-input-wrap{border-color:var(--panel-border)}.progress-track{background:var(--panel-border)}.progress-track span,.presets button.selected{background:var(--navy-light);border-color:var(--navy-light)}
.result-heading,.calculator-result>p:not(.result-amount),.calculator-result .result-note{color:var(--muted)!important}.calculator-copy label,.step small{font-size:14px}.calculator-copy>p:not(.eyebrow){font-size:16px}.text-link{text-decoration-color:var(--gold);max-width:100%;width:auto}
.guide-tabs,.guide-image-panel{background:var(--panel)}.guide-tabs button[aria-selected=true]{background:var(--navy-light);color:var(--inverse)}.step.active{border-color:var(--gold);background:var(--soft-accent)}.step.active .step-number{color:var(--ink)}.step strong,.guide-tabs button{overflow-wrap:anywhere}.guide-tabs button{white-space:normal;min-width:0;font-size:14px}.guide-tabs{max-width:50%;flex-shrink:0}
.skin-image{background:var(--navy)}.closing{background:var(--closing)}.closing span{color:var(--ink)}.footer{background:var(--navy)}dialog,.dialog-header{background:var(--paper)}.dialog-header button{background:var(--navy);color:var(--inverse)}
.section-heading>div{min-width:0}.section-heading h2{overflow-wrap:anywhere}.result-amount{overflow-wrap:anywhere;font-size:clamp(30px,4vw,46px)}.result-heading{font-size:12px;letter-spacing:.7px}.accordion-body{font-size:16px;overflow-wrap:anywhere}
@media(max-width:980px){.header nav{display:none}.hero-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-stage{min-height:410px}.hero-caption{display:none}.hero h1{font-size:60px}.guide-tabs{max-width:55%}.hero{min-height:var(--hero-mobile-min-height)}.hero-inner{min-height:var(--hero-mobile-min-height)}.hero-art{object-position:var(--hero-mobile-position);opacity:var(--hero-mobile-opacity)}.hero:after{background:var(--hero-mobile-overlay)}}
@media(max-width:600px){.header-inner{min-height:64px;gap:12px}.brand-logo{width:164px;height:46px}.footer-logo{width:140px;height:40px}.language-control{gap:5px;padding-left:8px}.language-control svg{width:15px}.language-control .language{max-width:134px;min-height:42px;padding-right:16px;font-size:14px}.container{width:calc(100% - 32px)}
.hero-inner{padding-top:18px}.hero-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.hero-game-grid li{min-height:46px;padding:10px;gap:8px;font-size:14px;background:rgba(var(--navy-rgb),.86)}.hero-game-number{font-size:12px}.hero-games-heading{font-size:12px;letter-spacing:.5px;gap:8px;margin-bottom:10px}.hero-games-heading>span:last-child{font-size:12px;letter-spacing:0}
.hero-stage{display:block;min-height:0}.hero-copy{padding:26px 0 32px;max-width:100%}.hero,.hero-inner{min-height:var(--hero-mobile-min-height)}.hero-art{opacity:var(--hero-mobile-opacity);object-position:var(--hero-mobile-position)}.hero:after{background:var(--hero-mobile-overlay)}
.hero .eyebrow{font-size:12px;letter-spacing:.6px;margin-bottom:14px;gap:8px;flex-wrap:wrap}.hero .short-line{display:none}.hero h1{font-size:clamp(32px,9.5vw,42px);line-height:1.12;letter-spacing:-1.3px;margin-bottom:18px}.hero h1 em{letter-spacing:-1px}.hero h1:lang(zh),.hero h1:lang(ja),.hero h1:lang(ko){font-size:clamp(30px,8.2vw,36px);line-height:1.3;letter-spacing:-.5px}.hero h1 em:lang(zh),.hero h1 em:lang(ja),.hero h1 em:lang(ko){letter-spacing:-.5px}.hero h1:lang(th){font-size:34px;line-height:1.4;letter-spacing:0}
.hero-description{font-size:16px;line-height:1.7;margin-bottom:22px}.hero-note{font-size:12px;gap:8px;line-height:1.6;margin-top:18px}.archive-badge{font-size:12px;letter-spacing:0}.strip-grid{padding-block:22px;gap:20px}.label{font-size:12px;letter-spacing:.5px;line-height:1.6}.conversion{align-items:flex-start!important}.conversion strong{font-size:14px}.equals{margin-inline:5px}
.reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reward-card{padding:20px 14px}.card-bottom span{font-size:14px;line-height:1.6}.reward-amount{font-size:22px;letter-spacing:-.7px}.reward-card.featured .reward-amount{font-size:20px}.reward-footnote,.reward-footnote strong{font-size:12px}.guide-tabs{max-width:100%;width:100%}.guide-tabs button{flex:1;padding:10px 12px}.image-topline{font-size:12px;letter-spacing:.3px}.zoom,.image-caption,.guide-note{font-size:12px}.guide-note{margin-inline:12px}.details-grid{gap:24px}.closing span{font-size:20px;line-height:1.4}.closing a{font-size:14px}.footer p{font-size:12px}.footer>.container>span:last-child{font-size:12px;letter-spacing:.5px}}
@media(max-width:350px){.brand-logo{width:128px;height:42px}.language-control .language{max-width:116px;padding-right:10px}.header-inner{gap:8px}.hero-game-grid li{font-size:13px;padding:9px;gap:6px}.hero-game-number{font-size:12px}.hero-games-heading>span:last-child{font-size:11px}.reward-grid{grid-template-columns:1fr}.hero h1{font-size:32px}}

/* 所有主題共用：文字、細框、焦點及陰影依色彩角色同步。 */
.header nav,.featured .card-bottom span,.footer{color:var(--inverse-muted)}
.eyebrow.dark,.tier-label,.image-topline,.zoom,.step-number{color:var(--muted)}.eyebrow.dark span{color:var(--ink)}.featured .tier-label{color:var(--gold)}
.presets button{color:var(--ink);border-color:var(--panel-border)}.presets button.selected{color:var(--inverse)}
.step{border-bottom-color:var(--line)}.step.active{border-color:var(--gold)}.guide-image-panel,.accordions,.accordions details,.dialog-header{border-color:var(--line)}.accordions summary:after{color:var(--muted)}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:5px}
.language-control,.hero-game-grid li,.archive-badge{border-color:rgba(var(--gold-rgb),.22)}.hero-game-grid li{box-shadow:0 6px 18px rgba(var(--navy-rgb),.08)}
.hero-caption{padding:14px 20px;border:1px solid rgba(var(--gold-rgb),.2);border-radius:8px;background:rgba(var(--navy-rgb),.72);text-shadow:none;max-width:260px}
.equals{color:var(--inverse-muted)}.screenshot-button img{box-shadow:0 16px 28px rgba(var(--navy-rgb),.12)}dialog::backdrop{background:rgba(var(--navy-rgb),.86)}

/* 七款遊戲與跨幣別長數字共用排版；金額在範圍邊界換行。 */
[hidden]{display:none!important}
.hero-game-grid li{padding:10px 8px;gap:8px;min-height:76px;font-size:13px}
.hero-games-heading{flex-wrap:wrap}
.reward-amount{white-space:normal;min-height:84px}
.reward-values,#result-range{display:flex;flex-wrap:wrap;column-gap:.1em;row-gap:.05em;align-items:baseline}
.range-part{display:inline-block;white-space:nowrap;max-width:100%;font-variant-numeric:tabular-nums}
.reward-card{display:flex;flex-direction:column}.card-bottom{margin-top:auto}
.card-bottom strong{overflow-wrap:anywhere;font-size:clamp(16px,1.7vw,21px)}
.hero-caption{max-width:300px}.hero-caption strong{font-size:clamp(28px,3vw,40px);overflow-wrap:anywhere}
.presets{flex-wrap:wrap}.presets button{font-variant-numeric:tabular-nums;font-size:14px}
@media(max-width:980px){.hero-game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.hero-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-game-grid li{padding:8px;min-height:62px;font-size:12px}.hero-game-cover{width:38px;height:38px}.hero-game-grid li:last-child:nth-child(odd){grid-column:1 / -1}.reward-amount{font-size:22px!important;min-height:80px}.card-bottom strong{font-size:18px}.hero-note{flex-wrap:wrap}.hero-note>span:last-child{flex-basis:100%}}
@media(max-width:350px){.hero-game-cover{width:34px;height:34px}.hero-game-grid li{gap:6px}}

/* 主視覺裝飾圖獨立於背景；有足夠欄寬才顯示。 */
.hero-visual{display:contents}
.hero-foreground{display:none;width:100%;height:auto;max-width:var(--hero-foreground-max-width,460px);object-fit:contain;transform:none;filter:none;margin:0}
@media(min-width:1080px){
  .hero-stage.has-foreground{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px;min-height:calc(var(--hero-desktop-min-height) - 138px)}
  .has-foreground .hero-copy{max-width:none;padding:38px 0 40px}
  .has-foreground .hero-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;min-width:0;padding:22px 0 30px}
  .has-foreground .hero-foreground{display:block}
  .has-foreground .hero-caption{align-self:center;text-align:center;margin:0;max-width:100%;width:320px;padding:15px 22px 17px;line-height:1.65;background:rgba(var(--navy-rgb),.78);border-color:rgba(var(--gold-rgb),.34);box-shadow:0 12px 36px rgba(var(--navy-rgb),.12)}
  .has-foreground .hero-caption strong{font-size:clamp(28px,3vw,38px);line-height:1.4;margin:3px 0 5px}
  .has-foreground .hero-caption>span{color:var(--inverse-muted)}
}

/* 遊戲畫面維持原始比例；留白、細框及陰影只放在外層展示框。 */
.guide-grid{align-items:center}
.guide-image-panel{padding:20px 28px 22px}
.screenshot-button{display:grid;place-items:center;width:100%;min-height:440px;margin:0;padding:20px 0;max-width:100%}
.screenshot-button img{display:block;width:auto;height:auto;max-width:100%;max-height:410px;object-fit:contain;object-position:center;transform:none;border-radius:0;box-shadow:none}
.skin-image{padding:28px;background:rgba(var(--navy-rgb),.7);border-color:rgba(var(--gold-rgb),.18);box-shadow:0 16px 40px rgba(var(--navy-rgb),.14)}
.skin-preview-button{display:grid;place-items:center;width:100%;min-width:0;padding:0;border:0;background:transparent;cursor:zoom-in}
.skin-zoom-label{display:block;margin-top:16px;font-size:12px;color:var(--gold);line-height:1.5;text-decoration:underline;text-underline-offset:4px}
.skin-image img{display:block;width:auto;height:auto;max-width:100%;margin-inline:auto;object-fit:contain;object-position:center;transform:none;border-radius:0;box-shadow:none}
.skin-image>span{line-height:1.6;margin-top:18px;font-size:12px;letter-spacing:.5px}
dialog{width:min(620px,calc(100% - 32px))}
dialog>img{width:auto;height:auto;max-width:calc(100% - 48px);max-height:calc(100dvh - 160px);margin:24px auto;padding:0;object-fit:contain;transform:none;border-radius:0}
@media(max-width:600px){.guide-image-panel{padding:16px 20px 18px}.screenshot-button{min-height:390px;padding:16px 0}.screenshot-button img{max-height:360px}.skin-grid{gap:28px}.skin-image{padding:20px;max-width:none;width:100%}.skin-image>span{font-size:12px}.skin-grid h2{line-height:1.35}dialog>img{max-width:calc(100% - 32px);margin:16px auto;max-height:calc(100dvh - 150px)}}
