/*
 * StudentsBooking UI v2 — Bileşenler (PRD §6)
 * Not: eski CSS "header"/"footer" etiket seçicileri kullandığı için
 * yeni bileşenler <div role="banner|contentinfo"> ile kurulur.
 */

/* ===================== Buttons (§6.6) ===================== */
.sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--sb-radius-md);
  font-family: var(--sb-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--sb-ease), color var(--sb-ease), box-shadow var(--sb-ease);
}
.sb-btn:hover, .sb-btn:focus { text-decoration: none; }
.sb-btn--primary { background: var(--sb-primary); color: #fff; }
.sb-btn--primary:hover, .sb-btn--primary:focus { background: var(--sb-primary-hover); color: #fff; }
.sb-btn--outline { background: #fff; color: var(--sb-text-heading); box-shadow: var(--sb-ring); font-weight: 400; }
.sb-btn--outline:hover { box-shadow: 0 0 0 1px var(--sb-text-heading); color: var(--sb-text-heading); }
.sb-btn--ghost-light { background: transparent; color: #fff; box-shadow: 0 0 0 1px #fff; }
.sb-btn--pill { border-radius: var(--sb-radius-pill); }
.sb-btn--sm { height: 32px; padding: 0 14px; }
.sb-btn--lg { height: 48px; padding: 0 24px; font-size: 16px; }
.sb-btn--block { display: flex; width: 100%; }
.sb-btn--icon { width: 40px; padding: 0; background: #fff; color: var(--sb-text-heading); box-shadow: var(--sb-ring); }

/* ===================== Badge (§6.5) ===================== */
.sb-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--sb-radius-sm);
  background: var(--sb-surface);
  color: var(--sb-text-heading);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}
.sb-badge--accent { background: var(--sb-accent-pink); color: #fff; }
.sb-badge--new { background: var(--sb-accent-purple); color: #fff; font-size: 12px; height: 18px; }

/* ===================== Header (§6.1) ===================== */
.sb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  height: var(--sb-header-h);
  background: #fff;
  font-family: var(--sb-font);
}
.sb-header.is-scrolled { box-shadow: 0 1px 0 var(--sb-divider); }
.sb-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  padding: 0 24px;
}
.sb-header__logo { display: flex; align-items: center; flex: none; height: 33px; }
.sb-header__logo img { display: block; height: 33px; width: auto; max-width: 180px; }
.sb-header__logo-text { font-size: 22px; font-weight: 700; color: var(--sb-text-heading); letter-spacing: -.02em; }
.sb-header__logo-text span { color: var(--sb-primary); }

/* Kompakt arama: hero arama kutusu görünmez olunca belirir */
.sb-header__search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--sb-ease-out), transform var(--sb-ease-out), visibility var(--sb-ease-out);
}
.sb-header.has-search .sb-header__search { opacity: 1; visibility: visible; transform: none; }
.sb-header__search-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 16px;
  border: 2px solid var(--sb-primary-light);
  border-radius: var(--sb-radius-pill);
  background: #fff;
  color: var(--sb-text-muted);
  font-family: var(--sb-font);
  font-size: 14px;
  text-align: left;
  cursor: text;
}
.sb-header__search-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sb-header__inner { position: relative; }
.sb-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }
/* Referans: "Şehir rehberi / İletişim / [İlanını ver]" grubu header'ın tam ortasında */
.sb-nav__center {
  position: absolute; left: 50%; top: 50%;
  display: flex; align-items: center; gap: 20px;
  transform: translate(-50%, -50%);
}
.sb-nav__cta {
  display: inline-flex; align-items: center;
  height: 31px; padding: 8px 12px;
  border-radius: 20px;
  background: var(--sb-primary); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1;
  white-space: nowrap;
  transition: background-color var(--sb-ease);
}
.sb-nav__cta:hover, .sb-nav__cta:focus { background: var(--sb-primary-hover); color: #fff; }
.sb-nav__btn {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 12px;
  border-radius: 8px;
  color: var(--sb-text-heading); font-size: 14px;
  white-space: nowrap;
  transition: background-color var(--sb-ease);
}
.sb-nav__btn:hover, .sb-nav__btn:focus, .sb-nav__btn.is-active { background: var(--sb-surface); color: var(--sb-text-heading); }
.sb-nav__lang { margin: 0 14px 0 26px; }
.sb-nav__lang .sb-dropdown__toggle { gap: 10px; }
.sb-nav__lang .sb-dropdown__toggle .sb-icon { width: 18px; height: 18px; }
.sb-nav__link {
  color: var(--sb-text-heading);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--sb-ease);
}
.sb-nav__link:hover, .sb-nav__link:focus, .sb-nav__link.is-active { color: var(--sb-primary); }
.sb-nav__badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px;
  border-radius: 9px; background: var(--sb-accent-pink); color: #fff;
  font-size: 11px; font-weight: 700;
}
.sb-nav__badge:empty { display: none; }
.sb-nav__badge.is-bump, .sb-header__burger-badge.is-bump { animation: sb-badge-bump .4s ease-out; }
@keyframes sb-badge-bump { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.sb-header__burger { position: relative; }
.sb-header__burger-badge {
  position: absolute; top: -4px; right: -4px; display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border: 2px solid #fff; border-radius: 10px; box-sizing: content-box;
  background: var(--sb-accent-pink); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1;
}
.sb-header__burger-badge:empty { display: none; }
@media (min-width: 1280px) { .sb-header__burger-badge { display: none; } }   /* masaüstünde sayı "Mesajlar" bağlantısında */
@media (prefers-reduced-motion: reduce) { .sb-nav__badge.is-bump, .sb-header__burger-badge.is-bump { animation: none; } }

.sb-dropdown { position: relative; }
.sb-dropdown__toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0; border: 0; background: none;
  color: var(--sb-text-heading); font-family: var(--sb-font); font-size: 14px;
  cursor: pointer;
}
.sb-dropdown__toggle:hover { color: var(--sb-primary); }
.sb-dropdown__menu {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 220px; margin: 0; padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: var(--sb-radius-lg);
  box-shadow: var(--sb-shadow-pop), var(--sb-ring);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--sb-ease), transform var(--sb-ease), visibility var(--sb-ease);
  z-index: 10;
}
.sb-dropdown.is-open .sb-dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.sb-dropdown__menu a {
  display: block; padding: 10px 20px;
  color: var(--sb-text-heading); font-size: 14px;
}
.sb-dropdown__menu a:hover, .sb-dropdown__menu a.is-active { background: var(--sb-surface); color: var(--sb-text-heading); }
.sb-dropdown__divider { height: 1px; margin: 8px 0; background: var(--sb-divider); }

.sb-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; background: var(--sb-surface);
}

.sb-header__burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-right: -8px;
  padding: 0; border: 0; background: none;
  color: var(--sb-text-heading); cursor: pointer;
}

@media (max-width: 767px) {
  .sb-header__inner { gap: 12px; padding: 0 16px; }
  .sb-header__logo img { height: 28px; }
  .sb-header__logo-text { font-size: 20px; }
  /* Kompakt arama görünürken logo yerini aramaya bırakır */
  .sb-header.has-search .sb-header__logo { display: none; }
}

/* Desktop tam nav yalnızca ≥1280 (referansla aynı) */
.sb-nav--desktop { display: none; }
@media (min-width: 1280px) {
  .sb-nav--desktop { display: flex; }
}

/* ===================== Drawer (mobil/tablet menü) ===================== */
.sb-drawer {
  position: fixed; inset: 0; z-index: 1050;
  visibility: hidden;
}
.sb-drawer.is-open { visibility: visible; }
.sb-drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(34, 66, 81, .4);
  opacity: 0; transition: opacity var(--sb-ease-out);
}
.sb-drawer.is-open .sb-drawer__backdrop { opacity: 1; }
.sb-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(360px, 100%);
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--sb-ease-out);
  overflow-y: auto;
  font-family: var(--sb-font);
}
.sb-drawer.is-open .sb-drawer__panel { transform: none; }
.sb-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--sb-header-h); padding: 0 16px 0 24px; flex: none;
}
.sb-drawer__title { font-size: 18px; font-weight: 600; color: var(--sb-text-heading); }
.sb-drawer__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border: 0; background: none;
  color: var(--sb-text-heading); cursor: pointer;
}
.sb-drawer__body { padding: 8px 0 24px; }
.sb-drawer__user {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px 16px; font-size: 16px; font-weight: 600; color: var(--sb-text-heading);
}
.sb-drawer__user .sb-avatar { width: 40px; height: 40px; }
.sb-drawer__link {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 24px;
  color: var(--sb-text-heading); font-size: 18px;
}
.sb-drawer__link:hover, .sb-drawer__link.is-active { background: var(--sb-surface); color: var(--sb-text-heading); }
.sb-drawer__section {
  padding: 20px 24px 8px; font-size: 14px; font-weight: 600; color: var(--sb-text-muted);
}
.sb-drawer__divider { height: 1px; margin: 8px 24px; background: var(--sb-divider); }
.sb-drawer__cta { padding: 16px 24px; }
.sb-drawer__langs { display: flex; gap: 8px; padding: 0 24px; }
.sb-drawer__langs a {
  padding: 6px 12px; border-radius: var(--sb-radius-md); box-shadow: var(--sb-ring);
  font-size: 14px; color: var(--sb-text-heading);
}
.sb-drawer__langs a.is-active { box-shadow: 0 0 0 2px var(--sb-primary); }
body.sb-no-scroll { overflow: hidden; }

/* ===================== Search (§6.2) ===================== */
.sb-search {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.sb-search__box {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  background: #fff;
  border: 3px solid var(--sb-primary-light);
  border-radius: var(--sb-radius-pill);
  box-shadow: var(--sb-shadow-search);
  transition: border-color var(--sb-ease);
}
.sb-search__box:focus-within { border-color: var(--sb-primary); }
.sb-search__icon {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--sb-text-muted);
  pointer-events: none;
}
.sb-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 20px 0 50px;
  border: 0;
  border-radius: var(--sb-radius-pill);
  background: transparent;
  color: var(--sb-text-heading);
  font-family: var(--sb-font);
  font-size: 20px;
  text-overflow: ellipsis;
  outline: none;
  box-shadow: none;
}
.sb-search__input::placeholder { color: var(--sb-text-muted); opacity: 1; }
body.sb-v2 .sb-search__input:focus-visible { outline: none; }
.sb-search__submit { flex: none; margin-right: 6px; height: 40px; padding: 0 22px; font-size: 16px; }

/* Otomatik tamamlama (#resultWindow) — eski siyah .newfixed stilinin yerine */
body.sb-v2 #resultWindow.sb-search__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  z-index: 20;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px 0;
  background: #fff;
  border-radius: var(--sb-radius-lg);
  box-shadow: var(--sb-shadow-pop), var(--sb-ring);
  text-align: left;
}
body.sb-v2 #resultWindow.sb-search__results:empty { display: none !important; }
body.sb-v2 #resultWindow.sb-search__results > div {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 4px 20px;
  color: var(--sb-text-heading); font-size: 16px;
  cursor: pointer;
}
body.sb-v2 #resultWindow.sb-search__results > div:hover { background: var(--sb-surface); }
body.sb-v2 #resultWindow .hotelIcon {
  width: 32px; height: 32px; padding: 4px;
  border-radius: var(--sb-radius-md);
  background: var(--sb-surface);
  object-fit: cover;
}
body.sb-v2 #frm_search_room label.help-inline {
  display: block; margin: 8px 0 0; text-align: center;
  color: var(--sb-danger); font-size: 14px; font-weight: 400;
}

/* ===================== Guarantee row (§6.3) ===================== */
.sb-guarantee {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 24px auto 0; max-width: 700px;
  color: var(--sb-text-heading); font-size: 16px; text-align: center;
}
.sb-guarantee .sb-icon { color: var(--sb-text-heading); }

/* ===================== Listing grid & card (§6.4) ===================== */
.sb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px var(--sb-gutter);
}
@media (min-width: 768px)  { .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .sb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.sb-card { position: relative; min-width: 0; font-family: var(--sb-font); }
.sb-card__link { display: block; color: inherit; }
.sb-card__link:hover, .sb-card__link:focus { color: inherit; }
.sb-card__media {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: var(--sb-radius-lg);
  background: var(--sb-surface);
}
.sb-card__media > a { display: block; height: 100%; }
.sb-card__media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}

/* Kart fotoğraf karuseli (scroll-snap; oklar yalnızca hover'da) */
.sb-carousel { position: relative; height: 100%; }
.sb-carousel__track {
  display: flex; height: 100%;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sb-carousel__track::-webkit-scrollbar { display: none; }
.sb-carousel__slide { flex: 0 0 100%; scroll-snap-align: start; }
.sb-carousel__nav {
  position: absolute; top: 50%; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin-top: -14px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--sb-text-heading);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
  cursor: pointer; opacity: 0;
  transition: opacity var(--sb-ease);
}
.sb-carousel__nav--prev { left: 10px; }
.sb-carousel__nav--next { right: 10px; }
.sb-card:hover .sb-carousel__nav, .sb-carousel__nav:focus-visible { opacity: 1; }
@media (hover: none) { .sb-carousel__nav { display: none; } }
.sb-carousel__dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 5px;
  pointer-events: none;
}
.sb-carousel__dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sb-overlay-white-40);
  transition: background-color var(--sb-ease);
}
.sb-carousel__dots span.is-active { background: #fff; }
.sb-card__media-badge { position: absolute; top: 12px; left: 12px; }
.sb-card__media-badge .sb-badge { background: #fff; }
.sb-card__fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%;
  background: #fff;
  color: var(--sb-text-heading);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
  cursor: pointer;
  transition: transform var(--sb-ease), color var(--sb-ease);
}
.sb-card__fav:hover { transform: scale(1.06); color: var(--sb-text-heading); }
.sb-card__fav .sb-icon { width: 20px; height: 20px; }
.sb-card__fav.is-active { color: var(--sb-accent-pink); }
.sb-card__fav.is-active .sb-icon { fill: currentColor; }

.sb-card__body { padding: 12px 4px 0; }
.sb-card__meta { margin: 0 0 2px; color: var(--sb-text-muted); font-size: 12px; line-height: 15px; }
.sb-card__title {
  margin: 0;
  color: var(--sb-text-body);
  font-size: 16px; font-weight: 400; line-height: 22px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sb-card__title--listing {
  color: var(--sb-text-heading);
  font-size: 18px; font-weight: 600; line-height: 22px;
  white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.sb-card__location { margin: 4px 0 0; color: var(--sb-text-muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-card__avail { margin: 4px 0 0; color: var(--sb-primary); font-size: 14px; font-weight: 500; }
.sb-card .sb-badges { margin-top: 8px; }
.sb-card__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
  margin: 8px 0 0;
  color: var(--sb-text-heading);
}
.sb-card__price-old { color: var(--sb-text-muted); font-size: 16px; text-decoration: line-through; }
.sb-card__price-now { font-size: 22px; font-weight: 600; line-height: 1.2; }
.sb-card__price-unit { color: var(--sb-text-muted); font-size: 14px; }
.sb-card__price-note { color: var(--sb-border); font-size: 14px; }

/* ===================== Section heading ===================== */
.sb-section { padding: 64px 0 0; }
.sb-section__title {
  margin: 0 0 32px;
  color: var(--sb-text-heading);
  font-size: 34px; font-weight: 600; line-height: 38px;
  text-align: center;
}
@media (max-width: 767px) {
  .sb-section { padding-top: 48px; }
  .sb-section__title { font-size: 24px; line-height: 30px; margin-bottom: 24px; }
}

/* ===================== Region tabs + city grid (§6.10) ===================== */
.sb-tabs {
  display: flex; justify-content: center; gap: 32px;
  margin: 0 0 24px; padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.sb-tabs::-webkit-scrollbar { display: none; }
.sb-tabs__btn {
  position: relative;
  height: 56px; padding: 0;
  border: 0; background: none;
  color: var(--sb-text-subtle);
  font-family: var(--sb-font); font-size: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--sb-ease);
}
.sb-tabs__btn:hover { color: var(--sb-text-heading); }
.sb-tabs__btn[aria-selected="true"] { color: var(--sb-primary); }
.sb-tabs__btn[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px;
  height: 2px; background: var(--sb-primary);
}
.sb-city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--sb-gutter);
  margin: 0; padding: 0; list-style: none;
}
@media (min-width: 768px) { .sb-city-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sb-city-grid a {
  display: block; padding: 9px 0;
  color: var(--sb-primary); font-size: 18px; line-height: 22px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sb-city-grid a:hover { color: var(--sb-primary-hover); text-decoration: underline; }
.sb-tabpanel[hidden] { display: none; }
@media (max-width: 767px) {
  .sb-tabs { justify-content: flex-start; gap: 24px; }
  .sb-tabs__btn { font-size: 18px; }
  .sb-city-grid a { font-size: 16px; }
}

/* ===================== Footer (§6.11) ===================== */
.sb-footer {
  margin-top: 80px;
  padding: 36px 0;
  background: var(--sb-surface);
  font-family: var(--sb-font);
  color: var(--sb-text-heading);
}
.sb-footer__social {
  display: flex; align-items: center; gap: 16px;
  margin: 0; padding: 0 0 28px; list-style: none;
  border-bottom: 1px solid var(--sb-border);
}
.sb-footer__social a { display: inline-flex; color: #000; }
.sb-footer__social a:hover { color: var(--sb-primary); }
.sb-footer__social .sb-icon { width: 20px; height: 20px; }
.sb-footer__cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 73px 0 48px;
  border-bottom: 1px solid var(--sb-border);
}
.sb-footer__heading {
  margin: 0 0 32px;
  color: var(--sb-text-heading);
  font-size: 18px; font-weight: 600; line-height: 23px;
}
.sb-footer__heading button { all: unset; display: flex; align-items: center; justify-content: space-between; width: 100%; cursor: default; }
.sb-footer__heading .sb-icon { display: none; }
.sb-footer__list { margin: 0; padding: 0; list-style: none; }
.sb-footer__list li + li { margin-top: 16px; }
.sb-footer__list a {
  display: inline-block;
  color: var(--sb-text-muted);
  font-size: 14px; line-height: 18px;
}
.sb-footer__list a:hover { color: var(--sb-primary); }
.sb-footer__payments img { display: block; max-width: 180px; height: auto; margin-top: 8px; }
.sb-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 20px;
  color: #000;
  font-size: 18px; line-height: 23px;
}
.sb-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.sb-footer__bottom a { color: var(--sb-text-muted); }
.sb-footer__bottom a:hover { color: var(--sb-primary); }
@media (max-width: 1023px) {
  .sb-footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 767px) {
  .sb-footer { margin-top: 56px; }
  .sb-footer__cols { display: block; padding: 8px 0; }
  .sb-footer__col { border-bottom: 1px solid var(--sb-divider); }
  .sb-footer__col:last-child { border-bottom: 0; }
  .sb-footer__heading { margin: 0; }
  .sb-footer__heading button { min-height: 48px; cursor: pointer; }
  .sb-footer__heading .sb-icon { display: inline-block; transition: transform var(--sb-ease); }
  .sb-footer__col.is-open .sb-footer__heading .sb-icon { transform: rotate(180deg); }
  .sb-footer__col .sb-footer__list { display: none; padding-bottom: 12px; }
  .sb-footer__col.is-open .sb-footer__list { display: block; }
  .sb-footer__bottom { flex-direction: column; align-items: flex-start; font-size: 14px; }
}

/* ===================== Toast (flash mesajları, §6.13) ===================== */
.sb-toast {
  position: fixed; top: calc(var(--sb-header-h) + 16px); right: 16px; z-index: 1060;
  display: flex; align-items: flex-start; gap: 12px;
  max-width: 420px; padding: 16px 16px 16px 20px;
  background: #fff;
  border-radius: var(--sb-radius-md);
  box-shadow: var(--sb-shadow-pop), var(--sb-ring);
  border-left: 4px solid var(--sb-primary);
  color: var(--sb-text-heading); font-family: var(--sb-font); font-size: 15px; line-height: 1.45;
  animation: sb-toast-in var(--sb-ease-out);
}
.sb-toast--error { border-left-color: var(--sb-danger); }
.sb-toast__close {
  flex: none; margin-left: auto; padding: 0; border: 0; background: none;
  color: var(--sb-text-muted); cursor: pointer;
}
.sb-toast.is-hiding { opacity: 0; transform: translateY(-6px); transition: opacity var(--sb-ease-out), transform var(--sb-ease-out); }
@keyframes sb-toast-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) { .sb-toast { left: 16px; right: 16px; max-width: none; } }

/* ===================== Empty state ===================== */
.sb-empty { padding: 48px 16px; text-align: center; color: var(--sb-text-muted); font-size: 16px; }

/* ===================== Yardım merkezi modalı (#modal-help) ===================== */
body.sb-v2 #modal-help .modal-body { position: relative; overflow: hidden; min-height: 320px; }
body.sb-v2 #modal-help .faq-list ul { margin: 0 0 24px; padding: 0; list-style: none; border-radius: var(--sb-radius-md); box-shadow: var(--sb-ring); }
body.sb-v2 #modal-help .faq-list ul li { border-bottom: 1px solid var(--sb-divider); }
body.sb-v2 #modal-help .faq-list ul li:last-child { border-bottom: 0; }
body.sb-v2 #modal-help .faq-list ul li > a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; color: var(--sb-text-heading); font-size: 15px;
}
body.sb-v2 #modal-help .faq-list ul li > a:hover { background: var(--sb-surface); }
body.sb-v2 #modal-help .faq-list ul li > a i { color: var(--sb-text-muted); }
body.sb-v2 #modal-help .faq-description {
  position: absolute; z-index: 1; top: 0; right: 0;
  width: 100%; min-height: 100%; padding: 24px;
  background: #fff;
  transition: left var(--sb-ease-out);
}
body.sb-v2 #modal-help .faq-description-hidden { left: 100%; }
body.sb-v2 #modal-help .faq-description.left0 { left: 0; }
body.sb-v2 #modal-help .faq-description.left10 { left: 100%; }
body.sb-v2 #modal-help .faq-description h3 { margin: 16px 0 8px; font-size: 18px; font-weight: 600; }
body.sb-v2 #modal-help .faq-description p { color: var(--sb-text-heading); font-size: 15px; line-height: 1.6; }
body.sb-v2 #modal-help .back-div a { color: var(--sb-primary-text); font-size: 14px; }

/* Ülke bayrağı (sb_country_flag → intl-tel-input sprite; emoji yerine, Windows'ta da görünür) */
.sb-flag.iti-flag {
  position: static;
  display: inline-block;
  width: 20px; height: 15px; margin: 0 0 0 4px;
  border-radius: 2px;
  vertical-align: -2px;
  flex: none;
}
/* Bayrak sprite'ı sürümlü adresle: dosya önceden eksikken (404) tarayıcıda kalan önbelleği atlatır.
   intlTelInput.min.css sayfada iki kez (template + kayıt/profil) yüklenebildiği için seçici güçlendirildi. */
body .iti-flag { background-image: url("../../img/flags.png?v=20261010"); }
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body .iti-flag { background-image: url("../../img/flags@2x.png?v=20261010"); background-size: 5630px 15px; }
}

/* ===================== E-posta doğrulama pencereleri (v2/partials/verify_dialog.php) ===================== */
.sb-vdialog { position: fixed; inset: 0; z-index: 1080; display: flex; align-items: center; justify-content: center; padding: 16px; font-family: var(--sb-font); }
.sb-vdialog__backdrop { position: absolute; inset: 0; background: rgba(34, 66, 81, .5); opacity: 0; transition: opacity .2s ease; }
.sb-vdialog__card {
  position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 36px 32px 28px; border-radius: 20px; background: #fff; text-align: center;
  box-shadow: 0 24px 60px rgba(34, 66, 81, .3);
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.sb-vdialog.is-open .sb-vdialog__backdrop { opacity: 1; }
.sb-vdialog.is-open .sb-vdialog__card { opacity: 1; transform: none; }
.sb-vdialog__x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--sb-text-muted); cursor: pointer; }
.sb-vdialog__x:hover { background: var(--sb-surface); color: var(--sb-text-heading); }
.sb-vdialog__art { position: relative; display: inline-block; margin-bottom: 16px; }
.sb-vdialog__art--mail svg { animation: sb-v-float 3s ease-in-out infinite; }
@keyframes sb-v-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.sb-vdialog__title { margin: 0 0 10px; color: var(--sb-text-heading); font-size: 24px; font-weight: 700; line-height: 1.25; }
.sb-vdialog__text { margin: 0 auto 20px; max-width: 360px; color: var(--sb-text-muted); font-size: 15px; line-height: 1.55; }
.sb-vdialog__text strong { color: var(--sb-text-heading); font-weight: 600; overflow-wrap: anywhere; }
.sb-vdialog__steps { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; padding: 16px; border-radius: 14px; background: var(--sb-surface); list-style: none; text-align: left; }
.sb-vdialog__steps li { display: flex; align-items: center; gap: 12px; color: var(--sb-text-heading); font-size: 14px; }
.sb-vdialog__steps span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--sb-primary); font-size: 13px; font-weight: 700; box-shadow: 0 0 0 1px #CDEFFB; }
.sb-vdialog__perks { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; text-align: left; }
.sb-vdialog__perks li { display: flex; align-items: center; gap: 10px; color: var(--sb-text-heading); font-size: 14px; }
.sb-vdialog__perks .sb-icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #E3F6EC; color: #2BAD63; stroke-width: 3; }
.sb-vdialog__actions { display: flex; flex-direction: column; gap: 10px; }
.sb-vdialog__actions .sb-btn { height: 48px; border-radius: 10px; font-size: 16px; }
.sb-vdialog__hint { margin: 16px 0 0; color: var(--sb-text-muted); font-size: 13px; line-height: 1.45; }
.sb-vdialog__hint .sb-icon { margin-right: 4px; vertical-align: -2px; }
.sb-vdialog__hint a, body.sb-v2 .sb-vdialog__hint a { color: var(--sb-primary-text); text-decoration: underline; }

/* Doğrulandı: halka + tik çizilir, konfeti noktaları */
.sb-vdialog__ring { stroke-dasharray: 214; stroke-dashoffset: 214; transform: rotate(-90deg); transform-origin: 48px 48px; }
.sb-vdialog__tick { stroke-dasharray: 48; stroke-dashoffset: 48; }
.sb-vdialog.is-open .sb-vdialog__ring { animation: sb-v-draw .6s .15s ease-out forwards; }
.sb-vdialog.is-open .sb-vdialog__tick { animation: sb-v-draw .35s .65s ease-out forwards; }
@keyframes sb-v-draw { to { stroke-dashoffset: 0; } }
.sb-vdialog__art--ok i { position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 2px; opacity: 0; }
.sb-vdialog__art--ok i:nth-of-type(1) { background: #00ADEF; --x: -62px; --y: -30px; }
.sb-vdialog__art--ok i:nth-of-type(2) { background: #FF66B2; --x: 60px; --y: -38px; border-radius: 50%; }
.sb-vdialog__art--ok i:nth-of-type(3) { background: #F5B400; --x: -54px; --y: 34px; border-radius: 50%; }
.sb-vdialog__art--ok i:nth-of-type(4) { background: #2BAD63; --x: 64px; --y: 26px; }
.sb-vdialog__art--ok i:nth-of-type(5) { background: #A78BDB; --x: -10px; --y: -64px; border-radius: 50%; }
.sb-vdialog__art--ok i:nth-of-type(6) { background: #00ADEF; --x: 14px; --y: 62px; }
.sb-vdialog.is-open .sb-vdialog__art--ok i { animation: sb-v-pop .9s .8s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes sb-v-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1) rotate(160deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sb-vdialog__card, .sb-vdialog__backdrop { transition: none; }
  .sb-vdialog__art--mail svg, .sb-vdialog__art--ok i { animation: none !important; }
  .sb-vdialog__ring, .sb-vdialog__tick { stroke-dashoffset: 0; animation: none !important; }
}
@media (max-width: 767px) {
  .sb-vdialog { align-items: flex-end; padding: 0; }
  .sb-vdialog__card { width: 100%; max-height: 92vh; padding: 30px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; transform: translateY(40px); }
  .sb-vdialog__title { font-size: 21px; }
}

/* "NEW" rozeti (menüde yeni özellik: Arkadaşlarını davet et) — referans: yeşil, beyaz büyük harf */
.sb-new-badge {
  display: inline-flex; align-items: center; flex: none;
  height: 18px; margin-left: 8px; padding: 0 6px;
  border-radius: 4px;
  background: #2BAD63; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1;
  vertical-align: 2px;
}
.sb-panel__link .sb-new-badge { margin-left: 2px; }

/* ============ Profil çerçeveleri (avatar_frame.php — user/show, üst bar, panel, ayarlar) ============ */
/* Çerçeve avatarın üstüne bindirilir (220/168 oranında taşar) */
.sb-up-frame { position: absolute; left: 50%; top: 50%; width: 131%; height: 131%; transform: translate(-50%, -50%); pointer-events: none; overflow: visible; }
.sb-up-frame__twinkle { transform-origin: center; animation: sb-up-twinkle 2.8s ease-in-out infinite; }
@keyframes sb-up-twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.sb-up-frame-label { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: help; }
.sb-up-frame-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sb-up-frame-label--basic { background: #EEF1F3; color: #7B8D96; }
.sb-up-frame-label--verified { background: #E6F7FD; color: #0079AA; }
.sb-up-frame-label--trusted { background: #FFF4D6; color: #8A5A10; }
.sb-up-frame-label--elite { background: linear-gradient(90deg, #EFE5FF, #FFF4D6); color: #5B2BB8; }
@media (prefers-reduced-motion: reduce) { .sb-up-frame__twinkle { animation: none; } }

/* Çerçeveli küçük avatar (sb_framed_avatar): görsel/baş harfler + kompakt SVG çerçeve */
.sb-fav { position: relative; display: inline-grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; }
.sb-fav > img, .sb-fav__initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--sb-surface); }
.sb-fav__initials { display: grid; place-items: center; background: linear-gradient(135deg, #E6F7FD, #F3FBFF); color: var(--sb-primary); font-size: 11px; font-weight: 700; line-height: 1; }
.sb-fav .sb-up-frame { width: 136%; height: 136%; }
.sb-fav--xs { width: 26px; height: 26px; margin: 0 4px; }
.sb-fav--xs .sb-fav__initials { font-size: 10px; }
.sb-fav--md { width: 40px; height: 40px; margin: 0 4px; }
.sb-fav--md .sb-fav__initials { font-size: 14px; }
.sb-fav--lg { width: 46px; height: 46px; margin: 4px; }
.sb-fav--lg .sb-fav__initials { font-size: 16px; }
/* Elit tacı küçük boyutta biraz taşar: üst barda kesilmesin */
.sb-dropdown__toggle .sb-fav { margin-right: 6px; }

/* Mobil üst bar: giriş yapmış kullanıcıda menü düğmesi = ☰ + çerçeveli avatar (hap şeklinde) */
.sb-header__burger--user { gap: 8px; width: auto; height: 42px; margin-right: 0; padding: 0 6px 0 12px; border: 1px solid var(--sb-border); border-radius: 21px; background: #fff; transition: box-shadow var(--sb-ease); }
.sb-header__burger--user:hover { box-shadow: 0 2px 8px rgba(34, 66, 81, .14); }
.sb-header__burger--user .sb-icon { width: 18px; height: 18px; }
.sb-header__burger--user .sb-fav { margin: 0 2px 0 0; }
/* ≥1280'de tam nav (avatar menüsü) görünür: burger sade kalsın, avatar iki kez görünmesin */
@media (min-width: 1280px) {
  .sb-header__burger--user { width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; background: none; }
  .sb-header__burger--user:hover { box-shadow: none; }
  .sb-header__burger--user .sb-fav { display: none; }
}

/* ---------- Çerçeve açıklama balonu (sb_frame_tip + sb.js initFrameTips) ---------- */
.sb-ftip { display: none !important; }   /* kaynak; gösterim body'deki .sb-ftip-layer ile */
[data-sb-ftip] { cursor: help; }
[data-sb-ftip]:focus-visible { outline: 2px solid var(--sb-primary); outline-offset: 4px; border-radius: 14px; }
.sb-ftip-layer {
  --tip-accent: #BCC6CA;
  position: fixed; z-index: 2000; display: flex; flex-direction: column; width: 300px; max-width: calc(100vw - 24px);
  padding: 14px 16px 14px; border-radius: 14px; background: #fff; color: #1F2D33; font-family: var(--sb-font); text-align: left;
  box-shadow: 0 0 0 1px #E3E9ED, 0 18px 40px -12px rgba(16, 42, 56, .32); border-top: 3px solid var(--tip-accent);
  pointer-events: none; animation: sb-ftip-in .14s ease-out;
}
.sb-ftip-layer[hidden] { display: none; }
.sb-ftip-layer::after {
  content: ""; position: absolute; left: var(--arrow-x, 50%); bottom: -7px; width: 12px; height: 12px; margin-left: -6px;
  background: #fff; box-shadow: 1px 1px 0 #E3E9ED; transform: rotate(45deg);
}
.sb-ftip-layer.is-below::after { top: -9px; bottom: auto; background: var(--tip-accent); box-shadow: none; }
.sb-ftip-layer.sb-ftip--verified { --tip-accent: #00ADEF; }
.sb-ftip-layer.sb-ftip--trusted { --tip-accent: #E9B949; }
.sb-ftip-layer.sb-ftip--elite { --tip-accent: #7B3FE4; border-image: linear-gradient(90deg, #7B3FE4, #E9B949) 1; border-radius: 0 0 14px 14px; }
.sb-ftip__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.sb-ftip__head .sb-up-frame-label { cursor: default; }
.sb-ftip__lvl { color: var(--sb-text-muted); font-size: 11.5px; font-weight: 600; }
.sb-ftip__h { display: block; margin: 8px 0 3px; color: var(--sb-text-muted); font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.sb-ftip__p { display: block; font-size: 13px; line-height: 1.5; }
.sb-ftip__reqs { display: flex; flex-direction: column; gap: 6px; }
.sb-ftip__req { display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; border-radius: 9px; background: #F4F7F9; font-size: 12.5px; line-height: 1.4; }
.sb-ftip__req b { color: var(--sb-text-heading); font-size: 11.5px; font-weight: 700; }
.sb-ftip__status { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #E3E9ED; color: var(--sb-primary-text); font-size: 12.5px; font-weight: 600; }
.sb-ftip__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
@keyframes sb-ftip-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sb-ftip-layer { animation: none; } }

/* ---------- Çerçeve kademe yolu (panel, mesajlar, profil): partials/frame_track.php + panel frame_progress ---------- */
.sb-fp__track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.sb-fp__track::before { content: ""; position: absolute; top: 33px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 2px; background: var(--sb-divider); }
.sb-fp__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.sb-fp__step::before { content: ""; position: absolute; top: 33px; right: 50%; width: 100%; height: 3px; background: var(--sb-primary); }
.sb-fp__step:first-child::before, .sb-fp__step.is-locked::before, .sb-fp__step.is-na::before { display: none; }
.sb-fp__step-av { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 6px; border-radius: 50%; background: #fff; }
.sb-fp__step.is-now .sb-fp__step-av { box-shadow: 0 0 0 4px #E6F7FD, 0 6px 16px rgba(0, 173, 239, .25); }
.sb-fp__step.is-locked .sb-fav, .sb-fp__step.is-na .sb-fav { filter: saturate(.75); opacity: .72; transition: filter var(--sb-ease), opacity var(--sb-ease); }
.sb-fp__step.is-locked:hover .sb-fav, .sb-fp__step.is-na:hover .sb-fav, .sb-fp__step:focus-visible .sb-fav { filter: none; opacity: 1; }
.sb-fp__step .sb-fav--full { width: 54px; height: 54px; margin: 0; }
.sb-fp__step .sb-fav--full .sb-up-frame { width: 142%; height: 142%; }
.sb-fp__track--mini .sb-fp__step .sb-fav--full { width: 34px; height: 34px; }
.sb-fp__step-mark { position: absolute; right: 2px; bottom: 2px; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%; background: #7B8D96; color: #fff; }
.sb-fp__step-mark .sb-icon { width: 12px; height: 12px; stroke-width: 2.5; }
.sb-fp__step-mark--ok { background: #2BAD63; }
.sb-fp__step strong { color: var(--sb-text-heading); font-size: 14px; font-weight: 700; }
.sb-fp__step small { color: var(--sb-text-muted); font-size: 12px; }
.sb-fp__step.is-now strong, .sb-fp__step.is-now small { color: var(--sb-primary); }
.sb-fp__step.is-now small { font-weight: 600; }
.sb-fp__step.is-locked small { color: #B07A1A; font-weight: 600; }
.sb-fp__track--mini { margin-top: 4px; }
.sb-fp__track--mini::before, .sb-fp__track--mini .sb-fp__step::before { top: 24px; }
.sb-fp__track--mini .sb-fp__step { padding: 4px 0; border-radius: 12px; transition: background var(--sb-ease); }
.sb-fp__track--mini .sb-fp__step:hover { background: rgba(255, 255, 255, .7); }
.sb-fp__track--mini .sb-fp__step-av { width: 48px; height: 48px; margin-bottom: 4px; }
.sb-fp__track--mini .sb-fp__step-av .sb-fav--lg { width: 32px; height: 32px; margin: 0; }
.sb-fp__track--mini .sb-fp__step-mark { right: -3px; bottom: -2px; width: 18px; height: 18px; }
.sb-fp__track--mini .sb-fp__step-mark .sb-icon { width: 10px; height: 10px; }
.sb-fp__track--mini .sb-fp__step { min-width: 0; }
.sb-fp__track--mini .sb-fp__step strong { font-size: 10px; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap; }
.sb-ms__frames { padding: 16px 8px 12px; }
.sb-ms__frames h4, .sb-ms__frames > p { padding: 0 8px; }
.sb-fp__track--mini .sb-fp__step.is-now strong { color: var(--sb-primary-text); }
.sb-fp__step[data-sb-ftip] { border-radius: 14px; }

/* ============ "Onaylanmış hesap" bilgi kartı (sb_verified_pop — profil, ilan detayı, yorumlar) ============ */
.sb-vpop { position: relative; display: inline-flex; }
.sb-vpop__btn { display: inline-flex; padding: 2px; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.sb-vpop__btn:focus-visible { outline: 2px solid var(--sb-primary); outline-offset: 2px; }
.sb-vpop__card {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 30;
  display: flex; flex-direction: column; gap: 12px;
  width: 330px; padding: 20px 22px; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 20, 25, .06), 0 12px 32px rgba(15, 20, 25, .18);
  color: #0F1419; font-size: 15px; font-weight: 400; line-height: 1.4; text-transform: none; letter-spacing: 0; text-align: left;
  opacity: 0; visibility: hidden; transform: translate(calc(-50% + var(--sb-vpop-shift, 0px)), -4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.sb-vpop.is-open .sb-vpop__card { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--sb-vpop-shift, 0px)), 0); }
.sb-vpop__title { display: block; margin-bottom: 2px; font-size: 22px; font-weight: 800; }
.sb-vpop__row { display: flex; align-items: flex-start; gap: 10px; color: #536471; font-size: 14px; }
.sb-vpop__row > svg, .sb-vpop__row > .sb-icon { flex: none; margin-top: 1px; color: #0F1419; }
.sb-vpop__row a, body.sb-v2 .sb-vpop__row a { color: #1D9BF0; }
.sb-vpop__row b { color: #0F1419; font-weight: 600; }
.sb-vpop__row small { display: block; margin-top: 2px; color: #8B98A5; font-size: 12px; }
.sb-vpop__frame { flex: none; width: 18px; height: 18px; padding: 0; border-radius: 50%; }
.sb-vpop__frame::before { display: none; }
.sb-vpop__frame.sb-up-frame-label--basic { box-shadow: inset 0 0 0 3px #D5DCE0; background: none; }
.sb-vpop__frame.sb-up-frame-label--verified { background: conic-gradient(#66D5FF, #00ADEF, #0077E6, #66D5FF); }
.sb-vpop__frame.sb-up-frame-label--trusted { background: conic-gradient(#FFE7A3, #E9B949, #B07A1A, #FFE7A3); }
.sb-vpop__frame.sb-up-frame-label--elite { background: conic-gradient(#C9A7FF, #7B3FE4, #E9B949, #C9A7FF); }
.sb-vpop__cta { display: flex; align-items: center; justify-content: center; height: 40px; margin-top: 6px; border-radius: 20px; background: #0F1419; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
body.sb-v2 .sb-vpop__cta { color: #fff; }
.sb-vpop__cta:hover { background: #272C30; color: #fff; }
.sb-vpop { vertical-align: middle; line-height: 0; }
.sb-vpop__btn svg { display: block; }
.sb-vpop__card { cursor: default; white-space: normal; }
.sb-vpop__title { line-height: 1.2; }
@media (max-width: 767px) {
  .sb-vpop__card { position: fixed; top: auto; bottom: 16px; left: 16px; right: 16px; width: auto; transform: translateY(8px); }
  .sb-vpop.is-open .sb-vpop__card { transform: none; }
}

/* Kullanıcı menüsü / çekmece başlığı: çerçeveli avatar + ad + rol + çerçeve kademesi (panelde çerçeve kartına gider) */
.sb-dropdown__menu--user { min-width: 280px; }
.sb-dropdown__card { padding: 4px 8px 0; }
.sb-ucard, body.sb-v2 .sb-ucard, .sb-dropdown__menu .sb-ucard {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 12px; border-radius: 12px;
  color: var(--sb-text-heading); text-decoration: none; transition: background-color .15s ease;
}
.sb-ucard:hover, .sb-dropdown__menu .sb-ucard:hover { background: var(--sb-surface); color: var(--sb-text-heading); }
.sb-ucard .sb-fav { margin: 6px; }
.sb-ucard__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.sb-ucard__name { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; font-size: 15px; font-weight: 700; line-height: 1.2; }
.sb-ucard__name svg { flex: none; }
.sb-ucard__role { color: var(--sb-text-muted); font-size: 12.5px; line-height: 1.2; }
.sb-ucard .sb-up-frame-label { height: 22px; margin-top: 3px; padding: 0 9px; font-size: 10.5px; cursor: pointer; }
.sb-ucard__chev { flex: none; color: var(--sb-text-muted); }
.sb-ucard--trusted .sb-ucard__name, .sb-ucard--elite .sb-ucard__name { letter-spacing: -.005em; }
.sb-drawer__user { padding: 8px 14px 12px; }
.sb-drawer__user .sb-ucard { padding: 10px; border: 1px solid #E4EAED; border-radius: 14px; }

/* Yer yetmeyince orta bağlantılar normal akışta (sb.js fitCenter) */
.sb-header.is-tight .sb-nav__center { position: static; transform: none; gap: 16px; margin-right: 8px; }
