:root {
  color-scheme: dark;
  --bg: #07111d;
  --bg-deep: #050c14;
  --surface: rgba(13, 25, 38, 0.94);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #8491a1;
  --green: #83f05a;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 9% 4%, rgba(131, 240, 90, 0.08), transparent 24rem),
    linear-gradient(180deg, #07111d 0%, #08131f 48%, #06101a 100%);
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.page-grow { flex: 1; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2rem, 1480px);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-top: 2px solid var(--green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(5, 13, 22, 0.97);
  backdrop-filter: blur(18px);
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 96px;
  align-items: center;
  gap: 1.5rem;
}

.domain-title {
  position: relative;
  grid-column: 2;
  display: inline-flex;
  align-items: baseline;
  padding: 0.05em 0.04em 0.14em;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  white-space: nowrap;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
  transition: filter 180ms ease;
}

.domain-title::after {
  position: absolute;
  right: 2%;
  bottom: 0;
  left: 2%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--green) 18%, #3dd9c3 74%, transparent);
  box-shadow: 0 0 13px rgba(92, 231, 154, 0.55);
  content: "";
}

.domain-title:hover {
  filter: drop-shadow(0 10px 27px rgba(62, 217, 176, 0.18));
}

.domain-title:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid rgba(131, 240, 90, 0.7);
  outline-offset: 6px;
}

.brand-science {
  color: var(--green);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.065em;
  text-shadow: 0 0 20px rgba(131, 240, 90, 0.18);
}

.brand-news {
  color: #f4f8fc;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: -0.065em;
}

.brand-domain {
  margin-left: 0.035em;
  color: #58e5bd;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  text-shadow: 0 0 18px rgba(61, 217, 195, 0.22);
}

.store-logos {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.36rem 0.52rem 0.42rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.9rem;
  background: rgba(15, 25, 37, 0.94);
  transition: border-color 180ms ease, transform 180ms ease;
}

.store-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.store-tagline {
  color: #cbd5e1;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}

.store-tagline strong {
  color: var(--green);
  font-weight: 700;
}

.store-logos:hover {
  border-color: rgba(131, 240, 90, 0.55);
  transform: translateY(-1px);
}

.store-app-logo,
.android-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.store-app-logo { border-radius: 0.55rem; }

.google-play-badge {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.headline-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #03090f;
}

.headline-strip[hidden] { display: none; }

.headline-inner {
  display: flex;
  align-items: center;
}

.headline-label {
  flex: none;
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0.9rem 1.15rem;
  background: var(--green);
  color: #07111d;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.headline-track {
  display: flex;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.headline-track::-webkit-scrollbar { display: none; }

.headline-track a {
  position: relative;
  flex: none;
  padding: 0.9rem 1.35rem;
  color: #cbd5e1;
  font-size: 0.76rem;
}

.headline-track a + a::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "•";
}

.headline-track a:hover { color: var(--green); }

.page {
  min-height: calc(100vh - 150px);
  padding-block: 1.5rem 4rem;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.search-box {
  position: relative;
  display: block;
  width: min(100%, 340px);
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  width: 14px;
  transform: translateY(-50%);
  fill: none;
  stroke: #64748b;
  stroke-linecap: round;
  stroke-width: 2;
}

.search-box input {
  width: 100%;
  height: 36px;
  padding: 0 0.8rem 0 2.25rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.5rem;
  outline: none;
  color: var(--text);
  background: rgba(12, 23, 35, 0.96);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.search-box input::placeholder { color: #64748b; }

.search-box input:focus {
  border-color: rgba(131, 240, 90, 0.6);
  box-shadow: 0 0 0 3px rgba(131, 240, 90, 0.1);
}

.iss-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(34, 211, 238, 0.38);
  border-radius: 0.55rem;
  color: #dffbff;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.13), rgba(131, 240, 90, 0.08));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition: border-color 160ms ease, transform 160ms ease;
}

.iss-toggle:hover,
.iss-toggle:focus-visible {
  border-color: rgba(131, 240, 90, 0.7);
  outline: none;
  transform: translateY(-1px);
}

.iss-toggle-icon {
  color: var(--green);
  font-size: 0.8rem;
  text-shadow: 0 0 11px rgba(131, 240, 90, 0.72);
}

.iss-toggle > span:nth-child(2) {
  display: grid;
  gap: 0.05rem;
  text-align: left;
}

.iss-toggle strong {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

.iss-toggle small {
  color: #8293a5;
  font-size: 0.68rem;
}

.iss-toggle-chevron {
  color: #748497;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.iss-toggle[aria-expanded="true"] .iss-toggle-chevron { transform: rotate(180deg); }

.iss-panel {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 0.7rem;
  background: linear-gradient(145deg, rgba(11, 25, 39, 0.98), rgba(5, 13, 22, 0.98));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.3);
}

.iss-panel[hidden] { display: none; }

.iss-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.1rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.iss-panel-head h1,
.iss-panel-head h2 {
  margin: 0.25rem 0 0;
  color: #f8fafc;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
}

.iss-panel-head > p {
  margin: 0;
  color: #8291a2;
  font-size: 0.78rem;
}

.iss-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--green);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.iss-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(131, 240, 90, 0.48);
  animation: loading-pulse 1.4s infinite;
}

.iss-tabs { padding: 0.8rem; }

.iss-tab-list {
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: 0.8rem;
  padding: 0.22rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 0.45rem;
  background: rgba(3, 9, 15, 0.72);
}

.iss-tab {
  min-height: 32px;
  padding: 0.4rem 0.75rem;
  border: 0;
  border-radius: 0.32rem;
  color: #8d9aab;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.iss-tab.active {
  color: #07111d;
  background: var(--green);
}

.iss-map-view,
.iss-video-view {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.52rem;
  background: #07111d;
}

.iss-map-view[hidden],
.iss-video-view[hidden] { display: none; }

.satellite-switcher {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 12, 20, 0.96);
}

.satellite-choice-list {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}

.satellite-switcher button {
  --route-color: #42b7ff;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 28px;
  padding: 0.28rem 0.46rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 0.35rem;
  color: #9aabba;
  background: #0b1927;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  cursor: pointer;
}

.satellite-switcher button:hover,
.satellite-switcher button:focus-visible,
.satellite-switcher button.active {
  border-color: var(--route-color);
  color: #f8fafc;
  background: #13283a;
  box-shadow: inset 0 -2px 0 var(--route-color);
}

.satellite-choice-icon {
  width: 22px;
  height: 22px;
  flex: none;
  object-fit: contain;
}

.satellite-switcher button i {
  width: 12px;
  height: 0;
  flex: none;
  border-top: 2px dashed var(--route-color);
}

.satellite-map-icon {
  border: 0 !important;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.85));
}

.satellite-selected {
  margin-left: auto;
  padding: 0.45rem 0.2rem;
  color: #6f8194;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  white-space: nowrap;
}

.iss-map {
  z-index: 0;
  width: 100%;
  height: clamp(330px, 42vw, 520px);
  background: #0b1d2d;
}

.iss-map .leaflet-control-attribution {
  color: #516174;
  background: rgba(5, 13, 22, 0.78);
  font-size: 10px;
}

.iss-map .leaflet-control-attribution a { color: #76dce8; }

.iss-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 12, 20, 0.96);
}

.iss-stats > div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.iss-stats > div:last-child { border-right: 0; }

.iss-stats span {
  color: #617286;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.iss-stats strong {
  overflow: hidden;
  color: #dff8fa;
  font-size: 0.76rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iss-error {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-top: 1px solid rgba(251, 191, 36, 0.2);
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.07);
  font-size: 0.75rem;
}

.iss-error[hidden] { display: none; }

.orbit-note {
  margin: 0;
  padding: 0.55rem 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #65778a;
  background: rgba(4, 12, 20, 0.96);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
}

.iss-video-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  color: #78889a;
  background: rgba(4, 12, 20, 0.96);
  font-size: 0.7rem;
}

.iss-video-toolbar > div { display: flex; gap: 0.3rem; }

.iss-video-toolbar button {
  min-height: 28px;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.3rem;
  color: #9ba9b9;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.66rem;
}

.iss-video-toolbar button.active {
  border-color: rgba(131, 240, 90, 0.62);
  color: #07111d;
  background: var(--green);
}

.iss-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.iss-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.iss-video-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  color: #718094;
  background: rgba(4, 12, 20, 0.96);
  font-size: 0.7rem;
}

.categories {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 1 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 1.5rem;
  padding-block: 0.52rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 17, 29, 0.97);
  backdrop-filter: none;
  overflow: visible;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar { display: none; }

.category-button {
  flex: none;
  min-height: 28px;
  padding: 0.34rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--category-color, var(--green)) 58%, transparent);
  border-radius: 0.35rem;
  color: var(--category-color, var(--green));
  background: color-mix(in srgb, var(--category-color, var(--green)) 10%, #0d1926);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.category-button:hover {
  border-color: var(--category-color, var(--green));
  color: #fff;
  background: color-mix(in srgb, var(--category-color, var(--green)) 18%, #0d1926);
}

.category-button.active {
  border-color: var(--category-color, var(--green));
  color: var(--category-on-color, #07111d);
  background: var(--category-color, var(--green));
  box-shadow: 0 0 15px color-mix(in srgb, var(--category-color, var(--green)) 32%, transparent);
}

.loading-status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 0.45rem;
  color: #94a3b8;
  background: rgba(13, 25, 38, 0.72);
  font-size: 0.82rem;
}

.loading-status p { margin: 0; }

.loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(131, 240, 90, 0.5);
  animation: loading-pulse 1.4s infinite;
}

@keyframes loading-pulse {
  70% { box-shadow: 0 0 0 7px rgba(131, 240, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(131, 240, 90, 0); }
}

.feature-wall {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(390px, 1fr);
  min-height: 570px;
  gap: 6px;
  margin-bottom: 2.5rem;
  padding: 6px;
  border: 1px solid var(--border);
  background: #03090f;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.feature-wall.single { grid-template-columns: 1fr; }

.lead-story,
.side-story {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  background: #101b28;
  isolation: isolate;
}

.lead-story { min-height: 570px; }

.feature-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.lead-story:hover .feature-image,
.side-story:hover .feature-image { transform: scale(1.035); }

.feature-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 28%, rgba(2, 8, 14, 0.92) 100%);
}

.lead-copy,
.side-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.lead-copy { padding: clamp(1.4rem, 3vw, 2.6rem); }

.lead-copy h1 {
  max-width: 18ch;
  margin: 0.9rem 0 0.75rem;
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.story-date {
  color: #c3ccd7;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-height: 0;
}

.side-copy { padding: 1.05rem; }

.side-copy h2 {
  margin: 0.42rem 0 0.5rem;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.category-pill,
.category-kicker {
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.category-pill {
  border-radius: 0.25rem;
  padding: 0.42rem 0.65rem;
  color: var(--category-on-color, #07111d);
  background: var(--category-color, var(--green));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--category-color, var(--green)) 28%, transparent);
}

.category-kicker { color: var(--category-color, #9af57a); }

.results-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--green);
}

.results-header h1 {
  margin: 0;
  padding: 0.7rem 1rem;
  background: var(--green);
  color: #07111d;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.results-header span {
  padding-bottom: 0.65rem;
  color: #7f8b99;
  font-size: 0.72rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.news-card {
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, transform 180ms ease;
}

.news-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.news-card:hover {
  border-color: rgba(131, 240, 90, 0.45);
  transform: translateY(-3px);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.news-card:hover .card-image { transform: scale(1.04); }

.card-media > .category-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.image-fallback {
  padding: 12%;
  object-fit: contain !important;
  background: linear-gradient(145deg, #0e2236, var(--bg));
}

.card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.9rem;
}

.card-copy h2 {
  margin: 0;
  color: #f8fafc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.card-meta {
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
}

.load-more {
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border: 1px solid rgba(131, 240, 90, 0.35);
  border-radius: 0.35rem;
  color: var(--green);
  background: rgba(131, 240, 90, 0.07);
  font-size: 0.8rem;
  font-weight: 800;
}

.load-more:hover { background: rgba(131, 240, 90, 0.12); }

.message-card {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 2.4rem 1.4rem;
  border: 1px solid rgba(252, 211, 77, 0.2);
  border-radius: 0.45rem;
  color: #fef3c7;
  text-align: center;
  background: rgba(252, 211, 77, 0.08);
}

.message-card[hidden] { display: none; }

.message-card svg {
  width: 34px;
  margin-bottom: 0.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.message-card span {
  max-width: 560px;
  color: rgba(254, 243, 199, 0.68);
  font-size: 0.83rem;
}

footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 96px;
  align-items: center;
  gap: 1rem;
  color: #64748b;
  font-size: 0.72rem;
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 0;
}

.footer-primary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex-wrap: wrap;
}

.footer-app-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid rgba(131, 240, 90, 0.26);
  border-radius: 0.7rem;
  color: #cbd5e1;
  background:
    linear-gradient(135deg, rgba(131, 240, 90, 0.08), rgba(34, 211, 238, 0.05)),
    rgba(10, 22, 34, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, transform 160ms ease;
}

.footer-app-promo:hover,
.footer-app-promo:focus-visible {
  border-color: rgba(131, 240, 90, 0.62);
  outline: none;
  transform: translateY(-1px);
}

.footer-app-promo .store-logo-row { gap: 0.3rem; }
.footer-app-promo .store-app-logo,
.footer-app-promo .android-brand-logo { width: 34px; height: 34px; }
.footer-app-promo .google-play-badge { height: 34px; }
.footer-app-promo .store-tagline {
  max-width: 180px;
  white-space: normal;
  text-align: left;
}

.satellite-page-content { flex: 1; }

.satellite-page-nav {
  display: flex;
  margin-bottom: 0.75rem;
}

.back-to-news {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(131, 240, 90, 0.28);
  border-radius: 0.5rem;
  color: #b9c7d5;
  background: rgba(12, 24, 36, 0.92);
  font-size: 12px;
  transition: border-color 160ms ease, color 160ms ease;
}

.back-to-news:hover,
.back-to-news:focus-visible {
  border-color: rgba(131, 240, 90, 0.7);
  outline: none;
  color: var(--green);
}

.satellite-page-panel { margin-bottom: 0; }

.visitor-counter {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border: 1px solid rgba(131, 240, 90, 0.3);
  border-radius: 999px;
  color: #9dabb9;
  background: rgba(131, 240, 90, 0.06);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  white-space: nowrap;
}

.visitor-counter strong {
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.visitor-counter-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(131, 240, 90, 0.72);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: #aab5c3;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(131, 240, 90, 0.6);
  outline: none;
  color: var(--green);
  background: rgba(131, 240, 90, 0.06);
}

@media (max-width: 1050px) {
  .masthead { grid-template-columns: auto 1fr; }
  .domain-title { grid-column: 1; font-size: clamp(2.4rem, 5vw, 3.2rem); }
  .store-logos { grid-column: 2; }
  .feature-wall { grid-template-columns: minmax(0, 1.25fr) minmax(330px, 1fr); min-height: 600px; }
  .lead-story { min-height: 600px; }
  .iss-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .iss-stats > div:nth-child(3) { border-right: 0; }
  .iss-stats > div:nth-child(-n + 3) { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; padding-block: 1rem; }
  .social-links { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .topbar { position: relative; }

  .masthead {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 0.8rem;
    padding-block: 1rem;
  }

  .domain-title { font-size: clamp(2.25rem, 12vw, 3.3rem); }
  .store-logos { gap: 0.35rem; padding: 0.25rem 0.4rem; }
  .store-logo-row { gap: 0.35rem; }
  .store-app-logo, .android-brand-logo { width: 39px; height: 39px; }
  .google-play-badge { height: 39px; }
  .iss-panel-head { display: grid; gap: 0.45rem; }
  .iss-map { height: 380px; }

  .feature-wall {
    display: block;
    min-height: 0;
    padding: 4px;
  }

  .lead-story { min-height: 390px; }

  .side-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    margin-top: 4px;
  }

  .side-story { min-height: 260px; }
  .lead-copy h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .container { width: min(100% - 1.25rem, 1280px); }
  .domain-title { font-size: clamp(2rem, 11vw, 2.75rem); }
  .headline-label { padding-inline: 0.75rem; }
  .search-box, .iss-toggle { width: 100%; }
  .iss-toggle { justify-content: space-between; }
  .iss-tabs { padding: 0.45rem; }
  .iss-tab-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .iss-map { height: 330px; }
  .satellite-switcher { flex-wrap: wrap; }
  .satellite-choice-list { width: 100%; }
  .satellite-choice-list button { flex: 1; justify-content: center; min-width: 105px; }
  .satellite-selected { width: 100%; margin-left: 0; text-align: center; }
  .iss-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iss-stats > div:nth-child(3) { border-right: 1px solid rgba(255, 255, 255, 0.07); }
  .iss-stats > div:nth-child(2n) { border-right: 0; }
  .iss-stats > div:nth-child(-n + 4) { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .iss-video-toolbar { align-items: flex-start; flex-direction: column; }
  .side-features, .news-grid { grid-template-columns: 1fr; }
  .side-story { min-height: 280px; }
  .footer-inner, .social-links { justify-content: center; }
  .footer-inner { text-align: center; }
  .footer-copy { justify-content: center; }
  .footer-primary { justify-content: center; }
  .footer-app-promo { flex-direction: column; width: 100%; }
  .footer-app-promo .store-tagline { max-width: none; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* ===== Ortak site header v22 ===== */
.site-common-header{
  position:relative;
  width:100%;
  aspect-ratio:1600 / 300;
  margin:0;
  padding:0;
  overflow:hidden;
  background:#02070d;
}
.site-common-header-bg,
.site-common-header-text{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:fill;
  border:0;
  margin:0;
  padding:0;
}
.site-common-header-bg{z-index:1;}
.site-common-header-text{z-index:2;pointer-events:none;}
.site-common-page-info{
  position:absolute;
  z-index:3;
  left:3%;
  bottom:7%;
  display:flex;
  flex-direction:column;
  gap:3px;
  color:#fff;
  text-shadow:0 1px 5px rgba(0,0,0,.95);
}
.site-common-page-info strong{font-size:clamp(14px,1.35vw,22px);}
.site-common-page-info span{font-size:clamp(9px,.85vw,14px);color:#d8e7ef;}


/* ===== Header altı ana menü + kategori menüsü v23 ===== */
.below-header{
  width:min(100% - 2rem, 1480px);
  margin:0 auto;
}

.site-tools-menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:100%;
  margin:0;
  padding:8px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(7,17,29,.98);
  overflow-x:auto;
  scrollbar-width:none;
}
.site-tools-menu::-webkit-scrollbar{display:none;}

.site-tools-menu a{
  flex:0 0 auto;
  padding:8px 12px;
  border:1px solid rgba(108,211,255,.28);
  border-radius:5px;
  color:#dcecf5;
  background:#0d1926;
  font:700 11px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.02em;
  white-space:nowrap;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.site-tools-menu a:hover{
  color:#fff;
  border-color:#62c8f5;
  background:#14283a;
}

/* Kategoriler artık sayfayla birlikte yukarı çıkar, ekrana yapışmaz. */
.below-header .categories{
  position:relative !important;
  top:auto !important;
  z-index:1 !important;
  margin:0 0 1rem;
  padding:7px 0;
  background:rgba(7,17,29,.98);
  backdrop-filter:none;
}

@media (max-width:760px){
  .below-header{
    width:100%;
    padding:0 10px;
  }
  .site-tools-menu{
    justify-content:flex-start;
    padding:7px 0;
  }
  .site-tools-menu a{
    padding:7px 9px;
    font-size:9px;
  }
  .below-header .categories{
    flex-wrap:nowrap;
    overflow-x:auto;
    margin-bottom:.7rem;
  }
}


/* ===== ORG-V22 HEADER ALTI MENÜ - V24 ZORLAYICI DÜZELTME ===== */
#belowHeaderNav{
  position:static !important;
  top:auto !important;
  z-index:auto !important;
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:min(100% - 2rem, 1480px) !important;
  margin:0 auto !important;
}

#belowHeaderNav .site-tools-menu{
  position:static !important;
  top:auto !important;
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  width:100% !important;
  min-height:44px !important;
  margin:0 !important;
  padding:7px 0 !important;
  border-top:1px solid rgba(94,202,255,.16) !important;
  border-bottom:1px solid rgba(94,202,255,.20) !important;
  background:#081522 !important;
  overflow-x:auto !important;
  white-space:nowrap !important;
}

#belowHeaderNav .site-tools-menu a{
  display:inline-flex !important;
  flex:0 0 auto !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:30px !important;
  padding:7px 12px !important;
  border:1px solid rgba(87,211,255,.34) !important;
  border-radius:5px !important;
  color:#e5f3fa !important;
  background:#102131 !important;
  font:700 11px/1 Arial,Helvetica,sans-serif !important;
  text-decoration:none !important;
}

#belowHeaderNav .categories{
  position:static !important;
  inset:auto !important;
  top:auto !important;
  transform:none !important;
  z-index:1 !important;
  display:flex !important;
  visibility:visible !important;
  opacity:1 !important;
  margin:0 0 1rem !important;
  padding:7px 0 !important;
  background:#07111d !important;
  backdrop-filter:none !important;
}

@media(max-width:760px){
  #belowHeaderNav{
    width:100% !important;
    padding:0 10px !important;
  }
  #belowHeaderNav .site-tools-menu{
    justify-content:flex-start !important;
  }
  #belowHeaderNav .categories{
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
  }
}


/* ===== V27: Arama + ana menü header görselinin içine taşındı ===== */
.home-header-stage{
  position:relative;
  width:100%;
}

.home-header-controls{
  position:absolute;
  z-index:20;
  top:8%;
  right:2%;
  width:min(56%, 760px);
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  pointer-events:none;
}

.home-header-controls .header-search,
.home-header-controls .header-tools-menu{
  pointer-events:auto;
}

.home-header-controls .header-search{
  width:min(100%, 340px);
  margin:0;
}

.home-header-controls .header-search input{
  height:38px;
  background:rgba(6,18,30,.86);
  border-color:rgba(126,183,217,.28);
  box-shadow:0 4px 18px rgba(0,0,0,.24);
  backdrop-filter:blur(6px);
}

.home-header-controls .header-tools-menu{
  position:static !important;
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:6px !important;
  width:auto !important;
  max-width:100% !important;
  min-height:0 !important;
  margin:0 !important;
  padding:6px !important;
  border:1px solid rgba(91,177,222,.18) !important;
  border-radius:8px !important;
  background:rgba(5,17,29,.58) !important;
  box-shadow:0 5px 20px rgba(0,0,0,.18) !important;
  backdrop-filter:blur(5px) !important;
  overflow:visible !important;
  white-space:normal !important;
}

.home-header-controls .header-tools-menu a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:29px !important;
  padding:7px 10px !important;
  border:1px solid rgba(94,202,255,.30) !important;
  border-radius:5px !important;
  background:rgba(11,31,47,.88) !important;
  color:#eef8fd !important;
  font:700 10px/1 Arial,Helvetica,sans-serif !important;
  white-space:nowrap !important;
}

.home-header-controls .header-tools-menu a:hover{
  background:rgba(20,55,78,.95) !important;
  border-color:#62c8f5 !important;
}

/* Header altında yalnızca kategoriler kalır. */
#belowHeaderNav{
  width:min(100% - 2rem, 1480px) !important;
  margin:0 auto !important;
}

#belowHeaderNav .categories{
  margin:0 0 1rem !important;
  padding:7px 0 !important;
  border-top:1px solid rgba(255,255,255,.04);
}

/* Ana içerikte eski arama alanı artık yok. */
.page{
  padding-top:.7rem;
}

@media (max-width:900px){
  .home-header-controls{
    top:6%;
    right:1.5%;
    width:62%;
    gap:7px;
  }
  .home-header-controls .header-search{
    width:min(100%, 300px);
  }
  .home-header-controls .header-tools-menu a{
    padding:6px 8px !important;
    font-size:9px !important;
  }
}

@media (max-width:700px){
  .home-header-stage{
    padding-bottom:0;
  }

  .home-header-stage .site-common-header{
    min-height:190px;
    aspect-ratio:auto;
  }

  .home-header-stage .site-common-header-bg,
  .home-header-stage .site-common-header-text{
    object-fit:cover;
    object-position:center;
  }

  .home-header-controls{
    top:auto;
    right:10px;
    bottom:10px;
    left:10px;
    width:auto;
    align-items:stretch;
    gap:6px;
  }

  .home-header-controls .header-search{
    width:100%;
  }

  .home-header-controls .header-tools-menu{
    flex-wrap:nowrap !important;
    justify-content:flex-start !important;
    overflow-x:auto !important;
    padding:5px !important;
  }

  .home-header-controls .header-tools-menu a{
    flex:0 0 auto !important;
    font-size:8px !important;
  }
}


/* ===== V28: Menü headerın sağ alt köşesine alındı ===== */
.home-header-controls{
  top:8% !important;
  right:2% !important;
  bottom:10px !important;
  width:min(56%, 760px) !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:10px !important;
}

.home-header-controls .header-search{
  align-self:flex-end !important;
  width:min(100%, 340px) !important;
}

.home-header-controls .header-tools-menu{
  align-self:flex-end !important;
  margin-top:auto !important;
}

@media (max-width:900px){
  .home-header-controls{
    top:6% !important;
    right:1.5% !important;
    bottom:10px !important;
    width:62% !important;
  }
}

@media (max-width:700px){
  .home-header-controls{
    top:auto !important;
    right:10px !important;
    bottom:10px !important;
    left:10px !important;
    width:auto !important;
    justify-content:flex-end !important;
  }

  .home-header-controls .header-search{
    width:100% !important;
    margin-bottom:6px !important;
  }

  .home-header-controls .header-tools-menu{
    align-self:stretch !important;
  }
}


/* ===== V29: Haber alanı 4 sütun + sağ widget kolonu ===== */
.home-content-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 270px;
  align-items:start;
  gap:14px;
  width:100%;
}

.home-news-column{
  min-width:0;
}

/* Masaüstünde her satırda 4 haber */
.home-news-column .news-grid{
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
}

/* Sağ widget sütunu */
.home-widgets-column{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0;
}

.home-widget-box{
  overflow:hidden;
  border:1px solid rgba(98,200,245,.23);
  border-radius:7px;
  background:#07111d;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.home-widget-title{
  padding:9px 11px;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:#dcecf5;
  background:#0b1926;
  font:800 11px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.08em;
}

.home-widget-frame{
  display:block;
  width:100%;
  border:0;
  background:#07111d;
}

.news-widget-frame{
  height:438px;
}

.iss-widget-frame{
  height:470px;
}

/* Orta ekran: 3 haber, widget kolonu korunur */
@media(max-width:1180px){
  .home-content-layout{
    grid-template-columns:minmax(0, 1fr) 250px;
  }
  .home-news-column .news-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Tablet: widgetlar haberlerin altına iner */
@media(max-width:920px){
  .home-content-layout{
    grid-template-columns:1fr;
  }
  .home-widgets-column{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
  .home-news-column .news-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Telefon */
@media(max-width:600px){
  .home-news-column .news-grid{
    grid-template-columns:1fr !important;
  }
  .home-widgets-column{
    grid-template-columns:1fr;
  }
  .news-widget-frame,
  .iss-widget-frame{
    height:430px;
  }
}


/* ===== V30: Arama + sosyal medya sağ widget sütununda ===== */

/* Header içinde artık yalnızca menü var ve sağ altta kalır */
.home-header-controls{
  justify-content:flex-end !important;
}

.home-header-controls .header-tools-menu{
  margin-top:auto !important;
}

/* Sağ sütundaki arama/sosyal alan */
.sidebar-search-box{
  overflow:hidden;
  border:1px solid rgba(98,200,245,.23);
  border-radius:7px;
  background:#07111d;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.sidebar-section-title{
  padding:9px 11px;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:#dcecf5;
  background:#0b1926;
  font:800 11px/1 Arial,Helvetica,sans-serif;
  letter-spacing:.08em;
}

.sidebar-search{
  width:calc(100% - 18px) !important;
  margin:9px !important;
}

.sidebar-search input{
  width:100%;
  height:38px;
  background:#0b1926 !important;
  border-color:rgba(126,183,217,.28) !important;
}

.sidebar-social-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  padding:0 9px 9px;
}

.sidebar-social-links a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:31px;
  padding:7px 8px;
  border:1px solid rgba(98,200,245,.22);
  border-radius:5px;
  background:#102131;
  color:#e8f4fa;
  font:700 10px/1 Arial,Helvetica,sans-serif;
  text-decoration:none;
  white-space:nowrap;
}

.sidebar-social-links a:hover{
  border-color:#62c8f5;
  background:#173147;
  color:#fff;
}

@media(max-width:920px){
  .sidebar-search-box{
    grid-column:1 / -1;
  }
}

@media(max-width:600px){
  .sidebar-social-links{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .sidebar-social-links a{
    font-size:9px;
    padding:7px 4px;
  }
}


/* ===== V31: Sosyal medya widgetların altında ===== */
.social-media-box .sidebar-social-links{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;
  padding:9px;
}

.social-media-box .sidebar-social-links a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:31px;
  padding:7px 8px;
  border:1px solid rgba(98,200,245,.22);
  border-radius:5px;
  background:#102131;
  color:#e8f4fa;
  font:700 10px/1 Arial,Helvetica,sans-serif;
  text-decoration:none;
  white-space:nowrap;
}

.social-media-box .sidebar-social-links a:hover{
  border-color:#62c8f5;
  background:#173147;
  color:#fff;
}


/* ===== V32: Haber Widget small / 280px / 528px ===== */
.home-content-layout{
  grid-template-columns:minmax(0, 1fr) 280px;
}

.news-widget-frame{
  width:100% !important;
  max-width:280px !important;
  height:528px !important;
  margin:0 auto;
}

@media(max-width:1180px){
  .home-content-layout{
    grid-template-columns:minmax(0, 1fr) 280px;
  }
}

@media(max-width:920px){
  .home-content-layout{
    grid-template-columns:1fr;
  }
}


/* ===== V33: Widget genişlikleri 250 px ===== */
.home-content-layout{
  grid-template-columns:minmax(0, 1fr) 250px !important;
}

.home-widgets-column{
  width:250px !important;
  max-width:250px !important;
}

.home-widget-box,
.sidebar-search-box,
.social-media-box{
  width:250px !important;
  max-width:250px !important;
  box-sizing:border-box !important;
}

.news-widget-frame,
.iss-widget-frame{
  display:block !important;
  width:250px !important;
  max-width:100% !important;
  margin:0 auto !important;
}

.news-widget-frame{
  height:528px !important;
}

.iss-widget-frame{
  height:500px !important;
}

@media(max-width:1180px){
  .home-content-layout{
    grid-template-columns:minmax(0, 1fr) 250px !important;
  }
}

@media(max-width:920px){
  .home-content-layout{
    grid-template-columns:1fr !important;
  }

  .home-widgets-column{
    width:100% !important;
    max-width:none !important;
  }

  .home-widget-box,
  .sidebar-search-box,
  .social-media-box{
    width:250px !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}
