/* Homepage redesign. Scoped so the other page families can migrate separately. */
.home-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
body:is(.st-home,.st-shell), .dashboard-quick-card {
  --home-ink: #101b33;
  --home-muted: #667084;
  --home-line: #dfe4ed;
  --home-blue: #1958bc;
  --home-paper: #fff;
  --home-nav-paper: #f7f9fc;
  --home-soft: #f5f7fb;
  --home-serif: Georgia, 'Times New Roman', serif;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
:is(.st-home,.st-shell) *, :is(.st-home,.st-shell) *::before, :is(.st-home,.st-shell) *::after { box-sizing: border-box; }
.st-home h1, .st-home h2 { color: var(--home-ink); font-family: var(--home-serif); font-weight: 700; letter-spacing: -.035em; }
.st-shell .home-settings-panels h2 { color: var(--home-ink); font-family: var(--home-serif); font-weight: 700; letter-spacing: -.035em; text-align: left; }
.st-home h2 { margin: 0 0 14px; font-size: clamp(25px, 2.1vw, 34px); line-height: 1.15; }
.st-home a { color: var(--home-blue); text-underline-offset: 3px; }
:is(.st-home,.st-shell) :is(a, button, input, summary, [role="button"]):focus-visible { outline: 3px solid #5688e8; outline-offset: 4px; }
:is(.st-home,.st-shell) [hidden] { display: none !important; }
:is(.st-home,.st-shell) { --home-navbar-height: 56px; }
:is(.st-home,.st-shell) .after_navbar { margin-top: var(--home-navbar-height); }
:is(.st-home,.st-shell) .navbar_fixed { display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0; height: var(--home-navbar-height); padding: 0 16px 0 0 !important; background: linear-gradient(110deg,#061b32,#041326) !important; border-bottom: 1px solid #263e5c; color: #e5edfa; }
:is(.st-home,.st-shell) .navbar_logo { display: flex; align-items: center; flex: 0 0 auto; height: auto; margin: 0; padding: 0 20px; border-right: 1px solid #263e5c; color: #fff; font-family: var(--home-serif); font-size: 27px; font-weight: 700; line-height: 1; white-space: nowrap; }
:is(.st-home,.st-shell) .navbar_logo::before { content: none; }
:is(.st-home,.st-shell) .navbar_fixed .menu-toggle { color: #e6edf7; mix-blend-mode: normal; }
:is(.st-home,.st-shell) .home-navbar-location, :is(.st-home,.st-shell) .home-navbar-night { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; gap: 12px; padding: 0 22px; border-right: 1px solid #263e5c; cursor: pointer; }
:is(.st-home,.st-shell) .home-navbar-globe, :is(.st-home,.st-shell) .home-navbar-moon { display: block; flex: 0 0 36px; border-radius: 50%; }
:is(.st-home,.st-shell) .home-navbar-moon { border: 1px solid #879bb6; }
:is(.st-home,.st-shell) .nav_location { float: none; width: auto; min-width: 0; color: #e5edfa; font-size: 13px; line-height: 1.6; }
:is(.st-home,.st-shell) .nav-location-city { gap: 8px; }
:is(.st-home,.st-shell) .home-navbar-coordinates { display: block; color: #a8bdd7; font-size: 11px; }
:is(.st-home,.st-shell) .home-navbar-coordinates > span { white-space: nowrap; }
:is(.st-home,.st-shell) .home-navbar-chevron { flex: 0 0 16px; width: 16px; height: 16px; color: #dce8f9; }
:is(.st-home,.st-shell) [aria-expanded="true"] > .home-navbar-gradient .home-navbar-chevron, :is(.st-home,.st-shell) [aria-expanded="true"] .nav-location-city .home-navbar-chevron { transform: rotate(180deg); }
:is(.st-home,.st-shell) .home-navbar-gradient { flex: 0 1 260px; width: clamp(150px,19vw,260px); min-width: 0; }
:is(.st-home,.st-shell) .home-navbar-phase, :is(.st-home,.st-shell) .home-navbar-session { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; line-height: 1.35; white-space: nowrap; }
:is(.st-home,.st-shell) .home-navbar-phase { margin-bottom: 5px; }
:is(.st-home,.st-shell) .home-navbar-phase > span:first-child { overflow: hidden; text-overflow: ellipsis; }
:is(.st-home,.st-shell) .home-navbar-session { margin-top: 4px; color: #bbcee7; font-size: 11px; }
:is(.st-home,.st-shell) .home-navbar-strip { overflow: hidden; height: 8px; border: 1px solid #7485ae; border-radius: 4px; }
:is(.st-home,.st-shell) .home-navbar-strip > svg { display: block; width: 100%; height: 100%; background: transparent !important; }
:is(.st-home,.st-shell) .navbar_tools.home-navbar-tools { display: flex; align-items: center; flex: 0 0 auto; gap: 12px; min-width: 0; width: auto; max-width: none; margin: 0 0 0 auto; padding-left: 20px; white-space: nowrap; }
:is(.st-home,.st-shell) .home-navbar-tools > div { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 32px; padding: 0; cursor: pointer; }
:is(.st-home,.st-shell) .home-navbar-tools .my-sky-nav { position: relative; top: auto; right: auto; }
:is(.st-home,.st-shell) .home-navbar-tools .my-sky-star { display: flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-width: 36px; height: 40px; margin: 0; padding: 0 6px; appearance: none; border: 0; background: transparent; color: #dce8f9; font-family: inherit; font-size: 29px; line-height: 1; cursor: pointer; }
:is(.st-home,.st-shell) .home-navbar-tools .my-sky-star.is-saved { color: #f4c542; }
:is(.st-home,.st-shell) .home-my-sky-label { font: 500 12px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; }
:is(.st-home,.st-shell) #toggle_theme { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #183453; color: #eaf2ff; font-size: 30px; line-height: 1; }
:is(.st-home,.st-shell) .home-navbar-tools .menu-toggle { display: block; font-size: 28px; line-height: 38px; }
/* SUN_GRADIENT is the original SVG, including time markers and fading type. */
:is(.st-home,.st-shell) .menu-container { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: start; }
:is(.st-home,.st-shell) .main_content_parent { grid-column: 1; grid-row: 1; min-width: 0; padding: 0; }
:is(.st-home,.st-shell) .main_content { display: block; max-width: none; width: 100%; }
:is(.st-home,.st-shell) .menu { grid-column: 2; grid-row: 1; position: sticky; top: var(--home-menu-top,var(--home-navbar-height)); width: 250px; height: auto; overflow: visible; padding: 12px 14px 28px; background: var(--home-nav-paper); border-left: 1px solid var(--home-line); }
:is(.st-home,.st-shell).home-menu-collapsed .menu-container { grid-template-columns: minmax(0, 1fr); }
:is(.st-home,.st-shell).home-menu-collapsed .menu { display: none; }
:is(.st-home,.st-shell) .home-navigation li { display: block; margin: 0; border: 0; text-align: left; }
:is(.st-home,.st-shell) .home-navigation ul { margin: 0; padding: 0; list-style: none; }
:is(.st-home,.st-shell) .home-navigation a { display: block; min-width: 0; min-height: 34px; margin: 0; padding: 7px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--home-ink); font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-align: left; text-decoration: none; overflow-wrap: anywhere; }
:is(.st-home,.st-shell) .home-navigation a:hover, :is(.st-home,.st-shell) .home-navigation summary:hover { color: var(--home-blue); background: #eaf0f9; }
:is(.st-home,.st-shell) .home-navigation a[aria-current="page"] { background: #e4ecfc; color: #164da6; font-weight: 600; }
:is(.st-home,.st-shell) .home-navigation .home-nav-group { margin-top: 16px; }
:is(.st-home,.st-shell) .home-navigation .home-nav-heading { display: block; min-height: 0; margin: 0 0 5px; padding: 0 10px; color: var(--home-ink); font: 700 14px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: 0; }
:is(.st-home,.st-shell) .home-navigation a.home-nav-heading:hover { background: transparent; text-decoration: underline; }
:is(.st-home,.st-shell) .home-navigation > li.home-nav-current > a { min-height: 34px; margin: 8px 0 4px; padding: 7px 10px; border-radius: 8px; background: #e4ecfc; color: #164da6; font-size: 13px; font-weight: 600; }
:is(.st-home,.st-shell) .home-navigation details { margin: 0; }
:is(.st-home,.st-shell) .home-navigation summary { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 7px 10px; border-radius: 7px; color: var(--home-ink); font-size: 13px; line-height: 1.45; cursor: pointer; list-style: none; }
:is(.st-home,.st-shell) .home-navigation summary::-webkit-details-marker { display: none; }
:is(.st-home,.st-shell) .home-navigation summary::marker { content: ''; }
:is(.st-home,.st-shell) .home-navigation summary::after { content: ''; flex: 0 0 6px; width: 6px; height: 6px; margin-left: auto; margin-right: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
:is(.st-home,.st-shell) .home-navigation details[open] > summary::after { transform: rotate(45deg); }
:is(.st-home,.st-shell) .home-navigation summary:has(> a) { padding: 0; }
:is(.st-home,.st-shell) .home-navigation summary > a { flex: 1; }
:is(.st-home,.st-shell) .home-navigation summary:has(> a)::after { margin-right: 13px; }
:is(.st-home,.st-shell) .home-navigation details > ul { margin: 1px 0 5px 12px; }
:is(.st-home,.st-shell) .home-navigation details > ul a { min-height: 30px; padding: 6px 10px 6px 14px; color: #52627b; font-size: 12px; }
:is(.st-home,.st-shell) .home-navigation .home-nav-note { display: block; padding: 7px 14px 2px; color: var(--home-muted); font-size: 11px; font-weight: 600; }
:is(.st-home,.st-shell) .home-navigation .home-nav-footer { margin-top: 20px; }
:is(.st-home,.st-shell) .home-navigation .home-nav-footer a { color: var(--home-muted); font-size: 12px; }
:is(.st-home,.st-shell) .language-menu-item .language-switcher summary { justify-content: flex-end; padding: 8px; background: transparent; color: var(--home-ink); text-align: right; font-size: 13px; }
:is(.st-home,.st-shell) .language-menu-item .language-switcher summary::after { margin-left: 4px; transform: rotate(45deg); }
:is(.st-home,.st-shell) .language-menu-item .language-switcher[open] summary::after { transform: rotate(225deg); }
:is(.st-home,.st-shell) .language-menu-item .language-switcher__menu { z-index: 20; padding: 5px; border: 1px solid var(--home-line); border-radius: 9px; background: var(--home-nav-paper); color: var(--home-ink); box-shadow: 0 8px 24px #132c4920; }
:is(.st-home,.st-shell) .language-switcher__menu a, :is(.st-home,.st-shell) .language-switcher__menu span { display: block; min-height: 34px; padding: 7px 10px; border-radius: 6px; color: var(--home-ink); font-size: 13px; text-align: left; }
:is(.st-home,.st-shell) .language-switcher__menu a:hover { background: #eaf0f9; color: var(--home-blue); }
:is(.st-home,.st-shell) .language-switcher__menu span[aria-current] { background: #e4ecfc; color: #164da6; font-weight: 600; }
.st-home .home-introduction { margin: 0; padding: 20px clamp(24px, 3.4vw, 58px) 0; color: var(--home-ink); text-align: left; }
.st-home .home-introduction h1 { margin: 0 0 8px; color: var(--home-ink); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.st-home .home-introduction h1::after { content: ''; display: block; width: 54px; height: 3px; margin-top: 8px; background: var(--home-blue); }
.st-home .home-slogan { margin: 0; color: var(--home-ink); font-size: 15px; }
.st-home .home-slogan a { color: var(--home-blue); }
.st-home .home-content { padding: 0 clamp(24px, 3.4vw, 58px) 32px; }
:is(.st-home,.st-shell).home-settings-open { overflow: hidden; }
:is(.st-home,.st-shell) .home-location-overlay { position: fixed; inset: 0; z-index: 20000; overflow-y: auto; padding: max(24px,5vh) 20px; background: #05132699; backdrop-filter: blur(3px); }
:is(.st-home,.st-shell) .home-location-dialog { position: relative; width: min(100%,1060px); margin: 0 auto; padding: 30px 36px; border: 1px solid var(--home-line); border-radius: 20px; background: var(--home-paper); box-shadow: 0 24px 80px #04132940; color: var(--home-ink); }
:is(.st-home,.st-shell) .home-location-dialog h2 { margin: 0 38px 14px 0; font-size: clamp(26px,3vw,38px); }
:is(.st-home,.st-shell) .home-location-dialog h2 > span { color: var(--home-blue); margin-right: 12px; }
:is(.st-home,.st-shell) .home-settings-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--home-ink); font-size: 30px; cursor: pointer; }
:is(.st-home,.st-shell) .home-settings-intro { margin: 0 0 24px; font-size: 15px; line-height: 1.6; }
:is(.st-home,.st-shell) .home-location-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: start; gap: 26px; }
:is(.st-home,.st-shell) .home-location-map { position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--home-line); border-radius: 12px; background: #c2e1ed; }
:is(.st-home,.st-shell) .home-location-map canvas { display: block; width: 100%; height: auto; touch-action: none; }
:is(.st-home,.st-shell) .home-map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-100%); pointer-events: none; font-size: 34px; filter: drop-shadow(0 2px 2px #0005); }
:is(.st-home,.st-shell) .home-map-zoom { position: absolute; top: 12px; left: 12px; display: grid; border: 1px solid #9aabbc; border-radius: 6px; overflow: hidden; }
:is(.st-home,.st-shell) .home-map-zoom button { width: 34px; height: 34px; border: 0; background: #fff; color: #101b33; font-size: 24px; line-height: 1; cursor: pointer; }
:is(.st-home,.st-shell) .home-map-zoom button + button { border-top: 1px solid #ccd5e0; }
:is(.st-home,.st-shell) .home-map-attribution { position: absolute; bottom: 0; right: 0; padding: 2px 5px; background: #ffffffdf; color: #15326a; font-size: 10px; }
:is(.st-home,.st-shell) .home-location-details { min-width: 0; padding: 20px; border: 1px solid var(--home-line); border-radius: 14px; background: var(--home-soft); }
:is(.st-home,.st-shell) :is(.home-settings-primary,.home-settings-secondary,.home-settings-cancel) { min-height: 42px; padding: 10px 20px; border: 1px solid transparent; border-radius: 11px; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.4; cursor: pointer; white-space: normal; }
:is(.st-home,.st-shell) .home-settings-primary { background: #1159bb; color: #fff; }
:is(.st-home,.st-shell) .home-settings-primary:hover { background: #0b469b; }
:is(.st-home,.st-shell) .home-settings-primary:disabled { opacity: .6; cursor: wait; }
:is(.st-home,.st-shell) .home-settings-secondary { background: #cfe0ff; color: #123b80; }
:is(.st-home,.st-shell) .home-location-detect { width: 100%; }
:is(.st-home,.st-shell) .home-settings-cancel { border-color: #9baac1; background: var(--home-paper); color: var(--home-ink); }
.st-home .home-map-hint { margin: 12px 0 20px; font-size: 13px; text-align: center; }
.st-home .home-selected-location { display: grid; gap: 4px; margin: 0 0 18px; padding-top: 16px; border-top: 1px solid var(--home-line); }
:is(.st-home,.st-shell) .home-location-fields { display: grid; gap: 14px; margin: 0; }
:is(.st-home,.st-shell) .home-location-fields > div { display: grid; grid-template-columns: minmax(70px,.8fr) minmax(0,1.2fr); align-items: center; gap: 10px; }
:is(.st-home,.st-shell) .home-location-fields dt, :is(.st-home,.st-shell) .home-location-fields dd { margin: 0; padding: 0; font-size: 14px; }
:is(.st-home,.st-shell) .home-location-fields select { width: 100%; min-width: 0; padding: 7px; border: 1px solid #a9b6c9; border-radius: 6px; background: var(--home-paper); color: var(--home-ink); font: inherit; }
.st-home #home-location-status:empty { display: none; }
.st-home #home-location-status { margin: 14px 0 0; font-size: 13px; }
:is(.st-home,.st-shell) .home-settings-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 24px; }
:is(.st-home,.st-shell) .home-time-dialog { width: min(100%,960px); }
:is(.st-home,.st-shell) .home-time-dialog .home-time-heading { padding-right: 24px; }
:is(.st-home,.st-shell) .home-time-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
:is(.st-home,.st-shell) .home-time-heading h2 { margin: 0 0 8px; font-size: clamp(25px,2.6vw,34px); }
:is(.st-home,.st-shell) .home-time-heading p { margin: 0; color: var(--home-muted); font-size: 13px; }
:is(.st-home,.st-shell) .home-time-heading .home-session-date { flex: 0 0 auto; color: var(--home-muted); font-size: 13px; }
:is(.st-home,.st-shell) .home-time-chart-card, :is(.st-home,.st-shell) .home-time-events { padding: 18px; border: 1px solid var(--home-line); border-radius: 15px; background: var(--home-paper); box-shadow: 0 3px 10px #12316b0a; }
:is(.st-home,.st-shell) .home-time-legend { display: flex; justify-content: flex-end; gap: 16px; font-size: 12px; }
:is(.st-home,.st-shell) .home-time-legend span:first-child { color: #ad8200; }
:is(.st-home,.st-shell) .home-time-legend span:last-child { color: #7b8ca7; }
:is(.st-home,.st-shell) .home-time-chart-scroll { overflow-x: auto; }
:is(.st-home,.st-shell) .home-time-chart-scroll > svg { display: block; min-width: 650px; width: 100%; }
.st-home #moon_phase .slider_line { stroke: #3979ff !important; }
.st-home #moon_phase #time_range_svg { touch-action: none; }
.st-home #time_range_svg .chart_text { font-size: 11px; }
:is(.st-home,.st-shell) .home-session-form { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
:is(.st-home,.st-shell) .home-session-summary { display: flex; align-items: center; flex: 1 1 380px; min-width: 0; border-radius: 10px; background: var(--home-soft); }
:is(.st-home,.st-shell) .home-session-label { align-self: stretch; display: flex; align-items: center; padding: 12px 18px; border-radius: 10px; background: #dce8ff; color: #123b80; font-size: 13px; }
:is(.st-home,.st-shell) .home-session-summary label { flex: 1; min-width: 0; padding: 6px 12px; color: var(--home-muted); font-size: 11px; }
:is(.st-home,.st-shell) .home-session-summary label + label { border-left: 1px solid var(--home-line); }
:is(.st-home,.st-shell) .home-session-summary input { display: block; width: 100%; max-width: 90px; padding: 0; border: 0; background: transparent; color: var(--home-ink); font: 700 22px/1.3 var(--home-serif); }
:is(.st-home,.st-shell) .home-session-help { flex: 1 1 240px; margin: 0; font-size: 12px; color: var(--home-muted); }
:is(.st-home,.st-shell) .home-session-status { margin: 12px 0 0; font-size: 12px; color: var(--home-muted); }
:is(.st-home,.st-shell) .home-time-events { margin-top: 18px; }
:is(.st-home,.st-shell) .home-time-events h2 { margin: 0 0 14px; font-size: 24px; text-align: left; }
:is(.st-home,.st-shell) .home-time-events table { width: 100%; border: 0; border-collapse: separate; border-spacing: 0; font-size: 13px; table-layout: fixed; }
:is(.st-home,.st-shell) .home-time-events tr { border: 0; }
:is(.st-home,.st-shell) .home-time-events th, :is(.st-home,.st-shell) .home-time-events td { padding: 10px 12px; border-bottom: 1px solid var(--home-line); text-align: left; vertical-align: middle; }
:is(.st-home,.st-shell) .home-time-events thead th { background: #eaf0fc; color: #29416c; font-size: 12px; font-weight: 600; }
:is(.st-home,.st-shell) .home-time-events thead th:first-child { border-radius: 8px 0 0 8px; }
:is(.st-home,.st-shell) .home-time-events thead th:last-child { border-radius: 0 8px 8px 0; }
:is(.st-home,.st-shell) .home-time-events tbody th { width: 39%; color: var(--home-ink); font-weight: 600; }
:is(.st-home,.st-shell) .home-time-events thead th:first-child { width: 36%; }
:is(.st-home,.st-shell) .home-time-events thead th:nth-child(2) { width: 16%; }
:is(.st-home,.st-shell) .home-time-events tbody th > span:last-child { display: inline; }
:is(.st-home,.st-shell) .home-time-events td:nth-child(2) { width: 74px; white-space: nowrap; font-variant-numeric: tabular-nums; }
:is(.st-home,.st-shell) .home-time-events td:last-child { color: var(--home-muted); font-size: 12px; }
:is(.st-home,.st-shell) .home-event-icon { display: inline-block; width: 20px; margin-right: 8px; color: #4e78cb; font-size: 20px; line-height: 1; text-align: center; vertical-align: middle; }
:is(.st-home,.st-shell) .home-event-icon.sun { color: #e6ab00; }
@media(max-width:700px) {
  :is(.st-home,.st-shell) .home-location-overlay { padding: 12px; }
  :is(.st-home,.st-shell) .home-location-dialog { padding: 22px 18px; }
  :is(.st-home,.st-shell) .home-location-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  :is(.st-home,.st-shell) .home-location-map { max-width: 430px; width: 100%; justify-self: center; }
  :is(.st-home,.st-shell) .home-settings-actions { flex-wrap: wrap; gap: 10px; }
  :is(.st-home,.st-shell) .home-settings-actions button { flex: 1 1 auto; }
  :is(.st-home,.st-shell) .home-time-heading { flex-direction: column; align-items: start; }
  :is(.st-home,.st-shell) .home-time-chart-card, :is(.st-home,.st-shell) .home-time-events { padding: 12px; }
  :is(.st-home,.st-shell) .home-time-chart-scroll > svg { min-width: 0; width: 100%; }
  :is(.st-home,.st-shell) .home-session-summary { flex-wrap: wrap; }
  :is(.st-home,.st-shell) .home-session-label { flex: 1 0 100%; justify-content: center; }
  :is(.st-home,.st-shell) .home-time-events th, :is(.st-home,.st-shell) .home-time-events td { padding: 9px 6px; font-size: 12px; }
  :is(.st-home,.st-shell) .home-time-events tbody th { width: auto; }
  :is(.st-home,.st-shell) .home-event-icon { display: none; }
}
.st-home .home-top-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 26px; padding: 18px 0 20px; }
.st-home .home-top-grid > * { min-width: 0; }
.st-home .home-sky-map { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.st-home .home-map-disc { min-width: 0; }
.st-home .home-map-disc .map_box { min-height: 0; }
.st-home .home-map-disc canvas { display: block; }
.st-home .home-map-copy { min-width: 0; }
.st-home .home-map-copy .info_parent { min-height: 0; background: transparent; }
.st-home .home-map-copy .info_parent > p { margin: 0 0 24px; font-size: 14px; line-height: 1.65; }
.st-home .home-map-copy .info_text { background: transparent; }
.st-home .home-map-copy .info_text:empty { display: none; }
.st-home .home-map-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; max-width: 100%; padding: 10px 20px; border-radius: 24px; background: #13396a; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; text-align: center; }
.st-home .home-map-button:hover { background: #205398; }
.st-home .home-map-button span { font-size: 21px; line-height: 1; }
.st-home .home-map-clock { margin: 24px 0 0; font-family: var(--home-serif); font-style: italic; font-size: 14px; }
.st-home .home-night { padding-left: 26px; border-left: 1px solid var(--home-line); }
.st-home .home-night .home-night-date { margin: 0 0 16px; color: var(--home-ink); font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1.3; }
.st-home .tonight-sun-summary { margin: 0 0 18px; border: 0; overflow: visible; }
.st-home .tonight-sun-summary > div { padding: 12px 6px 0; }
.st-home .tonight-sun-summary > div + div { border-left: 1px solid var(--home-line); }
.st-home .tonight-sun-summary dt { color: var(--home-muted); font-size: 11px; }
.st-home .tonight-sun-summary dt::before { content: '☀'; display: block; margin-bottom: 4px; color: #e7a717; font-size: 27px; line-height: 1; }
.st-home .tonight-sun-summary > div:nth-child(2) dt::before { content: '☾'; color: #6c96ee; }
.st-home .tonight-sun-summary dd { font-size: 15px; }
.st-home .home-moon-layout { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: start; gap: 16px; padding-top: 14px; border-top: 1px solid var(--home-line); }
.st-home .home-moon-image { display: block; overflow: hidden; width: 82px; height: 82px; border-radius: 14px; background: #071326; }
.st-home .home-moon-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-home .tonight-moon-summary { min-width: 0; margin: 0; padding: 0; border: 0; font-size: 13px; }
.st-home .tonight-moon-summary h3 { margin: 0 0 3px; padding: 0; font-size: 15px; line-height: 1.3; }
.st-home .tonight-moon-summary h3 a { text-decoration: none; }
.st-home .tonight-moon-facts { display: grid; gap: 3px; margin: 0; }
.st-home .tonight-moon-facts b { font-size: 14px; line-height: 1.4; }
.st-home .tonight-moonlight-guidance { margin: 7px 0; color: var(--home-muted); line-height: 1.55; }
.st-home .tonight-moon-features { margin: 8px 0 0; font-size: 12px; line-height: 2; }
.st-home .tonight-moon-features a { display: inline; padding: 3px 7px; border: 1px solid var(--home-line); border-radius: 16px; color: var(--home-ink); text-decoration: none; white-space: normal; }
.st-home .home-highlights { padding: 16px 0 8px; border-top: 1px solid var(--home-line); }
.st-home .home-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.st-home .home-section-heading h2 { margin: 0; }
.st-home .home-section-heading h2::after { content: ''; display: block; width: 54px; height: 3px; margin-top: 10px; background: #2460c7; }
.st-home .home-section-heading > a { flex: 0 0 auto; font-size: 12px; font-weight: 600; text-decoration: none; }
.st-home .home-highlight-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
.st-home .home-highlight { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; min-width: 0; padding: 15px 0; border-bottom: 1px solid var(--home-line); }
.st-home .home-highlight-image { display: block; overflow: hidden; height: 88px; border-radius: 10px; background: #071326; }
.st-home .home-highlight-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-home .home-image-unavailable { position: relative; }
.st-home .home-image-unavailable::after { content: '✦'; position: absolute; inset: 0; display: grid; place-items: center; color: #8da5c4; font-size: 28px; }
.st-home .home-highlight-copy { min-width: 0; }
.st-home .home-highlight h3 { margin: 0 0 3px; padding: 0; color: var(--home-ink); font-family: inherit; font-size: 16px; line-height: 1.3; }
.st-home .home-highlight h3 a { color: inherit; border: 0; text-decoration: none; }
.st-home .home-highlight h3 a:hover { color: var(--home-blue); text-decoration: underline; }
.st-home .home-highlight p { margin: 0; font-size: 14px; line-height: 1.55; }
.st-home .home-highlight-copy > p:last-child::first-letter { text-transform: uppercase; }
.st-home .home-highlight p.home-highlight-time { margin: 0 0 4px; color: var(--home-blue); font-size: 12px; font-weight: 600; }
.st-home .home-night-events:empty { display: none; }
.st-home .home-night-events { margin-top: 18px; padding: 0; border: 0; background: transparent; font-size: 14px; }
.home-event-list { display: grid; gap: 16px; margin-bottom: 26px; }
.st-home .home-event-card { display: grid; grid-template-columns: 40px minmax(0,1fr) max-content; align-items: start; gap: 18px; padding: 22px; border: 1px solid #93aff5; border-radius: 18px; background: linear-gradient(115deg,#edf5ff,#e8edff); color: #162540; }
.st-home .home-event-card.is-coming { grid-template-columns: 40px minmax(0,1fr); border-color: #b6a4ef; background: linear-gradient(115deg,#f5f1ff,#eeebff); }
.home-highlight-icon { display: block; padding-top: 6px; color: #2459c9; }
.home-highlight-icon svg { display: block; width: 36px; height: 36px; }
.is-coming .home-highlight-icon { color: #6850bc; }
.home-event-copy { min-width: 0; }
.home-event-badge { display: inline-block; margin-bottom: 5px; padding: 3px 12px; border-radius: 20px; background: #ccdaff; color: #174daf; font-size: 11px; line-height: 1.5; font-weight: 750; text-transform: uppercase; letter-spacing: .02em; }
.is-coming .home-event-badge { background: #dfd5fb; color: #6244ad; }
.home-event-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.st-home .home-event-card h3 { margin: 0; font-family: inherit; font-size: clamp(21px,2vw,25px); font-weight: 700; line-height: 1.3; }
.st-home .home-event-card h3 a { display: inline; padding: 0; border: 0; border-radius: 0; background: transparent; color: #134fbd; text-decoration: underline; text-underline-offset: 3px; }
.st-home .home-event-card p { margin: 7px 0 0; font-size: 15px; line-height: 1.6; }
.home-event-copy > p::first-letter { text-transform: uppercase; }
.home-event-meta { font-size: 14px; line-height: 1.5; }
.home-event-window { position: relative; align-self: center; min-width: 180px; max-width: 300px; margin-left: 18px; padding: 12px 16px; border-radius: 14px; background: #cfdcff85; text-align: center; }
.home-event-window::before { content: ''; position: absolute; top: 5px; bottom: 5px; left: -19px; width: 1px; background: #bac9e5; }
.home-event-window span { display: block; margin-bottom: 4px; font-size: 12px; }
.home-event-window strong { display: block; font-size: 24px; line-height: 1.3; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.home-event-card-iss .home-event-window strong { font-size: 19px; }
.home-night-mode .home-event-card { border-color: #526fa7; background: #16243c; color: var(--home-ink); }
.home-night-mode .home-event-card.is-coming { border-color: #7562a6; background: #27213c; }
.home-night-mode .home-event-card h3 a { color: #a8c5ff; }
.home-night-mode .home-event-window { background: #30486b; }
@media(max-width:700px) {
  .st-home .home-event-card,.st-home .home-event-card.is-coming { grid-template-columns: 30px minmax(0,1fr); gap: 12px; padding: 16px; }
  .home-highlight-icon svg { width: 30px; height: 30px; }
  .home-event-window { grid-column: 2; width: fit-content; min-width: 0; max-width: 100%; margin: 0; padding: 10px 14px; }
  .home-event-window::before { display: none; }
  .home-event-window strong { font-size: 22px; }
  .st-home .home-event-card p { font-size: 14px; }
}
.st-home .home-sky-detail { padding: 32px 0; }
.st-home .home-constellations { margin-top: 22px; padding: 18px 0 4px; border-top: 1px solid var(--home-line); }
.st-home .home-constellations:empty { display: none; }
.st-home .home-constellations h3 { margin: 0 0 12px; padding: 0; color: var(--home-ink); font-size: 18px; }
.st-home .home-constellations p { font-size: 14px; line-height: 1.7; }
.st-home .home-constellations .home-highlight h4 { margin: 0 0 5px; padding: 0; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.3; }
.st-home .home-highlight h4 a { color: var(--home-ink); text-decoration: none; border: 0; }
.st-home .home-highlight-copy > p .qc { padding: 1px 5px; border: 1px solid var(--home-line); border-radius: 5px; background: transparent; text-decoration: none; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.st-home .home-constellations .home-highlight p { font-size: 14px; line-height: 1.55; }
.st-home .home-sky-detail .tonight-summary-image { max-width: 100%; margin: 16px 0; }
.st-home .home-more-content { display: flow-root; border-top: 1px solid var(--home-line); padding-top: 24px; }
.st-home .home-more-content .section { border: 0; border-radius: 0; padding: 20px 0; background: transparent; }
.st-home :is(.home-more-content .object_card, .home-object-card) { box-shadow: none; border: 1px solid var(--home-line); border-radius: 10px; }
.st-home .home-more-content h2 { font-size: 25px; }
.st-home .home-more-content h2 { margin: 10px 0 14px; font-family: inherit; font-size: 28px; font-weight: 750; line-height: 1.2; text-align: left; }
.st-home .home-more-content h2::after { content: ''; display: block; width: 62px; height: 4px; margin-top: 9px; border-radius: 4px; background: #2462ed; }
.st-home .home-more-content h2 a { color: var(--home-ink); }
.st-home .home-section-more { display: flex; align-items: center; justify-content: center; gap: 16px; clear: both; width: 100%; min-height: 54px; margin: 18px 0 4px; padding: 12px 20px; border: 1px solid transparent; border-radius: 16px; background: #e9f0ff; color: #15326a; font-size: 14px; line-height: 1.5; text-align: center; text-decoration: none; }
.st-home .home-section-more:hover { background: #dce8ff; border-color: #b9cef4; }
.st-home .home-section-more b { color: #0757d8; text-decoration: underline; text-underline-offset: 3px; }
.st-home .home-section-more-icon { flex: 0 0 25px; color: #0757d8; font-size: 25px; line-height: 1; }
.st-home .home-section-more-arrow { flex: 0 0 24px; color: #0757d8; font-size: 24px; line-height: 1; }
.st-home .home-section-more > span:nth-child(2) { min-width: 0; }
.st-home .home-more-content .object_cards_container { display: flow-root; text-align: left; }
.st-home .home-more-content .section { display: flow-root; }
.st-home .home-data-grid,
.st-home .home-more-content .object_cards_container:not(:has(.home-data-grid)) { display: grid; grid-template-columns: repeat(auto-fill,min(100%,400px)); justify-content: center; gap: 14px; clear: both; margin: 12px 0 18px; text-align: left; }
.st-home .home-more-content .object_cards_container:not(:has(.home-data-grid)) > :not(.object_card) { grid-column: 1 / -1; }
.st-home :is(.home-more-content .object_card, .home-object-card) { width: 100%; height: auto; min-height: 0; margin: 0; padding: 16px; overflow: visible; border: 1px solid var(--home-line); border-radius: 16px; background: linear-gradient(145deg, #fff, #f8faff); box-shadow: 0 2px 5px #10294c0d, 0 9px 20px #10294c05; }
.st-home :is(.home-more-content .object_card, .home-object-card):hover { border-color: #b2c6e8; box-shadow: 0 5px 18px #10294c12; }
.st-home .home-more-content .object_card h2 { margin: 0 0 8px; font-size: 20px; }
.st-home .home-more-content .object_card h2::after { display: none; }
.st-home .home-object-card { display: flex; flex-direction: column; container-type: inline-size; }
.st-home .home-object-layout { display: grid; flex: 1; min-width: 0; align-items: start; grid-template-columns: minmax(0,1.1fr) minmax(0,.85fr) minmax(132px,1fr); grid-template-areas: 'title title title' 'badge badge badge' 'portrait map metrics' 'description description description' 'footer footer footer'; grid-template-rows: auto minmax(25px,auto) minmax(136px,auto) 1fr auto; gap: 6px 12px; }
.st-home .home-card-top { display: contents; }
.st-home .home-card-portrait { grid-area: portrait; display: block; min-width: 0; width: 100%; max-width: 154px; align-self: center; justify-self: center; text-decoration: none; }
.st-home .home-card-portrait img, .st-home .home-card-portrait svg { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.st-home .home-card-title { grid-area: title; margin: 0; padding: 0; min-width: 0; color: var(--home-ink); font-family: inherit; font-size: 25px; font-weight: 750; line-height: 1.1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.st-home .home-card-title a { color: inherit; text-decoration: none; }
.st-home .home-card-rank { display: inline-block; margin-right: 9px; padding: 4px 7px; border-radius: 7px; background: var(--home-soft); color: var(--home-blue); font: 600 13px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; vertical-align: middle; letter-spacing: 0; }
.st-home .home-card-status { grid-area: badge; justify-self: start; max-width: 100%; padding: 4px 12px; border-radius: 16px; background: #dce9ff; color: #15326a; font-size: 12px; font-weight: 600; line-height: 1.35; }
.st-home .home-card-status:empty { display: none; }
.st-home .home-card-status .text3 { font-size: inherit; }
.st-home .home-dso-icon { display: inline-block; margin-right: 6px; vertical-align: -3px; }
.st-home .home-card-status.home-card-visibility { display: grid; grid-template-columns: 18px minmax(0,1fr); align-items: start; gap: 0 8px; padding: 0; border-radius: 0; background: transparent; color: #0757d8; font-size: 14px; font-weight: 500; line-height: 1.5; }
.st-home .home-card-visibility > svg { margin-top: 2px; }
.st-home .home-card-visibility-copy { min-width: 0; }
.st-home .home-card-visibility-time { display: inline-block; margin-left: 4px; color: var(--home-muted); font-size: 13px; font-weight: 400; white-space: nowrap; }
.st-home .home-card-map { grid-area: map; display: block; width: 104px; max-width: 100%; align-self: center; justify-self: center; }
.st-home .home-card-map canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; }
.st-home .home-approach-card .home-card-map svg { display: block; max-width: 100%; height: auto; }
.st-home .home-card-metrics { grid-area: metrics; display: flex; flex-direction: column; align-self: center; min-height: 100px; gap: 3px; margin: 0; padding-left: 10px; border-left: 1px solid var(--home-line); font-size: 12px; line-height: 24px; font-variant-numeric: tabular-nums; }
.st-home .home-card-time-range { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.st-home .home-card-rise-set-times { display: inline-flex; align-items: center; gap: 4px; }
.st-home .home-card-rise-state { white-space: normal; line-height: 1.4; }
#qc-box:has(.dashboard-quick-card) { left: 50% !important; bottom: 12px !important; transform: translateX(-50%); width: min(400px,calc(100vw - 24px)); height: auto; min-height: 0; max-height: calc(100dvh - 24px); overflow-y: auto; border-radius: 16px; box-shadow: 0 8px 40px #07162d40; z-index: 21000; }
#qc-box .dashboard-quick-card { position: relative; padding: 0; border-radius: 16px; }
#qc-box .dashboard-quick-card .home-more-content { padding: 0; border: 0; }
#qc-box .dashboard-quick-card .object_card { margin: 0; box-shadow: none; }
#qc-box .dashboard-quick-card .home-card-title { padding-right: 32px; }
#qc-box .dashboard-quick-card .home-settings-close { top: 8px; right: 8px; z-index: 1; }
.st-home .home-card-extra-metrics { display: flex; flex-direction: column; gap: 2px; }
.st-home .home-card-extra-metrics > span { white-space: nowrap; }
.st-home .home-card-peak-time { margin-left: 4px; color: var(--home-muted); font-weight: 400; }
.st-home .home-card-metrics [aria-hidden] { margin-right: 2px; font-size: 16px; }
.st-home .home-card-description { grid-area: description; min-width: 0; margin: 0 0 4px; color: var(--home-ink); font-size: 14px; line-height: 1.5; overflow: visible !important; overflow-wrap: anywhere; }
/* Legacy descriptions carry size utilities; typography belongs to the shared card. */
.st-home .home-card-description :is(.text1, .text2, .text3, .text35, .text4, .text5) { font-size: inherit; line-height: inherit; }
.st-home .home-card-description .qc { border: 0; padding: 1px 5px; border-radius: 5px; background: #e8f0ff; text-decoration: none; }
.st-home .home-card-more { grid-area: footer; display: flex; align-self: end; align-items: center; justify-self: stretch; justify-content: space-between; gap: 12px; width: 100%; max-width: 100%; min-height: 38px; margin: 4px 0 0; padding: 8px 16px; border-radius: 24px; background: #e1eaff; color: #0757d8; font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.st-home .home-card-more:hover { background: #d1dfff; }
.st-home .home-card-more span { font-size: 21px; }
/* Shared sizing and responsive layout for every detailed homepage card. */
.st-catalog .home-introduction h1 { max-width: 1050px; font-size: clamp(29px,3vw,40px); }
.st-catalog .breadcrumbs { padding: 10px clamp(20px,3.4vw,58px); color: var(--home-muted); font-size: 12px; }
.st-catalog .breadcrumbs .separator { display: inline-flex; align-items: center; margin-inline: 8px; vertical-align: middle; }
.st-catalog .catalog-circular-panel { margin-top: 20px; padding: 22px; border: 1px solid var(--home-line); border-radius: 18px; background: var(--home-paper); }
.st-catalog .catalog-circular-panel .home-sky-map { grid-template-columns: minmax(170px,300px) minmax(0,1fr); max-width: 850px; gap: 24px; margin: 0 auto; text-align: left; }
.st-catalog .catalog-circular-panel .home-map-disc { width: 100%; max-width: 300px; }
.st-catalog .brightest-overview { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: 26px; }
.st-catalog .brightest-overview .home-sky-map { grid-template-columns: minmax(140px,1fr) minmax(0,.9fr); gap: 18px; }
.st-catalog .brightest-overview .brightest-feature { width: 100%; margin: 0; }
@media(max-width:1200px) {
  .st-catalog .brightest-overview { grid-template-columns: minmax(0,1fr); }
  .st-catalog .brightest-overview .home-sky-map { grid-template-columns: minmax(170px,280px) minmax(0,1fr); }
}
@media(max-width:620px) {
  .st-catalog .catalog-circular-panel { padding: 16px; }
  .st-catalog .catalog-circular-panel .home-sky-map { grid-template-columns: minmax(0,1fr); text-align: center; }
  .st-catalog .catalog-circular-panel .home-map-disc { justify-self: center; }
}
.st-catalog .catalog-intro, .st-catalog .brightest-intro { max-width: 1050px; color: var(--home-muted); font-size: 14px; line-height: 1.65; }
.st-catalog .brightest-intro p, .st-catalog .catalog-intro p { margin: 8px 0; }
.st-catalog .catalog-panorama { padding: 20px 0 24px; }
.st-catalog .catalog-panorama .tonight-summary-image { width: min(100%,1000px); max-width: 1000px; margin: 0 auto; }
.st-catalog .catalog-panorama .tonight-summary-image img { display: block; width: 100%; height: auto; border-radius: 15px; }
.st-catalog .catalog-summary { margin: 0 0 22px; padding: 20px 24px; border: 1px solid var(--home-line); border-radius: 16px; background: var(--home-soft); }
.st-catalog .catalog-summary h2 { margin: 0 0 10px; font-size: 25px; text-align: left; }
.st-catalog .catalog-summary p { margin: 8px 0; font-size: 14px; }
.st-catalog .planets-summary-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 8px 24px; margin: 12px 0 0; padding-left: 20px; font-size: 14px; }
.st-planets .planets-overview { max-width: 1000px; margin: 0 auto 22px; padding: 24px; border-radius: 18px; background: var(--home-soft); }
.st-planets .planets-overview h2 { text-align: left; font-size: 23px; }
.st-planets .planets-overview .planets-summary-details { line-height: 1.7; }
.st-planets .planets-overview .qc { display: inline; padding: 0; border: 0; background: transparent; text-decoration: none; }
.st-planets .planets-overview a.qc:hover { text-decoration: underline; }
@media(max-width:620px) {
  .st-planets .planets-overview { padding: 16px; }
}
.st-catalog .catalog-observing-note { color: var(--home-muted); font-size: 14px; }
.st-catalog .brightest-ranking-time { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 6px 12px; border-radius: 20px; background: var(--home-soft); color: var(--home-blue); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-catalog .brightest-feature { display: grid; grid-template-columns: 110px minmax(0,1fr); align-items: center; gap: 22px; width: min(100%,680px); margin: 22px auto 0; padding: 22px; border: 1px solid var(--home-line); border-radius: 18px; background: linear-gradient(120deg,var(--home-soft),var(--home-paper)); }
.st-catalog .brightest-feature .brightest-feature-image { width: 110px; height: 110px; border-radius: 16px; }
.st-catalog .brightest-feature img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-catalog .brightest-feature-copy { min-width: 0; }
.st-catalog .brightest-feature-copy > p { margin: 4px 0; font-size: 14px; line-height: 1.5; }
.st-catalog .brightest-feature-copy > .brightest-feature-label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--home-blue); font-size: 13px; font-weight: 600; }
.st-catalog .brightest-feature-label svg { flex: 0 0 18px; color: #eab62d; }
.st-catalog .brightest-feature h2 { margin: 0 0 7px; color: var(--home-ink); font-size: 28px; text-align: left; }
.st-catalog .brightest-feature h2 a { color: inherit; text-decoration: none; }
@media(max-width:420px) {
  .st-catalog .brightest-feature { grid-template-columns: 76px minmax(0,1fr); gap: 14px; padding: 15px; }
  .st-catalog .brightest-feature .brightest-feature-image { width: 76px; height: 76px; border-radius: 12px; }
  .st-catalog .brightest-feature h2 { font-size: 24px; }
  .st-catalog .brightest-feature-copy > p { font-size: 13px; }
}
.st-catalog .catalog-credits { margin-top: 24px; color: var(--home-muted); font-size: 12px; }
.st-catalog .home-more-content > section + section { margin-top: 28px; }
.st-catalog .home-more-content { padding-top: 18px; }
@media(max-width:620px) {
  .st-catalog .catalog-panorama { padding: 16px 0 18px; }
  .st-catalog .catalog-summary { padding: 16px; }
  .st-catalog .home-section-heading { flex-direction: row; align-items: center; }
}
.st-home .home-data-grid { grid-template-columns: repeat(auto-fill,min(100%,400px)); gap: 18px; }
@container (min-width: 341px) {
  .st-home .home-milky-way-card .home-card-portrait img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
}
@container (max-width: 340px) {
  .st-home .home-object-card .home-object-layout { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: 'title title' 'badge badge' 'portrait map' 'metrics metrics' 'description description' 'footer footer'; grid-template-rows: auto auto 128px auto 1fr auto; }
  .st-home .home-object-card .home-card-portrait { width: 128px; max-width: 100%; justify-self: end; }
  .st-home .home-object-card .home-card-map { width: 96px; justify-self: start; }
  .st-home .home-object-card .home-card-metrics { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 5px 14px; min-height: 0; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--home-line); }
  .st-home .home-object-card .home-card-extra-metrics { flex-direction: row; gap: 12px; }
}
.st-home .home-more-content .object_card:not(.home-object-card) [class*='col-'] { max-width: 100%; }
.st-home .home-more-content .object_card:not(.home-object-card) img { max-width: 100%; height: auto; }
.st-home.home-night-mode :is(.home-more-content .object_card, .home-object-card) { background-image: none; }
@media (max-width: 620px) {
  .st-home .home-more-content h2 { font-size: 25px; }
  .st-home :is(.home-more-content .object_card, .home-object-card) { padding: 14px; border-radius: 14px; }
}
:is(.st-home,.st-shell).home-night-mode { --home-ink: #c4161c; --home-muted: #a11318; --home-line: #542026; --home-blue: #c4161c; --home-paper: #0b0b0b; --home-nav-paper: #0b0b0b; --home-soft: #160b0b; }
.st-home.home-night-mode .home-introduction { background-image: none; }
.st-home.home-night-mode .home-map-button { border: 1px solid var(--home-line); }
@media (min-width: 1600px) {
  .st-home .home-content { max-width: 1540px; margin: 0 auto; }
  .st-home .home-top-grid { padding: 24px 0; gap: 36px; }
  .st-home .home-sky-map { gap: 30px; }
}
@media (max-width: 1199px) {
  .st-home .home-top-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .st-home .home-sky-map { grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr); max-width: 720px; }
  .st-home .home-map-disc { max-width: 280px; }
  .st-home .home-night { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--home-line); }
  .st-home .home-moon-layout { grid-template-columns: 96px minmax(0, 1fr); }
  .st-home .home-moon-image { width: 96px; height: 96px; }
  .st-home .home-highlight-list { column-gap: 22px; }
  .st-home .home-highlight { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
  .st-home .home-highlight-image { height: 80px; }
}
@media (max-width: 992px) {
  :is(.st-home,.st-shell) .menu-container { display: block; }
  :is(.st-home,.st-shell) .menu { display: none; position: fixed; z-index: 10020; top: var(--home-navbar-height); right: 0; width: min(250px, 88vw); height: calc(100dvh - var(--home-navbar-height)); overflow-y: auto; scrollbar-width: none; box-shadow: -12px 20px 40px #06172e26; }
  :is(.st-home,.st-shell) .menu::-webkit-scrollbar { display: none; }
  :is(.st-home,.st-shell).home-menu-open .menu { display: block !important; }
  .st-home .home-top-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
  .st-home .home-sky-map { grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: center; }
  .st-home .home-map-disc { width: min(100%, 270px); margin: 0 auto; }
  .st-home .home-map-copy .info_parent > p { margin-bottom: 14px; }
  .st-home .home-map-clock { margin-top: 14px; }
  .st-home .home-night { border-top: 0; border-left: 1px solid var(--home-line); padding: 0 0 0 24px; }
  .st-home .home-moon-layout { grid-template-columns: 70px minmax(0, 1fr); gap: 12px; }
  .st-home .home-moon-image { width: 70px; height: 70px; }
}
@media (min-width: 621px) and (max-width: 992px) {
  :is(.st-home,.st-shell).home-menu-open .menu-container { display: grid; grid-template-columns: minmax(0, 1fr) 250px; }
  :is(.st-home,.st-shell).home-menu-open .menu { position: sticky; top: var(--home-menu-top,var(--home-navbar-height)); width: 250px; height: auto; overflow: visible; box-shadow: none; }
  .st-home.home-menu-open .home-top-grid { grid-template-columns: minmax(0, 1fr); }
  .st-home.home-menu-open .home-night { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--home-line); }
}
@media (min-width: 768px) and (max-width: 1100px) {
  :is(.st-home,.st-shell) .navbar_logo { padding-inline: 16px; font-size: 24px; }
  :is(.st-home,.st-shell) .home-navbar-location, :is(.st-home,.st-shell) .home-navbar-night { gap: 8px; padding-inline: 12px; }
  :is(.st-home,.st-shell) .home-navbar-coordinates { white-space: normal; }
  :is(.st-home,.st-shell) .home-my-sky-label { display: none; }
  :is(.st-home,.st-shell) .navbar_tools.home-navbar-tools { gap: 6px; padding-left: 12px; }
}
@media (max-width: 767px) {
  :is(.st-home,.st-shell) { --home-navbar-height: 48px; }
  :is(.st-home,.st-shell) .navbar_fixed { padding-right: 4px !important; }
  :is(.st-home,.st-shell) .home-navbar-brand { display: none; }
  :is(.st-home,.st-shell) .home-navbar-location { flex: 0 1 auto; gap: 5px; padding: 0 6px; }
  :is(.st-home,.st-shell) .home-navbar-globe { flex-basis: 26px; width: 26px; height: 26px; }
  :is(.st-home,.st-shell) .nav_location { font-size: 11px; line-height: 1.4; }
  :is(.st-home,.st-shell) .home-navbar-coordinates { font-size: clamp(8px,1.6vw,10px); white-space: normal; }
  :is(.st-home,.st-shell) .home-navbar-night { flex: 0 0 auto; padding: 0 6px; }
  :is(.st-home,.st-shell) .home-navbar-moon, :is(.st-home,.st-shell) .home-my-sky-label { display: none; }
  :is(.st-home,.st-shell) .home-navbar-gradient { width: 100px; flex-basis: 100px; }
  :is(.st-home,.st-shell) .home-navbar-phase { font-size: 10px; margin-bottom: 3px; }
  :is(.st-home,.st-shell) .home-navbar-session { font-size: 10px; margin-top: 3px; }
  :is(.st-home,.st-shell) .navbar_tools.home-navbar-tools { gap: 0; padding-left: 2px; }
  :is(.st-home,.st-shell) .home-navbar-tools > div { min-width: 28px; width: 28px; }
  :is(.st-home,.st-shell) .home-navbar-tools .my-sky-star { min-width: 28px; width: 28px; padding: 0; font-size: 25px; }
  :is(.st-home,.st-shell) #toggle_theme { width: 26px; height: 30px; font-size: 25px; }
  :is(.st-home,.st-shell) .home-navbar-tools .menu-toggle { font-size: 25px; }
}
@media (max-width: 620px) {
  .st-home .home-introduction { padding: 18px 20px 0; }
  .st-home .home-introduction h1 { font-size: 30px; }
  .st-home .home-slogan { max-width: 290px; font-size: 15px; }
  .st-home .home-content { padding-inline: 20px; }
  .st-home .home-top-grid { grid-template-columns: minmax(0, 1fr); padding: 14px 0 16px; }
  .st-home .home-highlights { padding-top: 12px; }
  .st-home .home-sky-map { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .st-home .home-map-disc { width: min(100%, 290px); }
  .st-home .home-map-copy h2 { margin-bottom: 10px; }
  .st-home .home-map-copy .info_parent > p { max-width: 390px; margin-inline: auto; }
  .st-home .home-night { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--home-line); }
  .st-home .home-moon-layout { grid-template-columns: 80px minmax(0, 1fr); }
  .st-home .home-moon-image { width: 80px; height: 80px; }
  .st-home .tonight-moon-summary { font-size: 13px; }
  .st-home .home-section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .st-home .home-section-heading > a { align-self: flex-end; }
  .st-home .home-highlight-list { grid-template-columns: minmax(0, 1fr); }
  .st-home .home-highlight { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .st-home .home-highlight-image { height: 88px; }
  .st-home .home-highlight h3 { font-size: 15px; }
  .st-home .home-highlight p { font-size: 13px; }
  .st-home .home-highlight p.home-highlight-time { font-size: 12px; }
}
