/* TeklifNedir tasarım sistemi.
   Sıra: 1) tokenlar  2) Bootstrap tema geçersiz kılmaları  3) bileşenler (ui-*)
   Yeni stil yazarken önce buradaki tokenları kullan; view içinde inline <style> ve style="" ekleme. */

/* ---------- 0) Yazı tipi: Inter (yerel woff2, latin + latin-ext) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1) Tokenlar (v6: sıcak beyaz zemin, pastel mavi ana işlem, ince çizgi, gölgesiz) ---------- */
:root {
  --brand-50:  #f5f6f7;
  --brand-100: #e7e8e9;
  --brand-500: #3b414b;
  --brand-600: #20242b;
  --brand-700: #15181d;

  --ink:     #20242b;
  --ink-2:   #3b414b;
  --muted:   #737983;
  --line:    #e7e8e9;
  --line-strong: #dde0e3;
  --bg:      #fdfcf9;
  --surface: #ffffff;
  --surface-2: #f5f6f7;      /* ikincil yüzey: rozet, girdi, hover */
  --img-bg: #f0eeea;         /* görsel yer tutucu */
  --on-ink: #ffffff;         /* var(--ink) zeminli seçili öğelerin yazı rengi */

  --accent: #e4ebf6;           /* ana işlem zemini (pastel): Teklif Ver, Ara, İlanı Yayınla, Yeni İlan */
  --accent-hover: #d7e2f2;
  --accent-border: #cbd8ec;
  --on-accent: #374e70;        /* pastel zemin üstündeki yazı */
  --accent-ink: #374e70;       /* bağlantı/vurgu yazısı */

  --success: #2d6a43;  --success-soft: #e5f3ea;
  --warning: #8a4b1f;  --warning-soft: #fbefe6;
  --danger:  #8a4040;  --danger-soft:  #f6ecea;
  --ai:      #5e4d96;  --ai-soft:      #efeaf8;   /* "AI önerisi" etiketi, AI şeritleri */
  --info:    #374e70;          /* bildirim/okunmamış vurgusu */
  --info-soft: #e4ebf6;

  --radius:    8px;
  --radius-sm: 6px;
  --shadow-sm: none;
  --shadow-md: 0 12px 40px rgba(21, 33, 40, .09);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1340px;   /* içerik genişliği: 1920 px ekranda iki yanda ~290 px boşluk */
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eceef1;
  --ink-2: #c9cdd4;
  --muted: #a3a9b3;
  --line: #33363c;
  --line-strong: #43474f;
  --accent: #2c3b55;
  --accent-hover: #34476a;
  --accent-border: #3e5276;
  --on-accent: #dce6f5;
  --accent-ink: #9fb6dc;
  --bg: #1b1c1f;
  --surface: #222428;
  --surface-2: #2a2d32;
  --img-bg: #26282c;
  --on-ink: #15171b;
  --success: #7cc79a;  --success-soft: #1f3328;
  --warning: #e0a878;  --warning-soft: #3a2a1d;
  --danger:  #e39a9a;  --danger-soft:  #3a2425;
  --ai:      #b6a6e6;  --ai-soft:      #2c2740;
  --info: #9fb6dc;
  --info-soft: #2c3b55;
  --brand-50: #2a2d32;
  --brand-100: #33363c;
  --brand-500: #c9cdd4;
  --brand-600: #eceef1;
  --brand-700: #ffffff;
  --shadow-sm: none;
  --shadow-md: 0 12px 40px rgba(0, 0, 0, .34);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-link-color: var(--ink);
  --bs-link-hover-color: var(--accent-ink);
  --bs-card-bg: var(--surface);
}

/* ---------- 2) Bootstrap tema geçersiz kılmaları ---------- */
:root {
  --bs-body-font-family: var(--font);
  --bs-body-font-size: 0.9375rem;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-border-radius: var(--radius-sm);
  --bs-border-radius-lg: var(--radius);
  --bs-link-color: var(--ink);
  --bs-link-hover-color: var(--accent-ink);
  --bs-link-color-rgb: 32, 36, 43;
  --bs-link-hover-color-rgb: 55, 78, 112;
  --bs-primary: var(--accent);
  --bs-primary-rgb: 228, 235, 246;
  --bs-primary-text-emphasis: var(--accent-ink);
  --bs-primary-bg-subtle: var(--accent);
  --bs-primary-border-subtle: var(--accent-border);
  --bs-success: #2d6a43;
  --bs-success-rgb: 45, 106, 67;
  --bs-danger: #8a4040;
  --bs-danger-rgb: 138, 64, 64;
  --bs-warning: #8a4b1f;
  --bs-warning-rgb: 138, 75, 31;
}

html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[data-theme="dark"] body { color-scheme: dark; }
html[data-theme="dark"] .card,
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .list-group-item,
html[data-theme="dark"] .table {
  --bs-card-bg: var(--surface);
  --bs-dropdown-bg: var(--surface);
  color: var(--ink);
  background-color: var(--surface);
  border-color: var(--line);
}
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .input-group-text {
  color: var(--ink);
  background-color: #191b20;
  border-color: #454a54;
}
html[data-theme="dark"] .form-control::placeholder { color: #8d95a3; }
html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus {
  color: var(--ink);
  background-color: #191b20;
}
/* Bootstrap menü değişkenlerini .dropdown-menu üzerinde yeniden tanımlar; html'deki değerler ezilir.
   Üzerine gelme zemini burada token'a bağlanmazsa koyu temada açık zemin + açık yazı olur. */
.dropdown-menu {
  --bs-dropdown-link-hover-bg: var(--surface-2);
  --bs-dropdown-link-hover-color: var(--ink);
  --bs-dropdown-link-active-bg: var(--surface-2);
  --bs-dropdown-link-active-color: var(--ink);
  --bs-dropdown-divider-bg: var(--line);
}
html[data-theme="dark"] .dropdown-menu { --bs-dropdown-color: var(--ink); --bs-dropdown-link-color: var(--ink-2); --bs-dropdown-header-color: var(--muted); }
html[data-theme="dark"] .text-muted { color: var(--muted) !important; }
html[data-theme="dark"] .alert-info { --bs-alert-bg: #1d2b40; --bs-alert-color: #c5d8f6; --bs-alert-border-color: #344d70; }
html[data-theme="dark"] .alert-warning { --bs-alert-bg: #382d17; --bs-alert-color: #f5d894; --bs-alert-border-color: #6a5429; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.015em; font-weight: 600; }

.btn { border-radius: var(--radius-sm); font-weight: 500; }
.btn-primary {
  --bs-btn-color: var(--on-accent);
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent-border);
  --bs-btn-hover-color: var(--on-accent);
  --bs-btn-hover-bg: var(--accent-hover);
  --bs-btn-hover-border-color: var(--accent-border);
  --bs-btn-active-color: var(--on-accent);
  --bs-btn-active-bg: var(--accent-hover);
  --bs-btn-active-border-color: var(--accent-border);
  --bs-btn-disabled-color: var(--muted);
  --bs-btn-disabled-bg: var(--surface-2);
  --bs-btn-disabled-border-color: var(--line);
  --bs-btn-focus-shadow-rgb: 55, 78, 112;
}
.btn-outline-primary {
  --bs-btn-color: var(--on-accent);
  --bs-btn-border-color: var(--accent-border);
  --bs-btn-hover-color: var(--on-accent);
  --bs-btn-hover-bg: var(--accent);
  --bs-btn-hover-border-color: var(--accent-border);
  --bs-btn-active-color: var(--on-accent);
  --bs-btn-active-bg: var(--accent-hover);
  --bs-btn-active-border-color: var(--accent-border);
}
.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--line-strong); }
.form-control:focus, .form-select:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 70%, transparent);
}
.card { --bs-card-bg: var(--surface); border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }   /* Bootstrap varsayılanı sayfa arka planı (gri); kartlar tema yüzeyini kullanır */
.dropdown-menu { border-color: var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: .4rem; }
.dropdown-item { border-radius: 6px; font-size: .9rem; padding: .45rem .7rem; }

/* Eski view'ların kullandığı konteyner */
.tn-wrap { max-width: var(--container); width: 100%; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }

/* ---------- 3) Bileşenler ---------- */
.ui-container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* Header */.ui-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.ui-brand-mark { display: block; flex-shrink: 0; }
.ui-brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.03em; }.ui-link { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .9rem; padding: 8px 12px; border-radius: var(--radius-sm); }
.ui-link:hover { background: var(--surface-2); color: var(--ink); }

.ui-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: var(--radius-sm); border: 1px solid transparent; font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.ui-btn-primary { background: var(--accent); border: 1px solid var(--accent-border); color: var(--on-accent); }
.ui-btn-primary:hover, .ui-btn-primary:focus-visible { background: var(--accent-hover); border-color: var(--accent-border); color: var(--on-accent); }
.ui-btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.ui-btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.ui-corporate-btn { white-space: nowrap; }
.ui-btn-lg { height: 48px; padding: 0 24px; font-size: .95rem; }

/* Bildirim zili / ikon butonları (partials/notifications_bell.php eski adları kullanır) */@media (max-width: 767.98px) {  .ui-brand-name { font-size: 1rem; }
}

/* Hızlı kategori çipleri */
.ui-chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 18px 0 2px; }
.ui-chips::-webkit-scrollbar { display: none; }
.ui-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .9rem; text-decoration: none; transition: border-color .15s, color .15s; }
.ui-chip i { color: var(--brand-600); font-size: .85rem; }
.ui-chip:hover { border-color: var(--brand-500); color: var(--brand-700); }

/* İlanlar / Hizmetler grupları */
.ui-group { padding-top: 26px; scroll-margin-top: 80px; }
.ui-group + .ui-group { margin-top: 18px; border-top: 1px solid var(--line); }
.ui-group-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ui-group-head h2 { font-size: 1.6rem; letter-spacing: -0.03em; margin: 0; }
.ui-group-head span { color: var(--muted); font-size: .92rem; }
.ui-chip.is-strong { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }

/* Bölümler */
.ui-section { padding: 22px 0 0; }
.ui-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ui-section-head h2 { font-size: 1.15rem; margin: 0; }
.ui-section-head p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.ui-more { color: var(--brand-600); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.ui-more:hover { text-decoration: underline; }

/* İlan kartı */
.ui-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1099.98px) { .ui-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .ui-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.ui-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .18s, border-color .18s; }
.ui-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); color: var(--ink); }
.ui-card-link { display: block; flex: 1 1 auto; color: inherit; text-decoration: none; }
.ui-card-link:hover { color: inherit; }
.ui-card-offer { display: block; margin: 0 10px 10px; padding: 7px 10px; border-radius: 8px; background: var(--accent); border: 1px solid var(--accent-border); color: var(--on-accent); font-size: .82rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; }
.ui-card-offer:hover { background: var(--accent-hover); border-color: var(--accent-border); color: var(--on-accent); }
.ui-card-img { position: relative; aspect-ratio: 4 / 3; background: var(--img-bg); overflow: hidden; }
.ui-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-card-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #a3acbc; font-size: 1.6rem; }
.ui-badge { position: absolute; top: 10px; left: 10px; background: var(--surface); color: var(--brand-700); font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.ui-demo-badge { position: absolute; top: 10px; right: 10px; z-index: 1; background: #fff4d6; color: #7a4b00; border: 1px solid #f1d48b; font-size: .68rem; font-weight: 800; letter-spacing: .04em; line-height: 1; padding: 5px 8px; border-radius: 999px; }
.ui-demo-badge-detail { position: static; display: inline-flex; margin: 0 0 8px; }
.ui-demo-badge-inline { position: static; display: inline-flex; flex: 0 0 auto; }
.ui-card-body { padding: 12px 14px 14px; }
.ui-price { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.ui-price.is-muted { font-size: .95rem; font-weight: 600; color: var(--muted); }
.ui-title { margin: 4px 0 8px; font-size: .9rem; line-height: 1.35; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ui-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.ui-meta i { font-size: .72rem; }

/* Yatay satırlar (Netflix düzeni) */
.ui-row { position: relative; }
.ui-row-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 2px; padding: 8px 2px 18px; margin: 0 -2px; scrollbar-width: none; }
.ui-row-track::-webkit-scrollbar { display: none; }
.ui-row .ui-card { flex: 0 0 clamp(150px, 15.5vw, 205px); scroll-snap-align: start; transition: box-shadow .18s, border-color .18s, transform .18s; }
.ui-row .ui-card:hover { transform: scale(1.04); z-index: 2; box-shadow: var(--shadow-md); }
.ui-row .ui-card-body { padding: 9px 11px 11px; }
.ui-row .ui-card-offer { margin: 0 8px 8px; padding: 6px 8px; font-size: .78rem; }
.ui-row .ui-price { font-size: 1rem; }
.ui-row .ui-title { font-size: .84rem; margin: 2px 0 6px; min-height: 0; -webkit-line-clamp: 1; }
.ui-row-btn {
  position: absolute; top: calc(50% - 28px); z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .15s;
}
.ui-row:hover .ui-row-btn, .ui-row-btn:focus-visible { opacity: 1; }
.ui-row-btn.prev { left: -14px; }
.ui-row-btn.next { right: -14px; }
@media (hover: none) { .ui-row-btn { display: none; } }
.ui-meta .ui-views { margin-left: auto; }

/* Boş durum */
.ui-empty { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 36px 20px; text-align: center; color: var(--muted); }
.ui-empty b { display: block; color: var(--ink); margin-bottom: 4px; }

/* Çağrı bandı */
.ui-cta { margin: 44px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 16px; padding: 26px 28px; }
.ui-cta h3 { margin: 0; font-size: 1.15rem; }
.ui-cta p { margin: 4px 0 0; color: var(--ink-2); }

/* Footer */
.ui-footer { margin-top: auto; background: var(--surface); border-top: 1px solid var(--line); }
.ui-footer-main { padding: 40px 0 28px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.ui-footer h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; margin: 0 0 12px; }
.ui-footer a { color: var(--ink-2); text-decoration: none; }
.ui-footer a:hover { color: var(--brand-600); }
.ui-footer-links a { display: block; padding: 4px 0; font-size: .9rem; }
.ui-footer-desc { color: var(--muted); font-size: .9rem; max-width: 34ch; margin-top: 10px; }
.ui-social { display: flex; gap: 8px; flex-wrap: wrap; }
.ui-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
.ui-social a:hover { border-color: var(--brand-500); }
.ui-footer-bottom { border-top: 1px solid var(--line); padding: 16px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .85rem; }
@media (max-width: 767.98px) { .ui-footer-main { grid-template-columns: 1fr 1fr; } .ui-footer-main > :first-child { grid-column: 1 / -1; } }

/* Ortak site kabuğu: üst bar, sol panel ve sağ içerik alanı. */
.ui-home-shell { background: var(--bg); color: var(--ink); }
/* İlan detayında orta alan beyaz (kartlar çerçeveyle ayrılır) */
.ui-home-shell:has(.ui-detail) { background: var(--surface); }.ui-home-shell { --tn-home-sidebar-width: 264px; }.tn-home-sidebar {
  position: fixed; z-index: 1025; top: 65px; bottom: 0; left: 0; width: var(--tn-home-sidebar-width);
  padding: 18px 14px; overflow-y: auto; border-right: 1px solid var(--line); background: var(--surface);
}
.tn-home-trends { margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tn-home-trends:last-child { margin-bottom: 0; border-bottom: 0; }
.tn-home-trends-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.tn-home-trends-head h2 { margin: 0; font-size: .9rem; font-weight: 750; }
.tn-home-trends-head h2 i { margin-right: 5px; color: var(--brand-600); }
.tn-home-trends-head > a { color: var(--muted); font-size: .75rem; text-decoration: none; }
.tn-home-trends-list { display: grid; gap: 2px; }
.tn-home-trends-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 9px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.tn-home-trends-list a:hover { background: var(--bg); }
.tn-home-trends-list b { color: var(--brand-700); font-size: .86rem; }
.tn-home-trends-list span, .tn-home-trends-empty { color: var(--muted); font-size: .73rem; }
.tn-home-trends-empty { margin: 0; padding: 6px 2px; }
.tn-home-history-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.tn-home-history-head h2 { margin: 0; font-size: .9rem; font-weight: 700; }
.tn-home-history-head h2 i { margin-right: 6px; color: var(--muted); }
.tn-home-history-head button { padding: 3px 6px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .75rem; cursor: pointer; }
.tn-home-history-head button:hover { color: var(--brand-600); }
.tn-home-history-empty { margin: 0; color: var(--muted); font-size: .82rem; }
.tn-home-history-list { display: grid; gap: 3px; }
.tn-home-history-list a {
  overflow: hidden; padding: 9px 10px; border-radius: 8px; color: var(--ink-2); font-size: .84rem;
  text-decoration: none; text-overflow: ellipsis; white-space: nowrap;
}
.tn-home-history-list a:hover { background: var(--bg); color: var(--ink); }
.ui-home-shell main.tn-wrap {
  display: flex; flex-direction: column; max-width: none; width: calc(100% - var(--tn-home-sidebar-width));
  margin-left: var(--tn-home-sidebar-width) !important; padding: 8px clamp(16px, 3vw, 48px) 32px !important;
}
.ui-home-shell .ui-footer { width: calc(100% - var(--tn-home-sidebar-width)); margin-left: var(--tn-home-sidebar-width); }
.ui-home-shell .ui-chips { padding-top: 12px; }
.tn-ai-search {
  position: relative; width: min(920px, 100%); margin: 14px auto 4px; padding: 13px 16px 11px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  color: var(--ink); box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
}
.tn-ai-search-copy { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.tn-ai-search-kicker { display: inline-flex; align-items: center; font-size: .88rem; }
.tn-ai-search-kicker i { color: #7d9cff; }
.tn-ai-search-hint { color: var(--muted); font-size: .8rem; }
.tn-ai-search-field { position: relative; flex: 1 1 auto; min-width: 0; }
.tn-ai-photo-select {
  position: absolute; z-index: 1; top: 50%; left: 6px; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; transform: translateY(-50%); border: 0; border-radius: 8px;
  background: transparent; color: var(--ink-2); cursor: pointer;
}
.tn-ai-photo-select:hover, .tn-ai-photo-select:focus-visible { background: var(--surface); color: var(--brand-600); }
.tn-ai-photo-select:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 1px; }
.tn-ai-search-modes {
  position: absolute; top: 50%; right: 6px; display: inline-flex; gap: 2px; padding: 3px;
  transform: translateY(-50%); border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
}
.tn-ai-search-modes button { border: 0; border-radius: 999px; padding: 5px 10px; background: transparent; color: var(--ink-2); font: inherit; font-size: .76rem; font-weight: 650; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.tn-ai-search-modes button:not(.is-active):hover { background: var(--surface-2); color: var(--ink); }
.tn-ai-search-modes button.is-active { background: var(--brand-600); color: var(--on-ink); }
.tn-ai-search form { display: flex; align-items: center; gap: 10px; }
.tn-ai-search input[type="text"] {
  width: 100%; min-width: 0; height: 44px; padding: 0 150px 0 46px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); background: var(--bg); font: inherit; outline: none;
}
.tn-ai-search input[type="text"]::placeholder { color: var(--muted); }
.tn-ai-search input[type="text"]:focus { border-color: #6f8fff; box-shadow: 0 0 0 3px rgba(90, 124, 255, .18); }
.tn-ai-search .ui-btn { flex: 0 0 auto; width: 44px; padding: 0; }
.tn-ai-search-examples { display: flex; gap: 7px; overflow-x: auto; margin-top: 8px; scrollbar-width: none; }
.tn-ai-search-examples::-webkit-scrollbar { display: none; }
.tn-ai-search-examples button {
  flex: 0 0 auto; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink-2); font: inherit; font-size: .72rem; cursor: pointer;
}
.tn-ai-search-examples button:hover { color: var(--ink); border-color: var(--muted); }
.tn-ai-search-status { padding: 7px 2px 0; color: var(--brand-600); font-size: .82rem; }
.tn-ai-search-status.is-error { color: var(--danger); }
.tn-ai-search-status a { color: var(--brand-600); text-decoration: underline; }
.tn-settings-dialog {
  width: min(1100px, calc(100vw - 40px)); max-width: none; height: min(850px, calc(100vh - 40px));
  max-height: none; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}
.tn-settings-dialog::backdrop { background: rgba(15, 22, 35, .48); backdrop-filter: blur(3px); }
.tn-settings-panel { display: flex; flex-direction: column; height: 100%; }
.tn-settings-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; min-height: 54px; padding: 8px 18px; border-bottom: 1px solid var(--line); }
.tn-settings-header h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.tn-settings-close { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); cursor: pointer; }
.tn-settings-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); flex: 1 1 auto; min-height: 0; }
.tn-settings-tabs { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-right: 1px solid var(--line); background: var(--bg); }
.tn-settings-tab { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: .9rem; text-align: left; cursor: pointer; }
.tn-settings-tab i { width: 18px; color: var(--muted); text-align: center; }
.tn-settings-tab:hover { background: var(--surface); }
.tn-settings-tab.is-active { background: var(--brand-50); color: var(--brand-700); font-weight: 700; }
.tn-settings-tab.is-active i { color: var(--brand-700); }
.tn-settings-content { display: flex; min-width: 0; min-height: 0; overflow: auto; padding: 24px; }
.tn-settings-section { width: 100%; }
.tn-settings-section[data-settings-panel="account"] { flex: 1 1 auto; min-height: 0; }
.tn-settings-section h3 { margin: 0 0 8px; font-size: 1.25rem; }
.tn-settings-eyebrow { margin: 0 0 5px; color: var(--brand-700); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tn-settings-description { max-width: 520px; margin: 0 0 20px; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.tn-settings-options { max-width: 560px; }
.tn-settings-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.tn-settings-option>span { display: flex; flex-direction: column; gap: 4px; }
.tn-settings-option strong { font-size: .85rem; }
.tn-settings-option small { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.tn-settings-option input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--brand-600); cursor: pointer; }
.tn-settings-option input:disabled { cursor: wait; }
.tn-settings-save-status { flex: 0 0 auto; min-height: 18px; margin: 0; padding: 0 24px 12px; color: var(--muted); font-size: .76rem; }
.tn-settings-save-status.is-error { color: var(--danger); }
.tn-chat-compact .chat-message-row { margin-bottom: .35rem !important; }
.tn-chat-compact .chat-message-bubble { padding: .4rem .65rem !important; }
.tn-settings-frame { display: block; width: 100%; height: 100%; min-height: 0; border: 0; background: var(--surface); }
.tn-settings-info,.tn-settings-choice-row { display: flex; align-items: center; gap: 12px; max-width: 520px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tn-settings-info>i { color: color-mix(in srgb, var(--success) 70%, var(--ink)); }
.tn-settings-info>div,.tn-settings-choice-row>div { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.tn-settings-info strong,.tn-settings-choice-row strong { font-size: .85rem; }
.tn-settings-info small,.tn-settings-choice-row small { color: var(--muted); font-size: .78rem; }
.tn-settings-info>span { color: var(--success); font-size: .78rem; font-weight: 700; }
.tn-settings-action,.tn-settings-choice-row button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--brand-700); font: inherit; font-size: .82rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.tn-settings-action:hover,.tn-settings-choice-row button:hover { border-color: var(--brand-500); background: var(--brand-50); }
.tn-settings-choice-row button { margin: 0; }
html[data-theme="dark"] .tn-settings-dialog { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .tn-settings-tabs { background: var(--bg); border-color: var(--line); }
html[data-theme="dark"] .tn-settings-tab:hover { background: var(--surface); }
html[data-theme="dark"] .tn-settings-tab.is-active { background: #0f2c38; color: #9fe3f7; }
html[data-theme="dark"] .tn-settings-tab.is-active i { color: #9fe3f7; }
@media (max-width: 767.98px) {
  .tn-settings-dialog { width: calc(100vw - 12px); height: calc(100vh - 16px); border-radius: 12px; }
  .tn-settings-layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .tn-settings-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 7px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tn-settings-tab { gap: 7px; padding: 8px 7px; font-size: .75rem; }
  .tn-settings-content { padding: 17px 13px; }
  .tn-settings-save-status { padding: 0 13px 10px; }
  .tn-settings-section[data-settings-panel="account"] { min-height: 0; }
}
/* ---------- Topluluk akışı (Twitter benzeri 2 sütun: akış + sağ kenar) ---------- */
.tn-cx { --cx-hover: color-mix(in srgb, var(--ink) 3.5%, transparent); --cx-like: #f0336d; --cx-top: 65px;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; width: 100%; max-width: 1200px; margin: 10px auto 48px; }
.tn-cx-main { position: relative; min-width: 0; min-height: calc(100vh - 110px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.tn-cx-head { position: sticky; z-index: 30; top: var(--cx-top); border-bottom: 1px solid var(--line); border-radius: 20px 20px 0 0;
  background: color-mix(in srgb, var(--surface) 86%, transparent); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
.tn-cx-head-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px 10px; }
.tn-cx-head-text { flex: 1; min-width: 0; }
.tn-cx-head-row.is-bare { justify-content: flex-end; }
@media (min-width: 1200px) { .tn-cx-head-row.is-bare { display: none; } } /* geniş ekranda arama sağ sütunda: satır boş kalır */
.tn-cx-head h1 { margin: 0; overflow: hidden; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.tn-cx-head p { margin: 1px 0 0; overflow: hidden; color: var(--muted); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.tn-cx-head-search { display: none; align-items: center; gap: 4px; margin: 0; }
.tn-cx-head-search input { width: 130px; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--ink); font: inherit; font-size: .82rem; }
.tn-cx-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.tn-cx-tabs::-webkit-scrollbar { display: none; }
.tn-cx-tabs a { position: relative; flex: 1 0 auto; padding: 13px 14px 14px; color: var(--muted); font-size: .9rem; font-weight: 600; text-align: center; text-decoration: none; transition: background .15s; }
.tn-cx-tabs a:hover { background: var(--cx-hover); color: var(--ink); }
.tn-cx-tabs a.is-active { color: var(--ink); font-weight: 800; }
.tn-cx-tabs a.is-active span { position: relative; }
.tn-cx-tabs a.is-active span::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: max(56px, 100%); height: 4px; border-radius: 4px; background: var(--brand-600); transform: translateX(-50%); }

.tn-cx-icon-btn { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.tn-cx-icon-btn:hover { background: var(--cx-hover); color: var(--ink); }
.tn-cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, opacity .15s; }
.tn-cx-btn:hover { background: var(--surface-2); border-color: var(--ink); color: var(--ink); }
.tn-cx-btn:disabled { opacity: .5; cursor: default; }
.tn-cx-btn.is-ghost { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.tn-cx-btn.is-ghost:hover { background: var(--cx-hover); }
.tn-cx-btn.is-sm { height: 32px; padding: 0 14px; font-size: .8rem; }
[data-cx-follow-label].is-following { border-color: var(--line-strong); background: transparent; color: var(--ink); }

/* Avatar */
.tn-cx-avatar { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 44px; height: 44px; overflow: hidden; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-100), color-mix(in srgb, var(--brand-500) 35%, var(--brand-100))); color: var(--brand-700); font-weight: 800; text-decoration: none; }
.tn-cx-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tn-cx-avatar.is-sm { width: 32px; height: 32px; font-size: .8rem; }

/* Paylaşım kutusu */
.tn-cx-composer { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; margin: 0; padding: 12px 18px 8px; border-bottom: 1px solid var(--line); }
.tn-cx-composer textarea { display: block; width: 100%; min-height: 0; height: 42px; padding: 9px 0 4px; border: 0; outline: 0; resize: none; background: transparent; color: var(--ink); font: inherit; font-size: 1.12rem; line-height: 1.45; }
.tn-cx-composer textarea::placeholder { color: var(--muted); }
.tn-cx-composer.is-active textarea { min-height: 72px; }
.tn-cx-composer.is-busy { opacity: .65; pointer-events: none; }
.tn-cx-composer-main { min-width: 0; }
.tn-cx-composer-bar { display: flex; align-items: center; gap: 10px; padding-top: 4px; border-top: 1px solid transparent; transition: border-color .15s; }
.tn-cx-composer.is-active .tn-cx-composer-bar { border-top-color: var(--line); }
.tn-cx-tools { display: flex; flex: 1; gap: 2px; margin-left: -8px; }
.tn-cx-tool { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0; border: 0; border-radius: 50%; background: transparent; color: var(--brand-600); cursor: pointer; transition: background .15s; }
.tn-cx-tool:hover, .tn-cx-tool.is-on { background: var(--brand-50); }
.tn-cx-tool.is-disabled { opacity: .4; pointer-events: none; }
.tn-cx-tool input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tn-cx-counter { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.tn-cx-counter.is-warn { color: #d97706; }
.tn-cx-counter.is-over { color: var(--danger); font-weight: 700; }
.tn-cx-msg { font-size: .8rem; }
.tn-cx-msg.is-error { padding-top: 6px; color: var(--danger); }
.tn-cx-attach { padding: 4px 0 8px; }
.tn-cx-attach select { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: .85rem; }
.tn-cx-previews { display: grid; gap: 6px; margin: 4px 0 10px; }
.tn-cx-previews[hidden] { display: none; }
.tn-cx-previews.is-2, .tn-cx-previews.is-3, .tn-cx-previews.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tn-cx-preview { position: relative; overflow: hidden; border-radius: 14px; background: var(--img-bg); aspect-ratio: 16 / 10; }
.tn-cx-previews.is-1 .tn-cx-preview { aspect-ratio: auto; max-height: 360px; }
.tn-cx-preview img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; }
.tn-cx-preview button { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(15, 22, 35, .72); color: #fff; cursor: pointer; }
.tn-cx-join-inline { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.tn-cx-join-inline div { display: grid; gap: 3px; }
.tn-cx-join-inline span { color: var(--muted); font-size: .84rem; }

/* Gönderi */
.tn-cx-post { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 12px 18px 4px; border-bottom: 1px solid var(--line); transition: background .15s; }
.tn-cx-post[data-cx-href] { cursor: pointer; }
.tn-cx-post[data-cx-href]:hover { background: var(--cx-hover); }
.tn-cx-post.is-new { animation: tnCxIn .45s ease-out; }
.tn-cx-post.is-removing { opacity: 0; transform: scale(.98); transition: opacity .25s, transform .25s; }
@keyframes tnCxIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tn-cx-post-main { min-width: 0; }
.tn-cx-post-head { display: flex; align-items: flex-start; gap: 8px; }
.tn-cx-who { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 2px 5px; min-width: 0; padding-top: 1px; font-size: .9rem; line-height: 1.35; }
.tn-cx-name { overflow: hidden; max-width: 100%; color: var(--ink); font-weight: 750; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
a.tn-cx-name:hover { color: var(--ink); text-decoration: underline; }
.tn-cx-verified { color: var(--brand-600); font-size: .82rem; }
.tn-cx-handle, .tn-cx-dot, .tn-cx-time, .tn-cx-who time { color: var(--muted); font-size: .86rem; text-decoration: none; white-space: nowrap; }
.tn-cx-time:hover { color: var(--muted); text-decoration: underline; }
.tn-cx-chip { padding: 1px 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .7rem; font-weight: 700; }
.tn-cx-body { margin: 2px 0 8px; color: var(--ink); font-size: .97rem; line-height: 1.55; overflow-wrap: anywhere; }
.tn-cx-body.is-clamped { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 8; }
.tn-cx-more { margin: -6px 0 10px; padding: 0; border: 0; background: none; color: var(--brand-600); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.tn-community-hashtag, .tn-cx-mention { color: var(--brand-600); font-weight: 600; text-decoration: none; }
.tn-community-hashtag:hover, .tn-cx-mention:hover { text-decoration: underline; }

/* Menü */
.tn-cx-menu { position: relative; margin: -6px -8px 0 0; }
.tn-cx-menu .tn-cx-icon-btn { width: 34px; height: 34px; color: var(--muted); }
.tn-cx-menu .tn-cx-icon-btn:hover { background: var(--brand-50); color: var(--brand-600); }
.tn-cx-menu-pop { position: absolute; z-index: 40; top: 100%; right: 0; min-width: 240px; padding: 6px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-md); cursor: default; }
.tn-cx-menu-pop form { margin: 0; }
.tn-cx-menu-pop button, .tn-cx-menu-pop a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.tn-cx-menu-pop button:hover, .tn-cx-menu-pop a:hover { background: var(--cx-hover); }
.tn-cx-menu-pop i { width: 18px; color: var(--muted); text-align: center; }
.tn-cx-menu-pop .is-danger, .tn-cx-menu-pop .is-danger i { color: var(--danger); }
.tn-cx-menu-pop .tn-community-report { margin: 0; }
.tn-cx-menu-pop .tn-community-report .me-1 { margin: 0 !important; }

/* Fotoğraflar */
.tn-cx-media { display: grid; gap: 2px; overflow: hidden; margin: 0 0 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.tn-cx-media.is-2, .tn-cx-media.is-3, .tn-cx-media.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); aspect-ratio: 16 / 9; }
.tn-cx-media.is-3, .tn-cx-media.is-4 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.tn-cx-media.is-3 .tn-cx-media-item:first-child { grid-row: span 2; }
.tn-cx-media-item { display: block; min-height: 0; padding: 0; border: 0; background: var(--img-bg); cursor: zoom-in; }
.tn-cx-media-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tn-cx-media.is-1 .tn-cx-media-item img { height: auto; max-height: 560px; }

/* Bağlı ilan */
.tn-cx-listing { display: flex; align-items: center; gap: 12px; overflow: hidden; margin: 0 0 10px; padding-right: 14px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.tn-cx-listing:hover { border-color: var(--brand-500); background: var(--surface); color: var(--ink); }
.tn-cx-listing-thumb { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 84px; height: 84px; background: var(--brand-50); color: var(--brand-600); font-size: 1.2rem; }
.tn-cx-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tn-cx-listing-text { display: grid; flex: 1; gap: 2px; min-width: 0; }
.tn-cx-listing-text small { color: var(--muted); font-size: .74rem; }
.tn-cx-listing-text b { overflow: hidden; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.tn-cx-listing-text em { color: var(--brand-700); font-size: .86rem; font-style: normal; font-weight: 800; }
.tn-cx-listing > i { color: var(--muted); font-size: .8rem; }

/* Eylem çubuğu */
.tn-cx-actions { display: flex; align-items: center; justify-content: space-between; max-width: 400px; margin: 0 0 0 -9px; color: var(--muted); }
.tn-cx-actions form { margin: 0; }
.tn-cx-act { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 9px 0 0; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: .82rem; font-variant-numeric: tabular-nums; text-decoration: none; cursor: pointer; transition: color .15s; }
.tn-cx-act i { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: .98rem; transition: background .15s; }
.tn-cx-act.is-reply:hover { color: var(--brand-600); }
.tn-cx-act.is-reply:hover i { background: var(--brand-50); }
.tn-cx-act.is-like:hover, .tn-cx-act.is-liked { color: var(--cx-like); }
.tn-cx-act.is-like:hover i { background: color-mix(in srgb, var(--cx-like) 12%, transparent); }
.tn-cx-act.is-save:hover, .tn-cx-act.is-saved, .tn-cx-act.is-share:hover { color: var(--brand-600); }
.tn-cx-act.is-save:hover i, .tn-cx-act.is-share:hover i { background: var(--brand-50); }
.tn-cx-act.is-pop i { animation: tnCxPop .35s ease-out; }
@keyframes tnCxPop { 40% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* Yorumlar */
.tn-cx-comments { display: grid; gap: 8px; }
.tn-cx-comments:not(:empty) { padding: 4px 0 8px; }
.tn-cx-comment { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; cursor: default; }
.tn-cx-comment.is-new { animation: tnCxIn .4s ease-out; }
.tn-cx-comment.is-highlight .tn-cx-comment-bubble { box-shadow: 0 0 0 2px var(--brand-500); }
.tn-cx-comment-main { min-width: 0; }
.tn-cx-comment-bubble { display: inline-block; max-width: 100%; padding: 7px 12px 8px; border-radius: 4px 16px 16px 16px; background: var(--surface-2); }
.tn-cx-comment-bubble .tn-cx-who { font-size: .82rem; }
.tn-cx-comment-bubble .tn-cx-handle, .tn-cx-comment-bubble time, .tn-cx-comment-bubble .tn-cx-dot { font-size: .76rem; }
.tn-cx-comment-body { color: var(--ink); font-size: .88rem; line-height: 1.45; overflow-wrap: anywhere; }
.tn-cx-comment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 2px 0 0 10px; color: var(--muted); font-size: .75rem; }
.tn-cx-comment-actions form { margin: 0; }
.tn-cx-comment-actions button, .tn-cx-comment-actions .tn-community-report { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 2px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .75rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.tn-cx-comment-actions button:hover, .tn-cx-comment-actions .tn-community-report:hover { color: var(--ink); }
.tn-cx-comment-actions button.is-liked { color: var(--cx-like); }
.tn-cx-replies:not(:empty) { display: grid; gap: 8px; margin: 8px 0 2px; padding-left: 12px; border-left: 2px solid var(--line); }
.tn-cx-all-comments { display: inline-block; margin: 0 0 8px; color: var(--brand-600); font-size: .84rem; font-weight: 600; text-decoration: none; }
.tn-cx-all-comments:hover { text-decoration: underline; }
.tn-cx-comment-form { display: flex; gap: 8px; margin: 0; padding: 4px 0 10px; }
.tn-cx-comment-form[hidden] { display: none; }
.tn-cx-comment-form input { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; outline: 0; background: var(--surface); color: var(--ink); font: inherit; font-size: .86rem; }
.tn-cx-comment-form input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-50); }
.tn-cx-comment-form button { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 1px solid var(--ink); color: var(--ink); cursor: pointer; }

/* Gönderi sayfası */
.tn-cx-post.is-detail { grid-template-columns: 48px minmax(0, 1fr); padding-top: 16px; }
.tn-cx-post.is-detail .tn-cx-avatar { width: 48px; height: 48px; }
.tn-cx-post.is-detail .tn-cx-body { margin-top: 8px; font-size: 1.14rem; line-height: 1.55; }
.tn-cx-detail-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.tn-cx-detail-meta b { color: var(--ink); }
.tn-cx-post.is-detail .tn-cx-actions { max-width: none; padding: 2px 0; }
.tn-cx-reply-box { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.tn-cx-reply-box textarea { width: 100%; min-height: 38px; padding: 8px 0; border: 0; outline: 0; resize: none; background: transparent; color: var(--ink); font: inherit; font-size: .98rem; }
.tn-cx-reply-box.is-inline { margin-top: 6px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tn-cx-thread { display: grid; gap: 14px; padding: 14px 18px 6px; }
.tn-cx-thread:empty { display: none; }

/* Akış durumu */
.tn-cx-new-pill { position: sticky; z-index: 25; top: calc(var(--cx-top) + 104px); display: flex; align-items: center; gap: 6px; margin: 10px auto -46px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: .84rem; font-weight: 700; box-shadow: 0 6px 20px color-mix(in srgb, var(--brand-600) 40%, transparent); cursor: pointer; }
.tn-cx-new-pill[hidden] { display: none; }
.tn-cx-pager { position: relative; display: flex; justify-content: center; padding: 18px; }
.tn-cx-pager.is-loading a { visibility: hidden; }
.tn-cx-pager.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border: 3px solid var(--brand-100); border-top-color: var(--brand-600); border-radius: 50%; animation: tnCxSpin .8s linear infinite; }
@keyframes tnCxSpin { to { transform: rotate(360deg); } }
.tn-cx-end { margin: 0; padding: 22px 18px 26px; color: var(--muted); font-size: .84rem; text-align: center; }
.tn-cx-end a { color: var(--brand-600); text-decoration: none; }
.tn-cx-empty { display: grid; justify-items: center; gap: 8px; padding: 56px 24px; text-align: center; }
.tn-cx-empty > i { color: var(--brand-600); font-size: 1.8rem; }
.tn-cx-empty b { font-size: 1.05rem; }
.tn-cx-empty span { max-width: 40ch; color: var(--muted); font-size: .86rem; }
.tn-cx-empty a { color: var(--brand-600); font-size: .86rem; font-weight: 600; text-decoration: none; }

/* Sağ sütun */
.tn-cx-aside { position: sticky; top: calc(var(--cx-top) + 10px); display: grid; gap: 16px; max-height: calc(100vh - var(--cx-top) - 20px); overflow-y: auto; scrollbar-width: none; }
.tn-cx-aside::-webkit-scrollbar { display: none; }
.tn-cx-search { position: relative; margin: 0; }
.tn-cx-search i { position: absolute; top: 50%; left: 16px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.tn-cx-search input { width: 100%; height: 44px; padding: 0 16px 0 44px; border: 1px solid transparent; border-radius: 999px; outline: 0; background: var(--surface-2); color: var(--ink); font: inherit; font-size: .9rem; }
.tn-cx-search input:focus { border-color: var(--brand-500); background: var(--surface); }
.tn-cx-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.tn-cx-card h2 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.tn-cx-card p { margin: 0 0 12px; color: var(--muted); font-size: .86rem; }
.tn-cx-join .tn-cx-btn { width: 100%; margin-top: 6px; }
.tn-cx-me-head { display: flex; align-items: center; gap: 10px; }
.tn-cx-me-head div { display: grid; min-width: 0; }
.tn-cx-me-head b { overflow: hidden; font-size: .95rem; text-overflow: ellipsis; white-space: nowrap; }
.tn-cx-me-head span { color: var(--muted); font-size: .82rem; }
.tn-cx-me-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0 10px; }
.tn-cx-me-stats div { padding: 8px 6px; border-radius: 12px; background: var(--surface-2); text-align: center; }
.tn-cx-me-stats dt { color: var(--muted); font-size: .7rem; font-weight: 600; }
.tn-cx-me-stats dd { margin: 0; font-size: 1rem; font-weight: 800; }
.tn-cx-me-links { display: grid; gap: 2px; margin: 0 -8px; }
.tn-cx-me-links a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; }
.tn-cx-me-links a:hover { background: var(--cx-hover); color: var(--ink); }
.tn-cx-me-links i { width: 18px; color: var(--muted); text-align: center; }
.tn-cx-suggest { display: grid; gap: 4px; margin: 0 -8px; padding: 0; list-style: none; }
.tn-cx-suggest li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.tn-cx-suggest li:hover { background: var(--cx-hover); }
.tn-cx-suggest form { margin: 0; }
.tn-cx-suggest-who { display: grid; flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.tn-cx-suggest-who:hover { color: var(--ink); }
.tn-cx-suggest-who b { overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.tn-cx-suggest-who span { overflow: hidden; color: var(--muted); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.tn-cx-foot { margin: 0; padding: 0 8px; color: var(--muted); font-size: .74rem; line-height: 1.6; }
.tn-cx-foot a { color: var(--muted); }

/* Bildirim ve fotoğraf görüntüleyici */
.tn-cx-toast { position: fixed; z-index: 2000; left: 50%; bottom: 28px; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-md); opacity: 0; transform: translate(-50%, 16px); transition: opacity .2s, transform .2s; pointer-events: none; }
.tn-cx-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.tn-cx-toast.is-error { background: var(--danger); color: #fff; }
.tn-cx-lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(5, 7, 12, .93); }
.tn-cx-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.tn-cx-lightbox::backdrop { background: rgba(5, 7, 12, .6); }
.tn-cx-lightbox img { max-width: min(94vw, 1400px); max-height: 88vh; border-radius: 6px; object-fit: contain; }
.tn-cx-lb-close, .tn-cx-lb-nav { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.1rem; cursor: pointer; }
.tn-cx-lb-close:hover, .tn-cx-lb-nav:hover { background: rgba(255, 255, 255, .24); }
.tn-cx-lb-close { top: 16px; left: 16px; }
.tn-cx-lb-nav.is-prev { left: 16px; top: 50%; margin-top: -22px; }
.tn-cx-lb-nav.is-next { right: 16px; top: 50%; margin-top: -22px; }
.tn-cx-lightbox.is-single .tn-cx-lb-nav { display: none; }
.tn-cx-lb-count { position: absolute; bottom: 18px; left: 50%; color: rgba(255, 255, 255, .8); font-size: .85rem; transform: translateX(-50%); }

@media (max-width: 1199.98px) {
  .tn-cx { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
  .tn-cx-aside { display: none; }
  .tn-cx-head-search { display: flex; }
}
@media (max-width: 767.98px) {
  .tn-cx { --cx-top: 0px; margin: 6px auto 24px; }
  .tn-cx-main { min-height: 0; border-radius: 16px; }
  .tn-cx-head { position: static; border-radius: 16px 16px 0 0; }
  .tn-cx-head-row { padding: 10px 14px 8px; }
  .tn-cx-head-search input { width: 96px; }
  .tn-cx-tabs a { padding: 12px 12px 13px; font-size: .84rem; }
  .tn-cx-tabs a.is-active span::after { bottom: -13px; }
  .tn-cx-composer, .tn-cx-post { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding-left: 14px; padding-right: 14px; }
  .tn-cx-avatar { width: 38px; height: 38px; }
  .tn-cx-composer textarea { font-size: 1rem; }
  .tn-cx-thread, .tn-cx-reply-box { padding-left: 14px; padding-right: 14px; }
  .tn-cx-new-pill { top: 12px; }
  .tn-cx-listing-thumb { width: 68px; height: 68px; }
  .tn-cx-lb-nav { display: none; }
}

/* Site geneli duyuru bandı (Yönetim → Duyurular) */
.tn-announce { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: .84rem; border-bottom: 1px solid var(--line); background: #eef2ff; color: #1e3a8a; }
.tn-announce.is-success { background: #ecfdf5; color: #065f46; }
.tn-announce.is-warning { background: #fffbeb; color: #92400e; }
.tn-announce-body { flex: 1; min-width: 0; }
.tn-announce-body b { margin-right: 6px; }
.tn-announce a { color: inherit; font-weight: 700; }
.tn-announce-x { border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; opacity: .6; cursor: pointer; }
[data-theme="dark"] .tn-announce { background: #1e2547; color: #c7d2fe; }
[data-theme="dark"] .tn-announce.is-success { background: #0f2e25; color: #a7f3d0; }
[data-theme="dark"] .tn-announce.is-warning { background: #33270d; color: #fde68a; }html[data-theme="dark"] .ui-home-shell .ui-brand { color: #f5f5f1; }
html[data-theme="dark"] .ui-home-shell .ui-link:hover { background: var(--surface-2); color: #fff; }
html[data-theme="dark"] .ui-home-shell .ui-link { color: #dedede; }
html[data-theme="dark"] .ui-home-shell .ui-chip,
html[data-theme="dark"] .ui-home-shell .ui-card,
html[data-theme="dark"] .ui-home-shell .ui-empty { background: var(--surface); border-color: var(--line); color: #f5f5f1; }
html[data-theme="dark"] .ui-home-shell .ui-chip:hover,
html[data-theme="dark"] .ui-home-shell .ui-card:hover { border-color: #55575d; color: #fff; }
html[data-theme="dark"] .ui-home-shell .ui-chip i,
html[data-theme="dark"] .ui-home-shell .ui-section-head h2,
html[data-theme="dark"] .ui-home-shell .ui-group-head h2,
html[data-theme="dark"] .ui-home-shell .ui-empty b { color: #f5f5f1; }
html[data-theme="dark"] .ui-home-shell .ui-group-head span,
html[data-theme="dark"] .ui-home-shell .ui-section-head p,
html[data-theme="dark"] .ui-home-shell .ui-title,
html[data-theme="dark"] .ui-home-shell .ui-meta,
html[data-theme="dark"] .ui-home-shell .ui-empty { color: #b7b8bb; }
html[data-theme="dark"] .ui-home-shell .ui-card-img { background: var(--img-bg); }
html[data-theme="dark"] .ui-home-shell .ui-badge { background: #e50914; color: #fff; }
html[data-theme="dark"] .ui-home-shell .ui-row-btn { background: var(--surface-2); color: #fff; border-color: var(--line-strong); }
html[data-theme="dark"] .ui-home-shell .ui-group + .ui-group { border-color: var(--line); }
html[data-theme="dark"] .ui-home-shell .ui-cta { background: #1a2030; border-color: #2c3c6d; }
html[data-theme="dark"] .ui-home-shell .ui-cta p { color: #c5cad5; }
html[data-theme="dark"] .ui-home-shell .ui-footer { background: var(--bg); border-color: var(--line); color: #f5f5f1; }
html[data-theme="dark"] .ui-home-shell .ui-footer .ui-brand { color: #f5f5f1; }
html[data-theme="dark"] .ui-home-shell .ui-footer h6 { color: #a9abb1; }
html[data-theme="dark"] .ui-home-shell .ui-footer a { color: #c4c5c8; }
html[data-theme="dark"] .ui-home-shell .ui-footer a:hover { color: #fff; }
html[data-theme="dark"] .ui-home-shell .ui-footer-desc,
html[data-theme="dark"] .ui-home-shell .ui-footer-bottom { color: #92949a; }
html[data-theme="dark"] .ui-home-shell .ui-footer-bottom { border-color: var(--line); }
html[data-theme="dark"] .tn-ai-search { border-color: var(--line-strong); background: var(--surface); color: #f5f5f1; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
html[data-theme="dark"] .tn-ai-search input[type="text"] { border-color: var(--line-strong); color: #fff; background: var(--surface-2); }
html[data-theme="dark"] .tn-ai-search input[type="text"]::placeholder { color: #92949a; }
html[data-theme="dark"] .tn-ai-search-hint { color: #a9abb1; }
html[data-theme="dark"] .tn-ai-search-modes { border-color: var(--line-strong); background: var(--surface-2); }
html[data-theme="dark"] .tn-ai-search-modes button { color: #c4c5c8; }
html[data-theme="dark"] .tn-ai-search-modes button.is-active { color: var(--on-ink); }
html[data-theme="dark"] .tn-ai-search-examples button { border-color: #393a3f; color: #c4c5c8; }
html[data-theme="dark"] .tn-ai-search-examples button:hover { color: #fff; border-color: #777a83; }
html[data-theme="dark"] .tn-ai-search-status { color: #9fe3f7; }
html[data-theme="dark"] .tn-ai-search-status.is-error { color: #ffaaa5; }
html[data-theme="dark"] .tn-ai-search-status a { color: #fff; }
html[data-theme="dark"] .tn-home-sidebar { background: var(--bg); border-color: var(--line); }
html[data-theme="dark"] .tn-home-history-list a { color: #c4c5c8; }
html[data-theme="dark"] .tn-home-history-list a:hover { background: var(--surface-2); color: #fff; }@media (max-width: 767.98px) {
  .tn-home-sidebar { position: static; width: auto; max-height: none; margin: 10px 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
  .tn-home-trends { margin-bottom: 12px; padding-bottom: 10px; }
  .tn-home-trends-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-home-trends-list a { display: grid; gap: 1px; }
  .tn-home-history-list { display: flex; overflow-x: auto; }
  .tn-home-history-list a { flex: 0 0 auto; max-width: 210px; }
  .ui-home-shell .ui-brand { position: absolute; left: 16px; }  .ui-corporate-btn span { display: none; }
  .tn-ai-search { padding: 11px 12px 9px; border-radius: 14px; }
  .tn-ai-search-copy { flex-wrap: wrap; gap: 2px 8px; margin-bottom: 6px; }
  .tn-ai-search-hint { font-size: .73rem; }
  .tn-ai-search input[type="text"] { height: 42px; padding: 0 132px 0 42px; font-size: .82rem; }
  .tn-ai-photo-select { left: 4px; width: 32px; height: 32px; }
  .tn-ai-search-modes { right: 4px; gap: 0; padding: 2px; }
  .tn-ai-search-modes button { padding: 5px 7px; font-size: .69rem; }
  .tn-ai-search .ui-btn { width: 42px; height: 42px; padding: 0; }
  .tn-ai-search-examples { margin-top: 6px; }
  .ui-home-shell main.tn-wrap { width: 100%; margin-left: auto !important; padding-bottom: 32px !important; }
    .ui-home-shell .ui-footer { width: 100%; margin-left: 0; }
}/* Yapay zeka: ilan inceleme paneli */
.ui-ai-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ui-ai-ico { color: var(--brand-600); margin-right: 4px; }
.ui-ai-result { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ui-ai-result[hidden] { display: none; }
.ui-ai-loading { color: var(--muted); }
.ui-ai-error { color: var(--danger); }
.ui-ai-summary { font-size: 1rem; margin: 0 0 14px; color: var(--ink); }
.ui-ai-price { border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.ui-ai-price.v-below_market { background: #ecf8f2; border-color: #bfe6d3; }
.ui-ai-price.v-unusually_low { background: #fff1f0; border-color: #f5c2bd; }
.ui-ai-price.v-above_market { background: #fff4ec; border-color: #f6d3b8; }
.ui-ai-price.v-fair { background: var(--brand-50); border-color: var(--brand-100); }
.ui-ai-verdict { font-weight: 650; }
.ui-ai-pcomment { margin-top: 4px; color: var(--ink-2); font-size: .92rem; }
.ui-ai-pfacts { margin-top: 6px; color: var(--muted); font-size: .8rem; }
.ui-ai-sec { margin-bottom: 14px; }
.ui-ai-sec-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; margin-bottom: 6px; }
.ui-ai-list { margin: 0; padding-left: 1.1rem; }
.ui-ai-list li { margin-bottom: 4px; color: var(--ink-2); }
.ui-ai-sec.warn .ui-ai-list li::marker { color: #d97706; }
.ui-ai-sec.ok .ui-ai-list li::marker { color: color-mix(in srgb, var(--success) 70%, var(--ink)); }
.ui-ai-note { margin-top: 12px; }

/* ---------- İlan detayı (.ui-detail) ---------- */
.ui-detail { padding-top: 6px; }
.ui-d-title { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.95rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; margin: 0 0 12px; }
.ui-d-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ui-d-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; color: var(--ink-2); }
.ui-d-meta i { color: var(--muted); font-size: .74rem; }
.ui-d-price-inline { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 12px; }
.ui-d-price-inline .is-muted { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* Eylem satırı (favori, yazdır, paylaş) */
.ui-detail #listingActionsRow { margin-bottom: 16px !important; gap: 8px 18px !important; }
.ui-detail #listingActionsRow .btn-link.text-muted { color: var(--ink-2) !important; font-size: .88rem; font-weight: 600; }
.ui-detail #listingActionsRow .btn-link.text-muted:hover { color: var(--brand-600) !important; }
.tn-share-btn { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.tn-share-btn:hover { color: var(--brand-600); border-color: var(--brand-500); background: var(--brand-50); }

/* Galeri */
.ui-gallery { position: relative; border-radius: 16px; overflow: hidden; background: var(--img-bg); aspect-ratio: 16 / 10; margin-bottom: 12px; }
.ui-gallery .carousel-inner, .ui-gallery .carousel-item { height: 100%; }
.ui-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-gallery .carousel-control-prev, .ui-gallery .carousel-control-next { width: 64px; opacity: 1; }
.ui-gallery .carousel-control-prev-icon, .ui-gallery .carousel-control-next-icon { width: 40px; height: 40px; border-radius: 50%; background-color: rgba(15, 22, 35, .55); background-size: 45%; transition: background-color .15s; }
.ui-gallery .carousel-control-prev:hover .carousel-control-prev-icon, .ui-gallery .carousel-control-next:hover .carousel-control-next-icon { background-color: rgba(15, 22, 35, .8); }
.ui-gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(15, 22, 35, .66); color: #fff; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.ui-thumbs { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 18px; padding: 2px 2px 6px; scrollbar-width: thin; }
.ui-thumbs button { flex: 0 0 88px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--img-bg); opacity: .72; cursor: pointer; transition: opacity .15s, border-color .15s; }
.ui-thumbs button:hover { opacity: 1; }
.ui-thumbs button.is-active { border-color: var(--brand-600); opacity: 1; }
.ui-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-gallery-empty { aspect-ratio: 16 / 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 16px; color: #a3acbc; margin-bottom: 18px; font-size: .9rem; }
.ui-gallery-empty i { font-size: 2rem; }
@media (max-width: 767.98px) { .ui-gallery { aspect-ratio: 4 / 3; border-radius: 12px; } .ui-gallery .carousel-control-prev, .ui-gallery .carousel-control-next { width: 48px; } .ui-thumbs button { flex-basis: 72px; height: 54px; } }

/* Kartlar ve bölüm başlıkları */
.ui-detail .card { border-radius: var(--radius); }
.ui-detail .card-body { padding: 18px 20px; }
.ui-detail .card h5 { font-size: 1.05rem; font-weight: 650; margin-bottom: 12px; }
.ui-detail .card div[style*="pre-wrap"] { line-height: 1.7; color: var(--ink-2); }
.ui-soft { background: var(--brand-50); border-color: var(--brand-100); box-shadow: none; }
.ui-detail .badge { border-radius: 999px; font-weight: 600; }
.ui-detail .badge.bg-success { background-image: none; }

/* Özellikler */
/* İlan detayı bölümleri: sekme çubuğu, özellikler, açıklama, sorular ve yorumlar */
.ui-dnav { display: flex; gap: 4px; overflow-x: auto; margin: 16px 0 14px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); scrollbar-width: none; }
.ui-dnav::-webkit-scrollbar { display: none; }
.ui-dnav a { display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 7px; padding: 9px 14px; border-radius: 10px; color: var(--ink-2); font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.ui-dnav a:hover { background: var(--surface-2); color: var(--ink); }
.ui-dnav a i { color: var(--muted); font-size: .82rem; }
.ui-dnav a b { min-width: 20px; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: .72rem; }
.ui-dsec { scroll-margin-top: 80px; margin-bottom: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.ui-dsec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ui-dsec-head h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 1.12rem; font-weight: 750; letter-spacing: -.015em; }
.ui-dsec-head h2 i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); color: var(--brand-600); font-size: .85rem; }
.ui-dsec-count { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: .76rem; font-weight: 700; }
.ui-dsec-sub { margin: -6px 0 14px; color: var(--muted); font-size: .84rem; }
.ui-dsec-empty { margin: 0; color: var(--muted); }
#konum { scroll-margin-top: 80px; }

/* Öne çıkan özellikler */
.ui-spec-hl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.ui-spec-hl.is-1, .ui-spec-hl.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ui-spec-hl.is-3, .ui-spec-hl.is-5, .ui-spec-hl.is-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ui-spec-hl-item { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ui-spec-hl-item i { margin-bottom: 6px; color: var(--brand-600); font-size: 1.05rem; }
.ui-spec-hl-item b { overflow: hidden; color: var(--ink); font-size: 1rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.ui-spec-hl-item span { color: var(--muted); font-size: .74rem; font-weight: 600; }

/* Bilgi tablosu */
.ui-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.ui-spec { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 2px; border-bottom: 1px dashed var(--line); }
.ui-spec dt { display: inline-flex; flex: 0 0 auto; align-items: baseline; gap: 8px; max-width: 55%; margin: 0; color: var(--muted); font-size: .84rem; font-weight: 600; }
.ui-spec dt i { width: 15px; color: color-mix(in srgb, var(--muted) 70%, transparent); font-size: .76rem; text-align: center; }
.ui-spec dd { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.ui-more { margin-top: 4px; }
.ui-more > summary { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--brand-700); font-size: .84rem; font-weight: 700; list-style: none; cursor: pointer; user-select: none; }
.ui-more > summary::-webkit-details-marker { display: none; }
.ui-more > summary:hover { border-color: var(--brand-500); }
.ui-more > summary i { font-size: .72rem; transition: transform .2s; }
.ui-more[open] > summary i { transform: rotate(180deg); }
.ui-more .is-open, .ui-more[open] .is-closed { display: none; }
.ui-more[open] .is-open { display: inline; }
.ui-more[open] > summary { order: 2; }
.ui-more[open] { display: flex; flex-direction: column; align-items: flex-start; }
.ui-more[open] > .ui-specs, .ui-more[open] > .ui-cmt { width: 100%; }

/* Çok değerli listeler (donanım, hizmet kapsamı...) */
.ui-spec-list { margin-top: 18px; }
.ui-spec-list h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .92rem; font-weight: 750; }
.ui-spec-list h3 i { color: var(--brand-600); }
.ui-spec-list ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ui-spec-list li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .84rem; font-weight: 600; }
.ui-spec-list li i { color: var(--success); font-size: .72rem; }

/* Açıklama */
.ui-desc { color: var(--ink-2); font-size: .97rem; line-height: 1.75; overflow-wrap: anywhere; }
.ui-desc.is-long { position: relative; max-height: 300px; overflow: hidden; }
.ui-desc.is-long::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, var(--surface)); pointer-events: none; }
.ui-desc-toggle { position: absolute; opacity: 0; pointer-events: none; }
.ui-desc-toggle:checked + .ui-desc.is-long { max-height: none; }
.ui-desc-toggle:checked + .ui-desc.is-long::after { display: none; }
.ui-desc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--brand-700); font-size: .84rem; font-weight: 700; cursor: pointer; user-select: none; }
.ui-desc-more:hover { border-color: var(--brand-500); }
.ui-desc-more i { font-size: .72rem; transition: transform .2s; }
.ui-desc-more .is-open, .ui-desc-toggle:checked ~ .ui-desc-more .is-closed { display: none; }
.ui-desc-toggle:checked ~ .ui-desc-more .is-open { display: inline; }
.ui-desc-toggle:checked ~ .ui-desc-more i { transform: rotate(180deg); }
.ui-desc-toggle:focus-visible ~ .ui-desc-more { outline: 2px solid var(--brand-500); outline-offset: 2px; }

/* Sorular ve yorumlar */
.ui-cmts { display: grid; gap: 14px; }
.ui-cmt { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
.ui-cmt-avatar { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--brand-100), color-mix(in srgb, var(--brand-500) 35%, var(--brand-100))); color: var(--brand-700); font-weight: 800; text-decoration: none; }
.ui-cmt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ui-cmt-main { min-width: 0; padding: 10px 14px 10px; border-radius: 4px 16px 16px 16px; border: 1px solid var(--line); background: var(--surface); }
.ui-cmt.is-seller .ui-cmt-main { border-color: var(--brand-500); }
.ui-cmt.is-pending .ui-cmt-main { opacity: .75; }
.ui-cmt-main header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 3px; }
.ui-cmt-name { color: var(--ink); font-size: .88rem; font-weight: 750; text-decoration: none; }
a.ui-cmt-name:hover { color: var(--ink); text-decoration: underline; }
.ui-cmt-main time { margin-left: auto; color: var(--muted); font-size: .76rem; }
.ui-cmt-badge { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 999px; background: var(--brand-600); color: var(--on-ink); font-size: .68rem; font-weight: 700; }
.ui-cmt-badge.is-warn { background: #fef3c7; color: #92400e; }
.ui-cmt-body { color: var(--ink); font-size: .92rem; line-height: 1.55; overflow-wrap: anywhere; }
.ui-cmt-main footer { margin-top: 4px; }
.ui-cmt-report { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .74rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.ui-cmt-report:hover { color: var(--danger); }
.ui-cmts-more[open] { gap: 14px; }
.ui-cmts-more > summary { justify-self: start; }
.ui-cmts-empty { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border: 1px dashed var(--line-strong); border-radius: 14px; text-align: center; }
.ui-cmts-empty i { color: var(--brand-600); font-size: 1.5rem; }
.ui-cmts-empty b { font-size: .95rem; }
.ui-cmts-empty span { color: var(--muted); font-size: .84rem; }
.ui-cmt-form { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ui-cmt-form textarea { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 14px; outline: 0; resize: vertical; background: var(--surface); color: var(--ink); font: inherit; font-size: .92rem; }
.ui-cmt-form textarea:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-50); }
.ui-cmt-send { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ink); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.ui-cmt-send:hover { background: var(--surface-2); border-color: var(--ink); color: var(--ink); }
.ui-cmt-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .88rem; }
.ui-cmt-note a { font-weight: 700; }
@media (max-width: 575.98px) {
  .ui-dsec { padding: 16px; border-radius: 14px; }
  .ui-specs { grid-template-columns: 1fr; }
  .ui-spec-hl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-cmt-form { grid-template-columns: minmax(0, 1fr); }
  .ui-cmt-form .ui-cmt-avatar { display: none; }
  .ui-cmt-send { justify-self: end; }
}

/* Sağ sütun */
.ui-price-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
.ui-price-value { font-size: 2.05rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-top: 4px; }
.ui-price-value.is-muted { font-size: 1.1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.ui-d-side { display: grid; gap: 14px; }
.ui-d-side > .card, .ui-side-card { margin: 0 !important; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.ui-d-side > .card.card-body { padding: 18px; }
.ui-d-side > .card h5, .ui-side-card h5 { margin: 0 0 12px; font-size: 1rem; font-weight: 750; }
.ui-side-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ui-side-title h5 { margin: 0 !important; }
.ui-side-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .72rem; font-weight: 700; }
.ui-side-chip.is-ok { background: #e7f6ee; color: color-mix(in srgb, var(--success) 70%, var(--ink)); }
.ui-side-chip.is-warn { background: #fef3c7; color: #92400e; }
.ui-side-chip.is-bad { background: #fdecea; color: var(--danger); }
.ui-side-chip.is-feat { background: #fff4d6; color: #a16207; }
html[data-theme="dark"] .ui-side-chip.is-ok { background: #123326; }
html[data-theme="dark"] .ui-side-chip.is-warn, html[data-theme="dark"] .ui-side-chip.is-feat { background: #3a2c0c; color: #fcd34d; }
html[data-theme="dark"] .ui-side-chip.is-bad { background: #3b1513; color: #fca5a5; }

/* Eski Bootstrap düğmeleri (teklif kutuları) kart diliyle uyumlu */
.ui-d-side > .card .btn { border-radius: 12px; font-weight: 650; }
.ui-d-side > .card .btn-outline-secondary { border-color: var(--line-strong); color: var(--ink-2); }
.ui-d-side > .card .btn-outline-secondary:hover { background: var(--surface); border-color: var(--brand-500); color: var(--brand-700); }
.ui-d-side > .card .form-control { border-radius: 12px; }

/* Ortak düğmeler */
.ui-side-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: .86rem; font-weight: 650; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.ui-side-btn:hover { border-color: var(--brand-500); color: var(--brand-700); }
.ui-side-btn i { font-size: .85rem; }
.ui-side-btn.is-primary { background: var(--surface); border: 1px solid var(--ink); color: var(--ink); }
.ui-side-btn.is-primary:hover { background: var(--surface-2); border-color: var(--ink); color: var(--ink); }
.ui-side-btn.is-on { border-color: var(--brand-500); color: var(--brand-700); }
.ui-side-btn.is-feat i { color: #f59e0b; }
.ui-side-btn.is-feat:hover { border-color: #f59e0b; color: var(--ink); }
.ui-side-btn.is-static { cursor: default; }
.ui-side-btn.is-wide { width: 100%; }
.ui-link-btn { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .78rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.ui-link-btn:hover { color: var(--danger); }

/* Fiyat kartı */
.ui-price-top { display: flex; align-items: center; gap: 8px; }
.ui-price-top .ui-price-label { margin-right: auto; }
.ui-price-sub { margin-top: 2px; color: var(--muted); font-size: .84rem; font-weight: 600; }
.ui-side-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }
.ui-side-stats div { display: grid; justify-items: center; gap: 1px; padding: 9px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.ui-side-stats i { color: var(--muted); font-size: .8rem; }
.ui-side-stats b { font-size: .98rem; font-weight: 750; }
.ui-side-stats span { color: var(--muted); font-size: .7rem; font-weight: 600; }
.ui-price-foot { margin-top: 10px; color: var(--muted); font-size: .76rem; }
.ui-price-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 14px; }

/* Satıcı kartı */
.ui-seller-seen { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: .74rem; font-weight: 600; }
.ui-seller-seen i { color: var(--success); font-size: .45rem; }
.ui-seller-head { display: flex; align-items: center; gap: 12px; }
.ui-seller-avatar { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: linear-gradient(135deg, var(--brand-100), color-mix(in srgb, var(--brand-500) 35%, var(--brand-100))); color: var(--brand-700); font-size: 1.2rem; font-weight: 800; text-decoration: none; }
.ui-seller-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ui-seller-who { display: grid; min-width: 0; }
.ui-seller-name { overflow: hidden; color: var(--ink); font-size: 1rem; font-weight: 750; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
a.ui-seller-name:hover { color: var(--brand-700); }
.ui-seller-who > span { color: var(--muted); font-size: .8rem; }
.ui-seller-who .ui-seller-rating { color: var(--ink); font-weight: 700; }
.ui-seller-rating i { color: #f59e0b; }
.ui-seller-rating small { color: var(--muted); font-weight: 500; }
.ui-seller-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.ui-seller-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .74rem; font-weight: 600; }
.ui-seller-badges li i { color: var(--muted); }
.ui-seller-badges li.is-ok { color: color-mix(in srgb, var(--success) 70%, var(--ink)); }
.ui-seller-badges li.is-ok i { color: color-mix(in srgb, var(--success) 70%, var(--ink)); }
.ui-seller-company { margin-top: 8px; color: var(--muted); font-size: .82rem; }
.ui-seller-actions { display: grid; gap: 8px; margin-top: 14px; }
.ui-seller-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ui-seller-row form { margin: 0; }
.ui-phone-reveal.is-shown { border-color: var(--success); color: var(--success); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.ui-seller-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.ui-seller-links form { margin: 0; }
.ui-seller-note { margin: 12px 0 0; color: var(--muted); font-size: .8rem; }

/* İlan sahibi: yönetim */
.ui-manage-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.ui-manage-stats div { display: grid; justify-items: center; padding: 8px 2px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.ui-manage-stats b { font-size: 1.02rem; font-weight: 800; }
.ui-manage-stats span { color: var(--muted); font-size: .66rem; font-weight: 600; }
.ui-manage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.ui-manage-grid form { margin: 0; }
.ui-manage-tips { margin-top: 14px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.ui-manage-tips.is-done { display: flex; align-items: center; gap: 8px; color: var(--success); font-size: .84rem; font-weight: 650; }
.ui-manage-tips-head { display: flex; justify-content: space-between; font-size: .84rem; }
.ui-manage-tips-head span { color: var(--brand-700); font-weight: 800; }
.ui-manage-bar { height: 6px; margin: 8px 0 10px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.ui-manage-bar i { display: block; height: 100%; border-radius: 999px; background: var(--brand-600); }
.ui-manage-tips ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ui-manage-tips li { display: flex; gap: 8px; color: var(--ink-2); font-size: .8rem; line-height: 1.4; }
.ui-manage-tips li i { margin-top: 2px; color: var(--brand-600); }

/* Güvenli alışveriş */
.ui-safety h5 { display: flex; align-items: center; gap: 8px; }
.ui-safety h5 i { color: color-mix(in srgb, var(--success) 70%, var(--ink)); }
.ui-safety ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .8rem; line-height: 1.45; }
.ui-safety li::marker { color: color-mix(in srgb, var(--success) 70%, var(--ink)); }

/* Teklif kutusu: eski yeşil çerçeveli buton marka birincil düğmesi */
.ui-d-side #teklif .btn-outline-success { background: var(--surface); border: 1px solid var(--ink); color: var(--ink); font-weight: 600; padding: .6rem 1rem; }
.ui-d-side #teklif .btn-outline-success:hover { background: var(--surface-2); border-color: var(--ink); color: var(--ink); }
.ui-d-side #teklif .btn-outline-success:disabled { opacity: .55; }

/* Mobil alt eylem çubuğu */
.tn-bottombar { position: fixed; left: 0; right: 0; bottom: env(safe-area-inset-bottom); z-index: 1040; padding: 10px 0; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
@media (max-width: 991.98px) { .ui-detail { padding-bottom: 76px; } }

/* Bildirim (toast) */
.tn-toast { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 99999; background: #111827; color: #fff; padding: 12px 14px; border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25); display: flex; gap: 10px; align-items: center; max-width: min(360px, calc(100vw - 32px)); opacity: 0; transform: translateY(10px);
  pointer-events: none; transition: opacity .18s ease, transform .18s ease; font-size: 14px; border-left: 6px solid rgba(255, 255, 255, .18); }
.tn-toast.show { opacity: 1; transform: translateY(0); }
.tn-toast.success { border-left-color: #22c55e; }
.tn-toast.warn { border-left-color: #f59e0b; }
.tn-toast.error { border-left-color: #9ca3af; }
.tn-toast .ico { width: 26px; height: 26px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .12); font-weight: 800; flex: 0 0 26px; }
.tn-toast .msg { line-height: 1.2; }
.tn-toast .x { margin-left: auto; cursor: pointer; opacity: .85; pointer-events: auto; padding: 2px 8px; border-radius: 10px; }
.tn-toast .x:hover { opacity: 1; background: rgba(255, 255, 255, .10); }

/* ---------- Arama ve kategori sayfaları ---------- */
.ui-s-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 4px 0 16px; }
.ui-s-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 700; letter-spacing: -0.025em; margin: 0; }
.ui-s-count { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.ui-s-count b { color: var(--ink); }
.ui-s-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ui-sort { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .85rem; color: var(--muted); }
.ui-sort select { height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); appearance: none; -webkit-appearance: none; padding: 0 34px 0 12px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E") no-repeat right 12px center; font-size: .88rem; color: var(--ink); font-weight: 600; cursor: pointer; }
.ui-sort select:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(17, 17, 17, .1); }

/* Aktif filtre çipleri */
.ui-fchips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.ui-fchip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700); font-size: .82rem; font-weight: 600; text-decoration: none; }
.ui-fchip span { opacity: .7; font-weight: 700; }
.ui-fchip:hover { background: var(--brand-100); color: var(--brand-700); }
.ui-fclear { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.ui-fclear:hover { color: var(--danger); }

/* Yerleşim: filtre paneli + sonuçlar */
.ui-s-layout { display: flex; gap: 24px; align-items: flex-start; }
.ui-s-main { flex: 1; min-width: 0; }
.ui-filters { width: 272px; flex: 0 0 272px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
.ui-filters-head { display: none; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ui-filters-head h2 { font-size: 1.1rem; margin: 0; }
.ui-filters-x { border: 0; background: var(--surface-2); width: 34px; height: 34px; border-radius: 50%; color: var(--ink-2); }
.ui-filter-sec { padding: 14px 0; border-top: 1px solid var(--line); }
.ui-filter-sec:first-of-type { border-top: 0; padding-top: 0; }
.ui-filter-sec h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; margin: 0 0 10px; }
.ui-filters .form-control, .ui-filters .form-select { font-size: .9rem; }
.ui-minmax { display: flex; align-items: center; gap: 8px; }
.ui-minmax span { color: var(--muted); }
.ui-check { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); margin: 0 0 8px; cursor: pointer; }
.ui-check input { width: 17px; height: 17px; accent-color: var(--brand-600); }
.ui-filter-actions { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Kategori ağacı */
.ui-cat-p { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 0; border: 0; background: transparent; font-weight: 650; font-size: .92rem; color: var(--ink); text-align: left; cursor: pointer; }
.ui-cat-p .ch { font-size: .7rem; color: var(--muted); transition: transform .15s; }
.ui-cat-p[aria-expanded="true"] .ch { transform: rotate(180deg); }
.ui-cat-kids { padding: 0 0 8px 10px; border-left: 2px solid var(--line); margin-left: 2px; }
.ui-cat-kids a { display: block; padding: 5px 8px; font-size: .88rem; color: var(--ink-2); text-decoration: none; border-radius: 6px; }
.ui-cat-kids a:hover { background: var(--surface-2); color: var(--ink); }
.ui-cat-kids a.on { background: var(--brand-50); color: var(--brand-700); font-weight: 650; }

/* Sonuç kartları (liste düzeni) */
.ui-rlist { display: flex; flex-direction: column; gap: 14px; }
.ui-rcard { display: flex; gap: 18px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: box-shadow .18s, border-color .18s; }
.ui-rcard:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); color: var(--ink); }
.ui-rcard-img { position: relative; flex: 0 0 240px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--img-bg); display: flex; align-items: center; justify-content: center; color: #a3acbc; font-size: 1.8rem; }
.ui-rcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-rcard-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 2px 4px 2px 0; }
.ui-rcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ui-rcard-title { font-size: 1.05rem; font-weight: 650; line-height: 1.35; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ui-rcard-price { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.ui-rcard-price.is-muted { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ui-rchips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-rchips span { padding: 3px 10px; background: var(--surface-2); border-radius: 999px; font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.ui-rcard-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .84rem; color: var(--muted); }
.ui-rcard-foot span { display: inline-flex; align-items: center; gap: 6px; }
.ui-rcard-foot i { font-size: .74rem; }
.ui-owner { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 600; color: var(--ink-2); }
.ui-owner img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
@media (max-width: 767.98px) {
  .ui-rcard { gap: 12px; padding: 10px; }
  .ui-rcard-img { flex-basis: 118px; align-self: flex-start; }
  .ui-rcard-top { flex-direction: column; gap: 4px; }
  .ui-rcard-title { font-size: .95rem; }
  .ui-rcard-price { font-size: 1.05rem; }
  .ui-owner { margin-left: 0; }
}

/* Sayfalama */
.ui-pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 26px 0 6px; }
.ui-pager a, .ui-pager .gap { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--ink-2); }
.ui-pager a { background: var(--surface); border: 1px solid var(--line); }
.ui-pager a:hover { border-color: var(--brand-500); color: var(--brand-700); }
.ui-pager a.on { background: var(--accent); border-color: var(--accent-border); color: var(--on-accent); }
.ui-pager .gap { color: var(--muted); }

.ui-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* Mobil: filtre paneli soldan açılan çekmece */
.ui-filters-overlay { display: none; }
@media (max-width: 991.98px) {
  .ui-filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 92vw); max-height: none; z-index: 1060; border-radius: 0 16px 16px 0; transform: translateX(-104%); transition: transform .22s ease; box-shadow: var(--shadow-md); }
  .ui-filters-head { display: flex; }
  .ui-filters-overlay { display: block; position: fixed; inset: 0; background: rgba(15, 22, 35, .5); z-index: 1055; opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.filters-open { overflow: hidden; }
  body.filters-open .ui-filters { transform: none; }
  body.filters-open .ui-filters-overlay { opacity: 1; pointer-events: auto; }
  .ui-s-layout { display: block; }
}

/* Kategori sayfası */
.ui-c-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 16px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ui-c-bar .form-control, .ui-c-bar .form-select { height: 40px; font-size: .9rem; }
.ui-c-bar .grow { flex: 1 1 220px; }
.ui-c-bar .mid { flex: 0 1 160px; }
.ui-c-bar .sm { flex: 0 1 120px; }
.ui-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ui-subcats a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .88rem; font-weight: 600; text-decoration: none; }
.ui-subcats a:hover { border-color: var(--brand-500); color: var(--brand-700); }
.ui-subcats a small { color: var(--muted); font-weight: 500; margin-left: 4px; }

.ui-rcard-snippet { font-size: .88rem; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767.98px) { .ui-rcard-snippet { display: none; } }

/* İlan verme: yapay zeka taslağı */
.ui-ai-draft-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.ui-ai-filled { background-color: var(--brand-50) !important; border-color: var(--brand-100) !important; }
.tn-create-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.tn-create-method { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 112px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface, var(--surface)); color: var(--ink); text-align: left; }
.tn-create-method i { color: var(--brand-600); font-size: 1.15rem; }
.tn-create-method span { color: var(--muted); font-size: .82rem; }
.tn-create-method.is-active { border-color: var(--brand-600); box-shadow: 0 0 0 2px var(--brand-100); }
.tn-create-method-panel { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface, var(--surface)); }
.tn-create-method-panel[hidden] { display: none; }
@media (max-width: 640px) {
  .tn-create-method-grid { grid-template-columns: 1fr; }
  .tn-create-method { min-height: auto; }
}

/* Ana sayfa: simge şeridi (Airbnb tarzı), kenarlıksız fotoğraf odaklı kartlar */
body:has(.ui-home) { background: var(--surface); }
.ui-home { max-width: 1360px; margin: 0 auto; }
.ui-cats { position: sticky; top: 64px; z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px 0 0; margin: 0 -2px; background: var(--surface); border-bottom: 1px solid var(--line); }
.ui-cats::-webkit-scrollbar { display: none; }
.ui-cats a { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 76px; padding: 10px 14px 11px; color: var(--muted); font-size: .78rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.ui-cats a i { font-size: 1.3rem; }
.ui-cats a:hover { color: var(--ink); border-bottom-color: #cfd4de; }
.ui-cats a.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.ui-feed { margin-top: 26px; }
.ui-feed-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ui-feed-bar h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.ui-more { color: var(--ink); text-decoration: underline; font-weight: 600; font-size: .9rem; }
.ui-feed-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 18px; transition: opacity .15s; }
.ui-feed-grid.is-loading { opacity: .45; }
.ui-feed-foot { display: flex; justify-content: center; padding: 30px 0 10px; }
.ui-feed-foot [hidden] { display: none; }
.ui-feed-all { font-weight: 600; text-decoration: underline; color: var(--ink); }
.ui-home-note { margin: 40px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }

/* kartlar: çerçevesiz, köşe yumuşak yalnızca fotoğrafta */
.ui-home .ui-card { border: 0; background: transparent; border-radius: 0; box-shadow: none; overflow: visible; }
.ui-home .ui-card:hover { box-shadow: none; }
.ui-home .ui-card-img { border-radius: 12px; }
.ui-home .ui-card-img img { transition: transform .3s; }
.ui-home .ui-card:hover .ui-card-img img { transform: scale(1.03); }
.ui-home .ui-card-body { padding: 10px 2px 0; }
.ui-home .ui-price { font-size: 1.02rem; }
.ui-home .ui-title { font-size: .9rem; margin: 2px 0 4px; min-height: 0; -webkit-line-clamp: 1; color: var(--ink); }
.ui-home .ui-meta { font-size: .82rem; }
.ui-home .ui-meta .ui-ago { margin-left: auto; }
.ui-home .ui-badge { top: 8px; left: 8px; border-radius: 6px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .72rem; padding: 3px 8px; box-shadow: none; }
@media (max-width: 1299.98px) { .ui-feed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1049.98px) { .ui-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .ui-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } .ui-cats { top: 0; } .ui-cats a { min-width: 68px; padding: 8px 10px 9px; } }
.ui-feed-empty { grid-column: 1 / -1; color: var(--muted); padding: 30px 0; text-align: center; }
.ui-vitrin[hidden] { display: none; }

/* Ana sayfa: açık + keskin (ince çizgi, küçük köşe, tabular rakam, mono etiket) */
.ui-eyebrow-mono { display: block; font-size: .78rem; font-weight: 600; color: var(--brand-600); margin-bottom: 2px; }
.ui-home .ui-feed-bar h2 { font-size: 1.35rem; letter-spacing: -0.03em; }
.ui-home .ui-feed-bar { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.ui-home .ui-more { text-decoration: none; font-size: .85rem; border: 1px solid var(--line); padding: 5px 12px; border-radius: 6px; }
.ui-home .ui-more:hover { border-color: var(--ink); }

.ui-cats { gap: 4px; padding-top: 8px; }
.ui-cats a { flex-direction: row; gap: 8px; min-width: 0; margin: 0 0 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .84rem; color: var(--ink-2); background: var(--surface); }
.ui-cats a i { font-size: .95rem; color: var(--muted); }
.ui-cats a:hover { border-color: var(--ink-2); color: var(--ink); }
.ui-cats a.is-active { background: var(--accent); border-color: var(--accent-border); color: var(--on-accent); }
.ui-cats a.is-active i { color: #fff; }
.ui-cats { border-bottom: 0; padding-bottom: 2px; box-shadow: 0 1px 0 var(--line); }

.ui-home .ui-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.ui-home .ui-card:hover { border-color: var(--ink); box-shadow: 0 6px 18px rgba(10,16,32,.08); }
.ui-home .ui-card-img { border-radius: 0; aspect-ratio: 4 / 3; }
.ui-home .ui-card:hover .ui-card-img img { transform: scale(1.04); }
.ui-home .ui-card-body { padding: 12px 14px 13px; border-top: 1px solid var(--line); }
.ui-home .ui-price { font-variant-numeric: tabular-nums; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.ui-home .ui-price.is-muted { font-size: .88rem; font-weight: 500; }
.ui-home .ui-title { font-weight: 500; margin: 4px 0 8px; }
.ui-home .ui-meta { font-size: .8rem; color: var(--muted); }
.ui-home .ui-meta i { color: var(--muted); }
.ui-home .ui-badge { border-radius: 4px; background: var(--ink); color: #fff; font-weight: 600; font-size: .72rem; padding: 3px 8px; }
.ui-home .ui-btn-ghost { border-radius: 8px; font-weight: 600; }
@media (max-width: 767.98px) { .ui-cats a { padding: 7px 10px; } }

/* Araç / konut özellik satırı (kartlarda) */
.ui-chipspecs { display: flex; flex-wrap: nowrap; overflow: hidden; gap: 4px 6px; margin: 0 0 8px; }
.ui-chipspecs span { font-size: .74rem; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border-radius: 5px; padding: 2px 7px; white-space: nowrap; }
.ui-vitrin[data-vitrin] + .ui-vitrin[data-vitrin] { margin-top: 34px; }

/* İlan detayı: model bilgi kartı */
.ui-vcard h5 { display: flex; align-items: center; gap: 8px; }
.ui-vcard-sum { color: var(--ink-2); margin: 0 0 14px; }
.ui-vcard-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ui-vcard-list { margin: 0; padding-left: 1.1rem; } .ui-vcard-list li { margin-bottom: 4px; color: var(--ink-2); }
.ui-vcard-sec { margin-top: 16px; }
.ui-vcard-title { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.ui-vissue { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.ui-vissue b { display: block; }
.ui-vissue small { color: var(--muted); }
.ui-vissue.is-hit { border-color: #f1b66b; background: #fff8ec; }
.ui-vissue .ui-vtag { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 5px; padding: 1px 7px; margin-left: 6px; background: var(--surface-2); color: var(--ink-2); }
.ui-vissue.is-hit .ui-vtag { background: #ffe2b8; color: #8a4b00; }
@media (max-width: 767.98px) { .ui-vcard-cols { grid-template-columns: 1fr; } }

/* Arama: hızlı seçenek bağlantıları (km, oda sayısı) */
.ui-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-quick a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .82rem; color: var(--ink-2); text-decoration: none; background: var(--surface); }
.ui-quick a:hover { border-color: var(--ink-2); color: var(--ink); }
.ui-quick a.is-on { background: var(--accent); border-color: var(--accent-border); color: var(--on-accent); }

/* İlan detayı: benzer ilanlar + fiyat konumu */
.ui-similar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ui-similar .ui-card:nth-child(n+4) { display: none; }
@media (max-width: 575.98px) { .ui-similar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ui-similar .ui-card:nth-child(n+3) { display: none; } }
.ui-pctx-title { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.ui-pctx-title i { color: var(--brand-600); margin-right: 4px; }
.ui-pctx-msg { font-size: 1.05rem; font-weight: 650; margin-bottom: 4px; }

/* Arama: sonuçların üstündeki hızlı filtre çubuğu */
.ui-qbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; padding: 14px 16px; margin: 0 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ui-qbar label { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 130px; }
.ui-qbar label > span { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ui-qbar select, .ui-qbar input { height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font-size: .92rem; background: var(--surface); min-width: 0; width: 100%; }
.ui-qbar select:focus, .ui-qbar input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(17, 17, 17, .1); }
.ui-qbar select:disabled { background: var(--surface-2); color: var(--muted); }
.ui-qb-pair div { display: flex; align-items: center; gap: 6px; }
.ui-qb-pair input { width: 92px; }
.ui-qb-pair i { color: var(--muted); font-style: normal; }
.ui-qb-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.ui-qb-clear { font-size: .88rem; font-weight: 600; text-decoration: none; }
@media (max-width: 767.98px) {
  .ui-qbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 12px; }
  .ui-qbar::-webkit-scrollbar { display: none; }
  .ui-qbar label { flex: 0 0 auto; min-width: 140px; }
  .ui-qb-actions { margin-left: 0; flex: 0 0 auto; }
}

/* Ana sayfa: hızlı arama (araç / konut) */
.ui-quick-search { margin: 14px 0 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 16px; box-shadow: 0 6px 20px rgba(10,16,32,.05); }
.ui-qs-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.ui-qs-tabs button { flex: 0 0 auto; }
.ui-qs-tabs button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-weight: 650; font-size: .92rem; color: var(--muted); cursor: pointer; }
.ui-qs-tabs button i { margin-right: 6px; }
.ui-qs-tabs button.is-active { background: var(--accent); color: var(--on-accent); }
.ui-qs-form { display: grid; grid-template-columns: repeat(var(--qs-cols, 4), minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.ui-qs-form[hidden] { display: none; }
.ui-qs-form label { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.ui-qs-form label > span { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ui-qs-form select, .ui-qs-form input:not([type=hidden]) { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: .95rem; background: var(--surface); width: 100%; min-width: 0; }
.ui-qs-form select:focus, .ui-qs-form input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(17, 17, 17, .1); }
.ui-qs-form .ui-btn { height: 46px; padding: 0 22px; white-space: nowrap; }
@media (max-width: 991.98px) { .ui-qs-form { grid-template-columns: 1fr 1fr; } .ui-qs-form .ui-btn { grid-column: 1 / -1; } }

/* Arama: sol filtre paneli (ayrıntılı, bölümler açılır/kapanır) */
/* yalnızca masaüstünde yapışkan; mobilde .ui-filters çekmecesi (position: fixed) geçerli kalmalı */
@media (min-width: 992px) { .ui-filters-pro { position: sticky; top: 76px; align-self: flex-start; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: thin; } }
.ui-filters-pro { scrollbar-width: thin; }
.ui-filters-pro .ui-filters-head { display: flex; align-items: center; gap: 10px; }
.ui-filters-pro .ui-filters-head h2 { margin: 0; }
.ui-fcount { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--brand-600); color: var(--on-ink); font-size: .75rem; font-weight: 700; vertical-align: 2px; }
.ui-fclear-all { margin-left: auto; font-size: .85rem; font-weight: 600; text-decoration: none; }
.ui-fs { border-top: 1px solid var(--line); padding: 12px 0; }
.ui-fs > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 0; }
.ui-fs > summary::-webkit-details-marker { display: none; }
.ui-fs > summary::after { content: "+"; font-size: 1rem; font-weight: 500; color: var(--muted); }
.ui-fs[open] > summary { margin-bottom: 10px; }
.ui-fs[open] > summary::after { content: "–"; }
.ui-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-opt { margin: 0; cursor: pointer; }
.ui-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ui-opt span { display: inline-block; padding: 5px 11px; border: 1px solid var(--line); border-radius: 8px; font-size: .84rem; color: var(--ink-2); background: var(--surface); transition: border-color .12s, background .12s; }
.ui-opt:hover span { border-color: var(--ink-2); }
.ui-opt input:checked + span { background: var(--accent); border-color: var(--accent-border); color: var(--on-accent); }
.ui-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(51,102,238,.25); }
.ui-filters-pro .ui-filter-actions { position: sticky; bottom: 0; background: var(--surface); padding: 12px 0 2px; border-top: 1px solid var(--line); }
@media (min-width: 992px) { .ui-filters-pro .ui-filters-x { display: none; } }

/* Ana sayfa: sol filtre paneli + sağda içerik */
.ui-home { max-width: 1400px; }
.ui-home-layout { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 14px; }
.ui-home-filters { position: sticky; top: 76px; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: thin; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.ui-hf-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.ui-hf-title i { color: var(--brand-600); margin-right: 6px; }
.ui-home-main { min-width: 0; }
.ui-home-main .ui-cats { margin-top: 0; padding-top: 0; position: static; }
.ui-quick-search.is-side { margin: 0; padding: 0; border: 0; box-shadow: none; border-radius: 0; background: transparent; }
.ui-quick-search.is-side .ui-qs-tabs { flex-wrap: wrap; margin-bottom: 14px; }
.ui-quick-search.is-side .ui-qs-tabs button { padding: 6px 12px; border: 1px solid var(--line); font-size: .86rem; }
.ui-quick-search.is-side .ui-qs-tabs button.is-active { border-color: var(--ink); }
.ui-quick-search.is-side .ui-qs-form { grid-template-columns: 1fr; gap: 12px; }
.ui-quick-search.is-side .ui-qs-form .ui-btn { grid-column: auto; width: 100%; }
.ui-home-main .ui-feed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1299.98px) { .ui-home-main .ui-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
  .ui-home-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ui-home-filters { position: static; max-height: none; padding: 12px; }
  .ui-quick-search.is-side .ui-qs-form { grid-template-columns: 1fr 1fr; }
  .ui-quick-search.is-side .ui-qs-form .ui-btn { grid-column: 1 / -1; }
  .ui-home-main .ui-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Ana sayfa: tam genişlik; filtre paneli sol kenara yakın, içerik geniş. Üst çubuk da aynı genişliğe hizalanır. */
/* Ana sayfa da diğer sayfalarla aynı genişlikte (eskiden 1760px: sayfa değişince header kayıyordu) */
body:has(.ui-home) .tn-wrap, body:has(.ui-home) main .ui-container { padding-left: 24px; padding-right: 24px; }
.ui-home { max-width: none; margin: 0; }
.ui-home-layout { grid-template-columns: 252px minmax(0, 1fr); gap: 22px; }
.ui-home-filters { border: 0; background: transparent; padding: 0 6px 0 0; border-radius: 0; }
.ui-home-filters .ui-hf-title { font-size: .95rem; margin-bottom: 10px; }
.ui-home-main .ui-feed-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1599.98px) { .ui-home-main .ui-feed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1299.98px) { .ui-home-main .ui-feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
  .ui-home-layout { grid-template-columns: minmax(0, 1fr); }
  .ui-home-main .ui-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1599.98px) and (min-width: 1300px) { .ui-home-main .ui-vitrin .ui-feed-item:nth-child(n+5) { display: none; } }
@media (max-width: 1299.98px) and (min-width: 992px) { .ui-home-main .ui-vitrin .ui-feed-item:nth-child(n+4) { display: none; } }
@media (max-width: 991.98px) { .ui-home-main .ui-vitrin .ui-feed-item:nth-child(n+5) { display: none; } }

/* Ana sayfa filtre paneli: arama sayfasındaki panelle aynı dil (kart, bölüm başlıkları, seçenek düğmeleri) */
.ui-home-layout { grid-template-columns: 272px minmax(0, 1fr); }
.ui-home-filters { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: none; top: 80px; max-height: calc(100vh - 96px); }
.ui-hf-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1rem; margin-bottom: 14px; }
.ui-hf-head i { color: var(--brand-600); margin-right: 6px; }
.ui-hf-head a { font-size: .85rem; font-weight: 600; text-decoration: none; }
.ui-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 12px; margin-bottom: 4px; }
.ui-seg button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 7px; border: 0; background: transparent; border-radius: 9px; font-size: .74rem; font-weight: 650; color: var(--muted); cursor: pointer; transition: background .12s, color .12s, box-shadow .12s; }
.ui-seg button i { font-size: 1rem; }
.ui-seg button:hover { color: var(--ink); }
.ui-seg button.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(10,16,32,.12); }
.ui-seg button.is-active i { color: var(--brand-600); }
.ui-hf-form[hidden] { display: none; }
.ui-hf-sec { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ui-hf-sec:last-of-type { border-bottom: 0; }
.ui-hf-sec h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; margin: 0 0 10px; }
.ui-home-filters .form-control, .ui-home-filters .form-select { font-size: .9rem; height: 40px; border-radius: 10px; }
.ui-home-filters .ui-hf-cta { height: 44px; margin-top: 6px; }
@media (max-width: 991.98px) { .ui-home-filters { padding: 14px; } }

/* Arama sonuçları: görünüm modları */
.ui-viewtoggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.ui-viewtoggle button { width: 42px; height: 38px; border: 0; background: var(--surface); color: #2a3a7a; cursor: pointer; font-size: .95rem; }
.ui-viewtoggle button + button { border-left: 1px solid var(--line); }
.ui-viewtoggle button:hover { background: var(--surface-2); }
.ui-viewtoggle button.is-on { background: #8793a8; color: #fff; }
.ui-rlist.is-grid, .ui-rlist.is-duo { display: grid; gap: 16px; }
.ui-rlist.is-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ui-rlist.is-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ui-rlist.is-grid .ui-rcard, .ui-rlist.is-duo .ui-rcard { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.ui-rlist.is-grid .ui-rcard-img, .ui-rlist.is-duo .ui-rcard-img { flex: none; width: 100%; border-radius: 0; align-self: stretch; }
.ui-rlist.is-grid .ui-rcard-body, .ui-rlist.is-duo .ui-rcard-body { padding: 12px 14px 14px; gap: 6px; }
.ui-rlist.is-grid .ui-rcard-top, .ui-rlist.is-duo .ui-rcard-top { flex-direction: column-reverse; gap: 4px; }
.ui-rlist.is-grid .ui-rcard-title, .ui-rlist.is-duo .ui-rcard-title { font-size: .95rem; -webkit-line-clamp: 1; font-weight: 600; }
.ui-rlist.is-grid .ui-rcard-price, .ui-rlist.is-duo .ui-rcard-price { font-size: 1.15rem; }
.ui-rlist.is-grid .ui-rcard-snippet { display: none; }
.ui-rlist.is-duo .ui-rcard-snippet { -webkit-line-clamp: 2; }
.ui-rlist.is-grid .ui-rcard-foot, .ui-rlist.is-duo .ui-rcard-foot { gap: 4px 12px; }
.ui-rlist.is-grid .ui-owner, .ui-rlist.is-duo .ui-owner { display: none; }
@media (max-width: 1199.98px) { .ui-rlist.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .ui-rlist.is-grid, .ui-rlist.is-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ui-rlist.is-grid .ui-rcard-body, .ui-rlist.is-duo .ui-rcard-body { padding: 9px 10px 11px; }
  .ui-rlist.is-grid .ui-rcard-foot span:nth-child(n+2), .ui-rlist.is-duo .ui-rcard-foot span:nth-child(n+2) { display: none; }
  .ui-viewtoggle button { width: 36px; }
}

/* Ev ilanı haritası */
.ui-geomap { height: 320px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; z-index: 0; }
.ui-lmap h5 i { color: var(--brand-600); margin-right: 6px; }
.ui-lmap-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.ui-lmap-wrap .ui-geomap { height: 380px; }
.ui-lmap-side { max-height: 380px; overflow-y: auto; scrollbar-width: thin; }
.ui-lmap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ui-lmap-chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 11px; font-size: .8rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.ui-lmap-chip.is-on { background: var(--accent); border-color: var(--accent-border); color: var(--on-accent); }
.ui-lmap-sec { margin-bottom: 12px; }
.ui-lmap-sec-title { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.ui-lmap-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.ui-lmap-name { color: var(--ink); } .ui-lmap-dist { color: var(--muted); white-space: nowrap; }
@media (max-width: 767.98px) { .ui-lmap-wrap { grid-template-columns: 1fr; } .ui-lmap-side { max-height: none; } .ui-lmap-wrap .ui-geomap { height: 300px; } }

/* Ana sayfa: filtre paneli sol kenar çubuğunda */
.tn-home-sidebar .ui-home-filters { position: static; max-height: none; overflow: visible; padding: 0 0 16px; margin-bottom: 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }/* Izgara satırlarında kartlar aynı yüksekliğe uzar; "Teklif Ver" her zaman kartın altında hizalı kalır */
.ui-feed-item { display: flex; min-width: 0; }
.ui-feed-item > .ui-card { flex: 1 1 auto; min-width: 0; }
.ui-row-track { align-items: stretch; }

/* ---------- Koyu tema: pastel durum rozetleri ve Bootstrap açık yardımcı sınıfları ---------- */
html[data-theme="dark"] .ui-ai-price.v-below_market { background: #12332a; border-color: #1f5a49; color: #8be0c0; }
html[data-theme="dark"] .ui-ai-price.v-unusually_low { background: #3a1f1d; border-color: #6a3430; color: #ffb4ac; }
html[data-theme="dark"] .ui-ai-price.v-above_market { background: #3a2b1d; border-color: #6a4a2d; color: #ffcb9b; }
html[data-theme="dark"] .ui-demo-badge { background: #3a3220; border-color: #6a5a2d; color: #ffd98a; }
html[data-theme="dark"] .ui-vissue.is-hit { background: #3a2f1d; border-color: #6a542d; }
html[data-theme="dark"] .ui-vissue.is-hit .ui-vtag { background: #5a4420; color: #ffd98a; }
html[data-theme="dark"] .ui-viewtoggle button { color: var(--ink-2); }
html[data-theme="dark"] .bg-white, html[data-theme="dark"] .bg-light, html[data-theme="dark"] .badge.bg-light,
html[data-theme="dark"] .table-light { background-color: var(--surface) !important; }
html[data-theme="dark"] .text-dark, html[data-theme="dark"] .badge.text-dark { color: var(--ink) !important; }
html[data-theme="dark"] .btn-light { --bs-btn-bg: var(--surface-2); --bs-btn-color: var(--ink); --bs-btn-border-color: var(--line-strong); --bs-btn-hover-bg: #343840; --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: var(--line-strong); }
html[data-theme="dark"] .btn-outline-secondary { --bs-btn-color: var(--ink-2); --bs-btn-border-color: var(--line-strong); --bs-btn-hover-bg: var(--surface-2); --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: var(--line-strong); --bs-btn-active-bg: var(--surface-2); --bs-btn-active-color: var(--ink); }
html[data-theme="dark"] .list-group-item { background-color: var(--surface); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .form-control, html[data-theme="dark"] .form-select { background-color: var(--bg); color: var(--ink); border-color: var(--line-strong); }
html[data-theme="dark"] .form-control::placeholder { color: var(--muted); }
html[data-theme="dark"] .text-muted { color: var(--muted) !important; }
html[data-theme="dark"] .ui-geomap .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9); }
html[data-theme="dark"] { --bs-link-color-rgb: 111, 211, 245; --bs-link-hover-color-rgb: 165, 230, 250; }

/* İlan detayı: ilgili hizmetler (çapraz öneri) */
.ui-rel-group + .ui-rel-group { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.ui-rel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: .84rem; }
.ui-rel-head a { font-size: .78rem; text-decoration: none; }
.ui-rel-item { display: flex; align-items: center; gap: 10px; padding: 6px 4px; margin: 0 -4px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.ui-rel-item:hover { background: var(--surface-2); color: var(--ink); }
.ui-rel-thumb { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--img-bg); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.ui-rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ui-rel-body { min-width: 0; display: grid; gap: 1px; }
.ui-rel-title { font-size: .86rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ui-rel-meta { font-size: .76rem; color: var(--muted); }

/* Arama: filtre paneli sol kenar çubuğunda (masaüstü); mobilde mevcut çekmece davranışı sürer */
@media (min-width: 992px) {
  .tn-home-sidebar .ui-filters { position: static; width: auto; flex: none; max-height: none; overflow: visible; padding: 0 0 16px; margin-bottom: 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
}

/* Akıllı arama header'da: ortada kompakt tek satır; örnekler ve durum, odaklanınca açılan panelde */.tn-ai-search.is-header { flex: 1 1 320px; min-width: 0; width: auto; max-width: 680px; margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.tn-ai-search.is-header .tn-ai-search-copy { display: none; }
.tn-ai-search.is-header input[type="text"] { height: 42px; }
.tn-ai-search.is-header .tn-ai-search-examples,
.tn-ai-search.is-header .tn-ai-search-status { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 1040; margin: 0; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); }
.tn-ai-search.is-header .tn-ai-search-examples { display: none; flex-wrap: wrap; overflow: visible; }
.tn-ai-search.is-header:focus-within .tn-ai-search-examples { display: flex; }
.tn-ai-search.is-header:has(.tn-ai-search-status:not([hidden])) .tn-ai-search-examples { display: none; }
.tn-ai-search.is-header .tn-ai-search-status[hidden] { display: none; }
html[data-theme="dark"] .tn-ai-search.is-header { border: 0; background: transparent; box-shadow: none; }
@media (max-width: 991.98px) {  .tn-ai-search.is-header { order: 3; flex: 1 0 100%; max-width: none; margin: 0 0 2px; }
}

/* Header her sayfada aynı hizada: logo ve sağ ikonlar sayfa içeriğine göre kaymaz (ana sayfa, topluluk, ilan...) */
html { scrollbar-gutter: stable; }/* Sol alt hesap alanı (masaüstü): header'daki hesap ikonları masaüstünde buraya taşınır, mobilde header'da kalır */
.tn-home-sidebar { display: flex; flex-direction: column; padding-bottom: 0; }@media (max-width: 767.98px) {  .tn-home-sidebar { padding-bottom: 12px; }
}
/* Kart "Teklif Ver" düğmesi: misafir "Üye ol" görür (kart HTML'i önbellekte ortak) */
body[data-user-authenticated="0"] .ui-card-offer.is-auth-only,
body:not([data-user-authenticated="0"]) .ui-card-offer.is-guest-only { display: none; }

/* ---------- Giriş / kayıt sayfaları (odaklı, sol menüsüz) ---------- */
.ui-home-shell.is-auth-page { background: var(--surface); }
.ui-home-shell.is-auth-page main.tn-wrap { width: 100%; margin-left: auto !important; margin-right: auto !important; }   /* giriş kartı header ile aynı eksende ortalı */
.ui-home-shell.is-auth-page .ui-footer { width: 100%; margin-left: 0; }
.tn-auth { display: flex; justify-content: center; padding: clamp(12px, 4vh, 48px) 0 40px; }
.tn-auth-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); width: min(980px, 100%); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 24px 60px rgba(16, 24, 40, .08); }
.tn-auth-brand { position: relative; display: flex; flex-direction: column; padding: 40px 38px; overflow: hidden; background: linear-gradient(160deg, #2a2a2a 0%, #151515 55%, #000000 100%); color: #fff; }
.tn-auth-brand::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.tn-auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: auto; font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; }
.tn-auth-brand h2 { margin: 48px 0 10px; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.tn-auth-brand > p { margin: 0 0 26px; color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.55; }
.tn-auth-brand ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.tn-auth-brand li { display: flex; gap: 12px; align-items: flex-start; }
.tn-auth-brand li i { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.12); font-size: .9rem; }
.tn-auth-brand li span { color: rgba(255,255,255,.75); font-size: .86rem; line-height: 1.45; }
.tn-auth-brand li b { display: block; color: #fff; font-size: .92rem; }
.tn-auth-main { padding: 44px 44px 36px; }
.tn-auth-main h1, .tn-auth-main h2.tn-login-title { margin: 0 0 6px; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.tn-auth-sub { margin: 0 0 24px; color: var(--muted); font-size: .94rem; }
.tn-auth-alert { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 12px 14px; border: 1px solid; border-radius: 12px; font-size: .88rem; line-height: 1.45; }
.tn-auth-alert i { margin-top: 2px; }
.tn-auth-alert.is-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.tn-auth-alert.is-ok { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
html[data-theme="dark"] .tn-auth-alert.is-error { border-color: #5b1d1d; background: #2a1414; color: #fca5a5; }
html[data-theme="dark"] .tn-auth-alert.is-ok { border-color: #14532d; background: #0f2418; color: #86efac; }
.tn-auth-form { display: grid; }
.tn-auth-label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .86rem; font-weight: 650; }
.tn-auth-label-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; }
.tn-auth-label-row a { color: var(--brand-700); font-size: .82rem; font-weight: 650; text-decoration: none; }
.tn-auth-label-row a:hover { text-decoration: underline; }
.tn-auth-field { position: relative; display: flex; align-items: center; }
.tn-auth-field > i { position: absolute; left: 15px; color: var(--muted); font-size: .92rem; pointer-events: none; }
.tn-auth-field input { width: 100%; height: 50px; padding: 0 46px 0 44px; border: 1px solid var(--line-strong); border-radius: 14px; outline: 0; background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.tn-auth-field input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.tn-auth-field input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-500) 15%, transparent); }
.tn-auth-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--surface) inset; -webkit-text-fill-color: var(--ink); }
.tn-auth-eye { position: absolute; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.tn-auth-eye:hover { background: var(--surface-2); color: var(--ink); }
.tn-auth-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin-top: 22px; border-radius: 14px; background: var(--accent); border: 1px solid var(--accent); color: var(--on-accent); font: inherit; font-size: 1rem; font-weight: 750; cursor: pointer; transition: background .15s, transform .05s; }
.tn-auth-submit:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.tn-auth-submit:active { transform: translateY(1px); }
.tn-auth-submit i { font-size: .85rem; transition: transform .15s; }
.tn-auth-submit:hover i { transform: translateX(3px); }
.tn-auth-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; color: var(--muted); font-size: .82rem; }
.tn-auth-divider::before, .tn-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tn-auth-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tn-auth-alt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; transition: border-color .15s, color .15s; }
.tn-auth-alt-btn:hover { border-color: var(--brand-500); color: var(--brand-700); }
.tn-auth-alt-btn i { color: var(--brand-600); }
.tn-auth-verify { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.tn-auth-verify summary { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .86rem; font-weight: 650; list-style: none; cursor: pointer; }
.tn-auth-verify summary::-webkit-details-marker { display: none; }
.tn-auth-verify summary:hover { color: var(--brand-700); }
.tn-auth-verify p { margin: 10px 0; color: var(--muted); font-size: .82rem; }
.tn-auth-verify-form { display: flex; gap: 8px; }
.tn-auth-verify-form input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; outline: 0; background: var(--surface); color: var(--ink); font: inherit; font-size: .88rem; }
.tn-auth-verify-form input:focus { border-color: var(--brand-500); }
.tn-auth-verify-form button { height: 42px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: .86rem; font-weight: 650; white-space: nowrap; cursor: pointer; }
.tn-auth-verify-form button:hover { border-color: var(--brand-500); color: var(--brand-700); }
@media (max-width: 860px) {
  .tn-auth-card { grid-template-columns: 1fr; border-radius: 20px; }
  .tn-auth-brand { padding: 22px 24px; }
  .tn-auth-brand h2 { margin: 18px 0 6px; font-size: 1.3rem; }
  .tn-auth-brand > p { margin: 0; font-size: .86rem; }
  .tn-auth-brand ul { display: none; }
  .tn-auth-main { padding: 26px 22px 24px; }
}
@media (max-width: 420px) {
  .tn-auth-alt { grid-template-columns: 1fr; }
  .tn-auth-verify-form { flex-direction: column; }
}

/* Filtre paneli: kompakt (daha çok filtre aynı ekrana sığsın) */
.ui-filters-pro .ui-filters-head h2 { font-size: 1.05rem; }
.ui-filters-pro .ui-fs { padding: 9px 0; }
.ui-filters-pro .ui-fs > summary { font-size: .7rem; letter-spacing: .05em; }
.ui-filters-pro .ui-fs > summary::after { font-size: .9rem; }
.ui-filters-pro .ui-fs[open] > summary { margin-bottom: 7px; }
.ui-filters-pro .form-control, .ui-filters-pro .form-select { height: 34px; min-height: 34px; padding-top: 4px; padding-bottom: 4px; border-radius: 9px; font-size: .82rem; }
.ui-filters-pro .form-select { padding-right: 28px; background-position: right 8px center; background-size: 12px 10px; }
.ui-filters-pro .form-select.mb-2, .ui-filters-pro .form-control.mb-2 { margin-bottom: 6px !important; }
.ui-filters-pro .ui-minmax { gap: 6px; }
.ui-filters-pro .ui-minmax .form-control { min-width: 0; }
.ui-filters-pro .ui-opts { gap: 4px; }
.ui-filters-pro .ui-opt span { padding: 3px 9px; border-radius: 7px; font-size: .76rem; }
.ui-filters-pro .ui-check { margin-bottom: 5px; font-size: .82rem; }
.ui-filters-pro .ui-check input { width: 15px; height: 15px; }
.ui-filters-pro .ui-cat-p { padding-top: 5px; padding-bottom: 5px; font-size: .84rem; }
.ui-filters-pro .ui-cat-kids a { padding-top: 3px; padding-bottom: 3px; font-size: .8rem; }
.ui-filters-pro .ui-filter-actions { padding-top: 10px; }
.ui-filters-pro .ui-filter-actions .ui-btn { height: 38px; font-size: .86rem; }

/* Arama sonuçları: kompakt 2 sütunlu liste (varsayılan). İlan no, tarih ve il/ilçe yalnızca bu modda görünür */
.ui-rcard-no, .ui-rcard-info { display: none; }
.ui-rcard-feat { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(17, 17, 17, .78); color: #fff; font-size: .68rem; font-weight: 700; }
.ui-rcard-feat i { color: #fbbf24; }
.ui-rlist.is-compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ui-rlist.is-compact .ui-rcard { gap: 12px; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.ui-rlist.is-compact .ui-rcard:nth-child(odd) { border-right: 1px solid var(--line); }
.ui-rlist.is-compact .ui-rcard:hover { background: var(--surface-2); box-shadow: none; }
.ui-rlist.is-compact .ui-rcard.is-featured { background: #fffbeb; }
.ui-rlist.is-compact .ui-rcard.is-featured:hover { background: #fef3c7; }
html[data-theme="dark"] .ui-rlist.is-compact .ui-rcard.is-featured { background: #2a2310; }
.ui-rlist.is-compact .ui-rcard-img { flex: 0 0 136px; align-self: flex-start; border-radius: 8px; font-size: 1.2rem; }
.ui-rlist.is-compact .ui-rcard-img .ui-demo-badge { top: 6px; right: 6px; padding: 1px 6px; font-size: .6rem; }
.ui-rlist.is-compact .ui-rcard-feat { left: 6px; bottom: 6px; padding: 1px 6px; font-size: .62rem; }
.ui-rlist.is-compact .ui-rcard-body { gap: 3px; padding: 0; }
.ui-rlist.is-compact .ui-rcard-no { display: block; overflow: hidden; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.ui-rlist.is-compact .ui-rcard-top { flex-direction: column; gap: 2px; }
.ui-rlist.is-compact .ui-rcard-title { font-size: .88rem; font-weight: 650; line-height: 1.3; }
.ui-rlist.is-compact .ui-rcard-price { font-size: .95rem; font-weight: 800; }
.ui-rlist.is-compact .ui-rcard-price.is-muted { font-size: .8rem; }
.ui-rlist.is-compact .ui-rcard-snippet, .ui-rlist.is-compact .ui-rcard-foot { display: none; }
.ui-rlist.is-compact .ui-rchips { flex-wrap: nowrap; gap: 4px; overflow: hidden; margin: 1px 0; }
.ui-rlist.is-compact .ui-rchips span { flex: 0 0 auto; padding: 1px 7px; font-size: .7rem; }
.ui-rlist.is-compact .ui-rcard-info { display: grid; gap: 1px; margin: 2px 0 0; }
.ui-rlist.is-compact .ui-rcard-info div { display: flex; gap: 6px; min-width: 0; font-size: .74rem; }
.ui-rlist.is-compact .ui-rcard-info dt { flex: 0 0 auto; color: var(--muted); font-weight: 600; }
.ui-rlist.is-compact .ui-rcard-info dt::after { content: ":"; }
.ui-rlist.is-compact .ui-rcard-info dd { overflow: hidden; margin: 0; color: var(--ink-2); font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 991.98px) {
  .ui-rlist.is-compact { grid-template-columns: 1fr; }
  .ui-rlist.is-compact .ui-rcard:nth-child(odd) { border-right: 0; }
}
@media (max-width: 575.98px) {
  .ui-rlist.is-compact .ui-rcard-img { flex-basis: 108px; }
}

/* İlan detayı: sıkı tipografi (başlık ~19px, metinler ~13px) */
.ui-detail .ui-d-title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 8px; }
.ui-detail .ui-d-meta span { padding: 3px 10px; font-size: .74rem; }
.ui-detail .ui-d-meta i { font-size: .68rem; }
.ui-detail .ui-d-price-inline { font-size: 1.3rem; margin-bottom: 8px; }
.ui-detail #listingActionsRow .btn-link.text-muted { font-size: .8rem; }
.ui-dnav { margin: 12px 0 12px; padding: 4px; }
.ui-dnav a { padding: 7px 12px; font-size: .8rem; }
.ui-dnav a i { font-size: .74rem; }
.ui-dnav a b { font-size: .68rem; }
.ui-dsec { margin-bottom: 12px; padding: 14px 16px; border-radius: 14px; }
.ui-dsec-head { margin-bottom: 10px; }
.ui-dsec-head h2 { gap: 8px; font-size: .95rem; font-weight: 700; }
.ui-dsec-head h2 i { width: 26px; height: 26px; border-radius: 8px; font-size: .74rem; }
.ui-dsec-count { padding: 2px 8px; font-size: .7rem; }
.ui-dsec-sub { margin: -4px 0 10px; font-size: .78rem; }
.ui-spec-hl { gap: 8px; margin-bottom: 12px; }
.ui-spec-hl-item { padding: 9px 11px; border-radius: 12px; }
.ui-spec-hl-item i { margin-bottom: 4px; font-size: .88rem; }
.ui-spec-hl-item b { font-size: .86rem; font-weight: 700; }
.ui-spec-hl-item span { font-size: .68rem; }
.ui-specs { gap: 0 24px; }
.ui-spec { gap: 10px; padding: 6px 2px; border-bottom-style: solid; }
.ui-spec dt { gap: 6px; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.ui-spec dt i { font-size: .7rem; }
.ui-spec dd { font-size: .8rem; font-weight: 500; }
.ui-more > summary, .ui-desc-more { padding: 6px 12px; font-size: .78rem; }
.ui-spec-list h3 { font-size: .84rem; }
.ui-spec-list li { padding: 4px 10px; font-size: .76rem; }
.ui-desc { font-size: .84rem; line-height: 1.6; }
.ui-detail .card-body { padding: 14px 16px; }
.ui-detail .card h5 { font-size: .92rem; margin-bottom: 10px; }
.ui-cmt-name { font-size: .8rem; }
.ui-cmt-main time { font-size: .7rem; }
.ui-cmt-body { font-size: .82rem; line-height: 1.5; }
.ui-cmt-note { padding: 10px 12px; font-size: .8rem; }
.ui-price-label { font-size: .68rem; }
.ui-price-value { font-size: 1.45rem; }
.ui-price-value.is-muted { font-size: .95rem; }
.ui-price-sub { font-size: .76rem; }
.ui-d-side > .card h5, .ui-side-card h5 { margin-bottom: 10px; font-size: .9rem; }
.ui-side-btn { min-height: 36px; padding: 6px 10px; border-radius: 10px; font-size: .8rem; }
.ui-side-btn i { font-size: .76rem; }
.ui-side-stats b { font-size: .86rem; }
.ui-side-stats span { font-size: .66rem; }
.ui-price-foot { font-size: .7rem; }
.ui-seller-avatar { width: 44px; height: 44px; }
.ui-seller-name { font-size: .88rem; }
.ui-seller-who > span, .ui-seller-company, .ui-seller-note { font-size: .74rem; }
.ui-seller-badges li { padding: 3px 8px; font-size: .7rem; }
.ui-manage-stats b { font-size: .9rem; }
.ui-manage-tips-head, .ui-manage-tips.is-done { font-size: .78rem; }
.ui-manage-tips li, .ui-safety ul { font-size: .76rem; }
@media (max-width: 575.98px) {
  .ui-detail .ui-d-title { font-size: 1.08rem; }
  .ui-dsec { padding: 12px; }
}
.ui-d-side .form-control, .ui-d-side .form-select { padding: 7px 12px; font-size: .84rem; }
.ui-d-side .form-label, .ui-d-side .card .small, .ui-d-side .card .text-muted { font-size: .78rem; }
.ui-d-side .card .btn { padding: 7px 12px; font-size: .84rem; }
/* İlan detayı: fotoğraf çerçevesi %20 küçük, ortalı (telefonda tam genişlik) */
@media (min-width: 768px) {
  .ui-detail .ui-gallery, .ui-detail .ui-thumbs, .ui-detail .ui-gallery-empty { width: 80%; margin-left: auto; margin-right: auto; }
}
/* İlan detayı: sağ sütunda ilan bilgileri tablosu (etiket | değer) */
.ui-sspecs { margin: 0; }
.ui-sspecs > div { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .8rem; line-height: 1.35; }
.ui-sspecs > div:last-child { border-bottom: 0; }
.ui-sspecs dt { color: var(--ink); font-weight: 700; }
.ui-sspecs dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.ui-sspecs-card .ui-more > summary { margin-top: 8px; }
.ui-sspecs-card .ui-more > .ui-sspecs { border-top: 1px solid var(--line); margin-top: 8px; }
.ui-admin-note p { margin: 0 0 10px; color: var(--muted); font-size: .78rem; }
/* İlan bilgileri kartı: fiyat başlığı ve kısa istatistik satırı */
.ui-sspecs-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ui-sspecs-price b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.ui-sspecs-price b.is-muted { color: var(--muted); font-size: .95rem; font-weight: 650; }
.ui-sspecs-price span { color: var(--muted); font-size: .76rem; font-weight: 600; }
.ui-sspecs-price em { margin-left: auto; font-style: normal; }
.ui-sspecs-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .74rem; font-weight: 600; }
.ui-sspecs-stats i { margin-right: 3px; }
.ui-d-price-inline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }

/* Siyah tema (koyu temanın üstüne): html[data-theme="dark"][data-dark="black"] */
html[data-theme="dark"][data-dark="black"] {
  --bg: #000000;
  --surface: #000000;
  --surface-2: #141416;
  --img-bg: #111113;
  --line: #26272b;
  --line-strong: #37383d;
  --on-ink: #000000;
  --brand-50: #141416;
  --brand-100: #26272b;
}

/* Anlaşma pazarı (/anlasmalar, /anlasmalarim) */
.tn-deals { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 18px 0 32px; }
.tn-deals.is-single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.tn-deals-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.tn-deals-head h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.tn-deals-head p { margin: 0; max-width: 640px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.tn-deals-head .ui-side-btn { flex: 0 0 auto; width: auto; }
.tn-deals-tabs { display: flex; gap: 4px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.tn-deals-tabs a { padding: 9px 14px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .86rem; font-weight: 700; text-decoration: none; }
.tn-deals-tabs a.is-active { border-color: var(--ink); color: var(--ink); }
.tn-deals-tabs b { margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); font-size: .72rem; }
.tn-deals-filter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 200px) auto; gap: 8px; margin-bottom: 14px; }
.tn-deals-filter .ui-side-btn { width: auto; }
.tn-deal-list { display: grid; gap: 10px; }
.tn-deal { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); scroll-margin-top: 80px; }
.tn-deal:target { border-color: var(--ink); }
.tn-deal-top { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .74rem; font-weight: 600; }
.tn-deal-cat { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-deal-title { margin: 4px 0 6px; font-size: .98rem; font-weight: 750; line-height: 1.35; }
.tn-deal-title a { color: var(--ink); text-decoration: none; }
.tn-deal-title a:hover { text-decoration: underline; }
.tn-deal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: .78rem; font-weight: 600; }
.tn-deal-price { color: var(--ink); font-size: 1.05rem; font-weight: 800; }
.tn-deal-note { margin: 10px 0 0; color: var(--muted); font-size: .78rem; }
.tn-deal-sent { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.tn-deal-sent li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .74rem; font-weight: 600; }
.tn-deal-quote { margin-top: 10px; }
.tn-deal-quote > summary { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: .8rem; font-weight: 700; cursor: pointer; list-style: none; }
.tn-deal-quote > summary::-webkit-details-marker { display: none; }
.tn-deal-quote[open] > summary { background: var(--accent); color: var(--on-accent); }
.tn-deal-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.tn-deal-form label { display: grid; gap: 4px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.tn-deal-form .is-wide { grid-column: 1 / -1; }
.tn-deal-form .ui-side-btn { grid-column: 1 / -1; justify-self: start; width: auto; }
.tn-deal-target { align-self: end; color: var(--muted); font-size: .74rem; }
.tn-deal-empty { display: grid; justify-items: center; gap: 4px; padding: 36px 16px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); text-align: center; font-size: .84rem; }
.tn-deal-empty i { color: var(--ink); font-size: 1.5rem; }
.tn-deal-empty b { color: var(--ink); font-size: .95rem; }
.tn-deals-more { width: auto; margin-top: 12px; }
.tn-deals-side { display: grid; align-content: start; gap: 12px; }
.tn-deals-hint { margin: 0 0 10px; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.tn-deal-follows, .tn-deal-myquotes { display: grid; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.tn-deal-follows li, .tn-deal-myquotes li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; font-size: .78rem; }
.tn-deal-follows li span { flex: 1; min-width: 0; font-weight: 650; }
.tn-deal-follows form, .tn-deal-myquotes form { margin: 0; }
.tn-deal-follows button, .tn-deal-myquotes button { padding: 2px 6px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.tn-deal-follows button:hover, .tn-deal-myquotes button:hover { color: var(--ink); }
.tn-deal-myquotes li > div { display: grid; flex: 1; min-width: 0; }
.tn-deal-myquotes small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.tn-deal-follow-form { display: grid; gap: 6px; }
.tn-deals-how { display: grid; gap: 6px; margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .78rem; line-height: 1.45; }
.tn-deal-st { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .68rem; font-weight: 700; white-space: nowrap; }
.tn-deal-st.is-accepted { background: #dcfce7; color: #166534; }
.tn-deal-st.is-declined { background: #fee2e2; color: #991b1b; }
html[data-theme="dark"] .tn-deal-st.is-accepted { background: #123326; color: #86efac; }
html[data-theme="dark"] .tn-deal-st.is-declined { background: #3a1f1d; color: #fca5a5; }
.tn-deal-share { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 auto; }
.tn-deal-quotes { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.tn-deal-quotes li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.tn-deal-quotes li.is-accepted { border-color: #16a34a; }
.tn-dq-main { display: grid; gap: 2px; min-width: 0; font-size: .82rem; }
.tn-dq-main small { color: var(--muted); font-size: .74rem; }
.tn-dq-main small a { color: inherit; }
.tn-dq-main p { margin: 4px 0 0; color: var(--ink-2); font-size: .78rem; }
.tn-dq-actions { display: flex; flex: 0 0 auto; gap: 6px; margin: 0; }
.tn-dq-actions .ui-side-btn { width: auto; min-height: 32px; }
@media (max-width: 991.98px) {
  .tn-deals { grid-template-columns: 1fr; padding: 12px 0 24px; }
  .tn-deals-head { flex-direction: column; }
  .tn-deal-form { grid-template-columns: 1fr; }
  .tn-deal-quotes li { flex-direction: column; }
}
@media (max-width: 575.98px) {
  .tn-deals-filter { grid-template-columns: 1fr; }
}

/* Ana sayfa kartları ~%20 küçük: 6 / 5 / 4 sütun (telefonda 2); vitrin satırları tek sıra */
.ui-home .ui-feed-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 14px; }
@media (max-width: 1299.98px) { .ui-home .ui-feed-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .ui-home .ui-vitrin .ui-feed-item:nth-child(n+6) { display: none; } }
@media (max-width: 1049.98px) { .ui-home .ui-feed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ui-home .ui-vitrin .ui-feed-item:nth-child(n+5) { display: none; } }
@media (max-width: 767.98px) { .ui-home .ui-feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; } }
.ui-home .ui-feed-grid .ui-card-body { padding: 9px 11px 10px; }
.ui-home .ui-feed-grid .ui-price { font-size: 1rem; }
.ui-home .ui-feed-grid .ui-title { font-size: .84rem; margin: 3px 0 6px; }
.ui-home .ui-feed-grid .ui-meta { flex-wrap: wrap; gap: 2px 6px; font-size: .72rem; }
.ui-home .ui-feed-grid .ui-meta .ui-views { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.ui-home .ui-feed-grid .ui-chips span, .ui-home .ui-feed-grid .ui-specs span { font-size: .68rem; }
.ui-home .ui-feed-grid .ui-card-offer { margin: 0 8px 8px; padding: 6px 8px; font-size: .78rem; }

/* Sayfa içi giriş penceresi (ayarlar penceresiyle aynı boyut) */
.tn-login-dialog { width: min(1100px, calc(100vw - 40px)); max-width: none; height: min(760px, calc(100vh - 40px)); max-height: none; padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, .28); }
.tn-login-dialog::backdrop { background: rgba(15, 22, 35, .48); backdrop-filter: blur(3px); }
.tn-login-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }
.tn-login-dialog-close:hover { background: var(--surface-2); }
.tn-auth.is-dialog { min-height: 100%; margin: 0; padding: 0; display: flex; }
.tn-auth.is-dialog .tn-auth-card { width: 100%; max-width: none; min-height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 767.98px) {
  .tn-login-dialog { width: calc(100vw - 12px); height: calc(100vh - 16px); border-radius: 12px; }
}

/* Google / Apple ile giriş */
.tn-auth-social { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tn-auth-social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: .9rem; font-weight: 650; text-decoration: none; transition: background .15s, border-color .15s; }
.tn-auth-social-btn:hover { background: var(--surface-2); border-color: var(--ink); color: var(--ink); }
.tn-auth-social-btn .fa-apple { font-size: 1.2rem; }

/* Giriş kartı: büyük logo, sol panelin boş alanında ortalı */
.tn-auth-brand .tn-auth-logo { flex-direction: column; align-items: flex-start; gap: 14px; margin: auto 0; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 2.9rem); line-height: 1; letter-spacing: -.04em; }
.tn-auth-brand .tn-auth-logo .ui-brand-mark { width: clamp(84px, 10vw, 120px); height: auto; stroke-width: 1.6; }
.tn-auth-brand .tn-auth-logo + h2 { margin-top: 0; }
@media (max-width: 860px) {
  .tn-auth-brand .tn-auth-logo { flex-direction: row; align-items: center; gap: 10px; margin: 0; font-size: 1.5rem; }
  .tn-auth-brand .tn-auth-logo .ui-brand-mark { width: 44px; }
  .tn-auth-brand .tn-auth-logo + h2 { margin-top: 18px; }
}

/* Footer üstü bağlantı bloğu: "Kategoriler" ve "Popüler Aramalar" sütunlu listeler (SEO / iç bağlantı) */
.ui-seo-links { position: relative; padding: 14px 0 8px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ui-seo-check { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ui-seo-body { position: relative; max-height: 168px; overflow: hidden; }
.ui-seo-body::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 36px; background: linear-gradient(to bottom, transparent, var(--surface)); pointer-events: none; }
.ui-seo-check:checked ~ .ui-seo-body, .ui-seo-body:focus-within { max-height: none; overflow: visible; }
.ui-seo-check:checked ~ .ui-seo-body::after, .ui-seo-body:focus-within::after { display: none; }
.ui-seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.ui-seo-links h2 { margin: 0 0 6px; color: var(--ink); font-size: .8rem; font-weight: 750; }
.ui-seo-cols { margin: 0; padding: 0; list-style: none; columns: 3; column-gap: 16px; }
.ui-seo-cols li { break-inside: avoid; }
.ui-seo-cols a { display: block; overflow: hidden; padding: 1px 0; color: var(--ink-2); font-size: .72rem; line-height: 1.4; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.ui-seo-cols a:hover { color: var(--ink); text-decoration: underline; }
.ui-seo-cols a.is-root { color: var(--ink); font-weight: 700; }
.ui-seo-cols ul { margin: 0; padding: 0; list-style: none; }
.ui-seo-group { margin-bottom: 8px; }
.ui-seo-chips { display: flex; flex-wrap: wrap; gap: 5px; columns: auto; }
.ui-seo-chips a { display: inline-block; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); }
.ui-seo-toggle { display: inline-block; padding: 4px 0; color: var(--ink-2); font-size: .76rem; font-weight: 650; cursor: pointer; }
.ui-seo-toggle:hover { color: var(--ink); text-decoration: underline; }
.ui-seo-toggle .is-less, .ui-seo-check:checked ~ div .ui-seo-toggle .is-more { display: none; }
.ui-seo-check:checked ~ div .ui-seo-toggle .is-less { display: inline; }
.ui-seo-check:focus-visible ~ div .ui-seo-toggle { outline: 2px solid var(--ink-2); outline-offset: 2px; }
@media (max-width: 991.98px) { .ui-seo-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .ui-seo-cols { columns: 2; } .ui-seo-chips { columns: auto; } }

/* Footer: marka + 4 sütun */
.ui-footer-main { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 991.98px) { .ui-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ui-footer-main > :first-child { grid-column: 1 / -1; } }

/* Kurumsal ve yardım sayfaları (/hakkimizda, /yardim …) */
.tn-page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; max-width: 1080px; margin: 0 auto; padding: 18px 0 32px; }
.tn-page-nav { position: sticky; top: 84px; align-self: start; display: grid; gap: 2px; }
.tn-page-nav b { margin: 12px 0 4px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tn-page-nav b:first-child { margin-top: 0; }
.tn-page-nav a { padding: 7px 10px; border-radius: 9px; color: var(--ink-2); font-size: .86rem; font-weight: 600; text-decoration: none; }
.tn-page-nav a:hover { background: var(--surface-2); color: var(--ink); }
.tn-page-nav a.is-active { background: var(--accent); color: var(--on-accent); }
.tn-page-body { min-width: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.65; }
.tn-page-body h1 { margin: 0 0 8px; color: var(--ink); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.tn-page-body h2 { display: flex; align-items: center; gap: 8px; margin: 26px 0 8px; color: var(--ink); font-size: 1.08rem; font-weight: 750; }
.tn-page-body a { color: var(--ink); }
.tn-page-lead { margin: 0 0 6px; color: var(--muted); font-size: 1rem; }
.tn-page-muted { color: var(--muted); font-size: .82rem; }
.tn-page-list { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.tn-page-steps { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; }
.tn-page-steps li { position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 58px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); counter-increment: s; }
.tn-page-steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .85rem; }
.tn-page-steps b { color: var(--ink); }
.tn-page-note { display: flex; gap: 12px; margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.tn-page-note > i { margin-top: 4px; color: var(--ink); }
.tn-page-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 6px; }
.tn-page-card { display: grid; align-content: start; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tn-page-card > i { margin-bottom: 4px; color: var(--ink); font-size: 1.2rem; }
.tn-page-card b { color: var(--ink); }
.tn-page-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.tn-page-card a { margin-top: 6px; font-weight: 700; }
.tn-page-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tn-page-cta .ui-btn { text-decoration: none; }
.tn-faq-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 4px; }
.tn-faq-toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .8rem; font-weight: 650; text-decoration: none; }
.tn-faq-toc a:hover { border-color: var(--ink); color: var(--ink); }
.tn-faq { scroll-margin-top: 84px; }
.tn-faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tn-faq details + details { margin-top: 6px; }
.tn-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; color: var(--ink); font-weight: 650; cursor: pointer; list-style: none; }
.tn-faq summary::-webkit-details-marker { display: none; }
.tn-faq summary i { color: var(--muted); font-size: .72rem; transition: transform .2s; }
.tn-faq details[open] summary i { transform: rotate(180deg); }
.tn-faq details > div { padding: 0 14px 12px; color: var(--ink-2); font-size: .88rem; }
@media (max-width: 767.98px) {
  .tn-page { grid-template-columns: 1fr; gap: 14px; padding-top: 8px; }
  .tn-page-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .tn-page-nav b { display: none; }
  .tn-page-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: .8rem; }
}

/* Üye ol: tek sütunlu sade kart */
.tn-auth-card.is-single { grid-template-columns: 1fr; width: min(500px, 100%); }
.tn-auth-card.is-single .tn-auth-main { padding: 30px 34px 26px; }
.tn-auth-card.is-single h1 { font-size: 1.45rem; text-align: center; }
.tn-auth-card.is-single .tn-auth-sub { margin-bottom: 18px; text-align: center; }
.tn-auth-card.is-single .tn-auth-label { margin: 14px 0 5px; }
.tn-auth-card.is-single .tn-auth-field input { height: 44px; border-radius: 11px; }
.tn-auth-card.is-single .tn-auth-field.is-plain input { padding: 0 12px; }
.tn-auth-card.is-single .tn-auth-submit { height: 46px; margin-top: 20px; border-radius: 11px; }
.tn-auth-card.is-single .tn-auth-divider { margin: 16px 0 4px; }
.tn-auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tn-auth-type { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-strong); border-radius: 11px; overflow: hidden; }
.tn-auth-type input { position: absolute; opacity: 0; pointer-events: none; }
.tn-auth-type label { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; color: var(--ink-2); font-size: .88rem; font-weight: 650; cursor: pointer; }
.tn-auth-type label + input + label { border-left: 1px solid var(--line-strong); }
.tn-auth-type input:checked + label { background: var(--accent); color: var(--on-accent); }
.tn-auth-type input:focus-visible + label { outline: 2px solid var(--brand-500); outline-offset: -2px; }
.tn-auth-business[hidden] { display: none; }
.tn-auth-hint { margin: 6px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.tn-auth-foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; text-align: center; }
.tn-auth-foot a { color: var(--ink); font-weight: 700; }
@media (max-width: 480px) { .tn-auth-row { grid-template-columns: 1fr; gap: 0; } .tn-auth-card.is-single .tn-auth-main { padding: 22px 18px; } }

/* Mesajlarım (/mesajlar) ve Bildirimler (/bildirimler): ortak gelen kutusu düzeni.
   .tn-page kurumsal sayfaların iki sütunlu ızgarası olduğu için burada .tn-inbox kullanılır. */
.tn-inbox { max-width: 1080px; margin: 0 auto; padding: 8px 0 48px; }
.tn-inbox .tn-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.tn-inbox .tn-eyebrow { margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tn-inbox .tn-title { margin: 0; color: var(--ink); font-size: 30px; font-weight: 750; letter-spacing: -.03em; }
.tn-inbox .tn-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.tn-inbox .tn-count { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 650; white-space: nowrap; }
.tn-inbox .tn-count-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--info); }
.tn-inbox .tn-list { display: flex; flex-direction: column; gap: 10px; }
.tn-inbox .tn-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.tn-inbox .tn-tabs { display: flex; gap: 4px; }
.tn-inbox .tn-tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }
.tn-inbox .tn-tab:hover { background: var(--surface); color: var(--ink); }
.tn-inbox .tn-tab.active { border-color: var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tn-inbox .tn-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--info-soft); color: var(--info); font-size: 11px; font-weight: 750; }
.tn-inbox .tn-btn { display: inline-flex; align-items: center; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 650; text-decoration: none; cursor: pointer; }
.tn-inbox .tn-btn:hover { background: var(--surface-2); color: var(--ink); }
.tn-inbox .tn-btn:disabled { opacity: .55; cursor: default; }
.tn-inbox .tn-btn.primary { background: var(--accent); border-color: var(--accent-border); color: var(--on-accent); }
.tn-inbox .tn-btn.primary:hover { opacity: .88; }
.tn-inbox .tn-thread,
.tn-inbox .tn-notif { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.tn-inbox .tn-thread { align-items: center; text-decoration: none; }
.tn-inbox .tn-notif { align-items: flex-start; }
.tn-inbox .tn-thread:hover,
.tn-inbox .tn-notif:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-1px); text-decoration: none; }
.tn-inbox .tn-notif.unread { border-color: color-mix(in srgb, var(--info) 35%, var(--line)); background: color-mix(in srgb, var(--info) 4%, var(--surface)); }
.tn-inbox .tn-avatar,
.tn-inbox .tn-icon { display: flex; align-items: center; justify-content: center; background: var(--info-soft); color: var(--info); font-weight: 800; }
.tn-inbox .tn-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; font-size: 14px; }
.tn-inbox .tn-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
.tn-inbox .tn-notif.read .tn-icon { background: var(--surface-2); color: var(--muted); }
.tn-inbox .tn-main,
.tn-inbox .tn-notif-main { flex: 1; min-width: 0; }
.tn-inbox .tn-top,
.tn-inbox .tn-notif-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tn-inbox .tn-name,
.tn-inbox .tn-notif-title { color: var(--ink); font-size: 14px; font-weight: 720; }
.tn-inbox .tn-dot,
.tn-inbox .tn-arrow { color: var(--muted); }
.tn-inbox .tn-arrow { margin-left: 2px; font-size: 18px; }
.tn-inbox .tn-listing { max-width: 420px; overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.tn-inbox .tn-preview { margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.tn-inbox .tn-time { align-self: flex-start; margin-top: 2px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.tn-inbox .tn-unread { display: inline-flex; align-items: center; justify-content: center; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; background: var(--info); color: var(--on-ink); font-size: 10px; font-weight: 800; }
.tn-inbox .tn-new { padding: 3px 7px; border-radius: 999px; background: var(--info-soft); color: var(--info); font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.tn-inbox .tn-body { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.55; white-space: pre-wrap; }
.tn-inbox .tn-date { margin-top: 8px; color: var(--muted); font-size: 12px; }
.tn-inbox .tn-actions { display: flex; align-items: flex-start; flex-shrink: 0; gap: 7px; }
.tn-inbox .tn-empty { padding: 44px 20px; border: 1px dashed var(--line-strong); border-radius: 16px; background: var(--surface); text-align: center; }
.tn-inbox .tn-empty-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 14px; background: var(--surface-2); color: var(--muted); font-size: 21px; }
.tn-inbox .tn-empty-title { color: var(--ink); font-weight: 720; }
.tn-inbox .tn-empty-text { margin-top: 4px; color: var(--muted); font-size: 13px; }
.tn-inbox.tn-messages-compact .tn-thread { padding: 10px 13px; }
.tn-inbox.tn-messages-compact .tn-list { gap: 6px; }
@media (max-width: 700px) {
  .tn-inbox .tn-hero { align-items: flex-start; flex-direction: column; }
  .tn-inbox .tn-title { font-size: 25px; }
  .tn-inbox .tn-thread,
  .tn-inbox .tn-notif { padding: 14px; }
  .tn-inbox .tn-time,
  .tn-inbox .tn-arrow { display: none; }
  .tn-inbox .tn-listing { max-width: 230px; }
  .tn-inbox .tn-toolbar { align-items: stretch; flex-direction: column; }
  .tn-inbox .tn-tabs { width: 100%; }
  .tn-inbox .tn-tab { flex: 1; justify-content: center; }
  .tn-inbox .tn-actions { flex-direction: column; }
  .tn-inbox .tn-actions .tn-btn { justify-content: center; width: 100%; }
}

/* Favorilerim (/favoriler) */
.fav-wrap { max-width: 1120px; margin: 0 auto; padding: 4px 0 24px; font-size: 13px; }
.fav-hero { margin-bottom: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.fav-title { margin: 0; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.3px; }
.fav-sub { margin-top: 3px; color: var(--muted); font-size: 13px; }
.fav-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.fav-nav a { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 650; text-decoration: none; }
.fav-nav a:hover { border-color: var(--line-strong); background: var(--surface-2); color: var(--ink); }
.fav-section { margin-top: 14px; scroll-margin-top: 90px; }
.fav-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fav-section-title { margin: 0; color: var(--ink); font-size: 15px; font-weight: 750; }
.fav-count { padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 700; }
.fav-card { height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.fav-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.fav-cover { position: relative; display: block; height: 130px; overflow: hidden; background: var(--img-bg); }
.fav-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fav-body { display: flex; flex-direction: column; height: calc(100% - 130px); padding: 10px 11px; }
.fav-name { color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.fav-name:hover { color: var(--ink); text-decoration: underline; }
.fav-meta { margin-top: 5px; color: var(--muted); font-size: 12px; }
.fav-price { margin-top: 6px; color: var(--ink); font-size: 14px; font-weight: 800; }
.fav-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 10px; }
.fav-profile,
.fav-search { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.fav-search { justify-content: space-between; gap: 12px; }
.fav-avatar { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); object-fit: cover; }
.fav-search-title { color: var(--ink); font-size: 13px; font-weight: 700; }
.fav-search-meta { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.fav-empty { padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--surface-2); color: var(--muted); font-size: 12.5px; text-align: center; }
.fav-empty strong { display: block; margin-bottom: 2px; color: var(--ink-2); font-size: 13px; }
.fav-empty .btn,
.fav-hero .btn { padding: 4px 10px; font-size: 12px; }
.fav-empty .btn { margin-top: 8px !important; }
@media (max-width: 767px) {
  .fav-hero { padding: 12px 14px; border-radius: 12px; }
  .fav-title { font-size: 18px; }
  .fav-search { align-items: flex-start; flex-direction: column; }
  .fav-actions .btn { flex: 1; }
}

/* Profilim (/profilim, Ayarlar → Hesap) */
.tn-pr { max-width: 980px; margin: 8px auto 24px; padding: 0 12px; }
.tn-pr h1 { margin: 0 0 10px; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.tn-pr-flash { margin-bottom: 10px; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.tn-pr-flash.ok { border: 1px solid color-mix(in srgb, var(--success) 35%, transparent); background: color-mix(in srgb, var(--success) 10%, var(--surface)); color: color-mix(in srgb, var(--success) 70%, var(--ink)); }
.tn-pr-flash.no { border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: color-mix(in srgb, var(--danger) 75%, var(--ink)); }
.tn-pr-hero { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tn-pr-ava-wrap { text-align: center; }
.tn-pr-ava { width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); object-fit: cover; }
.tn-pr-name { margin: 0; color: var(--ink); font-size: 17px; font-weight: 800; }
.tn-pr-meta { margin-top: 2px; color: var(--muted); font-size: 12px; }
.tn-pr-up { margin-top: 8px; }
.tn-pr-up form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tn-pr-file { max-width: 240px; padding: 4px 8px; border: 1px dashed var(--line-strong); border-radius: 9px; background: var(--surface-2); color: var(--ink-2); font-size: 12px; }
.tn-pr-btn { padding: 7px 12px; border: 0; border-radius: 9px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.tn-pr-btn.dark { background: var(--accent); color: var(--on-accent); }
.tn-pr-btn.dark:hover { opacity: .88; color: var(--on-ink); }
.tn-pr-btn.green { padding: 8px 16px; background: var(--success); color: #fff; }
.tn-pr-btn.green:hover { opacity: .88; }
.tn-pr-btn.danger { background: var(--danger); color: #fff; }
.tn-pr-btn.danger:hover { opacity: .88; }
.tn-pr-hint { color: var(--muted); font-size: 11px; }
.tn-pr-card { margin-top: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tn-pr-card h2 { margin: 0 0 2px; color: var(--ink); font-size: 14.5px; font-weight: 800; }
.tn-pr-card .sub { margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.tn-pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
.tn-pr-field label { display: block; margin-bottom: 3px; color: var(--ink-2); font-size: 11.5px; font-weight: 700; }
.tn-pr-field input,
.tn-pr-field select,
.tn-pr-field textarea { width: 100%; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface-2); color: var(--ink); font-size: 13px; }
.tn-pr-field input:focus,
.tn-pr-field select:focus,
.tn-pr-field textarea:focus { outline: none; border-color: var(--muted); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 8%, transparent); }
.tn-pr-field textarea { min-height: 56px; }
.tn-pr-span { grid-column: 1 / -1; }
.tn-pr-div { height: 1px; margin: 12px 0; background: var(--line); }
.tn-pr-sec { margin-bottom: 4px; color: var(--ink); font-size: 13px; font-weight: 800; }
.tn-pr-checks { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 12px; }
.tn-pr-checks label { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12.5px; }
.tn-pr-business > summary { display: inline-block; margin-top: 12px; list-style: none; cursor: pointer; }
.tn-pr-business > summary::-webkit-details-marker { display: none; }
.tn-pr-business[open] > summary { display: none; }
@media (max-width: 900px) { .tn-pr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .tn-pr-hero { grid-template-columns: 1fr; text-align: center; }
  .tn-pr-ava-wrap { margin: 0 auto; }
  .tn-pr-up form { justify-content: center; }
  .tn-pr-grid { grid-template-columns: 1fr; }
}
/* Footer: sayfadan koyu ayrı bir zemin (her temada kendi tonu) */
.ui-footer { --footer-bg: #e6e9ee; --footer-line: #d0d5dd; background: var(--footer-bg); border-top: 1px solid var(--footer-line); }
html[data-theme="dark"] .ui-footer { --footer-bg: #16181c; --footer-line: #2c3037; }
html[data-theme="dark"][data-dark="black"] .ui-footer { --footer-bg: #0e0e10; --footer-line: #232428; }
html .ui-home-shell .ui-footer, html[data-theme="dark"] .ui-home-shell .ui-footer { background: var(--footer-bg); border-color: var(--footer-line); }
/* Kategoriler / Popüler Aramalar: footer'ın üstünde, sayfa zemininde ayrı bölüm; sayfa kısaysa footer'la birlikte en alta iner */
.ui-seo-links { margin-top: auto; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 0; }
.ui-seo-links + .ui-footer { margin-top: 0; }
.ui-home-shell .ui-seo-links { width: calc(100% - var(--tn-home-sidebar-width)); margin-left: var(--tn-home-sidebar-width); }
.ui-home-shell.is-auth-page .ui-seo-links { width: 100%; margin-left: 0; }
@media (max-width: 767.98px) { .ui-home-shell .ui-seo-links { width: 100%; margin-left: 0; } }
.ui-footer .ui-footer-bottom, html[data-theme="dark"] .ui-home-shell .ui-footer-bottom { border-color: var(--footer-line); }

/* Teklif formu: beden / renk seçimi */
.ui-vpick { margin: 0; padding: 0; border: 0; min-width: 0; }
.ui-vpick legend { float: none; width: auto; font-size: .78rem; }
.ui-vpick-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-vpick-opts input { position: absolute; opacity: 0; pointer-events: none; }
.ui-vpick-opts label { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 32px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink-2); font-size: .8rem; font-weight: 650; cursor: pointer; user-select: none; }
.ui-vpick-opts label:hover { border-color: var(--ink-2); }
.ui-vpick-opts input:checked + label { background: var(--accent); border-color: var(--accent-border); color: var(--on-accent); }
.ui-vpick-opts input:focus-visible + label { outline: 2px solid var(--brand-500); outline-offset: 2px; }

/* Doğrulama tik rozeti (ismin yanında): işletme sarı, doğrulanmış kişi mavi */
.tn-vbadge { display: inline-flex; flex: 0 0 auto; width: 18px; height: 18px; margin-left: 4px; vertical-align: -3px; }
.tn-vbadge svg { width: 100%; height: 100%; }
.tn-vbadge.is-business { color: #e8a700; }
.tn-vbadge.is-user { color: #1d9bf0; }
.ui-seller-nameline { display: inline-flex; align-items: center; min-width: 0; max-width: 100%; }
.ui-seller-nameline .ui-seller-name { min-width: 0; }

/* Kategori sayfası: ürün tipi sekmeleri (3. seviye) */
.ui-types { gap: 6px; }
.ui-types a { padding: 5px 11px; font-size: .8rem; }
.ui-types a.is-on { background: var(--accent); border-color: var(--accent-border); color: var(--on-accent); }
.ui-types a.is-on small { color: inherit; opacity: .75; }
.ui-card-seller { display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; color: var(--muted); font-size: .7rem; font-weight: 600; }
.ui-card-seller .tn-vbadge { width: 14px; height: 14px; margin-left: 0; vertical-align: -2px; }
.tn-cx-name .tn-vbadge, .tn-pp-name .tn-vbadge { width: 16px; height: 16px; }

/* Yorum yanıtları (ilan sahibi / yönetici): yorumun altında girintili tek kırılım */
.ui-cmt-thread + .ui-cmt-thread { margin-top: 10px; }
.ui-cmt-replies { margin: 6px 0 0 44px; padding-left: 12px; border-left: 2px solid var(--line); display: grid; gap: 8px; }
.ui-cmt.is-reply { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
.ui-cmt.is-reply .ui-cmt-main { padding: 8px 12px; background: var(--surface-2); }
.ui-cmt.is-reply .ui-cmt-avatar { width: 28px; height: 28px; font-size: .75rem; }
.ui-cmt-replybox > summary { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: .78rem; font-weight: 650; cursor: pointer; list-style: none; }
.ui-cmt-replybox > summary::-webkit-details-marker { display: none; }
.ui-cmt-replybox > summary:hover { color: var(--ink); text-decoration: underline; }
.ui-cmt-replybox[open] > summary { margin-bottom: 6px; }
.ui-cmt-form.is-reply { margin-top: 0; padding-top: 0; border-top: 0; grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 575.98px) { .ui-cmt-replies { margin-left: 16px; } }

/* ===== İlan sayfası genişletmesi (Hepsiburada tarzı) ===== */
/* Kategori yolu, marka, puan satırı */
.ui-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 6px; color: var(--muted); font-size: .74rem; }
.ui-crumbs a { color: var(--muted); text-decoration: none; }
.ui-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.ui-crumbs i { font-size: .55rem; opacity: .6; }
.ui-d-brand { display: inline-block; margin-bottom: 2px; color: var(--ink); font-size: .86rem; font-weight: 750; text-decoration: none; }
.ui-d-brand:hover { text-decoration: underline; }
.ui-d-rate { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 8px; font-size: .8rem; }
.ui-d-rate a { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); text-decoration: none; }
.ui-d-rate a:hover span { text-decoration: underline; }
.ui-stars { --v: 0; --size: 13px; position: relative; display: inline-block; width: calc(var(--size) * 5 + 4px); height: var(--size); font-size: var(--size); line-height: 1; }
.ui-stars::before, .ui-stars::after { content: "\2605\2605\2605\2605\2605"; position: absolute; inset: 0; letter-spacing: 1px; }
.ui-stars::before { color: var(--line-strong); }
.ui-stars::after { width: calc(var(--v) / 5 * 100%); overflow: hidden; color: #f5a623; white-space: nowrap; }
.ui-stars.is-lg { --size: 18px; }

/* Fiyat altı: indirim, stok, ilgi, rozetler */
.ui-px-old { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .82rem; }
.ui-px-old s { color: var(--muted); }
.ui-px-old em { padding: 1px 7px; border-radius: 999px; background: #e8f7ee; color: #12805c; font-style: normal; font-weight: 750; font-size: .74rem; }
.ui-px-stock { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 9px; border-radius: 8px; background: #fff4e5; color: #b45309; font-size: .78rem; font-weight: 700; }
.ui-px-stock.is-out { background: var(--surface-2); color: var(--muted); }
.ui-px-hot { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 6px; color: var(--muted); font-size: .76rem; }
.ui-px-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.ui-px-badges li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: .74rem; font-weight: 600; }
.ui-d-price-inline .ui-px-old, .ui-d-price-inline .ui-px-hot, .ui-d-price-inline .ui-px-badges { font-weight: 500; }
html[data-theme="dark"] .ui-px-old em { background: rgba(18, 128, 92, .2); color: #6ee7b7; }
html[data-theme="dark"] .ui-px-stock { background: rgba(245, 158, 11, .15); color: #fbbf24; }

/* Beden / renk seçimi: renk görselleri, tükenen beden, beden tablosu, model ölçüsü */
.ui-vpick legend { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ui-vpick-chart { padding: 0; border: 0; background: none; color: var(--ink-2); font-size: .74rem; font-weight: 650; text-decoration: underline; cursor: pointer; }
.ui-vpick-opts label { gap: 6px; }
.ui-vpick-opts label.is-sold { color: var(--muted); text-decoration: line-through; opacity: .55; cursor: not-allowed; }
.ui-vpick.has-thumbs .ui-vpick-opts label { height: auto; padding: 3px 8px 3px 3px; }
.ui-vpick.has-thumbs .ui-vpick-opts label img { width: 34px; height: 44px; border-radius: 6px; object-fit: cover; }
.ui-vpick-model { margin-top: 6px; color: var(--muted); font-size: .74rem; }

/* Pencereler: beden tablosu + tam ekran galeri */
.ui-dialog { width: min(560px, calc(100vw - 32px)); padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md); }
.ui-dialog::backdrop, .ui-lightbox::backdrop { background: rgba(10, 12, 16, .55); }
.ui-dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ui-dialog-head h2 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.ui-dialog-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; }
.ui-chart-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.ui-chart-table th, .ui-chart-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.ui-chart-table th { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.ui-chart-note { margin: 10px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.ui-lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(10, 12, 16, .94); }
.ui-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.ui-lightbox-stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; overflow: hidden; }
.ui-lightbox-stage img { max-width: 92vw; max-height: 90vh; object-fit: contain; cursor: zoom-in; transition: transform .2s ease; }
.ui-lightbox-stage.is-zoom img { transform: scale(2.2); cursor: zoom-out; }
.ui-lightbox-x, .ui-lightbox-nav { position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.1rem; cursor: pointer; }
.ui-lightbox-x { top: 16px; right: 16px; }
.ui-lightbox-nav.is-prev { left: 16px; }
.ui-lightbox-nav.is-next { right: 16px; }
.ui-lightbox-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .82rem; opacity: .8; }
.ui-gallery-video video { max-height: 100%; object-fit: contain; background: #000; }
.ui-thumb-video { display: inline-flex; align-items: center; justify-content: center; background: #111 !important; color: #fff; }

/* Satıcı puanı; diğer satıcılar; güvenli alışveriş bağlantısı; favori ipucu; mobil alt çubuk fiyatı */
.ui-seller-badges li.is-score b { color: var(--ink); }
.ui-others ul { margin: 0; padding: 0; list-style: none; }
.ui-others li + li { border-top: 1px solid var(--line); }
.ui-others li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; color: var(--ink); text-decoration: none; }
.ui-others li a:hover b { text-decoration: underline; }
.ui-others li span { display: grid; min-width: 0; }
.ui-others li b { overflow: hidden; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.ui-others li small { color: var(--muted); font-size: .72rem; }
.ui-others li em { flex: 0 0 auto; font-style: normal; font-weight: 800; font-size: .88rem; }
.ui-others-sub { color: var(--muted); font-size: .72rem; }
.ui-safety-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ink); font-size: .8rem; font-weight: 700; text-decoration: none; }
.ui-safety-more:hover { text-decoration: underline; }
.ui-fav-hint { color: var(--muted); font-size: .72rem; }
.tn-bb-price { display: grid; flex: 0 0 auto; padding-right: 4px; line-height: 1.15; }
.tn-bb-price s { color: var(--muted); font-size: .7rem; }
.tn-bb-price b { font-size: 1rem; font-weight: 800; white-space: nowrap; }

/* Açıklama: madde listesi */
.ui-desc p { margin: 0 0 10px; }
.ui-desc ul { margin: 0 0 10px; padding-left: 20px; }
.ui-desc li { margin: 2px 0; }

/* Değerlendirmeler */
.ui-rv-summary { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 12px; }
.ui-rv-score { display: grid; justify-items: start; gap: 4px; }
.ui-rv-score b { font-size: 2.2rem; font-weight: 850; line-height: 1; }
.ui-rv-score small { color: var(--muted); font-size: .72rem; }
.ui-rv-dist { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.ui-rv-dist a { display: grid; grid-template-columns: 30px minmax(0, 1fr) 34px; align-items: center; gap: 8px; color: var(--ink-2); font-size: .76rem; text-decoration: none; }
.ui-rv-dist a i.fa-star { color: #f5a623; font-size: .62rem; }
.ui-rv-dist a.is-on { color: var(--ink); font-weight: 750; }
.ui-rv-bar { display: block; height: 7px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.ui-rv-bar i { display: block; height: 100%; border-radius: 99px; background: #f5a623; }
.ui-rv-dist em { color: var(--muted); font-style: normal; text-align: right; }
.ui-rv-filters { margin-bottom: 10px; }
.ui-rv-list { display: grid; gap: 10px; }
.ui-rv { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ui-rv header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 4px; font-size: .82rem; }
.ui-rv header time { margin-left: auto; color: var(--muted); font-size: .74rem; }
.ui-rv p { margin: 4px 0 0; font-size: .86rem; line-height: 1.5; }
.ui-rv-item { color: var(--muted); font-size: .74rem; text-decoration: none; }
.ui-rv-photo img { width: 96px; height: 96px; margin-top: 8px; border-radius: 10px; object-fit: cover; }
.ui-rv-reply { margin-top: 8px; padding: 8px 10px; border-left: 3px solid var(--brand-500); border-radius: 0 8px 8px 0; background: var(--surface-2); font-size: .8rem; }
.ui-rv-reply b { display: inline-flex; gap: 6px; font-size: .76rem; }
.ui-rv footer { margin-top: 8px; }
.ui-rv-help { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .74rem; font-weight: 650; cursor: pointer; }
.ui-rv-help.is-on { border-color: var(--ink); color: var(--ink); }
.ui-rv-help.is-static { border: 0; padding: 0; cursor: default; color: var(--muted); }
.ui-rv-form { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ui-rv-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: .88rem; }
.ui-rv-form .ui-btn { justify-self: start; }
.ui-rv-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.ui-rv-pick input { position: absolute; opacity: 0; pointer-events: none; }
.ui-rv-pick label { color: var(--line-strong); font-size: 1.5rem; cursor: pointer; }
.ui-rv-pick label:hover, .ui-rv-pick label:hover ~ label, .ui-rv-pick input:checked ~ label { color: #f5a623; }
.ui-rv-pick input:focus-visible + label { outline: 2px solid var(--brand-500); border-radius: 4px; }
.ui-rv-file { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .8rem; cursor: pointer; }
.ui-rv-file input { font-size: .76rem; }
@media (max-width: 575.98px) { .ui-rv-summary { grid-template-columns: 1fr; } }

/* Yatay şeritler: kombin, satıcının diğer ürünleri, son baktıkların */
.ui-strip { margin-top: 22px; }
.ui-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ui-strip-head h5 { margin: 0; }
.ui-strip-head span, .ui-strip-head a { color: var(--muted); font-size: .78rem; text-decoration: none; }
.ui-strip-head a:hover { color: var(--ink); text-decoration: underline; }
.ui-hstrip { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.ui-hcard { display: grid; align-content: start; gap: 4px; scroll-snap-align: start; color: var(--ink); text-decoration: none; }
.ui-hcard-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: var(--img-bg); color: var(--muted); }
.ui-hcard-img img { width: 100%; height: 100%; object-fit: cover; }
.ui-hcard-price { font-size: .86rem; font-weight: 800; }
.ui-hcard-tag { color: var(--muted); font-size: .7rem; font-weight: 650; }
.ui-hcard-title { display: -webkit-box; overflow: hidden; color: var(--ink-2); font-size: .76rem; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ui-hcard:hover .ui-hcard-title { text-decoration: underline; }

/* Satıcı / işletme kartı: kompakt (küçük avatar, rozet ve butonlar; butonlar ikişerli) */
.ui-side-card.ui-seller { padding: 12px 14px; }
.ui-seller .ui-side-title { margin-bottom: 8px; }
.ui-seller .ui-side-title h5 { font-size: .8rem; color: var(--muted); font-weight: 700; }
.ui-seller-head { gap: 10px; }
.ui-seller .ui-seller-avatar { width: 38px; height: 38px; font-size: .95rem; }
.ui-seller .ui-seller-name { font-size: .9rem; }
.ui-seller .ui-seller-who > span { font-size: .74rem; }
.ui-seller .ui-seller-badges { gap: 4px; margin-top: 8px; }
.ui-seller .ui-seller-badges li { gap: 4px; padding: 2px 7px; font-size: .68rem; }
.ui-seller .ui-seller-actions { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.ui-seller .ui-seller-row { display: contents; }
.ui-seller .ui-seller-actions .is-wide { grid-column: 1 / -1; }
.ui-seller .ui-side-btn { min-height: 30px; padding: 4px 8px; gap: 5px; border-radius: 9px; font-size: .74rem; }
.ui-seller .ui-side-btn i { font-size: .74rem; }
.ui-seller .ui-seller-links { gap: 4px 12px; margin-top: 8px; padding-top: 8px; }
.ui-seller .ui-link-btn { font-size: .7rem; }
.ui-seller .ui-seller-note { margin-top: 8px; font-size: .74rem; }

/* Ürün durumu etiketi (ilan kartı / arama kartı görselinin sol altında) */
.ui-cond { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: rgba(17, 24, 39, .78); color: #fff; font-size: .68rem; font-weight: 750; line-height: 1.5; letter-spacing: .01em; backdrop-filter: blur(4px); }
.ui-cond.is-new { background: #12805c; }
.ui-d-wide { margin-top: 8px; }
@media (min-width: 992px) { .ui-d-wide .ui-hstrip { grid-auto-columns: 170px; } }

/* ===== Üç sütunlu düzen: sol = filtreler + kategoriler, orta = içerik, sağ = reklam + trendler ===== */
.ui-home-shell { --tn-rail-width: 0px; }
.tn-rail { display: grid; align-content: start; gap: 16px; padding: 14px; }
@media (min-width: 1200px) {
  .ui-home-shell { --tn-rail-width: 300px; }
  .tn-rail { position: fixed; z-index: 1024; top: 65px; right: 0; bottom: 0; width: var(--tn-rail-width); overflow-y: auto; padding: 18px 14px; border-left: 1px solid var(--line); background: var(--surface); }
  .ui-home-shell main.tn-wrap { width: calc(100% - var(--tn-home-sidebar-width) - var(--tn-rail-width)); }
  .ui-home-shell .ui-footer, .ui-home-shell .ui-seo-links { width: calc(100% - var(--tn-home-sidebar-width) - var(--tn-rail-width)); }
}
/* Dar masaüstü / tablet: sağ sütun içeriğin altında, aynı hizada */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .tn-rail { width: calc(100% - var(--tn-home-sidebar-width)); margin-left: var(--tn-home-sidebar-width); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0 clamp(16px, 3vw, 48px) 24px; }
}
@media (max-width: 767.98px) { .tn-rail { padding: 0 12px 20px; } }
html[data-theme="dark"] .tn-rail { background: var(--bg); border-color: var(--line); }
.tn-rail .tn-home-trends { margin: 0; padding: 0; border: 0; }

/* Reklam alanı */
.tn-rail-ads { display: grid; gap: 10px; }
.tn-rail-ad { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--img-bg); }
.tn-rail-ad img { display: block; width: 100%; height: auto; }
.tn-rail-ad small { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .02em; }
.tn-rail-promo { display: grid; gap: 6px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--surface-2); color: var(--ink); text-decoration: none; }
.tn-rail-promo > i { font-size: 1.2rem; }
.tn-rail-promo b { font-size: .92rem; }
.tn-rail-promo span { color: var(--muted); font-size: .76rem; line-height: 1.45; }
.tn-rail-promo em { color: var(--ink); font-size: .78rem; font-style: normal; font-weight: 750; }
.tn-rail-promo:hover em { text-decoration: underline; }

/* Sol sütun kategori ağacı: ikonlu ana kategori, tıklayınca alt kategoriler açılır */
.tn-side-cats { display: grid; gap: 2px; margin-bottom: 14px; }
.tn-side-cat > summary { display: flex; align-items: center; gap: 9px; padding: 7px 6px; border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 800; cursor: pointer; list-style: none; }
.tn-side-cat > summary::-webkit-details-marker { display: none; }
.tn-side-cat > summary:hover { background: var(--surface-2); }
.tn-side-cat-ico { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .7rem; }
.tn-side-cat-name { flex: 1; min-width: 0; }
.tn-side-cat-caret { color: var(--muted); font-size: .65rem; transition: transform .15s; }
.tn-side-cat[open] .tn-side-cat-caret { transform: rotate(180deg); }
.tn-side-cat ul { margin: 2px 0 8px; padding: 0 0 0 41px; list-style: none; }
.tn-side-cat li a { display: block; overflow: hidden; padding: 3px 0; color: var(--ink-2); font-size: .82rem; line-height: 1.45; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.tn-side-cat li a:hover { color: var(--ink); text-decoration: underline; }
.tn-side-cat li a.is-on { color: var(--ink); font-weight: 800; }
.tn-side-cat-all a { margin-top: 2px; color: var(--muted) !important; font-size: .76rem !important; font-weight: 650; }
.tn-side-cat-all i { font-size: .62rem; }
@media (max-width: 767.98px) {
  /* Mobil: ana kategoriler yatay; açılınca alt kategoriler alt satırda */
  .tn-side-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0; }
  .tn-side-cat > summary { padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; }
  .tn-side-cat[open] { flex-basis: 100%; }
  .tn-side-cat ul { padding-left: 14px; }
  .tn-side-cat-ico { width: 22px; height: 22px; }
}

/* Favori kalbi: kartların görselinin sağ üstünde; arama listesinde kartın sağ altında */
.ui-card, .ui-rcard-wrap, .ui-hcard-wrap { position: relative; }
.ui-fav { position: absolute; z-index: 3; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111827; font-size: .95rem; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); cursor: pointer; transition: transform .12s, color .12s; }
.ui-fav:hover { transform: scale(1.08); }
.ui-fav.is-on { color: #e11d48; }
.ui-fav:disabled { opacity: .7; }
.ui-fav.is-sm { width: 28px; height: 28px; font-size: .8rem; top: 6px; right: 6px; }
.ui-rcard-wrap > .ui-rcard { height: 100%; }
.ui-rcard-wrap > .ui-fav { top: auto; bottom: 12px; right: 12px; background: var(--surface-2); box-shadow: none; }
.ui-rlist.is-grid .ui-rcard-wrap > .ui-fav, .ui-rlist.is-duo .ui-rcard-wrap > .ui-fav { top: 8px; bottom: auto; right: 8px; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
html[data-theme="dark"] .ui-rcard-wrap > .ui-fav { color: var(--ink); }
/* İlan sayfası: bilgi kartındaki kalp + favori sayısı */
.ui-fav-stat { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: inherit; font: inherit; cursor: pointer; }
.ui-fav-stat:hover { border-color: #e11d48; color: #e11d48; }
.ui-fav-stat.is-on { border-color: #e11d48; color: #e11d48; }

/* Kısa sayfalarda footer ekranın ortasında görünmesin: içerik en az bir ekran boyu, footer aşağı kaydırınca gelir */
.ui-home-shell main.tn-wrap { min-height: calc(100vh - 65px); }
@supports (height: 100svh) { .ui-home-shell main.tn-wrap { min-height: calc(100svh - 65px); } }

/* İlan ver: kompakt form (yöntem kartları, alanlar, etiketler) */
.tn-create-title { font-size: 1.2rem; font-weight: 800; }
.tn-create-sub { font-size: .8rem; margin-bottom: 10px !important; }
body:not(.ui-home-shell) .tn-create-title, body:not(.ui-home-shell) .tn-create-sub { display: none; } /* pencere içinde başlık zaten var */
.tn-create-form.card-body { padding: 12px 14px; flex: 0 0 auto; }   /* içerik kadar (ana sütunun boyunu doldurmaz) */
.tn-create-form .row.g-3 { --bs-gutter-x: .7rem; --bs-gutter-y: .55rem; }
.tn-create-form .form-label, .tn-create-methods .form-label { margin-bottom: 3px; font-size: .76rem; font-weight: 650; color: var(--ink-2); }
.tn-create-form .form-control, .tn-create-form .form-select, .tn-create-methods .form-control { min-height: 34px; padding: 5px 10px; border-radius: 8px; font-size: .84rem; }
.tn-create-form .form-select { padding-right: 30px; background-position: right 10px center; }
.tn-create-form textarea.form-control, .tn-create-methods textarea.form-control { min-height: 0; line-height: 1.45; }
.tn-create-form .form-text, .tn-create-form .small { font-size: .72rem; }
.tn-create-form .fw-semibold { font-size: .84rem; }
.tn-create-form .tn-create-submit { width: auto; min-height: 34px; padding: 6px 18px; border-radius: 9px; font-size: .84rem; font-weight: 700; }
.tn-create-methods { margin-bottom: 12px !important; }
.tn-create-methods h4 { margin-bottom: 2px !important; font-size: .95rem; font-weight: 800; }
.tn-create-methods > p { margin-bottom: 8px !important; font-size: .74rem !important; }
.tn-create-method-grid { gap: 6px; margin: 8px 0; }
.tn-create-method { min-height: 0; gap: 1px; padding: 7px 10px; border-radius: 9px; }
.tn-create-method i { font-size: .9rem; }
.tn-create-method strong { font-size: .8rem; }
.tn-create-method span { font-size: .7rem; line-height: 1.3; }
.tn-create-method-panel { padding: 9px 10px; border-radius: 9px; }
.tn-create-method-panel p, .tn-create-method-panel .alert { margin-bottom: 6px; font-size: .74rem; }
.tn-create-method-panel .alert { padding: 6px 10px; }
.tn-create-method-panel .ui-btn { min-height: 32px; padding: 0 12px; font-size: .8rem; }
.tn-create-methods .ui-ai-note { margin-top: 6px !important; font-size: .7rem !important; }

/* ===== İlan sohbeti (chat.php): başlık + ilan kartı + mesaj balonları + tek satır mesaj kutusu ===== */
.tn-chat { display: flex; flex-direction: column; max-width: 860px; height: calc(100vh - 110px); min-height: 460px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
@supports (height: 100svh) { .tn-chat { height: calc(100svh - 110px); } }
.tn-chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tn-chat-back { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); text-decoration: none; }
.tn-chat-back:hover { background: var(--surface-2); }
.tn-chat-who { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.tn-chat-ava { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .9rem; font-weight: 800; }
.tn-chat-ava img { width: 100%; height: 100%; object-fit: cover; }
.tn-chat-who-text { display: grid; min-width: 0; line-height: 1.25; }
.tn-chat-who-text b { display: inline-flex; align-items: center; overflow: hidden; font-size: .9rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.tn-chat-who-text small { color: var(--muted); font-size: .72rem; }
.tn-chat-head-actions { display: flex; flex: 0 0 auto; gap: 6px; }
.tn-chat-report { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .72rem; font-weight: 650; }
.tn-chat-report:hover { border-color: var(--danger); color: var(--danger); }
.tn-chat-listing { display: flex; align-items: center; gap: 10px; margin: 8px 12px 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink); text-decoration: none; }
.tn-chat-listing:hover { border-color: var(--line-strong); }
.tn-chat-listing-img { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 40px; height: 40px; overflow: hidden; border-radius: 8px; background: var(--img-bg); color: var(--muted); }
.tn-chat-listing-img img { width: 100%; height: 100%; object-fit: cover; }
.tn-chat-listing-text { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.tn-chat-listing-text b { overflow: hidden; font-size: .8rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tn-chat-listing-text small { color: var(--ink-2); font-size: .74rem; font-weight: 650; }
.tn-chat-listing > i { color: var(--muted); font-size: .7rem; }
.tn-chat-box { flex: 1; display: flex; flex-direction: column; gap: 4px; min-height: 0; overflow-y: auto; padding: 14px 14px 10px; }
.tn-chat-day { display: flex; justify-content: center; margin: 8px 0 4px; }
.tn-chat-day span { padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .68rem; font-weight: 650; }
.tn-chat-msg { display: flex; }
.tn-chat-msg.is-mine { justify-content: flex-end; }
.tn-chat-bubble { position: relative; max-width: min(78%, 520px); padding: 7px 11px 5px; border-radius: 16px; background: var(--surface-2); color: var(--ink); font-size: .86rem; line-height: 1.45; word-break: break-word; }
.tn-chat-msg.is-theirs .tn-chat-bubble { border-bottom-left-radius: 5px; }
.tn-chat-msg.is-mine .tn-chat-bubble { border-bottom-right-radius: 5px; background: var(--accent); color: var(--on-accent); }
.tn-chat-bubble time { display: block; margin-top: 2px; color: var(--muted); font-size: .64rem; text-align: right; }
.tn-chat-msg.is-mine .tn-chat-bubble time { color: color-mix(in srgb, var(--on-ink) 65%, transparent); }
.tn-chat-empty { display: grid; justify-items: center; gap: 6px; margin: auto; max-width: 420px; padding: 18px; text-align: center; }
.tn-chat-empty > i { color: var(--muted); font-size: 1.6rem; }
.tn-chat-empty b { font-size: .95rem; }
.tn-chat-empty span { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.tn-chat-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.tn-chat-quick button { padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: .76rem; font-weight: 600; cursor: pointer; }
.tn-chat-quick button:hover { border-color: var(--ink); color: var(--ink); }
.tn-chat-compose { display: flex; align-items: flex-end; gap: 8px; margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); }
.tn-chat-compose textarea { flex: 1; min-height: 38px; max-height: 140px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 20px; outline: 0; resize: none; background: var(--surface-2); color: var(--ink); font: inherit; font-size: .86rem; line-height: 1.4; }
.tn-chat-compose textarea:focus { border-color: var(--ink-2); background: var(--surface); }
.tn-chat-send { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .85rem; cursor: pointer; transition: opacity .15s, transform .12s; }
.tn-chat-send:hover:not(:disabled) { transform: scale(1.05); }
.tn-chat-send:disabled { opacity: .35; cursor: default; }
.tn-chat-safe { margin: 0; padding: 0 14px 10px; color: var(--muted); font-size: .68rem; text-align: center; }
.tn-chat-compact .tn-chat-box { gap: 2px; }
.tn-chat-compact .tn-chat-bubble { padding: 5px 9px 4px; font-size: .82rem; }
@media (max-width: 575.98px) {
  .tn-chat { height: calc(100vh - 150px); border-radius: 12px; }
  .tn-chat-bubble { max-width: 86%; }
}

/* Kart satıcı satırı: ad + rozet + puan */
.ui-card-seller { display: flex; align-items: center; gap: 3px; min-width: 0; margin-top: 3px; color: var(--ink-2); font-size: .72rem; font-weight: 650; }
.ui-card-seller-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-card-seller .tn-vbadge { flex: 0 0 auto; width: 13px; height: 13px; margin-left: 1px; }
.ui-card-rate { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; margin-left: 4px; color: var(--ink); font-weight: 750; }
.ui-card-rate i { color: #f5a623; font-size: .62rem; }
/* Arama kartı: sol altta "Vitrin" etiketi var; durum / Yeni etiketi sol üstte */
.ui-rcard-img .ui-cond { top: 8px; bottom: auto; }
.ui-rlist.is-compact .ui-rcard-img .ui-cond { top: 6px; left: 6px; padding: 1px 6px; font-size: .6rem; }

/* ===== Ana sayfa slayt banner (partials/home_slider.php): slogan / duyuru, 5 sn'de bir döner ===== */
.tn-slider { position: relative; width: 70%; min-height: 240px; height: auto; margin: 14px auto 6px; overflow: hidden; border-radius: 20px; background: #111; color: #fff; isolation: isolate; }
.tn-slider-track { position: absolute; inset: 0; }
.tn-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 72px 44px 56px; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.tn-slide.is-on { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; }
.tn-slide.is-ink { background: radial-gradient(120% 140% at 85% 30%, #3a3f4b 0%, #16181d 55%, #0b0c0f 100%); }
.tn-slide.is-violet { background: radial-gradient(120% 140% at 85% 30%, #7c3aed 0%, #3b1d8f 50%, #1a0f45 100%); }
.tn-slide.is-green { background: radial-gradient(120% 140% at 85% 30%, #16a34a 0%, #0f5e35 52%, #072b19 100%); }
.tn-slide.is-yuzu { background: radial-gradient(120% 140% at 85% 30%, #f5c518 0%, #c2410c 55%, #4a1505 100%); }
.tn-slide.is-blue { background: radial-gradient(120% 140% at 85% 30%, #2563eb 0%, #1e3a8a 52%, #0b1638 100%); }
.tn-slide.is-amber { background: radial-gradient(120% 140% at 85% 30%, #db2777 0%, #831843 52%, #2d0718 100%); }
.tn-slide-text { display: grid; justify-items: start; gap: 8px; max-width: 560px; min-width: 0; }
.tn-slide-kicker { padding: 3px 11px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.tn-slide-title { margin: 0; color: #fff; font-size: clamp(1.3rem, 2vw, 1.9rem); font-weight: 850; line-height: 1.08; letter-spacing: -.02em; }
.tn-slide-sub { margin: 0; color: rgba(255, 255, 255, .82); font-size: .9rem; line-height: 1.45; }
.tn-slide-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 16px; border-radius: 999px; background: #fff; color: #111; font-size: .82rem; font-weight: 750; text-decoration: none; transition: transform .15s; }
.tn-slide-cta:hover { color: #111; transform: translateX(2px); }
.tn-slide-art { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 14px rgba(255, 255, 255, .05); font-size: 3.3rem; color: rgba(255, 255, 255, .92); }
.tn-slider-nav { position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-top: -17px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; font-size: .8rem; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transition: transform .15s, background .15s; }
.tn-slider-nav:hover { background: #fff; transform: scale(1.08); }
.tn-slider-nav.is-prev { left: 12px; }
.tn-slider-nav.is-next { right: 12px; }
.tn-slider-dots { position: absolute; left: 56px; bottom: 14px; z-index: 2; display: flex; gap: 6px; }
.tn-slider-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .25s, background .25s; }
.tn-slider-dots button.is-on { width: 22px; background: #fff; }
.tn-slider-count { position: absolute; right: 18px; bottom: 12px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .35); color: #fff; font-size: .7rem; font-weight: 750; }
@media (prefers-reduced-motion: reduce) { .tn-slide, .tn-slide.is-on { transition: none; } }
@media (max-width: 767.98px) {
  .tn-slider { width: 100%; height: auto; min-height: 200px; border-radius: 16px; }
  .tn-slide { padding: 20px 20px 34px; }
  .tn-slide-art { display: none; }
  .tn-slide-sub { font-size: .8rem; }
  .tn-slider-nav { display: none; }
  .tn-slider-dots { left: 20px; }
}
/* Satıcı sayfası / satıcı süzgeçli arama: kategori ağacının başlığı */
.tn-side-seller { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 6px; padding: 0 6px 8px; border-bottom: 1px solid var(--line); }
.tn-side-seller span { overflow: hidden; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.tn-side-seller a { flex: 0 0 auto; color: var(--ink-2); font-size: .76rem; font-weight: 700; text-decoration: none; }
.tn-side-seller a:hover, .tn-side-seller a.is-on { color: var(--ink); text-decoration: underline; }
@media (max-width: 767.98px) { .tn-side-seller { flex-basis: 100%; } }
/* Slaytta görsel (yönetim panelinden yüklenirse ikonun yerine) */
.tn-slide-img { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; height: 100%; max-width: 42%; }
.tn-slide-img img { max-width: 100%; max-height: 196px; border-radius: 14px; object-fit: contain; }
@media (max-width: 767.98px) { .tn-slide-img { display: none; } }
/* Arama → Harita görünümü (emlak): filtre kutusunun üstünde harita görünümlü düğme + tam ekran pencere */
.ui-mapbtn { display: flex; align-items: center; justify-content: center; width: 100%; height: 76px; margin: 0 0 12px; padding: 0; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; overflow: hidden;
  background-color: #e8eef0;
  background-image:
    linear-gradient(28deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%),
    linear-gradient(-62deg, transparent 40%, #fbe7b4 40%, #fbe7b4 45%, transparent 45%),
    linear-gradient(90deg, transparent 70%, #fff 70%, #fff 73%, transparent 73%),
    linear-gradient(0deg, transparent 30%, #fff 30%, #fff 34%, transparent 34%),
    radial-gradient(circle at 18% 78%, #cfe6c8 0 18%, transparent 19%),
    radial-gradient(circle at 86% 20%, #cfe6c8 0 14%, transparent 15%); }
.ui-mapbtn span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 8px; background: #fff; color: var(--accent-ink); font-weight: 600; font-size: .95rem; box-shadow: 0 1px 4px rgba(15, 22, 35, .15); }
.ui-mapbtn span i { color: #e0364f; }
.ui-mapbtn:hover span, .ui-mapbtn:focus-visible span { text-decoration: underline; }
.ui-mapview { width: min(1200px, 96vw); height: min(820px, 92vh); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--ink); overflow: hidden; }
.ui-mapview[open] { display: flex; flex-direction: column; }
.ui-mapview::backdrop { background: rgba(15, 22, 35, .55); }
.ui-mapview-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ui-mapview-head h2 { margin: 0; font-size: 1.05rem; }
.ui-mapview-count { color: var(--muted); font-size: .9rem; }
.ui-mapview-x { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; }
.ui-mapview-map { flex: 1; min-height: 0; z-index: 0; }
.ui-mapview-foot { padding: 8px 16px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); }
.ui-mpin-wrap { background: none; border: 0; }
.ui-mpin { display: inline-block; transform: translate(-50%, -100%); padding: 3px 8px; border-radius: 6px; background: #111; color: #fff; font: 700 12px/1.3 system-ui, sans-serif; white-space: nowrap; border: 1.5px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.ui-mpin-wrap:hover { z-index: 1000 !important; }
.ui-mpin-wrap:hover .ui-mpin { background: var(--accent-ink); }
.ui-mcard, .leaflet-container a.ui-mcard { display: grid; gap: 2px; width: 220px; color: #0f1623; text-decoration: none; }
.ui-mcard img { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; }
.ui-mcard b { font-size: 1rem; }
.ui-mcard span { font-size: .88rem; line-height: 1.3; }
.ui-mcard small { color: #667085; }
@media (max-width: 768px) { .ui-mapview { width: 100vw; height: 100dvh; border-radius: 0; } }

/* İlan kartı: "OpenAI ile güncel analiz et" (alttaki Teklif / Üye ol düğmesinin yanında; arama listesinde favorinin yanında) + sonuç penceresi */
.ui-card { container-type: inline-size; }
.ui-card-foot { display: flex; gap: 6px; margin: auto 10px 10px; }
.ui-card .ui-card-foot .ui-card-offer { flex: 1 1 auto; min-width: 0; margin: 0; }
.ui-row .ui-card-foot, .ui-home .ui-feed-grid .ui-card-foot { margin: auto 8px 8px; }
.ui-card-ai { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 5px; min-width: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-2); font-size: .74rem; font-weight: 700; cursor: pointer; transition: background .12s; }
.ui-card-ai:hover { border-color: #c4b5fd; background: #f5f3ff; color: #5b21b6; }
.ui-card-ai:disabled { opacity: .6; cursor: progress; }
@container (max-width: 170px) { .ui-card-foot { flex-direction: column; gap: 5px; } .ui-card-ai { height: 28px; } }
.ui-rcard-wrap > .ui-card-ai { position: absolute; z-index: 3; bottom: 12px; right: 54px; height: 34px; border-radius: 999px; }
.ui-rcard-wrap .ui-rcard-foot { padding-right: 150px; }   /* Analiz + favori düğmelerine yer: yazıların üstüne binmesin */
.ui-rlist.is-grid .ui-rcard-wrap .ui-rcard-foot, .ui-rlist.is-duo .ui-rcard-wrap .ui-rcard-foot { padding-right: 0; }
.ui-rlist.is-grid .ui-rcard-wrap > .ui-card-ai, .ui-rlist.is-duo .ui-rcard-wrap > .ui-card-ai { top: 8px; bottom: auto; right: 48px; }
html[data-theme="dark"] .ui-card-ai { background: var(--surface); color: var(--ink-2); }
html[data-theme="dark"] .ui-card-ai:hover { background: #221c35; border-color: #3b2f63; color: #ddd6fe; }
.ui-ai-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-aidlg { width: min(640px, 94vw); max-height: 88vh; padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, .28); }
.ui-aidlg::backdrop { background: rgba(15, 22, 35, .5); }
.ui-aidlg-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ui-aidlg-head small { color: #6d28d9; font-weight: 700; font-size: .75rem; }
.ui-aidlg-head h2 { margin: 2px 0 0; font-size: 1.02rem; line-height: 1.3; }
.ui-aidlg-x { flex: 0 0 36px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--ink); cursor: pointer; }
.ui-aidlg-body { padding: 14px 18px 18px; }
@media (max-width: 575.98px) { .ui-aidlg { width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; } }

/* İlan ver → Prompt: "Ai ile Metni ilana dönüştür" + konum; "Ai sana bu görseli öneriyor" kartı */
.tn-ai-draft-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-ai-imgsug { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 12px; border: 1px solid #ddd6fe; border-radius: 12px; background: #f5f3ff; }
.tn-ai-imgsug.is-loading .tn-ai-imgsug-title::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border: 2px solid #c4b5fd; border-top-color: #6d28d9; border-radius: 50%; animation: tn-spin .8s linear infinite; }
@keyframes tn-spin { to { transform: rotate(360deg); } }
.tn-ai-imgsug img { flex: 0 0 132px; width: 132px; height: 132px; object-fit: cover; border-radius: 10px; background: #fff; }
.tn-ai-imgsug-title { font-weight: 700; margin-bottom: 4px; color: #4c1d95; }
.tn-ai-imgsug-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
html[data-theme="dark"] .tn-ai-imgsug { background: #221c35; border-color: #3b2f63; }
html[data-theme="dark"] .tn-ai-imgsug-title { color: #ddd6fe; }
@media (max-width: 575.98px) { .tn-ai-imgsug { flex-direction: column; align-items: stretch; } .tn-ai-imgsug img { width: 100%; height: auto; aspect-ratio: 1; flex-basis: auto; } }

/* KVKK: çerez bildirimi, yapay zeka açık rıza penceresi, yasal sayfalar */
.tn-consent { position: fixed; z-index: 99990; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 16px; max-width: min(760px, calc(100vw - 32px)); padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 14px 40px rgba(0, 0, 0, .18); }
.tn-consent[hidden] { display: none; }
.tn-consent b { display: block; margin-bottom: 2px; }
.tn-consent p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.tn-consent-acts { display: flex; flex: 0 0 auto; gap: 8px; }
@media (max-width: 767.98px) { .tn-consent { left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; max-width: none; } .tn-consent-acts > * { flex: 1; } }
.tn-legal-owner { display: grid; gap: 4px; margin: 0 0 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.tn-legal-owner div { display: flex; gap: 10px; }
.tn-legal-owner dt { flex: 0 0 140px; color: var(--muted); font-weight: 600; }
.tn-legal-owner dd { margin: 0; }
.tn-legal-table { font-size: .86rem; }
.tn-legal-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ui-footer-legal { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ui-footer-legal a { color: inherit; text-decoration: none; }
.ui-footer-legal a:hover { text-decoration: underline; }
.tn-auth-kvkk { margin-top: 10px; }

/* Hizmet türü kartları (ana sayfa, /hizmetler): görsel + ad + hizmet veren / puan */
.tn-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.tn-svc-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.tn-svc-card:hover { border-color: #b7dfc4; box-shadow: 0 6px 18px rgba(15, 22, 35, .08); color: var(--ink); }
.tn-svc-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e9f6ee, #f3f4f6); color: #2f8f55; font-size: 1.6rem; overflow: hidden; }
.tn-svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.tn-svc-card:hover .tn-svc-img img { transform: scale(1.04); }
.tn-svc-body { display: grid; gap: 2px; padding: 8px 10px 10px; }
.tn-svc-body b { color: #2f8f55; font-size: .88rem; font-weight: 700; }
.tn-svc-body small { color: var(--muted); font-size: .74rem; }
.tn-svc-body small i { width: 14px; }
.tn-svc-ask { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: #2f8f55; font-size: .8rem; font-weight: 700; }
.tn-svc-card:hover .tn-svc-ask { text-decoration: underline; }
html[data-theme="dark"] .tn-svc-ask { color: #7fd19f; }
html[data-theme="dark"] .tn-svc-img { background: linear-gradient(135deg, #1f3328, #262a31); color: #7fd19f; }
html[data-theme="dark"] .tn-svc-body b { color: #7fd19f; }
@media (max-width: 575.98px) { .tn-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* /premium: durum kartı + avantajlar + kampanyalar */
.tn-premium { max-width: 920px; margin: 0 auto; }
.tn-premium-top { padding: 18px 22px 22px; border-radius: 18px; background: linear-gradient(135deg, #374e70, #5a7299); box-shadow: 0 10px 30px rgba(55, 78, 112, .22); }
.tn-premium-brand { margin-bottom: 12px; color: #fff; font-size: 1rem; font-weight: 900; letter-spacing: .5em; text-align: center; }
.tn-premium-box { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 12px; background: var(--surface); color: var(--ink); }
.tn-premium-cell { display: grid; gap: 3px; min-width: 0; }
.tn-premium-cell + .tn-premium-cell { padding-left: 16px; border-left: 1px solid var(--line); }
.tn-premium-cell.is-action { border-left: 0; padding-left: 0; }
.tn-premium-label { color: var(--muted); font-size: .8rem; }
.tn-premium-cell b { font-size: 1.05rem; display: flex; align-items: center; gap: 6px; }
.tn-premium-cell b.is-premium { color: var(--accent-ink); }
.tn-premium-cell small { color: var(--muted); font-size: .78rem; }
.tn-premium-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; cursor: pointer; }
.tn-premium-cta:hover { background: var(--accent-hover); color: var(--accent-ink); }
.tn-premium-cta:disabled { opacity: .7; cursor: default; }
.tn-premium-bar { height: 7px; margin: 4px 0 2px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.tn-premium-bar span { display: block; height: 100%; background: var(--accent-ink); }
.tn-premium-h { margin: 26px 0 12px; font-size: 1.15rem; font-weight: 800; }
.tn-perk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tn-perk { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
a.tn-perk:hover { border-color: #93c5fd; box-shadow: 0 6px 18px rgba(55, 78, 112, .1); color: var(--ink); }
.tn-perk-ico { display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-ink); color: #fff; font-size: .95rem; }
.tn-perk.is-camp .tn-perk-ico { background: linear-gradient(135deg, #f97316, #db2777); }
.tn-perk-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.tn-perk-text b { font-size: .92rem; }
.tn-perk-text small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.tn-perk-go { color: var(--muted); font-size: .8rem; }
html[data-theme="dark"] .tn-premium-cta { background: #1e2a4a; color: #bfdbfe; }
html[data-theme="dark"] .tn-premium-cell b.is-premium { color: #93c5fd; }
@media (max-width: 767.98px) {
  .tn-premium-box { grid-template-columns: 1fr; }
  .tn-premium-cell + .tn-premium-cell { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .tn-perk-grid { grid-template-columns: 1fr; }
}
.tn-side-camp.is-sub { margin-top: 0; border-top: 0; }
.tn-side-camp.is-sub .tn-side-cat-ico { background: linear-gradient(135deg, #374e70, #5a7299); }
/* Fiyat bandı (ilan ver), şüpheli ilan uyarısı ve Ai mini düğmesi (ilan detayı) */
.tn-price-band { display: flex; gap: 6px; align-items: baseline; padding: 6px 9px; border-radius: 8px; background: var(--surface-2); color: var(--ink-2); line-height: 1.4; }
.tn-price-band.v-unusually_low { background: #fef2f2; color: #991b1b; }
.tn-price-band.v-above_market { background: #fffbeb; color: #92400e; }
.tn-price-band.v-fair, .tn-price-band.v-below_market { background: #ecfdf5; color: #065f46; }
html[data-theme="dark"] .tn-price-band.v-unusually_low { background: #3b1d1d; color: #fecaca; }
html[data-theme="dark"] .tn-price-band.v-above_market { background: #3a2f12; color: #fde68a; }
html[data-theme="dark"] .tn-price-band.v-fair, html[data-theme="dark"] .tn-price-band.v-below_market { background: #12332a; color: #a7f3d0; }
.tn-scam { border-color: #fca5a5; background: #fef2f2; color: #7f1d1d; }
.tn-scam ul { margin: 6px 0 0; padding-left: 18px; font-size: .88rem; }
html[data-theme="dark"] .tn-scam { background: #3b1d1d; border-color: #7f1d1d; color: #fecaca; }
.tn-ai-mini { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 5px; padding: 3px 9px; border: 1px solid #ddd6fe; border-radius: 999px; background: #f5f3ff; color: #5b21b6; font-size: .76rem; font-weight: 700; cursor: pointer; }
.tn-ai-mini:hover { background: #ede9fe; }
.tn-ai-mini:disabled { opacity: .6; cursor: progress; }
html[data-theme="dark"] .tn-ai-mini { background: #221c35; border-color: #3b2f63; color: #ddd6fe; }

/* Kampanyalar: sol menü bağlantısı, kartlar (/kampanyalar), detay (/kampanyalar/{slug}) */
.tn-side-camp { display: flex; align-items: center; gap: 9px; margin-top: 6px; padding: 7px 6px; border-top: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: .9rem; font-weight: 800; text-decoration: none; }
.tn-side-camp:hover, .tn-side-camp.is-on { background: var(--surface-2); color: var(--ink); }
.tn-side-camp .tn-side-cat-ico { background: var(--accent-ink); color: #fff; }
.tn-side-camp-n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-ink); color: #fff; font-size: .7rem; line-height: 20px; text-align: center; }
.tn-camps, .tn-camp-page { max-width: 920px; margin: 0 auto; }
.tn-camp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.tn-camp-card { display: grid; gap: 6px; padding: 18px; border-radius: 16px; color: #fff; text-decoration: none; background: linear-gradient(135deg, #374e70, #5a7299); box-shadow: 0 8px 24px rgba(55, 78, 112, .2); transition: transform .15s; }
.tn-camp-card:hover { color: #fff; transform: translateY(-2px); }
.tn-camp-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .18); font-size: 1.2rem; }
.tn-camp-kicker { font-size: .75rem; font-weight: 700; opacity: .9; }
.tn-camp-title { font-size: 1.15rem; line-height: 1.25; }
.tn-camp-short { font-size: .88rem; opacity: .92; }
.tn-camp-more { margin-top: 4px; font-size: .85rem; font-weight: 700; }
.tn-camp-hero { margin: 10px 0 16px; padding: 26px 24px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #374e70, #5a7299); }
.tn-camp-hero h1 { margin: 6px 0 8px; font-size: clamp(1.4rem, 3vw, 2rem); }
.tn-camp-hero .tn-vbadge { color: #fff; }
.tn-camp-hero .tn-vbadge svg path:last-child { fill: var(--accent-ink); }
.tn-camp-hero p { margin: 0 0 14px; opacity: .95; }
.tn-camp-ctas { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-camp-btn { background: #fff; color: var(--accent-ink); border-color: #fff; }
.tn-camp-btn:hover { background: var(--accent); color: var(--accent-ink); }
.tn-camp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.tn-camp-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tn-camp-sec { margin-bottom: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tn-camp-sec h2 { font-size: 1.05rem; margin-bottom: 10px; }
.tn-camp-rules ol { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--ink-2); font-size: .9rem; }

/* Tasarım raporu P2: işlem hiyerarşisi, kartlar, arama sonuçları, mobil üst çubuk */
#offerSubmitBtn, .tn-create-form .tn-create-submit { background: var(--accent); border-color: var(--accent-border); color: var(--on-accent); }
#offerSubmitBtn:hover, .tn-create-form .tn-create-submit:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.ui-card .ui-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; }
/* Kompakt liste dar ana alanda tek sütun (iki sütunda kartlar sıkışıyordu) */
@media (max-width: 1599.98px) {
  .ui-rlist.is-compact { grid-template-columns: 1fr; }
  .ui-rlist.is-compact .ui-rcard:nth-child(odd) { border-right: 0; }
}
.tn-login-card details, .tn-auth details { font-size: .82rem; }
/* Türkçe dosya seçici (app.js tnFilePicker): yerel "Choose File" yerine */
.tn-file { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px; border: 1px dashed var(--line-strong, var(--line)); border-radius: 10px; background: var(--surface); }
.tn-file-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--ink); font-size: .84rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.tn-file-btn:hover { border-color: var(--accent-border); color: var(--accent-ink); }
.tn-file-name { min-width: 0; overflow: hidden; color: var(--muted); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.tn-file:focus-within { border-color: var(--accent-border); }
.tn-dropzone { background: var(--surface-2); }
.tn-dropzone.is-over { background: var(--accent); }
/* Slayt: uzun metin düğmeyi alttaki noktalara itmesin (başlık ve açıklama en çok 2 satır) */
.tn-slide-title, .tn-slide-sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tn-slide { padding-bottom: 48px; }
.tn-create-form [hidden], .tn-create-methods [hidden] { display: none !important; }   /* d-flex vb. hidden özelliğini ezmesin (fotoğraf modunda Yayınla gizli) */

/* Tasarım raporu P3: iki adımlı kategori, teklif formu, son baktıkların */
.tn-cat-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tn-offer-ask { color: var(--ink-2); font-weight: 600; }
.tn-recent-track { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.tn-recent-card { flex: 0 0 150px; display: grid; gap: 3px; scroll-snap-align: start; color: var(--ink); text-decoration: none; }
.tn-recent-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--img-bg, var(--surface-2)); }
.tn-recent-img img { width: 100%; height: 100%; object-fit: cover; }
.tn-recent-card b { font-size: .9rem; }
.tn-recent-title { color: var(--ink-2); font-size: .8rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Son baktıkların: geniş ve kaliteli fotoğraflı ilan üç kart genişliğinde; satırdaki görseller aynı yükseklikte */
.tn-recent-track.has-wide .tn-recent-img { height: 190px; aspect-ratio: auto; }
.tn-recent-card.is-wide { flex-basis: min(474px, 88%); }

/* ===================== Tasarım v6 — ortak kabuk (header 3 satır, footer, mobil alt bar) =====================
   Ortalanmış sayfa: sabit sol menü ve sağ sütun yok. Filtre paneli olan sayfada sol kolon (.tn-side-layout),
   ana sayfa ve toplulukta sağ kolon (.tn-rail-layout: reklam + trendler). */
.tn-shell { width: calc(100% - 64px); max-width: var(--container); margin-left: auto; margin-right: auto; }
.tn-ico { display: block; flex: 0 0 auto; }

body.tn-v6 { --tn-home-sidebar-width: 0px; --tn-rail-width: 0px; background: var(--bg); }
body.tn-v6:has(.ui-detail) { background: var(--bg); }
body.tn-v6 main.tn-wrap { display: block; width: calc(100% - 64px); max-width: var(--container); margin: 0 auto !important; padding: 20px 0 40px !important; }
/* Geniş düzen (wideLayout) de header ile aynı hizada: tüm sayfalarda tek genişlik */
body.tn-v6 main.tn-wrap.container-fluid { width: calc(100% - 64px); max-width: var(--container); padding-left: 0 !important; padding-right: 0 !important; }
body.tn-v6 .ui-footer, body.tn-v6 .ui-seo-links { width: 100%; margin-left: 0; }

/* Header — satır 1: logo · menü · hesap · İlan ver */
.tn-hd { position: relative; z-index: 1030; background: var(--bg); }
.tn-hd-top { display: flex; align-items: center; gap: 48px; height: 77px; }
.tn-hd-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.tn-hd-brand:hover { color: var(--ink); }
.tn-hd-brand .ui-brand-mark { width: 40px; height: 40px; }
.tn-hd-brand .ui-brand-name { font-size: 27px; font-weight: 800; letter-spacing: -1.25px; }
.tn-hd-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.tn-hd-nav a { position: relative; padding: 14px 0; color: var(--ink); text-decoration: none; white-space: nowrap; }
.tn-hd-nav a:hover, .tn-hd-nav a.is-active { color: var(--accent-ink); }
.tn-hd-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--accent-ink); }
.tn-hd-count { position: absolute; top: 4px; right: -16px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; }
.tn-hd-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.tn-hd-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink-2); font-size: 18px; text-decoration: none; cursor: pointer; }
.tn-hd-icon:hover { background: var(--surface-2); color: var(--ink); }
.tn-hd-icon .tn-hd-count { top: 0; right: -4px; }
.tn-hd-accbtn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.tn-hd-accbtn:hover { color: var(--accent-ink); }
.tn-hd-register { color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; }
.tn-hd-register:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.tn-hd-menu { width: 230px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md); }
.tn-hd-menu .dropdown-item { display: flex; align-items: center; justify-content: space-between; padding: 10px; border-radius: var(--radius-sm); font-size: 14px; }
.tn-hd-menu-label { display: grid; padding: 8px 10px 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.tn-hd-menu-label small { color: var(--muted); font-size: 12px; font-weight: 400; }
.tn-hd-menu-n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; line-height: 20px; text-align: center; }
.ui-btn.tn-hd-post { gap: 8px; height: 45px; padding: 0 19px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; white-space: nowrap; }

/* Satır 2: arama çubuğu (AI arama) + tek satırlık asistan alanı */
.tn-hd-search { padding-top: 2px; }
.tn-ai-search.is-header { display: block; flex: none; max-width: none; width: auto; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.tn-sbar { display: flex; align-items: center; gap: 16px; height: 60px; padding: 6px 6px 6px 20px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); }
.tn-sbar:focus-within { border-color: var(--accent-border); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent); }
.tn-sbar .tn-ai-search-field { position: static; display: flex; flex: 1 1 auto; align-items: center; gap: 14px; min-width: 0; }
.tn-sbar .tn-sbar-ico { color: var(--ink-2); }
.tn-ai-search.is-header .tn-sbar input[type="text"] { flex: 1 1 auto; width: auto; min-width: 0; height: 46px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); font-size: 16px; }
.tn-ai-search.is-header .tn-sbar input[type="text"]::placeholder { color: var(--muted); }
.tn-ai-search.is-header .tn-sbar input[type="text"]:focus { outline: 0; }
.tn-sbar .tn-ai-photo-select { position: static; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--muted); transform: none; }
.tn-sbar .tn-ai-photo-select:hover { background: var(--surface-2); color: var(--ink); }
.tn-sbar-city { position: relative; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 210px; height: 38px; padding-left: 22px; border-left: 1px solid var(--line); color: var(--ink); }
.tn-sbar-city select { flex: 1 1 auto; min-width: 0; padding-right: 22px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; appearance: none; -webkit-appearance: none; }
.tn-sbar-city select:focus { outline: 0; }
.tn-sbar-city select:focus-visible { outline: 2px solid var(--accent-border); outline-offset: 2px; border-radius: 4px; }
.tn-sbar-caret { position: absolute; right: 18px; pointer-events: none; color: var(--muted); }
.tn-ai-search.is-header .ui-btn.tn-sbar-go { flex: 0 0 auto; width: auto; min-width: 164px; height: 46px; padding: 0 20px; border: 0; border-radius: var(--radius-sm); font-size: 16px; font-weight: 500; }
.tn-sbar-filter { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; height: 44px; padding: 0 14px; border-left: 1px solid var(--line); color: var(--ink-2); font-size: 13px; text-decoration: none; white-space: nowrap; }
.tn-sbar-filter:hover { border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink); }

.tn-ai-line { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.tn-ai-line .tn-ai-search-kicker { display: inline-flex; flex: 0 0 auto; width: auto; height: auto; padding: 0; border: 0; background: transparent; color: var(--ai); }
.tn-ai-line .tn-ai-search-hint { overflow: hidden; color: var(--muted); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.tn-ai-search.is-header .tn-ai-line .tn-ai-search-modes { position: static; display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); transform: none; }
.tn-ai-search.is-header .tn-ai-line .tn-ai-search-modes button { padding: 3px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 500; }
.tn-ai-search.is-header .tn-ai-line .tn-ai-search-modes button.is-active { background: var(--ai-soft); color: var(--ai); }
.tn-ai-search.is-header .tn-ai-line .tn-ai-search-examples { position: static; display: flex; flex-wrap: nowrap; gap: 6px; min-width: 0; margin: 0; padding: 0; overflow-x: auto; border: 0; background: transparent; box-shadow: none; scrollbar-width: none; }
.tn-ai-search.is-header .tn-ai-line .tn-ai-search-examples::-webkit-scrollbar { display: none; }
.tn-ai-search.is-header .tn-ai-line .tn-ai-search-examples button { flex: 0 0 auto; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.tn-ai-search.is-header .tn-ai-line .tn-ai-search-examples button:hover { border-color: var(--line-strong); color: var(--ink); }
.tn-ai-search.is-header .tn-ai-search-status { position: static; margin: 6px 0 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: none; font-size: 13px; }

/* Satır 3: kategori şeridi */
.tn-hd-cats { display: flex; align-items: center; height: 64px; border-bottom: 1px solid var(--line); }
.tn-hd-cats a { display: inline-flex; align-items: center; gap: 9px; height: 24px; padding: 0 25px; color: var(--ink); font-size: 13px; line-height: 1; text-decoration: none; white-space: nowrap; }
.tn-hd-cats a:first-child { padding-left: 0; }
.tn-hd-cats a:hover, .tn-hd-cats a.is-active { color: var(--accent-ink); }
.tn-hd-cats a.is-active span { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }

/* Sol kolon (filtre paneli) ve sağ kolon (reklam + trendler) */
@media (min-width: 992px) {
  .tn-side-layout { display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: 32px; align-items: start; }
  body.tn-v6 .tn-side-layout > .tn-home-sidebar { position: sticky; top: 16px; z-index: auto; display: block; width: auto; max-height: calc(100vh - 32px); padding: 0 24px 0 0; overflow-y: auto; border: 0; border-right: 1px solid var(--line); background: transparent; }
}
@media (max-width: 991.98px) {
  body.tn-v6 .tn-side-layout > .tn-home-sidebar { display: contents; }
}
.tn-rail-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 1200px) { .tn-rail-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; } }
body.tn-v6 .tn-rail { position: static; z-index: auto; width: auto; max-height: none; margin: 0; padding: 0; overflow: visible; border: 0; background: transparent; }
@media (min-width: 1200px) { body.tn-v6 .tn-rail { position: sticky; top: 16px; } }
@media (min-width: 768px) and (max-width: 1199.98px) { body.tn-v6 .tn-rail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Footer: tek satır + küçük ikinci satır (bağlantılar, yasal, sürüm) */
body.tn-v6 .ui-footer { --footer-bg: var(--bg); --footer-line: var(--line); margin-top: 52px; background: var(--bg); border-top: 0; }
.tn-ft-main { display: flex; align-items: center; gap: 24px; padding: 27px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.tn-ft-main p { margin: 0; }
.tn-ft-brand { font-size: 16px; font-weight: 600; letter-spacing: -.8px; text-decoration: none; }
.tn-ft-how { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; font-weight: 500; text-decoration: none; white-space: nowrap; }
.tn-ft-how:hover { text-decoration: underline; text-underline-offset: 4px; }
body.tn-v6 .ui-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 0 0 24px; border-top: 0; color: var(--muted); font-size: 12px; }
.tn-ft-links, body.tn-v6 .ui-footer-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
body.tn-v6 .ui-footer a { color: var(--muted); }
body.tn-v6 .ui-footer a:hover { color: var(--ink); }
body.tn-v6 .ui-footer a.tn-ft-brand { color: var(--ink); }
body.tn-v6 .ui-footer a.tn-ft-how { color: var(--accent-ink); }

/* Mobil alt bar (yalnızca ≤700px) */
.tn-mnav { display: none; }

@media (max-width: 1200px) {
  .tn-hd-top { gap: 28px; }
  .tn-hd-nav { gap: 22px; }
  .tn-hd-actions { gap: 16px; }
  .tn-hd-brand .ui-brand-name { font-size: 25px; }
  .tn-sbar-city { min-width: 180px; }
}
@media (max-width: 960px) {
  .tn-hd-nav a:nth-last-child(-n+2) { display: none; }
    .tn-sbar-filter { padding: 0 10px; }
  .tn-ai-line .tn-ai-search-hint { display: none; }
}
@media (max-width: 700px) {
  .tn-shell, body.tn-v6 main.tn-wrap { width: calc(100% - 32px); }
  body.tn-v6 main.tn-wrap.container-fluid { width: calc(100% - 32px); padding-left: 0 !important; padding-right: 0 !important; }
  body.tn-v6 { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .tn-hd-top { gap: 10px; height: 64px; }
  .tn-hd-brand { gap: 7px; }
  .tn-hd-brand .ui-brand-mark { width: 34px; height: 34px; }
  .tn-hd-brand .ui-brand-name { font-size: 23px; letter-spacing: -1.1px; }
  .tn-hd-nav, .tn-hd-register, .tn-hd-actions > .tn-hd-icon, .tn-hd-notif { display: none; }
  .tn-hd-actions { gap: 8px; }
  .tn-hd-accbtn { padding: 8px; }
  .tn-hd-accbtn > span, .tn-hd-accbtn > .tn-ico + span + .tn-ico { display: none; }
  .ui-btn.tn-hd-post { gap: 5px; height: 36px; padding: 0 11px; font-size: 12px; }
  .ui-btn.tn-hd-post .tn-ico { width: 17px; height: 17px; }
  .tn-sbar { gap: 8px; height: 52px; padding: 5px 5px 5px 12px; border-radius: 8px; }
  .tn-sbar .tn-ai-search-field { gap: 8px; }
  .tn-sbar .tn-sbar-ico { width: 19px; height: 19px; }
  .tn-ai-search.is-header .tn-sbar input[type="text"] { height: 40px; font-size: 14px; }
  .tn-sbar .tn-ai-photo-select { width: 30px; height: 30px; }
  .tn-sbar-city { min-width: 0; width: 30px; padding-left: 6px; gap: 0; border-left: 0; }
  .tn-sbar-city select { position: absolute; inset: 0; width: 100%; padding: 0; opacity: 0; }
  .tn-sbar-caret { display: none; }
  .tn-ai-search.is-header .ui-btn.tn-sbar-go { min-width: 56px; height: 40px; padding: 0 12px; font-size: 13px; }
  .tn-sbar-filter { height: 38px; padding: 0 6px; border-left: 0; }
  .tn-ai-line { gap: 8px; margin-top: 6px; }
  .tn-hd-cats { justify-content: space-between; height: 56px; }
  .tn-hd-cats a { gap: 6px; padding: 0 6px; font-size: 11.5px; }
  .tn-hd-cats a:first-child { padding-left: 0; }
  .tn-hd-cats a:last-child { padding-right: 0; }
  .tn-hd-cats .tn-ico { width: 16px; height: 16px; }
  .tn-ft-main { flex-wrap: wrap; gap: 6px 12px; padding: 22px 0; font-size: 11px; }
  .tn-ft-how { font-size: 11px; }
  body.tn-v6 .ui-footer { margin-top: 32px; }

  .tn-mnav { position: fixed; z-index: 1040; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-around; height: calc(66px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(12px); }
  .tn-mnav a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 10px; color: var(--muted); font-size: 10px; text-decoration: none; }
  .tn-mnav a:hover, .tn-mnav a.is-active { color: var(--accent-ink); }
  /* İlan detayının kendi alt eylem çubuğu (Teklif ver / Mesaj) varken gezinme çubuğu gizlenir */
  body:has(.tn-bottombar) .tn-mnav { display: none; }
  body.tn-v6:has(.tn-bottombar) { padding-bottom: 0; }
  .tn-cx-toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .tn-toast, .tn-consent { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .tn-hd-brand .ui-brand-name { font-size: 21px; }
  .tn-hd-cats a { gap: 4px; padding: 0 4px; font-size: 10.5px; }
}
html[data-theme="dark"] .tn-hd, html[data-theme="dark"] body.tn-v6 .ui-footer { background: var(--bg); }
html[data-theme="dark"] .tn-hd-menu { background: var(--surface); }

/* ===================== Tasarım v6 — ana sayfa ===================== */
.tn-textlink, .ui-home .ui-more { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; border: 0; background: transparent; color: var(--accent-ink); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.tn-textlink:hover, .ui-home .ui-more:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; background: transparent; }
.tn-hero { padding-top: 14px; }
.tn-hero-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.tn-hero h1 { margin: 0; font-size: 33px; font-weight: 600; line-height: 1.15; letter-spacing: -1.2px; }
.tn-hero-head p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.tn-hero-head .tn-textlink { margin-bottom: 4px; }
.tn-vitrin { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; margin-top: 18px; }
.tn-vitrin.is-n2 { grid-template-columns: 2fr 1fr; }
.tn-vitrin.is-n1 { grid-template-columns: minmax(0, 2fr) 1fr; }

/* Karo: çerçevesiz kart (vitrin / kompakt) */
.tn-tile { position: relative; min-width: 0; }
.tn-tile-link { display: grid; gap: 3px; color: var(--ink); text-decoration: none; }
.tn-tile-link:hover .tn-tile-title { color: var(--accent-ink); }
.tn-tile-img { position: relative; display: block; height: 98px; overflow: hidden; margin-bottom: 9px; border-radius: 6px; background: var(--img-bg); }
.tn-tile.is-vitrin .tn-tile-img { height: 240px; margin-bottom: 12px; }
.tn-tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tn-tile-img .ui-card-empty { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 1.4rem; }
.tn-tile-badge { position: absolute; top: 12px; left: 12px; padding: 2px 8px; border-radius: 4px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 500; }
.tn-tile-img .ui-demo-badge { top: auto; bottom: 8px; left: 8px; right: auto; }
.tn-tile-price { font-size: 14px; font-weight: 600; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.tn-tile.is-vitrin .tn-tile-price { font-size: 19px; letter-spacing: -.5px; }
.tn-tile-title { overflow: hidden; color: var(--ink-2); font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.tn-tile.is-vitrin .tn-tile-title { font-size: 14px; }
.tn-tile-loc { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 11px; }
.tn-tile.is-vitrin .tn-tile-loc { font-size: 13px; }
.tn-tile .ui-fav.tn-tile-fav { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: none; }
.tn-tile.is-vitrin .ui-fav.tn-tile-fav { top: 12px; right: 12px; width: 37px; height: 37px; }
.tn-tile .ui-fav.tn-tile-fav[aria-pressed="true"] { color: var(--accent-ink); }

.ui-home .tn-fresh { margin-top: 28px; }
.tn-near-place { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.tn-fresh-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }

/* AI bandı */
.tn-ai-band { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 16px 20px; border-radius: var(--radius); background: linear-gradient(90deg, #f2f5fb, #f7f3fb); }
.tn-ai-band > .tn-ico { color: #7a6bb0; }
.tn-ai-band-copy { display: grid; gap: 2px; min-width: 0; }
.tn-ai-band-copy strong { font-size: 15px; font-weight: 600; }
.tn-ai-band-copy span { color: #5b6270; font-size: 12.5px; }
.tn-ai-band-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.tn-ai-band-chips em { padding: 4px 9px; border-radius: 20px; background: var(--surface); color: var(--ai); font-size: 11.5px; font-style: normal; }
.tn-ai-band .ui-btn { padding: 10px 18px; white-space: nowrap; }
html[data-theme="dark"] .tn-ai-band { background: linear-gradient(90deg, #232a38, #2a2538); }
html[data-theme="dark"] .tn-ai-band-copy span { color: var(--muted); }

/* Satırlar: başlık 18px/600, açıklama gizli, kartlar çerçevesiz */
.ui-home .ui-section { margin-top: 28px; }
.ui-home .ui-section-head { align-items: center; margin-bottom: 10px; padding: 0; border: 0; }
.ui-home .ui-section-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -.5px; }
.ui-home .ui-section-head p { display: none; }
.ui-home .ui-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.ui-home .ui-card:hover { border: 0; box-shadow: none; transform: none; }
.ui-home .ui-card-img { border-radius: 6px; aspect-ratio: 4 / 3; }
.ui-home .ui-card-body { padding: 9px 0 6px; border-top: 0; }
.ui-home .ui-price { font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.ui-home .ui-title { color: var(--ink-2); font-size: 13px; font-weight: 400; }
.ui-home .ui-meta { color: var(--muted); font-size: 11.5px; }
.ui-home .ui-card-foot { padding: 0; }
.ui-home .ui-card-offer { margin: 0; padding: 6px 10px; font-size: 12.5px; font-weight: 500; }
.ui-home .ui-badge, html[data-theme="dark"] .ui-home-shell .ui-badge { background: var(--surface); color: var(--ink); border-radius: 4px; font-weight: 500; }

/* Reklam + Trendler: sayfa altında iki kolon */
.tn-home-extra { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.tn-home-extra .tn-rail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (min-width: 1200px) { body.tn-v6 .tn-home-extra .tn-rail { position: static; } }

/* Ana sayfa alt şeridi: işletme + trendler + Premium, eşit yükseklikte üç kart */
body.tn-v6 .tn-home-extra .tn-rail { gap: 16px; }
body.tn-v6 .tn-home-extra .tn-rail.has-premium { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tn-home-extra .tn-rail:has(.tn-rail-ad) { align-items: start; }
.tn-home-extra .tn-rail .tn-home-trends { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tn-home-extra .tn-home-trends-head h2 { font-size: 15px; }
.tn-home-extra .tn-home-trends-empty { padding: 0; font-size: 13px; line-height: 1.5; }
.tn-home-extra .tn-rail-promo { grid-template-columns: minmax(0, 1fr) auto; align-content: start; column-gap: 16px; padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); }
.tn-home-extra .tn-rail-promo > i { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-size: 24px; }
.tn-home-extra .tn-rail-promo b, .tn-home-extra .tn-rail-promo span, .tn-home-extra .tn-rail-promo em { grid-column: 1; }
.tn-home-extra .tn-rail-promo b { font-size: 15px; }
.tn-home-extra .tn-rail-promo span { font-size: 13px; }
.tn-home-extra .tn-rail-promo em { color: var(--accent-ink); font-size: 13px; }
.tn-rail-premium { position: relative; display: grid; align-content: start; justify-items: start; gap: 8px; padding: 18px 20px; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, #374e70, #5a7299); color: #fff; text-decoration: none; }
.tn-rail-premium:hover { color: #fff; }
.tn-rail-premium b { font-size: 15px; }
.tn-rail-premium b i { margin-right: 4px; color: #f6cf6b; }
.tn-rail-premium span { position: relative; max-width: 72%; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.tn-rail-premium em { position: relative; margin-top: 4px; padding: 7px 12px; border-radius: 8px; background: #f6cf6b; color: #3a2d0a; font-size: 13px; font-style: normal; font-weight: 650; }
.tn-rail-premium:hover em { background: #f2c44f; }
.tn-rail-premium-art { position: absolute; top: 50%; right: 22px; color: #f6cf6b; font-size: 56px; transform: translateY(-50%) rotate(8deg); }
@media (max-width: 991.98px) {
  body.tn-v6 .tn-home-extra .tn-rail, body.tn-v6 .tn-home-extra .tn-rail.has-premium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-home-extra .tn-rail-premium { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body.tn-v6 .tn-home-extra .tn-rail, body.tn-v6 .tn-home-extra .tn-rail.has-premium { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1200px) {
  .tn-fresh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tn-vitrin { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .tn-ai-band { flex-wrap: wrap; }
  .tn-ai-band-chips { margin-left: 0; }
}
@media (max-width: 700px) {
  .tn-hero { padding-top: 4px; }
  .tn-hero-head { display: block; }
  .tn-hero h1 { max-width: 350px; font-size: 29px; letter-spacing: -1.2px; }
  .tn-hero-head .tn-textlink { margin: 10px 0 0; font-size: 12px; }
  .tn-vitrin, .tn-vitrin.is-n2, .tn-vitrin.is-n1 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
  .tn-vitrin .tn-tile:first-child { grid-column: 1 / -1; }
  .tn-tile.is-vitrin .tn-tile-img { height: 150px; }
  .tn-vitrin .tn-tile:first-child .tn-tile-img { height: 180px; }
  .tn-tile.is-vitrin .tn-tile-price { font-size: 17px; }
  .tn-fresh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tn-ai-band .ui-btn { width: 100%; justify-content: center; }
  .tn-home-extra .tn-rail { grid-template-columns: minmax(0, 1fr); }
}

/* ===================== Tasarım v6 — arama ve filtreler ===================== */
/* Başlık bloğu (iki kolonun üstünde) */
body.tn-v6 .ui-s-head { align-items: flex-end; margin: 0 0 18px; }
.tn-backlink { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--muted); font-size: 12px; text-decoration: none; }
.tn-backlink:hover { color: var(--ink); }
.tn-ico.is-back { transform: rotate(180deg); }
body.tn-v6 .ui-s-title { font-size: 23px; font-weight: 600; letter-spacing: -.6px; }
body.tn-v6 .ui-s-count { margin-top: 4px; color: var(--muted); font-size: 12.5px; }
body.tn-v6 .ui-s-count b { font-weight: 500; }
body.tn-v6 .ui-s-tools { gap: 10px; }
body.tn-v6 .ui-s-tools .ui-btn-ghost { height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: 13px; font-weight: 500; }
body.tn-v6 .ui-sort select { height: 38px; border-color: var(--line-strong); border-radius: var(--radius-sm); font-size: 13px; }
body.tn-v6 .ui-sort > span { color: var(--muted); font-size: 12px; }
body.tn-v6 .ui-viewtoggle { border-color: var(--line); border-radius: var(--radius-sm); }

/* Filtreler her genişlikte solda (çekmece / modal yok) */
.tn-side-layout.is-filters { display: grid; grid-template-columns: 292px minmax(0, 1fr); align-items: start; gap: 0; }
body.tn-v6 .tn-side-layout.is-filters > .tn-home-sidebar { position: sticky; top: 16px; display: block; max-height: calc(100vh - 32px); padding: 0 22px 24px 0; overflow-y: auto; border-right: 1px solid var(--line); scrollbar-width: thin; }
.tn-side-layout.is-filters > .tn-side-main { min-width: 0; padding-left: 22px; }
body.tn-v6 .ui-filters.ui-filters-pro { position: static; z-index: auto; display: block; width: auto; flex: none; max-height: none; margin: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; transition: none; }
body.tn-v6 .ui-filters-overlay, body.tn-v6 .ui-filters-x, body.tn-v6 [data-filters-open] { display: none !important; }
body.tn-v6 .ui-s-layout { display: block; }
body.tn-v6 .ui-filters-pro .ui-filters-head { display: flex; margin-bottom: 6px; }
body.tn-v6 .ui-filters-pro .ui-filters-head h2 { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
body.tn-v6 .ui-fcount { min-width: 18px; height: 18px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; }
.tn-fsum { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
body.tn-v6 .tn-fsum .ui-fclear-all { margin: 0; color: var(--ink); font-size: 12px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.tn-fsearch { position: relative; display: flex; align-items: center; margin: 0 0 6px; }
.tn-fsearch .tn-ico { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.tn-fsearch input { width: 100%; height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; }
.tn-fsearch input:focus { outline: 0; border-color: var(--accent-border); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 60%, transparent); }
body.tn-v6 .ui-filters-pro .ui-fs { padding: 14px 0; border-top: 1px solid var(--line); }
body.tn-v6 .ui-filters-pro .ui-fs > summary { color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
body.tn-v6 .ui-filters-pro .ui-fs > summary::after { content: ""; width: 7px; height: 7px; margin-right: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); }
body.tn-v6 .ui-filters-pro .ui-fs[open] > summary::after { content: ""; transform: rotate(-135deg) translateY(-1px); }
body.tn-v6 .ui-filters .form-control, body.tn-v6 .ui-filters .form-select { height: 34px; border-color: var(--line-strong); font-size: 13px; }
body.tn-v6 .ui-opt span { padding: 4px 10px; border-color: transparent; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: 12px; }
body.tn-v6 .ui-opt input:checked + span { border-color: var(--accent-border); background: var(--accent); color: var(--on-accent); }
body.tn-v6 .ui-filters-pro .ui-filter-actions { background: var(--bg); }
body.tn-v6 .ui-cat-kids a.on { background: var(--accent); color: var(--on-accent); font-weight: 500; }

/* Aktif filtre etiketleri */
body.tn-v6 .ui-fchips { gap: 6px; margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
body.tn-v6 .ui-fchip { gap: 6px; padding: 3px 9px; border: 0; border-radius: 4px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 400; }
body.tn-v6 .ui-fchip:hover { background: var(--accent-hover); color: var(--on-accent); }
body.tn-v6 .ui-fclear { color: var(--muted); font-size: 11.5px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }

/* Sonuç satırı: 127 px, çerçevesiz, alt çizgili */
body.tn-v6 .ui-rlist { gap: 0; }
body.tn-v6 .ui-rcard-wrap { position: relative; border-bottom: 1px solid var(--line); }
body.tn-v6 .ui-rcard { display: flex; align-items: flex-start; gap: 18px; min-height: 127px; padding: 13px 56px 13px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.tn-v6 .ui-rcard:hover { background: var(--surface-2); box-shadow: none; }
body.tn-v6 .ui-rcard-img { flex: 0 0 150px; width: 150px; height: 100px; aspect-ratio: auto; border-radius: 5px; }
body.tn-v6 .ui-rcard-img > .ui-rcard-feat { position: absolute; z-index: 2; top: 0; left: 0; right: auto; bottom: auto; width: auto; height: auto; padding: 1px 8px; border-radius: 0 0 4px 0; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 500; line-height: 1.5; }
body.tn-v6 .ui-rcard-img > .ui-cond { top: auto; bottom: 6px; left: 6px; }
body.tn-v6 .ui-rcard-img > i { margin: auto; color: var(--muted); }
@media (max-width: 767.98px) { body.tn-v6 .tn-side-layout.is-filters > .tn-home-sidebar { margin: 0; padding-top: 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; } }
body.tn-v6 .ui-rcard-feat i { display: none; }
body.tn-v6 .ui-rcard-body { gap: 6px; padding: 4px 0 0; }
body.tn-v6 .ui-rcard-title { color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: -.1px; -webkit-line-clamp: 1; }
.ui-rcard-specs { display: flex; flex-wrap: wrap; align-items: center; color: var(--ink-2); font-size: 11.5px; }
.ui-rcard-specs span + span::before { content: ""; display: inline-block; width: 1px; height: 11px; margin: 0 9px; background: var(--line-strong); vertical-align: -1px; }
.ui-rcard-loc { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 11.5px; }
.ui-rcard-when { display: flex; gap: 10px; color: var(--muted); font-size: 11.5px; }
.ui-rcard-when b { color: var(--accent-ink); font-weight: 500; }
body.tn-v6 .ui-rcard-price { align-self: center; margin-left: auto; color: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -.5px; }
body.tn-v6 .ui-rcard-wrap > .ui-fav { position: absolute; top: 14px; right: 6px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--ink); box-shadow: none; }
body.tn-v6 .ui-rcard-wrap > .ui-card-ai { position: absolute; right: 6px; bottom: 14px; }
/* Izgara / 2'li görünümler: aynı işaretleme, görsel üstte */
body.tn-v6 .ui-rlist.is-grid, body.tn-v6 .ui-rlist.is-duo { gap: 18px 14px; }
body.tn-v6 .ui-rlist.is-grid .ui-rcard-wrap, body.tn-v6 .ui-rlist.is-duo .ui-rcard-wrap { border-bottom: 0; }
body.tn-v6 .ui-rlist.is-grid .ui-rcard, body.tn-v6 .ui-rlist.is-duo .ui-rcard { flex-direction: column; gap: 8px; min-height: 0; padding: 0; }
body.tn-v6 .ui-rlist.is-grid .ui-rcard-img, body.tn-v6 .ui-rlist.is-duo .ui-rcard-img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 6px; }
body.tn-v6 .ui-rlist.is-grid .ui-rcard-price, body.tn-v6 .ui-rlist.is-duo .ui-rcard-price { order: 2; align-self: flex-start; margin: 0; font-size: 16px; }
body.tn-v6 .ui-rlist.is-grid .ui-rcard-body, body.tn-v6 .ui-rlist.is-duo .ui-rcard-body { order: 3; padding: 0; }
body.tn-v6 .ui-rlist.is-grid .ui-rcard-wrap > .ui-fav, body.tn-v6 .ui-rlist.is-duo .ui-rcard-wrap > .ui-fav { top: 8px; right: 8px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
body.tn-v6 .ui-rlist.is-grid .ui-rcard-wrap > .ui-card-ai, body.tn-v6 .ui-rlist.is-duo .ui-rcard-wrap > .ui-card-ai { position: static; margin-top: 6px; }
body.tn-v6 .ui-rlist.is-compact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
body.tn-v6 .ui-rlist.is-compact .ui-rcard-img { flex-basis: 110px; width: 110px; height: 80px; }
body.tn-v6 .ui-rlist.is-compact .ui-rcard-price { position: absolute; right: 44px; bottom: 14px; font-size: 15px; }
body.tn-v6 .ui-pager a { border-radius: var(--radius-sm); }
body.tn-v6 .ui-pager a.on { border-color: var(--accent-border); background: var(--accent); color: var(--on-accent); }

@media (max-width: 991.98px) {
  .tn-side-layout.is-filters { grid-template-columns: 210px minmax(0, 1fr); }
  body.tn-v6 .tn-side-layout.is-filters > .tn-home-sidebar { padding-right: 14px; }
  .tn-side-layout.is-filters > .tn-side-main { padding-left: 14px; }
  body.tn-v6 .ui-rcard { flex-direction: column; gap: 8px; padding: 12px 0; }
  body.tn-v6 .ui-rcard-img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  body.tn-v6 .ui-rcard-price { order: 2; align-self: flex-start; margin: 0; font-size: 18px; }
  body.tn-v6 .ui-rcard-body { display: contents; }
  body.tn-v6 .ui-rcard-title { order: 1; }
  body.tn-v6 .ui-rcard-when { order: 1; }
  body.tn-v6 .ui-rcard-specs { order: 3; }
  body.tn-v6 .ui-rcard-loc { order: 4; }
  body.tn-v6 .ui-rcard-wrap > .ui-fav { top: 20px; right: 8px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
  body.tn-v6 .ui-rcard-wrap > .ui-card-ai { position: static; margin: -4px 0 12px; }
  body.tn-v6 .ui-rlist.is-compact { grid-template-columns: minmax(0, 1fr); }
  body.tn-v6 .ui-rlist.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .tn-side-layout.is-filters { grid-template-columns: 150px minmax(0, 1fr); }
  body.tn-v6 .tn-side-layout.is-filters > .tn-home-sidebar { padding-right: 10px; }
  .tn-side-layout.is-filters > .tn-side-main { padding-left: 10px; }
  body.tn-v6 .ui-s-head { flex-wrap: wrap; gap: 10px; }
  body.tn-v6 .ui-s-title { font-size: 20px; }
  body.tn-v6 .ui-viewtoggle { display: none; }
  body.tn-v6 .ui-sort > span { display: none; }
  body.tn-v6 #saveSearchBtn { width: 38px; padding: 0; justify-content: center; font-size: 0; }
  body.tn-v6 #saveSearchBtn i { font-size: 14px; }
  body.tn-v6 .ui-minmax { flex-direction: column; align-items: stretch; gap: 6px; }
  body.tn-v6 .ui-minmax span { display: none; }
  body.tn-v6 .ui-rlist.is-grid, body.tn-v6 .ui-rlist.is-duo { grid-template-columns: minmax(0, 1fr); }
  body.tn-v6 .ui-fchips { padding-bottom: 10px; }
}

/* Kategori sayfası (v6): düz filtre çubuğu, çip alt kategoriler, çerçevesiz kartlar */
body.tn-v6 .ui-c-bar { padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
body.tn-v6 .ui-subcats a { padding: 5px 12px; border-color: var(--line); border-radius: var(--radius-sm); background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 400; }
body.tn-v6 .ui-subcats a:hover, body.tn-v6 .ui-subcats a.is-on { border-color: var(--accent-border); background: var(--accent); color: var(--on-accent); }
body.tn-v6 .ui-grid { gap: 22px 14px; }
body.tn-v6 .ui-grid .ui-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
body.tn-v6 .ui-grid .ui-card-img { border-radius: 6px; }
body.tn-v6 .ui-grid .ui-card-body { padding: 9px 0 6px; }
body.tn-v6 .ui-grid .ui-price { font-size: 15px; font-weight: 600; }
body.tn-v6 .ui-grid .ui-title { color: var(--ink-2); font-size: 13px; font-weight: 400; }
body.tn-v6 .ui-grid .ui-card-offer { margin: 0; font-weight: 500; }

/* ===================== Tasarım v6 — ilan detayı ===================== */
/* İki kolon: sol içerik, sağ 380 px (ekrana sığıyorsa yapışkan, bkz. listing_detail.php is-sticky) */
@media (min-width: 992px) {
  body.tn-v6 .ui-detail > .row { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; margin: 0; }
  body.tn-v6 .ui-detail > .row > [class*="col-"] { width: auto; max-width: none; padding: 0; }
  body.tn-v6 .ui-d-side.is-sticky { position: sticky; top: 16px; }
  /* Başlık sağdaki özet kartında; sol kolondaki h1 ekran okuyucular için kalır */
  body.tn-v6 .ui-d-head .ui-d-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
body.tn-v6 .ui-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }
body.tn-v6 .ui-crumbs a { color: var(--muted); text-decoration: none; }
body.tn-v6 .ui-crumbs a:hover { color: var(--ink); }
body.tn-v6 .ui-crumbs i { font-size: 8px; }
.tn-crumb-back { display: inline-flex; align-items: center; gap: 6px; padding-right: 12px; border-right: 1px solid var(--line); color: var(--ink) !important; }
body.tn-v6 .ui-d-head { margin-bottom: 10px; }
body.tn-v6 .ui-d-title { font-size: 22px; font-weight: 600; letter-spacing: -.5px; }
body.tn-v6 #listingActionsRow { margin-bottom: 10px !important; }

/* Galeri: 16:10, 8 px köşe, sağ altta sayaç; 4'lü küçük görsel şeridi */
body.tn-v6 .ui-gallery { overflow: hidden; border: 0; border-radius: var(--radius); background: var(--img-bg); aspect-ratio: 16 / 10; }
body.tn-v6 .ui-detail .ui-gallery, body.tn-v6 .ui-detail .ui-thumbs, body.tn-v6 .ui-detail .ui-gallery-empty { width: 100%; margin-left: 0; margin-right: 0; }
body.tn-v6 .ui-gallery .carousel-item img, body.tn-v6 .ui-gallery .carousel-item video { aspect-ratio: 16 / 10; height: auto; max-height: none; object-fit: cover; }
body.tn-v6 .ui-gallery-count { right: 12px; bottom: 12px; left: auto; top: auto; padding: 3px 9px; border-radius: 4px; background: rgba(20, 22, 26, .72); color: #fff; font-size: 12px; font-weight: 500; }
body.tn-v6 .ui-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; overflow: visible; }
body.tn-v6 .ui-thumbs button { width: auto; height: auto; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; opacity: .78; }
body.tn-v6 .ui-thumbs button.is-active { border-color: var(--accent-border); opacity: 1; box-shadow: 0 0 0 1px var(--accent-ink); }
body.tn-v6 .ui-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
body.tn-v6 .ui-gallery-empty { aspect-ratio: 16 / 10; border: 0; border-radius: var(--radius); background: var(--img-bg); }

/* Bölümler: çerçevesiz, başlık 18 px */
body.tn-v6 .ui-dsec { margin: 26px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.tn-v6 .ui-dsec-head { margin-bottom: 10px; }
body.tn-v6 .ui-dsec-head h2 { font-size: 18px; font-weight: 600; letter-spacing: -.4px; }
body.tn-v6 .ui-dsec-head h2 i { display: none; }
body.tn-v6 .ui-dsec-count { background: transparent; color: var(--muted); font-weight: 400; }
/* İlan bilgileri: iki sütunlu tanım tablosu */
.tn-dtable { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin: 0; }
.tn-dtable > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.tn-dtable > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.tn-dtable dt { color: var(--muted); font-weight: 400; }
.tn-dtable dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
body.tn-v6 .ui-desc { color: var(--ink-2); font-size: 14px; line-height: 1.7; }
body.tn-v6 .ui-pctx, body.tn-v6 .ui-d-side .card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: none; }

/* Sağ kolon kartları */
body.tn-v6 .ui-side-card { margin-bottom: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: none; }
.tn-sum-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tn-sum-title { color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.4px; line-height: 1.35; }
.tn-sum-icons { display: flex; flex: 0 0 auto; gap: 2px; }
body.tn-v6 .tn-sum-ico { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font-size: 18px; }
body.tn-v6 .tn-sum-ico:hover { background: var(--surface-2); }
body.tn-v6 .tn-sum-ico.is-on { color: var(--accent-ink); }
.tn-sum-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 8px; }
.tn-sum-price > b { color: var(--ink); font-size: 28px; font-weight: 650; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.tn-sum-price > b.is-muted { color: var(--muted); font-size: 18px; }
.tn-sum-price > span { color: var(--muted); font-size: 12px; }
.tn-sum-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; color: var(--muted); font-size: 12px; }
.tn-sum-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tn-sum-offers { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 9px 12px; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); font-size: 12.5px; }
.tn-sum-offers b { font-weight: 600; }
/* Fiyat bandı (benzer ilanlar) */
.tn-band { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tn-band-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink-2); font-size: 12px; }
.tn-band-head > span { display: inline-flex; align-items: center; gap: 6px; }
.tn-band-head .tn-ico { color: var(--ai); }
.tn-band-head em { padding: 2px 8px; border-radius: 4px; font-size: 11.5px; font-style: normal; font-weight: 500; }
.tn-band-head em.is-ok { background: var(--accent); color: var(--on-accent); }
.tn-band-head em.is-high { background: var(--warning-soft); color: var(--warning); }
.tn-band-head em.is-low { background: var(--success-soft); color: var(--success); }
.tn-band-bar { display: block; margin: 10px 0 4px; overflow: visible; }
.tn-band-track { stroke: var(--line-strong); stroke-width: 4; stroke-linecap: round; }
.tn-band-avg { stroke: var(--accent-ink); stroke-width: 1.5; }
.tn-band-dot { fill: var(--accent-ink); stroke: var(--surface); stroke-width: 2.5; }
.tn-band-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 10.5px; }
.tn-band small { display: block; margin-top: 4px; color: var(--muted); font-size: 10.5px; }

/* Teklif formu özet kartının içinde */
body.tn-v6 .tn-sum #teklif.card { margin: 16px 0 0 !important; padding: 0; border: 0; background: transparent; }
body.tn-v6 .tn-sum #offerTitle { font-size: 14px; font-weight: 600; }
.tn-offer-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 10px 0 12px; }
body.tn-v6 .tn-offer-chips button { display: grid; gap: 1px; padding: 6px 4px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); text-align: center; }
.tn-offer-chips small { color: var(--muted); font-size: 10.5px; }
.tn-offer-chips b { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
body.tn-v6 .tn-offer-chips button:hover, body.tn-v6 .tn-offer-chips button.is-on { border-color: var(--accent-border); background: var(--accent); }
.tn-offer-ask { color: var(--muted); }
.tn-offer-notehead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tn-offer-notehead span { color: var(--muted); font-weight: 400; }
body.tn-v6 .tn-offer-notehead .tn-ai-mini { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ai); font-size: 12px; font-weight: 500; }
body.tn-v6 .tn-offer-notehead .tn-ai-mini:hover { text-decoration: underline; text-underline-offset: 3px; }
.tn-offer-err { margin: 0 0 8px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--danger-soft); color: var(--danger); font-size: 12.5px; }
body.tn-v6 .ui-btn.tn-offer-submit { width: 100%; justify-content: center; height: 46px; font-size: 16px; font-weight: 500; }
body.tn-v6 .ui-btn.tn-offer-submit::after { content: "→"; margin-left: 8px; }
.tn-offer-ok { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--success-soft); color: var(--success); font-size: 12.5px; }
.tn-offer-ok a { margin-left: auto; color: var(--success); font-weight: 500; }
body.tn-v6 #offerCancelBtn { border: 0; background: transparent; color: var(--danger); font-size: 12px; }
.tn-sum-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
body.tn-v6 .tn-sum-contact .ui-btn { justify-content: center; gap: 8px; height: 38px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; }
body.tn-v6 .tn-sum-contact .ui-btn:hover { background: var(--surface-2); }

/* Satıcı kartı ve güvenlik notu */
body.tn-v6 .ui-seller .ui-side-title { display: none; }
body.tn-v6 .ui-seller-avatar { background: var(--accent); color: var(--on-accent); }
body.tn-v6 .ui-side-btn { border-color: var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-weight: 500; }
body.tn-v6 .ui-side-btn.is-primary { border-color: var(--accent-border); background: var(--accent); color: var(--on-accent); }
body.tn-v6 .ui-safety { padding: 4px 2px; border: 0; background: transparent; }
body.tn-v6 .ui-safety h5 { color: var(--muted); font-size: 12px; font-weight: 500; }
body.tn-v6 .ui-safety ul { color: var(--muted); font-size: 12px; }

/* Benzer ilanlar: tam genişlikte 6 kompakt karo */
.tn-similar { margin-top: 36px; }
.tn-similar h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; letter-spacing: -.4px; }

@media (max-width: 991.98px) {
  body.tn-v6 .ui-d-side { margin-top: 8px; }
  .tn-dtable { display: none !important; }
}
@media (max-width: 700px) {
  body.tn-v6 .ui-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .tn-sum-price > b { font-size: 24px; }
}


/* ===================== Tasarım v6 — ilan ver sihirbazı ===================== */
.tn-wz-top .tn-create-title { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.6px; }
.tn-wz-top .tn-create-sub { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.tn-wz-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 24px; padding: 0; border-bottom: 1px solid var(--line); list-style: none; }
.tn-wz-steps button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 12px 4px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: 13px; text-align: left; }
.tn-wz-num { display: inline-grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 11px; }
.tn-wz-steps button[aria-current="step"] { border-bottom-color: var(--accent-ink); color: var(--ink); font-weight: 500; }
.tn-wz-steps button[aria-current="step"] .tn-wz-num { border-color: var(--accent-ink); background: var(--accent-ink); color: #fff; }
.tn-wz-steps button.is-done { color: var(--ink); }
.tn-wz-steps button.is-done .tn-wz-num { border-color: var(--accent-border); background: var(--accent); color: transparent; position: relative; }
.tn-wz-steps button.is-done .tn-wz-num::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent-ink); font-size: 12px; }

.tn-wz { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
body.tn-v6 .tn-create-form.tn-wz-form { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tn-wz-step > h2 { margin: 0 0 14px; font-size: 18px; font-weight: 600; letter-spacing: -.4px; }
.tn-wz-help { color: var(--muted); font-size: 12.5px; }

/* 1) Kategori kutuları */
.tn-wz-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tn-wz-catbox { display: grid; justify-items: start; gap: 6px; min-height: 128px; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-align: left; }
.tn-wz-catbox strong { font-size: 15px; font-weight: 600; }
.tn-wz-catbox span { color: var(--muted); font-size: 12px; }
.tn-wz-catbox .tn-ico { color: var(--ink-2); }
.tn-wz-catbox:hover { border-color: var(--accent-border); }
.tn-wz-catbox.is-on { border-color: var(--accent-ink); background: var(--accent); }
.tn-wz-catbox.is-on .tn-ico { color: var(--accent-ink); }
.tn-wz-subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tn-wz-chip { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; }
.tn-wz-chip:hover { border-color: var(--accent-border); }
.tn-wz-chip.is-on { border-color: var(--accent-border); background: var(--accent); color: var(--on-accent); font-weight: 500; }
.tn-wz-catselect { margin-top: 16px; }
.tn-wz-catselect.is-boxed { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 2) Bilgiler: AI şeridi + alanlar */
/* Yöntem bölümü: .tn-wz-offerset kartı, seçenekler kategori kutusu (.tn-wz-catbox) görünümünde */
body.tn-v6 .tn-wz-form .tn-create-methods { margin-bottom: 20px !important; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
body.tn-v6 .tn-wz-form .tn-create-methods h4 { margin: 0 !important; font-size: 14px; font-weight: 600; }
body.tn-v6 .tn-wz-form .tn-create-methods > p { display: none; }
body.tn-v6 .tn-create-method-grid { gap: 12px; margin: 12px 0 14px; }
body.tn-v6 .tn-create-method { gap: 3px; padding: 12px 14px; border-color: var(--line-strong); border-radius: var(--radius); background: var(--surface); box-shadow: none; }
body.tn-v6 .tn-create-method:hover { border-color: var(--accent-border); }
body.tn-v6 .tn-create-method.is-active { border-color: var(--accent-ink); background: var(--accent); }
body.tn-v6 .tn-create-method i { margin-bottom: 3px; color: var(--ink-2); font-size: 15px; }
body.tn-v6 .tn-create-method.is-active i { color: var(--accent-ink); }
body.tn-v6 .tn-create-method strong { font-size: 13.5px; font-weight: 600; }
body.tn-v6 .tn-create-method span { color: var(--muted); font-size: 12px; }
body.tn-v6 .tn-create-method.is-active span { color: var(--ink-2); }
body.tn-v6 .tn-create-method-panel { padding: 0; border: 0; border-radius: 0; background: transparent; }
body.tn-v6 .tn-create-method-panel p { margin-bottom: 12px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
body.tn-v6 .tn-create-method-panel .tn-file { min-height: 40px; margin-bottom: 12px; border-radius: var(--radius-sm); }
body.tn-v6 .tn-create-method-panel .tn-file-btn { border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; }
body.tn-v6 .tn-create-method-panel .ui-btn { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
body.tn-v6 .tn-create-methods .ui-ai-note { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted) !important; font-size: 12px !important; }
.tn-wz-counter { margin-top: 4px; color: var(--muted); font-size: 11px; }
.tn-wz-counter.is-over { color: var(--danger); }
.tn-wz-fieldshead { margin: 6px 0 10px; font-size: 14px; font-weight: 600; }
.tn-wz-fieldshead small { margin-left: 6px; color: var(--muted); font-weight: 400; }
.tn-wz-form .form-label { margin-bottom: 4px; color: var(--ink-2); font-size: 12.5px; }
.tn-wz-form .form-control, .tn-wz-form .form-select { min-height: 40px; border-color: var(--line-strong); font-size: 14px; }
/* AI'nın doldurduğu alanın etiketinde mor "AI önerisi" rozeti */
.tn-wz-form [class*="col-"]:has(> .ui-ai-filled) > .form-label::after { content: "AI önerisi"; margin-left: 8px; padding: 1px 6px; border-radius: 4px; background: var(--ai-soft); color: var(--ai); font-size: 10.5px; font-weight: 500; }
.tn-wz-offerset { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tn-wz-offerset b { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.tn-wz-offerset p, .tn-wz-offerset small { display: block; margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.tn-wz-offerset small { margin: 6px 0 0; }

/* 3) Fotoğraflar */
.tn-wz-photogrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tn-wz-photogrid:empty { display: none; }
.tn-wz-photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); background: var(--img-bg); }
.tn-wz-photo img { width: 100%; height: 100%; object-fit: cover; }
.tn-wz-cover, .tn-wz-sample { position: absolute; top: 6px; left: 6px; padding: 1px 7px; border-radius: 4px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 500; }
.tn-wz-sample { top: auto; bottom: 6px; background: var(--ai-soft); color: var(--ai); }
.tn-wz-photo-acts { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; }
.tn-wz-photo-acts button { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: rgba(20, 22, 26, .66); color: #fff; font-size: 14px; line-height: 1; }
.tn-wz-photoadd { margin-top: 14px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }

/* 4) Önizle & yayınla */
.tn-wz-score { display: flex; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tn-wz-score strong { font-size: 15px; font-weight: 600; }
.tn-wz-score p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.tn-wz-ring { position: relative; flex: 0 0 auto; }
.tn-wz-ring svg { display: block; transform: rotate(-90deg); }
.tn-wz-ring circle { fill: none; stroke-width: 3.2; }
.tn-wz-ring-bg { stroke: var(--line); }
.tn-wz-ring-fg { stroke: var(--accent-ink); stroke-linecap: round; transition: stroke-dasharray .3s; }
.tn-wz-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-weight: 600; }
.tn-wz-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.tn-wz-checks li { position: relative; padding: 10px 12px 10px 34px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--muted); font-size: 12.5px; }
.tn-wz-checks li::before { content: ""; position: absolute; top: 50%; left: 12px; width: 14px; height: 14px; margin-top: -7px; border: 1.5px solid var(--line-strong); border-radius: 50%; }
.tn-wz-checks li.is-ok { border-color: color-mix(in srgb, var(--success) 30%, var(--line)); background: var(--success-soft); color: var(--success); }
.tn-wz-checks li.is-ok::before { content: "✓"; display: grid; place-items: center; border-color: var(--success); background: var(--success); color: #fff; font-size: 9px; }
.tn-wz-feature { margin-top: 18px; }
.tn-wz-feature > b { font-size: 15px; font-weight: 600; }
.tn-wz-feature > p { margin: 2px 0 10px; color: var(--muted); font-size: 12.5px; }
.tn-wz-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tn-wz-plan { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tn-wz-plan span { color: var(--ink-2); font-size: 13px; }
.tn-wz-plan b { font-size: 18px; font-weight: 600; }
.tn-wz-plan small { color: var(--muted); font-size: 11.5px; }
.tn-wz-publish { display: flex; justify-content: flex-end; }
body.tn-v6 .tn-create-form .tn-create-submit { height: 46px; padding: 0 22px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; }

/* Alt gezinme: Geri / Devam et */
.tn-wz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.tn-wz-nav [data-wz-next] { margin-left: auto; }
.tn-wz-nav .ui-btn { gap: 8px; height: 42px; padding: 0 18px; }
body.tn-v6 .tn-wz-nav .ui-btn-ghost { border: 1px solid var(--line-strong); background: var(--surface); }

/* Canlı önizleme (sağ, 320 px) */
.tn-wz-preview { position: sticky; top: 16px; display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tn-wz-preview-label { margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.tn-wz-pv-img { display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); background: var(--img-bg); color: var(--muted); }
.tn-wz-pv-img.has-img .tn-ico { display: none; }
.tn-wz-pv-img img { width: 100%; height: 100%; object-fit: cover; }
.tn-wz-pv-price { font-size: 17px; font-weight: 600; }
.tn-wz-pv-title { color: var(--ink-2); font-size: 13px; }
.tn-wz-pv-specs, .tn-wz-pv-loc { color: var(--muted); font-size: 11.5px; }
.tn-wz-pv-meta { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.tn-wz-pv-meta div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; font-size: 12px; }
.tn-wz-pv-meta dt { color: var(--muted); font-weight: 400; }
.tn-wz-pv-meta dd { margin: 0; color: var(--ink); text-align: right; }

@media (max-width: 1100px) { .tn-wz { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; } }
@media (max-width: 900px) {
  .tn-wz { grid-template-columns: minmax(0, 1fr); }
  /* Mobilde önizleme adım çubuğunun altında yatay küçük kart */
  .tn-wz-preview { position: static; order: -1; grid-template-columns: 84px minmax(0, 1fr); align-items: center; column-gap: 12px; padding: 10px; }
  .tn-wz-preview-label, .tn-wz-pv-meta, .tn-wz-pv-specs { display: none; }
  .tn-wz-pv-img { grid-row: span 3; margin: 0; }
  .tn-wz-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-wz-catbox { min-height: 96px; padding: 14px; }
}
@media (max-width: 700px) {
  .tn-wz-steps { margin: 16px 0 14px; }
  .tn-wz-steps button { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 2px; font-size: 11px; }
  .tn-wz-photogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-wz-score { gap: 12px; }
  .tn-wz-publish .tn-create-submit { width: 100%; }
}
.tn-wz-ring-fg[stroke-dasharray^="0 "] { opacity: 0; }

/* ===================== Tasarım v6 — teklif merkezi ===================== */
.tn-oc-head h1 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.6px; }
.tn-oc-head p { margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }
.tn-oc-tabs { display: flex; gap: 4px; margin: 22px 0 0; border-bottom: 1px solid var(--line); }
.tn-oc-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; text-decoration: none; }
.tn-oc-tabs a:hover { color: var(--ink); }
.tn-oc-tabs a.is-active { border-bottom-color: var(--accent-ink); color: var(--ink); font-weight: 500; }
.tn-oc-n { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 11px; line-height: 18px; text-align: center; }
.tn-oc-n.is-alert { background: var(--danger-soft); color: var(--danger); }
.tn-oc-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tn-oc-sum a { color: var(--muted); font-size: 12.5px; text-decoration: none; }
.tn-oc-sum a b { margin-right: 4px; color: var(--ink); font-size: 20px; font-weight: 600; }
.tn-oc-sum a.is-on, .tn-oc-sum a:hover { color: var(--accent-ink); }
.tn-oc-sum-all { margin-left: auto; text-decoration: underline !important; text-underline-offset: 3px; }
.tn-oc-empty { padding: 28px 0; color: var(--muted); font-size: 14px; }

/* Verdiğim: satır */
.tn-oc-row { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.tn-oc-img { display: grid; place-items: center; overflow: hidden; height: 99px; border-radius: 6px; background: var(--img-bg); color: var(--muted); }
.tn-oc-img img { width: 100%; height: 100%; object-fit: cover; }
.tn-oc-body { display: grid; gap: 4px; min-width: 0; }
.tn-oc-title a { color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.tn-oc-title a:hover { color: var(--accent-ink); }
.tn-oc-prices { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--ink-2); font-size: 12.5px; }
.tn-oc-prices b { color: var(--ink); font-weight: 600; }
.tn-oc-prices em { font-size: 11px; font-style: normal; }
.tn-oc-prices em.is-down { color: var(--success); }
.tn-oc-prices em.is-up { color: var(--warning); }
.tn-oc-when { color: var(--muted); font-size: 12px; }
.tn-oc-note { color: var(--ink-2); font-size: 12.5px; }
.tn-oc-note.is-info { color: var(--accent-ink); }
.tn-oc-steps { display: flex; width: min(300px, 100%); margin: 6px 0 0; padding: 0; list-style: none; }
.tn-oc-steps li { position: relative; flex: 1; padding-top: 14px; color: var(--muted); font-size: 11px; }
.tn-oc-steps li::before { content: ""; position: absolute; top: 2px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.tn-oc-steps li::after { content: ""; position: absolute; top: 5px; left: 12px; right: 6px; height: 1px; background: var(--line); }
.tn-oc-steps li:last-child::after { display: none; }
.tn-oc-steps li.is-done { color: var(--ink-2); }
.tn-oc-steps li.is-done::before { background: var(--accent-ink); }
.tn-oc-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; }
.tn-oc-box > span { margin-right: auto; }
.tn-oc-box em { color: var(--muted); font-style: normal; }
.tn-oc-box.is-counter { background: var(--accent); color: var(--on-accent); }
.tn-oc-box.is-ok { background: var(--success-soft); color: var(--success); }
.tn-oc-box form, .tn-oc-side form, .tn-oc-acts form { margin: 0; }
.tn-oc .ui-btn { gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 500; }
body.tn-v6 .tn-oc .ui-btn-ghost { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
body.tn-v6 .tn-oc .ui-btn-ghost.is-danger { color: var(--danger); }
.tn-oc-side { display: grid; align-content: start; justify-items: end; gap: 8px; }
.tn-oc-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.tn-oc-pill.is-wait { background: var(--surface-2); color: var(--ink-2); }
.tn-oc-pill.is-counter { background: var(--accent); color: var(--on-accent); }
.tn-oc-pill.is-ok { background: var(--success-soft); color: var(--success); }
.tn-oc-pill.is-bad { background: var(--danger-soft); color: var(--danger); }
.tn-oc-histbox summary { color: var(--muted); font-size: 11.5px; cursor: pointer; }
.tn-oc-hist { margin: 6px 0 0; padding: 0 0 0 10px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11.5px; list-style: none; }

/* Aldığım: ilan başına grup kartı */
.tn-oc-groups { display: grid; gap: 16px; margin-top: 16px; }
.tn-oc-group { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tn-oc-group > header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg); }
.tn-oc-group > header > div { display: grid; flex: 1; min-width: 0; }
.tn-oc-group > header b { font-size: 14px; font-weight: 500; }
.tn-oc-group > header span { color: var(--muted); font-size: 12px; }
.tn-oc-gimg { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 42px; overflow: hidden; border-radius: 4px; background: var(--img-bg); color: var(--muted); }
.tn-oc-gimg img { width: 100%; height: 100%; object-fit: cover; }
.tn-oc-offer { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.tn-oc-offer:first-of-type { border-top: 0; }
.tn-oc-offer.is-faded { opacity: .55; }
.tn-oc-av { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; }
.tn-oc-obody { display: grid; flex: 1; gap: 2px; min-width: 0; }
.tn-oc-amount { font-size: 16px; font-weight: 600; }
.tn-oc-top { padding: 1px 7px; border-radius: 4px; background: var(--success-soft); color: var(--success); font-size: 10.5px; font-weight: 500; }
.tn-oc-who { color: var(--muted); font-size: 12px; }
.tn-oc-acts { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 6px; }
.tn-oc-counter { position: relative; }
.tn-oc-counter > summary { list-style: none; cursor: pointer; }
.tn-oc-counter > summary::-webkit-details-marker { display: none; }
.tn-oc-counter form { position: absolute; z-index: 5; right: 0; top: calc(100% + 6px); display: grid; gap: 6px; width: 240px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-md); }
.tn-oc-counter .form-control { height: 34px; font-size: 13px; }
.tn-oc-tip { margin-top: 14px; color: var(--muted); font-size: 12px; }

@media (max-width: 700px) {
  .tn-oc-tabs { overflow-x: auto; }
  .tn-oc-tabs a { flex: 0 0 auto; padding: 10px; font-size: 13px; }
  .tn-oc-sum { gap: 6px 18px; }
  .tn-oc-row { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .tn-oc-img { height: 72px; }
  .tn-oc-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: start; }
  .tn-oc-offer { flex-wrap: wrap; }
  .tn-oc-acts { width: 100%; justify-content: flex-start; padding-left: 44px; }
  .tn-oc-counter form { left: 0; right: auto; }
}

/* ===================== Tasarım v6 — diğer sayfalar ve genel düzeltmeler ===================== */
/* Giriş / kayıt: sıcak zemin, gölgesiz kart, siyah panel yerine pastel degrade */
body.tn-v6.is-auth-page, body.tn-v6.ui-home-shell.is-auth-page { background: var(--bg); }
body.tn-v6 .tn-auth-card { border-color: var(--line); border-radius: 12px; box-shadow: none; }
body.tn-v6 .tn-auth-brand { background: linear-gradient(160deg, #eef2f9 0%, #f3f0fa 100%); color: var(--ink); }
body.tn-v6 .tn-auth-brand::after { background: radial-gradient(circle, rgba(94, 77, 150, .10), transparent 70%); }
body.tn-v6 .tn-auth-brand > p, body.tn-v6 .tn-auth-brand li span { color: var(--ink-2); }
body.tn-v6 .tn-auth-brand li b { color: var(--ink); }
body.tn-v6 .tn-auth-brand li i { background: var(--surface); color: var(--accent-ink); }
body.tn-v6 .tn-auth-brand h2 { font-weight: 700; }
html[data-theme="dark"] body.tn-v6 .tn-auth-brand { background: linear-gradient(160deg, #232a38 0%, #2a2538 100%); }

/* Ortak sayfa başlıkları ve kartlar (favoriler, ilanlarım, mesajlar, profil, hizmetler, kurumsal): çerçeve ince, gölge yok */
body.tn-v6 .card { border-color: var(--line); border-radius: var(--radius); box-shadow: none; }
body.tn-v6 main h1, body.tn-v6 main .h3, body.tn-v6 main h3 { font-weight: 600; letter-spacing: -.5px; }
body.tn-v6 .nav-tabs { border-bottom-color: var(--line); }
body.tn-v6 .nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--muted); }
body.tn-v6 .nav-tabs .nav-link.active { border-bottom-color: var(--accent-ink); background: transparent; color: var(--ink); }
body.tn-v6 .badge.bg-warning { background: var(--warning-soft) !important; color: var(--warning) !important; }
body.tn-v6 .badge.bg-success { background: var(--success-soft) !important; color: var(--success) !important; }
body.tn-v6 .badge.bg-danger { background: var(--danger-soft) !important; color: var(--danger) !important; }
body.tn-v6 .badge.bg-info { background: var(--accent) !important; color: var(--on-accent) !important; }
body.tn-v6 .btn-success { --bs-btn-bg: var(--success-soft); --bs-btn-color: var(--success); --bs-btn-border-color: color-mix(in srgb, var(--success) 25%, transparent); --bs-btn-hover-bg: color-mix(in srgb, var(--success-soft) 80%, var(--success) 20%); --bs-btn-hover-color: var(--success); --bs-btn-hover-border-color: var(--success); }
body.tn-v6 .btn-outline-danger { --bs-btn-color: var(--danger); --bs-btn-border-color: color-mix(in srgb, var(--danger) 35%, transparent); --bs-btn-hover-bg: var(--danger-soft); --bs-btn-hover-color: var(--danger); --bs-btn-hover-border-color: var(--danger); }
body.tn-v6 .alert { border-radius: var(--radius); }

/* Premium / kampanya: degradeler yeni koyu maviyle; koyu temada simge zemini okunur */
html[data-theme="dark"] .tn-perk-ico, html[data-theme="dark"] .tn-side-camp .tn-side-cat-ico, html[data-theme="dark"] .tn-side-camp-n { background: var(--accent); color: var(--on-accent); }

/* Koyu tema: v6 yüzeyleri */
html[data-theme="dark"] .tn-sbar, html[data-theme="dark"] .tn-tile .ui-fav.tn-tile-fav, html[data-theme="dark"] .tn-wz-catbox,
html[data-theme="dark"] .tn-wz-preview, html[data-theme="dark"] .tn-oc-group, html[data-theme="dark"] body.tn-v6 .ui-side-card { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .tn-oc-group > header { background: var(--surface-2); }
html[data-theme="dark"] .tn-tile-badge, html[data-theme="dark"] body.tn-v6 .ui-rcard-img > .ui-rcard-feat, html[data-theme="dark"] .tn-wz-cover { background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .tn-mnav { background: color-mix(in srgb, var(--bg) 94%, transparent); }
html[data-theme="dark"] body.tn-v6 .tn-hd-menu { border-color: var(--line); }

/* 320 px: kenar boşlukları ve sıkışan öğeler */
@media (max-width: 360px) {
  .tn-shell, body.tn-v6 main.tn-wrap { width: calc(100% - 24px); }
  .ui-btn.tn-hd-post { padding: 0 8px; }
  .tn-sbar .tn-ai-photo-select { display: none; }
  .tn-side-layout.is-filters { grid-template-columns: 128px minmax(0, 1fr); }
  .tn-oc-sum { gap: 4px 12px; }
  .tn-wz-steps button { font-size: 10px; }
}
body.tn-v6 .ui-viewtoggle button.is-on { background: var(--accent); color: var(--on-accent); }
body.tn-v6 .ui-crumbs span[aria-current] { color: var(--ink); }

/* Satıcı kartı (user_public): butonlar tema bileşeni (ui-btn), teklif merkezindeki küçük boy */
.tn-seller-av { width: 72px; height: 72px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.tn-seller-loc { display: flex; align-items: center; gap: 4px; margin-top: 4px; color: var(--muted); font-size: 13px; }
.tn-seller-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-left: auto; }
.tn-seller-acts form { margin: 0; }
.tn-seller-acts .ui-btn { gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; white-space: nowrap; }
.tn-seller-acts .ui-btn .me-1 { margin-right: 0 !important; }
body.tn-v6 .tn-seller-acts .ui-btn-ghost { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
body.tn-v6 .tn-seller-acts .ui-btn-ghost:hover { border-color: var(--ink-2); background: var(--surface-2); }
body.tn-v6 .tn-seller-acts .ui-btn-ghost.is-on { border-color: var(--accent-border); background: var(--accent); color: var(--on-accent); }
body.tn-v6 .tn-seller-acts .ui-btn-ghost.is-danger { color: var(--danger); }
@media (max-width: 700px) {
  .tn-seller-acts { justify-content: flex-start; width: 100%; margin-left: 0; }
}

/* Arama: ana kategori belliyken alt kategoriler başlık altında (filtre panelinde değil) */
.tn-subcats { display: flex; gap: 8px; margin: -6px 0 18px; overflow-x: auto; scrollbar-width: none; }
.tn-subcats::-webkit-scrollbar { display: none; }
.tn-subcats a { flex: 0 0 auto; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 12.5px; text-decoration: none; white-space: nowrap; }
.tn-subcats a:hover { border-color: var(--ink-2); }
.tn-subcats a.is-on { border-color: var(--accent-border); background: var(--accent); color: var(--on-accent); }

/* İlan özellikleri: boya / değişen şeması, donanım listeleri (form ve detay) */
.tn-parts { --p-l: #e9a23b; --p-b: #4a7fd4; --p-d: #d9534f; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.tn-parts-svg { display: block; width: 100%; max-width: 200px; margin: 0 auto; }
.tn-parts-glass { fill: var(--surface-2); stroke: var(--line); }
.tn-part { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.2; transition: fill .12s; }
.tn-part.is-l, .tn-part-key.is-l { fill: var(--p-l); background: var(--p-l); }
.tn-part.is-b, .tn-part-key.is-b { fill: var(--p-b); background: var(--p-b); }
.tn-part.is-d, .tn-part-key.is-d { fill: var(--p-d); background: var(--p-d); }
.tn-part-key { display: inline-block; flex-shrink: 0; width: 11px; height: 11px; border: 1px solid var(--line-strong); border-radius: 3px; background: var(--surface-2); }
.tn-part-key[class*="is-"] { border-color: transparent; }
.tn-parts-view, .tn-feat-view { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.tn-parts-view h3, .tn-feat-view h3 { margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.tn-parts-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; padding: 0; list-style: none; color: var(--muted); font-size: 12.5px; }
.tn-parts-legend li { display: inline-flex; align-items: center; gap: 6px; }
.tn-parts-sum { margin: 0 0 8px; font-size: 14px; }
.tn-parts-sum b { font-weight: 600; }
.tn-parts-sum span, .tn-parts-note { color: var(--muted); font-size: 12.5px; }
.tn-parts-changed { display: grid; margin: 0 0 8px; padding: 0; list-style: none; font-size: 13.5px; }
.tn-parts-changed li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.tn-parts-changed span { flex: 1; }
.tn-parts-changed b { font-weight: 500; }
.tn-parts-note { margin: 0; }
.tn-feat-view ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px 16px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.tn-feat-view li { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.tn-feat-view li i { color: var(--success); font-size: 11px; }
.tn-feat-view li.is-off { padding-left: 18px; color: var(--muted); opacity: .62; }
.tn-feat-form fieldset { margin: 18px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); }
.tn-feat-form fieldset[hidden] { display: none; }
.tn-feat-form legend { float: none; width: auto; margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 600; }
.tn-feat-form legend small { margin-left: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.tn-feat-hint { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; }
.tn-feat-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; }
.tn-feat-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; cursor: pointer; }
.tn-feat-check input { flex-shrink: 0; margin-top: 3px; }
.tn-feat-form .tn-part { cursor: pointer; }
.tn-feat-form .tn-part:hover { stroke: var(--ink-2); }
.tn-parts-all { width: 100%; height: 34px; margin-top: 12px; font-size: 13px; font-weight: 500; }
.tn-parts-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.tn-parts-list label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.tn-parts-list select { flex: 0 0 118px; width: 118px; }
@media (max-width: 760px) {
  .tn-parts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tn-parts-figure { max-width: 200px; margin: 0 auto; width: 100%; }
  .tn-parts-list { grid-template-columns: minmax(0, 1fr); }
  .tn-feat-view ul, .tn-feat-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Çıkış onayı */
.tn-logout-confirm { max-width: 420px; margin: 48px auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md, 14px); background: var(--surface); text-align: center; }
.tn-logout-confirm h1 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.tn-logout-confirm p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.tn-logout-confirm form { display: flex; justify-content: center; gap: 8px; }


/* ---------- Hizmet talepleri (talep ver, talep detayı, /talepler, ana sayfa Talepler sekmesi) ----------
   Talep = ihtiyaç sahibinin ilanı; işletmeler fiyat teklifi verir. app/Core/ServiceRequests.php */

/* Ana sayfa: "Ne lazım?" kutusu + eşit sekmeler */
.tn-ask { padding: 26px 0 6px; display: grid; gap: 14px; }
.tn-ask-copy h1 { margin: 0; font-size: 33px; font-weight: 600; line-height: 1.15; letter-spacing: -1.2px; text-wrap: balance; }
.tn-ask-copy p { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 68ch; }
.tn-ask-form { display: flex; gap: 8px; max-width: 760px; }
.tn-ask-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 1rem; }
.tn-ask-form input:focus { outline: 2px solid var(--accent-border); outline-offset: 1px; border-color: var(--accent-border); }
.tn-ask-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-ask-cats a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .85rem; font-weight: 500; text-decoration: none; }
.tn-ask-cats a:hover { border-color: var(--ink-2); color: var(--ink); }
.tn-hero-head h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.6px; }

/* Talep kartı */
.tn-req-grid-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
@media (max-width: 1099.98px) { .tn-req-grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tn-req-grid-list { grid-template-columns: minmax(0, 1fr); } }
.tn-req-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.tn-req-card:hover { border-color: var(--line-strong); }
.tn-req-card.is-urgent { border-left: 3px solid var(--warning); }
.tn-req-link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 14px 16px; color: inherit; text-decoration: none; }
.tn-req-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tn-req-cat { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--accent-ink); font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-req-urgent { padding: 2px 8px; border-radius: 999px; background: var(--warning-soft); color: var(--warning); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.tn-req-ago { margin-left: auto; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.tn-req-body { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.tn-req-text { min-width: 0; flex: 1; }
.tn-req-text h3 { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.tn-req-text p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.45; overflow-wrap: anywhere; }
.tn-req-thumb { position: relative; flex: 0 0 72px; width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; background: var(--img-bg); }
.tn-req-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-req-thumb em { position: absolute; right: 4px; bottom: 4px; padding: 0 6px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .7rem; font-style: normal; font-weight: 600; }
.tn-req-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: auto; font-size: .82rem; color: var(--ink-2); }
.tn-req-loc { display: inline-flex; align-items: center; gap: 4px; }
.tn-req-budget { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tn-req-offers { margin-left: auto; font-weight: 600; color: var(--ink); }
.tn-req-offers.is-zero { color: var(--accent-ink); font-weight: 600; }
.tn-req-mine { padding: 6px 10px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-2); font-size: .8rem; font-weight: 600; }
.tn-req-mine.is-accepted { background: var(--success-soft); color: var(--success); }
.tn-req-mine.is-rejected { background: var(--danger-soft); color: var(--danger); }

/* Nasıl çalışır (ana sayfa + talep formu) */
.tn-req-how { margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.tn-req-how ol, .tn-req-steps { list-style: none; counter-reset: req; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; flex: 1 1 560px; }
.tn-req-how li, .tn-req-steps li { counter-increment: req; display: grid; gap: 2px; padding-left: 36px; position: relative; min-width: 0; }
.tn-req-how li::before, .tn-req-steps li::before { content: counter(req); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; font-size: .82rem; }
.tn-req-how b, .tn-req-steps b { font-size: .92rem; color: var(--ink); }
.tn-req-how span, .tn-req-steps span { font-size: .84rem; color: var(--muted); }
@media (max-width: 700px) { .tn-req-how ol, .tn-req-steps { grid-template-columns: minmax(0, 1fr); } }

/* Talep formu */
.tn-req-create { max-width: 820px; margin: 0 auto; padding: 22px 0 40px; }
.tn-req-create-head h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -1px; text-wrap: balance; }
.tn-req-create-head > p { margin: 8px 0 18px; color: var(--muted); max-width: 66ch; }
.tn-req-form { display: grid; gap: 18px; margin-top: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tn-req-field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.tn-req-field legend, .tn-req-label { font-weight: 600; font-size: .92rem; color: var(--ink); margin: 0 0 2px; padding: 0; float: none; width: auto; }
.tn-req-label small, .tn-req-offer-form small { font-weight: 400; color: var(--muted); }
.tn-req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .tn-req-grid { grid-template-columns: minmax(0, 1fr); } .tn-req-form { padding: 16px; } }
.tn-req-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-req-chip { position: relative; cursor: pointer; }
.tn-req-chip input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.tn-req-chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .88rem; font-weight: 500; }
.tn-req-chip:hover span { border-color: var(--ink-2); }
.tn-req-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.tn-req-chip input:focus-visible + span { outline: 2px solid var(--accent-border); outline-offset: 2px; }
.tn-req-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.tn-req-submit p { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; flex: 1 1 320px; }

/* Talep detayı */
.tn-req-page { padding: 18px 0 40px; }
.tn-req-crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); }
.tn-req-crumbs a { color: var(--ink-2); text-decoration: none; }
.tn-req-crumbs a:hover { text-decoration: underline; }
.tn-req-banner { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-2); color: var(--ink-2); font-size: .9rem; }
.tn-req-banner.is-wait { background: var(--info-soft); color: var(--info); }
.tn-req-banner.is-bad { background: var(--danger-soft); color: var(--danger); }
.tn-req-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; margin-top: 16px; align-items: start; }
@media (max-width: 991.98px) { .tn-req-layout { grid-template-columns: minmax(0, 1fr); } }
.tn-req-chiprow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tn-req-tag { padding: 2px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .8rem; font-weight: 500; }
.tn-req-title { margin: 10px 0 0; font-size: 28px; font-weight: 600; letter-spacing: -.8px; line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
.tn-req-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 18px; margin: 16px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tn-req-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tn-req-facts dd { margin: 2px 0 0; font-size: .95rem; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tn-req-photos { display: grid; gap: 8px; margin-top: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tn-req-photos.is-n1 { grid-template-columns: minmax(0, 1fr); }
.tn-req-photos a { display: block; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--img-bg); }
.tn-req-photos.is-n1 a { aspect-ratio: 16 / 9; }
.tn-req-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-req-desc h2 { margin: 22px 0 8px; font-size: 1.05rem; }
.tn-req-desc p { margin: 0; line-height: 1.65; color: var(--ink-2); max-width: 70ch; overflow-wrap: anywhere; }
.tn-req-side { display: grid; gap: 12px; position: sticky; top: 90px; }
@media (max-width: 991.98px) { .tn-req-side { position: static; } }
.tn-req-panel { display: grid; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tn-req-panel.is-soft { background: var(--surface-2); border-color: transparent; }
.tn-req-panel h2 { margin: 0; font-size: 1.05rem; }
.tn-req-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tn-req-panel-head span { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.tn-req-muted { margin: 0; color: var(--muted); font-size: .88rem; }
.tn-req-note { margin: 0; padding: 0 4px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.tn-req-offer-form { display: grid; gap: 10px; }
.tn-req-offer-form label { display: grid; gap: 4px; font-weight: 600; font-size: .88rem; }
.tn-req-withdraw { margin: 0; }
.tn-linkbtn { padding: 0; border: 0; background: none; color: var(--ink-2); font-size: .85rem; text-decoration: underline; cursor: pointer; }
.tn-linkbtn:hover { color: var(--danger); }
.tn-req-contact { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius-sm); background: var(--success-soft); color: var(--success); }
.tn-req-contact a:not(.ui-btn) { color: var(--success); font-weight: 600; font-size: 1.05rem; text-decoration: none; }

/* Teklif kartı (talep sahibi görünümü) */
.tn-offer-card { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.tn-offer-card.is-accepted { border-color: var(--success); background: var(--success-soft); }
.tn-offer-card.is-rejected { opacity: .7; }
.tn-offer-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.tn-offer-who { display: grid; gap: 2px; min-width: 0; }
.tn-offer-who b { font-size: .95rem; overflow-wrap: anywhere; }
.tn-offer-who span { font-size: .78rem; color: var(--muted); }
.tn-offer-verified { color: var(--info); font-size: .85em; }
.tn-offer-price { font-size: 1.2rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tn-offer-msg { margin: 0; font-size: .87rem; color: var(--ink-2); line-height: 1.5; overflow-wrap: anywhere; }
.tn-offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tn-offer-actions form { margin: 0; }
.tn-offer-actions .ui-btn { height: 34px; padding: 0 12px; font-size: .84rem; }
.tn-offer-status { margin: 0 auto 0 0; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .75rem; font-weight: 600; justify-self: start; }
.tn-offer-status.is-accepted { background: var(--success-soft); color: var(--success); }
.tn-offer-status.is-rejected, .tn-offer-status.is-cancelled { background: var(--danger-soft); color: var(--danger); }
.tn-offer-contact { display: flex; flex-wrap: wrap; gap: 12px; font-size: .9rem; }
.tn-offer-contact a { color: var(--success); font-weight: 600; }

/* /talepler */
.tn-req-list-page { padding: 22px 0 40px; display: grid; gap: 18px; }
.tn-req-list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.tn-req-list-head h1 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -1px; }
.tn-req-list-head p { margin: 6px 0 0; color: var(--muted); max-width: 70ch; }
.tn-req-list-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-req-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tn-req-filter .form-control, .tn-req-filter .form-select { flex: 1 1 180px; width: auto; min-width: 0; }
.tn-req-check { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--ink-2); white-space: nowrap; }
.tn-req-areas { display: grid; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tn-req-areas h2 { margin: 0; font-size: 1.05rem; }
.tn-req-area-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tn-req-area-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: .9rem; }
.tn-req-area-list form { margin: 0; }
.tn-req-area-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.tn-req-area-form label:not(.tn-req-check) { display: grid; gap: 4px; flex: 1 1 200px; font-size: .85rem; font-weight: 600; }
.tn-req-my { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tn-req-my h2 { margin: 0 0 8px; font-size: 1.05rem; }
.tn-req-my ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tn-req-my li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: .9rem; }
.tn-req-my a { color: var(--ink); font-weight: 600; }

@media (max-width: 700px) {
  .tn-ask { padding-top: 14px; }
  .tn-ask-copy h1 { font-size: 26px; letter-spacing: -.8px; }
  .tn-ask-form { flex-direction: column; }
  .tn-ask-form .ui-btn { width: 100%; }
  .tn-req-title { font-size: 23px; }
  .tn-hd-talep .ui-newlisting-text { display: none; }
}
.tn-req-offer-form .form-control { font-weight: 400; }

/* ---------- Üç mod: mod segmenti (header), giriş kapısı, mod ana sayfaları (app/Core/HomeMode.php) ---------- */
:root { --mode-blue: #dbe6f7; --mode-blue-ink: #2f4a6f; --mode-green: #d9eee1; --mode-green-ink: #27603c; --mode-amber: #f6e4d2; --mode-amber-ink: #7f461d; }
html[data-theme="dark"] { --mode-blue: #26324a; --mode-blue-ink: #b7cff0; --mode-green: #1f3a2b; --mode-green-ink: #9fd9be; --mode-amber: #3f2d1c; --mode-amber-ink: #ebcb97; }
/* İlan · Hizmet geçişi: eşit genişlikte iki düğme, beyaz kayan gösterge; etkin modun rengi ikon ve yazıda */
.tn-mode { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: inset 0 1px 2px rgba(20, 23, 28, .06); isolation: isolate; }
.tn-mode-thumb { position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 2)); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(20, 23, 28, .08), 0 4px 12px rgba(20, 23, 28, .08); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .32s cubic-bezier(.3, .7, .2, 1), background-color .32s; }
.tn-mode[data-active="ilan"] .tn-mode-thumb { background: var(--mode-blue); }
.tn-mode[data-active="hizmet"] .tn-mode-thumb { background: var(--mode-green); }
.tn-mode a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 18px; border-radius: 999px; color: var(--muted); font-weight: 650; font-size: .88rem; text-decoration: none; white-space: nowrap; transition: color .25s; }
.tn-mode a svg { transition: transform .25s; }
.tn-mode a:hover { color: var(--ink); }
.tn-mode a:hover svg { transform: translateY(-1px); }
.tn-mode a.is-active.is-ilan { color: var(--mode-blue-ink); }
.tn-mode a.is-active.is-hizmet { color: var(--mode-green-ink); }
.tn-mode a.is-active.is-urun { color: var(--mode-amber-ink); }
.tn-mode a:focus-visible { outline: 2px solid var(--accent-border); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tn-mode-thumb, .tn-mode a, .tn-mode a svg { transition: none; } }
@media (max-width: 900px) { .tn-mode a span { display: none; } .tn-mode a { padding: 0 11px; } }
.tn-ai-kicker { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; height: 28px; padding: 0 11px 0 9px; border-radius: 999px; background: var(--ai-soft); color: var(--ai); font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.tn-ai-kicker.is-light { background: rgba(255,255,255,.14); color: #efd6c2; }

/* Giriş kapısı */
.tn-gate { display: flex; flex-direction: column; gap: 16px; padding: 22px 0 26px; min-height: calc(100vh - 140px); }
.tn-gate-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.tn-gate-head > div { display: flex; flex-direction: column; gap: 8px; }
.tn-gate-head h1 { margin: 0; font-size: 44px; font-weight: 700; letter-spacing: -1.8px; line-height: 1.05; text-wrap: balance; }
.tn-gate-head p { margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 40ch; text-align: right; }
.tn-aistrip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.tn-aistrip::-webkit-scrollbar { display: none; }
.tn-aistrip span { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 10px; border-radius: 999px; border: 1px solid #e3dcf3; background: var(--surface); color: var(--ink); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.tn-aistrip svg, .tn-gate-ailabel svg, .tn-gate-ai svg, .tn-ai-kicker svg { color: var(--ai); }
html[data-theme="dark"] .tn-aistrip span { border-color: #3d3458; }
.tn-gate-doors { flex: 1; display: flex; flex-wrap: wrap; gap: 14px; min-height: 520px; }
.tn-gate-door { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 22px; border-radius: 22px; color: var(--ink); text-decoration: none; box-sizing: border-box; transition: flex-grow .4s ease; }
.tn-gate-door.is-lead { flex-grow: 1.45; }
.tn-gate-doors:hover .tn-gate-door.is-lead { flex-grow: 1; }
.tn-gate-doors .tn-gate-door:hover, .tn-gate-doors .tn-gate-door:focus-visible { flex-grow: 1.45; color: var(--ink); outline: none; }
.tn-gate-door.is-ilan { background: var(--mode-blue); --door-ink: var(--mode-blue-ink); }
.tn-gate-door.is-hizmet { background: var(--mode-green); --door-ink: var(--mode-green-ink); }
.tn-gate-door.is-urun { background: var(--mode-amber); --door-ink: var(--mode-amber-ink); }
.tn-gate-top { display: flex; align-items: center; justify-content: space-between; }
.tn-gate-tag { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 8px; border-radius: 999px; background: var(--surface); color: var(--door-ink); font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.tn-gate-arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--ink); transition: background .2s, color .2s; }
.tn-gate-door.is-lead .tn-gate-arrow, .tn-gate-door:hover .tn-gate-arrow, .tn-gate-door:focus-visible .tn-gate-arrow { background: var(--ink); color: var(--on-ink); }
.tn-gate-doors:hover .tn-gate-door.is-lead:not(:hover) .tn-gate-arrow { background: var(--surface); color: var(--ink); }
.tn-gate-title { font-size: 30px; font-weight: 700; letter-spacing: -1px; line-height: 1.08; }
.tn-gate-desc { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.tn-gate-scene { position: relative; flex: 1; min-height: 240px; display: block; }
.tn-gate-card { position: absolute; display: flex; flex-direction: column; gap: 7px; padding: 10px 12px; border-radius: 14px; background: var(--surface); box-shadow: 0 12px 30px rgba(21, 33, 40, .12); font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.tn-gate-card b { color: var(--ink); }
.tn-gate-card.is-a { left: 0; top: 6px; width: 58%; min-width: 180px; }
.tn-gate-card.is-b { right: 0; bottom: 0; width: 64%; min-width: 196px; }
.tn-gate-card.is-ai { border: 1px solid #e3dcf3; box-shadow: 0 12px 30px rgba(94, 77, 150, .14); }
html[data-theme="dark"] .tn-gate-card.is-ai { border-color: #3d3458; }
.tn-gate-img { display: block; aspect-ratio: 4 / 3; border-radius: 9px; background: var(--img-bg); position: relative; }
.tn-gate-img.is-sq { aspect-ratio: 4 / 3; }
.tn-gate-img em { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .05em; }
.tn-gate-card > b { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.tn-gate-ailabel { display: inline-flex; align-items: center; gap: 6px; color: var(--ai); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.tn-gate-metric { display: flex; align-items: center; gap: 10px; }
.tn-gate-metric > b { font-size: 24px; font-weight: 800; color: var(--success); letter-spacing: -.5px; }
.tn-gate-ring { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--success); font-size: 14px; font-weight: 800; color: var(--success); }
.tn-gate-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.tn-gate-pills i { font-style: normal; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tn-gate-pills i.is-ok { background: var(--success-soft); color: var(--success); }
.tn-gate-pills i.is-warn { background: var(--warning-soft); color: var(--warning); }
.tn-gate-row { display: flex; gap: 10px; align-items: center; }
.tn-gate-thumb { flex: none; width: 52px; height: 52px; border-radius: 8px; background: var(--img-bg); }
.tn-gate-note { color: var(--muted); font-size: 11px; }
.tn-gate-offer { display: flex; justify-content: space-between; gap: 8px; }
.tn-gate-offer > b { white-space: nowrap; }
.tn-gate-aibox { padding: 7px 9px; border-radius: 8px; background: var(--ai-soft); color: var(--ai); font-size: 11px; font-weight: 500; }
.tn-gate-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tn-gate-chips i { font-style: normal; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--door-ink); font-size: 12px; font-weight: 600; }
html[data-theme="dark"] .tn-gate-chips i { background: rgba(255,255,255,.08); }
.tn-gate-ai { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid rgba(21,33,40,.12); font-size: 12px; color: var(--door-ink); font-weight: 600; }
.tn-gate-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; color: var(--muted); font-size: 13px; }
.tn-gate-proofs { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tn-gate-proofs span { display: inline-flex; align-items: center; gap: 7px; }
.tn-gate-proofs i { color: var(--success); font-size: .8rem; }
.tn-gate-links { display: flex; gap: 18px; }
.tn-gate-links a { color: var(--muted); text-decoration: none; }
.tn-gate-links a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 700px) {
  .tn-gate { padding-top: 10px; min-height: 0; }
  .tn-gate-head h1 { font-size: 30px; letter-spacing: -1px; }
  .tn-gate-head p { text-align: left; }
  .tn-gate-door, .tn-gate-door.is-lead, .tn-gate-doors:hover .tn-gate-door.is-lead { flex: 1 1 100%; }
  .tn-gate-scene { min-height: 230px; }
}

/* Mod ana sayfaları: ortak parçalar */
.tn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tn-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .84rem; font-weight: 500; text-decoration: none; }
.tn-chips a:hover { border-color: var(--ink-2); color: var(--ink); }
.tn-vitrin { margin-top: 16px; }
.tn-how { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 18px; align-items: center; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tn-how-lead { display: flex; flex-direction: column; gap: 4px; }
.tn-how-lead strong { font-size: 1.05rem; font-weight: 600; }
.tn-how-lead span { font-size: .88rem; color: var(--muted); }
.tn-how ol { display: contents; list-style: none; margin: 0; padding: 0; counter-reset: how; }
.tn-how li { counter-increment: how; display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; }
.tn-how li::before { content: counter(how); grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .82rem; }
.tn-how li b { font-size: .9rem; }
.tn-how li span { font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .tn-how { grid-template-columns: minmax(0, 1fr); } }
.tn-cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 24px 28px; border-radius: 12px; background: var(--ink); color: var(--on-ink); }
.tn-cta-band > div { display: flex; flex-direction: column; gap: 4px; }
.tn-cta-band strong { font-size: 1.2rem; font-weight: 600; letter-spacing: -.3px; }
.tn-cta-band span { font-size: .9rem; color: #b9bec8; max-width: 70ch; }
.tn-cta-band-btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); height: 46px; padding: 0 22px; }
.tn-cta-band-btn:hover { background: var(--surface-2); color: var(--ink); }
html[data-theme="dark"] .tn-cta-band { background: var(--surface-2); }

/* Hizmet modu: asistan kutusu */
.tn-ask-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.tn-ask-copy { display: flex; flex-direction: column; gap: 12px; }
.tn-ask-form-ai { align-items: center; max-width: 680px; padding: 6px 6px 6px 14px; border: 1px solid #d9d0ee; border-radius: 14px; background: var(--surface); box-shadow: 0 14px 40px rgba(94, 77, 150, .10); }
.tn-ask-form-ai input { height: 44px; border: 0; background: transparent; padding: 0 6px; }
.tn-ask-form-ai input:focus { outline: none; }
.tn-ask-form-ai .tn-ask-ico { color: var(--ai); flex: none; }
.tn-ask-photo { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.tn-ask-photo:hover { border-color: var(--ink-2); color: var(--ink); }
.tn-ask-how { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tn-ask-how strong { font-size: .95rem; }
.tn-ask-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: ask; }
.tn-ask-how li { counter-increment: ask; display: grid; grid-template-columns: 28px 1fr; gap: 1px 12px; }
.tn-ask-how li::before { content: counter(ask); grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mode-green); color: var(--mode-green-ink); font-weight: 700; font-size: .82rem; }
.tn-ask-how li b { font-size: .9rem; }
.tn-ask-how li span { font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .tn-ask-grid { grid-template-columns: minmax(0, 1fr); } .tn-ask-form-ai { flex-direction: row; flex-wrap: wrap; } .tn-ask-form-ai input { flex: 1 1 160px; } .tn-ask-form-ai .ui-btn { flex: 1 1 100%; } }
.tn-home.is-hizmet .ui-btn-primary { background: var(--mode-green); border-color: #c9e3d2; color: var(--mode-green-ink); }
.tn-home.is-urun .ui-btn-primary { background: var(--mode-amber); border-color: #efd6c2; color: var(--mode-amber-ink); }

/* Ürün modu */
.tn-shop-hero { padding-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.tn-shop-hero h1 { margin: 0; font-size: 31px; font-weight: 600; letter-spacing: -1.1px; line-height: 1.15; text-wrap: balance; }
.tn-shop-search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); max-width: 760px; }
.tn-shop-search svg { color: var(--muted); flex: none; }
.tn-shop-search input { flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; font: inherit; font-size: .98rem; color: var(--ink); outline: none; }
.tn-ucat { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.tn-ucat a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; min-width: 0; font-size: .82rem; font-weight: 600; text-align: center; line-height: 1.25; }
.tn-ucat a:hover { border-color: var(--ink-2); }
.tn-ucat-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mode-amber); color: var(--mode-amber-ink); }
@media (max-width: 1100px) { .tn-ucat { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tn-ucat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tn-shop-why { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-top: 22px; }
.tn-shop-camp { display: flex; flex-direction: column; gap: 8px; min-height: 190px; padding: 26px 28px; border-radius: 12px; background: var(--ink); color: var(--on-ink); text-decoration: none; }
.tn-shop-camp strong { font-size: 1.5rem; font-weight: 600; letter-spacing: -.5px; line-height: 1.15; }
.tn-shop-camp > span:not(.tn-ai-kicker) { font-size: .9rem; color: #b9bec8; }
.tn-shop-camp-btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; height: 42px; padding: 0 16px; border-radius: 6px; background: var(--on-ink); color: var(--ink) !important; font-weight: 600; font-size: .88rem; }
html[data-theme="dark"] .tn-shop-camp { background: var(--surface-2); }
.tn-shop-list { list-style: none; margin: 0; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: .9rem; color: var(--ink-2); }
.tn-shop-list strong { font-size: 1rem; color: var(--ink); }
.tn-shop-list i { color: var(--success); margin-right: 8px; }
@media (max-width: 900px) { .tn-shop-why { grid-template-columns: minmax(0, 1fr); } }

/* Ürün ana sayfası: kategori kutuları + kampanya banner'ı (sol) + "Fırsatları kaçırma" (sağ) — partials/shop_banners.php */
.tn-ucat-top { margin-top: 18px; }
.tn-sb { display: grid; grid-template-columns: minmax(0, 1.68fr) minmax(0, 1fr); gap: 14px; margin-top: 18px; }
.tn-sb.is-single { grid-template-columns: minmax(0, 1fr); }
.tn-sb-main, .tn-sb-deals { position: relative; height: 300px; border-radius: 16px; overflow: hidden; }
.tn-sb-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 64px; color: #fff; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.tn-sb-slide.is-on { opacity: 1; visibility: visible; }
.tn-sb-slide.has-img { padding: 0; background: var(--surface-2); }
.tn-sb-imglink, .tn-sb-slide.has-img > img { display: block; width: 100%; height: 100%; }
.tn-sb-slide img { width: 100%; height: 100%; object-fit: cover; }
.tn-sb-slide.is-ink { background: radial-gradient(120% 140% at 85% 30%, #3a3f4b 0%, #16181d 55%, #0b0c0f 100%); }
.tn-sb-slide.is-violet { background: radial-gradient(120% 140% at 85% 30%, #7c3aed 0%, #3b1d8f 50%, #1a0f45 100%); }
.tn-sb-slide.is-green { background: radial-gradient(120% 140% at 85% 30%, #22a35a 0%, #11613a 52%, #062a19 100%); }
.tn-sb-slide.is-yuzu { background: radial-gradient(120% 140% at 85% 30%, #f97316 0%, #b83d0b 52%, #3d1405 100%); }
.tn-sb-slide.is-blue { background: radial-gradient(120% 140% at 85% 30%, #2563eb 0%, #173f99 52%, #0a1a45 100%); }
.tn-sb-slide.is-amber { background: radial-gradient(120% 140% at 85% 30%, #e11d48 0%, #8f1030 52%, #2d0712 100%); }
.tn-sb-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 560px; }
.tn-sb-kicker { padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tn-sb-text h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.3rem); font-weight: 700; letter-spacing: -.8px; line-height: 1.08; text-wrap: balance; }
.tn-sb-text p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.82); }
.tn-sb-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; height: 44px; padding: 0 18px; border-radius: 8px; background: #fff; color: #111 !important; font-weight: 600; font-size: .9rem; text-decoration: none; }
.tn-sb-art { flex: none; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 64px; color: rgba(255,255,255,.9); }
.tn-sb-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; box-shadow: 0 2px 8px rgba(0,0,0,.18); font-size: 12px; cursor: pointer; }
.tn-sb-nav.is-prev { left: 12px; } .tn-sb-nav.is-next { right: 12px; }
.tn-sb-count { position: absolute; right: 16px; bottom: 12px; z-index: 2; padding: 2px 9px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; font-size: .74rem; font-weight: 600; }
.tn-sb-deals { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; background: radial-gradient(120% 140% at 50% 0%, #e11d48 0%, #9f1239 55%, #4c0519 100%); }
.tn-sb-deals-title { margin: 0; padding: 8px 12px; border: 2px solid rgba(255,255,255,.85); border-radius: 10px; color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: .02em; text-align: center; text-transform: uppercase; }
.tn-sb-deals-track { flex: 1; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tn-sb-deals-track::-webkit-scrollbar { display: none; }
.tn-sb-deal { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #fff; color: #111; text-decoration: none; }
.tn-sb-deal-img { position: relative; display: grid; place-items: center; height: 150px; border-radius: 8px; background: #f4f4f5; color: #9ca3af; overflow: hidden; }
.tn-sb-deal-img img { width: 100%; height: 100%; object-fit: contain; }
.tn-sb-deal-img em { position: absolute; left: 6px; top: 6px; padding: 2px 7px; border-radius: 6px; background: #e11d48; color: #fff; font-size: .74rem; font-style: normal; font-weight: 700; }
.tn-sb-deal-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tn-sb-deal-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #4b5563; font-size: .85rem; line-height: 1.3; }
.tn-sb-deal-body s { color: #9ca3af; font-size: .8rem; }
.tn-sb-deal-body b { color: #15803d; font-size: 1.05rem; }
.tn-sb-deal-btn { margin-top: 6px; padding: 8px 10px; border: 1px solid #d1d5db; border-radius: 8px; color: #111; font-size: .84rem; font-weight: 600; text-align: center; }
.tn-sb-deal:hover .tn-sb-deal-btn { border-color: #111; }
.tn-sb-deals .tn-sb-nav { top: auto; bottom: 94px; }
@media (max-width: 1100px) { .tn-sb { grid-template-columns: minmax(0, 1fr); } .tn-sb-deals { height: auto; } }
@media (max-width: 700px) { .tn-sb-main { height: 210px; } .tn-sb-slide { padding: 22px 48px; } .tn-sb-art { display: none; } }

/* Nasıl çalışır: yapay zeka duvarı */
.tn-aiwall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 22px; }
.tn-aiwall-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px solid #e3dcf3; border-radius: 12px; background: var(--surface); }
html[data-theme="dark"] .tn-aiwall-card { border-color: #3d3458; }
.tn-aiwall-card b { font-size: .95rem; }
.tn-aiwall-card > span:not(.tn-gate-ailabel) { font-size: .86rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 600px) { .tn-aiwall { grid-template-columns: minmax(0, 1fr); } }

/* Üç mod: header sıkışması (mod segmenti + menü + iki buton) */
@media (max-width: 1400px) {
  .tn-hd-top { gap: 22px; }
  .tn-hd-nav { gap: 18px; }
  .tn-hd-actions { gap: 12px; }
  .tn-hd-talep .ui-newlisting-text { display: none; }
  .ui-btn.tn-hd-post { padding: 0 14px; }
}
@media (max-width: 1200px) { .tn-hd-nav a:nth-last-child(-n+1) { display: none; } }
@media (max-width: 1320px) { .tn-hd-talep { display: none; } }
@media (max-width: 700px) {
  .tn-hd-top { flex-wrap: wrap; height: auto; padding: 8px 0; row-gap: 6px; }
  .tn-mode { order: 10; flex-basis: 100%; display: grid; }
  .tn-mode a { height: 32px; }
  .tn-mode a span { display: inline; }
}
.tn-hd-cats { overflow-x: auto; scrollbar-width: none; }
.tn-hd-cats::-webkit-scrollbar { display: none; }
.tn-hd-cats a { flex: none; }
@media (max-width: 1100px) { .tn-hd-cats a { padding: 0 16px; } }
/* Masaüstü: kategoriler kesilmez; sığmayan alt satıra iner (Hizmet / Ürün şeritleri uzun). Telefonda yana kaydırma kalır. */
@media (min-width: 701px) {
  .tn-hd-cats { flex-wrap: wrap; height: auto; min-height: 64px; padding: 12px 0; row-gap: 10px; overflow: visible; }
  .tn-hd-cats a { padding: 0 30px 0 0 !important; }
  .tn-hd-cats .tn-hd-back { padding: 0 14px 0 12px !important; }
}

/* Hizmet modu: fotoğraflı hizmet slaytı (partials/service_slider.php) */
.tn-ss { position: relative; height: 300px; margin-top: 18px; border-radius: 16px; overflow: hidden; background: var(--img-bg); }
.tn-ss-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.tn-ss-slide.is-on { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.tn-ss-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-ss-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 14, 18, .78) 0%, rgba(12, 14, 18, .5) 38%, rgba(12, 14, 18, 0) 70%); }
.tn-ss-text { position: absolute; z-index: 1; left: 40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 440px; color: #fff; }
.tn-ss-cat { font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.tn-ss-text h2 { margin: 0; color: #fff; font-size: 34px; font-weight: 700; letter-spacing: -1px; line-height: 1.1; text-wrap: balance; }
.tn-ss-text p { margin: 0; color: rgba(255, 255, 255, .88); font-size: .95rem; line-height: 1.45; }
.tn-ss-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; height: 44px; padding: 0 20px; border-radius: 8px; background: #fff; color: #20242b; font-weight: 600; font-size: .92rem; text-decoration: none; }
.tn-ss-cta:hover { background: #f1f2f4; color: #20242b; }
.tn-ss-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tn-ss-nav { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 4px; border-radius: 999px; background: rgba(12, 14, 18, .45); }
.tn-ss-nav > button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #20242b; font-size: .75rem; cursor: pointer; }
.tn-ss-nav > button:hover { background: #fff; }
.tn-ss-dots { display: flex; gap: 5px; padding: 0 4px; }
.tn-ss-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .25s, background .25s; }
.tn-ss-dots button.is-on { width: 20px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .tn-ss-slide, .tn-ss-slide.is-on { transition: none; } }
@media (max-width: 700px) {
  .tn-ss { height: 240px; border-radius: 12px; }
  .tn-ss-slide::after { background: linear-gradient(0deg, rgba(12, 14, 18, .82) 0%, rgba(12, 14, 18, .35) 60%, rgba(12, 14, 18, .1) 100%); }
  .tn-ss-text { left: 18px; right: 18px; top: auto; bottom: 56px; transform: none; max-width: none; }
  .tn-ss-text h2 { font-size: 24px; }
  .tn-ss-text p { display: none; }
  .tn-ss-cta { height: 38px; padding: 0 14px; }
  .tn-ss-nav { right: 10px; bottom: 10px; }
}

/* Kaydırma çubuğu kısa sayfada kaybolunca sayfa yana kaymasın */
html { scrollbar-gutter: stable; }

/* Kategori şeridi: alt kategori satırı ve geri oku */
.tn-hd-cats-row, .tn-hd-cats-top { display: contents; }
.tn-hd-cats-row[hidden], .tn-hd-cats-top[hidden], .tn-hd-back[hidden] { display: none !important; }
.tn-hd-cats .tn-hd-back { gap: 8px; height: 32px; margin-right: 10px; padding: 0 14px 0 12px !important; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-weight: 600; }
.tn-hd-cats .tn-hd-back:hover { border-color: var(--ink-2); color: var(--ink); }
.tn-hd-cats .tn-hd-back i { font-size: .8rem; }

/* Alt kategori şeridi (ör. İkinci el): ikonsuz, sıkı aralık, sığmazsa alt satıra geçer */
.tn-hd-cats.is-sub { flex-wrap: wrap; height: auto; min-height: 64px; padding: 12px 0; row-gap: 8px; overflow: visible; }
.tn-hd-cats.is-sub .tn-hd-cats-row a { padding: 0 14px; }
.tn-hd-cats.is-sub .tn-hd-cats-row a .tn-ico { display: none; }
.tn-hd-cats.is-sub .tn-hd-cats-top a:first-child { padding-left: 0; }
@media (max-width: 700px) { .tn-hd-cats.is-sub { flex-wrap: nowrap; overflow-x: auto; } }
/* Ürün kategori kutuları telefonda tek satır, yana kaydırılır (banner hemen görünsün) */
@media (max-width: 700px) {
  .tn-ucat.tn-ucat-top { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .tn-ucat.tn-ucat-top::-webkit-scrollbar { display: none; }
  .tn-ucat.tn-ucat-top > a { flex: 0 0 104px; }
}

/* Sağ / sol boşlukta süzülen ilan kartları (public/assets/js/side-flow.js): içeriğin arkasında, tıklanmaz */
.tn-sideflow { position: fixed; top: 0; bottom: 0; z-index: -1; height: 100vh; pointer-events: none; }
.tn-sideflow.is-left { left: 0; }
.tn-sideflow.is-right { right: 0; }
.tn-sideflow[hidden] { display: none; }
@media print { .tn-sideflow { display: none; } }

/* Giriş sayfalarında üst bar yok (layout.php): logo ana sayfaya döner */
a.tn-auth-logo { color: inherit; text-decoration: none; }
a.tn-auth-logo:hover { color: inherit; opacity: .85; }
.tn-auth-top { display: inline-flex; align-items: center; gap: 10px; align-self: center; margin: 28px auto 0; color: var(--ink); font-size: 1.45rem; font-weight: 800; letter-spacing: -.8px; text-decoration: none; }
.tn-auth-top:hover { color: var(--ink); opacity: .85; }
.tn-auth-top svg { flex: none; }
/* Duyuru / kampanya slaytı (partials/home_slider.php) İlan ve Hizmet ana sayfasında içerik genişliğinde, Ürün banner'ıyla aynı yükseklikte */
.tn-slider { width: 100%; min-height: 300px; margin: 18px 0 6px; border-radius: 16px; }
@media (max-width: 700px) { .tn-slider { min-height: 210px; } }

/* Giriş kapısı örnek kart görselleri */
.tn-gate-img, .tn-gate-thumb { overflow: hidden; }
.tn-gate-img img, .tn-gate-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tn-gate-img img { position: absolute; inset: 0; }
.tn-gate-img em { z-index: 1; }
/* Slaytlar üç ana sayfada aynı boy: Ürün banner'ı gibi 300 px (telefonda 210 px) */
.tn-slider { height: 300px; min-height: 0; }
.tn-slider .tn-slider-track, .tn-slider .tn-slide { height: 100%; }
@media (max-width: 700px) { .tn-slider { height: 210px; min-height: 0; } }

/* Fotoğraflı slayt (Hizmet ana sayfası): fotoğraf sağ yarıda tam boy, soldan zemine yumuşak geçiş */
.tn-slider.is-photo .tn-slide-img { position: absolute; top: 0; right: 0; bottom: 0; z-index: 0; width: 58%; max-width: none; height: 100%; }
.tn-slider.is-photo .tn-slide-img img { width: 100%; height: 100%; max-height: none; border-radius: 0; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.tn-slider.is-photo .tn-slide-text { position: relative; z-index: 1; max-width: 52%; }
@media (max-width: 767.98px) { .tn-slider.is-photo .tn-slide-text { max-width: none; } }

/* Banner satırı: fotoğraflı slayt (stok fotoğraf sağda tam boy) ve kutulu görsel; sağ kutu renkleri; boş kutu */
.tn-sb-slide.is-photo .tn-sb-text, .tn-sb-slide.is-side .tn-sb-text { position: relative; z-index: 1; max-width: 54%; }
.tn-sb-photo { position: absolute; top: 0; right: 0; bottom: 0; z-index: 0; width: 62%; }
.tn-sb-photo img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%); mask-image: linear-gradient(90deg, transparent 0, #000 42%); }
.tn-sb-sideimg { flex: none; display: grid; place-items: center; max-width: 40%; height: 100%; }
.tn-sb-sideimg img { width: auto; max-width: 100%; height: auto; max-height: 200px; border-radius: 14px; object-fit: contain; }
.tn-sb-deals.is-blue { background: radial-gradient(120% 140% at 50% 0%, #2f6fd6 0%, #1d4b9e 55%, #0d2550 100%); }
.tn-sb-deals.is-green { background: radial-gradient(120% 140% at 50% 0%, #2a9d62 0%, #17703f 55%, #08331c 100%); }
.tn-sb-deal-sub { color: #6b7280; font-size: .76rem; }
a.tn-sb-deals.is-empty { text-decoration: none; }
.tn-sb-empty { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px; border-radius: 12px; background: #fff; color: #111; }
.tn-sb-empty b { font-size: 1.15rem; }
.tn-sb-empty > span:not(.tn-sb-empty-btn) { color: #4b5563; font-size: .9rem; }
.tn-sb-empty-btn { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 6px; padding: 9px 14px; border-radius: 8px; background: #111; color: #fff; font-weight: 600; font-size: .88rem; }
@media (max-width: 700px) { .tn-sb-slide.is-photo .tn-sb-text, .tn-sb-slide.is-side .tn-sb-text { max-width: none; } .tn-sb-photo { width: 100%; opacity: .35; } .tn-sb-photo img { -webkit-mask-image: none; mask-image: none; } .tn-sb-sideimg { display: none; } }

/* İlan / Hizmet sağ kutusu (mavi / yeşil): beyaz kart yok; kart fotoğrafla dolu, yazılar fotoğrafın üstünde. Ürün (kırmızı) değişmedi. */
.tn-sb-deals.is-blue .tn-sb-deal, .tn-sb-deals.is-green .tn-sb-deal { position: relative; display: flex; align-items: flex-end; height: 100%; min-height: 0; padding: 0; overflow: hidden; background: rgba(255,255,255,.1); color: #fff; }
.tn-sb-deals.is-blue .tn-sb-deal-img, .tn-sb-deals.is-green .tn-sb-deal-img { position: absolute; inset: 0; height: auto; border-radius: 0; background: transparent; color: rgba(255,255,255,.55); place-items: start center; padding-top: 34px; }
.tn-sb-deals.is-blue .tn-sb-deal-img img, .tn-sb-deals.is-green .tn-sb-deal-img img { position: absolute; inset: 0; object-fit: cover; }
.tn-sb-deals.is-blue .tn-sb-deal-img em, .tn-sb-deals.is-green .tn-sb-deal-img em { z-index: 1; }
.tn-sb-deals.is-blue .tn-sb-deal-body, .tn-sb-deals.is-green .tn-sb-deal-body { position: relative; z-index: 1; width: 100%; padding: 40px 14px 14px; background: linear-gradient(180deg, transparent 0, rgba(0,0,0,.72) 55%); }
.tn-sb-deals.is-blue .tn-sb-deal-name, .tn-sb-deals.is-green .tn-sb-deal-name { color: #fff; font-size: .95rem; font-weight: 600; }
.tn-sb-deals.is-blue .tn-sb-deal-sub, .tn-sb-deals.is-green .tn-sb-deal-sub { color: rgba(255,255,255,.8); }
.tn-sb-deals.is-blue .tn-sb-deal-body b, .tn-sb-deals.is-green .tn-sb-deal-body b { color: #fff; font-size: 1.15rem; }
.tn-sb-deals.is-blue .tn-sb-deal-body s, .tn-sb-deals.is-green .tn-sb-deal-body s { color: rgba(255,255,255,.65); }
.tn-sb-deals.is-blue .tn-sb-deal-btn, .tn-sb-deals.is-green .tn-sb-deal-btn { align-self: flex-start; margin-top: 8px; padding: 8px 14px; border: 0; background: #fff; color: #111; }
.tn-sb-deals.is-blue .tn-sb-deal:hover .tn-sb-deal-btn, .tn-sb-deals.is-green .tn-sb-deal:hover .tn-sb-deal-btn { background: #f1f5f9; }
.tn-sb-deals.is-blue .tn-sb-nav, .tn-sb-deals.is-green .tn-sb-nav { top: 50%; bottom: auto; }
/* Boş kutu: zemin üstünde beyaz yazı + ikon */
.tn-sb-deals .tn-sb-empty { align-items: flex-start; padding: 6px 6px 10px; background: transparent; color: #fff; }
.tn-sb-deals .tn-sb-empty b { font-size: 1.45rem; letter-spacing: -.4px; }
.tn-sb-deals .tn-sb-empty > span:not(.tn-sb-empty-btn):not(.tn-sb-empty-ico) { color: rgba(255,255,255,.85); font-size: .95rem; }
.tn-sb-empty-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: rgba(255,255,255,.16); color: #fff; }
.tn-sb-deals .tn-sb-empty-btn { background: #fff; color: #111; }
a.tn-sb-deals.is-empty:hover .tn-sb-empty-btn { background: #f1f5f9; }
.tn-sb-deals.is-blue .tn-sb-nav, .tn-sb-deals.is-green .tn-sb-nav { top: 92px; margin-top: 0; width: 30px; height: 30px; }
.tn-sb-deals.is-blue .tn-sb-nav.is-prev, .tn-sb-deals.is-green .tn-sb-nav.is-prev { left: auto; right: 66px; }
.tn-sb-deals.is-blue .tn-sb-nav.is-next, .tn-sb-deals.is-green .tn-sb-nav.is-next { right: 30px; }
.tn-sb-empty-ico svg, .tn-sb-empty-ico .tn-ico { color: #fff !important; stroke: #fff !important; }

/* Ürün ana sayfası kartları: Teklif Ver + Analiz et (ui_listing_tile $actions) */
.tn-tile-actions { display: flex; gap: 6px; margin-top: 8px; }
.tn-tile-offer, .tn-tile-ai { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 8px; font-size: .8rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tn-tile-offer { flex: 1 1 auto; border: 1px solid var(--accent-border); background: var(--accent); color: var(--on-accent); }
.tn-tile-offer:hover { background: var(--accent-hover); color: var(--on-accent); }
.tn-tile-ai { flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.tn-tile-ai:hover { border-color: #a78bfa; background: #f5f3ff; color: #5b21b6; }
html[data-theme="dark"] .tn-tile-ai:hover { background: #2e1065; color: #ddd6fe; }
#ai-analiz { scroll-margin-top: 90px; }
/* Slayt geçişi: giden slaytın yazısı hemen kaybolur, iki başlık üst üste binmez (fotoğraf yumuşak geçer) */
.tn-sb-slide .tn-sb-text { transition: opacity .25s ease .2s; }
.tn-sb-slide:not(.is-on) .tn-sb-text { opacity: 0; transition: opacity .12s ease; }
@media (max-width: 560px) {
  .tn-tile-actions { gap: 4px; }
  .tn-tile-offer, .tn-tile-ai { flex: 1 1 0; min-width: 0; padding: 0 4px; font-size: .74rem; }
  .tn-tile-ai i { display: none; }
}

/* Videolu ilanlar şeridi (partials/video_strip.php) */
.tn-vstrip .ui-section-head h2 { display: inline-flex; align-items: center; gap: 9px; }
@keyframes tnLive { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,.45); } 70% { box-shadow: 0 0 0 9px rgba(225,29,72,0); } 100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); } }
.tn-vstrip-track { display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.tn-vstrip-track::-webkit-scrollbar { display: none; }
.tn-vstrip-row .ui-row-btn { opacity: 1; top: calc(38% - 21px); }
.tn-vstrip-row .ui-row-btn.prev { left: -10px; }
.tn-vstrip-row .ui-row-btn.next { right: -10px; }
.tn-vstrip-row .ui-row-btn:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent-border); }
@media (min-width: 1200px) { .tn-vstrip-track { grid-auto-columns: max(152px, calc((100% - 6 * 12px) / 7)); } }
.tn-vcard { container-type: inline-size; position: relative; scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.tn-vcard-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #f1f1f1; }
.tn-vcard-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-vcard-fav { position: absolute; top: 8px; right: 8px; z-index: 2; }
.tn-vcard.is-static .tn-vcard-media::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 22px no-repeat; }
.tn-vcard-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.tn-vcard-body { padding: 8px 10px 10px; }
.tn-vcard-title { min-height: 2.6em; font-size: .82rem !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-size: .88rem; line-height: 1.3; text-decoration: none; }
.tn-vcard-price { color: var(--ink); font-weight: 700; }
.tn-vcard-ai { position: absolute; z-index: 2; top: 48px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #5b21b6; font-size: .85rem; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); text-decoration: none; transition: transform .12s, background .12s; }
.tn-vcard-ai:hover { background: #f5f3ff; color: #5b21b6; transform: scale(1.06); }
@media (max-width: 700px) { .tn-vstrip-track { grid-auto-columns: 44%; } }
/* Arama sonuçları "Geniş liste" görünümü: geniş ekranda ikişer sıra */
@media (min-width: 1100px) {
  .ui-rlist:not(.is-grid):not(.is-duo):not(.is-compact) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ui-rlist:not(.is-grid):not(.is-duo):not(.is-compact) .ui-rcard { gap: 14px; padding: 10px; }
  .ui-rlist:not(.is-grid):not(.is-duo):not(.is-compact) .ui-rcard-img { flex-basis: 168px; align-self: flex-start; }
  .ui-rlist:not(.is-grid):not(.is-duo):not(.is-compact) .ui-rcard-top { flex-direction: column; gap: 4px; }
  .ui-rlist:not(.is-grid):not(.is-duo):not(.is-compact) .ui-rcard-title { font-size: .95rem; }
  .ui-rlist:not(.is-grid):not(.is-duo):not(.is-compact) .ui-rcard-price { font-size: 1.1rem; }
  .ui-rlist:not(.is-grid):not(.is-duo):not(.is-compact) .ui-owner { display: none; }
}
/* Kart rozeti: videolu ilan */
.ui-video-badge { position: absolute; right: 8px; bottom: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: .7rem; font-weight: 700; pointer-events: none; }

/* Sağ sütun kartları: Neler oluyor? + Kimi takip etmeli (partials/right_rail.php) */
.tn-rail-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.tn-rail-card h2, .tn-rail .tn-home-trends-head h2 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; letter-spacing: -.3px; color: var(--ink); }
.tn-rail-trends { display: flex; flex-direction: column; }
.tn-rail-trends a { display: flex; flex-direction: column; gap: 1px; padding: 9px 4px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.tn-rail-trends a:hover { background: var(--surface-2); }
.tn-rail-trends small, .tn-rail-trends span { color: var(--muted); font-size: .76rem; }
.tn-rail-trends b { font-size: .95rem; }
.tn-rail-more { display: inline-block; margin-top: 6px; padding: 4px; color: var(--accent-ink, #2563eb); font-size: .86rem; text-decoration: none; }
.tn-rail-more:hover { text-decoration: underline; }
.tn-rail-follow ul { list-style: none; margin: 0; padding: 0; }
.tn-rail-follow li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; }
.tn-rail-ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--surface-2); color: var(--ink); font-weight: 800; text-decoration: none; }
.tn-rail-ava img { width: 100%; height: 100%; object-fit: cover; }
.tn-rail-who { min-width: 0; color: var(--ink); text-decoration: none; }
.tn-rail-who b { display: flex; align-items: center; gap: 4px; overflow: hidden; font-size: .9rem; white-space: nowrap; text-overflow: ellipsis; }
.tn-rail-who span { display: block; overflow: hidden; color: var(--muted); font-size: .78rem; white-space: nowrap; text-overflow: ellipsis; }
.tn-rail-who:hover b { text-decoration: underline; }
.tn-rail-follow-btn { flex: none; padding: 6px 14px; border: 1px solid var(--accent-border); border-radius: 999px; background: var(--accent); color: var(--on-accent) !important; font-size: .82rem; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.tn-rail-follow-btn:hover { opacity: .88; }
.tn-rail-follow-btn.is-on { border: 1px solid var(--line); background: transparent; color: var(--ink) !important; }
.tn-rail .tn-home-trends.tn-rail-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: none; }

/* Teklif al (/talep-ver): sade, tek pencere. 1) hizmet seç  2) o hizmete özel seçmeli sorular */
.tn-rq { max-width: 900px; margin: 0 auto; padding: 26px 0 48px; }
.tn-rq h1 { margin: 0; font-size: 1.6rem; font-weight: 650; letter-spacing: -.02em; text-wrap: balance; }
.tn-rq-pick { max-width: 640px; margin: 0 auto; }
.tn-rq-pick > p, .tn-rq-head p { margin: 6px 0 0; color: var(--muted); font-size: .93rem; }
.tn-rq-search { position: relative; display: block; margin: 18px 0 14px; }
.tn-rq-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.tn-rq-search input { width: 100%; height: 52px; padding: 0 16px 0 44px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--ink); font-size: 1rem; box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.04)); }
.tn-rq-search input:focus { outline: none; border-color: var(--accent-border); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-border) 25%, transparent); }
.tn-rq-results { list-style: none; margin: -6px 0 14px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tn-rq-results li[hidden] { display: none; }
.tn-rq-results a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; }
.tn-rq-results a:hover, .tn-rq-results a:focus-visible { background: var(--surface-2); }
.tn-rq-results small { color: var(--muted); font-weight: 400; text-align: right; }
.tn-rq-noresult a { color: var(--accent-ink, var(--ink-2)); justify-content: flex-start; gap: 8px; }
.tn-rq-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tn-rq-tiles[hidden], .tn-rq-pop[hidden] { display: none; }
.tn-rq-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--surface-2); text-decoration: none; }
.tn-rq-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.tn-rq-tile:hover img { transform: scale(1.05); }
.tn-rq-tile span { position: absolute; inset: auto 0 0; padding: 22px 10px 9px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-size: .85rem; font-weight: 600; line-height: 1.25; }
.tn-rq-pop { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-rq-pop a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .86rem; text-decoration: none; }
.tn-rq-pop a:hover { border-color: var(--accent-border); color: var(--ink); }
.tn-rq-allcats { margin-top: 26px; }
.tn-rq-allcats[hidden] { display: none; }
.tn-rq-allcats h2 { margin: 0 0 12px; font-size: 1.1rem; font-weight: 700; }
@media (max-width: 600px) { .tn-rq-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tn-rq { padding-top: 14px; } }

.tn-rq-card { display: grid; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); }
.tn-rq-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tn-rq-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--muted); font-size: .84rem; text-decoration: none; }
.tn-rq-back:hover { color: var(--ink); }
.tn-rq-q { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.tn-rq-qt { float: none; width: auto; margin: 0; padding: 0; color: var(--ink); font-size: .95rem; font-weight: 600; }
.tn-rq-qt small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.tn-rq-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-rq-opt { position: relative; cursor: pointer; margin: 0; }
.tn-rq-opt input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.tn-rq-opt span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink-2); font-size: .88rem; transition: border-color .12s, background .12s; }
.tn-rq-opt:hover span { border-color: var(--accent-border); }
.tn-rq-opt input:checked + span { border-color: var(--accent-ink); background: var(--accent); color: var(--on-accent); font-weight: 600; }
.tn-rq-opt input:checked + span::before { content: "\2713"; font-size: .8em; }
.tn-rq-opt input:focus-visible + span { outline: 2px solid var(--accent-border); outline-offset: 2px; }
.tn-rq-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tn-rq-more summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .9rem; font-weight: 550; }
.tn-rq-more summary small { color: var(--muted); font-weight: 400; }
.tn-rq-more[open] summary { margin-bottom: 10px; }
.tn-rq-submit { width: 100%; justify-content: center; }
.tn-rq-note { margin: -10px 0 0; text-align: center; color: var(--muted); font-size: .8rem; }
.tn-rq-note i { font-size: .75em; margin-right: 4px; }
@media (max-width: 600px) { .tn-rq-card { padding: 18px 16px; border-radius: 14px; gap: 18px; } .tn-rq-two { grid-template-columns: minmax(0, 1fr); } }

.tn-rq-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; align-items: start; }
.tn-rq-grid2 > [hidden] { display: none; }
@media (max-width: 760px) { .tn-rq-grid2 { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.tn-rq-ai { display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--accent-border); border-radius: 14px; background: color-mix(in srgb, var(--accent) 45%, var(--surface)); }
.tn-rq-ai-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
.tn-rq-ai-label i { color: #7c3aed; }
.tn-rq-ai-row { display: flex; gap: 10px; align-items: stretch; }
.tn-rq-ai-row textarea { flex: 1 1 auto; min-width: 0; resize: vertical; min-height: 52px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: .92rem; }
.tn-rq-ai-row textarea:focus { outline: none; border-color: var(--accent-ink); }
.tn-rq-ai-row .ui-btn { flex: 0 0 auto; white-space: nowrap; }
.tn-rq-ai-status { margin: 0; min-height: 1em; color: var(--muted); font-size: .84rem; }
.tn-rq-ai-status:empty { display: none; }
@media (max-width: 600px) { .tn-rq-ai-row { flex-direction: column; } }
.tn-rq-done { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); }
.tn-rq-done[hidden] { display: none; }
.tn-rq-done-t { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: .88rem; }
.tn-rq-done-t i { color: #16a34a; }
.tn-rq-done-list { display: contents; }
.tn-rq-done-list span { padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; }
.tn-rq-done-edit { margin-left: auto; border: 0; background: none; color: var(--accent-ink); font-size: .84rem; font-weight: 600; cursor: pointer; text-decoration: underline; }

.tn-rq-other { width: 116px; min-width: 0; padding: 7px 12px; border: 1px dashed var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: .88rem; transition: width .15s, border-color .12s; }
.tn-rq-other::placeholder { color: var(--muted); }
.tn-rq-other:focus, .tn-rq-other.is-on { width: 190px; outline: none; border-style: solid; border-color: var(--accent-ink); }
.tn-rq-other.is-on { background: var(--accent); color: var(--on-accent); font-weight: 600; }

/* Hesap dönüştür (/hesap-donustur): işletme / mağaza */
.tn-up { max-width: 720px; margin: 0 auto; }
.tn-up-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tn-up-kind { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; }
.tn-up-kind i { font-size: 1.15rem; color: var(--muted); margin-bottom: 4px; }
.tn-up-kind span { color: var(--muted); font-size: .84rem; }
.tn-up-kind:hover { border-color: var(--accent-ink); color: var(--ink); }
.tn-up-kind.is-on { border-color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 0 1px var(--accent-ink) inset; }
.tn-up-kind.is-on i { color: var(--accent-ink); }
.tn-up-perks { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tn-up-perks li { display: flex; gap: 9px; align-items: baseline; color: var(--ink-2); font-size: .92rem; }
.tn-up-perks i { color: #16a34a; font-size: .8rem; }
.tn-up-form { display: grid; gap: 18px; }
.tn-up-done { display: grid; gap: 14px; }
.tn-up-done p { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .tn-up-kinds { grid-template-columns: minmax(0, 1fr); } }

/* Slaytlar: yazı boyutu slaytın kendi genişliğine göre (sağ sütun açıkken dar kalır); başlık en çok 3, metin en çok 2 satır, buton hep görünür */
.tn-sb-main { container-type: inline-size; }
.tn-sb-slide:not(.has-img) { padding: 22px clamp(40px, 8cqi, 64px); }
.tn-sb-text { gap: 8px; max-height: 100%; min-width: 0; }
.tn-sb-text h2 { font-size: clamp(1.2rem, 4.6cqi, 2.2rem); line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tn-sb-text p { font-size: clamp(.8rem, 2.1cqi, .95rem); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tn-sb-kicker { flex: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tn-sb-cta { flex: none; height: 40px; margin-top: 4px; }
.tn-sb-slide.is-photo .tn-sb-text, .tn-sb-slide.is-side .tn-sb-text { max-width: 56%; }
@container (max-width: 560px) {
  .tn-sb-slide.is-photo .tn-sb-text, .tn-sb-slide.is-side .tn-sb-text { max-width: 64%; }
  .tn-sb-text h2 { -webkit-line-clamp: 2; }
  .tn-sb-text p { -webkit-line-clamp: 2; }
  .tn-sb-cta { height: 36px; padding: 0 14px; font-size: .84rem; }
}
.tn-sb-cta { white-space: nowrap; }
@container (max-width: 440px) {
  .tn-sb-slide:not(.has-img) { padding: 16px 44px; }
  .tn-sb-slide.is-photo .tn-sb-text, .tn-sb-slide.is-side .tn-sb-text { max-width: 78%; }
  .tn-sb-text p { display: none; }
  .tn-sb-text h2 { font-size: 1.2rem; -webkit-line-clamp: 3; }
  .tn-sb-kicker { font-size: .66rem; padding: 4px 9px; }
  .tn-sb-nav { width: 28px; height: 28px; margin-top: -14px; }
  .tn-sb-nav.is-prev { left: 8px; } .tn-sb-nav.is-next { right: 8px; }
}

/* Kart butonları kartın içinde kalır: dar kartta Analiz et yalnızca simge */
.tn-tile:has(.tn-tile-actions) { container-type: inline-size; }
.tn-tile-actions { min-width: 0; }
.tn-tile-offer { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 210px) {
  .tn-tile-actions { gap: 5px; }
  .tn-tile-ai { flex: 0 0 34px; padding: 0; }
  .tn-tile-ai i { display: inline-block !important; }
  .tn-tile-ai span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tn-tile-offer { flex: 1 1 auto; padding: 0 6px; font-size: .78rem; }
}

/* Hizmet ana sayfası: sana en yakın işletmeler */
.tn-nbiz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .tn-nbiz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tn-nbiz-grid { grid-template-columns: minmax(0, 1fr); } }
.tn-nbiz { display: flex; gap: 12px; align-items: center; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.tn-nbiz:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); color: var(--ink); }
.tn-nbiz-ava { flex: 0 0 48px; display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1.1rem; }
.tn-nbiz-ava img { width: 100%; height: 100%; object-fit: cover; }
.tn-nbiz-body { display: grid; gap: 2px; min-width: 0; }
.tn-nbiz-body b { display: flex; align-items: center; gap: 4px; overflow: hidden; font-size: .93rem; white-space: nowrap; text-overflow: ellipsis; }
.tn-nbiz-sub { overflow: hidden; color: var(--muted); font-size: .8rem; white-space: nowrap; text-overflow: ellipsis; }
.tn-nbiz-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .78rem; color: var(--ink-2); }
.tn-nbiz-dist { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
.tn-nbiz-dist i { color: #16a34a; }
.tn-nbiz-rate i { color: #f59e0b; }
.tn-nbiz-rate small { color: var(--muted); }
.tn-nbiz-empty { grid-column: 1 / -1; margin: 0; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); text-align: center; }
.tn-nbiz-loc { border: 0; background: none; cursor: pointer; }

/* İlan taşıma (/ilan-tasi) */
.tn-imp { max-width: 720px; margin: 0 auto; }
.tn-imp-camp { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: linear-gradient(120deg, #fef3c7, #fde68a); color: #713f12; text-decoration: none; }
.tn-imp-camp > i { grid-row: span 2; font-size: 1.4rem; color: #b45309; }
.tn-imp-camp b { display: block; font-size: 1rem; }
.tn-imp-camp small { color: #854d0e; font-size: .82rem; }
.tn-imp-bar { grid-column: 2; display: block; height: 6px; border-radius: 99px; background: rgba(180,83,9,.18); overflow: hidden; }
.tn-imp-bar span { display: block; height: 100%; background: #b45309; border-radius: inherit; }
html[data-theme="dark"] .tn-imp-camp { background: linear-gradient(120deg, #422006, #713f12); color: #fde68a; }
html[data-theme="dark"] .tn-imp-camp small { color: #fcd34d; }
.tn-imp-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.tn-imp-tabs button { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 9px 8px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font-size: .9rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.tn-imp-tabs button.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.tn-imp-panel { display: grid; gap: 10px; }
.tn-imp-panel[hidden] { display: none; }
.tn-imp-hint { margin: 0; color: var(--muted); font-size: .82rem; }
.tn-imp-check { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--ink-2); font-size: .88rem; cursor: pointer; }
.tn-imp-check input { margin-top: 3px; }
@media (max-width: 560px) { .tn-imp-tabs button { font-size: .8rem; gap: 4px; } }

/* Kampanya tonu: ilan taşıma (turuncu) */
.tn-camp-card.is-yuzu, .tn-camp-hero.is-yuzu { background: linear-gradient(135deg, #c2410c, #f59e0b); box-shadow: 0 8px 24px rgba(194, 65, 12, .22); }

/* İlan ver: önizleme kartı kategori adımında gizli; telefonda yalnızca son adımda */
.tn-wz[data-wz-current="1"] { grid-template-columns: minmax(0, 1fr); }
.tn-wz[data-wz-current="1"] .tn-wz-preview { display: none; }
@media (max-width: 900px) { .tn-wz:not([data-wz-current="3"]) .tn-wz-preview { display: none; } }
/* Ürün: sıfır mı ikinci el mi */
.tn-wz-cond { margin-top: 22px; }
.tn-wz-cond[hidden] { display: none; }
.tn-wz-cond h3 { margin: 0 0 12px; font-size: 1.1rem; font-weight: 650; }
.tn-wz-cond-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tn-wz-cond-opt { position: relative; margin: 0; cursor: pointer; }
.tn-wz-cond-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tn-wz-cond-opt span { display: grid; gap: 6px; height: 100%; padding: 18px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); color: var(--ink); transition: border-color .12s, background .12s; }
.tn-wz-cond-opt span svg { color: var(--ink-2); }
.tn-wz-cond-opt b { font-size: 1.05rem; }
.tn-wz-cond-opt small { color: var(--muted); font-size: .84rem; line-height: 1.4; }
.tn-wz-cond-opt:hover span { border-color: var(--accent-ink); }
.tn-wz-cond-opt input:checked + span { border-color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 0 1px var(--accent-ink) inset; }
.tn-wz-cond-opt input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* İlan onayda (/ilan-onayda) */
.tn-after { max-width: 680px; margin: 0 auto; }
.tn-after-head { display: flex; gap: 14px; align-items: flex-start; }
.tn-after-head h1 { margin: 0; font-size: 1.5rem; }
.tn-after-head p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.tn-after-ok { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 1.1rem; }
.tn-after-sum { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.tn-after-sum > span:last-child { display: grid; gap: 2px; min-width: 0; }
.tn-after-sum b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tn-after-sum small { color: var(--muted); }
.tn-after-sum em { font-style: normal; font-weight: 700; }
.tn-after-img { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border-radius: 10px; background: var(--surface-2); }
.tn-after-img img { width: 100%; height: 100%; object-fit: cover; }
.tn-after-more h2 { margin: 0 0 4px; font-size: 1.1rem; }
.tn-after-more > p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.tn-after-form { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--accent-border); border-radius: 14px; background: color-mix(in srgb, var(--accent) 40%, var(--surface)); }
.tn-after-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tn-after-skip { margin: 0; text-align: center; font-size: .88rem; color: var(--muted); }
/* Fotoğrafla hızlı ilan: fiyat + konum → onaya gönder */
.tn-quick { display: grid; gap: 12px; margin-top: 12px; padding: 14px; border: 1px solid var(--accent-border); border-radius: 14px; background: var(--surface); }
.tn-quick-head { display: flex; gap: 12px; align-items: center; }
.tn-quick-head img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.tn-quick-head b { display: block; }
.tn-quick-head small { color: var(--muted); }
.tn-quick-desc { margin: 0; color: var(--ink-2); font-size: .88rem; }
.tn-quick-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .tn-quick-row { grid-template-columns: minmax(0, 1fr); } }
.tn-quick-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tn-quick-acts button.tn-quick-edit { border: 0; background: none; color: var(--accent-ink); font-weight: 600; text-decoration: underline; cursor: pointer; }

.tn-after-cat { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.tn-after-cat label { margin: 0; font-weight: 600; font-size: .92rem; }
.tn-wz-catnote { margin-top: 10px; }

.tn-photo-rot { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.tn-photo-rot .btn { min-width: 38px; }

.tn-edit-savebar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin: 18px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .tn-edit-savebar .btn { flex: 1 1 auto; } }

.tn-wz-subselect { display: grid; gap: 6px; margin-bottom: 18px; }
.tn-wz-subselect[hidden] { display: none; }

/* İlan detay galerisi: fotoğraf kırpılmaz, tamamı sığdırılır (dikey fotoğrafta sağ / sol beyaz boşluk) */
.ui-gallery, body.tn-v6 .ui-gallery { background: #fff; }
.ui-gallery .carousel-item img, body.tn-v6 .ui-gallery .carousel-item img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; background: #fff; }
body.tn-v6 .ui-gallery .carousel-item { aspect-ratio: 16 / 10; }
@media (max-width: 767.98px) { body.tn-v6 .ui-gallery, body.tn-v6 .ui-gallery .carousel-item { aspect-ratio: 4 / 3; } }
html[data-theme="dark"] .ui-gallery, html[data-theme="dark"] .ui-gallery .carousel-item img { background: #1b1d21; }

/* Header: bildirim açılır kutusu (son 5 bildirim): küçük, arama satırının üstünde kalır */
.tn-hd-top { position: relative; z-index: 1050; }
.tn-hd-notif { position: relative; }
.tn-hd-notif > .tn-hd-icon { position: relative; border: 0; background: transparent; }
.tn-hd-nmenu { z-index: 1060; width: 290px; max-width: calc(100vw - 24px); padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md); background: var(--surface); opacity: 1; }
.tn-hd-nhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 12px 6px; color: var(--ink); font-size: 13.5px; }
.tn-hd-nhead span { color: var(--muted); font-size: 11.5px; }
.tn-hd-nlist { margin: 0; padding: 0 4px; list-style: none; }
.tn-hd-nitem { display: flex; gap: 8px; padding: 6px 8px; border-radius: 6px; color: var(--ink); text-decoration: none; background: var(--surface); }
.tn-hd-nitem:hover, .tn-hd-nitem:focus-visible { background: var(--surface-2, rgba(0,0,0,.04)); color: var(--ink); }
.tn-hd-ndot { flex: none; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: transparent; }
.tn-hd-nitem.is-unread .tn-hd-ndot { background: var(--accent); }
.tn-hd-ntext { display: grid; gap: 1px; min-width: 0; font-size: 12.5px; line-height: 1.3; }
.tn-hd-ntext b { overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.tn-hd-nitem.is-unread .tn-hd-ntext b { font-weight: 700; }
.tn-hd-ntext span { overflow: hidden; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.tn-hd-ntext small { color: var(--muted); font-size: 11px; }
.tn-hd-nempty { margin: 0; padding: 6px 12px 12px; color: var(--muted); font-size: 12.5px; }
.tn-hd-nall { display: block; margin-top: 4px; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--accent-ink); font-size: 12.5px; font-weight: 600; text-align: center; text-decoration: none; }
.tn-hd-nall:hover { background: var(--surface-2, rgba(0,0,0,.04)); color: var(--accent-ink); }

/* Sol kategori ağacı (ana sayfa, ilan sayfası, kategori): hep açık, çizgisiz; tıklanınca arama sayfasında filtre paneli gelir */
.tn-ctree { display: flex; flex-direction: column; gap: 16px; padding: 4px 0 24px; }
.tn-ctree-title { color: var(--ink); font-size: 15px; font-weight: 700; }
.tn-ctree-group { display: flex; flex-direction: column; gap: 2px; }
.tn-ctree-root { display: flex; align-items: center; gap: 9px; padding: 2px 0; color: var(--ink); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.tn-ctree-root i { width: 16px; color: var(--ink-2); font-size: 13px; text-align: center; }
.tn-ctree-sub { display: block; overflow: hidden; padding: 2px 0 2px 25px; color: var(--accent-ink); font-size: 13.5px; line-height: 1.4; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.tn-ctree-root:hover, .tn-ctree-sub:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tn-ctree-root.is-on, .tn-ctree-sub.is-on { color: var(--ink); font-weight: 700; }
.tn-ctree .tn-side-camp { margin-top: 0; }
@media (min-width: 992px) {
  .tn-side-layout.is-tree { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
  body.tn-v6 .tn-side-layout.is-tree > .tn-home-sidebar { padding: 0 4px 0 0; border-right: 0; scrollbar-width: none; }
  body.tn-v6 .tn-side-layout.is-tree > .tn-home-sidebar::-webkit-scrollbar { display: none; }
}
/* Telefonda ağaç yok: kategoriler header şeridinde */
@media (max-width: 991.98px) {
  body.tn-v6 .tn-side-layout.is-tree > .tn-home-sidebar { display: contents; }
  .tn-side-layout.is-tree { display: flex; flex-direction: column; gap: 20px; }
  .tn-side-layout.is-tree .tn-ctree { display: none; }
  .tn-side-layout.is-tree > .tn-side-main { order: 1; min-width: 0; }
  .tn-side-layout.is-tree .tn-rail { order: 2; }
}
.tn-ctree .tn-side-camp { display: flex; align-items: center; gap: 9px; padding: 2px 0; border: 0; background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.tn-ctree .tn-side-camp .tn-side-cat-ico { width: 16px; height: auto; border-radius: 0; background: transparent; color: var(--ink-2); font-size: 13px; }
.tn-ctree .tn-side-camp.is-sub { padding-left: 0; }
/* Masaüstünde header kategori şeridi yok: kategoriler soldaki ağaçta. Telefonda (sol ağaç gizli) şerit kalır. */
@media (min-width: 992px) { .tn-hd-cats { display: none !important; } }
/* Ana sayfa: sağ sütun kartları sol menüde, kategorilerin altında (menü yapışkan değil, sayfayla kayar) */
@media (min-width: 992px) {
  .tn-side-layout.is-tree:has(.has-rail) { grid-template-columns: 260px minmax(0, 1fr); }
  body.tn-v6 .tn-side-layout.is-tree > .tn-home-sidebar.has-rail { position: static; max-height: none; overflow: visible; }
  body.tn-v6 .tn-home-sidebar.has-rail .tn-rail { position: static; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 8px; padding-bottom: 24px; }
}

/* İlan ver · Bilgiler adımı (tüm sayfalar): "İlanını nasıl hazırlamak istersin?", büyük yöntem kartları, seçili kart mavi çerçeve */
body.tn-v6 .tn-wz-form .tn-create-methods { margin-bottom: 20px !important; padding: 0; border: 0; background: transparent; box-shadow: none; }
body.tn-v6 .tn-wz-form .tn-create-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
body.tn-v6 .tn-wz-form .tn-create-method { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-align: left; }
body.tn-v6 .tn-wz-form .tn-create-method.is-active { background: var(--surface); border: 2px solid #2e5c8f; box-shadow: 0 6px 18px rgba(46, 92, 143, .12); }
body.tn-v6 .tn-wz-form .tn-create-method > i, body.tn-v6 .tn-wz-form .tn-create-method.is-active > i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 14px; background: var(--surface-2); color: var(--ink); font-size: 20px; }
body.tn-v6 .tn-wz-form .tn-create-method[data-create-mode="photo"] > i { background: #e4ebf6; color: #24476f; }
body.tn-v6 .tn-wz-form .tn-create-method[data-create-mode="prompt"] > i { background: #efeafb; color: #4d3e8a; }
body.tn-v6 .tn-wz-form .tn-create-method strong { font-size: 17px; }
body.tn-v6 .tn-wz-form .tn-create-method span { color: var(--muted); font-size: 14px; line-height: 1.45; }
body.tn-v6 .tn-wz-form .tn-create-method-panel { margin-top: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
body.tn-v6 .tn-wz-form .tn-create-method.is-active span { color: var(--muted); }
/* Bilgiler adımında canlı önizleme yok (tek sütun) */
.tn-wz[data-wz-current="2"] { grid-template-columns: minmax(0, 1fr); }
.tn-wz[data-wz-current="2"] .tn-wz-preview { display: none; }
.tn-wz2-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 20px; border: 2px dashed #c6d4ea; border-radius: 14px; background: #f7f9fc; text-align: center; cursor: pointer; }
.tn-wz2-drop > i { color: #2e5c8f; font-size: 28px; }
.tn-wz2-drop b { font-size: 16px; }
.tn-wz2-drop > span { color: var(--muted); font-size: 14px; }
.tn-wz2-drop .tn-wz2-drop-btn { margin-top: 6px; padding: 10px 20px; border-radius: 10px; background: #14171c; color: #fff; font-weight: 600; }
.tn-wz2-drop .tn-wz2-drop-name { color: var(--ink); font-weight: 600; }
.tn-wz2-drop:focus-within { outline: 2px solid var(--accent-border, #2e5c8f); outline-offset: 2px; }
.tn-wz-form [data-mode-panel="photo"] [data-ai-photo-run] { margin-top: 12px; }
html[data-theme="dark"] .tn-wz2-drop { border-color: var(--line-strong); background: var(--surface-2); }
@media (max-width: 700px) { body.tn-v6 .tn-wz-form .tn-create-method-grid { grid-template-columns: minmax(0, 1fr); } }

.tn-create-methods .tn-wz2-q { margin: 0 0 4px; font-size: 24px; font-weight: 700; letter-spacing: -.5px; }
.tn-create-methods .tn-wz2-sub { margin: 0 0 16px !important; color: var(--muted); font-size: 14px !important; }
body.tn-v6 .tn-wz-form .tn-create-methods > p.tn-wz2-sub { display: block; }
.tn-create-methods .tn-wz2-move { margin: 14px 0 0 !important; color: var(--muted); font-size: 14px !important; text-align: center; }
body.tn-v6 .tn-wz-form .tn-create-methods > p.tn-wz2-move { display: block; }
.tn-create-methods .tn-wz2-move a { color: var(--accent-ink); }


/* Giriş kapısı: iki kapı (İlan, Hizmet) */
.tn-gate-doors > .tn-gate-door { flex: 1 1 0; }

/* İlan ver · fotoğraf kutusu: seçilen fotoğraflar küçük ilan kartı boyunda (172 px, 4:3) */
.tn-wz2-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.tn-wz2-thumb { width: 172px; margin: 0; }
.tn-wz2-thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 10px; background: #fff; object-fit: contain; }
.tn-wz2-thumb figcaption { margin-top: 4px; color: var(--muted); font-size: 12px; }
.tn-wz2-thumbs-note { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 12.5px; }
html[data-theme="dark"] .tn-wz2-thumb img { background: #1b1d21; }

/* İlan ver · Bilgiler: sağ sütunda fotoğraf ekle kutusu ve önizlemeler */
.tn-wz-photobox { display: flex; flex-direction: column; gap: 12px; height: 100%; }
/* Sol sütunla hizalı: başlık "İlan bilgileri" ile aynı hizada, alt kenar Teklif ayarları kutusunun altıyla bitiyor */
.tn-wz-photobox .tn-wz-photodrop { flex: 1 1 auto; justify-content: center; min-height: 220px; padding: 26px 16px; }
.tn-wz-photobox .tn-wz-photogrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tn-wz-photobox .tn-wz-photogrid:empty { display: none; }
/* "Ai ile görsel üret" */
.tn-wz-photobox .tn-wz-aiimg { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.tn-wz-photobox .tn-wz-aiimg .ui-btn { height: 46px; justify-content: center; }
.tn-wz-photobox .tn-wz-aiimg [data-ai-image-left] { font-size: 12px; }
.tn-wz-photobox .tn-wz-aiimg [data-ai-image-out]:empty { display: none; }
.tn-wz-photobox .tn-wz-aiimg .tn-ai-imgsug { text-align: left; }
.tn-wz-photobox .tn-wz-aiimg .tn-ai-imgsug img { max-width: 100%; height: auto; }
/* Fotoğrafla: önizlemede × ile fotoğraf çıkarma */
.tn-wz2-thumb { position: relative; }
.tn-wz2-thumb-rm { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(20,23,28,.72); color: #fff; font-size: 16px; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.tn-wz2-thumb-rm:hover { background: #14171c; }
/* Topluluk: sağ sütun kartları kenar çubuğunun içinde (profil kartının altında) */
body.tn-v6 .tn-cx-aside .tn-rail { position: static; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0; }
/* İlan kartı: Ai simgesi görselin üstünde, favorinin altında (alttaki düğmeler kaldırıldı) */
.ui-card { position: relative; }
.ui-card-aifab { position: absolute; z-index: 3; top: 48px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #5b21b6; font-size: .85rem; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); cursor: pointer; transition: transform .12s, background .12s; }
.ui-card-aifab:hover { background: #f5f3ff; transform: scale(1.06); }
.ui-card-aifab:disabled { opacity: .6; cursor: progress; }
/* Hizmet modunda header'daki ana düğmeler (Yeni İlan / Hizmet ver, Teklif al) yeşil: İlan mavi, Hizmet yeşil */
body.tn-v6 .tn-hd.is-mode-hizmet .tn-hd-post,
body.tn-v6 .tn-hd.is-mode-hizmet .tn-sbar-go { background: var(--mode-green); border-color: color-mix(in srgb, var(--mode-green-ink) 22%, transparent); color: var(--mode-green-ink); }
body.tn-v6 .tn-hd.is-mode-hizmet .tn-hd-post:hover,
body.tn-v6 .tn-hd.is-mode-hizmet .tn-sbar-go:hover { background: color-mix(in srgb, var(--mode-green) 82%, var(--mode-green-ink)); color: var(--mode-green-ink); }
/* Talep ver: neden / nasıl çalışır / işletmelere çağrı (partials/talep_info.php) */
.tn-ti { --ti-ink: var(--mode-green-ink); --ti-bg: var(--mode-green); margin-top: 56px; display: flex; flex-direction: column; gap: 64px; }
.tn-ti h2 { margin: 0; font-size: 1.55rem; font-weight: 750; letter-spacing: -.02em; }
.tn-ti h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
.tn-ti p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.tn-ti-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 32px; border-top: 1px solid var(--line); }
.tn-ti-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--ti-bg); color: var(--ti-ink); font-size: 1.1rem; transform: rotate(-6deg); }
.tn-ti-why-item:nth-child(even) .tn-ti-ico { transform: rotate(6deg); }
.tn-ti-how h2 { margin-bottom: 22px; }
.tn-ti-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.tn-ti-step { display: flex; flex-direction: column; gap: 16px; }
.tn-ti-shot { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 18px; border-radius: 20px; background: radial-gradient(120% 90% at 0% 0%, var(--ti-bg), transparent 60%), var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.tn-ti-ui { width: 100%; max-width: 250px; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 10px 28px rgba(20, 23, 28, .10); font-size: .74rem; color: var(--ink); }
.tn-ti-ui-q { font-weight: 700; font-size: .82rem; }
.tn-ti-ui-input { padding: 9px 10px; border: 1.5px solid var(--ti-ink); border-radius: 9px; color: var(--ink-2); }
.tn-ti-caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--ti-ink); animation: tnTiBlink 1s steps(1) infinite; }
@keyframes tnTiBlink { 50% { opacity: 0; } }
.tn-ti-ui-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tn-ti-ui-chips span { padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.tn-ti-ui-chips span.is-on { border-color: transparent; background: var(--ti-bg); color: var(--ti-ink); font-weight: 600; }
.tn-ti-ui-offer { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 10px; animation: tnTiIn .5s both; animation-delay: calc(var(--d, 0) * .12s); }
.tn-ti-ui-offer:nth-child(2) { border-color: var(--ti-ink); }
@keyframes tnTiIn { from { opacity: 0; transform: translateY(6px); } }
.tn-ti-av { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--ti-bg); color: var(--ti-ink); font-weight: 700; }
.tn-ti-ui-of-n { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.2; }
.tn-ti-ui-of-n small { color: var(--muted); } .tn-ti-ui-of-n small i { color: #f59e0b; font-size: .85em; }
.tn-ti-ui-of-p { font-weight: 700; white-space: nowrap; }
.tn-ti-ui-ai { padding: 7px 9px; border-radius: 9px; background: var(--ti-bg); color: var(--ti-ink); }
.tn-ti-ui-ai i { color: #f59e0b; }
.tn-ti-ui-chat { display: flex; flex-direction: column; gap: 5px; }
.tn-ti-ui-chat span { align-self: flex-start; max-width: 85%; padding: 6px 9px; border-radius: 10px 10px 10px 3px; background: var(--surface-2); }
.tn-ti-ui-chat span.is-me { align-self: flex-end; border-radius: 10px 10px 3px 10px; background: var(--ti-ink); color: #fff; }
.tn-ti-ui-ok { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 9px; background: var(--ti-ink); color: #fff; font-weight: 700; }
.tn-ti-step-txt { display: flex; gap: 12px; align-items: flex-start; }
.tn-ti-num { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ti-ink); color: var(--ti-ink); font-size: .95rem; }
.tn-ti-biz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 28px; padding: 30px; border-radius: 24px; background: linear-gradient(135deg, var(--ti-bg), var(--surface-2) 70%); border: 1px solid var(--line); }
.tn-ti-biz-art { position: relative; min-height: 210px; }
.tn-ti-biz-card { position: absolute; display: flex; align-items: center; gap: 10px; width: min(250px, 92%); padding: 11px 13px; border-radius: 14px; background: var(--surface); box-shadow: 0 10px 26px rgba(20, 23, 28, .10); font-size: .82rem; }
.tn-ti-biz-card span { display: flex; flex-direction: column; line-height: 1.25; } .tn-ti-biz-card small { color: var(--muted); }
.tn-ti-biz-card > i { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 10px; background: var(--ti-bg); color: var(--ti-ink); }
.tn-ti-biz-card.is-a { top: 0; left: 0; transform: rotate(-3deg); }
.tn-ti-biz-card.is-b { top: 74px; left: 18%; z-index: 1; }
.tn-ti-biz-card.is-c { top: 148px; left: 4%; transform: rotate(2deg); }
.tn-ti-biz-card.is-c > i { color: #f59e0b; }
.tn-ti-biz-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tn-ti-biz-txt p { font-size: .95rem; max-width: 38ch; }
.ui-btn.tn-ti-biz-btn { gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; background: var(--ti-ink); color: #fff; font-weight: 600; }
.ui-btn.tn-ti-biz-btn:hover { filter: brightness(1.1); color: #fff; }
@media (max-width: 900px) {
  .tn-ti-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-ti-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tn-ti-shot { aspect-ratio: auto; min-height: 190px; }
  .tn-ti-biz { grid-template-columns: minmax(0, 1fr); padding: 22px; }
}
@media (max-width: 520px) { .tn-ti-why { grid-template-columns: minmax(0, 1fr); } .tn-ti { gap: 44px; } }
@media (prefers-reduced-motion: reduce) { .tn-ti-caret, .tn-ti-ui-offer { animation: none; } }
/* Üye olmadan teklif al: iletişim bölümü ve "e-postanı onayla" sayfası */
.tn-rq-guest { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.tn-rq-guest-sub { margin: -4px 0 2px; color: var(--muted); font-size: .84rem; }
.tn-rq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tn-rq-kvkk { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.tn-rq-kvkk input { margin-top: 2px; flex: 0 0 auto; }
.tn-rq-sent { max-width: 560px; margin: 40px auto; padding: 32px 28px; text-align: center; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tn-rq-sent-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--mode-green); color: var(--mode-green-ink); font-size: 1.6rem; }
.tn-rq-sent h1 { margin: 0; font-size: 1.45rem; }
.tn-rq-sent p { margin: 0; color: var(--ink-2); }
.tn-rq-sent-note { color: var(--muted) !important; font-size: .85rem; }
.tn-rq-money { position: relative; display: block; }
.tn-rq-money .form-control { padding-right: 34px; }
.tn-rq-money b { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.tn-rq-vis-hint { color: var(--muted); font-size: .8rem; }
/* Ana sayfa: satırlar arası boşluk yarıya (50 px → 25 px) */
.ui-home .ui-section { margin-top: 14px; padding-top: 11px; }
.ui-home .tn-cta-band { margin-top: 18px; }
/* Eşya kiralama: ilan ver "Kiraya ver" seçeneği, kiralama bilgileri; kartta rozet + "/ gün"; ilan sayfasında koşullar */
.tn-wz-cond-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .tn-wz-cond-opts { grid-template-columns: minmax(0, 1fr); } }
.tn-wz-rent { padding: 16px; border: 1px solid color-mix(in srgb, var(--mode-green-ink) 25%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--mode-green) 45%, var(--surface)); }
.tn-wz-rent-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--mode-green-ink); }
.tn-wz-rent-note { margin: 12px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.ui-cond.is-rent { background: #27603c; }
.ui-price-unit { margin-left: 2px; font-size: .72em; font-weight: 600; color: var(--muted); }
.ui-px-rent { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--mode-green); color: var(--mode-green-ink); font-size: .85rem; }
.ui-px-rent-tag { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.ui-px-rent ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ink-2); }
.ui-px-rent li::before { content: "•"; margin-right: 6px; color: var(--mode-green-ink); }
@media (max-width: 991.98px) { .tn-toast-global { left: 16px; right: 16px; max-width: none; bottom: calc(86px + env(safe-area-inset-bottom)); } }
/* Üyelik Sözleşmesi onay kutusu (üyelik, misafir talep) ve Google düğmesi altındaki bildirim */
.tn-auth-terms, .tn-rq-terms { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 12px; font-size: .86rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.tn-auth-terms input, .tn-rq-terms input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; }
.tn-auth-social-terms { margin: 8px 0 0; font-size: .76rem; line-height: 1.45; color: var(--muted); text-align: center; }
.tn-auth-social .tn-auth-social-terms { grid-column: 1 / -1; }
.tn-auth-social { grid-template-columns: minmax(0, 1fr); }   /* tek sağlayıcı: Google düğmesi tam genişlik */
.tn-auth-alt { grid-template-columns: minmax(0, 1fr); }   /* Ücretsiz üye ol tam genişlik */
.tn-auth-social-btn, .tn-auth-alt-btn { width: 100%; }
/* Kapılar: üzerine gelinen kapı genişler (İlan sağa, Hizmet sola); Hizmet (is-lead) de aynı */
.tn-gate-doors .tn-gate-door.is-lead:hover, .tn-gate-doors .tn-gate-door.is-lead:focus-visible { flex-grow: 1.45; }
/* Header taşmasın (menüde 4 bağlantı + mod geçişi + simgeler + Hesabım + Yeni İlan): ekran daraldıkça önce boşluklar,
   sonra "Hesabım" yazısı ve sondan başa menü bağlantıları gizlenir. Son güvence: menü daralabilir, taşan kısmı kesilir. */
.tn-hd-actions { flex-shrink: 0; }
.tn-hd-nav { min-width: 0; flex: 0 1 auto; overflow: hidden; }
/* Sığmayan bağlantı yarım kesilmesin: menü sararak alt satıra geçer, tek satır yüksekliğinde tutulduğu için alt satır (sığmayan bağlantının tamamı) gizlenir */
.tn-hd-nav { flex-wrap: wrap; height: 49px; align-content: flex-start; row-gap: 0; }
.tn-hd-nav a { line-height: 21px; }
/* Sayfa genişliği (tn-shell) 1340 px ile sınırlı: geniş ekranda da aynı sıkı aralıklar, 4 bağlantı sığsın */
.tn-hd-top { gap: 26px; }
.tn-hd-nav { gap: 24px; column-gap: 24px; }
.tn-hd-actions { gap: 12px; }
@media (max-width: 1560px) { .tn-hd-accbtn > span { display: none; } }
@media (max-width: 1500px) { .tn-hd-nav a:nth-child(n+4) { display: none; } }   /* Topluluk */
@media (max-width: 1380px) { .tn-hd-nav a:nth-child(n+3) { display: none; } }   /* Anlaşma pazarı */
@media (max-width: 1180px) { .tn-hd-nav a:nth-child(n+2) { display: none; } }   /* Kampanyalar */
@media (max-width: 1060px) { .tn-hd-nav { display: none; } }
.tn-premium-ctas { display: flex; flex-direction: column; gap: 8px; }
.tn-premium-cta.is-alt { background: transparent; border: 1px solid var(--line-strong); }
