/* ==========================================================================
   Sayra Web
   Tokenlar ve bileşenler: DESIGN_SPEC.md + design/*.dc.html
   Breakpoint'ler: 1100 (hane 2 sütun) · 900 (tabbar) · 860 (auth sol panel) · 640 · 520
   ========================================================================== */

:root {
  --bg: #0b0a14;
  --surface: linear-gradient(170deg, #17142a 0%, #0f0d1b 100%);
  --surface-2: #120f1f;
  --surface-3: #1a1630;
  --surface-hover: #17142a;
  --border: #2a2541;
  --border-input: #332d4d;
  --divider: #1e1a30;

  --text: #ece8f6;
  --text-2: #d4cfe3;
  --text-3: #c9c3da;
  --text-muted: #b9b3cc;
  --text-label: #aaa4be;
  --text-faint: #7f789a;

  --gold: #d9bd73;
  --gold-hover: #f0d68c;
  --gold-bright: #f3e2a9;
  --violet: #5b2ee6;
  --violet-hover: #6a3ff5;
  --violet-focus: #7a5cf0;
  --focus-ring: rgba(91, 46, 230, .25);
  --orange: #f0842a;
  --orange-icon: #f0a35a;

  --danger: #ff9e94;
  --danger-bg: #22111a;
  --danger-border: #5a2433;
  --success: #6fd3a0;
  --success-bg: #0f1a17;
  --success-border: #1f3a30;

  --serif: Lora, Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --gutter: 32px;

  color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }
a:hover { color: var(--gold-hover); }

h1, h2, h3, p { overflow-wrap: break-word; }

img, svg { flex: none; }

button { font: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold-hover);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.serif { font-family: var(--serif); }

.lbl {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-label);
  font-weight: 500;
  margin: 0;
}
.lbl--gold { color: var(--gold); }

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

.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; color: #fff; }

/* Kozmik arka plan (Main.dc.html .cosmos) */
.cosmos {
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 78% 12%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 32% 64%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 88% 72%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 56% 38%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 22% 88%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 66% 86%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 44% 8%, #fff 60%, transparent 61%),
    radial-gradient(ellipse 60% 50% at 30% 30%, #2a1b55 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, #4a2a10 0%, transparent 70%),
    var(--bg);
}

/* ---------- Marka ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 20px;
}
.brand:hover { color: var(--text); }
.brand svg { color: var(--gold); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s, opacity .15s;
}
.btn--lg { height: 54px; padding: 0 28px; letter-spacing: .14em; }
.btn--block { width: 100%; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 10px 30px rgba(91, 46, 230, .35); }
.btn-primary:hover { background: var(--violet-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-input); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hover); }
.btn-muted { background: var(--surface-3); color: var(--text-label); border: 1px solid var(--border); }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger-border); }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: progress; }

/* "Devamını oku →" (ReadMoreLink) */
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold);
}
.more:hover { color: var(--gold-hover); }
.more--tight { min-height: 32px; }

/* ---------- Form ---------- */
.form-stack { display: flex; flex-direction: column; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-group__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.form-group__row a { font-size: 13px; text-decoration: none; }

.field {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--border-input);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field > svg { color: var(--text-label); }
.field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.field input::placeholder { color: var(--text-faint); opacity: 1; }
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 40px var(--surface-2) inset;
  box-shadow: 0 0 0 40px var(--surface-2) inset;
  caret-color: var(--text);
}
.field input[readonly] { color: var(--text-muted); }
.field:focus-within { border-color: var(--violet-focus); box-shadow: 0 0 0 3px var(--focus-ring); }
.field.is-invalid, .field:has(input[aria-invalid="true"]) { border-color: var(--danger-border); }
.field.is-invalid:focus-within, .field:has(input[aria-invalid="true"]):focus-within { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 158, 148, .18); }

.field__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 44px;
  min-height: 44px;
  margin-right: -6px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 8px;
  color: var(--text-label);
  cursor: pointer;
}
.field__action:hover { color: var(--text); }

.field-hint { margin: 0; font-size: 12px; color: var(--text-faint); line-height: 1.5; }
.field-error {
  margin: 0;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: var(--danger);
}

.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.check--top { align-items: flex-start; min-height: 0; }
.check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--violet);
  flex: none;
}
.check--top input { margin-top: 2px; }

.strength { display: flex; gap: 6px; margin-top: 2px; }
.strength span { flex: 1; height: 3px; border-radius: 2px; background: var(--border); transition: background-color .2s; }
.strength[data-score="1"] span:nth-child(-n+1),
.strength[data-score="2"] span:nth-child(-n+2),
.strength[data-score="3"] span:nth-child(-n+3),
.strength[data-score="4"] span:nth-child(-n+4) { background: var(--gold); }
.strength-text { margin: 0; font-size: 12px; color: var(--text-faint); min-height: 18px; }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.form-foot { margin: 0; text-align: center; font-size: 14px; color: var(--text-label); }
.form-foot a { font-weight: 600; }

/* Bildirim kutuları */
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}
.alert svg { margin-top: 1px; }
.alert p { margin: 0; }
.alert a { font-weight: 600; }
.alert--error { border-color: var(--danger-border); background: var(--danger-bg); }
.alert--error svg { color: var(--danger); }
.alert--success { border-color: var(--success-border); background: var(--success-bg); }
.alert--success svg { color: var(--success); }
.alert--info svg { color: var(--gold); }
.alerts { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Auth (Giriş / Kayıt) ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-wrap: wrap; }

.auth-side {
  flex: 1 1 520px;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 56px;
  overflow: hidden;
}
.auth-side .brand svg { width: 26px; height: 26px; }

.auth-visual { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 40px 0; }
.auth-visual__copy { text-align: center; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.auth-visual__copy h2 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.2; }
.auth-visual__copy p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.6; }

.orbit {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(217, 189, 115, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(91, 46, 230, .35), inset 0 0 60px rgba(217, 189, 115, .08);
}
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; }
.orbit::before { inset: 26px; border: 1px dashed rgba(217, 189, 115, .35); }
.orbit::after { inset: 70px; border: 1px solid rgba(217, 189, 115, .25); }
.orbit__n { position: absolute; font-family: var(--serif); color: var(--gold); font-size: 18px; }
.orbit__n--t { top: 34px; left: 50%; transform: translateX(-50%); font-size: 20px; }
.orbit__n--b { bottom: 34px; left: 50%; transform: translateX(-50%); font-size: 20px; }
.orbit__n--tl { top: 88px; left: 48px; }
.orbit__n--tr { top: 88px; right: 48px; }
.orbit__n--bl { bottom: 88px; left: 58px; }
.orbit__n--br { bottom: 88px; right: 58px; }
.orbit__center { font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--gold-bright); text-shadow: 0 0 40px rgba(217, 189, 115, .6); }

.auth-steps { display: flex; flex-direction: column; gap: 36px; max-width: 440px; }
.auth-steps h2 { margin: 0; font-family: var(--serif); font-size: 36px; font-weight: 500; line-height: 1.2; }
.auth-steps ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; align-items: center; gap: 14px; }
.step__n {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(217, 189, 115, .5);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 15px;
  flex: none;
}
.step__title { font-weight: 600; }
.step__text { color: var(--text-muted); font-size: 14px; margin-top: 3px; }

.auth-foot { margin: 0; color: var(--text-faint); font-size: 13px; }
.auth-foot a { color: var(--text-faint); text-decoration: none; }
.auth-foot a:hover { color: var(--text-muted); text-decoration: underline; }

.auth-main {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 64px 56px;
  background: var(--bg);
}
.auth-mobile-brand { display: none; }

.auth-form { width: 100%; max-width: 420px; }
.auth-form--wide { max-width: 460px; }
.auth-form.form-stack--tight { gap: 20px; }
.auth-head { display: flex; flex-direction: column; gap: 8px; }
.auth-head h1 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.2; }
.auth-head p { margin: 0; color: var(--text-label); font-size: 15px; line-height: 1.55; }

/* ---------- Uygulama iskeleti ---------- */
.page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 10, 20, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }

.navlinks { display: flex; gap: 4px; }
.navlinks a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.navlinks a:hover { color: var(--text); background: var(--surface-hover); }
.navlinks a.on { color: var(--gold-hover); background: var(--surface-3); }

.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold-hover);
  text-decoration: none;
  flex: none;
}
.avatar:hover { background: var(--surface-3); color: var(--gold-hover); }
.avatar.on { background: var(--surface-3); }

.app-main { flex: 1; display: flex; flex-direction: column; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.app-main--report { gap: 48px; }
.app-main--destiny { gap: 36px; padding-top: 56px; }
.app-main--narrow { max-width: 860px; gap: 24px; }

.tabbar { display: none; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--intro { gap: 22px; }

.section-title { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.25; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.page-head__meta { color: var(--text-label); font-size: 15px; }
.daily-name { margin: 0; font-size: 40px; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }

.intro { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.intro h1 { margin: 0; font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1.2; }
.intro p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.intro--center { align-items: center; text-align: center; gap: 12px; max-width: none; }
.intro--center h1 { font-size: 44px; line-height: 1.15; }
.intro--center p { font-size: 17px; max-width: 560px; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid2--start { align-items: start; }

/* NumberRing */
.num-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  font-family: var(--serif);
  color: var(--text);
  flex: none;
  line-height: 1;
}
.num-ring--sm { width: 44px; height: 44px; font-size: 20px; background: rgba(11, 10, 20, .5); }
.num-ring--md { width: 50px; height: 50px; font-size: 24px; }

/* DestinyCard (Kader Sayısı) */
.hero {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  border: 2px solid var(--violet);
  box-shadow: 0 0 0 6px rgba(91, 46, 230, .18), 0 0 60px rgba(91, 46, 230, .35);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #2a1b55 0%, #110f1f 60%, #0d0b18 100%);
}
.hero__ring {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: #fff;
  box-shadow: 0 0 30px rgba(217, 189, 115, .25);
}
.hero__text { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.7; max-width: 380px; }
.hero__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }

/* EnergyCard */
.energy-list { display: flex; flex-direction: column; gap: 16px; }
.energy-list .section-title { margin-bottom: 4px; }
.energy { display: flex; gap: 18px; padding: 22px; position: relative; overflow: hidden; }
.energy__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.energy__label { display: flex; align-items: center; gap: 8px; }
.energy__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.energy--day { background: linear-gradient(120deg, #1b1631 0%, #2b2114 100%); border-color: #3a3220; }
.energy--day .energy__label { color: var(--gold-hover); }
.energy--month { background: linear-gradient(120deg, #1b1631 0%, #141b35 100%); border-color: #28305a; }
.energy--month .energy__label { color: #b9c6ff; }
.energy--year { background: linear-gradient(120deg, #1b1631 0%, #241a3d 100%); border-color: #3a2e5e; }
.energy--year .energy__label { color: #cdb8ff; }

/* MapTile (Kısa Harita) */
.tile {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 18px;
  border: 1px solid;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s, border-color .15s;
}
.tile:hover { color: var(--text); transform: translateY(-2px); }
.tile__top { display: flex; justify-content: space-between; align-items: center; }
.tile__ic { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tile__num { font-family: var(--serif); font-size: 40px; line-height: 1; }
.tile .lbl { overflow-wrap: anywhere; hyphens: auto; }
.tile--green { background: #0f1a17; border-color: #1f3a30; }
.tile--green .tile__ic { background: #163228; color: #6fd3a0; }
.tile--green .tile__arrow { color: #6fd3a0; }
.tile--green:hover { border-color: #2f5a48; }
.tile--pink { background: #1a0f17; border-color: #3d1f36; }
.tile--pink .tile__ic { background: #361a30; color: #f08bc0; }
.tile--pink .tile__arrow { color: #f08bc0; }
.tile--pink:hover { border-color: #5e2f53; }
.tile--blue { background: #0f1420; border-color: #1f2d4a; }
.tile--blue .tile__ic { background: #182640; color: #8ab4ff; }
.tile--blue .tile__arrow { color: #8ab4ff; }
.tile--blue:hover { border-color: #2f4570; }
.tile--teal { background: #0e1a1c; border-color: #1f3b40; }
.tile--teal .tile__ic { background: #163236; color: #7adfe8; }
.tile--teal .tile__arrow { color: #7adfe8; }
.tile--teal:hover { border-color: #2f5a62; }

.empty-text { color: var(--text-faint); font-style: italic; }

/* ElementCard (Raporum) */
.el {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid;
}
.el__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.el__id { display: flex; gap: 12px; align-items: center; min-width: 0; }
.el__ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.el__name { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.25; }
.el__pct { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.el__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-2); }
.el__facts { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.el__facts dd { margin: 0; text-align: right; letter-spacing: .08em; }
.bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 4px; }
.el--hava { background: radial-gradient(ellipse 90% 70% at 100% 100%, #2b2a6a 0%, #15132b 60%); border-color: #34306a; }
.el--hava .el__ic, .el--hava .lbl { color: #c8c3ff; }
.el--hava .bar span { background: var(--gold); }
.el--su { background: radial-gradient(ellipse 90% 70% at 100% 100%, #1a2a66 0%, #131a33 60%); border-color: #28386a; }
.el--su .el__ic, .el--su .lbl { color: #9fc2ff; }
.el--su .bar span { background: #8ab4ff; }
.el--ates { background: radial-gradient(ellipse 90% 70% at 100% 100%, #5a2210 0%, #1f1214 60%); border-color: #5a2c22; }
.el--ates .el__ic, .el--ates .lbl { color: #ffb08a; }
.el--ates .bar span { background: #ff8a5c; }
.el--toprak { background: radial-gradient(ellipse 90% 70% at 100% 100%, #3a2a14 0%, #171310 60%); border-color: #4a3a22; }
.el--toprak .el__ic, .el--toprak .lbl { color: #e5c99a; }
.el--toprak .bar span { background: #cfd3dc; }

/* DataTable */
.table-card { padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.table-card__head { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.table-card > .section-title { padding: 0 4px; }
.table-card__head p { margin: 0; color: var(--text-label); font-size: 14px; }
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 0; border-radius: 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-label);
  font-weight: 500;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--divider); white-space: nowrap; }
.data-table thead td { border-bottom-color: var(--border); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; }
.data-table .mono { font-family: var(--serif); font-size: 17px; }
.data-table .faint { color: var(--text-faint); }
.data-table th[scope="row"] { font-size: 15px; letter-spacing: normal; text-transform: none; color: var(--text); font-weight: 400; border-bottom-color: var(--divider); }
.data-table tbody tr:last-child th { border-bottom: 0; }
.stack-20 { display: flex; flex-direction: column; gap: 20px; }

/* HouseCard (Kader Kodu) */
.hane {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(1px 1px at 82% 22%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 66% 70%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 90% 60%, #fff 60%, transparent 61%),
    radial-gradient(ellipse 60% 70% at 100% 100%, #2b1f55 0%, transparent 70%),
    linear-gradient(170deg, #17142a 0%, #0f0d1b 100%);
}
.hane__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hane h2 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; min-width: 0; }
.hane p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-3); flex: 1; }
.hane .more { min-height: 40px; align-self: flex-start; }

/* Yorum detayı ve modal */
.reading { display: flex; flex-direction: column; gap: 24px; }
.reading__head { display: flex; flex-direction: column; gap: 14px; }
.reading__title-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.reading__title { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.25; }
.reading__ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  flex: none;
  box-shadow: 0 0 30px rgba(217, 189, 115, .2);
}
.reading__body { display: flex; flex-direction: column; gap: 16px; }
.reading__body p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text-2); }
.reading__body p:first-child { font-size: 17px; color: var(--text); }

.reading-page { padding: 36px 40px; }
.back-link { align-self: flex-start; }

.reading-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(170deg, #17142a 0%, #0f0d1b 100%);
  color: var(--text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(91, 46, 230, .25);
  overflow: hidden;
}
.reading-dialog::backdrop { background: rgba(6, 5, 12, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.reading-dialog[open] { display: flex; flex-direction: column; animation: dialog-in .18s ease-out; }
.reading-dialog__bar { display: flex; justify-content: flex-end; padding: 12px 12px 0; flex: none; }
.reading-dialog__body { padding: 0 36px 36px; overflow-y: auto; overscroll-behavior: contain; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-label);
  cursor: pointer;
}
.icon-btn:hover { color: var(--text); border-color: var(--border); background: var(--surface-3); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Ayarlar */
.settings { display: flex; flex-direction: column; gap: 24px; }
.settings-card { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.settings-card__head { display: flex; flex-direction: column; gap: 6px; }
.settings-card__head h2 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.settings-card__head p { margin: 0; color: var(--text-label); font-size: 14px; line-height: 1.55; }
.settings-card form { display: flex; flex-direction: column; gap: 18px; }
.settings-card .btn { align-self: flex-start; }
.settings-card--danger { border-color: #3a2030; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.kv div { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--divider); min-width: 0; }
.kv dt { margin: 0; }
.kv dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Onboarding (Analiz Hazırlığı) ---------- */
.focus-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 32px;
  min-height: 69px;
  border-bottom: 1px solid var(--divider);
}
.focus-topbar .brand svg { width: 24px; height: 24px; }
.focus-topbar__right { display: flex; align-items: center; gap: 16px; text-align: right; }

.onb-hero {
  position: relative;
  height: 260px;
  overflow: hidden;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 78% 12%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 32% 64%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 88% 72%, #fff 60%, transparent 61%),
    radial-gradient(1.5px 1.5px at 56% 38%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 22% 88%, #fff 60%, transparent 61%),
    radial-gradient(1px 1px at 66% 86%, #fff 60%, transparent 61%),
    radial-gradient(ellipse 70% 60% at 50% 0%, #2a1b55 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 90%, #4a2a10 0%, transparent 70%),
    var(--bg);
}
.onb-ring {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(217, 189, 115, .35);
}
.onb-ring::before, .onb-ring::after { content: ""; position: absolute; border-radius: 50%; }
.onb-ring::before { inset: 40px; border: 1px dashed rgba(217, 189, 115, .28); }
.onb-ring::after { inset: 90px; border: 1px solid rgba(217, 189, 115, .2); }
.onb-ring span { position: absolute; color: rgba(217, 189, 115, .8); font-family: var(--serif); font-size: 22px; }
.onb-ring span:nth-child(1) { top: 48px; left: 50%; transform: translateX(-50%); }
.onb-ring span:nth-child(2) { top: 110px; left: 70px; }
.onb-ring span:nth-child(3) { top: 110px; right: 70px; }
.onb-ring span:nth-child(4) { top: 200px; left: 36px; }
.onb-ring span:nth-child(5) { top: 200px; right: 36px; }

.onb-main { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: 0 24px 64px; margin-top: -60px; position: relative; }
.onb-card {
  width: 100%;
  max-width: 640px;
  padding: 48px 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.onb-head { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.onb-head h1 { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.2; }
.onb-head p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.6; max-width: 440px; }
.onb-fields { display: flex; flex-direction: column; gap: 20px; }

.onb-loading { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 12px 0; text-align: center; }
.onb-loading > div:not(.loader) { display: flex; flex-direction: column; gap: 8px; }
.onb-loading h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.onb-loading p { margin: 0; color: var(--text-muted); font-size: 15px; }
.loader {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #2b1a4e 0%, #0b0a14 70%);
  border: 1px solid rgba(217, 189, 115, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(91, 46, 230, .45);
  animation: loader-glow 2.4s ease-in-out infinite;
}
.loader__dash { position: absolute; inset: 20px; border-radius: 50%; border: 1px dashed rgba(217, 189, 115, .4); animation: spin 18s linear infinite; }
.loader__orbit { position: absolute; inset: 0; animation: spin 6s linear infinite; }
.loader__orbit::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 12px 3px rgba(243, 226, 169, .7);
}
.loader svg { color: #f3c56b; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loader-glow { 50% { box-shadow: 0 0 110px rgba(91, 46, 230, .6); } }
@keyframes twinkle { 50% { transform: scale(.92) rotate(22deg); opacity: .8; } }

/* ---------- Basit sayfalar (hata, yasal) ---------- */
.plain { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.plain__main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px 64px; }
.plain__card { width: 100%; max-width: 560px; padding: 44px 40px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; border-radius: 24px; }
.plain__card--doc { max-width: 760px; align-items: stretch; text-align: left; }
.plain__card h1 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.2; }
.plain__card p { margin: 0; color: var(--text-muted); line-height: 1.65; }
.plain__code { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold-bright); text-shadow: 0 0 40px rgba(217, 189, 115, .45); }
.doc { display: flex; flex-direction: column; gap: 14px; color: var(--text-2); line-height: 1.7; }
.doc h2 { margin: 12px 0 0; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--text); }
.doc p, .doc ul { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .navlinks { display: none; }
  .grid2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: sticky;
    bottom: 0;
    z-index: 20;
    background: rgba(11, 10, 20, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--divider);
    padding: 8px 8px calc(12px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 50px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-label);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
  }
  .tabbar a.on { color: var(--gold-hover); }
  .tabbar a:focus-visible { outline-offset: -2px; }
}

@media (max-width: 860px) {
  .auth-side { display: none; }
  .auth-main { padding: 40px 24px; justify-content: flex-start; }
  .auth-mobile-brand { display: inline-flex; align-self: center; }
  .row2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .grid3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .focus-topbar { padding: 10px 20px; }
  .focus-topbar .lbl { font-size: 10px; letter-spacing: .1em; }
  .onb-hero { height: 200px; }
  .onb-main { padding: 0 16px 48px; }
  .onb-card { padding: 32px 22px 28px; gap: 24px; }
  .onb-head h1 { font-size: 28px; }
  .daily-name { font-size: 32px; }
  .intro h1 { font-size: 32px; }
  .intro--center h1 { font-size: 36px; }
  .hero { padding: 32px 22px; }
  .reading-page { padding: 28px 22px; }
  .reading__title { font-size: 25px; }
  .reading__ring { width: 60px; height: 60px; font-size: 30px; }
  .reading-dialog { width: calc(100vw - 24px); max-height: 88vh; border-radius: 20px; }
  .reading-dialog__body { padding: 0 22px 28px; }
  .settings-card { padding: 24px 20px; }
  .kv { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .plain__card { padding: 36px 24px; }
  .table-card { padding: 24px 16px; }
  .data-table th, .data-table td { padding-left: 12px; padding-right: 12px; }
  .data-table thead th { white-space: normal; }
}

@media (max-width: 520px) {
  .grid4--elements { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .energy { gap: 14px; padding: 20px 18px; }
  .tile { padding: 18px; }
}

@media (max-width: 380px) {
  .grid4:not(.grid4--elements) { gap: 12px; }
  .tile { padding: 16px; }
  .tile__num { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Paketler, kilitli içerik ve ödeme
   ========================================================================== */

.topbar__right { display: flex; align-items: center; gap: 12px; min-width: 0; }

.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border-input);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.plan-chip svg { color: var(--gold); }
.plan-chip:hover, .plan-chip.on { border-color: var(--gold); color: var(--gold-hover); }
.plan-chip__cta { color: var(--gold); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.plan-chip--3 { border-color: rgba(217, 189, 115, .5); background: rgba(217, 189, 115, .08); color: var(--gold-hover); }

/* Kilitli içerik */
.locked { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.locked__text { margin: 0; display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.locked__text svg { color: var(--gold); margin-top: 3px; }
.locked__text strong { color: var(--text); font-weight: 600; }
.locked--compact .locked__text { font-size: 14px; }
.hero .locked { align-items: center; text-align: center; }
.locked-panel { padding: 22px 24px; border-radius: 18px; border: 1px dashed var(--border-input); background: rgba(18, 15, 31, .6); }
.num-ring--locked, .hero__ring--locked { color: var(--gold); border-style: dashed; }
.hero__ring--locked { box-shadow: none; }
.tile--locked .tile__num { color: var(--text-faint); }
.tile__badge {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(217, 189, 115, .35);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}
.hane--locked h2 { color: var(--text-2); }
.onb-lock { width: 56px; height: 56px; border-radius: 50%; border: 1px dashed var(--gold); color: var(--gold); display: flex; align-items: center; justify-content: center; }

/* Paket kartları */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 28px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.plan--2 { background: radial-gradient(ellipse 90% 60% at 100% 0%, #241a3d 0%, #13101f 60%); border-color: #3a2e5e; }
.plan--3 {
  border: 2px solid var(--violet);
  box-shadow: 0 0 0 6px rgba(91, 46, 230, .18), 0 0 60px rgba(91, 46, 230, .3);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #2a1b55 0%, #110f1f 60%, #0d0b18 100%);
}
.plan--current { border-color: var(--gold); }
.plan__head { display: flex; flex-direction: column; gap: 10px; }
.plan__name { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; }
.plan__price { margin: 0; font-family: var(--serif); font-size: 32px; line-height: 1.2; color: var(--gold-bright); }
.plan__price span { font-family: var(--sans); font-size: 14px; color: var(--text-label); }
.plan__desc { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.plan__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.plan__list li { display: flex; gap: 10px; }
.plan__list svg { color: var(--gold); margin-top: 3px; }
.plan__list strong { color: var(--text); font-weight: 600; }
.plan__cta { display: flex; flex-direction: column; gap: 10px; }
.plan__note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-faint); text-align: center; }

.compare th[scope="row"] { white-space: normal; min-width: 180px; }
.compare .center { text-align: center; }
.compare .yes { color: var(--success); }
.compare .no { color: var(--text-faint); }
.compare__group th { padding-top: 22px; color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; border-bottom-color: var(--border); }

/* Ödeme */
.amount { font-family: var(--serif); font-size: 26px; color: var(--gold-bright); }
.secure-note { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--text-faint); font-size: 13px; }
.secure-note svg { color: var(--gold); }
.paytr-frame { padding: 8px; border-radius: 20px; background: #fff; overflow: hidden; }
.paytr-frame iframe { display: block; width: 100%; min-height: 560px; border: 0; }
.result-icon { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid; }
.result-icon--ok { color: var(--success); border-color: var(--success-border); background: var(--success-bg); }
.result-icon--fail { color: var(--danger); border-color: var(--danger-border); background: var(--danger-bg); }
.result-icon--wait { color: var(--gold); border-color: rgba(217, 189, 115, .4); border-style: dashed; }
.result-icon--wait svg { animation: spin 6s linear infinite; }

@media (max-width: 1000px) {
  .plans { grid-template-columns: minmax(0, 560px); justify-content: center; }
}

@media (max-width: 640px) {
  .plan { padding: 26px 22px; }
  .plan-chip { height: 34px; padding: 0 12px; }
  .paytr-frame { margin: 0 calc(var(--gutter) * -1 + 8px); border-radius: 16px; padding: 4px; }
}

@media (max-width: 420px) {
  .plan-chip > span:not(.plan-chip__cta) { display: none; }
}
