/* ═══════════════════════════════════════════════════════════
   Set İlanları — 2026 pazar yeri WEB SİTESİ teması
   admin-ui.css + uygulama.css'ten SONRA yüklenir. Burada: tasarım
   tokenları, temel öğeler, yapışkan cam başlık + mega menü, çekmece,
   giriş/kayıt sayfası, footer ve hesap kabuğu.
   Sayfa içerikleri: web/site-pages.css · Hesap sayfaları: web/site-account.css
   Kurallar: saf #FFF yüzey yok; rozet/ikon kutuları dolu degrade + beyaz yazı.
   ═══════════════════════════════════════════════════════════ */
:root, :root[data-theme="light"] {
  --bg: #F4F6FA; --card: #FCFDFE; --sunk: #EEF1F6; --sunk-2: #E4E8F0;
  --line: rgba(15, 23, 42, .08); --line-2: rgba(15, 23, 42, .15);
  --ink: #0B0F19; --ink2: #3A4357; --muted: #646E82;
  --brand: #E11D48; --brand-2: #F43F5E; --brand-d: #BE123C;
  --accent: #6366F1; --accent-2: #8B5CF6;
  --link: #4F46E5; --ring: #6366F1; --hl: #EEF0FD;
  --grad-brand: linear-gradient(135deg, #FB4468 0%, #E11D48 52%, #C3123E 100%);
  --grad-accent: linear-gradient(135deg, #6366F1 0%, #7C5CF6 100%);
  --glow-brand: 0 10px 24px -8px rgba(225, 29, 72, .55);
  --glow-accent: 0 10px 24px -8px rgba(99, 102, 241, .5);
  --sh-1: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .03);
  --sh-2: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -8px rgba(16, 24, 40, .12);
  --sh-3: 0 2px 6px rgba(16, 24, 40, .05), 0 24px 48px -16px rgba(16, 24, 40, .24);
  --shadow: var(--sh-2);
  --glass: rgba(250, 251, 253, .78);
  --r-xl: 28px; --r-lg: 22px; --r: 18px; --r-sm: 12px;
  --wrap: 1280px; --gut: 24px; --top-h: 72px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0A0D14; --card: #111622; --sunk: #171D2B; --sunk-2: #212839;
  --line: rgba(255, 255, 255, .07); --line-2: rgba(255, 255, 255, .14);
  --ink: #F2F5FA; --ink2: #C4CBD8; --muted: #8D97AB;
  --brand: #F43F5E; --brand-2: #FB7185; --brand-d: #E11D48;
  --accent: #818CF8; --accent-2: #A78BFA;
  --link: #A5B4FC; --ring: #818CF8; --hl: #1A2036;
  --glow-brand: 0 10px 28px -8px rgba(244, 63, 94, .5);
  --glow-accent: 0 10px 28px -8px rgba(129, 140, 248, .45);
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4);
  --sh-2: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -10px rgba(0, 0, 0, .6);
  --sh-3: 0 2px 6px rgba(0, 0, 0, .45), 0 28px 56px -18px rgba(0, 0, 0, .75);
  --glass: rgba(10, 13, 20, .74);
  color-scheme: dark;
}

/* ── Temel ─────────────────────────────────────────────────── */
html { scroll-padding-top: calc(var(--top-h) + 16px); }
body { font-size: 15.5px; line-height: 1.6; background: var(--bg); color: var(--ink); text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.025em; font-weight: 700; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 10px; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }

/* Dolu canlı degradeler (rozet, ikon kutusu, düğme) */
.g-indigo { background: linear-gradient(135deg, #6E72F5, #4F46E5); --gc: 79, 70, 229; }
.g-blue   { background: linear-gradient(135deg, #3B82F6, #1D4ED8); --gc: 37, 99, 235; }
.g-violet { background: linear-gradient(135deg, #A061F7, #7C3AED); --gc: 124, 58, 237; }
.g-teal   { background: linear-gradient(135deg, #14B8A6, #0F766E); --gc: 13, 148, 136; }
.g-green  { background: linear-gradient(135deg, #22B45C, #15803D); --gc: 22, 163, 74; }
.g-amber  { background: linear-gradient(135deg, #F59E0B, #C2570C); --gc: 217, 119, 6; }
.g-orange { background: linear-gradient(135deg, #FB7A2C, #DC4A0B); --gc: 234, 88, 12; }
.g-red    { background: var(--grad-brand); --gc: 225, 29, 72; }
.g-pink   { background: linear-gradient(135deg, #F0509E, #C81E6A); --gc: 219, 39, 119; }
.g-slate  { background: linear-gradient(135deg, #64748B, #3A475C); --gc: 71, 85, 105; }

/* Düğmeler (admin-ui .btn) */
.btn { border-radius: var(--r-sm); font-weight: 650; min-height: 44px; padding: 10px 18px; letter-spacing: -.005em; transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); }
.btn.g-red { box-shadow: var(--glow-brand); }
.btn.g-indigo { background: var(--grad-accent); box-shadow: var(--glow-accent); }
.btn-lg { min-height: 52px; font-size: 16px; border-radius: 14px; }
.btn-sm { min-height: 36px; border-radius: 10px; }
a.btn, a.btn:hover, .btn { color: #fff; text-decoration: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; background: var(--sunk); border: 1px solid var(--line); color: var(--ink2); font-size: 19px; }
.icon-btn:hover { background: var(--sunk-2); color: var(--ink); filter: none; }

/* Form alanları: 12px köşe, odakta yumuşak halka */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=date], input[type=tel], input[type=url], select, textarea {
  min-height: 46px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background-color: var(--card); color: var(--ink); font-size: 15px; box-shadow: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
select { padding-inline-end: 38px; background-position: right 14px center; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--ink) 28%, transparent); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ring) 22%, transparent); }
.field > label { font-size: 14px; font-weight: 600; color: var(--ink2); }
.opt { border-radius: 999px; padding: 9px 16px; background: var(--card); border: 1px solid var(--line-2); font-weight: 550; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--ink2); }
.opt:has(input:checked) { background: var(--grad-accent); color: #fff; border-color: transparent; box-shadow: var(--glow-accent); }
.hint { color: var(--muted); font-size: 13.5px; }

.card { border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 24px; }
.page-head h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; }
.empty { padding: 56px 20px; }
.empty h3 { font-size: 22px; letter-spacing: -.02em; }
.dlg { border-radius: 24px; box-shadow: var(--sh-3), 0 40px 90px rgba(0, 0, 0, .35); }
.dlg-box { padding: 26px; }
.dlg-box h2 { font-size: 22px; letter-spacing: -.025em; }
.dlg::backdrop { background: rgba(8, 11, 18, .55); backdrop-filter: blur(4px); }
.toast { border-radius: 14px; }
.toast.success { background: linear-gradient(135deg, #22B45C, #15803D); }
.toast.error { background: var(--grad-brand); }
.boot-bar span { background: var(--grad-brand); }

/* ═══ İskelet ═══ */
.site { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.site-main { flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gut) 88px; }
.view-wrap:focus { outline: none; }

/* ═══ Başlık: yapışkan cam ═══ */
.site-head { position: sticky; top: 0; z-index: 60; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); box-shadow: none; }
.sh-row { max-width: var(--wrap); margin: 0 auto; height: 72px; padding: 0 var(--gut); display: flex; align-items: center; gap: 10px; }
.sh-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.sh-brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: var(--sh-1); }
.sh-brand span { font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -.035em; }
.sh-brand span b { font-weight: 800; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh-icon { position: relative; display: inline-grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; color: var(--ink2); font-size: 21px; text-decoration: none; transition: background .15s, color .15s; }
.sh-icon:hover { background: var(--sunk); color: var(--ink); }
.sh-lang { font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.lang-wrap { position: relative; flex: none; }
.lang-menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 70; min-width: 160px; padding: 6px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-2); display: grid; gap: 2px; }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-align: start; cursor: pointer; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--sunk); }
.lang-menu button[aria-checked="true"] { color: var(--brand); }
.sh-burger { display: none; }
.head-ic .dot { position: absolute; top: 9px; inset-inline-end: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px var(--card); }

/* Birincil menü */
.sh-nav { margin-inline-start: 18px; border: 0; background: none; }
.sh-nav-inner { display: flex; align-items: center; gap: 2px; }
.cat-item { position: relative; }
.sn-link { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 12px; color: var(--ink2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.sn-link .caret { font-size: 12px; color: var(--muted); transition: transform .2s var(--ease); }
.sn-link:hover, .cat-item:focus-within > .sn-link { background: var(--sunk); color: var(--ink); }
.sn-link.active { color: var(--ink); }
.sn-link.active::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-inline-start: 2px; }
.cat-item:hover .caret, .cat-item:focus-within .caret { transform: rotate(180deg); }

/* Mega menü kartı */
.mega {
  position: absolute; inset-inline-start: -16px; top: calc(100% + 12px); z-index: 70; width: 780px;
  display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 10px; padding: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985); transform-origin: 20% 0;
  transition: opacity .18s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.mega::before { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 0; top: -14px; height: 14px; }
.mega.mega-sm { width: 680px; }
.cat-item:hover .mega, .cat-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-side { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px; background: var(--sunk); }
.mega-side-ic { width: 46px; height: 46px; border-radius: 14px; font-size: 22px; margin-bottom: 6px; }
.mega-side b { font-family: var(--font-head); font-size: 19px; letter-spacing: -.025em; color: var(--ink); }
.mega-side p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.mega-all { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14px; color: var(--brand); text-decoration: none; }
.mega-all:hover { gap: 10px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; align-content: start; padding: 4px; }
.mega-sm .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-grid a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 550; line-height: 1.25; min-width: 0; transition: background .12s; }
.mega-grid a:hover, .mega-grid a:focus-visible { background: var(--sunk); }
.mega-grid a .sp-icb { width: 32px; height: 32px; border-radius: 10px; font-size: 16px; box-shadow: none; }
.mega-grid a > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Kompakt arama */
.sh-search { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; width: 230px; height: 44px; padding-block: 0 0; padding-inline: 14px 6px; border-radius: 999px; background: var(--sunk); border: 1px solid var(--line); transition: width .25s var(--ease), background .15s, box-shadow .15s, border-color .15s; }
.sh-search > i { color: var(--muted); font-size: 17px; flex: none; }
.sh-search input { flex: 1; min-width: 0; min-height: 0; height: 40px; padding: 0; border: 0; background: transparent; font-size: 14.5px; border-radius: 0; box-shadow: none !important; }
.sh-search select { flex: none; width: auto; min-height: 0; height: 32px; padding-block: 0 0; padding-inline: 10px 26px; border: 0; border-radius: 999px; background-color: var(--card); background-position: right 9px center; font-size: 13px; font-weight: 600; color: var(--ink2); box-shadow: none !important; }
.sh-search:focus-within { width: 320px; background: var(--card); border-color: var(--ring); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ring) 20%, transparent); }
.sh-search.hidden + .sh-actions { margin-inline-start: auto; }

/* Sağ eylemler */
.sh-actions { margin-inline-start: 10px; display: flex; align-items: center; gap: 4px; flex: none; }
.guest-actions { display: flex; align-items: center; gap: 4px; }
.sh-ghost { display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .15s; }
.sh-ghost:hover { background: var(--sunk); }
.sh-signup { border: 1px solid var(--line-2); }
.sh-post { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; margin-inline-start: 6px; border-radius: 12px; background: var(--grad-brand); color: #fff; font-weight: 650; font-size: 15px; text-decoration: none; white-space: nowrap; box-shadow: var(--glow-brand); transition: transform .18s var(--ease), box-shadow .18s; }
.sh-post:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(225, 29, 72, .65); color: #fff; }
.sh-post i { font-size: 17px; }
.me-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-block: 3px 3px; padding-inline: 3px 12px; margin-inline-start: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: 14px; max-width: 220px; transition: box-shadow .15s; }
.me-chip:hover { box-shadow: var(--sh-2); }
.me-chip .avatar.sm { width: 36px; height: 36px; }
.me-chip .me-txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; text-align: start; }
.me-chip .me-txt small { font-size: 11.5px; color: var(--muted); font-weight: 550; }
.me-chip .me-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.me-chip > i { color: var(--muted); font-size: 13px; }
.me-pop { top: calc(100% + 12px); width: 270px; padding: 8px; border-radius: 20px; box-shadow: var(--sh-3); border: 1px solid var(--line); }
.me-pop a, .me-pop button { border-radius: 12px; font-size: 14.5px; font-weight: 550; padding: 10px 12px; color: var(--ink); }
.me-pop-head { padding: 10px 10px 14px; }

/* ═══ Telefon çekmecesi: sağdan tam ekran ═══ */
.drawer-scrim { background: rgba(8, 11, 18, .5); backdrop-filter: blur(3px); }
.sdrawer { inset-inline-start: auto; inset-inline-end: 0; width: min(420px, 100vw); padding: 14px 16px 28px; border-inline-end: 0; border-inline-start: 1px solid var(--line); background: var(--bg); box-shadow: var(--sh-3); transform: translateX(105%); transition: transform .28s var(--ease); overflow-y: auto; border-radius: 0; }
.sdrawer.open { transform: none; }
.sdrawer-head { padding: 2px 0 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.sdrawer-head .sh-icon { background: var(--sunk); }
.dn-auth { display: grid; gap: 8px; padding: 14px 0 6px; }
.dn-head { padding: 18px 6px 6px; font-size: 12.5px; font-weight: 650; letter-spacing: .02em; color: var(--muted); }
.dn-link { gap: 14px; padding: 8px; border-radius: 16px; font-size: 16px; font-weight: 600; color: var(--ink); min-height: 52px; }
.dn-link:hover { background: var(--card); }
.dn-ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink2); flex: none; }
.dn-ic i { font-size: 19px; }
.dn-go { margin-inline-start: auto; color: var(--muted); font-size: 15px !important; }
.dn-link.active { background: var(--card); color: var(--ink); box-shadow: var(--sh-1); }
.dn-link.active .dn-ic { background: var(--grad-brand); color: #fff; border-color: transparent; }
.dn-sep { display: none; }

/* ═══ Footer: koyu, geniş ═══ */
.site-foot { background: #0B0F19; color: #A9B1C2; margin-top: 0; border-top: 0; }
.sf-in { max-width: var(--wrap); margin: 0 auto; padding: 72px var(--gut) 48px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 36px; }
.sf-brand .sh-brand { color: #F2F5FA; }
.sf-brand .sh-brand img { box-shadow: none; }
.sf-brand p { margin: 16px 0 22px; max-width: 340px; font-size: 15px; line-height: 1.6; color: #98A2B6; }
.sf-brand .store-row { justify-content: flex-start; margin-top: 0; }
.sf-col h4 { color: #F2F5FA; font-size: 15px; margin-bottom: 16px; letter-spacing: -.01em; }
.sf-col a { display: block; width: fit-content; color: #A9B1C2; text-decoration: none; font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.sf-col a:hover { color: #fff; }
.sf-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.sf-bottom-in { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gut) 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: #8590A5; }
.sf-bottom a { display: inline-flex; align-items: center; gap: 6px; color: #C4CBD8; text-decoration: none; }
.sf-bottom a:hover { color: #fff; }
.site-foot .sp-store { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.site-foot .sp-store:hover { background: rgba(255, 255, 255, .12); }

/* Mağaza düğmesi (App Store / Google Play) */
.sp-store { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding-block: 0 0; padding-inline: 14px 18px; border-radius: 14px; background: #0B0F19; border: 1px solid #0B0F19; color: #F2F5FA !important; text-decoration: none !important; line-height: 1.1; transition: transform .18s var(--ease), background .15s; }
.sp-store:hover { transform: translateY(-1px); }
.sp-store i { font-size: 24px; }
.sp-store span { display: flex; flex-direction: column; font-weight: 650; font-size: 15px; }
.sp-store small { font-size: 11px; font-weight: 500; opacity: .75; }
:root[data-theme="dark"] .sp-store { background: var(--sunk-2); border-color: var(--line-2); }

/* ═══ Giriş / kayıt: bölünmüş ekran ═══ */
.auth-page { flex: 1; width: 100%; padding: 0; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100dvh - 72px); }
.auth-info {
  position: relative; display: flex; align-items: flex-end; padding: 56px clamp(28px, 5vw, 72px); color: #fff; overflow: hidden; background-color: #0B0F19;
  background-image: linear-gradient(180deg, rgba(11, 15, 25, .25) 0%, rgba(11, 15, 25, .55) 45%, rgba(11, 15, 25, .94) 100%), radial-gradient(900px 500px at 0% 0%, rgba(225, 29, 72, .38), transparent 60%), url('/hero-bg.jpg');
  background-size: cover; background-position: center;
}
.auth-info-in { max-width: 520px; position: relative; }
.auth-info h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -.035em; margin: 18px 0 28px; color: #fff; font-weight: 800; }
.auth-info ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.auth-info li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, .74); line-height: 1.5; }
.auth-info li b { display: block; color: #fff; font-size: 16px; font-weight: 650; margin-bottom: 1px; }
.auth-info li .ibox { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
.auth-info .store-row { justify-content: flex-start; margin: 0; }
.auth-info .sp-store { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(8px); }
.auth-panel { align-self: center; justify-self: center; width: 100%; max-width: 480px; margin: 40px 24px; padding: 36px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.auth-panel .crumbs { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.auth-panel .crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-weight: 550; }
.auth-panel .crumbs a:hover { color: var(--ink); }
.auth-panel .crumbs > i { font-size: 10px; }
.auth-panel h1 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -.035em; font-weight: 800; }
.auth-panel .sub { color: var(--muted); margin: 6px 0 22px; font-size: 15.5px; }
.auth-tabs.tabs-line { display: flex; gap: 4px; padding: 4px; margin: 0 0 20px; background: var(--sunk); border-radius: 14px; border: 0; }
.tabs-line button { flex: 1; height: 42px; border: 0; border-radius: 10px; background: transparent; font-weight: 650; font-size: 15px; color: var(--muted); transition: background .15s, color .15s, box-shadow .15s; margin: 0; }
.tabs-line button:hover { color: var(--ink); }
.tabs-line button.on { background: var(--card); color: var(--ink); box-shadow: var(--sh-2); }
.auth-page .alt-btn { min-height: 50px; border-radius: 14px; background: var(--card); border: 1px solid var(--line-2); font-size: 15px; transition: box-shadow .15s, border-color .15s; }
.auth-page .alt-btn:hover { filter: none; box-shadow: var(--sh-2); border-color: var(--ink2); }
.auth-page .or-sep { margin: 14px 0 18px; font-size: 13px; }
.auth-page .field { margin-bottom: 16px; }
.auth-page .login-error { border-radius: 12px; background: var(--grad-brand); }
.auth-page .link-btn { color: var(--link); font-size: 14.5px; }
.auth-page .legal-note { margin-top: 18px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.auth-page .legal-note a, .auth-page .legal-check a { color: var(--ink); font-weight: 600; }
.auth-page .legal-check input { accent-color: var(--brand); }
.auth-next { text-align: center; margin-top: 12px; }

/* ═══ Hesabım kabuğu ═══ */
.acct { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; align-items: start; }
.acct-side { position: sticky; top: calc(var(--top-h) + 20px); display: flex; flex-direction: column; gap: 2px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.acct-side h3 { padding: 10px 12px 8px; font-size: 13px; font-weight: 650; font-family: var(--font-body); letter-spacing: .01em; color: var(--muted); }
.acct-side a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 14px; color: var(--ink2); text-decoration: none; font-size: 15px; font-weight: 600; transition: background .15s, color .15s; }
.acct-side a i { font-size: 20px; color: var(--muted); }
.acct-side a:hover { background: var(--sunk); color: var(--ink); }
.acct-side a.on { background: var(--grad-brand); color: #fff; box-shadow: var(--glow-brand); }
.acct-side a.on i { color: #fff; }
.acct-side .nav-count { margin-inline-start: auto; background: var(--grad-brand); }
.acct-side a.on .nav-count { background: rgba(255, 255, 255, .25); }
.acct-main { min-width: 0; }
.acct-main .wrap, .acct-main .wrap-narrow { max-width: none; margin: 0; }
.crumbs { font-size: 13.5px; margin-bottom: 12px; }

/* ═══ Duyarlı ═══ */
@media (max-width: 1200px) {
  .sh-search { display: none; }
  .sh-actions { margin-inline-start: auto; }
}
@media (max-width: 1023px) {
  :root { --gut: 20px; --top-h: 64px; }
  .sh-row { height: 64px; gap: 6px; }
  .sh-nav { display: none; }
  .sh-burger { display: inline-grid; order: 10; background: var(--sunk); }
  .me-chip .me-txt, .me-chip > i { display: none; }
  .me-chip { padding: 3px; }
  .acct { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .acct-side { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 18px; }
  .acct-side::-webkit-scrollbar { display: none; }
  .acct-side h3 { display: none; }
  .acct-side a { flex: none; min-height: 40px; white-space: nowrap; font-size: 14.5px; }
  .sf-in { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 56px; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .auth-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .auth-info { display: none; }
  .auth-panel { margin: 24px auto 40px; }
}
@media (max-width: 760px) {
  #themeToggle, .guest-actions { display: none; }
  .site-main { padding: 18px 16px 72px; }
  :root { --gut: 16px; }
  .sf-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 48px 16px 32px; }
}
@media (max-width: 480px) {
  .sh-brand span { font-size: 19px; }
  .sh-brand img { width: 34px; height: 34px; }
  .sh-post { height: 42px; padding: 0 14px; font-size: 14.5px; margin-inline-start: 2px; }
  .sh-post .sh-post-l { display: none; }
  #msgBtn { display: none; }
  .auth-panel { padding: 24px 20px; border-radius: 22px; margin: 12px 0 32px; }
  .sf-in { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 481px) { .sh-post .sh-post-s { display: none; } }
@media (max-width: 380px) {
  .sh-brand { gap: 7px; }
  .sh-brand span { font-size: 16px; }
  .sh-brand img { width: 30px; height: 30px; }
}
/* Üye başlığında (bildirim + profil) logo yazısına yer açmak için: "İlan ver" yalnız + simgesi, simgeler biraz küçük */
@media (max-width: 420px) {
  .sh-actions:has(.me-menu:not(.hidden)) .sh-post .sh-post-s { display: none; }
  .sh-actions:has(.me-menu:not(.hidden)) .sh-post { width: 40px; height: 40px; padding: 0; justify-content: center; margin-inline-start: 0; }
  .sh-actions:has(.me-menu:not(.hidden)) .sh-icon { width: 36px; height: 36px; }
  .sh-actions:has(.me-menu:not(.hidden)) .me-chip { height: 40px; margin-inline-start: 0; }
  .sh-row:has(.me-menu:not(.hidden)) .sh-burger { width: 36px; height: 36px; }
}
/* Çok dar ekranda (≤330 px) yazı sığmaz */
@media (max-width: 330px) {
  .sh-brand span { display: none; }
}

/* Mesajlar: sabit yükseklik */
.chat { height: min(720px, calc(100dvh - 140px)); }
@media (max-width: 1023px) { .chat { height: calc(100dvh - 150px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Başlık araması sıkışmasın */
.sh-search { flex: 0 1 300px; width: auto; min-width: 230px; }
.sh-search:focus-within { width: auto; flex-basis: 380px; }
@media (max-width: 1180px) { .sh-search { min-width: 190px; flex-basis: 220px; } .sh-search select { display: none; } }

/* Sunucunun arama motorları için gömdüğü ilan içeriği (JS açılınca yerini gerçek sayfa alır) */
.seo-pre { max-width: 860px; margin: 24px auto; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; line-height: 1.6; }
.seo-pre h1 { font-size: clamp(26px, 4vw, 38px); margin: 8px 0; }
.seo-pre h2 { font-size: 20px; margin: 18px 0 6px; }
.seo-pre dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; margin: 16px 0; }
.seo-pre dt { font-size: 12.5px; color: var(--muted); }
.seo-pre dd { margin: 0; font-weight: 650; }
.seo-pre img { max-width: 100%; height: auto; border-radius: 14px; }
.seo-pre { color: var(--ink2); overflow-wrap: anywhere; }
.seo-pre h1, .seo-pre h2, .seo-pre h3 { color: var(--ink); font-family: 'Bricolage Grotesque', var(--font, sans-serif); letter-spacing: -.01em; }
.seo-pre h3 { font-size: 16.5px; margin: 14px 0 4px; }
.seo-pre a { color: var(--brand); font-weight: 600; text-decoration: none; }
.seo-pre a:hover { text-decoration: underline; }
.seo-pre .crumbs { font-size: 13px; color: var(--muted); }
.seo-pre .crumbs a { font-weight: 500; color: var(--muted); }
.seo-lead { font-size: 16.5px; color: var(--ink); }
.seo-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.seo-item { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--sunk); }
.seo-item span, .seo-item time { font-size: 13px; color: var(--muted); }
.seo-item em { font-style: normal; font-size: 12px; color: var(--brand); font-weight: 700; }
.seo-links { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; }
.seo-links small { color: var(--muted); font-weight: 600; }
.seo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.seo-tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--sunk-2); color: var(--ink2); }
.seo-tablewrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 14px; }
.seo-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.seo-table caption { caption-side: bottom; text-align: start; padding: 8px 12px; font-size: 12px; color: var(--muted); }
.seo-table th, .seo-table td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
.seo-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--sunk); }
.seo-table tbody th { font-weight: 600; color: var(--ink); }
.seo-table tr:last-child > * { border-bottom: 0; }
.seo-faq .seo-qa { padding: 12px 0; border-bottom: 1px solid var(--line); }
.seo-faq .seo-qa:last-child { border-bottom: 0; }
.seo-faq .seo-qa p { margin: 4px 0 0; }
.seo-more { font-size: 14px; }
.seo-empty { padding: 16px; border-radius: 14px; background: var(--sunk); }
/* Site içinde gösterilen bilgi sayfası (/sss, /rehber/...) ve ilan listesi altındaki bilgi bölümü */
.seo-page .seo-pre { margin: 8px auto 40px; padding: clamp(18px, 4vw, 40px); border-radius: 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -18px rgba(15, 23, 42, .18); }
.sp-hubinfo { max-width: 960px; margin: 32px auto 8px; padding: clamp(18px, 4vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; line-height: 1.6; color: var(--ink2); }
.sp-hubinfo h2, .sp-hubinfo h3 { color: var(--ink); font-family: 'Bricolage Grotesque', sans-serif; }
.sp-hubinfo h2 { font-size: 21px; margin: 20px 0 6px; } .sp-hubinfo h2:first-child { margin-top: 0; }
.sp-hubinfo h3 { font-size: 16.5px; margin: 14px 0 4px; }
.sp-hubinfo a { color: var(--brand); font-weight: 600; text-decoration: none; }
.sp-hubinfo .seo-links small { color: var(--muted); }

/* ═══ Arapça (sağdan sola) ═══
   Boşluk ve konumlar mantıksal özelliklerle (inline-start/end) kendiliğinden döner;
   burada yalnız transform, arka plan konumu ve yön bildiren simgeler var. */
[dir="rtl"] .sdrawer { transform: translateX(-105%); }
[dir="rtl"] select { background-position: left 14px center; }
[dir="rtl"] .sh-search select { background-position: left 9px center; }
[dir="rtl"] .hm-f select { background-position: left 0 center; }
[dir="rtl"] .sp-fswitch input:checked ~ .sp-sw::after { transform: translateX(-18px); }
[dir="rtl"] .onboard .role-card:hover .role-go { transform: translateX(-2px); }
[dir="rtl"] .ph-caret-right, [dir="rtl"] .ph-caret-left, [dir="rtl"] .ph-arrow-right, [dir="rtl"] .ph-arrow-left,
[dir="rtl"] .ph-arrow-up-right, [dir="rtl"] .ph-paper-plane-right, [dir="rtl"] .ph-sign-out { transform: scaleX(-1); }
[dir="rtl"] .sp-page a.jr:hover .jr-go i, [dir="rtl"] .sp-page a.rr:hover .jr-go i { transform: scaleX(-1) translateX(3px); }
/* Kullanıcı metni (ilan başlığı, ad, açıklama) çoğunlukla Türkçe: yönü içeriğe göre belirlensin ki "100 kVA ..." karışmasın. */
[dir="rtl"] :is(.rc-t, .jr-t, .jc-t, .ml-t, .sp-h1, .sp-prose, .sa-who) { unicode-bidi: plaintext; text-align: right; }
