/* Kampüs Pazarı – tasarım sistemi
   Minimal, Apple ürün sayfalarından ilham alan bir dil; vurgu rengi İSTÜN kırmızısı. */

:root {
  --red: #be1824;
  --red-hover: #a3141f;
  --red-light: #cf2531;
  --red-soft: #fdeeef;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #f0f0f3;
  --green: #1d8a4e;
  --green-soft: #e8f5ee;
  --amber: #b25e00;
  --amber-soft: #fff4e5;
  --blue: #0066cc;
  --blue-soft: #e8f1fb;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.16);
  --nav-h: 52px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI Variable Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(190, 24, 36, 0.45); outline-offset: 2px; border-radius: 6px; }
.icon { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: 22px; }
.container--narrow { max-width: 720px; }
.container--wide { max-width: 1240px; }

/* ---------- global nav ---------- */
.globalnav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.globalnav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 8px; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.nav-links { display: flex; gap: 26px; font-size: 13px; color: var(--ink-2); flex: 1; }
.nav-links a { padding: 6px 0; transition: color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  position: relative; width: 36px; height: 36px; border-radius: 50%;
  display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.badge {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 600;
  display: grid; place-items: center; letter-spacing: 0; border: 2px solid #fff;
}
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff;
  display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0; flex: none;
}
.avatar--lg { width: 52px; height: 52px; font-size: 18px; }
.avatar--red { background: var(--red); }
.menu-toggle { display: none; }

.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); width: 340px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft);
  padding: 8px; z-index: 60;
}
.dropdown__head { padding: 10px 12px 8px; display: flex; justify-content: space-between; align-items: baseline; }
.dropdown__head strong { font-size: 15px; }
.dropdown a.dropdown__item, .dropdown button.dropdown__item {
  display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border: 0; background: none;
  border-radius: 10px; font-size: 14px; text-align: left; color: var(--ink);
}
.dropdown .dropdown__item:hover { background: var(--bg-alt); }
.dropdown__sep { height: 1px; background: var(--line-soft); margin: 6px 4px; }
.has-dropdown { position: relative; }

/* ---------- tipografi ---------- */
.eyebrow { color: var(--red); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.headline {
  font-size: clamp(44px, 7.2vw, 84px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; margin: 0;
}
.title-xl { font-size: clamp(36px, 5vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -0.03em; margin: 0; }
.title-lg { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
.title-md { font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.title-sm { font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.subhead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--muted); font-weight: 400; margin: 14px 0 0; letter-spacing: -0.015em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.spacer { flex: 1; }
.m0 { margin: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }

/* ---------- butonlar ----------
   apple.com ölçüleri: hap formu (980px radius), normal ağırlık (400),
   büyük boy 17px / 12px 22px, küçük boy 14px / 8px 15px, ikincil buton 1px çerçeve. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 30px; padding: 11px 21px; border-radius: 980px; border: 1px solid transparent;
  font-size: 17px; line-height: 1.17648; font-weight: 400; letter-spacing: -0.022em; white-space: nowrap;
  cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn .icon { width: 1em; height: 1em; }
.btn--lg { padding: 13px 24px; font-size: 17px; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-light); }
.btn--primary:active { background: var(--red-hover); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--secondary { background: #e8e8ed; color: var(--ink); border-color: transparent; }
.btn--secondary:hover { background: #dcdce1; }
.btn--outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn--outline:active { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-2); }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--danger { background: transparent; color: var(--red); border-color: rgba(190, 24, 36, 0.35); }
.btn--danger:hover { border-color: var(--red); background: var(--red-soft); }
.btn--sm { padding: 8px 15px; font-size: 14px; line-height: 1.28577; letter-spacing: -0.016em; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.link { color: var(--red); display: inline-flex; align-items: center; gap: 2px; font-weight: 400; }
.link:hover { text-decoration: underline; }
.link--muted { color: var(--muted); }
.link-btn { border: 0; background: none; padding: 0; color: var(--red); font-size: inherit; }
.link-btn:hover { text-decoration: underline; }
.link-btn--muted { color: var(--muted); }

/* ---------- bölümler ---------- */
.section { padding-block: 96px; }
.section--tight { padding-block: 56px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: #000; color: #f5f5f7; }
.section--dark .muted, .section--dark .subhead { color: #a1a1a6; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }

/* hero */
.hero { padding-block: 84px 0; text-align: center; overflow: hidden; }
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero__media {
  margin: 56px auto 0; max-width: 1180px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--tile); overflow: hidden; aspect-ratio: 16 / 7.4;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero__note { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; color: var(--muted); font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: #fff; border-radius: var(--radius-lg); padding: 40px 34px; display: flex; flex-direction: column; gap: 10px; min-height: 270px; }
.section--alt .tile { background: #fff; }
.tile__num { font-size: 15px; font-weight: 600; color: var(--muted-2); }
.tile__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 14px; }
.tile p { margin: 0; color: var(--muted); }

/* buluşma noktaları (koyu bölüm) */
.campus { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.campus__map { background: #111; border-radius: var(--radius-lg); padding: 18px; border: 1px solid #222; }
.campus__map svg { width: 100%; height: auto; display: block; }
.point-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.point-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #262626; }
.point-list li:last-child { border-bottom: 0; }
.point-list .icon { color: var(--red); margin-top: 3px; }
.point-list strong { display: block; font-weight: 600; }
.point-list span { color: #a1a1a6; font-size: 14px; }

/* güven */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trust__item .icon { color: var(--red); margin-bottom: 14px; }
.trust__item h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -0.02em; }
.trust__item p { margin: 0; color: var(--muted); }

.cta-band { text-align: center; }
.cta-band .hero__ctas { margin-top: 26px; }

/* ---------- ilan kartları ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.card__media {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); background: var(--tile);
  overflow: hidden; display: grid; place-items: center;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.035); }
.card__placeholder { color: var(--muted-2); }
.card__body { display: flex; flex-direction: column; gap: 3px; padding-inline: 2px; }
.card__cat { font-size: 12px; color: var(--red); font-weight: 600; letter-spacing: 0; }
.card__title { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.card__meta { font-size: 14px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.card__price { font-size: 17px; font-weight: 500; margin-top: 2px; }
.card__status {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
}
.fav-btn {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(8px); color: var(--ink-2);
  display: grid; place-items: center; transition: transform .15s, color .2s; z-index: 2;
}
.fav-btn:hover { transform: scale(1.08); color: var(--red); }
.fav-btn.is-on { color: var(--red); }
.fav-btn.is-on .icon path { fill: currentColor; }
.card__link { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }

/* ---------- sayfa başlığı ---------- */
.page-head { padding-block: 56px 28px; }
.page-head .subhead { margin-top: 8px; }

/* ---------- keşfet: arama ve filtreler ---------- */
.searchbar {
  display: flex; align-items: center; gap: 10px; background: var(--bg-alt); border-radius: 14px;
  padding: 0 16px; height: 52px; border: 1px solid transparent; transition: border-color .2s, background .2s;
}
.searchbar:focus-within { background: #fff; border-color: var(--line); }
.searchbar input { flex: 1; border: 0; background: transparent; outline: none; font-size: 17px; height: 100%; min-width: 0; }
.searchbar .icon { color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px;
  padding: 7px 15px; font-size: 14px; transition: all .15s; white-space: nowrap;
}
.chip:hover { border-color: var(--ink-2); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--red.is-active { background: var(--red); border-color: var(--red); }
.chip[disabled] { opacity: .35; pointer-events: none; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-top: 18px; }
.filters .field { min-width: 120px; }
.filters .field--price { width: 130px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 18px; gap: 12px; flex-wrap: wrap; }

/* ---------- formlar ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.01em; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.input--sm, .select--sm { padding: 9px 12px; font-size: 15px; }
.textarea { min-height: 130px; resize: vertical; line-height: 1.45; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink-2); box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--red); }
.field__error { color: var(--red); font-size: 13px; min-height: 0; }
.field__hint { color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: span 2; }
.form-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-prefix .input { padding-left: 32px; }

.dropzone {
  border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--bg-alt); min-height: 210px;
  display: grid; place-items: center; text-align: center; padding: 18px; position: relative; overflow: hidden;
  transition: border-color .2s;
}
.dropzone:hover { border-color: var(--ink-2); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone img { max-height: 260px; border-radius: 12px; object-fit: contain; }
.dropzone .icon { color: var(--muted); margin: 0 auto 8px; }

.alert { border-radius: var(--radius-sm); padding: 12px 16px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.alert--error { background: var(--red-soft); color: var(--red-hover); }
.alert--info { background: var(--blue-soft); color: #0b4f99; }
.alert--success { background: var(--green-soft); color: var(--green); }
.alert--warn { background: var(--amber-soft); color: var(--amber); }
.alert .icon { margin-top: 2px; }

/* segmented control */
.segmented { display: inline-flex; background: var(--bg-alt); border-radius: 12px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.segmented button, .segmented a {
  border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; font-size: 14px; color: var(--ink-2);
  display: inline-flex; gap: 6px; align-items: center; white-space: nowrap;
}
.segmented .is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); font-weight: 500; }
.count { background: var(--line-soft); border-radius: 999px; font-size: 12px; padding: 1px 7px; color: var(--ink-2); }
.is-active .count { background: var(--red); color: #fff; }

/* pill (durum etiketi) */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; letter-spacing: 0; }
.pill--pending { background: var(--amber-soft); color: var(--amber); }
.pill--countered { background: var(--blue-soft); color: var(--blue); }
.pill--accepted, .pill--completed, .pill--active { background: var(--green-soft); color: var(--green); }
.pill--rejected, .pill--cancelled, .pill--removed, .pill--deleted { background: var(--bg-alt); color: var(--muted); }
.pill--expired, .pill--withdrawn { background: var(--bg-alt); color: var(--muted); }
.pill--sold { background: var(--ink); color: #fff; }
.pill--planned { background: var(--blue-soft); color: var(--blue); }
.pill--open { background: var(--red-soft); color: var(--red); }
.pill--closed { background: var(--bg-alt); color: var(--muted); }
.pill--verified { background: var(--green-soft); color: var(--green); }

/* ---------- ilan detayı ---------- */
.breadcrumb { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); padding-top: 22px; }
.breadcrumb a:hover { color: var(--ink); }
.detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-block: 26px 80px; align-items: start; }
.detail__media { position: sticky; top: calc(var(--nav-h) + 20px); border-radius: var(--radius-lg); background: var(--tile); aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__info { display: flex; flex-direction: column; gap: 22px; }
.detail__price { font-size: 32px; font-weight: 600; letter-spacing: -0.025em; }
.detail__desc { color: var(--ink-2); margin: 0; white-space: pre-line; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.facts div { padding: 14px 0; }
.facts dt { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-size: 15px; font-weight: 500; }
.panel { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; }
.panel--white { background: #fff; border: 1px solid var(--line-soft); }
.seller { display: flex; gap: 14px; align-items: center; }
.seller__name { font-weight: 600; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-2); }
.stars .icon { color: #f5a623; }
.stars .icon path { fill: currentColor; }
.avail { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.avail span { background: #fff; border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px 11px; font-size: 13px; color: var(--ink-2); }
.offer-box { display: flex; flex-direction: column; gap: 12px; }
.offer-box .row .input-prefix { flex: 1; min-width: 160px; }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- liste satırları (hesabım) ---------- */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.list-item:last-child { border-bottom: 0; }
.thumb { width: 72px; height: 72px; border-radius: 14px; background: var(--tile); overflow: hidden; flex: none; display: grid; place-items: center; color: var(--muted-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.list-item__title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.history { font-size: 13px; color: var(--muted); }

.account-head { display: flex; gap: 18px; align-items: center; padding-block: 48px 24px; flex-wrap: wrap; }
.account-tabs { position: sticky; top: var(--nav-h); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px); z-index: 10; padding-block: 12px; margin-bottom: 8px; }
.card-box { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 8px 26px; background: #fff; }
.card-box + .card-box { margin-top: 22px; }
.card-box__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 0 8px; gap: 12px; flex-wrap: wrap; }

.meetup-card { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.meetup-card:last-child { border-bottom: 0; }
.datebox { width: 76px; border-radius: 16px; background: var(--red-soft); color: var(--red); text-align: center; padding: 10px 0; }
.datebox b { display: block; font-size: 26px; line-height: 1; font-weight: 700; }
.datebox span { font-size: 12px; font-weight: 600; }

/* müsaitlik tablosu */
.avail-grid { display: grid; grid-template-columns: 64px repeat(9, 1fr); gap: 6px; overflow-x: auto; }
.avail-grid .h { font-size: 12px; color: var(--muted); text-align: center; padding-bottom: 4px; }
.avail-grid .d { font-size: 13px; font-weight: 600; display: flex; align-items: center; }
.avail-cell { height: 38px; border-radius: 10px; border: 1px solid var(--line-soft); background: var(--bg-alt); transition: all .12s; min-width: 44px; }
.avail-cell:hover { border-color: var(--ink-2); }
.avail-cell.is-on { background: var(--red); border-color: var(--red); }
.avail-wrap { overflow-x: auto; padding-bottom: 6px; }
.avail-wrap .avail-grid { min-width: 560px; }

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.36); backdrop-filter: blur(6px); z-index: 100;
  display: grid; place-items: center; padding: 20px; animation: fade .18s ease-out;
}
.modal {
  width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow: auto; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: rise .24s cubic-bezier(.2, .8, .2, 1);
}
.modal--wide { max-width: 640px; }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 4px; gap: 12px; }
.modal__body { padding: 14px 24px 8px; display: flex; flex-direction: column; gap: 16px; }
.modal__foot { padding: 16px 24px 24px; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }

.option-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option-card { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; text-align: left; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.option-card strong { font-size: 15px; }
.option-card span { font-size: 13px; color: var(--muted); }
.option-card:hover { border-color: var(--ink-2); }
.option-card.is-active { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); background: var(--red-soft); }

.star-input { display: flex; gap: 6px; }
.star-input button { border: 0; background: none; padding: 4px; color: var(--line); }
.star-input button .icon { width: 34px; height: 34px; }
.star-input button.is-on { color: #f5a623; }
.star-input button.is-on .icon path { fill: currentColor; }

/* ---------- toast ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; max-width: calc(100vw - 32px); }
.toast {
  background: rgba(29, 29, 31, 0.94); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 15px;
  box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; animation: rise .22s ease-out;
}
.toast--error .icon { color: #ff6b6b; }
.toast--success .icon { color: #5fd38d; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: all .25s; }

/* ---------- auth ---------- */
.auth { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; padding: 48px 20px; background: var(--bg-alt); }
.auth__card { width: 100%; max-width: 440px; }
.auth__logo { width: 56px; height: 56px; border-radius: 16px; font-size: 22px; margin: 0 auto 18px; }
.code-input { letter-spacing: 0.5em; text-align: center; font-size: 26px; font-weight: 600; }
.demo-box { border-top: 1px solid var(--line-soft); margin-top: 22px; padding-top: 20px; }
.demo-accounts { display: grid; gap: 8px; margin-top: 10px; }
.demo-account { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line-soft); border-radius: 14px; padding: 10px 14px; background: #fff; text-align: left; width: 100%; }
.demo-account:hover { border-color: var(--ink-2); }
.demo-account div span { display: block; font-size: 13px; color: var(--muted); }

/* ---------- boş durum ---------- */
.empty { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty .icon { color: var(--line); margin: 0 auto 12px; }
.empty h3 { color: var(--ink); margin: 0 0 6px; font-size: 21px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; padding-block: 28px 36px; margin-top: 0; }
.footer__top { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; line-height: 1.6; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- moderasyon ---------- */
.report { padding: 20px 0; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 72px 1fr; gap: 16px; }
.report:last-child { border-bottom: 0; }
.report__note { background: var(--bg-alt); border-radius: 12px; padding: 10px 14px; font-size: 14px; color: var(--ink-2); margin: 6px 0 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .tiles, .trust { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .campus { grid-template-columns: 1fr; gap: 36px; }
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .detail__media { position: static; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding-block: 72px; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(20px); padding: 8px 22px 18px; font-size: 17px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .menu-toggle { display: inline-grid; }
  .nav-sell { display: none; }
  .globalnav__inner { gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .form-card { padding: 24px 20px; }
  .hero { padding-top: 56px; }
  .hero__media { aspect-ratio: 4 / 3; border-radius: var(--radius) var(--radius) 0 0; }
  .meetup-card { grid-template-columns: 64px 1fr; }
  .meetup-card .list-item__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .datebox { width: 64px; }
  .list-item { flex-wrap: wrap; }
  .list-item__actions { width: 100%; justify-content: flex-start; padding-left: 88px; }
  .option-cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .card-box { padding: 4px 18px; }
}
@media (max-width: 520px) {
  .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .card__title { font-size: 15px; }
  .filters .field, .filters .field--price { flex: 1 1 calc(50% - 6px); min-width: 0; width: auto; }
  .list-item__actions { padding-left: 0; }
  .report { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* küçük yardımcılar */
.dot.is-read { background: var(--line); }
.dropdown .dot { margin-top: 7px; flex: none; background: var(--red); }
.panel ul { margin: 8px 0 0; padding-left: 18px; }
.panel ul li + li { margin-top: 4px; }
.panel h3 .icon { vertical-align: -3px; color: var(--red); }
.list-item .center .pill { margin-top: 4px; }
a.list-item:hover .list-item__main > span:first-child { text-decoration: underline; }
@media (max-width: 760px) { .hide-sm { display: none; } }
.section--alt .btn--secondary { background: #fff; }
.section--alt .btn--secondary:hover { background: var(--line-soft); }
.panel .btn--secondary { background: #fff; }
.panel .btn--secondary:hover { background: var(--line-soft); }
@media (max-width: 760px) {
  .account-tabs .segmented { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .account-tabs .segmented::-webkit-scrollbar { display: none; }
}
.campus__map { margin: 0; }
.campus__map figcaption { color: #6e6e73; font-size: 12px; text-align: center; padding-top: 10px; }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.6s ease-out infinite; }
@keyframes pin-pulse { 0% { transform: scale(.6); opacity: .45; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

/* kampüs: lejant */
.legend { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: #a1a1a6; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend__pin { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px #fff inset, 0 0 0 4px rgba(190, 24, 36, .35); }
.legend__gate { width: 16px; height: 11px; border-radius: 3px; background: #f5f5f7; }

/* kroki düzenleyici (yalnızca yerel) */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.editor__canvas { background: #000; border-radius: var(--radius-lg); padding: 14px; }
.editor__canvas svg { width: 100%; height: auto; display: block; touch-action: none; user-select: none; }
.editor__side { position: sticky; top: calc(var(--nav-h) + 20px); }
.campus-svg.is-editable [data-drag] { cursor: grab; outline: none; }
.campus-svg.is-editable [data-drag]:active { cursor: grabbing; }
.campus-svg.is-editable .map-shape:hover path { stroke: #8e8e93; }
.campus-svg.is-editable .map-shape.is-selected path { stroke: #ff9f0a; stroke-width: 2.4; }
.campus-svg.is-editable .map-pin.is-selected circle:not(.pin-pulse),
.campus-svg.is-editable .map-gate.is-selected rect { stroke: #ff9f0a; stroke-width: 3; }
@media (max-width: 860px) { .editor { grid-template-columns: 1fr; } .editor__side { position: static; } }
