* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
/* body.astro-app → layout.css */
a { color: var(--accent); text-decoration: none; }
/* top → layout.css */
.astro-brand { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .02em; }
.astro-brand span { color: var(--accent-2); }
.astro-shell { max-width: 720px; margin: 0 auto; padding: 16px; }
/* .astro-card → layout.css */
.astro-card h2 { margin: 0 0 8px; font-size: 1.05rem; }
.astro-muted { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.astro-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; height: var(--nav-h);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(15,12,28,.92); border-top: 1px solid var(--border);
  backdrop-filter: blur(12px); z-index: 30;
}
.astro-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: var(--muted); font-size: .7rem;
}
.astro-bottom-nav a.is-active, .astro-bottom-nav a:hover { color: var(--text); }
.astro-bottom-nav .ico { font-size: 1.15rem; line-height: 1; }
.astro-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border);
  font-size: .75rem; color: var(--muted);
}
.astro-chip.ok { color: var(--ok); border-color: rgba(85,239,196,.35); }
.astro-chip.bad { color: var(--danger); border-color: rgba(255,107,138,.35); }
/* .astro-wheel-mount → layout.css */
@media (min-width: 960px) {
  body.astro-app { padding-bottom: 0; }
  .astro-bottom-nav { display: none; }
  .astro-shell {
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(220px, 260px);
    gap: 16px;
  }
  .astro-side-panel { position: sticky; top: 72px; align-self: start; }
}

.astro-form label { display:block; font-size:.8rem; color:var(--muted); margin:10px 0 4px; }
/* form inputs → layout.css */
.astro-form .row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
/* form button → layout.css */
.astro-form-status { margin-top:8px; font-size:.85rem; color:var(--muted); min-height:1.2em; }
/* big3 → layout.css */
/* big3 span → layout.css */
@media (max-width:600px){ .astro-form .row { grid-template-columns:1fr; } }

.astro-city-wrap { position: relative; }
.astro-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px;
  max-height: 240px; overflow: auto; z-index: 40; box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.astro-suggest-item {
  display: block; width: 100%; text-align: left; padding: 10px 12px;
  border: 0; border-bottom: 1px solid rgba(155,125,255,.12);
  background: transparent; color: var(--text); cursor: pointer; font: inherit;
}
.astro-suggest-item strong { display: block; font-size: .92rem; }
.astro-suggest-item span { display: block; font-size: .75rem; color: var(--muted); margin-top: 2px; }
.astro-suggest-item:hover { background: rgba(155,125,255,.12); }
.astro-suggest-item.muted { color: var(--muted); cursor: default; }

.astro-shell-single { max-width: 960px; display: block; }
.astro-prose h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 8px; }
.astro-prose h2 { margin: 28px 0 12px; font-size: 1.25rem; }
.astro-prose h3 { margin: 0 0 8px; font-size: 1.05rem; }
.astro-kicker { color: var(--accent-2); letter-spacing: .04em; text-transform: uppercase; font-size: .72rem; margin: 0 0 6px; }
.astro-lead { font-size: 1.15rem; color: var(--muted); line-height: 1.55; }
.astro-list { margin: 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.55; }
.astro-dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; color: var(--muted); }
.astro-dl dt { color: var(--accent-2); font-weight: 600; }
.astro-dl dd { margin: 0; }
.astro-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.astro-mini-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.astro-mini-card p { color: var(--muted); font-size: .92rem; line-height: 1.5; margin: 0 0 8px; }
.astro-table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 14px; }
.astro-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.astro-table th, .astro-table td { padding: 8px 10px; border-bottom: 1px solid rgba(155,125,255,.15); text-align: left; white-space: nowrap; }
.astro-table thead th { background: var(--bg-elev); position: sticky; top: 0; }
.astro-table td[data-level="guclu"] { color: var(--ok); }
.astro-table td[data-level="var"] { color: var(--accent-2); }
.astro-table td[data-level="kismi"] { color: #ffc078; }
.astro-table td[data-level="yok"] { color: var(--danger); opacity: .85; }
.astro-top .astro-promise {
  display: none; color: var(--muted); font-size: .78rem; max-width: 42vw; text-align: right;
}
@media (min-width: 900px) {
  .astro-top .astro-promise { display: block; }
}
a.astro-brand { color: inherit; }
.astro-legal-links {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  padding: 10px 16px 8px; font-size: .75rem;
}
.astro-legal-links a { color: var(--muted); }
body.astro-app { padding-bottom: calc(var(--nav-h) + 40px); }


/* rail rules moved to layout.css */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
#astro-main { outline: none; }

.astro-hp {
  position: absolute !important; left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
  opacity: 0 !important; pointer-events: none !important;
}


