
/* Craftriva readability + UI upgrade */
:root {
  --crv-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --crv-blue: #2563eb;
  --crv-blue-strong: #1d4ed8;
  --crv-text: #15243a;
  --crv-muted: #5f6f84;
  --crv-border: #dce5f0;
  --crv-card: #ffffff;
}
html, body, button, input, select, textarea { font-family: var(--crv-font) !important; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1,h2,h3,h4,h5,h6 { font-family: var(--crv-font) !important; letter-spacing: -0.02em; }
.page-wrapper, .section { isolation: isolate; }

/* readable light mode */
[data-bs-theme="light"] body { color: var(--crv-text); background:#f4f7fb; }
[data-bs-theme="light"] .text-muted { color:#607089 !important; }
[data-bs-theme="light"] a { color:#1d4ed8; }
[data-bs-theme="light"] .card,
[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-select,
[data-bs-theme="light"] .dropdown-menu { color:#15243a; }
[data-bs-theme="light"] .dropdown-menu { background:#fff; border-color:#dbe5f0; }
[data-bs-theme="light"] .dropdown-item { color:#26364d !important; }
[data-bs-theme="light"] .dropdown-item:hover,
[data-bs-theme="light"] .dropdown-item:focus { color:#10213a !important; background:#edf4ff !important; }
[data-bs-theme="light"] .form-control::placeholder { color:#77869a; opacity:1; }
[data-bs-theme="light"] .table { --tblr-table-color:#223247; }
[data-bs-theme="light"] .table thead th { color:#52637a !important; background:#f7f9fc; }
[data-bs-theme="light"] .table td { color:#27384d; border-color:#e7edf4; }

/* The public store can still be rendered in light mode by cached markup. Keep
   price amounts visible even in that old state. */
[data-bs-theme="light"] .vip-card__price strong { color:#19345d !important; }
[data-bs-theme="light"] .vip-card__price .old-price { color:#667b96 !important; }

/* readable dark mode */
[data-bs-theme="dark"] body { background:#080d14 !important; color:#edf3fb !important; }
[data-bs-theme="dark"] .page-wrapper { background:transparent !important; }
[data-bs-theme="dark"] p,
[data-bs-theme="dark"] .text-muted,
[data-bs-theme="dark"] .small,
[data-bs-theme="dark"] small { color:#aebbd0 !important; }
[data-bs-theme="dark"] a { color:#75a9ff; }
[data-bs-theme="dark"] a:hover { color:#9bc2ff; }
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6,
[data-bs-theme="dark"] .fw-bold,
[data-bs-theme="dark"] .fw-semibold,
[data-bs-theme="dark"] strong { color:#f8fbff !important; }
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .dropdown-menu { background:#101721; border-color:#273445; color:#edf3fb; }
[data-bs-theme="dark"] .form-control::placeholder { color:#8f9daf; opacity:1; }
[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus { border-color:#4b83ef !important; box-shadow:0 0 0 3px rgba(37,99,235,.16) !important; }
[data-bs-theme="dark"] .dropdown-item { color:#e7eef8 !important; }
[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus,
[data-bs-theme="dark"] .dropdown-item.active { background:#202a38 !important; color:#ffffff !important; }
[data-bs-theme="dark"] .table { --tblr-table-color:#edf3fb; }
[data-bs-theme="dark"] .table thead th { color:#c8d5e6 !important; background:#0d131c; border-color:#273445; }
[data-bs-theme="dark"] .table td { color:#edf3fb; border-color:#222d3a; }
[data-bs-theme="dark"] .table-hover tbody tr:hover > * { color:#fff; background:rgba(64,112,185,.08); }
[data-bs-theme="dark"] .breadcrumb { background:#101721; border-color:#273445 !important; }
[data-bs-theme="dark"] .breadcrumb-item.active { color:#9eabbd !important; }
[data-bs-theme="dark"] .btn-outline-primary { color:#8dbbff; border-color:#3a6fbf; }
[data-bs-theme="dark"] .btn-outline-primary:hover { background:#17335f; color:#fff; }

/* global controls */
.form-control, .form-select { min-height:44px; border-radius:11px; }
.input-group .form-control { min-height:46px; }
.dropdown-menu { min-width:180px; border-radius:14px; padding:.45rem; box-shadow:0 18px 45px rgba(10,20,35,.22); }
.dropdown-item { font-weight:600; padding:.62rem .8rem; }

/* home additions */
.home-feature-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.home-feature-card { display:flex; align-items:center; gap:12px; min-height:78px; padding:16px; border:1px solid var(--site-border); border-radius:16px; background:rgba(255,255,255,.72); box-shadow:0 10px 28px rgba(27,48,79,.06); }
.home-feature-card__icon { width:42px; height:42px; flex:0 0 42px; display:flex; align-items:center; justify-content:center; margin:0; padding:0; border-radius:12px; color:#2563eb; background:#eaf2ff; font-size:20px; line-height:1; }
.home-feature-card__icon i,
.home-feature-card__icon i::before { display:block; margin:0; line-height:1; }
.home-feature-card strong { display:block; font-size:.96rem; color:#14253d; }
.home-feature-card > div > span { display:block; margin-top:2px; font-size:.8rem; line-height:1.35; color:#6b7a8f; }
.join-guide__server-item { position:relative; }
.join-guide__server-item .btn { margin-left:auto; white-space:nowrap; }
[data-bs-theme="dark"] .home-feature-card { background:#101a27; border-color:#263548; box-shadow:0 12px 30px rgba(0,0,0,.22); }
[data-bs-theme="dark"] .home-feature-card strong { color:#f4f8fe; }
[data-bs-theme="dark"] .home-feature-card > div > span { color:#aab7c9; }
[data-bs-theme="dark"] .home-feature-card__icon { background:#172b49; color:#8ebcff; }

/* supporters podium */
.supporters-grid { align-items:end !important; }
.supporter-card { overflow:visible; padding-top:18px !important; }
.supporter-card__avatar { position:relative; z-index:2; }
.supporter-medal { top:82px !important; right:calc(50% - 60px) !important; width:54px !important; height:54px !important; z-index:3; transform:translateX(50%); }
.supporter-rank { z-index:4; }
.supporter-card:nth-child(1) { order:1; min-height:255px; }
.supporter-card:nth-child(2) { order:2; min-height:235px; }
.supporter-card:nth-child(3) { order:3; min-height:220px; }
.supporter-card--featured { transform:translateY(-14px); }
.supporter-card--featured:hover { transform:translateY(-18px); }
[data-bs-theme="dark"] .supporter-card { background:#101a27 !important; border-color:#2a3a4e !important; }
[data-bs-theme="dark"] .supporter-label { color:#9eacc0; }

/* punishment hub */
.punishment-modern { padding-top:1.2rem; padding-bottom:4rem; }
.punishment-hero {
  display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px 30px;
  border:1px solid #dbe6f2; border-radius:22px; background:linear-gradient(135deg,#fff 0%,#f2f7ff 100%);
  box-shadow:0 16px 45px rgba(27,58,101,.08); margin-bottom:20px;
}
.punishment-hero h1 { margin:.1rem 0 .45rem; font-size:2.35rem; font-weight:900; color:#13243c; }
.punishment-hero p { margin:0; max-width:720px; color:#5d6d82; font-size:1rem; }
.punishment-hero__icon { width:90px; height:90px; flex:0 0 90px; display:grid; place-items:center; border-radius:24px; color:#fff; background:linear-gradient(135deg,#2563eb,#60a5fa); box-shadow:0 18px 38px rgba(37,99,235,.22); font-size:42px; }
.punishment-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.punishment-card { position:relative; display:flex; align-items:flex-start; gap:16px; padding:22px; min-height:170px; border:1px solid #dce5f0; border-radius:20px; background:#fff; box-shadow:0 12px 34px rgba(23,47,80,.06); transition:.2s ease; overflow:hidden; }
.punishment-card:hover { transform:translateY(-3px); text-decoration:none; border-color:#b9cdf2; box-shadow:0 18px 44px rgba(23,47,80,.10); }
.punishment-card__icon { width:52px; height:52px; flex:0 0 52px; display:grid; place-items:center; border-radius:15px; font-size:24px; }
.punishment-card h2 { margin:.15rem 0 .35rem; font-size:1.28rem; color:#14233a; }
.punishment-card span { font-size:.72rem; text-transform:uppercase; letter-spacing:.14em; font-weight:800; color:#728199; }
.punishment-card p { margin:0; color:#64758b; max-width:520px; line-height:1.45; }
.punishment-card__arrow { position:absolute; right:18px; top:18px; color:#8ca0bb; font-size:20px; }
.punishment-card--danger .punishment-card__icon { background:#fff0f0; color:#dc3c3c; }
.punishment-card--info .punishment-card__icon { background:#ebf5ff; color:#2d78d8; }
.punishment-card--warning .punishment-card__icon { background:#fff6df; color:#d78b00; }
.punishment-card--success .punishment-card__icon { background:#eafaf4; color:#14945b; }
.punishment-note { display:flex; align-items:flex-start; gap:13px; margin-top:18px; padding:16px 18px; border:1px solid #dbe6f2; border-radius:16px; background:#f7faff; }
.punishment-note > i { color:#2d78d8; font-size:22px; margin-top:2px; }
.punishment-note strong { display:block; color:#1d3048; }
.punishment-note span { display:block; margin-top:3px; color:#6d7d91; }

/* punishment detail pages */
.punishment-page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin:8px 0 20px; }
.punishment-page-heading h1 { margin:.1rem 0 .35rem; font-size:2rem; font-weight:900; color:#15253b; }
.punishment-page-heading p { margin:0; color:#65768c; }
.punishment-table-card { overflow:hidden; border-radius:18px; border:1px solid #dce5f0; box-shadow:0 12px 36px rgba(23,47,80,.07); }
.punishment-table-card__head { padding:18px 20px; border-bottom:1px solid #e7edf4; background:#fbfcfe; }
.punishment-table-card__head .card-title { margin:0; font-size:1.05rem; font-weight:800; color:#1b2c43; }
.punishment-search { padding:14px; background:#f6f8fb; border-bottom:1px solid #e7edf4; }
.punishment-search .form-control { border:1px solid #d9e2ed !important; background:#fff; }
.punishment-search .btn { min-height:46px; border-radius:11px !important; }
.punishment-table { margin:0; }
.punishment-table th { white-space:nowrap; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; }
.punishment-table td { padding:15px 14px; vertical-align:middle; }
.punishment-table td img { width:30px; height:30px; object-fit:cover; vertical-align:middle; border:1px solid #dce5f0; }

[data-bs-theme="dark"] .punishment-hero { border-color:#29384b; background:linear-gradient(135deg,#111b28 0%,#0c1622 100%); box-shadow:0 18px 42px rgba(0,0,0,.22); }
[data-bs-theme="dark"] .punishment-hero h1 { color:#f6f9fd; }
[data-bs-theme="dark"] .punishment-hero p { color:#a9b6c8; }
[data-bs-theme="dark"] .punishment-grid .punishment-card { border-color:#273548; background:#101923; box-shadow:0 14px 38px rgba(0,0,0,.22); }
[data-bs-theme="dark"] .punishment-card:hover { border-color:#3c5d85; }
[data-bs-theme="dark"] .punishment-card h2 { color:#f4f8fe; }
[data-bs-theme="dark"] .punishment-card span { color:#99a9bc; }
[data-bs-theme="dark"] .punishment-card p { color:#adb9c9; }
[data-bs-theme="dark"] .punishment-card__arrow { color:#8ea0b7; }
[data-bs-theme="dark"] .punishment-note { border-color:#273548; background:#101923; }
[data-bs-theme="dark"] .punishment-note strong { color:#edf4fc; }
[data-bs-theme="dark"] .punishment-note span { color:#a8b6c8; }
[data-bs-theme="dark"] .punishment-page-heading h1 { color:#f4f8fe; }
[data-bs-theme="dark"] .punishment-page-heading p { color:#a6b3c4; }
[data-bs-theme="dark"] .punishment-table-card { border-color:#273548; background:#101923; }
[data-bs-theme="dark"] .punishment-table-card__head { border-color:#273548; background:#0f1822; }
[data-bs-theme="dark"] .punishment-table-card__head .card-title { color:#f2f6fb; }
[data-bs-theme="dark"] .punishment-search { background:#0d141d; border-color:#273548; }
[data-bs-theme="dark"] .punishment-search .form-control { border-color:#2c394a !important; background:#0f1720; color:#edf4fc; }

@media (max-width: 991.98px) {
  .home-feature-row { grid-template-columns:1fr; }
  .punishment-grid { grid-template-columns:1fr; }
  .punishment-hero { align-items:flex-start; }
  .punishment-hero__icon { width:72px; height:72px; flex-basis:72px; font-size:32px; }
}
@media (max-width: 767.98px) {
  .punishment-page-heading { align-items:flex-start; flex-direction:column; }
  .punishment-page-heading .btn { width:100%; }
  .punishment-hero { padding:22px; }
  .punishment-hero h1 { font-size:1.85rem; }
  .punishment-table { min-width:740px; }
  .supporter-card--featured { transform:none; }
  .supporter-card--featured:hover { transform:translateY(-4px); }
}

/* ===== Craftriva readability pass / v2 ===== */
:root {
  --crv-text-strong: #15243a;
  --crv-text: #26364d;
  --crv-text-muted: #617189;
  --crv-border-soft: #dfe7f1;
  --crv-surface: #ffffff;
  --crv-surface-soft: #f6f9fd;
}

/* Light mode: remove low-contrast text and hard-to-read UI inherited from Tabler/custom rules. */
[data-bs-theme="light"] body {
  color: var(--crv-text) !important;
  background: #f4f7fb !important;
}
[data-bs-theme="light"] .page-wrapper { color: var(--crv-text) !important; }
[data-bs-theme="light"] p,
[data-bs-theme="light"] .text-muted,
[data-bs-theme="light"] .small,
[data-bs-theme="light"] small,
[data-bs-theme="light"] label,
[data-bs-theme="light"] .form-label,
[data-bs-theme="light"] .form-hint {
  color: var(--crv-text-muted) !important;
}
[data-bs-theme="light"] h1,
[data-bs-theme="light"] h2,
[data-bs-theme="light"] h3,
[data-bs-theme="light"] h4,
[data-bs-theme="light"] h5,
[data-bs-theme="light"] h6,
[data-bs-theme="light"] .card-title,
[data-bs-theme="light"] .page-title {
  color: var(--crv-text-strong) !important;
}
[data-bs-theme="light"] .navbar,
[data-bs-theme="light"] .navbar .navbar-brand,
[data-bs-theme="light"] .navbar .nav-link,
[data-bs-theme="light"] .navbar .nav-link > span {
  color: #33445b !important;
}
[data-bs-theme="light"] .navbar .nav-link { font-weight: 700 !important; }
[data-bs-theme="light"] .navbar .nav-link:hover,
[data-bs-theme="light"] .navbar .nav-item.active > .nav-link {
  color: #1d4ed8 !important;
  background: #eef4ff !important;
}
[data-bs-theme="light"] .navbar .btn-transparent { color: #33445b !important; }
[data-bs-theme="light"] .navbar .btn-primary { color: #fff !important; }
[data-bs-theme="light"] .navbar-toggler { color: #33445b !important; border-color: #cfd9e6 !important; }
[data-bs-theme="light"] .breadcrumb,
[data-bs-theme="light"] .breadcrumb-item,
[data-bs-theme="light"] .breadcrumb-item.active { color: #5e7088 !important; }
[data-bs-theme="light"] .breadcrumb-item a { color: #1d4ed8 !important; }
[data-bs-theme="light"] .table,
[data-bs-theme="light"] .table td,
[data-bs-theme="light"] .table th { color: #27384d !important; }
[data-bs-theme="light"] .table thead th { color: #55667c !important; }
[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-select {
  color: #25364d !important;
  background: #fff !important;
  border-color: #d5dfeb !important;
}
[data-bs-theme="light"] .form-control::placeholder { color: #7a899c !important; opacity: 1 !important; }
[data-bs-theme="light"] .dropdown-menu { background: #fff !important; color: #26364d !important; border-color: #d7e0ea !important; }
[data-bs-theme="light"] .dropdown-item { color: #314158 !important; }
[data-bs-theme="light"] .dropdown-item:hover,
[data-bs-theme="light"] .dropdown-item:focus,
[data-bs-theme="light"] .dropdown-item.active { color: #173a79 !important; background: #edf4ff !important; }
[data-bs-theme="light"] .footer,
[data-bs-theme="light"] .craft-footer { color: #60738c !important; }
[data-bs-theme="light"] .footer a,
[data-bs-theme="light"] .craft-footer a { color: #315fbf !important; }

/* Dark mode: keep text bright enough on deep backgrounds. */
[data-bs-theme="dark"] p,
[data-bs-theme="dark"] .text-muted,
[data-bs-theme="dark"] .small,
[data-bs-theme="dark"] small,
[data-bs-theme="dark"] label,
[data-bs-theme="dark"] .form-label,
[data-bs-theme="dark"] .form-hint { color: #aebbd0 !important; }
[data-bs-theme="dark"] .table,
[data-bs-theme="dark"] .table td,
[data-bs-theme="dark"] .table th { color: #edf4fb !important; }
[data-bs-theme="dark"] .table thead th { color: #c6d3e3 !important; }

/* Combined punishment list */
.punishment-all-page .punishment-hero { margin-bottom: 18px; }
.punishment-combined-card { overflow: hidden; }
.punishment-combined-head {
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:20px 22px !important;
}
.punishment-combined-kicker { color:#3f75cf; font-size:.68rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; margin-bottom:.25rem; }
.punishment-combined-head .card-title { margin-bottom:.2rem !important; }
.punishment-combined-subtitle { margin:0 !important; color:#6b7b90 !important; }
.punishment-combined-status {
  display:inline-flex; align-items:center; gap:7px; white-space:nowrap;
  padding:8px 11px; border:1px solid #d9e4f0; border-radius:12px; background:#f7faff; color:#5c6f87; font-size:.78rem; font-weight:800;
}
.punishment-combined-status i { font-size:17px; }
.punishment-combined-status .ti-loader-2 { animation:crv-spin .9s linear infinite; }
@keyframes crv-spin { to { transform:rotate(360deg); } }
.punishment-combined-card .punishment-search { border-top:1px solid #e7edf4; }
.punishment-combined-table th:nth-child(1) { width:105px; }
.punishment-combined-table th:nth-child(2) { min-width:150px; }
.punishment-combined-table th:nth-child(3) { min-width:145px; }
.punishment-combined-table th:nth-child(4) { min-width:280px; }
.punishment-reason-cell { max-width:420px; white-space:normal; line-height:1.45; }
.punishment-category-badge { display:inline-flex; align-items:center; justify-content:center; min-width:72px; padding:.4rem .6rem; border-radius:9px; font-size:.68rem; font-weight:900; letter-spacing:.04em; }
.punishment-category-badge--danger { background:#fff0f0; color:#c93636; }
.punishment-category-badge--info { background:#ebf5ff; color:#2c6fbf; }
.punishment-category-badge--warning { background:#fff6df; color:#b87600; }
.punishment-category-badge--success { background:#eafaf4; color:#118354; }
.punishment-combined-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:46px 20px; text-align:center; color:#718198; }
.punishment-combined-empty i { font-size:34px; color:#93a4b8; }
.punishment-combined-empty strong { font-size:1.05rem; color:#30415a; }

[data-bs-theme="dark"] .punishment-combined-kicker { color:#8db9ff; }
[data-bs-theme="dark"] .punishment-combined-subtitle { color:#a9b6c8 !important; }
[data-bs-theme="dark"] .punishment-combined-status { background:#101923; border-color:#2b3a4d; color:#aebbd0; }
[data-bs-theme="dark"] .punishment-category-badge--danger { background:#3b1d22; color:#ff9da3; }
[data-bs-theme="dark"] .punishment-category-badge--info { background:#172f49; color:#9fc6ff; }
[data-bs-theme="dark"] .punishment-category-badge--warning { background:#3a2d17; color:#ffd27b; }
[data-bs-theme="dark"] .punishment-category-badge--success { background:#15352b; color:#8fe2bd; }
[data-bs-theme="dark"] .punishment-combined-empty { color:#9dacbf; }
[data-bs-theme="dark"] .punishment-combined-empty strong { color:#edf4fb; }

@media (max-width: 767.98px) {
  .punishment-combined-head { align-items:flex-start; flex-direction:column; }
  .punishment-combined-status { width:100%; justify-content:center; }
}


/* Footer menu + screenshot-matched readability fixes */
.craft-footer__menu-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  padding:.35rem 0 1.35rem;
}
.craft-footer__menu-group {
  display:flex;
  flex-direction:column;
  min-width:0;
}
.craft-footer__menu-title {
  color:#24364f;
  font-size:.88rem;
  font-weight:800;
  margin-bottom:.6rem;
  padding:0 .35rem .65rem;
  border-bottom:1px solid #e8edf3;
}
.craft-footer__menu-group a {
  display:flex;
  align-items:center;
  gap:.62rem;
  min-height:42px;
  padding:.45rem .35rem;
  border-radius:9px;
  color:#52657f !important;
  font-size:.82rem;
  font-weight:600;
  text-decoration:none !important;
}
.craft-footer__menu-group a i {
  width:20px;
  text-align:center;
  font-size:1rem;
  color:#6e85a4;
}
.craft-footer__menu-group a:hover {
  color:#1d5dc9 !important;
  background:#f2f6fb;
}
.craft-footer__menu-group a:hover i { color:#2563eb; }
.craft-footer__divider { border-top:1px solid #e6ebf2; margin-bottom:1rem; }

/* The hero cards are intentionally dark in the Flat redesign, so their text must stay light. */
[data-bs-theme="light"] .site-hero__eyebrow,
[data-bs-theme="light"] .site-hero__title,
[data-bs-theme="light"] .site-hero__text,
[data-bs-theme="light"] .site-hero__server-line,
[data-bs-theme="light"] .store-hero h1,
[data-bs-theme="light"] .vip-hero h1,
[data-bs-theme="light"] .store-hero p,
[data-bs-theme="light"] .vip-hero p {
  color:#f4f8ff !important;
}
[data-bs-theme="light"] .site-hero__eyebrow { color:#b8d4ff !important; }
[data-bs-theme="light"] .site-hero__text,
[data-bs-theme="light"] .store-hero p,
[data-bs-theme="light"] .vip-hero p { color:#a9bdd7 !important; }
[data-bs-theme="light"] .site-hero__server-line { color:#afc1d8 !important; }

/* Category card: match the requested Towny-style entry card. */
.store-category-card {
  display:block;
  overflow:hidden;
  border:1px solid #d8e3ef !important;
  border-radius:12px !important;
  background:#fff !important;
  color:#21344e !important;
  box-shadow:0 10px 28px rgba(29,56,93,.08) !important;
  text-decoration:none !important;
  transform:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.store-category-card:hover {
  transform:translateY(-3px) !important;
  border-color:#c3d7f0 !important;
  box-shadow:0 16px 34px rgba(29,56,93,.13) !important;
}
.store-category-card__image {
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#eef3f8;
}
.store-category-card__image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.store-category-card__body {
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1rem 1rem 1.1rem;
}
.store-category-card__body .section-kicker {
  margin:0 0 .25rem;
  color:#6b7f9e !important;
  font-size:.57rem;
  letter-spacing:.18em;
}
.store-category-card__body h2 {
  margin:0;
  color:#1f62d1 !important;
  font-size:1rem;
  font-weight:900;
  letter-spacing:-.01em;
  text-transform:none;
}
.store-category-card__arrow {
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#eef6ff;
  color:#1f68db;
  font-size:1.15rem;
}
[data-bs-theme="dark"] .store-category-card {
  background:#101a2b !important;
  border-color:#2a3d58 !important;
  color:#eef5ff !important;
}
[data-bs-theme="dark"] .store-category-card__body .section-kicker { color:#8fa6c5 !important; }
[data-bs-theme="dark"] .store-category-card__body h2 { color:#70a8ff !important; }
[data-bs-theme="dark"] .store-category-card__arrow { background:#182d4b; color:#81b4ff; }

@media (max-width:767.98px) {
  .craft-footer__menu-grid { grid-template-columns:1fr; gap:1.2rem; }
  .craft-footer__menu-group { text-align:left; }
}

/* ===== Global flat button readability patch =====
   Fixes low-contrast text/icons caused by global anchor colors and disabled states.
   Loaded last so it safely overrides earlier theme rules. */

/* Base: every button uses a consistent flat treatment and visible content. */
.btn,
button.btn,
a.btn,
input.btn,
.btn .ti,
.btn i,
.btn svg,
.btn span {
  text-decoration: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

.btn {
  min-height: 40px;
  border-radius: 8px !important;
  border-width: 1px !important;
  font-weight: 700 !important;
  line-height: 1.25;
  opacity: 1 !important;
}

.btn:not(.btn-icon) {
  padding: .6rem .95rem !important;
}

.btn .ti,
.btn i,
.btn svg {
  color: currentColor !important;
  fill: currentColor;
  opacity: 1 !important;
}

/* Primary */
.btn-primary,
.btn-primary:visited,
a.btn-primary,
a.btn-primary:visited {
  background: #2563eb !important;
  background-image: none !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  background: #1d4ed8 !important;
  background-image: none !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Secondary / neutral */
.btn-secondary,
.btn-secondary:visited,
a.btn-secondary,
a.btn-secondary:visited {
  background: #64748b !important;
  background-image: none !important;
  border-color: #64748b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
  background: #475569 !important;
  border-color: #475569 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Semantic solid buttons */
.btn-success,
.btn-success:visited,
a.btn-success,
a.btn-success:visited {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active { background:#15803d !important; border-color:#15803d !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }

.btn-danger,
.btn-danger:visited,
a.btn-danger,
a.btn-danger:visited {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active { background:#b91c1c !important; border-color:#b91c1c !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }

.btn-warning,
.btn-warning:visited,
a.btn-warning,
a.btn-warning:visited {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active { background:#d97706 !important; border-color:#d97706 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }

.btn-info,
.btn-info:visited,
a.btn-info,
a.btn-info:visited {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active { background:#0369a1 !important; border-color:#0369a1 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }

.btn-light,
.btn-light:visited,
a.btn-light,
a.btn-light:visited {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #1e293b !important;
  -webkit-text-fill-color: #1e293b !important;
}
.btn-light:hover,
.btn-light:focus,
.btn-light:active { background:#e2e8f0 !important; border-color:#94a3b8 !important; color:#0f172a !important; -webkit-text-fill-color:#0f172a !important; }

.btn-dark,
.btn-dark:visited,
a.btn-dark,
a.btn-dark:visited {
  background: #1e293b !important;
  border-color: #1e293b !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active { background:#0f172a !important; border-color:#0f172a !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* Outline buttons: strong text and border in both themes. */
.btn-outline-primary,
.btn-outline-primary:visited,
a.btn-outline-primary,
a.btn-outline-primary:visited {
  background: #ffffff !important;
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
  background:#2563eb !important;
  border-color:#2563eb !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}

.btn-outline-secondary,
.btn-outline-secondary:visited,
a.btn-outline-secondary,
a.btn-outline-secondary:visited {
  background:#fff !important;
  border-color:#94a3b8 !important;
  color:#334155 !important;
  -webkit-text-fill-color:#334155 !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active { background:#64748b !important; border-color:#64748b !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* Link-style controls should remain readable, but not look like broken buttons. */
.btn-link,
.btn-link:visited,
a.btn-link,
a.btn-link:visited {
  background: transparent !important;
  border-color: transparent !important;
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8 !important;
  box-shadow: none !important;
}
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
  color:#1e40af !important;
  -webkit-text-fill-color:#1e40af !important;
}

/* Disabled controls still need readable text/icons. */
.btn:disabled,
.btn.disabled,
fieldset:disabled .btn {
  opacity: .72 !important;
  filter: none !important;
  cursor: not-allowed;
}
.btn-primary:disabled,
.btn-primary.disabled { color:#ffffff !important; -webkit-text-fill-color:#ffffff !important; background:#2563eb !important; border-color:#2563eb !important; }
.btn-danger:disabled,
.btn-danger.disabled { color:#ffffff !important; -webkit-text-fill-color:#ffffff !important; background:#dc2626 !important; border-color:#dc2626 !important; }

/* Icon-only buttons */
.btn-icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.btn-sm { min-height: 36px; }
.btn-sm.btn-icon { width:36px; min-width:36px; height:36px; min-height:36px; }
.btn-lg { min-height:46px; }

/* Dark theme outline/neutral readability */
[data-bs-theme="dark"] .btn-outline-primary,
[data-bs-theme="dark"] .btn-outline-primary:visited {
  background:#101923 !important;
  border-color:#5c95ef !important;
  color:#9fc6ff !important;
  -webkit-text-fill-color:#9fc6ff !important;
}
[data-bs-theme="dark"] .btn-outline-primary:hover,
[data-bs-theme="dark"] .btn-outline-primary:focus,
[data-bs-theme="dark"] .btn-outline-primary:active {
  background:#2563eb !important;
  border-color:#2563eb !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
[data-bs-theme="dark"] .btn-light,
[data-bs-theme="dark"] .btn-light:visited { background:#e2e8f0 !important; border-color:#e2e8f0 !important; color:#0f172a !important; -webkit-text-fill-color:#0f172a !important; }
[data-bs-theme="dark"] .btn-secondary,
[data-bs-theme="dark"] .btn-secondary:visited { background:#64748b !important; border-color:#64748b !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }

/* Keep menu/header/footer controls readable too. */
.craft-footer__control .btn,
.craft-footer__control .btn:visited,
.craft-footer__control .btn:hover,
.craft-footer__control .btn:focus,
.craft-footer__control .btn:active {
  color:#24405f !important;
  -webkit-text-fill-color:#24405f !important;
}
[data-bs-theme="dark"] .craft-footer__control .btn,
[data-bs-theme="dark"] .craft-footer__control .btn:visited,
[data-bs-theme="dark"] .craft-footer__control .btn:hover,
[data-bs-theme="dark"] .craft-footer__control .btn:focus,
[data-bs-theme="dark"] .craft-footer__control .btn:active {
  color:#e9f1fb !important;
  -webkit-text-fill-color:#e9f1fb !important;
}

/* Leaderboard: match the store's clean card treatment and give the lower part
   of the page a deliberate, finished appearance. */
.rankings-modern { padding:1.25rem 0 4.25rem; min-height:calc(100vh - 190px); }
.rankings-modern .breadcrumb { margin-bottom:1rem; }
.ranking-side-card,
.ranking-panel { overflow:hidden; border:1px solid #dce6f2; border-radius:18px; box-shadow:0 14px 38px rgba(20,45,80,.07); background:#fff; }
.ranking-side-card .card-header,
.ranking-panel .card-header { padding:1rem 1.15rem; border-bottom:1px solid #e8eef5; background:#fbfdff; }
.ranking-side-card .card-title,
.ranking-panel .card-title { margin:0; font-weight:850; color:#162842; }
.ranking-side-card .list-group-item { padding:.9rem 1.1rem; border-color:#e9eef5; background:transparent; }
.ranking-side-card .list-group-item a { display:block; font-weight:700; color:#4b627e; }
.ranking-side-card .list-group-item.active { border-left:3px solid #2563eb; background:#eef5ff; }
.ranking-side-card .list-group-item.active a { color:#1d4ed8; }
.ranking-panel #searchBox { padding:.85rem; background:#f7faff; border-bottom:1px solid #e8eef5; }
.ranking-panel #searchBox .form-control { min-height:44px; border:1px solid #dce5ef !important; background:#fff; }
.ranking-panel #searchBox .btn { min-height:44px; border-radius:10px !important; }
.ranking-panel .table { margin:0; }
.ranking-panel .table thead th { padding:.78rem .9rem; color:#5a6c82; background:#fbfdff; font-size:.73rem; font-weight:850; letter-spacing:.05em; text-transform:uppercase; }
.ranking-panel .table td { padding:.92rem; vertical-align:middle; color:#263a55; border-color:#e8eef5; font-weight:650; }
.ranking-panel .table tbody tr:hover > * { background:#f3f7fc; }
.ranking-panel .table img { width:25px; height:25px; object-fit:contain; }
.ranking-empty-space { height:2px; margin-top:1.25rem; border-radius:99px; background:linear-gradient(90deg,transparent,#dbe7f5,transparent); }
[data-bs-theme="dark"] .ranking-side-card,
[data-bs-theme="dark"] .ranking-panel { background:#101a27; border-color:#293a50; box-shadow:0 16px 40px rgba(0,0,0,.22); }
[data-bs-theme="dark"] .ranking-side-card .card-header,
[data-bs-theme="dark"] .ranking-panel .card-header { background:#0e1722; border-color:#293a50; }
[data-bs-theme="dark"] .ranking-side-card .card-title,
[data-bs-theme="dark"] .ranking-panel .card-title { color:#f1f6fc; }
[data-bs-theme="dark"] .ranking-side-card .list-group-item { border-color:#293a50; }
[data-bs-theme="dark"] .ranking-side-card .list-group-item a { color:#aebed2; }
[data-bs-theme="dark"] .ranking-side-card .list-group-item.active { background:#152945; border-left-color:#3b82f6; }
[data-bs-theme="dark"] .ranking-side-card .list-group-item.active a { color:#8dbbff; }
[data-bs-theme="dark"] .ranking-panel #searchBox { background:#0d141e; border-color:#293a50; }
[data-bs-theme="dark"] .ranking-panel #searchBox .form-control { background:#111c29; border-color:#2d4058 !important; color:#edf4fb; }
[data-bs-theme="dark"] .ranking-panel .table thead th { color:#aebed2; background:#0e1722; }
[data-bs-theme="dark"] .ranking-panel .table td { color:#edf4fb; border-color:#27384d; }
[data-bs-theme="dark"] .ranking-panel .table tbody tr:hover > * { background:#142236; }
[data-bs-theme="dark"] .ranking-empty-space { background:linear-gradient(90deg,transparent,#293e5a,transparent); }

/* Prevent a global anchor color from overriding button text in light mode. */
[data-bs-theme="light"] a.btn,
[data-bs-theme="light"] a.btn:visited,
[data-bs-theme="light"] a.btn:hover,
[data-bs-theme="light"] a.btn:focus,
[data-bs-theme="light"] a.btn:active {
  text-decoration:none !important;
}

/* ===== CraftRiva dark canvas lock / v17 =====
   The old Flat stylesheet re-applied its light page background after the
   dark-mode rules. That left a white strip whenever a page was shorter than
   its cards or footer. Force every outer canvas to the same dark color. */
html {
  min-height:100%;
  background:#080d14 !important;
}
body[data-bs-theme="dark"] {
  min-height:100vh;
  background:#080d14 !important;
  color:#edf3fb !important;
}
body[data-bs-theme="dark"] .page,
body[data-bs-theme="dark"] .page-wrapper,
body[data-bs-theme="dark"] .page-body,
body[data-bs-theme="dark"] .section,
body[data-bs-theme="dark"] .footer,
body[data-bs-theme="dark"] .craft-footer {
  background-color:#080d14 !important;
}
body[data-bs-theme="dark"] .page {
  min-height:100vh;
}
body[data-bs-theme="dark"] .page-wrapper {
  min-height:calc(100vh - 64px);
  overflow:visible;
}
body[data-bs-theme="dark"] .craft-footer {
  border-top-color:#24344a !important;
}

/* Always-visible store campaign: the entire strip is a link to the market. */
.craft-campaign-strip {
  min-height:48px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.65rem;
  padding:.65rem 1rem;
  background:linear-gradient(90deg,#1d4ed8,#2563eb 50%,#3b82f6);
  color:#fff !important;
  text-align:center;
  font-size:1rem;
  font-weight:900;
  letter-spacing:.025em;
  text-decoration:none !important;
  box-shadow:0 8px 22px rgba(37,99,235,.22);
  position:relative;
  z-index:1031;
}
.craft-campaign-strip:hover,
.craft-campaign-strip:focus {
  color:#fff !important;
  background:linear-gradient(90deg,#1e40af,#2563eb 50%,#2563eb);
  text-decoration:none !important;
}
.craft-campaign-strip__icon,
.craft-campaign-strip__cta { display:inline-flex; align-items:center; gap:.35rem; }
.craft-campaign-strip__icon { font-size:1.18rem; }
.craft-campaign-strip__cta { font-size:.72rem; padding:.3rem .55rem; border:1px solid rgba(255,255,255,.55); border-radius:999px; white-space:nowrap; }
@media (max-width: 650px) {
  .craft-campaign-strip { min-height:44px; font-size:.76rem; line-height:1.25; }
  .craft-campaign-strip__cta { display:none; }
}

/* ===== CraftRiva Java + Bedrock giriş rehberi v2 ===== */
.join-guide.join-guide--v2 {
  display:block;
  min-height:0;
  padding:2rem;
  background:
    radial-gradient(circle at 88% 8%, rgba(47,109,246,.14), transparent 30%),
    linear-gradient(145deg,#ffffff 0%,#f4f8ff 100%);
}
.join-guide-v2__heading {
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
  margin-bottom:1.5rem;
}
.join-guide-v2__heading h2 {
  margin:.15rem 0 .35rem;
  color:#14213a;
  font-size:clamp(1.8rem,3.4vw,2.7rem);
  font-weight:900;
  letter-spacing:-.045em;
}
.join-guide-v2__heading p { margin:0; color:#708198; }
.join-guide-v2__brand {
  display:flex;
  align-items:center;
  gap:.65rem;
  flex:0 0 auto;
  padding:.75rem 1rem;
  border:1px solid #d8e4f3;
  border-radius:16px;
  background:rgba(255,255,255,.78);
  color:#203656;
  font-weight:800;
  box-shadow:0 12px 28px rgba(31,77,145,.08);
}
.join-guide-v2__brand i { color:#2f6df6; font-size:1.55rem; }
.join-guide-v2__platforms {
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.join-platform-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:1.35rem;
  border:1px solid #dce6f3;
  border-radius:22px;
  background:rgba(255,255,255,.9);
  box-shadow:0 16px 38px rgba(39,77,132,.08);
}
.join-platform-card__head {
  display:flex;
  align-items:center;
  gap:.85rem;
  padding-bottom:1rem;
  border-bottom:1px solid #e7edf5;
}
.join-platform-card__icon {
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,#2f6df6,#5d92ff);
  box-shadow:0 10px 24px rgba(47,109,246,.22);
}
.join-platform-card__icon i { font-size:1.45rem; }
.join-platform-card__head span:not(.join-platform-card__icon) {
  display:block;
  margin-bottom:.08rem;
  color:#7b8da6;
  font-size:.68rem;
  font-weight:850;
  letter-spacing:.12em;
}
.join-platform-card__head h3 { margin:0; color:#182842; font-size:1.18rem; font-weight:850; }
.join-platform-steps {
  display:grid;
  gap:.9rem;
  margin:1.15rem 0;
  padding:0;
  list-style:none;
}
.join-platform-steps li { display:grid; grid-template-columns:34px minmax(0,1fr); gap:.7rem; align-items:start; }
.join-platform-steps li > span {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:1px solid #d8e5f7;
  border-radius:11px;
  background:#eef5ff;
  color:#2f6df6;
  font-size:.85rem;
  font-weight:900;
}
.join-platform-steps strong { display:block; margin:.03rem 0 .15rem; color:#20314b; font-size:.92rem; }
.join-platform-steps p { margin:0; color:#718197; font-size:.82rem; line-height:1.5; }
.join-address-card {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;
  width:100%;
  margin-top:auto;
  padding:.8rem .9rem;
  border:1px solid #cfe0f7;
  border-radius:14px;
  background:#eef5ff;
  color:#172b4a;
  text-align:left;
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}
.join-address-card:hover { transform:translateY(-2px); border-color:#86b0ef; background:#e6f0ff; }
.join-address-card span { min-width:0; }
.join-address-card small { display:block; margin-bottom:.14rem; color:#6c83a2; font-size:.63rem; font-weight:850; letter-spacing:.08em; }
.join-address-card strong { display:block; overflow-wrap:anywhere; color:#1f58b9; font-size:.93rem; }
.join-address-card > i { flex:0 0 auto; color:#2f6df6; font-size:1.3rem; }
[data-bs-theme="dark"] .join-guide.join-guide--v2 {
  background:radial-gradient(circle at 88% 8%,rgba(47,109,246,.17),transparent 30%),linear-gradient(145deg,#0e1828,#111f35);
  border-color:#263a57;
}
[data-bs-theme="dark"] .join-guide-v2__heading h2 { color:#f0f6ff; }
[data-bs-theme="dark"] .join-guide-v2__heading p { color:#98aac2; }
[data-bs-theme="dark"] .join-guide-v2__brand,
[data-bs-theme="dark"] .join-platform-card { background:rgba(13,24,40,.9); border-color:#2a3e5c; }
[data-bs-theme="dark"] .join-guide-v2__brand,
[data-bs-theme="dark"] .join-platform-card__head h3,
[data-bs-theme="dark"] .join-platform-steps strong { color:#eef5ff; }
[data-bs-theme="dark"] .join-platform-card__head { border-color:#283b57; }
[data-bs-theme="dark"] .join-platform-card__head span:not(.join-platform-card__icon),
[data-bs-theme="dark"] .join-platform-steps p { color:#98abc3; }
[data-bs-theme="dark"] .join-platform-steps li > span,
[data-bs-theme="dark"] .join-address-card { background:#142640; border-color:#2b4568; }
[data-bs-theme="dark"] .join-address-card:hover { background:#182d4b; border-color:#4671a8; }
[data-bs-theme="dark"] .join-address-card small { color:#91a8c5; }
[data-bs-theme="dark"] .join-address-card strong { color:#80afff; }
@media (max-width:767.98px) {
  .join-guide.join-guide--v2 { padding:1.15rem; border-radius:20px; }
  .join-guide-v2__heading { align-items:flex-start; }
  .join-guide-v2__brand { display:none; }
  .join-guide-v2__platforms { grid-template-columns:1fr; }
  .join-platform-card { padding:1.05rem; border-radius:18px; }
}

/* ===== Kalıcı ve açılır mağaza kategori ağacı v3 ===== */
.store-content { min-width:0; }
.store-tree-sidebar { overflow:hidden; }
.store-tree-sidebar .store-side-link {
  min-width:0;
  margin:0;
  text-decoration:none !important;
}
.store-tree-sidebar .store-side-link > span {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.store-side-node { margin:.12rem 0; }
.store-side-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) 36px;
  align-items:center;
  border:1px solid transparent;
  border-radius:12px;
  transition:background .18s ease,border-color .18s ease;
}
.store-side-row > .store-side-link { background:transparent !important; }
.store-side-node:not(.has-children) > .store-side-row {
  grid-template-columns:minmax(0,1fr);
}
.store-side-toggle {
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  margin-right:2px;
  padding:0;
  border:0;
  border-radius:9px;
  background:transparent;
  color:#6b91c8;
  cursor:pointer;
  transition:color .18s ease,background .18s ease;
}
.store-side-toggle:hover,
.store-side-toggle:focus-visible { color:#2563eb; background:rgba(37,99,235,.11); outline:0; }
.store-side-toggle i { display:block; line-height:1; transition:transform .2s ease; }
.store-side-node.is-open > .store-side-row .store-side-toggle i { transform:rotate(180deg); }
.store-side-node.is-active > .store-side-row {
  border-color:#cddfff;
  background:#edf4ff;
}
.store-side-node.is-active > .store-side-row > .store-side-link { color:#245fc7; }
.store-side-children {
  position:relative;
  margin:.18rem 0 .4rem 1.05rem;
  padding-left:.72rem;
}
.store-side-children::before {
  content:"";
  position:absolute;
  top:.28rem;
  bottom:.28rem;
  left:0;
  width:1px;
  background:#d8e4f3;
}
.store-side-children .store-side-link { padding:.58rem .55rem; font-size:.84rem; }
.store-side-children .store-side-row { grid-template-columns:minmax(0,1fr) 32px; }
.store-side-children .store-side-toggle { width:28px; height:28px; }

[data-bs-theme="dark"] .store-side-node.is-active > .store-side-row {
  border-color:#31527d;
  background:#142844;
}
[data-bs-theme="dark"] .store-side-node.is-active > .store-side-row > .store-side-link { color:#8dbbff; }
[data-bs-theme="dark"] .store-side-toggle { color:#7ca9e5; }
[data-bs-theme="dark"] .store-side-toggle:hover,
[data-bs-theme="dark"] .store-side-toggle:focus-visible { color:#b7d3ff; background:rgba(96,165,250,.12); }
[data-bs-theme="dark"] .store-side-children::before { background:#2a405d; }

@media (max-width:991.98px) {
  .store-tree-sidebar { position:static; }
}

/* ===== Daha görünür üst menü logosu v4 =====
   Header içindeki eski 24px sabitini dosyaya dokunmadan dengeli biçimde aşar. */
.navbar .container-xl {
  min-height:82px;
}
.navbar .navbar-brand {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:64px;
  margin-right:1rem;
  padding-top:0 !important;
  padding-bottom:0 !important;
  overflow:visible;
}
.navbar .navbar-brand > a {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:60px;
  min-height:60px;
}
.navbar .navbar-brand-image {
  width:auto !important;
  min-height:54px !important;
  max-height:54px !important;
  object-fit:contain;
}

@media (max-width:767.98px) {
  .navbar .container-xl { min-height:72px; }
  .navbar .navbar-brand { min-width:52px; margin-right:.45rem; }
  .navbar .navbar-brand > a { min-width:50px; min-height:50px; }
  .navbar .navbar-brand-image {
    min-height:46px !important;
    max-height:46px !important;
  }
}
