/* HNH117 — WINTER IN THE UNDERWORLD (STAGING VISUAL PREVIEW)
   One lightweight overlay, no external image dependencies, no data changes.
   Opt-out snowfall, reduced-motion compliance, responsive, scoped styling. */
body.hnh-winter-117 {
  --hh117-red:#bc343b;--hh117-green:#235c4b;--hh117-gold:#deb66d;
  --hh117-ice:#a8d9df;--hh117-ink:#0a0e12;
}
body.hnh-winter-117 .topbar {
  border-bottom-color:rgba(222,182,109,.38)!important;
  box-shadow:0 3px 27px rgba(186,54,67,.09),inset 0 -1px rgba(196,157,96,.22);
}
/* Pure CSS holiday-light garland. Decorative, never clickable. */
body.hnh-winter-117 .hh117-holiday-lights{
  position:absolute;bottom:-10px;left:2.5%;right:2.5%;height:16px;
  display:flex;align-items:flex-start;justify-content:space-between;
  pointer-events:none;z-index:2400;
}
body.hnh-winter-117 .hh117-holiday-lights:before{
  content:"";position:absolute;left:0;right:0;top:0;
  border-top:1px solid rgba(193,170,128,.56);
}
body.hnh-winter-117 .hh117-holiday-lights i{
  display:block;position:relative;top:2px;width:7px;height:10px;flex:0 0 7px;
  border-radius:48% 48% 50% 50%;background:#dc676e;
  box-shadow:0 0 6px 2px rgba(218,77,86,.4),0 0 15px 1px rgba(218,77,86,.16);
}
body.hnh-winter-117 .hh117-holiday-lights i:before{
  content:"";position:absolute;left:2px;top:-4px;width:3px;height:4px;background:#b2a387;
}
body.hnh-winter-117 .hh117-holiday-lights i:nth-child(4n+2){
  background:#e8cb7a;box-shadow:0 0 8px 2px rgba(239,196,93,.48);
}
body.hnh-winter-117 .hh117-holiday-lights i:nth-child(4n+3){
  background:#81ccb1;box-shadow:0 0 8px 2px rgba(75,183,139,.42);
}
body.hnh-winter-117 .hh117-holiday-lights i:nth-child(4n){
  background:#b6e4f2;box-shadow:0 0 8px 2px rgba(138,211,239,.45);
}
/* Decorative snow sprites. No JS animation loop or image loading. */
body.hnh-winter-117 .hh117-snowfield{
  position:fixed;inset:0;z-index:2450;pointer-events:none;overflow:hidden;
  contain:layout style paint;opacity:.78;
}
body.hnh-winter-117 .hh117-snowfield i{
  position:absolute;top:-18px;left:var(--hh117-x);width:var(--hh117-size);height:var(--hh117-size);
  border-radius:100%;background:rgba(232,247,255,.86);
  box-shadow:0 0 8px rgba(221,243,255,.45);
  animation:hh117-fall var(--hh117-duration) linear infinite;
  animation-delay:var(--hh117-delay);will-change:transform;
}
@keyframes hh117-fall{
  0%{transform:translate3d(0,-12vh,0);opacity:0}
  8%{opacity:.72}
  92%{opacity:.72}
  100%{transform:translate3d(45px,110vh,0);opacity:0}
}
body.hnh-winter-117.hh117-no-snow .hh117-snowfield{display:none}
body.hnh-winter-117 .hh117-snow-control{
  position:fixed;bottom:18px;right:17px;z-index:2600;min-height:38px;
  padding:7px 13px;border-radius:30px;
  border:1px solid rgba(224,197,141,.52);background:rgba(13,20,23,.93);
  box-shadow:0 7px 26px rgba(0,0,0,.43);
  color:#c6e4e8;display:flex;gap:8px;align-items:center;
  cursor:pointer;font-weight:700;font-size:11px;line-height:1.2;font-family:inherit;letter-spacing:.02em;
}
body.hnh-winter-117 .hh117-snow-control:hover,
body.hnh-winter-117 .hh117-snow-control:focus-visible{
  border-color:#edd7a7;color:#fff5df;outline-offset:2px;
}
/* Restyle only the player Command hero, not rank, economy or navigation components. */
body.hnh-winter-117.hh-command-page .command-hero{
  position:relative;isolation:isolate;overflow:hidden;
  border-color:rgba(203,156,96,.31);
  background-image:radial-gradient(circle at 14% 8%,rgba(112,30,36,.28),transparent 46%),
    radial-gradient(circle at 87% 13%,rgba(19,78,66,.25),transparent 49%),
    linear-gradient(140deg,rgba(13,19,22,.86),rgba(8,12,18,.97));
}
body.hnh-winter-117.hh-command-page .command-hero:before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(circle at 80% 28%,rgba(254,220,154,.15) 0 2px,transparent 3px),
   radial-gradient(circle at 25% 20%,rgba(230,77,84,.2) 0 2px,transparent 3px),
   radial-gradient(circle at 60% 12%,rgba(169,224,219,.22) 0 2px,transparent 3px);
  background-size:132px 58px,159px 75px,187px 90px;opacity:.7;
}
body.hnh-winter-117.hh-command-page .command-hero .skyline{
  filter:drop-shadow(0 -2px 7px rgba(143,190,185,.12));
}
body.hnh-winter-117.hh-command-page .command-hero h1{
  text-shadow:0 3px 25px rgba(203,172,116,.2);
}
body.hnh-winter-117.hh-command-page .rank-pill{border-color:rgba(225,187,112,.46)}
/* Limited-time event hero; visible only on staging during this phase. */
body.hnh-winter-117 .hh117-season-preview{
  position:relative;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(185px,.55fr);
  gap:24px;align-items:center;overflow:hidden;isolation:isolate;
  margin:18px 0 22px;padding:27px 32px;
  border:1px solid rgba(214,177,115,.49);border-radius:17px;
  background:
    radial-gradient(circle at 96% 50%,rgba(51,132,112,.23),transparent 35%),
    radial-gradient(circle at 6% 0%,rgba(144,28,39,.34),transparent 52%),
    linear-gradient(122deg,#171618 0%,#111d20 60%,#102027 100%);
  box-shadow:0 12px 37px rgba(0,0,0,.25),inset 0 1px rgba(250,217,157,.08);
}
body.hnh-winter-117 .hh117-season-preview:before{
  content:"";position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,#a12a39 0%,#d8ad61 35%,#4b9883 74%,#c2dfe4 100%);
}
body.hnh-winter-117 .hh117-season-preview:after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.36;
  background-image:radial-gradient(circle,#a7d7dd 1px,transparent 1.7px);
  background-size:74px 56px;background-position:13px 18px;
  mask-image:linear-gradient(90deg,transparent,black);
}
body.hnh-winter-117 .hh117-season-copy{min-width:0}
body.hnh-winter-117 .hh117-kicker{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;
  color:#e5bd83;font-size:11px;font-weight:850;letter-spacing:.13em;
}
body.hnh-winter-117 .hh117-preview-tag{
  padding:4px 7px;border:1px solid rgba(178,206,201,.35);
  border-radius:4px;background:rgba(24,47,49,.68);
  color:#b5d3d0;font-size:9px;letter-spacing:.07em;
}
body.hnh-winter-117 .hh117-season-preview h2{
  margin:12px 0 9px;color:#f5e8dc;
  font-weight:800;font-size:clamp(1.3rem,2.9vw,2rem);line-height:1.17;font-family:inherit;
  letter-spacing:-.02em;
}
body.hnh-winter-117 .hh117-season-preview p{
  margin:0;color:#c9cdcc;font-size:13px;line-height:1.62;max-width:68ch;
}
body.hnh-winter-117 .hh117-season-chips{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:15px;
}
body.hnh-winter-117 .hh117-season-chips span{
  display:inline-flex;padding:5px 8px;border:1px solid rgba(195,205,200,.19);
  border-radius:5px;background:rgba(7,13,16,.35);color:#c6d6d1;
  font-size:9px;font-weight:750;letter-spacing:.07em;
}
body.hnh-winter-117 .hh117-season-action{
  display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;
}
body.hnh-winter-117 .hh117-wrapped-gift{
  width:76px;height:66px;position:relative;display:block;margin:5px 0 12px;
  border:2px solid #dcac61;border-radius:5px;
  background:linear-gradient(150deg,#9b2735,#681f2d);
  box-shadow:0 12px 20px rgba(0,0,0,.24),0 0 28px rgba(197,83,92,.18),inset 0 0 0 4px rgba(255,242,210,.08);
}
body.hnh-winter-117 .hh117-wrapped-gift:before{
  content:"";position:absolute;left:30px;top:-2px;width:13px;height:66px;
  background:linear-gradient(90deg,#ab7c36,#f5d38b,#ab7c36);
}
body.hnh-winter-117 .hh117-wrapped-gift:after{
  content:"";position:absolute;left:-2px;right:-2px;top:17px;height:13px;
  background:linear-gradient(#f5d38b,#ac7f36);border-top:1px solid #f5d38b;
}
body.hnh-winter-117 .hh117-wrapped-gift i{
  display:block;position:absolute;left:24px;top:-18px;width:25px;height:16px;
  border:5px solid #e4bd78;border-radius:50% 50% 10px 50%;
  transform:rotate(-28deg);
}
body.hnh-winter-117 .hh117-wrapped-gift i:after{
  content:"";position:absolute;top:-3px;left:14px;width:23px;height:14px;
  border:5px solid #e4bd78;border-radius:50% 50% 50% 10px;transform:rotate(52deg);
}
body.hnh-winter-117 .hh117-season-link{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:100%;max-width:205px;min-height:40px;padding:9px 14px;
  color:#172023!important;font-size:12px;font-weight:850;text-decoration:none;
  background:linear-gradient(120deg,#f0d08b,#cfa864);
  border:1px solid rgba(242,218,158,.9);border-radius:8px;
}
body.hnh-winter-117 .hh117-season-link:hover,
body.hnh-winter-117 .hh117-season-link:focus-visible{
  background:#fff0ba;box-shadow:0 0 0 2px rgba(238,198,131,.2);
}
body.hnh-winter-117 .hh117-season-action small{
  text-align:center;font-size:10px;color:#aebdba;max-width:225px;
}
@media(max-width:780px){
  body.hnh-winter-117 .hh117-snowfield i:nth-child(n+29){display:none}
  body.hnh-winter-117 .hh117-season-preview{padding:22px 19px;grid-template-columns:1fr;gap:15px}
  body.hnh-winter-117 .hh117-season-action{
    display:grid;grid-template-columns:auto 1fr;column-gap:15px;justify-items:start;
  }
  body.hnh-winter-117 .hh117-wrapped-gift{grid-row:span 2;transform:scale(.74);transform-origin:left center;margin:0;width:76px}
  body.hnh-winter-117 .hh117-season-link{max-width:none;width:auto}
  body.hnh-winter-117 .hh117-season-action small{text-align:left}
  body.hnh-winter-117 .hh117-holiday-lights i:nth-child(even){display:none}
}
@media(max-width:480px){
  body.hnh-winter-117 .hh117-season-action{display:flex;align-items:flex-start}
  body.hnh-winter-117 .hh117-wrapped-gift{display:none}
  body.hnh-winter-117 .hh117-snow-control{right:10px;bottom:9px;padding:6px 10px;min-height:34px}
  body.hnh-winter-117 .hh117-season-preview h2{font-size:1.35rem}
}
@media(prefers-reduced-motion:reduce){
  body.hnh-winter-117 .hh117-snowfield{display:none!important}
  body.hnh-winter-117 .hh117-snow-control{display:none!important}
}

/* HNH118 visual polish: denser snowfall, original wreath art, winter glows. */
body.hnh-winter-117 .hh117-snowfield{opacity:1}
body.hnh-winter-117 .hh117-snowfield i{
 background:rgba(245,252,255,.94);
 box-shadow:0 0 6px rgba(233,249,255,.6);
}
body.hnh-winter-117 .hh117-snowfield i:nth-child(3n){filter:blur(.7px);opacity:.84}
body.hnh-winter-117 .hh117-snowfield i:nth-child(7n){filter:blur(1.4px);opacity:.62}
body.hnh-winter-117 .hh117-snowfield i:nth-child(11n){background:#fff}
body.hnh-winter-117 .topbar .brand{position:relative;overflow:visible;isolation:isolate}
body.hnh-winter-117 .hh118-brand-wreath{
 position:absolute;right:-24px;top:-11px;width:54px;height:54px;
 pointer-events:none;z-index:4;
 filter:drop-shadow(0 2px 5px rgba(0,0,0,.85)) drop-shadow(0 0 7px rgba(224,181,91,.2));
}
body.hnh-winter-117 .hh118-brand-wreath svg{width:100%;height:100%;display:block}
body.hnh-winter-117:before{
 content:"";position:fixed;inset:91px 0 0;pointer-events:none;z-index:0;
 background:
 radial-gradient(ellipse 210px 300px at 0% 35%,rgba(161,47,58,.18),transparent 74%),
 radial-gradient(ellipse 230px 350px at 100% 28%,rgba(49,142,112,.19),transparent 72%),
 radial-gradient(ellipse 180px 220px at 9% 80%,rgba(191,151,71,.12),transparent 76%),
 radial-gradient(ellipse 190px 230px at 93% 77%,rgba(105,157,174,.10),transparent 78%);
}
body.hnh-winter-117 .shell{position:relative;z-index:1}
body.hnh-winter-117.hh-command-page .command-hero:after{
 content:"";position:absolute;left:0;right:0;top:4px;height:75px;
 pointer-events:none;z-index:0;opacity:.75;
 background-image:
 radial-gradient(circle,rgba(244,90,103,.77) 0 3px,transparent 4px),
 radial-gradient(circle,rgba(251,209,107,.78) 0 2.5px,transparent 4px),
 radial-gradient(circle,rgba(104,207,167,.72) 0 2.5px,transparent 4px);
 background-size:118px 76px,137px 76px,162px 76px;
 background-position:0 5px,55px 25px,82px 4px;
 mask-image:linear-gradient(180deg,black,transparent 88%);
}
body.hnh-winter-117 .hh117-season-preview{
 background:
 radial-gradient(circle at 94% 16%,rgba(215,171,78,.15),transparent 25%),
 radial-gradient(circle at 4% 0%,rgba(153,36,51,.36),transparent 45%),
 radial-gradient(circle at 85% 70%,rgba(53,139,114,.3),transparent 43%),
 linear-gradient(112deg,#1d171a 0%,#122020 58%,#0d2020 100%);
}
body.hnh-winter-117 .hh117-season-preview h2{letter-spacing:.085em;font-size:clamp(1.2rem,2.35vw,1.65rem)}
body.hnh-winter-117 .hh117-season-chips{margin-top:21px}
body.hnh-winter-117 .hh117-season-preview{min-height:180px}
body.hnh-winter-117 .hn75-link-grid a>small,
body.hnh-winter-117 .hn75-quick-card>small,
body.hnh-winter-117 .hn75-section-title p,
body.hnh-winter-117 .hn75-heading-brand p,
body.hnh-winter-117 .hh-command-shortcuts a>small{display:none}
@media(max-width:780px){
 body.hnh-winter-117 .hh118-brand-wreath{right:-18px;top:-9px;width:43px;height:43px}
 body.hnh-winter-117 .hh117-snowfield i:nth-child(n+29){display:none}
}
@media(max-width:480px){
 body.hnh-winter-117 .hh118-brand-wreath{right:-14px;top:-6px;width:34px;height:34px}
 body.hnh-winter-117 .hh117-snowfield i:nth-child(n+20){display:none}
}
@media(prefers-reduced-motion:reduce){
 body.hnh-winter-117 .hh117-snowfield{display:none!important}
}

/* HNH122 — REAL ASSET CHRISTMAS: premium photo art, city lights, responsive staging. */
body.hnh-winter-117 .hh122-brand-wreath{
 position:absolute;right:-22px;top:-14px;width:67px;height:67px;object-fit:contain;
 pointer-events:none;z-index:6;filter:drop-shadow(0 4px 4px rgba(0,0,0,.85)) drop-shadow(0 0 7px rgba(222,165,78,.23));
}
body.hnh-winter-117.hh-command-page .command-hero{
 background-image:
  radial-gradient(ellipse at 14% 5%,rgba(197,69,71,.16),transparent 49%),
  radial-gradient(ellipse at 90% 22%,rgba(49,134,111,.18),transparent 40%),
  linear-gradient(115deg,rgba(9,15,19,.89),rgba(9,12,16,.98) 70%),
  url('../brand/home-hero-city.jpg');
 background-size:cover;
 background-position:center 52%;
}
body.hnh-winter-117.hh-command-page .command-hero:after{
 opacity:.92;
 background-image:
  radial-gradient(circle,rgba(248,199,100,.93) 0 2px,transparent 3px),
  radial-gradient(circle,rgba(233,72,80,.84) 0 2.5px,transparent 3.8px),
  radial-gradient(circle,rgba(90,198,157,.79) 0 2.2px,transparent 3.8px),
  radial-gradient(circle,rgba(181,224,240,.85) 0 2px,transparent 3.3px);
 background-size:95px 65px,132px 55px,177px 68px,113px 72px;
 background-position:3px 10px,45px 29px,69px 5px,87px 37px;
}
body.hnh-winter-117 .hh122-season-preview{
 grid-template-columns:minmax(0,1.55fr) minmax(310px,.7fr);
 min-height:225px;
 padding:27px 32px;
 align-items:center;
 background-image:
  linear-gradient(98deg,rgba(17,10,15,.95) 0%,rgba(16,22,24,.86) 46%,rgba(10,29,31,.84) 100%),
  url('../brand/home-hero-city.jpg');
 background-position:center, center 62%;
 background-size:cover, cover;
 border:1px solid rgba(225,183,108,.5);
 box-shadow:0 13px 45px rgba(0,0,0,.4),inset 0 1px rgba(242,203,134,.14);
}
body.hnh-winter-117 .hh122-season-preview:before{
 height:2px;
 background:linear-gradient(90deg,#a63945,#dfb76c 31%,#408e73 75%,#b4d6d5);
 box-shadow:0 0 14px rgba(217,165,83,.26);
}
body.hnh-winter-117 .hh122-season-preview:after{
 opacity:.46;
 background:
  radial-gradient(circle at 74% 21%,rgba(252,207,124,.55) 0 2px,transparent 4px),
  radial-gradient(circle at 28% 23%,rgba(236,85,89,.48) 0 2px,transparent 4px),
  radial-gradient(circle at 67% 70%,rgba(91,195,152,.42) 0 2px,transparent 4px);
 background-size:151px 89px,179px 101px,211px 115px;
 mask-image:linear-gradient(90deg,transparent,black 55%);
}
body.hnh-winter-117 .hh122-season-preview h2{
 font-size:clamp(1.3rem,2.4vw,1.85rem);
 letter-spacing:.075em;
 text-shadow:0 2px 21px rgba(0,0,0,.8);
 margin:14px 0 14px;
}
body.hnh-winter-117 .hh122-season-preview .hh117-season-copy{
 z-index:2;position:relative;
}
body.hnh-winter-117 .hh122-season-preview .hh117-season-chips{margin-top:14px}
body.hnh-winter-117 .hh122-season-preview .hh117-season-chips span{
 border-color:rgba(223,192,141,.29);background:rgba(6,14,15,.56);
 color:#e6ddd0;font-size:9px;padding:7px 9px;
}
body.hnh-winter-117 .hh122-snow-mark{
 font-size:17px;color:#a2dce5;line-height:1;
 text-shadow:0 0 12px rgba(151,228,238,.53);
}
body.hnh-winter-117 .hh122-season-scene{
 position:relative;min-height:205px;align-self:stretch;
 isolation:isolate;z-index:1;
}
body.hnh-winter-117 .hh122-season-scene:before{
 content:"";position:absolute;right:-16px;top:-28px;bottom:-25px;width:230px;
 z-index:-1;pointer-events:none;
 background:radial-gradient(ellipse at 58% 50%,rgba(224,174,94,.29),transparent 64%);
 filter:blur(8px);
}
body.hnh-winter-117 .hh122-tree{
 position:absolute;right:-8px;bottom:-37px;height:231px;width:auto;max-width:none;
 object-fit:contain;pointer-events:none;
 filter:drop-shadow(0 7px 15px rgba(0,0,0,.85)) drop-shadow(0 0 11px rgba(222,169,83,.32));
}
body.hnh-winter-117 .hh122-gift{
 position:absolute;right:111px;bottom:-25px;width:96px;height:auto;
 object-fit:contain;pointer-events:none;
 filter:drop-shadow(0 5px 9px rgba(0,0,0,.8));
}
body.hnh-winter-117 .hh122-season-action{
 position:absolute;left:0;bottom:17px;width:165px;z-index:2;
 display:flex;flex-direction:column;align-items:flex-start;gap:10px;
}
body.hnh-winter-117 .hh122-season-action .hh117-season-link{
 min-height:43px;max-width:none;width:100%;
 padding:9px 12px;font-size:10px;letter-spacing:.045em;
 box-shadow:0 4px 17px rgba(0,0,0,.38);
}
body.hnh-winter-117 .hh122-season-action small{
 color:#c7c5bc;text-shadow:0 1px 6px #000;
 font-size:10px;line-height:1.4;max-width:175px;text-align:left;
}
body.hnh-winter-117 .hh117-season-preview .hh117-wrapped-gift{display:none}
body.hnh-winter-117 .hh122-season-preview .hh117-preview-tag{
 color:#d1e1db;border-color:rgba(183,210,198,.4);
 background:rgba(12,34,31,.62);
}
body.hnh-winter-117 .hh117-holiday-lights{filter:drop-shadow(0 2px 7px rgba(214,172,94,.22))}
body.hnh-winter-117 .hh117-snowfield i:nth-child(n+49){opacity:.54}
@media(max-width:1020px){
 body.hnh-winter-117 .hh122-season-preview{grid-template-columns:minmax(0,1fr) minmax(265px,.68fr);padding:23px 25px}
 body.hnh-winter-117 .hh122-tree{height:207px;right:-19px}
 body.hnh-winter-117 .hh122-gift{width:81px;right:95px}
 body.hnh-winter-117 .hh122-season-action{width:148px}
}
@media(max-width:780px){
 body.hnh-winter-117 .hh122-season-preview{grid-template-columns:minmax(0,1fr);gap:0;padding:23px 19px;min-height:240px}
 body.hnh-winter-117 .hh122-season-preview .hh117-season-copy{padding-right:64px}
 body.hnh-winter-117 .hh122-season-scene{min-height:132px;margin-top:7px}
 body.hnh-winter-117 .hh122-tree{height:177px;right:-9px;bottom:-24px}
 body.hnh-winter-117 .hh122-gift{width:67px;right:83px;bottom:-20px}
 body.hnh-winter-117 .hh122-season-action{bottom:6px;left:0;width:190px}
 body.hnh-winter-117 .hh122-brand-wreath{right:-17px;top:-12px;width:51px;height:51px}
 body.hnh-winter-117 .hh117-snowfield i:nth-child(n+19){display:none}
}
@media(max-width:460px){
 body.hnh-winter-117 .hh122-season-preview{padding:19px 16px;min-height:265px}
 body.hnh-winter-117 .hh122-season-preview .hh117-season-copy{padding-right:22px}
 body.hnh-winter-117 .hh122-season-preview h2{font-size:1.23rem;line-height:1.27}
 body.hnh-winter-117 .hh122-season-preview .hh117-season-chips{gap:6px}
 body.hnh-winter-117 .hh122-season-preview .hh117-season-chips span{font-size:8px}
 body.hnh-winter-117 .hh122-brand-wreath{width:42px;height:42px;right:-12px;top:-5px}
 body.hnh-winter-117 .hh122-tree{height:144px;right:-16px;bottom:-20px}
 body.hnh-winter-117 .hh122-gift{width:56px;right:60px;bottom:-18px}
 body.hnh-winter-117 .hh122-season-action{width:170px}
 body.hnh-winter-117 .hh117-snowfield i:nth-child(n+16){display:none}
}
@media(prefers-reduced-motion:reduce){
 body.hnh-winter-117 .hh117-snowfield{display:none!important}
}
