/* ==========================================================================
   Astrokartografi arayüzü (TR + EN ortak). 2026-10-01
   Açık tema varsayılan (:root), koyu tema [data-theme="dark"].
   Sayfa-yerel değişkenler; shared.css / INJECTED-LIGHT-MODE bloklarına bağlı DEĞİL.
   Harita üstü yüzeyler (popup, yorum kartı, legend, modallar) SABİT renk kullanır:
   var(--cream) kullanılmaz (hafıza: enjeksiyon --cream'i koyuya çeviriyordu).
   ========================================================================== */

:root {
  color-scheme: light;
  /* Marka sabitleri (temadan bağımsız) */
  --navy: #0A1628;
  --gold: #C9A962;
  --cream: #F5F0E8;
  --cream-warm: #EDE5D6;
  /* Tema renkleri: açık */
  --bg: #F2EEE6;
  --panel: #FBFAF7;
  --card: #FFFFFF;
  --card-2: #F6F1E7;
  --ink: #1A2E5E;
  --ink-2: #3A4A72;
  --ink-3: #566383;
  --gold-ink: #7A5F1A;
  --gold-soft: #D4B97A;
  --gold-wash: rgba(201, 169, 98, .14);
  --line: rgba(26, 46, 94, .13);
  --field-bg: #FFFFFF;
  --field-bd: #C9BB99;
  --top-bg: #FFFFFF;
  --top-bd: rgba(201, 169, 98, .55);
  --focus: #7A5F1A;
  --shadow: 0 4px 20px rgba(10, 22, 40, .14);
  --shadow-soft: 0 2px 12px rgba(10, 22, 40, .08);
  /* Eski adlar: JS satır-içi stilleri bu adları kullanıyor */
  --navy-soft: var(--ink-2);
  --panel-w: 380px;
  --serit-h: 0px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A1628;
  --panel: #0F1D36;
  --card: #162847;
  --card-2: #1B2F52;
  --ink: #F2EEE6;
  --ink-2: #CBD2E0;
  --ink-3: #A9B3C8;
  --gold-ink: #DCC384;
  --gold-soft: rgba(201, 169, 98, .5);
  --gold-wash: rgba(201, 169, 98, .12);
  --line: rgba(242, 238, 230, .14);
  --field-bg: #0A1628;
  --field-bd: rgba(201, 169, 98, .4);
  --top-bg: #0A1628;
  --top-bd: rgba(201, 169, 98, .55);
  --focus: #DCC384;
  --shadow: 0 4px 22px rgba(0, 0, 0, .45);
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, .3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100%;
  overflow-x: hidden;
  font-family: 'Raleway', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 5000;
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: 13px;
  padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: calc(var(--serit-h) + 8px); }

/* ======================= Üst çubuk ======================= */
.topbar {
  position: fixed; top: var(--serit-h); left: 0; right: 0;
  height: 56px;
  background: var(--top-bg);
  color: var(--ink);
  border-bottom: 1px solid var(--top-bd);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(10, 22, 40, .08);
}
.topbar .brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 19px; letter-spacing: .3px;
  display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap;
}
.topbar .brand a { color: var(--ink); text-decoration: none; }
.topbar .brand a:hover { color: var(--gold-ink); }
.topbar .brand .sub { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.topbar .brand .beta-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
  border-radius: 100px;
  font-family: 'Raleway', sans-serif; line-height: 1.5;
}
.topbar .breadcrumbs {
  font-size: 12.5px; color: var(--ink-3);
  display: flex; gap: 8px; align-items: center; white-space: nowrap;
}
.topbar .breadcrumbs a { color: var(--ink-3); text-decoration: none; }
.topbar .breadcrumbs a:hover { color: var(--gold-ink); text-decoration: underline; }
.topbar .breadcrumbs span[aria-current] { color: var(--ink-2); font-weight: 600; }
.topbar .breadcrumbs .sep { color: var(--ink-3); }
.topbar .actions { display: flex; gap: 8px; align-items: center; }
.topbar .icon-btn {
  background: transparent; border: 1px solid var(--gold-ink);
  color: var(--gold-ink); width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; font-size: 17px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s; text-decoration: none;
  font-family: 'Raleway', sans-serif; font-weight: 600;
}
.topbar .icon-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.theme-ic-dark { display: none; }
:root[data-theme="dark"] .theme-ic-light { display: none; }
:root[data-theme="dark"] .theme-ic-dark { display: inline; }

/* Hamburger menü */
.menu-wrap { position: relative; }
.menu-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: var(--shadow);
  z-index: 2000;
  display: flex; flex-direction: column;
  animation: menu-fade-in .15s ease-out;
}
.menu-dropdown[hidden] { display: none; }
@keyframes menu-fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.menu-section-title {
  font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-ink);
  padding: 6px 16px 4px; font-weight: 700;
}
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; min-height: 40px;
  font-size: 13.5px; color: var(--ink);
  text-decoration: none;
  background: transparent; border: none;
  cursor: pointer; text-align: left;
  font-family: inherit; width: 100%;
  transition: background .15s, color .15s;
}
.menu-item:hover { background: var(--gold-wash); color: var(--gold-ink); }
.menu-item.current { color: var(--gold-ink); font-weight: 600; }
.menu-item .menu-icon { width: 18px; text-align: center; font-size: 14px; flex-shrink: 0; }
.menu-item .menu-check { margin-left: auto; color: var(--gold-ink); font-size: 12px; font-weight: 700; }
.menu-item .menu-tag {
  margin-left: auto;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3);
  background: var(--gold-wash);
  border: 1px solid var(--gold-soft);
  padding: 2px 7px; border-radius: 100px; font-weight: 700;
}
.menu-item.disabled { opacity: .7; cursor: not-allowed; pointer-events: none; }
.menu-sep { height: 1px; background: var(--line); margin: 6px 0; }

/* ======================= Ana yerleşim ======================= */
.layout {
  position: relative;
  margin-top: calc(56px);
  height: calc(100vh - 56px - var(--serit-h));
  height: calc(100dvh - 56px - var(--serit-h));
  min-height: 460px;
  display: flex;
}

.panel {
  width: var(--panel-w);
  flex: 0 0 var(--panel-w);
  background: var(--panel);
  color: var(--ink);
  border-right: 1px solid var(--gold-soft);
  overflow-y: auto;
  padding: 20px 22px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.panel::-webkit-scrollbar { width: 6px; }
.panel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.panel h1, .panel .panel-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px; font-weight: 600; line-height: 1.15; color: var(--ink);
  margin-bottom: 8px;
}
.panel .lede { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; line-height: 1.65; }
.panel .lede a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }

/* Bölümler */
.section { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: none; }
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px; font-weight: 600; color: var(--ink);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-title::before {
  content: ''; flex: 0 0 4px; height: 16px;
  background: var(--gold); border-radius: 2px;
}
/* Katlanır bölümler (ikincil araçlar) */
details.fold { margin-bottom: 0; padding: 0; border-bottom: 1px solid var(--line); }
details.fold > summary.section-title {
  margin: 0; padding: 13px 0; min-height: 46px;
  cursor: pointer; list-style: none; user-select: none;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after {
  content: '+'; margin-left: auto;
  font-family: 'Raleway', sans-serif; font-weight: 400; font-size: 22px; line-height: 1;
  color: var(--gold-ink);
}
details.fold[open] > summary::after { content: '\2212'; }
details.fold > .fold-body { padding: 0 0 16px; }
details.fold > summary:hover { color: var(--gold-ink); }
.fold-group { margin-top: 6px; border-top: 1px solid var(--line); }
.fold-group-title {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--ink-3); margin: 18px 0 2px;
}

/* ======================= Form ======================= */
label {
  display: block;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: .5px;
}
input[type="date"], input[type="time"], input[type="text"], input[type="number"], select {
  width: 100%; min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--field-bd);
  background: var(--field-bg);
  border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: var(--ink-3); opacity: 1; }
input:hover, select:hover { border-color: var(--gold-ink); }
input:focus, select:focus {
  outline: 2px solid var(--focus); outline-offset: 1px;
  border-color: var(--focus);
  box-shadow: none;
}
.row { display: flex; gap: 10px; margin-bottom: 12px; }
.row > div { flex: 1; min-width: 0; }
.help { font-size: 11.5px; color: var(--ink-3); margin-top: 5px; line-height: 1.5; }

.geocode-wrap { position: relative; }
.geocode-results {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #FFFFFF; color: #1A2E5E;
  border: 1px solid var(--gold-soft);
  border-radius: 6px;
  max-height: 200px; overflow-y: auto;
  z-index: 100;
  box-shadow: var(--shadow);
  display: none;
}
.geocode-results.active { display: block; }
.geocode-results .item {
  padding: 10px 12px; font-size: 13px; color: #1A2E5E;
  cursor: pointer;
  border-bottom: 1px solid #EDE5D6;
}
.geocode-results .item:hover { background: #F6F1E7; }
.geocode-results .item:last-child { border-bottom: none; }

.coord-display { font-size: 11.5px; color: var(--ink-2); margin-top: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; }

.manual-toggle {
  background: none; border: none;
  color: var(--gold-ink); font-size: 12.5px; font-weight: 600;
  cursor: pointer; padding: 8px 0; min-height: 36px;
  text-decoration: underline; text-underline-offset: 3px;
  font-family: 'Raleway', sans-serif; text-align: left;
}
.manual-toggle:hover { color: var(--ink); }
.manual-toggle.danger { color: #A93226; }
:root[data-theme="dark"] .manual-toggle.danger { color: #F0A096; }
.tz-note { margin-top: 8px; padding: 9px 12px; border: 1px solid var(--gold-soft); background: var(--gold-wash); border-radius: 6px; font-size: 12.5px; color: var(--ink); line-height: 1.55; }
.tz-note a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.tz-uncertain { color: var(--ink-3); font-style: italic; }
.manual-coords { display: none; margin-top: 8px; padding: 12px; background: var(--gold-wash); border-radius: 6px; }
.manual-coords.active { display: block; }

/* Onay kutuları */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.check-grid.one { grid-template-columns: 1fr; }
.check-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--ink); cursor: pointer;
  padding: 7px 8px; min-height: 36px; margin: 0;
  border-radius: 6px;
  text-transform: none; letter-spacing: 0; font-weight: 500;
  user-select: none;
  transition: background .12s;
}
.check-item:hover { background: var(--gold-wash); }
.check-item input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; accent-color: var(--gold-ink); cursor: pointer; }
.check-item strong { font-weight: 600; }
.check-item small { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-3); line-height: 1.4; }
/* Gezegen simgesi: yazı rengi okunur mürekkep, gezegenin çizgi rengi altındaki bantta (renk kodu korunur) */
.check-item .planet-glyph {
  display: inline-block; width: 22px; text-align: center;
  font-size: 17px; line-height: 1.1;
  -webkit-text-fill-color: var(--ink);
  border-bottom: 3px solid currentColor;
  border-radius: 1px;
}
.check-item.outer { color: var(--ink-2); font-style: italic; }

.toggle-row { display: flex; gap: 8px; margin-bottom: 10px; }
.toggle-btn {
  flex: 1; padding: 9px 10px; min-height: 40px;
  background: var(--field-bg);
  border: 1px solid var(--field-bd);
  border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-size: 12.5px; color: var(--ink-2);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  font-weight: 600;
}
.toggle-btn:hover { border-color: var(--gold-ink); color: var(--ink); }
.toggle-btn.active { background: var(--ink); color: var(--panel); border-color: var(--ink); }
:root[data-theme="dark"] .toggle-btn.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* Düğmeler */
.btn-primary {
  display: block; width: 100%; min-height: 46px; padding: 12px;
  background: var(--gold); color: var(--navy);
  border: 1px solid var(--gold); border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-size: 13.5px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  cursor: pointer; transition: background .15s, border-color .15s, transform .1s;
}
.btn-primary:hover { background: #D8BD7C; border-color: #D8BD7C; }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { background: #B9AD90; border-color: #B9AD90; cursor: not-allowed; }
.btn-ghost {
  display: block; width: 100%; min-height: 42px; padding: 10px 12px; margin-top: 8px;
  background: transparent; color: var(--gold-ink);
  border: 1px solid var(--gold-ink); border-radius: 6px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  cursor: pointer; transition: background .15s, color .15s;
}
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-ghost.quiet { color: var(--ink-2); border-color: var(--field-bd); }
.btn-ghost.quiet:hover { color: var(--navy); }
.btn-ghost.inline { display: inline-block; width: auto; margin-top: 0; min-height: 40px; white-space: nowrap; }
.panel .cl-lib-wrap { margin-top: 4px; margin-bottom: 14px; }
.panel .cl-lib-wrap .cl-lib-btn { width: auto; }
.panel .cl-lib-wrap .cl-save-btn {
  width: auto; margin-top: 0; min-height: 38px;
  background: transparent; color: var(--gold-ink); border: 1px solid var(--gold-ink); border-radius: 24px;
  font-size: 12.5px;
}
.panel .cl-lib-wrap .cl-save-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); filter: none; transform: none; }
.actions-more .cl-save-btn {
  display: flex; width: 100%; justify-content: center; margin-top: 8px; min-height: 42px;
  background: transparent; color: var(--gold-ink); border: 1px solid var(--gold-ink); border-radius: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
}
.actions-more .cl-save-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); filter: none; transform: none; }
.action-stack {
  position: sticky; bottom: -24px; z-index: 5;
  margin: 0 -22px 14px; padding: 12px 22px 28px;
  background: var(--panel);
  border-top: 1px solid var(--gold-soft);
  box-shadow: 0 -8px 16px -10px rgba(10, 22, 40, .25);
}
.actions-more { margin-top: 2px; }

.note-box {
  background: var(--gold-wash);
  border-left: 3px solid var(--gold);
  padding: 10px 12px;
  font-size: 12.5px; color: var(--ink-2);
  line-height: 1.55; margin-top: 12px;
  border-radius: 3px;
}
.rektif-note { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; margin: 4px 0 14px; }
.rektif-note a { color: var(--gold-ink); }
/* rectification-helper.js ayni notu satir-ici acik renkle ekliyor (krem uzerinde gorunmez);
   sayfada zaten .rektif-note var, kopyayi gizle (kayit/sinastri pencerelerindeki kopya da beyaz/krem uzerinde okunmuyordu) */
.rectification-help { display: none !important; }

.mobile-calc-hint {
  display: none; margin: 0 0 12px; padding: 10px 12px;
  background: var(--gold-wash); border: 1px solid var(--gold-soft); border-radius: 8px;
  color: var(--ink); font-size: 13px; line-height: 1.5;
}

/* Mod sekmeleri */
.mode-selector {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  margin: 14px 0 18px;
  background: var(--card-2);
  padding: 4px; border-radius: 8px;
  border: 1px solid var(--line);
}
.mode-btn {
  padding: 9px 4px; min-height: 40px;
  border: none; background: transparent;
  color: var(--ink-2);
  font-family: 'Raleway', sans-serif;
  font-size: 12.5px; font-weight: 600;
  cursor: pointer; border-radius: 6px;
  transition: background .2s, color .2s;
  letter-spacing: .1px; white-space: nowrap;
}
.mode-btn:hover { background: var(--gold-wash); color: var(--ink); }
.mode-btn.active { background: var(--ink); color: var(--panel); box-shadow: 0 1px 4px rgba(10, 22, 40, .2); }
:root[data-theme="dark"] .mode-btn.active { background: var(--gold); color: var(--navy); }
.mode-panel {
  display: none; margin-bottom: 18px; padding: 12px 14px;
  background: var(--gold-wash);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  color: var(--ink-2);
}
.mode-panel.active { display: block; }
.mode-panel-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px; font-weight: 600; color: var(--ink);
  margin-bottom: 8px;
}
.mode-panel .meta { font-size: 11.5px; line-height: 1.55; color: var(--ink-2); }
.mode-panel label { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); }
.mode-panel input[type="radio"] { accent-color: var(--gold-ink); width: 16px; height: 16px; }

.sect-indicator {
  margin-top: 4px; padding: 10px 12px;
  border: 1px solid var(--gold-soft); border-radius: 6px;
  font-size: 13.5px; background: var(--gold-wash);
  text-align: center; color: var(--ink);
}
.sect-indicator em { color: var(--ink-2); }
.sect-indicator[data-sect="day"] { background: rgba(232, 184, 79, .2); border-color: #B88A1E; }
.sect-indicator[data-sect="night"] { background: rgba(91, 123, 166, .2); border-color: #5B7BA6; }
:root[data-theme="dark"] .sect-indicator[data-sect="day"] { border-color: #E8B84F; }
:root[data-theme="dark"] .sect-indicator[data-sect="night"] { border-color: #8EA7CC; }

.range { width: 100%; accent-color: var(--gold-ink); }
.slider-readout { text-align: center; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; color: var(--ink); margin-top: 6px; }
#city-compare-list {
  max-height: 170px; overflow-y: auto;
  border: 1px solid var(--field-bd); border-radius: 6px; padding: 8px;
  background: var(--field-bg); color: var(--ink);
}

.cta-box {
  margin-top: 16px; padding: 14px 16px;
  background: var(--card-2); border: 1px solid var(--gold-soft); border-radius: 8px;
}
.cta-box .cta-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cta-box p { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 10px; }
.cta-box a.cta-link {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 9px 16px; border-radius: 6px; text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.cta-box a.cta-link:hover { background: #D8BD7C; }

.panel-footer {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-2); line-height: 1.65;
}
.panel-footer a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 2px; }
.panel-footer .links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* ======================= Harita ve üstü yüzeyler ======================= */
#map { flex: 1; min-width: 0; height: 100%; background: #E8E8EA; }
.leaflet-container { font-family: 'Raleway', sans-serif; }
.leaflet-container a { color: #7A5F1A; }
.leaflet-control-attribution { font-size: 11px; background: rgba(255, 255, 255, .88) !important; color: #3A4A72; }
.leaflet-control-attribution a { color: #1A2E5E; }
.leaflet-bar a { color: #1A2E5E; }

/* Telefonda uzun giriş metni kısaltılır, düğmeyle açılır */
.lede-more { display: none; }
/* Çizgi okunurluğu: ince beyaz hale (mevcut davranış korunur) */
.leaflet-overlay-pane svg path {
  filter: drop-shadow(0 0 0.8px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 1.5px rgba(10, 22, 40, 0.35));
  transition: filter .15s ease;
}
.leaflet-overlay-pane svg path:hover {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 1)) drop-shadow(0 0 3px rgba(10, 22, 40, 0.6));
}

/* Popup: SABİT krem + lacivert (iki temada da aynı) */
.leaflet-popup-content-wrapper { border-radius: 8px; background: #F5F0E8; color: #0A1628; box-shadow: 0 6px 22px rgba(10, 22, 40, .28); }
.leaflet-popup-tip { background: #F5F0E8; }
.leaflet-popup-content { font-family: 'Raleway', sans-serif; font-size: 13px; color: #0A1628; line-height: 1.55; margin: 14px 16px; }
.leaflet-popup-content h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; font-weight: 600; margin-bottom: 6px; color: #0A1628; }
.leaflet-popup-content .meta { font-size: 11.5px; color: #3A4A72; margin-top: 6px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.leaflet-popup-content-wrapper a.leaflet-popup-close-button, .leaflet-container a.leaflet-popup-close-button { color: #3A4A72; font-size: 20px; width: 30px; height: 30px; line-height: 30px; }
.leaflet-container a.leaflet-popup-close-button:hover { color: #0A1628; }

/* Doğum yeri işareti ve popup içi bağlantılar */
.birth-marker { background: transparent; border: none; }

/* Legend */
.legend {
  position: absolute; bottom: 84px; right: 14px; /* sağ altta site asistanı düğmesi (110x48) duruyor */
  background: rgba(255, 255, 255, .96); color: #1A2E5E;
  border: 1px solid #D4B97A; border-radius: 8px;
  padding: 10px 14px 12px;
  font-size: 12px;
  box-shadow: var(--shadow);
  z-index: 500;
  width: 232px; max-width: calc(100% - 28px);
  max-height: calc(100% - 110px); overflow-y: auto;
}
:root[data-theme="dark"] .legend { background: rgba(15, 29, 54, .96); color: #F2EEE6; border-color: rgba(201, 169, 98, .55); }
.legend .legend-title {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  background: none; border: none; padding: 2px 0 6px; margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700; font-size: 15px; color: inherit; text-align: left; cursor: pointer;
}
.legend .legend-title::after { content: '\2212'; font-family: 'Raleway', sans-serif; font-size: 18px; line-height: 1; color: #7A5F1A; }
:root[data-theme="dark"] .legend .legend-title::after { color: #DCC384; }
.legend.collapsed .legend-title::after { content: '+'; }
.legend.collapsed #legend-content { display: none; }
.legend.collapsed { overflow: visible; }
.legend.collapsed .legend-title { padding-bottom: 2px; }
.legend-item { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 12.5px; }
.legend-line { flex: 0 0 22px; width: 22px; height: 3px; border-radius: 2px; }
.legend-item > span:nth-child(2) { -webkit-text-fill-color: #1A2E5E; border-bottom: 3px solid currentColor; line-height: 1.1; min-width: 16px; text-align: center; }
:root[data-theme="dark"] .legend-item > span:nth-child(2) { -webkit-text-fill-color: #F2EEE6; }
:root[data-theme="dark"] .legend-line,
:root[data-theme="dark"] .legend-item > span:nth-child(2),
:root[data-theme="dark"] .check-item .planet-glyph { box-shadow: 0 1px 0 0 rgba(255, 255, 255, .4); }
:root[data-theme="dark"] .legend-line { box-shadow: 0 0 0 1px rgba(255, 255, 255, .4); }
#legend-content > div:last-child { color: #3A4A72 !important; }
:root[data-theme="dark"] #legend-content > div:last-child { color: #CBD2E0 !important; border-top-color: rgba(201, 169, 98, .4) !important; }

/* Yorum kartı: SABİT renkler */
.interp-card {
  position: absolute; bottom: 24px; left: calc(var(--panel-w) + 20px);
  width: 380px; max-width: calc(100% - var(--panel-w) - 280px);
  min-width: 300px;
  background: #FFFFFF; color: #0A1628;
  border: 1px solid #D4B97A; border-left: 4px solid #C9A962;
  border-radius: 8px;
  padding: 16px 44px 16px 18px;
  box-shadow: var(--shadow);
  z-index: 500;
  display: none;
  max-height: 46%; overflow-y: auto;
}
:root[data-theme="dark"] .interp-card { background: #162847; color: #F2EEE6; border-color: rgba(201, 169, 98, .55); border-left-color: #C9A962; }
.interp-card.active { display: block; }
.interp-card h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; font-weight: 600; color: #0A1628; margin-bottom: 4px; }
:root[data-theme="dark"] .interp-card h3 { color: #F2EEE6; }
.interp-card .subtitle { font-size: 12.5px; color: #3A4A72; margin-bottom: 8px; font-style: italic; }
:root[data-theme="dark"] .interp-card .subtitle { color: #CBD2E0; }
.interp-card .body { font-size: 13.5px; color: #0A1628; line-height: 1.65; }
:root[data-theme="dark"] .interp-card .body { color: #F2EEE6; }
.interp-card .close {
  position: absolute; top: 6px; right: 6px;
  width: 36px; height: 36px; border-radius: 50%;
  background: none; border: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: #3A4A72;
}
:root[data-theme="dark"] .interp-card .close { color: #CBD2E0; }
.interp-card .close:hover { background: rgba(201, 169, 98, .22); }

.loading-overlay {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .72);
  display: none; align-items: center; justify-content: center;
  z-index: 600; flex-direction: column; gap: 12px;
  color: #1A2E5E; font-size: 13.5px; font-weight: 600;
}
:root[data-theme="dark"] .loading-overlay { background: rgba(10, 22, 40, .7); color: #F2EEE6; }
.loading-overlay.active { display: flex; }
.spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(201, 169, 98, .35); border-top-color: #C9A962;
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Örnek harita notu (açılışta bugün 12:00 İstanbul çiziliyor) */
.sample-note {
  position: absolute; top: 12px; left: calc(var(--panel-w) + 62px);
  z-index: 450; max-width: min(540px, calc(100% - var(--panel-w) - 80px));
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255, 255, 255, .96); color: #1A2E5E;
  border: 1px solid #D4B97A; border-radius: 8px;
  padding: 8px 8px 8px 14px; font-size: 12.5px; line-height: 1.5;
  box-shadow: var(--shadow-soft);
}
:root[data-theme="dark"] .sample-note { background: rgba(15, 29, 54, .96); color: #F2EEE6; border-color: rgba(201, 169, 98, .55); }
.sample-note[hidden] { display: none; }
.sample-note button {
  flex: 0 0 auto; background: none; border: none; cursor: pointer;
  color: inherit; font-size: 18px; line-height: 1; width: 28px; height: 28px; border-radius: 50%;
}
.sample-note button:hover { background: rgba(201, 169, 98, .25); }

/* Cyclo zaman çubuğu */
.timeline-panel-2d {
  display: none; position: absolute;
  bottom: 24px; left: calc(var(--panel-w) + 14px); right: 262px;
  background: rgba(255, 255, 255, .96); color: #1A2E5E;
  padding: 12px 16px 10px;
  border-radius: 8px; border: 1px solid #D4B97A;
  box-shadow: var(--shadow);
  z-index: 500;
}
:root[data-theme="dark"] .timeline-panel-2d { background: rgba(15, 29, 54, .96); color: #F2EEE6; border-color: rgba(201, 169, 98, .55); }
.timeline-panel-2d.active { display: block; }
.timeline-title-2d {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px; color: #7A5F1A; margin-bottom: 6px;
  letter-spacing: .5px; text-transform: uppercase; font-weight: 700;
}
:root[data-theme="dark"] .timeline-title-2d { color: #DCC384; }
#timelineSlider2d { width: 100%; min-height: 28px; accent-color: #7A5F1A; cursor: pointer; }
:root[data-theme="dark"] #timelineSlider2d { accent-color: #C9A962; }
.timeline-date-2d { font-size: 13.5px; color: inherit; text-align: center; margin: 4px 0; font-weight: 600; }
.timeline-controls-2d { display: flex; gap: 12px; align-items: center; font-size: 12px; color: #3A4A72; }
:root[data-theme="dark"] .timeline-controls-2d { color: #CBD2E0; }
.timeline-controls-2d button {
  background: transparent; color: #7A5F1A; border: 1px solid #7A5F1A;
  padding: 6px 14px; min-height: 34px; font-size: 12px; font-family: 'Raleway', sans-serif;
  border-radius: 6px; cursor: pointer; font-weight: 600; transition: background .15s;
}
:root[data-theme="dark"] .timeline-controls-2d button { color: #DCC384; border-color: #DCC384; }
.timeline-controls-2d button:hover { background: #C9A962; border-color: #C9A962; color: #0A1628; }
.timeline-meta-2d { flex: 1; line-height: 1.45; }
/* Cyclo yıldız zamanı seçimi (2026-10-07): Doğum anı (Jim Lewis) / Transit anı */
.timeline-gst-2d { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 2px 0 4px; font-size: 12px; }
.timeline-gst-lbl { color: #3A4A72; font-weight: 600; }
:root[data-theme="dark"] .timeline-gst-lbl { color: #CBD2E0; }
.timeline-gst-2d button {
  background: transparent; color: #7A5F1A; border: 1px solid #7A5F1A; border-radius: 6px;
  padding: 4px 10px; min-height: 30px; font-size: 12px; font-family: 'Raleway', sans-serif; font-weight: 600; cursor: pointer;
}
.timeline-gst-2d button.active { background: #7A5F1A; color: #FFFFFF; }
:root[data-theme="dark"] .timeline-gst-2d button { color: #DCC384; border-color: #DCC384; }
:root[data-theme="dark"] .timeline-gst-2d button.active { background: #DCC384; color: #0A1628; }
.timeline-gst-not { font-size: 11.5px; line-height: 1.4; color: #3A4A72; text-align: center; margin-bottom: 6px; }
:root[data-theme="dark"] .timeline-gst-not { color: #CBD2E0; }

/* Modal içi alanlar (modallar JS ile krem SABİT zeminle çiziliyor) */
#synastry-modal input, #synastry-modal select, #compare-modal input, #compare-modal select, #tour-overlay input, #email-report-modal input {
  background: #FFFFFF !important; color: #0A1628 !important; border-color: #C9BB99 !important; color-scheme: light;
}
#synastry-modal label, #compare-modal label { text-transform: none; letter-spacing: 0; color: #3A4A72 !important; }
#compare-modal table, #compare-modal td, #compare-modal th { color: #0A1628; }

/* Mobil panel düğmesi */
.mobile-toggle { display: none; }

/* ======================= Sayfa altı: rehber / SSS ======================= */
.seo-content {
  background: var(--bg);
  padding: 64px 24px 48px;
  border-top: 1px solid var(--gold-soft);
  color: var(--ink);
  line-height: 1.75; font-size: 15.5px;
}
.seo-inner { max-width: 880px; margin: 0 auto; }
.seo-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(25px, 3.2vw, 31px); font-weight: 600; color: var(--ink);
  margin: 44px 0 14px; letter-spacing: .2px; line-height: 1.2;
}
.seo-content h2, .seo-content h2.seo-main { scroll-margin-top: 80px; }
.seo-content h2.seo-main { font-size: clamp(30px, 4.5vw, 40px); margin: 0 0 16px; }
.seo-content p { margin-bottom: 14px; color: var(--ink); }
.seo-content strong { color: var(--ink); }
.seo-content a { color: var(--gold-ink); text-underline-offset: 2px; }
.seo-lede { font-size: 17.5px; line-height: 1.65; color: var(--ink-2) !important; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.seo-table-wrap { overflow-x: auto; margin: 16px 0 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.seo-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.seo-table th, .seo-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.seo-table th { background: var(--gold-wash); font-weight: 700; color: var(--ink); font-size: 12.5px; letter-spacing: .5px; text-transform: uppercase; }
.seo-table tr:last-child td { border-bottom: none; }
.seo-table tr:hover td { background: var(--card-2); }
.seo-steps { margin: 16px 0 24px 22px; padding-left: 4px; }
.seo-steps li { margin-bottom: 12px; padding-left: 6px; }
.seo-steps li::marker { color: var(--gold-ink); font-weight: 700; }
.seo-faq, .faq-item {
  margin: 8px 0; padding: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
}
.seo-faq summary, .faq-item summary {
  font-weight: 600; color: var(--ink); cursor: pointer; user-select: none;
  font-size: 16px; list-style: none; position: relative;
  padding: 16px 52px 16px 18px; min-height: 52px;
}
.seo-faq summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.seo-faq summary::after, .faq-item summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--gold-ink); font-weight: 300; line-height: 1;
}
.seo-faq[open] summary::after, .faq-item[open] summary::after { content: '\2212'; }
.seo-faq[open], .faq-item[open] { border-color: var(--gold-soft); }
.seo-faq p, .faq-item .faq-answer { padding: 0 18px 16px; margin: 0; font-size: 15px; color: var(--ink-2); }
.faq-item .faq-answer p { margin: 0 0 10px; color: var(--ink-2); }
.seo-links { list-style: none; padding: 0; margin: 16px 0; }
.seo-links li { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.seo-links li::before { content: '\2192  '; color: var(--gold-ink); font-weight: 700; margin-right: 6px; }
.seo-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.seo-links a:hover { color: var(--gold-ink); text-decoration: underline; }
.seo-related { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.seo-related a {
  display: block; padding: 13px 16px; background: var(--card);
  border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px;
  color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.55;
}
.seo-related a:hover { background: var(--card-2); border-color: var(--gold-soft); border-left-color: var(--gold); }
.seo-sub { font-size: 14.5px; color: var(--ink-2) !important; margin-bottom: 14px; }
.seo-figure { margin: 18px 0 24px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #FFFFFF; }
.seo-figure svg { color: #0A1628; }
.seo-figure figcaption { font-size: 13.5px; color: #3A4A72; font-style: italic; margin-top: 8px; text-align: center; line-height: 1.55; }
.seo-disclaimer { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2) !important; text-align: center; }

.expert-card {
  background: #0A1628; border: 1px solid rgba(201, 169, 98, .4); border-radius: 12px;
  padding: 22px 24px; margin: 0 0 32px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.expert-card .expert-text { flex: 1; min-width: 240px; }
.expert-card .expert-eyebrow { color: #C9A962; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
.expert-card p { margin: 0 !important; color: #F5F0E8 !important; font-size: 15.5px; line-height: 1.7; }
.expert-card p strong { color: #C9A962 !important; }
.seo-content a.expert-btn {
  display: inline-block; background: #C9A962; color: #0A1628; font-weight: 700; text-decoration: none;
  padding: 13px 26px; border-radius: 8px; font-size: 14.5px; white-space: nowrap;
}
.seo-content a.expert-btn:hover { background: #D8BD7C; }

.tool-cta {
  background: var(--card); border: 1px solid var(--gold-soft); border-radius: 14px;
  padding: 36px 24px; margin: 40px auto; max-width: 800px; text-align: center;
}
.tool-cta .cta-eyebrow { color: var(--gold-ink); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; font-weight: 700; }
.tool-cta h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(22px, 3vw, 27px); line-height: 1.25; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.tool-cta p { color: var(--ink-2); font-size: 15px; max-width: 580px; margin: 0 auto 14px; }
.tool-cta .cta-note { font-size: 13.5px; margin-bottom: 22px; }
.seo-content a.cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: #C9A962; color: #0A1628; font-weight: 700; font-size: 15.5px;
  padding: 15px 34px; border-radius: 50px; text-decoration: none;
}
.seo-content a.cta-pill:hover { background: #D8BD7C; }

/* Paylaş + alt bilgi */
.share-box { display: flex; align-items: center; gap: 8px; margin: 0; padding: 20px 24px; flex-wrap: wrap; justify-content: center; background: var(--bg); }
.share-label { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; min-height: 40px; border-radius: 8px;
  border: 1px solid var(--field-bd); background: var(--card); color: var(--ink);
  font-size: 13px; cursor: pointer; font-family: inherit; transition: background .2s, border-color .2s;
}
.share-btn:hover { border-color: var(--gold-ink); background: var(--card-2); }
.share-wa svg { color: #1E8F4E; }
.site-foot {
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 22px 24px 30px; text-align: center; font-size: 13px; color: var(--ink-2);
}
.site-foot a { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-foot a:hover { color: var(--gold-ink); text-decoration: underline; }
.site-foot .foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }

/* Cyclo zaman çubuğu açıkken yorum kartı onun üstüne çıkar */
.timeline-panel-2d.active ~ .interp-card { bottom: 236px; } /* 2026-10-07: yıldız zamanı satırı ve notuyla panel ~72px uzadı */

/* Orta genişlik: yorum kartı ve zaman çubuğu legend ile çakışmasın */
@media (max-width: 1180px) {
  .interp-card { max-width: calc(100% - var(--panel-w) - 40px); }
  .timeline-panel-2d { right: 14px; bottom: 24px; }
  .legend { max-height: 40%; }
}
@media (max-width: 1100px) { .topbar .breadcrumbs { display: none; } }

/* ======================= Mobil ======================= */
@media (max-width: 768px) {
  :root { --panel-w: 100%; }
  .topbar { padding: 0 12px; }
  .topbar .brand { font-size: 17px; gap: 6px; }
  .topbar .brand .sub { font-size: 13.5px; }
  .layout { flex-direction: column; }
  .panel {
    position: absolute; top: 0; left: 0; right: 0;
    height: 100%; width: auto; flex: none;
    z-index: 800;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    border-right: none;
    padding: 18px 18px 96px;
  }
  .panel.open { transform: translateX(0); visibility: visible; transition: transform .3s ease, visibility 0s; }
  .panel h1, .panel .panel-heading { font-size: 26px; }
  .panel .lede:not(.open) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; }
  .lede-more {
    display: block; background: none; border: none; padding: 6px 0; margin: 0 0 12px; min-height: 36px;
    color: var(--gold-ink); font: 600 13px 'Raleway', sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  }
  .leaflet-control-attribution { font-size: 10px; max-width: 70vw; }
  .action-stack { margin: 0 -18px 10px; padding: 12px 18px; bottom: 74px; }
  #map { width: 100%; height: 100%; }
  /* panel açıkken Leaflet kontrolleri (z-index 1000) panelin üstüne taşmasın */
  .panel.open ~ #map .leaflet-control-container { display: none; }
  .mobile-toggle {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--gold); color: var(--navy);
    border: none;
    position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
    z-index: 900;
    box-shadow: 0 6px 20px rgba(10, 22, 40, .35);
    cursor: pointer;
    width: auto; height: 48px; padding: 0 22px; border-radius: 24px;
    font-family: 'Raleway', sans-serif; font-size: 14px; font-weight: 700; white-space: nowrap;
  }
  .interp-card { left: 10px; right: 10px; width: auto; min-width: 0; max-width: none; bottom: 92px; max-height: 40%; padding: 14px 44px 14px 14px; } /* alttaki panel ve Asistan düğmesinin (yaklaşık 70px) üstünde kalsın */
  .legend { bottom: 78px; right: 10px; width: 190px; font-size: 11.5px; max-height: 38%; }
  .legend:not(.collapsed) { max-height: 50%; }
  .timeline-panel-2d { left: 10px; right: 10px; bottom: 78px; padding: 10px 12px; }
  .timeline-meta-2d { display: none; }
  .timeline-gst-lbl { display: none; }
  .timeline-gst-2d button { min-height: 28px; padding: 3px 8px; font-size: 11.5px; }
  .timeline-gst-not { font-size: 10.5px; margin-bottom: 4px; }
  .timeline-panel-2d.active ~ .interp-card { bottom: 318px; max-height: 28%; }
  .interp-card.active ~ .legend { display: none; } /* kart açıkken lejant (kapalı hali de) kartın üstüne binmesin */
  .sample-note { left: 62px; max-width: calc(100% - 76px); }
  .seo-content { padding: 44px 16px 36px; font-size: 15px; }
  .mode-btn { font-size: 12px; padding: 9px 2px; }
  input[type="date"], input[type="time"], input[type="text"], input[type="number"], select { font-size: 16px; }
  .menu-dropdown { right: -4px; min-width: 220px; max-width: calc(100vw - 20px); }
  .expert-card { padding: 18px; }
  .tool-cta { padding: 28px 16px; }
}
@media (max-width: 400px) {
  .topbar .brand .sub { display: none; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .toggle-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .panel, .menu-dropdown, .spinner { animation-duration: 0s !important; transition-duration: 0s !important; }
  .spinner { animation: none; border-top-color: #C9A962; border-color: #C9A962; }
}


/* ---- 3D Görünüm duyurusu (2026-10-01) ---- */
.menu-item .menu-new { margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: .08em; padding: 2px 7px; border-radius: 999px; background: var(--gold); color: #0A1628; line-height: 1.4; }
.topbar .icon-btn.has-new { position: relative; }
.topbar .icon-btn.has-new::after { content: ''; position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--top-bg); }
.new-feature { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 12px; background: var(--gold-wash); border: 1px solid var(--top-bd); border-radius: 12px; }
.new-feature[hidden] { display: none; }
.new-feature .new-chip { flex-shrink: 0; font-size: 10px; font-weight: 800; letter-spacing: .09em; padding: 3px 8px; border-radius: 999px; background: var(--gold); color: #0A1628; }
.new-feature .new-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.new-feature .new-text strong { font-size: 14px; color: var(--ink); }
.new-feature .new-btn { flex-shrink: 0; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--card); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.new-feature .new-btn:hover { opacity: .9; }
.new-feature .new-btn:focus-visible, .new-feature .new-close:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.new-feature .new-close { flex-shrink: 0; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); font-size: 18px; line-height: 1; cursor: pointer; }
.new-feature .new-close:hover { background: var(--gold-wash); color: var(--ink); }
@media (max-width: 480px) { .new-feature { flex-wrap: wrap; } .new-feature .new-text { flex-basis: calc(100% - 100px); } }
