/* Home surface alignment and next-challenge timer — 15 November 2026.
   Only the Home view is affected; event banners, chart data, semantic status
   indicators, and non-home Liquid Glass surfaces are left untouched. */
body[data-current-view="home"]:not([data-ui-style="simple"]) #content .h162-root {
 --h-home-surface:radial-gradient(ellipse at 10% 0%,rgba(114,185,247,.13),transparent 52%),
   linear-gradient(150deg,rgba(25,59,101,.94),rgba(11,32,64,.95));
 --h-home-border:rgba(161,214,250,.34);
 --h-home-inner:linear-gradient(150deg,rgba(64,126,191,.16),rgba(18,47,85,.29));
 --h-home-inner-border:rgba(150,209,249,.24);
}
/* Every outer homepage window shares the same blue, border, shine, depth.
   Include the higher-specificity server override to replace its custom fill. */
body[data-current-view="home"]:not([data-ui-style="simple"]) #content .h162-root .h162-card,
body[data-current-view="home"]:not([data-ui-style="simple"]) #content .h162-root .h162-primary > .h162-card.h162-status {
 background:var(--h-home-surface)!important;
 border-color:var(--h-home-border)!important;
 box-shadow:inset 0 1px rgba(255,255,255,.17),0 13px 34px rgba(2,16,39,.26)!important;
}
/* Match the nested neutral metric panels. Keep the Online badge green and
   live chart line cyan, which are meaningful rather than arbitrary fills. */
body[data-current-view="home"]:not([data-ui-style="simple"]) #content .h162-root .h162-status :is(
 .h245-server-count-main,.h245-server-time,.h245-chart-stat,.h245-server-history
) {
 background:var(--h-home-inner)!important;
 border-color:var(--h-home-inner-border)!important;
}
/* Match the upcoming Monthly / Annual event countdown footer exactly:
   divider at the bottom, STARTS IN on the left, absolute start on the right. */
body[data-current-view="home"] #content .h162-root .h162-next-card .h245-next-footer {
 margin-top:auto!important;
 padding-top:12px!important;
 border-top:1px solid rgba(147,201,236,.21)!important;
 display:flex!important;
 align-items:flex-end!important;
 justify-content:space-between!important;
 gap:12px!important;
 flex:0 0 auto!important;
 width:100%;
 min-width:0;
 box-sizing:border-box;
}
body[data-current-view="home"] #content .h162-root .h162-next-card .h245-next-footer .h242-timer-copy {
 flex:0 0 auto;
 min-width:0;
}
body[data-current-view="home"] #content .h162-root .h162-next-card .h245-next-footer .h242-countdown {
 font-size:clamp(24px,2.6vw,35px)!important;
 color:#c5f1f4!important;
 font-variant-numeric:tabular-nums;
}
body[data-current-view="home"] #content .h162-root .h162-next-card .h245-next-when {
 display:flex;
 flex-direction:column;
 align-items:flex-end;
 gap:5px;
 min-width:0;
 flex:1 1 auto;
 padding-bottom:2px;
 text-align:right;
}
body[data-current-view="home"] #content .h162-root .h162-next-card .h245-next-when > span {
 font-size:13px;
 line-height:1.3;
 font-weight:800;
 color:#d3eaff;
}
body[data-current-view="home"] #content .h162-root .h162-next-card .h245-next-when > small {
 font-size:10px!important;
 line-height:1.3;
 letter-spacing:.015em;
 font-weight:650;
 color:#9dbdd5!important;
}
@media(max-width:560px) {
 body[data-current-view="home"] #content .h162-root .h162-next-card .h245-next-footer {
  flex-wrap:wrap;
  align-items:flex-start!important;
  row-gap:10px!important;
 }
 body[data-current-view="home"] #content .h162-root .h162-next-card .h245-next-when {
  align-items:flex-start;
  text-align:left;
  flex-basis:100%;
  padding-bottom:0;
 }
}
/* A CSS-only surface pass cannot change the chart data or event state. */
