/* Home layout rules retained. The old Website Settings popover and
 * preference controls are removed from every public/owner viewport. */
/* Keep the complete Home dashboard. V1.78 removed WOTD's placement and
   stretched the unbounded image; constrain the grid without cropping art. */
#content .h162-root{display:block;width:100%;max-width:1580px;min-width:0;margin:0 auto;padding:0 0 26px}
#content .h162-root *,#content .h162-root *::before,#content .h162-root *::after{box-sizing:border-box}
#content .h162-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:17px}
#content .h162-header h1{font-size:clamp(27px,3.2vw,40px);margin:4px 0 7px;color:#edf7ff;line-height:1.1}
#content .h162-header p{color:#a8c5df;font-size:13px;margin:0}
#content .h162-accent{color:#89d6ff}
#content .h162-eyebrow{display:block;font-size:10px;line-height:1.4;font-weight:850;letter-spacing:.12em;color:#a7caee;margin-bottom:9px}
#content .h162-primary{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(250px,.8fr)!important;align-items:start!important;gap:16px!important;width:100%;min-width:0;margin-bottom:16px}
#content .h162-primary>.h162-card{min-width:0;min-height:0;max-width:100%}
#content .h162-primary .h162-wotd{grid-column:1!important;grid-row:1 / span 2!important;align-self:start!important;height:auto!important;min-height:0!important}
#content .h162-primary .h162-status{grid-column:2!important;grid-row:1!important;align-self:start!important}
#content .h162-primary .h162-votw{grid-column:2!important;grid-row:2!important}
#content .h162-world-photo{width:100%!important;height:auto!important;min-height:0!important;max-width:100%!important;max-height:none!important;overflow:hidden!important;aspect-ratio:auto!important;background:#07162d;border-radius:14px}
#content .h162-world-photo img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
#content .h162-world-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 15px;margin-top:10px;min-width:0}
#content .h162-world-foot strong{font-size:16px;color:#e8f6ff;overflow-wrap:anywhere}
#content .h162-world-foot small{font-size:11px;color:#9fbdd9}
#content .h162-card{min-width:0;padding:20px 22px;border:1px solid rgba(153,211,255,.28);border-radius:20px;background:linear-gradient(148deg,rgba(35,70,115,.71),rgba(10,33,70,.81));color:#edf7ff;box-shadow:inset 0 1px rgba(242,252,255,.12)}
#content .h162-card h2{font-size:clamp(17px,1.5vw,23px);font-weight:850;line-height:1.2;margin:3px 0 14px;color:#e4f4ff;letter-spacing:-.025em}
#content .h162-card p{line-height:1.55}
#content .h162-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#bae4ff;font-weight:750;min-height:35px;border:1px solid rgba(146,206,255,.25);border-radius:10px;background:rgba(61,121,182,.18);padding:7px 11px;text-decoration:none;cursor:pointer}
#content .h162-challenge-row,#content .h162-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;min-width:0;width:100%;margin-bottom:16px}
#content .h162-challenge-row>.h162-card,#content .h162-bottom>.h162-card{min-width:0;max-width:100%}
#content .h162-status .h162-server{display:flex;align-items:center;justify-content:center;gap:8px}
#content .h162-status .h162-server strong{font-size:18px;color:#d8faff}
#content .h162-status .h162-status-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#71e6b2}
#content .h162-status p{font-size:13px;color:#b6d2e6}
#content .h162-muted{color:#a9c5df;font-size:12px}
#content .h162-world-photo:fullscreen{width:100vw!important;height:100vh!important;max-height:none!important;display:flex!important;align-items:center;justify-content:center;background:#061329}
#content .h162-world-photo:fullscreen img{height:100%!important;width:100%!important;object-fit:contain!important}
@media(max-width:980px){
  #content .h162-primary{grid-template-columns:minmax(0,1fr)!important}
  #content .h162-primary .h162-wotd,#content .h162-primary .h162-status,#content .h162-primary .h162-votw{grid-column:1!important;grid-row:auto!important}
}
@media(max-width:740px){#content .h162-challenge-row,#content .h162-bottom{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:480px){#content .h162-card{padding:16px 14px}#content .h162-world-foot{align-items:flex-start}#content .h162-world-photo{border-radius:11px}}
/* Home shortcuts should remain individual glass bubbles even if an older
   homepage stylesheet is missing during an incremental deployment. */
#content .h162-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:stretch}
#content .h162-quick .h162-float-bubble,
#content .h162-next-bubbles .h162-float-bubble{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:94px;padding:11px 7px;border:1px solid rgba(165,220,255,.38);border-radius:16px;background:linear-gradient(145deg,rgba(100,163,219,.23),rgba(17,49,99,.4));color:#e1f5ff;font-size:11px;font-weight:750;line-height:1.25;cursor:pointer}
#content .h162-float-bubble img{width:42px;height:42px;max-width:100%;object-fit:contain;image-rendering:pixelated}
#content .h162-float-bubble small{font-size:9px;color:#a8c6df}
#content .h162-float-bubble:disabled{opacity:.58;cursor:default}
@media(max-width:620px){#content .h162-quick{grid-template-columns:repeat(2,minmax(0,1fr))}}
