﻿/* =========================================================
   Düğün Mekanları — Premium tema
   ========================================================= */
:root {
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;

  --bg: #08080c;
  --bg-2: #0e0e14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.065);
  --surface-3: rgba(255, 255, 255, 0.1);
  --surface-solid: #13131b;
  --surface-solid-2: #1a1a24;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3efe8;
  --text-2: #bcb5c7;
  --muted: #7f798c;

  --gold: #e4c28e;
  --gold-2: #c99d5d;
  --rose: #e9a5b7;
  --violet: #a78bfa;
  --grad: linear-gradient(135deg, #f7e2b8 0%, #dcae6f 45%, #c98d9f 100%);
  --grad-soft: linear-gradient(135deg, rgba(247, 226, 184, 0.16), rgba(201, 141, 159, 0.1));
  --ok: #5fe0a2;
  --ok-bg: rgba(95, 224, 162, 0.12);
  --warn: #f5c062;
  --warn-bg: rgba(245, 192, 98, 0.12);
  --bad: #f47b8a;
  --bad-bg: rgba(244, 123, 138, 0.12);
  --info: #8db6ff;
  --info-bg: rgba(141, 182, 255, 0.12);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.75);
  --glow: 0 0 0 1px rgba(228, 194, 142, 0.25), 0 8px 30px -6px rgba(228, 194, 142, 0.25);
  --blur: saturate(160%) blur(18px);

  --rail-w: 76px;
  --side-w: 400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}

[data-theme='light'] {
  --bg: #f6f2ec;
  --bg-2: #efe9e1;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-2: rgba(255, 255, 255, 0.85);
  --surface-3: rgba(30, 20, 10, 0.06);
  --surface-solid: #ffffff;
  --surface-solid-2: #faf7f3;
  --border: rgba(40, 25, 10, 0.085);
  --border-strong: rgba(40, 25, 10, 0.16);
  --text: #1e1a22;
  --text-2: #4e4757;
  --muted: #8a8292;
  --gold: #b0803f;
  --gold-2: #96692c;
  --rose: #c46d86;
  --grad: linear-gradient(135deg, #d9a860 0%, #c0874a 45%, #b9667e 100%);
  --grad-soft: linear-gradient(135deg, rgba(217, 168, 96, 0.14), rgba(185, 102, 126, 0.08));
  --ok: #17a36a;
  --ok-bg: rgba(23, 163, 106, 0.1);
  --warn: #b8800f;
  --warn-bg: rgba(184, 128, 15, 0.1);
  --bad: #d4475b;
  --bad-bg: rgba(212, 71, 91, 0.1);
  --info: #3c6fd1;
  --info-bg: rgba(60, 111, 209, 0.1);
  --shadow: 0 10px 30px -12px rgba(70, 45, 20, 0.22);
  --shadow-lg: 0 30px 70px -20px rgba(70, 45, 20, 0.3);
  --glow: 0 0 0 1px rgba(176, 128, 63, 0.3), 0 8px 26px -8px rgba(176, 128, 63, 0.35);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
svg { width: 18px; height: 18px; flex-shrink: 0; }
.seg button svg, .list-tools svg { width: 15px; height: 15px; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--gold); text-decoration: none; }
::selection { background: rgba(228, 194, 142, 0.35); }

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; }
*::-webkit-scrollbar-track { background: transparent; }

/* ---------- Arka plan aurora ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.32;
  animation: float 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 520px; height: 520px; background: #c99d5d; top: -160px; left: 10%; }
.aurora span:nth-child(2) { width: 460px; height: 460px; background: #b5657f; bottom: -180px; right: 5%; animation-delay: -8s; opacity: 0.22; }
.aurora span:nth-child(3) { width: 380px; height: 380px; background: #6d5bd0; top: 40%; left: 45%; animation-delay: -15s; opacity: 0.12; }
[data-theme='light'] .aurora span { opacity: 0.22; }
.aurora::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
[data-theme='light'] .aurora::after { background-image: radial-gradient(rgba(60,40,20,0.06) 1px, transparent 1px); }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.12); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* ---------- Ana yerleşim ---------- */
.app {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: var(--rail-w) var(--side-w) 1fr;
  height: 100vh; height: 100dvh;
}
.rail {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 0;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: var(--blur);
}
.rail .logo { margin-bottom: 14px; }
.rail-btn {
  position: relative; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; border: 0; background: transparent; color: var(--muted);
  cursor: pointer; transition: all 0.25s var(--ease);
}
.rail-btn svg { width: 22px; height: 22px; }
.rail-btn:hover { background: var(--surface-2); color: var(--text); }
.rail-btn.active { color: var(--gold); background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(228,194,142,0.22); }
.rail-btn.active::before {
  content: ''; position: absolute; left: -14px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--grad);
}
.rail-btn .dot {
  position: absolute; top: 7px; right: 7px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--rose); color: #1b0f14; font-size: 10.5px; font-weight: 700; display: grid; place-items: center;
}
.rail-btn .tip {
  position: absolute; left: 58px; white-space: nowrap; background: var(--surface-solid-2); color: var(--text);
  padding: 6px 10px; border-radius: 8px; font-size: 12.5px; border: 1px solid var(--border);
  opacity: 0; pointer-events: none; transform: translateX(-6px); transition: all 0.2s var(--ease); z-index: 50; box-shadow: var(--shadow);
}
.rail-btn:hover .tip { opacity: 1; transform: none; }
.rail .spacer { flex: 1; }

.logo {
  width: 44px; height: 44px; border-radius: 14px; background: var(--grad);
  display: grid; place-items: center; color: #2a1a10; box-shadow: var(--glow);
}
.logo svg { width: 24px; height: 24px; }

/* ---------- Kenar çubuğu (liste) ---------- */
.sidebar {
  display: flex; flex-direction: column; min-height: 0;
  border-right: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-2) 55%, transparent);
  backdrop-filter: var(--blur);
}
.side-head { padding: 20px 18px 10px; }
.side-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.side-title h1 { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin: 0; letter-spacing: 0.2px; line-height: 1; }
.side-title .sub { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.search {
  position: relative; display: flex; align-items: center;
}
.search svg { position: absolute; left: 13px; width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: 13px; border: 1px solid var(--border);
  background: var(--surface); outline: none; transition: all 0.2s;
}
.search input:focus { border-color: rgba(228,194,142,0.45); box-shadow: 0 0 0 4px rgba(228,194,142,0.1); background: var(--surface-2); }
.seg {
  display: flex; padding: 4px; gap: 4px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border);
  margin-top: 12px;
}
.seg button {
  flex: 1; border: 0; background: transparent; padding: 7px 8px; border-radius: 9px; cursor: pointer; color: var(--text-2);
  font-size: 13px; font-weight: 500; transition: all 0.25s var(--ease); display: flex; align-items: center; justify-content: center; gap: 6px;
}
.seg button.active { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, var(--shadow); }
.seg .count { font-size: 11px; padding: 1px 7px; border-radius: 10px; background: var(--surface-2); color: var(--muted); }

.chips { display: flex; gap: 6px; overflow-x: auto; padding: 12px 18px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font-size: 12.5px; font-weight: 500;
  cursor: pointer; transition: all 0.2s var(--ease); white-space: nowrap; user-select: none;
}
.chip svg { width: 14px; height: 14px; }
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip.active { background: var(--grad-soft); border-color: rgba(228,194,142,0.4); color: var(--gold); }
.chip.solid.active { background: var(--grad); color: #2a1a10; border-color: transparent; }

.list-tools { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 8px; color: var(--muted); font-size: 12px; }
.list-tools select { background: transparent; border: 0; color: var(--text-2); font-size: 12.5px; cursor: pointer; outline: none; }
.list-tools select option { background: var(--surface-solid); }

.venue-list { flex: 1; overflow-y: auto; padding: 2px 10px 100px; }
.v-item {
  position: relative; display: grid; grid-template-columns: 54px 1fr auto; gap: 13px; align-items: center;
  padding: 11px 10px; border-radius: 15px; cursor: pointer; transition: background 0.2s, transform 0.25s var(--ease);
  animation: fadeUp 0.5s var(--ease) both;
}
.v-item:hover { background: var(--surface-2); }
.v-item.active { background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(228,194,142,0.2); }
.v-item + .v-item::before {
  content: ''; position: absolute; top: 0; left: 77px; right: 10px; height: 1px; background: var(--border);
}
.v-item:hover::before, .v-item.active::before, .v-item:hover + .v-item::before, .v-item.active + .v-item::before { opacity: 0; }
.avatar {
  position: relative; width: 54px; height: 54px; border-radius: 16px; overflow: hidden; background: var(--grad-soft);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--gold);
  border: 1px solid var(--border);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .fav {
  position: absolute; right: 3px; bottom: 3px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,0.55); color: #ffd27a; backdrop-filter: blur(6px);
}
.avatar .fav svg { width: 11px; height: 11px; fill: currentColor; }
.v-main { min-width: 0; }
.v-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-sub { color: var(--muted); font-size: 12.8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; display: flex; gap: 6px; align-items: center; }
.v-sub svg { width: 13px; height: 13px; flex: none; }
.v-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.v-price { font-weight: 700; font-size: 13.5px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.v-price.none { background: none; color: var(--muted); font-weight: 500; font-size: 12px; }
.v-time { color: var(--muted); font-size: 11.5px; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  background: var(--surface-2); color: var(--text-2); white-space: nowrap; border: 1px solid transparent;
}
.badge svg { width: 12px; height: 12px; }
.badge.s-new { background: var(--info-bg); color: var(--info); }
.badge.s-contacted { background: rgba(167,139,250,0.14); color: var(--violet); }
.badge.s-visited { background: var(--warn-bg); color: var(--warn); }
.badge.s-shortlist { background: var(--ok-bg); color: var(--ok); }
.badge.s-archived { background: var(--bad-bg); color: var(--bad); }
.badge.gold { background: var(--grad); color: #2a1a10; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.outline { background: transparent; border-color: var(--border-strong); }

.fab {
  position: absolute; right: 22px; bottom: 24px; width: 58px; height: 58px; border-radius: 19px; border: 0; cursor: pointer;
  background: var(--grad); color: #2a1a10; display: grid; place-items: center; box-shadow: var(--glow), var(--shadow);
  transition: transform 0.3s var(--ease-spring); z-index: 5;
}
.fab:hover { transform: translateY(-3px) rotate(90deg); }
.fab svg { width: 26px; height: 26px; }
.sidebar { position: relative; }

.empty {
  text-align: center; color: var(--muted); padding: 50px 24px;
}
.empty .ill {
  width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 26px; background: var(--grad-soft); display: grid; place-items: center; color: var(--gold);
  border: 1px solid var(--border); animation: pulse 3s ease-in-out infinite;
}
.empty .ill svg { width: 38px; height: 38px; }
.empty h3 { color: var(--text); font-family: var(--font-display); font-size: 24px; margin: 0 0 6px; font-weight: 600; }
.empty p { margin: 0 auto 18px; max-width: 360px; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ---------- Ana panel ---------- */
.main { position: relative; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.view { flex: 1; overflow-y: auto; overflow-x: hidden; animation: viewIn 0.45s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.wrap { max-width: 1180px; margin: 0 auto; padding: 28px 32px 80px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; margin: 0; line-height: 1.05; letter-spacing: 0.2px; }
.page-head p { color: var(--muted); margin: 6px 0 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 2.4px; font-size: 11px; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.topbar {
  display: none; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: var(--blur); position: sticky; top: 0; z-index: 10;
}
.topbar .t { font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Kartlar ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; backdrop-filter: var(--blur); transition: border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card.hover:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.card.glow { background: linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
[data-theme='light'] .card.glow { background: linear-gradient(#fffdf9, #fffdf9) padding-box, var(--grad) border-box; }
.card h3 { margin: 0 0 14px; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.card h3 svg { width: 18px; height: 18px; color: var(--gold); }
.card h3 .right { margin-left: auto; font-weight: 500; }
.card + .card { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.grid > .card + .card { margin-top: 0; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.tiny { font-size: 11.5px; }
.b { font-weight: 600; }
.mt { margin-top: 14px; }
.mt-s { margin-top: 8px; }
.hr { height: 1px; background: var(--border); margin: 16px 0; border: 0; }

.stat { padding: 18px 20px; animation: fadeUp 0.6s var(--ease) both; }
.stat .k { color: var(--muted); font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.stat .k svg { width: 16px; height: 16px; color: var(--gold); }
.stat .v { font-size: 30px; font-weight: 700; margin-top: 6px; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.stat .s { color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); cursor: pointer; font-weight: 550; font-size: 13.5px;
  transition: all 0.22s var(--ease); white-space: nowrap; user-select: none; text-decoration: none;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { background: var(--surface-3); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.primary { background: var(--grad); color: #2a1a10; border-color: transparent; box-shadow: var(--glow); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { color: var(--bad); border-color: rgba(244,123,138,0.3); background: var(--bad-bg); }
.btn.ok { color: var(--ok); border-color: rgba(95,224,162,0.3); background: var(--ok-bg); }
.btn.sm { height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 10px; }
.btn.sm svg { width: 15px; height: 15px; }
.btn.icon { width: 40px; padding: 0; }
.btn.sm.icon { width: 32px; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.act {
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 70px; padding: 11px 8px 9px; border-radius: 15px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2); cursor: pointer; font-size: 11.8px; font-weight: 500;
  transition: all 0.25s var(--ease); text-decoration: none;
}
.act svg { width: 20px; height: 20px; color: var(--gold); transition: transform 0.3s var(--ease-spring); }
.act:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); transform: translateY(-2px); }
.act:hover svg { transform: scale(1.15); }
.act.on { background: var(--grad-soft); border-color: rgba(228,194,142,0.35); color: var(--gold); }
.act.on svg { fill: currentColor; }
.act.disabled { opacity: 0.38; pointer-events: none; }
.act.wa svg { color: #4ade80; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span, .label { font-size: 12px; color: var(--muted); font-weight: 500; }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 40px; padding: 9px 12px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea, textarea.input { resize: vertical; min-height: 80px; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(228,194,142,0.5); box-shadow: 0 0 0 4px rgba(228,194,142,0.09); background: var(--surface-2);
}
select option { background: var(--surface-solid); color: var(--text); }
.input-group { position: relative; display: flex; align-items: center; }
.input-group input { padding-right: 40px; }
.input-group .suffix { position: absolute; right: 12px; color: var(--muted); font-size: 12.5px; pointer-events: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.f3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-size: 13.5px; }
.switch input { display: none; }
.switch .tr {
  width: 42px; height: 24px; border-radius: 20px; background: var(--surface-3); position: relative; transition: background 0.25s; flex: none;
  border: 1px solid var(--border);
}
.switch .tr::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform 0.3s var(--ease-spring); box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.switch input:checked + .tr { background: var(--gold-2); }
.switch input:checked + .tr::after { transform: translateX(18px); }

.segmented { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); gap: 2px; flex-wrap: wrap; }
.segmented button {
  border: 0; background: transparent; padding: 6px 11px; border-radius: 8px; font-size: 12.5px; font-weight: 550; color: var(--muted);
  cursor: pointer; transition: all 0.2s var(--ease); display: inline-flex; align-items: center; gap: 5px;
}
.segmented button svg { width: 14px; height: 14px; }
.segmented button:hover { color: var(--text); }
.segmented button.on { background: var(--surface-3); color: var(--text); }
.segmented button.on.st-included { background: var(--ok-bg); color: var(--ok); }
.segmented button.on.st-extra { background: var(--warn-bg); color: var(--warn); }
.segmented button.on.st-none { background: var(--bad-bg); color: var(--bad); }

/* ---------- Mekan detay ---------- */
.hero { position: relative; height: 300px; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 18s ease-out both; }
.hero .bg.ph { background: var(--grad-soft); }
@keyframes heroZoom { from { transform: scale(1.16); } to { transform: scale(1.03); } }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,12,0.25) 0%, rgba(8,8,12,0.05) 35%, var(--bg) 100%);
}
[data-theme='light'] .hero::after { background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(246,242,236,0.05) 40%, var(--bg) 100%); }
.hero-top { position: absolute; z-index: 2; top: 16px; left: 20px; right: 20px; display: flex; justify-content: space-between; gap: 8px; }
.hero-top .btn { background: rgba(10,10,14,0.45); border-color: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(12px); }
.venue-head { position: relative; z-index: 2; margin-top: -120px; padding: 0 32px; max-width: 1180px; margin-left: auto; margin-right: auto; }
.venue-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 46px; line-height: 1.02; margin: 8px 0 8px; letter-spacing: 0.2px; }
.venue-head .meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; color: var(--text-2); font-size: 13.5px; }
.venue-head .meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 14px; height: 14px; }
.stars svg.on { fill: currentColor; }
.stars.rate svg { width: 22px; height: 22px; cursor: pointer; transition: transform 0.2s var(--ease-spring); color: var(--muted); }
.stars.rate svg.on { color: var(--gold); }
.stars.rate svg:hover { transform: scale(1.25); }

.pipeline { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pipeline button {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted); padding: 7px 13px; border-radius: 10px; cursor: pointer;
  font-size: 12.5px; font-weight: 550; display: inline-flex; gap: 6px; align-items: center; transition: all 0.25s var(--ease);
}
.pipeline button svg { width: 14px; height: 14px; }
.pipeline button.done { color: var(--text-2); }
.pipeline button.on { background: var(--grad); color: #2a1a10; border-color: transparent; box-shadow: var(--glow); }
.pipeline button.arch.on { background: var(--bad-bg); color: var(--bad); box-shadow: none; border-color: rgba(244,123,138,0.4); }

.tabs {
  position: sticky; top: 0; z-index: 8; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 32px; margin-top: 18px; border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: var(--blur);
}
.tabs::-webkit-scrollbar { display: none; }
.tabs .in { display: flex; gap: 4px; max-width: 1116px; margin: 0 auto; width: 100%; }
.tab {
  position: relative; border: 0; background: transparent; color: var(--muted); padding: 9px 14px; border-radius: 10px; cursor: pointer;
  font-weight: 550; font-size: 13.5px; display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; transition: all 0.2s;
}
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--text); background: var(--surface); }
.tab.active { color: var(--text); background: var(--surface-2); }
.tab.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -11px; height: 2px; border-radius: 2px; background: var(--grad); }
.tab .n { font-size: 11px; color: var(--muted); background: var(--surface-2); border-radius: 8px; padding: 0 6px; }

.cost-card .big { font-size: 42px; font-weight: 750; letter-spacing: -1px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cost-card .pp { color: var(--text-2); margin-top: 4px; }
.breakdown { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.bd-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.bd-row:last-child { border-bottom: 0; }
.bd-row .l { display: flex; align-items: center; gap: 8px; color: var(--text-2); min-width: 0; }
.bd-row .l svg { width: 15px; height: 15px; flex: none; }
.bd-row .r { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bd-row.total { border-top: 1px solid var(--border-strong); border-bottom: 0; margin-top: 6px; padding-top: 12px; font-size: 15px; }
.bd-row.total .l { color: var(--text); font-weight: 600; }
.ic-ok { color: var(--ok); } .ic-warn { color: var(--warn); } .ic-bad { color: var(--bad); } .ic-info { color: var(--info); } .ic-gold { color: var(--gold); }

.warns { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.warn-line { display: flex; gap: 8px; align-items: flex-start; font-size: 12.8px; color: var(--warn); background: var(--warn-bg); padding: 8px 11px; border-radius: 10px; }
.warn-line svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.warn-line.info { color: var(--info); background: var(--info-bg); }

.savings { display: inline-flex; gap: 6px; align-items: center; color: var(--ok); background: var(--ok-bg); padding: 4px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 600; margin-top: 10px; }
.savings svg { width: 14px; height: 14px; }

.pc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pc-list li { display: flex; gap: 9px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; background: var(--surface); font-size: 13.5px; animation: fadeUp 0.35s var(--ease) both; }
.pc-list li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.pc-list li .x { margin-left: auto; opacity: 0; cursor: pointer; color: var(--muted); border: 0; background: none; padding: 0; }
.pc-list li:hover .x { opacity: 1; }
.pc-list li .x svg { margin: 0; }
.pc-add { display: flex; gap: 6px; margin-top: 8px; }
.pc-add input { flex: 1; }

.strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.strip .th { flex: none; width: 120px; height: 120px; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--surface-2); border: 1px solid var(--border); }
.strip .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.strip .th:hover img { transform: scale(1.08); }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.g-item {
  position: relative; aspect-ratio: 1; border-radius: 15px; overflow: hidden; background: var(--surface-2); cursor: zoom-in;
  border: 1px solid var(--border); animation: scaleIn 0.45s var(--ease) both;
}
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.4s; }
.g-item:hover img, .g-item:hover video { transform: scale(1.07); }
.g-item .ov {
  position: absolute; inset: auto 0 0 0; padding: 26px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff; font-size: 11.5px; display: flex; justify-content: space-between; align-items: flex-end; gap: 6px; opacity: 0.95;
}
.g-item .ov .cap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-item .type {
  position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; border-radius: 9px; background: rgba(0,0,0,0.55); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(6px);
}
.g-item .type svg { width: 15px; height: 15px; }
.g-item .star { position: absolute; top: 8px; right: 8px; color: #ffd27a; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); }
.g-item .star svg { width: 18px; height: 18px; fill: currentColor; }
.g-item.cover::after { content: 'Kapak'; position: absolute; top: 8px; right: 8px; font-size: 10.5px; font-weight: 700; background: var(--grad); color: #2a1a10; padding: 2px 8px; border-radius: 7px; }
.g-item.doc { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px; text-align: center; cursor: pointer; background: var(--grad-soft); }
.g-item.doc svg.big { width: 46px; height: 46px; color: var(--gold); }
.g-item.doc .nm { font-size: 12.5px; font-weight: 550; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.g-item.sel { outline: 3px solid var(--gold); outline-offset: -3px; }
.g-item .chk {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,0.35);
  display: grid; place-items: center; color: #2a1a10; transition: all 0.2s;
}
.g-item.sel .chk { background: var(--gold); border-color: var(--gold); }
.g-item .chk svg { width: 14px; height: 14px; opacity: 0; }
.g-item.sel .chk svg { opacity: 1; }
img.lazy { opacity: 0; }
img.loaded { opacity: 1; }

.dropzone {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--muted);
  background: var(--surface); cursor: pointer; transition: all 0.25s var(--ease); position: relative;
}
.dropzone svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 8px; }
.dropzone b { color: var(--text); }
.dropzone:hover, .dropzone.over { border-color: var(--gold); background: var(--grad-soft); color: var(--text-2); }
.dropzone.over { transform: scale(1.01); }
.progress { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.2s; border-radius: 6px; }

/* ---------- Fiyat paketleri ---------- */
.pkg { position: relative; }
.pkg.sel { border-color: rgba(228,194,142,0.45); box-shadow: var(--glow); }
.pkg .pkg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pkg .pkg-head input.name { flex: 1; font-size: 16px; font-weight: 600; background: transparent; border: 0; border-bottom: 1px dashed transparent; border-radius: 0; padding: 4px 0; min-height: 0; outline: none; }
.pkg .pkg-head input.name:focus { border-bottom-color: var(--gold); box-shadow: none; }
.pkg .price-preview { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.pkg .price-preview b { font-size: 15px; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chips .chip { padding: 4px 10px; font-size: 12px; }

.feat-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--border); }
.feat-row:last-child { border-bottom: 0; }
.feat-name { display: flex; align-items: center; gap: 10px; font-weight: 550; }
.feat-name .fi { width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--gold); flex: none; }
.feat-name .fi svg { width: 17px; height: 17px; }
.feat-name .want { cursor: pointer; color: var(--muted); border: 0; background: none; padding: 2px; display: grid; }
.feat-name .want svg { width: 16px; height: 16px; }
.feat-name .want.on { color: var(--rose); }
.feat-name .want.on svg { fill: currentColor; }
.feat-extra { grid-column: 1 / -1; display: grid; grid-template-columns: 160px 150px 1fr; gap: 8px; animation: fadeUp 0.3s var(--ease) both; }
.feat-extra.no-price { grid-template-columns: 1fr; }

/* ---------- Notlar ---------- */
.note-compose textarea { min-height: 90px; }
.timeline { position: relative; display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.timeline::before { content: ''; position: absolute; left: 17px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold-2), transparent); opacity: 0.4; }
.t-item { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 12px; animation: fadeUp 0.4s var(--ease) both; }
.t-dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-solid-2); border: 1px solid var(--border-strong); color: var(--gold); z-index: 1; }
.t-dot svg { width: 16px; height: 16px; }
.t-body { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 11px 14px; }
.t-body .top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.t-body .txt { white-space: pre-wrap; word-break: break-word; }
.t-body .ops { opacity: 0; transition: opacity 0.2s; display: flex; gap: 2px; }
.t-item:hover .ops { opacity: 1; }
.t-body .ops button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px; }
.t-body .ops button:hover { color: var(--text); }
.t-body .ops svg { width: 14px; height: 14px; }

.q-item { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.q-item:last-child { border-bottom: 0; }
.q-num { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); font-size: 11.5px; font-weight: 700; color: var(--muted); }
.q-item.answered .q-num { background: var(--ok-bg); color: var(--ok); }
.q-item .q { font-weight: 550; font-size: 13.5px; margin-bottom: 6px; }
.q-item input { min-height: 36px; padding: 7px 11px; }

.rating-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.rating-row:last-child { border-bottom: 0; }
.score-ring { --p: 0; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--surface-3) 0); position: relative; }
.score-ring::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface-solid); }
.score-ring b { position: relative; font-size: 20px; }

/* ---------- Karşılaştırma ---------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: max-content; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: 13.5px; }
.cmp td { min-width: 220px; max-width: 280px; }
.cmp th { position: sticky; left: 0; z-index: 2; background: var(--surface-solid); color: var(--muted); font-weight: 550; font-size: 12.5px; width: 190px; min-width: 150px; white-space: nowrap; }
.cmp thead td { position: sticky; top: 0; background: var(--surface-solid); z-index: 1; }
.cmp thead th { z-index: 3; }
.cmp tr.sec th, .cmp tr.sec td { background: var(--surface-solid-2); color: var(--gold); text-transform: uppercase; letter-spacing: 1.6px; font-size: 11px; font-weight: 700; padding: 9px 16px; }
.cmp tr:hover td { background: var(--surface); }
.cmp .vh { display: flex; flex-direction: column; gap: 10px; }
.cmp .vh .img { height: 120px; border-radius: 12px; overflow: hidden; background: var(--grad-soft); cursor: pointer; }
.cmp .vh .img img { width: 100%; height: 100%; object-fit: cover; }
.cmp .vh .nm { font-weight: 650; font-size: 15px; cursor: pointer; }
.cmp .vh .nm:hover { color: var(--gold); }
.cmp .money { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; }
.cmp .best { color: var(--ok); }
.cmp .worst { color: var(--bad); }
.cmp td.win { background: linear-gradient(180deg, rgba(95,224,162,0.08), transparent) !important; }
.cmp .tick { display: inline-flex; align-items: center; gap: 6px; font-size: 12.8px; }
.cmp .tick svg { width: 15px; height: 15px; }
.cmp .plates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.cmp .plates .th { aspect-ratio: 1; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--surface-2); }
.cmp .plates .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.cmp .plates .th:hover img { transform: scale(1.08); }
.cmp ul { margin: 0; padding-left: 16px; }
.cmp select { min-height: 34px; padding: 5px 9px; font-size: 12.5px; }

.plate-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.plate-col { display: flex; flex-direction: column; gap: 10px; }
.plate-col .hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: sticky; top: 0; }
.plate-col .hd b { font-size: 15px; }
.plate-col .ph { border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--surface-2); border: 1px solid var(--border); animation: scaleIn 0.4s var(--ease) both; }
.plate-col .ph img { width: 100%; height: auto; transition: transform 0.5s var(--ease); }
.plate-col .ph:hover img { transform: scale(1.04); }
.plate-col .cap { font-size: 12px; color: var(--muted); padding: 6px 2px 0; }

.rank-item { display: grid; grid-template-columns: 34px 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-radius: 12px; cursor: pointer; transition: background 0.2s; animation: fadeUp 0.45s var(--ease) both; }
.rank-item:hover { background: var(--surface-2); }
.rank-no { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--surface-2); color: var(--muted); }
.rank-item:nth-child(1) .rank-no { background: var(--grad); color: #2a1a10; }
.rank-item .avatar { width: 48px; height: 48px; border-radius: 13px; font-size: 18px; }
.bar { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 6px; transform-origin: left; animation: grow 1s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- Modal / Toast / Lightbox ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,5,8,0.6); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 20px; animation: fadeIn 0.25s both;
}
.modal {
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; background: var(--surface-solid); border: 1px solid var(--border-strong);
  border-radius: 22px; padding: 24px; box-shadow: var(--shadow-lg); animation: scaleIn 0.35s var(--ease) both;
}
.modal.wide { max-width: 760px; }
.modal h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.modal .desc { color: var(--muted); margin: 0 0 18px; }
.modal .foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

.toasts { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: var(--surface-solid-2); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg); font-size: 13.5px; animation: toastIn 0.4s var(--ease-spring) both; pointer-events: auto;
}
.toast svg { width: 18px; height: 18px; }
.toast.out { animation: toastOut 0.3s var(--ease) both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.97); } }

.save-ind { position: fixed; top: 14px; right: 18px; z-index: 60; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); padding: 6px 11px; border-radius: 10px; background: var(--surface-solid); border: 1px solid var(--border); opacity: 0; transform: translateY(-6px); transition: all 0.3s var(--ease); pointer-events: none; }
.save-ind.show { opacity: 1; transform: none; }
.save-ind i { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }
.save-ind.ok i { background: var(--ok); }

.lb { position: fixed; inset: 0; z-index: 150; background: rgba(4,4,6,0.94); display: flex; flex-direction: column; animation: fadeIn 0.25s both; color: #fff; }
.lb-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; }
.lb-top .t { flex: 1; min-width: 0; font-size: 13.5px; }
.lb-top .t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-top .t span { color: rgba(255,255,255,0.55); font-size: 12px; }
.lb .btn { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: #fff; }
.lb .btn:hover { background: rgba(255,255,255,0.16); }
.lb-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 70px; touch-action: pan-y; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; animation: scaleIn 0.35s var(--ease) both; user-select: none; -webkit-user-drag: none; }
.lb-stage iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; background: #fff; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: all 0.2s; }
.lb-nav:hover { background: rgba(255,255,255,0.18); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-bottom { padding: 10px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.lb-edit { display: flex; gap: 8px; max-width: 760px; width: 100%; margin: 0 auto; }
.lb-edit input, .lb-edit select { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: #fff; border-radius: 10px; padding: 8px 12px; outline: none; min-height: 38px; }
.lb-edit input { flex: 1; min-width: 0; }
.lb-edit select option { background: #1a1a22; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; justify-content: safe center; padding: 2px; }
.lb-thumbs .th { flex: none; width: 56px; height: 56px; border-radius: 9px; overflow: hidden; opacity: 0.45; cursor: pointer; transition: all 0.2s; border: 2px solid transparent; background: rgba(255,255,255,0.08); display: grid; place-items: center; }
.lb-thumbs .th svg { width: 20px; height: 20px; }
.lb-thumbs .th.on { opacity: 1; border-color: var(--gold); }
.lb-thumbs .th img { width: 100%; height: 100%; object-fit: cover; }

/* Giriş */
.login { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.login .box { width: 100%; max-width: 400px; text-align: center; animation: scaleIn 0.5s var(--ease) both; }
.login .logo { width: 70px; height: 70px; border-radius: 22px; margin: 0 auto 18px; }
.login .logo svg { width: 36px; height: 36px; }
.login h1 { font-family: var(--font-display); font-size: 40px; font-weight: 600; margin: 0 0 4px; }
.login p { color: var(--muted); margin: 0 0 24px; }
.login form { display: flex; flex-direction: column; gap: 10px; }
.login input { height: 48px; text-align: center; font-size: 16px; }
.login .err { color: var(--bad); font-size: 13px; min-height: 18px; }

.bottom-nav { display: none; }
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.kbd { font-size: 11px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--border-strong); color: var(--muted); }
.countdown { display: flex; gap: 10px; }
.countdown div { text-align: center; min-width: 64px; padding: 10px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.countdown b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.hint { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 13px; background: var(--info-bg); color: var(--text-2); font-size: 13px; }
.hint svg { width: 18px; height: 18px; color: var(--info); flex: none; margin-top: 1px; }
.hint code, .code { font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
pre.code { display: block; padding: 12px; white-space: pre; overflow-x: auto; line-height: 1.6; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1280px) { :root { --side-w: 360px; } }
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body { font-size: 15px; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .sidebar, .main { grid-column: 1; grid-row: 1; height: 100dvh; min-width: 0; }
  .venue-head h2 { overflow-wrap: anywhere; }
  .sidebar { border-right: 0; padding-bottom: 72px; background: transparent; }
  .main { background: var(--bg); transform: translateX(100%); transition: transform 0.45s var(--ease); z-index: 5; padding-bottom: 72px; }
  .app.show-main .main { transform: none; }
  .app.show-main .sidebar { visibility: hidden; transition: visibility 0s 0.45s; }
  .topbar { display: flex; }
  .wrap { padding: 18px 16px 40px; }
  .page-head h2 { font-size: 32px; }
  .venue-head { padding: 0 16px; margin-top: -100px; }
  .venue-head h2 { font-size: 36px; }
  .hero { height: 240px; }
  .tabs { padding: 8px 12px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .span2 { grid-column: auto; }
  .form-grid, .f3 { grid-template-columns: minmax(0, 1fr); }
  .feat-row { grid-template-columns: 1fr; }
  .feat-extra { grid-template-columns: 1fr 1fr; }
  .feat-extra .note { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .g-item { border-radius: 10px; }
  .fab { bottom: 92px; right: 18px; }
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: 70px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: var(--blur); border-top: 1px solid var(--border);
  }
  .bottom-nav button {
    flex: 1; border: 0; background: none; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: 10.5px; font-weight: 550; cursor: pointer; position: relative; transition: color 0.2s;
  }
  .bottom-nav button svg { width: 22px; height: 22px; transition: transform 0.3s var(--ease-spring); }
  .bottom-nav button.active { color: var(--gold); }
  .bottom-nav button.active svg { transform: translateY(-2px) scale(1.08); }
  .bottom-nav .dot { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 16px; height: 16px; border-radius: 8px; background: var(--rose); color: #1b0f14; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
  .lb-stage { padding: 0 6px; }
  .lb-nav { display: none; }
  .modal { border-radius: 22px 22px 0 0; max-height: 92vh; align-self: end; animation: sheetIn 0.4s var(--ease) both; }
  .overlay { padding: 0; place-items: end stretch; }
  .save-ind { top: auto; bottom: 84px; right: 12px; }
  .toasts { bottom: 90px; }
  .cmp td { min-width: 190px; }
  .cmp th { width: 120px; min-width: 110px; white-space: normal; }
  .countdown div { min-width: 0; flex: 1; }
}
@keyframes sheetIn { from { transform: translateY(100%); } }
@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .actions { display: grid; grid-template-columns: repeat(4, 1fr); }
  .act { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
