/* Home — readable 2026-11-15 revision.
   Natural WOTD height remains the reference, but never at the cost of
   legibility. Status gets 62% of the right column; VOTW gets 38%.
   A JS overflow guard restores the natural layout at cramped zoom widths. */
body[data-current-view="home"] #content .h162-wotd h2{
 display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;min-width:0;
 line-height:1.3;margin-bottom:13px!important;
}
body[data-current-view="home"] #content .h162-wotd h2 img{
 flex:0 0 30px;margin-right:1px!important;
}
body[data-current-view="home"] #content .h162-wotd .h162-wotd-name{
 min-width:0;max-width:100%;font-size:clamp(12px,1.08vw,16px);
 font-weight:800;overflow-wrap:anywhere;letter-spacing:0;color:#a8e2ff;
 border-left:1px solid rgba(153,206,248,.38);padding-left:11px;
}
@media(min-width:1021px){
 body[data-current-view="home"] #content .h162-root .h162-primary[data-h162-balanced="true"]{
  height:var(--h162-wotd-height)!important;
  grid-template-rows:minmax(0,1.62fr) minmax(0,1fr)!important;
  align-items:stretch!important;
 }
 body[data-current-view="home"] #content .h162-root .h162-primary[data-h162-balanced="true"] .h162-wotd{
  grid-column:1!important;grid-row:1/span 2!important;
  align-self:stretch!important;height:100%!important;min-height:0!important;
 }
 body[data-current-view="home"] #content .h162-root .h162-primary[data-h162-balanced="true"] :is(.h162-status,.h162-votw){
  box-sizing:border-box!important;min-height:0!important;height:100%!important;
  align-self:stretch!important;max-height:100%!important;overflow:hidden!important;
 }
 body[data-current-view="home"] #content .h162-root .h162-primary[data-h162-balanced="true"] .h162-status{
  display:flex!important;flex-direction:column!important;
  grid-column:2!important;grid-row:1!important;
  padding:13px 15px!important;gap:0!important;
 }
 body[data-current-view="home"] #content .h162-root .h162-primary[data-h162-balanced="true"] .h162-votw{
  display:flex!important;flex-direction:column!important;
  grid-column:2!important;grid-row:2!important;
  padding:14px 16px!important;
 }
 /* Identity is one clear line, not multiple 8-pixel labels. */
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-top{
  display:flex!important;flex-direction:row!important;
  align-items:center!important;justify-content:space-between!important;
  flex-wrap:nowrap!important;gap:9px!important;
  margin-bottom:10px!important;flex:0 0 auto!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-identity{
  display:flex!important;align-items:center!important;gap:9px!important;
  flex:1 1 auto!important;min-width:0!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-icon{
  flex:0 0 42px!important;width:42px!important;height:42px!important;
  border-radius:11px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-icon img{
  width:35px!important;height:35px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-heading{
  gap:2px!important;min-width:0;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-heading h2{
  font-size:clamp(16px,1.28vw,20px)!important;line-height:1.18!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-heading .h245-server-kicker{
  font-size:10px!important;letter-spacing:.09em!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-heading small{
  display:none!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-badge{
  flex:0 0 auto!important;min-height:31px!important;
  padding:4px 8px!important;gap:4px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-badge strong{
  font-size:11px!important;white-space:nowrap!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-signal-sprite{
  flex:0 0 19px!important;width:19px!important;height:19px!important;
 }
 /* Count and freshness sit in two calm, short panels. */
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-summary{
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;margin:0 0 10px!important;flex:0 0 auto!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-primary,
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-source{
  box-sizing:border-box!important;min-height:78px!important;
  padding:9px 11px!important;gap:4px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-stat-icon{
  display:none!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-primary-text small{
  font-size:10px!important;line-height:1.2!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-number{
  font-size:clamp(27px,2.35vw,34px)!important;line-height:1!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-primary-text>span{
  font-size:10px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-source .h245-source-top{
  font-size:11px!important;line-height:1.2!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-source .h245-status-explanation{
  font-size:11px!important;line-height:1.28!important;
  margin:0!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-source .h245-source-checked{
  font-size:10px!important;gap:3px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-source .h245-source-checked strong{
  font-size:10px!important;line-height:1.2!important;
 }
 /* Reserve meaningful height for the chart rather than a decorative caption. */
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h165-server-history.h245-server-history{
  display:flex!important;flex-direction:column!important;
  flex:1 1 auto!important;min-height:0!important;
  margin:0!important;padding:10px 11px 8px!important;
  overflow:hidden!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-history .h165-history-head{
  align-items:center!important;gap:8px!important;
  font-size:12px!important;flex:0 0 auto!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-history .h165-history-head small{
  display:none!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-history-actions{
  gap:6px!important;flex-wrap:nowrap!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] #h165-history-latest{
  font-size:13px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-history-range button{
  font-size:11px!important;min-height:29px!important;
  min-width:38px!important;padding:5px 7px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-chart-shell{
  flex:1 1 auto!important;min-height:90px!important;
  height:auto!important;max-height:none!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-history-axis{
  font-size:10px!important;margin:1px 0 5px!important;
  flex:0 0 auto!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-server-chart-meta{
  gap:7px!important;margin:0!important;flex:0 0 auto!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-chart-stat{
  padding:6px 8px!important;gap:2px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-chart-stat span{
  font-size:10px!important;line-height:1.1!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h245-chart-stat strong{
  font-size:13px!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] #h165-history-note{
  position:absolute!important;clip:rect(0,0,0,0)!important;
  width:1px!important;height:1px!important;overflow:hidden!important;
 }
 /* VOTW has a readable title and responsive thumbnail, without tiny copy. */
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h162-votw h2{
  font-size:clamp(17px,1.4vw,21px)!important;
  margin:5px 0 9px!important;line-height:1.2!important;flex:0 0 auto!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h162-votw .h163-video-thumb{
  flex:1 1 0!important;height:auto!important;min-height:90px!important;
  margin-bottom:8px!important;aspect-ratio:auto!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h162-votw .h163-video-thumb img{
  display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h162-votw p{
  font-size:12px!important;line-height:1.3!important;
  margin:1px 0 6px!important;display:-webkit-box!important;
  -webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
 }
 body[data-current-view="home"] #content .h162-primary[data-h162-balanced="true"] .h162-votw .h162-link{
  flex:0 0 auto!important;font-size:12px!important;margin-top:auto!important;
 }
}
/* On phones and browser zoom below 1021px, natural card heights remain.
   WOTD never gets enlarged or cropped to satisfy the adjacent column. */
@media(max-width:1020px){
 body[data-current-view="home"] #content .h162-wotd .h162-wotd-name{
  font-size:clamp(12px,3vw,15px);
 }
}