/* FILUXIA home: responsive rhythm, readable controls and accessible navigation. */
html body.fi-home-flow-v71049 {
  --fi-home-space: clamp(40px, 5vw, 68px);
}
body.fi-home-flow-v71049 :is(a, button, input, select, summary):focus-visible {
  outline: 2px solid #e7c58f !important;
  outline-offset: 4px;
}
body.fi-home-flow-v71049 main > section[id] {
  scroll-margin-top: calc(var(--fi-nav-h, 82px) + 20px);
}
body.fi-home-flow-v71049 .hero h1 {
  text-wrap: initial !important;
}
body.fi-home-flow-v71049 .v78-path-card {
  transition: border-color .18s ease, background-color .18s ease;
}
body.fi-home-flow-v71049 .v78-path-card:hover {
  border-color: rgba(220, 184, 237, .5);
  background-color: rgba(47, 24, 61, .75);
}
body.fi-home-flow-v71049 .fi-firstlook-field,
body.fi-home-flow-v71049 .fi-firstlook-field input {
  min-width: 0 !important;
}
body.fi-home-flow-v71049 .fi-firstlook-field input {
  font-size: 16px !important;
  color-scheme: dark;
}
body.fi-home-flow-v71049 .fi-firstlook-field input:focus-visible {
  outline-offset: 2px;
}
body.fi-home-flow-v71049 .fi-global-menu-button[aria-expanded="true"] {
  background: var(--fi-nav-hover);
}
@media (min-width: 1021px) {
  body.fi-home-flow-v71049 .hero {
    min-height: clamp(570px, 72vh, 730px) !important;
  }
  body.fi-home-flow-v71049 .v78-path-card {
    min-height: 96px !important;
    padding: 18px !important;
  }
}
@media (max-width: 1020px) {
  body.fi-home-flow-v71049 .fi-global-nav {
    max-height: calc(100dvh - var(--fi-nav-h, 72px)) !important;
    overscroll-behavior: contain;
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }
  /* A focused trigger must still be able to close its own submenu. */
  body.fi-home-flow-v71049 .fi-global-nav-item:not(.is-open) > .fi-global-dropdown {
    display: none !important;
  }
  body.fi-home-flow-v71049 .fi-global-nav-trigger,
  body.fi-home-flow-v71049 .fi-global-nav > a {
    min-height: 48px !important;
  }
  body.fi-home-flow-v71049 .fi-global-dropdown a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}
@media (max-width: 700px) {
  html body.fi-home-flow-v71049 .shell {
    width: calc(100% - 36px) !important;
  }
  html body.fi-home-flow-v71049 .hero {
    width: 100% !important;
    min-height: 0 !important;
    padding: 56px 20px 32px !important;
    margin-bottom: 0 !important;
  }
  html body.fi-home-flow-v71049 .hero h1 {
    font-size: clamp(36px, 10.7vw, 49px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
  }
  html body.fi-home-flow-v71049 .hero h1 em {
    font-size: clamp(30px, 9.5vw, 44px) !important;
    line-height: 1.1 !important;
    margin-top: 6px !important;
  }
  html body.fi-home-flow-v71049 .hero .eyebrow {
    font-size: 11px !important;
    margin-bottom: 16px !important;
  }
  html body.fi-home-flow-v71049 .hero-description {
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin-top: 20px !important;
    max-width: 38ch !important;
  }
  html body.fi-home-flow-v71049 .hero .hero-art {
    height: clamp(210px, 61vw, 280px) !important;
    min-height: 0 !important;
    max-height: 280px !important;
    aspect-ratio: auto !important;
    margin: 16px 0 20px !important;
  }
  html body.fi-home-flow-v71049 .hero .fi-floating-saturn-stage {
    height: 100% !important;
    min-height: 0 !important;
    transform: none !important;
  }
  html body.fi-home-flow-v71049 .v78-hero-paths {
    gap: 12px !important;
    margin: 0 !important;
  }
  html body.fi-home-flow-v71049 .v78-path-card {
    min-height: 76px !important;
    padding: 14px 16px !important;
    align-items: center !important;
    grid-template-columns: 40px minmax(0,1fr) 20px !important;
  }
  html body.fi-home-flow-v71049 .v78-path-card > span:not(.v78-path-icon):not(.v78-path-arrow) {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  html body.fi-home-flow-v71049 .v78-path-card strong {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
  html body.fi-home-flow-v71049 .v78-path-card small {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
  html body.fi-home-flow-v71049 main > section:not(.hero):not(.fi-firstlook) {
    margin-top: var(--fi-home-space) !important;
  }
  html body.fi-home-flow-v71049 .fi-firstlook {
    padding-inline: 18px !important;
    margin: 16px auto 32px !important;
  }
  html body.fi-home-flow-v71049 .fi-firstlook-shell {
    padding: 24px 18px !important;
  }
  html body.fi-home-flow-v71049 .fi-firstlook-intro h2 {
    font-size: clamp(32px, 9vw, 42px) !important;
    line-height: 1.1 !important;
  }
  html body.fi-home-flow-v71049 .fi-firstlook-form {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  html body.fi-home-flow-v71049 .fi-firstlook-field--wide {
    grid-column: auto !important;
  }
  html body.fi-home-flow-v71049 .fi-firstlook-field label {
    font-size: 12px !important;
    letter-spacing: .08em !important;
  }
  html body.fi-home-flow-v71049 .fi-firstlook-actions {
    grid-column: auto !important;
  }
  html body.fi-home-flow-v71049 .fi-firstlook-submit {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 52px !important;
    border-color: #c79a52 !important;
    background: linear-gradient(180deg, #e4c98a, #c79a52) !important;
    color: #1c1124 !important;
  }
  html body.fi-home-flow-v71049 :is(.calendar-filters button:empty, .equipment-filter button:empty) {
    display: none !important;
  }
  html body.fi-home-flow-v71049 .radar-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 6px !important;
    border-bottom: 0 !important;
  }
  html body.fi-home-flow-v71049 .radar-tabs button {
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(224, 195, 239, .2) !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    flex: 1 1 auto;
  }
  html body.fi-home-flow-v71049 .radar-tabs button[aria-selected="true"] {
    background: rgba(165, 113, 186, .2) !important;
    border-color: #bfa0cc !important;
    color: #f5eafb !important;
  }
  html body.fi-home-flow-v71049 .radar-tabs button::after {
    display: none !important;
  }
  html body.fi-home-flow-v71049 .radar-head h3 {
    font-size: clamp(25px, 7vw, 31px) !important;
    line-height: 1.18 !important;
  }
  html body.fi-home-flow-v71049 :is(.calendar-filters button, .equipment-filter button) {
    min-height: 44px !important;
  }
  html body.fi-home-flow-v71049 .sky-time-toolbar input {
    min-width: 0;
    font-size: 16px !important;
  }
  html body.fi-home-flow-v71049 .fi-guide-strip {
    flex-wrap: wrap !important;
    gap: 16px !important;
  }
  html body.fi-home-flow-v71049 .footer-bottom {
    gap: 12px !important;
    line-height: 1.6 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body.fi-home-flow-v71049 .v78-path-card { transition: none !important; }
}

/* A short overview stays visible; the full tools are opened on demand. */
html body.fi-home-flow-v71049 .home-sky-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 24px;
}
html body.fi-home-flow-v71049 .home-sky-overview .sky-metrics {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: 0 !important;
}
html body.fi-home-flow-v71049 .home-sky-overview .sky-insight {
  margin: 0 !important;
  height: auto !important;
}
html body.fi-home-flow-v71049 .home-disclosure {
  border: 1px solid rgba(224, 195, 239, .24);
  border-radius: 18px;
  background: rgba(22, 12, 31, .82);
  margin-top: 20px;
  min-width: 0;
}
html body.fi-home-flow-v71049 .home-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  min-height: 64px;
  list-style: none;
  cursor: pointer;
  font: 600 16px/1.4 var(--font);
  color: #f5eafb;
  border-radius: 18px;
}
.home-disclosure > summary::-webkit-details-marker { display: none; }
.home-disclosure > summary small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 400;
  color: #c7b7d0;
}
.home-disclosure > summary:hover { background: rgba(130, 82, 153, .13); }
.home-disclosure-icon { font: 28px/1 sans-serif; flex-shrink: 0; }
.home-disclosure[open] > summary .home-disclosure-icon { transform: rotate(45deg); }
.home-disclosure-hide { display: none; }
.home-disclosure[open] > summary .home-disclosure-hide { display: inline; }
.home-disclosure[open] > summary .home-disclosure-show { display: none; }
html body.fi-home-flow-v71049 .home-disclosure-content {
  padding: 0 22px 22px;
  min-width: 0;
}
html body.fi-home-flow-v71049 .home-disclosure:not([open]) > .home-disclosure-content {
  display: none !important;
}
html body.fi-home-flow-v71049 .home-disclosure-content > .sky-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  margin-top: 24px;
}
html body.fi-home-flow-v71049 #gozlem > .observatory-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}
html body.fi-home-flow-v71049 .home-targets-more {
  grid-column: 1 / -1;
  margin-top: 4px;
}
html body.fi-home-flow-v71049 .home-targets-more > summary { padding: 14px 16px; }
html body.fi-home-flow-v71049 .home-targets-more .home-disclosure-content { padding: 0 10px 10px; }
html body.fi-home-flow-v71049 #home-observation-details .night-plan-card { min-height: 0 !important; }
@media (max-width: 760px) {
  html body.fi-home-flow-v71049 .hero-copy { display: flex !important; flex-direction: column; }
  html body.fi-home-flow-v71049 .hero-copy > .fi-home-secondary-link { order: 1; margin: 10px 0 16px !important; }
  html body.fi-home-flow-v71049 .hero-copy > .v78-hero-paths { order: 2; margin-top: 0 !important; }
  html body.fi-home-flow-v71049 .hero-copy > .hero-art { order: 3; }
}
@media (max-width: 700px) {
  html body.fi-home-flow-v71049 .home-sky-overview { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  html body.fi-home-flow-v71049 .home-sky-overview .sky-metrics article { min-width: 0; padding: 14px !important; }
  html body.fi-home-flow-v71049 .home-sky-overview .sky-metrics article h3 { font-size: 23px !important; }
  html body.fi-home-flow-v71049 .home-disclosure > summary { padding: 16px; font-size: 15px; }
  html body.fi-home-flow-v71049 .home-disclosure-content { padding: 0 12px 16px; }
}

/* Okunur butonlar: gri cam kart + soluk yazı kalksın */
html body.fi-home-flow-v71049 .v78-path-card {
  background: linear-gradient(180deg, #e8d19a, #c79a52) !important;
  border: 1px solid #c79a52 !important;
  color: #140d1c !important;
}
html body.fi-home-flow-v71049 .v78-path-card:hover {
  background: #f0dcab !important;
  border-color: #e4c98a !important;
}
html body.fi-home-flow-v71049 .v78-path-card :is(strong, small, .v78-path-icon, .v78-path-arrow) {
  color: #140d1c !important;
}
html body.fi-home-flow-v71049 .v78-path-icon {
  border-color: rgba(20, 13, 28, .28) !important;
  background: rgba(255, 249, 240, .45) !important;
}
html body.fi-home-flow-v71049 :is(.button.primary, a.button.primary, .fi-product-web-link, .fi-firstlook-submit, .fi-firstlook-cta) {
  background: linear-gradient(180deg, #e4c98a, #c79a52) !important;
  color: #140d1c !important;
  border-color: #c79a52 !important;
}
html body.fi-home-flow-v71049 :is(.button.primary, a.button.primary, .fi-product-web-link, .fi-firstlook-submit, .v78-path-card) :is(span, strong, small, em) {
  color: #140d1c !important;
}
html body.fi-home-flow-v71049 :is(.button.outline, a.text-link, .fi-home-secondary-link) {
  color: #f4edf5 !important;
}
html body.fi-home-flow-v71049 .fi-home-secondary-link {
  display: inline-block !important;
  margin: 14px 0 18px !important;
  position: relative !important;
  z-index: 2 !important;
}
html body.fi-home-flow-v71049 .calendar-filters button {
  color: #f4edf5 !important;
  border-color: rgba(216, 183, 124, .45) !important;
  background: #211629 !important;
}
html body.fi-home-flow-v71049 .calendar-filters button:is([aria-pressed="true"], .is-active, :first-child) {
  background: #c79a52 !important;
  color: #140d1c !important;
}

/* Hero two-tone: white lead + gold accent em (not all lavender under kozmik) */
html[data-site-theme="kozmik-murdum"] body.fi-home-flow-v71049 .hero h1 {
  color: #f4edf5 !important;
}
html[data-site-theme="kozmik-murdum"] body.fi-home-flow-v71049 .hero h1 em {
  color: #d8b77c !important;
}
