/* MotoAtlas Forum — nötr renk paleti (18 Kasım 2026).
   Açık: zemin #ffffff, yüzey #eff1f3. Koyu: zemin #0f1113, yüzey #2b3236. Marka kırmızısı aynı kalır.
   Yalnız forum sayfalarını (body.forum-surface) etkiler. */
html:not([data-theme="light"]) body.forum-surface.forum-surface,
html:not([data-theme="light"]) body.forum-surface .route-header.route-header {
  --bg: #0f1113; --fg: #f2f4f5; --card: #181c1f; --border: #343b3f;
  --muted: #2b3236; --muted-fg: #8ba2ad; --secondary: #2b3236; --secondary-fg: #d2dbe0;
  --forum-surface: #2b3236; --forum-surface-hover: #333d42; --forum-line: #2b3236;
  --forum-meta: #b7c4cb; --forum-faint: #8ba2ad;
  color-scheme: dark;
}
html[data-theme="light"] body.forum-surface.forum-surface,
html[data-theme="light"] body.forum-surface .route-header.route-header {
  --bg: #ffffff; --fg: #0f1113; --card: #ffffff; --border: #e0e4e7;
  --muted: #eff1f3; --muted-fg: #5c6c74; --secondary: #eff1f3; --secondary-fg: #2b3236;
  --forum-surface: #eff1f3; --forum-surface-hover: #e3e7ea; --forum-line: #e0e4e7;
  --forum-meta: #4a575e; --forum-faint: #5c6c74;
  color-scheme: light;
}
body.forum-surface.forum-surface { background: var(--bg); }
html body.forum-surface .route-header.route-header { background: var(--bg); border-bottom: 1px solid var(--forum-line); }
/* Yüzeyler: kenar çubuğu, arama, hap düğmeler, geri, mekân ve etiket çipleri */
.forum-surface .forum-side,
.forum-surface .forum-topbar .forum-search,
.forum-surface .forum-pill:not(.is-dark), .forum-surface .forum-pill.is-static:not(.is-dark):hover,
.forum-surface .forum-back,
.forum-surface .forum-places a,
.forum-surface .forum-avatar,
.forum-surface .forum-card-photo, .forum-surface .forum-photo,
.forum-surface .forum-page .forum-att-map { background: var(--forum-surface); }
.forum-surface .forum-pill:not(.is-dark):hover, .forum-surface .forum-back:hover, .forum-surface .forum-places a:hover { background: var(--forum-surface-hover); }
.forum-surface .forum-search, .forum-surface .forum-compose,
.forum-surface .forum-field input:not([type=radio]):not([type=file]),
.forum-surface .forum-field textarea, .forum-surface .forum-reply-form textarea { border-color: var(--border); }
.forum-surface .forum-places-box, .forum-surface .forum-place-chip { background: var(--forum-surface); }

/* Sade tipografi (19 Kasım 2026, Caner onayı): Reddit gibi sıkı ve rahat okunan forum.
   Font aynı (Manrope); başlıklar da Manrope Bold, konu başlıkları 16 px, özetler 2 satır. */
body.forum-surface { --font-heading: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.forum-surface .forum-page { font-size: 14.5px; line-height: 1.5; }
.forum-surface .forum-page :is(h1, h2) { font-family: var(--font-heading); font-weight: 800; }
.forum-surface .forum-page h1 { letter-spacing: -0.015em; }
.forum-surface .forum-chan-head h1 { font-size: 26px; line-height: 1.2; }
.forum-surface .forum-page h2 { font-size: 15px; letter-spacing: 0; }
.forum-surface :is(.forum-card-title, .forum-row-title) { font-size: 16px; line-height: 1.35; font-weight: 700; letter-spacing: -0.005em; }
.forum-surface .forum-card-excerpt { font-size: 14px; line-height: 1.5; -webkit-line-clamp: 2; }
.forum-surface .forum-card { padding-top: 10px; padding-bottom: 10px; }
.forum-surface .forum-pill { height: 30px; font-size: 13px; }
.forum-surface .forum-nav a { font-size: 14px; }
.forum-surface .rh-answer > p { font-size: 14px; }
.forum-surface .rh-top a.rh-chip-top { min-height: 40px; font-size: 13.5px; }
.forum-surface .rh-top a.rh-chip-top .rh-cat { width: 30px; height: 30px; }
.forum-places-list .rh-place-sub { align-items: center; }
.forum-places-list .rh-place-sub .forum-pill { height: 26px; padding: 0 10px; font-size: 13px; }
/* 19 Kasım düzeltmeleri: "Ekleyen" satırı tek hizada; yorum kutusu tek satır, metin sığmazsa üç noktayla kısalır */
.forum-place-by { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.forum-place-by .forum-km { font-family: inherit; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.forum-place-by .forum-pro { margin-left: 0; }
.forum-surface .forum-compose { flex-wrap: nowrap; }
.forum-compose > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forum-compose > .btn { flex: none; }
@media (max-width: 640px) { .forum-compose > span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .forum-surface .forum-compose { border-radius: 14px; } }

/* Sağ sütun (Reddit tarzı) — 19 Kasım 2026 */
.forum-surface .fs-list { padding-top: 14px !important; }
.forum-surface .fs-list[hidden] { display: none; }
.forum-surface .fs-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px; }
.forum-surface .forum-page .fs-head h2 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--forum-meta); }
.forum-surface .fs-head h2 small { text-transform: none; letter-spacing: 0; font-weight: 600; }
.forum-surface .fs-head button { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; font-weight: 700; color: #3b82f6; cursor: pointer; }
.forum-surface .fs-posts { list-style: none; margin: 0 -20px; padding: 0; }
.forum-surface .fs-posts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 20px !important; border-top: 1px solid var(--forum-line); }
.forum-surface .fs-posts li:first-child { border-top: 0; }
.forum-surface .fs-body { flex: 1; min-width: 0; }
.forum-surface .fs-top { display: flex; align-items: center; gap: 6px; margin: 0 0 5px; font-size: 12.5px; color: var(--forum-meta); white-space: nowrap; overflow: hidden; }
.forum-surface .fs-top .forum-chan-avatar { width: 22px; height: 22px; flex: none; }
.forum-surface .fs-top a { color: var(--fg); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.forum-surface .fs-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: color-mix(in srgb, var(--fg) 80%, var(--bg)); font-size: 14.5px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.forum-surface .fs-title:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.forum-surface .fs-meta { margin: 5px 0 0; font-size: 12.5px; color: var(--forum-meta); }
.forum-surface .fs-thumb { flex: none; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--forum-surface-hover, var(--border)); border: 1px solid var(--forum-line); }
.forum-surface .fs-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
