/* December Christmas campaign: V17-inspired palace and character composition. */
:root {
  --navy:#08251d!important;
  --navy-light:#103e2e!important;
  --navy-rgb:8,37,29!important;
  --gold:#dfbd70!important;
  --gold-rgb:223,189,112!important;
  --ink:#173e2e!important;
  --muted:#536b5c!important;
  --paper:#f5f3e8!important;
  --line:#d6d8c2!important;
  --surface:#fffdf5!important;
  --panel:#e9ecdf!important;
  --panel-border:#bdc9b4!important;
  --soft-accent:#f6f3df!important;
  --closing:#e9e6d5!important;
  --inverse:#fff7de!important;
  --inverse-muted:#d4dfca!important;
  --on-accent:#173323!important;
  --focus:#b98735!important;
  --hero-desktop-overlay:linear-gradient(90deg,rgba(4,29,21,.28),rgba(5,40,29,.12) 46%,rgba(3,29,21,.04)),linear-gradient(0deg,#08251d99 0%,transparent 30%)!important;
  --hero-mobile-overlay:linear-gradient(90deg,rgba(4,29,21,.7),rgba(5,35,25,.25)),linear-gradient(0deg,#08251d88,transparent 25%)!important;
}
body { background:var(--paper); }
::selection { background:#dfbd70; color:#08251d; }
.header {
  background:linear-gradient(90deg,#061d17,#103829 50%,#061d17);
  border-bottom-color:#aa8648;
  box-shadow:0 3px 18px #03150e38,inset 0 -3px 0 #dfbd7010;
}
.header nav a { color:#f4eacf; text-shadow:0 1px 2px #0005; }
.header nav a:hover { color:#fce2a3; }
.language-control { background:#041c164a; border-color:#b49653a6; }
.language-control .language:hover { background:#dfbd7014; }
.language-control .language:focus-visible { box-shadow:inset 0 -2px #f4d58b; }
.hero { background:#08251d; isolation:isolate; }
.hero-art { filter:none; }
.hero::before {
  display:none;
}
.hero::after {
  background:radial-gradient(ellipse at 79% 35%,#d2a34a20,transparent 46%),var(--hero-desktop-overlay);
}
.hero-game-grid li {
  background:linear-gradient(145deg,#123e2ee8,#071e18ed);
  border-color:#d9b36573;
  box-shadow:inset 0 1px 0 #f5d48624,0 6px 18px #02160d36;
}
.hero-game-grid li:hover { border-color:#f4d18b; background:#174f39; }
.hero-game-cover { box-shadow:0 0 0 1px #d4b66b85; }
.hero-game-grid [data-game-id="6081"] .hero-game-cover { object-fit:contain; background:#21140e; border-radius:4px; }
.hero-game-grid [data-game-id="6081"] .hero-game-name { overflow-wrap:normal; word-break:normal; }
@media(min-width:1080px) and (max-width:1279px) {
  .hero-game-grid [data-game-id="6081"] { padding-inline:4px; gap:4px; }
}
@media(min-width:601px) and (max-width:1079px) {
  .hero-game-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
.hero-games-heading { color:#e0c58a; text-shadow:0 2px 8px #00180c; }
.hero-games-note {
  max-width:78ch; margin:12px 0 0; color:#e1e8d7;
  font-size:15px; line-height:1.6; letter-spacing:0;
  text-shadow:0 1px 8px #00180c;
}
.hero-copy { position:relative; isolation:isolate; }
.hero-copy::before {
  content:none;
  display:none;
}
.hero h1 { color:#f8e7b5; text-shadow:0 2px 1px #79521f,0 5px 18px #001a13; }
.hero h1,.hero h1:lang(zh),.hero h1:lang(ja),.hero h1:lang(ko) { font-size:clamp(44px,4.6vw,64px); }
.hero h1 em {
  color:#f1ce7c;
  background:linear-gradient(180deg,#fff3bc 10%,#f0d083 40%,#bb852e 72%,#f5d88e 95%);
  background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  text-shadow:none; filter:drop-shadow(0 2px 1px #664118);
}
.hero .eyebrow { color:#e4c88e; }
.hero-description { color:#e1e8d7; text-shadow:0 2px 10px #00180ccc; }
.hero .eyebrow { text-shadow:0 2px 8px #00180ccc; }
.button.gold {
  color:#203725;
  background:linear-gradient(180deg,#f7dfa1,#d9b364 72%,#bf964c);
  border-color:#f7dba0;
  box-shadow:inset 0 1px 0 #fff5d2,0 4px 12px #031c1633;
}
.button.gold:hover {
  background:linear-gradient(180deg,#ffe9b4,#e6c783 75%,#d1a55b);
  filter:none;
}
.has-foreground .hero-caption,.hero-caption {
  background:linear-gradient(140deg,#083426f0,#041c16f0);
  border-color:#dfbd70a3;
  box-shadow:inset 0 0 0 4px #dfbd700b,0 12px 30px #001a124d;
}
.hero-caption strong { color:#f4d98e; text-shadow:0 2px 1px #73501e; }
.event-strip {
  background:linear-gradient(90deg,#071f18,#123d2d 50%,#071f18);
  border-top:1px solid #d5af61b3; border-bottom:1px solid #b9944f80;
  box-shadow:inset 0 4px 0 #e4c38108;
}
.strip-grid>div+div { border-left-color:#d2b16e52; }
.strip-grid .label { color:#c1d4bf!important; }
.strip-grid strong { color:#fff4d2; }
.conversion strong { color:#f0d28d; }
.eyebrow.dark { color:#806334; }
.section-heading h2,.details-grid h2 { color:#17432e; }
.reward-card {
  position:relative; border-color:#c9b478;
  background:linear-gradient(145deg,#fffef7,#f4f2e3);
  box-shadow:inset 0 0 0 4px #e3c77f10,0 7px 20px #123b2410;
}
.reward-card::before {
  content:""; position:absolute; top:0; left:24px; right:24px; height:2px;
  background:linear-gradient(90deg,transparent,#c29a48,transparent); pointer-events:none;
}
.reward-card .reward-amount { color:#18472f; }
.reward-card .card-bottom { border-top-color:#c6bd9366; }
.reward-card.featured {
  background:radial-gradient(ellipse at 100% 0,#46714844,transparent 62%),linear-gradient(145deg,#164d35,#072c20);
  border-color:#c8a453;
  box-shadow:inset 0 0 0 4px #efcc7b12,0 9px 24px #082a2024;
}
.featured .reward-amount,.featured .card-bottom strong { color:#f2d58d; }
.featured .card-bottom { border-top-color:#d6b96b55; }
.featured .card-bottom span { color:#d1dfc9; }
.reward-footnote strong { color:#8e621c; }
.calculator-grid {
  border-color:#b8c4a8;
  background:radial-gradient(ellipse at 0 0,#fffbed80,transparent 65%),#e5eadb;
  box-shadow:inset 0 0 0 5px #fffcec4d;
}
.coin-input-wrap { border-color:#9fb397; background:#fffef6; }
.presets button { border-color:#adb990; background:#fffdf34d; }
.presets button:hover { border-color:#887137; background:#fff9e5; }
.presets button.selected {
  color:#fff5d8; border-color:#96783e;
  background:linear-gradient(180deg,#1f523b,#0d3827);
  box-shadow:inset 0 1px 0 #e0c58238;
}
.progress-track { background:#c5cfb6; }
.progress-track span { background:linear-gradient(90deg,#1b5a3c,#b79a4f); }
.text-link { color:#194a32; text-decoration-color:#a38540; }
.guide-section { background:#fffdf6; border-block-color:#d4c8a4; }
.guide-tabs {
  background:#e7e9d9; border:1px solid #c8bf9b;
  box-shadow:inset 0 1px 0 #fff9df;
}
.guide-tabs button[aria-selected=true] {
  background:linear-gradient(145deg,#1b4d35,#0b3426); color:#fff2ca;
  box-shadow:inset 0 0 0 1px #d2ad5a70,0 2px 4px #092b1b20;
}
.step.active {
  border-color:#b99a53; background:linear-gradient(110deg,#f8f4df,#f0f2e6);
  box-shadow:inset 3px 0 0 #a98c45;
}
.step.active .step-number { color:#99712d; }
.guide-image-panel {
  background:linear-gradient(145deg,#edf0e4,#e3e7d8);
  border-color:#bfc9ae; box-shadow:inset 0 0 0 5px #fffdf34d;
}
.skin-section {
  position:relative;
  background:radial-gradient(ellipse at 100% 15%,#375c3640,transparent 60%),linear-gradient(105deg,#07271e,#124631);
  border-top:1px solid #ba9a52; border-bottom:1px solid #ba9a52;
}
.skin-grid h2 { color:#fff0c1; }
.skin-image {
  background:#031e17a6; border-color:#c3a65f80;
  box-shadow:0 16px 40px #00150d47,inset 0 0 0 5px #dfbd700b;
}
.event-terms { border-top-color:#ad8742; border-bottom-color:#c7cdb8; }
.event-terms li::marker { color:#927035; }
.footer {
  background:linear-gradient(90deg,#041d16,#0e3124,#041d16);
  border-top:1px solid #b7954b6b;
}
.release-version {
  display:inline-block; flex-shrink:0; padding:3px 10px;
  color:#efd493; border:1px solid #b7954b80; border-radius:4px;
  font-size:12px; line-height:1.6; letter-spacing:1px;
  font-variant-numeric:tabular-nums;
}
.back-to-top {
  color:#163d28; background:linear-gradient(150deg,#f9e5ad,#c8a052);
  border-color:#ae8b44; box-shadow:0 6px 18px #05251b38,inset 0 1px 0 #fff6d7;
}
dialog { border:1px solid #bfa15b; background:#f5f3e8; }
.dialog-header { background:#edf0e3; border-bottom-color:#c3bc96; }
.dialog-header button { background:#123e2b; color:#fff0c6; }
dialog::backdrop { background:#031b15dc; }
@media(max-width:980px) {
  .hero::after { background:var(--hero-mobile-overlay); }
}
@media(min-width:1080px) {
  .hero-stage.has-foreground { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;padding-bottom:28px; }
}
@media(max-width:1079px) {
  .hero-stage.has-foreground { display:flex;flex-direction:column;gap:8px;min-height:0; }
  .has-foreground .hero-copy { width:100%;max-width:none; }
}
.has-foreground .hero-visual {
  --figure-size:410px;
  --figure-overlap:-8px;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
  align-self:end;
  justify-items:center;
  align-items:end;
  isolation:isolate;
  width:100%; min-width:0; height:482px; padding:0;
  gap:0;
}
.has-foreground .hero-visual--layered {
  --figure-size:500px;
  --figure-overlap:60px;
}
/* Original Banner PNGs stay separate so every face, hand and shield retains its source pixels. */
.has-foreground .hero-characters {
  display:block; grid-area:1 / 1; align-self:end;
  position:relative; z-index:1;
  width:min(var(--figure-size),100%); max-width:100%;
  aspect-ratio:4 / 3; height:auto; overflow:visible; isolation:isolate;
  transform:translateX(-4%);
  margin:0 0 max(-60px,-12%);
}
.hero-character { display:block; position:absolute; bottom:0; width:auto; max-width:none; object-fit:contain; transform:translateX(-50%); pointer-events:none; }
.hero-character--poseidon { height:100%; left:52%; z-index:1; }
.hero-character--xiboba { height:89%; left:22%; z-index:2; }
.hero-character--viking { height:89%; left:84%; z-index:3; }
.hero-character--monkey { height:42%; left:49%; bottom:15%; z-index:4; }
.hero-character--single { height:100%; width:100%; left:50%; }
.has-foreground .hero-caption {
  display:block; grid-area:2 / 1; position:relative; z-index:2;
  align-self:end; margin:0; width:min(420px,100%); max-width:100%; text-align:center;
}
.has-foreground .hero-visual--layered .hero-caption {
  background:linear-gradient(140deg,#083426,#041c16);
}
@media(max-width:1079px) {
  .has-foreground .hero-visual {
    --figure-size:390px;
    --figure-overlap:-8px;
    height:auto;
    grid-template-rows:auto auto;
    padding-bottom:28px;
  }
  .has-foreground .hero-visual--layered {
    --figure-size:430px;
    --figure-overlap:55px;
  }
}
@media(max-width:600px) {
  .hero h1,.hero h1:lang(zh),.hero h1:lang(ja),.hero h1:lang(ko) { font-size:38px; }
  .hero-game-grid li { background:#082b21ef; }
  .has-foreground .hero-visual { --figure-size:min(390px,120vw); }
  .has-foreground .hero-visual--layered { --figure-size:min(430px,120vw); }
  .has-foreground .hero-caption { padding:18px 20px; }
  .has-foreground .hero-caption strong { font-size:34px; }
}
@media(forced-colors:active) {
  .hero h1 em { -webkit-text-fill-color:currentColor; background:none; filter:none; }
}
