/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #141414;
  --bg4: #1a1a1a;
  --border: #222;
  --border-red: #cc0000;
  --red: #cc0000;
  --red-light: #ff2222;
  --red-glow: rgba(204,0,0,0.15);
  --text: #d4d4d4;
  --text-dim: #777;
  --text-bright: #f0f0f0;
  --mono: 'Share Tech Mono', monospace;
  --sans: 'Rajdhani', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 15px; min-height: 100vh; display: flex; flex-direction: column; }

/* ===== SİNEMATİK TEMA — sabit tam ekran video arkaplan (2. tema, admin ayarlarından açılır) ===== */
.theme-cinema-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #000; }
.theme-cinema-bg video { width: 100%; height: 100%; object-fit: cover; }
.theme-cinema-bg-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.65); }

a { color: var(--red-light); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ===== NAVBAR ===== */
.navbar { background: rgba(8,8,8,0.97); border-bottom: 1px solid var(--border-red); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(8px); }
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 20px; min-height: 82px; flex-wrap: wrap; }
.nav-logo { font-family: var(--mono); font-size: 1.2rem; color: var(--text-bright); letter-spacing: 2px; white-space: nowrap; }
.logo-bracket { color: var(--text-dim); }
.logo-red { color: var(--red); }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-link { color: var(--text-dim); padding: 6px 12px; border-radius: 3px; font-family: var(--mono); font-size: .82rem; transition: all .2s; letter-spacing: .5px; }
.nav-link:hover, .nav-link.active { color: var(--red-light); background: var(--red-glow); }
.nav-divider { width: 1px; height: 24px; background: var(--border); margin: 0 6px; }
.nav-wallet { background: var(--bg4); border: 1px solid var(--border-red); color: #fff; padding: 5px 14px; border-radius: 3px; font-family: var(--mono); font-size: .85rem; display: flex; align-items: center; gap: 6px; transition: all .2s; }
.nav-wallet:hover { background: var(--red-glow); border-color: var(--red-light); color: #fff; }
.nav-cart-btn { position: relative; display: flex; align-items: center; justify-content: center; background: var(--bg4); border: 1px solid var(--border); color: #fff; width: 36px; height: 34px; border-radius: 3px; font-size: 1rem; transition: all .2s; text-decoration: none; }
.nav-cart-btn:hover, .nav-cart-btn.active { border-color: var(--red-light); background: var(--red-glow); }
.nav-cart-count { position: absolute; top: -5px; right: -6px; background: var(--red); color: #fff; font-size: .58rem; font-weight: 700; font-family: var(--mono); min-width: 16px; height: 16px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 3px; }
.wallet-icon { color: var(--red); font-size: 1rem; }
.nav-user { position: relative; }
.nav-username { color: var(--text); padding: 6px 12px; cursor: pointer; font-family: var(--mono); font-size: .82rem; display: block; border-radius: 3px; transition: all .2s; }
.nav-username:hover { color: #fff; background: var(--bg4); }
.nav-dropdown { display: none; position: absolute; right: 0; top: 100%; background: var(--bg3); border: 1px solid var(--border-red); border-radius: 4px; min-width: 160px; z-index: 999; overflow: hidden; }
.nav-user:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 10px 16px; color: var(--text); font-size: .88rem; transition: all .2s; }
.nav-dropdown a:hover { background: var(--red-glow); color: var(--red-light); }
.dropdown-logout { color: var(--red) !important; border-top: 1px solid var(--border); }
.btn-nav-register { background: var(--red); color: #fff; padding: 6px 16px; border-radius: 3px; font-family: var(--sans); font-weight: 600; font-size: .9rem; letter-spacing: .5px; transition: all .2s; }
.btn-nav-register:hover { background: var(--red-light); color: #fff; box-shadow: 0 0 12px rgba(204,0,0,.4); }
.nav-toggle { display: none; }
.nav-mobile-profile { display: none; position: relative; margin-left: auto; }
.nav-mobile-avatar { position: relative; cursor: pointer; display: inline-flex; }
.nav-mobile-avatar .nav-avatar { width: 34px; height: 34px; border-radius: 50%; border: none; box-shadow: none; }
.nav-bell-dot { position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; background: var(--red); border-radius: 50%; border: 2px solid var(--bg); }
.nav-cart-badge { position: absolute; top: -4px; left: -6px; background: var(--red); color: #fff; font-size: .55rem; font-weight: 700; min-width: 14px; height: 14px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 3px; }

/* Mobile dropdown */
.nav-mobile-dropdown { display: none; position: fixed; right: 8px; top: 60px; background: var(--bg2); border: 1px solid var(--border-red); border-radius: 12px; width: 240px; max-height: calc(100vh - 80px); overflow-y: auto; z-index: 1200; box-shadow: 0 12px 40px rgba(0,0,0,.8); }
.nav-mobile-dropdown.open { display: block; animation: toastIn .22s ease; }
.nmd-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #0a0a0a; border-bottom: 1px solid var(--border-red); position: sticky; top: 0; }
.nmd-av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; }
.nmd-info { flex: 1; min-width: 0; }
.nmd-name { color: #fff; font-weight: 700; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmd-balance { color: #f5b21a; font-family: var(--mono); font-size: .82rem; margin-top: 2px; display: flex; align-items: center; gap: 8px; }
.nmd-topup { background: rgba(204,0,0,.15); color: var(--red-light); border: 1px solid rgba(204,0,0,.3); border-radius: 10px; font-size: .65rem; font-family: var(--mono); padding: 1px 7px; font-weight: 700; }
.nmd-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; color: var(--text); font-size: .86rem; transition: background .12s; border-bottom: 1px solid rgba(255,255,255,.04); }
.nmd-link:hover { background: var(--bg4); color: #fff; }
.nmd-badge { background: var(--red); color: #fff; font-size: .6rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.nmd-logout { color: var(--red-light) !important; border-top: 1px solid rgba(204,0,0,.2); }

/* nav-link-create */
.nav-link-create { color: var(--red-light) !important; font-weight: 700; }
.nav-link-create:hover { color: #fff !important; }

/* ===== MAIN ===== */
.main-content { flex: 1; max-width: 1280px; width: 100%; margin: 0 auto; padding: 24px 20px; }

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container { position: fixed; bottom: 80px; right: 16px; z-index: 9500; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 10px; font-size: .9rem; font-weight: 500; min-width: 260px; max-width: 360px; pointer-events: all; box-shadow: 0 8px 32px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.3); animation: toastIn .32s cubic-bezier(.16,1,.3,1); backdrop-filter: blur(8px); }
.toast.hide { animation: toastOut .28s ease forwards; }
.toast-error { background: rgba(20,4,4,.95); border: 1px solid rgba(204,0,0,.55); color: #ff7777; }
.toast-success { background: rgba(4,18,8,.95); border: 1px solid rgba(0,170,51,.55); color: #44ff88; }
.toast-icon { font-size: 1rem; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 800; }
.toast-error .toast-icon { background: rgba(204,0,0,.2); color: var(--red-light); }
.toast-success .toast-icon { background: rgba(0,170,51,.2); color: #44ff88; }
.toast-msg { flex: 1; line-height: 1.4; }
.toast-close { background: none; border: none; color: inherit; opacity: .5; cursor: pointer; font-size: 1.1rem; padding: 0 0 0 4px; line-height: 1; transition: opacity .15s; }
.toast-close:hover { opacity: 1; }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px) scale(.95); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(60px) scale(.92); } }

/* Legacy flash (kept for backwards compat) */
.flash { padding: 12px 20px; border-radius: 4px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; font-weight: 500; font-size: .92rem; }
.flash-error { background: rgba(180,0,0,.12); border: 1px solid #cc0000; color: #ff6666; }
.flash-success { background: rgba(0,180,50,.1); border: 1px solid #00aa33; color: #44ff77; }
.flash-close { cursor: pointer; font-size: 1.2rem; opacity: .6; margin-left: 12px; }
.flash-close:hover { opacity: 1; }

/* ===== CARDS ===== */
.card { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 24px; transition: border-color .2s; }
.card:hover { border-color: #2a2a2a; }
.card-red { border-color: var(--border-red); }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--text-bright); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; letter-spacing: .5px; }
.card-title::before { content: '//'; color: var(--red); font-family: var(--mono); font-size: .9rem; }

/* ===== LISTING GRID ===== */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.listing-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.listing-card:hover { border-color: var(--border-red); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 1px rgba(204,0,0,.1); }
.listing-img { height: 180px; background: var(--bg4); overflow: hidden; position: relative; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.listing-card:hover .listing-img img { opacity: 1; }
.listing-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--border-red); font-family: var(--mono); }
.listing-type-badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.8); border: 1px solid var(--border-red); color: var(--red-light); font-family: var(--mono); font-size: .72rem; padding: 3px 8px; border-radius: 3px; letter-spacing: 1px; text-transform: uppercase; }
.listing-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.listing-cat { color: var(--text-dim); font-size: .78rem; font-family: var(--mono); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.listing-title { color: var(--text-bright); font-size: 1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-desc { color: var(--text-dim); font-size: .85rem; line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.listing-price { color: var(--red-light); font-family: var(--mono); font-size: 1.1rem; font-weight: 700; }
.listing-seller { color: var(--text-dim); font-size: .78rem; }
.listing-views { color: var(--text-dim); font-size: .75rem; font-family: var(--mono); }

/* ===== SIDEBAR ===== */
.layout-with-sidebar { display: grid; grid-template-columns: 240px 1fr; gap: 20px; }
.sidebar { display: flex; flex-direction: column; gap: 12px; }
.sidebar-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.sidebar-title { padding: 12px 16px; font-family: var(--mono); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); border-bottom: 1px solid var(--border); background: var(--bg3); }
.sidebar-list { list-style: none; }
.sidebar-list li a { display: block; padding: 9px 16px; color: var(--text); font-size: .88rem; border-bottom: 1px solid var(--bg4); transition: all .2s; }
.sidebar-list li a:hover, .sidebar-list li a.active { color: var(--red-light); background: var(--red-glow); padding-left: 20px; }
.filter-group { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.filter-label { color: var(--text-dim); font-size: .75rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.filter-btn { display: block; width: 100%; padding: 6px 10px; margin-bottom: 4px; background: var(--bg3); border: 1px solid var(--border); color: var(--text); border-radius: 3px; text-align: left; font-size: .85rem; cursor: pointer; transition: all .2s; text-decoration: none; }
.filter-btn:hover, .filter-btn.active { border-color: var(--border-red); color: var(--red-light); background: var(--red-glow); }

/* ===== SEARCH ===== */
.search-bar { display: flex; gap: 8px; margin-bottom: 20px; }
.search-input { flex: 1; background: var(--bg2); border: 1px solid var(--border); color: var(--text-bright); padding: 10px 16px; border-radius: 4px; font-size: .95rem; font-family: var(--sans); outline: none; transition: border-color .2s; }
.search-input:focus { border-color: var(--border-red); }
.search-input::placeholder { color: var(--text-dim); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border-radius: 4px; font-weight: 600; font-size: .92rem; cursor: pointer; border: none; transition: all .2s; letter-spacing: .3px; text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-light); box-shadow: 0 0 16px rgba(204,0,0,.4); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border-red); color: var(--red-light); }
.btn-outline:hover { background: var(--red-glow); color: #fff; }
.btn-ghost { background: var(--bg3); border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-dim); color: var(--text-bright); }
.btn-danger { background: #660000; border: 1px solid #880000; color: #ff8888; }
.btn-danger:hover { background: #880000; }
.btn-success { background: #004422; border: 1px solid #006633; color: #44ff88; }
.btn-success:hover { background: #006633; }
.btn-sm { padding: 5px 12px; font-size: .82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; color: var(--text-dim); font-size: .82rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.form-control { width: 100%; background: var(--bg3); border: 1px solid var(--border); color: var(--text-bright); padding: 10px 14px; border-radius: 4px; font-size: .95rem; font-family: var(--sans); outline: none; transition: border-color .2s; }
.form-control:focus { border-color: var(--border-red); box-shadow: 0 0 0 2px var(--red-glow); }
.form-control::placeholder { color: #444; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-hint { color: var(--text-dim); font-size: .78rem; margin-top: 4px; }
.form-error { color: #ff4444; font-size: .8rem; margin-top: 4px; }

/* ===== AUTH PAGES ===== */
.auth-wrap { max-width: 440px; margin: 40px auto; }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-logo { font-family: var(--mono); font-size: 1.6rem; color: var(--text-bright); letter-spacing: 3px; }
.auth-logo span { color: var(--red); }
.auth-subtitle { color: var(--text-dim); font-size: .9rem; margin-top: 8px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-dim); font-size: .82rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-link { text-align: center; margin-top: 20px; color: var(--text-dim); font-size: .88rem; }

/* ===== LISTING DETAIL ===== */
.listing-detail { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.listing-images { display: grid; grid-template-columns: 1fr; gap: 8px; }
.listing-main-img { width: 100%; border-radius: 6px; border: 1px solid var(--border); background: var(--bg4); overflow: hidden; max-height: 400px; }
.listing-main-img img { width: 100%; height: 100%; object-fit: contain; }
.listing-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.listing-thumb { width: 70px; height: 70px; border-radius: 4px; border: 1px solid var(--border); overflow: hidden; cursor: pointer; transition: border-color .2s; }
.listing-thumb:hover, .listing-thumb.active { border-color: var(--border-red); }
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-info-title { font-size: 1.5rem; font-weight: 700; color: var(--text-bright); margin-bottom: 12px; line-height: 1.3; }
.listing-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.listing-meta-item { color: var(--text-dim); font-size: .82rem; font-family: var(--mono); display: flex; align-items: center; gap: 6px; }
.listing-meta-item span { color: var(--text); }
.listing-desc-full { color: var(--text); line-height: 1.7; font-size: .95rem; white-space: pre-line; }
.buy-box { background: var(--bg2); border: 1px solid var(--border-red); border-radius: 6px; padding: 20px; position: sticky; top: 124px; }
.buy-price { font-family: var(--mono); font-size: 2rem; color: var(--red-light); font-weight: 700; margin-bottom: 4px; }
.buy-seller { color: var(--text-dim); font-size: .85rem; margin-bottom: 20px; }
.buy-seller a { color: var(--text); }
.delivery-info { background: var(--bg4); border: 1px solid var(--border); border-radius: 4px; padding: 12px; color: var(--text-dim); font-size: .82rem; font-family: var(--mono); line-height: 1.6; margin-bottom: 14px; }
.delivery-info strong { color: var(--red); display: block; margin-bottom: 6px; }

/* ===== STATS/BADGES ===== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s; }
.stat-card:hover { border-color: var(--border-red); }
.stat-label { color: var(--text-dim); font-size: .75rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 1px; }
.stat-value { color: var(--text-bright); font-size: 1.5rem; font-weight: 700; font-family: var(--mono); }
.stat-value.red { color: var(--red-light); }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--bg3); }
thead th { padding: 10px 14px; text-align: left; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--red); border-bottom: 1px solid var(--border-red); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--bg4); transition: background .15s; }
tbody tr:hover { background: var(--bg3); }
tbody td { padding: 10px 14px; font-size: .88rem; color: var(--text); vertical-align: middle; }

/* ===== STATUS BADGES ===== */
.badge { display: inline-block; padding: 3px 10px; border-radius: 3px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; }
.badge-active { background: rgba(0,180,50,.12); border: 1px solid #006633; color: #44ff77; }
.badge-pending { background: rgba(180,120,0,.12); border: 1px solid #886600; color: #ffcc44; }
.badge-sold { background: rgba(100,100,100,.12); border: 1px solid #444; color: #888; }
.badge-delivered { background: rgba(0,100,200,.12); border: 1px solid #004488; color: #4499ff; }
.badge-completed { background: rgba(0,180,50,.12); border: 1px solid #006633; color: #44ff77; }
.badge-disputed { background: rgba(180,0,0,.15); border: 1px solid #880000; color: #ff4444; }
.badge-rejected { background: rgba(100,0,0,.12); border: 1px solid #660000; color: #ff6666; }
.badge-refunded { background: rgba(100,50,180,.12); border: 1px solid #442288; color: #aa88ff; }

/* ===== WALLET ===== */
.wallet-balance { text-align: center; padding: 32px; background: var(--bg2); border: 1px solid var(--border-red); border-radius: 6px; margin-bottom: 24px; }
.wallet-balance-label { color: var(--text-dim); font-family: var(--mono); font-size: .82rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.wallet-balance-amount { font-family: var(--mono); font-size: 2.8rem; color: var(--red-light); font-weight: 700; text-shadow: 0 0 20px rgba(204,0,0,.3); }
.wallet-balance-sub { color: var(--text-dim); font-size: .85rem; margin-top: 8px; }

/* ===== ORDER DETAIL ===== */
.order-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.order-info-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--bg4); font-size: .9rem; }
.order-info-row:last-child { border: none; }
.order-info-label { color: var(--text-dim); }
.order-info-value { color: var(--text-bright); font-family: var(--mono); }
.escrow-timer { background: rgba(180,120,0,.08); border: 1px solid #886600; border-radius: 4px; padding: 10px 14px; text-align: center; font-family: var(--mono); font-size: .82rem; color: #ffcc44; margin-bottom: 14px; }

/* ===== SUPPORT ===== */
.ticket-list { display: flex; flex-direction: column; gap: 8px; }
.ticket-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; transition: border-color .2s; text-decoration: none; }
.ticket-item:hover { border-color: var(--border-red); }
.ticket-subject { flex: 1; color: var(--text-bright); font-size: .95rem; }
.ticket-meta { color: var(--text-dim); font-size: .78rem; font-family: var(--mono); }
.chat-wrap { display: flex; flex-direction: column; gap: 12px; max-height: 500px; overflow-y: auto; padding: 4px; }
.chat-msg { max-width: 80%; padding: 10px 16px; border-radius: 6px; font-size: .9rem; line-height: 1.6; }
.chat-msg.user { background: var(--bg4); border: 1px solid var(--border); align-self: flex-end; color: var(--text); }
.chat-msg.admin { background: rgba(204,0,0,.1); border: 1px solid rgba(204,0,0,.3); align-self: flex-start; color: var(--text-bright); }
.chat-msg-meta { font-size: .72rem; color: var(--text-dim); margin-top: 4px; font-family: var(--mono); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.page-btn { padding: 7px 13px; background: var(--bg2); border: 1px solid var(--border); border-radius: 4px; color: var(--text); font-family: var(--mono); font-size: .85rem; cursor: pointer; transition: all .2s; text-decoration: none; }
.page-btn:hover, .page-btn.active { border-color: var(--border-red); color: var(--red-light); background: var(--red-glow); }

/* ===== REFERRAL BOX ===== */
.ref-box { background: var(--bg4); border: 1px solid var(--border); border-radius: 4px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.ref-code { font-family: var(--mono); font-size: 1.1rem; color: var(--red-light); letter-spacing: 2px; flex: 1; }
.ref-copy { cursor: pointer; color: var(--text-dim); transition: color .2s; background: none; border: none; font-size: .8rem; font-family: var(--mono); }
.ref-copy:hover { color: var(--red-light); }

/* ===== SECTION TITLE ===== */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.section-title { font-size: 1.2rem; font-weight: 700; color: var(--text-bright); display: flex; align-items: center; gap: 10px; }
.section-title::before { content: '>>'; color: var(--red); font-family: var(--mono); font-size: .9rem; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 3rem; color: var(--border-red); opacity: .5; margin-bottom: 16px; font-family: var(--mono); }
.empty-text { color: var(--text-dim); font-size: 1rem; }

/* ===== FOOTER ===== */
.footer { background: var(--bg2); border-top: 1px solid var(--border-red); margin-top: 40px; padding: 24px 20px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-logo { font-family: var(--mono); font-size: 1rem; color: var(--text-dim); letter-spacing: 2px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-dim); font-size: .85rem; }
.footer-links a:hover { color: var(--red-light); }
.footer-copy { color: #333; font-size: .78rem; }

/* ===== MAINTENANCE ===== */
.maintenance { position: fixed; inset: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.maintenance-box { text-align: center; border: 1px solid var(--border-red); padding: 60px 40px; border-radius: 8px; }
.maintenance-box h1 { font-family: var(--mono); font-size: 2rem; color: var(--red); letter-spacing: 4px; margin-bottom: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .listing-detail { grid-template-columns: 1fr; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; flex-wrap: wrap; }
  .buy-box { position: static; }
}
@media (max-width: 700px) {
  /* Navbar: logo solda, avatar sağda */
  .nav-inner { flex-wrap: nowrap; justify-content: space-between; position: relative; min-height: 58px; padding: 0 14px; }
  .nav-logo { position: static; transform: none; }
  .nav-logo-img { border: none !important; box-shadow: none !important; width: auto; height: 38px; }
  .nav-menu { display: none !important; }
  .nav-mobile-profile { display: block; }
  /* Ticker top override — base .ticker-bar sonraki satırlarda olduğu için
     bu kural orada override edilir; asıl fix dosya sonundaki media query'de. */
  .listing-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .wallet-balance-amount { font-size: 2rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .main-content { padding: 14px 12px; }
  .listing-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { margin: 20px auto; }
}

/* ===== PAGE TRANSITION LOADER ===== */
.page-loader { position: fixed; inset: 0; z-index: 99999; background: #060606; display: flex; align-items: center; justify-content: center; transition: opacity .5s ease, visibility .5s; }
.page-loader.hide { opacity: 0 !important; visibility: hidden !important; pointer-events: none; }
.page-loader.active { opacity: 1; visibility: visible; }
.loader-inner { text-align: center; }
.loader-logo { font-family: var(--mono); font-size: 3rem; color: #fff; letter-spacing: 4px; margin-bottom: 24px; animation: loaderPulse 1.2s ease infinite; }
.loader-logo span { color: var(--red); text-shadow: 0 0 24px rgba(204,0,0,.7); }
@keyframes loaderPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .7; } }
.loader-bar { width: 200px; height: 3px; background: var(--bg4); border-radius: 3px; overflow: hidden; margin: 0 auto 16px; }
.loader-bar-fill { height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--red), var(--red-light)); border-radius: 3px; animation: loaderSlide 1.1s ease infinite; }
@keyframes loaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
.loader-text { font-family: var(--mono); font-size: .76rem; color: var(--text-dim); letter-spacing: 2px; }
.loader-dots::after { content: ''; animation: loaderDots 1.4s steps(4) infinite; }
@keyframes loaderDots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

/* Page fade-in on load */
.page-fade { animation: pageFadeIn .5s ease; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ===== LIVE SUPPORT WIDGET ===== */
.support-widget { position: fixed; right: 22px; bottom: 22px; z-index: 9000; }
.support-fab { position: relative; width: 62px; height: 62px; border-radius: 50%; border: none; background: linear-gradient(135deg, var(--red), #880000); color: #fff; cursor: pointer; box-shadow: 0 8px 28px rgba(204,0,0,.45); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.support-fab:hover { transform: scale(1.08); box-shadow: 0 10px 36px rgba(204,0,0,.6); }
.support-fab-icon { position: absolute; font-size: 1.5rem; transition: all .3s; }
.support-fab-x { opacity: 0; transform: rotate(-90deg) scale(.5); font-size: 1.9rem; }
.support-widget.open .support-fab-chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.support-widget.open .support-fab-x { opacity: 1; transform: rotate(0) scale(1); }
.support-fab-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); animation: supportPulse 2s ease infinite; }
@keyframes supportPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.support-widget.open .support-fab-pulse { display: none; }

.support-panel { position: absolute; bottom: 78px; right: 0; width: 340px; max-width: calc(100vw - 44px); background: var(--bg2); border: 1px solid var(--border-red); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.96); transform-origin: bottom right; transition: all .3s cubic-bezier(.16,1,.3,1); }
.support-widget.open .support-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.support-head { background: linear-gradient(135deg, #1a0505, #0f0303); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-red); }
.support-head-info { display: flex; align-items: center; gap: 12px; }
.support-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #660000); display: flex; align-items: center; justify-content: center; position: relative; font-family: var(--mono); }
.support-avatar::before { content: '◈'; color: #fff; font-size: 1.2rem; }
.support-status-dot { position: absolute; bottom: 1px; right: 1px; width: 11px; height: 11px; border-radius: 50%; background: #44ff77; border: 2px solid var(--bg2); box-shadow: 0 0 6px #44ff77; }
.support-title { color: #fff; font-weight: 700; font-size: 1rem; }
.support-online { color: #44ff77; font-size: .72rem; font-family: var(--mono); margin-top: 2px; }
.support-close { background: none; border: none; color: var(--text-dim); font-size: 1.5rem; cursor: pointer; line-height: 1; transition: color .2s; }
.support-close:hover { color: #fff; }
.support-body { padding: 18px; }
.support-bubble { background: var(--bg4); border: 1px solid var(--border); border-radius: 4px 12px 12px 12px; padding: 12px 14px; color: var(--text); font-size: .9rem; line-height: 1.55; margin-bottom: 16px; animation: fadeUp .4s ease; }
.support-options { display: flex; flex-direction: column; gap: 10px; }
.support-opt { display: flex; align-items: center; gap: 12px; background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 13px 14px; transition: all .2s; cursor: pointer; width: 100%; text-align: left; }
.support-opt:hover, button.support-opt:hover { border-color: var(--border-red); background: rgba(204,0,0,.06); transform: translateX(3px); }
.support-opt-tg { background: linear-gradient(135deg, rgba(40,160,235,.12), var(--bg3)); border-color: rgba(40,160,235,.35); }
.support-opt-tg:hover { border-color: #29a0eb; background: rgba(40,160,235,.16); }
.support-opt-icon { font-size: 1.3rem; flex-shrink: 0; width: 24px; text-align: center; }
.support-opt span:nth-child(2), .support-opt > span:not(.support-opt-icon):not(.support-opt-arrow) { flex: 1; display: flex; flex-direction: column; }
.support-opt strong { color: var(--text-bright); font-size: .9rem; }
.support-opt small { color: var(--text-dim); font-size: .76rem; margin-top: 1px; }
.support-opt-arrow { color: var(--text-dim); transition: transform .2s; }
.support-opt:hover .support-opt-arrow { transform: translateX(3px); color: var(--red-light); }
.support-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: .74rem; line-height: 1.5; text-align: center; }
.support-foot strong { color: var(--red-light); }
.sw-screen { display: block; }
@keyframes swPulse { 0%,100% { opacity:.3; transform:scale(.8); } 50% { opacity:1; transform:scale(1); } }

@media (max-width: 700px) {
  .support-widget { right: 16px; bottom: 73px; }
  .support-fab { width: 56px; height: 56px; }
  .support-panel { bottom: 70px; width: calc(100vw - 32px); }
}
@media (min-width: 701px) {
  .support-widget { right: 16px; bottom: 16px; }
}

/* ===== CAMPAIGN CAROUSEL ===== */
.campaign-carousel { position: relative; border-radius: 16px; overflow: hidden; margin-bottom: 22px; border: 1px solid var(--border-red); box-shadow: 0 14px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(204,0,0,.06), inset 0 1px 0 rgba(255,255,255,.04); }
.campaign-track { display: flex; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.campaign-slide { min-width: 100%; min-height: 250px; padding: 44px 56px 52px; display: flex; align-items: center; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.campaign-slide::before { content:''; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 34px 34px; pointer-events:none; z-index:1; mask-image: radial-gradient(ellipse at 20% 50%, rgba(0,0,0,.9), transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 20% 50%, rgba(0,0,0,.9), transparent 75%); }
.campaign-slide::after { content:''; position:absolute; left:0; right:0; bottom:0; height:70px; background: linear-gradient(transparent, rgba(0,0,0,.45)); pointer-events:none; z-index:1; }
.campaign-slide.theme-red { background: linear-gradient(110deg, #1a0505 0%, #2a0808 50%, #0a0a0a 100%); }
.campaign-slide.theme-crimson { background: linear-gradient(110deg, #200404 0%, #3a0a0a 45%, #0d0303 100%); }
.campaign-slide.theme-dark { background: linear-gradient(110deg, #0a0a0a 0%, #141414 50%, #050505 100%); }
.campaign-slide.theme-gold { background: linear-gradient(110deg, #1a1205 0%, #2a1f08 45%, #0a0a0a 100%); }
.campaign-content { position: relative; z-index: 2; max-width: 600px; opacity: 0; transform: translateY(14px); transition: opacity .55s ease .15s, transform .55s ease .15s; }
.campaign-slide.active .campaign-content { opacity: 1; transform: translateY(0); }
.campaign-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--red), #7a0000); padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; box-shadow: 0 4px 18px rgba(204,0,0,.45), inset 0 1px 0 rgba(255,255,255,.15); }
.campaign-badge::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: cpPulse 1.6s ease-in-out infinite; }
@keyframes cpPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
.theme-gold .campaign-badge { background: linear-gradient(135deg, #e0b45a, #8a5f10); box-shadow: 0 4px 18px rgba(199,154,58,.45); color: #1a1205; }
.theme-gold .campaign-badge::before { background: #1a1205; }
.campaign-title { font-size: clamp(1.5rem, 3.6vw, 2.35rem); font-weight: 700; color: #fff; line-height: 1.12; margin-bottom: 12px; letter-spacing: -.5px; text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.campaign-sub { color: var(--text); font-size: clamp(.9rem, 2vw, 1.05rem); line-height: 1.55; margin-bottom: 22px; max-width: 500px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.campaign-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0a0a0a; padding: 12px 26px; border-radius: 8px; font-weight: 700; font-size: .92rem; transition: all .25s; box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.campaign-btn:hover { background: var(--red); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(204,0,0,.4); }
.campaign-btn span { transition: transform .25s; }
.campaign-btn:hover span { transform: translateX(4px); }
.campaign-deco { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(204,0,0,.28), transparent 62%); z-index: 1; animation: cpFloat 7s ease-in-out infinite; }
.campaign-deco::after { content:''; position:absolute; left:-130px; bottom:-40px; width:200px; height:200px; border-radius:50%; background: radial-gradient(circle, rgba(204,0,0,.14), transparent 65%); }
@keyframes cpFloat { 0%,100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-56%) scale(1.06); } }
.theme-gold .campaign-deco { background: radial-gradient(circle, rgba(199,154,58,.24), transparent 62%); }
.campaign-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: rgba(10,10,10,.55); backdrop-filter: blur(6px); border: 1px solid var(--border-red); color: #fff; cursor: pointer; font-size: 1rem; transition: all .22s; display: flex; align-items: center; justify-content: center; opacity: .55; }
.campaign-carousel:hover .campaign-nav { opacity: 1; }
.campaign-nav:hover { background: var(--red); border-color: var(--red); box-shadow: 0 0 18px rgba(204,0,0,.5); }
.campaign-prev { left: 16px; } .campaign-next { right: 16px; }
.campaign-dots { position: absolute; bottom: 18px; left: 56px; display: flex; align-items: center; gap: 8px; z-index: 5; }
.campaign-dot { width: 26px; height: 5px; border-radius: 3px; border: none; background: rgba(255,255,255,.22); cursor: pointer; transition: all .3s; padding: 0; position: relative; overflow: hidden; }
.campaign-dot:hover { background: rgba(255,255,255,.4); }
.campaign-dot.active { background: rgba(255,255,255,.18); width: 44px; }
.campaign-dot.active::after { content:''; position:absolute; inset:0; background: linear-gradient(90deg, var(--red), #ff4444); border-radius: 3px; transform-origin: left; animation: cpProgress 5s linear forwards; }
@keyframes cpProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.campaign-counter { position: absolute; bottom: 16px; right: 20px; z-index: 5; font-family: var(--mono); font-size: .68rem; letter-spacing: 2px; color: rgba(255,255,255,.55); background: rgba(0,0,0,.35); padding: 4px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); }
.campaign-counter b { color: #fff; font-weight: 700; }

/* ===== LISTINGS TOPBAR ===== */
.listings-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.search-bar-lg { display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 6px 6px 6px 16px; flex: 1; min-width: 0; transition: border-color .2s; }
.search-bar-lg:focus-within { border-color: var(--border-red); }
.search-ico { color: var(--text-dim); font-size: 1.1rem; }
.search-input-lg { flex: 1; background: transparent; border: none; color: #fff; font-size: .98rem; font-family: var(--sans); outline: none; padding: 8px 0; }
.search-input-lg::placeholder { color: #444; }

/* ===== TYPE TABS ===== */
.type-tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.type-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-weight: 600; font-size: .9rem; transition: all .2s; }
.type-tab:hover { border-color: var(--border-red); color: #fff; }
.type-tab.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(204,0,0,.3); }
.type-tab-ico { font-size: .95rem; }
.type-tab-cta { margin-left: auto; background: transparent; border-color: var(--border-red); color: var(--red-light); }
.type-tab-cta:hover { background: var(--red-glow); }

/* ===== LISTINGS HEAD ===== */
.listings-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.listings-count { color: var(--text-dim); font-family: var(--mono); font-size: .82rem; }

/* ===== SIDEBAR PROMO ===== */
.sidebar-promo { padding: 20px; text-align: center; background: linear-gradient(160deg, rgba(204,0,0,.08), var(--bg2)); border-color: rgba(204,0,0,.25); }
.sidebar-promo-ico { font-size: 1.8rem; color: var(--red-light); margin-bottom: 10px; filter: drop-shadow(0 0 8px rgba(204,0,0,.4)); }
.sidebar-promo-title { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.sidebar-promo-text { color: var(--text-dim); font-size: .82rem; line-height: 1.5; }

@media (max-width: 700px) {
  .campaign-slide { padding: 28px 24px; min-height: 200px; }
  .campaign-dots { left: 24px; }
  .campaign-nav { display: none; }
  .listings-topbar { flex-direction: column; align-items: stretch; }
}

/* ===== LOGO IMAGE (yuvarlak kırpma yok — yüklendiği gibi görünür) ===== */
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { width: auto; height: 42px; max-width: 150px; border-radius: 0; object-fit: contain; border: none; box-shadow: none; }
.loader-img { width: auto; height: 84px; max-width: 220px; border-radius: 0; object-fit: contain; margin-bottom: 22px; border: none; box-shadow: none; filter: drop-shadow(0 0 24px rgba(204,0,0,.5)); animation: loaderPulse 1.2s ease infinite; }
.landing-nav .nav-logo-img { height: 46px; }
.footer-logo-img { width: auto; height: 34px; max-width: 130px; border-radius: 0; object-fit: contain; vertical-align: middle; margin-right: 0; border: none; }
.auth-brand-logo-img { width: auto; height: 46px; max-width: 150px; border-radius: 0; object-fit: contain; border: none; box-shadow: none; filter: drop-shadow(0 0 14px rgba(204,0,0,.4)); vertical-align: middle; margin-right: 10px; }
.admin-logo-img { width: auto; height: 36px; max-width: 130px; border-radius: 0; object-fit: contain; border: none; }
.auth-brand-logo-img-lg { width: auto; height: 66px; max-width: 200px; border-radius: 0; object-fit: contain; border: none; box-shadow: none; filter: drop-shadow(0 0 20px rgba(204,0,0,.45)); }

/* ===== TICKER / MARQUEE BAR ===== */
.ticker-bar { background: linear-gradient(90deg, #150303, #1f0505, #150303); border-bottom: 1px solid var(--border-red); overflow: hidden; white-space: nowrap; position: sticky; top: 82px; z-index: 999; }
.ticker-bar::before, .ticker-bar::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker-bar::before { left: 0; background: linear-gradient(90deg, #150303, transparent); }
.ticker-bar::after { right: 0; background: linear-gradient(270deg, #150303, transparent); }
.ticker-track { display: inline-flex; animation: tickerScroll 28s linear infinite; }
.ticker-content { display: inline-block; padding: 9px 0; color: var(--red-light); font-family: var(--mono); font-size: .82rem; letter-spacing: 1px; padding-right: 60px; }
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== BLOCK LABEL ===== */
.block-label { color: var(--text-dim); font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }

/* ===== STARS ===== */
.star { font-size: .95rem; color: #2e2e2e; }
.star.full { color: #f5b21a !important; }
.star.half { color: #b88a15 !important; }
.star.empty { color: #2e2e2e !important; }
.review-stars { letter-spacing: 1px; }

/* ===== SELLER CARD (listing detail) ===== */
.seller-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.seller-card-top { display: flex; align-items: center; gap: 12px; }
.seller-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #660000); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
.seller-card-info { flex: 1; min-width: 0; }
.seller-name { color: #fff; font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 6px; }
.seller-rating { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.seller-rating-num { color: #f5b21a; font-weight: 700; font-size: .85rem; }
.seller-rating-count { color: var(--text-dim); font-size: .78rem; }
.seller-stats-row { display: flex; gap: 8px; margin-top: 14px; }
.seller-stat { flex: 1; text-align: center; background: var(--bg3); border: 1px solid var(--border); border-radius: 7px; padding: 8px 4px; }
.seller-stat b { display: block; color: #fff; font-size: .9rem; }
.seller-stat span { color: var(--text-dim); font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; }
.seller-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.seller-badge { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; border: 1px solid; }
.badge-verified { color: #1d9bf0; border-color: rgba(29,155,240,.4); background: rgba(29,155,240,.1); }
.badge-new { color: #44ff88; border-color: rgba(68,255,136,.4); background: rgba(68,255,136,.08); }
.badge-top { color: #ff8a3d; border-color: rgba(255,138,61,.4); background: rgba(255,138,61,.1); }
.badge-legend { color: #c79a3a; border-color: rgba(199,154,58,.5); background: rgba(199,154,58,.12); }
.badge-trusted { color: #ff5d8f; border-color: rgba(255,93,143,.4); background: rgba(255,93,143,.1); }

/* ===== CARD SELLER (mini, on listing cards) ===== */
.card-seller { display: flex; align-items: center; gap: 7px; margin: 10px 0; padding: 8px 0; border-top: 1px solid var(--border); }
.card-seller-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #660000); display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.card-seller-name { color: var(--text-bright); font-size: .8rem; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-seller-rating { color: #f5b21a; font-size: .78rem; font-weight: 700; }
.card-seller-rating.new { color: var(--text-dim); font-weight: 500; font-size: .72rem; }

/* ===== REVIEWS ===== */
.review-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-author { color: #fff; font-weight: 600; font-size: .88rem; }
.review-date { color: var(--text-dim); font-size: .76rem; margin-left: auto; }
.review-listing { color: var(--text-dim); font-size: .76rem; font-family: var(--mono); margin-top: 4px; }
.review-comment { color: var(--text); font-size: .9rem; line-height: 1.55; margin-top: 6px; }

/* Rating summary */
.rating-summary { display: flex; gap: 20px; align-items: center; }
.rating-big { font-size: 3rem; font-weight: 700; color: #f5b21a; font-family: var(--mono); line-height: 1; }
.rating-bars { flex: 1; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.rating-bar-label { color: var(--text-dim); font-size: .75rem; width: 24px; }
.rating-bar { flex: 1; height: 7px; background: var(--bg4); border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: #f5b21a; border-radius: 4px; }
.rating-bar-count { color: var(--text-dim); font-size: .75rem; width: 24px; text-align: right; }

/* Star picker */
.star-picker { display: flex; gap: 6px; font-size: 1.8rem; }
.star-pick { color: #333; cursor: pointer; transition: color .15s, transform .15s; }
.star-pick:hover { transform: scale(1.15); }
.star-pick.on { color: #f5b21a; }

/* ===== CHAT ===== */
.chat-card { padding: 0; overflow: hidden; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border-red); background: linear-gradient(90deg, #150303, var(--bg2)); }
.chat-title { color: #fff; font-weight: 700; font-size: .95rem; }
.chat-with { color: var(--text-dim); font-size: .78rem; font-family: var(--mono); }
.chat-messages { max-height: 380px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-system { text-align: center; color: var(--text-dim); font-size: .78rem; background: var(--bg4); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; margin: 2px auto; max-width: 90%; line-height: 1.5; }
.chat-msg { display: flex; max-width: 78%; }
.chat-mine { align-self: flex-end; }
.chat-theirs { align-self: flex-start; }
.chat-bubble { padding: 9px 13px; border-radius: 12px; font-size: .9rem; line-height: 1.45; }
.chat-mine .chat-bubble { background: var(--red); color: #fff; border-bottom-right-radius: 3px; }
.chat-theirs .chat-bubble { background: var(--bg4); border: 1px solid var(--border); color: var(--text-bright); border-bottom-left-radius: 3px; }
.chat-sender { font-size: .72rem; color: var(--red-light); font-weight: 700; margin-bottom: 2px; }
.chat-text { word-break: break-word; }
.chat-time { font-size: .66rem; opacity: .6; margin-top: 3px; text-align: right; }
.chat-input-row { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }
.chat-input { flex: 1; background: var(--bg); border: 1px solid var(--border); color: #fff; padding: 10px 14px; border-radius: 22px; font-size: .9rem; outline: none; font-family: var(--sans); }
.chat-input:focus { border-color: var(--red); }
.chat-send { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--red); color: #fff; cursor: pointer; font-size: 1.1rem; transition: all .2s; flex-shrink: 0; }
.chat-send:hover { background: var(--red-light); transform: scale(1.05); }

/* ===== AUTO DELIVERY ===== */
.auto-delivery-banner { display: flex; align-items: center; gap: 12px; background: linear-gradient(90deg, rgba(245,178,26,.12), var(--bg4)); border: 1px solid rgba(245,178,26,.35); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.auto-delivery-icon { font-size: 1.6rem; }
.auto-delivery-banner strong { display: block; color: #f5b21a; font-size: .92rem; }
.auto-delivery-banner span { color: var(--text-dim); font-size: .82rem; }
.auto-badge-corner { position: absolute; top: 10px; right: 10px; background: rgba(245,178,26,.95); color: #1a1205; font-weight: 700; font-size: .7rem; padding: 4px 10px; border-radius: 20px; z-index: 3; }
.listing-auto-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(245,178,26,.95); color: #1a1205; font-weight: 700; font-size: .68rem; padding: 3px 8px; border-radius: 5px; z-index: 2; }
.listing-main-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle at center, #1a0808, var(--bg4)); }
.placeholder-icon { font-size: 4rem; color: var(--border-red); }
.placeholder-text { color: var(--text-dim); font-family: var(--mono); letter-spacing: 3px; font-size: .9rem; }

/* Switch toggle */
.auto-delivery-box { background: var(--bg4); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.switch-row { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.switch-row input { display: none; }
.switch-track { width: 44px; height: 24px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--border); position: relative; flex-shrink: 0; transition: all .25s; margin-top: 2px; }
.switch-thumb { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-dim); transition: all .25s; }
.switch-row input:checked + .switch-track { background: rgba(245,178,26,.3); border-color: #f5b21a; }
.switch-row input:checked + .switch-track .switch-thumb { left: 22px; background: #f5b21a; }
.switch-label strong { display: block; color: #fff; font-size: .92rem; }
.switch-label small { color: var(--text-dim); font-size: .8rem; }

/* ===== BUY BOX BALANCE ===== */
.buy-balance-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-family: var(--mono); font-size: .85rem; }
.buy-balance-row span:first-child { color: var(--text-dim); }
.balance-ok { color: #44ff88; font-weight: 700; }
.balance-low { color: #ff5555; font-weight: 700; }
.insufficient-warn { background: rgba(255,60,60,.1); border: 1px solid rgba(255,60,60,.35); border-radius: 6px; padding: 10px 12px; color: #ff7777; font-size: .82rem; margin-bottom: 10px; text-align: center; }

/* ===== PROFILE PAGE ===== */
.profile-hero { display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(135deg, #150303, var(--bg2)); border: 1px solid var(--border-red); border-radius: 14px; padding: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.profile-hero-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #550000); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 700; color: #fff; flex-shrink: 0; box-shadow: 0 0 24px rgba(204,0,0,.4); }
.profile-hero-info { flex: 1; min-width: 220px; }
.profile-hero-name { font-size: 1.6rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.profile-hero-rating { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.profile-bio { color: var(--text); font-size: .9rem; margin-top: 10px; line-height: 1.5; }
.profile-hero-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.profile-stat { text-align: center; background: var(--bg3); border: 1px solid var(--border); border-radius: 9px; padding: 12px 16px; min-width: 80px; }
.profile-stat b { display: block; color: var(--red-light); font-size: 1.1rem; }
.profile-stat span { color: var(--text-dim); font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; }
.profile-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } .profile-hero-stats { width: 100%; } .profile-stat { flex: 1 1 calc(33.33% - 8px); min-width: 0; } }
@media (max-width: 520px) {
  .profile-hero { padding: 16px; gap: 14px; }
  .profile-hero-avatar { width: 64px; height: 64px; font-size: 1.6rem; box-shadow: 0 0 16px rgba(204,0,0,.35); }
  .profile-hero-name { font-size: 1.25rem; }
  .profile-hero-info { min-width: 0; width: 100%; }
  .profile-hero-stats { gap: 7px; }
  .profile-stat { flex: 1 1 calc(50% - 4px); min-width: 0; padding: 10px 8px; }
  .profile-stat b { font-size: .95rem; }
  .profile-stat span { font-size: .6rem; letter-spacing: 0; }
}

/* ===== DASHBOARD ===== */
.dash-welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 6px 0 20px; flex-wrap: wrap; }
.dash-hello { font-size: 1.4rem; font-weight: 700; color: #fff; }
.dash-hello span { color: var(--red-light); }
.dash-sub { color: var(--text-dim); font-size: .9rem; margin-top: 4px; }
.dash-search { display: flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 6px 6px 6px 14px; min-width: 0; flex: 1; max-width: 460px; }
.dash-search:focus-within { border-color: var(--border-red); }
.dash-search-input { flex: 1; background: transparent; border: none; color: #fff; outline: none; font-size: .95rem; padding: 8px 0; font-family: var(--sans); }
.dash-search-input::placeholder { color: #444; }

.dash-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 10px; margin-bottom: 28px; }
.dash-cat { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 16px 10px; transition: all .2s; }
.dash-cat:hover { border-color: var(--border-red); background: rgba(204,0,0,.06); transform: translateY(-3px); }
.dash-cat-ico { font-size: 1.5rem; color: var(--red-light); }
.dash-cat-name { color: var(--text-bright); font-size: .82rem; font-weight: 600; text-align: center; }
.dash-cat-all { background: linear-gradient(135deg, rgba(204,0,0,.12), var(--bg2)); }

.dash-section { margin-bottom: 32px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title { font-size: 1.2rem; font-weight: 700; color: #fff; }
.dash-more { color: var(--red-light); font-size: .85rem; font-weight: 600; }
.dash-more:hover { color: var(--red); }

/* Top sellers */
.top-sellers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 12px; }
.top-seller { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 18px 12px; text-align: center; transition: all .2s; }
.top-seller:hover { border-color: var(--border-red); transform: translateY(-3px); }
.top-seller-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #660000); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; color: #fff; margin: 0 auto 10px; }
.top-seller-name { color: #fff; font-weight: 600; font-size: .88rem; margin-bottom: 4px; }
.top-seller-rating { color: #f5b21a; font-weight: 700; font-size: .85rem; }
.top-seller-rating span { color: var(--text-dim); font-weight: 400; }

/* ===== DELIVERY FILTER (centered) ===== */
.delivery-filter { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.delivery-pill { padding: 9px 20px; border-radius: 24px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); font-weight: 600; font-size: .88rem; transition: all .2s; }
.delivery-pill:hover { border-color: var(--border-red); color: #fff; }
.delivery-pill.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 16px rgba(204,0,0,.35); }
.delivery-pill-auto.active { background: #f5b21a; border-color: #f5b21a; color: #1a1205; box-shadow: 0 4px 16px rgba(245,178,26,.35); }

/* ===== FILTER BAR ===== */
.filter-bar { display: flex; align-items: flex-end; gap: 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: 5px; }
.filter-group > label { color: var(--text-dim); font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; font-family: var(--mono); }
.filter-group { flex-direction: row; align-items: center; gap: 6px; }
.filter-group > label { align-self: center; }
.filter-input { width: 90px; background: var(--bg); border: 1px solid var(--border); color: #fff; padding: 8px 10px; border-radius: 6px; outline: none; font-size: .88rem; }
.filter-input:focus { border-color: var(--red); }
.filter-dash { color: var(--text-dim); }
.filter-select { background: var(--bg); border: 1px solid var(--border); color: #fff; padding: 8px 12px; border-radius: 6px; outline: none; font-size: .88rem; cursor: pointer; }
.filter-select:focus { border-color: var(--red); }
.filter-clear { color: var(--text-dim); font-size: .82rem; align-self: center; }
.filter-clear:hover { color: var(--red-light); }

/* ===== GALLERY (listing detail) ===== */
.gallery-stage { position: relative; width: 100%; aspect-ratio: 16/10; background: var(--bg4); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.gallery-track { display: flex; height: 100%; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.gallery-slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #0a0a0a; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.6); border: 1px solid var(--border-red); color: #fff; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: all .2s; z-index: 3; }
.gallery-nav:hover { background: var(--red); }
.gallery-prev { left: 12px; } .gallery-next { right: 12px; }
.gallery-counter { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.7); color: #fff; font-family: var(--mono); font-size: .76rem; padding: 4px 10px; border-radius: 20px; z-index: 3; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 76px; height: 60px; border-radius: 7px; overflow: hidden; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; opacity: .6; transition: all .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--red); opacity: 1; }
.gallery-thumb:hover { opacity: 1; }

/* ===== DEPOSIT (tabs, quick amounts, bank) ===== */
.deposit-balance { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #150303, var(--bg2)); border: 1px solid var(--border-red); border-radius: 12px; padding: 16px 20px; margin-bottom: 18px; }
.deposit-balance span { color: var(--text-dim); font-size: .85rem; }
.deposit-balance b { color: var(--red-light); font-size: 1.5rem; font-family: var(--mono); }
.deposit-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.deposit-tab { flex: 1; padding: 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); font-weight: 600; cursor: pointer; transition: all .2s; font-size: .92rem; }
.deposit-tab:hover { border-color: var(--border-red); color: #fff; }
.deposit-tab.active { background: var(--red); border-color: var(--red); color: #fff; }
.deposit-pane { display: none; }
.deposit-pane.active { display: block; }
.quick-amounts { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.quick-amount { padding: 11px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: var(--text-bright); font-weight: 700; cursor: pointer; transition: all .2s; font-family: var(--mono); }
.quick-amount:hover { border-color: var(--red); color: #fff; }
.quick-amount.on { background: var(--red); border-color: var(--red); color: #fff; }
.deposit-coins { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; justify-content: center; }
.deposit-coins span { font-family: var(--mono); font-size: .72rem; color: var(--text-dim); border: 1px solid var(--border); border-radius: 5px; padding: 3px 9px; }
.deposit-note { color: var(--text-dim); font-size: .78rem; text-align: center; margin-top: 14px; line-height: 1.5; }
.bank-info { background: var(--bg4); border: 1px solid var(--border); border-radius: 8px; padding: 14px; margin-bottom: 14px; }
.bank-info-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.bank-info-row:last-child { border-bottom: none; }
.bank-info-row span { color: var(--text-dim); font-size: .82rem; width: 70px; flex-shrink: 0; }
.bank-info-row b { color: #fff; font-size: .9rem; flex: 1; word-break: break-all; }
.iban-row b { font-family: var(--mono); }
.copy-btn { background: var(--red); color: #fff; border: none; border-radius: 6px; padding: 5px 12px; font-size: .76rem; cursor: pointer; font-weight: 600; }
.copy-btn:hover { background: var(--red-light); }
.bank-warning { background: rgba(245,178,26,.1); border: 1px solid rgba(245,178,26,.35); border-radius: 8px; padding: 10px 14px; color: #f5b21a; font-size: .82rem; line-height: 1.5; }
.bank-dep-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.bank-dep-row:last-child { border-bottom: none; }
.bank-dep-row b { color: var(--red-light); font-family: var(--mono); }
.bank-dep-ref { color: var(--text-dim); font-size: .76rem; margin-left: 10px; font-family: var(--mono); }
.badge-pending { color: #f5b21a; border: 1px solid rgba(245,178,26,.4); background: rgba(245,178,26,.1); }

/* ===== SETTINGS TABS ===== */
.settings-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.settings-tab { padding: 10px 20px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg2); color: var(--text); font-weight: 600; cursor: pointer; transition: all .2s; }
.settings-tab:hover { border-color: var(--border-red); color: #fff; }
.settings-tab.active { background: var(--red); border-color: var(--red); color: #fff; }
.settings-pane { display: none; }
.settings-pane.active { display: block; }

/* ===== ADMIN BADGE ===== */
.admin-badge { background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; padding: 1px 7px; border-radius: 10px; margin-left: 4px; }

/* ===== PROFESSIONAL FOOTER ===== */
.site-footer { background: linear-gradient(180deg, var(--bg2), #060606); border-top: 1px solid var(--border-red); margin-top: 50px; }
.site-footer-top { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding: 40px 24px 30px; }
.footer-brand .footer-logo-img { width: auto; height: 50px; max-width: 180px; margin-bottom: 12px; }
.footer-tagline { color: var(--text-dim); font-size: .85rem; line-height: 1.6; margin-bottom: 14px; max-width: 320px; }
.footer-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-trust-item { color: var(--text); font-size: .76rem; font-family: var(--mono); border: 1px solid var(--border); border-radius: 5px; padding: 4px 10px; }
.footer-col h4 { color: #fff; font-size: .92rem; margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-dim); font-size: .85rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--red-light); }
.site-footer-bottom { border-top: 1px solid var(--border); max-width: 1180px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer-bottom span { color: var(--text-dim); font-size: .78rem; }
.footer-disclaimer { opacity: .7; }

@media (max-width: 800px) {
  .site-footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1/-1; }
  .filter-bar { gap: 12px; }
  .dash-welcome { flex-direction: column; align-items: stretch; }
  .dash-search { max-width: none; }
}

/* ===== NAVBAR: wider + bigger logo (masaüstü) ===== */
@media (min-width: 701px) {
  .nav-inner { padding: 14px 20px; }
  .nav-logo-img { width: auto; height: 54px; max-width: 190px; }
  .landing-nav .nav-logo-img { width: auto; height: 54px; max-width: 190px; }
}
.nav-link-vip { color: #f5b21a !important; }
.nav-link-vip.active { color: #1a1205 !important; background: #f5b21a; border-radius: 6px; }

/* ===== NOTIFICATION BELL (inline, kullanıcı adı yanında) ===== */
.nav-bell-inline { display: inline-flex; align-items: center; gap: 2px; cursor: pointer; color: var(--text-dim); font-size: .88rem; margin-left: 6px; padding: 2px 5px; border-radius: 6px; transition: all .2s; position: relative; user-select: none; }
.nav-bell-inline:hover { color: var(--text-bright); background: var(--bg4); }
.nav-bell-count { background: var(--red); color: #fff; font-size: .6rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 3px; margin-left: 1px; }
.nav-bell-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 340px; max-width: calc(100vw - 30px); background: var(--bg2); border: 1px solid var(--border-red); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 1001; }
.nav-bell-panel.bell-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-bell-head { padding: 14px 16px; border-bottom: 1px solid var(--border); color: #fff; font-weight: 700; font-family: var(--mono); font-size: .85rem; }
.nav-bell-list { max-height: 360px; overflow-y: auto; }
.nav-bell-empty { padding: 30px; text-align: center; color: var(--text-dim); font-size: .85rem; }
.nav-bell-item { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); transition: background .15s; text-decoration: none; }
.nav-bell-item:hover { background: var(--bg3); }
.nav-bell-item.unread { background: rgba(204,0,0,.06); }
.nb-ico { font-size: 1.1rem; flex-shrink: 0; }
.nb-c { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nb-t { color: #fff; font-size: .85rem; font-weight: 600; }
.nb-b { color: var(--text-dim); font-size: .78rem; }
.nb-time { color: var(--text-dim); font-size: .7rem; font-family: var(--mono); }
.nav-bell-all { display: block; text-align: center; padding: 12px; color: var(--red-light); font-weight: 600; font-size: .85rem; border-top: 1px solid var(--border); }
/* dropdown'ı bell açıkken bastır */
.nav-user.bell-open .nav-dropdown { display: none !important; }

/* ===== ADS ===== */
.ads-top { max-width: 1280px; margin: 16px auto 0; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ad-slot { border-radius: 10px; overflow: hidden; }
.ad-box img, .ad-box video { width: 100%; display: block; border-radius: 10px; max-height: 130px; object-fit: cover; }
.ad-side { position: fixed; top: 128px; bottom: 20px; width: 160px; z-index: 80; }
.ad-side > a, .ad-side > div { display: block; position: absolute; inset: 0; max-height: none; }
.ad-side .ad-box { position: absolute; inset: 0; max-height: none; border-radius: 10px; overflow: hidden; }
.ad-side .ad-box img, .ad-side .ad-box video { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover !important; display: block !important; border-radius: 0 !important; }
.ad-side-left { left: 12px; } .ad-side-right { right: 12px; }
@media (max-width: 1500px) { .ad-side { display: none; } }
@media (max-width: 640px) { .ads-top { grid-template-columns: 1fr; } }

/* ===== ANNOUNCEMENT POPUP ===== */
.ann-overlay { position: fixed; inset: 0; z-index: 9500; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.ann-modal { background: var(--bg2); border: 1px solid var(--border-red); border-radius: 16px; max-width: 440px; width: 100%; overflow: hidden; position: relative; animation: annPop .4s cubic-bezier(.16,1,.3,1); box-shadow: 0 30px 80px rgba(0,0,0,.7); }
@keyframes annPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ann-close { position: absolute; top: 12px; right: 14px; background: rgba(0,0,0,.5); border: none; color: #fff; font-size: 1.5rem; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; z-index: 2; }
.ann-img img { width: 100%; max-height: 200px; object-fit: cover; }
.ann-body { padding: 24px; text-align: center; }
.ann-badge { display: inline-block; background: var(--red); color: #fff; font-family: var(--mono); font-size: .68rem; letter-spacing: 2px; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.ann-body h2 { color: #fff; font-size: 1.4rem; margin-bottom: 10px; }
.ann-body p { color: var(--text); line-height: 1.6; font-size: .92rem; margin-bottom: 20px; }
.ann-actions { display: flex; flex-direction: column; gap: 8px; }

/* ===== TELEGRAM BANNER ===== */
.tg-banner { display: flex; align-items: center; gap: 14px; background: linear-gradient(90deg, rgba(40,160,235,.15), var(--bg2)); border: 1px solid rgba(40,160,235,.4); border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; transition: all .2s; }
.tg-banner:hover { border-color: #29a0eb; transform: translateY(-2px); }
.tg-banner-ico { font-size: 1.8rem; }
.tg-banner-text { flex: 1; display: flex; flex-direction: column; }
.tg-banner-text strong { color: #fff; font-size: 1rem; }
.tg-banner-text small { color: var(--text-dim); font-size: .82rem; }
.tg-banner-btn { background: #29a0eb; color: #fff; padding: 9px 18px; border-radius: 8px; font-weight: 700; font-size: .88rem; white-space: nowrap; }

/* ===== SUPPORT INLINE CHAT ===== */
.support-chat { display: flex; flex-direction: column; height: 380px; }
.support-chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.support-chat-loading { text-align: center; color: var(--text-dim); font-size: .82rem; margin: auto; }
.sc-msg { display: flex; max-width: 82%; }
.sc-mine { align-self: flex-end; }
.sc-theirs { align-self: flex-start; }
.sc-bubble { padding: 8px 12px; border-radius: 12px; font-size: .88rem; line-height: 1.4; }
.sc-mine .sc-bubble { background: var(--red); color: #fff; border-bottom-right-radius: 3px; }
.sc-theirs .sc-bubble { background: var(--bg4); border: 1px solid var(--border); color: var(--text-bright); border-bottom-left-radius: 3px; }
.sc-time { display: block; font-size: .62rem; opacity: .6; margin-top: 2px; text-align: right; }
.support-chat-input { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--border); }
.support-chat-input input { flex: 1; background: var(--bg); border: 1px solid var(--border); color: #fff; padding: 9px 13px; border-radius: 20px; outline: none; font-size: .88rem; }
.support-chat-input input:focus { border-color: var(--red); }
.support-chat-input button { width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--red); color: #fff; cursor: pointer; flex-shrink: 0; }
.support-chat-foot { padding: 8px 12px; font-size: .68rem; color: var(--text-dim); text-align: center; border-top: 1px solid var(--border); }
.support-chat-foot a { color: var(--red-light); }

/* ===== NOTIFICATIONS PAGE ===== */
.notif-list { display: flex; flex-direction: column; gap: 8px; }
.notif-item { display: flex; gap: 12px; padding: 14px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; transition: all .15s; }
.notif-item:hover { border-color: var(--border-red); }
.notif-item.unread { background: rgba(204,0,0,.06); border-color: rgba(204,0,0,.25); }
.notif-icon { font-size: 1.4rem; flex-shrink: 0; }
.notif-content { display: flex; flex-direction: column; gap: 3px; }
.notif-title { color: #fff; font-weight: 600; }
.notif-body { color: var(--text-dim); font-size: .88rem; }
.notif-time { color: var(--text-dim); font-size: .74rem; font-family: var(--mono); }

/* ===== VIP PAGE ===== */
.vip-hero { text-align: center; padding: 36px 20px; background: linear-gradient(135deg, #1a1205, #0a0a0a); border: 1px solid rgba(245,178,26,.35); border-radius: 16px; margin-bottom: 24px; }
.vip-hero-crown { font-size: 3rem; color: #f5b21a; filter: drop-shadow(0 0 16px rgba(245,178,26,.5)); }
.vip-hero h1 { color: #f5b21a; font-size: 2rem; margin: 8px 0; }
.vip-hero p { color: var(--text-dim); }
.listing-boosted {
  border-color: rgba(245,178,26,.55) !important;
  background: linear-gradient(160deg, rgba(245,178,26,.12), var(--bg2) 45%, rgba(245,178,26,.05)) !important;
  position: relative;
  box-shadow: 0 0 0 1px rgba(245,178,26,.22), 0 10px 30px rgba(245,178,26,.10);
}
.listing-boosted:hover {
  border-color: rgba(245,178,26,.85) !important;
  box-shadow: 0 0 0 1px rgba(245,178,26,.4), 0 12px 34px rgba(245,178,26,.2);
  transform: translateY(-2px);
}
.boost-flag {
  position: absolute; top: 8px; left: 8px; z-index: 4;
  background: linear-gradient(135deg, #ffd75e, #f5b21a);
  color: #1a1205; font-weight: 800; font-size: .66rem; letter-spacing: .3px;
  padding: 4px 9px; border-radius: 6px;
  box-shadow: 0 3px 10px rgba(245,178,26,.45);
}

/* ===== RAFFLES ===== */
.raffle-hero { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #1a0530, #0a0a0a); border: 1px solid #5a2a8a; border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.raffle-hero-ico { font-size: 3rem; }
.raffle-hero h1 { color: #fff; font-size: 1.8rem; }
.raffle-hero p { color: var(--text-dim); margin-top: 4px; }
.raffle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.raffle-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 20px; transition: all .2s; }
.raffle-card:hover { border-color: #7a3aaa; transform: translateY(-3px); }
.raffle-card-prize { color: #c79cff; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.raffle-card-title { color: #fff; font-size: 1.1rem; margin-bottom: 6px; }
.raffle-card-desc { color: var(--text-dim); font-size: .85rem; line-height: 1.5; margin-bottom: 12px; }
.raffle-card-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; color: var(--text-dim); font-size: .8rem; font-family: var(--mono); }
.raffle-joined { background: rgba(68,255,136,.1); border: 1px solid rgba(68,255,136,.4); color: #44ff88; text-align: center; padding: 11px; border-radius: 8px; font-weight: 600; }
.raffle-past { display: flex; flex-direction: column; gap: 8px; }
.raffle-past-row { display: flex; justify-content: space-between; gap: 12px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; flex-wrap: wrap; }
.raffle-past-title { color: var(--text-bright); font-size: .9rem; }
.raffle-past-winner { color: #44ff88; font-size: .85rem; font-weight: 600; }

/* ===== SATICI ABONELİK PAKETLERİ ===== */
.sub-hero { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #2a1500, #0a0a0a); border: 1px solid #a86a1a; border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.sub-hero-ico { font-size: 3rem; }
.sub-hero h1 { color: #fff; font-size: 1.8rem; }
.sub-hero p { color: var(--text-dim); margin-top: 4px; }
.sub-current { background: rgba(68,255,136,.08); border: 1px solid rgba(68,255,136,.35); border-radius: 12px; padding: 16px 20px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.sub-current-name { color: #44ff88; font-weight: 700; }
.sub-current-meta { color: var(--text-dim); font-size: .85rem; }
.sub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 16px; align-items: stretch; }
.sub-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; transition: all .2s; }
.sub-card:hover { border-color: #d4901a; transform: translateY(-3px); }
.sub-card.active { border-color: #44ff88; box-shadow: 0 0 0 1px rgba(68,255,136,.3); }
.sub-card-name { color: #fff; font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.sub-card-price { color: #f5b21a; font-size: 1.6rem; font-weight: 700; font-family: var(--mono); margin-bottom: 4px; }
.sub-card-duration { color: var(--text-dim); font-size: .8rem; margin-bottom: 12px; }
.sub-card-fee { color: var(--red-light); font-weight: 600; font-size: .95rem; margin-bottom: 10px; }
.sub-card-perks { color: var(--text-dim); font-size: .85rem; line-height: 1.5; margin-bottom: 16px; flex: 1; }
.sub-card form, .sub-card .sub-active-badge { margin-top: auto; }
.sub-active-badge { background: rgba(68,255,136,.1); border: 1px solid rgba(68,255,136,.4); color: #44ff88; text-align: center; padding: 11px; border-radius: 8px; font-weight: 600; }

/* ===== ACCOUNT (sidebar) ===== */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.account-nav { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.account-nav-user { display: flex; align-items: center; gap: 12px; padding: 8px 8px 14px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.account-nav-name { color: #fff; font-weight: 700; }
.account-nav-mail { color: var(--text-dim); font-size: .76rem; }
.account-tab { display: flex; align-items: center; gap: 10px; background: none; border: none; color: var(--text); padding: 12px 14px; border-radius: 8px; cursor: pointer; font-size: .92rem; font-weight: 600; text-align: left; transition: all .15s; font-family: inherit; }
.account-tab:hover { background: var(--bg3); color: #fff; }
.account-tab.active { background: var(--red); color: #fff; }
.account-on { margin-left: auto; background: rgba(68,255,136,.15); color: #44ff88; font-size: .68rem; padding: 2px 8px; border-radius: 10px; }
.account-pane { display: none; }
.account-pane.active { display: block; }
.twofa-active { background: rgba(68,255,136,.1); border: 1px solid rgba(68,255,136,.4); color: #44ff88; padding: 14px; border-radius: 8px; }
.twofa-setup { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: var(--bg4); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.twofa-qr { width: 160px; height: 160px; background: #fff; border-radius: 8px; padding: 6px; }
.twofa-key { flex: 1; min-width: 180px; }
.twofa-secret { display: block; background: var(--bg); border: 1px solid var(--border-red); color: var(--red-light); padding: 10px; border-radius: 6px; font-family: var(--mono); font-size: 1rem; letter-spacing: 2px; margin-top: 8px; word-break: break-all; }
/* Account tabs scroll wrapper — default (desktop): acts as a transparent flex container */
.account-tabs-scroll { display: contents; }

@media (max-width: 760px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
  .account-nav-user { padding: 14px 14px 12px; border-bottom: 1px solid var(--border); margin-bottom: 0; border-radius: 12px 12px 0 0; }
  /* Tabs become a horizontal scrollable strip */
  .account-tabs-scroll { display: flex; flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 8px 10px; gap: 6px; background: var(--bg2); border-radius: 0 0 12px 12px; }
  .account-tabs-scroll::-webkit-scrollbar { display: none; }
  .account-tab { flex-shrink: 0; padding: 8px 14px; font-size: .8rem; border-radius: 20px; white-space: nowrap; text-align: center; justify-content: center; }
  .account-tab span:first-child { font-size: .85rem; }
}

/* ===== SIDEBAR FILTER ===== */
.sidebar-filter .filter-label { display: block; color: var(--text-dim); font-size: .74rem; text-transform: uppercase; letter-spacing: 1px; margin: 10px 0 6px; font-family: var(--mono); }
.filter-price-row { display: flex; align-items: center; gap: 6px; }
.sidebar-filter .filter-input { width: 100%; }
.sidebar-filter .filter-select { width: 100%; }
.filter-clear { display: inline-block; margin-top: 8px; color: var(--text-dim); font-size: .82rem; }
.filter-clear:hover { color: var(--red-light); }

/* ===== AVATAR (foto veya harf) ===== */
.av { display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; border-radius: 50%; line-height: 1; }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-letter { background: linear-gradient(135deg, var(--red), #660000); color: #fff; font-weight: 700; }
.av-lg { width: 84px; height: 84px; font-size: 2rem; border: 2px solid var(--border-red); }
.avatar-upload { display: flex; align-items: center; gap: 16px; }
.nav-avatar { width: 28px; height: 28px; font-size: .8rem; vertical-align: middle; border: 1px solid var(--border-red); }
.nav-username { display: inline-flex; align-items: center; gap: 8px; }

/* ===== QR FIX (taşma) ===== */
.twofa-qr { width: auto; height: auto; display: inline-flex; padding: 8px; background: #fff; border-radius: 10px; line-height: 0; }
.twofa-qr img, .twofa-qr canvas { display: block; width: 160px !important; height: 160px !important; border-radius: 4px; }

/* ===== RAFFLE: eşit yükseklik + sahip ===== */
.raffle-grid { align-items: stretch; }
.raffle-card { display: flex; flex-direction: column; }
.raffle-card .raffle-card-desc { flex: 0 0 auto; }
.raffle-card form, .raffle-joined { margin-top: auto; }
.raffle-host { display: flex; align-items: center; gap: 8px; margin: 10px 0 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.raffle-host .av { width: 26px; height: 26px; font-size: .72rem; }
.raffle-host-name { color: var(--text-dim); font-size: .8rem; }
.raffle-host-name b { color: var(--text-bright); }

/* ===== ADS restyle ===== */
.ads-top { margin: 16px auto 4px; }
.ad-slot { position: relative; border: 1px solid var(--border); }
.ad-slot::after { content: 'Reklam'; position: absolute; top: 6px; right: 8px; font-size: .6rem; color: rgba(255,255,255,.55); background: rgba(0,0,0,.5); padding: 1px 6px; border-radius: 4px; font-family: var(--mono); letter-spacing: 1px; }
.ad-box img, .ad-box video { width: 100%; display: block; height: 110px; object-fit: cover; }

/* ===== VIP GATE ===== */
.vip-gate { max-width: 560px; margin: 0 auto; text-align: center; background: linear-gradient(160deg,#1a1205,#0a0a0a); border: 1px solid rgba(245,178,26,.4); border-radius: 18px; padding: 40px 28px; }
.vip-gate-crown { font-size: 3.4rem; color: #f5b21a; filter: drop-shadow(0 0 18px rgba(245,178,26,.5)); }
.vip-gate h1 { color: #f5b21a; font-size: 1.9rem; margin: 10px 0; }
.vip-gate p { color: var(--text); line-height: 1.6; margin-bottom: 16px; }
.vip-perks { text-align: left; max-width: 360px; margin: 0 auto 24px; display: flex; flex-direction: column; gap: 10px; }
.vip-perk { display: flex; align-items: center; gap: 10px; color: var(--text-bright); font-size: .92rem; }
.vip-perk span { color: #f5b21a; font-size: 1.1rem; }
.vip-price-box { background: rgba(0,0,0,.4); border: 1px solid rgba(245,178,26,.3); border-radius: 12px; padding: 18px; margin-bottom: 18px; }
.vip-price-box .vp-amount { font-size: 2rem; font-weight: 700; color: #f5b21a; font-family: var(--mono); }
.vip-price-box .vp-period { color: var(--text-dim); font-size: .85rem; }
.btn-vip { background: linear-gradient(135deg,#f5b21a,#c7901a); color: #1a1205; font-weight: 700; }
.btn-vip:hover { background: #ffc93a; color: #1a1205; }
.vip-badge-active { display: inline-block; background: rgba(245,178,26,.15); color: #f5b21a; border: 1px solid rgba(245,178,26,.4); padding: 6px 16px; border-radius: 20px; font-weight: 600; margin-bottom: 14px; }

/* ===== WITHDRAW ===== */
.wd-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.wd-info { background: var(--bg4); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; color: var(--text-dim); font-size: .82rem; line-height: 1.5; margin-bottom: 14px; }
.wd-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.wd-row:last-child { border-bottom: none; }
.wd-flag { color: #ff8a3d; font-size: .72rem; }

/* emoji crispness */
.nav-link, .dash-title, .section-title { font-variant-emoji: emoji; }

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(8,8,8,.98); border-top: 1px solid var(--border-red); z-index: 900; padding: 0 4px; padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(12px); }
.mbn-item { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; padding: 8px 4px 6px; color: var(--text-dim); font-size: .62rem; text-decoration: none; gap: 2px; position: relative; transition: color .15s; }
.mbn-item.mbn-active, .mbn-item:hover { color: var(--red-light); }
.mbn-ico { font-size: 1.22rem; line-height: 1; position: relative; display: inline-block; }
.mbn-label { font-family: var(--sans); font-size: .58rem; letter-spacing: .3px; }
.mbn-badge { position: absolute; top: -4px; right: -6px; background: var(--red); color: #fff; font-size: .55rem; font-weight: 700; min-width: 14px; height: 14px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 3px; }
.mbn-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
/* Center create button */
.mbn-create { flex: 0 0 60px; position: relative; top: -10px; }
.mbn-create-btn { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--red), #880000); color: #fff; font-size: 1.6rem; font-weight: 700; box-shadow: 0 4px 18px rgba(204,0,0,.5); line-height: 1; border: 3px solid rgba(10,10,10,.9); transition: all .2s; }
.mbn-create:hover .mbn-create-btn, .mbn-create.mbn-active .mbn-create-btn { box-shadow: 0 6px 24px rgba(204,0,0,.7); transform: scale(1.06); }
.mbn-create .mbn-label { margin-top: 2px; color: var(--red-light); font-weight: 600; }
@media (max-width: 700px) {
  .mobile-bottom-nav { display: flex; }
  .main-content { padding-bottom: 70px; }
  .site-footer { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* ===== BENTO GRID (anasayfa) ===== */
.bento-grid { display: grid; grid-template-columns: 1fr 260px; gap: 14px; margin-bottom: 24px; }
.bento-featured { display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; transition: border-color .2s, transform .2s; min-height: 260px; position: relative; }
.bento-featured:hover { border-color: var(--border-red); transform: translateY(-2px); }
.bento-featured-img { flex: 1; background: var(--bg4) center/cover no-repeat; position: relative; min-height: 160px; }
.bento-featured-img--empty { display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--text-dim); }
.bento-featured-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,.9) 40%, transparent 100%); }
.bento-featured-body { padding: 14px 16px; position: relative; }
.bento-vip-tag { display: inline-block; background: rgba(245,178,26,.15); color: #f5b21a; border: 1px solid rgba(245,178,26,.4); font-size: .68rem; padding: 2px 8px; border-radius: 10px; margin-bottom: 6px; font-family: var(--mono); }
.bento-auto-tag { display: inline-block; background: rgba(0,200,100,.12); color: #44ff88; border: 1px solid rgba(0,200,100,.3); font-size: .68rem; padding: 2px 8px; border-radius: 10px; margin-bottom: 6px; font-family: var(--mono); }
.bento-featured-cat { color: var(--text-dim); font-size: .72rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 1px; }
.bento-featured-title { color: var(--text-bright); font-size: 1.05rem; font-weight: 700; margin: 4px 0 8px; line-height: 1.3; }
.bento-featured-seller { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.bento-seller-avatar { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.bento-featured-seller span { color: var(--text-dim); font-size: .78rem; }
.bento-seller-rating { color: #f5b21a; font-size: .75rem; margin-left: 4px; }
.bento-featured-price { color: var(--red-light); font-family: var(--mono); font-size: 1.3rem; font-weight: 700; }
.bento-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bento-cat { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; transition: all .2s; color: var(--text); }
.bento-cat:hover { border-color: var(--border-red); background: var(--red-glow); color: #fff; }
.bento-cat-ico { font-size: 1.4rem; line-height: 1; }
.bento-cat-name { font-size: .7rem; font-family: var(--sans); font-weight: 600; text-align: center; }
.bento-cat-all { border-color: var(--border-red); background: var(--red-glow); }
.bento-cat-all .bento-cat-ico { color: var(--red-light); }
@media (max-width: 700px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-cats { grid-template-columns: repeat(4, 1fr); }
  .bento-featured { min-height: 200px; }
}
@media (max-width: 480px) {
  .bento-cats { grid-template-columns: repeat(3, 1fr); }
}

/* ===== HOME STATS BAR ===== */

/* ===== HOME SECTIONS (compact) ===== */
.home-section { margin-bottom: 28px; }
.home-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.home-section-title { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: var(--text-bright); letter-spacing: .3px; }
.home-section-more { color: var(--text-dim); font-size: .8rem; font-family: var(--mono); transition: color .2s; }
.home-section-more:hover { color: var(--red-light); }

/* ===== COMPACT LISTING CARD ===== */
.compact-listings { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.compact-card { background: var(--bg2); position: relative; }
.compact-card-inner { display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-decoration: none; color: inherit; transition: background .15s; }
.compact-card-inner:hover { background: var(--bg3); }
.compact-card-img { width: 52px; height: 52px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--bg4); position: relative; }
.compact-card-img img { width: 100%; height: 100%; object-fit: cover; }
.compact-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--text-dim); }
.compact-auto { position: absolute; bottom: 2px; right: 2px; font-size: .55rem; background: rgba(0,200,100,.9); border-radius: 3px; padding: 1px 3px; }
.compact-card-body { flex: 1; min-width: 0; }
.compact-cat { font-size: .65rem; color: var(--text-dim); font-family: var(--mono); text-transform: uppercase; letter-spacing: 1px; }
.compact-title { font-size: .88rem; font-weight: 600; color: var(--text-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0; }
.compact-seller { font-size: .72rem; color: var(--text-dim); }
.compact-rating { color: #f5b21a; margin-left: 6px; }
.compact-price { font-family: var(--mono); font-size: .95rem; font-weight: 700; color: var(--red-light); flex-shrink: 0; padding-right: 36px; }
.compact-cart-form { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.compact-cart-btn { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 4px 7px; cursor: pointer; font-size: .85rem; transition: all .15s; }
.compact-cart-btn:hover { border-color: var(--border-red); background: var(--red-glow); }

/* ===== MOBILE SIDEBAR BOTTOM SHEET ===== */
.mobile-filter-bar { display: none; gap: 8px; margin-bottom: 12px; }
.mobile-filter-btn { flex: 1; background: var(--bg2); border: 1px solid var(--border-red); color: var(--text); padding: 9px 14px; border-radius: 6px; font-family: var(--mono); font-size: .82rem; cursor: pointer; transition: all .2s; }
.mobile-filter-btn:hover { background: var(--red-glow); color: #fff; }
.mfb-badge { background: var(--red); color: #fff; font-size: .65rem; padding: 1px 5px; border-radius: 8px; margin-left: 4px; }
.bottom-sheet { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg2); border-top: 2px solid var(--border-red); border-radius: 18px 18px 0 0; z-index: 1300; transform: translateY(100%); transition: transform .3s cubic-bezier(.32,.72,0,1); max-height: 80vh; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }
.bottom-sheet.open { transform: translateY(0); }
.bottom-sheet-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 10px auto 0; cursor: pointer; }
.bottom-sheet-title { font-family: var(--mono); font-size: .85rem; color: var(--text-dim); padding: 12px 20px 8px; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 1px; }
.bottom-sheet-body { padding: 8px 0 20px; }
.bsh-cat-link { display: block; padding: 13px 20px; color: var(--text); font-size: .95rem; border-bottom: 1px solid #111; transition: all .15s; }
.bsh-cat-link:hover, .bsh-cat-link.active { color: var(--red-light); background: var(--red-glow); padding-left: 28px; }
.bottom-sheet .filter-label { padding: 0 20px; display: block; margin-top: 8px; }
.bottom-sheet .filter-price-row { padding: 0 20px; }
.bottom-sheet .filter-input { background: var(--bg3); border: 1px solid var(--border); color: var(--text); padding: 8px 10px; border-radius: 4px; width: 80px; font-size: .88rem; }
.bottom-sheet .filter-select { margin: 0 20px; width: calc(100% - 40px); background: var(--bg3); border: 1px solid var(--border); color: var(--text); padding: 8px; border-radius: 4px; }
.bottom-sheet .btn { margin: 0 20px; width: calc(100% - 40px); }
.bottom-sheet-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 1299; }
.bottom-sheet-overlay.open { display: block; }
@media (max-width: 700px) {
  .mobile-filter-bar { display: flex; }
  .sidebar { display: none !important; }
  .layout-with-sidebar { grid-template-columns: 1fr !important; }
}

/* ===== CART ===== */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
@media (max-width: 800px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-add-btn { background: rgba(10,10,10,.85); border: 1px solid var(--border); border-radius: 5px; padding: 4px 8px; cursor: pointer; font-size: .9rem; transition: all .15s; backdrop-filter: blur(4px); }
.cart-add-btn:hover { border-color: var(--border-red); background: var(--red-glow); }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 70px; height: 70px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: var(--bg4); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-title { display: block; color: var(--text-bright); font-weight: 600; font-size: .95rem; text-decoration: none; transition: color .15s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-title:hover { color: var(--red-light); }
.cart-item-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.cart-seller-avatar { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.badge-auto { background: rgba(0,200,100,.12); color: #44ff88; border: 1px solid rgba(0,200,100,.3); font-size: .65rem; padding: 1px 6px; border-radius: 8px; }
.cart-item-price { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; color: var(--red-light); flex-shrink: 0; }
.cart-remove-btn { background: none; border: 1px solid #333; color: var(--text-dim); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: .75rem; flex-shrink: 0; transition: all .15s; }
.cart-remove-btn:hover { border-color: var(--red); color: var(--red); }
.cart-summary { background: var(--bg2); border: 1px solid var(--border-red); border-radius: 12px; padding: 20px; position: sticky; top: 90px; }
.cart-summary-title { font-weight: 700; font-size: 1rem; color: var(--text-bright); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.cart-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: .88rem; }
.cart-summary-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 16px; margin-top: 4px; border-top: 1px solid var(--border); font-weight: 700; font-size: 1.05rem; color: var(--text-bright); font-family: var(--mono); }
@media (max-width: 700px) {
  .cart-summary { position: static; }
}

/* ===== SEPET ROZET (mobil avatar üzerinde) ===== */
.nav-mobile-avatar { position: relative; display: inline-block; }
.nav-cart-badge { position: absolute; top: -4px; right: -6px; background: var(--red); color: #fff; font-size: .58rem; font-weight: 700; font-family: var(--mono); min-width: 16px; height: 16px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 3px; z-index: 2; pointer-events: none; }

/* ===== MOBİL SATIN ALMA ÇUBUĞU (listing detail) ===== */
.mobile-buy-bar { display: none; }
@media (max-width: 700px) {
  .mobile-buy-bar { display: flex; align-items: center; gap: 12px; position: fixed; bottom: 57px; left: 0; right: 0; background: rgba(14,14,14,.97); border-top: 1px solid var(--border-red); padding: 10px 16px; z-index: 90; backdrop-filter: blur(8px); }
  .mbb-info { flex-shrink: 0; }
  .mbb-price { font-family: var(--mono); font-size: 1.3rem; color: var(--red-light); font-weight: 700; line-height: 1; }
  .mbb-auto { color: #44ff88; font-size: .65rem; font-family: var(--mono); margin-top: 2px; }
  .mobile-buy-bar form, .mobile-buy-bar a.btn { flex: 1; }
  /* Masaüstü buy-box'ı mobilde gizle — sticky bar devraldı */
  .buy-box { display: none; }
  /* İlan detay sayfasında sticky bar için ekstra boşluk */
  .listing-detail { padding-bottom: 130px; }
}

/* ===== MOBİL SON OVERRIDE (base kuralların üstüne gelmesi için sonda) ===== */
html, body { overflow-x: hidden; }
@media (max-width: 700px) {
  /* Ticker mobilde sticky değil — navbar zaten sticky, ticker normal flow'da kalır, boşluk olmaz */
  .ticker-bar { position: relative; top: auto; }
  /* Sepet sayfası mobil iyileştirme */
  .cart-item-img { width: 56px; height: 56px; }
  .cart-item { gap: 8px; padding: 10px 0; }
  .cart-item-price { font-size: .9rem; }
}

/* ===== DM / MESAJLAŞMA ===== */
.dm-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 0; height: calc(100vh - 220px); min-height: 480px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--bg2); }
.dm-list { border-right: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; }
.dm-list-head { padding: 16px; font-weight: 700; color: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg2); z-index: 2; }
.dm-empty-list { padding: 24px; color: var(--text-dim); font-size: .85rem; line-height: 1.5; }
.dm-conv { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); transition: background .15s; position: relative; }
.dm-conv:hover { background: var(--bg3); }
.dm-conv.active { background: rgba(204,0,0,.08); border-left: 3px solid var(--red); }
.dm-conv-av { width: 44px; height: 44px; font-size: 1.1rem; }
.dm-conv-info { flex: 1; min-width: 0; }
.dm-conv-name { color: #fff; font-weight: 600; font-size: .9rem; }
.dm-conv-last { color: var(--text-dim); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.dm-conv-badge { background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.dm-chat { display: flex; flex-direction: column; }
.dm-placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-dim); }
.dm-placeholder-ico { font-size: 3rem; opacity: .5; }
.dm-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border-red); background: linear-gradient(90deg,#150303,var(--bg2)); }
.dm-back { display: none; color: var(--text-dim); font-size: 1.6rem; text-decoration: none; }
.dm-head-av { width: 40px; height: 40px; }
.dm-head-name { color: #fff; font-weight: 700; text-decoration: none; }
.dm-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.dm-msg { display: flex; max-width: 70%; }
.dm-mine { align-self: flex-end; }
.dm-theirs { align-self: flex-start; }
.dm-bubble { padding: 9px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.45; }
.dm-mine .dm-bubble { background: var(--red); color: #fff; border-bottom-right-radius: 4px; }
.dm-theirs .dm-bubble { background: var(--bg4); border: 1px solid var(--border); color: var(--text-bright); border-bottom-left-radius: 4px; }
.dm-img { max-width: 220px; max-height: 220px; border-radius: 8px; margin-bottom: 4px; display: block; }
.dm-time { font-size: .64rem; opacity: .6; margin-top: 3px; text-align: right; }
.dm-input { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border); position: relative; flex-wrap: wrap; }
.dm-attach { cursor: pointer; font-size: 1.3rem; }
.dm-input-text { flex: 1; background: var(--bg); border: 1px solid var(--border); color: #fff; padding: 11px 15px; border-radius: 22px; outline: none; font-size: .92rem; min-width: 120px; }
.dm-input-text:focus { border-color: var(--red); }
.dm-send { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--red); color: #fff; cursor: pointer; font-size: 1.1rem; flex-shrink: 0; }
.dm-send:hover { background: var(--red-light); }
.dm-attach-name { width: 100%; font-size: .74rem; color: var(--red-light); }
@media (max-width: 760px) {
  .dm-wrap { grid-template-columns: 1fr; height: calc(100vh - 150px); }
  .dm-wrap.dm-has-active .dm-list { display: none; }
  .dm-wrap:not(.dm-has-active) .dm-chat { display: none; }
  .dm-back { display: inline; }
  .dm-msg { max-width: 85%; }
}

/* ===== FAVORI / PROFIL AKSIYON ===== */
.fav-btn { background: var(--bg4); border: 1px solid var(--border); border-radius: 10px; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; transition: all .2s; }
.fav-btn:hover { border-color: var(--red); transform: scale(1.05); }
.fav-btn.on { background: rgba(204,0,0,.12); border-color: var(--red); }
.profile-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.dd-badge { background: var(--red); color: #fff; font-size: .62rem; padding: 1px 6px; border-radius: 8px; margin-left: 4px; }
.btn-outline { background: transparent; border: 1px solid var(--border-red); color: var(--red-light); }
.btn-outline:hover { background: var(--red-glow); color: #fff; }

/* ===== BILDIRIM TERCIHLERI ===== */
.notif-pref { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.notif-pref:last-of-type { border-bottom: none; }
.notif-pref span { display: flex; flex-direction: column; }
.notif-pref strong { color: #fff; font-size: .92rem; }
.notif-pref small { color: var(--text-dim); font-size: .8rem; }
.notif-pref input[type=checkbox] { width: 44px; height: 24px; appearance: none; -webkit-appearance: none; background: var(--bg4); border: 1px solid var(--border); border-radius: 12px; position: relative; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.notif-pref input[type=checkbox]::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-dim); transition: all .2s; }
.notif-pref input[type=checkbox]:checked { background: var(--red-glow); border-color: var(--red); }
.notif-pref input[type=checkbox]:checked::after { left: 22px; background: var(--red-light); }

/* ===== RÜTBE ROZETİ ("fotoğraf" tarzı yatay rozet kartı — dış hat köşeli, ikon dairesel madalyon) ===== */
/* Not: rozet artık name_ranks tablosuna bağlı (admin /admin/ranks'tan görsel yükler),
   eski sabit dairesel .badge-pin madalyon sistemi kaldırıldı. İkon varsayılanı: marka
   maskotu tilki (assets/img/badges/fox-badge.svg), admin isterse rütbe başına değiştirir. */
.rank-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 10px;
  padding: 5px 14px 5px 5px; border-radius: 8px;
  background: linear-gradient(120deg, #0a0a0a, #160404 55%, #0a0a0a);
  border: 1px solid color-mix(in srgb, var(--rank-color) 55%, #000 45%);
  box-shadow: 0 0 1px color-mix(in srgb, var(--rank-color) 70%, transparent) inset, 0 0 16px color-mix(in srgb, var(--rank-color) 30%, transparent), 0 2px 6px rgba(0,0,0,.5);
  cursor: help; max-width: 100%; position: relative;
}
.rank-badge-img {
  width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--rank-color) 20%, #000 80%), #000 75%);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rank-color) 65%, transparent), 0 0 8px color-mix(in srgb, var(--rank-color) 45%, transparent);
}
.rank-badge-ico { font-size: 1.05rem; line-height: 1; color: var(--rank-color); flex-shrink: 0; }
.rank-badge-name {
  font-family: var(--mono); font-size: .76rem; font-weight: 800; color: var(--rank-color);
  letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(0,0,0,.9), 0 -1px 0 rgba(255,255,255,.08), 0 0 10px color-mix(in srgb, var(--rank-color) 55%, transparent);
}
.rank-badge .uname-tick { width: 22px; height: 22px; }
.rank-badge.rank-badge-sm { padding: 3px 10px 3px 3px; gap: 6px; }
.rank-badge.rank-badge-sm .rank-badge-img { width: 22px; height: 22px; }
.rank-badge.rank-badge-sm .uname-tick { width: 18px; height: 18px; }
.rank-badge.rank-badge-sm .rank-badge-name { font-size: .66rem; letter-spacing: .9px; }

/* ===== PROFİL ZİYARETÇİLERİ ===== */
.visitors-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; }
.visitors-head { color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.visitors-head span { background: var(--red); color: #fff; font-size: .72rem; padding: 2px 9px; border-radius: 12px; }
.visitors-list { display: flex; flex-wrap: wrap; gap: 14px; }
.visitor { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 60px; text-decoration: none; transition: transform .2s; }
.visitor:hover { transform: translateY(-3px); }
.visitor-av { width: 46px; height: 46px; font-size: 1.1rem; border: 2px solid var(--border-red); }
.visitor-name { color: var(--text-dim); font-size: .68rem; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visitor:hover .visitor-name { color: var(--red-light); }

/* ===== DM ARAMA + SİLME ===== */
.dm-list-head { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.dm-search { background: var(--bg); border: 1px solid var(--border); color: #fff; padding: 8px 12px; border-radius: 20px; outline: none; font-size: .85rem; width: 100%; }
.dm-search:focus { border-color: var(--red); }
.dm-conv-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--border); }
.dm-conv-row .dm-conv { flex: 1; border-bottom: none; }
.dm-del-form { display: flex; align-items: center; }
.dm-del { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: .95rem; padding: 0 12px; opacity: 0; transition: opacity .15s, color .15s; }
.dm-conv-row:hover .dm-del { opacity: 1; }
.dm-del:hover { color: var(--red); }
.dm-head-del { background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 1.1rem; padding: 4px 8px; }
.dm-head-del:hover { color: var(--red); }
@media (max-width: 760px) { .dm-del { opacity: 1; } }

/* ===== FORUM BOARD ===== */
.forum-board { background: var(--bg2); border: 1px solid var(--border-red); border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.forum-board-head { background: linear-gradient(90deg,#1a0505,var(--bg2)); padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--border-red); }
.forum-board-head > span:first-child { color: #fff; font-weight: 700; }
.forum-board-sub { color: var(--text-dim); font-size: .76rem; }
.forum-topic { border-bottom: 1px solid var(--border); padding: 16px 18px; }
.forum-topic:last-child { border-bottom: none; }
.forum-topic-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.forum-av { width: 40px; height: 40px; }
.forum-topic-title { color: #fff; font-weight: 700; font-size: 1.05rem; }
.forum-topic-by { color: var(--text-dim); font-size: .76rem; margin-top: 2px; }
.staff-pill { background: linear-gradient(135deg,#cc0000,#7a0000); color: #fff; font-size: .62rem; font-weight: 700; padding: 1px 7px; border-radius: 8px; text-transform: uppercase; letter-spacing: .5px; }
.forum-topic-body { color: var(--text); font-size: .92rem; line-height: 1.6; margin-bottom: 12px; }
.forum-comments { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.forum-comments-count { color: var(--text-dim); font-size: .76rem; margin-bottom: 8px; }
.forum-comment { display: flex; gap: 8px; padding: 6px 0; border-top: 1px solid var(--border); }
.forum-comment:first-of-type { border-top: none; }
.forum-cav { width: 28px; height: 28px; font-size: .78rem; }
.forum-comment-meta { display: flex; align-items: center; gap: 6px; font-size: .78rem; }
.forum-comment-meta a { color: var(--red-light); font-weight: 600; }
.forum-comment-time { color: var(--text-dim); font-size: .68rem; }
.forum-comment-text { color: var(--text-bright); font-size: .88rem; line-height: 1.4; margin-top: 2px; }
.forum-comment-form { display: flex; gap: 8px; }
.forum-comment-form input { flex: 1; background: var(--bg); border: 1px solid var(--border); color: #fff; padding: 9px 14px; border-radius: 20px; outline: none; font-size: .88rem; }
.forum-comment-form input:focus { border-color: var(--red); }
.forum-comment-form button { background: var(--red); color: #fff; border: none; padding: 9px 18px; border-radius: 20px; cursor: pointer; font-weight: 600; }
.forum-comment-form button:hover { background: var(--red-light); }

/* Anasayfa forum preview (sadece başlık) */
.forum-preview-row { display:flex; align-items:center; gap:12px; padding:12px 18px; border-bottom:1px solid var(--border); transition:background .15s; text-decoration:none; }
.forum-preview-row:last-child { border-bottom:none; }
.forum-preview-row:hover { background:rgba(204,0,0,.05); }
.fp-av { width:34px; height:34px; font-size:.8rem; flex-shrink:0; }
.forum-preview-main { flex:1; min-width:0; }
.forum-preview-title { color:#fff; font-weight:600; font-size:.92rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.forum-preview-meta { display:flex; align-items:center; gap:6px; font-size:.72rem; color:var(--text-dim); margin-top:3px; flex-wrap:wrap; }
.forum-preview-right { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.forum-preview-cmts { font-size:.75rem; color:var(--text-dim); font-family:var(--mono); }
.forum-preview-arr { color:var(--red-light); font-size:1.3rem; line-height:1; }

/* Forum index (liste sayfası) */
.forum-index-list { background:var(--bg2); border:1px solid var(--border-red); border-radius:12px; overflow:hidden; }
.forum-index-row { display:flex; align-items:center; gap:14px; padding:16px 20px; border-bottom:1px solid var(--border); text-decoration:none; transition:background .15s; }
.forum-index-row:last-child { border-bottom:none; }
.forum-index-row:hover { background:rgba(204,0,0,.06); }
.fi-av { width:42px; height:42px; font-size:.9rem; flex-shrink:0; }
.forum-index-main { flex:1; min-width:0; }
.forum-index-title { color:#fff; font-weight:700; font-size:1rem; margin-bottom:4px; }
.forum-index-meta { display:flex; align-items:center; gap:8px; font-size:.75rem; color:var(--text-dim); flex-wrap:wrap; }
.fi-author { color:var(--red-light); font-weight:600; }
.fi-date { color:var(--text-dim); }
.forum-index-right { display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex-shrink:0; }
.forum-index-comments { font-family:var(--mono); font-size:.78rem; color:var(--text-dim); }
.forum-index-arrow { color:var(--red-light); font-size:1.5rem; line-height:1; }

/* Forum show (detay) */
.forum-show-layout { display:grid; grid-template-columns:220px 1fr; gap:22px; align-items:start; }
@media(max-width:700px){ .forum-show-layout { grid-template-columns:1fr; } }
.forum-show-aside { position:sticky; top:80px; }
.fsa-card { background:var(--bg2); border:1px solid var(--border-red); border-radius:12px; padding:20px; text-align:center; }
.fsa-av { width:70px; height:70px; font-size:1.6rem; margin:0 auto; }
.fsa-username { color:#fff; font-weight:700; font-size:.95rem; margin:10px 0 8px; }
.fsa-badges { display:flex; flex-wrap:wrap; gap:5px; justify-content:center; margin-bottom:12px; }
.fsa-stats { display:flex; flex-direction:column; gap:8px; margin:12px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:12px 0; }
.fsa-stat { display:flex; justify-content:space-between; align-items:center; font-size:.8rem; }
.fsa-stat-val { color:#fff; font-weight:700; font-family:var(--mono); }
.fsa-stat-lbl { color:var(--text-dim); }
.fsa-date { color:var(--text-dim); font-size:.75rem; margin-top:8px; }

.forum-show-topic { background:var(--bg2); border:1px solid var(--border-red); border-radius:12px; padding:24px; margin-bottom:20px; }
.forum-show-title { color:#fff; font-size:1.3rem; font-weight:700; margin:0 0 16px; line-height:1.3; border-bottom:1px solid var(--border); padding-bottom:14px; }
.forum-show-body { color:var(--text-bright); font-size:.95rem; line-height:1.7; white-space:pre-wrap; word-break:break-word; }

.forum-show-comments-head { font-family:var(--mono); font-size:.8rem; color:var(--text-dim); text-transform:uppercase; letter-spacing:1px; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.forum-show-comments { display:flex; flex-direction:column; gap:14px; margin-bottom:20px; }
.fsc-row { display:flex; gap:12px; }
.fsc-author { width:110px; flex-shrink:0; text-align:center; }
.fsc-av { width:40px; height:40px; font-size:.9rem; margin:0 auto 6px; }
.fsc-name { font-size:.72rem; display:flex; flex-direction:column; align-items:center; gap:3px; }
.fsc-name a { color:var(--red-light); font-weight:600; font-size:.75rem; }
.fsc-bubble { flex:1; background:var(--bg2); border:1px solid var(--border); border-radius:10px; padding:12px 14px; }
.fsc-text { color:var(--text-bright); font-size:.9rem; line-height:1.6; word-break:break-word; }
.fsc-time { color:var(--text-dim); font-size:.68rem; margin-top:8px; font-family:var(--mono); }
.fsc-form { background:var(--bg2); border:1px solid var(--border-red); border-radius:12px; padding:18px; }
.fsc-form-inner { display:flex; gap:12px; }
.fsc-form-right { flex:1; }
@media(max-width:600px){ .fsc-row { flex-direction:column; } .fsc-author { width:auto; flex-direction:row; display:flex; align-items:center; gap:8px; text-align:left; } .fsc-av { margin:0; width:32px; height:32px; } }

/* Kullanıcı rozet pilleri */
.user-badge-pill { font-size:.6rem; font-weight:700; padding:1px 6px; border-radius:8px; letter-spacing:.3px; border:1px solid; white-space:nowrap; }
.ub-verified { color:#1d9bf0; border-color:rgba(29,155,240,.4); background:rgba(29,155,240,.08); }
.ub-vip      { color:#f5b21a; border-color:rgba(245,178,26,.4); background:rgba(245,178,26,.08); }
.ub-seller   { color:#44ff88; border-color:rgba(68,255,136,.3); background:rgba(68,255,136,.06); }
.ub-buyer    { color:#aa88ff; border-color:rgba(170,136,255,.35); background:rgba(170,136,255,.07); }

/* Kullanıcı rozet pilleri (forum) */
.user-badge-pill { font-size: .6rem; font-weight: 700; padding: 1px 6px; border-radius: 8px; letter-spacing: .3px; border: 1px solid; white-space: nowrap; }
.ub-verified { color: #1d9bf0; border-color: rgba(29,155,240,.4); background: rgba(29,155,240,.08); }
.ub-vip      { color: #f5b21a; border-color: rgba(245,178,26,.4); background: rgba(245,178,26,.08); }
.ub-seller   { color: #44ff88; border-color: rgba(68,255,136,.3); background: rgba(68,255,136,.06); }
.ub-buyer    { color: #aa88ff; border-color: rgba(170,136,255,.35); background: rgba(170,136,255,.07); }

/* Satın Aldıklarım grid */
.purchases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; }
.purchase-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; }
.purchase-card:hover { border-color: var(--border-red); transform: translateY(-2px); }
.purchase-img { aspect-ratio: 4/3; background: var(--bg4); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.purchase-img img { width:100%; height:100%; object-fit:cover; }
.purchase-img-empty { font-size: 2rem; color: var(--text-dim); }
.purchase-info { padding: 10px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.purchase-title { font-size: .82rem; font-weight: 600; color: var(--text-bright); line-height: 1.3; }
.purchase-seller { font-size: .72rem; color: var(--text-dim); }
.purchase-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.purchase-price { font-family: var(--mono); font-size: .85rem; color: var(--red-light); font-weight: 700; }
.purchase-status { font-size: .62rem; font-weight: 700; padding: 2px 7px; border-radius: 8px; }
.purchase-status--completed, .purchase-status--confirmed { background: rgba(68,255,136,.1); color: #44ff88; border: 1px solid rgba(68,255,136,.3); }
.purchase-status--delivered { background: rgba(68,150,255,.1); color: #68b0ff; border: 1px solid rgba(68,150,255,.3); }

/* ===== SATIN ALDIKLARIM ===== */
.purchase-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.purchase-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.purchase-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--bg4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.purchase-thumb img { width: 100%; height: 100%; object-fit: cover; }
.purchase-thumb-ph { color: var(--border-red); font-family: var(--mono); font-size: .8rem; }
.purchase-title { color: #fff; font-weight: 700; }
.purchase-meta { display: flex; gap: 12px; flex-wrap: wrap; color: var(--text-dim); font-size: .82rem; margin-top: 4px; align-items: center; }
.purchase-meta a { color: var(--red-light); }
.purchase-content { margin-top: 14px; background: var(--bg); border: 1px dashed var(--border-red); border-radius: 8px; padding: 12px; position: relative; }
.purchase-content-label { color: var(--red-light); font-family: var(--mono); font-size: .68rem; margin-bottom: 6px; }
.purchase-content-box { font-family: var(--mono); font-size: .9rem; color: var(--text-bright); white-space: pre-wrap; word-break: break-all; line-height: 1.6; }
.purchase-copy { position: absolute; top: 10px; right: 10px; background: var(--red); color: #fff; border: none; border-radius: 6px; padding: 4px 10px; font-size: .72rem; cursor: pointer; }

/* ===== KAZANÇLAR ===== */
.earn-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 14px; }
.earn-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.earn-main { background: linear-gradient(135deg,#1a0505,var(--bg2)); border-color: var(--border-red); }
.earn-label { color: var(--text-dim); font-size: .8rem; margin-bottom: 8px; }
.earn-value { font-size: 1.8rem; font-weight: 700; color: #fff; font-family: var(--mono); }
.earn-main .earn-value { color: var(--red-light); }
.earn-sub { color: var(--text-dim); font-size: .78rem; margin-top: 4px; }

/* ===== ÖDÜLLER & GÖREVLER ===== */
.daily-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(135deg,#1a1205,var(--bg2)); border: 1px solid rgba(245,178,26,.4); border-radius: 14px; padding: 20px 24px; flex-wrap: wrap; }
.daily-left { display: flex; align-items: center; gap: 16px; }
.daily-ico { font-size: 2.6rem; }
.daily-title { color: #f5b21a; font-weight: 700; font-size: 1.2rem; }
.daily-sub { color: var(--text-dim); font-size: .85rem; margin-top: 3px; }
.daily-claimed { color: #44ff88; font-weight: 600; text-align: center; line-height: 1.4; }
.daily-claimed small { color: var(--text-dim); font-weight: 400; }
.mission-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 14px; }
.mission-card { display: flex; gap: 14px; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.mission-card.done { border-color: rgba(68,255,136,.4); background: linear-gradient(135deg,rgba(68,255,136,.06),var(--bg2)); }
.mission-ico { font-size: 1.8rem; }
.mission-info { flex: 1; }
.mission-title { color: #fff; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mission-check { color: #44ff88; }
.mission-desc { color: var(--text-dim); font-size: .82rem; margin: 2px 0 8px; }
.mission-bar { height: 7px; background: var(--bg4); border-radius: 4px; overflow: hidden; }
.mission-bar-fill { height: 100%; background: linear-gradient(90deg,var(--red),#f5b21a); border-radius: 4px; }
.mission-card.done .mission-bar-fill { background: #44ff88; }
.mission-prog { color: var(--text-dim); font-size: .74rem; margin-top: 4px; text-align: right; font-family: var(--mono); }

/* ===== Ranka göre şekilli kullanıcı adları (XenForo tarzı) ===== */
/* ===== İSİM RÜTBE EFEKTLERİ (admin panelden düzenlenir, name_ranks tablosu) ===== */
.uname{font-weight:700;display:inline-flex;align-items:center;gap:3px;line-height:1}
.uname .uname-ico{font-style:normal;font-size:.82em;line-height:1}
.uname-tick{width:1.05em;height:1.05em;flex-shrink:0;filter:drop-shadow(0 0 3px rgba(77,163,255,.5))}

/* Not: .uname.uname-effect-X (bileşik seçici) kasıtlı — kart/link sarmalayıcılarının
   (.card-seller-name, a{color:...} vb.) renk kurallarını özgüllükle kesin ezmek için. */

/* Performans: animasyonlu rütbeleri kendi compositor katmanına yükle — aksi halde
   background-clip:text / text-shadow her frame'de ana thread'de yeniden boyanır ve
   sayfada birçok isim aynı anda animasyonluyken (örn. /listings) veya arka planda
   AJAX polling (widget/DM/forum) ana thread'i meşgul ettiğinde animasyon "donuyor" gibi
   takılır. will-change + izole stacking context bu takılmayı büyük ölçüde azaltır. */
.uname[class*="uname-effect-"]{will-change:opacity,background-position,text-shadow;transform:translateZ(0)}

/* solid — düz renk */
.uname.uname-effect-solid{color:var(--rank-color) !important}
.uname.uname-effect-solid .uname-ico{color:var(--rank-color) !important}

/* gradient — iki renk arası sabit geçiş */
.uname.uname-effect-gradient{background:linear-gradient(90deg,var(--rank-color),var(--rank-color2)) !important;-webkit-background-clip:text !important;background-clip:text !important;color:transparent !important}
.uname.uname-effect-gradient .uname-ico{background:none !important;-webkit-text-fill-color:var(--rank-color2) !important;color:var(--rank-color2) !important}

/* glow — sabit renk + nabız gibi parlayan gölge */
.uname.uname-effect-glow{color:var(--rank-color) !important;animation:unameGlowPulse 2.2s ease-in-out infinite}
.uname.uname-effect-glow .uname-ico{color:var(--rank-color) !important}

/* pulse — opaklık nabzı */
.uname.uname-effect-pulse{color:var(--rank-color) !important;animation:unamePulse 1.6s ease-in-out infinite}
.uname.uname-effect-pulse .uname-ico{color:var(--rank-color) !important}

/* rainbow — kayan gökkuşağı degrade */
.uname.uname-effect-rainbow{background:linear-gradient(90deg,#ff3b3b,#ff9d00,#ffee00,#3ddc6b,#3ba9ff,#b565ff,#ff3b3b) !important;background-size:400% 100%;-webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;animation:unameRainbow 5s linear infinite}
.uname.uname-effect-rainbow .uname-ico{color:var(--rank-color) !important}

/* shimmer — parlayan ışık geçişi */
.uname.uname-effect-shimmer{background:linear-gradient(100deg,var(--rank-color) 35%,#fff 50%,var(--rank-color) 65%) !important;background-size:250% 100%;-webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;animation:unameShimmer 2.8s linear infinite}
.uname.uname-effect-shimmer .uname-ico{color:var(--rank-color) !important}

@keyframes unameGlowPulse{0%,100%{text-shadow:0 0 4px var(--rank-color)}50%{text-shadow:0 0 12px var(--rank-color),0 0 4px var(--rank-color)}}
@keyframes unamePulse{0%,100%{opacity:1}50%{opacity:.5}}
@keyframes unameRainbow{to{background-position:-400% 0}}
@keyframes unameShimmer{0%{background-position:250% 0}100%{background-position:-250% 0}}
@media (prefers-reduced-motion: reduce){.uname-effect-glow,.uname-effect-pulse,.uname-effect-rainbow,.uname-effect-shimmer{animation:none}}

/* ===== ACCOUNT HERO + POLISH ===== */
.account-hero { position: relative; background: linear-gradient(120deg, #1a0505, #0d0303 60%, #0a0a0a); border: 1px solid var(--border-red); border-radius: 14px; padding: 22px 26px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 10px 36px rgba(0,0,0,.4); }
.account-hero::before { content:''; position:absolute; right:-70px; top:50%; transform:translateY(-50%); width:280px; height:280px; border-radius:50%; background: radial-gradient(circle, rgba(204,0,0,.2), transparent 65%); pointer-events:none; }
.account-hero-inner { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; flex-wrap: wrap; }
.account-hero-av { width: 68px !important; height: 68px !important; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-red); box-shadow: 0 0 18px rgba(204,0,0,.35); font-size: 1.6rem; display: inline-flex; align-items: center; justify-content: center; background: var(--bg4); overflow: hidden; }
.account-hero-av img { width: 100%; height: 100%; object-fit: cover; }
.account-hero-name { font-size: 1.15rem; margin-bottom: 3px; }
.account-hero-meta { color: var(--text-dim); font-size: .82rem; margin-bottom: 9px; }
.account-hero-meta b { color: var(--red-light); }
.account-hero-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.ah-chip { font-size: .7rem; font-weight: 700; padding: 4px 11px; border-radius: 14px; border: 1px solid var(--border); color: var(--text-dim); background: rgba(255,255,255,.03); }
.ah-chip.ah-ok { color: #44ff88; border-color: rgba(68,255,136,.3); background: rgba(68,255,136,.07); }
.ah-chip.ah-warn { color: #ffaa44; border-color: rgba(255,170,68,.3); background: rgba(255,170,68,.07); }
.ah-chip.ah-vip { color: #ffc93c; border-color: rgba(255,201,60,.35); background: rgba(255,201,60,.08); }
.account-hero-btn { margin-left: auto; }
.account-nav { position: sticky; top: 80px; }
.account-tab { position: relative; }
.account-tab.active { background: linear-gradient(90deg, var(--red), #8a0000); box-shadow: 0 4px 16px rgba(204,0,0,.3); }
.account-tab:not(.active):hover { transform: translateX(3px); }
.account-pane.active { animation: apFade .3s ease; }
@keyframes apFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  .account-hero { padding: 16px; }
  .account-hero-btn { margin-left: 0; width: 100%; text-align: center; }
  .account-nav { position: static; }
}

/* Satın Aldıklarım — içeriği tıkla-görüntüle */
.purchase-reveal { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, rgba(204,0,0,.12), rgba(204,0,0,.04)); border: 1px solid var(--border-red); color: var(--red-light); font-weight: 700; font-size: .82rem; padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: all .2s; font-family: inherit; }
.purchase-reveal:hover { background: var(--red); color: #fff; box-shadow: 0 4px 16px rgba(204,0,0,.35); }
.purchase-content-inner { margin-top: 10px; animation: apFade .25s ease; }

/* Bildirim zili — DM ikonunun yanında */
.nav-bell-wrap { position: relative; display: inline-flex; }
.nav-bell-btn { cursor: pointer; user-select: none; }
.nav-bell-wrap .nav-bell-panel { top: calc(100% + 14px); right: -60px; }

/* ===== ARAMA OTOMATIK TAMAMLAMA ===== */
.search-suggest { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg2); border: 1px solid var(--border-red); border-radius: 12px; box-shadow: 0 18px 46px rgba(0,0,0,.6); z-index: 1002; overflow: hidden; }
.search-suggest.open { display: block; }
.ss-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); transition: background .15s; text-decoration: none; }
.ss-item:last-child { border-bottom: none; }
.ss-item:hover { background: var(--bg3); }
.ss-img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--bg4); }
.ss-img-ph { display: inline-flex; align-items: center; justify-content: center; color: var(--text-dim); }
.ss-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ss-title { color: #fff; font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-cat { color: var(--text-dim); font-size: .72rem; }
.ss-price { color: var(--red-light); font-weight: 700; font-family: var(--mono); font-size: .85rem; flex-shrink: 0; }

/* ===== DEĞERLENDİRMEYE SATICI YANITI ===== */
.review-reply { margin: 10px 0 4px 18px; padding: 10px 14px; background: rgba(204,0,0,.05); border-left: 3px solid var(--red); border-radius: 0 8px 8px 0; }
.review-reply-head { color: var(--red-light); font-size: .74rem; font-weight: 700; margin-bottom: 5px; font-family: var(--mono); }
.review-reply-text { color: var(--text-bright); font-size: .86rem; line-height: 1.55; }
.review-reply-form { margin: 8px 0 4px 18px; }
.review-reply-form summary { color: var(--text-dim); font-size: .8rem; cursor: pointer; user-select: none; }
.review-reply-form summary:hover { color: var(--red-light); }

/* ===== TRY (₺) FİYAT ETİKETİ ===== */
.try-price { display: inline-block; color: var(--text-dim); font-size: .68em; font-weight: 600; font-family: var(--mono); background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 10px; padding: 2px 8px; vertical-align: middle; white-space: nowrap; }

/* ===== ODEME DONUS BANNER'I (wallet ?status=success/fail) ===== */
.wlt-pay-banner { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 12px; margin-bottom: 18px; animation: apFade .3s ease; }
.wlt-pay-ico { font-size: 1.4rem; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.wlt-pay-banner strong { display: block; color: #fff; font-size: .95rem; margin-bottom: 2px; }
.wlt-pay-banner small { color: var(--text-dim); font-size: .82rem; }
.wlt-pay-confirmed, .wlt-pay-already { background: rgba(68,255,136,.08); border: 1px solid rgba(68,255,136,.3); }
.wlt-pay-confirmed .wlt-pay-ico, .wlt-pay-already .wlt-pay-ico { background: rgba(68,255,136,.15); color: #44ff88; }
.wlt-pay-pending { background: rgba(255,200,68,.08); border: 1px solid rgba(255,200,68,.3); }
.wlt-pay-pending .wlt-pay-ico { background: rgba(255,200,68,.15); color: #ffcc44; }
.wlt-pay-failed, .wlt-pay-none { background: rgba(255,80,80,.08); border: 1px solid rgba(255,80,80,.3); }
.wlt-pay-failed .wlt-pay-ico, .wlt-pay-none .wlt-pay-ico { background: rgba(255,80,80,.15); color: #ff6666; }
