/* ═══════════════════════════════════════════════════════════
   Set İlanları Web — kullanıcı uygulaması
   Temel tasarım sistemi admin-ui.css'ten gelir (tokenlar, .btn, .pill,
   .ibox, .card, .rail, .topbar, .dlg, .toast). Burada yalnız ek bileşenler.
   Kural: hap/kutu/rozet DOLU canlı degrade + beyaz yazı; saf beyaz zemin yok.
   ═══════════════════════════════════════════════════════════ */

/* ── Açılış ───────────────────────────────────────────────── */
.boot { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; background: var(--bg); z-index: 500; transition: opacity .25s; }
.boot img { border-radius: 18px; }
.boot-bar { width: 120px; height: 4px; border-radius: 4px; background: var(--sunk); overflow: hidden; }
.boot-bar span { display: block; width: 40%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #6366F1, #8B5CF6); animation: bootSlide 1s var(--ease) infinite; }
@keyframes bootSlide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.boot.gone { opacity: 0; pointer-events: none; }

/* ── Giriş ────────────────────────────────────────────────── */
.login-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.login-back:hover { color: var(--ink); }
.login-error { color: #fff; background: linear-gradient(135deg, #DC2626, #B91C1C); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.link-btn { border: 0; background: none; color: var(--ring); font-weight: 650; padding: 10px 0 0; align-self: center; }
.link-btn:hover { text-decoration: underline; }
.login-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14px; }
.store-row { display: flex; justify-content: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.store-row .btn { text-decoration: none; }
.alt-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--sunk); font-weight: 650; margin-bottom: 10px; color: var(--ink); }
.alt-btn:hover { filter: brightness(.97); }
.or-sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 6px 0 14px; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ── Üst bar ──────────────────────────────────────────────── */
@media (min-width: 1000px) { .topbar-title { visibility: hidden; } }
.topbar-title { font-size: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.rail-brand { text-decoration: none; color: inherit; }
a.rail-btn { text-decoration: none; }
a.icon-btn { text-decoration: none; position: relative; }
.icon-btn .dot { position: absolute; top: 7px; inset-inline-end: 8px; width: 9px; height: 9px; border-radius: 50%; background: #DC2626; box-shadow: 0 0 0 2px var(--sunk); }
.me-chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding-block: 4px 4px; padding-inline: 4px 12px; border-radius: 999px; background: var(--sunk); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; font-size: 14px; max-width: 220px; }
.me-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Avatar ───────────────────────────────────────────────── */
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-grid; place-items: center; color: #fff; font-weight: 750; font-size: 15px; overflow: hidden; }
.avatar.sm { width: 32px; height: 32px; font-size: 13px; }
.avatar.lg { width: 84px; height: 84px; font-size: 30px; }
img.avatar { background: var(--sunk); }

/* ── Sayfa başlığı ────────────────────────────────────────── */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: 28px; }
.page-head p { color: var(--muted); margin-top: 4px; }
.wrap { max-width: 1100px; margin: 0 auto; }
.wrap-narrow { max-width: 760px; margin: 0 auto; }

/* ── Filtre çubuğu ────────────────────────────────────────── */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.filters .search { flex: 1 1 260px; }
.filters select { width: auto; min-width: 150px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sunk); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 10px; font-weight: 650; font-size: 14px; color: var(--ink2); }
.seg button.on { background: linear-gradient(135deg, #6366F1, #4338CA); color: #fff; box-shadow: 0 4px 12px rgba(67, 56, 202, .3); }

/* ── İlan kartları ────────────────────────────────────────── */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.jcard { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s var(--ease), box-shadow .15s; min-width: 0; }
.jcard:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(18, 24, 38, .08), 0 14px 34px rgba(18, 24, 38, .12); }
.jcard-top { display: flex; gap: 12px; align-items: flex-start; }
.jcard-title { font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jcard-sub { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.jcard-desc { color: var(--ink2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
a.btn, a.btn:hover { text-decoration: none; }
.jcard-foot > span:first-child { white-space: nowrap; }
.jcard-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.price { font-family: var(--font-head); font-weight: 750; font-size: 16px; color: var(--ink); }

/* ── Liste satırları ──────────────────────────────────────── */
.list { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; min-width: 0; background: transparent; border-inline-start: 0; border-inline-end: 0; border-top: 0; width: 100%; text-align: start; }
.lrow:last-child { border-bottom: 0; }
a.lrow:hover, button.lrow:hover { background: var(--sunk); }
.lrow-main { flex: 1; min-width: 0; }
.lrow-main b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow-main small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow-end { flex: none; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.lrow.unread .lrow-main b::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #DC2626; margin-inline-start: 8px; vertical-align: middle; }

/* ── Detay ────────────────────────────────────────────────── */
.detail-hero { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.detail-hero h1 { font-size: 26px; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.kv-item { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: var(--sunk); border: 1px solid var(--line); min-width: 0; }
.kv-item small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.kv-item b { display: block; font-weight: 700; overflow-wrap: anywhere; }
.prose { white-space: pre-wrap; color: var(--ink2); line-height: 1.65; overflow-wrap: anywhere; }
.sticky-cta { position: sticky; bottom: 12px; z-index: 5; display: flex; gap: 10px; justify-content: flex-end; padding: 12px; border-radius: 18px; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow); margin-top: 8px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--sunk); cursor: zoom-in; }
.cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: var(--sunk); }
.cover.cover-empty { display: grid; place-items: center; aspect-ratio: 16 / 7; font-size: 34px; color: #fff; background: linear-gradient(135deg, #5B6B82, #3E4C63); }

/* ── Mesajlar ─────────────────────────────────────────────── */
.chat { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 14px; height: calc(100dvh - var(--top-h) - 54px); min-height: 420px; }
.chat-list { overflow-y: auto; }
.chat-room { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; min-height: 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.msg { max-width: min(76%, 560px); padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--sunk); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, #6366F1, #4338CA); color: #fff; border: 0; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.msg time { display: block; font-size: 11px; opacity: .7; margin-top: 2px; text-align: end; }
.msg img { max-width: 100%; border-radius: 12px; display: block; }
.day-sep { align-self: center; font-size: 12px; font-weight: 650; color: var(--muted); padding: 8px 0; }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-input textarea { min-height: 44px; max-height: 160px; resize: none; }

/* ── Profil ───────────────────────────────────────────────── */
.profile-hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.profile-hero h1 { font-size: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── İskelet ──────────────────────────────────────────────── */
.skel { border-radius: 20px; background: linear-gradient(90deg, var(--card), var(--sunk), var(--card)); background-size: 200% 100%; animation: skel 1.2s linear infinite; border: 1px solid var(--line); }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ── Uygulama bandı ───────────────────────────────────────── */
.app-band { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; color: #fff; margin-bottom: 16px; flex-wrap: wrap; }
.app-band p { flex: 1; min-width: 200px; font-weight: 600; }
.app-band .btn { background: rgba(255, 255, 255, .2); box-shadow: none; text-decoration: none; }

.legal-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink2); margin: 2px 0 14px; cursor: pointer; }
.legal-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #4F46E5; }
.legal-check a, .legal-note a { color: var(--ring); font-weight: 650; }
.legal-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }
.guest-actions { display: flex; gap: 6px; align-items: center; }
@media (max-width: 520px) { #gLogin { display: none; } .guest-actions .btn { padding: 6px 10px; } }
/* ═══ Kayıt: sekmeler + hesap türü seçimi ═══ */
.auth-tabs { display: flex; margin-bottom: 16px; }
.auth-tabs button { flex: 1; }
.onboard h1 { font-size: 30px; margin-top: 6px; }
.onboard > .muted { margin: 6px 0 18px; }
.steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.steps span { padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--muted); background: var(--sunk); border: 1px solid var(--line); }
.steps span.on { color: #fff; border-color: transparent; background: linear-gradient(135deg, #6366F1, #4338CA); }
.role-list { display: flex; flex-direction: column; gap: 12px; }
.role-card { display: flex; align-items: center; gap: 16px; width: 100%; text-align: start; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); color: var(--ink); transition: transform .15s var(--ease), box-shadow .15s; }
.role-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(18, 24, 38, .08), 0 14px 34px rgba(18, 24, 38, .12); }
.role-text { flex: 1; min-width: 0; }
.role-text b { display: block; font-family: var(--font-head); font-size: 19px; }
.role-text small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.role-go { font-size: 20px; color: var(--muted); }
.link-like { border: 0; background: none; padding: 0; cursor: pointer; }

/* ═══ Site düzeni: üst başlık + kategori çubuğu + footer ═══ */
.site { --top-h: 122px; min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 22px 24px 48px; }
.site-head { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(18, 24, 38, .06); }
.sh-row { max-width: 1240px; margin: 0 auto; height: 72px; padding: 0 24px; display: flex; align-items: center; gap: 18px; }
.sh-burger { display: none; }
.sh-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.sh-brand img { border-radius: 10px; object-fit: contain; }
.sh-brand span { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -.02em; white-space: nowrap; }
.sh-search { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 8px; background: var(--sunk); border: 1px solid var(--line); border-radius: 14px; padding-block: 4px 4px; padding-inline: 14px 4px; }
.sh-search > i { color: var(--muted); font-size: 18px; }
.sh-search input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 36px; padding: 0; border-radius: 0; }
.sh-search input:focus { outline: none; }
.sh-search:focus-within { outline: 3px solid var(--ring); outline-offset: 1px; }
.sh-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.sh-post { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.sh-nav { border-top: 1px solid var(--line); }
.sh-nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 16px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.sh-nav-inner::-webkit-scrollbar { display: none; }
.sn-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 13px 14px; text-decoration: none; color: var(--ink2); font-weight: 650; font-size: 14.5px; white-space: nowrap; border-bottom: 3px solid transparent; }
.sn-link i { font-size: 18px; }
.sn-link:hover { color: var(--ink); }
.sn-link.active { color: var(--ink); border-bottom-color: #6366F1; }
.sn-link.active i { color: #6366F1; }
.nav-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 11.5px; font-weight: 750; color: #fff; background: linear-gradient(135deg, #DC2626, #B91C1C); }

/* Kullanıcı menüsü */
.me-menu { position: relative; }
.me-chip { cursor: pointer; font: inherit; }
.me-chip > i { font-size: 13px; color: var(--muted); }
.me-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 260px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .22); padding: 8px; z-index: 80; }
.me-pop-head { display: flex; gap: 10px; align-items: center; padding: 8px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.me-pop-head b { display: block; font-weight: 700; }
.me-pop-head small { color: var(--muted); font-size: 13px; }
.me-pop a, .me-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 12px; border: 0; background: transparent; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; text-align: start; }
.me-pop a:hover, .me-pop button:hover { background: var(--sunk); }
.me-pop i { font-size: 18px; color: var(--muted); }

/* Telefon çekmecesi */
.sdrawer { position: fixed; top: 0; inset-inline-start: 0; bottom: 0; width: min(300px, 86vw); z-index: 90; background: var(--card); border-inline-end: 1px solid var(--line); box-shadow: 20px 0 50px rgba(0, 0, 0, .3); transform: translateX(-104%); transition: transform .24s var(--ease); display: flex; flex-direction: column; padding: 12px; overflow-y: auto; }
.sdrawer.open { transform: none; }
.drawer-scrim { z-index: 85; }
.sdrawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px; }
.dn-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 12px; border: 0; background: transparent; text-decoration: none; color: var(--ink2); font-weight: 650; font-size: 15px; text-align: start; }
.dn-link i { font-size: 20px; }
.dn-link:hover { background: var(--sunk); color: var(--ink); }
.dn-link.active { background: linear-gradient(135deg, #6366F1, #4338CA); color: #fff; }
.dn-link .nav-count { margin-inline-start: auto; }
.dn-sep { height: 1px; background: var(--line); margin: 8px 4px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: var(--card); margin-top: 24px; }
.sf-inner { max-width: 1240px; margin: 0 auto; padding: 28px 24px 12px; display: flex; gap: 32px; justify-content: space-between; flex-wrap: wrap; }
.sf-brand p { color: var(--muted); margin: 10px 0 12px; font-size: 14px; }
.sf-links { display: grid; grid-template-columns: repeat(2, minmax(150px, auto)); gap: 8px 32px; align-content: start; }
.sf-links a { color: var(--ink2); text-decoration: none; font-size: 14px; font-weight: 600; }
.sf-links a:hover { color: var(--ink); text-decoration: underline; }
.sf-copy { max-width: 1240px; margin: 0 auto; padding: 8px 24px 22px; color: var(--muted); font-size: 13px; }

/* ═══ İlan listesi: solda filtre, sağda satırlar ═══ */
.crumbs { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.listing { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; align-items: start; }
.filter-panel { position: sticky; top: calc(var(--top-h) + 14px); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 16px; max-height: calc(100dvh - var(--top-h) - 28px); overflow-y: auto; }
.fp-group { padding: 12px 0; border-bottom: 1px solid var(--line); }
.fp-group:first-child { padding-top: 0; }
.fp-group:last-child { border-bottom: 0; padding-bottom: 0; }
.fp-title { font-size: 13px; font-weight: 750; color: var(--ink2); margin-bottom: 8px; }
.fp-list { display: flex; flex-direction: column; gap: 2px; }
.fp-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 10px; border-radius: 10px; border: 0; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink2); text-align: start; }
.fp-item:hover { background: var(--sunk); color: var(--ink); }
.fp-item.on { background: linear-gradient(135deg, #6366F1, #4338CA); color: #fff; }
.fp-item small { font-weight: 700; color: var(--muted); }
.fp-item.on small { color: rgba(255, 255, 255, .85); }
.fp-close { display: none; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.result-bar b { font-family: var(--font-head); font-size: 22px; }
.result-bar .muted { font-size: 14px; }
.result-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.result-actions select { width: auto; min-height: 38px; }
.fp-toggle { display: none; }
.jlist { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.jrow { display: grid; grid-template-columns: 48px minmax(0, 1fr) 140px 150px 96px; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.jrow:last-child { border-bottom: 0; }
.jrow:hover { background: var(--sunk); }
.jrow:hover .jrow-title { color: #4F46E5; text-decoration: underline; }
:root[data-theme="dark"] .jrow:hover .jrow-title { color: #A5B4FC; }
.jrow-title { font-weight: 700; font-size: 15.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.jrow-sub { color: var(--muted); font-size: 13px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jrow .pills { margin-top: 6px; }
.jrow-city, .jrow-date { font-size: 13.5px; color: var(--ink2); font-weight: 600; }
.jrow-date { color: var(--muted); text-align: end; }
.jrow-price { font-family: var(--font-head); font-weight: 750; font-size: 15px; }
.jrow-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) 140px 150px 96px; gap: 14px; padding: 10px 16px; font-size: 12px; font-weight: 750; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--sunk); }
.jrow-head span:last-child { text-align: end; }
.jrow.urgent { box-shadow: inset 4px 0 0 #DC2626; }

@media (max-width: 999px) {
  .site { --top-h: 64px; }
  .sh-row { height: 64px; padding: 0 12px; gap: 10px; }
  .sh-burger { display: inline-grid; }
  .sh-nav, .sh-search { display: none; }
  .sh-brand span { font-size: 17px; }
  .sh-actions { gap: 6px; }
  #themeToggle, #msgBtn { display: none; }
  .sh-post { padding: 8px 12px; min-height: 40px; font-size: 14px; }
  .me-chip > span:not(.avatar), .me-chip > i { display: none; }
  .me-chip { padding: 3px; }
  .site-main { padding: 14px 14px 32px; }
  .chat { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - var(--top-h) - 40px); }
  .chat.has-room .chat-list { display: none; }
  .chat:not(.has-room) .chat-room { display: none; }
  .listing { grid-template-columns: minmax(0, 1fr); }
  .fp-toggle { display: inline-flex; }
  .filter-panel { display: none; position: fixed; inset: 0; top: auto; max-height: 82dvh; z-index: 95; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 60px rgba(0, 0, 0, .35); }
  .filter-panel.open { display: block; animation: sheetUp .22s var(--ease); }
  .fp-close { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
  .jrow-head { display: none; }
  .jrow { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "ic main main" "ic city price"; row-gap: 6px; padding: 12px 14px; }
  .jrow > .ibox { grid-area: ic; align-self: start; width: 40px; height: 40px; }
  .jrow > .jrow-main { grid-area: main; }
  .jrow > .jrow-city { grid-area: city; font-size: 13px; }
  .jrow > .jrow-price { grid-area: price; text-align: end; font-size: 14px; }
  .jrow > .jrow-date { display: none; }
}
@media (max-width: 420px) {
  .sh-brand span { font-size: 16px; }
}
@media (max-width: 760px) {
  .grid-cards { grid-template-columns: minmax(0, 1fr); }
  .filters select { flex: 1 1 140px; }
  .detail-hero h1, .profile-hero h1 { font-size: 22px; }
  .profile-hero { flex-direction: column; align-items: flex-start; }
  .profile-hero > div { width: 100%; }
  .profile-hero > .btn { width: 100%; }
}

/* ── Yapımcı: ilan formu (producer.js) ────────────────────── */
input[type=date] { width: 100%; background: var(--sunk); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: var(--ink); min-height: 42px; color-scheme: light dark; }
input[type=date]:focus { outline: 3px solid var(--ring); outline-offset: 1px; border-color: transparent; }

/* ═══════════════════════════════════════════════════════════
   social.js — mesajlar, bildirimler, profil, kiralık
   ═══════════════════════════════════════════════════════════ */
.chat-list { display: flex; flex-direction: column; min-width: 0; }
.chat-list .search { flex: none; max-width: none; margin-bottom: 10px; }
.lrow.active { background: var(--sunk); }
.icon-btn.chat-back { display: none; }
.chat-head-main { flex: 1; min-width: 0; }
.chat-head-main b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head-main small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-sys { align-self: center; max-width: 90%; text-align: center; color: var(--muted); font-size: 12.5px; padding: 6px 12px; overflow-wrap: anywhere; }
.msg-file { display: flex; align-items: center; gap: 8px; color: inherit; font-weight: 650; text-decoration: underline; }
.msg audio { display: block; width: 260px; max-width: 100%; }
.chat-closed { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--sunk); color: var(--muted); }
.chat-closed i { font-size: 22px; flex: none; }
.chat-closed b { display: block; color: var(--ink); }
.chat-closed small { display: block; }
.notif .lrow-main small { white-space: normal; }
.spec-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row b { display: block; margin-bottom: 6px; }
.profile-hero > div { min-width: 0; }
.photo-grid a { display: block; }
@media (max-width: 999px) {
  .icon-btn.chat-back { display: inline-grid; }
}

/* ── Yapımcı kayıt formu (register-producer.js) ───────────── */
.rp-phone { display: flex; align-items: stretch; background: var(--sunk); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rp-phone:focus-within { outline: 3px solid var(--ring); outline-offset: 1px; border-color: transparent; }
.rp-phone .rp-cc { display: grid; place-items: center; padding: 0 14px; font-weight: 650; border-inline-end: 1px solid var(--line); }
.rp-phone input { flex: 1; min-width: 0; border: 0; background: transparent; border-radius: 0; outline: 0 !important; }
.rp-logo { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; }
.rp-logo-btn { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line); background: var(--sunk); padding: 0; cursor: pointer; overflow: hidden; display: grid; place-items: center; flex: none; }
.rp-logo-btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.rp-logo-btn img { width: 100%; height: 100%; object-fit: cover; }
.rp-same { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; }
.rp-same input { width: 18px; height: 18px; flex: none; }
.rp-note { display: flex; gap: 8px; align-items: flex-start; margin: 4px 2px 14px; }
@media (max-width: 480px) { .rp-logo { flex-direction: column; align-items: flex-start; } }

/* ═══════════════════════════════════════════════════════════
   register-rental.js — kiralama hesabı kayıt formları
   ═══════════════════════════════════════════════════════════ */
.reg-photo { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 4px 0 18px; }
.reg-photo-btn { position: relative; width: 112px; height: 112px; border-radius: 50%; border: 4px solid var(--card); display: grid; place-items: center; color: #fff; cursor: pointer; box-shadow: var(--shadow); padding: 0; }
.reg-photo-btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.reg-photo-btn img.hidden { display: none; }
.reg-photo-ico { font-size: 44px; }
.reg-photo-ico.hidden { display: none; }
.reg-photo-cam { position: absolute; inset-inline-end: -4px; bottom: -4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 3px solid var(--card); }
.reg-legal { display: flex; flex-direction: column; gap: 12px; }
.reg-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; color: var(--ink2); font-size: 14px; }
.reg-check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: #16A34A; }
.reg-check a { color: var(--ink); font-weight: 650; text-decoration: underline; }
.reg-err { color: #DC2626; font-weight: 600; }
.reg-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.reg-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.reg-cat { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--sunk); color: var(--ink); font-weight: 600; font-size: 14px; max-width: 100%; }
.reg-cat.on { color: #fff; border-color: transparent; }
.reg-cat:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.reg-actions { display: flex; gap: 10px; }
.reg-actions .btn:last-child { flex: 1; }
@media (max-width: 420px) { .reg-actions { flex-direction: column-reverse; } }

/* ═══ register-technical.js — teknik ekip kayıt formu ═══ */
.tr-photo { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.tr-photo > div { min-width: 0; }
.tr-pick { position: relative; overflow: hidden; cursor: pointer; flex: none; }
.tr-pick input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.tr-sub { font-size: 14px; margin: 16px 0 10px; color: var(--ink2); }
.tr-note { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 10px 12px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line); font-size: 13px; color: var(--ink2); }
.tr-pickhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.tr-pickhead b { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tr-dis { opacity: .5; cursor: not-allowed; }
.tr-dis input { cursor: not-allowed; }
.tr-item { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 10px; border-radius: 14px; background: var(--sunk); border: 1px solid var(--line); }
.tr-item > .ibox { flex: none; }
.tr-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tr-item-main b, .tr-item-main small { overflow-wrap: anywhere; }
.tr-tel { display: flex; align-items: stretch; gap: 8px; }
.tr-tel input { flex: 1; min-width: 0; }
.tr-cc { display: inline-flex; align-items: center; padding: 0 12px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line); font-weight: 650; }
@media (max-width: 480px) {
  .tr-item { flex-wrap: wrap; }
  .tr-item .tr-pick { margin-inline-start: 52px; }
}

/* ═══════════════════════════════════════════════════════════
   Vitrin ve ilan sayfaları (home.js, jobs.js ilan/ilanlar, social.js kiralık)
   ═══════════════════════════════════════════════════════════ */
/* ── Vitrin: hero ─────────────────────────────────────────── */
.home { display: flex; flex-direction: column; gap: 34px; }
.home-hero { position: relative; overflow: hidden; border-radius: 28px; padding: 48px 40px 36px; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #6366F1 0%, #4338CA 45%, #2E1A87 100%); box-shadow: 0 18px 50px rgba(67, 56, 202, .32); }
.home-hero::after { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(219, 39, 119, .55), transparent 70%); pointer-events: none; }
.hh-inner { position: relative; z-index: 1; max-width: 760px; }
.hh-hi { font-weight: 700; font-size: 15px; opacity: .9; margin-bottom: 6px; }
.home-hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.hh-sub { margin-top: 12px; font-size: 17px; opacity: .92; max-width: 600px; }
.hh-search { margin-top: 24px; display: flex; align-items: center; gap: 8px; background: var(--card); color: var(--ink); border-radius: 18px; padding-block: 6px 6px; padding-inline: 18px 6px; box-shadow: 0 12px 34px rgba(0, 0, 0, .25); max-width: 680px; }
.hh-search > i { font-size: 20px; color: var(--muted); flex: none; }
.hh-search input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 46px; padding: 0; font-size: 16px; border-radius: 0; }
.hh-search input:focus { outline: none; }
.hh-search:focus-within { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
.hh-search .btn { min-height: 46px; padding: 10px 24px; font-size: 15.5px; border-radius: 14px; }
.hh-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hh-stats:empty { display: none; }
.hh-stat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .22); }
.hh-stat i { font-size: 18px; }
.hh-stat b { font-family: var(--font-head); font-size: 20px; font-weight: 800; }

/* ── Vitrin: üyelik bandı ─────────────────────────────────── */
.join-band { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.jb-text { flex: 1 1 260px; min-width: 0; }
.jb-text b { display: block; font-family: var(--font-head); font-size: 20px; }
.jb-text span { color: var(--muted); }
.jb-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Vitrin: bölümler ─────────────────────────────────────── */
.h-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.h-sec-head h2 { font-size: 24px; font-weight: 800; }
.h-sec-head p { font-size: 14.5px; margin-top: 2px; }
.h-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--ring); }
.h-more:hover { text-decoration: underline; }
.h-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.h-grid > .skel, .dept-grid > .skel, .cat-grid > .skel, .rgrid > .skel { border-radius: 18px; }
.hjob { padding: 16px; gap: 10px; }
.hjob .jcard-title { font-size: 16px; }
.jcard.urgent { box-shadow: inset 4px 0 0 #DC2626, var(--shadow); }
.jcard-foot > span:last-child { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 10px; }
.dept-tile { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); text-align: start; color: var(--ink); min-width: 0; transition: transform .15s var(--ease), box-shadow .15s, border-color .15s; }
.dept-tile:hover, .cat-tile:hover { transform: translateY(-2px); border-color: var(--ring); box-shadow: 0 2px 4px rgba(18, 24, 38, .08), 0 14px 34px rgba(18, 24, 38, .12); }
.dt-text { min-width: 0; }
.dt-text b { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.25; overflow-wrap: anywhere; }
.dt-text small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; margin-top: 2px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 10px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); color: var(--ink); text-align: center; min-width: 0; transition: transform .15s var(--ease), box-shadow .15s, border-color .15s; }
.cat-tile b { font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.cat-tile small { color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* ── Kiralık kartları (ızgara / liste) ────────────────────── */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.rcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; min-width: 0; transition: transform .15s var(--ease), box-shadow .15s; }
.rcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18, 24, 38, .08), 0 16px 38px rgba(18, 24, 38, .14); }
.rcard:hover .rcard-title { color: var(--ring); }
.rcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--sunk); overflow: hidden; flex: none; }
.rcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); }
.rcard:hover .rcard-media img { transform: scale(1.04); }
.rcard-noimg { width: 100%; height: 100%; display: grid; place-items: center; font-size: 36px; }
.rcard-price { position: absolute; inset-inline-start: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 5px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 750; font-size: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard-count { position: absolute; inset-inline-end: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #5B6B82, #3E4C63); }
.rcard-body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; min-width: 0; }
.rcard-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.rcard-loc { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rcard-body .pills:empty { display: none; }
.rcard-owner { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink2); min-width: 0; }
.rcard-owner > span:not(.pill):not(.avatar) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcard-owner .avatar.sm { width: 26px; height: 26px; font-size: 11px; }
.rgrid.as-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.rgrid.as-list .rcard { flex-direction: row; }
.rgrid.as-list .rcard-media { width: 220px; aspect-ratio: 4 / 3; }
.rgrid.as-list .rcard-title { font-size: 17px; }
.r-more { text-align: center; margin: 18px 0 4px; }
.r-more:empty { display: none; }
.vt { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line); }
.vt button { width: 34px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--ink2); font-size: 17px; }
.vt button[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, #6366F1, #4338CA); }

/* ── Filtre paneli ekleri ─────────────────────────────────── */
.fp-check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink2); }
.fp-check input { width: 18px; height: 18px; flex: none; accent-color: #4F46E5; margin: 0; }
.fp-check span { flex: 1; }
.fp-check small { font-weight: 700; color: var(--muted); }
.fp-range { display: flex; align-items: center; gap: 6px; }
.fp-range input { min-width: 0; flex: 1; }
.fp-range span { color: var(--muted); }
.fp-ic { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.fp-ic .ibox.sm { width: 24px; height: 24px; border-radius: 8px; font-size: 13px; box-shadow: none; }
.fp-join { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; }
.fp-join b { font-family: var(--font-head); font-size: 16px; }
.fp-join span { font-size: 13px; opacity: .92; }
.fp-join .btn { margin-top: 8px; background: rgba(255, 255, 255, .2); box-shadow: none; }

/* ── İlan detayı (iş + kiralık): iki kolon, sağda sabit özet ── */
.jd, .rd { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.rd > .rgrid { grid-column: 1 / -1; }
.jd > .grid-cards { grid-template-columns: minmax(0, 1fr); }
.jd-main, .rd-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.jd-main > .card, .rd-main > .card, .jd-side > .card, .rd-side > .card { margin: 0; }
.jd-side, .rd-side { position: sticky; top: calc(var(--top-h) + 14px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.jd-head .detail-hero h1, .rd-head h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.jd-sub { margin-top: 4px; font-size: 15px; }
.jd-reqs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.jd-reqs li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink2); }
.jd-box { padding: 20px; }
.jd-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.jd-price { font-family: var(--font-head); font-weight: 800; font-size: 28px; line-height: 1.15; margin-top: 2px; overflow-wrap: anywhere; }
.jd-facts { list-style: none; margin: 14px 0; padding: 0; border-top: 1px solid var(--line); }
.jd-facts:empty { display: none; }
.jd-facts li { display: grid; grid-template-columns: 20px auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.jd-facts i { color: var(--muted); font-size: 17px; }
.jd-facts span { color: var(--muted); font-weight: 600; }
.jd-facts b { text-align: end; font-weight: 700; overflow-wrap: anywhere; }
.jd-bar-price { display: none; }
.jd-cta { display: flex; flex-direction: column; gap: 10px; }
.jd-cta .btn { width: 100%; }
.jd-cta .pill { white-space: normal; justify-content: center; text-align: center; padding: 8px 12px; font-size: 13px; border-radius: 12px; }
.jd-cta .hint { font-size: 13px; }
.rd-stores { display: flex; gap: 8px; flex-wrap: wrap; }
.rd-stores .btn { flex: 1 1 120px; background: linear-gradient(135deg, #5B6B82, #3E4C63); text-decoration: none; }
.jd-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.jd-meta b { color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.jd-safe { display: flex; gap: 12px; align-items: flex-start; padding: 16px; font-size: 13.5px; color: var(--ink2); }
.jd-safe b { color: var(--ink); }
.rd-owner .list { box-shadow: none; }

/* ── Galeri + tam ekran ───────────────────────────────────── */
.gal { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gal-main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; max-height: 72vh; background: var(--sunk); cursor: zoom-in; box-shadow: var(--shadow); }
.gal-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gal-empty { display: grid; place-items: center; font-size: 48px; cursor: default; aspect-ratio: 16 / 9; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; background: rgba(10, 10, 13, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .15s; cursor: pointer; }
.gal-prev { inset-inline-start: 12px; } .gal-next { inset-inline-end: 12px; }
.gal-main:hover .gal-nav, .gal-main:focus-visible .gal-nav { opacity: 1; }
@media (hover: none) { .gal-nav { opacity: 1; } }
.gal-count, .gal-zoom { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(10, 10, 13, .6); }
.gal-count { inset-inline-start: 12px; } .gal-count:empty { display: none; }
.gal-zoom { inset-inline-end: 12px; font-size: 15px; padding: 5px 8px; }
.gal-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gal-thumb { flex: none; width: 92px; aspect-ratio: 4 / 3; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--sunk); cursor: pointer; opacity: .75; transition: opacity .15s, border-color .15s; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb:hover { opacity: 1; }
.gal-thumb.on { border-color: #6366F1; opacity: 1; }
body.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; background: rgba(6, 6, 9, .94); animation: lbIn .18s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-img { grid-column: 2; max-width: 100%; max-height: 90dvh; margin: 0 auto; object-fit: contain; border-radius: 10px; user-select: none; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; font-size: 22px; background: rgba(255, 255, 255, .14); justify-self: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-prev { grid-column: 1; grid-row: 1; } .lb-next { grid-column: 3; grid-row: 1; }
.lb-img { grid-row: 1; }
.lb-close { position: absolute; top: 16px; inset-inline-end: 16px; }
.lb-count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: #fff; font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.lb.single .lb-prev, .lb.single .lb-next, .lb.single .lb-count { display: none; }

/* ── Duyarlı ──────────────────────────────────────────────── */
@media (max-width: 999px) {
  .jd, .rd { grid-template-columns: minmax(0, 1fr); }
  .jd-side, .rd-side { position: static; }
  .jd:has(.jd-bar.is-fixed), .rd:has(.jd-bar.is-fixed) { padding-bottom: 84px; }
  .jd-bar.is-fixed { position: fixed; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .16); }
  .jd-bar.is-fixed .jd-bar-price { display: block; flex: 1; min-width: 0; font-family: var(--font-head); font-weight: 800; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .jd-bar.is-fixed .jd-cta { flex-direction: column; align-items: stretch; gap: 6px; flex: 0 1 auto; min-width: 0; max-width: 60%; }
  .jd-bar.is-fixed .jd-cta .btn { width: 100%; white-space: normal; padding: 8px 12px; font-size: 13.5px; }
  .jd-bar.is-fixed .jd-cta .pill { padding: 6px 10px; font-size: 12px; }
  .home-hero { padding: 34px 22px 26px; border-radius: 24px; }
  .rgrid.as-list .rcard-media { width: 160px; }
}
@media (max-width: 560px) {
  .home { gap: 26px; }
  .home-hero { padding: 26px 16px 20px; border-radius: 20px; }
  .hh-sub { font-size: 15px; }
  .hh-search { padding-block: 4px 4px; padding-inline: 12px 4px; border-radius: 14px; }
  .hh-search input { min-height: 42px; font-size: 15px; }
  .hh-search .btn { min-height: 42px; padding: 8px 14px; }
  .hh-stat { padding: 8px 12px; font-size: 13px; }
  .hh-stat b { font-size: 17px; }
  .h-sec-head h2 { font-size: 20px; }
  .jb-actions { width: 100%; }
  .join-band > .ibox { display: none; }
  .jd .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .jd .kv-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; }
  .jb-actions .btn { flex: 1; }
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dept-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rcard-body { padding: 10px; }
  .rcard-title { font-size: 14.5px; }
  .rcard-price { font-size: 12.5px; padding: 4px 9px; inset-inline-start: 8px; bottom: 8px; }
  .rcard-owner .pill { display: none; }
  .rgrid.as-list { grid-template-columns: minmax(0, 1fr); }
  .rgrid.as-list .rcard-media { width: 120px; aspect-ratio: 1; }
  .result-actions select { flex: 1; }
  .gal-main { border-radius: 16px; }
  .gal-thumb { width: 72px; }
  .jd-price { font-size: 24px; }
  .lb { grid-template-columns: minmax(0, 1fr); }
  .lb-prev, .lb-next { display: none; }
  .lb-img { grid-column: 1; }
}
@media (max-width: 360px) {
  .rgrid { grid-template-columns: minmax(0, 1fr); }
}

/* Sahip kartı: ad ve tür alt satıra sığsın */
.rd-owner .lrow-main b, .rd-owner .lrow-main small { white-space: normal; overflow: visible; }
.rd-owner .lrow { flex-wrap: wrap; }
