/* TİD Sevenler — 2025 community UI */
@import url("tid-icons.css");
:root {
  --bg: #f8f5f2;
  --bg-card: #ffffff;
  --ink: #2c3e50;
  --muted: #64748b;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --accent-soft: #fef5ed;
  --secondary: #2c3e50;
  --notify-soft: #e8a598;
  --border: #e8e2dc;
  --radius: 14px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(44, 62, 80, 0.07);
  --shadow-hover: 0 10px 28px rgba(230, 126, 34, 0.16);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "Twemoji Mozilla", emoji;
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, var(--font-emoji), sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", var(--font-emoji), serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

/* Emoji ve renkli simgeler — web fontu boş kare (??) göstermesin */
.peer-compose-icon,
.peer-emoji-pop__btn,
.onboarding-step__icon,
.onboarding-quick-links__icon,
.nav-mobile__label,
.nav-mobile__item-icon,
[class*="status-icon"] {
  font-family: var(--font-emoji);
  font-style: normal;
  font-weight: normal;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Üst bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  min-height: 3.25rem;
  flex-wrap: nowrap;
}

.header-inner > .logo,
.header-inner > .header-brand {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(46%, 320px);
}

/* Bildirim/mesaj yalnızca mobil toolbar veya masaüstü nav içinde — ikisi birden görünmesin */
.nav-mobile-toolbar {
  display: none;
}

@media (max-width: 767px) {
  .header-inner > .logo,
  .header-inner > .header-brand {
    flex: 1 1 auto;
    max-width: calc(100% - 8.5rem);
  }

  .header-inner > .nav-toggle {
    flex-shrink: 0;
    order: 3;
  }

  .nav-mobile-toolbar {
    display: flex;
    align-items: center;
    order: 2;
    margin-left: auto;
    flex-shrink: 0;
  }

  body:not(.tid-logged-in) .nav-mobile-toolbar {
    display: none !important;
  }

  .nav-mobile-toolbar .nav-session-actions--mobile-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    border: none;
  }

  .nav-mobile .nav-session-actions {
    display: none !important;
  }

  .nav-mobile-toolbar .nav-member-notify-btn,
  .nav-mobile-toolbar .nav-peer-msg-btn {
    width: 2.35rem;
    height: 2.35rem;
    border-width: 1px;
    box-shadow: none;
  }

  .nav-mobile-toolbar .nav-header-quick-btn--emoji .nav-member-notify-btn__disc,
  .nav-mobile-toolbar .nav-header-quick-btn--emoji .nav-peer-msg-btn__disc {
    background: transparent;
    font-size: 1.15rem;
    line-height: 1;
  }

  .nav-mobile-toolbar .nav-header-quick-btn--emoji .admin-inbox-notify-badge {
    top: -0.2rem;
    right: -0.22rem;
    z-index: 2;
  }

  .nav-mobile-toolbar .nav-member-notify-popover,
  .nav-mobile-toolbar .nav-peer-msg-popover {
    position: fixed;
    top: calc(3.25rem + env(safe-area-inset-top, 0px));
    right: 0.65rem;
    left: 0.65rem;
    width: auto;
    max-width: none;
    z-index: 220;
    max-height: min(70vh, 28rem);
    overflow: hidden;
    flex-direction: column;
  }

  .nav-mobile-toolbar .nav-member-notify-popover[hidden],
  .nav-mobile-toolbar .nav-peer-msg-popover[hidden] {
    display: none !important;
  }

  .nav-mobile-toolbar .nav-member-notify-popover.is-popover-open,
  .nav-mobile-toolbar .nav-peer-msg-popover.is-popover-open {
    display: flex !important;
  }

  .nav-mobile-panel-backdrop {
    position: fixed;
    inset: 0;
    top: calc(3.25rem + env(safe-area-inset-top, 0px));
    z-index: 210;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.35);
    cursor: default;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-mobile-panel-backdrop[hidden] {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  body.tid-nav-mobile-panel-open {
    overflow: hidden;
  }

  body.tid-nav-mobile-panel-open .site-header {
    z-index: 230;
  }

  .nav-mobile-toolbar .admin-inbox-notify-list--feed {
    max-height: min(52vh, 20rem);
  }

  body.tid-logged-in .nav-mobile__guest {
    display: none !important;
  }

  body.tid-logged-in .nav-mobile__main[hidden],
  body.tid-logged-in .nav-mobile__guest[hidden] {
    display: none !important;
  }

  .tid-nav-mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 235;
    border: none;
    padding: 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.42);
    cursor: default;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .tid-nav-mobile-menu-backdrop[hidden] {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  body.tid-nav-mobile-menu-open {
    overflow: hidden;
  }

  body.tid-nav-mobile-menu-open .site-header {
    z-index: 240;
  }

  body.tid-nav-mobile-menu-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.tid-nav-mobile-menu-open .nav-toggle {
    position: relative;
    z-index: 250;
  }

  .nav-mobile {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    max-height: 85vh;
    width: min(21.5rem, 92vw);
    max-width: 100%;
    z-index: 245;
    margin: 0;
    --nav-mobile-pad-x: 1.25rem;
    --nav-mobile-icon-w: 1.75rem;
    --nav-mobile-icon-gap: 0.875rem;
    --nav-mobile-row-h: 3rem;
    padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0 calc(0.65rem + env(safe-area-inset-bottom, 0px));
    border: none;
    border-left: 1px solid var(--border);
    background: var(--bg-card, #fffefb);
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.14);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
    pointer-events: none;
  }

  .nav-mobile.container {
    width: min(21.5rem, 92vw);
    max-width: 100%;
    margin: 0;
  }

  .nav-mobile[hidden]:not(.is-open) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-mobile.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    display: flex !important;
  }

  .nav-mobile__drawer,
  .nav-mobile__account {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-mobile__profile-card {
    margin: 0 var(--nav-mobile-pad-x) 0.35rem;
  }

  .nav-mobile__sections {
    display: flex;
    flex-direction: column;
  }

  .nav-mobile__section {
    padding: 0.4rem 0 0.1rem;
    border-top: 1px solid var(--border);
  }

  .nav-mobile__section:first-child {
    border-top: none;
    padding-top: 0;
  }

  .nav-mobile__section-label {
    margin: 0;
    padding: 0.28rem var(--nav-mobile-pad-x) 0.32rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a16207;
  }

  .nav-mobile__section-list {
    display: flex;
    flex-direction: column;
  }

  .nav-mobile__item {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    min-height: var(--nav-mobile-row-h);
    padding: 0 var(--nav-mobile-pad-x);
    border: none;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 500;
    font-size: 0.94rem;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
  }

  .nav-mobile__item:hover,
  .nav-mobile__item:focus-visible {
    background: rgba(230, 126, 34, 0.07);
    color: var(--ink);
    text-decoration: none;
  }

  .nav-mobile__item.nav-link--active {
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent);
    font-weight: 600;
  }

  .nav-mobile__item.nav-link--active::after {
    display: none !important;
  }

  .nav-mobile__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--nav-mobile-icon-w);
    min-width: var(--nav-mobile-icon-w);
    margin-right: var(--nav-mobile-icon-gap);
    flex-shrink: 0;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1;
  }

  .nav-mobile__item-label {
    flex: 1;
    min-width: 0;
    padding-right: 0.25rem;
  }

  .nav-mobile__badge {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    margin-left: auto;
    padding-left: 0.5rem;
  }

  .nav-mobile__badge[hidden] {
    display: none !important;
  }

  .nav-mobile__drawer a[href="uyelik.html"],
  .nav-mobile__drawer a[href="giris.html"],
  .nav-mobile__drawer a[href="hesabim.html"] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: var(--nav-mobile-row-h);
    padding: 0 var(--nav-mobile-pad-x);
    border-radius: 0;
    background: transparent;
    border: none;
    font-weight: 500;
    color: var(--ink);
    width: 100%;
    box-sizing: border-box;
  }

  .nav-mobile__main,
  .nav-mobile__guest,
  .nav-mobile__account {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .nav-mobile__account {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .nav-mobile__account-link,
  .nav-mobile__account-logout {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    min-height: var(--nav-mobile-row-h);
    padding: 0 var(--nav-mobile-pad-x);
    border: none;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
  }

  .nav-mobile__account-link:hover,
  .nav-mobile__account-logout:hover {
    color: var(--accent);
  }

  .nav-mobile__account-logout {
    margin-top: 0.25rem;
    padding-top: 0;
    border-top: 1px solid var(--border);
    color: #b91c1c;
  }
}

.header-notify-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card, #fffefb);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.2s ease;
}

.header-notify-btn:hover,
.header-notify-btn:focus-visible {
  outline: none;
  border-color: rgba(234, 88, 12, 0.55);
  color: #c2410c;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
}

.header-notify-icon {
  display: flex;
  line-height: 0;
  pointer-events: none;
}

.header-notify-icon svg {
  display: block;
}

.header-notify-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.12rem;
  min-width: 1.12rem;
  height: 1.12rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.05rem;
  text-align: center;
  background: #ea580c;
  color: #fff;
  border: 2px solid rgba(250, 246, 241, 0.96);
  box-sizing: border-box;
}

.header-notify-badge[hidden] {
  display: none !important;
}

.header-notify-btn--alert {
  border-color: rgba(234, 88, 12, 0.72);
  color: #c2410c;
  animation: header-notify-ring 2.2s ease-in-out infinite;
}

@keyframes header-notify-ring {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(234, 88, 12, 0.2),
      0 0 0 0 rgba(234, 88, 12, 0);
  }
  40% {
    box-shadow:
      0 0 0 2px rgba(234, 88, 12, 0.35),
      0 0 0 8px rgba(234, 88, 12, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-notify-btn--alert {
    animation: none;
    box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.25);
  }

  .nav-live-support-btn--alert {
    animation: none;
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.9),
      0 1px 4px rgba(0, 0, 0, 0.1);
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
  min-width: 0;
  background: transparent;
  flex-wrap: wrap;
}

.logo__img {
  height: clamp(2.45rem, 6.5vw, 3.35rem);
  width: auto;
  max-width: min(340px, 78vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
  background: transparent;
}

.logo__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: inherit;
  letter-spacing: -0.02em;
  line-height: 1.15;
  min-width: 0;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo:hover .logo__img {
  opacity: 0.92;
}

.logo:hover .logo__wordmark {
  color: var(--accent);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  background: transparent;
}

.footer-logo:hover {
  opacity: 0.88;
}

.footer-logo img {
  height: clamp(1.85rem, 4vw, 2.35rem);
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  background: transparent;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.85rem;
}

.nav-desktop a {
  position: relative;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0.15rem;
  border-radius: 8px;
  transition:
    color var(--transition),
    background var(--transition);
}

.nav-desktop > a:hover,
.nav-mobile > a:hover {
  color: #f97316;
  text-decoration: none;
  background: rgba(230, 126, 34, 0.06);
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-desktop a.nav-link--active,
.nav-mobile > a.nav-link--active,
.nav-mobile .nav-mobile__item.nav-link--active {
  color: var(--accent);
  font-weight: 600;
}

.storage-warning-banner {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid #f59e0b;
  background: #fffbeb;
  border-radius: var(--radius-lg);
}

.storage-warning-banner strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #92400e;
}

.storage-warning-banner p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #78350f;
}

.nav-desktop > a.nav-link--active::after,
.nav-mobile > a.nav-link--active::after,
.nav-desktop .nav-dropdown__trigger.nav-link--active::after,
.nav-mobile .nav-dropdown__trigger.nav-link--active::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: 0.05rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Üst menü: Üye ol + Giriş / Hesabım — buton görünümü (yalnızca eski düz mobil linkler) */
.nav-desktop a[href="uyelik.html"],
.nav-mobile > a[href="uyelik.html"]:not(.nav-mobile__item) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav-desktop a[href="uyelik.html"]:hover,
.nav-mobile > a[href="uyelik.html"]:not(.nav-mobile__item):hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.nav-desktop a[href="giris.html"],
.nav-desktop a[href="hesabim.html"],
.nav-mobile > a[href="giris.html"]:not(.nav-mobile__item),
.nav-mobile > a[href="hesabim.html"]:not(.nav-mobile__item) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.2;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav-desktop a[href="giris.html"],
.nav-mobile > a[href="giris.html"]:not(.nav-mobile__item) {
  font-weight: 700;
}

.nav-desktop a[href="hesabim.html"],
.nav-mobile > a[href="hesabim.html"]:not(.nav-mobile__item),
.nav-desktop .nav-dropdown__trigger[href="hesabim.html"],
.nav-mobile .nav-dropdown__trigger[href="hesabim.html"] {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-desktop a[href="giris.html"]:hover,
.nav-desktop a[href="hesabim.html"]:hover,
.nav-mobile > a[href="giris.html"]:not(.nav-mobile__item):hover,
.nav-mobile > a[href="hesabim.html"]:not(.nav-mobile__item):hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
  text-decoration: none;
}

.nav-desktop a[href="uyelik.html"]:focus-visible,
.nav-desktop a[href="giris.html"]:focus-visible,
.nav-desktop a[href="hesabim.html"]:focus-visible,
.nav-mobile > a[href="uyelik.html"]:not(.nav-mobile__item):focus-visible,
.nav-mobile > a[href="giris.html"]:not(.nav-mobile__item):focus-visible,
.nav-mobile > a[href="hesabim.html"]:not(.nav-mobile__item):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  margin-inline: auto;
}

.nav-toggle:hover {
  background: var(--accent-soft);
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile > a:not(.nav-mobile__item) {
  padding: 0.65rem 0;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.nav-mobile > a:not(.nav-mobile__item):hover {
  color: var(--accent);
}

.tid-nav-hidden {
  display: none !important;
}

body.tid-logged-in .nav-desktop a[href="uyelik.html"],
body.tid-logged-in .nav-mobile > a[href="uyelik.html"]:not(.nav-mobile__item) {
  display: none !important;
}

.header-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  min-width: 0;
  flex-shrink: 0;
  background: transparent;
}

.logo__text-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  line-height: 1.15;
}

.header-welcome {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo:hover .header-welcome {
  color: var(--muted);
}

.nav-desktop .nav-dropdown,
.nav-mobile .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-mobile .nav-dropdown {
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.nav-dropdown__trigger::after {
  content: none;
}

.nav-dropdown__trigger[href="hesabim.html"]::after {
  content: "▾";
  margin-left: 0.35rem;
  font-size: 0.72em;
  opacity: 0.75;
  line-height: 1;
}

.nav-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 13.5rem;
  padding: 0.5rem;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(44, 62, 80, 0.12);
  z-index: 60;
}

.nav-dropdown-menu__label {
  display: block;
  padding: 0.45rem 0.65rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

.nav-dropdown-menu__label:not(:first-child) {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
}

.nav-dropdown-menu a {
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
  line-height: 1.4;
  transition:
    background var(--transition),
    color var(--transition);
}

.nav-dropdown-menu__label {
  line-height: 1.35;
}

.nav-dropdown-menu__label--hesap {
  color: #5b6b7c;
}

.nav-dropdown-menu__label--sosyal {
  color: #7c3aed;
}

.nav-dropdown-menu__label--platform {
  color: #2563eb;
}

.nav-dropdown-menu__label--destek {
  color: #e11d48;
}

.nav-dropdown-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}

.nav-desktop .nav-dropdown-menu a[href="hesabim.html"],
.nav-mobile .nav-dropdown-menu a[href="hesabim.html"],
.nav-desktop .nav-dropdown-menu a[href^="hesabim.html#"],
.nav-mobile .nav-dropdown-menu a[href^="hesabim.html#"],
.nav-desktop .nav-dropdown-menu a[href="tercuman-talebi.html"],
.nav-mobile .nav-dropdown-menu a[href="tercuman-talebi.html"],
.nav-desktop .nav-dropdown-menu a[href="bize-ulasin.html"],
.nav-mobile .nav-dropdown-menu a[href="bize-ulasin.html"] {
  display: block;
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  text-decoration: none;
}

.nav-desktop .nav-dropdown-menu a[href="hesabim.html"]:hover,
.nav-mobile .nav-dropdown-menu a[href="hesabim.html"]:hover,
.nav-desktop .nav-dropdown-menu a[href^="hesabim.html#"]:hover,
.nav-mobile .nav-dropdown-menu a[href^="hesabim.html#"]:hover,
.nav-desktop .nav-dropdown-menu a[href="tercuman-talebi.html"]:hover,
.nav-mobile .nav-dropdown-menu a[href="tercuman-talebi.html"]:hover,
.nav-desktop .nav-dropdown-menu a[href="bize-ulasin.html"]:hover,
.nav-mobile .nav-dropdown-menu a[href="bize-ulasin.html"]:hover,
.nav-desktop .nav-dropdown-menu a[href="hesabim.html"]:focus,
.nav-mobile .nav-dropdown-menu a[href="hesabim.html"]:focus,
.nav-desktop .nav-dropdown-menu a[href^="hesabim.html#"]:focus,
.nav-mobile .nav-dropdown-menu a[href^="hesabim.html#"]:focus,
.nav-desktop .nav-dropdown-menu a[href="tercuman-talebi.html"]:focus,
.nav-mobile .nav-dropdown-menu a[href="tercuman-talebi.html"]:focus,
.nav-desktop .nav-dropdown-menu a[href="bize-ulasin.html"]:focus,
.nav-mobile .nav-dropdown-menu a[href="bize-ulasin.html"]:focus {
  background: var(--accent-soft);
  color: var(--accent);
  border: 0;
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav-desktop .nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
  }

  .nav-desktop .nav-dropdown:hover .nav-dropdown-menu,
  .nav-desktop .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-desktop .nav-dropdown__trigger[aria-expanded="true"] + .nav-dropdown-menu {
    display: flex;
  }
}

.nav-mobile .nav-dropdown-menu {
  position: static;
  display: flex;
  width: 100%;
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
  padding: 0.25rem 0;
  border: none;
  border-left: 2px solid var(--border);
  border-radius: 0 0 0 8px;
  box-shadow: none;
  background: transparent;
}

.nav-mobile .nav-dropdown-menu a {
  padding: 0.4rem 0 0.4rem 0.75rem;
}

.site-header .nav-dropdown-menu a,
.site-header .nav-dropdown-menu a:visited {
  color: var(--ink);
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.site-header .nav-dropdown-menu a:hover,
.site-header .nav-dropdown-menu a:focus {
  color: var(--accent);
  opacity: 1;
}

/* Hesabım menü — kompakt profil kartı (masaüstü + mobil) */
.nav-dropdown-menu__profile,
.nav-mobile__profile-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.05), rgba(230, 126, 34, 0.07));
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  min-height: 0;
  box-sizing: border-box;
}

.nav-dropdown-menu__profile {
  margin-bottom: 0.3rem;
  padding: 0.32rem 0.45rem;
}

.nav-dropdown-menu__profile:hover,
.nav-dropdown-menu__profile:focus-visible,
.nav-mobile__profile-card:hover,
.nav-mobile__profile-card:focus-visible {
  border-color: rgba(230, 126, 34, 0.35);
  text-decoration: none;
  color: inherit;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.05), rgba(230, 126, 34, 0.09));
}

.nav-dropdown-menu__profile-avatar,
.nav-mobile__profile-avatar {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.nav-dropdown-menu__profile-avatar img,
.nav-mobile__profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-dropdown-menu__profile-meta,
.nav-mobile__profile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
  min-width: 0;
  flex: 1;
}

.nav-dropdown-menu__profile-name,
.nav-mobile__profile-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-dropdown-menu__profile-details,
.nav-mobile__profile-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
  font-size: 0.68rem;
  line-height: 1.15;
  color: var(--muted, #78716c);
}

.nav-dropdown-menu__profile-city,
.nav-dropdown-menu__profile-online,
.nav-mobile__profile-city,
.nav-mobile__profile-online {
  white-space: nowrap;
}

.nav-dropdown-menu__item-inner {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  flex: 1;
}

.nav-dropdown-menu__emoji {
  flex-shrink: 0;
  width: 1.75rem;
  min-width: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1;
}

.nav-dropdown-menu__text {
  min-width: 0;
  flex: 1;
}

.nav-dropdown-menu__chevron {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 0.35rem;
  font-size: 0.9rem;
  line-height: 1;
  color: var(--muted, #94a3b8);
  opacity: 0.85;
}

/* Hesabım menü — tüm ekranlarda hizalı satırlar */
.nav-dropdown-menu--hesabim {
  --nav-hesabim-pad-x: 1rem;
  --nav-hesabim-icon-w: 1.75rem;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
}

.nav-dropdown-menu--hesabim .nav-dropdown-menu__label {
  padding: 0.28rem var(--nav-hesabim-pad-x) 0.32rem;
  margin-top: 0.22rem;
  font-size: 0.68rem;
  line-height: 1.2;
}

.nav-dropdown-menu--hesabim .nav-dropdown-menu__label:first-child {
  margin-top: 0;
}

.nav-dropdown-menu--hesabim .nav-dropdown-menu__label:not(:first-child) {
  margin-top: 0.28rem;
  padding-top: 0.32rem;
  border-top: 1px solid var(--border);
}

.nav-dropdown-menu--hesabim .nav-dropdown-menu__row,
.nav-dropdown-menu--hesabim .nav-dropdown-menu__btn,
.nav-dropdown-menu--hesabim a[role="menuitem"] {
  display: flex !important;
  align-items: center;
  gap: 0;
  width: 100%;
  padding: 0.55rem var(--nav-hesabim-pad-x);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.3;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.nav-dropdown-menu--hesabim .nav-dropdown-menu__row:hover,
.nav-dropdown-menu--hesabim .nav-dropdown-menu__row:focus-visible,
.nav-dropdown-menu--hesabim .nav-dropdown-menu__btn:hover,
.nav-dropdown-menu--hesabim .nav-dropdown-menu__btn:focus-visible,
.nav-dropdown-menu--hesabim a[role="menuitem"]:hover,
.nav-dropdown-menu--hesabim a[role="menuitem"]:focus-visible {
  background: rgba(230, 126, 34, 0.07);
  color: var(--ink);
  text-decoration: none;
}

.nav-dropdown-menu--hesabim .nav-dropdown-menu__emoji {
  width: var(--nav-hesabim-icon-w);
  min-width: var(--nav-hesabim-icon-w);
  margin-right: 0.875rem;
  font-size: 1.125rem;
}

.nav-dropdown-menu--hesabim .nav-dropdown-menu__row--premium-active {
  color: #15803d;
  font-weight: 600;
}

.nav-dropdown-menu--hesabim .nav-dropdown-menu__row.nav-link--active,
.nav-dropdown-menu--hesabim a[role="menuitem"].nav-link--active {
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent);
  font-weight: 600;
}

.nav-mobile__drawer .nav-dropdown-menu--hesabim {
  position: static;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  --nav-hesabim-pad-x: var(--nav-mobile-pad-x, 1.25rem);
}

.nav-mobile__drawer .nav-dropdown-menu--hesabim .nav-dropdown-menu__profile {
  margin: 0 var(--nav-hesabim-pad-x) 0.35rem;
}

@media (min-width: 768px) {
  .nav-dropdown-menu--hesabim {
    gap: 0;
    padding: 0.28rem 0.32rem 0.32rem;
    min-width: 11.5rem;
    max-width: 13rem;
    max-height: min(calc(100dvh - 4.5rem), 85vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .nav-desktop .nav-dropdown-menu--hesabim {
    right: 0;
    left: auto;
  }

  .nav-dropdown-menu--hesabim .nav-dropdown-menu__label {
    padding: 0.1rem 0.42rem 0;
    margin-top: 0.22rem;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .nav-dropdown-menu--hesabim .nav-dropdown-menu__label:first-child {
    margin-top: 0;
  }

  .nav-dropdown-menu--hesabim .nav-dropdown-menu__label:not(:first-child) {
    margin-top: 0.28rem;
    padding-top: 0.32rem;
    border-top: 1px solid var(--border);
  }

  .nav-dropdown-menu--hesabim .nav-dropdown-menu__row,
  .nav-dropdown-menu--hesabim .nav-dropdown-menu__btn {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 0.24rem 0.42rem;
    font-size: 0.81rem;
    font-weight: 500;
    line-height: 1.25;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .nav-dropdown-menu--hesabim .nav-dropdown-menu__emoji {
    width: 1.15rem;
    min-width: 1.15rem;
    margin-right: 0.45rem;
    font-size: 0.95rem;
  }

  .nav-dropdown-menu--hesabim .nav-dropdown-menu__row:hover,
  .nav-dropdown-menu--hesabim .nav-dropdown-menu__row:focus-visible,
  .nav-dropdown-menu--hesabim .nav-dropdown-menu__btn:hover,
  .nav-dropdown-menu--hesabim .nav-dropdown-menu__btn:focus-visible {
    background: var(--accent-soft);
    color: var(--accent);
  }

  .nav-dropdown-menu--hesabim .nav-dropdown-menu__row--premium-active {
    color: #15803d;
    font-weight: 600;
  }
}

.detail-share {
  margin-top: 1.5rem;
  max-width: 36rem;
}

.detail-share h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.detail-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.detail-share-buttons .btn {
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
}

.detail-share .hint {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

.btn-nav-logout {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.btn-nav-logout--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  line-height: 1;
  border-width: 2px;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  color: var(--muted);
}

.btn-nav-logout__svg {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  pointer-events: none;
}

.btn-nav-logout__svg svg {
  display: block;
}

.btn-nav-logout--icon:hover,
.btn-nav-logout--icon:focus-visible {
  outline: none;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow:
    0 0 0 2px rgba(234, 88, 12, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-nav-logout--icon:active {
  color: var(--accent-hover, var(--accent));
}

.nav-mobile .btn-nav-logout {
  margin-left: 0;
  margin-top: 0.35rem;
  align-self: flex-start;
}

.nav-session-actions {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.nav-session-actions--compact {
  gap: 0.35rem;
}

.nav-session-actions .nav-member-notify-btn__disc--emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
}

.nav-dropdown__trigger--account {
  font-weight: 600;
  white-space: nowrap;
}

.nav-dropdown-menu__btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.85rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.nav-dropdown-menu__btn:hover,
.nav-dropdown-menu__btn:focus-visible {
  outline: none;
  background: rgba(234, 88, 12, 0.08);
}

.nav-dropdown-menu__label--yonetim {
  color: #7c3aed;
}

.nav-dropdown-menu__label--oturum {
  color: #57534e;
}

.nav-mobile .nav-dropdown-menu__btn {
  padding: 0.65rem 0.5rem;
}

/* Oturum araçları yalnızca nav içinde (demo referans düzeni) */
.header-inner > .nav-session-actions,
.header-inner > .nav-member-toolbar,
.header-inner > .nav-cart-btn {
  display: none !important;
}

.nav-session-actions .nav-header-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(211, 84, 0, 0.28);
}

.nav-session-actions .nav-header-avatar__img,
.nav-session-actions .nav-header-avatar__ini {
  border-radius: 10px;
}

.nav-desktop .nav-session-actions {
  margin-left: 0.15rem;
  padding-left: 0.15rem;
  border-left: 1px solid rgba(44, 62, 80, 0.1);
}

/* Eski üye araç çubuğu — geriye dönük; header-inner dışında kullanılmaz */
.nav-member-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav-member-toolbar__hesap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--border);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.nav-member-toolbar__hesap:hover,
.nav-member-toolbar__hesap:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
  text-decoration: none;
  outline: none;
}

.nav-member-toolbar__hesap::after {
  content: "▾";
  margin-left: 0.35rem;
  font-size: 0.72em;
  opacity: 0.75;
  line-height: 1;
}

.nav-member-toolbar .nav-dropdown {
  position: relative;
}

.nav-member-toolbar .nav-dropdown-menu {
  min-width: 14.5rem;
  padding: 0.45rem;
  border-radius: 14px;
  box-shadow: 0 14px 44px rgba(44, 62, 80, 0.14);
}

.nav-member-toolbar .nav-dropdown-menu a {
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  border-radius: 10px;
}

.nav-member-toolbar .nav-dropdown-menu a:hover,
.nav-member-toolbar .nav-dropdown-menu a:focus {
  background: rgba(234, 88, 12, 0.1);
  color: #ea580c;
  text-decoration: none;
}

.nav-member-toolbar .nav-dropdown-menu__label {
  padding: 0.4rem 0.75rem 0.15rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.nav-member-toolbar .nav-dropdown-menu__label:not(:first-child) {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}

.nav-header-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: visible;
  text-decoration: none;
  background: linear-gradient(145deg, #f39c12 0%, #e67e22 52%, #d35400 100%);
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 16px rgba(211, 84, 0, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-header-avatar:hover,
.nav-header-avatar:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 7px 20px rgba(211, 84, 0, 0.45);
}

.nav-header-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.nav-header-avatar__ini {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  border-radius: 12px;
  letter-spacing: 0.02em;
}

.nav-header-avatar__online {
  position: absolute;
  right: -0.1rem;
  bottom: -0.1rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(44, 62, 80, 0.25);
  z-index: 2;
}

.nav-member-toolbar .nav-member-notify-btn {
  width: 2.65rem;
  height: 2.65rem;
}

.nav-member-toolbar .btn-nav-logout--icon {
  width: 2.65rem;
  height: 2.65rem;
  color: #64748b;
}

.nav-member-toolbar .btn-nav-logout--icon:hover,
.nav-member-toolbar .btn-nav-logout--icon:focus-visible {
  color: #334155;
  border-color: rgba(100, 116, 139, 0.35);
}

@media (min-width: 768px) {
  .nav-member-toolbar .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    left: auto;
  }

  .nav-member-toolbar .nav-dropdown:hover .nav-dropdown-menu,
  .nav-member-toolbar .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-member-toolbar .nav-dropdown__trigger[aria-expanded="true"] + .nav-dropdown-menu {
    display: flex;
  }
}

@media (min-width: 768px) {
  .nav-mobile-toolbar {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .nav-desktop .nav-session-actions {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .nav-mobile .nav-session-actions {
    display: none !important;
  }
}


.nav-desktop .nav-session-actions {
  flex-shrink: 0;
}

.nav-mobile .nav-session-actions {
  margin-top: 0.35rem;
  align-self: flex-start;
}

.nav-mobile .nav-session-actions .btn-nav-logout {
  margin-top: 0;
}

.nav-session-actions .nav-admin-notify-lock-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
  border: 2px solid rgba(21, 128, 61, 0.35);
  background: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  color: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.2s ease;
}

.nav-session-actions .nav-admin-notify-lock-btn__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #4ade80 0%, #16a34a 48%, #15803d 100%);
  pointer-events: none;
}

.nav-session-actions .nav-admin-notify-lock-btn__svg {
  display: block;
  width: 54%;
  height: 54%;
}

.nav-session-actions .nav-admin-notify-lock-btn:hover,
.nav-session-actions .nav-admin-notify-lock-btn:focus-visible {
  outline: none;
  border-color: rgba(21, 128, 61, 0.65);
  box-shadow:
    0 0 0 2px rgba(74, 222, 128, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.12);
}

.nav-session-actions .nav-admin-notify-lock-btn.admin-inbox-notify-btn--has-unread {
  border-color: rgba(254, 249, 195, 0.98);
  box-shadow:
    0 0 0 2px rgba(250, 204, 21, 0.85),
    0 2px 10px rgba(21, 128, 61, 0.35);
  animation: nav-admin-notify-pulse 2.2s ease-in-out infinite;
}

@keyframes nav-admin-notify-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(250, 204, 21, 0.75),
      0 2px 8px rgba(0, 0, 0, 0.1),
      0 0 0 0 rgba(250, 204, 21, 0);
  }
  45% {
    box-shadow:
      0 0 0 2px rgba(250, 204, 21, 0.95),
      0 2px 10px rgba(0, 0, 0, 0.12),
      0 0 0 10px rgba(250, 204, 21, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-session-actions .nav-admin-notify-lock-btn.admin-inbox-notify-btn--has-unread {
    animation: none;
    box-shadow:
      0 0 0 2px rgba(250, 204, 21, 0.88),
      0 2px 8px rgba(0, 0, 0, 0.12);
  }
}

.nav-session-actions .nav-admin-notify-lock-btn .admin-inbox-notify-badge {
  top: -0.26rem;
  right: -0.26rem;
  min-width: 1.15rem;
  height: 1.15rem;
  font-size: 0.6rem;
  line-height: 1.08rem;
  background: #fff;
  color: #166534;
  border: 2px solid #166534;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.12);
}

.nav-session-actions .nav-admin-notify-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
  border: 2px solid rgba(21, 128, 61, 0.45);
  background: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  color: inherit;
}

.nav-session-actions .nav-admin-notify-btn__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #4ade80 0%, #16a34a 48%, #15803d 100%);
  pointer-events: none;
}

.nav-session-actions .nav-admin-notify-btn__disc--shield {
  color: #fff;
}

.nav-session-actions .nav-admin-notify-btn:hover,
.nav-session-actions .nav-admin-notify-btn:focus-visible {
  outline: none;
  border-color: rgba(21, 128, 61, 0.75);
  box-shadow:
    0 0 0 2px rgba(74, 222, 128, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.12);
}

.nav-session-actions .nav-admin-notify-btn.admin-inbox-notify-btn--has-unread {
  border-color: rgba(254, 249, 195, 0.98);
  animation: nav-admin-notify-pulse 2.2s ease-in-out infinite;
}

.nav-session-actions .nav-admin-notify-btn .nav-admin-notify-badge {
  top: -0.26rem;
  right: -0.26rem;
  min-width: 1.15rem;
  height: 1.15rem;
  font-size: 0.6rem;
  line-height: 1.08rem;
  background: #fff;
  color: #166534;
  border: 2px solid #166534;
}

.nav-admin-notify-popover {
  min-width: min(20rem, 92vw);
}

.nav-admin-notify-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-admin-notify-card__title {
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
}

.nav-admin-notify-card__row {
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted, #57534e);
  font-weight: 500;
}

.nav-admin-notify-card__label {
  font-weight: 600;
  color: var(--ink, #1c1917);
}

.nav-mobile .nav-session-actions .nav-admin-notify-popover {
  right: 0;
  left: auto;
}

.nav-mobile .nav-session-actions .admin-inbox-notify-popover {
  z-index: 140;
}

.nav-session-actions .nav-member-notify-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
  border: 2px solid rgba(234, 88, 12, 0.38);
  background: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  color: #c2410c;
  transition:
    border-color 0.15s ease,
    box-shadow 0.2s ease;
}

.nav-session-actions .nav-member-notify-btn__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #ffedd5 0%, #fb923c 48%, #ea580c 100%);
  pointer-events: none;
}

.nav-session-actions .nav-member-notify-btn__svg {
  display: block;
  width: 54%;
  height: 54%;
  color: #fff;
  stroke: #fff;
}

.nav-session-actions .nav-member-notify-btn:hover,
.nav-session-actions .nav-member-notify-btn:focus-visible {
  outline: none;
  border-color: rgba(234, 88, 12, 0.68);
  box-shadow:
    0 0 0 2px rgba(251, 146, 60, 0.45),
    0 2px 8px rgba(234, 88, 12, 0.18);
}

.nav-session-actions .nav-member-notify-btn.nav-member-notify-btn--has-unread {
  border-color: rgba(254, 215, 170, 0.98);
  box-shadow:
    0 0 0 2px rgba(234, 88, 12, 0.55),
    0 2px 10px rgba(234, 88, 12, 0.28);
  animation: nav-member-notify-pulse 2.2s ease-in-out infinite;
}

@keyframes nav-member-notify-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(234, 88, 12, 0.45),
      0 2px 8px rgba(234, 88, 12, 0.15),
      0 0 0 0 rgba(234, 88, 12, 0);
  }
  45% {
    box-shadow:
      0 0 0 2px rgba(234, 88, 12, 0.72),
      0 2px 10px rgba(234, 88, 12, 0.22),
      0 0 0 10px rgba(234, 88, 12, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-session-actions .nav-member-notify-btn.nav-member-notify-btn--has-unread {
    animation: none;
    box-shadow:
      0 0 0 2px rgba(234, 88, 12, 0.55),
      0 2px 8px rgba(234, 88, 12, 0.18);
  }
}

.nav-session-actions .nav-member-notify-btn .nav-member-notify-badge {
  top: -0.26rem;
  right: -0.26rem;
  min-width: 1.15rem;
  height: 1.15rem;
  font-size: 0.6rem;
  line-height: 1.08rem;
  background: #dc2626;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 1px rgba(234, 88, 12, 0.35),
    0 2px 6px rgba(185, 28, 28, 0.28);
}

.nav-mobile .nav-session-actions .nav-member-notify-popover {
  z-index: 140;
}

.nav-notify-type {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.2rem;
  color: #64748b;
}

.nav-notify-type--admin {
  display: inline-block;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: #d1fae5;
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.admin-inbox-notify-item.nav-notify-item--admin {
  flex-wrap: wrap;
  align-items: flex-start;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.35rem;
}

.admin-inbox-notify-item.nav-notify-item--admin .nav-notify-type {
  color: #047857;
}

.admin-inbox-notify-item.nav-notify-item--admin:hover,
.admin-inbox-notify-item.nav-notify-item--admin:focus-visible {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-color: rgba(5, 150, 105, 0.45);
}

.admin-inbox-notify-item.nav-notify-item--admin.admin-inbox-notify-item--unread {
  box-shadow: inset 3px 0 0 #10b981;
}

.admin-inbox-notify-item.nav-notify-item--member {
  flex-wrap: wrap;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.55rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.35rem;
}

.admin-inbox-notify-item.nav-notify-item--member.admin-inbox-notify-item--unread {
  box-shadow: inset 3px 0 0 #94a3b8;
}

.admin-inbox-notify-list--feed .admin-inbox-notify-item + .admin-inbox-notify-item {
  margin-top: 0;
}

.nav-session-actions .nav-peer-msg-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
  border: 2px solid rgba(37, 99, 235, 0.35);
  background: transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  color: #1d4ed8;
  transition:
    border-color 0.15s ease,
    box-shadow 0.2s ease;
}

.nav-session-actions .nav-peer-msg-btn__disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #dbeafe 0%, #60a5fa 48%, #2563eb 100%);
  font-size: 1.05rem;
  line-height: 1;
  pointer-events: none;
}

.nav-session-actions .nav-peer-msg-btn:hover,
.nav-session-actions .nav-peer-msg-btn:focus-visible {
  outline: none;
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow:
    0 0 0 2px rgba(96, 165, 250, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.12);
}

.nav-session-actions .nav-peer-msg-btn.nav-peer-msg-btn--has-unread {
  border-color: rgba(254, 249, 195, 0.98);
  box-shadow:
    0 0 0 2px rgba(250, 204, 21, 0.85),
    0 2px 10px rgba(37, 99, 235, 0.35);
}

.nav-session-actions .nav-peer-msg-btn .nav-peer-msg-badge {
  top: -0.26rem;
  right: -0.26rem;
  z-index: 2;
  min-width: 1.15rem;
  height: 1.15rem;
  font-size: 0.6rem;
  line-height: 1.08rem;
  background: #ea580c;
  color: #fff;
  border: 2px solid rgba(250, 246, 241, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.95),
    0 2px 6px rgba(37, 99, 235, 0.15);
}

.nav-mobile .nav-session-actions .nav-peer-msg-popover {
  z-index: 140;
}

.nav-peer-notify-item {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.nav-peer-notify-item__title {
  font-weight: 600;
  line-height: 1.35;
}

.nav-peer-notify-item__subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted, #78716c);
  line-height: 1.3;
}

.msg-list-filter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border, #e7e5e4);
}

.msg-list-filter label {
  font-size: 0.78rem;
  color: var(--muted, #78716c);
  white-space: nowrap;
}

.msg-list-filter select {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  border: 1px solid var(--border, #e7e5e4);
  background: var(--surface, #fff);
}

.tid-msg-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.45);
}

.tid-msg-confirm {
  width: min(100%, 22rem);
  margin: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.tid-msg-confirm__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.tid-msg-confirm__body {
  margin: 0 0 1rem;
  color: var(--muted, #57534e);
  line-height: 1.45;
}

.tid-msg-confirm__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.tid-msg-confirm__danger {
  background: #dc2626;
  border-color: #dc2626;
}

.tid-msg-confirm__danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.peer-chat-sidebar__support {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border, #e7e5e4);
}

.nav-peer-msg-popover .msg-list-filter {
  margin: 0;
}

.nav-peer-notify-item__preview {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted, #78716c);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-inbox-notify-item--unread .nav-peer-notify-item__preview {
  color: #57534e;
}

.nav-msg-badge--friend {
  background: #2563eb;
}

/* Facebook tarzı profil */
.fb-profile-page {
  padding-bottom: 2.5rem;
}

.fb-profile-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.fb-cover {
  height: 180px;
  background: linear-gradient(120deg, #fb923c 0%, #ea580c 45%, #c2410c 100%);
  position: relative;
  overflow: hidden;
}

.fb-cover--has-photo {
  background: #1a1a1a;
}

.fb-cover--editor {
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
}

.fb-cover__hit {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
}

.fb-cover__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.fb-cover__toolbar {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  z-index: 3;
  max-width: calc(100% - 1.5rem);
}

.fb-cover-edit {
  font-size: 0.78rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-weight: 600;
  border: none;
  color: inherit;
  font-family: inherit;
  line-height: 1.3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.fb-cover-edit--btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fb-cover-edit:hover:not(:disabled) {
  background: #fff;
}

.fb-profile-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0 1.25rem 1rem;
  margin-top: 0;
  position: relative;
}

.fb-profile-head__text {
  flex: 1;
  min-width: 0;
  padding-top: 0.85rem;
}

.profile-hobby-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.profile-hobby-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  background: rgba(254, 245, 237, 0.95);
  border: 1px solid rgba(196, 92, 38, 0.22);
  color: var(--ink, #1c1917);
}

.profile-hobby-tag__icon {
  font-size: 0.9em;
  line-height: 1;
}

.profile-hobby-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.profile-hobby-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border, rgba(28, 25, 23, 0.12));
  border-radius: 999px;
  font-size: 0.84rem;
  cursor: pointer;
  user-select: none;
  background: #fff;
}

.profile-hobby-chip:has(input:checked) {
  border-color: rgba(196, 92, 38, 0.45);
  background: rgba(254, 245, 237, 0.95);
}

.profile-hobby-chip input {
  margin: 0;
  accent-color: var(--accent, #c45c26);
}

.carousel--gallery .carousel__prev,
.carousel--gallery .carousel__next {
  z-index: 4;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #1c1917;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel--gallery .carousel__prev span,
.carousel--gallery .carousel__next span {
  display: block;
  line-height: 1;
  margin-top: -0.05em;
}

.carousel--gallery .carousel__prev:hover,
.carousel--gallery .carousel__next:hover {
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.carousel--gallery .carousel__prev {
  left: 0.65rem;
}

.carousel--gallery .carousel__next {
  right: 0.65rem;
}

.fb-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 7.5rem;
  height: 7.5rem;
  margin-top: -3.75rem;
}

.fb-avatar-wrap .profile-photo-trigger {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
}

.fb-avatar-wrap.is-has-photo .profile-photo-trigger {
  display: block;
}

.fb-avatar-wrap [data-profile-avatar-init] {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fb-avatar-wrap.is-has-photo [data-profile-avatar-init] {
  display: none !important;
}

.fb-avatar {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-card, #fffefb);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.fb-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #fb923c, #c2410c);
}

.fb-avatar--xl {
  width: 7.5rem;
  height: 7.5rem;
  font-size: 1.65rem;
}

.fb-avatar--sm {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.75rem;
  border-width: 2px;
}

.fb-avatar--xs {
  width: 2.15rem;
  height: 2.15rem;
  font-size: 0.68rem;
  border-width: 2px;
  flex-shrink: 0;
}

.fb-avatar-edit {
  position: absolute;
  right: 0.15rem;
  bottom: 0.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.profile-photo-trigger,
.fb-avatar-btn,
.dash-hero__avatar-btn {
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  line-height: 0;
  border-radius: 50%;
}

.profile-photo-trigger:focus-visible,
.fb-avatar-btn:focus-visible,
.dash-hero__avatar-btn:focus-visible {
  outline: 2px solid var(--primary, #e67e22);
  outline-offset: 3px;
}

.profile-photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.profile-photo-viewer__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(8, 12, 20, 0.88);
  cursor: zoom-out;
}

.profile-photo-viewer__panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: min(90vh, 1200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.profile-photo-viewer__img {
  max-width: min(96vw, 1200px);
  max-height: min(88vh, 1100px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.35rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.profile-photo-viewer__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.profile-photo-viewer__close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.profile-photo-viewer__caption {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

body.profile-photo-viewer-open {
  overflow: hidden;
}

/* Profil / kapak fotoğrafı düzenleyici */
.profile-photo-editor {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

body.admin-profile-modal-open .profile-photo-editor {
  z-index: 12100;
}

.profile-photo-editor__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.72);
}

.profile-photo-editor__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: var(--bg-card, #fffefb);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.profile-photo-editor__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.profile-photo-editor__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.profile-photo-editor__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.profile-photo-editor__hint {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.profile-photo-editor__stage {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.profile-photo-editor__viewport {
  position: relative;
  overflow: hidden;
  background: #111;
  touch-action: none;
  user-select: none;
}

.profile-photo-editor__viewport--circle {
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.profile-photo-editor__img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  max-height: none;
  pointer-events: none;
  transform-origin: top left;
}

.profile-photo-editor__mask {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.profile-photo-editor__slider-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.profile-photo-editor__zoom,
.profile-photo-editor__cover-y {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
}

.profile-photo-editor__preview-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.profile-photo-editor__preview-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.profile-photo-editor__preview {
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.profile-photo-editor__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

body.profile-photo-editor-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .fb-cover {
    height: 140px;
  }

  .fb-cover--editor {
    height: 140px;
  }

  .fb-cover__toolbar {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    max-width: none;
  }

  .fb-cover-edit {
    font-size: 0.72rem;
    padding: 0.3rem 0.5rem;
  }

  .fb-profile-head {
    flex-wrap: wrap;
    margin-top: 0;
    padding: 0 0.85rem 0.85rem;
  }

  .fb-avatar-wrap {
    width: 6.5rem;
    height: 6.5rem;
    margin-top: -2.75rem;
  }

  .fb-profile-head__text {
    flex-basis: 100%;
    padding-top: 0.5rem;
    padding-left: 0.15rem;
  }

  .fb-avatar--xl {
    width: 6.5rem;
    height: 6.5rem;
  }

  .profile-photo-editor__panel {
    width: 100%;
    max-height: 94vh;
    border-radius: 10px;
  }
}

.dash-hero__avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
}

.dash-hero__avatar-wrap .dash-hero__avatar--init {
  position: absolute;
  inset: 0;
}

.dash-hero__avatar-btn {
  position: absolute;
  inset: 0;
  display: none;
}

.dash-hero__avatar-wrap.is-has-photo .dash-hero__avatar--init,
.dash-hero__avatar-wrap.is-has-photo [data-profile-avatar-init] {
  display: none !important;
}

.dash-hero__avatar-wrap.is-has-photo .dash-hero__avatar-btn {
  display: block;
}

.fb-profile-head__text h1 {
  margin: 0 0 0.25rem;
  font-size: 1.45rem;
}

.fb-profile-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.fb-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.fb-profile-bio-snippet {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.45;
}

.fb-profile-menu {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
}

.fb-profile-head .fb-profile-menu {
  top: auto;
  bottom: calc(100% + 0.75rem);
  right: 0;
}

.fb-profile-menu__toggle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.fb-profile-menu__pop {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 14rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fb-profile-menu__pop[hidden] {
  display: none !important;
}

.fb-profile-preview-banner {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--ink);
  font-size: 0.92rem;
}

.fb-profile-preview-banner strong {
  display: block;
  margin-bottom: 0.2rem;
}

.fb-profile-menu__pop button {
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.fb-profile-menu__pop button:hover {
  background: rgba(0, 0, 0, 0.05);
}

.fb-profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.65rem 1rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface, #fff);
}

.fb-profile-tabs__btn {
  border: none;
  background: transparent;
  padding: 0.65rem 0.9rem;
  font: inherit;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.fb-profile-tabs__btn.is-active {
  color: var(--accent, #ea580c);
  border-bottom-color: var(--accent, #ea580c);
}

.fb-profile-tab-panels {
  margin-top: 1rem;
}

.fb-profile-tab-panel {
  display: none;
}

.fb-profile-tab-panel.is-active {
  display: block;
}

.fb-friends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

.fb-friend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  background: var(--surface, #fff);
}

.fb-friend-card:hover {
  border-color: var(--accent, #ea580c);
}

.fb-friend-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #e5e7eb center/cover no-repeat;
  display: block;
}

.fb-friend-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.fb-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.fb-photo-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.fb-photo-card__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}

.fb-photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.fb-photo-card figcaption {
  padding: 0.45rem 0.55rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.fb-events-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.fb-events-filter__btn.is-active {
  background: var(--accent, #ea580c);
  color: #fff;
  border-color: var(--accent, #ea580c);
}

.fb-events-list {
  display: grid;
  gap: 0.75rem;
}

.fb-event-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface, #fff);
}

.fb-event-card__link {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.fb-event-card__img {
  width: 120px;
  height: 100%;
  min-height: 90px;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}

.fb-event-card__img--empty {
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.fb-event-card__body {
  padding: 0.75rem 0.75rem 0.75rem 0;
}

.fb-event-card__body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.fb-event-card__meta {
  margin: 0.15rem 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.fb-event-card__status {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent, #ea580c);
}

.fb-profile-privacy__grid {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}

.fb-profile-privacy__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .fb-event-card__link {
    grid-template-columns: 1fr;
  }
  .fb-event-card__img {
    width: 100%;
    min-height: 140px;
  }
  .fb-event-card__body {
    padding: 0.75rem;
  }
}

.fb-profile-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px);
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 800px) {
  .fb-profile-grid {
    grid-template-columns: 1fr;
  }
}

.fb-info-list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.fb-info-list dt {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.fb-info-list dd {
  margin: 0.1rem 0 0;
}

.friends-page .friends-grid {
  display: grid;
  gap: 1rem;
}

.friend-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.friends-load-more-wrap {
  list-style: none;
  padding: 0.75rem 0 0.25rem;
  text-align: center;
}

.friends-load-more {
  min-width: 12rem;
}

.friend-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.friend-card:last-child {
  border-bottom: none;
}

.friend-card__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.friend-card__link:hover {
  color: #c2410c;
}

.friend-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.friend-card__sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.friend-card__online {
  font-size: 0.72rem;
  color: #15803d;
  font-weight: 600;
}

.friends-tier-label {
  list-style: none;
  margin: 0.75rem 0 0.35rem;
  padding: 0.35rem 0 0.15rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.friend-card-list > .friends-tier-label:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.member-premium-star {
  color: #d97706;
  font-size: 0.95em;
  line-height: 1;
}

.member-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #92400e;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fbbf24;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  line-height: 1.35;
}

.member-premium-badge--block {
  display: inline-flex;
  margin-top: 0.35rem;
}

.member-admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e40af;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 1px solid #60a5fa;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  line-height: 1.35;
}

.member-admin-badge--founder {
  color: #6d28d9;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border-color: #a78bfa;
}

.member-admin-badge--block {
  display: inline-flex;
  margin-top: 0.35rem;
}

.member-admin-star,
.member-founder-star {
  font-size: 0.95em;
  line-height: 1;
}

.member-founder-star {
  color: #7c3aed;
}

.member-admin-star {
  color: #2563eb;
}

.friend-card__body .member-premium-star,
.friend-card__body .member-admin-star,
.friend-card__body .member-founder-star,
.fb-friend-card__name .member-premium-star,
.fb-friend-card__name .member-admin-star,
.fb-friend-card__name .member-founder-star,
.peer-member-item__top .member-premium-star,
.peer-member-item__top .member-admin-star,
.peer-member-item__top .member-founder-star,
.chat-dock-panel__name .member-premium-star,
.chat-dock-panel__name .member-admin-star,
.chat-dock-panel__name .member-founder-star {
  margin-left: 0.15rem;
  vertical-align: middle;
}

.friend-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.friend-card__mutual {
  display: inline-flex;
  align-items: center;
  margin-top: 0.25rem;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.friend-card__mutual:hover {
  background: #ffedd5;
}

.mutual-friends-section h2 {
  margin-top: 0;
}

.mutual-friends-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem;
}

.mutual-friends-stack {
  display: inline-flex;
  align-items: center;
}

.mutual-friends-stack__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -0.45rem;
}

.mutual-friends-stack__avatar:first-child {
  margin-left: 0;
}

.mutual-friends-stack__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.7rem;
  font-weight: 700;
}

.mutual-friends-names {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.mutual-friends-names a {
  color: inherit;
  text-decoration: none;
}

.mutual-friends-names a:hover {
  color: #c2410c;
}

.friends-search-wrap {
  width: 100%;
  margin: 0 0 1.35rem;
}

.friends-search-field {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.8rem 1.05rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  cursor: text;
}

.friends-search-field:hover {
  border-color: #e8d5c4;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.friends-search-field:focus-within {
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px var(--accent-soft),
    0 4px 16px rgba(230, 126, 34, 0.14);
  background: #fff;
}

.friends-search-field__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.friends-search-field:focus-within .friends-search-field__icon {
  color: var(--accent);
}

.friends-search-field__svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.friends-member-search {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.4;
  padding: 0;
  margin: 0;
  outline: none;
  color: var(--text, #1e293b);
  -webkit-appearance: none;
  appearance: none;
}

.friends-member-search::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.friends-member-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 1rem;
  width: 1rem;
  background:
    linear-gradient(45deg, transparent 46%, #94a3b8 46%, #94a3b8 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #94a3b8 46%, #94a3b8 54%, transparent 54%);
  cursor: pointer;
}

.friends-search-meta {
  margin: 0.6rem 0 0 0.15rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: #64748b;
}

.friends-search-meta--empty {
  color: #64748b;
}

@media (max-width: 640px) {
  .friends-search-field {
    min-height: 2.9rem;
    padding: 0.72rem 0.9rem;
    border-radius: 12px;
  }

  .friends-member-search {
    font-size: 1rem;
  }
}

.profile-privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.55rem;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--ink);
}

.profile-privacy-row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.profile-privacy-row--native input {
  position: static;
  opacity: 1;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.1rem 0 0;
  flex-shrink: 0;
  accent-color: #c2410c;
  cursor: pointer;
}

.profile-privacy-row__box {
  flex: 0 0 1.05rem;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.profile-privacy-row input:checked + .profile-privacy-row__box {
  border-color: #c2410c;
  background: #c2410c;
  box-shadow: inset 0 0 0 2px #fff;
}

.profile-privacy-row__text {
  line-height: 1.35;
}

.profile-section-actions {
  margin-top: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.profile-section-msg {
  margin: 0 0 0.65rem;
  min-height: 1.25rem;
}

.profile-section-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 640px) {
  .profile-section-actions__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-section-actions__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

#btn-privacy-save {
  margin-left: 0.5rem;
}

.peer-member-item .fb-avatar--xs {
  margin-right: 0.15rem;
}

a.peer-member-item {
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.peer-sidebar-hint {
  margin: 0 0 0.35rem;
  padding: 0 0.35rem;
  font-size: 0.82rem;
}

.nav-mobile a.nav-live-support-btn {
  padding: 0;
}

.nav-live-support-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 14px;
  overflow: visible;
  border: none;
  box-shadow: 0 5px 18px rgba(211, 84, 0, 0.42);
  text-decoration: none;
  line-height: 0;
  background: transparent;
  z-index: 1;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.nav-live-support-btn__disc {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: visible;
  pointer-events: none;
  background: linear-gradient(145deg, #f39c12 0%, #e67e22 52%, #d35400 100%);
  border: 1.5px solid rgba(192, 57, 43, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-live-support-btn__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 12px;
}

.nav-live-support-btn__online {
  position: absolute;
  right: -0.12rem;
  bottom: -0.12rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(44, 62, 80, 0.25);
  z-index: 3;
}

.nav-live-support-btn:hover {
  transform: translateY(-1px);
}

.account-inbox-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #fff 0%, #fef8f3 55%, #fef5ed 100%);
  border: 1px solid rgba(230, 126, 34, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.account-inbox-hero__text {
  flex: 1;
  min-width: 0;
}

.account-inbox-hero__video-btn {
  flex-shrink: 0;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.1rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #f39c12 0%, #e67e22 52%, #d35400 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(211, 84, 0, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.account-inbox-hero__video-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(211, 84, 0, 0.45);
}

.account-inbox-hero__video-btn:focus-visible {
  outline: 2px solid rgba(230, 126, 34, 0.6);
  outline-offset: 2px;
}

.account-inbox-hero__video-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.account-inbox-hero__video-label {
  max-width: 9.5rem;
}

@media (max-width: 720px) {
  .account-inbox-hero {
    flex-wrap: wrap;
  }

  .account-inbox-hero__video-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 0.25rem;
  }

  .account-inbox-hero__video-label {
    max-width: none;
  }
}

.account-inbox-hero__icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 16px;
  overflow: visible;
  background: linear-gradient(145deg, #f39c12 0%, #e67e22 52%, #d35400 100%);
  border: 2px solid rgba(192, 57, 43, 0.35);
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.35);
}

.account-inbox-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  display: block;
}

.account-inbox-hero__online {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 6px rgba(44, 62, 80, 0.2);
  z-index: 2;
}

.account-inbox-hero__text h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--secondary);
}

.account-inbox-hero__lead {
  margin: 0;
}

/* Kırmızı ikon üzerinde turuncu rozet kayboluyordu; rozet kesiliyordu (overflow). */
.nav-live-support-btn .header-notify-badge {
  z-index: 2;
  top: -0.28rem;
  right: -0.28rem;
  min-width: 1.22rem;
  height: 1.22rem;
  font-size: 0.64rem;
  line-height: 1.12rem;
  background: #fff;
  color: #991b1b;
  border: 2px solid #991b1b;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.95),
    0 2px 6px rgba(0, 0, 0, 0.22);
}

.nav-live-support-btn:hover,
.nav-live-support-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(234, 88, 12, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: rgba(234, 88, 12, 0.45);
}

.nav-live-support-btn--alert {
  animation: nav-live-support-alert-ring 2.2s ease-in-out infinite;
}

@keyframes nav-live-support-alert-ring {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.85),
      0 1px 4px rgba(0, 0, 0, 0.08),
      0 0 0 0 rgba(255, 255, 255, 0);
  }
  45% {
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.95),
      0 1px 4px rgba(0, 0, 0, 0.1),
      0 0 0 9px rgba(255, 255, 255, 0);
  }
}

.btn-nav-logout:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.account-dashboard__lead {
  color: var(--muted);
  margin: 0 0 1rem;
}

.account-dashboard__email {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.account-dashboard__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .account-dashboard__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .account-dashboard__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.account-tile {
  display: block;
  padding: 1.15rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

a.account-tile:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.account-tile h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.account-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.account-tile--muted {
  cursor: default;
}

.account-tile--muted:hover {
  border-color: var(--border);
}

.account-dashboard.simple-page.account-page {
  max-width: min(1040px, 100%);
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.account-profile-panel {
  margin-top: 2rem;
}

.account-profile-panel h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.account-profile-panel .field {
  margin-bottom: 1rem;
}

.account-profile-panel .field .hint {
  font-weight: 400;
  font-size: 0.85rem;
}

.account-profile-panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 2rem 0 0.6rem;
}

.account-address-book {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.account-saved-address-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.account-saved-address {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.account-saved-address__body strong {
  margin-right: 0.35rem;
}

.account-saved-address__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  vertical-align: middle;
}

.account-saved-address__body .muted {
  font-size: 0.875rem;
  margin: 0.35rem 0 0;
  opacity: 0.85;
}

.account-saved-address__body p {
  margin: 0.25rem 0 0;
}

.account-saved-address__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.account-address-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.account-address-default-row label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    column-gap: 0.85rem;
    min-width: 0;
    align-items: center;
  }

  .nav-desktop > a,
  .nav-desktop > .nav-dropdown {
    flex-shrink: 0;
  }
}

@media (min-width: 768px) and (max-width: 1120px) {
  .nav-desktop a,
  .nav-desktop .nav-dropdown__trigger {
    font-size: 0.86rem;
  }

  .nav-desktop {
    column-gap: 0.55rem;
  }

  .nav-desktop a[href="uyelik.html"],
  .nav-desktop a[href="giris.html"],
  .nav-desktop a[href="hesabim.html"],
  .nav-desktop .nav-dropdown__trigger[href="hesabim.html"] {
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
  }
}

@media (min-width: 768px) {

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform 0.12s ease;
}

.btn:hover:not(:disabled) {
  box-shadow: var(--shadow-hover);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--ink);
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 3.5rem 0 4rem;
  }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-width: 0;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.hero-grid > div {
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 36ch;
}

/* Ana sayfa — yazılar hafif daha kalın */
main:has(> .hero) .hero-badge {
  font-weight: 700;
}

main:has(> .hero) .hero h1 {
  font-weight: 750;
}

main:has(> .hero) .hero-lead {
  font-weight: 500;
}

main:has(> .hero) .section-title {
  font-weight: 700;
}

main:has(> .hero) .section-sub {
  font-weight: 500;
}

main:has(> .hero) .card-link h2 {
  font-weight: 700;
}

main:has(> .hero) .card-link p {
  font-weight: 500;
}

main:has(> .hero) .carousel__caption {
  font-weight: 700;
}

main:has(> .hero) .etkinlik-archive-placeholder,
main:has(> .hero) .etkinlik-archive-placeholder p {
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #fed7aa, #fdba74);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.hero-visual-inner {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: #7c2d12;
  line-height: 1.3;
}

/* ——— Carousel (ana sayfa + geçmiş medya) ——— */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #1c1917;
  /* Grid hücresinde içerik (görsel) sütunu şişirmesin — slayt hizası bozulmasın */
  min-width: 0;
  width: 100%;
}

.carousel--hero {
  aspect-ratio: 4 / 3;
  min-height: 260px;
}

.carousel--hero[data-carousel-natural-height] {
  aspect-ratio: auto;
  min-height: 280px;
  width: 100%;
}

.carousel--hero[data-carousel-natural-height] .carousel__viewport {
  height: auto;
  min-height: 280px;
  transition: height 0.35s ease;
}

.carousel--hero[data-carousel-natural-height] .carousel__track {
  height: auto;
  align-items: flex-start;
}

.carousel--hero[data-carousel-natural-height] .carousel__slide {
  height: auto;
  background: #1c1917;
}

.carousel--hero[data-carousel-natural-height] .carousel__slide img {
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-height: min(72vh, 560px);
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .carousel--hero[data-carousel-natural-height] {
    min-height: 380px;
  }

  .carousel--hero[data-carousel-natural-height] .carousel__viewport {
    min-height: 380px;
  }

  .carousel--hero[data-carousel-natural-height] .carousel__slide img {
    max-height: min(68vh, 620px);
  }
}

.carousel--hero .carousel__viewport,
.carousel--hero .carousel__track,
.carousel--hero .carousel__slide {
  height: 100%;
  min-height: 0;
}

.carousel--hero[data-carousel-natural-height] .carousel__viewport,
.carousel--hero[data-carousel-natural-height] .carousel__track,
.carousel--hero[data-carousel-natural-height] .carousel__slide {
  height: auto;
  min-height: 0;
}

.carousel--archive:not([data-carousel-natural-height]) .carousel__viewport,
.carousel--archive:not([data-carousel-natural-height]) .carousel__track,
.carousel--archive:not([data-carousel-natural-height]) .carousel__slide {
  height: 100%;
  min-height: 0;
}

.carousel__viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-width: 0;
  /* İçerik (görsel doğal genişliği) viewport dışına taşırmasın */
  max-width: 100%;
}

.carousel__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: transform 0.45s ease;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track {
    transition: none;
  }
}

/* Slayt = figure; UA figure margin sıfırlanmalı (yan sızıntı / hizasızlık) */
figure.carousel__slide,
.carousel__slide {
  margin: 0;
  padding: 0;
  border: 0;
  flex: 0 0 var(--carousel-slide-w, 100%);
  width: var(--carousel-slide-w, 100%);
  min-width: var(--carousel-slide-w, 100%);
  max-width: var(--carousel-slide-w, 100%);
  box-sizing: border-box;
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  display: block;
}

.carousel__slide img,
.carousel__slide video {
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Doğal boyutlu kapak slaytları — genel cover kuralını geçersiz kıl */
.carousel--hero[data-carousel-natural-height] .carousel__slide img,
.carousel--detail[data-carousel-natural-height] .carousel__slide:not(.carousel__slide--video-youtube):not(.carousel__slide--video-file):not(.carousel__slide--instagram):not(.carousel__slide--video-link) img,
.media-lightbox-trigger.carousel__cover-lightbox img {
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center;
}

.carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.carousel__prev,
.carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__prev:hover,
.carousel__next:hover {
  background: #fff;
}

.carousel__prev {
  left: 0.5rem;
}

.carousel__next {
  right: 0.5rem;
}

.carousel__dots {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}

.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.carousel__dot[aria-current="true"] {
  background: #fff;
  width: 18px;
}

/* Geçmiş etkinlikler bölümü */
.section-archive {
  padding: 1.5rem 0 3rem;
  text-align: left;
}

.section-archive .section-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

.section-archive .section-sub {
  margin-bottom: 1.25rem;
  max-width: 52rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.section-archive .section-sub code {
  font-size: 0.88em;
  word-break: break-word;
}

.archive-layout {
  display: block;
  width: 100%;
}

.archive-layout > * {
  min-width: 0;
}

.carousel--archive {
  width: 100%;
  min-width: 0;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(44, 62, 80, 0.12);
  background: #ebe9e6;
  overflow: hidden;
}

.carousel--archive .carousel__viewport {
  border-radius: 18px;
  transition: height 0.35s ease;
  width: 100%;
}

.carousel--archive[data-carousel-natural-height] .carousel__viewport {
  height: auto;
  min-height: 120px;
}

.carousel--archive[data-carousel-natural-height] .carousel__track {
  height: auto;
  align-items: flex-start;
}

.carousel--archive[data-carousel-natural-height] .carousel__slide {
  height: auto;
  overflow: hidden;
  border-radius: 16px;
  background: #ebe9e6;
}

.carousel--archive[data-carousel-natural-height] .carousel__slide img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: min(90vh, 1200px);
  min-width: 0;
  min-height: 0;
  margin: 0 auto;
  border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .carousel--archive .carousel__viewport {
    transition: none;
  }
}

.carousel--archive .carousel__caption {
  display: none;
}

.carousel--archive .carousel__slide-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  max-width: min(72%, 16rem);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.carousel--archive .carousel__prev,
.carousel--archive .carousel__next {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary);
  font-size: 1.35rem;
  box-shadow: 0 2px 14px rgba(44, 62, 80, 0.18);
}

.carousel--archive .carousel__prev {
  left: 0.75rem;
}

.carousel--archive .carousel__next {
  right: 0.75rem;
}

.carousel--archive .carousel__dots {
  bottom: 0.85rem;
  padding: 0;
  background: transparent;
  gap: 0.4rem;
}

.carousel--archive .carousel__dot {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.5);
}

.carousel--archive .carousel__dot[aria-current="true"] {
  width: 9px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(44, 62, 80, 0.15);
}

.etkinlik-archive-placeholder {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
  background: rgba(250, 246, 241, 0.55);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.etkinlik-archive-placeholder p {
  margin: 0;
  max-width: 28rem;
}

.etkinlik-archive-placeholder code {
  font-size: 0.85em;
  word-break: break-all;
}

.carousel__slide--etkinlik-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Ana sayfa — tanıtım video banner */
.home-intro-banner,
.home-top-video {
  width: 100%;
  background: #0f172a;
  box-sizing: border-box;
}

.home-intro-banner[hidden],
.home-top-video[hidden] {
  display: none !important;
}

.home-intro-banner__frame {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 680px);
  overflow: hidden;
  background: #0f172a;
}

.home-intro-banner__poster {
  position: absolute;
  inset: 0;
  background-color: #1a2634;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.45s ease;
  z-index: 1;
}

.home-intro-banner__poster--hidden {
  opacity: 0;
  pointer-events: none;
}

.home-intro-banner__embed {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.home-intro-banner__iframe,
.home-intro-banner__video,
.home-top-video__iframe,
.home-top-video__media {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.home-intro-banner__video {
  object-fit: cover;
}

.home-intro-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.2) 42%,
    rgba(15, 23, 42, 0.65) 100%
  );
  pointer-events: none;
}

.home-intro-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.home-intro-banner__overlay--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-intro-banner__copy {
  max-width: 36rem;
}

.home-intro-banner__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.home-intro-banner__lead {
  margin: 0 0 1.1rem;
  font-size: clamp(0.95rem, 2.2vw, 1.12rem);
  line-height: 1.5;
  color: #e2e8f0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.home-intro-banner__watch {
  box-shadow: 0 8px 24px rgba(230, 126, 34, 0.35);
}

.home-intro-banner__toolbar {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 5;
  display: flex;
  gap: 0.45rem;
}

.home-intro-banner__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.home-intro-banner__tool:hover,
.home-intro-banner__tool:focus-visible {
  background: rgba(230, 126, 34, 0.88);
  border-color: var(--accent);
  color: #fff;
  outline: none;
}

.home-intro-banner__tool:disabled {
  opacity: 0.55;
  cursor: default;
}

.home-intro-banner__frame > .home-intro-banner__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 5;
}

.home-intro-banner--collapsed {
  padding: 0.85rem 0;
  background: linear-gradient(180deg, #f8f5f2 0%, #f1ebe4 100%);
  border-bottom: 1px solid var(--border);
}

.home-intro-banner__collapsed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.home-intro-banner__collapsed-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.home-intro-banner__reopen {
  font-weight: 600;
}

@media (max-width: 575px) {
  .home-intro-banner__frame {
    max-height: min(56vh, 420px);
  }

  .home-intro-banner__toolbar {
    top: 0.45rem;
    right: 0.45rem;
  }

  .home-intro-banner__overlay {
    padding: 1rem 0.75rem;
  }

  .home-intro-banner__lead {
    margin-bottom: 0.85rem;
  }
}

/* Ana sayfa — üst tanıtım video karuseli */
.home-top-video {
  width: 100%;
  background: #0f172a;
  box-sizing: border-box;
}

.home-top-video[hidden] {
  display: none !important;
}

.carousel--top-video {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: #0f172a;
}

.carousel--top-video .carousel__viewport {
  border-radius: 0;
  overflow: hidden;
  background: #0f172a;
}

.carousel--top-video .carousel__slide {
  background: #0f172a;
}

.carousel--top-video[data-carousel-natural-height] .carousel__slide img,
.carousel--top-video .home-top-video__poster {
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: min(72vh, 680px);
  object-fit: contain !important;
  object-position: center;
  display: block;
  background: #0f172a;
}

.home-top-video__featured {
  position: absolute;
  z-index: 4;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(196, 92, 62, 0.92);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.home-top-video__play {
  width: 4.25rem;
  height: 4.25rem;
  font-size: 1.35rem;
}

.home-top-video__missing {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
}

.carousel--top-video .carousel__caption,
.home-top-video__caption {
  font-size: 1rem;
  padding: 1rem 1.25rem;
}

.carousel--top-video .carousel__prev,
.carousel--top-video .carousel__next {
  z-index: 5;
}

.carousel--top-video .carousel__dots {
  z-index: 5;
}

@media (max-width: 575px) {
  .carousel--top-video[data-carousel-natural-height] .carousel__slide img,
  .carousel--top-video .home-top-video__poster {
    max-height: min(56vh, 420px);
  }

  .home-top-video__play {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.1rem;
  }
}

/* Ana sayfa — üst tanıtım video oynatıcısı (menü altı) */
.home-top-video {
  width: 100%;
  background: #0f172a;
  box-sizing: border-box;
}

.home-top-video[hidden] {
  display: none !important;
}

.home-top-video .hero-video-player {
  width: 100%;
  background: #0f172a;
}

.home-top-video .hero-video-player__inner {
  padding: 0 0 0.75rem;
}

.home-top-video .hero-video-player__caption {
  color: #f8fafc;
}

.home-top-video .hero-video-player__desc {
  color: rgba(248, 250, 252, 0.78);
}

.home-top-video .hero-video-player__nav {
  background: rgba(255, 255, 255, 0.92);
  color: #1c1917;
}

.home-top-video .hero-video-player__nav:hover,
.home-top-video .hero-video-player__nav:focus-visible {
  background: #fff;
}

.home-top-video .hero-video-player__sound {
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
}

.home-top-video .hero-video-player__sound:hover,
.home-top-video .hero-video-player__sound:focus-visible {
  background: rgba(196, 92, 62, 0.92);
}

.home-top-video .hero-video-player__dot {
  background: rgba(255, 255, 255, 0.35);
}

.home-top-video .hero-video-player__dot--active {
  background: #fff;
}

/* Hero — tanıtım video oynatıcı bileşeni (üst bölümde kullanılır) */
.hero-video-player {
  position: relative;
  width: 100%;
  background: #0f172a;
  overflow: hidden;
}

.hero-video-player[hidden] {
  display: none !important;
}

.hero-video-player__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 680px);
  background: #0f172a;
  cursor: pointer;
}

.hero-video-player__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-video-player__overlay > * {
  pointer-events: auto;
}

.hero-video-player__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1c1917;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.15s ease, transform 0.15s ease;
}

.hero-video-player__nav--prev {
  left: 0.75rem;
}

.hero-video-player__nav--next {
  right: 0.75rem;
}

.hero-video-player__nav:hover,
.hero-video-player__nav:focus-visible {
  background: #fff;
  outline: none;
  transform: translateY(-50%) scale(1.05);
}

.hero-video-player__sound {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 6;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.hero-video-player__sound:hover,
.hero-video-player__sound:focus-visible {
  background: rgba(196, 92, 62, 0.92);
  outline: none;
}

.hero-video-player__center-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.15s ease, transform 0.15s ease;
}

.hero-video-player__center-play--visible,
.hero-video-player__viewport:hover .hero-video-player__center-play {
  opacity: 1;
  pointer-events: auto;
}

.hero-video-player__center-play:hover,
.hero-video-player__center-play:focus-visible {
  background: rgba(196, 92, 62, 0.88);
  outline: none;
  transform: translate(-50%, -50%) scale(1.06);
}

.hero-video-player__viewport--youtube {
  cursor: default;
}

.hero-video-player__viewport--youtube .hero-video-player__sound,
.hero-video-player__viewport--youtube .hero-video-player__center-play {
  display: none !important;
}

.hero-video-player__viewport--mp4 {
  cursor: pointer;
}

.hero-video-player__stage {
  position: absolute;
  inset: 0;
  transition: opacity 0.35s ease;
}

.hero-video-player__stage--fade-out {
  opacity: 0;
}

.hero-video-player__stage--fade-in {
  animation: hero-video-fade-in 0.4s ease;
}

@keyframes hero-video-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-video-player__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.hero-video-player__yt-wrap {
  position: absolute;
  inset: 0;
}

.hero-video-player__yt-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-video-player__caption {
  padding: 0.75rem 1rem 0.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-video-player__caption strong {
  display: block;
  font-weight: 700;
}

.hero-video-player__desc {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink-muted, #57534e);
  font-size: 0.8125rem;
}

.hero-video-player__featured {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(196, 92, 62, 0.15);
  color: var(--accent, #c45c3e);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-video-player__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 0.75rem 0.85rem;
}

.hero-video-player__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.22);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-video-player__dot--active {
  background: var(--accent, #c45c3e);
  transform: scale(1.2);
}

@media (max-width: 575px) {
  .hero-video-player__viewport {
    max-height: min(56vh, 420px);
  }

  .hero-video-player__nav {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.1rem;
  }

  .hero-video-player__nav--prev {
    left: 0.4rem;
  }

  .hero-video-player__nav--next {
    right: 0.4rem;
  }

  .hero-video-player__sound {
    top: 0.45rem;
    right: 0.45rem;
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.95rem;
  }

  .hero-video-player__center-play {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.1rem;
  }
}

.hero-lead--pre {
  white-space: pre-wrap;
}

/* Kartlar — ana 3’lü */
.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.cards-3 {
  display: grid;
  gap: 1rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards-grid-home {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cards-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards-grid-home {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.card-link {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}

.card-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.card-link .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card-link h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.card-link p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Etkinlik listesi */
.page-head {
  padding: 2rem 0 1.5rem;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin: 0 0 0.35rem;
}

.page-head .sub {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
  max-width: 42rem;
  line-height: 1.55;
}

.event-list {
  display: block;
  padding-bottom: 3rem;
}

.event-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}

.event-filter-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.event-filter-btn:hover {
  border-color: var(--accent);
}

.event-filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.28);
}

.event-featured {
  margin-bottom: 2rem;
}

.event-featured-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.event-featured-card {
  display: grid;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(44, 62, 80, 0.1);
}

@media (min-width: 768px) {
  .event-featured-card {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }
}

.event-featured-media {
  position: relative;
  min-height: 0;
  background: #eceae7;
}

.event-featured-body {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.5rem;
  gap: 0.65rem;
}

.event-featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0;
  line-height: 1.2;
}

.event-featured-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.event-featured-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.35rem;
}

.event-card-thumb--featured,
.event-featured-media .event-card-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 0;
}

@media (min-width: 768px) {
  .event-card-thumb--featured,
  .event-featured-media .event-card-thumb {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .event-featured-media .event-card-thumb--img img {
    min-height: 100%;
  }
}

.event-section + .event-section {
  margin-top: 2.25rem;
}

.event-section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.event-list-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .event-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .event-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.event-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card--past {
  opacity: 0.88;
}

.event-card-media {
  position: relative;
  flex-shrink: 0;
}

.event-card-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: linear-gradient(160deg, #e7e5e4, #d6d3d1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.event-card-thumb--img {
  padding: 0;
  background: #eceae7;
  border: none;
  cursor: zoom-in;
}

.event-card-thumb--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

button.event-card-thumb.event-card-thumb--img.media-lightbox-trigger {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
  width: 100%;
  display: block;
}

.event-card-category-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

.event-card-body {
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.event-card h2 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 0.55rem;
  line-height: 1.25;
}

.event-card-meta {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.event-card-meta__item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.35;
}

.event-card-meta__icon {
  flex-shrink: 0;
  width: 1.1rem;
  text-align: center;
  line-height: 1.35;
}

.event-card-meta__text strong {
  color: var(--ink);
  font-weight: 600;
}

.event-card-capacity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.event-card-capacity__item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.event-card-capacity__remaining strong {
  color: #166534;
}

.event-card-capacity__remaining--full strong {
  color: #9a3412;
}

.event-card-capacity__joined strong {
  color: #15803d;
}

.event-card-capacity__pending strong {
  color: #b45309;
}

.detail-layout .event-card-capacity {
  margin: 0.75rem 0 1rem;
  font-size: 0.92rem;
}

.detail-layout .event-card-capacity__item {
  display: block;
  margin-bottom: 0.2rem;
}

.event-card-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.35rem;
}

.event-card-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.event-card-pricing--campaign {
  gap: 0.35rem;
}

.event-price-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(230, 126, 34, 0.12);
  color: #c2410c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.event-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
}

.event-card-actions {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.event-card-actions .btn {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  justify-content: center;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
  font-size: 0.88rem;
}

@media (max-width: 479px) {
  .event-card-actions {
    flex-direction: column;
  }
}

.event-price {
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  font-size: 0.95rem;
}

.event-status {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.event-status--past {
  color: var(--muted);
}

.event-status--closed {
  color: #9a3412;
}

.event-card--app-closed {
  opacity: 0.92;
}

.event-card .btn {
  margin-top: 0;
}

.event-price--free {
  font-weight: 600;
  color: #166534;
}

.event-price__current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.event-card-pricing--campaign .event-price__current {
  font-size: 1.25rem;
}

.event-price__regular {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: line-through;
}

.event-price__note {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.event-empty-warm {
  text-align: center;
  padding: 2.25rem 1.25rem;
  background: linear-gradient(165deg, rgba(250, 246, 241, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
}

.event-empty-warm__icon {
  font-size: 2rem;
  margin-bottom: 0.65rem;
}

.event-empty-warm__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--secondary);
}

.event-empty-warm__text {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.section-coming-soon {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(165deg, rgba(250, 246, 241, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
}

.section-coming-soon__icon {
  font-size: 2.25rem;
  margin: 0 0 0.75rem;
}

.section-coming-soon__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin: 0 0 0.65rem;
  color: var(--secondary);
}

.section-coming-soon__text {
  margin: 0 auto 1.25rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.empty-state--compact {
  padding: 1.5rem 1rem;
  font-size: 0.92rem;
}

.detail-dates {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.detail-dates li {
  margin: 0.2rem 0;
}

.detail-dates strong {
  color: var(--ink);
  font-weight: 600;
}

.admin-list--events li > span:first-child,
.admin-event-list-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-list-dates {
  display: block;
  font-size: 0.82rem;
}

button.event-card-thumb.media-lightbox-trigger:focus-visible,
.media-lightbox-trigger.carousel__cover-lightbox:focus-visible {
  outline: 2px solid var(--accent, #e67e22);
  outline-offset: 2px;
}

.media-lightbox-trigger.carousel__cover-lightbox {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
}

.media-lightbox-trigger.carousel__cover-lightbox img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-price--campaign .detail-price__current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.detail-price__regular {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.detail-price__note {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Mağaza — ürün listesi / kart */
.product-list {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card-thumb {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e7e5e4, #fafaf9);
  font-size: 2.5rem;
}

.product-card-thumb--img {
  padding: 0;
  background: #1c1917;
}

.product-card-thumb--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 1.15rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.product-price {
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.product-stock {
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.product-stock--low {
  color: #b45309;
  font-weight: 600;
}

.product-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.product-detail-page.detail-layout {
  max-width: 720px;
}

.product-detail-hero {
  margin: 0 0 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  max-height: 420px;
}

.product-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-hero--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(160deg, #e7e5e4, #d6d3d1);
}

.product-detail-hero--placeholder.product-detail-hero--logo {
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem;
  font-size: inherit;
}

.product-detail-hero--logo .product-detail-hero-logo {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 110px;
  object-fit: contain;
}

.product-detail-hero-caption {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
  max-width: 18rem;
  line-height: 1.35;
}

.product-detail-hero--carousel-wrap {
  padding: 0;
}

.product-detail-hero--carousel-wrap .carousel,
.product-detail-hero--carousel-wrap .carousel__viewport {
  height: 100%;
  min-height: 0;
}

.product-detail-hero--carousel-wrap .carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-thumb--logo-ph {
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 0.35rem;
  font-size: inherit;
  text-align: center;
}

.product-card-thumb-logo {
  width: auto;
  height: auto;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  opacity: 0.95;
}

.product-card-thumb-msg {
  font-size: 0.68rem;
  line-height: 1.25;
  color: var(--muted);
  padding: 0 0.2rem;
}

.product-detail-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.product-detail-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.product-detail-buy-row input[type="number"] {
  width: 5rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font: inherit;
}

.cart-table .cart-qty {
  width: 4.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font: inherit;
}

.cart-cell-product {
  min-width: 12rem;
  max-width: 22rem;
}

.cart-row-product {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.cart-row-thumb {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.cart-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cart-row-thumb--empty {
  background: var(--accent-soft);
  cursor: default;
}

.cart-row-thumb__ph {
  font-size: 1.35rem;
  line-height: 1;
  opacity: 0.65;
}

.cart-row-meta {
  min-width: 0;
  flex: 1;
}

.cart-row-title {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.35;
  display: inline-block;
}

.cart-row-title:hover {
  color: var(--accent);
  text-decoration: underline;
}

.cart-total-line {
  margin: 1rem 0 0;
  font-size: 1.1rem;
}

.cart-checkout {
  margin-top: 1.5rem;
}

.checkout-address-form {
  max-width: 640px;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
}

.checkout-field--full {
  grid-column: 1 / -1;
}

.checkout-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.checkout-req {
  color: #c62828;
  font-weight: 700;
}

.checkout-field-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.45rem;
}

.checkout-address-demo-hint {
  margin-bottom: 1rem !important;
}

.checkout-field .checkout-select,
.checkout-field .checkout-text,
.checkout-field .checkout-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.65rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
}

.checkout-field .checkout-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c5348' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  padding-right: 2rem;
}

.checkout-field .checkout-textarea {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.45;
}

.checkout-submit {
  width: 100%;
  margin-top: 1.35rem;
  padding: 0.75rem 1rem !important;
  font-weight: 600 !important;
}

.checkout-msg {
  margin-top: 0.75rem !important;
}

@media (max-width: 640px) {
  .checkout-form-grid {
    grid-template-columns: 1fr;
  }
}

.admin-order-meta {
  font-size: 0.85em;
  color: var(--muted);
  font-weight: 400;
}

.admin-order-address {
  max-width: 12rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.admin-order-status {
  font-size: 0.85rem;
  max-width: 11rem;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
}

.account-order-addr {
  max-width: 16rem;
  font-size: 0.86rem;
  line-height: 1.4;
}

.member-order-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.member-order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.member-order-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.member-order-card__ids {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.92rem;
}

.member-order-card__date {
  font-size: 0.85rem;
  color: var(--muted);
}

.member-order-card__sum {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.member-order-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(234, 88, 12, 0.12);
  color: var(--accent, #c2410c);
}

.member-order-status--cancelled {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(180, 50, 50, 0.08);
  color: #7f1d1d;
  font-size: 0.92rem;
}

.member-order-cancelled-at {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

.member-order-total {
  font-weight: 700;
  font-size: 1.1rem;
}

.member-order-track {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.member-order-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.member-order-step__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.member-order-step--done .member-order-step__dot {
  background: #16a34a;
}

.member-order-step--current {
  font-weight: 600;
  color: var(--ink);
}

.member-order-step--current .member-order-step__dot {
  background: var(--accent, #ea580c);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25);
}

.member-order-details {
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
}

.member-order-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 0.35rem 0;
}

.member-order-details__body {
  padding: 0.75rem 0 0.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.member-order-details__body h3 {
  font-size: 0.88rem;
  margin: 0.75rem 0 0.35rem;
}

.member-order-details__body h3:first-child {
  margin-top: 0;
}

.member-order-items {
  margin: 0;
  padding-left: 1.15rem;
}

.member-order-address-block p {
  margin: 0.35rem 0;
}

.member-order-address-pre {
  white-space: pre-wrap;
}

.member-order-history {
  list-style: none;
  margin: 0;
  padding: 0;
}

.member-order-history li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.member-order-history li:last-child {
  border-bottom: 0;
}

.member-order-history time {
  color: var(--muted);
  min-width: 10rem;
}

.member-order-history-label {
  font-weight: 500;
}

.member-order-actions {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.member-order-cancel-hint,
.member-order-no-cancel {
  margin: 0 !important;
  font-size: 0.82rem !important;
  max-width: 32rem;
}

.account-orders {
  margin-top: 0.5rem;
}

.account-orders--empty {
  margin-top: 0.5rem;
}

.account-inbox {
  margin-top: 0.5rem;
}

.member-thread-log,
.admin-thread-log {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1rem 0;
  max-height: min(420px, 55vh);
  overflow-y: auto;
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft, rgba(0, 0, 0, 0.03));
}

.thread-bubble {
  max-width: min(100%, 34rem);
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.thread-bubble--admin {
  align-self: flex-end;
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
}

.thread-bubble--member {
  align-self: flex-start;
}

.thread-bubble--peer-out {
  align-self: flex-end;
  border-color: rgba(234, 88, 12, 0.4);
  background: rgba(234, 88, 12, 0.1);
}

.thread-bubble--peer-in {
  align-self: flex-start;
  border-color: rgba(21, 128, 61, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.thread-bubble--peer-unread {
  border-color: rgba(234, 88, 12, 0.65);
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.15);
}

.peer-chat-page {
  padding-bottom: 2rem;
}

.peer-chat-page-head {
  margin-bottom: 1rem;
}

.peer-chat-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 1rem;
  align-items: start;
}

@media (max-width: 860px) {
  .peer-chat-layout {
    grid-template-columns: 1fr;
  }
}

.peer-chat-sidebar {
  max-height: min(78vh, 720px);
  overflow-y: auto;
}

.peer-chat-sidebar h2,
.peer-sidebar-heading {
  font-size: 0.95rem;
  margin: 0.85rem 0 0.4rem;
}

.peer-chat-sidebar h2:first-child {
  margin-top: 0;
}

.peer-chat-friend-search {
  margin: 0.65rem 0 0.85rem;
}

.peer-chat-friend-search .friends-search-field {
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
}

.peer-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.peer-member-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.5rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.peer-member-item:hover,
.peer-member-item:focus-visible {
  outline: none;
  background: rgba(234, 88, 12, 0.08);
}

.peer-member-item--active {
  background: rgba(234, 88, 12, 0.14);
  box-shadow: inset 3px 0 0 #ea580c;
}

.peer-member-item__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--muted, #a8a29e);
}

.peer-member-item__dot--online {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
}

.peer-member-item__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.peer-member-item__sub,
.peer-member-item__preview {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.peer-member-item__badge {
  flex-shrink: 0;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
  background: #ea580c;
  color: #fff;
}

.peer-list-empty {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.35rem 0.5rem;
}

.peer-chat-main {
  display: flex;
  flex-direction: column;
  min-height: min(70vh, 560px);
}

.peer-chat-header {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.peer-chat-header__title {
  font-size: 1.15rem;
  margin: 0;
}

.peer-chat-header__meta {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.peer-status--online {
  color: #15803d;
  font-weight: 600;
}

.peer-thread-log {
  flex: 1;
  min-height: 200px;
}

.peer-chat-empty {
  text-align: center;
  padding: 2rem 0.5rem;
}

.peer-compose {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* —— Modern peer chat (v2) —— */
.peer-thread-log--v2 {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  flex: 1;
  min-height: min(320px, 42vh);
  max-height: min(52vh, 480px);
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent);
}

.peer-msg-row {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.peer-msg-row--out {
  justify-content: flex-end;
}

.peer-msg-row--in {
  justify-content: flex-start;
}

.peer-msg-bubble {
  position: relative;
  max-width: min(78%, 22rem);
  padding: 0.55rem 0.75rem 0.35rem;
  border-radius: 16px;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.peer-msg-bubble:has(.peer-msg-menu) {
  padding-top: 1.65rem;
}

.peer-msg-bubble--out {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.14), rgba(234, 88, 12, 0.08));
  border-color: rgba(234, 88, 12, 0.28);
  border-bottom-right-radius: 4px;
}

.peer-msg-bubble--in {
  background: #fff;
  border-color: rgba(21, 128, 61, 0.22);
  border-bottom-left-radius: 4px;
}

.peer-msg-bubble--unread {
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.18);
}

.peer-msg-bubble__text {
  font-size: 0.94rem;
  line-height: 1.45;
  word-break: break-word;
}

.peer-msg-bubble__time {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(28, 25, 23, 0.55);
  text-align: right;
}

.peer-msg-bubble--in .peer-msg-bubble__time {
  text-align: left;
}

.peer-msg-tombstone {
  margin: 0.15rem 0;
  padding: 0;
  font-size: 0.82rem;
  font-style: italic;
  color: #9ca3af;
  text-align: center;
  width: 100%;
}

.peer-msg-menu {
  position: absolute;
  top: 0.2rem;
  right: 0.25rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.peer-msg-bubble:hover .peer-msg-menu,
.peer-msg-bubble:focus-within .peer-msg-menu,
.peer-msg-menu:focus-within {
  opacity: 1;
}

.peer-msg-menu__toggle {
  border: none;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  width: 1.65rem;
  height: 1.65rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--muted);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.peer-msg-menu__pop {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 5;
  min-width: 11rem;
  margin-top: 0.15rem;
  padding: 0.35rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.peer-msg-bubble--in .peer-msg-menu__pop:not(.peer-msg-menu__pop--fixed) {
  left: 0;
  right: auto;
}

.peer-msg-menu__pop--fixed {
  position: fixed !important;
  margin-top: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.peer-msg-menu__pop button {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  font: inherit;
  font-size: 0.88rem;
  color: var(--text, #1c1917);
  white-space: nowrap;
  cursor: pointer;
}

.peer-msg-menu__pop button:hover,
.peer-msg-menu__pop button:focus-visible {
  background: rgba(234, 88, 12, 0.08);
  outline: none;
}

.peer-msg-attachment {
  margin-bottom: 0.35rem;
}

.peer-msg-attachment__badge {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #c2410c;
}

.peer-msg-media {
  display: block;
  max-width: 100%;
  border-radius: 10px;
}

.peer-msg-media--photo {
  max-height: 240px;
  object-fit: cover;
}

.peer-msg-media--video {
  max-height: 280px;
  background: #000;
}

.peer-msg-file {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  font-size: 0.88rem;
}

.peer-chat-page-head--minimal {
  margin-bottom: 0.65rem;
}

.peer-chat-page-head--minimal .sub {
  display: none;
}

.peer-chat-header--v2 {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
  overflow: visible;
}

.peer-chat-header__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.peer-chat-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: auto;
}

.peer-header-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(234, 88, 12, 0.35);
  background: rgba(234, 88, 12, 0.08);
  color: #c2410c;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.peer-header-video-btn:hover,
.peer-header-video-btn:focus-visible {
  background: rgba(234, 88, 12, 0.16);
  outline: none;
}

.peer-header-menu {
  position: relative;
  flex-shrink: 0;
  overflow: visible;
}

.peer-header-menu__toggle {
  border: none;
  background: transparent;
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
}

.peer-header-menu__toggle:hover,
.peer-header-menu__toggle:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

.peer-float-pop {
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.peer-float-pop[hidden] {
  display: none !important;
}

.peer-mute-submenu {
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
  padding-top: 0.2rem;
}

.peer-mute-submenu__label {
  margin: 0.15rem 0.45rem 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.peer-float-pop--fixed,
.peer-msg-menu__pop--fixed {
  position: fixed !important;
  margin-top: 0;
  z-index: 1200;
}

#peer-header-menu-pop.peer-float-pop--fixed {
  z-index: 9999;
}

.peer-float-pop__item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.55rem 0.7rem;
  border-radius: 7px;
  font: inherit;
  font-size: 0.88rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.peer-float-pop__item:hover,
.peer-float-pop__item:focus-visible {
  background: rgba(234, 88, 12, 0.08);
  outline: none;
}

.peer-float-pop__item--danger {
  color: #b91c1c;
}

.peer-float-pop__item--sign {
  font-weight: 600;
  color: #c2410c;
}

.peer-attach-pop__hint {
  margin: 0.35rem 0.45rem 0.25rem;
  font-size: 0.68rem;
  line-height: 1.35;
  border-top: 1px solid var(--border);
  padding-top: 0.4rem;
}

.peer-attach-pop__sub {
  margin: 0.35rem 0.45rem 0.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #c2410c;
}

.peer-compose--v2 {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.peer-compose-bar {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
}

.peer-attach-wrap {
  position: relative;
  flex-shrink: 0;
}

.peer-emoji-wrap {
  position: relative;
  flex-shrink: 0;
}

.peer-compose-icon {
  flex-shrink: 0;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  width: 2.35rem;
  height: 2.35rem;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--text, #1c1917);
}

.peer-compose-icon--attach {
  font-size: 1.45rem;
  font-weight: 300;
  color: #ea580c;
  background: rgba(234, 88, 12, 0.1);
}

.peer-compose-icon:hover,
.peer-compose-icon:focus-visible {
  background: rgba(234, 88, 12, 0.14);
  outline: none;
}

.peer-compose-bar textarea {
  flex: 1;
  min-width: 0;
  min-height: 2.35rem;
  max-height: 7rem;
  resize: none;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.35;
  background: #fff;
}

.peer-compose-bar textarea:focus {
  outline: none;
  border-color: rgba(234, 88, 12, 0.45);
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.12);
}

.peer-compose-send {
  flex-shrink: 0;
  border: none;
  background: #ea580c;
  color: #fff;
  border-radius: 50%;
  width: 2.35rem;
  height: 2.35rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.peer-compose-send:hover,
.peer-compose-send:focus-visible {
  background: #c2410c;
  outline: none;
}

.peer-compose-msg {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}

.peer-emoji-pop {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.25rem;
  padding: 0.5rem;
  min-width: 11.5rem;
  max-width: min(16.5rem, calc(100vw - 1.5rem));
  max-height: min(11rem, 42vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
}

.peer-emoji-pop[hidden] {
  display: none !important;
}

.peer-emoji-pop.peer-float-pop--fixed {
  margin: 0;
}

.peer-chat-main {
  display: flex;
  flex-direction: column;
  min-height: min(72vh, 620px);
  padding-bottom: 0.5rem;
  overflow: visible;
}

.peer-thread-log--v2 {
  border: none;
  background: transparent;
  margin: 0;
  padding: 0.65rem 0.25rem;
  max-height: min(52vh, 480px);
  overflow-y: auto;
}

.peer-chat-header__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.peer-chat-header__avatar--ini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 88, 12, 0.15);
  font-weight: 700;
  font-size: 0.95rem;
}

.peer-chat-header__info {
  flex: 1;
  min-width: 0;
}

.peer-chat-header__title {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.25;
}

.peer-chat-header__status {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.peer-chat-header__status--online {
  color: #15803d;
  font-weight: 600;
}

.peer-video-call-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: min(22rem, 92vw);
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.peer-msg-row--system .peer-video-call-card {
  margin: 0 auto;
}

.peer-video-call-card--in {
  border-color: rgba(234, 88, 12, 0.35);
  background: rgba(255, 247, 237, 0.95);
}

.peer-video-call-card--out {
  border-color: rgba(59, 130, 246, 0.25);
  background: rgba(239, 246, 255, 0.95);
}

.peer-video-call-card__icon {
  color: #c2410c;
}

.peer-video-call-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.peer-video-call-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.peer-video-call-card__hint {
  margin: 0;
  font-size: 0.78rem;
}

.peer-video-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.75rem 0.5rem 0.25rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.peer-video-toolbar__btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.peer-video-toolbar__btn:hover,
.peer-video-toolbar__btn:focus-visible {
  background: rgba(0, 0, 0, 0.04);
  outline: none;
}

.peer-video-toolbar__btn--end {
  border-color: rgba(185, 28, 28, 0.45);
  background: rgba(254, 226, 226, 0.9);
  color: #b91c1c;
  font-weight: 600;
}

.peer-video-toolbar__btn--end:hover,
.peer-video-toolbar__btn--end:focus-visible {
  background: rgba(254, 202, 202, 0.95);
}

@media (max-width: 640px) {
  .peer-header-video-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .peer-header-video-btn {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

.peer-member-item--v2 {
  align-items: center;
  padding: 0.65rem 0.5rem;
}

.peer-member-item__main {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
  flex: 1;
}

.peer-member-item__top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.peer-member-item__status {
  font-size: 0.65rem;
  line-height: 1;
}

.peer-member-item__city {
  font-size: 0.74rem;
  color: var(--muted);
}

.peer-member-item__activity {
  font-size: 0.72rem;
  color: var(--muted);
}

.peer-member-item__preview--empty {
  font-style: italic;
  opacity: 0.75;
}

.peer-upload-progress {
  margin-top: 0.35rem;
  height: 0.35rem;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.peer-upload-progress__bar {
  height: 100%;
  width: 0;
  background: #ea580c;
  transition: width 0.15s ease;
}

.peer-upload-progress__label {
  position: absolute;
  top: 0.45rem;
  left: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.peer-emoji-pop__btn {
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  border-radius: 6px;
  padding: 0.15rem 0.25rem;
}

.peer-emoji-pop__btn:hover {
  background: rgba(234, 88, 12, 0.1);
}

@media (max-width: 767px) {
  .peer-emoji-pop {
    max-height: min(9.5rem, 36vh);
    max-width: min(15rem, calc(100vw - 1rem));
  }

  .peer-emoji-pop__btn {
    font-size: 1.35rem;
    padding: 0.22rem 0.32rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .peer-msg-bubble {
    max-width: 88%;
  }

  .peer-msg-menu {
    opacity: 1;
  }
}

.nav-msg-badge--peer {
  background: #15803d;
}

.thread-bubble__head {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.thread-bubble__body {
  font-size: 0.92rem;
  line-height: 1.45;
  word-break: break-word;
}

.thread-bubble__placeholder {
  margin: 0;
  font-style: italic;
  color: var(--muted);
}

.thread-bubble__deleted-meta {
  font-weight: 500;
  color: var(--accent);
  font-size: 0.76rem;
}

.thread-bubble__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
  justify-content: flex-end;
}

.thread-bubble__delete {
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  min-height: 2rem;
}

.thread-bubble__delete--hard {
  border-color: rgba(185, 28, 28, 0.45);
  color: #b91c1c;
}

@media (max-width: 767px) {
  .thread-bubble__delete {
    min-height: 44px;
    padding: 0.35rem 0.75rem;
  }
}

.admin-inbox-compose {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.admin-inbox-compose__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.account-new-msg-banner {
  margin: 0.5rem 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(234, 88, 12, 0.35);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text, #1c1917);
}

.account-new-msg-banner[hidden] {
  display: none !important;
}

.nav-msg-badge--trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  background: #ea580c;
  color: #fff;
  vertical-align: middle;
}

.nav-msg-badge--trigger[hidden] {
  display: none !important;
}

.nav-menu-with-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.nav-msg-badge--menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  background: #ea580c;
  color: #fff;
  flex-shrink: 0;
}

.nav-msg-badge--menu[hidden] {
  display: none !important;
}

.admin-request-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-request-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.admin-request-card h3 {
  margin: 0.35rem 0 0.25rem;
  font-size: 1.05rem;
}

.admin-request-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.admin-request-body {
  margin: 0.65rem 0;
  line-height: 1.5;
  font-size: 0.92rem;
}

.admin-reply-done {
  margin: 0.75rem 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  font-size: 0.9rem;
}

.admin-reply-done__meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-reply-done--assigned {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.28);
}

.admin-request-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.admin-request-badge--pending {
  background: rgba(234, 179, 8, 0.18);
  color: #a16207;
}

.admin-request-badge--assigned {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.admin-request-badge--replied {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.admin-request-card--highlight {
  outline: 2px solid var(--accent, #f97316);
  outline-offset: 2px;
}

.admin-interpreter-assign {
  margin: 0.85rem 0;
  padding: 0.85rem;
  border-radius: 8px;
  border: 1px dashed var(--border);
  background: rgba(249, 115, 22, 0.04);
}

.trc-my-requests {
  margin-bottom: 1.25rem;
}

.trc-request-card {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.trc-request-card:last-child {
  border-bottom: none;
}

.trc-request-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.trc-status {
  font-weight: 600;
}

.trc-status--pending {
  color: #a16207;
}

.trc-status--assigned {
  color: #15803d;
}

.trc-assigned {
  margin: 0.75rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.trc-assigned h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.trc-reply {
  margin-top: 0.65rem;
  font-size: 0.9rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

/* Detay */
.detail-layout {
  padding: 2rem 0 3rem;
  max-width: min(720px, 100%);
  margin-inline: auto;
  overflow-x: clip;
  width: 100%;
  box-sizing: border-box;
}

.detail-layout .carousel--detail {
  max-width: 100%;
  overflow: hidden;
}

.detail-layout .carousel--detail .carousel__track {
  max-width: none;
}

/* Etkinlik detay — carousel (oklar / noktalar); otomatik slayt kapalı — video izlerken sayfa kaymasın */
.detail-layout .carousel--detail {
  margin: 0 0 1.5rem;
}

.carousel--detail .carousel__viewport {
  overscroll-behavior: contain;
}

.carousel--detail[data-carousel-natural-height] .carousel__slide:not(.carousel__slide--video-youtube):not(.carousel__slide--video-file):not(.carousel__slide--instagram):not(.carousel__slide--video-link) img {
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-height: min(72vh, 560px);
  object-fit: contain;
  object-position: center;
  background: #f3f1ee;
}

.carousel--detail[data-carousel-natural-height] .carousel__slide:not(.carousel__slide--video-youtube):not(.carousel__slide--video-file):not(.carousel__slide--instagram):not(.carousel__slide--video-link) {
  height: auto;
  background: #f3f1ee;
}

.carousel--detail .carousel__slide--detail-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e7e5e4, #d6d3d1);
}

.carousel--detail .detail-emoji-fallback {
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  line-height: 1;
}

.carousel--detail .carousel__slide--video-youtube,
.carousel--detail .carousel__slide--video-file {
  background: #1c1917;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  height: auto;
}

.carousel--detail .carousel__slide--video-youtube .detail-media-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.carousel--detail .carousel__slide--video-file .detail-media-video {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: block;
  object-fit: contain;
  background: #000;
}

.carousel--detail .carousel__slide--instagram {
  background: #1c1917;
}

.carousel--detail .carousel-embed-instagram {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0.35rem 0;
  -webkit-overflow-scrolling: touch;
}

.carousel--detail .detail-media-iframe--instagram {
  width: 100%;
  max-width: 326px;
  height: 560px;
  min-height: 320px;
  border: 0;
  display: block;
  flex-shrink: 0;
}

.carousel--detail .carousel__slide--instagram {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.detail-instagram-fallback,
.detail-media-link-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem 1rem;
  text-align: center;
  flex: 1;
  min-height: 200px;
}

.detail-instagram-fallback .hint,
.detail-media-link-fallback .hint {
  margin: 0;
  max-width: 22rem;
}

.carousel--detail .carousel__slide--video-link {
  background: #1c1917;
}

.detail-thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #e7e5e4, #d6d3d1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.detail-thumb--img {
  padding: 0;
}

.detail-thumb--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-price {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

.detail-video-wrap {
  margin: 1.5rem 0;
}

.detail-video-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.detail-video-embed,
.detail-video-mp4 {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  display: block;
  background: #1c1917;
}

.detail-layout h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 1rem;
}

.detail-meta {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.detail-body {
  margin-bottom: 2rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

body:has(.detail-layout) {
  overflow-x: clip;
}

.detail-layout > * {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.detail-body p {
  margin: 0 0 1rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.detail-action-disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.detail-action-disabled:hover {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--ink);
}

.event-card__title,
.event-card__excerpt,
.event-featured-card__title,
.event-featured-card h2,
.detail-layout h1,
.detail-body p,
.detail-join-lead {
  font-family: var(--font);
}

.detail-join {
  margin-top: 1.5rem;
  max-width: 32rem;
}

.detail-join h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.detail-join-lead {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.detail-join-fields {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.account-reg-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.account-reg-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.account-reg-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.account-reg-item__main {
  flex: 1;
  min-width: 0;
}

.member-reg-list {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}

.member-reg-card {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface, #fff);
}

.member-reg-card__media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(0, 0, 0, 0.04);
}

.member-reg-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-reg-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.member-reg-card__meta {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.member-reg-card__status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.65rem 1rem;
  margin: 0.75rem 0 0;
  padding: 0;
}

.member-reg-card__status-grid div {
  margin: 0;
}

.member-reg-card__status-grid dt {
  margin: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.member-reg-card__status-grid dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.member-reg-status {
  font-weight: 600;
}

.member-reg-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

@media (max-width: 640px) {
  .member-reg-card {
    grid-template-columns: 1fr;
  }

  .member-reg-card__media {
    max-height: 10rem;
  }
}

/* Form — üyelik */
.form-page {
  padding: 2rem 0 3rem;
  max-width: 480px;
  margin-inline: auto;
}

.form-page h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.5rem;
}

.form-page .intro {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.form-forgot-row {
  margin: -0.15rem 0 1rem;
  text-align: right;
}

.form-forgot-link {
  display: inline-block;
  padding: 0.35rem 0.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.form-forgot-link:hover {
  color: var(--ink);
}

.form-forgot-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.form-reset-demo-box {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  font-size: 0.92rem;
  word-break: break-word;
}

.form-reset-demo-box a {
  font-weight: 600;
  color: var(--accent);
}

.form-reset-demo-box a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .form-forgot-row {
    text-align: left;
    margin-bottom: 1.1rem;
  }

  .form-forgot-link {
    min-height: 44px;
    line-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Bize ulaşın — erisilebilirhersey.com/bize-ulasin benzeri form yapısı */
.contact-page {
  padding: 2rem 0 3rem;
  max-width: 640px;
  margin-inline: auto;
  width: min(640px, 100% - 2rem);
}

.contact-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.1rem);
  margin: 0 0 0.75rem;
}

.contact-lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.contact-mail {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.contact-mail a {
  font-weight: 600;
  color: var(--accent);
}

.contact-mail a:hover {
  text-decoration: underline;
}

.contact-form .req {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  border: none;
}

.contact-form .field label abbr {
  cursor: help;
}

.contact-member-note {
  padding: 0.75rem 1rem;
  margin: 0 0 1.1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.94rem;
}

.contact-uploads {
  margin: 0 0 1.25rem;
  padding: 1rem 1rem 0.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.contact-uploads__legend {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0 0.35rem;
  margin-bottom: 0.35rem;
}

.contact-uploads__intro {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-upload-block {
  margin-bottom: 1rem;
}

.contact-upload-block__label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.contact-dropzone {
  position: relative;
  padding: 1rem 1.1rem;
  border: 2px dashed var(--border);
  border-radius: 10px;
  background: var(--surface, #fff);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-dropzone:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-dropzone--drag,
.contact-dropzone:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.contact-dropzone--video {
  border-color: rgba(234, 88, 12, 0.35);
}

.contact-dropzone__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-dropzone__prompt {
  margin: 0 0 0.35rem;
  font-size: 0.94rem;
  color: var(--ink);
}

.contact-dropzone__link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-dropzone__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.contact-upload-preview {
  margin-top: 0.55rem;
}

.contact-upload-preview__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
}

.contact-upload-preview__name {
  font-size: 0.9rem;
  word-break: break-word;
  flex: 1 1 12rem;
}

.contact-upload-progress {
  margin-top: 0.55rem;
}

.contact-upload-progress__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-upload-progress progress {
  width: 100%;
  height: 0.65rem;
  accent-color: var(--accent);
}

.contact-upload-progress__pct {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
}

.admin-contact-attachments {
  margin: 0.75rem 0;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  font-size: 0.9rem;
}

.admin-contact-attachments p {
  margin: 0.35rem 0;
}

.admin-contact-attachments .btn {
  margin-top: 0.35rem;
  margin-right: 0.5rem;
}

@media (max-width: 767px) {
  .contact-dropzone {
    padding: 1.1rem 0.85rem;
  }

  .contact-upload-preview__remove {
    width: 100%;
    justify-content: center;
  }
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.checkbox-field {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1.25rem 0;
}

.checkbox-field input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.checkbox-field label {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
}

.kvkk-open-link {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  vertical-align: baseline;
}

.kvkk-open-link:hover {
  color: var(--accent-hover);
}

.kvkk-dialog {
  max-width: min(40rem, calc(100vw - 2rem));
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: auto;
}

.kvkk-dialog::backdrop {
  background: rgba(28, 25, 23, 0.45);
}

.kvkk-dialog__inner {
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
}

.kvkk-dialog h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.kvkk-dialog__body {
  max-height: min(58vh, 26rem);
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.kvkk-dialog__body p {
  margin: 0 0 0.75rem;
}

.kvkk-dialog__body p:last-child {
  margin-bottom: 0;
}

.kvkk-dialog__body ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.kvkk-dialog__body li {
  margin-bottom: 0.25rem;
}

.kvkk-dialog__body a {
  word-break: break-all;
}

.kvkk-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.form-msg {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-msg.success {
  background: #ecfdf5;
  color: #065f46;
}

.form-msg.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.form-page abbr.req {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

/* Admin */
.admin-layout {
  padding: 2rem 0 3rem;
}

.admin-dashboard {
  max-width: 960px;
  margin-inline: auto;
}

.admin-load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0.5rem;
}

.admin-list-meta {
  margin: 0.35rem 0 0.65rem;
}

@media (max-width: 767px) {
  .admin-dashboard {
    max-width: 100%;
  }

  .admin-quick-actions .btn-tiny,
  .admin-quick-actions .btn {
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.55rem 0.85rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .admin-quick-actions__buttons {
    gap: 0.55rem;
  }

  .admin-inbox-notify-btn,
  #admin-inbox-notify-btn {
    min-width: 2.75rem;
    min-height: 2.75rem;
    touch-action: manipulation;
  }

  body.admin-page .site-main {
    touch-action: manipulation;
  }
}

.admin-layout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.admin-sidebar {
  flex: 0 0 min(100%, 15.5rem);
  position: sticky;
  top: 0.75rem;
  max-height: calc(100vh - 1.5rem);
  overflow: auto;
}

.admin-sidebar__title {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-sidebar__nav .btn,
.admin-sidebar__nav .btn-tiny {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  white-space: normal;
}

.admin-sidebar__nav .admin-quick-btn--vitrin {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.25rem 0.5rem;
  padding: 0.45rem 0.65rem;
  min-height: 2.5rem;
}

.admin-sidebar__nav .admin-quick-btn--vitrin .admin-quick-btn__label {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.3;
}

.admin-quick-vitrin-badge {
  flex-shrink: 0;
  display: inline-block;
  background: #ffffff;
  color: #333333;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.25rem 0.625rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
  white-space: nowrap;
}

.admin-main {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 900px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    position: static;
    max-height: none;
    width: 100%;
  }

  .admin-sidebar__nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.45rem;
  }

  .admin-sidebar__nav .btn,
  .admin-sidebar__nav .btn-tiny {
    width: 100%;
    min-height: 2.75rem;
  }
}

.admin-table--login-log td {
  vertical-align: top;
}

.admin-login-log-meta {
  margin: 0 0 0.75rem;
}

.admin-login-log-ua {
  display: block;
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.78rem;
}

.admin-member-last-login {
  white-space: nowrap;
  font-size: 0.88rem;
}

.admin-quick-actions {
  margin-bottom: 1rem;
}

.admin-quick-actions__label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.admin-quick-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  align-items: center;
}

.admin-quick-actions .btn-tiny {
  white-space: nowrap;
}

.admin-members-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: rgba(250, 250, 249, 0.9);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 10px;
}

.admin-members-filter label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.admin-members-filter select {
  min-width: min(100%, 18rem);
  font: inherit;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.admin-members-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.admin-member-select-all-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-member-select-all-row .admin-member-select-all {
  margin: 0;
}

.admin-members-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.admin-members-search-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.admin-members-search {
  flex: 1 1 14rem;
  min-width: min(100%, 14rem);
  font: inherit;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.admin-members-count {
  margin: 0;
  white-space: nowrap;
}

.admin-members-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-members-filter-groups {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.admin-members-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.admin-members-filter-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  min-width: 7.25rem;
  flex-shrink: 0;
}

.admin-member-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.82rem;
  cursor: pointer;
  user-select: none;
}

.admin-member-filter-chip.is-active {
  border-color: rgba(230, 126, 34, 0.45);
  background: var(--accent-soft);
}

.admin-member-filter-chip input {
  margin: 0;
  accent-color: var(--accent);
}

.admin-members-bulk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border: 1px dashed rgba(230, 126, 34, 0.35);
  border-radius: 10px;
  background: rgba(254, 245, 237, 0.55);
}

.admin-members-bulk[hidden] {
  display: none !important;
}

.admin-members-bulk__count {
  font-weight: 600;
  font-size: 0.86rem;
  margin-right: 0.35rem;
}

.admin-table--members .admin-member-check {
  width: 2.25rem;
  text-align: center;
}

.admin-table--members .admin-member-id {
  width: 3rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted, #64748b);
}

.admin-table--members .admin-member-row {
  cursor: pointer;
}

.admin-table--members .admin-member-row.is-detail-open {
  background: rgba(254, 245, 237, 0.45);
}

.admin-table--members .admin-member-row:hover {
  background: rgba(248, 245, 242, 0.85);
}

.admin-table--members .admin-member-actions {
  white-space: nowrap;
}

.admin-member-verify {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.admin-member-verify--yes {
  color: #166534;
  background: rgba(22, 101, 52, 0.12);
}

.admin-member-verify--no {
  color: #b45309;
  background: rgba(180, 83, 9, 0.12);
}

.admin-member-verify-channel {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  margin-top: 0.2rem;
}

.admin-member-verify-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 7.5rem;
}

.admin-member-verify-col {
  min-width: 8.5rem;
}

.admin-member-verify-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-member-verify-channel-row {
  margin: 0;
  font-size: 0.9rem;
}

.admin-member-verify-status {
  margin: 0;
}

.admin-member-verify-status-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
}

.admin-member-verify-status-label--ok {
  color: #047857;
  background: rgba(4, 120, 87, 0.12);
}

.admin-member-verify-status-label--pending {
  color: #1d4ed8;
  background: rgba(29, 78, 216, 0.1);
}

.admin-member-verify-status-label--no {
  color: #b45309;
  background: rgba(180, 83, 9, 0.12);
}

.admin-member-detail-row td {
  background: rgba(254, 245, 237, 0.35);
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.admin-member-detail {
  padding: 0.35rem 0.15rem 0.65rem;
}

.admin-member-view--detail {
  max-width: 42rem;
}

.admin-member-verify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.admin-member-verify-panel {
  margin: 0.85rem 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(230, 126, 34, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
}

.admin-member-verify-panel legend {
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0 0.25rem;
}

.admin-table--members .admin-member-no {
  width: 2.75rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted, #64748b);
}

.admin-table--members .admin-member-edit-row td {
  vertical-align: top;
}

.admin-table--members .admin-member-perms-row td {
  padding-top: 0.35rem;
  padding-bottom: 0.85rem;
  background: rgba(250, 250, 249, 0.85);
  border-bottom: 1px solid rgba(28, 25, 23, 0.08);
}

.admin-member-perms-title {
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.admin-perm-table {
  width: 100%;
  max-width: 32rem;
  font-size: 0.82rem;
}

.admin-perm-table__th-check {
  width: 4.25rem;
  text-align: center !important;
}

.admin-perm-table__name {
  line-height: 1.35;
}

.admin-perm-table__check {
  text-align: center;
  vertical-align: middle !important;
}

.admin-perm-table__check input {
  width: 1.05rem;
  height: 1.05rem;
  cursor: pointer;
}

.admin-perm-matrix-wrap {
  margin-top: 0.35rem;
}

.admin-perm-super {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(234, 88, 12, 0.25);
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.65);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.admin-perm-super input {
  margin-right: 0.35rem;
}

.admin-perm-super__hint {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
}

.admin-perm-count {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-perm-matrix__category + .admin-perm-matrix__category {
  margin-top: 1.15rem;
}

.admin-perm-matrix__category-title {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.admin-perm-matrix__table {
  font-size: 0.8rem;
  min-width: 36rem;
}

.admin-perm-matrix__th-action {
  text-align: center !important;
  white-space: nowrap;
  font-size: 0.72rem;
}

.admin-perm-matrix__module {
  min-width: 11rem;
  vertical-align: middle !important;
}

.admin-perm-matrix__module-label {
  font-weight: 600;
  line-height: 1.3;
}

.admin-perm-hint-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.35rem;
  padding: 0;
  border: 1px solid rgba(28, 25, 23, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: help;
  vertical-align: middle;
}

.admin-perm-matrix__cell {
  text-align: center;
  vertical-align: middle !important;
}

.admin-perm-matrix__cell input {
  width: 1.05rem;
  height: 1.05rem;
  cursor: pointer;
}

.admin-member-perms-actions {
  margin-top: 0.75rem;
}

@media (max-width: 720px) {
  .admin-perm-matrix__table {
    min-width: 28rem;
  }

  .admin-perm-matrix__module {
    min-width: 8.5rem;
  }
}

.admin-perm-table__check input:disabled {
  cursor: not-allowed;
}

.admin-member-perms-actions {
  margin-top: 0.65rem;
}

.admin-member-perms-hint {
  margin: 0.5rem 0 0;
}

.admin-quick-btn--active {
  box-shadow: 0 0 0 2px var(--accent);
}

.admin-quick-btn--messages {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-quick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  background: #ea580c;
  color: #fff;
}

.admin-quick-badge[hidden] {
  display: none !important;
}

.admin-inbox-global-alert {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  background: rgba(234, 88, 12, 0.14);
  border: 2px solid rgba(234, 88, 12, 0.55);
  color: var(--text, #1c1917);
}

.admin-inbox-global-alert[hidden] {
  display: none !important;
}

@keyframes admin-inbox-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(234, 88, 12, 0);
  }
}

.admin-inbox-global-alert--pulse {
  animation: admin-inbox-pulse 1.05s ease-out 2;
}

.admin-inbox-global-alert__lead {
  margin: 0 0 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.admin-inbox-global-alert__list {
  margin: 0;
  padding-left: 1.2rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.admin-inbox-global-alert__list li + li {
  margin-top: 0.35rem;
}

.admin-inbox-notify-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.admin-inbox-notify-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card, #fffefb);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.2s ease;
}

.admin-inbox-notify-btn:hover,
.admin-inbox-notify-btn:focus-visible {
  outline: none;
  border-color: rgba(234, 88, 12, 0.55);
  color: #c2410c;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.18);
}

.admin-inbox-notify-icon {
  display: flex;
  line-height: 0;
  pointer-events: none;
}

.admin-inbox-notify-btn--has-unread {
  border-color: rgba(234, 88, 12, 0.55);
  color: #c2410c;
}

.admin-inbox-notify-badge {
  position: absolute;
  top: -0.12rem;
  right: -0.08rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.05rem;
  text-align: center;
  background: #ea580c;
  color: #fff;
  border: 2px solid rgba(250, 246, 241, 0.96);
}

.admin-inbox-notify-badge[hidden] {
  display: none !important;
}

.admin-inbox-notify-popover {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 80;
  min-width: min(20rem, calc(100vw - 2rem));
  max-width: min(22rem, 94vw);
  padding: 0.65rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.admin-inbox-notify-popover__title {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-inbox-notify-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  max-height: 5.5rem;
  overflow-y: auto;
}

.admin-inbox-notify-filter {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.3;
}

.admin-inbox-notify-filter:hover,
.admin-inbox-notify-filter:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.admin-inbox-notify-filter--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.admin-inbox-notify-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.admin-inbox-notify-list li + li {
  margin-top: 0.35rem;
}

.admin-inbox-notify-list--feed {
  list-style: none;
  padding-left: 0;
  max-height: min(22rem, 52vh);
  overflow-y: auto;
}

.admin-inbox-notify-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.45rem 0.35rem;
  margin: 0 -0.15rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  border: 1px solid transparent;
  transition:
    background 0.12s ease,
    border-color 0.12s ease;
}

.admin-inbox-notify-item:hover,
.admin-inbox-notify-item:focus-visible {
  outline: none;
  background: rgba(234, 88, 12, 0.06);
  border-color: rgba(234, 88, 12, 0.2);
}

.admin-inbox-notify-item.nav-notify-item--member:hover,
.admin-inbox-notify-item.nav-notify-item--member:focus-visible {
  background: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.45);
}

.admin-inbox-notify-item.nav-notify-item--admin:hover,
.admin-inbox-notify-item.nav-notify-item--admin:focus-visible {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-color: rgba(5, 150, 105, 0.45);
}

.admin-inbox-notify-item--unread .admin-inbox-notify-item__main {
  font-weight: 700;
  color: var(--ink, #1c1917);
}

.admin-inbox-notify-item__main {
  font-size: 0.88rem;
  line-height: 1.4;
}

.admin-inbox-notify-item__time {
  font-size: 0.72rem;
  color: var(--muted, #78716c);
}

.admin-inbox-notify-popover__footer {
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border);
}

.admin-inbox-notify-popover__footer--actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-inbox-notify-popover__footer--actions .notify-panel-btn {
  width: 100%;
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-weight: 600;
  line-height: 1.25;
}

.notify-panel-btn--mark-read {
  background: #ecfdf3;
  color: #027a48;
  border-color: #6ce9a6;
}

.notify-panel-btn--mark-read:hover,
.notify-panel-btn--mark-read:focus-visible {
  background: #d1fadf;
  border-color: #32d583;
  color: #05603a;
  outline: none;
}

.notify-panel-btn--delete-all {
  background: #fef3f2;
  color: #b42318;
  border-color: #fecdca;
}

.notify-panel-btn--delete-all:hover,
.notify-panel-btn--delete-all:focus-visible {
  background: #fee4e2;
  border-color: #fda29b;
  color: #912018;
  outline: none;
}

.nav-notify-delete-all-btn {
  margin-left: 0;
}

.nav-notify-item-wrap {
  position: relative;
}

.nav-notify-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
}

.nav-notify-item__delete {
  flex-shrink: 0;
  margin: 0;
  padding: 0.1rem 0.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.45;
  border-radius: 4px;
  transition: opacity 0.12s ease, background 0.12s ease;
}

.nav-notify-item-wrap:hover .nav-notify-item__delete,
.nav-notify-item__delete:focus-visible {
  opacity: 1;
}

.nav-notify-item__delete:hover,
.nav-notify-item__delete:focus-visible {
  outline: none;
  background: rgba(220, 38, 38, 0.1);
}

.nav-notify-item__select-wrap {
  display: none;
}

.admin-inbox-notify-empty {
  list-style: none;
  margin-left: -1.15rem;
  padding-left: 0;
  font-weight: 500;
  color: var(--muted);
}

.admin-inbox-notify-popover__hint {
  margin: 0.55rem 0 0 !important;
  font-size: 0.78rem !important;
}

.thread-bubble--member-unread,
.thread-bubble--admin-unread {
  border-color: rgba(234, 88, 12, 0.78) !important;
  animation: thread-unread-glow 2s ease-in-out 3;
}

.account-inbox-compose {
  margin-top: 0;
  padding-top: 0.5rem;
  border-top: none;
}

.account-inbox--v2 {
  padding: 0.85rem 1rem 1rem;
}

.admin-member-inbox--v2 {
  padding: 0.85rem 1rem 1rem;
}

.admin-support-layout {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.admin-support-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.admin-support-picker__label {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
}

.admin-support-picker__select {
  flex: 1;
  min-width: min(100%, 14rem);
  max-width: 100%;
  font: inherit;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.admin-support-chat {
  min-height: min(62vh, 480px);
}

.support-chat-header__member {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.admin-thread-log.support-thread-log {
  flex: 1;
}

.peer-msg-bubble__admin-meta {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.peer-msg-bubble__admin-meta .thread-bubble__deleted-meta {
  font-size: inherit;
  color: inherit;
}

.peer-msg-menu__pop .peer-float-pop__item--danger {
  color: #b91c1c;
}

.admin-inbox-compose.peer-compose--v2 {
  margin-top: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.support-chat {
  display: flex;
  flex-direction: column;
  min-height: min(68vh, 520px);
}

.support-chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.35rem;
}

.support-chat-header__icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-chat-header__img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.support-chat-header__online {
  position: absolute;
  right: 0.1rem;
  bottom: 0.1rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.support-chat-header__info {
  flex: 1;
  min-width: 0;
}

.support-chat-header__info h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.support-chat-header__status {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
}

.support-thread-log {
  flex: 1;
  border: none;
  background: transparent;
  margin: 0;
}

.peer-msg-bubble--support-in {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.28);
  border-bottom-left-radius: 4px;
}

.peer-msg-bubble--support-out {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.14), rgba(234, 88, 12, 0.08));
  border-color: rgba(234, 88, 12, 0.28);
  border-bottom-right-radius: 4px;
}

@keyframes thread-unread-glow {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.22);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.38);
  }
}

.thread-bubble__new {
  color: #c2410c;
  font-weight: 700;
  font-size: 0.78rem;
}

.admin-panel-stack {
  margin-top: 0.25rem;
}

.admin-panel-placeholder {
  margin-top: 0.25rem;
}

.admin-panel-placeholder__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.admin-quick-hint {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.admin-quick-hint:empty {
  display: none;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.admin-vitrin-banner {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--secondary);
  background: linear-gradient(135deg, rgba(254, 243, 231, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(230, 126, 34, 0.35);
  border-radius: var(--radius);
}

.admin-vitrin-banner strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.admin-vitrin-banner--dashboard {
  margin-bottom: 1rem;
}

.admin-vitrin-banner .admin-vitrin-banner__badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent-hover);
  background: rgba(230, 126, 34, 0.14);
  border-radius: 999px;
}

.admin-list__vitrin-tag {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9a3412;
  background: rgba(230, 126, 34, 0.12);
  border-radius: 999px;
}

.admin-dashboard .panel[id^="admin-section-"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.admin-dashboard .panel[id^="admin-section-"]:focus:not(:focus-visible) {
  outline: none;
}

.admin-site-panel {
  margin-top: 1.5rem;
}

.admin-site-panel .field textarea {
  min-height: 3.5rem;
}

.admin-event-cover-preview-box img,
.admin-event-cover-preview-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 12rem;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: #f3f1ee;
}

.admin-event-cover-preview-box--has .admin-event-cover-empty {
  display: none;
}

.admin-event-cover-field > label[for="coverImage"] {
  display: block;
  font-weight: 600;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.95rem;
}

.admin-event-cover-field > input#coverImage {
  width: 100%;
}

.admin-product-image-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.admin-product-image-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.admin-product-image-preview-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
}

.admin-product-image-preview-box {
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.admin-product-carousel {
  width: 100%;
  height: 100%;
  min-height: 100px;
  border-radius: inherit;
}

.admin-product-carousel .carousel__viewport {
  height: 100%;
  min-height: 100px;
}

.admin-product-carousel .carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.admin-product-gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  text-align: center;
  box-sizing: border-box;
}

.admin-product-gallery-empty-logo {
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
}

.admin-product-gallery-empty-caption {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
}

.admin-product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.admin-product-gallery-thumbs--has {
  max-width: min(28rem, 100%);
}

.admin-product-gallery-thumb-chip {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.admin-product-gallery-thumb-chip img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.admin-product-gallery-thumb-num {
  font-size: 0.72rem;
  color: var(--muted);
  min-width: 2.75rem;
  text-align: center;
}

.admin-product-image-preview {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.admin-product-image-empty {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.admin-product-image-actions {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.admin-product-image-hint {
  margin: 0.35rem 0 0;
  max-width: 32rem;
}

.admin-product-image-url-details {
  width: 100%;
  max-width: 28rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.admin-product-image-url-details summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.admin-product-image-url-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.35rem;
}

.admin-product-image-url-row input[type="text"] {
  flex: 1;
  min-width: 12rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.9rem;
}

.admin-audit-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.admin-audit-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 1rem;
}

.admin-audit-toolbar__row--actions {
  align-items: center;
  justify-content: space-between;
}

.admin-audit-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 9rem;
}

.admin-audit-field--search {
  flex: 1 1 14rem;
  min-width: min(100%, 14rem);
}

.admin-audit-field label {
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0;
}

.admin-audit-filter,
.admin-audit-search,
.admin-audit-date {
  min-width: 9rem;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.95rem;
}

.admin-audit-filter--user {
  min-width: 12rem;
  max-width: 18rem;
}

.admin-audit-search {
  width: 100%;
}

.admin-audit-count {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.admin-audit-export {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-audit-toolbar-hint {
  font-size: 0.82rem;
  color: var(--muted);
  align-self: center;
}

.admin-audit-truncate-note {
  margin: 0 0 0.65rem;
}

@media (min-width: 640px) {
  .admin-audit-toolbar-hint {
    flex: 1 1 auto;
  }
}

.admin-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .admin-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.admin-training-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.admin-training-form-grid__full {
  grid-column: 1 / -1;
}

.admin-training-form-grid .req {
  color: var(--accent);
  font-weight: 700;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.panel h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 1rem;
}

.login-box {
  max-width: 400px;
  margin: 2rem auto;
}

.admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.admin-list li:last-child {
  border-bottom: none;
}

.admin-list--events li {
  flex-wrap: wrap;
}

.admin-list--events > li.admin-event-list-item {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.admin-event-list-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
}

.admin-event-list-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.admin-event-list-item__actions {
  width: 100%;
  flex-shrink: 1;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.15rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--border, #e2e8f0);
}

#admin-list-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.admin-list--events {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 639px) {
  .admin-event-list-item__actions .btn-tiny,
  .admin-er-event-card__actions .btn-tiny,
  .admin-er-event-card__actions .btn {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex-shrink: 1;
  max-width: 100%;
}

.admin-list-actions .btn-tiny {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .admin-event-list-item__actions .btn-tiny,
  .admin-er-event-card__actions .btn-tiny {
    flex: 0 1 auto;
    white-space: nowrap;
  }
}

.btn-tiny {
  font-size: 0.78rem;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary.btn-tiny {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary.btn-tiny:hover {
  background: var(--accent-hover);
  color: #fff;
  border-color: var(--accent-hover);
}

.btn-tiny:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-tiny--accent {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-tiny--danger {
  border-color: #b91c1c;
  color: #b91c1c;
}

.admin-session-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-session-bar p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.admin-session-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}

.table-scroll-x-wrap {
  width: 100%;
  max-width: 100%;
}

.table-scroll-x-top {
  overflow-x: auto;
  overflow-y: hidden;
  height: 14px;
  margin: 0 0 0.35rem;
  border-radius: 8px;
  background: rgba(248, 245, 242, 0.95);
}

.table-scroll-x-top::-webkit-scrollbar {
  height: 10px;
}

.table-scroll-x-top::-webkit-scrollbar-thumb {
  background: rgba(230, 126, 34, 0.5);
  border-radius: 999px;
}

.table-scroll-x-top::-webkit-scrollbar-track {
  background: transparent;
}

.table-scroll-x-body {
  overflow-x: auto;
  max-width: 100%;
}

.table-scroll-x-spacer {
  height: 1px;
  pointer-events: none;
}

.admin-table--members {
  min-width: 1080px;
}

.admin-participants-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1rem;
}

.admin-participant-select-all-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-participant-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.admin-participant-select-all__input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex: 0 0 auto;
}

.admin-participant-select-all__meta {
  margin: 0;
  font-weight: 500;
}

.admin-participant-search-field {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: text;
}

.admin-participant-search-field:hover {
  border-color: #e8d5c4;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.admin-participant-search-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 4px 16px rgba(230, 126, 34, 0.14);
}

.admin-participant-search-field__icon {
  display: inline-flex;
  color: #94a3b8;
  flex: 0 0 auto;
}

.admin-participant-search-field:focus-within .admin-participant-search-field__icon {
  color: var(--accent);
}

.admin-participant-search {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  padding: 0;
}

.admin-participant-search-meta {
  margin: 0;
}

.admin-participants-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-participants-bulk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border: 1px dashed rgba(230, 126, 34, 0.35);
  border-radius: 10px;
  background: rgba(254, 245, 237, 0.55);
}

.admin-participants-bulk[hidden] {
  display: none !important;
}

.admin-participants-bulk__count {
  font-weight: 600;
  font-size: 0.86rem;
  margin-right: 0.25rem;
}

.admin-participants-bulk .btn-tiny:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-table--participants .admin-participant-check {
  width: 2.25rem;
  text-align: center;
}

.admin-participant-actions {
  white-space: nowrap;
}

.admin-participant-act {
  margin: 0 0.1rem;
}

.admin-wa-template-menu {
  position: absolute;
  z-index: 1200;
  min-width: 11rem;
  padding: 0.35rem 0;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d8dee9);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
}

.admin-wa-template-menu__item {
  display: block;
  width: 100%;
  padding: 0.45rem 0.75rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.84rem;
  color: inherit;
  cursor: pointer;
}

.admin-wa-template-menu__item:hover,
.admin-wa-template-menu__item:focus-visible {
  background: rgba(37, 99, 235, 0.08);
}

.admin-wa-template-menu__item.is-current {
  font-weight: 600;
  color: var(--primary, #1d4ed8);
}

.admin-participant-cards {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.admin-participant-card {
  border: 1px solid var(--border, #d8dee9);
  border-radius: 10px;
  background: var(--surface, #fff);
  overflow: hidden;
}

.admin-participant-card.is-selected {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.admin-participant-card__summary {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem 0.65rem;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  min-height: 2.75rem;
}

.admin-participant-card__summary:hover {
  background: rgba(37, 99, 235, 0.04);
}

.admin-participant-card__check {
  flex-shrink: 0;
  margin: 0.15rem 0 0;
}

.admin-participant-card__summary-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.admin-participant-card__identity {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 10rem;
}

.admin-participant-card__summary-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  word-break: break-word;
}

.admin-participant-card__summary-city {
  font-size: 0.82rem;
  color: var(--text-muted, #64748b);
  line-height: 1.3;
}

.admin-participant-card__summary-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.admin-participant-card__summary-due {
  flex: 0 1 6.5rem;
  font-size: 0.78rem;
  color: var(--text-muted, #64748b);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-participant-card__summary-badges {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-participant-card__toggle {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  border-radius: 6px;
}

.admin-participant-card__toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.admin-participant-card__details {
  padding: 0.65rem 0.85rem 0.85rem;
  border-top: 1px solid var(--border, #e2e8f0);
  background: rgba(15, 23, 42, 0.02);
  display: block;
}

.admin-participant-card__details[hidden] {
  display: none !important;
}

.admin-participant-card__detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.4rem 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.84rem;
}

.admin-participant-card__detail-sections {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.admin-participant-card__section {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.admin-participant-card__section-title {
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.admin-participant-card__section-rows {
  padding: 0.45rem 0.65rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-participant-card__section-rows .admin-participant-card__detail-row {
  display: grid;
  grid-template-columns: minmax(8.5rem, 38%) 1fr;
  gap: 0.35rem 0.65rem;
  align-items: start;
}

.admin-participant-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-participant-pill--checkin-ok {
  color: #15803d;
}

.admin-participant-pill--checkin-pending {
  color: #a16207;
}

.admin-participant-card__detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.admin-participant-card__detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
}

.admin-participant-card__detail-value {
  word-break: break-word;
}

.admin-participant-card__detail-value a {
  color: var(--primary, #1d4ed8);
}

.admin-participant-card__quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--border, #e2e8f0);
}

.admin-partner-app-firm-preview {
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(230, 126, 34, 0.28);
  border-radius: 10px;
  background: rgba(254, 245, 237, 0.45);
}

.admin-partner-app-firm-preview h4 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.admin-partner-app-firm-preview__grid {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

@media (min-width: 720px) {
  .admin-partner-app-firm-preview__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-partner-app-firm-preview__row {
  display: grid;
  gap: 0.15rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.admin-partner-app-firm-preview__label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted, #64748b);
}

.admin-partner-app-firm-preview__value {
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
  white-space: pre-wrap;
}

.admin-member-inline-panel {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border, #e2e8f0);
}

.admin-member-cards .admin-member-card {
  margin-bottom: 0;
}

.admin-participant-badge--compact {
  font-size: 0.7rem;
  padding: 0.12rem 0.4rem;
}

.admin-participant-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.admin-participant-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.admin-participant-card__event {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted, #64748b);
}

.admin-participant-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.86rem;
}

.admin-participant-card__line {
  display: block;
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

.admin-participant-card__line:hover {
  color: var(--primary, #1d4ed8);
}

.admin-participant-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-participant-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.admin-participant-badge--yellow {
  background: #fef9c3;
  color: #854d0e;
}

.admin-participant-badge--blue {
  background: #dbeafe;
  color: #1e40af;
}

.admin-participant-badge--green {
  background: #dcfce7;
  color: #166534;
}

.admin-participant-badge--red {
  background: #fee2e2;
  color: #991b1b;
}

.admin-participant-badge--free {
  background: #e0f2fe;
  color: #0369a1;
}

.admin-participant-badge--muted {
  background: #f1f5f9;
  color: #475569;
}

.admin-participant-card__free-note {
  margin: 0;
  font-size: 0.8rem;
}

.admin-participant-card__controls {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.84rem;
}

.admin-participant-card__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-participant-card__field > span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
}

.admin-participant-card__field select {
  width: 100%;
  max-width: 100%;
}

.admin-participant-card__date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
}

.admin-participant-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-participant-card__btn {
  flex: 0 1 auto;
}

@media (max-width: 720px) {
  .admin-participant-card__summary {
    align-items: flex-start;
  }

  .admin-participant-card__summary-main {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-participant-card__summary-status {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }

  .admin-participant-card__section-rows .admin-participant-card__detail-row {
    grid-template-columns: 1fr;
  }

  .admin-participant-card__summary-badges {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .admin-participant-card__btn {
    min-width: calc(50% - 0.35rem);
  }
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.admin-table th,
.admin-table td {
  border: 1px solid var(--border);
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--accent-soft);
  font-weight: 600;
}

.admin-er-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.65rem;
  margin: 0.75rem 0 1rem;
}

.admin-er-stat {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
  background: var(--surface, #fff);
}

.admin-er-stat strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.2;
}

.admin-er-stat span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted, #666);
  margin-top: 0.15rem;
}

.admin-er-stat--applied {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.08);
}

.admin-er-stat--applied strong {
  color: #a16207;
}

.admin-er-stat--payment-pending {
  border-color: #fb923c;
  background: rgba(251, 146, 60, 0.08);
}

.admin-er-stat--payment-pending strong {
  color: #c2410c;
}

.admin-er-stat--payment-confirmed {
  border-color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
}

.admin-er-stat--payment-confirmed strong {
  color: #15803d;
}

.admin-er-stat--free {
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.08);
}

.admin-er-stat--free strong {
  color: #1d4ed8;
}

.admin-er-stat--cancelled {
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

.admin-er-stat--cancelled strong {
  color: #b91c1c;
}

.admin-er-stat--checked-in strong,
.admin-er-stat--qr-created strong {
  color: var(--text, #1c1917);
}

.admin-participant-ticket-link {
  word-break: break-all;
  margin: 0.35rem 0 0.5rem;
}

.admin-participant-checkin-log {
  margin: 0.35rem 0 0;
}

.admin-er-toolbar {
  margin: 0 0 0.65rem;
}

.admin-er-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.75rem;
}

.admin-er-event-card {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem;
  background: var(--surface, #fff);
}

.admin-er-event-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.admin-er-event-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
  max-width: 100%;
}

.admin-er-event-card__actions .btn-tiny,
.admin-er-event-card__actions .btn {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .admin-er-event-card__actions .btn-tiny,
  .admin-er-event-card__actions .btn {
    flex: 0 1 auto;
    white-space: nowrap;
  }
}

.admin-er-status-select {
  font-size: 0.82rem;
  max-width: 11rem;
}

.admin-event-manage__head h2 {
  margin: 0 0 0.35rem;
}

.admin-event-manage__section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.admin-event-manage__section h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.admin-event-manage__facts {
  display: grid;
  grid-template-columns: minmax(8rem, auto) 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
}

.admin-event-manage__facts dt {
  font-weight: 600;
  color: var(--muted, #666);
}

.admin-event-manage__facts dd {
  margin: 0;
}

.admin-event-manage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
}

.admin-event-manage__field-wide {
  grid-column: 1 / -1;
}

.admin-event-manage__section--edit .admin-event-manage__edit-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.admin-event-manage__section--edit .admin-event-manage__edit-form .btn-primary {
  margin-top: 0.75rem;
}

.admin-er-email-status {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.admin-er-email-status--ok {
  color: #0d6832;
  background: rgba(13, 104, 50, 0.1);
}

.admin-er-email-status--fail {
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
}

.admin-event-email-log-section--global {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border, #e5e7eb);
}

.admin-table--manage {
  min-width: 960px;
}

.admin-list-actions .btn-tiny {
  margin-bottom: 0.15rem;
}

.admin-event-participants {
  grid-column: 1 / -1;
}

/* Sepet: .admin-table genel kurallarından sonra — Birim / Adet / Ara toplam / Çıkar ortalı */
.admin-table.cart-table th,
.admin-table.cart-table td {
  vertical-align: middle;
}

.admin-table.cart-table th:first-child,
.admin-table.cart-table td.cart-cell-product {
  text-align: left;
}

.admin-table.cart-table th:not(:first-child),
.admin-table.cart-table td:not(:first-child) {
  text-align: center;
}

.admin-table.cart-table .cart-qty {
  display: block;
  margin-inline: auto;
}

.admin-table.cart-table .cart-remove {
  display: inline-block;
  vertical-align: middle;
}

.admin-table--audit td:nth-child(4),
.admin-table--audit td:nth-child(5) {
  max-width: 200px;
  word-break: break-word;
}

.hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Placeholder sayfalar */
.simple-page {
  padding: 2.5rem 0 4rem;
  max-width: 640px;
}

.simple-page h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.simple-page p {
  color: var(--muted);
}

.simple-page .content-section {
  margin-top: 1.5rem;
}

.simple-page .content-section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.55rem;
}

.simple-page .content-section ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.simple-page .content-section li + li {
  margin-top: 0.35rem;
}

.simple-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.community-page {
  max-width: 760px;
  text-align: center;
}

.community-photo-slot {
  margin: 1.5rem auto 2rem;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.community-photo-slot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.community-page .content-section ul {
  padding-left: 0;
  list-style-position: inside;
}

.community-page .simple-page-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: none;
  box-shadow: none;
  background: linear-gradient(180deg, #243447 0%, #1a2634 100%);
  color: #cbd5e1;
  font-size: 0.92rem;
  text-align: left;
}

.site-footer::before,
.site-footer::after {
  display: none;
  content: none;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: #fdba74;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  padding: 3rem 0 2.25rem;
}

.site-footer__brand {
  max-width: 22rem;
}

.site-footer__logo {
  display: inline-flex;
  margin-bottom: 1rem;
  line-height: 0;
}

.site-footer__logo img {
  height: clamp(2rem, 4vw, 2.6rem);
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer__tagline {
  margin: 0 0 1.25rem;
  line-height: 1.55;
  color: #94a3b8;
  font-size: 0.94rem;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 0.85rem;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__list li + li {
  margin-top: 0.45rem;
}

.site-footer__list a {
  font-size: 0.9rem;
}

.site-footer__list--contact li {
  color: #94a3b8;
  line-height: 1.5;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition),
    border-color var(--transition);
}

.site-footer__social-link svg {
  width: 1.2rem;
  height: 1.2rem;
}

.site-footer__social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0 1.35rem;
  background: rgba(0, 0, 0, 0.15);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.5rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.86rem;
  color: #94a3b8;
}

.site-footer__bottom-links {
  margin: 0;
  font-size: 0.86rem;
  color: #94a3b8;
}

.site-footer__bottom-links a {
  color: #cbd5e1;
}

@media (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
    padding: 2.5rem 0 2rem;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 575px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0 1.75rem;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__social-link {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/* Yasal sayfalar */
.legal-page {
  padding: 2rem 0 3rem;
  max-width: 720px;
  margin-inline: auto;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.legal-page__meta {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.legal-page .legal-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.55;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
  color: var(--secondary);
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.15rem 0 0.45rem;
  color: var(--ink);
}

.legal-page p,
.legal-page li {
  color: var(--ink);
  line-height: 1.6;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.legal-page__hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.75rem 0;
}

.layout-footer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.layout-footer main {
  flex: 1;
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

/* ——— Ekibimiz (koyu kartlar, hiyerarşik ızgara) ——— */
.team-page {
  background: linear-gradient(180deg, #0c0a09 0%, #1c1917 42%, #0c0a09 100%);
  color: #e7e5e4;
  padding: 2.25rem 0 3.5rem;
  flex: 1;
}

.team-page a {
  color: #fdba74;
}

.team-page a:hover {
  color: #fed7aa;
}

.team-page-inner {
  max-width: 1100px;
}

.team-page-head h1 {
  font-family: var(--font-display);
  text-align: center;
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  color: #fff;
  letter-spacing: -0.02em;
}

.team-page-lead {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2.25rem;
  color: #a8a29e;
  font-size: 0.95rem;
  line-height: 1.65;
}

.team-page-lead code {
  font-size: 0.82em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  color: #e7e5e4;
}

.team-section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: 1.2rem;
  margin: 2.25rem 0 1rem;
  color: #f5f5f4;
  font-weight: 600;
}

.team-group-photo {
  margin: 0 0 2.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.team-group-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(62vh, 520px);
  object-fit: cover;
  object-position: center;
}

.team-group-photo__caption {
  margin: 0;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fdba74;
  background: rgba(0, 0, 0, 0.35);
}

.team-board {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-tier {
  display: grid;
  gap: 1.5rem 1.25rem;
  justify-items: center;
  align-items: start;
}

.team-tier--president {
  grid-template-columns: 1fr;
}

.team-tier--president .team-card {
  max-width: 280px;
}

/* Başkanın altı: üst satır 3 (sekreterlik çekirdek), alt satır 2 (tercümanlar) */
.team-tier.team-tier--core3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.25rem;
  justify-items: center;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .team-tier.team-tier--core3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-tier.team-tier--core2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem 1.25rem;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.team-tier.team-tier--core3 .team-card,
.team-tier.team-tier--core2 .team-card {
  max-width: 228px;
  width: 100%;
}

.team-tier--branches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 920px) {
  .team-tier--branches {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
}

.team-branch {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 1.35rem 1rem 1.5rem;
}

.team-branch__leader {
  margin-bottom: 1rem;
}

.team-branch__acting {
  text-align: center;
  margin-bottom: 1rem;
  padding: 0 0.35rem;
  max-width: 228px;
  margin-left: auto;
  margin-right: auto;
}

.team-branch__acting-label {
  margin: 0 0 0.7rem;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #78716c;
  font-weight: 600;
}

.team-branch__acting-head {
  margin-bottom: 0.85rem;
}

.team-branch__acting-name {
  margin: 0 0 0.25rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.team-branch__acting-title {
  margin: 0;
  font-size: 0.72rem;
  color: #a8a29e;
  line-height: 1.35;
}

.team-branch__acting-note {
  margin: 0 auto;
  max-width: 19.5rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #78716c;
  text-wrap: balance;
}

.team-branch__staff-label {
  text-align: center;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #78716c;
  margin: 0 0 0.85rem;
  font-weight: 600;
}

.team-branch__staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  justify-items: center;
}

@media (min-width: 400px) {
  .team-branch__staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-card {
  text-align: center;
  width: 100%;
  max-width: 228px;
  margin: 0 auto;
}

.team-card--compact {
  max-width: 118px;
}

.team-card__frame {
  background: #000;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-bottom: 0.8rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  isolation: isolate;
  transform: translateZ(0);
}

.team-card--compact .team-card__frame {
  border-radius: 14px;
  margin-bottom: 0.45rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.team-card__frame .team-card__photo-link,
.team-card__frame > .team-card__photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.team-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(168deg, #52525b 0%, #27272a 45%, #18181b 100%);
}

.team-card__logo-badge {
  width: 44%;
  max-width: 92px;
  border-radius: 50%;
  opacity: 0.92;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
}

.team-card--compact .team-card__logo-badge {
  width: 50%;
  max-width: 56px;
}

.team-card__name {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.team-card--compact .team-card__name {
  font-size: 0.72rem;
}

.team-card__role {
  margin: 0;
  font-size: 0.72rem;
  color: #a8a29e;
  line-height: 1.35;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-card__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-muted, rgba(255, 255, 255, 0.72));
  font-weight: 500;
}
.team-card--compact .team-card__subtitle {
  font-size: 0.72rem;
}
.team-detail__subtitle {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  color: var(--text-muted, #666);
  font-weight: 500;
}
.team-card--compact .team-card__role {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.team-page-footnote {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.84rem;
  color: #78716c;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.team-page-footnote code {
  font-size: 0.82em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: #a8a29e;
}

/* —— Facebook tarzı alt hızlı mesaj çubuğu (son sürüm) —— */
.tid-has-chat-dock .site-footer {
  padding-bottom: 0.5rem;
}

.tid-chat-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 9500;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 10px;
  padding: 0 12px 12px;
  max-width: 100vw;
  pointer-events: none;
}

.tid-chat-dock__panels {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  pointer-events: auto;
}

.chat-dock-panel {
  width: min(328px, calc(100vw - 24px));
  background: #1c1917;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-dock-panel:not(.chat-dock-panel--steady) {
  animation: chat-dock-rise 0.28s ease-out;
}

.chat-dock-panel--steady {
  animation: none;
}

@keyframes chat-dock-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-dock-panel--flash .chat-dock-panel__head {
  animation: chat-dock-pulse 0.55s ease-in-out 2;
}

@keyframes chat-dock-pulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(234, 88, 12, 0);
  }
  50% {
    box-shadow: inset 0 0 0 2px rgba(234, 88, 12, 0.55);
  }
}

.chat-dock-panel--min {
  width: min(260px, calc(100vw - 24px));
  border-radius: 10px 10px 0 0;
}

.chat-dock-panel__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #292524 0%, #1c1917 100%);
  cursor: pointer;
  user-select: none;
  min-height: 48px;
}

.chat-dock-panel__head--unread {
  border-left: 3px solid #ea580c;
}

.chat-dock-panel--support .chat-dock-panel__head {
  background: linear-gradient(180deg, #431407 0%, #1c1917 100%);
}

.chat-dock-panel__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.chat-dock-panel__avatar--init {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ea580c, #c2410c);
}

.chat-dock-panel__avatar--support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  background: #ea580c;
}

.chat-dock-panel__support-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: visible;
  background: linear-gradient(145deg, #f39c12, #d35400);
  border: 1px solid rgba(192, 57, 43, 0.4);
}

.chat-dock-panel__avatar--support-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: none;
  background: transparent;
  border-radius: 10px;
  box-shadow: none;
}

.chat-dock-panel__support-online {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  z-index: 2;
}

.chat-dock-panel--support .chat-dock-panel__avatar--support {
  display: none;
}

.chat-dock-panel__title {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-dock-panel__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fafaf9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-dock-panel__badge {
  flex-shrink: 0;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 5px;
  border-radius: 999px;
  background: #ea580c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-dock-panel__actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.chat-dock-panel__open,
.chat-dock-panel__btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #d6d3d1;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.chat-dock-panel__open:hover,
.chat-dock-panel__btn:hover {
  background: rgba(234, 88, 12, 0.25);
  color: #fff;
}

.chat-dock-panel__btn--close:hover {
  background: rgba(239, 68, 68, 0.35);
}

.chat-dock-panel__body {
  display: flex;
  flex-direction: column;
  max-height: min(380px, 52vh);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-dock-panel__log {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  max-height: min(280px, 40vh);
  background: #0c0a09;
  scrollbar-color: #57534e #1c1917;
}

.chat-dock-panel__log .thread-bubble {
  max-width: 92%;
  border-width: 1px;
  border-style: solid;
  color: #fafaf9;
  background: #292524;
  border-color: rgba(255, 255, 255, 0.14);
}

.chat-dock-panel__log .thread-bubble__head {
  color: #a8a29e;
  font-size: 0.72rem;
}

.chat-dock-panel__log .thread-bubble__head strong {
  color: #e7e5e4;
}

.chat-dock-panel__log .thread-bubble__body {
  color: #fafaf9;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-dock-panel__log .thread-bubble--peer-in {
  align-self: flex-start;
  background: #1a2e1f;
  border-color: rgba(74, 222, 128, 0.45);
}

.chat-dock-panel__log .thread-bubble--peer-in .thread-bubble__body {
  color: #ecfdf5;
}

.chat-dock-panel__log .thread-bubble--peer-out {
  align-self: flex-end;
  background: #3d2814;
  border-color: rgba(251, 146, 60, 0.55);
}

.chat-dock-panel__log .thread-bubble--peer-out .thread-bubble__body {
  color: #fff7ed;
}

.chat-dock-panel__log .thread-bubble--peer-unread {
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.35);
}

.chat-dock-panel__log .thread-bubble--admin {
  align-self: flex-start;
  background: #172554;
  border-color: rgba(96, 165, 250, 0.5);
}

.chat-dock-panel__log .thread-bubble--admin .thread-bubble__body {
  color: #eff6ff;
}

.chat-dock-panel__log .thread-bubble--member {
  align-self: flex-end;
  background: #3d2814;
  border-color: rgba(251, 146, 60, 0.45);
}

.chat-dock-panel__log .thread-bubble__new {
  color: #fb923c;
  font-weight: 700;
}

.chat-dock-empty {
  margin: 0;
  font-size: 0.82rem;
  text-align: center;
  color: #a8a29e;
}

.chat-dock-panel__compose {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 8px 10px 10px;
  background: #0c0a09;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-dock-panel__input {
  flex: 1;
  min-height: 38px;
  max-height: 96px;
  resize: vertical;
  border-radius: 18px;
  padding: 8px 12px;
  font-size: 0.86rem;
  line-height: 1.35;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #292524;
  color: #fafaf9;
  scrollbar-color: #57534e #292524;
}

.chat-dock-panel__input:focus {
  outline: none;
  border-color: rgba(234, 88, 12, 0.55);
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.15);
}

.chat-dock-panel__input--error {
  border-color: #ef4444;
}

.chat-dock-panel__send {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 0.82rem;
  border-radius: 18px;
}

@media (max-width: 767px) {
  .tid-chat-dock {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .tid-chat-dock {
    padding: 0 6px 8px;
  }

  .tid-chat-dock__panels {
    gap: 6px;
  }

  .chat-dock-panel,
  .chat-dock-panel--min {
    width: min(300px, calc(100vw - 12px));
  }
}

.peer-msg-toast {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 10050;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: min(340px, calc(100vw - 2rem));
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.28);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.16),
    0 2px 8px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

body.tid-has-chat-dock .peer-msg-toast {
  bottom: 5.5rem;
}

.peer-msg-toast--show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.peer-msg-toast__btn {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.peer-msg-toast__btn:hover,
.peer-msg-toast__btn:focus-visible {
  outline: none;
}

.peer-msg-toast__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.15rem;
}

.peer-msg-toast__name {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.peer-msg-toast__preview {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #475569;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.peer-msg-toast__close {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.peer-msg-toast__close:hover,
.peer-msg-toast__close:focus-visible {
  background: #e2e8f0;
  color: #334155;
}

@media (max-width: 767px) {
  .peer-msg-toast {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
  }
}

.tid-live-toast {
  position: fixed;
  left: auto;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 10040;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0;
  border: none;
  background: transparent;
  pointer-events: none;
}

.tid-live-toast:not([hidden]) {
  position: fixed;
}

.tid-live-toast--show {
  pointer-events: auto;
  animation: chat-dock-rise 0.28s ease-out;
}

.tid-live-toast__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  padding: 0.75rem 2.35rem 0.75rem 0.85rem;
  border: 1px solid rgba(234, 88, 12, 0.35);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.tid-live-toast__btn:hover,
.tid-live-toast__btn:focus-visible {
  background: #fffaf5;
  outline: none;
}

.tid-live-toast__icon {
  font-size: 1rem;
  line-height: 1;
}

.tid-live-toast__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1c1917;
}

.tid-live-toast__preview {
  font-size: 0.8rem;
  color: #57534e;
  line-height: 1.35;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tid-live-toast__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  border: none;
  background: transparent;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: #78716c;
}

.tid-live-toast__close:hover,
.tid-live-toast__close:focus-visible {
  background: #f5f5f4;
  outline: none;
}

@media (max-width: 767px) {
  .tid-live-toast {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 1rem;
    max-width: none;
  }
}

/* —— Hesabım: modern community dashboard —— */
.account-member-shell--modern {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.account-member-shell--modern > header {
  display: none;
}

.dash-hero {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #fef8f3 55%, #f8f5f2 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.dash-hero__avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.12);
}

.dash-hero__avatar--init {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #e67e22, #d35400);
}

.dash-hero__body {
  flex: 1;
  min-width: 0;
}

.dash-hero__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-hero__title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--secondary);
  line-height: 1.2;
}

.dash-hero__meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.dash-hero__link {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.dash-stat-card {
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.dash-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.dash-stat-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.dash-stat-card__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.dash-section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--secondary);
}

.dash-quick {
  margin: 0;
}

.dash-quick__track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.15rem 0.1rem 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.dash-quick-card {
  flex: 0 0 auto;
  min-width: 7.25rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.dash-quick-card:hover {
  border-color: rgba(230, 126, 34, 0.45);
  background: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.dash-quick-card--active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.2);
}

.dash-quick-card--video {
  border-color: rgba(234, 88, 12, 0.45);
  background: linear-gradient(145deg, #fff8f0 0%, #fef3e8 100%);
}

.dash-quick-card--video:hover {
  border-color: #ea580c;
  background: linear-gradient(145deg, #fef3e8 0%, #fdebd0 100%);
}

.dash-quick-card--video .dash-quick-card__icon {
  background: rgba(234, 88, 12, 0.12);
  color: #ea580c;
}

.dash-quick-card--video .dash-quick-card__label {
  font-weight: 700;
}

.dash-quick-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.dash-quick-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.dash-quick-card__label {
  text-align: center;
  line-height: 1.25;
}

.dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dash-panel {
  padding: 1.1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.dash-activity-list,
.dash-event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash-activity-item,
.dash-event-item {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.dash-activity-item:last-child,
.dash-event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dash-activity-item__title,
.dash-event-item__title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.dash-activity-item__title:hover,
.dash-event-item__title:hover {
  color: var(--accent);
}

.dash-activity-item__meta,
.dash-event-item__meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.dash-activity-item--unread .dash-activity-item__title {
  color: var(--accent);
}

.dash-event-item__badge {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.dash-empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.dash-quick-hint {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 1.2em;
}

.account-member-shell--modern .admin-panel-stack {
  margin-top: 0.25rem;
}

.account-member-shell--modern .admin-panel-stack .panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 720px) {
  .dash-quick__track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }

  .dash-quick-card {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .dash-hero {
    flex-wrap: wrap;
    padding: 1.1rem;
  }

  .dash-hero__link {
    width: 100%;
    text-align: center;
    margin-top: 0.25rem;
  }

  .dash-stats {
    grid-template-columns: 1fr;
  }

  .dash-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-mobile.is-open {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* —— WebRTC görüntülü görüşme (Messenger tarzı) —— */
.webrtc-call-dialog {
  border: none;
  padding: 0;
  max-width: min(96vw, 720px);
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
}
.webrtc-call-dialog::backdrop {
  background: rgba(15, 23, 42, 0.72);
}
.webrtc-call-dialog__inner {
  display: flex;
  flex-direction: column;
  background: #0f172a;
  color: #f8fafc;
  min-height: min(88vh, 640px);
}
.webrtc-call-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.webrtc-call-dialog__head h2 {
  margin: 0;
  font-size: 1rem;
}
.webrtc-call-dialog__lead {
  margin: 0.25rem 0 0;
  color: #94a3b8;
}
.webrtc-call-dialog__x {
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.webrtc-call-dialog__stage {
  position: relative;
  flex: 1;
  min-height: 320px;
  background: #020617;
}
.webrtc-call-dialog__remote {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  background: #111;
}
.webrtc-call-dialog__local {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: min(28vw, 120px);
  max-width: 120px;
  aspect-ratio: 3 / 4;
  max-height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  z-index: 2;
  background: #1e293b;
}
.webrtc-call-dialog__local.is-draggable {
  touch-action: none;
  cursor: grab;
}
.webrtc-call-dialog__waiting {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: rgba(2, 6, 23, 0.55);
  z-index: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  text-align: center;
}
.webrtc-call-join-btn {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translateX(-50%);
  z-index: 4;
  font-size: 1rem;
  padding: 0.65rem 1.25rem;
  min-width: 10rem;
}
.webrtc-call-dialog__jitsi {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #0f172a;
}
.peer-video-dialog.jitsi-active .webrtc-call-dialog__local,
.peer-video-dialog.jitsi-active .webrtc-call-dialog__remote {
  visibility: hidden;
  pointer-events: none;
}
.webrtc-call-media-status {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #94a3b8;
}
.webrtc-call-media-status__line {
  display: block;
}
.webrtc-call-quality {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}
.webrtc-call-quality__badge {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.webrtc-call-quality__badge--good {
  background: rgba(20, 83, 45, 0.88);
  border-color: rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}
.webrtc-call-quality__badge--medium {
  background: rgba(120, 53, 15, 0.88);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fde68a;
}
.webrtc-call-quality__badge--poor {
  background: rgba(127, 29, 29, 0.88);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fecaca;
}
.webrtc-call-quality__badge--wait {
  background: rgba(15, 23, 42, 0.82);
  color: #94a3b8;
}
.webrtc-call-quality__warn {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  background: rgba(120, 53, 15, 0.92);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fde68a;
  max-width: 100%;
}
.webrtc-call-quality__stats {
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.45;
  font-family: ui-monospace, monospace;
  background: rgba(2, 6, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  max-width: 100%;
}
.webrtc-call-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem 1rem;
  background: rgba(15, 23, 42, 0.98);
}
.webrtc-call-toolbar__btn {
  min-width: 3rem;
  min-height: 3rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.webrtc-call-toolbar__btn.is-muted {
  background: rgba(239, 68, 68, 0.35);
}
.webrtc-call-toolbar__btn--end {
  background: #dc2626;
  min-width: 3.25rem;
}
.webrtc-call-diag {
  padding: 0.5rem 1rem 0;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.webrtc-call-diag__toggle {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}
.webrtc-call-diag__panel {
  margin-top: 0.5rem;
  padding: 0.65rem;
  background: rgba(2, 6, 23, 0.65);
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.45;
  max-height: 280px;
  overflow: auto;
}
.webrtc-call-diag__network {
  margin-bottom: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.85);
}
.webrtc-call-diag__network--warn {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(120, 53, 15, 0.35);
  color: #fde68a;
}
.webrtc-call-diag__network--err {
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}
.webrtc-call-diag__network--ok {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(20, 83, 45, 0.35);
  color: #bbf7d0;
}
.webrtc-call-diag__network-line {
  white-space: pre-wrap;
}
.webrtc-call-diag__line {
  margin: 0.15rem 0;
  color: #cbd5e1;
}
.webrtc-call-diag__stage {
  display: block;
  margin-top: 0.35rem;
  color: #94a3b8;
  font-size: 0.75rem;
}
.webrtc-call-diag__log {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: #94a3b8;
  max-height: 120px;
  overflow: auto;
}
.webrtc-call-diag__log-err {
  color: #fca5a5;
}
.webrtc-call-diag__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.webrtc-call-diag__dev {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
@media (max-width: 640px) {
  .webrtc-call-dialog__local {
    width: 88px;
    max-width: 88px;
    max-height: 118px;
    right: 8px;
    bottom: 8px;
  }
  .webrtc-call-dialog__stage {
    min-height: 50vh;
  }
  .peer-video-dialog.jitsi-active .webrtc-call-dialog__jitsi {
    min-height: 52vh;
  }
  .peer-video-dialog .webrtc-call-toolbar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }
  .webrtc-call-toolbar__btn {
    min-width: 2.75rem;
    min-height: 2.75rem;
    font-size: 1.05rem;
  }
  #tid-peer-video-flip-cam {
    order: 10;
    margin: 0.15rem auto 0;
    min-width: 3rem;
    min-height: 3rem;
    font-size: 1.25rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* —— Canlı destek: görüntülü görüşme —— */
.support-video-dialog {
  width: min(96vw, 920px);
  max-width: 96vw;
  max-height: 92vh;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(44, 62, 80, 0.28);
  background: #fff;
}

.support-video-dialog::backdrop {
  background: rgba(44, 62, 80, 0.55);
}

.support-video-dialog__inner {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
}

.support-video-dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem 0.65rem;
  border-bottom: 1px solid rgba(230, 126, 34, 0.18);
  background: linear-gradient(180deg, #fef8f3 0%, #fff 100%);
}

.support-video-dialog__head h2 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--secondary);
}

.support-video-dialog__lead {
  margin: 0;
  font-size: 0.88rem;
}

.support-video-dialog__x {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: rgba(44, 62, 80, 0.08);
  color: var(--secondary);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.support-video-dialog__x:hover {
  background: rgba(230, 126, 34, 0.15);
}

.support-video-dialog__prejoin {
  padding: 1rem 1.15rem 1.15rem;
}

.support-video-dialog__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.85rem 0 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  cursor: pointer;
}

.support-video-dialog__consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.support-video-dialog__prejoin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.support-video-dialog__mount {
  min-height: min(68vh, 520px);
  height: min(68vh, 520px);
  background: #1c1917;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.support-video-dialog__mount:empty {
  min-height: 0;
  height: auto;
}

.support-video-dialog__loading {
  padding: 2rem 1.15rem;
  text-align: center;
}

.video-call-preview-wrap {
  padding: 0.75rem 1rem 0.5rem;
  background: #1c1917;
}

.video-call-preview {
  display: block;
  width: 100%;
  max-height: min(42vh, 280px);
  object-fit: cover;
  border-radius: var(--radius-md, 8px);
  background: #0c0a09;
  transform: scaleX(-1);
}

.video-call-preview__label {
  margin: 0.5rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.peer-video-dialog .video-call-preview-wrap + .support-video-dialog__mount {
  border-radius: 0;
}

@media (max-width: 767px) {
  .support-video-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .support-video-dialog__inner {
    max-height: 100dvh;
  }

  .support-video-dialog__mount {
    min-height: min(55dvh, 480px);
    height: min(55dvh, 480px);
    border-radius: 0;
  }

  .admin-inbox-compose__actions .support-video-btn {
    width: 100%;
    justify-content: center;
  }

  .admin-video-call-alert {
    font-size: 0.88rem;
  }
}

.support-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.support-video-btn__icon {
  font-size: 1.05em;
  line-height: 1;
}

.support-video-btn--pending {
  border-color: var(--accent);
  background: var(--accent-soft);
  animation: nav-live-support-alert-ring 2.2s ease-in-out infinite;
}

.admin-video-call-alert {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: #9a3412;
  font-size: 0.92rem;
}

.admin-video-requests {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface, #fff);
}

.admin-video-requests__title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.admin-video-requests__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.admin-video-requests__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-video-requests__item {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
}

.admin-video-requests__open {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm, 6px);
  background: var(--bg, #fafaf9);
  cursor: pointer;
  text-align: left;
}

.admin-video-requests__open:hover,
.admin-video-requests__open:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft, rgba(249, 115, 22, 0.08));
}

.admin-video-requests__name {
  font-weight: 600;
  font-size: 0.9rem;
}

.admin-video-requests__meta {
  font-size: 0.78rem;
  color: var(--muted, #78716c);
}

.admin-video-requests__delete {
  align-self: center;
  flex-shrink: 0;
}

.admin-video-requests__empty {
  margin: 0;
}

.admin-inbox-notify-item__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  flex-shrink: 0;
}

.admin-inbox-notify-list--feed .admin-inbox-notify-item {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}

.admin-inbox-notify-list--feed .admin-inbox-notify-item__main {
  flex: 1;
  min-width: 0;
}

.peer-video-call-card--admin {
  position: relative;
}

.peer-video-call-card--admin .peer-msg-menu {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 2;
}

.account-inbox-compose__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.chat-dock-panel__video {
  font-size: 0.82rem;
  padding: 0.2rem 0.45rem;
  min-width: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(234, 88, 12, 0.35);
  color: #fff;
  cursor: pointer;
}

.chat-dock-panel__video:hover {
  background: rgba(234, 88, 12, 0.55);
}

@media (max-width: 640px) {
  .support-video-dialog__mount {
    min-height: 58vh;
    height: 58vh;
  }
}

/* Sepet — üst bar ikonu + ekleme modalı */
.nav-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  margin-left: auto;
  margin-right: 0.35rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.2s ease;
}

.nav-cart-btn:hover,
.nav-cart-btn:focus-visible {
  outline: none;
  border-color: rgba(234, 88, 12, 0.55);
  color: #c2410c;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.18);
}

.nav-cart-btn--has-items {
  border-color: rgba(234, 88, 12, 0.45);
}

.nav-cart-btn__disc {
  display: flex;
  line-height: 0;
  pointer-events: none;
}

.nav-cart-btn--mobile {
  width: auto;
  min-height: 2.75rem;
  padding: 0.55rem 0.85rem;
  margin: 0 0 0.5rem;
  gap: 0.5rem;
}

.nav-cart-btn--mobile::after {
  content: "Sepet";
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-mobile .nav-cart-btn--mobile .nav-cart-badge {
  position: static;
  margin-left: 0.35rem;
}

body.cart-modal-open,
body.event-join-modal-open {
  overflow: hidden;
}

.event-join-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.event-join-modal[hidden] {
  display: none !important;
}

.event-join-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.event-join-modal__panel {
  position: relative;
  width: min(100%, 26rem);
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.event-join-modal__icon {
  font-size: 2.25rem;
  line-height: 1;
  margin: 0 0 0.65rem;
}

.event-join-modal__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.event-join-modal__body {
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.event-join-modal__body p {
  margin: 0 0 0.65rem;
}

.event-join-modal__sign {
  margin-top: 0.85rem !important;
  font-weight: 600;
  color: var(--ink);
}

.event-join-modal__actions {
  margin-top: 1.15rem;
}

.event-join-modal__actions .btn {
  min-width: 8rem;
}

.detail-join-status {
  cursor: default;
  pointer-events: none;
  white-space: nowrap;
}

.detail-join-applied {
  border-left: 4px solid rgba(22, 101, 52, 0.45);
}

.detail-join-applied--pending {
  border-left-color: rgba(180, 83, 9, 0.45);
}

.detail-join-applied--completed {
  border-left-color: rgba(22, 163, 74, 0.65);
}

.detail-join-status--completed {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #15803d !important;
  font-weight: 600;
}

.detail-join-status__icon {
  color: #16a34a;
  font-size: 1.1rem;
  line-height: 1;
}

.detail-join-status--payment-pending {
  color: #c2410c;
}

.detail-join-status.detail-join-status--completed {
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
}

.btn.detail-join-status--completed {
  background: rgba(22, 163, 74, 0.12);
  border-color: rgba(22, 163, 74, 0.35);
  color: #15803d;
  font-weight: 600;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.cart-modal[hidden] {
  display: none !important;
}

.cart-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.cart-modal__panel {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.cart-modal__close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0.45rem;
}

.cart-modal__check {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  line-height: 1;
  color: #16a34a;
}

.cart-modal__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.cart-modal__detail {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.cart-modal__qty {
  color: var(--ink);
  font-weight: 600;
}

.cart-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cart-modal__actions .btn {
  width: 100%;
  justify-content: center;
}

/* —— Anasayfa içerik yönetimi (admin) —— */
.admin-home-content .hc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1rem 0 1.25rem;
}
.hc-tab {
  border: 1px solid var(--border, #ddd);
  background: var(--surface, #fff);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.875rem;
  cursor: pointer;
}
.hc-tab--active {
  background: var(--accent, #1a5fb4);
  color: #fff;
  border-color: transparent;
}
.hc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.hc-toolbar h3 {
  margin: 0;
}
.hc-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}
.hc-sortable {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hc-sort-item {
  display: grid;
  grid-template-columns: auto 72px 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  background: var(--surface, #fff);
}
.hc-sort-item--dragging {
  opacity: 0.55;
}
.hc-drag {
  cursor: grab;
  font-size: 1.1rem;
  line-height: 1;
  padding-top: 0.35rem;
  color: var(--muted, #888);
}
.hc-sort-thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  background: #f3f4f6;
}
.hc-sort-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hc-sort-body .field {
  margin-bottom: 0.5rem;
}
.hc-sort-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}
.hc-active {
  font-size: 0.8125rem;
  white-space: nowrap;
}
.hc-featured {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
}
.hc-danger {
  color: #b42318;
}
.hc-msg--err {
  color: #b42318;
}
.hc-sort-empty {
  padding: 1rem;
  color: var(--muted, #666);
}

.hc-mp4-field .hc-mp4-hint {
  display: block;
  margin-top: 0.35rem;
}
.hc-mp4-upload-status {
  margin: 0.45rem 0 0;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
}
.hc-mp4-upload-status--loading {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}
.hc-mp4-upload-status--success {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #6ce9a6;
}
.hc-mp4-upload-status--error {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}
.hc-media-type {
  margin: 0.75rem 0 0.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.hc-media-type legend {
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0 0.25rem;
}
.hc-media-type__choice {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 1rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.hc-media-panel {
  margin-top: 0.35rem;
}
.carousel__slide--has-video {
  position: relative;
}
.carousel__hero-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}
.carousel__hero-play:hover,
.carousel__hero-play:focus-visible {
  background: rgba(196, 92, 62, 0.92);
  outline: none;
}
.carousel--hero[data-carousel-natural-height] .carousel__slide--has-video img,
.carousel--hero[data-carousel-natural-height] .carousel__video-poster {
  width: 100%;
  height: auto;
  min-width: 0;
  max-height: min(72vh, 560px);
  object-fit: contain;
  object-position: center;
  display: block;
}
.carousel__slide--video .carousel__video-hit {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.carousel__video-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.carousel__video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.25rem;
  pointer-events: none;
}
.home-gallery-item--video {
  position: relative;
}
.home-gallery-video-hit {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.home-gallery-video-hit img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.home-gallery-video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  pointer-events: none;
}
.home-sponsor-video {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.home-sponsor-video__logo {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
}
.home-sponsor-video__play {
  position: absolute;
  right: -0.35rem;
  bottom: -0.35rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: none;
  background: var(--accent, #c45c3e);
  color: #fff;
  font-size: 0.65rem;
  cursor: pointer;
  line-height: 1;
}
.hc-compose {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  border: 2px solid var(--accent, #1a5fb4);
  border-radius: 12px;
  background: var(--accent-soft, #eef4fc);
}
.hc-compose--highlight {
  box-shadow: 0 0 0 4px rgba(26, 95, 180, 0.18);
}
.hc-compose__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.hc-compose__body .field {
  margin-bottom: 0.65rem;
}
.hc-compose__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.hc-bulk {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: rgba(248, 245, 242, 0.65);
}

.hc-bulk-toolbar {
  margin-bottom: 0.65rem;
}

.hc-bulk-dropzone {
  padding: 1rem;
  border: 2px dashed rgba(44, 62, 80, 0.22);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.hc-bulk-dropzone:hover,
.hc-bulk-dropzone:focus-visible {
  border-color: var(--accent);
  background: rgba(230, 126, 34, 0.06);
  outline: none;
}

.hc-bulk-dropzone--over {
  border-color: var(--accent);
  background: rgba(230, 126, 34, 0.1);
}

.hc-bulk-dropzone--busy {
  opacity: 0.65;
  pointer-events: none;
}

.hc-bulk-dropzone__title {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--ink);
}

.hc-bulk-progress {
  margin-top: 0.75rem;
}

.hc-bulk-progress__label {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.hc-bulk-progress__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(44, 62, 80, 0.12);
  overflow: hidden;
}

.hc-bulk-progress__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #f97316);
  transition: width 0.2s ease;
}

.hc-bulk-progress__pct {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.hc-bulk-errors {
  margin-top: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.88rem;
}

.hc-bulk-errors ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.hc-bulk-errors li {
  margin: 0.2rem 0;
}

.admin-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.admin-list-toolbar h2 {
  margin: 0;
}
.admin-form-panel--highlight {
  box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.22);
  transition: box-shadow 0.25s ease;
}

@media (max-width: 720px) {
  .hc-sort-item {
    grid-template-columns: auto 1fr;
  }
  .hc-sort-thumb {
    grid-column: 2;
  }
  .hc-sort-body {
    grid-column: 1 / -1;
  }
  .hc-sort-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* —— Anasayfa promo / sponsor alanları —— */
.home-promo-section,
.home-gallery-section,
.home-sponsors-section,
.home-supporters-section {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}
.home-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.home-promo-card {
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface, #fff);
  display: flex;
  flex-direction: column;
}
.home-promo-card__thumb {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #f3f4f6;
}
.home-promo-card h3 {
  margin: 0.75rem 1rem 0.35rem;
  font-size: 1.05rem;
}
.home-promo-card p {
  margin: 0 1rem 0.75rem;
  font-size: 0.9rem;
  color: var(--muted, #555);
  flex: 1;
}
.home-promo-card__missing {
  margin: 0 1rem 1rem !important;
  font-size: 0.85rem !important;
  color: var(--muted, #78716c);
}
.home-promo-card .home-promo-play {
  margin: 0 1rem 1rem;
  align-self: flex-start;
}
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.home-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.home-gallery-item figcaption {
  font-size: 0.8125rem;
  margin-top: 0.35rem;
  color: var(--muted, #555);
}
.home-sponsors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}
.home-sponsor img {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
}
.home-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-video-modal[hidden] {
  display: none !important;
}
.home-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.home-video-modal__dialog {
  position: relative;
  width: min(960px, 94vw);
  z-index: 1;
}
.home-video-modal__close {
  position: absolute;
  top: -2.25rem;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}
.home-video-modal__iframe,
.home-video-modal__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
  background: #000;
}
.carousel__desc,
.carousel__slide-desc {
  display: block;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  opacity: 0.9;
}

/* —— Engelsiz Çeviri / İşaret Dili Asistanı —— */
.tid-sign-lang-toggle {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 9400;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.65rem 0.4rem 0.45rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 4px 18px rgba(15, 23, 42, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.tid-sign-lang-toggle:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 26px rgba(15, 23, 42, 0.14),
    0 2px 6px rgba(15, 23, 42, 0.08);
  border-color: rgba(234, 88, 12, 0.22);
}
.tid-sign-lang-toggle:focus-visible {
  outline: 2px solid #ea580c;
  outline-offset: 2px;
}
.tid-sign-lang-toggle--on {
  border-color: rgba(22, 163, 74, 0.28);
  box-shadow:
    0 4px 18px rgba(22, 163, 74, 0.18),
    0 1px 3px rgba(15, 23, 42, 0.06);
}
.tid-sign-lang-toggle--on:hover {
  border-color: rgba(22, 163, 74, 0.4);
  box-shadow:
    0 8px 26px rgba(22, 163, 74, 0.22),
    0 2px 6px rgba(15, 23, 42, 0.08);
}
.tid-sign-lang-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f5f5f4, #e7e5e4);
  color: #78716c;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.tid-sign-lang-toggle--on .tid-sign-lang-toggle__icon {
  background: linear-gradient(145deg, #4ade80, #16a34a);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.tid-sign-lang-toggle__body {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.tid-sign-lang-toggle__label {
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #1f2937;
}
.tid-sign-lang-toggle__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 3.6rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  background: #f5f5f4;
  color: #78716c;
  border: 1px solid #e7e5e4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.tid-sign-lang-toggle--on .tid-sign-lang-toggle__badge {
  background: linear-gradient(145deg, #dcfce7, #bbf7d0);
  color: #15803d;
  border-color: #86efac;
}
.tid-sign-lang-notice {
  position: fixed;
  left: 12px;
  bottom: 68px;
  z-index: 9410;
  max-width: min(340px, calc(100vw - 24px));
  padding: 0.75rem 1rem;
  background: #fff;
  border: 2px solid #16a34a;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #1f2937;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.tid-sign-lang-notice--visible {
  opacity: 1;
  transform: translateY(0);
}
.tid-sign-lang-notice--hide {
  opacity: 0;
  transform: translateY(4px);
}
.tid-sign-lang-notice p {
  margin: 0;
}
.tid-sign-lang-notice strong {
  color: #15803d;
}
.tid-sign-lang-active .tid-sign-lang-tap-pending {
  outline: 2px solid #16a34a !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.28);
}
.tid-sign-lang-tap-hint {
  position: fixed;
  z-index: 10160;
  padding: 0.5rem 0.7rem;
  background: #fff;
  border: 2px solid #16a34a;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  font-size: 0.75rem;
  line-height: 1.4;
  color: #1f2937;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tid-sign-lang-tap-hint p {
  margin: 0;
}
.tid-sign-lang-tap-hint--visible {
  opacity: 1;
  transform: translateY(0);
}
.tid-sign-lang-tap-hint--hide {
  opacity: 0;
  transform: translateY(4px);
}
.tid-sign-lang-tap-hint--above {
  transform: translateY(-4px);
}
.tid-sign-lang-tap-hint--above.tid-sign-lang-tap-hint--visible {
  transform: translateY(0);
}
.tid-sign-lang-tap-hint--above.tid-sign-lang-tap-hint--hide {
  transform: translateY(-4px);
}
.tid-sign-lang-avatar {
  position: fixed;
  left: auto;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 9390;
  width: min(200px, 42vw);
  max-width: 44vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
  pointer-events: none;
}
.tid-sign-lang-avatar--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 10150;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
body:not(.tid-sign-lang-active) .tid-sign-lang-avatar,
body:not(.tid-sign-lang-active) .tid-sign-lang-avatar__video,
body:not(.tid-sign-lang-active) .tid-sign-lang-avatar__iframe {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body:not(.tid-sign-lang-active) .tid-sign-lang-avatar__video,
body:not(.tid-sign-lang-active) .tid-sign-lang-avatar__iframe {
  display: none !important;
}
.tid-sign-lang-avatar--spotlight .tid-sign-lang-avatar__frame {
  animation: tid-sign-lang-avatar-pulse 0.85s ease 3;
}
@keyframes tid-sign-lang-avatar-pulse {
  0%,
  100% {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(22, 163, 74, 0.55),
      0 16px 48px rgba(0, 0, 0, 0.42);
  }
}
.tid-sign-lang-avatar__frame {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #1c1917;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  aspect-ratio: 1 / 1;
}
.tid-sign-lang-avatar__idle {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem;
  text-align: center;
  background: linear-gradient(160deg, #292524 0%, #1c1917 55%, #0c0a09 100%);
  color: #e7e5e4;
  pointer-events: none;
}
.tid-sign-lang-avatar__idle[hidden] {
  display: none !important;
}
.tid-sign-lang-avatar__idle-icon {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.tid-sign-lang-avatar__idle-text {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  color: #d6d3d1;
}
.tid-sign-lang-avatar__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #111;
  border: none;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.tid-sign-lang-avatar--fit-cover .tid-sign-lang-avatar__video {
  object-fit: cover;
}
.tid-sign-lang-avatar__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #111;
  border: none;
  z-index: 2;
}
.tid-sign-lang-avatar--fit-contain .tid-sign-lang-avatar__iframe {
  inset: auto;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  transform: translateY(-50%);
}
.tid-sign-lang-avatar--fit-cover .tid-sign-lang-avatar__iframe {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  aspect-ratio: auto;
}
.tid-sign-lang-avatar--youtube .tid-sign-lang-avatar__video {
  display: none;
}
.tid-sign-lang-avatar--playing .tid-sign-lang-avatar__idle {
  display: none !important;
  visibility: hidden !important;
}
.tid-sign-lang-avatar--playing .tid-sign-lang-avatar__video {
  z-index: 10;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
.tid-sign-lang-avatar__iframe[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.tid-sign-lang-avatar__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 1.1rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
.tid-sign-lang-avatar__title,
.tid-sign-lang-avatar__label {
  margin: 0.35rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1c1917;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
}
.tid-sign-lang-avatar__desc {
  margin: 0.2rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #44403c;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  padding: 0.2rem 0.45rem;
}
.tid-sign-lang-avatar__fit {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.35rem;
  pointer-events: auto;
}
.tid-sign-lang-avatar__fit-btn {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.28rem 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #44403c;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tid-sign-lang-avatar__fit-btn:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
}
.tid-sign-lang-avatar__fit-btn.is-active {
  background: #15803d;
  color: #fff;
  border-color: #15803d;
}
.tid-sign-lang-avatar__fit-btn:focus-visible {
  outline: 2px solid #15803d;
  outline-offset: 2px;
}
/* Engelsiz Çeviri — custom select (native option hover desteklenmez) */
.tid-sl-select {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}
.tid-sl-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.tid-sl-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #1e293b);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.membership-input-wrap .tid-sl-select__trigger {
  padding-left: 2.65rem;
  padding-right: 2.25rem;
}
.tid-sl-select__trigger:hover,
.tid-sl-select.is-open .tid-sl-select__trigger {
  border-color: var(--accent, #e67e22);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}
.tid-sl-select__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tid-sl-select__chev {
  flex-shrink: 0;
  font-size: 0.65rem;
  opacity: 0.65;
  line-height: 1;
}
.tid-sl-select__list {
  position: absolute;
  z-index: 9500;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 16rem;
  overflow: auto;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
  pointer-events: auto;
}
.tid-sl-select__list--portal {
  position: fixed;
  right: auto;
  top: auto;
}
.tid-sl-select__option {
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.35;
}
.tid-sl-select__option:hover,
.tid-sl-select__option:focus {
  background: rgba(37, 99, 235, 0.08);
  outline: none;
}
.tid-sl-select__option.is-selected {
  font-weight: 600;
  color: var(--accent, #e67e22);
}
.tid-sl-select__option--placeholder {
  color: #64748b;
}
.tid-sign-lang-active .tid-chat-dock {
  bottom: 56px;
}
.tid-has-chat-dock.tid-sign-lang-active .site-footer {
  padding-bottom: 3.5rem;
}
.admin-sign-language .asl-compose {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}
.admin-sign-language .asl-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
}
.admin-sign-language .asl-trigger-fieldset {
  margin: 0.75rem 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}
.admin-sign-language .asl-trigger-opt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 1rem;
  font-size: 0.875rem;
}
.admin-sign-language .asl-form-actions {
  margin-top: 0.5rem;
}
.admin-sign-language .asl-sel {
  font-size: 0.75rem;
}
.admin-sign-language .asl-trigger-cell {
  font-size: 0.8125rem;
}
.admin-sign-language .asl-current-media-panel {
  margin: 0.75rem 0;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
}
.admin-sign-language .asl-current-media__title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 700;
}
.admin-sign-language .asl-current-media__preview {
  margin-bottom: 0.65rem;
}
.admin-sign-language .asl-media-preview--youtube {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.admin-sign-language .asl-media-preview--youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.admin-sign-language .asl-media-preview--file {
  max-width: 420px;
}
.admin-sign-language .asl-media-meta {
  margin: 0.45rem 0 0;
  font-size: 0.8125rem;
  word-break: break-all;
}
.admin-sign-language .asl-media-empty {
  margin: 0;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.12);
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 600;
}
.admin-sign-language .asl-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.admin-sign-language .asl-edit-hint {
  margin: 0 0 0.75rem;
  color: #1d4ed8;
}
.admin-sign-language .asl-source-fieldset {
  margin: 0.75rem 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}
.admin-sign-language .asl-src-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}
.admin-sign-language .asl-preview-vid--lg {
  width: 100%;
  max-width: 480px;
  max-height: 270px;
  border-radius: 10px;
  background: #111;
  object-fit: contain;
  object-position: center center;
}
.admin-sign-language .asl-preview-embed {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.admin-sign-language .asl-preview-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.asl-preview-dialog {
  border: none;
  border-radius: 14px;
  padding: 0;
  max-width: min(92vw, 520px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.asl-preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}
.asl-preview-dialog__inner {
  padding: 1rem 1rem 1.1rem;
}
.asl-preview-dialog__close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #444;
}
.admin-sign-language .asl-preview-cell {
  min-width: 140px;
}
.admin-sign-language .asl-preview-vid {
  width: 120px;
  max-height: 90px;
  border-radius: 8px;
  background: #111;
  object-fit: contain;
  object-position: center center;
}
.admin-sign-language .asl-actions {
  white-space: nowrap;
}
.admin-sign-language .asl-inventory-panel {
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.admin-sign-language .asl-inventory-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.admin-sign-language .asl-inventory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.admin-sign-language .asl-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8125rem;
}
.admin-sign-language .asl-filter-field select {
  min-width: 10rem;
  max-width: 18rem;
}
.admin-sign-language .asl-filter-check {
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
}
.admin-sign-language .asl-inventory-scroll {
  max-height: min(52vh, 520px);
}
.admin-sign-language .asl-yes-badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 600;
}
.admin-sign-language .asl-no-badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.75rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .tid-sign-lang-toggle {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    padding: 0.38rem 0.55rem 0.38rem 0.4rem;
    gap: 0.5rem;
    max-width: calc(100vw - 20px);
  }
  .tid-sign-lang-toggle:hover {
    transform: translateX(-50%) translateY(-2px);
  }
  .tid-sign-lang-toggle__body {
    gap: 0.45rem;
  }
  .tid-sign-lang-toggle__label {
    font-size: 0.75rem;
  }
  .tid-sign-lang-toggle__badge {
    min-width: 3.25rem;
    padding: 0.24rem 0.45rem;
    font-size: 0.5625rem;
  }
  .tid-sign-lang-toggle__icon {
    width: 1.75rem;
    height: 1.75rem;
  }
  .tid-sign-lang-toggle__icon svg {
    width: 17px;
    height: 17px;
  }
  .tid-sign-lang-notice {
    left: 50%;
    bottom: 62px;
    transform: translateX(-50%) translateY(8px);
  }
  .tid-sign-lang-notice--visible {
    transform: translateX(-50%) translateY(0);
  }
  .tid-sign-lang-notice--hide {
    transform: translateX(-50%) translateY(4px);
  }
  .tid-sign-lang-tap-hint {
    font-size: 0.7rem;
    padding: 0.45rem 0.6rem;
  }
  .tid-sign-lang-avatar {
    left: auto;
    right: max(12px, env(safe-area-inset-right, 0px));
    margin-left: 0;
    bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    width: min(180px, 56vw);
  }
  body.tid-sign-lang-active {
    padding-bottom: 52px;
  }
}

/* Admin üye profil düzenleme modalı */
body.admin-profile-modal-open {
  overflow: hidden;
}
.admin-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.admin-profile-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.admin-profile-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(92vh, 1100px);
  background: var(--surface, #fff);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.admin-profile-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.admin-profile-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
}
.admin-profile-modal__close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}
.admin-profile-modal__body {
  padding: 1rem 1.25rem;
  overflow: auto;
  flex: 1;
}
.admin-profile-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}
.admin-profile-msg {
  flex: 1 1 100%;
  margin: 0 0 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
}
.admin-profile-msg.success {
  background: #dcfce7;
  color: #166534;
}
.admin-profile-msg.error {
  background: #fef2f2;
  color: #991b1b;
}
.admin-profile-cover-wrap {
  display: grid;
  gap: 0.65rem;
}
.admin-profile-modal--cover-pos .admin-profile-cover {
  outline: 2px solid var(--accent, #ea580c);
  outline-offset: 2px;
}
.admin-profile-cover-pos-panel {
  padding: 0.75rem;
  border: 1px solid rgba(234, 88, 12, 0.35);
  border-radius: 10px;
  background: rgba(255, 247, 237, 0.65);
}
.admin-profile-cover-pos-hint {
  margin: 0 0 0.5rem;
}
.admin-profile-cover-pos-preview {
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  cursor: grab;
  touch-action: none;
}
.admin-profile-cover-pos-preview:active {
  cursor: grabbing;
}
.admin-profile-cover-pos-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}
.admin-profile-cover-pos-slider {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.admin-profile-cover-pos-slider input {
  width: 100%;
  margin-top: 0.35rem;
}
.admin-profile-cover-pos-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
.admin-profile-toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(12px);
  z-index: 12200;
  max-width: min(92vw, 420px);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.admin-profile-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.admin-profile-toast--ok {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}
.admin-profile-toast--err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.admin-profile-hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-profile-cover {
  position: relative;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(120deg, #fb923c, #c2410c);
}
.admin-profile-cover--empty {
  background: linear-gradient(120deg, #94a3b8, #475569);
}
.admin-profile-cover__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-profile-cover__actions {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.admin-profile-avatar-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-profile-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-profile-avatar-wrap.is-has-photo {
  background: #1e293b;
}
.admin-profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-profile-avatar-init {
  font-size: 1.25rem;
  font-weight: 700;
  color: #475569;
}
.admin-profile-avatar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.admin-profile-section {
  margin-top: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.admin-profile-section h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.admin-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem 1rem;
}
.admin-profile-check-grid,
.admin-profile-vis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.35rem 0.75rem;
}
.admin-profile-check,
.admin-profile-vis-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}
.admin-table--members .admin-member-actions {
  white-space: nowrap;
}
.admin-table--members .admin-member-actions .btn-tiny {
  margin: 0 0.15rem 0.15rem 0;
}
@media (max-width: 640px) {
  .admin-profile-modal__panel {
    max-height: 100vh;
    border-radius: 0;
  }
  .admin-profile-modal {
    padding: 0;
  }
}

/* —— Çoklu medya: admin + etkinlik detay sekmeleri —— */
.admin-entity-media {
  margin-top: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  background: var(--surface-2, #f8fafc);
}
.admin-entity-media h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.admin-entity-media__hint {
  margin: 0 0 0.75rem;
}
.admin-entity-media__warn {
  color: #b45309;
}
.admin-entity-media__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.admin-entity-media__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem;
}
.admin-entity-media__item {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  padding: 0.5rem;
  cursor: grab;
}
.admin-entity-media__item.is-cover {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35);
}
.admin-entity-media__item.is-dragging {
  opacity: 0.55;
}
.admin-entity-media__item.is-drag-over {
  outline: 2px dashed #3b82f6;
}
.admin-entity-media__preview {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}
.admin-entity-media__thumb-img,
.admin-entity-media__thumb-vid {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-entity-media__cover-badge {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  font-size: 0.7rem;
  background: rgba(245, 158, 11, 0.92);
  color: #111;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}
.admin-entity-media__type-badge {
  position: absolute;
  bottom: 0.35rem;
  right: 0.35rem;
  font-size: 0.68rem;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
}
.admin-entity-media__name {
  margin: 0.4rem 0 0.35rem;
  font-size: 0.78rem;
  line-height: 1.25;
  word-break: break-word;
}
.admin-entity-media__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.admin-entity-media-field {
  margin-top: 0.25rem;
}

.detail-media-tabs {
  margin-bottom: 1.25rem;
}
.detail-media-tabs__nav {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid var(--border, #e2e8f0);
  padding-bottom: 0.35rem;
}
.detail-media-tabs__tab {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  cursor: pointer;
}
.detail-media-tabs__tab.is-active {
  background: var(--primary, #0f766e);
  color: #fff;
}
.detail-media-tabs__panel[hidden] {
  display: none !important;
}
.academy-detail-gallery {
  margin: 0 0 1rem;
}

/* —— Ekibimiz: yönetilebilir kart ızgarası + detay —— */
.team-tier--grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  justify-items: stretch;
  width: 100%;
}
.team-card--link {
  height: 100%;
}
.team-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.team-card__link:hover .team-card__name {
  color: #fdba74;
}
.team-card__bio {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #a8a29e;
  flex: 1;
}
.team-card__more {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #fdba74;
  display: inline-block;
  text-decoration: none;
}
.team-card--linked {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.team-card__profile-hit {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  transition: transform 0.15s ease;
}
.team-card__profile-hit:hover {
  transform: scale(1.02);
}
.team-card__profile-hit:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: 3px;
}
.team-card__name-link {
  text-decoration: none;
  color: inherit;
}
.team-card__name-link:hover .team-card__name {
  color: #fdba74;
}
.team-card__more--profile {
  font-weight: 600;
}
.team-card__more--team {
  margin-left: 0.35rem;
  opacity: 0.85;
}
.team-card__frame .team-card__photo-link {
  text-decoration: none;
  color: inherit;
}
.team-card__photo-link {
  text-decoration: none;
  color: inherit;
  border-radius: inherit;
}
.team-card__photo-link .team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-card__photo-link:hover,
.team-card__photo-link:focus-visible {
  opacity: 0.96;
}
.team-card__photo-link:focus-visible {
  outline: 2px solid var(--accent, #2563eb);
  outline-offset: 3px;
}
.team-page-empty {
  text-align: center;
  color: #a8a29e;
}

.team-detail-page {
  padding-bottom: 2.5rem;
}
.team-detail__cover {
  margin: -1rem -1rem 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 280px;
}
.team-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-detail__head {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.team-detail__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border, #e2e8f0);
  flex-shrink: 0;
}
.team-detail__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  overflow: hidden;
}
.team-detail__avatar--placeholder img {
  width: 70%;
  height: auto;
  opacity: 0.5;
}
.team-detail__name {
  margin: 0 0 0.25rem;
}
.team-detail__role {
  margin: 0;
  font-weight: 600;
  color: var(--primary, #0f766e);
}
.team-detail__lead {
  margin: 0.5rem 0 0;
  color: var(--text-muted, #64748b);
}
.team-detail__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.team-detail__social {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-2, #f1f5f9);
  font-size: 0.85rem;
  text-decoration: none;
}
.team-detail__body {
  margin-top: 1rem;
}
.team-detail__contact {
  margin-top: 1.25rem;
}
.team-detail__profile-cta {
  margin-bottom: 1rem;
}
.team-detail__avatar-link {
  display: block;
  flex-shrink: 0;
}
.team-detail__name-link {
  text-decoration: none;
  color: inherit;
}
.team-detail__name-link:hover .team-detail__name {
  color: var(--primary, #0f766e);
}

/* Admin — Ekibimiz */
.admin-team-grid {
  align-items: start;
}
.admin-team-list__item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.admin-team-list__item.is-editing {
  background: rgba(15, 118, 110, 0.06);
}
.admin-team-list__thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: #f1f5f9;
}
.admin-team-list__meta {
  flex: 1;
  min-width: 140px;
}
.admin-team-list__meta strong {
  display: block;
}
.admin-team-list__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.admin-team-list__status {
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  background: #f1f5f9;
}
.admin-team-list__status--on {
  background: #d1fae5;
  color: #065f46;
}
.admin-team-form-section {
  padding: 0.5rem 0 0.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.admin-team-form-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.admin-team-form-section h4 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}
.admin-team-advanced summary {
  cursor: pointer;
  padding: 0.35rem 0;
}
.admin-team-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
}
.admin-team-form-grid__full {
  grid-column: 1 / -1;
}
.admin-team-photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}
.admin-team-roles {
  margin-bottom: 1rem;
}
.admin-team-roles__body {
  margin-top: 0.75rem;
}
.admin-team-roles__add {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.admin-team-form-actions {
  margin-top: 1rem;
}
.admin-team-link-field h4 {
  margin: 0 0 0.35rem;
}
.admin-team-sync-flags {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0;
}
.admin-team-sync-flag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}
.admin-team-list__linked {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}
.admin-team-profile-preview {
  margin: 0.5rem 0 0;
}
.admin-team-link-mode {
  display: grid;
  gap: 0.45rem;
  margin: 0.5rem 0;
}
.admin-team-link-mode__opt {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
}
.admin-team-photo-picker {
  position: fixed;
  inset: 0;
  z-index: 12040;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.admin-team-photo-picker[hidden] {
  display: none;
}
.admin-team-photo-picker__dialog {
  max-width: 920px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
}
.admin-team-photo-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.admin-team-photo-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.65rem;
}
.admin-team-photo-picker__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--border, #ddd);
  border-radius: 8px;
  background: var(--surface, #fff);
  cursor: pointer;
  text-align: left;
}
.admin-team-photo-picker__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: #111;
}
.admin-team-photo-picker__label {
  font-size: 0.68rem;
  line-height: 1.25;
  word-break: break-word;
}
.admin-team-photo-picker__tag {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: var(--accent, #2563eb);
  color: #fff;
  font-size: 0.62rem;
}
@media (max-width: 900px) {
  .admin-team-grid {
    grid-template-columns: 1fr;
  }
}

.tid-incoming-call-banner {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem 1rem 0;
  background: rgba(12, 18, 28, 0.45);
  pointer-events: none;
}
.tid-incoming-call-banner[hidden] {
  display: none !important;
  visibility: hidden;
  pointer-events: none !important;
}
.tid-incoming-call-banner:not([hidden]) {
  pointer-events: auto;
}
.tid-incoming-call-banner__card {
  width: min(420px, 100%);
  padding: 1rem 1.1rem;
  border-radius: var(--radius, 12px);
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d8dee8);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
}
.tid-incoming-call-banner__actions .btn {
  pointer-events: auto;
  cursor: pointer;
}
.tid-incoming-call-banner__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}
.tid-incoming-call-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Etkinlik giriş kartı (QR) */
.event-ticket-card {
  margin-top: 1.25rem;
}

.event-ticket-card__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-start;
}

.event-ticket-card__qr-wrap {
  flex: 0 0 auto;
  padding: 0.75rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.event-ticket-card__qr {
  display: block;
  width: 200px;
  height: 200px;
  max-width: 100%;
}

.event-ticket-card__meta p {
  margin: 0 0 0.75rem;
}

.event-ticket-card__status {
  margin: 0;
  font-weight: 600;
}

.event-ticket-card__status--done {
  color: #15803d;
}

.event-ticket-card__status-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.event-ticket-card__status-banner--ready {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.28);
  color: #15803d;
}

.event-ticket-card__status-dot {
  color: #16a34a;
  font-size: 1.1rem;
  line-height: 1;
}

.event-ticket-card__lead {
  margin: 0.5rem 0 1rem;
}

.event-ticket-card__eyebrow {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}

.event-ticket-card__qr-compact {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

.event-ticket-card__qr--preview {
  width: 140px;
  height: 140px;
}

.event-ticket-card__actions--compact {
  max-width: 18rem;
  margin: 0 auto;
}

.event-ticket-card__actions--compact .btn-block {
  width: 100%;
}

.event-ticket-card__meta--compact {
  margin-top: 0.75rem;
}

.event-ticket-card__details {
  margin-top: 1rem;
}

.event-ticket-card__details > summary {
  cursor: pointer;
  font-weight: 600;
}

.event-ticket-card--expired .event-ticket-card__qr-wrap,
.event-ticket-card--expired .event-ticket-card__qr-compact {
  opacity: 0.72;
}

.event-ticket-card__status-banner--expired {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.event-ticket-card__expired-note {
  margin-top: 0.5rem;
}

.admin-participant-card__summary-qr {
  flex: 0 0 auto;
}

.admin-qr-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.event-ticket-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.event-ticket-card__checked-in {
  margin: 0;
  color: #15803d;
  font-weight: 600;
}

.event-ticket-modal__name {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.event-ticket-modal__event {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--muted, #666);
}

.event-ticket-card__token-fallback code {
  font-size: 0.85rem;
  word-break: break-all;
}

/* Admin QR giriş okuyucu */
.admin-participant-card__summary-media {
  flex: 0 0 auto;
  min-width: 8.5rem;
}

.admin-media-consent {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.admin-qr-checkin-step {
  margin-top: 1rem;
}

.admin-qr-checkin-step h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.admin-qr-checkin-media-consent__choices {
  border: none;
  margin: 0.75rem 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.admin-qr-checkin-media-consent__choice {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  cursor: pointer;
}

.admin-qr-checkin-media-consent__ack {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.75rem 0;
}

.admin-qr-checkin-media-consent__status {
  margin: 0.5rem 0 0;
  font-weight: 600;
}

.member-reg-media-consent {
  margin-top: 0.85rem;
}

.member-reg-media-consent h4 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.member-reg-media-consent__choices {
  border: none;
  margin: 0.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.member-reg-media-consent__choices label {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
}

.member-reg-media-consent__ack {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin: 0.5rem 0 0.65rem;
}

.member-reg-media-consent__status {
  margin: 0.35rem 0 0.5rem;
}

.admin-qr-checkin-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-qr-checkin-modal[hidden] {
  display: none !important;
}

.admin-qr-checkin-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.45);
}

.admin-qr-checkin-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--bg-card, #fff);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.admin-qr-checkin-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.admin-qr-checkin-reader {
  width: 100%;
  min-height: 240px;
  margin: 0.75rem 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}

.admin-qr-checkin-manual__row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.admin-qr-checkin-manual__row input {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-qr-checkin-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #faf9f7;
}

.admin-qr-checkin-card--warn {
  border-color: #f59e0b;
  background: #fffbeb;
}

.admin-qr-media-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-qr-media-consent-modal[hidden] {
  display: none !important;
}

.admin-qr-media-consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.admin-qr-media-consent-modal__panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--bg-card, #fff);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.admin-qr-media-consent-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.admin-qr-media-consent-modal__channels {
  margin: 0.35rem 0 0.75rem 1.1rem;
  padding: 0;
}

.admin-qr-media-consent-modal__channels li {
  margin: 0.2rem 0;
}

.event-kvkk-consent {
  margin-top: 1.25rem;
}

.event-kvkk-consent h2 {
  margin-bottom: 0.75rem;
}

.event-kvkk-consent__ok {
  margin: 0.35rem 0 0.75rem;
  color: #15803d;
}

.event-kvkk-consent__denied {
  margin: 0.35rem 0 0.75rem;
  color: #b91c1c;
}

.event-kvkk-consent__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.25rem 1rem;
  margin: 0;
}

.event-kvkk-consent__meta dt {
  font-weight: 600;
  color: var(--muted, #64748b);
}

.event-kvkk-consent__meta dd {
  margin: 0;
}

.event-kvkk-consent__check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.75rem 0 0.35rem;
  cursor: pointer;
}

.event-kvkk-consent__check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.event-kvkk-consent__channels {
  margin: 0.35rem 0 0.75rem 1.25rem;
  padding: 0;
}

.event-kvkk-consent__channels li {
  margin: 0.15rem 0;
}

.event-kvkk-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.event-ticket-card--kvkk-pending {
  border-color: #fcd34d;
  background: #fffbeb;
}

.admin-qr-checkin-media-consent-summary .form-msg {
  margin: 0.35rem 0 0.65rem;
}

.admin-qr-checkin-card--success {
  border-color: #22c55e;
  background: #f0fdf4;
}

.admin-qr-checkin-duplicate {
  margin-top: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  background: #fff;
}

.admin-qr-checkin-reentry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.admin-qr-checkin-complete {
  margin-top: 0.5rem;
  padding: 0.85rem;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  background: #fff;
}

.admin-qr-checkin-paid {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
}

.admin-participant-card__summary-type,
.admin-participant-card__summary-paid,
.admin-participant-card__summary-checkin {
  font-size: 0.78rem;
  white-space: nowrap;
}

.admin-participant-checkin-meta {
  display: inline-block;
  margin-left: 0.15rem;
  font-size: 0.72rem;
}

.admin-qr-checkin-dl {
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: minmax(7rem, 34%) 1fr;
  gap: 0.35rem 0.75rem;
}

.admin-qr-checkin-dl dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.admin-qr-checkin-dl dd {
  margin: 0;
}

.admin-participant-token {
  font-size: 0.78rem;
  word-break: break-all;
}

.admin-participant-qr-cell {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.admin-participant-qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tid-qr-view-modal .tid-qr-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (max-width: 767px) {
  .tid-qr-view-modal.admin-qr-checkin-modal {
    padding: 0;
  }

  .tid-qr-view-modal .admin-qr-checkin-modal__panel {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .tid-qr-view-modal .event-ticket-card__qr-wrap {
    margin-left: auto;
    margin-right: auto;
  }

  .tid-qr-view-modal .event-ticket-card__qr,
  .tid-qr-view-modal #tid-qr-view-canvas {
    width: min(78vw, 320px) !important;
    height: min(78vw, 320px) !important;
  }
}

/* —— PWA (Progressive Web App) —— */
.tid-pwa-install-banner {
  display: none !important;
}

.tid-pwa-install-banner[hidden] {
  display: none !important;
}

.tid-pwa-install-banner__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.65rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

.tid-pwa-install-banner__icon {
  flex-shrink: 0;
  border-radius: 12px;
}

.tid-pwa-install-banner__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  line-height: 1.35;
}

.tid-pwa-install-banner__text strong {
  font-size: 0.92rem;
}

.tid-pwa-install-banner__close {
  border: none;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

body.tid-pwa-standalone .tid-pwa-install-banner {
  display: none !important;
}

.tid-pwa-update-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.tid-pwa-update-bar--standalone {
  top: env(safe-area-inset-top, 0);
  padding-top: calc(0.5rem + env(safe-area-inset-top, 0));
}

.tid-pwa-update-bar span {
  flex: 1 1 auto;
  max-width: 42rem;
  line-height: 1.35;
}

.tid-pwa-update-bar__close {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.15rem 0.35rem;
  cursor: pointer;
}

.tid-pwa-update-bar__close:hover,
.tid-pwa-update-bar__close:focus-visible {
  color: #fff;
}

.tid-pwa-admin {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.tid-pwa-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: 0.65rem;
  margin: 0.5rem 0 0.75rem;
}

.tid-pwa-stat {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.tid-pwa-stat__n {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
}

.tid-pwa-stat__l {
  font-size: 0.78rem;
  color: var(--muted);
}

.tid-pwa-check-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0.85rem;
  font-size: 0.9rem;
}

.tid-pwa-check-list__item {
  padding: 0.2rem 0;
}

.tid-pwa-check-list__item--ok {
  color: #1a7f4b;
}

.tid-pwa-check-list__item--warn {
  color: var(--muted);
}

.tid-pwa-recent-list {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
}

.tid-pwa-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tid-pwa-member-status {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.tid-pwa-member-status__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.tid-pwa-member-status__meta {
  margin: 0 0 0.5rem;
}

.tid-pwa-status-grid {
  display: grid;
  gap: 0;
  margin: 0.5rem 0 0.75rem;
}

.tid-pwa-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.tid-pwa-status-row__label {
  color: var(--muted);
}

.tid-pwa-status-row__value {
  font-weight: 600;
  text-align: right;
}

.tid-pwa-status-row__value--ok {
  color: #1a7f4b;
}

.tid-pwa-status-row__value--warn {
  color: #b45309;
}

.tid-pwa-member-status__hints {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.tid-pwa-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.account-settings-links {
  margin: 0.5rem 0 0;
}

.tid-pwa-settings {
  margin-top: 0.75rem;
}

.tid-pwa-settings-block {
  margin-bottom: 1rem;
}

.tid-pwa-settings-block__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.tid-pwa-settings-block__intro {
  margin: 0 0 0.75rem;
}

.tid-pwa-settings-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.tid-pwa-setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
}

.tid-pwa-setting-row:last-child {
  border-bottom: none;
}

.tid-pwa-setting-row__text strong {
  display: block;
  font-size: 0.95rem;
}

.tid-pwa-setting-row__hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
}

.tid-pwa-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.tid-pwa-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tid-pwa-switch__track {
  display: block;
  width: 2.65rem;
  height: 1.55rem;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.2s ease;
  position: relative;
}

.tid-pwa-switch__track::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.tid-pwa-switch input:checked + .tid-pwa-switch__track {
  background: var(--secondary);
}

.tid-pwa-switch input:checked + .tid-pwa-switch__track::after {
  transform: translateX(1.1rem);
}

.tid-pwa-switch input:disabled + .tid-pwa-switch__track {
  opacity: 0.45;
}

.tid-pwa-switch input:focus-visible + .tid-pwa-switch__track {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.tid-pwa-perm-line {
  margin: 0.75rem 0 0;
}

.tid-pwa-os-help {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #f0c36d;
  border-radius: var(--radius);
  background: #fff8e6;
  font-size: 0.88rem;
}

.tid-pwa-os-help p {
  margin: 0.35rem 0 0;
}

.tid-pwa-settings-details {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.tid-pwa-settings-details > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.35rem 0;
}

.tid-pwa-member-status--nested {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: none;
}

body.tid-has-chat-dock .tid-sign-lang-avatar--visible {
  bottom: calc(132px + env(safe-area-inset-bottom, 0px));
}

/* —— Sağ alt yardım dock (Engelsiz Çeviri + WhatsApp) —— */
:root {
  --tid-help-dock-edge: max(12px, env(safe-area-inset-right, 0px));
  --tid-help-dock-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  --tid-help-dock-btn-h: 2.25rem;
  --tid-help-dock-btn-w: 13.75rem;
  --tid-help-dock-gap: 0.45rem;
  --tid-help-dock-count: 2;
}

body.tid-help-dock-pwa-visible {
  --tid-help-dock-count: 3;
}

body.tid-has-chat-dock {
  --tid-help-dock-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.tid-site-help-dock {
  --tid-help-dock-stack-h: calc(
    var(--tid-help-dock-count) * var(--tid-help-dock-btn-h) +
      (var(--tid-help-dock-count) - 1) * var(--tid-help-dock-gap)
  );
  position: fixed;
  right: var(--tid-help-dock-edge);
  bottom: var(--tid-help-dock-bottom);
  z-index: 10100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: var(--tid-help-dock-gap);
  width: var(--tid-help-dock-btn-w);
  max-width: calc(100vw - 24px);
  pointer-events: none;
}

.tid-site-help-dock__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  height: var(--tid-help-dock-btn-h);
  padding: 0 0.65rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: var(--bg-card, #fffefb);
  color: var(--ink, #1f2937);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.06);
}

.tid-site-help-dock__btn--sign-on {
  border-color: rgba(22, 163, 74, 0.35);
  background: #f0fdf4;
}

.tid-site-help-dock__badge {
  margin-left: auto;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
}

.tid-site-help-dock__btn--sign-on .tid-site-help-dock__badge {
  background: #dcfce7;
  color: #166534;
}

body:has(.tid-site-help-dock) .tid-sign-lang-toggle:not(#tid-site-help-dock-sign),
body:has(.tid-site-help-dock) #tid-sign-lang-toggle {
  display: none !important;
}

body:has(.tid-site-help-dock) .tid-sign-lang-avatar--visible {
  left: auto;
  right: var(--tid-help-dock-edge);
  bottom: calc(var(--tid-help-dock-bottom) + var(--tid-help-dock-stack-h) + 0.55rem);
  width: min(180px, calc(100vw - 24px - var(--tid-help-dock-btn-w)));
  max-width: 44vw;
}

body:has(.tid-site-quick-actions) .tid-sign-lang-avatar--visible {
  left: auto;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

/* —— Sağ alt yardım kartı —— */
.tid-site-quick-actions {
  position: fixed;
  right: max(12px, env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 10100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  pointer-events: none;
}

body.tid-has-chat-dock .tid-site-quick-actions {
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.tid-site-quick-actions__menu {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: min(16rem, calc(100vw - 2rem));
  padding: 0.35rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card, #fffefb);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16);
}

.tid-site-quick-actions__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.tid-site-quick-actions__item:hover,
.tid-site-quick-actions__item:focus-visible {
  background: rgba(37, 211, 102, 0.1);
}

.tid-site-quick-actions__item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
}

.tid-site-quick-actions__sign-badge {
  margin-left: auto;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
}

.tid-site-quick-actions__item--sign-on {
  border-color: rgba(22, 163, 74, 0.35);
  background: #f0fdf4;
}

.tid-site-quick-actions__item--sign-on .tid-site-quick-actions__sign-badge {
  background: #dcfce7;
  color: #166534;
}

@media (max-width: 767px) {
  .tid-site-quick-actions__menu {
    min-width: min(15rem, calc(100vw - 1.5rem));
  }
}
