:root {
  --blue: #2f6bff;
  --blue-dark: #1e4fd1;
  --yellow: #ffc107;
  --yellow-dark: #e6ac00;
  --orange: #ff7a18;
  --ink: #1b2430;
  --muted: #8a94a6;
  --line: #e8edf4;
  --bg: #f4f6fa;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(22, 34, 51, .06);
  --header: 78px;
  --font: "Poppins", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #f7f8fb;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
.container-xl { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: var(--header);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 18px;
  width: min(1360px, calc(100% - 28px));
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { width: 38px; height: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.logo-mark i { display: block; border-radius: 6px; }
.logo-mark i:nth-child(1) { background: #ff7a18; }
.logo-mark i:nth-child(2) { background: #2f6bff; }
.logo-mark i:nth-child(3) { background: #22c55e; }
.logo-mark i:nth-child(4) { background: #f5c518; }
.logo-word { font-weight: 800; font-size: 22px; letter-spacing: -.04em; color: #1e293b; }
.logo-word span { color: #ff7a18; }

.header-search { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.header-search input, .header-search select {
  height: 46px; border: 0; background: #f3f5f8; border-radius: 12px;
  padding: 0 14px; color: var(--ink); outline: none; font-size: 14px;
}
.header-search input[name="q"] { flex: 1.4; min-width: 0; }
.header-search select { flex: 0 0 170px; }
.header-search input[name="konum"] { flex: 1; min-width: 0; }
.btn-search, .btn-post, .btn-ghost, .btn-blue, .btn-line {
  border: 0; cursor: pointer; border-radius: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-search, .btn-post {
  --btn-radius: 12px;
  position: relative;
  isolation: isolate;
  z-index: 0;
  border-radius: var(--btn-radius);
  background: transparent;
  animation: rgb-spin 6s linear infinite;
}
.btn-search::before, .btn-post::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -4px;
  border-radius: calc(var(--btn-radius) + 4px);
  background: conic-gradient(from var(--rgb-angle), #ff375f, #ff9f0a, #ffd60a, #30d158, #64d2ff, #0a84ff, #5e5ce6, #bf5af2, #ff375f);
  filter: blur(4px);
  opacity: .22;
  pointer-events: none;
}
.btn-search::after, .btn-post::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--btn-fill), var(--btn-fill)) padding-box,
    conic-gradient(from var(--rgb-angle), #ff375f, #ff9f0a, #ffd60a, #30d158, #64d2ff, #0a84ff, #5e5ce6, #bf5af2, #ff375f) border-box;
  pointer-events: none;
}
.btn-search {
  --btn-fill: var(--blue);
  height: 46px; padding: 0 22px; color: #fff;
}
.btn-search:hover { --btn-fill: var(--blue-dark); }
.btn-post {
  --btn-fill: var(--yellow);
  height: 46px; padding: 0 16px; color: #1f2937; white-space: nowrap;
}
.btn-post:hover { --btn-fill: var(--yellow-dark); }
.btn-blue { background: var(--blue); color: #fff; padding: 12px 18px; }
.btn-line { background: #fff; border: 1px solid var(--line); padding: 10px 14px; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-icon {
  position: relative; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; text-decoration: none; flex-shrink: 0;
}
.header-icon:hover { background: #f5f8ff; border-color: #c9d7ff; color: var(--blue); }
.header-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border: 2px solid #fff; font-size: 10px; font-weight: 700;
}
.header-user {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 10px 4px 4px;
  color: var(--ink); cursor: pointer; height: 42px;
}
.header-user:hover, .user-menu.is-open .header-user { border-color: #c9d7ff; background: #f8faff; }
.header-login { text-decoration: none; padding: 0 14px; }
.header-user .avatar, .avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #eef2ff;
}
.user-menu-caret { font-size: 11px; color: var(--muted); transition: transform .18s ease; }
.user-menu.is-open .user-menu-caret { transform: rotate(180deg); }
.badge-count {
  background: #ef4444; color: #fff; border-radius: 99px; font-size: 11px;
  min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.user-menu { position: relative; }
.user-menu .dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 10px); background: #fff;
  border: 1px solid var(--line); border-radius: 16px; min-width: 260px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .12); padding: 10px; z-index: 80;
}
/* Hover boşluğunu kapatan görünmez köprü */
.user-menu .dropdown::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.user-menu.is-open .dropdown,
.user-menu:hover .dropdown,
.user-menu:focus-within .dropdown { display: block; }
.dropdown-profile {
  display: flex; gap: 12px; align-items: center; padding: 8px 8px 12px;
}
.dropdown-avatar-wrap { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.dropdown-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; background: #eef2ff; }
.avatar-edit {
  position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer;
  border: 2px solid #fff; font-size: 11px; box-shadow: 0 4px 10px rgba(47, 107, 255, .35);
}
.avatar-edit:hover { background: var(--blue-dark); }
.dropdown-profile-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dropdown-profile-meta strong { font-size: 14px; line-height: 1.2; }
.dropdown-profile-meta small { color: var(--muted); font-size: 12px; }
.dropdown-profile-meta a { font-size: 12px; color: var(--blue); font-weight: 600; }
.dropdown-sep { height: 1px; background: #eef2f7; margin: 4px 0 6px; }
.user-menu .dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--ink);
}
.user-menu .dropdown a i { width: 18px; color: #64748b; text-align: center; }
.user-menu .dropdown a .badge-count { margin-left: auto; }
.user-menu .dropdown a:hover { background: #f6f8fb; }
.dropdown-logout {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  border: 0; background: transparent; color: #b91c1c; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left;
}
.dropdown-logout i { width: 18px; text-align: center; }
.dropdown-logout:hover { background: #fef2f2; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 0; background: #f3f5f8; display: none; }

.flash { width: min(1360px, calc(100% - 28px)); margin: 14px auto 0; }
.flash .alert { border-radius: 12px; padding: 12px 14px; margin: 0; }

.home-shell, .page-shell { width: min(1360px, calc(100% - 28px)); margin: 18px auto 40px; display: grid; grid-template-columns: 250px 1fr; gap: 22px; }
.cat-rail, .filter-card, .panel, .ad-card, .promo-card, .seller-card, .content-card {
  background: #fff; border: 1px solid #eef1f6; border-radius: 18px;
}
.cat-rail { padding: 8px; height: fit-content; position: sticky; top: 94px; max-height: calc(100vh - 110px); overflow: auto; }
.cat-link {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 12px;
  background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: #243044; text-align: left; cursor: pointer;
}
.cat-link:hover, .cat-item.open > .cat-link { background: #eef3ff; }
.cat-item.open > .cat-link { color: #1d4ed8; }
.cat-name { flex: 1; line-height: 1.3; }
.cat-chevron { margin-left: auto; color: #94a3b8; font-size: 11px; transition: transform .2s ease; }
.cat-item.open > .cat-link .cat-chevron,
.cat-item.open > .cat-sublink .cat-chevron { transform: rotate(180deg); }
.cat-panel { display: none; padding: 2px 0 8px 6px; }
.cat-item.open > .cat-panel { display: block; animation: catOpen .18s ease; }
.cat-all { display: block; padding: 6px 10px 8px; color: #64748b; font-size: 12px; font-weight: 700; }
.cat-all:hover { color: #1d4ed8; }
.cat-sublink, .cat-leaf {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 8px; border: 0; border-radius: 8px;
  background: transparent; color: #1d4ed8; font: inherit; font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer;
}
.cat-sublink:hover, .cat-leaf:hover, .cat-item.open > .cat-sublink { background: #f5f8ff; }
.cat-sublink em, .cat-leaf em { margin-left: auto; color: #94a3b8; font-style: normal; font-weight: 500; font-size: 12px; }
.cat-sublink .cat-chevron { font-size: 10px; }
.cat-panel-scroll { max-height: 320px; overflow: auto; }
.cat-filter { width: calc(100% - 8px); margin: 2px 4px 8px; border: 1px solid #e6ebf2; border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 13px; }
.cat-wait { padding: 8px 10px; color: #94a3b8; font-size: 12px; }
@keyframes catOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cat-ico {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  font-size: 13px; background: #f4f6fb; flex: 0 0 auto;
}
.home-main { min-width: 0; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 6px 12px; letter-spacing: .01em;
}
.hero-block h1 { font-size: 42px; line-height: 1.12; letter-spacing: -.04em; margin: 12px 0 8px; font-weight: 800; }
.popular-line { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.popular-line a { color: #334155; font-weight: 600; margin-right: 10px; }
.popular-line a:hover { color: var(--blue); }
.circle-row { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 0 0 18px; color: #475569; font-size: 13px; font-weight: 600; }
.trust-row i { color: var(--blue); margin-right: 6px; }
.circle-item { text-align: center; min-width: 92px; }
.circle-item img, .circle-fallback {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08); background: #e8eefc;
}
.circle-fallback { display: grid; place-items: center; color: #fff; font-size: 22px; }
.circle-item span { display: block; font-size: 13px; font-weight: 600; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin: 8px 0 14px; }
.section-head h2 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.reco-grid, .listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ad-card { overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.ad-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(22, 34, 51, .1); }
.ad-media { position: relative; display: block; aspect-ratio: 16/11; background: #eef2f7; }
.ad-media img.cover { width: 100%; height: 100%; object-fit: cover; }
.flag { position: absolute; top: 10px; left: 10px; color: #fff; font-size: 11px; font-weight: 700; border-radius: 8px; padding: 4px 8px; }
.vitrin { margin: 8px 0 26px; padding: 16px 16px 18px; background: linear-gradient(180deg, #fffaf2, #fff); border: 1px solid #f0e2c4; border-radius: 20px; }
.vitrin .marquee { padding: 18px 0; }
.vitrin-mark { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: #1c1915; color: #f6d48a; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; vertical-align: 3px; }
.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee-left linear infinite; }
.marquee-set { display: flex; gap: 14px; padding-right: 14px; }
.marquee-set .ad-card { width: 260px; flex: 0 0 260px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-set[aria-hidden="true"] { display: none; }
  .ad-card.is-vitrin,
  .vitrin-tab > span,
  .btn-search,
  .btn-post,
  .gate-still,
  .gate-caption strong,
  .gate-caption span { animation: none; }
}
@property --rgb-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
@keyframes rgb-spin { to { --rgb-angle: 360deg; } }
.ad-card.is-vitrin {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--rgb-angle), rgba(255,55,95,.82), rgba(255,159,10,.82), rgba(255,214,10,.82), rgba(48,209,88,.82), rgba(100,210,255,.82), rgba(10,132,255,.82), rgba(94,92,230,.82), rgba(191,90,242,.82), rgba(255,55,95,.82)) border-box;
  animation: rgb-spin 5s linear infinite;
  box-shadow: none;
}
.ad-card.is-vitrin .rgb-frame {
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(from var(--rgb-angle), #ff375f, #ff9f0a, #ffd60a, #30d158, #64d2ff, #0a84ff, #5e5ce6, #bf5af2, #ff375f);
  filter: blur(9px);
  opacity: .42;
}
.ad-card.is-vitrin .ad-media,
.ad-card.is-vitrin .ad-body { position: relative; z-index: 1; background: #fff; }
.ad-card.is-vitrin .ad-media { overflow: hidden; border-radius: 16px 16px 0 0; }
.ad-card.is-vitrin .ad-body { border-radius: 0 0 16px 16px; }
.ad-card.is-vitrin:hover { box-shadow: none; }
.vitrin-tab { position: absolute; top: 12px; left: -2px; background: #1c1915; color: #f6d48a; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px 6px 10px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%); }
.vitrin-tab > span {
  background-image: linear-gradient(105deg, #b8893a 0%, #f6d48a 32%, #fff8e4 50%, #f6d48a 68%, #b8893a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shine 2.4s linear infinite;
}
@keyframes text-shine {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}
.ribbon-one { position: absolute; top: 12px; left: -2px; background: #ff8a00; color: #2a1600; font-size: 11px; font-weight: 800; padding: 6px 14px 6px 10px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.stamp-acil { position: absolute; top: 12px; right: 46px; width: 58px; height: 58px; border: 2px solid #b42318; border-radius: 50%; color: #b42318; background: rgba(255,255,255,.92); display: grid; place-items: center; text-align: center; transform: rotate(-12deg); box-shadow: 0 0 0 3px rgba(180,35,24,.18); }
.stamp-acil b, .stamp-acil small { display: block; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.stamp-acil b { font-size: 13px; }
.stamp-acil small { font-size: 9px; margin-top: 2px; }
.acil-strip { margin: 0 0 26px; }
.ad-card.is-acil { outline: 1px dashed rgba(180,35,24,.35); outline-offset: -6px; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: #fff; color: #ef4444; box-shadow: 0 4px 12px rgba(0,0,0,.12); cursor: pointer;
}
.fav-btn.active { background: #ef4444; color: #fff; }
.ad-body { padding: 12px 14px 14px; }
.ad-body h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; line-height: 1.35; min-height: 40px; }
.ad-body h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-loc { color: var(--muted); font-size: 12px; margin: 0 0 8px; display: flex; gap: 6px; align-items: center; }
.ad-price { font-weight: 800; font-size: 16px; color: #16324f; }
.ad-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 8px; }
.list-row .ad-card { display: grid; grid-template-columns: 240px 1fr; }
.list-row .ad-media { aspect-ratio: auto; min-height: 160px; }
.promo-card {
  background: linear-gradient(160deg, #3b82f6, #1d4ed8);
  color: #fff; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px; position: relative; overflow: hidden;
}
.promo-card h3 { font-size: 22px; line-height: 1.25; margin: 10px 0; max-width: 220px; }
.promo-card .btn-post { align-self: flex-start; height: 40px; }
.promo-card img.promo-visual { position: absolute; right: -10px; bottom: 0; width: 58%; height: 78%; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 20%); }
.sponsor-band { margin: 0 0 26px; }
aside > .sponsor-card,
.seller-stack > .sponsor-card { margin-top: 0; position: relative; z-index: 0; }
.sponsor-band.is-compact { margin: 14px 0 18px; }
.ad-note { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sponsor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.sponsor-card {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  min-height: 168px; padding: 16px; border-radius: 18px; border: 1px solid var(--line);
  background: #fff; overflow: hidden;
}
.sponsor-card.is-wide { min-height: 0; align-items: center; background: linear-gradient(105deg, #16130f, #2a241c 55%, #3d3426); color: #f8f1e4; border-color: transparent; }
.sponsor-card.is-wide .ad-flag { background: rgba(255,255,255,.12); color: #f6d48a; }
.sponsor-card.is-wide small { color: #f6d48a; }
.sponsor-card.is-wide p, .sponsor-card.is-wide em { color: #e7dcc8; }
.sponsor-card.is-blue { background: linear-gradient(160deg, #f4f8ff, #fff); }
.sponsor-card.is-sand { background: linear-gradient(160deg, #fff8ef, #fff); }
.sponsor-card.is-green { background: linear-gradient(160deg, #f3faf6, #fff); }
.sponsor-card.is-ink:not(.is-wide) { background: #17140f; color: #f8f1e4; border-color: transparent; }
.sponsor-card.is-ink:not(.is-wide) p, .sponsor-card.is-ink:not(.is-wide) em { color: #e7dcc8; }
.sponsor-card.is-ink:not(.is-wide) small { color: #f6d48a; }
.ad-flag { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #64748b; background: #f4f6fa; border-radius: 999px; padding: 3px 8px; }
.sponsor-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(47,107,255,.1); color: var(--blue); flex: 0 0 42px; }
.sponsor-card.is-wide .sponsor-icon, .sponsor-card.is-ink .sponsor-icon { background: rgba(246,212,138,.16); color: #f6d48a; }
.sponsor-card.is-sand .sponsor-icon { background: #fff1dc; color: #b45309; }
.sponsor-card.is-green .sponsor-icon { background: #e8f7ee; color: #15803d; }
.sponsor-copy { min-width: 0; }
.sponsor-copy small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #64748b; margin-bottom: 4px; }
.sponsor-copy strong { display: block; font-size: 16px; letter-spacing: -.02em; line-height: 1.3; padding-right: 54px; }
.sponsor-card.is-wide strong { font-size: 22px; }
.sponsor-copy p { margin: 6px 0 8px; color: #64748b; font-size: 13px; line-height: 1.45; }
.sponsor-copy em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--blue); }
.district-chip { display: block; }
.district-chip span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.district-chip:hover { border-color: #c9d7f5; }
.load-more-wrap { display: flex; justify-content: center; margin: 22px 0; }
.load-more-wrap a, .load-more-wrap button {
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 28px; font-weight: 700;
}
.soft-section { margin-top: 28px; }
.stat-banner, .steps, .district-tabs { display: grid; gap: 12px; }
.stat-banner { grid-template-columns: repeat(4, 1fr); }
.stat-banner div, .step, .district-chip, .blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.stat-banner strong { display: block; font-size: 26px; }
.stat-banner span { color: var(--muted); font-size: 13px; }
.steps { grid-template-columns: repeat(4, 1fr); }
.step b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff4e5; color: var(--orange); margin-bottom: 8px; }
.district-tabs { grid-template-columns: repeat(4, 1fr); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.blog-card img { height: 150px; width: 100%; object-fit: cover; border-radius: 12px; margin-bottom: 10px; }
.safety { background: #fff7ed; border: 1px solid #ffedd5; border-radius: 16px; padding: 16px 18px; }

.page-hero { margin-bottom: 14px; }
.page-hero h1 { margin: 0 0 6px; font-size: 28px; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.crumbs a { color: #475569; }
.filter-card { padding: 14px; position: sticky; top: 94px; }
.filter-card h3 { font-size: 15px; margin: 12px 0 8px; }
.filter-card label { display: block; font-size: 13px; color: #475569; margin-bottom: 8px; }
.filter-card input, .filter-card select, .form-control, .form-select {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 12px; margin-top: 4px;
}
.toolbar { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.results-count { color: var(--muted); font-size: 14px; }

.detail-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: 18px; width: min(1180px, calc(100% - 28px)); margin: 18px auto 40px; }
.gallery { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.gallery .main-shot { width: 100%; height: 460px; object-fit: cover; background: #eef2f7; cursor: zoom-in; }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; }
.thumbs img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.thumbs img.active { border-color: var(--blue); }
.detail-title { font-size: 30px; margin: 14px 0 6px; letter-spacing: -.03em; }
.detail-price { font-size: 32px; font-weight: 800; color: #16324f; }
.price-note { color: var(--muted); font-size: 13px; }
.info-grid, .spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.info-grid td, .spec-table td { border-bottom: 1px solid var(--line); padding: 9px 4px; font-size: 14px; }
.info-grid td:first-child, .spec-table td:first-child { color: var(--muted); width: 42%; }
.seller-stack { position: sticky; top: 94px; display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.seller-card { padding: 16px; position: static; }
.seller-head { display: flex; gap: 12px; align-items: center; }
.seller-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.map-box { height: 280px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-top: 12px; }
.description { line-height: 1.7; color: #334155; }
.description.clamped { max-height: 160px; overflow: hidden; }

.auth-split { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1.1fr .9fr; }
.auth-art {
  background: linear-gradient(160deg, #1d4ed8, #0f172a);
  color: #fff; padding: 64px; display: flex; flex-direction: column; justify-content: center;
}
.auth-art h2 { font-size: 42px; letter-spacing: -.04em; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.auth-card { width: min(460px, 100%); }
.form-group { margin-bottom: 12px; }
.help-error { color: #ef4444; font-size: 12px; }
.account-shell { width: min(1180px, calc(100% - 28px)); margin: 18px auto 48px; display: grid; grid-template-columns: 240px 1fr; gap: 18px; }
.account-nav a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.account-nav a.active, .account-nav a:hover { background: #eef4ff; color: var(--blue); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.metric b { font-size: 24px; display: block; }
.chat { display: grid; grid-template-columns: 320px 1fr; min-height: 68vh; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.chat-list { border-right: 1px solid var(--line); overflow: auto; }
.chat-item { display: flex; gap: 10px; padding: 12px; border-bottom: 1px solid #f2f4f8; text-decoration: none; color: inherit; }
.chat-item.active { background: #f5f8ff; }
.chat-item.has-unread strong { color: #0f172a; }
.chat-item-body { min-width: 0; flex: 1; }
.chat-item-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.chat-item-listing { font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-preview { font-size: 12px; color: #94a3b8; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #2F6BFF; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.chat-thread-head { padding: 12px 14px; border-bottom: 1px solid #e8edf4; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.chat-thread-meta a { display: block; font-size: 13px; color: #2F6BFF; }
.chat-thread-actions { display: flex; gap: 8px; }
.bubbles { padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #f7f8fb; min-height: 420px; }
.bubble { max-width: 75%; padding: 10px 12px; border-radius: 14px; background: #fff; }
.bubble.mine { margin-left: auto; background: #dbe7ff; }
.chat-compose { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.steps-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.steps-bar span { padding: 6px 10px; border-radius: 999px; background: #f3f5f8; font-size: 13px; font-weight: 600; }
.steps-bar span.on { background: #e8efff; color: var(--blue); }
.wizard-step { display: none; }
.wizard-step.on { display: block; }
.dropzone {
  border: 1.5px dashed #cbd5e1; border-radius: 16px; padding: 28px; text-align: center; background: #fafbfe;
}
.preview-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.preview-grid img { width: 92px; height: 72px; object-fit: cover; border-radius: 10px; }

.site-footer { background: #0f172a; color: #e2e8f0; margin-top: 20px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 20px; padding: 28px 0; }
.footer-grid a { display: block; color: #cbd5e1; font-size: 14px; margin: 6px 0; }
.footer-grid h4 { margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0 22px; color: #94a3b8; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; border-radius: 10px; border: 0; padding: 10px 12px; }
.bottom-nav, .cookie, .to-top { display: none; }
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line);
  display: none; grid-template-columns: repeat(5, 1fr); z-index: 50; padding: 6px 0 8px;
}
.bottom-nav a { text-align: center; font-size: 11px; color: #64748b; font-weight: 600; }
.bottom-nav a i { display: block; font-size: 16px; margin-bottom: 2px; }
.bottom-nav .plus { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: #1f2937; display: grid; place-items: center; margin: -22px auto 0; }
.cookie {
  position: fixed; left: 16px; bottom: 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 14px; width: min(360px, calc(100% - 32px)); z-index: 60; border: 1px solid var(--line);
}
.to-top {
  position: fixed; right: 16px; bottom: 24px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; z-index: 40;
}
.status-badge { display: inline-flex; border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 700; }
.status-success { background: #dcfce7; color: #166534; }
.status-warning { background: #fef3c7; color: #92400e; }
.status-danger { background: #fee2e2; color: #991b1b; }
.status-info { background: #dbeafe; color: #1e40af; }
.status-muted { background: #f1f5f9; color: #475569; }
.empty { text-align: center; padding: 40px 16px; }
.menu-toggle { display: none; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; }
.compare-table td, .compare-table th { border: 1px solid var(--line); padding: 10px; vertical-align: top; }
.pager { margin-top: 16px; }
@media (max-width: 1100px) {
  .reco-grid, .listing-grid, .stat-banner, .steps, .blog-grid, .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .header-search select, .header-search input[name="konum"] { display: none; }
  .detail-grid, .auth-split, .account-shell, .home-shell, .page-shell { grid-template-columns: 1fr; }
  .cat-rail, .filter-card, .seller-card, .seller-stack { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-block h1 { font-size: 30px; }
  .reco-grid, .listing-grid, .stat-banner, .steps, .district-tabs, .blog-grid, .metric-grid, .sponsor-grid { grid-template-columns: 1fr; }
  .sponsor-card.is-wide { align-items: flex-start; }
  .sponsor-card.is-wide strong { font-size: 18px; }
  .header-search { display: none; }
  .header-search.open { display: flex; position: absolute; left: 12px; right: 12px; top: 70px; background: #fff; padding: 10px; border-radius: 14px; box-shadow: var(--shadow); }
  .btn-post span { display: none; }
  .menu-toggle, .icon-btn { display: inline-flex; align-items: center; justify-content: center; }
  .bottom-nav { display: grid; }
  body { padding-bottom: 72px; }
  .chat { grid-template-columns: 1fr; }
  .gallery .main-shot { height: 260px; }
  .list-row .ad-card { grid-template-columns: 1fr; }
  .footer-cta, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { bottom: 84px; }
  .cookie { bottom: 78px; }
}
@media print {
  .site-header, .site-footer, .bottom-nav, .seller-actions, .cookie, .to-top { display: none !important; }
  .detail-grid { display: block; }
}
.drill-card { background:#fff; border:1px solid #eef1f6; border-radius:18px; padding:22px 26px 28px; min-width:0; }
.drill-card h1 { margin:8px 0 6px; font-size:28px; letter-spacing:-.03em; }
.drill-lead { color:#64748b; margin:0 0 16px; font-size:14px; }
.drill-list { list-style:none; margin:0; padding:0; columns:3; column-gap:36px; }
.drill-list.is-short { columns:1; max-width:480px; }
.drill-list li { break-inside:avoid; }
.drill-list a { display:flex; justify-content:space-between; gap:12px; padding:9px 2px; border-bottom:1px solid #f1f5f9; color:#1d4fbf; font-weight:600; }
.drill-list a:hover { color:#163e98; }
.drill-list em { color:#94a3b8; font-style:normal; font-weight:500; }
.drill-empty { color:#64748b; padding:12px 0; }
@media (max-width: 900px) { .drill-list { columns:1; } }
.vehicle-cascade select { margin-top:4px; font-weight:400; }
.vehicle-hint { color:#64748b; font-size:13px; margin:0 0 8px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  background: #f3f5f8; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
body.is-auth .site-header,
body.is-auth .site-footer,
body.is-auth .bottom-nav,
body.is-auth .cookie,
body.is-auth .to-top,
body.is-auth .flash { display: none; }
body.is-auth { background: #f7f8fb; color: #1b2430; padding-bottom: 0; }
body.is-auth main { min-height: 100vh; }
.gate {
  min-height: 100vh; display: grid; grid-template-columns: minmax(280px, 460px) minmax(320px, 480px);
  align-items: center; justify-content: center; gap: 56px; padding: 32px 24px;
}
.gate-frame {
  position: relative; height: min(640px, calc(100vh - 64px)); border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 80px rgba(47, 107, 255, .22), 0 0 40px rgba(255, 55, 95, .12);
}
.gate-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.gate-still {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  animation: gate-drift 16s ease-in-out infinite alternate;
}
.gate-frame::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 1; pointer-events: none;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
}
@keyframes gate-drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.14) translate3d(-2%, -1%, 0); }
}
.gate-caption {
  position: absolute; left: 18px; right: 18px; bottom: 22px; z-index: 2;
  display: flex; align-items: center; gap: 12px; color: #fff;
}
.gate-caption strong, .gate-caption span {
  display: block;
  background-image: linear-gradient(105deg, #fff 0%, #fff 34%, #fff4c2 50%, #fff 66%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shine 2.6s linear infinite;
}
.gate-caption strong { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.gate-caption span { font-size: 16px; margin-top: 4px; }
.gate-form { width: min(420px, 100%); }
.gate-form h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.03em; }
.gate-lead { margin: 0 0 18px; color: #64748b; }
.gate-field {
  display: flex; align-items: center; gap: 10px; height: 52px; margin-bottom: 12px; padding: 0 14px;
  border-radius: 14px; background: #fff; border: 1px solid #e6ebf2; color: #64748b;
}
.gate-field input, .gate-field select {
  flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: #1b2430; outline: none; font-size: 14px;
}
.gate-field select { color: #1b2430; }
.gate-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; color: #64748b; margin: 4px 0 16px; }
.gate-row a, .gate-switch a, .gate-check a { color: #1d4ed8; }
.gate-submit { --btn-radius: 999px; width: 100%; height: 52px; border-radius: 999px; margin-top: 4px; }
.gate-google {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; margin-top: 12px;
  border-radius: 999px; border: 1px solid #e6ebf2; background: #fff; color: #1b2430; font-weight: 700;
  text-decoration: none;
}
.gate-google.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.gate-hint { margin: 8px 0 0; font-size: 12px; color: #94a3b8; text-align: center; }
.verify-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 16px; }
.verify-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fafbfd; }
.verify-card strong { display: block; margin-bottom: 4px; }
.verify-card p { margin: 0; color: #64748b; font-size: 13px; }
@media (max-width: 720px) { .verify-cards { grid-template-columns: 1fr; } }
.gate-switch { margin-top: 18px; color: #64748b; font-size: 14px; }
.gate-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gate-check { display: flex; gap: 8px; align-items: flex-start; color: #475569; font-size: 13px; margin: 8px 0 12px; }
.hp-field { position: absolute; left: -9999px; }
.gate-theme { position: fixed; top: 16px; right: 16px; z-index: 5; background: #fff; color: #1b2430; border-color: #e6ebf2; }
html[data-theme="dark"] body.is-auth { background: #07080c; color: #f4f7fb; }
html[data-theme="dark"] body.is-auth .gate-lead,
html[data-theme="dark"] body.is-auth .gate-switch,
html[data-theme="dark"] body.is-auth .gate-row { color: #9aa6b8; }
html[data-theme="dark"] body.is-auth .gate-field { background: #161616; border-color: #2a2a2a; color: #9aa6b8; }
html[data-theme="dark"] body.is-auth .gate-field input,
html[data-theme="dark"] body.is-auth .gate-field select { color: #f4f7fb; }
html[data-theme="dark"] body.is-auth .gate-google { background: transparent; border-color: #3a3a3a; color: #f4f7fb; }
html[data-theme="dark"] body.is-auth .gate-check { color: #c5ced8; }
html[data-theme="dark"] body.is-auth .gate-row a,
html[data-theme="dark"] body.is-auth .gate-switch a,
html[data-theme="dark"] body.is-auth .gate-check a { color: #8eb0ff; }
html[data-theme="dark"] body.is-auth .gate-theme { background: #161616; color: #f4f7fb; border-color: #2a2a2a; }
@media (max-width: 860px) {
  .gate { grid-template-columns: 1fr; gap: 20px; padding-top: 64px; }
  .gate-frame { height: 220px; }
}

html[data-theme="dark"] {
  --ink: #e7edf6;
  --muted: #93a0b4;
  --line: #2c3545;
  --bg: #0e131b;
  --card: #171e2a;
  color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .bottom-nav,
html[data-theme="dark"] .cookie,
html[data-theme="dark"] .user-menu .dropdown { background: #121820; color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .header-icon,
html[data-theme="dark"] .header-user { background: #1c2431; border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .header-icon:hover,
html[data-theme="dark"] .header-user:hover,
html[data-theme="dark"] .user-menu.is-open .header-user { background: #243044; }
html[data-theme="dark"] .header-badge { border-color: #121820; }
html[data-theme="dark"] .avatar-edit { border-color: #121820; }
html[data-theme="dark"] .dropdown-sep { background: #243044; }
html[data-theme="dark"] .dropdown-logout:hover { background: #2a1518; }
html[data-theme="dark"] .logo-word { color: #f8fafc; }
html[data-theme="dark"] .header-search input,
html[data-theme="dark"] .header-search select,
html[data-theme="dark"] .theme-toggle { background: #1c2431; color: #e7edf6; border-color: var(--line); }
html[data-theme="dark"] .cat-rail,
html[data-theme="dark"] .filter-card,
html[data-theme="dark"] .drill-card { background: var(--card); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .cat-link,
html[data-theme="dark"] .cat-sublink,
html[data-theme="dark"] .filter-card label { color: #d5deea; }
html[data-theme="dark"] .cat-link:hover,
html[data-theme="dark"] .cat-item.open > .cat-link { background: #243044; }
html[data-theme="dark"] .vitrin { background: #141b26; border-color: var(--line); }
html[data-theme="dark"] .hero-block h1,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .drill-card h1 { color: #f4f7fb; }
html[data-theme="dark"] .popular-line,
html[data-theme="dark"] .trust-row,
html[data-theme="dark"] .drill-lead { color: #b7c2d2; }
html[data-theme="dark"] .user-menu .dropdown a:hover { background: #243044; }
html[data-theme="dark"] .user-menu .dropdown a i { color: #93a0b4; }
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .filter-card input,
html[data-theme="dark"] .filter-card select { background: #121820; color: var(--ink); border-color: var(--line); }

.promo-lead { margin: 0 0 18px; color: #64748b; max-width: 640px; }
.profile-hero, .profile-panel { background: #fff; border: 1px solid #eef1f6; border-radius: 18px; }
.profile-hero { overflow: hidden; margin-bottom: 14px; }
.profile-cover { height: 148px; background: linear-gradient(100deg, #1b3a6b 0%, #2563eb 72%, #f4a261 100%) center/cover no-repeat; }
.profile-id { display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 0 24px 22px; }
.profile-avatar { width: 108px; height: 108px; margin-top: -48px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: #eef2f7; box-shadow: 0 8px 18px rgba(22, 34, 51, .12); }
.profile-id-copy { min-width: 0; padding-top: 16px; }
.profile-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.profile-id-copy h1 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.03em; color: var(--ink); }
.profile-handle { margin: 3px 0 0; color: #64748b; font-weight: 600; font-size: 14px; }
.profile-meta { display: flex; flex-wrap: wrap; align-items: center; margin: 10px 0 0; color: #64748b; font-size: 13px; }
.profile-meta span:not(:last-child)::after { content: "·"; margin: 0 8px; color: #cbd5e1; }
.profile-live { color: #15803d; font-weight: 700; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 12px 0 0; }
.profile-badges li { background: #eef4ff; color: #1d4ed8; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.profile-actions { flex: 0 0 auto; }
.profile-actions .btn-line, .profile-actions .btn-search { height: 42px; padding: 0 16px; white-space: nowrap; }
.profile-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.profile-stats div { background: #fff; border: 1px solid #eef1f6; border-radius: 16px; padding: 14px 16px; }
.profile-stats b { display: block; font-size: 26px; letter-spacing: -.03em; }
.profile-stats span, .profile-muted { color: #64748b; font-size: 13px; }
.profile-layout { display: grid; grid-template-columns: 280px 1fr; gap: 14px; margin-bottom: 14px; }
.profile-panel { padding: 18px; }
.profile-panel h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.profile-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.profile-panel-head span, .profile-panel-head a { color: #64748b; font-size: 13px; font-weight: 700; }
.profile-about { margin: 12px 0 0; line-height: 1.7; white-space: pre-line; }
.profile-facts { margin: 16px 0; }
.profile-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.profile-facts dt { color: #64748b; }
.profile-facts dd { margin: 0; font-weight: 700; text-align: right; }
.profile-main .listing-grid { grid-template-columns: repeat(2, 1fr); }
.profile-empty { padding: 28px 8px; text-align: center; }
.profile-empty strong { display: block; margin-bottom: 4px; }
.profile-empty p, .review-note { color: #64748b; margin: 0 0 14px; }
.profile-more, .profile-back { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--blue); }
.profile-back { margin: 0 0 14px; }
.rating-summary { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; margin-bottom: 16px; }
.rating-score { text-align: center; }
.rating-score strong { display: block; font-size: 36px; letter-spacing: -.04em; }
.rating-score small, .rating-bars { color: #64748b; font-size: 12px; }
.rating-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.rating-bars li { display: grid; grid-template-columns: 14px 1fr 24px; gap: 8px; align-items: center; }
.rating-track { height: 8px; border-radius: 99px; background: #eef2f7; overflow: hidden; }
.rating-track span { display: block; height: 100%; background: #f59e0b; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.review-form, .review-card { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.review-form h3 { margin: 0 0 10px; font-size: 16px; }
.review-form label, .review-reply-form label { display: block; margin: 10px 0 6px; font-size: 13px; font-weight: 700; }
.review-form input, .review-form select, .review-form textarea, .review-reply-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; background: #fff;
}
.star-input { border: 0; margin: 0; padding: 0; }
.star-input legend { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.star-row { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { font-size: 26px; color: #d5dbe6; cursor: pointer; line-height: 1; }
.star-row label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.star-row label:hover, .star-row label:hover ~ label, .star-row input:checked ~ label { color: #f59e0b; }
.review-card { display: flex; gap: 12px; }
.review-card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #eef2f7; flex: 0 0 auto; }
.review-card header { display: flex; justify-content: space-between; gap: 12px; }
.review-card h3 { margin: 6px 0 0; font-size: 16px; }
.review-card p { margin: 6px 0 0; line-height: 1.6; }
.review-card time { color: #94a3b8; font-size: 12px; }
.review-listing { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--blue); }
.review-reply { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f7f8fb; }
.review-reply strong { font-size: 13px; }
.review-reply-form { margin-top: 10px; }
.review-reply-form .btn-line { margin-top: 8px; }
@media (max-width: 860px) {
  .profile-layout, .rating-summary, .profile-stats { grid-template-columns: 1fr 1fr; }
  .profile-layout, .rating-summary { grid-template-columns: 1fr; }
  .profile-id { grid-template-columns: 84px minmax(0, 1fr); }
  .profile-avatar { width: 84px; height: 84px; margin-top: -34px; }
  .profile-title-row { align-items: flex-start; flex-wrap: wrap; }
  .profile-main .listing-grid { grid-template-columns: 1fr; }
}
html[data-theme="dark"] .profile-hero,
html[data-theme="dark"] .profile-panel,
html[data-theme="dark"] .profile-stats div,
html[data-theme="dark"] .review-reply { background: var(--card); color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .profile-avatar { border-color: var(--card); }
html[data-theme="dark"] .profile-handle,
html[data-theme="dark"] .profile-meta,
html[data-theme="dark"] .profile-stats span,
html[data-theme="dark"] .profile-muted,
html[data-theme="dark"] .profile-facts dt,
html[data-theme="dark"] .review-note,
html[data-theme="dark"] .profile-panel-head span,
html[data-theme="dark"] .profile-panel-head a { color: #b7c2d2; }
html[data-theme="dark"] .profile-badges li { background: #243044; color: #9eb6ff; }
html[data-theme="dark"] .review-form input,
html[data-theme="dark"] .review-form select,
html[data-theme="dark"] .review-form textarea,
html[data-theme="dark"] .review-reply-form textarea { background: #121820; color: var(--ink); border-color: var(--line); }
html[data-theme="dark"] .rating-track { background: #243044; }

