:root {
  color-scheme: dark;
  /* Rota — alacakaranlıkta Kızıldeniz: soğuk kalkış, sıcak varış */
  --ink:   #0f1c21;   /* zemin (siyah değil — içinde yeşil var) */
  --ink-2: #16272d;   /* tek yükseltilmiş yüzey */
  --line:  #2b4048;   /* saç teli çizgiler / kurallar */
  --sand:  #e7a24a;   /* birincil sinyal — sıcak varış */
  --sand-ink: #241a0b;
  --sea:   #54b9ab;   /* rota çizgisi, "ucuzladı / iyi" */
  --paper: #eef3f1;   /* birincil metin */
  --paper-2: #c6d1cc;  /* kart gövde metni */
  --paper-dim: #9db2ab;  /* ikincil metin — AA için --ink-2 üstünde ~4.6:1 */
  --warn:  #df6f57;   /* yalnızca gecikme / dikkat */
  --r: 4px;           /* tek köşe yarıçapı — enstrüman/bilet dili */

  /* durum çipleri: yeşil/kehribar yerine deniz/kum tonu */
  --ok-bg: #173029;  --ok-fg: #7fd8c9;
  --sig-bg: #33291a; --sig-fg: #ecc182;   /* şüpheli / dikkat çip */

  /* eski değişken adları -> yeni palete eşlenir (uçak/otel sayfaları dokunmadan yeniden renklensin) */
  --bg: var(--ink); --panel: var(--ink-2); --panel2: #1a2e35; --border: var(--line);
  --text: var(--paper); --muted: var(--paper-dim); --faint: #6d827c;
  --accent: var(--sand); --green: var(--sea); --orange: var(--sand); --red: var(--warn);
}

* { box-sizing: border-box; }
[x-cloak] { display: none !important; }
body { font-family: 'Space Grotesk', -apple-system, system-ui, sans-serif; max-width: 1180px;
       margin: 0 auto; padding: 0 24px 80px; background: var(--ink); color: var(--paper);
       font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased;
       font-feature-settings: "ss01"; }
a { color: var(--sand); text-decoration: none; }
h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.01em; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--sea); outline-offset: 2px; border-radius: 3px; }
.muted { color: var(--muted); }

/* --- ust cubuk + gezinme: ince bir ray --- */
.topbar { display: flex; align-items: baseline; gap: 22px; padding: 20px 0 12px; flex-wrap: wrap;
          border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.brand { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.03em; color: var(--paper); }
.brand::before { content: "⟢"; color: var(--sea); margin-right: 7px; font-weight: 400; }
/* logo: başlangıç noktası -> kesikli uçuş yayı -> varış halkası; renkler temadan gelir */
.brand.brand-logo { display: inline-flex; align-items: center; gap: 9px; align-self: center; line-height: 1; }
.brand.brand-logo::before { content: none; }
.brand-mark { flex: none; display: block; }
.brand-mark .bm-tile { fill: var(--sand); }
.brand-mark .bm-arc { fill: none; stroke: var(--sand-ink); stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 0.1 3.8; }
.brand-mark .bm-from { fill: var(--sand-ink); }
.brand-mark .bm-to { fill: var(--sand); stroke: var(--sand-ink); stroke-width: 2.2; }
.brand-word { font-weight: 700; letter-spacing: -0.02em; }
.brand.brand-logo:hover .bm-arc { stroke-dasharray: none; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 6px 11px; font-size: 0.9rem; font-weight: 500; color: var(--paper-dim);
         border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--paper); }
.nav a.active { color: var(--paper); border-bottom-color: var(--sand); }
.nav-drop { position: relative; }
.nav-drop-btn { padding: 6px 11px; font-size: 0.9rem; font-weight: 500; color: var(--paper-dim);
  border: 0; border-bottom: 2px solid transparent; background: none; font-family: inherit;
  cursor: pointer; display: inline-flex; align-items: center; gap: 3px; }
.nav-drop-btn:hover { color: var(--paper); }
.nav-drop-btn.active { color: var(--paper); border-bottom-color: var(--sand); }
.nav-drop-btn .caret { font-size: 0.65em; opacity: 0.7; }
.nav-drop-menu { position: absolute; top: 100%; left: 0; margin-top: 4px; z-index: 20;
  display: flex; flex-direction: column; gap: 2px; min-width: 160px; padding: 4px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); }
.nav-drop-menu a { padding: 8px 11px; border-radius: 3px; font-size: 0.88rem; border-bottom: 0; }
.nav-drop-menu a:hover, .nav-drop-menu a.active { color: var(--paper); background: var(--ink); }
.topbar .spacer { flex: 1; }
.logout { font-size: 0.8rem; color: var(--paper-dim); }
.logout:hover { color: var(--paper); }
.navtoggle { display: none; margin-left: auto; background: var(--panel); border: 1px solid var(--border);
             color: var(--text); border-radius: 10px; padding: 7px 13px; font-size: 1.05rem; line-height: 1;
             cursor: pointer; font-family: inherit; }
.nav .nav-logout { display: none; }
.statusline { color: var(--muted); font-size: 0.85rem; margin: 4px 0 24px; line-height: 1.7; }
.health-stale { color: var(--red); font-weight: 600; }
.health-ok { color: var(--muted); }
.serp-warn { color: var(--orange); font-weight: 600; }

/* --- toolbar --- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 4px; align-items: center;
           background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
.toolbar input[type=text] { flex: 1 1 240px; padding: 11px 14px; border-radius: var(--r); border: 1px solid var(--border);
         background: var(--bg); color: var(--text); font-size: 0.92rem; font-family: inherit; }
.toolbar input[type=text]:focus, .toolbar select:focus, input:focus, textarea:focus { outline: none; border-color: var(--sea); }
.toolbar select { padding: 11px 12px; border-radius: var(--r); border: 1px solid var(--border);
         background: var(--bg); color: var(--text); font-size: 0.9rem; font-family: inherit; }
.toolbar label.chk { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted);
         white-space: nowrap; cursor: pointer; user-select: none; }
.toolbar input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.filter-toggle { display: none; }
.result-count { color: var(--faint); font-size: 0.82rem; margin: 18px 2px 20px; }

/* --- alarm kartlari --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r);
        padding: 22px 24px; transition: border-color .12s; }
.card:hover { border-color: #3d565d; }
.card.suspicious { border-left: 2px solid var(--sand); }
.card.danger { border-left: 3px solid var(--warn); }
.kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
          color: var(--faint); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.card-actions { margin-left: auto; display: flex; gap: 2px; }
.cardbtn { background: none; border: none; color: var(--faint); cursor: pointer; font-size: 0.9rem;
           line-height: 1; padding: 3px 5px; border-radius: 3px; opacity: 0.55; transition: .12s; }
.card:hover .cardbtn { opacity: 0.9; }
.cardbtn:hover { background: var(--panel2); color: var(--text); opacity: 1; }
.cardbtn.on { opacity: 1; color: var(--sand); }
.card.starred { border-left: 2px solid var(--sea); }
.card.hidden-pref { opacity: 0.5; }
.headline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.route { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; color: var(--text); }
a.route:hover { color: var(--accent); }

/* fare calendar */
table.cal { width: 100%; border-collapse: separate; border-spacing: 4px; }
table.cal th { color: var(--faint); font-size: 0.72rem; font-weight: 600; padding-bottom: 4px; }
table.cal td { height: 52px; border-radius: 3px; vertical-align: top; padding: 5px 7px; background: var(--panel2); }
table.cal td.empty-cell { background: none; }
table.cal td.no-data { opacity: 0.4; }
table.cal td.has { background: color-mix(in srgb, #173028 calc((1 - var(--f)) * 90%), #3a2a1a calc(var(--f) * 90%)); }
table.cal td.today { outline: 2px solid var(--accent); }
table.cal .dnum { font-size: 0.72rem; color: var(--muted); }
table.cal .dp { display: block; font-size: 0.82rem; font-weight: 700; margin-top: 4px; letter-spacing: -0.02em; }
.price { margin-left: auto; font-size: 1.55rem; font-weight: 700; color: var(--green);
         white-space: nowrap; letter-spacing: -0.02em; }
.price .cur { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.card.suspicious .price { color: var(--orange); }
.status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.badge { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 600;
         padding: 4px 10px; border-radius: 3px; background: var(--panel2); color: var(--muted); }
.badge.verified { background: var(--ok-bg); color: var(--ok-fg); }
.badge.suspicious { background: var(--sig-bg); color: var(--sig-fg); }
.badge.src-tp { background: #17303c; color: #86cae7; }
.badge.src-multi { background: var(--ok-bg); color: var(--ok-fg); }
.badge.conf { font-variant-numeric: tabular-nums; }
.badge.conf.high { background: var(--ok-bg); color: var(--ok-fg); }
.badge.conf.mid { background: var(--sig-bg); color: var(--sig-fg); }
.badge.conf.low { background: #3a221c; color: #f0a79b; }
.badge.stops-0 { background: var(--ok-bg); color: var(--ok-fg); }
.badge.stops-n { background: var(--panel2); color: var(--text); }
.reason { color: var(--paper-2); font-size: 0.9rem; margin: 0 0 16px; line-height: 1.65; }
.info-row { color: var(--paper-2); font-size: 0.9rem; margin-bottom: 9px; display: flex; flex-wrap: wrap; gap: 5px 16px; }
.info-row.src-multi { color: var(--ok-fg); font-weight: 600; }
.info-row.airline { align-items: center; gap: 8px; font-weight: 500; color: var(--text); }
.alogo { width: 20px; height: 20px; border-radius: 5px; background: #fff; object-fit: contain; flex: none; }
.flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; vertical-align: -2px;
        box-shadow: 0 0 0 1px rgba(255,255,255,0.08); }
.info-row.spark { align-items: center; gap: 12px; color: var(--faint); font-size: 0.82rem; margin: 14px 0; }
.info-row.spark svg { flex: none; opacity: 0.85; }
.info-row.xcheck { font-size: 0.86rem; }
.info-row.xcheck.ok { color: var(--ok-fg); }
.info-row.xcheck.bad { color: var(--warn); font-weight: 600; }
.warn { color: var(--sand); font-size: 0.86rem; line-height: 1.55; margin: 16px 0 4px;
        padding: 11px 13px; background: var(--sig-bg); border-radius: var(--r); border: 1px solid #4a3a20; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 18px;
               padding-top: 16px; border-top: 1px solid var(--border); }
a.link { color: var(--sand); font-size: 0.86rem; font-weight: 600; padding: 7px 14px;
         border: 1px solid var(--line); border-radius: var(--r); }
a.link:hover { background: #1b2f29; border-color: var(--sand); }
.sent-at { color: var(--faint); font-size: 0.76rem; }
.empty { color: var(--muted); padding: 80px 0; text-align: center; font-size: 0.95rem; }
.show-more { display: block; margin: 28px auto 0; padding: 12px 28px; font-family: inherit;
            font-size: 0.9rem; font-weight: 600; color: var(--text); cursor: pointer;
            background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); }
.show-more:hover { border-color: var(--sand); color: var(--sand); }

/* --- formlar / paneller (watchlist, settings) --- */
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; margin-bottom: 20px; }
.panel h2 { margin-bottom: 6px; }
.panel .hint { color: var(--muted); font-size: 0.85rem; margin: 0 0 16px; }
.season-bars { display: flex; flex-direction: column; gap: 6px; }
.season-row { display: grid; grid-template-columns: 40px 1fr 90px; align-items: center; gap: 10px; }
.season-month { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.season-track { height: 8px; border-radius: 4px; background: var(--panel2); overflow: hidden; }
.season-fill { height: 100%; background: var(--faint); border-radius: 4px; }
.season-row.cheapest .season-month, .season-row.cheapest .season-price { color: var(--ok-fg); font-weight: 700; }
.season-row.cheapest .season-fill { background: var(--ok-fg); }
.season-price { font-size: 0.85rem; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .season-row { grid-template-columns: 34px 1fr 70px; } }

/* --- /rotalar: tüm rotalar listesi + arama --- */
.route-search { width: 100%; box-sizing: border-box; padding: 11px 14px; margin-bottom: 14px;
  border-radius: var(--r); border: 1px solid var(--border); background: var(--panel2);
  color: var(--text); font-size: 0.9rem; font-family: inherit; }
.route-search:focus { outline: none; border-color: var(--sea); }
.route-list { display: flex; flex-direction: column; gap: 6px; }
.route-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r);
  text-decoration: none; color: var(--text); }
.route-row:hover { border-color: var(--sea); }
.rr-od { font-weight: 600; flex: 1 1 200px; }
.rr-price { color: var(--sea); font-size: 0.85rem; }
.rr-last { color: var(--muted); font-size: 0.78rem; margin-left: auto; }
.field { display: grid; grid-template-columns: 220px 1fr; gap: 12px 18px; align-items: center; padding: 8px 0; }
.field > label { color: var(--muted); font-size: 0.88rem; }
.field .sub { color: var(--faint); font-size: 0.78rem; grid-column: 2; margin-top: -4px; }
input[type=text], input[type=email], input[type=number], input[type=password], select, textarea {
  padding: 9px 12px; border-radius: var(--r); border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 0.9rem; font-family: inherit; width: 100%; }
textarea { min-height: 68px; resize: vertical; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 4px;
       border: 1px solid var(--line); background: transparent; color: var(--paper);
       font-size: 0.86rem; font-weight: 500; font-family: inherit; cursor: pointer; }
.btn:hover { border-color: var(--sand); color: var(--sand); }
.btn.primary { background: var(--sand); border-color: var(--sand); color: var(--sand-ink); font-weight: 700; }
.btn.primary:hover { background: #f0b366; color: var(--sand-ink); }
.btn.danger:hover { border-color: var(--warn); color: var(--warn); }
.row-actions { display: flex; gap: 8px; }
.wl-item { border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px;
           background: var(--panel2); display: flex; gap: 14px; align-items: flex-start; }
.wl-item.off { opacity: 0.5; }
.wl-item .wl-main { flex: 1; }
.wl-item .wl-label { font-weight: 600; }
.wl-item .wl-detail { color: var(--muted); font-size: 0.85rem; margin-top: 3px; }
.toggle { position: relative; width: 40px; height: 22px; flex: none; }
.toggle input { opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.toggle span { position: absolute; inset: 0; background: #2a2f3a; border-radius: 999px; transition: .15s; }
.toggle span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px;
  background: #cfd4dd; border-radius: 50%; transition: .15s; }
.toggle input:checked + span { background: var(--accent); }
.toggle input:checked + span::before { transform: translateX(18px); background: #fff; }
.flash { padding: 10px 14px; border-radius: var(--r); font-size: 0.86rem; margin-bottom: 16px; }
.flash.ok { background: var(--ok-bg); color: var(--ok-fg); }
.flash.err { background: var(--sig-bg); color: var(--sig-fg); }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.tbl th { color: var(--muted); font-weight: 600; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.stat { background: var(--panel2); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 16px; }
.stat .n { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
.stat .l { color: var(--muted); font-size: 0.8rem; }

/* --- canlilik: elle tarama + gunun firsati + yeni-alarm pill (Faz 2) --- */
.live-row { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 6px 0 16px; }
.scan-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.scan-status .scan-btn { padding: 8px 16px; }
.scan-status .scan-btn:disabled { opacity: 0.6; cursor: default; }
.scan-status .scan-health { font-size: 0.82rem; }
.scan-status .scan-flash { font-size: 0.8rem; color: var(--green); }
.new-pill { display: inline-block; background: #1b2f29; border: 1px solid var(--sand);
            color: var(--sand); font-size: 0.82rem; font-weight: 600; padding: 7px 14px;
            border-radius: var(--r); }
.new-pill:hover { background: #223a33; }
/* günün fırsatı: uçak modülünün öne çıkan kalemi — çerçeveli enstrüman (bilet kenarı, sol kum kuralı) */
.deal-of-day { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px;
               background: var(--ink-2); border: 1px solid var(--line); border-left: 2px solid var(--sand);
               border-radius: var(--r); padding: 16px 20px; margin-bottom: 18px;
               box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 3px var(--line); }
.deal-of-day:hover { border-color: var(--sand); }
.deal-of-day .dod-tag { font-weight: 700; color: var(--sand); font-size: 0.78rem; }
.deal-of-day .dod-route { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.deal-of-day .dod-price { font-size: 1.1rem; font-weight: 700; color: var(--sea); }
.deal-of-day .dod-conf { font-size: 0.78rem; color: var(--muted); }
.deal-of-day .dod-reason { flex-basis: 100%; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* --- analitik: kaynak sagligi + isabet karnesi (Faz 3) --- */
.src-stale { color: var(--red); font-weight: 600; }
.v-held { color: var(--green); font-weight: 600; }
.v-gone { color: var(--orange); font-weight: 600; }
.v-unknown { color: var(--faint); }

/* ===================== MOBIL (<=700px) ===================== */
@media (max-width: 700px) {
  body { padding: 0 12px 56px; font-size: 14px; }
  h2 { font-size: 1rem; }

  /* ust cubuk -> hamburger */
  .topbar { gap: 10px 12px; padding: 14px 0 10px; }
  .topbar .brand { font-size: 1.05rem; }
  .topbar .spacer { display: none; }
  .navtoggle { display: block; }
  .topbar .logout { display: none; }              /* cikis menunun icinde */
  .nav { display: none; flex-basis: 100%; order: 5; flex-direction: column; gap: 2px;
         background: var(--panel); border: 1px solid var(--border); border-radius: var(--r); padding: 6px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: var(--r); font-size: 0.95rem; border-bottom: 0; }
  .nav a.active { background: var(--panel2); }
  .nav-drop-btn { width: 100%; padding: 12px 14px; border-radius: var(--r); font-size: 0.95rem;
    border-bottom: 0; justify-content: flex-start; }
  .nav-drop-btn.active { background: var(--panel2); }
  .nav-drop-menu { position: static; margin: 0 0 0 14px; border: 0; background: none; padding: 0; }
  .nav-drop-menu a { padding: 10px 14px; }
  .nav .nav-logout { display: block; color: var(--muted); border-top: 1px solid var(--border);
                     margin-top: 4px; border-radius: 0 0 var(--r) var(--r); }
  .statusline { margin: 2px 0 16px; }

  /* alarm: filtreleri katla, arama hep gorunur */
  .filter-toggle { display: flex; align-items: center; justify-content: center; gap: 8px;
                   width: 100%; padding: 12px; margin-bottom: 10px; cursor: pointer;
                   background: var(--panel); border: 1px solid var(--border); border-radius: var(--r);
                   color: var(--text); font-family: inherit; font-size: 0.9rem; font-weight: 600; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
  .toolbar > *:not(#search) { display: none; }
  .toolbar.m-open > * { display: flex; }
  .toolbar.m-open label.chk { padding: 4px 2px; }
  .toolbar input[type=text], .toolbar select { flex: none; width: 100%; font-size: 16px; } /* 16px: iOS zoom engeli */
  .result-count { margin: 14px 2px 16px; }

  /* kartlar: kompakt, dokunma dostu */
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 16px; border-radius: var(--r); }
  .card:hover { border-color: var(--border); }
  .kicker { margin-bottom: 10px; }
  .card-actions { gap: 2px; }
  .cardbtn { opacity: 0.85; font-size: 1.1rem; padding: 8px 9px; }
  .card:hover .cardbtn { opacity: 0.85; }
  .headline { gap: 4px 10px; margin-bottom: 10px; }
  .route { font-size: 1.05rem; }
  .price { font-size: 1.3rem; }
  .status { gap: 6px; margin-bottom: 12px; }
  .reason { font-size: 0.85rem; margin-bottom: 12px; }
  .info-row { font-size: 0.85rem; }
  .card-footer { margin-top: 14px; padding-top: 12px; }
  a.link { padding: 9px 15px; }

  /* canlilik satiri + gunun firsati */
  .live-row { gap: 10px; }
  .deal-of-day { padding: 14px 16px; gap: 6px 12px; }
  .deal-of-day .dod-route { font-size: 1rem; }
  .scan-status .scan-btn { padding: 10px 16px; }

  /* paneller / formlar: tek sutun */
  .panel { padding: 16px; border-radius: var(--r); }
  .field { grid-template-columns: 1fr; gap: 6px; padding: 10px 0; }
  .field .sub { grid-column: 1; margin-top: 0; }
  .field > label { font-size: 0.85rem; }
  .wl-item { padding: 12px 14px; }
  .stat-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
  .stat .n { font-size: 1.2rem; }

  /* tablolar: dar ekranda yatay kaydir */
  .tbl { font-size: 0.82rem; }
  .tbl th, .tbl td { padding: 7px 9px; white-space: nowrap; }
  table.cal { border-spacing: 3px; }
  table.cal td { height: 46px; padding: 4px 5px; }
  table.cal .dp { font-size: 0.76rem; }

  /* route sayfasi ust cubugu */
  .topbar .btn { padding: 8px 14px; }
}

/* cok dar (<=380px): fare calendar'i da kaydirilabilir yap */
@media (max-width: 380px) {
  .price { font-size: 1.2rem; }
  table.cal { display: block; overflow-x: auto; }
}

/* --- alarm rozetleri: aciklama katlanir kutusu --- */
.legend { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 14px;
  background: var(--panel); }
.legend > summary { padding: 12px 16px; cursor: pointer; list-style: none; font-size: 0.88rem;
  color: var(--muted); }
.legend > summary::-webkit-details-marker { display: none; }
.legend > summary::before { content: "▸ "; color: var(--faint); }
.legend[open] > summary::before { content: "▾ "; }
.legend[open] > summary { border-bottom: 1px solid var(--border); color: var(--text); }
.legend dl { margin: 0; padding: 4px 16px 14px; display: grid; grid-template-columns: auto 1fr;
  gap: 8px 14px; align-items: start; }
.legend dt { white-space: nowrap; }
.legend dd { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 560px) {
  .legend dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legend dd { margin-bottom: 8px; }
}

/* --- butceye gore ara (search_by_price_range) / beni bir yere gotur --- */
.exp-bar { padding: 4px 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.exp-chips-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 2px; }
.exp-chips-label { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.exp-chip {
  background: var(--panel2);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}
.exp-chip:hover {
  background: var(--sea);
  color: #fff;
  border-color: var(--sea);
}
.exp-input-group { display: flex; gap: 6px; }
.exp-toggles { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 0.85rem; font-weight: 600; }
.exp-toggle-label { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--text); user-select: none; }
.exp-toggle-label input[type=checkbox] { accent-color: var(--sea); width: 16px; height: 16px; cursor: pointer; }
.budget-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.budget-form select, .budget-form input[type=number] {
  padding: 9px 12px; border-radius: var(--r); border: 1px solid var(--border);
  background: var(--panel2); color: var(--text); font-size: 0.88rem; font-family: inherit; }
.budget-form input[type=number] { width: 130px; }
.budget-spin { font-size: 0.8rem; color: var(--muted); flex-basis: 100%; }
.budget-msg { margin: 0 16px 10px; font-size: 0.85rem; color: var(--muted); }
.budget-msg.budget-error { color: var(--warn); }
.budget-list { list-style: none; margin: 0; padding: 0 16px 14px; display: flex; flex-direction: column; gap: 6px; }
.budget-list a { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: var(--r); text-decoration: none; color: var(--text); }
.budget-list a:hover { border-color: var(--sea); }
.budget-list .bl-dest { font-weight: 600; flex: 1 1 140px; }
.budget-list .bl-price { font-weight: 700; color: var(--sea); }
.budget-list .bl-date, .budget-list .bl-stops, .budget-list .bl-domestic { font-size: 0.82rem; color: var(--muted); }

/* --- butceye gore ara / beni bir yere gotur kartlari --- */
.budget-header-bar { padding: 4px 16px 10px; }
.budget-subnote { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.budget-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  padding: 4px 16px 16px;
}
.b-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.b-card:hover {
  border-color: var(--sea);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.b-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.b-card-dest-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.b-card-flag { border-radius: 2px; vertical-align: middle; }
.b-card-dest {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.b-card-code {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--panel2);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}
.b-card-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--sea);
  white-space: nowrap;
}
.b-card-price small {
  font-size: 0.75rem;
  font-weight: 600;
}
.b-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}
.b-card-dates {
  font-size: 0.8rem;
}
.b-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.b-badge {
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.b-badge-visa { background: #e8f5e9; color: #1b5e20; }
.b-badge-weekend { background: #ede7f6; color: #4527a0; }
.b-badge-direct { background: #e0f2f1; color: #004d40; }
.b-badge-stops { background: var(--panel2); color: var(--muted); border: 1px solid var(--border); }
.b-badge-discount { background: #fff3e0; color: #e65100; font-weight: 700; }
.b-badge-domestic { background: #ffebee; color: #b71c1c; }
.b-badge-rt { background: #e3f2fd; color: #1565c0; font-weight: 600; }
.b-badge-ow { background: #fff8e1; color: #f57f17; font-weight: 600; }
.b-badge-live { background: #e8f5e9; color: #2e7d32; font-weight: 600; }
.b-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}
.b-card-carrier {
  font-size: 0.75rem;
  color: var(--muted);
}
.b-card-btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sea);
  text-decoration: none;
  background: var(--panel2);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: all 0.15s ease;
}
.b-card-btn:hover {
  background: var(--sea);
  color: #fff;
  border-color: var(--sea);
}

/* --- otel takip sekmesi --- */
.wl-box { padding: 0; }
.wl-box > summary { padding: 16px 20px; cursor: pointer; list-style: none; }
.wl-box > summary::-webkit-details-marker { display: none; }
.wl-box > summary::before { content: "▸ "; color: var(--faint); }
.wl-box[open] > summary::before { content: "▾ "; }
.wl-box[open] > summary { border-bottom: 1px solid var(--border); }
.wl-box .wl-item { border: 1px solid var(--border); border-radius: var(--r); margin: 12px 20px; background: var(--panel2); }
.wl-box .wl-item > summary { padding: 12px 14px; cursor: pointer; list-style: none; font-size: 0.9rem; }
.wl-box .wl-item > summary::-webkit-details-marker { display: none; }
.wl-box .wl-item[open] > summary { border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.wl-box .wl-item.off > summary strong { text-decoration: line-through; opacity: 0.55; }
.wl-form { padding: 0 14px 14px; }
.wl-form textarea { min-height: 80px; font-family: inherit; }

.hotel-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.hotel-card { padding: 0; overflow: hidden; }
.hotel-photos { position: relative; aspect-ratio: 16 / 10; background: #0f1216; }
.hotel-photos .hp-main { width: 100%; height: 100%; object-fit: cover; display: block; }
.hotel-photos .hp-thumbs { position: absolute; bottom: 8px; left: 0; right: 0; display: flex;
  gap: 6px; justify-content: center; }
.hp-dot { width: 20px; height: 4px; border-radius: 2px; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.4); }
.hp-dot.on { background: #fff; }
.hp-badge { position: absolute; top: 10px; left: 10px; background: var(--ok-bg); color: var(--ok-fg);
  font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 3px; }
.hotel-body { padding: 16px 18px 18px; }
.hotel-card .kicker { margin-bottom: 10px; }
.info-row.amn { font-size: 0.8rem; opacity: 0.8; }
.hl-list { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.hl-list li { font-size: 0.82rem; color: var(--paper-2); line-height: 1.4; }
.hl-list li strong { color: var(--paper); font-weight: 600; }
@media (max-width: 700px) { .hotel-grid { grid-template-columns: 1fr; } }
.hotel-photos.noimg { display: none; }

/* --- otel kart: renkli yıldız + puan rozeti --- */
.hrow { flex-wrap: wrap; gap: 8px; text-transform: none; letter-spacing: 0; }
.hstars { color: var(--sand); font-size: 0.95rem; letter-spacing: 1px; line-height: 1; }
.hscore { display: inline-flex; align-items: center; justify-content: center; min-width: 34px;
          padding: 3px 7px; border-radius: 3px; font-size: 0.82rem; font-weight: 800;
          font-variant-numeric: tabular-nums; line-height: 1; }
.hscore.exc { background: var(--sea); color: var(--ink); }
.hscore.grt { background: #3f8f86; color: var(--paper); }
.hscore.gd  { background: var(--sand); color: var(--sand-ink); }
.hscore.lo  { background: var(--warn); color: #2a1410; }
.hscore-lbl { font-size: 0.78rem; font-weight: 600; color: var(--muted); align-self: center; }

/* otel kart: iptal / çapraz-fiyat çipleri */
.info-row .chip { display: inline-block; font-size: 0.74rem; font-weight: 600; padding: 2px 8px;
  border-radius: 3px; background: var(--panel2); color: var(--muted); margin-right: 6px; }
.info-row .chip.ok { background: var(--ok-bg); color: var(--ok-fg); }
.info-row .chip.no { background: var(--sig-bg); color: var(--sig-fg); }

/* otel kart: "size göre" rozeti (kışa uygun + çocuk dostu) — birincil sıcak sinyal */
.fit { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px;
  border-radius: 3px; font-size: 0.72rem; font-weight: 700; vertical-align: middle;
  white-space: nowrap; }
.fit.both { background: var(--sand); color: var(--sand-ink); }
.fit.fun { background: var(--ok-bg); color: var(--ok-fg); }
.fit.winter { background: #16303a; color: #8fd7d7; }

/* otel kart: fiyat doğrulama (prebook) kutusu */
.card-footer .btn { flex: 0 0 auto; }
.pb-box { flex-basis: 100%; margin-top: 8px; padding: 8px 10px; border-radius: var(--r);
  background: var(--ok-bg); color: #cfe8e0; font-size: 0.85rem; line-height: 1.5; }
.pb-box .chip { display: inline-block; font-size: 0.72rem; font-weight: 600; padding: 1px 7px;
  border-radius: 3px; margin-left: 4px; }
.pb-box .chip.ok { background: #0f3b32; color: #8ff0d8; }
.pb-box .chip.no { background: var(--sig-bg); color: var(--sig-fg); }
.card-footer { flex-wrap: wrap; gap: 8px; }

/* açık-çeneli (open-jaw) dönüş önerisi — "❓ tahmini çift" kartlarında */
.return-options { margin: 4px 0 2px; }
.ro-btn { font-size: 0.82rem; }
.openjaw { padding: 8px 10px; border-radius: var(--r); background: var(--panel2); }
.openjaw-title { font-size: 0.82rem; font-weight: 600; color: var(--text); margin: 0 0 4px; }
.openjaw-same { font-size: 0.85rem; color: var(--paper-2); margin: 0; }
.openjaw-alts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.openjaw-alts li { font-size: 0.82rem; color: var(--ok-fg); line-height: 1.4; }
.openjaw-empty { font-size: 0.82rem; color: var(--faint); margin: 4px 0 0; }

/* ============ Rota ana sayfa — seyir masası ============ */
.home { max-width: 920px; }
.nav-sep { width: 1px; align-self: stretch; margin: 2px 8px; background: var(--line); }
@media (max-width: 700px) { .nav-sep { width: auto; height: 1px; align-self: auto; margin: 6px 8px; } }

.home-greet { margin: 30px 0 26px; }
.home-greet h1 { font-size: 1.55rem; font-weight: 500; letter-spacing: -0.02em; margin: 0; color: var(--paper); }
.home-greet p { margin: 3px 0 0; color: var(--paper-dim); font-size: 0.95rem; }

/* --- yaklaşan seyahat: tek çerçeveli enstrüman (bilet/pasaport kenarı) --- */
.trip { position: relative; margin: 0 0 42px; padding: 22px 26px 24px; background: var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 3px var(--line); }
.trip-edit { position: absolute; top: 14px; right: 18px; font-size: 0.8rem; color: var(--paper-dim);
  border-bottom: 1px solid transparent; }
.trip-edit:hover { color: var(--sand); border-color: var(--sand); }

/* rota şeması */
.route { display: block; width: 100%; height: auto; margin: 4px 0 0; overflow: visible; }
.route .track { fill: none; stroke: var(--line); stroke-width: 2; }
.route .flown { fill: none; stroke: var(--sea); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: var(--dash, 0) 1000; stroke-dashoffset: 0; }
.route .node { fill: var(--ink-2); stroke: var(--sea); stroke-width: 2; }
.route .node.dest { stroke: var(--sand); }
.route .plane { fill: var(--sand); }
.route .code { fill: var(--paper); font: 700 34px 'Space Grotesk', sans-serif; letter-spacing: 2px; }
.route .code.end { text-anchor: end; }
.route .city { fill: var(--paper-dim); font: 400 15px 'Space Grotesk', sans-serif; }
.route .city.end { text-anchor: end; }
/* rota yükte bir kez çizilir; hareketi azalt seçeneğinde son hâl doğrudan görünür */
@media (prefers-reduced-motion: no-preference) {
  .route .flown { animation: rt-draw 900ms ease-out .12s backwards; }
  .route .plane, .route .node, .route .code { opacity: 0; animation: rt-in 420ms ease-out .82s forwards; }
}
@keyframes rt-draw { from { stroke-dashoffset: var(--dash, 0); } to { stroke-dashoffset: 0; } }
@keyframes rt-in { to { opacity: 1; } }

.trip-count { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 9px; margin: 12px 0 2px; }
.trip-count b { font-size: 4.1rem; font-weight: 700; line-height: .84; letter-spacing: -0.04em;
  color: var(--paper); font-variant-numeric: tabular-nums; }
.trip-count i { font-style: normal; font-size: 1.15rem; color: var(--paper-dim); }
.trip-count span { flex-basis: 100%; color: var(--paper-dim); font-size: 0.9rem; margin-top: 6px;
  font-variant-numeric: tabular-nums; }
.trip-count.gone b { color: var(--sea); font-size: 2.2rem; }
@media (max-width: 560px) { .trip-count b { font-size: 3rem; } }

.trip hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

.trip-grid { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 7px 14px; align-items: baseline; }
.trip-grid dt { color: var(--paper-dim); font-size: 0.82rem; }
.trip-grid dd { margin: 0; color: var(--paper); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .trip-grid { grid-template-columns: auto 1fr; } }

.trip-money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 20px; }
.trip-money > div { display: flex; flex-direction: column; gap: 3px; }
.trip-money dt { color: var(--paper-dim); font-size: 0.82rem; }
.trip-money dd { margin: 0; font-size: 1.15rem; font-weight: 500; color: var(--paper);
  font-variant-numeric: tabular-nums; }
.trip-money .total dd { color: var(--sea); font-size: 1.45rem; font-weight: 700; }
.trip-money .pending dd { color: var(--paper-dim); font-weight: 400; font-size: 1rem; }
@media (max-width: 560px) { .trip-money { grid-template-columns: 1fr 1fr; } }

.trip-fit { margin: 16px 0 0; font-size: 0.9rem; color: var(--paper); }
.trip-fit b { color: var(--sand); font-weight: 500; }
.trip-fit .n { color: var(--paper-dim); }
.trip-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* --- modül okumaları: kutu yok, kısa üst kural --- */
.readouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px 34px; margin-bottom: 34px; }
@media (max-width: 620px) { .readouts { grid-template-columns: 1fr; gap: 24px; } }
.readout { border-top: 2px solid var(--sea); padding-top: 12px; }
.readout h2 { display: flex; align-items: baseline; gap: 7px; }
.readout h2 { font-size: 1rem; font-weight: 700; margin: 0 0 9px; }
.readout p { margin: 0 0 5px; font-size: 0.92rem; color: var(--paper); }
.readout p b { font-weight: 500; }
.readout p.dim { color: var(--paper-dim); }
.readout p.late { color: var(--warn); }
.pay-mini { list-style: none; margin: 2px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.pay-mini li { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: baseline;
  font-size: 0.85rem; }
.pay-mini li.od .pm-amt, .pay-mini li.od .pm-date { color: var(--warn); }
.pm-date { color: var(--paper-dim); font-variant-numeric: tabular-nums; }
.pm-title { color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-amt { color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-mini li.pm-more { display: block; color: var(--paper-dim); font-size: 0.8rem; }
.readout .scan { font-size: 0.8rem; color: var(--paper-dim); margin-top: 9px; }
.readout .scan.late { color: var(--warn); }
.readout a.open { display: inline-block; margin-top: 11px; font-size: 0.85rem; color: var(--sand);
  border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.readout a.open:hover { border-color: var(--sand); }

/* --- sistem satırı --- */
.sysline { border-top: 1px solid var(--line); padding-top: 12px; font-size: 0.82rem;
  color: var(--paper-dim); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sysline .late { color: var(--warn); }

/* --- seyahat düzenleyici --- */
.seyahat .home-greet p { max-width: 60ch; }
.trip-block { border: 1px solid var(--line); border-left: 2px solid var(--sand);
  padding: 18px 22px 20px; margin-bottom: 22px; background: var(--ink-2); }
.trip-block.off { border-left-color: var(--line); opacity: .6; }
.tb-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  gap: 4px 14px; margin-bottom: 6px; }
.tb-top h2 { margin: 0; }
.tb-route { color: var(--paper-dim); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.tb-route .arr { color: var(--sea); }
.trip-form { padding: 8px 0 0; }
.trip-form .field { grid-template-columns: 150px 1fr; padding: 6px 0; }
.trip-form .row-actions { margin-top: 12px; }
.tb-secondary { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.tb-secondary form { display: inline; }
.add-trip { border: 1px dashed var(--line); padding: 0 22px; margin-top: 8px; }
.add-trip > summary { padding: 14px 0; cursor: pointer; color: var(--paper-dim); font-size: 0.92rem;
  list-style: none; }
.add-trip > summary::-webkit-details-marker { display: none; }
.add-trip > summary::before { content: "+ "; color: var(--sand); }
.add-trip[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; color: var(--paper); }
.add-trip[open] { padding-bottom: 18px; }
@media (max-width: 560px) { .trip-form .field { grid-template-columns: 1fr; } }

/* --- ödemeler --- */
.odeme .home-greet p { max-width: 58ch; }
.pay-group { border-top: 2px solid var(--line); padding-top: 12px; margin-bottom: 26px; }
.pay-group.warn { border-top-color: var(--warn); }
.pay-group.now { border-top-color: var(--sand); }
.pg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pg-head h2 { margin: 0; }
.pg-total { color: var(--paper-dim); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.pg-empty { font-size: 0.85rem; margin: 0; }
.pay-list { display: flex; flex-direction: column; }
.pay-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 6px 14px; align-items: baseline;
  padding: 9px 0; border-bottom: 1px solid var(--line); }
.pay-row:last-child { border-bottom: 0; }
.pay-date { color: var(--paper-dim); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.pay-desc { color: var(--paper); font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-cat { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 3px;
  background: #1f3138; color: var(--sea); font-size: 0.72rem; font-weight: 500; vertical-align: 1px; }
.pay-cat.alt { background: #33291a; color: var(--sand); }
.pay-cat.kart { background: #2a2340; color: #b09cf0; }
.pay-min { margin-left: 8px; color: var(--paper-dim); font-size: 0.76rem; }
.pay-amt { color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-group.warn .pay-amt { color: var(--warn); }
.pay-updated { color: var(--paper-dim); font-size: 0.8rem; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 520px) {
  .pay-row { grid-template-columns: 1fr auto; }
  .pay-date { grid-column: 1 / -1; }
  .pay-desc { white-space: normal; }
}

/* --- sana özel (Hermes önerileri) --- */
.oneri .home-greet p { max-width: 58ch; }
/* ana sayfada: ızgaraya sığmayacak kadar uzun metinler için en altta, tam genişlikte */
.oneri-wide { border-top: 2px solid var(--sea); padding-top: 12px; margin-top: 4px; }
.oneri-wide .pg-head { margin-bottom: 4px; }
.oneri-wide .pg-head h2 { font-size: 1rem; font-weight: 700; display: flex; align-items: baseline; gap: 7px; }
.oneri-empty { border-top: 2px solid var(--line); padding-top: 12px; }
.oneri-list { display: flex; flex-direction: column; }
.oneri-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.oneri-row:last-child { border-bottom: 0; }
.oneri-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.oneri-title { color: var(--paper); font-weight: 500; font-size: 0.94rem; }
.oneri-amt { color: var(--sea); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oneri-body { color: var(--paper-2); font-size: 0.88rem; margin: 4px 0 0; }
.oneri-meta { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.oneri-cat { display: inline-block; padding: 1px 7px; border-radius: 3px;
  background: #1f3138; color: var(--sea); font-size: 0.72rem; font-weight: 500; }
.oneri-cat.otel { background: #2a2340; color: #b09cf0; }
.oneri-cat.makale { background: #33291a; color: var(--sand); }
.oneri-cat.ev { background: #17332b; color: var(--sea); }
.oneri-link { font-size: 0.8rem; color: var(--sand); text-decoration: none; border-bottom: 1px solid transparent; }
.oneri-link:hover { border-color: var(--sand); }

/* --- ilham karti (get_popular_directions, dekoratif) --- */
.inspire-row { margin-bottom: 18px; }
.inspire-label { font-size: 0.8rem; color: var(--paper-2); margin: 0 0 8px; }
.inspire-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.inspire-card { flex: 0 0 auto; display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px;
  text-decoration: none; min-width: 130px; }
.inspire-card:hover { border-color: var(--sand); }
.ic-dest { color: var(--paper); font-weight: 500; font-size: 0.88rem; }
.ic-price { color: var(--sea); font-weight: 600; font-variant-numeric: tabular-nums; }
.ic-from { color: var(--paper-2); font-size: 0.78rem; }
.oneri-title a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.oneri-title a:hover { border-color: var(--paper-dim); }

/* --- sana özel: iç okuma sayfası (reddit çevirisi + galeri) --- */
.oneri-detay .home-greet p { display: flex; align-items: center; gap: 8px; }
.oneri-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px; margin: 18px 0; }
.oneri-gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--r);
  background: var(--ink-2); }
.oneri-fulltext { max-width: 68ch; }
.oneri-fulltext p { margin: 0 0 14px; line-height: 1.65; color: var(--paper-2); font-size: 0.94rem; }
.oneri-gallery img { cursor: zoom-in; }

/* --- foto galerisi: buyutme (lightbox) --- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 10, 12, 0.94);
  display: flex; align-items: center; justify-content: center; }
.lightbox-img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: var(--r); }
.lightbox-close { position: absolute; top: 14px; right: 18px; background: none; border: 0;
  color: var(--paper); font-size: 1.6rem; line-height: 1; padding: 8px; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none;
  border: 0; color: var(--paper); font-size: 2.4rem; line-height: 1; padding: 10px 16px; cursor: pointer; }
.lightbox-nav.prev { left: 2px; }
.lightbox-nav.next { right: 2px; }
.lightbox-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: var(--paper-dim); font-size: 0.82rem; }
@media (max-width: 520px) {
  .oneri-gallery { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .oneri-gallery img { height: 110px; }
}

/* --- sana özel -> makaleler kart ızgarası (erişim: üst menü "✨ Sana Özel" dropdown'ı) --- */
.makale-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px; margin-top: 8px; }
.makale-card { display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit;
  background: var(--ink-2); }
.makale-card:hover { border-color: var(--sand); }
.makale-card img { width: 100%; height: 150px; object-fit: cover; }
.makale-card-noimg { width: 100%; height: 150px; display: flex; align-items: center;
  justify-content: center; font-size: 2rem; background: var(--ink); }
.makale-card-body { padding: 12px 14px; }
.makale-card-body h3 { margin: 0 0 6px; font-size: 0.95rem; font-weight: 500; color: var(--paper); }
.makale-card:hover h3 { color: var(--sand); }
.makale-card-body p { margin: 0 0 6px; font-size: 0.85rem; color: var(--paper-2); line-height: 1.4; }
.makale-section { margin-bottom: 30px; }
.makale-section h2 { font-size: 1rem; font-weight: 700; border-top: 2px solid var(--sea);
  padding-top: 10px; margin: 0 0 12px; }

.trend-modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.trend-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}
.trend-modal-dialog {
  position: relative;
  z-index: 10;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.trend-modal-content {
  padding: 20px;
}
.trend-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.trend-route-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.trend-obs-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--panel2);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  display: inline-block;
}
.trend-close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.trend-close-btn:hover {
  color: var(--text);
}
.trend-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.trend-stat-card {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.trend-stat-card .stat-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.trend-stat-card .stat-val {
  font-size: 1.15rem;
  font-weight: 800;
}
.trend-stat-card .stat-val small {
  font-size: 0.72rem;
}
.trend-stat-card .stat-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}
.trend-stat-card .stat-sub.font-bold {
  font-weight: 700;
}
.text-green { color: #16a34a; }
.text-orange { color: #ea580c; }
.text-blue { color: #0284c7; }
.text-muted { color: var(--muted); }

.trend-chart-section {
  margin-bottom: 16px;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}
.trend-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.trend-chart-title {
  font-weight: 700;
  color: var(--text);
}
.trend-chart-legend {
  display: flex;
  gap: 10px;
}
.leg-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.leg-dot.dot-med {
  background: #ea580c;
}
.leg-dot.dot-curr {
  background: #0284c7;
}
.trend-chart-box {
  width: 100%;
  overflow-x: auto;
}
.trend-chart-svg {
  display: block;
  width: 100%;
}

.trend-history-section {
  margin-bottom: 16px;
}
.trend-history-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}
.trend-history-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.trend-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: var(--panel2);
  border-radius: 6px;
  font-size: 0.82rem;
}
.th-date {
  color: var(--muted);
}
.th-price {
  font-weight: 700;
}
.th-badge-low {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}
.trend-modal-footer {
  margin-top: 8px;
}
.trend-modal-footer .btn-full-route {
  width: 100%;
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}
.trend-loading {
  padding: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ============ /ucak — "Sabah göğü" pastel tema ============
   .card/.grid/.route/.price/.badge/.reason/.info-row/.warn/a.link gibi sınıflar
   otel.html'de de kullanılıyor; bu yüzden paylaşılan kurallara dokunulmaz, her şey
   yalnızca body.ucak-pastel ve .flight-grid/.flight-card kapsamında ezilir.
   Renk anlamları: gök = normal, nane = yatırımlık, şeftali = kaçırma. */
:root {
  --row-normal-bg: #e2edfb; --row-normal-text: #15304d; --row-normal-price: #1d5a96; --row-normal-border: #c9dcf4;
  --row-invest-bg: #daf2e5; --row-invest-text: #10372a; --row-invest-price: #12704a; --row-invest-border: #b9e2cb;
  --row-hot-bg: #fde3d2; --row-hot-text: #4a2614; --row-hot-price: #a94c17; --row-hot-border: #f5c8a8;
}

body.ucak-pastel {
  color-scheme: light;
  --ink: #f1f4fa;        /* bulut: sayfa zemini */
  --ink-2: #ffffff;      /* yükseltilmiş yüzey */
  --panel2: #eef2f9;
  --line: #dde3ef;
  --sand: #5563c1;       /* lavanta: eylem / vurgu */
  --sand-ink: #ffffff;
  --sea: #3f72b8;
  --paper: #1c2640;      /* lacivert mürekkep */
  --paper-2: #3a4560;
  --paper-dim: #5d6882;
  --faint: #6b7590;
  --warn: #b4402f;
  --ok-bg: #daf2e5; --ok-fg: #12573a;
  --sig-bg: #fdeede; --sig-fg: #8a4314;
  --bg: var(--ink); --panel: var(--ink-2); --border: var(--line);
  --text: var(--paper); --muted: var(--paper-dim);
  --accent: var(--sand); --green: #12704a; --orange: #a94c17; --red: var(--warn);
  --r: 10px;
  --f-body: 'Barlow', 'Space Grotesk', system-ui, sans-serif;
  --f-sign: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;  /* havalimanı tabelası */
  background: var(--ink); color: var(--paper);
  font-family: var(--f-body); font-feature-settings: normal; font-size: 15.5px;
}
body.ucak-pastel ::selection { background: #d6dbf7; }

/* --- üst çubuk --- */
body.ucak-pastel .brand { font-family: var(--f-sign); font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0; color: var(--paper); }
body.ucak-pastel .brand-word { font-size: 1.55rem; letter-spacing: 0.01em; }
body.ucak-pastel .nav a, body.ucak-pastel .nav-drop-btn { font-weight: 500; }
body.ucak-pastel .nav-drop-menu { box-shadow: 0 10px 28px rgba(28, 38, 64, 0.08); }
body.ucak-pastel .nav-drop-menu a:hover,
body.ucak-pastel .nav-drop-menu a.active { background: var(--panel2); }

/* --- genel düğmeler / girişler --- */
body.ucak-pastel .btn { border-radius: 8px; }
body.ucak-pastel .btn:hover { border-color: var(--sand); color: var(--sand); }
body.ucak-pastel .btn.primary { background: var(--sand); border-color: var(--sand); color: #fff; }
body.ucak-pastel .btn.primary:hover { background: #4553ad; border-color: #4553ad; color: #fff; }
body.ucak-pastel input[type=text], body.ucak-pastel input[type=email], body.ucak-pastel input[type=number],
body.ucak-pastel input[type=date], body.ucak-pastel select {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--paper);
  font-family: inherit; }
body.ucak-pastel .toolbar input[type=checkbox],
body.ucak-pastel .exp-toggle-label input[type=checkbox] { accent-color: var(--sand); }
body.ucak-pastel .new-pill { background: #e7e9fb; border: 1px solid #c6cbf3; color: #36409a; border-radius: 999px; }
body.ucak-pastel .new-pill:hover { background: #dcdff8; }

/* --- günün fırsatı: tek uzun şeftali bilet --- */
body.ucak-pastel .deal-of-day {
  background: var(--row-hot-bg); color: var(--row-hot-text);
  border: 1px solid var(--row-hot-border); border-radius: 16px; box-shadow: none;
  padding: 14px 20px; gap: 6px 16px; margin-bottom: 16px;
}
body.ucak-pastel .deal-of-day:hover { border-color: #eeb184; }
body.ucak-pastel .deal-of-day .dod-tag { color: #7a3209; font-size: 0.8rem; }
body.ucak-pastel .deal-of-day .dod-route { font-family: var(--f-sign); font-size: 1.35rem; font-weight: 600; color: inherit; }
body.ucak-pastel .deal-of-day .dod-price { font-family: var(--f-sign); font-size: 1.6rem; font-weight: 700;
  color: var(--row-hot-price); font-variant-numeric: tabular-nums; }
body.ucak-pastel .deal-of-day .dod-conf,
body.ucak-pastel .deal-of-day .dod-reason { color: #6e3f23; }

/* --- katlanır paneller: rozet açıklaması, keşif modu, hedef alarmı --- */
body.ucak-pastel .legend { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
body.ucak-pastel .legend > summary { color: var(--paper-2); font-weight: 600; padding: 12px 16px; }
body.ucak-pastel .legend > summary::before { color: var(--sand); }
body.ucak-pastel .legend[open] > summary { border-bottom-color: var(--line); color: var(--paper); }
body.ucak-pastel .legend dd { color: var(--paper-dim); }
body.ucak-pastel .exp-chip { background: var(--panel2); border-color: var(--line); color: var(--paper-2); font-weight: 600; }
body.ucak-pastel .exp-chip:hover { background: #e7e9fb; border-color: #c6cbf3; color: #36409a; }
body.ucak-pastel .budget-form select, body.ucak-pastel .budget-form input[type=number] { background: #fff; }
body.ucak-pastel .b-card { background: #fff; border-color: var(--line); border-radius: 12px; }

.target-watch-box { margin-bottom: 10px; }
.target-watch-form { padding: 10px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.target-watch-form .tw-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.target-watch-form input { padding: 8px 11px; font-size: 0.86rem; width: auto; }
.target-watch-form input[type=text] { flex: 1 1 200px; }
.target-watch-form input[type=date] { width: 150px; }
.target-watch-form input[type=number] { width: 130px; }
.target-watch-form .tw-hint { font-size: 0.8rem; color: var(--muted); }
.tw-chips-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8rem; }
.tw-chip-hint { color: var(--muted); font-weight: 600; font-size: 0.78rem; }
.tw-chip { background: #fff; border: 1px solid var(--line); color: var(--paper-2); border-radius: 999px;
  padding: 3px 10px; font-size: 0.78rem; font-family: inherit; cursor: pointer; }
.tw-chip:hover { border-color: #c6cbf3; }
.tw-chip.active { background: #e7e9fb; border-color: #c6cbf3; color: #36409a; font-weight: 600; }
.target-added-badge { display: inline-block; font-size: 0.8rem; font-weight: 600; color: #12573a;
  background: #daf2e5; padding: 5px 10px; border-radius: 8px; }

/* --- filtre çubuğu + hızlı filtreler --- */
body.ucak-pastel .toolbar { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; gap: 10px; }
body.ucak-pastel .toolbar input[type=text],
body.ucak-pastel .toolbar select { width: auto; padding: 8px 11px; font-size: 0.88rem; background: var(--ink); }
body.ucak-pastel .toolbar input[type=text] { flex: 2 1 240px; }
body.ucak-pastel .toolbar select { flex: 1 1 150px; }
body.ucak-pastel .toolbar label.chk { color: var(--paper-2); }
@media (max-width: 700px) {
  body.ucak-pastel .toolbar input[type=text],
  body.ucak-pastel .toolbar select { width: 100%; flex: none; font-size: 16px; }
  body.ucak-pastel .filter-toggle { background: #fff; border-color: var(--line); color: var(--paper-2); border-radius: 12px; }
}

.quick-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 12px 0 2px; }
.quick-pills .q-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--paper-2);
  font-family: inherit; font-size: 0.84rem; font-weight: 500; cursor: pointer; text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.quick-pills .q-pill:hover { border-color: #c6cbf3; }
.quick-pills .q-pill.active { background: #e7e9fb; border-color: #c6cbf3; color: #36409a; font-weight: 600; }
.quick-pills .q-pill.q-hot.active { background: var(--row-hot-bg); border-color: var(--row-hot-border); color: #7a3209; }
.quick-pills .q-pill.q-invest.active { background: var(--row-invest-bg); border-color: var(--row-invest-border); color: #0b4a2f; }
.quick-pills .q-cnt { font-size: 0.74rem; font-weight: 600; font-variant-numeric: tabular-nums;
  color: inherit; opacity: 0.65; background: none; padding: 0; }
.quick-pills .q-pill.active .q-cnt { opacity: 0.85; }
.quick-pills .q-pill.q-map { margin-left: auto; color: var(--sea); }
@media (max-width: 700px) { .quick-pills .q-pill.q-map { margin-left: 0; } }
body.ucak-pastel .result-count { color: var(--faint); margin: 14px 2px 14px; }
body.ucak-pastel .result-count a { color: var(--sand); }
body.ucak-pastel .show-more { background: #fff; border-color: var(--line); border-radius: 999px; color: var(--paper-2); }
body.ucak-pastel .show-more:hover { border-color: var(--sand); color: var(--sand); }

/* ---------------- kartlar ---------------- */
.flight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
/* kapali kartlar satirda esit boy; detayi acilan kartin komsusu JS ile (rowLock) o anki boyunda sabitlenir */
.flight-card.row-locked { align-self: start; }
@media (max-width: 760px) { .flight-grid { grid-template-columns: 1fr; } }

.card.flight-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--row-normal-bg); color: var(--row-normal-text);
  border: 1px solid var(--row-normal-border); border-radius: 16px; padding: 14px 16px 12px;
  box-shadow: none; transition: border-color .15s;
}
.card.flight-card:hover { border-color: #a9c6ec; }
.card.flight-card.highlight-invest { background: var(--row-invest-bg); color: var(--row-invest-text); border-color: var(--row-invest-border); }
.card.flight-card.highlight-invest:hover { border-color: #93d0ae; }
.card.flight-card.highlight-hot { background: var(--row-hot-bg); color: var(--row-hot-text); border-color: var(--row-hot-border); }
.card.flight-card.highlight-hot:hover { border-color: #eeb184; }
.card.flight-card.suspicious { border-left-width: 1px; border-left-color: var(--row-normal-border); }
.card.flight-card.highlight-invest.suspicious { border-left-color: var(--row-invest-border); }
.card.flight-card.highlight-hot.suspicious { border-left-color: var(--row-hot-border); }
.card.flight-card.starred { box-shadow: inset 0 0 0 2px rgba(85, 99, 193, 0.4); }

/* 1. başlık: rota + etiket | eylemler + fiyat */
.flight-card .bp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.flight-card .bp-route-box { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; flex: 1; min-width: 0; }
.flight-card .route,
.flight-card .bp-route-title { font-size: 1.02rem; font-weight: 700; line-height: 1.3; color: inherit;
  letter-spacing: 0; text-decoration: none; }
.flight-card a.route:hover,
.flight-card a.bp-route-title:hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.flight-card .airport-pill { font-family: var(--f-sign); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.6); color: inherit; white-space: nowrap; }
.flight-card .ribbon { font-size: 0.72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px;
  white-space: nowrap; flex: none; }
.flight-card .ribbon.invest { background: #a8dfc0; color: #0b4a2f; }
.flight-card .ribbon.hot { background: #f6c39c; color: #7a3209; }

.flight-card .bp-price-box { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.flight-card .card-actions.corner { position: static; display: inline-flex; gap: 0; margin: 0;
  background: rgba(255, 255, 255, 0.55); border-radius: 999px; padding: 1px 3px; }
.flight-card .cardbtn { color: inherit; opacity: 0.55; font-size: 0.8rem; padding: 3px 5px; border-radius: 999px; }
.flight-card:hover .cardbtn { opacity: 0.85; }
.flight-card .cardbtn:hover { background: rgba(255, 255, 255, 0.85); color: inherit; opacity: 1; }
.flight-card .cardbtn.on { opacity: 1; background: rgba(255, 255, 255, 0.85); }

.flight-card .price,
.flight-card .bp-price { margin: 0; display: flex; align-items: baseline; gap: 4px;
  font-family: var(--f-sign); font-size: 1.8rem; font-weight: 700; line-height: 1; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; color: var(--row-normal-price); }
.flight-card .price .cur { font-family: var(--f-body); font-size: 0.74rem; font-weight: 600; color: inherit; opacity: 0.75; }
.card.flight-card.suspicious .price { color: var(--row-normal-price); }
.card.flight-card.highlight-invest .price { color: var(--row-invest-price); }
.card.flight-card.highlight-hot .price { color: var(--row-hot-price); }
.flight-card .price-meta { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.flight-card .eur-pill { font-size: 0.72rem; font-weight: 500; opacity: 0.75; font-variant-numeric: tabular-nums; white-space: nowrap; }
.flight-card .discount-pill { font-size: 0.72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.7); color: var(--row-invest-price); white-space: nowrap; }
.flight-card.highlight-hot .discount-pill { color: var(--row-hot-price); }

/* 2. biniş kartı şeridi — sayfanın tek "gösterişli" öğesi */
.flight-card .bp-strip { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center;
  gap: 14px; margin: 0; padding: 10px 14px; background: rgba(255, 255, 255, 0.72); border: 0; border-radius: 12px; }
.flight-card .bp-strip.bp-flexible { background: rgba(255, 255, 255, 0.5);
  outline: 1px dashed rgba(28, 38, 64, 0.2); outline-offset: -1px; }
.flight-card .bp-strip-col { display: flex; flex-direction: column; gap: 1px; text-align: left; min-width: 0; }
.flight-card .bp-strip-col.right { text-align: right; align-items: flex-end; }
.flight-card .bp-time { font-family: var(--f-sign); font-size: 1.5rem; font-weight: 600; line-height: 1.05;
  font-variant-numeric: tabular-nums; color: inherit; letter-spacing: 0; }
.flight-card .bp-time-date { font-size: 1.2rem; display: inline-flex; align-items: baseline; gap: 5px; }
.flight-card .bp-sub-label { font-family: var(--f-body); font-size: 0.72rem; font-weight: 600; opacity: 0.6;
  text-transform: none; letter-spacing: 0; }
.flight-card .bp-ow-text { color: inherit; font-weight: inherit; font-size: inherit; }
.flight-card .bp-iata { font-family: var(--f-sign); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  opacity: 0.72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.flight-card .bp-timeline { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 0; }
.flight-card .bp-dur, .flight-card .bp-stops { font-size: 0.74rem; font-weight: 600; white-space: nowrap; line-height: 1.2; }
.flight-card .bp-dur { opacity: 0.7; }
.flight-card .bp-strip.bp-flexible .bp-dur { color: inherit; font-size: 0.74rem; }
.flight-card .bp-stops { color: var(--row-invest-price); opacity: 1; }
.flight-card.highlight-hot .bp-stops { color: var(--row-hot-price); }
.flight-card .bp-line { position: relative; display: block; width: 100%; height: 0; margin: 5px 0;
  background: none; border-top: 1.5px dashed rgba(28, 38, 64, 0.25); }
.flight-card .bp-line-dot { position: absolute; left: 50%; top: -1px; width: 8px; height: 8px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--row-normal-price); box-shadow: 0 0 0 3px #fff; }
.flight-card.highlight-invest .bp-line-dot { background: var(--row-invest-price); }
.flight-card.highlight-hot .bp-line-dot { background: var(--row-hot-price); }

/* 3. haplar: tek sakin stil, renk sadece anlam taşıyanlarda */
.flight-card .bp-pills-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 0; }
.flight-card .bp-pills-bar:not(:has(span)) { display: none; }
.flight-card .bp-pills-bar > span { font-size: 0.74rem; font-weight: 600; line-height: 1.5; padding: 1px 9px;
  border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.62); color: inherit; opacity: 1; white-space: nowrap; }
.flight-card .bp-pills-bar .advice-pill.advice-great,
.flight-card .bp-pills-bar .invest-pill { background: #c9ecd8; color: #0b4a2f; }
.flight-card .bp-pills-bar .advice-pill.advice-good { background: #fbedc2; color: #634605; }
.flight-card .bp-pills-bar .advice-pill.advice-wait { background: #f9d9d9; color: #85211f; }
.flight-card .bp-pills-bar .holiday-pill { background: #e6def7; color: #46297a; }
.flight-card .bp-pills-bar .holiday-pill.resmi { background: #f9dfe3; color: #7d1d2c; }

/* 4. alt bilgi: havayolu, tarih aralığı, saat farkı */
.flight-card .bp-meta-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 12px;
  font-size: 0.82rem; color: inherit; opacity: 0.88; padding: 0; }
.flight-card .air-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.flight-card .alogo { width: 22px; height: 22px; padding: 2px; border-radius: 5px; background: #fff;
  box-shadow: none; vertical-align: middle; }
.flight-card .meta-label { font-size: 0.82rem; }
.flight-card .bp-daterange { font-weight: 600; font-variant-numeric: tabular-nums; }
.flight-card .bp-dest-info { background: none; border: 0; padding: 0; font-size: inherit; font-weight: 500; opacity: 0.85; }
.flight-card .bp-notice { font-size: inherit; opacity: 0.9; }

/* hedef alarm kutusu (kart içi) */
.flight-card .target-alarm-box { background: #fff; border: 1px solid var(--row-normal-border); border-radius: 12px;
  padding: 10px 12px; margin: 0; box-shadow: none; color: #1c2640; }
.flight-card .target-alarm-box .tab-head { font-size: 0.84rem; margin-bottom: 8px; color: inherit; }
.flight-card .target-alarm-box .tab-inputs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.flight-card .target-alarm-box input { width: auto; padding: 6px 9px; font-size: 0.82rem; }
.flight-card .target-alarm-box input[type=date] { width: 138px; }
.flight-card .target-alarm-box input[type=number] { width: 100px; }
.flight-card .target-alarm-box button { padding: 6px 12px; font-size: 0.8rem; }
.flight-card .target-bell.on { opacity: 1; background: rgba(255, 255, 255, 0.85); }

/* detaylar alanı */
.card-detail { margin-top: 2px; padding-top: 10px; border-top: 1px dashed rgba(28, 38, 64, 0.16); }
.flight-card .advice-box, .flight-card .invest-box, .flight-card .split-fare-box,
.flight-card .flex-date-box, .flight-card .nearby-box {
  margin: 0 0 6px; padding: 8px 12px; border: 0; border-left: 3px solid rgba(28, 38, 64, 0.2); border-radius: 8px;
  background: rgba(255, 255, 255, 0.62); color: inherit; font-size: 0.82rem; line-height: 1.5; }
.flight-card .advice-box.advice-great, .flight-card .invest-box { border-left-color: #2f9a68; }
.flight-card .advice-box.advice-good { border-left-color: #c99a1c; }
.flight-card .advice-box.advice-wait { border-left-color: #c94a43; }
.flight-card .nearby-link { margin-left: 6px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.flight-card .reason { color: inherit; opacity: 0.88; font-size: 0.82rem; margin: 0 0 8px; line-height: 1.5; }
.flight-card .info-row { color: inherit; opacity: 0.85; font-size: 0.8rem; margin-bottom: 5px; }
.flight-card .info-row.spark { opacity: 0.8; margin: 6px 0; }
.flight-card .info-row.xcheck.ok { color: inherit; }
.flight-card .info-row.xcheck.bad { color: var(--warn); opacity: 1; font-weight: 600; }
.flight-card .flight-hint { margin: 6px 0 4px; padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.55); line-height: 1.45; }
.flight-card .warn { color: inherit; opacity: 0.85; font-size: 0.8rem; line-height: 1.5; margin: 4px 0 0;
  padding: 0; background: none; border: 0; }
.flight-card .status { align-items: center; gap: 5px; margin-bottom: 8px; }
.flight-card .badge,
.flight-card .badge.verified, .flight-card .badge.suspicious, .flight-card .badge.fresh,
.flight-card .badge.src-tp, .flight-card .badge.src-multi,
.flight-card .badge.conf.high, .flight-card .badge.conf.mid, .flight-card .badge.conf.low,
.flight-card .badge.stops-0, .flight-card .badge.stops-n {
  background: rgba(255, 255, 255, 0.62); color: inherit; border: 0; border-radius: 999px;
  padding: 1px 9px; font-size: 0.74rem; font-weight: 600; }
.flight-card .sent-at { color: inherit; opacity: 0.6; font-size: 0.74rem; margin-left: auto; }
.flight-card .openjaw { margin-top: 4px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.55);
  color: inherit; font-size: 0.8rem; }
.flight-card .openjaw-title { color: inherit; font-weight: 700; margin: 0 0 2px; }
.flight-card .openjaw-same, .flight-card .openjaw-alts li { color: inherit; opacity: 0.88; }
.flight-card .openjaw-alts { margin: 4px 0 0; padding-left: 0; }
.flight-card .openjaw-empty { color: inherit; opacity: 0.65; font-size: 0.78rem; margin: 4px 0 0; }
.flight-card .ro-btn { color: inherit; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(28, 38, 64, 0.15);
  border-radius: 8px; padding: 4px 10px; font-size: 0.78rem; }

/* 5. alt satır: durum | trend · story · detaylar · bilete git */
.flight-card .card-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px; margin: auto 0 0; padding-top: 10px; border-top: 1px solid rgba(28, 38, 64, 0.08); }
.flight-card .status-line { font-size: 0.76rem; font-weight: 600; padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55); color: inherit; margin: 0; }
.flight-card .status-line.danger { background: var(--warn); color: #fff; }
.flight-card .fc-footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; margin-left: auto; }
.flight-card .fc-footer-links .cardbtn { font-family: inherit; font-size: 0.78rem; font-weight: 600; color: inherit;
  opacity: 0.72; padding: 4px 8px; border: 0; border-radius: 8px; background: none; }
.flight-card .fc-footer-links .cardbtn:hover { opacity: 1; background: rgba(255, 255, 255, 0.75); }
.det-toggle { font-size: 0.78rem; font-weight: 600; background: none; border: 0; cursor: pointer;
  font-family: inherit; color: inherit; padding: 4px 8px; }
.flight-card a.link { margin-left: 4px; padding: 5px 12px; border: 0; border-radius: 8px;
  background: var(--row-normal-price); color: #fff; font-size: 0.8rem; font-weight: 700; }
.flight-card.highlight-invest a.link { background: var(--row-invest-price); }
.flight-card.highlight-hot a.link { background: var(--row-hot-price); }
.flight-card a.link:hover { color: #fff; filter: brightness(0.9); }
/* Skyscanner kartında ikinci buton: aynı tarihler için Aviasales (bizim komisyon) */
.flight-card a.link.link-compare, .flight-card.highlight-hot a.link.link-compare,
.flight-card.highlight-invest a.link.link-compare {
  background: transparent; color: var(--row-normal-price);
  box-shadow: inset 0 0 0 1.5px currentColor; }
.flight-card a.link.link-compare:hover { color: var(--row-normal-price); filter: none; opacity: .8; }
.price-source { font-size: 0.72rem; color: #64748b; margin-left: 6px; white-space: nowrap; }
.flight-card a.link.link-esim, .flight-card.highlight-hot a.link.link-esim,
.flight-card.highlight-invest a.link.link-esim {
  background: transparent; color: #0f766e; font-weight: 600;
  box-shadow: inset 0 0 0 1px #5eead4; }
.flight-card a.link.link-esim:hover { background: #f0fdfa; filter: none; }

@media (max-width: 600px) {
  .flight-card .price, .flight-card .bp-price { font-size: 1.55rem; }
  .flight-card .bp-time { font-size: 1.3rem; }
  .flight-card .bp-time-date { font-size: 1.05rem; }
  .flight-card .bp-strip { gap: 10px; padding: 9px 12px; }
  .flight-card .card-actions .cardbtn { font-size: 0.95rem; padding: 6px 7px; opacity: 0.8; }
  .flight-card .fc-footer-links { margin-left: 0; width: 100%; justify-content: flex-end; }
  .flight-card .bp-header { flex-wrap: wrap; gap: 8px; }
  .flight-card .bp-route-box { flex-basis: 100%; }
  .flight-card .bp-price-box { width: 100%; flex-direction: row; align-items: center; gap: 8px; }
  .flight-card .bp-price-box .price { order: 1; }
  .flight-card .bp-price-box .price-meta { order: 2; }
  .flight-card .bp-price-box .card-actions { order: 3; margin-left: auto; }
}

/* fiyat trendi modalı — açık temada */
body.ucak-pastel .trend-modal-backdrop { background: rgba(28, 38, 64, 0.35); }
body.ucak-pastel .trend-modal-dialog { border-radius: 16px; box-shadow: 0 24px 60px rgba(28, 38, 64, 0.18); }
body.ucak-pastel .trend-stat-card .stat-lbl { text-transform: none; letter-spacing: 0; }
body.ucak-pastel .trend-stat-card .stat-val { font-family: var(--f-sign); font-size: 1.35rem; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  body.ucak-pastel *, body.ucak-pastel *::before, body.ucak-pastel *::after { transition: none !important; }
}
body.ucak-pastel .text-green { color: #12704a; }
body.ucak-pastel .text-orange { color: #a94c17; }
body.ucak-pastel .text-blue { color: #1d5a96; }
body.ucak-pastel .th-badge-low { background: #daf2e5; color: #12573a; }

/* ==========================================================================
   Hafta Sonu Kaçamağı & Instagram Reels Huni Stilleri (Weekend Escape Funnel)
   ========================================================================== */

.kacamak-wrap {
  min-height: 100vh;
  background: #f8fafc;
  color: #1e293b;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* HERO */
.kacamak-hero {
  position: relative;
  background-size: cover;
  background-position: center 35%;
  color: #ffffff;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.4);
}
.kacamak-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.kacamak-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.kacamak-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge-visa-free { background: rgba(16, 185, 129, 0.9); color: #fff; }
.badge-visa-req { background: rgba(59, 130, 246, 0.9); color: #fff; }
.pill-light { background: rgba(255, 255, 255, 0.22); color: #fff; backdrop-filter: blur(8px); }
.pill-gold { background: rgba(245, 158, 11, 0.95); color: #1e293b; font-weight: 800; }

.kacamak-hero-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.kacamak-hero-title .accent-text {
  color: #fde047;
  font-style: italic;
  font-weight: 500;
  display: block;
}
.kacamak-hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 2rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.kacamak-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.kacamak-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #3b82f6;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.kacamak-btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
}
.kacamak-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #22c55e;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.6rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.45);
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.kacamak-btn-wa:hover {
  background: #16a34a;
  transform: translateY(-2px);
}

/* CONTENT & SECTIONS */
.kacamak-content {
  max-width: 820px;
  margin: -1.5rem auto 3rem;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.kacamak-section {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.2rem 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.kacamak-step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eff6ff;
  color: #2563eb;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}
.kacamak-step-indicator .step-num {
  background: #2563eb;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.kacamak-section-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.kacamak-section-desc {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* ITINERARY */
.itinerary-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.itinerary-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.itinerary-card-icon {
  font-size: 1.8rem;
  line-height: 1;
  padding: 0.6rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.itinerary-card-body {
  flex: 1;
}
.itinerary-time {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.itinerary-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}
.itinerary-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.kacamak-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.kacamak-box {
  background: #f1f5f9;
  padding: 1.25rem;
  border-radius: 14px;
}
.kacamak-box-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
.kacamak-box-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.kacamak-box-list li {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #475569;
}

/* BUDGET CARD */
.budget-card {
  background: #fafaf9;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e7e5e4;
}
.budget-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}
.budget-row-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.budget-row-label .icon {
  font-size: 1.5rem;
}
.budget-row-label strong {
  display: block;
  font-size: 0.95rem;
  color: #1c1917;
}
.budget-row-label small {
  display: block;
  font-size: 0.8rem;
  color: #78716c;
}
.budget-row-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1c1917;
  font-variant-numeric: tabular-nums;
}
.budget-divider {
  height: 1px;
  background: #e7e5e4;
  margin: 0.75rem 0 1rem;
}
.budget-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f5f4;
  padding: 1rem 1.25rem;
  border-radius: 12px;
}
.total-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0c0a09;
}
.total-sub {
  display: block;
  font-size: 0.8rem;
  color: #78716c;
}
.total-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #15803d;
  font-variant-numeric: tabular-nums;
}

/* PERSON SELECTOR */
.person-selector-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  margin-bottom: 1.5rem;
}
.selector-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.75rem;
}
.selector-pills {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.person-btn {
  flex: 1;
  padding: 0.6rem 0.5rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.person-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.selector-summary {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0284c7;
}

/* FLIGHT CARD */
.flight-deal-card {
  background: #ffffff;
  border: 2px solid #93c5fd;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px -5px rgba(59, 130, 246, 0.15);
}
.flight-deal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}
.carrier-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-right: 0.5rem;
}
.flight-route {
  font-weight: 700;
  color: #0f172a;
}
.weekend-kind {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
}
.weekend-kind-klasik { background: #dcfce7; color: #166534; }
.weekend-kind-uzun { background: #fef3c7; color: #92400e; }
.flight-price-note {
  margin: 10px 0 0;
  font-size: .78rem;
  color: #64748b;
}
.kacamak-no-flight {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #334155;
}
.deal-price-box {
  text-align: right;
}
.deal-price-box .price-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e3a8a;
  display: block;
}
.deal-price-box .price-sub {
  font-size: 0.75rem;
  color: #64748b;
}

.flight-schedule-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  gap: 0.75rem;
}
.schedule-item {
  flex: 1;
}
.schedule-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.3rem;
}
.schedule-badge.outbound { background: #dbeafe; color: #1e40af; }
.schedule-badge.return { background: #fef3c7; color: #92400e; }
.schedule-date {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}
.schedule-desc {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
}
.schedule-arrow {
  font-size: 1.4rem;
  color: #94a3b8;
}

.flight-actions {
  display: flex;
  gap: 0.85rem;
}
.flight-btn-book {
  flex: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2563eb;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: transform 0.15s ease, background 0.15s ease;
}
.flight-btn-book:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.flight-btn-share {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #334155 !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid #cbd5e1;
}
.flight-btn-share:hover {
  background: #e2e8f0;
}

/* ACTION SECTION */
.action-banner {
  text-align: center;
  padding: 1rem 0;
}
.action-banner-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.action-banner-sub {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}
.action-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #22c55e;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.4);
  transition: transform 0.15s ease;
}
.action-btn-whatsapp:hover {
  background: #16a34a;
  transform: translateY(-2px);
}
.action-btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}
.action-btn-copy:hover {
  background: #e2e8f0;
}

/* OTHER SECTION */
.kacamak-other-section {
  margin-top: 2.5rem;
}
.other-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.other-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #334155;
  margin: 0;
}
.other-all-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}
.other-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.other-pill {
  padding: 0.45rem 0.95rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}
.other-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* WEEKEND LIST DIRECTORY */
.weekend-list-page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}
.weekend-hero-banner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}
.weekend-badge {
  display: inline-block;
  background: #fef08a;
  color: #854d0e;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.weekend-main-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1rem;
}
.weekend-main-title .accent-text {
  color: #2563eb;
  font-style: italic;
  font-weight: 500;
  display: block;
}
.weekend-main-sub {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.weekend-category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tab-btn {
  padding: 0.55rem 1.1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}
.tab-btn:hover {
  background: #f1f5f9;
}
.tab-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.weekend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.weekend-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.weekend-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
}
.weekend-card-media {
  height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}
.weekend-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}
.card-overlay-badges {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}
.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}
.badge-flight {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
.card-overlay-city {
  position: relative;
  z-index: 2;
  color: #fff;
}
.card-overlay-city h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.65rem;
  margin: 0;
  line-height: 1.1;
}
.card-overlay-city .country-name {
  font-size: 0.85rem;
  opacity: 0.85;
}

.weekend-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-tagline {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}
.card-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 1rem;
  flex: 1;
}
.card-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.card-hl-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #334155;
}
.card-hl-item .check-icon {
  color: #10b981;
  font-weight: 800;
}

.card-footer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}
.card-price-info .price-label {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
}
.card-price-info .price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #15803d;
  line-height: 1.1;
  display: block;
}
.card-price-info .price-sub {
  font-size: 0.7rem;
  color: #94a3b8;
}
.card-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0f172a;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.card-btn-action:hover {
  background: #2563eb;
}

.weekend-info-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  background: #f8fafc;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.info-icon {
  font-size: 2rem;
  line-height: 1;
}
.info-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}
.info-item p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

/* ADMIN LINKS HELPER */
.admin-weekend-container {
  max-width: 980px;
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}
.admin-header {
  margin-bottom: 2rem;
}
.admin-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}
.admin-links-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.admin-link-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.admin-link-card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}
.admin-link-card .city-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}
.input-copy-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}
.copy-input {
  flex: 1;
  padding: 0.55rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.85rem;
  background: #f8fafc;
  color: #334155;
}
.btn-copy, .btn-copy-caption {
  padding: 0.55rem 1rem;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}
.btn-copy:hover, .btn-copy-caption:hover {
  background: #2563eb;
}
.caption-text {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 0.85rem;
  white-space: pre-wrap;
  color: #334155;
  margin: 0.3rem 0 0.75rem;
}
.preview-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .kacamak-hero {
    padding: 3rem 1rem 2.5rem;
  }
  .kacamak-section {
    padding: 1.5rem 1.15rem;
  }
  .flight-schedule-grid {
    flex-direction: column;
    text-align: center;
  }
  .schedule-arrow {
    transform: rotate(90deg);
  }
  .flight-actions {
    flex-direction: column;
  }
  .weekend-grid {
    grid-template-columns: 1fr;
  }
}

/* MATCHED REAL HOTELS STYLES */
.kacamak-hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.kacamak-hotel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kacamak-hotel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.1);
}
.hotel-card-media {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem;
}
.hotel-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}
.hotel-badge {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  color: #fff;
}
.hotel-badge.badge-green { background: #16a34a; }
.hotel-badge.badge-blue { background: #2563eb; }
.hotel-badge.badge-gold { background: #d97706; }

.hotel-rating-overlay {
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.55rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #fff;
}
.rating-val {
  font-weight: 800;
  font-size: 0.8rem;
  color: #fde047;
}
.stars-val {
  font-size: 0.65rem;
  color: #f59e0b;
}

.hotel-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hotel-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.3rem;
  line-height: 1.25;
}
.hotel-neighborhood {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}
.hotel-amenities-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.amenity-pill {
  font-size: 0.7rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.hotel-card-pricing {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.price-stack .nightly-price {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #15803d;
}
.price-stack .nightly-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}
.price-stack .total-price {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
}
.hotel-btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #0f172a;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.hotel-btn-book:hover {
  background: #2563eb;
}

/* ALTERNATIVE WEEKEND DEALS */
.alt-weekend-deals {
  margin-top: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
}
.alt-deals-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  margin: 0 0 0.85rem;
}
.alt-deals-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.alt-deal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.75rem 1rem;
}
.alt-deal-info strong {
  display: block;
  font-size: 0.88rem;
  color: #0f172a;
}
.alt-carrier {
  font-size: 0.75rem;
  color: #64748b;
}
.alt-deal-price-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.alt-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #15803d;
}
.alt-deal-btn {
  font-size: 0.8rem;
  font-weight: 700;
  background: #0f172a;
  color: #ffffff !important;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.alt-deal-btn:hover {
  background: #2563eb;
}

/* eSIM önerisi (Yesim) */
.link-esim {
  font-size: .82rem;
  color: #0f766e;
  border: 1px dashed #5eead4;
  border-radius: 999px;
  padding: 2px 10px;
  text-decoration: none;
}
.link-esim:hover { background: #f0fdfa; }
.kacamak-esim-box { border: 1px solid #99f6e4; background: #f0fdfa; }
.kacamak-esim-text { margin: 6px 0 12px; color: #334155; font-size: .92rem; }
.kacamak-esim-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.kacamak-esim-btn:hover { background: #115e59; }
.kacamak-esim-note { display: block; margin-top: 8px; color: #64748b; font-size: .75rem; }
