@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Inter:wght@100..900&display=swap");

:root,
[data-bs-theme="light"] {
  --tblr-primary: #f0a63a;
  --tblr-primary-rgb: 240, 166, 58;
  --tblr-primary-lt: #2a1d0a;
  --tblr-secondary: #8a7a5c;
  --tblr-success: #57ca66;
  --tblr-success-rgb: 87, 202, 102;
  --tblr-danger: #e85b5b;
  --tblr-danger-rgb: 232, 91, 91;
  --tblr-warning: #f0a63a;
  --tblr-info: #61aee8;
  --tblr-body-bg: #0f0a05;
  --tblr-bg-surface: #1a1208;
  --tblr-bg-surface-secondary: #231a0d;
  --tblr-bg-forms: #1d1409;
  --tblr-body-color: #f3e9d2;
  --tblr-body-color-rgb: 243, 233, 210;
  --tblr-muted: #b3a380;
  --tblr-muted-rgb: 179, 163, 128;
  --tblr-border-color: #3a2c12;
  --tblr-border-color-translucent: rgba(240, 166, 58, 0.18);
  --tblr-border-width: 1px;
  --tblr-border-style: solid;
  --tblr-card-border-radius: 0.5rem;
  --tblr-card-shadow: 0 0.125rem 0.4rem rgba(0, 0, 0, 0.45);
  --tblr-card-hover-shadow: 0 0.75rem 2rem rgba(240, 166, 58, 0.12);
  --tblr-link-color: var(--tblr-primary);
  --tblr-link-hover-color: #ffd166;
  --tblr-font-weight-bold: 600;
  --tblr-btn-border-radius: 3px;
  --tblr-navbar-active-border-color: var(--tblr-primary);
  --accent: #f0a63a;
  --accent-2: #ffd166;
  --accent-dark: #c47f12;
  --gold: #ffd166;
  --green: #57ca66;
  --red: #e85b5b;
  --text: #f3e9d2;
  --muted: #b3a380;
  --dim: #7d6f54;
  --surface: #1a1208;
  --bg: #0f0a05;
  --border: #3a2c12;
}

[data-bs-theme="dark"] {
  --tblr-primary: #f0a63a;
  --tblr-primary-rgb: 240, 166, 58;
  --tblr-primary-lt: #2a1d0a;
  --tblr-success: #57ca66;
  --tblr-danger: #e85b5b;
  --tblr-warning: #f0a63a;
  --tblr-info: #61aee8;
  --tblr-body-bg: #0f0a05;
  --tblr-bg-surface: #1a1208;
  --tblr-bg-surface-secondary: #231a0d;
  --tblr-bg-forms: #1d1409;
  --tblr-body-color: #f3e9d2;
  --tblr-body-color-rgb: 243, 233, 210;
  --tblr-muted: #b3a380;
  --tblr-muted-rgb: 179, 163, 128;
  --tblr-border-color: #3a2c12;
  --tblr-border-color-translucent: rgba(240, 166, 58, 0.18);
  --tblr-card-shadow: 0 0.125rem 0.4rem rgba(0, 0, 0, 0.45);
  --tblr-card-hover-shadow: 0 0.75rem 2rem rgba(240, 166, 58, 0.12);
  --tblr-link-color: #f0a63a;
  --tblr-link-hover-color: #ffd166;
  --accent: #f0a63a;
  --accent-dark: #c47f12;
  --gold: #ffd166;
  --green: #57ca66;
  --red: #e85b5b;
  --text: #f3e9d2;
  --muted: #b3a380;
  --dim: #7d6f54;
  --surface: #1a1208;
  --bg: #0f0a05;
  --border: #3a2c12;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-feature-settings: "cv03", "cv04", "cv11";
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--tblr-body-color);
  background-color: var(--tblr-body-bg);
  min-height: 100vh;
}

h1, h2, h3, h4, .navbar-brand, .eyebrow, .page-title, .section-title, .gradient-text {
  font-family: "Cinzel", "Inter", serif;
  letter-spacing: 0.01em;
}

/* asil (lord) altın detay */
.card {
  box-shadow: var(--tblr-card-shadow);
  border: 1px solid var(--tblr-border-color);
}
.card-header {
  border-bottom: 1px solid rgba(240, 166, 58, 0.16);
}
.navbar {
  background: rgba(20, 13, 5, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(240, 166, 58, 0.22);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.navbar-brand span {
  color: #ffd166;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
}

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

a:hover {
  color: var(--tblr-link-hover-color);
}

code {
  font-family: "SF Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.875em;
  background: var(--tblr-bg-surface-secondary);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.25rem;
  padding: 0.05rem 0.3rem;
}

p {
  margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container-xl {
  max-width: 1320px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ---------------------------------------------------------------- utilities */
.d-flex { display: flex; }
.d-none { display: none; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-fill { flex: 1 1 auto; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.justify-content-start { justify-content: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }
.text-center { text-align: center; }
.text-start { text-align: left; }
.text-end { text-align: right; }
.text-uppercase { text-transform: uppercase; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; }
.me-1 { margin-right: .25rem; } .me-2 { margin-right: .5rem; } .me-3 { margin-right: 1rem; }
.ms-1 { margin-left: .25rem; } .ms-2 { margin-left: .5rem; } .ms-3 { margin-left: 1rem; }
.pt-1 { padding-top: .25rem; } .pt-2 { padding-top: .5rem; } .pt-3 { padding-top: 1rem; } .pt-4 { padding-top: 1.5rem; }
.pb-1 { padding-bottom: .25rem; } .pb-2 { padding-bottom: .5rem; } .pb-3 { padding-bottom: 1rem; } .pb-4 { padding-bottom: 1.5rem; }
.rounded-3 { border-radius: 0.5rem; }
.rounded-circle { border-radius: 50%; }
.small { font-size: 0.85em; }
.fs-sm { font-size: 0.8rem; }
.fs-100 { font-size: 100%; }
.text-muted { color: rgba(var(--tblr-muted-rgb), 1); }
.muted { color: var(--tblr-muted); }
.green { color: var(--tblr-success); }
.red { color: var(--tblr-danger); }
.no-underline { text-decoration: none; }
.gradient-text {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.empty {
  color: var(--dim);
  text-align: center;
  padding: 1rem 0;
}
.skeleton {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: 0.5rem;
  border-radius: 0.375rem;
  background: linear-gradient(90deg, var(--tblr-bg-surface-secondary) 25%, var(--tblr-border-color) 37%, var(--tblr-bg-surface-secondary) 63%);
  background-size: 400% 100%;
  animation: sk 1.2s ease infinite;
}
@keyframes sk {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ------------------------------------------------------------------- header */
.header-banner {
  position: relative;
  overflow: hidden;
  background: #2a1a05;
}
.header-image {
  width: 100%;
  height: 255px;
  overflow: hidden;
}
.header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
}
.header-banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem;
  color: #fff;
  font-weight: 600;
}
.hb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}
.hb-side {
  flex: 1 1 0;
  display: flex;
}
.hb-right {
  justify-content: flex-end;
}
.hb-logo {
  flex: 0 0 auto;
}
.hb-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
}
.header-side-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: #fff;
  flex: none;
}
.header-side-icon svg {
  fill: #fff;
  width: 28px;
  height: 28px;
}
.hb-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.hb-top {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
.hb-bottom {
  font-size: 1.05rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-banner-logo {
  max-height: 150px;
  max-width: 220px;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.35);
}
.zoom-hover {
  transition: transform 0.3s;
  transform: scale(1);
  display: block;
}
.zoom-hover:hover {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .header-image { height: 210px; }
  .hb-row { gap: 0.75rem; }
  .header-side-icon { width: 40px; height: 40px; }
  .header-side-icon svg { width: 22px; height: 22px; }
  .hb-link { gap: 0.5rem; }
  .hb-bottom { font-size: 0.85rem; }
  .hb-top { font-size: 0.7rem; }
  .header-banner-logo { max-height: 96px; }
}

/* ------------------------------------------------------------------ navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(20, 13, 5, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(240, 166, 58, 0.22);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.navbar .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.75rem;
  position: relative;
  flex-wrap: wrap;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--tblr-body-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}
.navbar-brand img {
  width: 38px;
  height: 38px;
  border-radius: 0.5rem;
  object-fit: cover;
}
.navbar-brand small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--tblr-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.375rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tblr-body-color);
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.2s;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  position: relative;
}
.nav-links .nav-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.375rem;
  color: var(--tblr-body-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links .nav-link i {
  font-size: 1.125rem;
  color: var(--tblr-muted);
}
.nav-links .nav-link:hover {
  background: var(--tblr-bg-surface-secondary);
}
.nav-links .nav-link.active {
  color: var(--tblr-primary);
}
.nav-links .nav-link.active i {
  color: var(--tblr-primary);
}
@media (min-width: 768px) {
  .navbar .nav-links li:hover::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: -0.2rem;
    border-bottom: 2px solid var(--tblr-navbar-active-border-color);
  }
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.nav-user {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.55rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.nav-user img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  object-fit: cover;
}
.nav-user-meta b {
  display: block;
  font-size: 0.85rem;
  line-height: 1.15;
}
.nav-user:hover {
  background: var(--tblr-bg-surface-secondary);
}
.nav-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  background: var(--tblr-primary-lt);
  color: var(--tblr-primary);
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-credit small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.nav-credit:hover {
  color: var(--tblr-primary);
  filter: brightness(0.97);
}
.nav-inv {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  background: var(--tblr-bg-surface-secondary);
  border: 1px solid var(--tblr-border-color);
  text-decoration: none;
  font-size: 1rem;
}
.nav-inv:hover {
  border-color: var(--tblr-primary);
}
.nav-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--tblr-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--tblr-bg-surface);
}
.nav-admin {
  color: var(--tblr-primary) !important;
  border-color: var(--tblr-primary) !important;
}

@media (max-width: 767.98px) {
  .nav-toggle { display: block; }
  .navbar .container { flex-wrap: wrap; }
  .navbar-brand { order: 2; }
  .nav-toggle { order: 1; }
  .nav-actions { order: 3; }
  .nav-links {
    order: 4;
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid var(--tblr-border-color);
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link { width: 100%; }
  .nav-credit small { display: none; }
}

/* -------------------------------------------------------------- breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.25rem 0 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--tblr-muted);
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--tblr-muted);
  opacity: 0.6;
}
.breadcrumb-item a {
  color: inherit;
}
.breadcrumb-item.active {
  color: var(--tblr-muted);
}

/* ------------------------------------------------------------------ title */
.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.9rem 0 1.1rem;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.4;
  color: var(--tblr-body-color);
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-btn-border-radius);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, filter 0.15s, box-shadow 0.15s;
  user-select: none;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.55; pointer-events: none; }
.btn i { font-size: 1.05rem; }

.btn-primary {
  color: #fff;
  background-color: var(--tblr-primary);
  border-color: var(--tblr-primary);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: var(--tblr-primary);
  border-color: var(--tblr-primary);
  filter: brightness(1.15);
}

.btn-ghost, .btn-light {
  background-color: var(--tblr-bg-surface);
  border-color: var(--tblr-border-color);
  color: var(--tblr-body-color);
}
.btn-ghost:hover, .btn-light:hover {
  background-color: var(--tblr-bg-surface-secondary);
  border-color: var(--tblr-border-color);
}

.btn-transparent {
  background-color: transparent;
  border-color: transparent !important;
  box-shadow: none;
  color: inherit;
}
.btn-transparent:hover {
  background-color: var(--tblr-bg-surface-secondary);
}

.btn-link {
  background: none;
  border: 0;
  color: var(--tblr-link-color);
  padding: 0;
  font-weight: 500;
}
.btn-link:hover { color: var(--tblr-link-hover-color); }

.btn-gold {
  color: #6b3f00;
  background: linear-gradient(135deg, #ffd166, #f0a63a);
  border-color: #e8b25a;
}
.btn-gold:hover {
  filter: brightness(1.05);
  color: #6b3f00;
}

.btn-danger {
  color: #fff;
  background-color: var(--tblr-danger);
  border-color: var(--tblr-danger);
}
.btn-danger:hover {
  color: #fff;
  filter: brightness(1.1);
}

.btn-icon {
  padding: 0.45rem 0.6rem;
}
.btn-icon .ti { font-size: 1.1rem; }

.btn-sm { padding: 0.3rem 0.65rem; font-size: 0.825rem; }
.btn-lg { padding: 0.7rem 1.3rem; font-size: 1.05rem; }
.btn-block { width: 100%; display: flex; }

.btn-play {
  color: #fff;
  background: linear-gradient(135deg, #ff8f3d, #f2631f);
  border: 0;
  border-radius: 0.375rem;
  padding: 0.7rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 0.4rem 1.2rem rgba(242, 99, 31, 0.35);
}
.btn-play:hover { filter: brightness(1.08); color: #fff; }

/* -------------------------------------------------------------- dropdowns */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 1060;
  display: none;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  padding: 0.35rem;
  margin: 0;
  list-style: none;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
}
.dropdown-menu.show { display: block; }
.dropdown-menu.dropup { top: auto; bottom: calc(100% + 0.35rem); }
.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  color: var(--tblr-body-color);
  text-decoration: none;
  border-radius: 0.35rem;
}
.dropdown-item:hover, .dropdown-item.active {
  color: #fff;
  background-color: var(--tblr-primary);
}
.dropdown-toggle { cursor: pointer; }

/* ------------------------------------------------------------------- cards */
.card {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-card-border-radius);
  box-shadow: var(--tblr-card-shadow);
  margin-bottom: 1rem;
}
.card-hover { transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s; }
.card-hover:hover {
  box-shadow: var(--tblr-card-hover-shadow);
  border-color: var(--tblr-border-color);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--tblr-border-color);
}
.card-title { margin: 0; font-size: 1.05rem; font-weight: 600; }
.card-body { padding: 1.25rem; }
.card-body p:last-child { margin-bottom: 0; }
.card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--tblr-border-color);
  font-size: 0.85rem;
  color: var(--tblr-muted);
}
.card-img-left {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--tblr-card-border-radius) 0 0 var(--tblr-card-border-radius);
}
.card-img-right {
  border-radius: var(--tblr-card-border-radius) var(--tblr-card-border-radius) 0 0;
  object-fit: cover;
}
.blog-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  font-size: 2.6rem;
  background: linear-gradient(135deg, var(--tblr-primary-lt), var(--tblr-bg-surface-secondary));
  border-radius: var(--tblr-card-border-radius) 0 0 var(--tblr-card-border-radius);
}
@media (max-width: 767.98px) {
  .blog-thumb { border-radius: var(--tblr-card-border-radius) var(--tblr-card-border-radius) 0 0; min-height: 120px; }
}

/* ----------------------------------------------------------- grid (bootstrap-like) */
.grid-row {
  display: flex;
  flex-wrap: wrap;
  margin: -0.75rem;
}
.grid-row > [class*="col-"] {
  padding: 0.75rem;
}
.grid-row.g-0 { margin: 0; }
.grid-row.g-0 > [class*="col-"] { padding: 0; }
.col-12 { width: 100%; }
@media (min-width: 768px) {
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.3333%; }
  .col-md-5 { width: 41.6667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.3333%; }
  .col-md-8 { width: 66.6667%; }
  .col-md-9 { width: 75%; }
  .col-md-12 { width: 100%; }
}

/* generic app grid (admin) */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639.98px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* form row (kept for JS compat) */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.row > .field { flex: 1 1 180px; }

/* ------------------------------------------------------------------- forms */
.form .field { margin-bottom: 1rem; }
.field { margin-bottom: 1rem; }
.field > label, .field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.field-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--tblr-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}
.input {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--tblr-body-color);
  background-color: var(--tblr-bg-forms);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-btn-border-radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus {
  outline: 0;
  border-color: var(--tblr-primary);
  box-shadow: 0 0 0 0.1rem rgba(var(--tblr-primary-rgb), 0.15);
}
select.input {
  cursor: pointer;
  appearance: auto;
}
textarea.input { resize: vertical; }
.input-group {
  display: flex;
  align-items: stretch;
}
.input-group .input { flex: 1 1 auto; min-width: 0; }
.input-group .toggle-pass {
  flex: none;
  margin-left: -1px;
  padding: 0 0.8rem;
  background: var(--tblr-bg-surface-secondary);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0 var(--tblr-btn-border-radius) var(--tblr-btn-border-radius) 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tblr-muted);
  cursor: pointer;
}
.input-group .toggle-pass:hover { color: var(--tblr-primary); }

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.switch-row label:first-child { font-weight: 600; }
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex: none;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--tblr-border-color);
  border-radius: 24px;
  transition: 0.2s;
}
.slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.switch input:checked + .slider { background-color: var(--tblr-primary); }
.switch input:checked + .slider::before { transform: translateX(18px); }

.strength-bar {
  height: 6px;
  background: var(--tblr-border-color);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.4rem;
}
.strength-bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--tblr-danger);
  transition: width 0.25s, background 0.25s;
}
.strength.mid .strength-bar > i { background: var(--tblr-warning); }
.strength.good .strength-bar > i { background: var(--tblr-success); }
.strength small { color: var(--tblr-muted); }

/* checkbox */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
}
.checkbox input { margin-top: 0.25rem; accent-color: var(--tblr-primary); }

/* ------------------------------------------------------------------ alerts */
.alert {
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}
.alert.error, .alert-danger {
  color: #fff;
  background-color: var(--tblr-danger);
  border-color: var(--tblr-danger);
}
.alert.ok, .alert-success {
  color: #fff;
  background-color: var(--tblr-success);
  border-color: var(--tblr-success);
}
.alert.info {
  color: #fff;
  background-color: var(--tblr-info);
  border-color: var(--tblr-info);
}
.alert.warn, .alert-warning {
  color: #fff;
  background-color: var(--tblr-warning);
  border-color: var(--tblr-warning);
}

/* ------------------------------------------------------------------- tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.18rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  border-radius: 0.25rem;
  background: var(--tblr-bg-surface-secondary);
  border: 1px solid var(--tblr-border-color);
  color: var(--tblr-body-color);
  white-space: nowrap;
}
.tag.gold {
  background: #ffe7b3;
  border-color: #ffd97e;
  color: #7a4b00;
}
[data-bs-theme="dark"] .tag.gold { background: #4d3a12; border-color: #6b5218; color: #ffd97e; }
.tag.green {
  background: #d8f3dc;
  border-color: #b7e4c0;
  color: #147029;
}
[data-bs-theme="dark"] .tag.green { background: #173a20; border-color: #235833; color: #7ee094; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--tblr-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ----------------------------------------------------------------- avatar */
.avatar {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--tblr-bg-surface-secondary);
  vertical-align: middle;
}
.avatar-xs { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.table th {
  padding: 0.7rem 0.9rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--tblr-muted);
  border-bottom: 1px solid var(--tblr-border-color);
  white-space: nowrap;
  background: var(--tblr-bg-surface-secondary);
}
.table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--tblr-border-color);
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table-hover tbody tr:hover td { background: var(--tblr-bg-surface-secondary); }
.table a:not(.btn) { color: inherit; }
.table a:hover { text-decoration: none; color: var(--tblr-primary); }

/* ------------------------------------------------------------------ modals */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(13, 20, 32, 0.6);
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  width: 100%;
  max-width: 520px;
  margin: auto;
  background: var(--tblr-bg-surface);
  border-radius: 0.6rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  animation: modalIn 0.18s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal h2 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.modal.wide { max-width: 760px; }
.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.ip-box {
  display: flex;
  gap: 0.6rem;
  margin: 1rem 0;
}

/* ------------------------------------------------------------------ toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1200;
  max-width: 90vw;
  padding: 0.75rem 1.25rem;
  background: #241a0d;
  color: #ffd166;
  border: 1px solid rgba(240, 166, 58, 0.35);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.err { background: var(--tblr-danger); }

/* -------------------------------------------------------------- pagination */
.pagination {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.375rem;
  color: var(--tblr-body-color);
  background: var(--tblr-bg-surface);
  text-decoration: none;
  font-weight: 500;
}
.page-link:hover { border-color: var(--tblr-primary); color: var(--tblr-primary); }
.page-item.active .page-link {
  background: var(--tblr-primary);
  border-color: var(--tblr-primary);
  color: #fff;
}

/* ---------------------------------------------------------- status pill */
.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tblr-muted);
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tblr-muted);
  display: inline-block;
  flex: none;
}
.status-inline.on .dot { background: var(--tblr-success); box-shadow: 0 0 0 0 rgba(47, 179, 68, 0.5); animation: pulse 1.6s infinite; }
.status-inline.off .dot { background: var(--tblr-danger); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 179, 68, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(47, 179, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 179, 68, 0); }
}

/* ---------------------------------------------------------------- lb list */
.lb-list { display: flex; flex-direction: column; }
.lb-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--tblr-border-color);
}
.lb-row:last-child { border-bottom: 0; }
a.lb-row:hover { background: var(--tblr-bg-surface-secondary); }
.lb-rank {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.4rem;
  background: var(--tblr-bg-surface-secondary);
  border: 1px solid var(--tblr-border-color);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--tblr-muted);
  flex: none;
}
.lb-rank.g1 { background: linear-gradient(135deg, #ffe08a, #f7a928); color: #6b3f00; border-color: #f0c868; }
.lb-rank.g2 { background: linear-gradient(135deg, #eef1f5, #b3bcc8); color: #2c3642; border-color: #c4cdd8; }
.lb-rank.g3 { background: linear-gradient(135deg, #f2c8a5, #c5793a); color: #5b2f08; border-color: #d69a5e; }
.lb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--tblr-bg-surface-secondary);
  flex: none;
}
.lb-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.lb-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-sub { font-size: 0.78rem; color: var(--tblr-muted); }
.lb-value { font-weight: 700; text-align: right; white-space: nowrap; }
.lb-value small { display: block; font-size: 0.72rem; font-weight: 500; color: var(--tblr-muted); }
.lb-value.gold { color: #d98200; }
[data-bs-theme="dark"] .lb-value.gold { color: #f0a63a; }
.lb-value.red { color: var(--tblr-danger); }
.panel-empty {
  color: var(--tblr-muted);
  text-align: center;
  padding: 1.25rem 1rem;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------- podium */
.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}
.podium-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 160px;
  padding: 1rem 0.75rem 1.1rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.6rem;
  box-shadow: var(--tblr-card-shadow);
  text-align: center;
}
.podium-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--tblr-bg-surface);
  box-shadow: 0 0 0 2px var(--tblr-border-color);
}
.podium-card .medal { font-size: 1.5rem; line-height: 1; margin-top: -0.25rem; }
.podium-card b { font-size: 0.95rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-card .val { font-weight: 700; color: var(--tblr-primary); }
.podium-card .sub { font-size: 0.8rem; color: var(--tblr-muted); }
.podium-card.p2 { order: 1; }
.podium-card.p1 {
  order: 2;
  transform: scale(1.08);
  border-color: #f3c96a;
  box-shadow: 0 0.75rem 1.75rem rgba(245, 159, 0, 0.22);
}
.podium-card.p3 { order: 3; }
@media (max-width: 639.98px) {
  .podium { gap: 0.5rem; }
  .podium-card { width: 110px; padding: 0.7rem 0.4rem; }
  .podium-card img { width: 48px; height: 48px; }
}

/* ------------------------------------------------------------------ tabs */
.top-tabs, .pay-tabs {
  display: inline-flex;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  padding: 0.25rem;
  gap: 0.25rem;
}
.top-tab, .pay-tab {
  border: 0;
  background: transparent;
  padding: 0.5rem 1.1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--tblr-muted);
  cursor: pointer;
  font-family: inherit;
}
.top-tab:hover, .pay-tab:hover { color: var(--tblr-body-color); }
.top-tab.active, .pay-tab.active {
  background: var(--tblr-primary);
  color: #fff;
}
.top-meta { color: var(--tblr-muted); font-size: 0.85rem; display: flex; gap: 1rem; margin: 0.9rem 0 1rem; flex-wrap: wrap; }

.inv-tabs {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.inv-tab {
  border: 1px solid var(--tblr-border-color);
  background: var(--tblr-bg-surface);
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--tblr-muted);
  cursor: pointer;
  font-family: inherit;
}
.inv-tab.active {
  background: var(--tblr-primary);
  border-color: var(--tblr-primary);
  color: #fff;
}

/* ----------------------------------------------------------------- market */
.market-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}
@media (max-width: 991.98px) {
  .market-layout { grid-template-columns: 1fr; }
}
.market-side .card-body { padding: 0.75rem; }
.market-search { padding: 0.5rem 0 0.75rem; border-bottom: 1px solid var(--tblr-border-color); }
.market-cats { display: flex; flex-direction: column; padding-top: 0.5rem; }
.cat-group { display: flex; flex-direction: column; }
.cat-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: transparent;
  border-radius: 0.4rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--tblr-body-color);
  text-align: left;
}
.cat-btn:hover { background: var(--tblr-bg-surface-secondary); }
.cat-btn.active { background: var(--tblr-primary-lt); color: var(--tblr-primary); }
.cat-emoji { font-size: 1.05rem; }
.cat-label { flex: 1; }
.cat-btn .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--tblr-border-color);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tblr-muted);
}
.cat-btn.active .count { background: var(--tblr-primary); color: #fff; }
.market-note { font-size: 0.88rem; }
.market-note .price { color: var(--tblr-primary); font-weight: 700; }

.market-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.market-panel-head h2 { font-size: 1.2rem; margin: 0; }
.market-panel-head p { margin: 0; color: var(--tblr-muted); font-size: 0.85rem; }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1rem;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-card-border-radius);
  box-shadow: var(--tblr-card-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.product:hover { box-shadow: var(--tblr-card-hover-shadow); transform: translateY(-2px); }
.product--used { opacity: 0.72; filter: grayscale(0.4); }
.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0.6rem;
  background: var(--tblr-primary-lt);
  border-radius: 0.6rem;
  margin-bottom: 0.35rem;
}
.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  animation: iconPop 0.4s ease both;
}
.product-icon--animated img {
  animation: iconFloat 0.4s ease both;
  animation-delay: var(--icon-delay, 0s);
}
@keyframes iconFloat {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes iconPop {
  from { transform: scale(0.85); }
  to { transform: scale(1); }
}
.product-crumb {
  color: var(--tblr-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.product h3 { font-size: 1.05rem; margin: 0; }
.product .desc { color: var(--tblr-muted); font-size: 0.88rem; margin: 0; flex: 1; }
.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.price { font-weight: 700; color: var(--tblr-primary); white-space: nowrap; }

/* ------------------------------------------------------------------- pay */
.pay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}
@media (max-width: 991.98px) {
  .pay-layout { grid-template-columns: 1fr; }
}
.pay-col { min-width: 0; }
.balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--tblr-primary-lt);
  color: var(--tblr-primary);
  border-radius: 0.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.pay-section-title { font-size: 1.1rem; margin: 0 0 0.85rem; }
.pay-packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 639.98px) { .pay-packages { grid-template-columns: 1fr; } }
.pay-pkg {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--tblr-body-color);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pay-pkg:hover { border-color: var(--tblr-primary); }
.pay-pkg.active {
  border-color: var(--tblr-primary);
  box-shadow: 0 0 0 2px rgba(var(--tblr-primary-rgb), 0.2);
}
.pay-pkg b { font-size: 1rem; }
.pay-pkg span { color: var(--tblr-muted); font-size: 0.85rem; }
.pay-pkg-bonus {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.12rem 0.5rem;
  background: #ffe7b3;
  border-radius: 0.3rem;
  color: #7a4b00;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: normal;
  margin-top: 0.3rem;
}
[data-bs-theme="dark"] .pay-pkg-bonus { background: #4d3a12; color: #ffd97e; }
.pay-box {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}
.pay-fast-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  background: var(--tblr-primary-lt);
  color: var(--tblr-primary);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.pay-iban-dl { margin: 0; }
.pay-iban-dl dt { font-weight: 600; font-size: 0.85rem; color: var(--tblr-muted); margin-top: 0.8rem; }
.pay-iban-dl dd { margin: 0.2rem 0 0; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }

.order-summary .order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--tblr-border-color);
  font-size: 0.92rem;
}
.order-summary .order-row:last-child { border-bottom: 0; }
.order-summary .order-row span:first-child { color: var(--tblr-muted); }
.order-summary .order-row b { text-align: right; }
.order-summary .order-row .pay-pkg-bonus { margin-top: 0; }
.order-total {
  font-size: 1.25rem;
  color: var(--tblr-primary);
  font-weight: 700;
}
.pay-bar {
  position: sticky;
  bottom: 0;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.6rem 0.6rem 0 0;
  box-shadow: 0 -0.5rem 1.5rem rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
}
.pay-bar-total { font-size: 1.15rem; font-weight: 700; color: var(--tblr-primary); }

.paytr-frame {
  margin-top: 1rem;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  padding: 1rem;
  background: var(--tblr-bg-surface-secondary);
}
.paytr-field {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--tblr-border-color);
  font-size: 0.92rem;
}
.paytr-field span:first-child { color: var(--tblr-muted); }
.paytr-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--tblr-border-color);
  border-top-color: var(--tblr-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ auth */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 4rem;
  min-height: calc(100vh - 56px);
}
.auth-shell {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.75rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.auth-shell.single { max-width: 460px; display: block; }
@media (max-width: 767.98px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
}
.auth-aside {
  padding: 2rem;
  color: #fff;
  background: linear-gradient(160deg, #241505, #7a4a08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.auth-aside .eyebrow { color: rgba(255, 255, 255, 0.75); }
.auth-aside h2 { color: #fff; }
.auth-aside p { color: rgba(255, 255, 255, 0.85); }
.auth-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.auth-perks li { padding-left: 1.4rem; position: relative; font-size: 0.92rem; }
.auth-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffd166;
  font-weight: 700;
}
.auth-main { padding: 2rem; }
.auth-main h1 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.auth-main .sub { color: var(--tblr-muted); margin-bottom: 1.25rem; }
.auth-skin {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.6rem;
}
.auth-skin img { width: 72px; height: 72px; border-radius: 50%; background: rgba(0, 0, 0, 0.2); }
.auth-skin b { display: block; }
.auth-switch { margin-top: 1rem; font-size: 0.9rem; color: var(--tblr-muted); }
.login-tabs { display: flex; gap: 0.4rem; margin-bottom: 1.25rem; }

.auth-logo-row { text-align: center; margin-bottom: 1.5rem; }
.auth-logo-row img { max-height: 84px; border-radius: 0.5rem; }
.auth-brand { font-weight: 800; font-size: 1.4rem; color: var(--tblr-body-color); margin-top: 0.5rem; }

/* ---------------------------------------------------------------- profile */
.profile-shell { max-width: 980px; }
.profile-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.6rem;
  margin-bottom: 1.25rem;
}
.profile-head img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--tblr-bg-surface);
  box-shadow: 0 0 0 2px var(--tblr-border-color);
}
.profile-head h1 { margin: 0; font-size: 1.35rem; }
.profile-rank { color: var(--tblr-primary); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; }
.profile-meta { color: var(--tblr-muted); font-size: 0.88rem; display: flex; flex-direction: column; gap: 0.1rem; margin-top: 0.4rem; }
.profile-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.profile-card-head h2 { margin: 0; font-size: 1.1rem; }
.profile-rate { color: var(--tblr-muted); font-size: 0.85rem; }
.profile-balance {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tblr-primary);
  margin: 0.25rem 0 1rem;
}
.inv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.quick-cmds { list-style: none; padding: 0; margin: 0.75rem 0; display: flex; flex-direction: column; gap: 0.35rem; }
.quick-cmds code { display: inline-block; }
.inv-use-cmds { list-style: none; padding: 0; margin: 0.5rem 0; display: flex; flex-direction: column; gap: 0.35rem; }
.inv-use-cmds code { display: inline-block; }
.inv-use-cmds-wrap { margin-top: 0.5rem; }

/* --------------------------------------------------------------- support */
.support-layout { margin-top: 1.25rem; }
.support-gate {
  max-width: 460px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.6rem;
  text-align: center;
}
.support-gate h3 { margin-bottom: 0.25rem; }
.support-actions { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.25rem; }
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.25rem;
  align-items: start;
}
.support-grid.has-staff { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 991.98px) {
  .support-grid, .support-grid.has-staff { grid-template-columns: 1fr; }
}
.support-col { min-width: 0; }
.support-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}
.support-col-head h2 { margin: 0; font-size: 1.15rem; }
.tk-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.tk-filters .btn.active { background: var(--tblr-primary); color: #fff; border-color: var(--tblr-primary); }
.tk-list {
  max-height: 520px;
  overflow-y: auto;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.tk-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--tblr-border-color);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--tblr-body-color);
}
.tk-row:last-child { border-bottom: 0; }
.tk-row:hover { background: var(--tblr-bg-surface-secondary); }
.tk-row.active { background: var(--tblr-primary-lt); border-left: 3px solid var(--tblr-primary); }
.tk-row-top { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }
.tk-row-top strong { font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-cat { font-size: 0.8rem; }
.tk-st {
  display: inline-flex;
  padding: 0.14rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  flex: none;
}
.tk-st.open { background: #d8f3dc; color: #147029; }
.tk-st.replied { background: var(--tblr-primary-lt); color: var(--tblr-primary); }
.tk-st.closed { background: var(--tblr-border-color); color: var(--tblr-muted); }
[data-bs-theme="dark"] .tk-st.open { background: #173a20; color: #7ee094; }
[data-bs-theme="dark"] .tk-st.closed { background: #2f3a4c; color: #8a95a5; }
.tk-create {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  padding: 1.1rem;
}
.tk-create h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.tk-create .input { margin-bottom: 0.6rem; }
.tk-stats { font-size: 0.88rem; margin-bottom: 0.75rem; }
.tk-msgs {
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding: 0.25rem 0;
}
.tk-msg {
  align-self: flex-start;
  max-width: 82%;
  background: var(--tblr-bg-surface-secondary);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
}
.tk-msg.staff {
  align-self: flex-end;
  background: var(--tblr-primary-lt);
  border-color: rgba(var(--tblr-primary-rgb), 0.25);
}
.tk-msg header { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.3rem; font-size: 0.82rem; }
.tk-msg p { margin: 0; font-size: 0.9rem; }
.tk-reply { display: flex; gap: 0.5rem; }

/* -------------------------------------------------------------- updates */
.upd-card {
  padding: 1.25rem 1.5rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-card-border-radius);
  box-shadow: var(--tblr-card-shadow);
  margin-bottom: 1rem;
}
.upd-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.upd-card-head time { color: var(--tblr-muted); font-size: 0.85rem; }
.upd-title { font-size: 1.25rem; margin-bottom: 0.4rem; }
.upd-body p { color: var(--tblr-muted); margin: 0; }
.upd-tag {
  display: inline-flex;
  padding: 0.14rem 0.55rem;
  border-radius: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--tblr-primary-lt);
  color: var(--tblr-primary);
}
.upd-tag.warn { background: #ffe7b3; color: #7a4b00; }
.upd-tag.ok { background: #d8f3dc; color: #147029; }
[data-bs-theme="dark"] .upd-tag.warn { background: #4d3a12; color: #ffd97e; }
[data-bs-theme="dark"] .upd-tag.ok { background: #173a20; color: #7ee094; }

/* --------------------------------------------------------------- admin */
.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}
@media (max-width: 991.98px) {
  .admin-shell { grid-template-columns: 1fr; }
}
.admin-side {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.6rem;
}
@media (max-width: 991.98px) {
  .admin-side { position: static; flex-direction: row; flex-wrap: wrap; }
}
.side-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tblr-muted);
  padding: 0.4rem 0.6rem 0.5rem;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 0;
  background: transparent;
  border-radius: 0.4rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--tblr-body-color);
  text-align: left;
}
.tab-btn:hover { background: var(--tblr-bg-surface-secondary); }
.tab-btn.active { background: var(--tblr-primary-lt); color: var(--tblr-primary); font-weight: 600; }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.panel-head h2 { margin: 0; font-size: 1.25rem; }
.stat {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
}
.stat b { display: block; font-size: 1.45rem; font-weight: 800; color: var(--tblr-body-color); line-height: 1.2; }
.stat span { color: var(--tblr-muted); font-size: 0.82rem; }
.toolbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.toolbar .input { flex: 1 1 220px; }
.toolbar .input[style*="max-width"] { flex: 0 1 auto; }
.toolbar > .btn, .toolbar > a.btn, .toolbar > .tag { flex: none; }

/* --------------------------------------------------------------- footer */
.footer {
  margin-top: 3rem;
  padding: 2.75rem 0 0;
  background: var(--tblr-bg-surface);
  border-top: 1px solid var(--tblr-border-color);
  color: var(--tblr-body-color);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
@media (max-width: 991.98px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639.98px) {
  .footer-cols { grid-template-columns: 1fr; }
}
.widget-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.9rem; color: var(--tblr-body-color); }
.widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.widget-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--tblr-muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.widget-link i { font-size: 1.05rem; }
.widget-link:hover { color: var(--tblr-body-color); text-decoration: none; }
.footer-about p { color: var(--tblr-muted); font-size: 0.92rem; max-width: 40ch; }
.footer-switchers { display: flex; gap: 0.5rem; margin-top: 1rem; flex-wrap: wrap; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  border-top: 1px solid var(--tblr-border-color);
  font-size: 0.88rem;
  color: var(--tblr-muted);
}
.footer-bottom a { color: var(--tblr-body-color); font-weight: 600; }
.footer-bottom a:hover { color: var(--tblr-primary); }
.footer-pay { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-pay svg {
  display: block;
  width: 46px;
  height: 29px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
#powered_by_leaderos { color: var(--tblr-body-color); }

/* ------------------------------------------------------ auth minimal footer */
.auth-footer {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: var(--tblr-muted);
}

/* ------------------------------------------------------------ cta / misc */
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem;
  background: linear-gradient(135deg, #241505, #7a4a08);
  color: #fff;
  border-radius: 0.75rem;
  margin: 2.5rem 0;
}
.cta-band h2 { color: #fff; margin-bottom: 0.25rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.85); }

.rate-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: var(--tblr-muted);
  font-size: 0.9rem;
}

.pay-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--tblr-border-color);
}
.pay-strip-label { font-size: 0.8rem; color: var(--tblr-muted); font-weight: 600; }
.pay-logo { display: inline-flex; }
.pay-logo img { max-height: 26px; }

/* ------------------------------------------------------------- detail rows */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--tblr-border-color);
  font-size: 0.92rem;
}
.detail-row:last-child { border-bottom: 0; }
.detail-row > span:first-child { color: var(--tblr-muted); }
.detail-row strong { text-align: right; word-break: break-word; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--tblr-body-color);
}

/* ------------------------------------------------------------ panel (admin) */
.panel {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-card-border-radius);
  box-shadow: var(--tblr-card-shadow);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

/* ------------------------------------------------------------ modal helpers */
.modal-head { margin-bottom: 1rem; }
.modal-head h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.modal-body { padding: 0 0 0.25rem; }
.modal-body .input { margin-bottom: 0.75rem; }

/* ------------------------------------------------------------ kredi extras */
.fast-info .alert { margin-top: 0; }
.pay-custom { padding-top: 0.35rem; }
.pay-panel { margin-top: 1.25rem; }
.pay-bar-info { display: flex; flex-direction: column; gap: 0.15rem; }
.pay-bar-right { display: flex; align-items: center; gap: 1rem; }

/* ------------------------------------------------------------ paytr modal */
.paytr-head { text-align: center; margin-bottom: 1rem; }
.paytr-merchant { font-weight: 800; font-size: 1.05rem; }
.paytr-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
  padding: 1.5rem 1rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #241505, #7a4a08);
  color: #fff;
  margin-bottom: 0.75rem;
}
.paytr-amount { font-size: 1.7rem; font-weight: 800; }
.paytr-card-mask { font-size: 1.05rem; letter-spacing: 0.15em; opacity: 0.9; }
.paytr-bank-name { font-size: 0.85rem; opacity: 0.8; }
#paytr-frame-wrap {
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.6rem;
  overflow: hidden;
  background: #fff;
}
#paytr-frame {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}

/* --------------------------------------------------------------- misc */
.gate-icon { font-size: 2.5rem; color: var(--tblr-primary); margin-bottom: 0.75rem; }
.section-title { font-size: 1.3rem; font-weight: 700; margin: 0; }

/* ---------------------------------------------------------- extra utilities */
.mb-0 { margin-bottom: 0; }
.p-0 { padding: 0; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.align-self-center { align-self: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.col-6 { width: 50%; }
.col-8 { width: 66.6667%; }
.grid-row.g-3 { margin: -0.5rem; }
.grid-row.g-3 > [class*="col-"] { padding: 0.5rem; }
.col-md-4 { width: 33.3333%; }

/* -------------------------------------------------------------- section head */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.25rem; }
.section-head .section-title { margin-top: 0.4rem; }
.section-lead { color: var(--tblr-muted); margin: 0.6rem 0 0; font-size: 1rem; }

/* ----------------------------------------------------------------- page head */
.page-head { text-align: center; padding: 1rem 0 0.25rem; }
.page-head h1 { font-size: 1.9rem; font-weight: 800; margin: 0.35rem 0; }
.page-head p { color: var(--tblr-muted); max-width: 640px; margin: 0 auto 1rem; }

/* -------------------------------------------------------------- maintenance */
.banner {
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--tblr-warning);
}
.banner.warn { background: var(--tblr-warning); }
.banner.error { background: var(--tblr-danger); }
.banner .container { display: flex; align-items: center; gap: 0.5rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }

/* --------------------------------------------------------------- cmd list */
.cmd-list { display: flex; flex-direction: column; gap: 0.5rem; }
.cmd-list code {
  display: block;
  padding: 0.55rem 0.75rem;
  background: var(--tblr-bg-surface-secondary);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.375rem;
  font-size: 0.85rem;
  word-break: break-all;
}

/* ------------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 991.98px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-card-border-radius);
  box-shadow: var(--tblr-card-shadow);
  padding: 1.5rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.step p { color: var(--tblr-muted); font-size: 0.92rem; margin: 0; }

/* --------------------------------------------------------------- support band */
.support-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem;
  background: linear-gradient(135deg, #241505, #7a4a08);
  color: #fff;
  border-radius: 0.75rem;
  margin: 0 0 1.5rem;
}
.support-band h2 { color: #fff; margin-bottom: 0.25rem; font-size: 1.35rem; }
.support-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }

/* ---------------------------------------------------------------- terms row */
.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--tblr-muted);
  cursor: pointer;
}
.terms-row input { margin-top: 0.25rem; accent-color: var(--tblr-primary); }
.terms-row a { font-weight: 600; color: var(--tblr-primary); }

/* ------------------------------------------------------------ inv guide steps */
.inv-guide-steps { margin: 1rem 0; padding-left: 1.1rem; }
.inv-guide-steps li { margin-bottom: 0.5rem; color: var(--tblr-muted); font-size: 0.92rem; }
.inv-guide-steps li b { color: var(--tblr-body-color); }

/* ------------------------------------------------------------ market extras */
.market-search { position: relative; }
.market-search .input { padding-right: 2.4rem; }
.market-search-clear {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--tblr-bg-surface-secondary);
  color: var(--tblr-muted);
  cursor: pointer;
  font-size: 0.72rem;
  line-height: 1;
}
.market-search-clear:hover { background: var(--tblr-border-color); color: var(--tblr-body-color); }
.market-main { min-width: 0; }

/* ------------------------------------------------------------ auth standalone */
.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #241505 0%, #7a4a08 100%);
}
.auth-center { width: 100%; max-width: 430px; }
.auth-card {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.3);
  padding: 2rem;
}
.auth-card .auth-logo-row { margin-bottom: 1.25rem; }
.auth-card .alert { margin-top: 0; }
.auth-skin.on-surface {
  background: var(--tblr-bg-surface-secondary);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
}
.auth-skin.on-surface b { color: var(--tblr-body-color); }
.auth-skin.on-surface span { color: var(--tblr-muted); }

/* ------------------------------------------------------------ pay card form */
.pay-card-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 575.98px) { .pay-card-form { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ podium wrap */
.podium-wrap { display: flex; justify-content: center; align-items: flex-end; gap: 1rem; margin: 1rem 0 1.5rem; }
@media (max-width: 575.98px) { .podium-wrap { gap: 0.5rem; } }

/* ------------------------------------------------------------ admin navbar */
.admin-navbar { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }

/* ------------------------------------------------------------ misc missing */
.section { padding: 2.5rem 0; }
.m-0 { margin: 0 !important; }
.market-balance { font-size: 1.4rem; font-weight: 800; color: var(--tblr-primary); }

/* ------------------------------------------------------------ home hero */
.hero-home {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.5rem 0 4rem;
  background: linear-gradient(135deg, #241505 0%, #7a4a08 100%);
  color: #fff;
}
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(255, 209, 102, 0.14), transparent 45%);
  pointer-events: none;
}
.hero-home .container { position: relative; z-index: 1; }
.hero-home .eyebrow { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.35); }
.hero-home h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 1rem 0 0.75rem;
}
.hero-home p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hero-ip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}
.hero-ip code {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
}
.hero-players { display: inline-flex; align-items: center; gap: 0.35rem; }
.status-inline .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tblr-muted);
  margin-right: 0.35rem;
}
.hero-home .status-inline .dot { background: var(--green, #2fb344); }
.hero-home .status-inline.warn .dot { background: var(--red, #d63939); }

/* ------------------------------------------------------ admin panel (LeaderOS) */
.admin-main { min-width: 0; }

.admin-side-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.55rem 0.9rem;
  border-bottom: 1px solid var(--tblr-border-color);
  margin-bottom: 0.6rem;
}
.admin-side-head img {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  object-fit: cover;
}
.admin-side-head b { display: block; font-size: 0.95rem; line-height: 1.2; }
.admin-side-head small { color: var(--tblr-muted); font-size: 0.74rem; }

.admin-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.admin-nav .tab-btn { position: relative; }
.tab-btn i { font-size: 1.1rem; width: 1.25rem; text-align: center; flex: none; }
.tab-btn.active::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 2px;
  background: var(--tblr-primary);
}
.tab-badge {
  margin-left: auto;
  min-width: 1.35rem;
  padding: 0 0.35rem;
  height: 1.25rem;
  line-height: 1.25rem;
  text-align: center;
  border-radius: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--tblr-danger);
  color: #fff;
}
.tab-badge:not([hidden]) {
  animation: tab-badge-pulse 1.5s ease-in-out infinite;
}
@keyframes tab-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
}
.rcon-out {
  background: #0d1117;
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 8rem;
  max-height: 20rem;
  overflow: auto;
  color: var(--tblr-body-color);
}
.rcon-out.err { color: var(--tblr-danger); }
.rcon-out.ok { color: var(--tblr-success); }

.admin-side-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--tblr-border-color);
  flex-wrap: wrap;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.admin-topbar h1 { margin: 0; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; }
.admin-topbar .muted { font-size: 0.85rem; }
.admin-topbar-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

@media (max-width: 991.98px) {
  .admin-side-head { width: 100%; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-nav .side-title { width: 100%; }
  .admin-nav .tab-btn { width: auto; }
  .admin-side-foot { width: 100%; }
}

/* ------------------------------------------------------ güncelleme listesi */
.upd-row {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--tblr-border-color);
}
.upd-row:last-child { border-bottom: 0; }
.upd-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
}
.upd-row-meta { font-size: 0.8rem; color: var(--tblr-muted); margin-bottom: 0.3rem; }
.upd-row-body { color: var(--tblr-muted); font-size: 0.9rem; }

/* ------------------------------------------------------ raporlar (chart) */
.chart-wrap { margin-top: 0.75rem; }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 150px;
  padding-bottom: 0.25rem;
}
.chart-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  height: 100%;
  min-width: 0;
}
.chart-bar {
  width: 100%;
  max-width: 34px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--tblr-primary), var(--tblr-primary-lt));
  min-height: 2px;
  transition: height 0.3s ease;
}
.chart-bar:hover { filter: brightness(1.2); }
.chart-col b { font-size: 0.72rem; color: var(--tblr-muted); font-weight: 600; }
.chart-col.zero { opacity: 0.4; }
.chart-cats {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  border-top: 1px solid var(--tblr-border-color);
  padding-top: 6px;
}
.chart-cats span {
  flex: 1 1 0;
  text-align: center;
  font-size: 0.7rem;
  color: var(--tblr-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-row { margin-bottom: 0.9rem; }
.bar-row:last-child { margin-bottom: 0; }
.bar-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}
.bar-row-head b { color: var(--tblr-body-color); }
.bar-row-head .muted { font-size: 0.8rem; }
.bar-track {
  height: 8px;
  background: var(--tblr-bg-surface-secondary);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--tblr-primary-lt), var(--tblr-primary));
}
.bar-fill.gold { background: linear-gradient(90deg, #ffd166, #f0a500); }
.bar-fill.green { background: linear-gradient(90deg, #7ee094, #2fb344); }

/* ------------------------------------------------------ destek talepleri (admin) */
.tk-admin-wrap {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
@media (max-width: 991.98px) { .tk-admin-wrap { grid-template-columns: 1fr; } }

.tk-admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 640px;
  overflow-y: auto;
}
.tk-admin-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
  padding: 0.7rem 0.85rem;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--tblr-body-color);
  width: 100%;
}
.tk-admin-item:hover { background: var(--tblr-bg-surface-secondary); }
.tk-admin-item.active { border-color: var(--tblr-primary); box-shadow: 0 0 0 3px var(--tblr-primary-lt); }
.tk-admin-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.tk-admin-item-top strong { font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-admin-item .muted { font-size: 0.78rem; }
.tk-admin-item .dot-badge {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tblr-primary);
  flex: none;
}
.tk-admin-item.new .dot-badge { background: #f0b24a; }

.tk-admin-view {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.6rem;
  padding: 1rem;
  min-height: 320px;
}
.tk-stats { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 0.75rem; font-size: 0.85rem; }
.tk-msgs { display: flex; flex-direction: column; gap: 0.6rem; max-height: 420px; overflow-y: auto; margin-bottom: 0.75rem; }
.tk-msg { padding: 0.65rem 0.8rem; border: 1px solid var(--tblr-border-color); border-radius: 0.5rem; background: var(--tblr-bg-surface); }
.tk-msg.staff { background: var(--tblr-primary-lt); border-color: transparent; }
.tk-msg header { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.3rem; font-size: 0.8rem; }
.tk-msg p { margin: 0; font-size: 0.9rem; white-space: pre-wrap; }
.tk-reply { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.tk-reply .input { flex: 1 1 auto; }

/* ------------------------------------------------------ kuponlar */
.code-chip {
  font-family: "Pixelify Sans", monospace;
  letter-spacing: 0.04em;
  background: var(--tblr-primary-lt);
  color: var(--tblr-primary);
  border-radius: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ------------------------------------------------------ oyuncu detayı */
.pd-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.pd-head img { width: 56px; height: 56px; border-radius: 0.6rem; }
.pd-head b { font-size: 1.2rem; display: block; }
.pd-head .muted { font-size: 0.85rem; }
.pd-list { display: flex; flex-direction: column; }
.pd-list .lb-row { font-size: 0.88rem; }
.pd-list .lb-row b { font-size: 0.85rem; }
