/* OUTOFF — canlı uygulama stilleri.
   Kaynak tasarım sistemi: demos/ui_kit.html (pastel light · 1280 web · <900 mobile-web).
   Token'lar kit ile birebir; yalnız uygulamada kullanılan bileşenler taşındı. */

:root {
  --bg: #FBFCFB; --surface: #FFFFFF; --surface-2: #F5F8FA; --surface-3: #EEF2F5;
  --border: #E5EBF0; --border-strong: #D3DBE3;
  --text: #1E2A38; --text-soft: #495867; --muted: #7B8794; --subtle: #A8B2BD;
  --blue-50: #EEF5FC; --blue-100: #DCEAF7; --blue-200: #B8D3EE;
  --blue-500: #5B9BD5; --blue-600: #4988C2; --blue-700: #3A72A8;
  --green-50: #EAF7EF; --green-100: #D3EEDD; --green-200: #A8DDBB;
  --green-500: #6BC788; --green-600: #55B073; --green-700: #429459;
  --orange-50: #FEF3E7; --orange-100: #FCE3C7; --orange-500: #F5A96B;
  --orange-600: #E19255; --orange-700: #C77B41;
  --gold-500: #D4A945; --gold-600: #B8902F; --gold-50: #FAF1DC; --gold-100: #E8D9A8; --gold-700: #8C7020;
  --teal-500: #2A8C8C; --teal-50: #E1F3F2; --teal-100: #C0E4E1;
  --danger: #E57373; --danger-bg: #FCECEC;
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-full: 999px;
  --sh-sm: 0 1px 2px rgba(30,42,56,.05);
  --sh-md: 0 2px 8px rgba(30,42,56,.06), 0 1px 3px rgba(30,42,56,.04);
  --sh-lg: 0 8px 24px rgba(30,42,56,.08);
  --sh-focus: 0 0 0 3px rgba(91,155,213,.25);
  --bp-mobile: 900px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
input, select, button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ── Topnav ─────────────────────────────────────────────── */
.topnav {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px; background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.topnav .logo { font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--text); }
.topnav .logo b { color: var(--green-500); }
.topnav nav { display: flex; gap: 22px; }
.topnav nav a {
  font-size: 13px; font-weight: 600; color: var(--text-soft);
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.topnav nav a:hover { text-decoration: none; color: var(--text); }
.topnav nav a.active { color: var(--green-700); border-bottom-color: var(--green-500); }
.topnav .spacer { flex: 1; }
.topnav .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--green-500));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.topnav .burger { display: none; background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--text); }
.mobile-drawer { display: none; }

/* ── Buttons / chips / tags / stat ──────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--r-md); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; cursor: pointer; line-height: 1;
  background: var(--surface-2); color: var(--text-soft);
}
.btn.primary { background: var(--green-500); color: #fff; }
.btn.primary:hover { background: var(--green-600); }
.btn.secondary { background: var(--blue-500); color: #fff; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn.sm { padding: 6px 10px; font-size: 12px; border-radius: var(--r-sm); }
.btn.block { width: 100%; padding: 13px; font-size: 15px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border-strong);
  font-size: 13px; color: var(--text-soft); cursor: default; white-space: nowrap;
}
.chip.sel { cursor: pointer; transition: border-color .12s, background .12s, box-shadow .12s, transform .06s; }
.chip.sel:hover { border-color: var(--blue-200); background: var(--surface-2); transform: translateY(-1px); box-shadow: var(--sh-sm); }
.chip.on { border-color: var(--blue-500); border-width: 1.5px; color: var(--blue-700); font-weight: 600;
           box-shadow: 0 0 0 3px rgba(91,155,213,.10); background: var(--surface); }

/* Kategori chip'leri (anasayfa hızlı seçim) — sistem attraction-type renkleri + hover */
.chip.cat { font-weight: 600; }
.chip.cat.c-beach   { color:#2678A6;          border-color:#C1DEEE; }
.chip.cat.c-beach:hover   { background:var(--blue-50);   border-color:var(--blue-500);   box-shadow:var(--sh-sm); }
.chip.cat.c-nature  { color:var(--green-700); border-color:var(--green-200); }
.chip.cat.c-nature:hover  { background:var(--green-50);  border-color:var(--green-500);  box-shadow:var(--sh-sm); }
.chip.cat.c-getaway { color:var(--orange-700);border-color:var(--orange-200); }
.chip.cat.c-getaway:hover { background:var(--orange-50); border-color:var(--orange-500); box-shadow:var(--sh-sm); }
.chip.cat.c-family  { color:#587E3A;          border-color:#D6E5C1; }
.chip.cat.c-family:hover  { background:#F0F6E9;          border-color:#7DA347;           box-shadow:var(--sh-sm); }
.chip.cat.c-culture { color:#A6602C;          border-color:#F0DABB; }
.chip.cat.c-culture:hover { background:#FBF0E1;          border-color:#C77B41;           box-shadow:var(--sh-sm); }
.chip .k { color: var(--muted); font-weight: 500; }
.chip.b-g { border-color: var(--green-500); } .chip .hl-g { color: var(--green-700); font-weight: 700; }
.chip.b-b { border-color: var(--blue-500); }  .chip .hl-b { color: var(--blue-700); font-weight: 700; }
.chip.b-o { border-color: var(--orange-500); }.chip .hl-o { color: var(--orange-700); font-weight: 700; }
.chip.b-t { border-color: var(--teal-500); }  .chip .hl-t { color: var(--teal-500); font-weight: 700; }
.chip.b-gold { border-color: var(--gold-500); } .chip .hl-gold { color: var(--gold-700); font-weight: 700; }

.tag {
  display: inline-flex; padding: 3px 9px; font-size: 11px; font-weight: 600;
  border-radius: var(--r-full); background: transparent; color: var(--text-soft);
  border: 1px solid var(--border); text-transform: capitalize;
}
.tag.t-beach { color: #2678A6; border-color: #C1DEEE; }
.tag.t-nature { color: var(--green-700); border-color: var(--green-200); }
.tag.t-history { color: #A6602C; border-color: #F0DABB; }
.tag.t-dining { color: #B85C3E; border-color: #F5D3C0; }
.tag.t-slow { color: #856B3A; border-color: #E5D6B8; }
.tag.t-family { color: #587E3A; border-color: #D6E5C1; }
.tag.t-activity { color: var(--blue-700); border-color: var(--blue-200); }

.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 12px 16px;
}
.stat .v { font-size: 22px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 4px; font-weight: 600; }
.stat.green { background: var(--green-50); border-color: var(--green-100); }
.stat.green .v { color: var(--green-700); }
.stat.blue { background: var(--blue-50); border-color: var(--blue-100); }
.stat.blue .v { color: var(--blue-700); }
.stat.orange { background: var(--orange-50); border-color: var(--orange-100); }
.stat.orange .v { color: var(--orange-700); }
.stat.teal { background: var(--teal-50); border-color: var(--teal-100); }
.stat.teal .v { color: var(--teal-500); }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }

.rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; padding: 3px 9px;
  border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--border);
}
.rating small { color: var(--muted); font-weight: 500; font-size: 11px; }
.rating.r-top { background: var(--green-50); color: var(--green-700); border-color: var(--green-100); }
.rating.r-top .star { color: var(--green-500); }
.rating.r-good { background: #EEF6E4; color: #5F8235; border-color: #DBEBC7; }
.rating.r-good .star { color: #7DA347; }
.rating.r-mid { background: var(--orange-50); color: var(--orange-700); border-color: var(--orange-100); }
.rating.r-mid .star { color: var(--orange-500); }
.rating.r-low { background: #FEEFDC; color: #B0602A; }
.rating.r-bad { background: var(--danger-bg); color: #B54747; }

/* ── Hero + search ──────────────────────────────────────── */
.hero {
  padding: 52px 28px 40px; text-align: center;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--bg) 100%);
}
.hero h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.hero h1 b { color: var(--green-600); }
.hero p { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
.search-bar {
  max-width: 640px; margin: 24px auto 0;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-full); padding: 8px 8px 8px 20px;
  box-shadow: var(--sh-md);
}
.search-bar input {
  flex: 1; border: 0; outline: none; font-size: 15px; background: transparent; color: var(--text);
  min-width: 0;
}
.search-bar .ic { color: var(--muted); flex-shrink: 0; }

/* ── Cards ──────────────────────────────────────────────── */
.grid { display: grid; gap: 14px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 16px; box-shadow: var(--sh-sm);
}
.dest-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  position: relative; cursor: pointer; transition: box-shadow .15s, transform .15s;
  display: block; color: inherit;
}
.dest-card:hover { box-shadow: var(--sh-md); transform: translateY(-1px); text-decoration: none; }
.dest-card .hero-img {
  height: 130px; position: relative;
  background: linear-gradient(135deg, var(--blue-50), var(--green-50));
  display: flex; align-items: center; justify-content: center; font-size: 40px;
}
.dest-card .match {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-full);
  background: rgba(255,255,255,.95); font-size: 11px; font-weight: 700;
  box-shadow: var(--sh-sm);
}
.dest-card .match .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.dest-card .body { padding: 14px 16px; }
.dest-card .title { font-weight: 700; font-size: 16px; }
.dest-card .place { color: var(--muted); font-size: 12px; margin-top: 2px; }
.dest-card .desc { font-size: 13px; color: var(--text-soft); line-height: 1.45; margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dest-card .tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* ── Route/window card ──────────────────────────────────── */
.route-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 12px; box-shadow: var(--sh-sm);
  margin-bottom: 10px; cursor: pointer;
}
.route-card.picked { border: 2px solid var(--green-500); background: var(--green-50); }
.route-card.k-birthday { border-color: var(--gold-100); background: #FEFBF2; }
.route-card.k-birthday.picked { border-color: var(--gold-500); }
.route-card .label {
  color: var(--blue-700); font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; font-weight: 700; background: var(--blue-50);
  border: 1px solid var(--blue-100); padding: 3px 8px; border-radius: var(--r-sm);
  display: inline-block;
}
.route-card.picked .label { background: var(--green-500); color: #fff; border-color: transparent; }
.route-card.k-birthday .label { background: var(--gold-500); color: #fff; border-color: transparent; }
.route-card .dates { font-weight: 800; font-size: 17px; margin: 8px 0 2px; letter-spacing: -.01em; }
.route-card .range { color: var(--text-soft); font-size: 12px; margin-bottom: 10px; }
.route-card .metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.route-card .metric {
  border: 1px solid transparent; border-radius: var(--r-md);
  padding: 8px 4px; text-align: center; background: var(--surface-2);
}
.route-card .metric .v { font-size: 15px; font-weight: 800; }
.route-card .metric .l { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-top: 2px; }
.route-card .metric.dur { background: var(--green-50); border-color: var(--green-100); }
.route-card .metric.dur .v { color: var(--green-700); }
.route-card .metric.lv1 { background: var(--green-50); border-color: var(--green-100); }
.route-card .metric.lv1 .v { color: var(--green-700); }
.route-card .metric.lv2 { background: var(--orange-50); border-color: var(--orange-100); }
.route-card .metric.lv2 .v { color: var(--orange-700); }
.route-card .metric.lv3 { background: var(--danger-bg); border-color: #F3CFCF; }
.route-card .metric.lv3 .v { color: #B54747; }
.route-card .metric.rmt { background: var(--blue-50); border-color: var(--blue-100); }
.route-card .metric.rmt .v { color: var(--blue-700); }
.route-card .metric.gold { background: var(--gold-50); border-color: var(--gold-100); }
.route-card .metric.gold .v { color: var(--gold-700); }
.route-card .eff {
  display: inline-block; margin-top: 10px; padding: 4px 12px;
  background: var(--green-500); color: #fff; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700;
}
.route-card.k-birthday .eff { background: var(--gold-500); }

/* ── Calendar ───────────────────────────────────────────── */
.cal-layout {
  display: grid; grid-template-columns: 320px 1fr; gap: 20px;
  align-items: start; padding: 16px 0 40px;
}
.cal-12 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cal-month { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px; }
.cal-month .mh { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.cal-month .mh .cnt {
  color: var(--green-700); font-size: 10px; font-weight: 700;
  background: var(--green-50); border: 1px solid var(--green-100);
  padding: 1px 7px; border-radius: var(--r-full);
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid .dw { font-size: 8px; color: var(--subtle); text-align: center; font-weight: 700; text-transform: uppercase; padding-bottom: 2px; }
.cal-grid .d {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 10px; border-radius: 2px; color: var(--text-soft); font-variant-numeric: tabular-nums;
}
.cal-grid .d.we { color: var(--subtle); background: var(--surface-2); }
.cal-grid .d.blk { background: var(--green-50); color: var(--green-700); font-weight: 600; }
.cal-grid .d.lv { background: var(--green-500); color: #fff; font-weight: 800; }
.cal-grid .d.hol { background: var(--orange-500); color: #fff; font-weight: 800; }
.cal-grid .d.half {
  background: linear-gradient(180deg, var(--surface-2) 50%, var(--orange-500) 50%);
  color: var(--text-soft); font-weight: 700; align-items: flex-start; padding-top: 2px;
}
.cal-grid .d.hlv {
  background: linear-gradient(180deg, var(--green-500) 50%, var(--orange-500) 50%);
  color: #fff; font-weight: 800;
}
.cal-grid .d.rmt { background: var(--blue-500); color: #fff; font-weight: 800; }
.cal-grid .d.bday { background: var(--gold-500); color: #fff; font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--gold-600); }
.cal-grid .d.gblk { background: var(--gold-50); color: var(--gold-700); font-weight: 600; }
.cal-grid .d.mR { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.cal-grid .d.mL { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.cal-grid .d.hol.mR { box-shadow: 2px 0 0 var(--orange-500); }
.cal-grid .d.lv.mR { box-shadow: 2px 0 0 var(--green-500); }
.cal-grid .d.blk.mR { box-shadow: 2px 0 0 var(--green-50); }
.cal-grid .d.hlv.mR { box-shadow: 2px 0 0 var(--orange-500); }
.cal-grid .d.rmt.mR { box-shadow: 2px 0 0 var(--blue-500); }
.cal-grid .d.bday.mR { box-shadow: inset 0 0 0 1.5px var(--gold-600), 2px 0 0 var(--gold-500); }
.cal-grid .d.gblk.mR { box-shadow: 2px 0 0 var(--gold-50); }

.cal-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; color: var(--muted); align-items: center; margin: 10px 0; }
.cal-legend .it { display: inline-flex; align-items: center; gap: 5px; }
.cal-legend .sw { width: 13px; height: 13px; border-radius: 4px; display: inline-block; }

.year-strip { display: grid; grid-template-columns: repeat(13, 1fr); gap: 4px; }
.year-strip .m {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 3px; text-align: center; min-height: 56px;
  display: flex; flex-direction: column; gap: 3px; align-items: center; cursor: pointer;
}
.year-strip .m .lb { font-size: 9px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.year-strip .m .bar { width: 100%; border-radius: 4px; font-size: 9px; color: #fff; font-weight: 800; padding: 2px 0; background: var(--green-500); font-variant-numeric: tabular-nums; }
.year-strip .m .bar.rmt { background: var(--blue-500); }
.year-strip .m .bar.gold { background: var(--gold-500); }
.year-strip .m .none { color: var(--subtle); font-size: 10px; }

.opt-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; padding: 16px 0 4px; }
.opt-controls .fld .l { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin-bottom: 5px; }
.segmented { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 3px; }
.segmented button { background: transparent; border: 0; padding: 7px 13px; font-size: 13px; border-radius: 7px; cursor: pointer; color: var(--text-soft); font-weight: 500; }
.segmented button.active { background: #fff; color: var(--text); box-shadow: var(--sh-sm); font-weight: 600; }
.stepper { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); overflow: hidden; }
.stepper button { width: 34px; height: 34px; background: transparent; border: 0; cursor: pointer; color: var(--text-soft); font-size: 18px; font-weight: 700; }
.stepper .val { min-width: 40px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }
.switch input { display: none; }
.switch .track { width: 40px; height: 22px; background: var(--surface-3); border-radius: var(--r-full); position: relative; transition: background .15s; flex-shrink: 0; }
.switch .track::after { content: ""; width: 18px; height: 18px; background: #fff; border-radius: 50%; position: absolute; top: 2px; left: 2px; transition: left .15s; box-shadow: var(--sh-sm); }
.switch input:checked ~ .track { background: var(--green-500); }
.switch input:checked ~ .track::after { left: 20px; }

/* Ay navigasyonu (mobile) */
.monthnav { display: none; align-items: center; justify-content: space-between; padding: 4px 0 8px; }
.monthnav .nav { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); border: 0; font-size: 16px; color: var(--text-soft); cursor: pointer; }
.monthnav .cur { font-weight: 800; font-size: 15px; }
.monthnav .cur small { color: var(--muted); font-weight: 600; margin-left: 6px; font-size: 11px; }

/* ── Misc ───────────────────────────────────────────────── */
.section-hd { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 12px; }
.section-hd .t { font-weight: 800; font-size: 17px; }
.alert {
  padding: 12px 16px; border-radius: var(--r-md); display: flex; gap: 10px;
  align-items: flex-start; border: 1px solid; font-size: 13px;
}
.alert.info { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }
.alert.warn { background: var(--orange-50); border-color: var(--orange-100); color: var(--orange-700); }
.skel { background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 400px 100%; animation: shimmer 1.4s infinite linear; border-radius: var(--r-sm); }
@keyframes shimmer { 0% { background-position: -200px 0; } 100% { background-position: 200px 0; } }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.empty .ic { font-size: 42px; margin-bottom: 8px; opacity: .6; }
.chiprow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; }
.chiprow::-webkit-scrollbar { display: none; }
.sticky-cta { display: none; }
footer.page-foot { color: var(--muted); font-size: 12px; text-align: center; padding: 32px 0 24px; }

/* ── Auth (kayıt/giriş) ─────────────────────────────────── */
.auth-wrap { max-width: 420px; margin: 40px auto; padding: 0 20px; }
.auth-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 28px 26px;
}
.auth-card .brand { text-align: center; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.auth-card .brand b { color: var(--green); }
.auth-steps { display: flex; gap: 6px; justify-content: center; margin: 16px 0 6px; }
.auth-steps .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-3); }
.auth-steps .dot.on { background: var(--green); width: 22px; border-radius: 4px; }
.auth-steps .dot.done { background: var(--green-200); }
.auth-card h2 { font-size: 19px; font-weight: 800; margin: 14px 0 4px; text-align: center; }
.auth-card .sub { color: var(--muted); font-size: 13px; text-align: center; margin-bottom: 18px; }
.auth-card .sub b { color: var(--text); }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 12px; font-weight: 600; color: var(--soft); margin-bottom: 6px; }
.auth-field input {
  width: 100%; padding: 12px 14px; font-size: 15px;
  border: 1px solid var(--border-s); border-radius: var(--r-md); outline: none; background: var(--surface);
}
.auth-field input:focus { border-color: var(--blue); box-shadow: var(--sh-focus); }
.auth-err { background: var(--danger-bg); color: #B54747; border: 1px solid #F3CFCF;
  border-radius: var(--r-md); padding: 9px 12px; font-size: 12px; margin-bottom: 12px; display: none; }
.auth-err.show { display: block; }
.auth-dev { background: var(--orange-50); color: var(--orange-700); border: 1px solid var(--orange-100);
  border-radius: var(--r-md); padding: 8px 12px; font-size: 12px; margin-bottom: 12px; text-align: center; }
.auth-alt { text-align: center; margin: 16px 0; color: var(--muted); font-size: 12px; position: relative; }
.auth-alt::before, .auth-alt::after { content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--border); }
.auth-alt::before { left: 0; } .auth-alt::after { right: 0; }
.btn-google {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px; border: 1px solid var(--border-s); border-radius: var(--r-md);
  background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer;
}
.btn-google:hover { background: var(--surface-2); }
.btn-google .g { width: 18px; height: 18px; flex-shrink: 0; }
.auth-foot { text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); }

/* 6-haneli kod girişi */
.code-inputs { display: flex; gap: 8px; justify-content: center; margin: 4px 0 14px; }
.code-inputs input {
  width: 44px; height: 54px; text-align: center; font-size: 22px; font-weight: 800;
  border: 1px solid var(--border-s); border-radius: var(--r-md); outline: none;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.code-inputs input:focus { border-color: var(--blue); box-shadow: var(--sh-focus); }
.resend { text-align: center; font-size: 12px; color: var(--muted); margin-top: 4px; }
.resend button { background: none; border: 0; color: var(--blue-700); font-weight: 600; cursor: pointer; font-size: 12px; }

/* Topnav avatar → menü */
.topnav .authbtn { font-size: 13px; font-weight: 600; color: var(--text-soft); cursor: pointer; }

/* ════════════ MOBILE WEB (<900px) ════════════ */
@media (max-width: 900px) {
  .container { padding: 0 16px; }
  .topnav { padding: 10px 16px; gap: 12px; }
  .topnav nav { display: none; }
  .topnav .burger { display: block; }
  .mobile-drawer.open {
    display: flex; flex-direction: column; gap: 4px;
    position: fixed; top: 57px; left: 0; right: 0; z-index: 49;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 16px 16px; box-shadow: var(--sh-lg);
  }
  .mobile-drawer a { padding: 10px 8px; font-size: 15px; font-weight: 600; color: var(--text); border-radius: var(--r-md); }
  .mobile-drawer a.active { background: var(--green-50); color: var(--green-700); }

  .hero { padding: 28px 16px 24px; }
  .hero h1 { font-size: 24px; }
  .grid.g3, .grid.g4 { grid-template-columns: 1fr; }
  /* Anasayfa "Sana özel keşfet": mobilde ui_kit'teki yatay kayan şerit
     (grid çöküşü yerine — .home-scroller karşılığı). */
  .grid.hscroll-m {
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -16px; padding: 4px 16px 2px;
  }
  .grid.hscroll-m::-webkit-scrollbar { display: none; }
  .grid.hscroll-m > * { scroll-snap-align: start; }

  .cal-layout { grid-template-columns: 1fr; }
  .stats-row { display: flex; overflow-x: auto; scrollbar-width: none; }
  .stats-row::-webkit-scrollbar { display: none; }
  .stats-row .stat { flex: 0 0 130px; padding: 10px 12px; }
  .stats-row .stat .v { font-size: 17px; }
  .cal-12 { display: none; }            /* 12'li grid yerine tek ay + nav */
  .monthnav { display: flex; }
  .cal-single { display: block; }
  .year-strip { display: flex; overflow-x: auto; scrollbar-width: none; }
  .year-strip::-webkit-scrollbar { display: none; }
  .year-strip .m { flex: 0 0 58px; }
  .opt-controls { gap: 10px; }

  .sticky-cta {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    background: var(--surface); border-top: 1px solid var(--border);
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  }
  body.has-cta { padding-bottom: 84px; }
}
@media (min-width: 901px) {
  .cal-single, .monthnav { display: none; }
}
