/* =========================================================
   Beleşçi Simit — ortak tasarım
   ========================================================= */
:root {
  --bg: #FFF8EF;
  --surface: #FFFFFF;
  --surface-2: #FFF1E2;
  --text: #2B2730;
  --muted: #6E6672;
  --border: #F0E1D0;
  --accent: #FF5A4E;
  --accent-ink: #FFFFFF;
  --accent-soft: #FFE3DF;
  --sun: #FFC93C;
  --sun-ink: #3A2A00;
  --sea: #2EC4B6;
  --free: #13855C;
  --free-soft: #DDF6EA;
  --warn: #8A5A00;
  --warn-soft: #FFF1CC;
  --ink: #2B2730;
  --shadow: 0 1px 2px rgba(43,39,48,.05), 0 6px 20px rgba(43,39,48,.06);
  --shadow-lg: 0 2px 6px rgba(43,39,48,.06), 0 20px 44px rgba(43,39,48,.13);
  --r: 20px;
  --head: "Baloo 2", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A171F;
    --surface: #24202A;
    --surface-2: #2E2935;
    --text: #F7F1EA;
    --muted: #B4ABB8;
    --border: #3A3443;
    --accent: #FF6E62;
    --accent-ink: #1E0C0A;
    --accent-soft: #43231F;
    --sun: #FFCF52;
    --free: #6FD6A2;
    --free-soft: #1B3528;
    --warn: #F3C664;
    --warn-soft: #3A2F14;
    --shadow: none;
    --shadow-lg: 0 20px 44px rgba(0,0,0,.45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1A171F;
  --surface: #24202A;
  --surface-2: #2E2935;
  --text: #F7F1EA;
  --muted: #B4ABB8;
  --border: #3A3443;
  --accent: #FF6E62;
  --accent-ink: #1E0C0A;
  --accent-soft: #43231F;
  --sun: #FFCF52;
  --free: #6FD6A2;
  --free-soft: #1B3528;
  --warn: #F3C664;
  --warn-soft: #3A2F14;
  --shadow: none;
  --shadow-lg: 0 20px 44px rgba(0,0,0,.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Üst bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 40px; height: 40px; border-radius: 12px; display: block; }
.wordmark { font-family: var(--head); font-weight: 600; font-size: 20px; letter-spacing: -.02em; line-height: 1; }
.wordmark b { color: var(--accent); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.nav a.link:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 560px) { .nav a.link { display: none; } .wordmark { font-size: 18px; } }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px solid var(--border); background: var(--surface); color: var(--text);
  padding: 11px 20px; border-radius: 999px; font: 700 15px/1.2 var(--body);
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); background: var(--surface-2); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 60%, #000); }
.btn-primary:hover { background: var(--accent); box-shadow: 0 5px 0 color-mix(in srgb, var(--accent) 60%, #000); }
.btn-primary:active { box-shadow: 0 2px 0 color-mix(in srgb, var(--accent) 60%, #000); }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); box-shadow: 0 4px 0 #D9A21A; }
.btn-sun:hover { background: var(--sun); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: center; padding: 36px 16px 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px;
  padding: 6px 12px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(34px, 6.4vw, 60px); margin: 0 0 14px; text-wrap: balance; }
.hl { position: relative; color: var(--accent); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .22em; z-index: -1;
  background: var(--sun); border-radius: 999px; opacity: .55;
}
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 22px; max-width: 34em; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art .blob {
  position: absolute; width: 88%; aspect-ratio: 1; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--sun) 55%, transparent), transparent 60%), var(--accent-soft);
}
.mascot { position: relative; width: min(330px, 100%); animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 18px 18px rgba(43,39,48,.12)); }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-art { order: -1; }
  .hero-art .mascot { width: 150px; }
  .hero-art .blob { width: 190px; }
  .hero { text-align: left; }
}

.search-box {
  display: flex; align-items: center; gap: 10px; background: var(--surface); border: 2px solid var(--border);
  border-radius: 18px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); max-width: 560px;
}
.search-box:focus-within { border-color: var(--accent); }
.search-box svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 600 16px var(--body); padding: 10px 0; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.stat { font-weight: 700; font-size: 14px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; }
.stat b { color: var(--text); }

/* ---------- Bölümler ---------- */
.section { padding-top: 22px; padding-bottom: 22px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 26px; margin: 0; }
.section-head .muted { font-size: 14px; }
.muted { color: var(--muted); }

/* Yatay kaydırmalı şerit */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 14px; overflow-x: auto;
  padding: 4px 16px 18px; margin: 0 -16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- Filtreler ---------- */
.filters { display: grid; gap: 12px; margin-bottom: 18px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-row.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.chip-row.scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--border); background: var(--surface);
  color: var(--text); padding: 7px 14px; border-radius: 999px; font: 700 14px var(--body); cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.chip:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.chip.active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip.active, :root:not([data-theme="light"]) .chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); } }
:root[data-theme="dark"] .chip.active, :root[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.select-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
select, .input, textarea {
  font: 600 15px var(--body); color: var(--text); background: var(--surface);
  border: 2px solid var(--border); border-radius: 14px; padding: 10px 12px; min-width: 0;
}
select:focus, .input:focus, textarea:focus { outline: 0; border-color: var(--accent); }
.select-row select { flex: 1 1 150px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; cursor: pointer; padding: 6px 4px; user-select: none; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: var(--border); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked { background: var(--free); }
.switch input:checked::after { transform: translateX(18px); }

/* ---------- Etkinlik kartı ---------- */
.day-group { margin-bottom: 26px; }
.day-title { display: flex; align-items: center; gap: 10px; font: 600 17px var(--head); margin: 0 0 12px; }
.day-title .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

.ev {
  --c: #7A7280;
  display: flex; flex-direction: column; text-align: left; width: 100%; padding: 0; overflow: hidden;
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow); cursor: pointer; font: inherit; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ev:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--c) 40%, var(--border)); }
.ev-top {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  background: color-mix(in srgb, var(--c) 13%, var(--surface));
}
.ev-emoji { font-size: 30px; line-height: 1; filter: drop-shadow(0 2px 0 rgba(0,0,0,.06)); }
.ev-date { display: grid; place-items: center; min-width: 54px; padding: 6px 8px; border-radius: 14px; background: var(--surface); line-height: 1; }
.ev-date b { font: 600 22px var(--head); color: var(--c); }
.ev-date span { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.ev-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ev-title { font: 600 18px/1.25 var(--head); margin: 0; }
.ev-meta { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.ev-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tag.free { background: var(--free-soft); color: var(--free); }
.tag.paid { background: var(--accent-soft); color: var(--accent); }
.tag.soon { background: var(--warn-soft); color: var(--warn); }
.tag.sample { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--muted); }

.empty { text-align: center; padding: 36px 16px; background: var(--surface); border: 2px dashed var(--border); border-radius: var(--r); }
.empty img { width: 110px; }
.empty h3 { margin: 8px 0 4px; font-size: 20px; }
.empty p { margin: 0 0 14px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  background: var(--accent); color: #fff; border-radius: 28px; padding: 24px 28px; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta-band::before { width: 220px; height: 220px; right: -60px; top: -90px; }
.cta-band::after { width: 120px; height: 120px; left: 30%; bottom: -70px; }
.cta-band img { width: 96px; position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 4px; font-size: 26px; color: #fff; }
.cta-band p { margin: 0; opacity: .92; font-weight: 600; }
.cta-band > * { position: relative; z-index: 1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band { color: #1E0C0A; } :root:not([data-theme="light"]) .cta-band h2 { color: #1E0C0A; } }
:root[data-theme="dark"] .cta-band { color: #1E0C0A; } :root[data-theme="dark"] .cta-band h2 { color: #1E0C0A; }
@media (max-width: 700px) { .cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- Altbilgi ---------- */
.footer { margin-top: 40px; padding: 34px 0 44px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: flex-start; }
.footer p { margin: 6px 0; max-width: 44em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 2px solid var(--border); text-decoration: none; font-weight: 700; font-size: 14px; color: var(--text); }
.social svg { width: 18px; height: 18px; }
.social:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Detay penceresi ---------- */
.sheet {
  --c: #7A7280;
  border: 0; padding: 0; border-radius: 26px; width: min(560px, calc(100% - 20px)); max-height: calc(100% - 20px);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg);
}
.sheet::backdrop { background: rgba(26,23,31,.5); backdrop-filter: blur(3px); }
.sheet[open] { animation: pop .22s ease-out; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.sheet-head { position: relative; padding: 22px 22px 18px; background: color-mix(in srgb, var(--c) 13%, var(--surface)); }
.sheet-emoji { font-size: 44px; line-height: 1; }
.sheet h2 { margin: 10px 0 10px; font-size: 26px; padding-right: 40px; }
.close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--surface); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}
.sheet-body { padding: 18px 22px 22px; }
.info { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.info li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; font-weight: 700; }
.info .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); font-size: 16px; }
.info small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; }
.desc { margin: 0 0 18px; white-space: pre-line; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .wide { grid-column: 1 / -1; }
.source { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Form ---------- */
.page-hero { padding: 34px 0 10px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.page-hero img { width: 92px; }
.page-hero h1 { margin: 0 0 6px; font-size: clamp(28px, 5vw, 42px); }
.page-hero p { margin: 0; color: var(--muted); font-size: 17px; }
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; padding: 18px 0 10px; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 2px solid var(--border); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.form-card + .form-card { margin-top: 16px; }
.step { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 20px; }
.step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 800; font-size: 14px; }
.field .req { color: var(--accent); }
.field .help { font-size: 13px; color: var(--muted); font-weight: 600; }
.field textarea { resize: vertical; min-height: 110px; font-weight: 600; line-height: 1.5; }
.field .input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #E5484D; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--border);
  background: var(--surface); font-weight: 700; font-size: 14px; cursor: pointer;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .choice input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); } }
:root[data-theme="dark"] .choice input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.preview-col { position: sticky; top: 84px; display: grid; gap: 14px; }
.preview-label { font: 600 15px var(--head); color: var(--muted); display: flex; align-items: center; gap: 8px; }
.tips { font-size: 14px; }
.tips h3 { margin: 0 0 8px; font-size: 17px; }
.tips ul { margin: 0; padding-left: 18px; color: var(--muted); font-weight: 600; }
.tips li { margin: 4px 0; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.notice { border-radius: 16px; padding: 14px 16px; font-weight: 600; font-size: 14px; }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.ok { background: var(--free-soft); color: var(--free); }
.done { text-align: center; padding: 36px 22px; }
.done img { width: 150px; animation: bob 3s ease-in-out infinite; }
.done h2 { font-size: 30px; margin: 10px 0 8px; }
.done p { color: var(--muted); margin: 0 auto 20px; max-width: 30em; font-weight: 600; }
.done .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
pre.copybox { white-space: pre-wrap; background: var(--surface-2); border-radius: 14px; padding: 14px; font: 600 13px/1.5 ui-monospace, Consolas, monospace; max-height: 260px; overflow: auto; }

/* ---------- Simit'in konuşma balonu ---------- */
.say {
  position: absolute; z-index: 3; top: 4%; left: 0; margin: 0; max-width: 190px;
  background: var(--surface); color: var(--text); border: 2px solid var(--ink); border-radius: 18px;
  padding: 8px 14px; font: 600 15px/1.3 var(--head); box-shadow: 0 4px 0 var(--ink);
  transform: rotate(-4deg); animation: sayIn .5s cubic-bezier(.3,1.6,.6,1);
}
.say::after {
  content: ""; position: absolute; right: 22px; bottom: -11px; width: 16px; height: 16px;
  background: var(--surface); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .say { border-color: var(--text); box-shadow: 0 4px 0 var(--text); } :root:not([data-theme="light"]) .say::after { border-color: var(--text); } }
:root[data-theme="dark"] .say { border-color: var(--text); box-shadow: 0 4px 0 var(--text); } :root[data-theme="dark"] .say::after { border-color: var(--text); }
@keyframes sayIn { from { transform: rotate(-4deg) scale(.7); } }
@media (max-width: 760px) {
  .hero-art { justify-items: end; padding-right: 12px; }
  .say { top: 18px; left: 0; font-size: 14px; max-width: 150px; }
}

/* ---------- Mevsim: kış ---------- */
.page-hero { position: relative; }
.snow { position: absolute; inset: -10px 0 0; overflow: hidden; pointer-events: none; z-index: 2; }
.snow i {
  position: absolute; top: -12px; width: var(--s, 6px); height: var(--s, 6px); border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 1.5px #BFE0F7; opacity: .95;
  animation: snowfall 8s linear infinite;
}
@keyframes snowfall {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .95; }
  50% { transform: translate(14px, 50%); }
  100% { transform: translate(-6px, 420px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }
[data-season="kis"] .hero-art .blob {
  background: radial-gradient(circle at 30% 30%, rgba(214,236,255,.9), transparent 60%), color-mix(in srgb, #7CC4F2 22%, var(--bg));
}
[data-season="kis"] .eyebrow { background: color-mix(in srgb, #7CC4F2 22%, var(--surface)); color: color-mix(in srgb, #1F6FA8 85%, var(--text)); }

/* ---------- Panel sayfaları ---------- */
.panel-tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .panel-tag { background: var(--text); color: var(--bg); } }
:root[data-theme="dark"] .panel-tag { background: var(--text); color: var(--bg); }

/* =========================================================
   v2 · mobil + web cilası
   ========================================================= */
html.lock { overflow: hidden; }
#etkinlikler, #railSection { scroll-margin-top: 76px; }
body { padding-bottom: env(safe-area-inset-bottom); }
.btn, .chip, .choice span { -webkit-tap-highlight-color: transparent; }

/* Filtre çubuğu */
.filter-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.filter-top .chip-row { flex: 1; min-width: 0; margin: 0; padding: 2px 0; }
.more-filters { display: grid; gap: 12px; }
.filter-toggle { display: none; }
.filter-toggle svg { width: 16px; height: 16px; }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; }
@media (max-width: 640px) {
  .filters { position: sticky; top: 64px; z-index: 15; margin: 0 -16px 16px; padding: 10px 16px; gap: 10px;
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
  .filter-toggle { display: inline-flex; }
  .filters:not(.open) .more-filters { display: none; }
  .filters.open .filter-toggle { background: var(--ink); border-color: var(--ink); color: #fff; }
  .select-row select { flex: 1 1 140px; }
}

/* Mobil kahraman alanı: daha kompakt, etkinlikler daha yukarıda */
@media (max-width: 760px) {
  .hero { padding-top: 14px; padding-bottom: 6px; gap: 10px; }
  .hero-art { min-height: 150px; }
  .hero-art .mascot { width: 128px; }
  .hero-art .blob { width: 160px; }
  .hero h1 { font-size: clamp(30px, 9vw, 40px); margin-bottom: 10px; }
  .hero p.lead { font-size: 16px; margin-bottom: 16px; }
  .eyebrow { margin-bottom: 10px; }
  .section { padding-top: 16px; padding-bottom: 16px; }
  .section-head h2 { font-size: 22px; }
}

/* Mobil liste kartı: yatay, daha çok etkinlik bir bakışta */
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; gap: 10px; }
  .grid .ev { flex-direction: row; border-radius: 18px; }
  .grid .ev-top { flex-direction: column-reverse; justify-content: center; gap: 8px; padding: 12px 10px; width: 78px; flex: none; }
  .grid .ev-emoji { font-size: 22px; }
  .grid .ev-date { min-width: 52px; }
  .grid .ev-body { padding: 12px 14px; gap: 4px; min-width: 0; }
  .grid .ev-title { font-size: 16.5px; }
  .grid .ev-meta { font-size: 13px; }
  .grid .ev-meta span:last-child { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .grid .tags { padding-top: 4px; }
  .ev:hover { transform: none; }
  .rail { grid-auto-columns: 78%; }
  .day-title { position: relative; }
}

/* Detay: mobilde alttan açılan sayfa */
.grab { display: none; }
@media (max-width: 640px) {
  .sheet { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .sheet[open] { animation: slideUp .28s cubic-bezier(.2,.9,.3,1); }
  .sheet-body { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .grab { display: block; width: 44px; height: 5px; border-radius: 99px; background: color-mix(in srgb, var(--text) 25%, transparent); margin: -10px auto 12px; }
  .actions .btn { padding: 13px 16px; }
}
@keyframes slideUp { from { transform: translateY(40%); opacity: .4; } }
.poster { display: block; margin: 0 0 16px; border-radius: 16px; overflow: hidden; border: 2px solid var(--border); background: var(--surface-2); }
.poster img { display: block; width: 100%; max-height: min(420px, 55vh); object-fit: contain; }

/* Yukarı çık */
.to-top { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 25; width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--surface); color: var(--text); font: 700 20px var(--head); cursor: pointer; box-shadow: var(--shadow-lg); }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* Geniş ekran: biraz daha ferah */
@media (min-width: 1100px) {
  .wrap { max-width: 1160px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (hover: hover) { .rail { scrollbar-width: thin; } }
.badge[hidden] { display: none; }
@media (max-width: 640px) { .filter-top .chip { padding: 7px 11px; font-size: 13.5px; } }
.rail-nav { display: inline-flex; align-items: center; gap: 6px; }
.rail-btn { display: none; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface); color: var(--text); font: 700 17px var(--head); cursor: pointer; }
.rail-btn:hover { border-color: var(--accent); color: var(--accent); }
@media (hover: hover) and (min-width: 761px) { .rail-btn { display: inline-grid; place-items: center; } .rail-hint { display: none; } }

/* Afiş yükleme */
.drop { position: relative; display: block; border: 2px dashed color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 18px;
  background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; overflow: hidden; }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
.drop-empty { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 26px 16px; }
.drop-ic { font-size: 34px; line-height: 1; }
.drop-empty b { font-size: 15px; }
.drop-empty small, .drop-info small { color: var(--muted); font-weight: 600; font-size: 13px; }
.drop-full { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; }
.drop-full img { width: 96px; height: 120px; object-fit: cover; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.drop-info { display: grid; gap: 2px; min-width: 0; }
.drop-info b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop.has { border-style: solid; border-color: var(--free); background: var(--free-soft); }
.drop.busy::after { content: "Küçültülüyor…"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; background: color-mix(in srgb, var(--surface) 85%, transparent); }
.drop-actions { display: flex; gap: 8px; }
.preview-poster { border-radius: var(--r); overflow: hidden; border: 2px solid var(--border); background: var(--surface); }
.preview-poster img { display: block; width: 100%; max-height: 320px; object-fit: contain; }
@media (max-width: 900px) { .preview-col { position: static; } }

/* =========================================================
   Faz 1 · favoriler, tema, yakınımdakiler, engelsiz, paylaşım
   ========================================================= */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.theme-btn { width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.theme-btn:hover { border-color: var(--accent); }

.ev-wrap { position: relative; display: flex; }
.ev-wrap > .ev { flex: 1; width: 100%; }
.ev-wrap .tags { padding-right: 44px; }
.fav { position: absolute; bottom: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 999px; border: 0; cursor: pointer;
  background: color-mix(in srgb, var(--surface) 88%, transparent); box-shadow: var(--shadow); font-size: 18px; line-height: 1; display: grid; place-items: center;
  color: var(--muted); transition: transform .15s; }
.fav:hover { transform: scale(1.08); }
.fav[aria-pressed="true"] { color: #E5484D; }
.fav[aria-pressed="true"] .h-off, .fav:not([aria-pressed="true"]) .h-on { display: none; }
.fav.pop { animation: favpop .35s ease-out; }
@keyframes favpop { 40% { transform: scale(1.35); } }
.ev-poster { display: block; aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--surface-2); }
.ev.has-poster .ev-top { padding-top: 10px; }
.tag.now { background: #FFE3DF; color: #B42318; }
.tag.near { background: color-mix(in srgb, var(--sea) 18%, var(--surface)); color: color-mix(in srgb, var(--sea) 60%, var(--text)); }
.tag.a11y { background: color-mix(in srgb, #2F6FDB 15%, var(--surface)); color: color-mix(in srgb, #2F6FDB 70%, var(--text)); }
.tag.range { background: color-mix(in srgb, var(--sun) 30%, var(--surface)); color: var(--sun-ink); }
:root[data-theme="dark"] .tag.range { color: var(--sun); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.range { color: var(--sun); } }
.chip .n { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; }
.near-btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 200; background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 14px; font-weight: 800; box-shadow: var(--shadow-lg); transition: .25s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.cal-menu { display: flex; gap: 8px; flex-wrap: wrap; }
.near-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.offline-bar { background: var(--warn-soft); color: var(--warn); text-align: center; font-weight: 800; font-size: 14px; padding: 8px 16px; }
.chip.hint:not(.active) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.near-btn.active { background: var(--sea); border-color: var(--sea); color: #06302C; }
.ev-date span:first-child:not(:only-child):not(:last-child) { margin: 0 0 2px; font-size: 10px; }

/* =========================================================
   Faz 2 · Simit canlanıyor
   ========================================================= */
.hero-art .mascot { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-art .mascot.hop { animation: hop .6s cubic-bezier(.3,1.6,.5,1), bob 4s ease-in-out .6s infinite; }
@keyframes hop { 0% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(4px) scale(1.06, .92); } 55% { transform: translateY(-34px) scale(.96, 1.05) rotate(-4deg); } 80% { transform: translateY(0) scale(1.04, .96); } 100% { transform: translateY(0) scale(1); } }
.say.again { animation: sayIn .35s cubic-bezier(.3,1.6,.5,1); }

/* tepki veren Simit: <span class="react think" data-mood="🤔"><img …></span> */
.react { position: relative; display: inline-block; }
.react::after { content: attr(data-mood); position: absolute; top: -4px; right: -10px; font-size: 38px; line-height: 1; animation: moodIn .5s cubic-bezier(.3,1.6,.5,1) .15s both; filter: drop-shadow(0 3px 0 rgba(0,0,0,.08)); }
@keyframes moodIn { from { transform: scale(0) rotate(-30deg); opacity: 0; } }
.react.think img { transform: rotate(9deg); animation: think 2.4s ease-in-out infinite; }
@keyframes think { 50% { transform: rotate(4deg) translateY(-3px); } }
.react.happy img { animation: hop .7s cubic-bezier(.3,1.6,.5,1) 2 .2s; }
.react.sad img { transform: rotate(-7deg) translateY(4px); filter: saturate(.55) brightness(.97); }
.react.love img { animation: think 2s ease-in-out infinite; }

/* Simit onaylı */
.tag.ok { background: color-mix(in srgb, var(--accent) 16%, var(--surface)); color: var(--accent); }
.ev.onayli { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }

/* =========================================================
   Afişli kartlar · düzeltme (afiş kartı kaplamasın)
   ========================================================= */
.ev-poster { flex: none; min-height: 0; height: auto; aspect-ratio: 16 / 9; object-position: center 30%; }
.ev-top, .ev-body { flex-shrink: 0; }
.ev-body { flex: 1 0 auto; }
.rail .ev-poster { aspect-ratio: 16 / 10; }

@media (max-width: 640px) {
  /* liste: afiş solda küçük kapak, tarih rozeti üstünde */
  .grid .ev.has-poster { position: relative; align-items: stretch; }
  .grid .ev.has-poster .ev-poster { width: 96px; aspect-ratio: auto; height: auto; min-height: 124px; align-self: stretch; object-fit: cover; }
  .grid .ev.has-poster .ev-top { position: absolute; left: 6px; top: 6px; width: auto; padding: 0; background: none; gap: 0; }
  .grid .ev.has-poster .ev-emoji { display: none; }
  .grid .ev.has-poster .ev-date { min-width: 44px; padding: 4px 6px; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
  .grid .ev.has-poster .ev-date b { font-size: 17px; }
  .grid .ev.has-poster .ev-date span { font-size: 10px; margin-top: 1px; }
  .grid .ev-body { flex: 1 1 auto; }
  .grid .ev-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* ray: kart boyu afişle sınırlı */
  .rail .ev-poster { aspect-ratio: 16 / 9; }
  .rail .ev-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
/* kart sarmalayıcısı ızgarada daralabilsin (uzun mekan adı kartı ekrandan taşırmasın) */
.grid > .ev-wrap, .rail > .ev-wrap, .ev-wrap > .ev { min-width: 0; }
.ev-body, .ev-meta { min-width: 0; }
.ev-title { overflow-wrap: anywhere; }
/* afişli kart: tarih rozeti afişin üstünde, ayrı renkli bant yok (her ekranda) */
.ev.has-poster { position: relative; }
.ev.has-poster .ev-top { position: absolute; left: 10px; top: 10px; padding: 0; background: none; width: auto; }
.ev.has-poster .ev-emoji { display: none; }
.ev.has-poster .ev-date { box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.rail .ev-body { padding-top: 12px; }
.rail .ev-meta span:last-child { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* detay: afiş düğmelerin altında, telefonda ekranı kaplamasın */
.poster { margin: 16px 0; }
@media (max-width: 640px) { .poster img { max-height: 46vh; } .sheet-head h2 { font-size: 24px; } }

/* yaşam döngüsü */
.ev.bitti { filter: grayscale(.85); opacity: .62; }
.ev.bitti:hover { opacity: .85; }
.tag.gone { background: var(--surface-2); color: var(--muted); }
.ev.simdi { border-color: #E5484D; box-shadow: 0 0 0 3px color-mix(in srgb, #E5484D 18%, transparent); }
.dot.live { background: #E5484D; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, #E5484D 25%, transparent); } }
.later-note { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 18px 0; padding: 14px 16px;
  border-radius: 16px; background: var(--surface-2); font-weight: 700; color: var(--muted); }
.past-group .day-title { color: var(--muted); }
.poster-note { margin: -8px 0 16px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ev-poster.is-simit { object-position: center; }

/* çerez onayı */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; max-width: 640px; margin: 0 auto; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--surface); border: 2px solid var(--border); border-radius: 18px; padding: 12px 14px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; }
.cookie-bar p { margin: 0; flex: 1 1 260px; } .cookie-bar div { display: flex; gap: 8px; }
/* harita görünümü */
.map-toggle.active { background: var(--ink); color: #fff; border-color: var(--ink); }
#siteMap { height: min(70vh, 560px); border-radius: 20px; border: 2px solid var(--border); margin: 6px 0 18px; z-index: 1; }
.leaflet-popup-content { font: 600 14px var(--body); } .leaflet-popup-content b { font: 600 16px var(--head); display: block; }
.leaflet-popup-content img { width: 100%; max-height: 120px; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
