/* ==========================================================
   FJ EMLAK — Fujii Minecraft Sunucu Emlak Sitesi
   Tasarım: koyu tema, keskin köşeler, çimen bloğu paleti, mobil uyumlu
   ========================================================== */

/* Monocraft: Minecraft yazı tipi (Türkçe karakter desteğiyle) — OFL lisanslı */
@font-face {
  font-family: 'Monocraft';
  src: url('fonts/Monocraft.ttf') format('truetype'),
       url('https://cdn.jsdelivr.net/gh/IdreesInc/Monocraft@v4.2.1/dist/Monocraft-ttf/Monocraft.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Monocraft';
  src: url('fonts/Monocraft-Bold.ttf') format('truetype'),
       url('https://cdn.jsdelivr.net/gh/IdreesInc/Monocraft@v4.2.1/dist/Monocraft-ttf/weights/Monocraft-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --grass: #6aaa3a;
  --grass-light: #8fd14f;
  --grass-dark: #4a7d28;
  --grass-deep: #355c1c;
  --dirt: #866043;
  --dirt-dark: #593d29;
  --dirt-deep: #3b2a1c;
  --diamond: #4aedd9;
  --danger: #b83a31;
  --danger-deep: #541612;

  --bg-overlay: rgba(12, 8, 5, .38);
  --panel: rgba(28, 21, 14, .95);
  --panel-2: rgba(44, 33, 22, .97);
  --input: #17110b;
  --text: #ece5d3;
  --muted: #a99a80;
  --border: #0d0905;
  --line: #4a3826;
  --accent-text: var(--grass-light);
  --shadow: 0 6px 0 rgba(0, 0, 0, .45);
  --scroll-track: #18110b;
  --scroll-thumb: var(--grass);
  --scroll-thumb-hover: var(--grass-light);

  --font: 'Monocraft', 'Courier New', monospace;
  --bevel: inset -3px -3px 0 rgba(0, 0, 0, .35), inset 3px 3px 0 rgba(255, 255, 255, .22);
  --bevel-press: inset 3px 3px 0 rgba(0, 0, 0, .35), inset -3px -3px 0 rgba(255, 255, 255, .12);
  --bevel-slot: inset 3px 3px 0 rgba(0, 0, 0, .45), inset -3px -3px 0 rgba(255, 255, 255, .14);
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
[hidden] { display: none !important; }

/* ---------- Özel Kaydırma Çubukları (Scrollbars) ---------- */
* {
  scrollbar-width: auto;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border: 2px solid var(--border);
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, .35);
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border: 2px solid var(--border);
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .35), inset 2px 2px 0 rgba(255, 255, 255, .28);
}
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }
::-webkit-scrollbar-thumb:active {
  background: var(--grass-dark);
  box-shadow: inset 2px 2px 0 rgba(0, 0, 0, .35);
}
::-webkit-scrollbar-corner { background: var(--scroll-track); }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--dirt-deep);
  background-image: linear-gradient(var(--bg-overlay), var(--bg-overlay)), url("background.png");
  background-repeat: repeat;
  background-attachment: fixed;
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.no-scroll { overflow: hidden; }
.view { flex: 1; }

img { image-rendering: auto; max-width: 100%; }
h1, h2, h3 { font-weight: normal; line-height: 1.25; margin: 0; letter-spacing: .5px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1360px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- Panel ---------- */
.panel {
  background: var(--panel);
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
}

/* ---------- Piksel İkonlar ---------- */
.px-icon {
  display: inline-block;
  width: 18px;
  height: 14px;
  position: relative;
  flex: none;
  image-rendering: pixelated;
}
.px-mail {
  background: #fff;
  border: 2px solid #1b120b;
  box-shadow: inset 0 2px 0 var(--dirt-light, #c79a6b);
}
.px-mail::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 1px;
  height: 4px;
  border-left: 2px solid #1b120b;
  border-right: 2px solid #1b120b;
  border-bottom: 2px solid #1b120b;
}
.px-bell {
  width: 16px;
  height: 16px;
  background: #ffd84a;
  border: 2px solid #1b120b;
  box-shadow: inset -2px -2px 0 #c99718;
}
.px-bell::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 3px;
  width: 6px;
  height: 3px;
  background: #ffd84a;
  border: 1px solid #1b120b;
}
.px-icon.big {
  transform: scale(2);
  margin: 10px;
}

/* ---------- Avatar ---------- */
.avatar {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  border: 2px solid #000;
  background: var(--dirt-deep);
  flex: none;
}
.avatar-sm {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
  border: 2px solid #000;
  background: var(--dirt-deep);
  flex: none;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: #787878;
  color: #fff;
  text-shadow: 2px 2px 0 #2e2e2e;
  border: 3px solid #000;
  box-shadow: var(--bevel);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: filter .1s;
}
.btn:hover:not(:disabled) { filter: brightness(1.12); }
.btn:active:not(:disabled) { box-shadow: var(--bevel-press); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 0; }

.btn-primary { background: var(--grass); text-shadow: 2px 2px 0 var(--grass-deep); }
.btn-diamond { background: #2aa897; text-shadow: 2px 2px 0 #104e46; }
.btn-danger { background: var(--danger); text-shadow: 2px 2px 0 var(--danger-deep); }
.btn-close { background: var(--danger); text-shadow: 2px 2px 0 var(--danger-deep); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; height: 42px; padding: 0; font-size: 18px; flex: none; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent-text);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
}
.danger-link { color: #ff8075; }

/* ---------- Üst Bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--grass);
  border-bottom: 4px solid var(--border);
  box-shadow: inset 0 -10px 0 var(--grass-dark), 0 6px 0 var(--dirt-dark);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
  padding-bottom: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 var(--grass-deep);
  flex: none;
}
.brand-logo {
  height: 42px;
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .55));
  transition: transform 0.15s ease;
}
.brand-logo:hover {
  transform: scale(1.05);
}

.nav { display: flex; align-items: center; gap: 18px; margin-left: 8px; }
.nav a {
  padding: 6px 2px;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: 2px 2px 0 var(--grass-deep);
}
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-add-mobile { display: none; }

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.add-btn .plus { font-weight: bold; }

.icon-wrap { position: relative; }
.icon-btn { background: var(--dirt); position: relative; }
.badge-dot {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  border: 2px solid #000;
  display: grid;
  place-items: center;
  line-height: 1;
  text-shadow: 1px 1px 0 #000;
}

/* Bildirim Paneli */
.notif-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(360px, calc(100vw - 24px));
  z-index: 90;
  display: flex;
  flex-direction: column;
}
.notif-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 2px solid var(--line);
  background: var(--panel-2);
  font-size: 14px;
}
.notif-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.notif-list {
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.notif-empty {
  margin: 0;
  padding: 22px 14px;
  text-align: center;
  font-size: 13px;
}
.notif-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  border-bottom: 2px solid var(--line);
  font-size: 13px;
  transition: background .12s;
}
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: var(--panel-2); }
.notif-item.unread {
  background: rgba(106, 170, 58, .16);
  border-left: 4px solid var(--grass-light);
}
.notif-title { color: #fff; font-weight: 700; }
.notif-body { color: #d5cbb5; font-size: 12px; overflow-wrap: anywhere; }

/* Kullanıcı menüsü */
.user-area { position: relative; }
.user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px 0 6px;
  background: var(--dirt);
  color: #fff;
  text-shadow: 2px 2px 0 var(--dirt-deep);
  border: 3px solid #000;
  box-shadow: var(--bevel);
  cursor: pointer;
}
.user-btn img { width: 28px; height: 28px; image-rendering: pixelated; border: 2px solid #000; background: var(--dirt-deep); }
.user-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  display: flex;
  flex-direction: column;
  z-index: 85;
}
.user-menu a, .user-menu button {
  padding: 11px 14px;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--line);
  cursor: pointer;
  font-size: 14px;
}
.user-menu button { border-bottom: 0; color: #ff8075; }
.user-menu a:hover, .user-menu button:hover { background: var(--panel-2); }

/* Hamburger */
.hamburger { display: none; background: var(--dirt); }
.hamburger span {
  width: 18px; height: 2px; background: #fff; position: relative; display: block;
  box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
}
.hamburger.open span { background: transparent; box-shadow: none; }
.hamburger.open span::before, .hamburger.open span::after {
  content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 2px; background: #fff;
}
.hamburger.open span::before { transform: rotate(45deg); }
.hamburger.open span::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 44px 0 34px; text-align: center; }
.hero-logo {
  height: clamp(56px, 9vw, 86px);
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, .65));
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(22px, 4vw, 38px);
  color: #fff;
  text-shadow: 4px 4px 0 #1c120a;
}
.hero-sub {
  color: #dfd5be;
  margin: 10px auto 22px;
  max-width: 640px;
  font-size: clamp(13px, 1.8vw, 16px);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .6);
}
.hero-search {
  display: flex;
  max-width: 640px;
  margin: 0 auto;
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-search input {
  flex: 1;
  border: 0;
  padding: 13px 16px;
  background: var(--input);
  outline: none;
  min-width: 0;
}
.hero-search .btn { border: 0; border-left: 3px solid var(--border); }

/* ---------- Hero & Liderlik Tablosu (Leaderboard) ---------- */
.hero {
  position: relative;
}
.hero-container {
  position: static;
}
.hero-leaderboard {
  position: absolute;
  top: 18px;
  right: 32px;
  width: 290px;
  text-align: left;
  padding: 12px 14px;
  background: rgba(28, 18, 10, 0.94);
  border: 3px solid var(--border);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.65);
  z-index: 10;
}
.leaderboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 8px;
  user-select: none;
}
.leaderboard-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.leaderboard-trophy-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.6));
}
.leaderboard-title {
  font-size: 14px;
  color: #fbbf24;
  margin: 0;
  text-shadow: 2px 2px 0 #1c120a;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.leaderboard-toggle-indicator {
  display: none;
}
.leaderboard-body {
  display: block;
}
.leaderboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.leaderboard-item:hover {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.3);
  transform: translateX(2px);
}
.lb-rank {
  font-size: 13px;
  font-weight: 700;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.lb-rank.gold { color: #f59e0b; text-shadow: 1px 1px 0 #000; font-size: 15px; }
.lb-rank.silver { color: #e5e7eb; text-shadow: 1px 1px 0 #000; font-size: 15px; }
.lb-rank.bronze { color: #d97706; text-shadow: 1px 1px 0 #000; font-size: 15px; }
.lb-rank.normal { color: #9ca3af; font-size: 12px; }
.lb-avatar {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
  border: 1px solid #1c120a;
  background: #2b1810;
  flex-shrink: 0;
  border-radius: 2px;
}
.lb-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.lb-bal {
  font-size: 12px;
  font-weight: 700;
  color: #34d399;
  text-shadow: 1px 1px 0 #064e3b;
  white-space: nowrap;
  flex-shrink: 0;
}
.leaderboard-loading, .leaderboard-empty {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 10px 0;
}
@media (max-width: 1024px) {
  .hero-leaderboard {
    position: static;
    margin: 18px auto 0;
    max-width: 440px;
    width: 100%;
    padding: 10px 14px;
  }
  .leaderboard-head {
    cursor: pointer;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .leaderboard-toggle-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 3px 8px;
    border-radius: 3px;
  }
  .hero-leaderboard .leaderboard-body {
    display: none;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 2px solid var(--line);
  }
  .hero-leaderboard.is-open .leaderboard-body {
    display: block;
  }
}

/* ---------- Form Alanları ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], select, textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--input);
  border: 2px solid var(--line);
  outline: none;
}
textarea { resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--grass); }
.invalid { border-color: var(--danger) !important; }
.hero-search input:focus { border: 0; }
select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%);
  background-size: 6px 6px;
  background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;
  background-repeat: no-repeat;
  padding-right: 30px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* ---------- Ana Liste & Dikey Filtre Düzeni ---------- */
.main {
  padding-bottom: 56px;
  scroll-margin-top: 84px;
}

.listings-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: start;
  gap: 28px;
}

.sidebar-filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  position: sticky;
  top: 84px;
  z-index: 5;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
}

.filter-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-icon {
  font-size: 16px;
}

.filter-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.filter-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-filters .tool {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.sidebar-filters .tool > span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.sidebar-filters .tool select {
  width: 100%;
  padding: 9px 12px;
  background: var(--input);
  border: 2px solid var(--line);
  color: var(--fg);
  font-size: 13px;
}

.sidebar-filters .seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--line);
  width: 100%;
}

.sidebar-filters .seg button {
  background: var(--input);
  border: 0;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  padding: 8px 10px;
  cursor: pointer;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}
.sidebar-filters .seg button:nth-child(2n) {
  border-right: 0;
}
.sidebar-filters .seg button:nth-last-child(-n+2) {
  border-bottom: 0;
}
.sidebar-filters .seg button.active {
  background: var(--grass);
  color: #fff;
  text-shadow: 1px 1px 0 var(--grass-deep);
}

.sidebar-filters .result-count {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
}

.listings-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ---------- İlan Kartları ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 3px solid var(--border);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: transform .12s, box-shadow .12s;
  animation: pop .22s ease-out both;
}
.card:hover, .card:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--grass-dark);
  outline: none;
}
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }

.card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 3px solid var(--border);
  background: #0b0805;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.card:hover .card-img img { transform: scale(1.04); }
.badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--grass);
  color: #fff;
  padding: 3px 10px;
  border: 2px solid #000;
  font-size: 12px;
  text-shadow: 1px 1px 0 var(--grass-deep);
}
.badge.world { left: auto; right: 10px; background: var(--dirt); text-shadow: 1px 1px 0 var(--dirt-deep); }
.photo-count {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0, 0, 0, .78); color: #fff; padding: 2px 8px; font-size: 12px; border: 1px solid #000;
}
.badge-price {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(20, 16, 12, 0.92);
  color: #fbbf24;
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  font-size: 13px;
  font-weight: bold;
  font-family: var(--font);
  text-shadow: 1px 1px 0 #000;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}
.badge-price.negotiable {
  color: #a3e635;
  font-size: 11px;
}
.detail-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.detail-price-tag {
  background: rgba(20, 16, 12, 0.92);
  border: 2px solid #000;
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.45), inset 2px 2px 0 rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.detail-price-tag .price-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.detail-price-tag .price-amount {
  font-size: 18px;
  color: #fbbf24;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000;
  font-family: var(--font);
}

.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 17px; color: #fff; overflow-wrap: anywhere; }
.card-loc { font-size: 12px; color: var(--accent-text); }
.card-desc {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 2px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.card-seller {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-seller img {
  width: 20px;
  height: 20px;
  image-rendering: pixelated;
  border: 1px solid #000;
  flex: none;
}
.card-cta { font-size: 13px; color: var(--accent-text); flex: none; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 8px; }

.empty { padding: 40px 20px; text-align: center; }
.empty p { margin: 0 0 16px; }

/* ---------- Sayfalar (İlan Ver / İlanlarım / Mesajlar) ---------- */
.page { padding: 28px 0 64px; max-width: 900px; }
.page.wide { max-width: 1280px; }
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--panel);
  border: 3px solid var(--border);
}
.page-head h1 { font-size: clamp(19px, 3vw, 25px); color: var(--accent-text); }

.listing-form { display: flex; flex-direction: column; gap: 20px; }
.form-section { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.c-x { color: #e0554b !important; } .c-y { color: #5fbf3a !important; } .c-z { color: #4a8ee8 !important; }
.counter { align-self: flex-end; color: var(--muted); font-size: 12px; }

.dropzone {
  position: relative;
  border: 3px dashed var(--line);
  background: var(--input);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--grass); background: var(--panel-2); }
.dropzone.full { display: none; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone small { color: var(--muted); font-size: 12px; }
.dz-icon {
  width: 36px; height: 36px;
  background: var(--grass);
  border: 3px solid #000;
  box-shadow: var(--bevel);
  position: relative;
}
.dz-icon::before, .dz-icon::after {
  content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.dz-icon::before { width: 16px; height: 4px; }
.dz-icon::after { width: 4px; height: 16px; }

.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.previews:empty { display: none; }
.preview {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 3px solid var(--border);
  background: #000;
  overflow: hidden;
}
.preview.cover { border-color: var(--grass-light); }
.preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-label {
  position: absolute; left: 6px; top: 6px;
  background: var(--grass); color: #fff; font-size: 11px; padding: 2px 7px; border: 2px solid #000;
}
.pv-btn {
  position: absolute; top: 6px;
  width: 28px; height: 28px;
  border: 2px solid #000;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  display: grid; place-items: center;
}
.pv-del { right: 6px; background: rgba(184, 58, 49, .92); }
.pv-star { left: 6px; background: rgba(0, 0, 0, .72); }
.pv-star:hover { background: var(--grass); }

.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.form-error {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  background: rgba(184, 58, 49, .22);
  border: 2px solid var(--danger);
  color: #ff9c93;
  font-size: 13px;
}

.progress {
  flex: 1;
  min-width: 220px;
  height: 36px;
  background: var(--input);
  border: 3px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-bar { position: absolute; inset: 0 auto 0 0; background: var(--grass); width: 0%; transition: width .15s; }
.progress span { position: relative; z-index: 1; font-size: 13px; color: #fff; text-shadow: 1px 1px 0 #000; }

/* ---------- Site İçi Mesajlaşma (Chat) ---------- */
.chat {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: min(720px, calc(100dvh - 130px));
  min-height: 480px;
  overflow: hidden;
}
.conv-list {
  border-right: 3px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: rgba(16, 11, 7, .75);
}
.conv-head {
  padding: 14px 16px;
  border-bottom: 3px solid var(--border);
  background: var(--panel-2);
}
.conv-head h1 { font-size: 18px; color: var(--accent-text); }
.conv-items {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.conv-empty {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
}
.conv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--line);
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: background .12s;
}
.conv-item:hover { background: var(--panel-2); }
.conv-item.active {
  background: rgba(106, 170, 58, .2);
  border-left: 4px solid var(--grass-light);
}
.conv-text { flex: 1; min-width: 0; }
.conv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
}
.conv-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-preview {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.thread-empty {
  margin: auto;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 340px;
}
.thread-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.thread-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 3px solid var(--border);
  background: var(--panel-2);
}
.thread-back { display: none; }
.thread-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.thread-listing {
  font-size: 12px;
  color: var(--accent-text);
  text-decoration: underline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(10, 7, 4, .55);
}
.msg { display: flex; max-width: 78%; }
.msg.mine { align-self: flex-end; }
.msg.theirs { align-self: flex-start; }
.msg-bubble {
  padding: 9px 13px;
  border: 2px solid #000;
  box-shadow: var(--bevel);
}
.msg.mine .msg-bubble { background: var(--grass-dark); color: #fff; }
.msg.theirs .msg-bubble { background: var(--panel-2); color: var(--text); }
.msg-bubble p { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-bubble small { display: block; font-size: 10px; opacity: .75; margin-top: 4px; text-align: right; }

.composer {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 3px solid var(--border);
  background: var(--panel-2);
  align-items: flex-end;
}
.composer textarea { flex: 1; resize: none; max-height: 110px; }

/* ---------- Harita (BlueMap 3D) ---------- */
.map-page {
  padding: 20px 0 36px;
  max-width: 1540px;
  width: min(1540px, 100% - 32px);
}
.map-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 145px);
  height: calc(100dvh - 145px);
  min-height: 520px;
  overflow: hidden;
  position: relative;
  background: #080604;
}
.map-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--panel-2);
  border-bottom: 3px solid var(--border);
  flex-wrap: wrap;
  z-index: 5;
}
.map-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.map-status-dot {
  width: 10px;
  height: 10px;
  background: var(--grass-light);
  border: 1px solid #000;
  display: inline-block;
  box-shadow: 0 0 6px var(--grass);
}
.map-status-dot.offline {
  background: #888;
  box-shadow: none;
}
.map-focus-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 9px;
  background: var(--grass-deep);
  color: #fff;
  font-size: 12px;
  border: 1px solid var(--grass);
}
.map-focus-badge button {
  background: none;
  border: 0;
  color: #ff9b92;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  line-height: 1;
}
.map-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: 0;
  background: #080604;
}
.map-loading-overlay {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0c0906;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #8be152;
  font-family: inherit;
  font-size: 14px;
  z-index: 4;
  transition: opacity .4s ease, visibility .4s ease;
  pointer-events: none;
}
.map-loading-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}
.map-spinner {
  width: 32px;
  height: 32px;
  border: 4px solid rgba(106, 170, 58, 0.2);
  border-top-color: #8be152;
  border-radius: 50%;
  animation: mapSpin 0.8s linear infinite;
}
@keyframes mapSpin {
  to { transform: rotate(360deg); }
}
.map-placeholder {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: radial-gradient(circle at center, rgba(38, 28, 18, .9) 0%, rgba(12, 9, 6, .98) 100%);
  overflow-y: auto;
}
.map-placeholder-box {
  max-width: 620px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--panel);
}
.map-placeholder-icon {
  font-size: 46px;
  line-height: 1;
}
.map-placeholder-box h2 {
  font-size: clamp(20px, 3vw, 26px);
  color: var(--accent-text);
}
.map-placeholder-box p {
  color: #d8ceb8;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.map-guide-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin: 8px 0;
}
.map-guide-step {
  padding: 10px 14px;
  background: var(--input);
  border: 2px solid var(--line);
  font-size: 13px;
  color: #f0e6d2;
}
.map-guide-step b {
  color: var(--grass-light);
  margin-right: 4px;
}
.map-guide-step code {
  color: var(--diamond);
  background: rgba(0,0,0,.4);
  padding: 2px 6px;
  border: 1px solid var(--line);
}
.map-quick-test {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.map-url-input-wrap {
  width: 100%;
  display: flex;
  gap: 8px;
}
.map-url-input-wrap input {
  flex: 1;
  font-size: 13px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dirt-dark);
  border-top: 4px solid var(--border);
  box-shadow: inset 0 8px 0 var(--grass-dark);
  color: #e6dcc6;
  padding: 24px 0 18px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-logo { height: 22px; width: auto; image-rendering: pixelated; }
.footer .muted { color: #b9a786; }

/* ---------- Modallar ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 6, 2, .84); animation: fade .18s; }
.modal-box {
  position: relative;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  animation: pop .2s ease-out;
  margin: auto;
}
.modal-box.wide {
  width: min(1440px, 96vw);
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-box.wide .modal-body {
  flex: 1;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-box.small { width: min(460px, 100%); }
@keyframes fade { from { opacity: 0; } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 5; }

/* ---------- İlan Detay (Tam Sığdırılmış Görsel Alanı + Soru-Cevap) ---------- */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(360px, 1fr);
  grid-template-rows: 100%;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.gallery {
  border-right: 3px solid var(--border);
  background: #0b0805;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}
.gallery-main {
  position: relative;
  flex: 1;
  min-height: 280px;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b0805;
  padding: 8px;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 56px; font-size: 24px; padding: 0;
}
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-counter {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(0, 0, 0, .82); color: #fff; padding: 4px 12px; font-size: 13px; border: 2px solid #000;
}
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; }

/* Galeri Küçük Resim Şeridi */
.thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  background: var(--dirt-deep);
  border-top: 3px solid var(--border);
  scroll-snap-type: x mandatory;
  flex: none;
  max-width: 100%;
}
.thumbs button {
  flex: none;
  width: 112px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 3px solid #000;
  box-shadow: var(--bevel);
  background: #000;
  cursor: pointer;
  opacity: .55;
  scroll-snap-align: start;
  transition: opacity .15s, transform .12s, border-color .15s;
}
.thumbs button:hover { opacity: .9; transform: translateY(-2px); }
.thumbs button.active {
  border-color: var(--grass-light);
  box-shadow: 0 0 0 2px var(--grass-dark), var(--bevel);
  opacity: 1;
}
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.info {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  height: 100%;
  min-width: 0;
  overscroll-behavior: contain;
}
.info h2 { font-size: clamp(18px, 2.2vw, 22px); padding-right: 48px; overflow-wrap: anywhere; color: #fff; }
.info .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { padding: 3px 9px; font-size: 12px; border: 2px solid var(--line); background: var(--panel-2); }
.tag.green { background: var(--grass); color: #fff; border-color: var(--grass-dark); text-shadow: 1px 1px 0 var(--grass-deep); }
.tag.world-tag { background: var(--dirt); color: #fff; border-color: var(--dirt-dark); text-shadow: 1px 1px 0 var(--dirt-deep); }

/* Satıcı Kartı */
.seller-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--panel-2);
  border: 3px solid var(--border);
  flex-wrap: wrap;
}
.seller-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  margin-right: auto;
  min-width: 110px;
}
.seller-meta small { font-size: 11px; color: var(--muted); }
.seller-meta b { font-size: 15px; color: #fff; }
.seller-cta { display: flex; gap: 8px; flex-wrap: wrap; }

.section-title { font-size: 15px; color: var(--accent-text); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ""; width: 10px; height: 10px; background: var(--grass); border: 2px solid var(--border); flex: none; }
.desc { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 14px; color: #e5decb; }

.location { display: grid; grid-template-columns: 1fr; gap: 10px; }
.coords { display: grid; grid-template-columns: repeat(3, 1fr); border: 3px solid var(--border); }
.coords div { padding: 8px; text-align: center; background: var(--input); border-right: 2px solid var(--line); }
.coords div:last-child { border-right: 0; }
.coords span { display: block; font-size: 11px; color: var(--muted); }
.coords b { font-weight: normal; font-size: 16px; }
.coords .cx b { color: #e0554b; } .coords .cy b { color: #5fbf3a; } .coords .cz b { color: #4a8ee8; }

.loc-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tp-cmd { flex: 1; min-width: 160px; padding: 8px 10px; background: var(--input); border: 2px solid var(--line); font-size: 13px; overflow-x: auto; white-space: nowrap; }

/* Soru & Yorumlar */
.qa-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 2px dashed var(--line);
}
.qa-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qa-form button { align-self: flex-end; }
.qa-list { display: flex; flex-direction: column; gap: 10px; }
.qa-empty { margin: 0; font-size: 13px; }
.qa-item {
  padding: 12px;
  background: var(--panel-2);
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qa-q { display: flex; gap: 10px; align-items: flex-start; }
.qa-body { flex: 1; min-width: 0; }
.qa-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; font-size: 13px; }
.qa-del { margin-left: auto; }
.qa-q p, .qa-a p { margin: 0; font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.qa-a {
  margin-left: 16px;
  padding: 10px 12px;
  background: var(--input);
  border-left: 3px solid var(--grass);
}
.qa-owner-tools { display: flex; flex-direction: column; gap: 8px; padding-left: 38px; }
.qa-reply-form { display: flex; gap: 8px; }
.qa-reply-form input { flex: 1; padding: 7px 10px; font-size: 13px; }

/* ---------- Giriş / Kayıt ---------- */
.auth { padding: 22px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 3px solid var(--border); margin-bottom: 18px; padding-right: 42px; }
.tab {
  padding: 10px;
  background: var(--input);
  border: 0;
  cursor: pointer;
  color: var(--muted);
}
.tab.active { background: var(--grass); color: #fff; text-shadow: 1px 1px 0 var(--grass-deep); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Onay ---------- */
.confirm { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.confirm h2 { font-size: 20px; }
.confirm p { margin: 0; color: var(--muted); font-size: 14px; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, .95);
  display: grid; place-items: center;
  cursor: zoom-out;
}
.lightbox img { max-width: 96vw; max-height: 92vh; max-height: 92dvh; border: 3px solid #000; object-fit: contain; cursor: default; }
.lb-close { position: absolute; top: 14px; right: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300;
  max-width: calc(100vw - 32px);
  background: #1e1e1e; color: #fff;
  border: 3px solid #000; box-shadow: var(--bevel), 0 6px 0 rgba(0,0,0,.4);
  padding: 10px 18px; font-size: 14px; text-align: center;
  animation: pop .2s;
}

/* ==========================================================
   MOBİL & TABLET UYUMLULUK
   ========================================================== */
@media (max-width: 1080px), (max-height: 650px) {
  .modal-box.wide {
    width: min(1000px, 98vw);
    height: auto;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
  }
  .modal-box.wide .modal-body {
    display: block;
    height: auto;
    overflow: visible;
  }
  .detail {
    display: block;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .gallery {
    border-right: 0;
    border-bottom: 3px solid var(--border);
    min-width: 0;
    height: auto;
  }
  .gallery-main {
    min-height: 240px;
    max-height: 58vh;
    aspect-ratio: 16 / 9;
    padding: 6px;
  }
  .gallery-main img {
    max-height: 56vh;
    object-fit: contain;
  }
  .info {
    overflow-y: visible;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .listings-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sidebar-filters {
    position: static;
  }
  .sidebar-filters .filter-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
  }
  .sidebar-filters .seg {
    grid-template-columns: repeat(4, 1fr);
  }
  .sidebar-filters .seg button:nth-child(2n) {
    border-right: 2px solid var(--line);
  }
  .sidebar-filters .seg button:last-child {
    border-right: 0;
  }
  .sidebar-filters .seg button:nth-last-child(-n+2) {
    border-bottom: 0;
  }
  .tool { flex: 1 1 180px; }
  .result-count { width: 100%; margin: 2px 0 0; text-align: right; }

  .chat {
    grid-template-columns: 1fr;
    height: calc(100dvh - 115px);
    min-height: 420px;
  }
  .conv-list { border-right: 0; }
  .chat:not(.thread-open) .thread { display: none; }
  .chat.thread-open .conv-list { display: none; }
  .thread-back { display: inline-flex; width: 34px; height: 34px; }
}

@media (max-width: 720px) {
  .hamburger { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: var(--dirt-dark);
    border-bottom: 4px solid var(--border);
    box-shadow: 0 8px 0 rgba(0,0,0,.45);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 2px solid var(--dirt-deep);
  }
  .nav-add-mobile { display: block; color: var(--grass-light) !important; font-weight: 700; }
  .brand { font-size: 18px; gap: 8px; }
  .brand-logo { height: 32px; }
  .user-name { display: none; }
  .user-btn { padding: 0 6px; }

  .form-grid, .form-grid.cols-3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 20px); }
  .topbar-inner { gap: 6px; height: 60px; }
  .add-btn { display: none; }
  .btn-icon { width: 38px; height: 38px; font-size: 16px; }
  .user-btn { height: 38px; }

  .notif-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    top: 66px;
    width: auto;
  }

  .hero { padding: 28px 0 22px; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { border-left: 0; border-top: 3px solid var(--border); width: 100%; }

  .tool { flex: 1 1 100%; min-width: 0; }
  .sidebar-filters .filter-body { grid-template-columns: 1fr; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .seg button:nth-child(2) { border-right: 0; }
  .seg button:nth-child(-n+2) { border-bottom: 2px solid var(--line); }

  .grid { grid-template-columns: 1fr; gap: 16px; }

  .modal { padding: 0; }
  .modal-box, .modal-box.wide, .modal-box.small {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-width: 0;
  }
  .gallery-main { min-height: 210px; max-height: 44vh; padding: 4px; }
  .gallery-main img { max-height: 42vh; object-fit: contain; }
  .gallery-nav { width: 36px; height: 44px; font-size: 20px; }
  .thumbs button { width: 84px; }
  .info { padding: 16px 14px 28px; }
  .seller-cta { width: 100%; }
  .seller-cta .btn { flex: 1; }
  .qa-owner-tools { padding-left: 0; }

  .page { padding: 18px 0 40px; }
  .chat { height: calc(100dvh - 88px); }
  .msg { max-width: 90%; }

  .form-section { padding: 16px 14px; }
  .form-actions .btn { flex: 1; }

  .map-page { padding: 10px 0 24px; width: 100%; }
  .map-container { height: calc(100dvh - 84px); min-height: 380px; border-width: 0; }
  .map-toolbar { padding: 8px 10px; gap: 8px; }
  .map-toolbar-actions { width: 100%; justify-content: flex-end; }
}

/* Harita Mod Seçici (Emlak vs Canlı) */
.map-mode-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
}
.map-mode-switcher .mode-btn {
  text-decoration: none;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #bbb;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  cursor: pointer;
}
.map-mode-switcher .mode-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.map-mode-switcher .mode-btn.active {
  background: #2e7d32;
  color: #fff;
  border-color: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
  font-weight: bold;
}
.map-mode-switcher #btnModeCanli.active {
  background: #b91c1c;
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}
@media (max-width: 768px) {
  .map-mode-switcher {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
    justify-content: flex-start;
  }
}

/* ================= DÜKKANLAR & OYUNCU PAZARLARI ================= */
.btn-warning {
  background: #d97706;
  color: #fff;
  border: 3px solid #000;
  box-shadow: inset 3px 3px 0 #f59e0b, inset -3px -3px 0 #92400e;
  text-shadow: 2px 2px 0 #78350f;
}
.btn-warning:hover:not(:disabled) {
  background: #f59e0b;
  color: #fff;
  border: 3px solid #000;
  box-shadow: inset 3px 3px 0 #fbbf24, inset -3px -3px 0 #b45309;
}
.btn-warning:active:not(:disabled) {
  box-shadow: inset -3px -3px 0 #fbbf24, inset 3px 3px 0 #92400e;
}
.btn-shop {
  margin-right: 6px;
}
.hero-search-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto;
}
.hero-search-wrapper .hero-search {
  flex: 1;
  max-width: 600px;
  margin: 0;
}
.hero-shop-btn {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .hero-search-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-search-wrapper .hero-search {
    max-width: 100%;
  }
}
.hero-actions-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.shop-card:hover, .shop-card:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 #b45309;
  outline: none;
}
.shop-card .badge {
  background: #d97706;
  text-shadow: 1px 1px 0 #78350f;
}
.shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #d97706;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border: 2px solid #000;
  text-transform: uppercase;
}
.thread-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.msg-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}
.msg-del-btn {
  background: transparent;
  border: none;
  color: #fca5a5;
  font-size: 12px;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.7;
  transition: opacity .15s;
}
.msg-del-btn:hover {
  opacity: 1;
  color: #ef4444;
}
.map-badge-clean {
  font-size: 12px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 10px;
}

/* ================= HESAP DOĞRULAMA MODAL (/link) ================= */
.link-modal-box {
  max-width: 440px;
  text-align: center;
  padding: 24px;
}
.link-sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.link-steps {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.link-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #ddd;
}
.link-step .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grass);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  flex-shrink: 0;
}
.link-step code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: #fbbf24;
  font-weight: bold;
  font-family: monospace;
}
.code-input {
  font-size: 26px !important;
  text-align: center !important;
  letter-spacing: 6px !important;
  font-family: monospace !important;
  font-weight: bold !important;
  color: #10b981 !important;
  background: #111 !important;
  border: 2px solid #333 !important;
  padding: 10px !important;
}
.code-input:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4) !important;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.unverified-warning {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
}

/* ==========================================================
   REHBER / KOMUTLAR & FİYATLAR
   Tema: Sunucu Toprak Arka Planı, Monocraft, SADECE TURUNCU Vurgu (#ff8800)
   ========================================================== */

.guide-view {
  background: transparent;
  min-height: calc(100vh - 76px);
  color: var(--text);
}

.guide-page {
  max-width: 1460px;
  width: min(1460px, 100% - 40px);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 36px;
  align-items: flex-start;
  position: relative;
}

/* Sol Kenar Çubuğu (Minecraft Toprak Teması, Translucent, Havada Duran Floating Sticky Panel) */
.guide-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 108px;
  height: -moz-fit-content;
  height: fit-content;
  max-height: calc(100vh - 140px);
  padding: 16px 18px 18px;
  width: 350px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  z-index: 20;
  background: rgba(22, 16, 11, 0.92);
  border: 2px solid rgba(255, 136, 0, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: 44px;
  border-radius: 4px;
}

.guide-brand {
  display: flex;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 136, 0, 0.25);
}

.guide-brand-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Numaralı Bölümler & Kayan Turuncu Marker */
.guide-secs {
  position: relative;
  overflow-y: auto;
  scrollbar-width: none;
  margin-top: 10px;
  flex: 1;
  padding-left: 18px;
}
.guide-secs::-webkit-scrollbar {
  display: none;
}

.guide-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
  will-change: transform;
  color: #ff8800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-groups-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-grp {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.guide-nav-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  padding: 1px 0;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 0.15s;
}
.guide-nav-link .n {
  font-size: 11px;
  font-family: monospace;
  color: #ff8800;
}
.guide-nav-link:hover {
  color: #ff8800;
}

.guide-grp ul {
  list-style: none;
  margin: 0;
  padding: 1px 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-sub-link {
  font-size: 12px;
  color: #82828e;
  text-decoration: none;
  padding: 1px 4px;
  border-radius: 2px;
  display: block;
  transition: color 0.15s, background 0.15s;
  line-height: 1.3;
  white-space: nowrap;
  overflow: visible;
}
.guide-sub-link:hover {
  color: #ffffff;
}
.guide-sub-link.active {
  color: #ff8800;
  background: rgba(255, 136, 0, 0.08);
  font-weight: 600;
}

/* Sağ Ana İçerik */
.guide-main {
  flex: 1;
  min-width: 0;
  padding: 44px 0 140px;
}

.guide-main-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.4vw, 36px);
  color: #ffffff;
  letter-spacing: -0.5px;
}

.guide-main-sub {
  margin: 0 0 40px;
  font-size: 15px;
  color: #a1a1aa;
  line-height: 1.6;
  max-width: 780px;
}

/* Bölüm Başlığı & Çizgi Ayrımı (İzometrik İstanbul Formatı) */
.guide-sec {
  scroll-margin-top: 80px;
  margin-bottom: 64px;
}

.guide-sec-h {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}
.guide-sec-h a {
  color: inherit;
  text-decoration: none;
}
.guide-sec-h::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  flex: 1;
  order: 2;
}
.guide-sec-h .guide-sec-num {
  font-size: 14px;
  font-family: monospace;
  font-weight: 700;
  color: #ff8800;
  order: 3;
}

.guide-lead {
  font-size: 14px;
  line-height: 1.7;
  color: #c4c4cc;
  margin-bottom: 24px;
}

.guide-text-block p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #c4c4cc;
}
.guide-text-block strong {
  color: #ffffff;
}

/* Bilgi ve Özellik Kutuları (Minecraft Koyu Transparan Zemin & Turuncu Çerçeve) */
.guide-feature-box {
  background: rgba(26, 19, 13, 0.94);
  border: 2px solid rgba(255, 136, 0, 0.3);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
  padding: 24px;
  margin: 24px 0;
  scroll-margin-top: 85px;
}

.guide-box-title {
  margin: 0 0 12px;
  font-size: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 136, 0, 0.25);
  padding-bottom: 8px;
}

.guide-pillars-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.guide-pillar-item {
  background: rgba(18, 13, 9, 0.95);
  border: 1px solid rgba(255, 136, 0, 0.22);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pillar-tag {
  font-size: 10px;
  font-family: monospace;
  color: #ff8800;
  letter-spacing: 1px;
}
.guide-pillar-item b {
  color: #ffffff;
  font-size: 14px;
}
.guide-pillar-item p {
  margin: 0;
  font-size: 12px;
  color: #a1a1aa;
  line-height: 1.5;
}

/* Komut Grupları & Satırları */
.guide-cmds-wrapper {
  margin-bottom: 28px;
  scroll-margin-top: 85px;
}
.guide-sub-h {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}
.guide-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: #a1a1aa;
}
.guide-cmd-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.guide-cmd-row {
  background: rgba(20, 14, 9, 0.94);
  border: 1px solid rgba(255, 136, 0, 0.22);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s, background 0.15s;
}
.guide-cmd-row:hover,
.guide-cmd-row.highlight-orange {
  border-color: rgba(255, 136, 0, 0.6);
  background: rgba(32, 22, 14, 0.96);
}
.cmd-pill {
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: #ff8800;
  background: #000000;
  border: 1px solid rgba(255, 136, 0, 0.3);
  padding: 4px 10px;
  align-self: flex-start;
  cursor: pointer;
  transition: all 0.15s;
}
.cmd-pill::after {
  content: " 📋";
  font-size: 11px;
  opacity: 0.6;
}
.cmd-pill:hover {
  background: #ff8800;
  color: #000000;
  border-color: #ff8800;
}
.cmd-alias {
  font-size: 11px;
  color: #71717a;
}
.cmd-info {
  margin: 2px 0 0;
  font-size: 13px;
  color: #d4d4d8;
  line-height: 1.5;
}
.cmd-info code {
  color: #ff8800;
  background: rgba(255, 136, 0, 0.1);
  padding: 1px 4px;
}

/* Fiyat Arama & Filtre Kutusu */
.guide-filter-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.guide-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 13, 9, 0.95);
  border: 2px solid rgba(255, 136, 0, 0.35);
  padding: 8px 14px;
}
.guide-search-row .search-ico {
  font-size: 15px;
  opacity: 0.8;
}
.guide-search-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
}
.guide-btn-clear {
  background: #27272a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}
.guide-btn-clear:hover {
  color: #ff8800;
  border-color: #ff8800;
}

.guide-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.guide-pill {
  padding: 6px 12px;
  font-size: 12px;
  background: rgba(28, 20, 14, 0.92);
  border: 1px solid rgba(255, 136, 0, 0.25);
  color: #a1a1aa;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.guide-pill:hover {
  color: #ffffff;
  border-color: #ff8800;
}
.guide-pill.active {
  background: #ff8800;
  color: #000000;
  font-weight: 700;
  border-color: #ff8800;
}

.guide-filter-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #71717a;
  padding: 0 2px;
}
.guide-live-status {
  color: #ff8800;
  font-weight: 600;
}

/* Fiyat Tablosu & minecraft.wiki Görselleri */
.guide-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 2px solid rgba(255, 136, 0, 0.35);
  background: rgba(22, 16, 11, 0.96);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
  margin-bottom: 24px;
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  min-width: 540px;
}
.guide-table thead {
  background: #140e09;
}
.guide-table th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ff8800;
  border-bottom: 2px solid #ff8800;
  text-transform: uppercase;
}
.guide-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #ece5d3;
  vertical-align: middle;
}
.guide-table tbody tr:hover {
  background: rgba(255, 136, 0, 0.07);
}

/* Item Wiki Image */
.item-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #ffffff;
}
.item-wiki-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.cat-pill {
  display: inline-block;
  padding: 2px 7px;
  font-size: 11px;
  background: rgba(35, 25, 17, 0.9);
  border: 1px solid rgba(255, 136, 0, 0.2);
  color: #d4d4d8;
}

.price-orange {
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  color: #ff8800;
}
.stack-white {
  font-family: monospace;
  font-size: 13px;
  color: #ffffff;
}

/* Oyun İçi Tooltip Simülasyonu */
.guide-tooltip-demo {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 14px 0 10px;
}
.mc-tt-box {
  background: #141416;
  border: 1px solid rgba(255, 136, 0, 0.4);
  box-shadow: 0 0 12px rgba(255, 136, 0, 0.08);
  padding: 8px 12px;
  min-width: 170px;
}
.tt-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
}
.tt-price {
  color: #ff8800;
  font-size: 12px;
  font-weight: 700;
}
.guide-hint {
  font-size: 12px;
  color: #a1a1aa;
  margin: 6px 0 0;
}

/* 5 Adımlı Akış */
.guide-steps-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guide-step-row {
  display: flex;
  gap: 18px;
  padding: 18px;
  background: rgba(24, 18, 12, 0.94);
  border: 2px solid rgba(255, 136, 0, 0.25);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
  scroll-margin-top: 85px;
}
.step-num-pill {
  flex: none;
  background: #ff8800;
  color: #000000;
  font-weight: 700;
  font-size: 11px;
  height: 28px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-detail h4 {
  margin: 0;
  font-size: 15px;
  color: #ffffff;
}
.step-detail p {
  margin: 0;
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.55;
}
.step-subhint {
  font-size: 12px;
  color: #ff8800;
  margin-top: 2px;
}

/* Mobil Bölüm Menüsü (Yalnızca Mobilde Görünür) */
.guide-mobile-nav {
  display: none;
}

/* Responsive / Mobil Uyarlama */
@media (max-width: 1024px) {
  .guide-page {
    padding: 0 16px;
    gap: 20px;
  }
  .guide-nav {
    width: 290px;
  }
}

@media (max-width: 820px) {
  .guide-page {
    flex-direction: column;
    padding: 0 12px;
    gap: 14px;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: clip;
  }
  .guide-nav {
    display: none !important; /* Mobilde kaba kenar çubuğunu gizle */
  }
  .guide-mobile-nav {
    display: block;
    position: sticky;
    top: 68px;
    z-index: 45;
    background: rgba(22, 16, 11, 0.96);
    border: 2px solid rgba(255, 136, 0, 0.35);
    border-top: none;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    padding: 8px 10px;
    margin: 0 -12px 14px;
    width: calc(100% + 24px);
    max-width: calc(100% + 24px);
    box-sizing: border-box;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    touch-action: pan-x;
  }
  .guide-mobile-scroll {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    padding: 2px 4px;
    user-select: none;
    -webkit-user-select: none;
  }
  .guide-mobile-scroll::-webkit-scrollbar {
    display: none;
  }
  .guide-m-tab {
    flex: none;
    background: #17110b;
    border: 2px solid rgba(255, 136, 0, 0.25);
    color: #ece5d3;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .guide-m-tab:hover {
    border-color: #ff8800;
  }
  .guide-m-tab.active {
    background: #ff8800;
    color: #000000;
    border-color: #ff8800;
    box-shadow: 0 2px 6px rgba(255, 136, 0, 0.4);
  }
  .guide-main {
    padding: 12px 0 90px;
    width: 100%;
  }
  .guide-sec {
    scroll-margin-top: 130px;
    margin-bottom: 44px;
  }
  .guide-cmds-wrapper,
  .guide-feature-box,
  .guide-step-row {
    scroll-margin-top: 130px;
  }
  .guide-step-row {
    flex-direction: column;
    gap: 10px;
  }
  .step-num-pill {
    align-self: flex-start;
  }
  .guide-table {
    min-width: 480px;
  }
}
