:root {
  --primary: #5b3df5;
  --primary-600: #4a2de0;
  --primary-50: #f0edff;
  --accent: #ff5a3c;
  --accent-600: #e9452a;
  --ink: #1d1b2e;
  --ink-2: #4b4862;
  --muted: #7a7791;
  --line: #e7e5f0;
  --bg: #f7f6fb;
  --card: #fff;
  --success: #12a150;
  --success-50: #e8f8ef;
  --warn: #c98100;
  --warn-50: #fff6e0;
  --danger: #d6293e;
  --danger-50: #fdecee;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 27, 46, .04), 0 8px 24px rgba(29, 27, 46, .06);
  --shadow-lg: 0 20px 50px rgba(29, 27, 46, .14);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 15px;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; padding-bottom: 48px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: .04em; }
.inline { display: inline; }
.text-danger { color: var(--danger) !important; }
.text-success { color: var(--success); }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[hidden] { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important;
  transition: background .15s, border-color .15s, transform .05s, box-shadow .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255, 90, 60, .3); }
.btn-accent:hover { background: var(--accent-600); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { filter: brightness(.95); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: rgba(29, 27, 46, .06); }
.btn-light { background: #fff; color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger-outline { border-color: #f3c1c7; color: var(--danger); background: #fff; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.center-row { justify-content: center; margin-top: 12px; }

/* ---- Header ---- */
.topbar { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; color: var(--ink); text-decoration: none !important; letter-spacing: -.02em; }
.logo b { color: var(--primary); font-weight: 800; }
.logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 14px; font-weight: 800; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav > a:not(.btn) { color: var(--ink-2); font-weight: 600; }
.nav > a.active { color: var(--primary); }
.nav .link-btn { color: var(--ink-2); font-weight: 600; }

/* ---- Alerts & tags ---- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 500; border: 1px solid transparent; }
.alert-success { background: var(--success-50); color: #0b6b36; border-color: #c4ecd5; }
.alert-error { background: var(--danger-50); color: #9e1a2b; border-color: #f6c9cf; }
.alert-warn { background: var(--warn-50); color: #7a4f00; border-color: #f5e0a8; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #efeef5; color: var(--ink-2); vertical-align: middle; }
.tag-success { background: var(--success-50); color: var(--success); }
.tag-warn { background: var(--warn-50); color: var(--warn); }
.tag-danger { background: var(--danger-50); color: var(--danger); }
.tag-primary { background: var(--primary-50); color: var(--primary); }
.tag-accent { background: #ffece8; color: var(--accent-600); }
.tag-dark { background: rgba(29, 27, 46, .85); color: #fff; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.eyebrow.light { color: rgba(255, 255, 255, .85); }

/* ---- Hero ---- */
.hero { background: radial-gradient(1200px 400px at 10% -10%, #8b6cff 0%, transparent 60%), radial-gradient(900px 400px at 100% 0%, #ff8a6b 0%, transparent 55%), linear-gradient(135deg, #3b22c9, #5b3df5 50%, #7a3df5); color: #fff; padding: 64px 0 72px; margin-bottom: 28px; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); max-width: 760px; }
.hero .hl { background: linear-gradient(90deg, #ffd2c7, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 18px; opacity: .9; margin: 0 0 28px; }
.search { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 999px; max-width: 760px; box-shadow: var(--shadow-lg); }
.search input, .search select { border: 0; background: transparent; font: inherit; padding: 10px 14px; color: var(--ink); outline: none; }
.search input { flex: 1; min-width: 0; }
.search select { border-left: 1px solid var(--line); max-width: 170px; }

/* ---- Slider ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.theme-violet { --t1: #3b22c9; --t2: #7a3df5; --t3: #ff8a6b; }
.theme-coral { --t1: #e9452a; --t2: #ff7a45; --t3: #ffd166; }
.theme-ocean { --t1: #0b3d91; --t2: #0f8bd6; --t3: #34e0c4; }
.theme-night { --t1: #0e0c1c; --t2: #2a2257; --t3: #5b3df5; }
.theme-forest { --t1: #0b4d3a; --t2: #12a170; --t3: #b6f09c; }
.slider { position: relative; height: clamp(440px, 64vh, 640px); overflow: hidden; background: var(--ink); color: #fff; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; background: linear-gradient(120deg, var(--t1), var(--t2)); }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 12, 28, .82) 0%, rgba(14, 12, 28, .45) 50%, rgba(14, 12, 28, .1) 100%), linear-gradient(0deg, rgba(14, 12, 28, .55), transparent 45%); }
.slide-art { position: absolute; inset: 0; overflow: hidden; }
.slide-art i { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: float 14s ease-in-out infinite alternate; }
.slide-art i:nth-child(1) { width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; right: -8%; top: -30%; background: radial-gradient(circle at 30% 30%, var(--t3), transparent 65%); }
.slide-art i:nth-child(2) { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; right: 18%; bottom: -25%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%); animation-duration: 18s; }
.slide-art i:nth-child(3) { width: 220px; height: 220px; right: 8%; bottom: 18%; border: 2px solid rgba(255, 255, 255, .35); background: none; filter: none; animation-duration: 10s; }
@keyframes float { from { transform: translate(0, 0) scale(1); } to { transform: translate(-30px, 20px) scale(1.06); } }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding-bottom: 56px; }
@media (min-width: 961px) { .slider .slide-content { padding-left: 84px; padding-right: 84px; } }
.slide-content h2 { font-size: clamp(32px, 5.4vw, 60px); font-weight: 800; max-width: 760px; margin: 0; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.slide-content p { font-size: clamp(16px, 1.6vw, 19px); max-width: 600px; margin: 0; opacity: .92; }
.slide-content .btn { margin-top: 8px; }
.slide-meta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); font-size: 13px; font-weight: 700; }
.slide .slide-content > * { opacity: 0; transform: translateY(18px); }
.slide.is-active .slide-content > * { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.slide.is-active .slide-content > :nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide-content > :nth-child(3) { transition-delay: .24s; }
.slide.is-active .slide-content > :nth-child(4) { transition-delay: .36s; }
.slider-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.slider-arrow:hover { background: rgba(255, 255, 255, .28); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
.slider-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 74px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 34px; height: 5px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer; overflow: hidden; }
.slider-dots button span { display: block; height: 100%; width: 0; background: #fff; border-radius: 999px; }
.slider-dots button.is-active span { width: 100%; transition: width var(--slide-ms, 6000ms) linear; }
.slider.is-paused .slider-dots button.is-active span { transition: none; }
.search-wrap { position: relative; z-index: 5; }
.search-wrap.overlap { margin-top: -38px; margin-bottom: 28px; }
.search-wrap.plain { margin: 28px auto; }
.search-card { margin: 0 auto; max-width: 880px; }

/* ---- Banners ---- */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 48px; }
.banner { position: relative; overflow: hidden; border-radius: 24px; min-height: 280px; color: #fff; text-decoration: none !important; display: flex; align-items: flex-end; background: linear-gradient(135deg, var(--t1), var(--t2)); box-shadow: var(--shadow); isolation: isolate; }
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.banner .slide-art { z-index: -2; }
.banner .slide-art i:nth-child(1) { width: 380px; height: 380px; right: -100px; top: -140px; }
.banner .slide-art i:nth-child(2) { width: 240px; height: 240px; right: 30%; bottom: -120px; }
.banner .slide-art i:nth-child(3) { width: 120px; height: 120px; right: 10%; bottom: 20%; }
.banner-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 12, 28, .78), rgba(14, 12, 28, .1) 70%); }
.banner-content { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.banner-content h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 0; font-weight: 800; }
.banner-content p { margin: 0 0 6px; opacity: .9; max-width: 440px; }
.banner:hover .banner-bg { transform: scale(1.05); }
.banner:hover { box-shadow: var(--shadow-lg); }
.banner .btn-light { transition: transform .2s; }
.banner:hover .btn-light { transform: translateX(4px); }

/* Panel: ana sayfa öğeleri */
.hi-list { display: grid; gap: 10px; }
.hi-row { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.hi-thumb { width: 120px; aspect-ratio: 16 / 7; border-radius: 10px; overflow: hidden; flex: none; background: linear-gradient(120deg, var(--t1, #5b3df5), var(--t2, #9b5cf6)); }
.hi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hi-info { flex: 1; min-width: 0; }
.hi-row .actions { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.hi-row.row-muted { opacity: .55; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide-bg, .slide-content > *, .slide-art i, .slider-dots span { transition: none !important; animation: none !important; }
}

/* ---- Chips & grid ---- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none !important; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 16px; gap: 4px 12px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.ecard { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: inherit; text-decoration: none !important; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.ecard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ecard-cover { position: relative; aspect-ratio: 16 / 9; background: #ddd; }
.ecard-cover .cover-img, .ecard-cover .cover-ph { width: 100%; height: 100%; object-fit: cover; }
.ecard-cover .tag { position: absolute; right: 12px; top: 12px; }
.datebadge { position: absolute; left: 12px; bottom: -18px; background: #fff; border-radius: 12px; padding: 6px 10px; text-align: center; box-shadow: var(--shadow); min-width: 54px; line-height: 1.1; }
.datebadge b { display: block; font-size: 20px; }
.datebadge span { font-size: 11px; font-weight: 700; color: var(--accent); }
.ecard-body { padding: 26px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ecard-body h3 { margin: 0; font-size: 17px; }
.ecard-body p { margin: 0; font-size: 14px; }
.meta { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--ink-2); }

/* Kapak yer tutucuları */
.cover-ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255, 255, 255, .95); font-weight: 800; font-size: 22px; letter-spacing: -.01em; background: linear-gradient(135deg, #5b3df5, #9b5cf6); }
.cover-ph span { padding: 8px 18px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 999px; }
.cat-fuar { background: linear-gradient(135deg, #ff5a3c, #ffb03c); }
.cat-zirve { background: linear-gradient(135deg, #1d1b2e, #5b3df5); }
.cat-konferans { background: linear-gradient(135deg, #0f6fff, #22c1c3); }
.cat-seminer { background: linear-gradient(135deg, #12a150, #7bd389); }
.cat-egitim { background: linear-gradient(135deg, #0ea5a4, #3b82f6); }
.cat-lansman { background: linear-gradient(135deg, #e11d74, #ff8a6b); }
.cat-networking { background: linear-gradient(135deg, #6d28d9, #ec4899); }
.cat-konser { background: linear-gradient(135deg, #111827, #e11d48); }
.cat-spor { background: linear-gradient(135deg, #16a34a, #0ea5e9); }

/* ---- Empty / CTA ---- */
.empty { text-align: center; padding: 48px 16px; }
.empty-icon { font-size: 44px; margin-bottom: 8px; }
.small-empty { padding: 28px 16px; }
.center-page { padding-top: 40px; }
.cta-band { margin-top: 48px; background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background-image: radial-gradient(600px 200px at 100% 0%, rgba(255, 90, 60, .45), transparent 60%), radial-gradient(600px 200px at 0% 100%, rgba(91, 61, 245, .6), transparent 60%); }
.cta-band p { opacity: .8; margin: 0; max-width: 620px; }

/* ---- Event page ---- */
.event-hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.event-hero-bg { position: absolute; inset: 0; filter: blur(40px) brightness(.45) saturate(1.3); transform: scale(1.2); }
.event-hero-bg > * { width: 100%; height: 100%; object-fit: cover; }
.event-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; padding-top: 36px; padding-bottom: 36px; align-items: center; }
.event-cover { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.event-cover .cover-img, .event-cover .cover-ph { width: 100%; height: 100%; object-fit: cover; }
.event-head h1 { margin: 8px 0 10px; font-size: clamp(28px, 4vw, 42px); }
.lead { font-size: 17px; opacity: .9; margin: 0 0 18px; }
.event-facts { display: grid; gap: 12px; }
.event-facts > div { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.ico { font-size: 20px; line-height: 1.2; }
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; margin-top: 32px; align-items: start; }
.event-main h2 { margin-top: 28px; }
.event-main h2:first-child { margin-top: 0; }
.prose { font-size: 16px; color: var(--ink-2); }
.prose p { margin: 0 0 1em; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; border: 1px solid rgba(231, 229, 240, .6); }
.location { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.location p { margin: 2px 0 0; }
.map-frame { border-radius: var(--radius); overflow: hidden; height: 280px; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.organizer { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.share { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.event-side { position: sticky; top: 84px; }
.reg-card { padding: 22px; border: 2px solid var(--primary-50); }
.reg-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.reg-head h2 { margin: 0; }
.closed { background: #f3f2f8; border-radius: var(--radius-sm); padding: 18px; text-align: center; margin-top: 12px; }
.mobile-cta { display: none; }

/* ---- Forms ---- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
input, select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px 12px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 61, 245, .12); }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--primary); flex: none; margin-top: 2px; }
input[type=file] { padding: 8px; }
.form label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.form label.check.small { font-size: 12.5px; color: var(--muted); }
fieldset { border: 0; margin: 0 0 18px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
legend { font-weight: 800; font-size: 16px; color: var(--ink); padding: 0; margin-bottom: 4px; float: left; width: 100%; }
legend + * { clear: both; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.form-side { position: sticky; top: 84px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.std-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.inline-field span { font-size: 13px; }
.questions { display: flex; flex-direction: column; gap: 10px; }
.q-row { display: grid; grid-template-columns: minmax(0, 2fr) 140px minmax(0, 1.4fr) 130px 36px; gap: 8px; align-items: center; background: #faf9fd; border: 1px dashed var(--line); padding: 8px; border-radius: 12px; }
.q-row .q-options[hidden] { display: block !important; visibility: hidden; }
.switch { flex-direction: row !important; align-items: center; gap: 10px !important; cursor: pointer; font-weight: 600; color: var(--ink) !important; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { width: 42px; height: 24px; border-radius: 999px; background: #d9d7e5; position: relative; flex: none; transition: background .2s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 4px rgba(91, 61, 245, .2); }
.cover-preview { aspect-ratio: 16 / 9; border-radius: 12px; border: 2px dashed var(--line); display: grid; place-items: center; overflow: hidden; text-align: center; padding: 8px; background: #faf9fd; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* ---- Auth ---- */
.auth-wrap { display: flex; gap: 48px; align-items: center; justify-content: center; padding-top: 48px; flex-wrap: wrap; }
.auth-card { width: 100%; max-width: 440px; padding: 28px; }
.auth-side { max-width: 420px; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; font-weight: 600; color: var(--ink-2); }
.checklist li::before { content: '✓'; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--success-50); color: var(--success); margin-right: 10px; font-size: 13px; }

/* ---- Ticket ---- */
.success-banner { display: flex; gap: 16px; align-items: center; margin: 28px 0 20px; }
.success-banner h1 { margin: 0 0 4px; }
.success-banner p { margin: 0; }
.big-check { width: 56px; height: 56px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 800; flex: none; box-shadow: 0 8px 20px rgba(18, 161, 80, .3); }
.ticket { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; margin-top: 24px; }
.ticket-top { background: linear-gradient(135deg, var(--primary), #8b3df5 60%, var(--accent)); color: #fff; padding: 26px 28px; }
.ticket-top h2 { font-size: 26px; margin: 6px 0 12px; }
.ticket-top p { margin: 4px 0; opacity: .95; }
.ticket-cut { height: 0; border-top: 2px dashed var(--line); margin: 0 18px; position: relative; }
.ticket-cut::before, .ticket-cut::after { content: ''; position: absolute; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.ticket-cut::before { left: -32px; }
.ticket-cut::after { right: -32px; }
.ticket-body { display: flex; gap: 24px; padding: 24px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ticket-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; flex: 1; min-width: 240px; }
.ticket-info small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.ticket-info b { font-size: 16px; }
.ticket-qr img { width: 200px; height: 200px; border-radius: 12px; border: 1px solid var(--line); padding: 8px; background: #fff; }
.ticket-online { padding: 14px 28px; background: var(--primary-50); font-size: 14px; word-break: break-all; }
.ticket.is-cancelled { opacity: .6; filter: grayscale(.8); }
.ticket-actions { display: flex; gap: 10px; justify-content: center; margin: 22px 0 14px; flex-wrap: wrap; }

/* ---- Panel ---- */
.panel { padding-top: 28px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 6px 0 18px; flex-wrap: wrap; }
.panel-head h1 { margin-bottom: 4px; }
.panel-head p { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.panel-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.panel-tabs a { padding: 10px 14px; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none !important; }
.panel-tabs a.active { color: var(--primary); border-color: var(--primary); }
.panel-tabs .role-chip { margin: auto 0 auto auto; flex: none; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat small { color: var(--muted); font-weight: 600; }
.stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.stat b .muted { font-size: 18px; font-weight: 600; }
.bar { height: 6px; background: #efeef5; border-radius: 999px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 999px; }
.sparkbars { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 6px; }
.sparkbars i { flex: 1; max-width: 18px; background: var(--primary); opacity: .8; border-radius: 4px 4px 0 0; }
.share-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.share-box .mono { word-break: break-all; font-size: 14px; }
.table-wrap { overflow-x: auto; padding: 0; }
.card.table-wrap { padding: 4px 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid #f1f0f6; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fbfaff; }
.table .num { text-align: right; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions > * { margin-left: 4px; }
.row-title { font-weight: 700; color: var(--ink); }
.row-muted td { opacity: .55; }
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.list-toolbar h2 { margin-bottom: 2px; }
.list-toolbar p { margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.filters input { max-width: 300px; }
.filters select { max-width: 200px; }
.filters input, .filters select { padding: 7px 12px; }
.manual-add { flex-direction: row; flex-wrap: wrap; background: #faf9fd; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.manual-add input { flex: 1; min-width: 150px; padding: 7px 12px; }
.answers summary { cursor: pointer; color: var(--primary); }
/* Onaylı kayıt: bekleyen başvurular */
.pending-alert { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bulk-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--warn-50); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.bulk-bar .check { margin-right: auto; }
.reject-row td { background: #fff6f6; }
.reject-form { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.reject-form textarea { width: 100%; }
.reject-form .btn { align-self: flex-start; }
.menu { position: relative; display: inline-block; }
.menu-list { display: none; position: absolute; right: 0; top: 100%; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 20; min-width: 180px; text-align: left; }
.menu.open .menu-list { display: block; }
.menu-list button { display: block; width: 100%; background: none; border: 0; font: inherit; text-align: left; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.menu-list button:hover, .menu-list .menu-link:hover { background: #f4f3f9; }
.menu-list .menu-link { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.event-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 16px; margin: 8px 0 12px; }
.event-checks .check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.member-head { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.member-info { flex: 1; min-width: 200px; }
.member-events { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.member .staff-form { margin-top: 10px; }
.my-tickets { display: grid; gap: 10px; }
.my-ticket { display: flex; align-items: center; gap: 14px; margin: 0; color: inherit; text-decoration: none !important; padding: 14px 16px; transition: box-shadow .2s; }
.my-ticket:hover { box-shadow: var(--shadow-lg); }
.my-ticket-info { flex: 1; min-width: 0; }
.datebadge.static { position: static; box-shadow: none; background: var(--primary-50); }
.event-subnav { display: flex; gap: 6px; margin: -4px 0 18px; flex-wrap: wrap; }
.event-subnav a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none !important; }
.event-subnav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.big-check.warn { background: var(--warn); box-shadow: 0 8px 20px rgba(201, 129, 0, .3); font-size: 24px; }
.text-warn { color: var(--warn); }
.ticket.is-waiting .ticket-top { background: linear-gradient(135deg, #8a6a1f, #c98100); }
.role-select { padding: 6px 10px; font-size: 13px; min-width: 170px; }
.team-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.team-card h3 { margin: 0 0 2px; font-size: 16px; }
.team-card p { margin: 0; }
.danger-zone h3 { font-size: 15px; }
.danger-zone .form { margin-top: 14px; max-width: 460px; }
.narrow-card { max-width: 520px; }

/* ---- Check-in ---- */
.checkin-count { background: #fff; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; }
.checkin-count b { font-size: 20px; color: var(--success); }
.checkin-result { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); margin-bottom: 16px; transition: background .2s; color: #fff; }
.checkin-result.idle { background: var(--ink); }
.checkin-result.ok { background: var(--success); }
.checkin-result.warn { background: var(--warn); }
.checkin-result.bad { background: var(--danger); }
.res-icon { font-size: 40px; }
.res-text b { display: block; font-size: 22px; }
.res-text span { opacity: .9; }
#reader { width: 100%; max-width: 420px; margin: 0 auto; border-radius: 12px; overflow: hidden; }
#reader video { border-radius: 12px; }
.manual-checkin { display: flex; gap: 8px; }
.manual-checkin input { text-transform: uppercase; font-family: ui-monospace, Consolas, monospace; letter-spacing: .1em; }
.checkin-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checkin-log li { background: #fff; border-radius: 12px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 12px; border-left: 4px solid var(--danger); box-shadow: var(--shadow); flex-wrap: wrap; }
.checkin-log li.ok { border-color: var(--success); }
.checkin-log li.muted { border-color: var(--line); }
.checkin-log li small { color: var(--muted); }

.checkin-count small { display: block; font-size: 11px; color: var(--muted); text-align: center; margin-top: -2px; }
.res-text .res-name { display: block; font-size: 26px; font-weight: 800; opacity: 1; margin-top: 2px; }
.res-text span { display: block; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); margin: 0 2px 0 6px; animation: pulse 1.6s infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 161, 80, .6); } 70% { box-shadow: 0 0 0 8px rgba(18, 161, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 161, 80, 0); } }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #ebe9f3; padding: 4px; border-radius: 14px; margin-bottom: 14px; }
.seg button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 14px; padding: 12px 6px; border-radius: 10px; cursor: pointer; color: var(--ink-2); }
.seg button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.search-results { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.search-results li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.search-results li.muted { border: 0; padding: 4px; }
.search-results small { display: block; color: var(--muted); }
#search-input { font-size: 17px; padding: 14px; }
.staff-mode .nav, .staff-mode .footer { display: none; }
.staff-mode .logo { pointer-events: none; }
.pin-input { font-size: 28px; letter-spacing: .4em; text-align: center; font-family: ui-monospace, Consolas, monospace; }

/* Panel: kapı görevlileri kartı */
.staff-card { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; }
.staff-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.staff-info h3, .staff-info p { margin: 0; }
.share-box.inner { box-shadow: none; background: #faf9fd; border: 1px solid var(--line); border-radius: 12px; margin: 0; flex-wrap: wrap; justify-content: flex-start; }
.share-box.inner .mono { flex: 1; min-width: 200px; }
.staff-form { display: flex; gap: 8px; flex-wrap: wrap; }
.staff-form input { max-width: 240px; padding: 7px 12px; }
.staff-qr { text-align: center; width: 170px; flex: none; }
.staff-qr img { border-radius: 12px; border: 1px solid var(--line); margin: 0 auto 6px; }

/* Hızlı kayıt sayfası (afiş QR'ından) */
.quick-wrap { max-width: 560px; padding-top: 20px; }
.quick-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.quick-head h1 { font-size: 24px; margin: 4px 0 6px; }
.quick-head p { margin: 0; font-size: 14px; }
.quick-cover { width: 110px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; flex: none; box-shadow: var(--shadow); }
.quick-cover .cover-img, .quick-cover .cover-ph { width: 100%; height: 100%; object-fit: cover; }
.quick-cover .cover-ph span { font-size: 12px; padding: 4px 8px; border-width: 1px; }

/* Kayıt afişi (A4) */
.poster { width: 210mm; min-height: 297mm; margin: 0 auto 40px; background: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; border-radius: 6px; }
.poster-top { width: 100%; padding: 22mm 18mm 14mm; color: #fff; background: radial-gradient(500px 240px at 90% 0%, rgba(255, 138, 107, .7), transparent 60%), linear-gradient(135deg, #3b22c9, #5b3df5 55%, #7a3df5); }
.poster-cat { display: inline-block; padding: 6px 16px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 999px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.poster-top h1 { font-size: 46px; margin: 18px 0 14px; line-height: 1.1; }
.poster-date, .poster-place { font-size: 20px; margin: 4px 0; opacity: .95; }
.poster-qr { width: 105mm; margin: 14mm auto 8mm; padding: 6mm; border: 3px solid var(--ink); border-radius: 18px; }
.poster-qr svg { width: 100%; height: auto; display: block; }
.poster-cta b { display: block; font-size: 26px; }
.poster-cta span { display: block; font-size: 17px; color: var(--muted); margin-top: 6px; }
.poster-foot { margin-top: auto; padding: 10mm; display: flex; align-items: center; gap: 8px; font-size: 20px; color: var(--ink); }
.poster-foot b { color: var(--primary); }
@media (max-width: 860px) { .poster { width: 100%; min-height: 0; } .poster-top h1 { font-size: 30px; } .poster-qr { width: 70%; } }

/* ---- Anket ---- */
.nps legend, .stars legend { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.nps-scale { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.rate5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 360px; }
.nps-opt, .rate-opt { position: relative; cursor: pointer; }
.nps-opt input, .rate-opt input { position: absolute; opacity: 0; pointer-events: none; }
.nps-opt span, .rate-opt span { display: grid; place-items: center; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; background: #fff; transition: all .12s; }
.nps-opt:hover span, .rate-opt:hover span { border-color: var(--primary); }
.nps-opt input:checked + span, .rate-opt input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.nps-opt input:focus-visible + span, .rate-opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(91, 61, 245, .2); }
.nps-ends { display: flex; justify-content: space-between; margin-top: 4px; }
.stars .nps-ends { max-width: 360px; }
.survey-done .big-check { margin: 8px auto 12px; }
.q-fixed { grid-template-columns: 1fr auto !important; }
.sq-row { grid-template-columns: minmax(0, 1fr) 140px 36px !important; }
.stat .stat-text { font-size: 16px; font-weight: 700; }

/* ---- Memnuniyet raporu (grafikler) ---- */
.report {
  --cat-sicak: #2a78d6;   /* olumlu kutup */
  --cat-ilimli: #8f8d86;  /* nötr orta nokta */
  --cat-olumsuz: #e34948; /* olumsuz kutup */
  --viz-track: #eeedf3;
  --viz-grid: #e4e3ea;
}
.stat .muted.small { display: block; margin-top: 2px; }
.viz h2 { margin-bottom: 4px; }
.viz-sub { margin: 26px 0 10px; font-size: 15px; }
.seg-bar { display: flex; gap: 2px; height: 28px; margin: 18px 0 10px; }
.seg { border-radius: 4px; display: flex; align-items: center; padding-left: 10px; min-width: 6px; font-size: 13px; font-weight: 700; color: #fff; outline-offset: 2px; }
.seg-sicak { background: var(--cat-sicak); }
.seg-ilimli { background: var(--cat-ilimli); color: #1d1b2e; }
.seg-olumsuz { background: var(--cat-olumsuz); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sw-sicak { background: var(--cat-sicak); } .sw-ilimli { background: var(--cat-ilimli); } .sw-olumsuz { background: var(--cat-olumsuz); }
.histo { display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px; height: 150px; align-items: end; border-bottom: 1px solid var(--viz-grid); padding-bottom: 0; }
.histo-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; cursor: default; }
.histo-col:hover .histo-track, .histo-col:focus .histo-track { background: rgba(29, 27, 46, .04); }
.histo-track { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; border-radius: 4px 4px 0 0; }
.histo-bar { width: min(28px, 70%); border-radius: 4px 4px 0 0; }
.histo-label { position: absolute; bottom: -22px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.histo + .table-view { margin-top: 34px; }
.table-view { margin-top: 18px; }
.table-view summary { cursor: pointer; color: var(--primary); font-size: 13px; font-weight: 600; }
.table-view .table { margin-top: 8px; font-variant-numeric: tabular-nums; }
.hbars { display: grid; gap: 14px; margin-top: 16px; }
.hbar-row { display: grid; grid-template-columns: minmax(140px, 260px) 1fr 44px; gap: 12px; align-items: center; }
.hbar-label { font-size: 14px; color: var(--ink-2); }
.hbar-track { height: 14px; background: var(--viz-track); border-radius: 4px; overflow: hidden; }
.hbar { height: 100%; background: var(--cat-sicak); border-radius: 0 4px 4px 0; }
.hbar-value { font-weight: 700; font-variant-numeric: tabular-nums; }
.hbar-axis { display: grid; grid-template-columns: minmax(140px, 260px) 1fr 44px; gap: 12px; margin-top: 6px; }
.hbar-axis div { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.ai-summary { font-size: 16px; line-height: 1.65; background: var(--primary-50); padding: 14px 16px; border-radius: 12px; }
.topics { max-width: 520px; }
.comment { margin: 0 0 12px; padding: 12px 16px; border-left: 3px solid var(--line); background: #faf9fd; border-radius: 0 10px 10px 0; }
.comment p { margin: 0 0 8px; white-space: pre-line; }
.comment footer { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.viz-tip { position: fixed; z-index: 100; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 8px; pointer-events: none; box-shadow: var(--shadow-lg); }
.print-only { display: none; }
@media (max-width: 640px) {
  .hbar-row, .hbar-axis { grid-template-columns: 1fr 40px; }
  .hbar-label { grid-column: 1 / -1; }
  .hbar-axis > span:first-child { display: none; }
  .nps-scale { grid-template-columns: repeat(6, 1fr); }
}

.org-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 4px; flex: none; }
.logo-preview { height: 140px; border-radius: 12px; border: 2px dashed var(--line); display: grid; place-items: center; background: #faf9fd; padding: 12px; text-align: center; }
.logo-preview img { max-height: 100%; max-width: 100%; object-fit: contain; }
.beta-badge { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); background: #ffece8; padding: 2px 6px; border-radius: 6px; margin-left: -2px; align-self: flex-start; }
.feedback-btn { position: fixed; right: 16px; bottom: 16px; z-index: 30; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg); text-decoration: none !important; }
.feedback-btn:hover { background: #2c2944; }
.staff-mode .feedback-btn, .checkin-page .feedback-btn { display: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.legal h2 { font-size: 18px; margin-top: 26px; }
.legal p, .legal li { color: var(--ink-2); }
.legal { padding-top: 28px; }

/* ---- Ana sayfa rafları ---- */
.chip .count, .radio .count { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.chip.active .count { color: rgba(255, 255, 255, .7); }
.shelf { margin-bottom: 34px; position: relative; }
.shelf .section-head { align-items: center; }
.count-lg { font-size: 15px; font-weight: 600; }
.shelf-nav { display: flex; align-items: center; gap: 6px; }
.shelf-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); }
.shelf-btn:hover { border-color: var(--primary); color: var(--primary); }
.shelf.at-start .shelf-prev, .shelf.at-end .shelf-next { opacity: .35; pointer-events: none; }
.shelf-more { font-weight: 600; font-size: 14px; margin-left: 6px; white-space: nowrap; }
.shelf-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 18px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.shelf-track > * { scroll-snap-align: start; }
.shelf-end { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed var(--line); border-radius: var(--radius);
  color: var(--primary); font-weight: 700; text-decoration: none !important; background: #fff; min-height: 200px; }
.shelf-end b { font-size: 28px; }
.shelf-end:hover { border-color: var(--primary); }
.grid-compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.grid-compact .ecard-body, .shelf-track .ecard-body { padding: 22px 14px 14px; }
.grid-compact .ecard-body h3, .shelf-track .ecard-body h3 { font-size: 15px; }
.tag-accent-solid { background: var(--accent); color: #fff; }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.city-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px 18px; color: #fff; text-decoration: none !important;
  background: linear-gradient(135deg, var(--t1), var(--t2)); display: flex; flex-direction: column; gap: 2px; min-height: 96px; justify-content: flex-end; transition: transform .2s; }
.city-card b { font-size: 19px; }
.city-card span { opacity: .85; font-size: 13px; }
.city-card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, var(--t3), transparent 70%); opacity: .6; }
.city-card:hover { transform: translateY(-3px); }
.all-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 10px 0 20px; }

/* ---- Keşif sayfası ---- */
.discover-head { background: linear-gradient(180deg, var(--primary-50), var(--bg)); padding: 26px 0 8px; margin-bottom: 18px; }
.discover-head h1 { margin: 6px 0 2px; }
.discover-head p { margin: 0 0 14px; }
.crumbs { color: var(--muted); }
.crumbs a { color: var(--muted); }
.discover-search { margin: 0; max-width: 720px; }
.discover { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.filters-panel { position: sticky; top: 80px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; max-height: calc(100vh - 100px); overflow-y: auto; }
.filters-form fieldset { margin: 0 0 16px; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.filters-form fieldset:last-of-type { border-bottom: 0; }
.filters-form legend { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.filters-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filters-close, .filters-open, .filters-apply, .filters-backdrop { display: none; }
.radio { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; padding: 3px 0; color: var(--ink-2); }
.radio input { width: 16px; height: 16px; accent-color: var(--primary); margin: 0; flex: none; }
.radio .count { margin-left: auto; }
.filters-form .check { display: flex; gap: 8px; font-size: 14px; align-items: flex-start; color: var(--ink-2); }
.filters-form select { padding: 8px 10px; }
.date-range summary { cursor: pointer; color: var(--primary); margin-top: 4px; }
.date-range .row2 { margin-top: 8px; gap: 6px; }
.date-range input { padding: 6px 8px; font-size: 13px; }
.results-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.active-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.chip-x { font-size: 13px; padding: 5px 10px; background: var(--primary-50); border-color: transparent; color: var(--primary); }
.results-tools { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.sort { display: flex; align-items: center; gap: 6px; }
.sort select { padding: 6px 10px; font-size: 13px; width: auto; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.view-toggle a { padding: 5px 11px; font-size: 16px; color: var(--muted); text-decoration: none !important; }
.view-toggle a.active { background: var(--ink); color: #fff; }
.load-more { text-align: center; margin: 26px 0 10px; }
.load-more .btn.loading { opacity: .6; pointer-events: none; }
.elist { display: flex; flex-direction: column; gap: 8px; }
.day-head { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); margin: 14px 0 2px; }
.day-head:first-child { margin-top: 0; }
.erow { display: grid; grid-template-columns: 96px 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #fff; border-radius: 14px;
  padding: 8px 14px 8px 8px; box-shadow: var(--shadow); color: inherit; text-decoration: none !important; transition: box-shadow .15s, transform .15s; }
.erow:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.erow-thumb { width: 96px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; }
.erow-thumb .cover-img, .erow-thumb .cover-ph { width: 100%; height: 100%; object-fit: cover; }
.erow-thumb .cover-ph span { font-size: 10px; padding: 2px 6px; border-width: 1px; }
.erow-time b { display: block; font-size: 17px; font-variant-numeric: tabular-nums; }
.erow-time span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.erow-main h3 { margin: 0 0 2px; font-size: 16px; }

@media (max-width: 1100px) {
  .shelf-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
}
@media (max-width: 960px) {
  .discover { grid-template-columns: 1fr; }
  .filters-open { display: inline-flex; }
  .filters-panel { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; top: auto; max-height: 85vh; border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform .25s ease; padding-bottom: 20px; }
  body.filters-open .filters-panel { transform: none; }
  .filters-close, .filters-apply { display: inline-flex; }
  .filters-apply { position: sticky; bottom: 0; box-shadow: 0 -8px 16px #fff; }
  body.filters-open .feedback-btn { display: none; }
  body.filters-open .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(14, 12, 28, .45); }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .shelf-track { grid-auto-columns: 72%; gap: 12px; }
  .shelf-btn { display: none; }
  .grid-compact { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-compact .ecard-body { padding: 20px 10px 10px; }
  .grid-compact .meta { font-size: 12px; }
  .grid-compact .datebadge { min-width: 44px; padding: 4px 8px; }
  .grid-compact .datebadge b { font-size: 16px; }
  .grid-compact .cover-ph, .shelf-track .cover-ph { font-size: 13px; }
  .grid-compact .cover-ph span, .shelf-track .cover-ph span { padding: 4px 10px; border-width: 1px; }
  .erow { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
  .erow-thumb { width: 72px; grid-row: span 2; }
  .erow-time { display: flex; gap: 6px; align-items: baseline; }
  .erow-time b { font-size: 14px; }
  .erow-side { display: none; }
  .erow-main h3 { font-size: 15px; }
  .results-tools { width: 100%; justify-content: space-between; margin-left: 0; }
}

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 32px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-inner p { margin: 8px 0 0; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 600; }
.footer-links a { color: var(--ink-2); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .event-hero-inner, .event-layout, .form-grid { grid-template-columns: 1fr; }
  .event-side, .form-side { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .banners { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
  .q-row { grid-template-columns: 1fr 1fr; }
  .q-row input[name=fq_label] { grid-column: 1 / -1; }
  .q-row .q-options[hidden] { display: none !important; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav { gap: 10px; }
  .nav > a:not(.btn):first-child { display: none; }
  .nav .btn { padding: 6px 10px; }
  .nav .nav-create { display: none; }
  .hero { padding: 40px 0 44px; }
  .slider { height: 480px; }
  .slide-shade { background: linear-gradient(0deg, rgba(14, 12, 28, .9) 0%, rgba(14, 12, 28, .5) 55%, rgba(14, 12, 28, .2) 100%); }
  .slide-content { justify-content: flex-end; padding-bottom: 96px; }
  .slider-dots { bottom: 60px; }
  .search-wrap.overlap { margin-top: -30px; }
  .banner { min-height: 240px; }
  .hi-row { flex-wrap: wrap; }
  .hi-thumb { width: 96px; }
  .staff-card { flex-direction: column; }
  .staff-qr { width: 100%; }
  .seg button { font-size: 13px; padding: 12px 2px; }
  .res-text .res-name { font-size: 22px; }
  .search { flex-direction: column; border-radius: 20px; }
  .search select { border-left: 0; border-top: 1px solid var(--line); max-width: none; }
  .row2, .std-fields { grid-template-columns: 1fr; }
  .ticket-info { grid-template-columns: 1fr; }
  .ticket-qr { margin: 0 auto; }
  .mobile-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; }
  body:has(.mobile-cta) .feedback-btn { bottom: 76px; }
  .feedback-btn { padding: 8px 12px; font-size: 12px; }
  .cta-band { padding: 24px; }
  .logo { font-size: 18px; }
}

@media print {
  .topbar, .footer, .no-print, .mobile-cta { display: none !important; }
  body { background: #fff; }
  .ticket { box-shadow: none; border: 1px solid #ccc; }
  .ticket-top, .poster-top { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .poster-page main { padding: 0; }
  .poster { box-shadow: none; margin: 0; border-radius: 0; width: 100%; height: 100vh; min-height: 0; }
  @page { size: A4; margin: 0; }
  .report-page .container { max-width: none; padding: 12mm; }
  .report .card, .report .stat { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .report .seg, .report .histo-bar, .report .hbar, .report .sw, .ai-summary { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .report details.table-view { display: none; }
  .print-only { display: block; }
}
