/* Hub layout ? T?rk Mod tarz? 3 s?tun */
:root {
  --brand: #7a1f2b;
  --brand-dark: #5c1520;
  --brand-soft: rgba(122, 31, 43, .1);
  --brand-pink: #f3e4e7;
  --hub-bg: #eef0f3;
  --hub-card: #ffffff;
  --hub-panel: var(--hub-card);
  --hub-border: #e4e7ec;
  --hub-muted: #6b7280;
  --hub-ink: #15181e;
  --hub-radius: 12px;
  --hub-radius-sm: 8px;
  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --header-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-bs-theme="dark"] {
  --hub-bg: #12141a;
  --hub-card: #1a1d24;
  --hub-panel: var(--hub-card);
  --hub-border: #2a2f3a;
  --hub-muted: #9aa3ad;
  --hub-ink: #f2f4f7;
  --brand-soft: rgba(122, 31, 43, .22);
  --brand-pink: rgba(122, 31, 43, .28);
}

.hub-body {
  font-family: var(--font);
  color: var(--hub-ink);
  background: var(--hub-bg);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
.hub-body.has-site-bg {
  background-color: var(--hub-bg);
  background-image:
    linear-gradient(
      180deg,
      rgba(241, 245, 249, 0.85) 0%,
      rgba(241, 245, 249, 0.92) 100%
    ),
    var(--site-bg-image);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
[data-bs-theme="dark"] .hub-body.has-site-bg {
  background-image:
    linear-gradient(
      180deg,
      rgba(15, 20, 31, 0.88) 0%,
      rgba(10, 13, 20, 0.94) 100%
    ),
    var(--site-bg-image);
}

/* High Contrast Glassmorphism for Site Background & Live Wallpaper */
.has-site-bg .hub-panel,
.has-site-bg .card,
.has-site-bg .mod-card,
.has-site-bg .hub-announce {
    background: rgba(15, 23, 42, 0.82) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.has-site-bg .hub-panel p,
.has-site-bg .card p,
.has-site-bg .mod-card p,
.has-site-bg .text-secondary,
.has-site-bg .text-muted,
.has-site-bg .small {
    color: #cbd5e1 !important;
}

.has-site-bg .hub-panel h1,
.has-site-bg .hub-panel h2,
.has-site-bg .hub-panel h3,
.has-site-bg .hub-panel h4,
.has-site-bg .hub-panel h5,
.has-site-bg .hub-panel h6,
.has-site-bg .card h1,
.has-site-bg .card h2,
.has-site-bg .card h3,
.has-site-bg .card h4,
.has-site-bg .card h5,
.has-site-bg .card h6,
.has-site-bg .text-body,
.has-site-bg .fw-bold {
    color: #ffffff !important;
}

html[data-bs-theme="light"] .has-site-bg .hub-panel,
html[data-bs-theme="light"] .has-site-bg .card,
html[data-bs-theme="light"] .has-site-bg .mod-card {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #0f172a !important;
}

html[data-bs-theme="light"] .has-site-bg .hub-panel p,
html[data-bs-theme="light"] .has-site-bg .card p,
html[data-bs-theme="light"] .has-site-bg .mod-card p,
html[data-bs-theme="light"] .has-site-bg .text-secondary,
html[data-bs-theme="light"] .has-site-bg .text-muted,
html[data-bs-theme="light"] .has-site-bg .small {
    color: #334155 !important;
}

html[data-bs-theme="light"] .has-site-bg .hub-panel h1,
html[data-bs-theme="light"] .has-site-bg .hub-panel h2,
html[data-bs-theme="light"] .has-site-bg .hub-panel h3,
html[data-bs-theme="light"] .has-site-bg .hub-panel h4,
html[data-bs-theme="light"] .has-site-bg .hub-panel h5,
html[data-bs-theme="light"] .has-site-bg .hub-panel h6,
html[data-bs-theme="light"] .has-site-bg .card h1,
html[data-bs-theme="light"] .has-site-bg .card h2,
html[data-bs-theme="light"] .has-site-bg .card h3,
html[data-bs-theme="light"] .has-site-bg .card h4,
html[data-bs-theme="light"] .has-site-bg .card h5,
html[data-bs-theme="light"] .has-site-bg .card h6,
html[data-bs-theme="light"] .has-site-bg .text-body,
html[data-bs-theme="light"] .has-site-bg .fw-bold {
    color: #0f172a !important;
}

/* Google Auth Button Dark Mode Fix */
.btn-google-auth,
a.btn[href*="auth/google"] {
    background-color: #ffffff !important;
    border-color: #e5e7eb !important;
    color: #1f2937 !important;
}
.btn-google-auth *,
a.btn[href*="auth/google"] span,
[data-bs-theme="dark"] a.btn[href*="auth/google"] span,
[data-bs-theme="dark"] a.btn[href*="auth/google"] {
    color: #1f2937 !important;
}

.container-hub {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  box-sizing: border-box;
}

/* ---------- Header ---------- */
.hub-header-inner {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: var(--header-h);
  overflow: visible;
}
.hub-header {
  background: var(--hub-card);
  border-bottom: 1px solid var(--hub-border);
  z-index: 1030;
  overflow: visible;
}
.maint-admin-banner {
  background: #fef3c7;
  color: #92400e;
  border-bottom: 1px solid #fcd34d;
  font-size: .88rem;
  font-weight: 650;
}
.maint-admin-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: .55rem 0;
}
.maint-admin-banner a {
  color: #92400e;
  font-weight: 800;
  text-decoration: underline;
}
.maint-admin-banner i { margin-right: .35rem; }
.hub-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.hub-logo:hover { color: inherit; }
.hub-logo-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: .95rem;
  overflow: hidden;
  flex-shrink: 0;
}
.hub-logo-mark.has-img {
  background: transparent;
  border: 1px solid var(--hub-border);
}
.hub-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hub-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.03em;
}
.hub-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-shrink: 0;
}
.hub-nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--hub-muted);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.hub-nav a:hover,
.hub-nav a.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}
.hub-search {
  position: relative;
  flex: 1 1 150px;
  min-width: 148px;
  max-width: 280px;
  margin-left: auto;
  display: flex;
  align-items: center;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  border-radius: 999px;
  padding: 0 .85rem 0 1rem;
  height: 40px;
  overflow: visible;
  z-index: 20;
}
.hub-search i {
  color: var(--hub-muted);
  font-size: .85rem;
  flex-shrink: 0;
}
.hub-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 .65rem 0 .55rem;
  color: var(--hub-ink);
  font: inherit;
  font-size: .9rem;
  line-height: 1.25;
  overflow: visible;
}
.hub-search input::-webkit-search-decoration,
.hub-search input::-webkit-search-cancel-button,
.hub-search input::-webkit-search-results-button,
.hub-search input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.hub-search .live-search-dropdown {
  position: absolute;
  display: block;
  left: 0;
  right: auto;
  top: calc(100% + 8px);
  width: 360px;
  max-width: min(360px, calc(100vw - 1.5rem));
  min-width: 260px;
  max-height: 380px;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid var(--hub-border);
  background: var(--hub-card);
  box-shadow: 0 12px 32px rgba(15, 18, 24, .14);
  z-index: 1200;
  padding: .25rem 0;
}
.hub-header-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.hub-lang-picker { position: relative; }
.hub-lang-btn {
  width: auto !important;
  min-width: 42px;
  padding: 0 .45rem !important;
  gap: .28rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .02em;
}
.hub-lang-btn::after {
  display: none;
}
.hub-lang-current {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.hub-lang-flag {
  display: inline-block;
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  flex-shrink: 0;
  vertical-align: middle;
}
.hub-lang-menu {
  min-width: 200px;
  max-height: min(70vh, 420px);
  overflow: auto;
}
.hub-lang-menu .dropdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.hub-lang-menu .dropdown-item.is-active {
  color: var(--brand);
  font-weight: 700;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.hub-lang-mobile {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--hub-border);
}
.hub-lang-mobile-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--hub-muted);
  margin-bottom: .55rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hub-lang-mobile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
}
.hub-lang-mobile-grid button {
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--hub-border);
  background: var(--hub-bg);
  font-weight: 800;
  font-size: .8rem;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hub-lang-mobile-grid button .hub-lang-flag {
  width: 22px;
  height: 16px;
}
.hub-lang-mobile-grid button.is-active,
.hub-lang-mobile-grid button:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.hub-icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--hub-muted);
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}
.hub-icon-btn:hover { background: var(--hub-bg); color: var(--brand); }
.hub-user-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--hub-border);
  background: var(--hub-card);
  border-radius: 999px;
  padding: .2rem .65rem .2rem .25rem;
  font-weight: 600;
  font-size: .85rem;
  color: var(--hub-ink);
}
.hub-user-chip img { border-radius: 50%; object-fit: cover; }
.hub-user-chip::after { margin-left: .15rem; }
.hub-cta-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 .9rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
}
.hub-cta-btn:hover { background: var(--brand-dark); color: #fff !important; }

/* ---------- Shell / grid ---------- */
.hub-breadcrumb,
.breadcrumb,
[class*="breadcrumb"] {
  display: none !important;
}

.hub-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 310px;
  gap: 1.25rem;
  padding: 1.25rem 0 2.5rem;
  align-items: start;
  width: 100%;
}
.hub-main {
  min-width: 0;
  display: grid;
  gap: .85rem;
  align-content: start;
}
.hub-aside {
  display: grid;
  gap: .85rem;
  align-content: start;
  align-self: start;
  height: max-content;
  max-height: none;
}
.hub-aside-left,
.hub-aside-right {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  min-width: 0;
  max-width: 100%;
}

.hub-panel {
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 1.25rem 1.4rem;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.hub-panel-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 .85rem;
  letter-spacing: -.02em;
}
.hub-main > .hub-panel > .hub-panel-title {
  font-size: 1.55rem;
  margin-bottom: .85rem;
}
.hub-seo-intro {
  margin: 0 0 1.1rem;
  color: var(--hub-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 100%;
}
.hub-seo-intro p {
  margin: 0 0 0.75rem 0;
  color: var(--hub-muted);
  line-height: 1.65;
}
.hub-seo-intro p:last-child {
  margin-bottom: 0;
}
.hub-seo-intro strong {
  color: var(--hub-text);
  font-weight: 700;
}
.hub-panel-more {
  display: block;
  text-align: center;
  margin-top: .75rem;
  padding: .55rem;
  border-radius: var(--hub-radius-sm);
  border: 1px solid var(--hub-border);
  color: var(--hub-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
}
.hub-panel-more:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--hub-border));
  color: var(--brand);
}

.hub-side-nav { display: grid; gap: .15rem; }
.hub-side-nav a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .58rem .7rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--hub-ink);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.hub-side-nav a i {
  width: 1.15rem;
  text-align: center;
  color: var(--hub-muted);
  flex-shrink: 0;
}
.hub-side-nav a:hover {
  background: color-mix(in srgb, var(--hub-bg) 80%, transparent);
  color: var(--hub-ink);
}
.hub-side-nav a:hover i { color: var(--brand); }
.hub-side-nav a.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 18%, transparent);
  box-shadow: inset 3px 0 0 var(--brand);
}
.hub-side-nav a.is-active i { color: var(--brand); }

.hub-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .25rem;
  max-height: none;
  overflow: visible;
}
.hub-cat-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: .45rem;
  align-items: center;
  padding: .45rem .4rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--hub-ink);
  font-size: .86rem;
  font-weight: 550;
}
.hub-cat-list a:hover { background: var(--hub-bg); color: var(--brand); }
.hub-cat-left {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
}
.hub-cat-left > span:last-child,
.hub-cat-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hub-cat-left i { color: var(--brand); width: 1rem; font-size: .8rem; flex-shrink: 0; }
.hub-cat-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  display: block;
}
.hub-cat-count {
  font-size: .72rem;
  font-weight: 700;
  color: var(--hub-muted);
  background: var(--hub-bg);
  padding: .15rem .4rem;
  border-radius: 6px;
}
.hub-cat-chevron { font-size: .65rem; color: var(--hub-muted); }

.hub-announce-rail {
  padding: .85rem 0 0;
}
.hub-announce-rail .container-hub {
  display: grid;
  gap: .65rem;
}
.hub-announce {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--brand) 8%, var(--hub-card)) 0%,
    var(--hub-card) 60%
  );
  box-shadow: 0 4px 20px color-mix(in srgb, var(--brand) 10%, transparent),
              0 1px 3px rgba(0,0,0,.06);
  transition: box-shadow .25s, transform .25s;
}
.hub-announce:hover {
  box-shadow: 0 8px 30px color-mix(in srgb, var(--brand) 18%, transparent),
              0 2px 6px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
/* Sol renkli şerit */
.hub-announce::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 50%, #ff6b35));
  border-radius: 4px 0 0 4px;
}
.hub-announce-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.2rem .9rem 1.4rem;
  flex-wrap: wrap;
}
/* İkon alanı */
.hub-announce-head {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  padding: .35rem .75rem;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  white-space: nowrap;
}
.hub-announce-head i {
  animation: announce-pulse 2s ease-in-out infinite;
}
@keyframes announce-pulse {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50%       { transform: rotate(8deg) scale(1.15); }
}
/* İçerik */
.hub-announce-body {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.hub-announce-body strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: var(--hub-ink);
  line-height: 1.3;
}
.hub-announce-body p {
  margin: 0;
  font-size: .85rem;
  color: var(--hub-muted);
  line-height: 1.55;
}


/* ---------- Main feed ---------- */
.hub-main { min-width: 0; display: grid; gap: .85rem; }

.hub-sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: .65rem .85rem;
}
.hub-sort-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--hub-muted);
}
.hub-sort-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.hub-sort-tab {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  color: var(--hub-muted);
  border: 1px solid transparent;
}
.hub-sort-tab:hover { color: var(--brand); background: var(--brand-soft); }
.hub-sort-tab.is-active {
  background: var(--brand);
  color: #fff;
}

.hub-showcase-wrap { margin-top: 1rem; }
.hub-showcase-row > [class*="col-"] {
  display: flex;
}
.hub-showcase-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: 168px;
  padding: 1rem;
  color: inherit;
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  transition: border-color .2s, box-shadow .2s;
}
.hub-showcase-card:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border));
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.hub-showcase-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: 100%;
  min-height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  line-height: 0;
}
.hub-showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hub-showcase-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: .25rem;
}
.hub-showcase-label {
  color: var(--hub-muted);
  font-size: .82rem;
}
.hub-showcase-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  font-family: var(--font-display);
}
.hub-showcase-title a {
  color: inherit;
  text-decoration: none;
}
.hub-showcase-title a:hover { color: var(--brand); }
.hub-showcase-excerpt {
  margin: 0;
  color: var(--hub-muted);
  font-size: .86rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}
.hub-showcase-btn {
  margin-top: auto;
  margin-left: 0;
  align-self: flex-start;
}
@media (max-width: 576px) {
  .hub-showcase-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: .65rem;
    padding: .7rem;
    min-height: 0;
  }
  .hub-showcase-thumb { min-height: 120px; }
}

.feed-list { display: grid; gap: .75rem; }

.feed-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: .85rem;
  align-items: stretch;
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: .75rem;
  transition: border-color .2s, box-shadow .2s;
}
.feed-card:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border));
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}
.feed-card-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  min-height: 0;
  line-height: 0;
}
.feed-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.feed-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.feed-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .35rem;
}
.feed-cat {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--brand-pink);
  color: var(--brand);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}
.feed-cat:hover { color: var(--brand-dark); }
.feed-card-meta time {
  font-size: .78rem;
  color: var(--hub-muted);
  white-space: nowrap;
}
.feed-card-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 .35rem;
  line-height: 1.25;
}
.feed-card-title a {
  color: inherit;
  text-decoration: none;
}
.feed-card-title a:hover { color: var(--brand); }
.feed-card-excerpt {
  margin: 0 0 .45rem;
  color: var(--hub-muted);
  font-size: .88rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-card-author {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 .55rem;
  color: var(--hub-muted);
  font-size: .8rem;
  min-width: 0;
}
.feed-card-author i { flex-shrink: 0; }
.feed-card-author span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.feed-card-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  width: 100%;
}
.feed-card-stats {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .55rem 1rem;
  color: var(--hub-muted);
  font-size: .8rem;
  min-width: 0;
}
.feed-card-stats i { margin-right: .25rem; }
.feed-card-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 36px;
  padding: 0 .95rem;
  border-radius: 9px;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: .86rem;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.feed-card-btn:hover { background: var(--brand-dark); color: #fff !important; }

.hub-empty { color: var(--hub-muted); font-size: .88rem; padding: .35rem; list-style: none; }
.hub-empty-panel {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--hub-muted);
}
.hub-empty-panel i { font-size: 1.8rem; margin-bottom: .5rem; color: var(--brand); }
.hub-breadcrumb .hub-bc-sep {
  margin: 0 .4rem;
  color: var(--hub-muted);
}
.hub-filter-inline {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hub-filter-inline input,
.hub-filter-inline select {
  height: 38px;
  border: 1px solid var(--hub-border);
  border-radius: 9px;
  padding: 0 .75rem;
  background: var(--hub-bg);
  color: var(--hub-ink);
  font: inherit;
  font-size: .88rem;
}
.hub-filter-inline input { flex: 1; min-width: 140px; }

/* ---------- Mod detail (hub) ---------- */
.hub-mod-hero {
  display: grid;
  gap: 1rem;
  padding: 1rem !important;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.hub-mod-cover {
  border-radius: 10px;
  overflow: hidden;
  background: #0f1115;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  line-height: 0;
}
.hub-mod-cover-btn {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.hub-mod-cover img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  max-height: none;
  object-fit: unset;
  display: block;
  transition: transform .35s var(--ease);
}
.hub-mod-cover-btn:hover img {
  transform: scale(1.03);
}
.hub-mod-cover-zoom {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(15, 18, 28, .55);
  color: #fff;
  font-size: .9rem;
  backdrop-filter: blur(6px);
  opacity: .85;
  transition: opacity .2s, transform .2s;
}
.hub-mod-cover-btn:hover .hub-mod-cover-zoom {
  opacity: 1;
  transform: translateY(-1px);
}
.hub-mod-head {
  min-width: 0;
  max-width: 100%;
}
.hub-mod-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin-bottom: .55rem;
}
.hub-mod-ver {
  font-size: .75rem;
  font-weight: 700;
  color: var(--hub-muted);
  background: var(--hub-bg);
  padding: .2rem .5rem;
  border-radius: 999px;
}
.hub-mod-tags time {
  margin-left: auto;
  font-size: .8rem;
  color: var(--hub-muted);
}
.hub-mod-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -.03em;
  margin: 0 0 .65rem;
  line-height: 1.2;
}
.hub-mod-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  color: var(--hub-muted);
  font-size: .84rem;
  margin-bottom: 1rem;
}
.hub-mod-stats i { margin-right: .3rem; color: var(--brand); }
.hub-mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .85rem;
}
.hub-mod-dl {
  height: 42px;
  padding: 0 1.15rem;
  font-size: .95rem;
}
.hub-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 42px;
  padding: 0 .9rem;
  border-radius: 9px;
  border: 1px solid var(--hub-border);
  background: var(--hub-card);
  color: var(--hub-ink);
  font: inherit;
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  cursor: pointer;
}
.hub-ghost-btn:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--hub-border));
  color: var(--brand);
}
.hub-mod-rate {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--hub-muted);
}
.hub-mod-tags-cloud { margin-top: .25rem; }
.hub-grid-detail {
  grid-template-columns: 240px minmax(0, 1fr) minmax(250px, 310px);
  gap: 1.15rem;
  align-items: start;
  overflow: visible;
}
.hub-grid-detail > .hub-main {
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: .85rem;
  align-content: start;
  overflow-x: hidden;
}
.hub-grid-detail > .hub-main > * {
  min-width: 0;
  max-width: 100%;
}
.hub-grid-detail > .hub-aside-right {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  align-self: start;
  height: max-content;
  align-content: start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  z-index: 1;
}
.hub-grid-detail > .hub-aside-right > .hub-panel {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.hub-grid-detail .download-list { display: grid; gap: .5rem; width: 100%; }
.hub-grid-detail .download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .55rem .65rem;
  border: 1px solid var(--hub-border);
  border-radius: 10px;
  background: var(--hub-bg);
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, background .15s ease;
}
.hub-grid-detail a.download-row:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border));
  background: color-mix(in srgb, var(--brand) 6%, var(--hub-bg));
  color: inherit;
}
.hub-grid-detail .download-row > div {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}
.hub-grid-detail .download-row strong {
  font-size: .88rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.download-size {
  display: block;
  margin-top: .15rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--hub-muted, #6b7280);
  letter-spacing: .01em;
}
.download-modal-row .download-size {
  margin-top: .2rem;
}
.hub-grid-detail .mirror-flag {
  display: inline-block;
  margin-left: .35rem;
  font-size: .7rem;
  font-weight: 700;
  color: var(--brand);
}
.hub-grid-detail .author-row {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hub-grid-detail .author-fallback {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.hub-grid-detail .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.hub-grid-detail .mod-report-band {
  background: var(--hub-card);
  border-color: color-mix(in srgb, var(--brand) 25%, var(--hub-border));
}
.hub-grid-detail .comment-form { margin-bottom: 1rem; }
.hub-grid-detail .comment-form textarea {
  width: 100%;
  border: 1px solid var(--hub-border);
  border-radius: 10px;
  padding: .75rem .85rem;
  background: var(--hub-bg);
  color: var(--hub-ink);
  margin-bottom: .65rem;
}
.hub-grid-detail .comment-item {
  border-top: 1px solid var(--hub-border);
  padding-top: 1rem;
  margin-top: 1rem;
}
@media (max-width: 1100px) and (min-width: 901px) {
  .hub-grid-detail {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .hub-grid-detail > .hub-aside-left { display: none !important; }
  .hub-grid-detail > .hub-aside-right { display: grid !important; }
}
@media (max-width: 900px) {
  .hub-grid-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .hub-grid-detail > .hub-aside-left { display: none !important; }
  .hub-grid-detail > .hub-aside-right {
    position: static;
    order: 2;
    display: grid !important;
  }
  .hub-grid-detail > .hub-main { order: 1; }
  .hub-mod-cover { width: 100%; }
  .hub-mod-tags time { margin-left: 0; width: auto; }
}

/* Right widgets */
.hub-comment-list,
.hub-popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
  min-width: 0;
  max-width: 100%;
}
.hub-comment-list > li {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.hub-comment-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: .55rem;
  text-decoration: none;
  color: inherit;
  padding: .25rem;
  border-radius: 8px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.hub-comment-row:hover { background: var(--hub-bg); }
.hub-comment-avatar-link {
  display: block;
  width: 36px;
  height: 36px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}
.hub-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.hub-comment-body {
  display: grid;
  gap: .1rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.hub-comment-body strong {
  display: block;
  font-size: .84rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hub-comment-body .comment-user-link {
  display: inline;
}
.hub-comment-excerpt {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.hub-comment-excerpt:hover em { color: var(--brand); }
.hub-comment-body em {
  display: block;
  font-style: normal;
  color: var(--hub-muted);
  font-size: .78rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.hub-comment-body time {
  display: block;
  font-size: .72rem;
  color: var(--hub-muted);
}

.hub-popular-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: .6rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding: .2rem;
  border-radius: 8px;
}
.hub-popular-row:hover { background: var(--hub-bg); }
.hub-popular-row img {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 7px;
  margin-top: .1rem;
}
.hub-popular-row > span {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.hub-popular-row strong {
  display: block;
  font-size: .84rem;
  line-height: 1.3;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}
.hub-popular-row small { color: var(--hub-muted); font-size: .75rem; }

.hub-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  max-width: 100%;
  min-width: 0;
  width: 100%;
}
.hub-tag-cloud-page {
  gap: .55rem;
}
.hub-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  color: var(--hub-ink);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.25;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  gap: .35rem;
}
.hub-tag-lg {
  font-size: .88rem;
  padding: .45rem .85rem;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.hub-tag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  padding: .05rem .35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-size: .72rem;
  font-weight: 800;
}
.hub-tag:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--hub-border));
  color: var(--brand);
}
.hub-aside-right .hub-tag,
.hub-grid-detail > .hub-aside-right .hub-tag {
  max-width: 100%;
  font-size: .74rem;
  padding: .3rem .55rem;
}
.hub-mod-tags-cloud .hub-tag {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-overflow: unset;
}
.hub-tag:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

/* Download gate / redirect page */
.dl-gate {
  max-width: 920px;
  margin: 0 auto 2rem;
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: 0 12px 36px rgba(15, 18, 24, .06);
}
.dl-gate-head h1 {
  margin: 0 0 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.dl-gate-layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: 1.35rem 1.5rem;
  align-items: start;
}
.dl-gate-side {
  display: grid;
  gap: .85rem;
  position: sticky;
  top: 1rem;
}
.dl-gate-btn-side {
  min-height: 48px;
  font-size: 1rem;
}
.dl-gate-side-hint {
  margin: .35rem 0 0;
  text-align: center;
  font-size: .78rem;
  color: var(--hub-muted);
  line-height: 1.35;
}
.dl-gate-info { min-width: 0; }
.dl-vt-panel {
  margin-top: 1.1rem;
  padding: .95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--hub-border);
  background: color-mix(in srgb, var(--hub-bg) 70%, var(--hub-card));
}
.dl-vt-loading,
.dl-vt-result,
.dl-vt-off,
.dl-vt-error {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.dl-vt-loading > i,
.dl-vt-off > i,
.dl-vt-error > i,
.dl-vt-result-icon {
  font-size: 1.35rem;
  margin-top: .1rem;
  color: var(--brand);
  flex-shrink: 0;
}
.dl-vt-loading strong,
.dl-vt-off strong,
.dl-vt-error strong,
.dl-vt-result strong {
  display: block;
  font-size: .98rem;
  margin-bottom: .2rem;
}
.dl-vt-loading p,
.dl-vt-off p,
.dl-vt-error p,
.dl-vt-result p {
  margin: 0;
  font-size: .88rem;
  color: var(--hub-muted);
  line-height: 1.45;
}
.dl-vt-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .65rem 0 .35rem;
}
.dl-vt-stat {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  background: var(--hub-card);
  font-size: .75rem;
  font-weight: 700;
}
.dl-vt-stat.is-ok { color: #15803d; border-color: color-mix(in srgb, #15803d 28%, var(--hub-border)); }
.dl-vt-stat.is-bad { color: #b91c1c; border-color: color-mix(in srgb, #b91c1c 28%, var(--hub-border)); }
.dl-vt-stat.is-warn { color: #b45309; border-color: color-mix(in srgb, #b45309 28%, var(--hub-border)); }
.dl-vt-result.is-clean .dl-vt-result-icon { color: #15803d; }
.dl-vt-result.is-risk .dl-vt-result-icon { color: #b91c1c; }
.dl-vt-result.is-pending .dl-vt-result-icon { color: #b45309; }
.dl-vt-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .45rem;
  font-size: .84rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}
.dl-vt-link:hover { text-decoration: underline; }
.dl-gate-after {
  margin-top: .35rem;
}
.dl-gate-after.is-waiting .dl-gate-cta-note { opacity: .85; }
.dl-gate-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 1.35rem 1.5rem;
  align-items: start;
}
.dl-gate-meta {
  margin: 0;
  display: grid;
  gap: .7rem;
}
.dl-gate-meta > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: .55rem;
  align-items: baseline;
}
.dl-gate-meta dt {
  margin: 0;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hub-muted);
}
.dl-gate-meta dd {
  margin: 0;
  font-size: .98rem;
  font-weight: 650;
}
.dl-gate-meta a { color: var(--brand); text-decoration: none; font-weight: 700; }
.dl-gate-meta a:hover { text-decoration: underline; }
.dl-gate-safe.is-clean { color: #15803d; font-weight: 700; }
.dl-gate-safe.is-risk { color: #b91c1c; font-weight: 700; }
.dl-gate-safe.is-unknown { color: var(--hub-muted); }
.dl-gate-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .7rem;
}
.dl-gate-stars { color: #eab308; letter-spacing: .05em; }
.dl-gate-cta-note {
  margin: 1.1rem 0 .85rem;
  text-align: center;
  color: var(--hub-muted);
  font-size: .92rem;
}
.dl-gate-form { margin: 0; }
.dl-gate-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--brand, #7a1f2b);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 32%, transparent);
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.dl-gate-btn:hover { filter: brightness(1.06); transform: translateY(-1px); color: #fff; }
.dl-gate-cover {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  background: #111;
  line-height: 0;
}
.dl-gate-cover img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: unset;
  display: block;
}
.dl-gate-mirrors {
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--hub-border);
}
.dl-gate-mirrors h2 {
  margin: 0 0 .45rem;
  font-size: .82rem;
  font-weight: 800;
  color: var(--hub-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dl-gate-mirrors ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.dl-gate-mirrors a {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  border: 1px solid var(--hub-border);
  text-decoration: none;
  color: inherit;
  font-weight: 650;
  font-size: .9rem;
}
.dl-gate-mirrors a:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border));
  background: color-mix(in srgb, var(--brand) 6%, transparent);
}
.dl-gate-mirrors small { color: var(--hub-muted); font-weight: 600; }
.dl-gate-back {
  margin: 1rem 0 0;
  text-align: center;
}
.dl-gate-back a {
  color: var(--hub-muted);
  text-decoration: none;
  font-weight: 650;
  font-size: .9rem;
}
.dl-gate-back a:hover { color: var(--brand); }
.dl-gate-disclaimer {
  margin: 1.25rem 0 .85rem;
  text-align: center;
  font-size: .84rem;
  color: var(--hub-muted);
  font-style: italic;
  line-height: 1.5;
}
.dl-gate-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}
.dl-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  background: var(--hub-bg);
  font-size: .78rem;
  font-weight: 700;
  color: var(--hub-muted);
  text-decoration: none;
}
.dl-trust-chip.is-clean { color: #15803d; border-color: color-mix(in srgb, #15803d 25%, var(--hub-border)); }
.dl-trust-chip.is-risk { color: #b91c1c; border-color: color-mix(in srgb, #b91c1c 25%, var(--hub-border)); }
@media (max-width: 760px) {
  .dl-gate { padding: 1.15rem 1rem 1.1rem; }
  .dl-gate-layout,
  .dl-gate-main { grid-template-columns: 1fr; }
  .dl-gate-side { position: static; }
  .dl-gate-cover { max-width: 420px; margin-inline: auto; width: 100%; }
  .dl-gate-meta > div { grid-template-columns: 92px minmax(0, 1fr); }
}

/* Footer */
.hub-footer {
  background: var(--hub-card);
  border-top: 1px solid var(--hub-border);
  padding: 2.5rem 0 0;
  margin-top: 1rem;
}
.hub-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.hub-footer h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 800;
  margin: 0 0 .75rem;
}
.hub-footer ul { list-style: none; margin: 0; padding: 0; }
.hub-footer li { margin-bottom: .4rem; }
.hub-footer a { color: var(--hub-muted); text-decoration: none; font-size: .9rem; }
.hub-footer a:hover { color: var(--brand); }
.hub-footer-lead,
.hub-footer-note {
  color: var(--hub-muted);
  font-size: .9rem;
  margin: .75rem 0 0;
  line-height: 1.5;
}
.hub-footer-updates {
  border-top: 1px solid var(--hub-border);
  padding: 1.25rem 0 1.5rem;
}
.hub-footer-updates-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.hub-footer-updates-head h3 {
  margin: 0;
}
.hub-footer-updates-head a {
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand);
}
.hub-footer-updates-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .45rem .85rem;
}
.hub-footer-updates-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .45rem;
  align-items: center;
  padding: .4rem .55rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--hub-bg) 70%, transparent);
  border: 1px solid var(--hub-border);
  color: var(--hub-muted);
  text-decoration: none;
  font-size: .82rem;
}
.hub-footer-updates-list a:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border));
  color: var(--hub-ink);
}
.hub-footer-ver {
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.hub-footer-ver-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
}
.hub-footer-updates-list time {
  font-size: .72rem;
  opacity: .85;
  white-space: nowrap;
}
.changelog-hero {
  margin: .5rem 0 1.25rem;
}
.changelog-hero h1 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.changelog-hero p {
  margin: 0;
  color: var(--hub-muted);
}
.changelog-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}
.changelog-item h2 {
  margin: .35rem 0 .55rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 800;
}
.changelog-item-head {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  align-items: center;
}
.changelog-ver {
  display: inline-flex;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-weight: 800;
  font-size: .8rem;
}
.changelog-item-head time {
  color: var(--hub-muted);
  font-size: .82rem;
}
.changelog-item ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--hub-muted);
  display: grid;
  gap: .3rem;
}
.changelog-item li { line-height: 1.45; }
.hub-logo-footer { margin-bottom: .25rem; }
.hub-footer-bottom {
  border-top: 1px solid var(--hub-border);
  padding: .9rem 0;
  font-size: .85rem;
  color: var(--hub-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
}
.hub-footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem .85rem;
}
.hub-footer-vt {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .7rem;
  border-radius: 10px;
  border: 1px solid var(--hub-border);
  background: var(--hub-bg);
  text-decoration: none !important;
  color: inherit !important;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.hub-footer-vt:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border));
  transform: translateY(-1px);
}
.hub-footer-vt-brand {
  color: var(--hub-muted);
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: .68rem;
}
.hub-footer-vt-score {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 800;
}
.hub-footer-vt.is-clean .hub-footer-vt-score { color: #15803d; }
.hub-footer-vt.is-risk .hub-footer-vt-score { color: #b91c1c; }
.hub-footer-vt-label {
  padding: .15rem .4rem;
  border-radius: 999px;
  background: color-mix(in srgb, #15803d 12%, transparent);
  color: #15803d;
  font-size: .7rem;
}
.hub-footer-vt.is-risk .hub-footer-vt-label {
  background: color-mix(in srgb, #b91c1c 12%, transparent);
  color: #b91c1c;
}

/* Align old brand buttons with maroon */
.btn-brand-solid,
.btn-brand {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
}
.btn-brand-solid:hover,
.btn-brand:hover {
  background: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
}

/* Inner pages: keep content readable on hub bg */
main > .container {
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}

/* ---------- Auth pages ---------- */
main > .auth-shell {
  padding: 0;
  margin: 0;
}

.auth-shell {
  min-height: calc(100vh - var(--header-h) - 72px);
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem 2.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 8% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 62%),
    radial-gradient(700px 380px at 100% 100%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 55%),
    linear-gradient(180deg, #f4f5f7 0%, var(--hub-bg) 55%, #e8eaee 100%);
}

[data-bs-theme="dark"] .auth-shell {
  background:
    radial-gradient(900px 420px at 8% 0%, color-mix(in srgb, var(--brand) 28%, transparent), transparent 62%),
    radial-gradient(700px 380px at 100% 100%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 55%),
    linear-gradient(180deg, #101218 0%, var(--hub-bg) 60%, #0d0f14 100%);
}

.auth-card {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-radius: 22px;
  overflow: hidden;
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  box-shadow:
    0 1px 2px rgba(15, 18, 28, .04),
    0 24px 48px rgba(15, 18, 28, .08);
  animation: authCardIn .55s var(--ease) both;
}

.auth-card--compact {
  width: min(820px, 100%);
}

@keyframes authCardIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.auth-visual {
  position: relative;
  min-height: 100%;
  padding: 2.5rem 2rem;
  color: #fff;
  background:
    linear-gradient(155deg, #5c1520 0%, var(--brand) 42%, #9a2f3d 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.auth-visual-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 68%);
  animation: authGlow 7s ease-in-out infinite alternate;
  z-index: 0;
}

.auth-visual-road {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 18%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.55) 0 28px,
    transparent 28px 48px
  );
  opacity: .45;
  animation: authRoad 1.8s linear infinite;
  z-index: 0;
}

.auth-visual-road::before,
.auth-visual-road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,.18);
}
.auth-visual-road::before { top: -18px; }
.auth-visual-road::after { bottom: -18px; }

@keyframes authRoad {
  from { background-position: 0 0; }
  to { background-position: 76px 0; }
}

@keyframes authGlow {
  from { transform: translate(0, 0) scale(1); opacity: .8; }
  to { transform: translate(-24px, 18px) scale(1.12); opacity: 1; }
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  width: 100%;
  animation: authFadeUp .65s .12s var(--ease) both;
}

@keyframes authFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.auth-visual-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(6px);
}

.auth-visual-brand {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  letter-spacing: -.04em;
  line-height: 1.1;
}

.auth-visual-title {
  margin: 0 0 .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  line-height: 1.3;
  max-width: 16ch;
}

.auth-visual-text {
  margin: 0 0 1.25rem;
  font-size: .9rem;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 28ch;
}

.auth-visual-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.auth-visual-perks li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

.auth-visual-perks i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  font-size: .75rem;
}

.auth-panel {
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--hub-card);
  animation: authFadeUp .6s .18s var(--ease) both;
}

.auth-panel-head {
  margin-bottom: 1rem;
}

.auth-eyebrow {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

.auth-panel-head h1 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  letter-spacing: -.03em;
  color: var(--hub-ink);
}

.auth-lead {
  margin: 0;
  color: var(--hub-muted);
  font-size: .92rem;
  line-height: 1.5;
}

.auth-form {
  display: grid;
  gap: .75rem;
}

.auth-field {
  display: grid;
  gap: .4rem;
  margin: 0;
}

.auth-field > span:first-child {
  font-size: .78rem;
  font-weight: 700;
  color: var(--hub-muted);
}

.auth-input-wrap {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 48px;
  padding: 0 .9rem;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--hub-bg) 65%, var(--hub-card));
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}

.auth-input-wrap > i:first-child {
  color: var(--hub-muted);
  font-size: .9rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.auth-input-wrap:focus-within {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--hub-border));
  box-shadow: 0 0 0 4px var(--brand-soft);
  background: var(--hub-card);
}

.auth-input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  height: 46px;
  padding: 0 !important;
  color: var(--hub-ink);
  font-size: .92rem;
  font-family: inherit;
}

.auth-input-wrap input::placeholder {
  color: color-mix(in srgb, var(--hub-muted) 75%, transparent);
}

.auth-pass-toggle {
  border: 0;
  background: transparent;
  color: var(--hub-muted);
  padding: .25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
  transition: color .15s;
}

.auth-pass-toggle:hover {
  color: var(--brand);
}

.auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.auth-check {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: .88rem;
  color: var(--hub-ink);
  cursor: pointer;
  user-select: none;
}

.auth-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand);
  margin: 0;
}

.auth-check span {
  margin: 0 !important;
  font-weight: 500;
  color: var(--hub-ink) !important;
  font-size: .88rem !important;
}

.auth-terms {
  align-items: flex-start !important;
  line-height: 1.45;
}

.auth-terms span a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.auth-terms span a:hover {
  text-decoration: underline;
}

.auth-forgot {
  font-size: .86rem;
  font-weight: 650;
  color: var(--brand);
  text-decoration: none;
}

.auth-forgot:hover {
  text-decoration: underline;
}

.auth-turnstile {
  display: flex;
  justify-content: flex-start;
  min-height: 65px;
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  min-height: 48px;
  margin-top: .15rem;
  border: 0;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 28%, transparent);
}

.auth-submit:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.auth-submit:active {
  transform: translateY(0);
}

.auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: .9rem;
  color: var(--hub-muted);
}

.auth-switch a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-switch i {
  margin-right: .25rem;
  font-size: .8rem;
}

@media (max-width: 820px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: auto;
    padding: 1.5rem 1.35rem 1.65rem;
    align-items: flex-start;
  }

  .auth-visual-road {
    display: none;
  }

  .auth-visual-title {
    max-width: none;
  }

  .auth-visual-text {
    max-width: none;
    margin-bottom: .85rem;
  }

  .auth-visual-perks {
    grid-template-columns: repeat(3, auto);
    gap: .65rem;
  }

  .auth-visual-perks li {
    font-size: .75rem;
  }

  .auth-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .auth-shell {
    padding: 1rem .75rem 1.75rem;
  }

  .auth-card {
    border-radius: 16px;
  }

  .auth-visual-perks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .hub-grid:not(.hub-grid-detail) {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .hub-grid:not(.hub-grid-detail) > .hub-aside-right { display: none; }
}
@media (max-width: 900px) {
  .hub-grid,
  .hub-grid:not(.hub-grid-detail),
  .hub-grid.hub-grid-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .hub-aside-left {
    position: static;
    display: none !important;
  }
  .hub-aside-right {
    position: static;
  }
  .feed-card {
    grid-template-columns: 148px minmax(0, 1fr);
    gap: .7rem;
    padding: .65rem;
  }
  .hub-footer-grid { grid-template-columns: 1fr 1fr; }
  .hub-search { max-width: none; }
  .hub-logo-text {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hub-sort-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-sort-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: .35rem;
    padding-bottom: .15rem;
    scrollbar-width: none;
  }
  .hub-sort-tabs::-webkit-scrollbar { display: none; }
  .hub-sort-tab { flex: 0 0 auto; }
  .hub-mod-title { font-size: 1.25rem; }
  .hub-mod-actions .feed-card-btn,
  .hub-mod-dl {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
  }
  .hub-mod-stats {
    font-size: .78rem;
    gap: .35rem .75rem;
  }
  .hub-breadcrumb {
    font-size: .78rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .hub-breadcrumb::-webkit-scrollbar { display: none; }
  .container-hub { padding-inline: .75rem; }
  .hub-header-inner { gap: .4rem; }
  .hub-panel { padding: .75rem; }
}
@media (max-width: 1280px) and (min-width: 992px) {
  .hub-nav a {
    padding: .4rem .45rem;
    font-size: .84rem;
    gap: .3rem;
  }
  .hub-search {
    max-width: 200px;
    min-width: 136px;
  }
  .hub-header-inner { gap: .55rem; }
}
@media (max-width: 576px) {
  .feed-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: .55rem;
    padding: .55rem;
  }
  .feed-card-thumb {
    align-self: stretch;
  }
  .feed-card-title { font-size: .95rem; }
  .feed-card-excerpt {
    -webkit-line-clamp: 2;
    font-size: .8rem;
  }
  .feed-card-foot {
    flex-wrap: nowrap;
    gap: .45rem;
  }
  .feed-card-stats {
    gap: .4rem .55rem;
    font-size: .72rem;
  }
  .feed-card-btn {
    height: 32px;
    padding: 0 .7rem;
    font-size: .78rem;
    margin-left: auto;
    justify-content: center;
  }
  .hub-footer-grid { grid-template-columns: 1fr; }
  .hub-nav { display: none !important; }
  .hub-mod-hero { padding: .75rem !important; }
  .hub-mod-cover { width: 100%; }
  .hub-mod-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hub-mod-actions .hub-mod-dl,
  .hub-mod-actions > .feed-card-btn {
    grid-column: 1 / -1;
  }
  .hub-mod-actions .dropdown { width: 100%; }
  .hub-mod-actions .dropdown .hub-ghost-btn { width: 100%; justify-content: center; }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .45rem;
  }
  .mod-report-band {
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }
  .mod-report-band .hub-ghost-btn { width: 100%; justify-content: center; }
  .comment-guest-fields {
    grid-template-columns: 1fr !important;
  }
  .hub-pager-controls { gap: .4rem; }
  .hub-pager-btn { min-height: 40px; padding: 0 .75rem; font-size: .82rem; }
  .hub-pager-pages { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Pagination / pager ---------- */
.hub-pagination {
  margin-top: 1.25rem;
  margin-bottom: .5rem;
}

.hub-pager {
  display: grid;
  gap: .85rem;
  padding: 1rem 2.5rem;
  border: 1px solid var(--hub-border);
  border-radius: 14px;
  background: var(--hub-card);
  width: 100%;
  box-sizing: border-box;
}

.hub-pager-info {
  text-align: center;
  font-size: .88rem;
  color: var(--hub-muted);
}

.hub-pager-info strong {
  color: var(--hub-ink);
}

.hub-pager-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}

.hub-pager-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 10px;
  border: 1px solid var(--hub-border);
  background: var(--hub-card);
  color: var(--hub-ink);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.hub-pager-btn:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--hub-border));
  color: var(--brand);
  background: var(--brand-soft);
}

.hub-pager-next:not(.is-disabled) {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 25%, transparent);
}

.hub-pager-next:not(.is-disabled):hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.hub-pager-btn.is-disabled {
  opacity: .45;
  pointer-events: none;
}

.hub-pager-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hub-pager-pages a,
.hub-pager-pages span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .55rem;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--hub-ink);
  border: 1px solid transparent;
}

.hub-pager-pages a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.hub-pager-pages .is-active span {
  background: var(--brand);
  color: #fff;
}

.hub-pager-pages .is-ellipsis span {
  border: 0;
  color: var(--hub-muted);
  min-width: 24px;
}

@media (max-width: 640px) {
  .hub-pager-controls {
    flex-direction: column;
  }
  .hub-pager-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Account / Profile ---------- */
.account-shell {
  padding: 1.5rem 0 2.75rem;
  min-height: calc(100vh - var(--header-h) - 80px);
  background:
    radial-gradient(720px 280px at 0% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--hub-bg) 40%, #fff) 0%, var(--hub-bg) 100%);
  animation: accountIn .45s var(--ease) both;
}

[data-bs-theme="dark"] .account-shell {
  background:
    radial-gradient(720px 280px at 0% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 60%),
    linear-gradient(180deg, #12141a 0%, var(--hub-bg) 100%);
}

@keyframes accountIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.account-hero {
  margin-bottom: 1.15rem;
}

.account-hero--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.account-eyebrow {
  margin: 0 0 .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

.account-hero-copy h1 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  letter-spacing: -.03em;
  color: var(--hub-ink);
}

.account-hero-copy p {
  margin: 0;
  color: var(--hub-muted);
  font-size: .95rem;
  max-width: 42ch;
}

.account-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.account-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: .3rem;
  margin: 0 0 1rem;
  padding: .35rem;
  border: 1px solid var(--hub-border);
  border-radius: 14px;
  background: var(--hub-card);
  box-shadow: 0 1px 2px rgba(15, 18, 28, .03);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--hub-muted) 40%, transparent) transparent;
}
.account-tabs::-webkit-scrollbar { height: 5px; }
.account-tabs::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--hub-muted) 40%, transparent);
  border-radius: 999px;
}

.account-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem .8rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--hub-muted);
  font-weight: 650;
  font-size: .84rem;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background .2s var(--ease), color .2s, transform .2s;
}

.account-tabs a i { font-size: .82rem; flex-shrink: 0; }

.account-tabs a:hover {
  color: var(--hub-ink);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.account-tabs a.is-active {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 22%, transparent);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.profile-card {
  position: sticky;
  top: calc(var(--header-h) + 14px);
  border: 1px solid var(--hub-border);
  border-radius: 20px;
  padding: 1.6rem 1.25rem 1.35rem;
  background: var(--hub-card);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 18, 28, .06);
}

.profile-card-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%);
  pointer-events: none;
}

.profile-avatar-wrap {
  position: relative;
  width: 118px;
  margin: 0 auto 1rem;
  z-index: 1;
}

.profile-avatar {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--brand) 40%, #fff);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--brand) 22%, transparent);
}

.profile-role {
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  white-space: nowrap;
}

.profile-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  margin: .95rem 0 .15rem;
  letter-spacing: -.02em;
  color: var(--hub-ink);
}

.profile-handle {
  position: relative;
  z-index: 1;
  color: var(--hub-muted);
  font-size: .9rem;
  margin-bottom: .7rem;
}

.profile-bio {
  position: relative;
  z-index: 1;
  color: var(--hub-muted);
  font-size: .9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.profile-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
  margin: 0 0 1rem;
  padding: .75rem .4rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--hub-bg) 80%, var(--hub-card));
  border: 1px solid var(--hub-border);
}

.profile-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--hub-ink);
  letter-spacing: -.02em;
}

.profile-stats span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--hub-muted);
}

.avatar-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .55rem;
  margin-bottom: .85rem;
}
.avatar-preset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 55%, var(--hub-border));
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .86rem;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
.avatar-preset-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.avatar-form { margin: 0; }
.avatar-upload { display: block; cursor: pointer; }
.avatar-upload input { display: none; }
.avatar-upload span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--hub-border));
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: .88rem;
  transition: background .2s, border-color .2s, transform .2s;
}
.avatar-upload:hover span {
  background: color-mix(in srgb, var(--brand) 18%, transparent);
  border-style: solid;
  transform: translateY(-1px);
}

body.avatar-picker-open { overflow: hidden; }
.avatar-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.avatar-picker-modal[hidden] { display: none !important; }
.avatar-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, .62);
  backdrop-filter: blur(3px);
}
.avatar-picker-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(88vh, 640px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--hub-border);
  background: var(--hub-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  padding: 1.1rem 1.15rem 1.25rem;
}
.avatar-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
}
.avatar-picker-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hub-ink);
}
.avatar-picker-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--hub-bg) 70%, var(--hub-card));
  color: var(--hub-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.avatar-picker-hint {
  margin: 0 0 .95rem;
  color: var(--hub-muted);
  font-size: .88rem;
}
.avatar-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: .7rem;
}
.avatar-picker-option {
  appearance: none;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.avatar-picker-option img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar-picker-option:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
}
.avatar-picker-option.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent);
}

.profile-joined {
  margin: 0;
  font-size: .8rem;
  color: var(--hub-muted);
  position: relative;
  z-index: 1;
}
.profile-joined i { margin-right: .3rem; }

.account-main {
  display: grid;
  gap: 1rem;
}

.account-panel {
  border: 1px solid var(--hub-border);
  border-radius: 18px;
  padding: 1.35rem 1.3rem;
  background: var(--hub-card);
  box-shadow: 0 8px 22px rgba(15, 18, 28, .04);
}

.account-panel-head {
  margin-bottom: 1.15rem;
}

.account-panel-head h2 {
  margin: 0 0 .25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.02em;
  color: var(--hub-ink);
}

.account-panel-head p {
  margin: 0;
  color: var(--hub-muted);
  font-size: .9rem;
}

.account-form {
  display: grid;
  gap: .95rem;
}

.account-field {
  display: grid;
  gap: .4rem;
  margin: 0;
}

.account-field > span:first-child {
  font-size: .78rem;
  font-weight: 700;
  color: var(--hub-muted);
}

.account-input {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 48px;
  padding: 0 .9rem;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--hub-bg) 70%, var(--hub-card));
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.account-input i {
  color: var(--hub-muted);
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.account-input:focus-within {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--hub-border));
  box-shadow: 0 0 0 4px var(--brand-soft);
  background: var(--hub-card);
}

.account-input input,
.account-form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--hub-ink);
  font-family: inherit;
  font-size: .92rem;
  box-shadow: none !important;
}

.account-input input {
  height: 46px;
  padding: 0;
}

.account-form textarea {
  min-height: 110px;
  padding: .9rem 1rem;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--hub-bg) 70%, var(--hub-card));
  resize: vertical;
}

.account-form textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--hub-border));
  box-shadow: 0 0 0 4px var(--brand-soft);
  background: var(--hub-card);
}

.account-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 46px;
  padding: 0 1.15rem;
  border-radius: 12px;
  border: 0;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}

.account-btn-sm {
  min-height: 40px;
  padding: 0 .95rem;
  font-size: .86rem;
  border-radius: 10px;
}

.account-btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 28%, transparent);
}

.account-btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}

.account-btn-ghost {
  background: transparent;
  color: var(--hub-ink);
  border: 1px solid var(--hub-border);
}

.account-btn-ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--hub-border));
  color: var(--brand);
  background: var(--brand-soft);
}

.account-btn-danger {
  background: color-mix(in srgb, #c62828 12%, var(--hub-card));
  color: #b71c1c;
  border: 1px solid color-mix(in srgb, #c62828 28%, var(--hub-border));
}

.account-btn-danger:hover {
  background: #c62828;
  color: #fff;
  border-color: #c62828;
}

.account-panel-danger {
  border-color: color-mix(in srgb, #c62828 35%, var(--hub-border));
  background: color-mix(in srgb, #c62828 5%, var(--hub-card));
}

.account-panel-danger .account-panel-head h2 {
  color: #b71c1c;
}

.account-empty {
  text-align: center;
  padding: 3rem 1.25rem;
  border: 1px dashed var(--hub-border);
  border-radius: 18px;
  background: var(--hub-card);
}

.account-empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.35rem;
}

.account-empty h2 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
}

.account-empty p {
  margin: 0 0 1.1rem;
  color: var(--hub-muted);
}

.notif-list {
  display: grid;
  gap: .75rem;
}

.notif-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--gp-card-border, #e2e8f0);
  border-left: 4px solid var(--gp-pill-border, #cbd5e1);
  border-radius: 12px;
  background: var(--gp-card-bg, #ffffff);
  box-shadow: 0 2px 6px rgba(15, 23, 42, .04);
  transition: all .2s ease;
  overflow: hidden;
}

.notif-card:hover {
  border-color: var(--gp-accent, #38bdf8);
  box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
  transform: translateY(-1px);
}

.notif-card.is-unread {
  background: var(--gp-card-inner, #f8fafc);
  border-color: rgba(56, 189, 248, 0.4);
}

/* Color Accents by Type */
.notif-card.notif-accent--danger {
  border-left-color: #ef4444;
}
.notif-card.notif-accent--danger .notif-icon-badge {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.notif-card.notif-accent--success {
  border-left-color: #10b981;
}
.notif-card.notif-accent--success .notif-icon-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.notif-card.notif-accent--info {
  border-left-color: #0284c7;
}
.notif-card.notif-accent--info .notif-icon-badge {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

.notif-card.notif-accent--warning {
  border-left-color: #f59e0b;
}
.notif-card.notif-accent--warning .notif-icon-badge {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.notif-card.notif-accent--purple {
  border-left-color: #a855f7;
}
.notif-card.notif-accent--purple .notif-icon-badge {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.notif-content-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.notif-icon-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.notif-details {
  flex: 1;
  min-width: 0;
}

.notif-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--gp-ink-title, #0f172a);
  line-height: 1.35;
}

.notif-message {
  font-size: 0.88rem;
  color: var(--gp-ink-body, #334155);
  line-height: 1.5;
  margin-top: 0.15rem;
}

.notif-meta {
  font-size: 0.78rem;
  color: var(--gp-ink-muted, #64748b);
  display: flex;
  align-items: center;
  margin-top: 0.25rem;
}

.notif-delete-form {
  padding-right: 1rem;
  margin: 0;
}

.notif-del-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all .15s ease;
  font-size: 0.95rem;
}

.notif-del-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}

.history-list,
.mymods-list {
  display: grid;
  gap: .75rem;
}

.history-item,
.mymod-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: .9rem 1rem;
  border: 1px solid var(--hub-border);
  border-radius: 14px;
  background: var(--hub-card);
  transition: border-color .2s, box-shadow .2s;
}

.history-item:hover,
.mymod-item:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border));
  box-shadow: 0 8px 20px rgba(15, 18, 28, .05);
}

@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
  .profile-card {
    position: static;
  }
  .account-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .history-item,
  .mymod-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .history-actions,
  .mymod-actions {
    grid-column: 1 / -1;
  }
  .account-tabs a {
    flex: 0 0 auto;
    justify-content: center;
    font-size: .8rem;
    padding: .5rem .7rem;
  }
  .account-hero-actions {
    width: 100%;
  }
  .account-hero-actions .account-btn {
    flex: 1;
  }
}

/* Public member profile ? social layout */
.sm-profile {
  background: var(--hub-panel, var(--hub-card, #fff));
  color: var(--hub-ink);
  border: 1px solid var(--hub-border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: .75rem;
  box-shadow: 0 10px 36px rgba(15, 18, 24, .06);
}
.sm-profile-banner {
  height: 200px;
  position: relative;
  background:
    radial-gradient(120% 180% at 10% 0%, color-mix(in srgb, var(--brand, #7a1f2b) 55%, #1a0a0c) 0%, transparent 55%),
    linear-gradient(125deg, #3a1016 0%, var(--brand, #7a1f2b) 42%, #1f2937 100%);
  background-size: cover;
  background-position: center;
}
.sm-profile-banner.has-cover {
  background-color: #1a1a1a;
}
.sm-profile-banner-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, transparent 40%, rgba(0,0,0,.35) 100%);
  z-index: 1;
}
.sm-cover-actions {
  position: absolute;
  right: .85rem;
  bottom: .85rem;
  display: flex;
  gap: .4rem;
  z-index: 2;
}
.sm-cover-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 0;
  border-radius: 999px;
  padding: .5rem .95rem;
  background: rgba(12, 14, 18, .58);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.sm-cover-btn:hover { background: rgba(12, 14, 18, .78); color: #fff; transform: translateY(-1px); }
.sm-cover-btn-danger { padding: .5rem .7rem; }
.sm-cover-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.sm-cover-upload-form,
.sm-cover-remove-form { margin: 0; }
.sm-profile-body {
  padding: 0 1.25rem 1.15rem;
  position: relative;
}
.sm-profile-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  margin-top: -58px;
  margin-bottom: .85rem;
  min-height: 78px;
}
.sm-profile-avatar-wrap {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  padding: 4px;
  background:
    linear-gradient(145deg, var(--hub-panel, #fff), var(--hub-panel, #fff)) padding-box,
    linear-gradient(145deg, var(--brand, #7a1f2b), color-mix(in srgb, var(--brand) 35%, #f5d76e)) border-box;
  border: 3px solid transparent;
  box-shadow: 0 10px 28px rgba(15, 18, 24, .16);
  flex-shrink: 0;
}
.sm-profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--hub-bg);
}
.sm-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border-radius: 999px;
  padding: .55rem 1.05rem;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--brand, #7a1f2b);
  color: #fff;
  margin-bottom: .35rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.sm-profile-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 35%, transparent); }
.sm-profile-btn-outline {
  background: var(--hub-panel, #fff);
  color: inherit;
  border-color: var(--hub-border);
  box-shadow: 0 2px 8px rgba(15, 18, 24, .04);
}
.sm-profile-btn-outline:hover {
  background: var(--hub-bg);
  color: inherit;
  border-color: color-mix(in srgb, var(--brand) 30%, var(--hub-border));
}
.sm-profile-identity { margin-bottom: .15rem; }
.sm-profile-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
}
.sm-profile-handle {
  margin: .2rem 0 .7rem;
  color: var(--hub-muted);
  font-weight: 600;
  font-size: .95rem;
}
.sm-profile-bio {
  margin: 0 0 .85rem;
  line-height: 1.6;
  font-size: .95rem;
  white-space: pre-wrap;
  max-width: 54ch;
  color: color-mix(in srgb, var(--hub-ink) 88%, var(--hub-muted));
}
.sm-profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .7rem;
  margin-bottom: 1rem;
}
.kofi-support-row {
  margin: -.35rem 0 1rem;
}
.kofi-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: #29abe0;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(41, 171, 224, .28);
  transition: transform .2s var(--ease), filter .2s, box-shadow .2s;
}
.kofi-btn i { font-size: .95rem; }
.kofi-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(41, 171, 224, .38);
}
.sm-meta-item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--hub-muted);
  font-weight: 600;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
}
.sm-meta-verified {
  color: #1d9bf0;
  background: color-mix(in srgb, #1d9bf0 10%, var(--hub-bg));
  border-color: color-mix(in srgb, #1d9bf0 22%, var(--hub-border));
}
@media print {
  .hub-breadcrumb, .hub-footer, .hub-header,
  .sidebar-left, .hub-aside-right, .cookie-notice { display: none !important; }
}
.sm-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.sm-stat {
  border: 1px solid var(--hub-border);
  background: color-mix(in srgb, var(--hub-bg) 70%, var(--hub-panel, #fff));
  padding: .7rem .75rem;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 calc(25% - .55rem);
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.sm-stat strong {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.sm-stat span {
  font-size: .78rem;
  color: var(--hub-muted);
  font-weight: 700;
  text-decoration: none !important;
}
.sm-stat:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border));
  background: color-mix(in srgb, var(--brand) 7%, var(--hub-panel, #fff));
  transform: translateY(-1px);
  color: inherit;
}
.sm-stat:hover span,
.sm-stat.is-active span { color: inherit; text-decoration: none; }
.sm-stat.is-active {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--hub-border));
  background: color-mix(in srgb, var(--brand) 10%, var(--hub-panel, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 18%, transparent);
}
.sm-profile-tabs {
  display: flex;
  flex-wrap: nowrap;
  border-top: 1px solid var(--hub-border);
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 4;
  background: color-mix(in srgb, var(--hub-panel, #fff) 96%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-x: auto;
  scrollbar-width: none;
}
.sm-profile-tabs::-webkit-scrollbar { display: none; }
.sm-tab {
  border: 0;
  background: transparent;
  padding: .9rem .65rem;
  font-weight: 700;
  color: var(--hub-muted);
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .88rem;
  flex: 1 1 0;
  min-width: max-content;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.sm-tab i { font-size: .85rem; opacity: .85; }
.sm-tab:hover { background: var(--hub-bg); color: inherit; }
.sm-tab.is-active {
  color: var(--hub-ink);
}
.sm-tab.is-active::after {
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand, #7a1f2b);
}
.sm-tab-panel { display: none; }
.sm-tab-panel.is-active { display: grid; gap: .75rem; }
.sm-compose {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  margin: 0;
  padding: .85rem 1rem 0;
}
.sm-compose-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.sm-compose-main { min-width: 0; }
.sm-compose .fb-compose { padding: 0; border: 0; box-shadow: none; background: transparent; }

/* Facebook-style status composer */
.fb-compose-panel {
  padding: 0 !important;
  overflow: hidden;
}
.fb-compose {
  background: var(--hub-panel, #fff);
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  padding: .85rem .95rem .7rem;
  display: grid;
  gap: .55rem;
}
.fb-compose-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
}
.fb-compose-top:has(> .fb-compose-input:only-child),
.sm-compose .fb-compose-top {
  grid-template-columns: minmax(0, 1fr);
}
.fb-compose-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.fb-compose-input {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  resize: none;
  min-height: 52px;
  padding: .35rem 0 !important;
  font-size: 1.05rem !important;
  line-height: 1.4;
  color: inherit;
  border-radius: 0 !important;
}
.fb-compose-input:focus {
  outline: none !important;
  box-shadow: none !important;
}
.fb-compose-input::placeholder {
  color: var(--hub-muted);
  font-weight: 500;
}
.fb-compose-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  background: var(--hub-bg);
}
.fb-compose-preview img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}
.fb-compose-preview-remove {
  position: absolute;
  top: .45rem;
  right: .45rem;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.fb-compose-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.fb-chip {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand, #7a1f2b) 12%, transparent);
  color: var(--brand, #7a1f2b);
}
.fb-chip-visibility { background: color-mix(in srgb, #0ea5e9 14%, transparent); color: #0369a1; }
.fb-chip-mod { background: color-mix(in srgb, #6366f1 14%, transparent); color: #4338ca; }
.fb-chip-youtube { background: color-mix(in srgb, #ff0000 12%, transparent); color: #b91c1c; }
.fb-compose-url {
  width: 100%;
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  padding: .55rem .7rem;
  background: var(--hub-panel, #fff);
  color: inherit;
}
.fb-compose-hint {
  display: block;
  margin-top: .35rem;
  font-size: .75rem;
  color: var(--hub-muted);
}
.fb-yt-preview {
  margin-top: .65rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  aspect-ratio: 16 / 9;
  background: #000;
}
.fb-yt-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.fb-tool-video { color: #ff0000; }
.fb-tool-video:hover { color: #cc0000; background: color-mix(in srgb, #ff0000 10%, transparent); }
.fb-compose-panel[data-fb-panel] {
  border: 1px solid var(--hub-border);
  border-radius: 10px;
  padding: .65rem .75rem;
  background: var(--hub-bg);
}
.fb-compose-panel-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--hub-muted);
  margin-bottom: .35rem;
}
.fb-compose-panel select {
  width: 100%;
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  padding: .5rem .65rem;
  background: var(--hub-panel, #fff);
  color: inherit;
}
.fb-compose-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: .45rem;
  row-gap: .4rem;
  border-top: 1px solid var(--hub-border);
  padding-top: .55rem;
  margin-top: .15rem;
  min-width: 0;
  width: 100%;
}
.fb-compose-footer-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--hub-muted);
  flex-shrink: 0;
  white-space: nowrap;
  grid-column: 1;
}
.fb-compose-tools {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .05rem;
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  grid-column: 2;
}
.fb-compose-tools::-webkit-scrollbar { display: none; }
.fb-tool {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  border: 0;
  background: transparent;
  color: var(--hub-muted);
  font-weight: 700;
  font-size: .8rem;
  padding: .4rem .45rem;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
}
.fb-tool:hover,
.fb-tool.is-active {
  background: var(--hub-bg);
  color: inherit;
}
.fb-tool-photo { color: #45bd62; }
.fb-tool-photo:hover { color: #2f9e49; background: color-mix(in srgb, #45bd62 12%, transparent); }
.fb-tool[data-fb-toggle="stage"] i { color: #f7b928; }
.fb-tool[data-fb-toggle="visibility"] i { color: #5890ff; }
.fb-tool[data-fb-toggle="mod"] i { color: #f5533d; }
.fb-tool-photo input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.fb-compose-post {
  grid-column: 3;
  margin-left: 0;
  border: 0;
  border-radius: 8px;
  padding: .5rem 1.05rem;
  background: var(--brand, #7a1f2b);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
  min-width: 88px;
  flex-shrink: 0;
  justify-self: end;
  z-index: 1;
}
.fb-compose-post:hover { filter: brightness(1.06); }

/* Profil / dar sütun: ikonlar, Paylaş ayrı kalır */
.sm-compose .fb-compose-footer {
  grid-template-columns: minmax(0, 1fr) auto;
}
.sm-compose .fb-compose-footer-label { display: none; }
.sm-compose .fb-compose-tools { grid-column: 1; }
.sm-compose .fb-compose-post { grid-column: 2; }
.sm-compose .fb-tool span { display: none; }
.sm-compose .fb-tool { padding: .45rem .5rem; }

.account-select {
  width: 100%;
  border: 1px solid var(--hub-border);
  border-radius: 10px;
  padding: .55rem .7rem;
  background: var(--hub-bg);
  color: inherit;
}
.account-hint {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  color: var(--hub-muted);
  font-weight: 400;
}
.sm-timeline {
  background: var(--hub-panel, #fff);
  border: 1px solid var(--hub-border);
  border-radius: 16px;
  overflow: hidden;
}
.sm-timeline .status-card {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--hub-border);
  padding: 1rem 1.05rem;
  transition: background .15s ease;
}
.sm-timeline .status-card:last-child { border-bottom: 0; }
.sm-timeline .status-card:hover { background: color-mix(in srgb, var(--hub-bg) 70%, transparent); }
.sm-empty {
  text-align: center;
  padding: 2.2rem 1rem;
  color: var(--hub-muted);
}
.sm-empty i {
  font-size: 1.6rem;
  margin-bottom: .55rem;
  display: block;
  opacity: .7;
}
.sm-empty p { margin: 0; font-weight: 600; }
.sm-profile-lock {
  color: var(--hub-muted);
  margin: .5rem 0 1rem;
}
.sm-more-link {
  text-align: center;
  margin: .25rem 0 0;
}
.sm-more-link a {
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand, #7a1f2b);
  text-decoration: none;
}
.sm-more-link a:hover { text-decoration: underline; }

/* Own account profile (/profil) */
.sm-account {
  padding-bottom: 2.5rem;
}
.sm-account-wrap {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: .85rem;
  width: 100%;
  min-width: 0;
}
.sm-account .account-tabs {
  margin-bottom: 0;
  padding: .35rem;
  border-radius: 14px;
  gap: .25rem;
  background: var(--hub-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.sm-account .account-tabs a {
  flex: 0 0 auto;
  justify-content: center;
  padding: .55rem .75rem;
  border-radius: 10px;
}
.sm-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .85rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--hub-border);
  border-radius: 16px;
  background: var(--hub-card);
  box-shadow: 0 1px 2px rgba(15, 18, 28, .03);
}
.sm-page-head-copy {
  min-width: 0;
  flex: 1 1 220px;
}
.sm-page-head-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--hub-ink);
  line-height: 1.25;
}
.sm-page-head-copy p {
  margin: .3rem 0 0;
  color: var(--hub-muted);
  font-size: .9rem;
  line-height: 1.45;
  max-width: 48ch;
}
.sm-page-head-copy a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 650;
}
.sm-page-head-copy a:hover { text-decoration: underline; }
.sm-page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.sm-page-body {
  display: grid;
  gap: .85rem;
  min-width: 0;
}
.sm-account .account-empty,
.sm-account .account-panel,
.sm-account .mymods-list,
.sm-account .history-list,
.sm-account .notif-list {
  border-radius: 16px;
}
.sm-account .dm-shell {
  width: 100%;
  min-height: min(560px, calc(100vh - var(--header-h, 72px) - 180px));
  height: min(680px, calc(100vh - var(--header-h, 72px) - 160px));
}
.sm-account-wide {
  max-width: 980px;
}
.sm-profile-own {
  animation: accountIn .5s var(--ease) both;
}
.sm-profile-own .sm-profile-avatar-editable {
  position: relative;
}
.sm-avatar-actions {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: flex;
  gap: .25rem;
  z-index: 2;
}
.sm-avatar-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--hub-panel, #fff);
  background: var(--brand, #7a1f2b);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-size: .78rem;
  box-shadow: 0 4px 12px rgba(15, 18, 24, .18);
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.sm-avatar-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.08);
  color: #fff;
}
.sm-avatar-btn input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}
.sm-avatar-upload-form {
  position: relative;
  margin: 0;
}
.sm-profile-toolbar-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: flex-end;
  align-items: center;
  align-self: flex-end;
  margin-bottom: .45rem;
}
.public-mod-list { display: grid; gap: .85rem; }
.public-members-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 600;
  color: #9a6700;
  background: color-mix(in srgb, #f59e0b 14%, transparent);
  padding: .2rem .5rem;
  border-radius: 999px;
}
.comment-user-link {
  color: inherit;
  text-decoration: none;
}
.comment-user-link:hover { color: var(--brand); }
.author-handle {
  margin-top: .15rem;
  font-size: .8rem;
  color: var(--hub-muted);
  font-weight: 600;
}
.profile-public-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .55rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}
.profile-public-link:hover { text-decoration: underline; }

/* Badge application (profile) */
.badge-rules {
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  border: 1px solid var(--hub-border, #e4e7ec);
  border-radius: 12px;
  background: color-mix(in srgb, #1d9bf0 6%, transparent);
}
.badge-rules h3 {
  margin: 0 0 .55rem;
  font-size: .95rem;
  font-weight: 800;
}
.badge-rules ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .4rem;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--hub-ink, #15181e);
}
.badge-rules p {
  margin: 0 0 .65rem;
  font-size: .88rem;
  line-height: 1.45;
}
.badge-rules-warn {
  margin: .75rem 0 0 !important;
  padding: .65rem .75rem;
  border-radius: 10px;
  background: rgba(220, 53, 69, .08);
  border: 1px solid rgba(220, 53, 69, .22);
  color: #842029;
  font-size: .86rem !important;
}
.badge-status {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .45rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .85rem;
}
.badge-status i { margin-top: .15rem; }
.badge-status.is-ok {
  color: #0f7a3a;
  background: color-mix(in srgb, #22c55e 12%, transparent);
}
.badge-status.is-wait {
  color: #9a6700;
  background: color-mix(in srgb, #f59e0b 14%, transparent);
}
.badge-status.is-no {
  color: #9f1239;
  background: color-mix(in srgb, #e11d48 10%, transparent);
}
.badge-eligible {
  margin: 0 0 .75rem;
  font-size: .9rem;
  color: var(--hub-muted, #6b7280);
}
.badge-apply-form .account-btn i { margin-right: .35rem; }

/* Anasayfa SEO intro */
.hub-seo-intro { margin-bottom: .75rem; }
.hub-seo-title {
  margin: 0 0 .65rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.hub-seo-lead {
  margin: 0 0 1.15rem;
  color: var(--hub-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.hub-seo-cats {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.15rem;
}
.hub-seo-cats a {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  background: var(--hub-bg);
  color: inherit;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  transition: all .2s ease;
}
.hub-seo-cats a:hover {
  border-color: var(--brand, #7a1f2b);
  color: var(--brand, #7a1f2b);
  transform: translateY(-1px);
}
.hub-seo-faq {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--hub-border);
}
.hub-seo-faq-title {
  margin: 0 0 .75rem;
  font-size: 1.15rem;
  font-weight: 800;
}
.hub-seo-faq-item {
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  background: var(--hub-bg);
  margin-bottom: .6rem;
  padding: .75rem 1rem;
}
.hub-seo-faq-item summary {
  cursor: pointer;
  font-weight: 750;
  font-size: .96rem;
  list-style: none;
}
.hub-seo-faq-item summary::-webkit-details-marker { display: none; }
.hub-seo-faq-item summary::after {
  content: '+';
  float: right;
  color: var(--hub-muted);
  font-weight: 700;
  font-size: 1.1rem;
}
.hub-seo-faq-item[open] summary::after { content: '−'; }
.hub-seo-faq-item p {
  margin: .65rem 0 0;
  color: var(--hub-muted);
  font-size: .92rem;
  line-height: 1.6;
}

.hub-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  width: 100%;
  margin-top: .35rem;
}
.hub-share-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--hub-muted);
}
.hub-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.hub-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 32px;
  padding: 0 .7rem;
  border-radius: 8px;
  border: 1px solid var(--hub-border);
  background: var(--hub-bg);
  color: inherit;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.hub-share-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.hub-community-cta .hub-community-lead {
  margin: 0 0 .65rem;
  color: var(--hub-muted);
  font-size: .86rem;
}
.hub-community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.hub-community-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  height: 36px;
  padding: 0 .9rem;
  border-radius: 9px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: .86rem;
}
.hub-community-btn.is-discord { background: #5865F2; }
.hub-community-btn.is-telegram { background: #229ED9; }
.hub-community-btn:hover { filter: brightness(1.06); color: #fff !important; }
.hub-footer-social {
  display: flex;
  gap: .55rem;
  margin-top: .75rem;
}
.hub-footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--hub-border);
  color: inherit;
  text-decoration: none;
}
.hub-footer-social a:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.hub-tag-top {
  margin: .65rem 0 .85rem;
  padding: .65rem .75rem;
  border-radius: 10px;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
}
.hub-tag-top-title {
  margin: 0 0 .4rem;
  font-size: .88rem;
  font-weight: 800;
}
.hub-tag-top-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--hub-muted);
  font-size: .86rem;
}
.hub-tag-top-list a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.hub-tag-top-list a:hover { color: var(--brand); }

.hub-mod-actions .hub-share-bar {
  flex: 1 1 100%;
}

/* Kategoriler ? modern bento */
.cats-hero-lead {
  margin: 0;
  color: var(--hub-muted);
  font-size: .92rem;
  line-height: 1.5;
}
.cats-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
@media (min-width: 720px) {
  .cats-bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: .85rem;
  }
  .cats-card { grid-column: span 4; }
  .cats-card.is-feature { grid-column: span 6; min-height: 220px; }
}
.cats-card {
  position: relative;
  display: block;
  min-height: 150px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #1a1214;
  border: 1px solid var(--hub-border);
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
  border-color: color-mix(in srgb, var(--brand, #7a1f2b) 45%, var(--hub-border));
  color: #fff;
}
.cats-card-media,
.cats-card-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cats-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .45s ease;
}
.cats-card:hover .cats-card-media img { transform: scale(1.08); }
.cats-card-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--brand, #7a1f2b) 55%, transparent), transparent 55%),
    linear-gradient(145deg, #2a1519, #121212 70%);
  font-size: 2rem;
  color: rgba(255, 255, 255, .88);
}
.cats-card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 58%, rgba(0,0,0,.82) 100%);
  pointer-events: none;
}
.cats-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: .45rem;
  padding: 1rem 1.05rem 1.05rem;
}
.cats-card-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.cats-card.is-feature .cats-card-name { font-size: 1.25rem; }
.cats-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.cats-card-count {
  font-size: .78rem;
  font-weight: 700;
  padding: .22rem .55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
}
.cats-card-go {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  font-size: .8rem;
  transition: background .2s ease, transform .2s ease;
}
.cats-card:hover .cats-card-go {
  background: var(--brand, #7a1f2b);
  transform: translateX(2px);
}

/* Blog */
.blog-lead {
  color: var(--hub-muted);
  font-size: .92rem;
}
.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .75rem;
}
.blog-tag-cloud.is-inline { margin: .55rem 0 0; padding: 0; border: 0; background: transparent; }
.blog-tag-pill {
  display: inline-flex;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--hub-border);
  background: var(--hub-bg);
  color: inherit;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
}
.blog-tag-pill:hover,
.blog-tag-pill.is-active {
  border-color: var(--brand, #7a1f2b);
  color: var(--brand, #7a1f2b);
  background: color-mix(in srgb, var(--brand, #7a1f2b) 10%, transparent);
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1400px) {
  .blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.blog-card {
  background: var(--hub-panel, #fff);
  border: 1px solid var(--hub-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.blog-card-media {
  display: block;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body {
  padding: .9rem 1rem 1.05rem;
  display: grid;
  gap: .4rem;
  flex: 1;
}
.blog-card-body time {
  font-size: .75rem;
  color: var(--hub-muted);
  font-weight: 600;
}
.blog-card-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--brand, #7a1f2b); }
.blog-card-excerpt {
  margin: 0;
  color: var(--hub-muted);
  font-size: .88rem;
  line-height: 1.45;
}
.blog-card-more {
  margin-top: auto;
  font-size: .84rem;
  font-weight: 700;
  color: var(--brand, #7a1f2b);
  text-decoration: none;
}
.blog-article-title {
  margin: .35rem 0 .5rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.blog-article-head time {
  font-size: .8rem;
  color: var(--hub-muted);
  font-weight: 600;
}
.blog-article-cover {
  margin: 1rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hub-border);
}
.blog-article-cover img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.blog-article-deck {
  font-size: 1.02rem;
  color: var(--hub-muted);
  line-height: 1.55;
  margin: 0 0 1rem;
}
.blog-article-content {
  font-size: .98rem;
  line-height: 1.7;
}
.blog-article-content h2 {
  font-size: 1.2rem;
  margin: 1.35rem 0 .55rem;
  font-weight: 800;
}
.blog-article-content h3 {
  font-size: 1.05rem;
  margin: 1.1rem 0 .45rem;
  font-weight: 800;
}
.blog-article-content p { margin: 0 0 .85rem; }
.blog-article-content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.blog-article-content li { margin: .25rem 0; }
.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: .75rem 0;
  display: block;
}
.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .92rem;
}
.blog-article-content th,
.blog-article-content td {
  border: 1px solid var(--hub-border);
  padding: .5rem .65rem;
  text-align: left;
}
.blog-article-content th { background: var(--hub-bg); font-weight: 700; }
.blog-article-content blockquote {
  margin: 1rem 0;
  padding: .75rem 1rem;
  border-left: 3px solid var(--brand, #7a1f2b);
  background: color-mix(in srgb, var(--brand, #7a1f2b) 6%, transparent);
  color: var(--hub-muted);
}
.blog-related { display: grid; gap: .55rem; }
.blog-related-item {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .7rem .8rem;
  border-radius: 10px;
  border: 1px solid var(--hub-border);
  text-decoration: none;
  color: inherit;
  background: var(--hub-bg);
}
.blog-related-item:hover { border-color: var(--brand, #7a1f2b); }
.blog-related-item span { color: var(--hub-muted); font-size: .8rem; white-space: nowrap; }

@media (max-width: 640px) {
  .cats-card { min-height: 132px; }
  .cats-card.is-feature { min-height: 160px; }
  .cats-card-name { font-size: .95rem; }
  .cats-card.is-feature .cats-card-name { font-size: 1.05rem; }
  .blog-article-title { font-size: 1.28rem; }
}

.status-feed {
  display: grid;
  gap: .75rem;
}
.status-card {
  background: var(--hub-panel, #fff);
  border: 1px solid var(--hub-border);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}
.status-card-head {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  flex-wrap: wrap;
  margin-bottom: .7rem;
}
.status-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.status-card-meta {
  display: grid;
  gap: .1rem;
  min-width: 0;
  flex: 1;
}
.status-card-author {
  font-weight: 700;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}
.status-card-handle,
.status-card-meta time {
  font-size: .8rem;
  color: var(--hub-muted);
}
.status-stage {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand, #7a1f2b) 12%, transparent);
  color: var(--brand, #7a1f2b);
  margin-left: auto;
}
.status-stage-idea { background: color-mix(in srgb, #6366f1 14%, transparent); color: #4338ca; }
.status-stage-wip { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #9a6700; }
.status-stage-testing { background: color-mix(in srgb, #0ea5e9 14%, transparent); color: #0369a1; }
.status-stage-released { background: color-mix(in srgb, #22c55e 14%, transparent); color: #15803d; }
.status-stage-update { background: color-mix(in srgb, #a855f7 14%, transparent); color: #7e22ce; }
.status-vis-pill {
  color: var(--hub-muted);
  font-size: .85rem;
}
.status-card-body p {
  margin: 0 0 .65rem;
  white-space: pre-wrap;
  line-height: 1.5;
}
.status-card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: .65rem;
  border: 1px solid var(--hub-border);
  background: #111;
}
.status-card-image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(85vh, 920px);
  object-fit: contain;
}
.status-card-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  background: #000;
  margin-bottom: .65rem;
}
.status-card-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.status-mod-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--brand, #7a1f2b);
  text-decoration: none;
}
.status-card-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: .35rem;
  padding-top: .55rem;
  border-top: 1px solid var(--hub-border);
}
.status-like-btn,
.status-comment-count,
.status-delete-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  background: transparent;
  color: var(--hub-muted);
  font-size: .88rem;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.status-like-btn.is-liked { color: #e11d48; }
.status-delete-btn { margin-left: auto; color: #9f1239; }
.status-delete-form { margin-left: auto; }
.status-comments {
  display: grid;
  gap: .55rem;
  margin-top: .75rem;
}
.status-comment-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: .5rem;
}
.status-comment-avatar-link img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.status-comment-body strong {
  font-size: .86rem;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
}
.status-comment-body p {
  margin: .15rem 0 0;
  font-size: .9rem;
  line-height: 1.4;
}
.status-comment-body time {
  font-size: .72rem;
  color: var(--hub-muted);
}
.status-comment-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .45rem;
  margin-top: .65rem;
}
.status-comment-form input {
  border: 1px solid var(--hub-border);
  border-radius: 999px;
  padding: .45rem .85rem;
  background: var(--hub-bg);
  color: inherit;
}
.status-comment-form button {
  border: 0;
  border-radius: 999px;
  padding: .45rem .9rem;
  background: var(--brand, #7a1f2b);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.public-profile-lock-msg {
  color: var(--hub-muted);
  margin: .5rem 0 1rem;
}
.hub-muted { color: var(--hub-muted); font-size: .92rem; }

/* Homepage hero slider (admin/slider) */
.hub-slider {
  position: relative;
  margin: 0 0 1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  background: #12141a;
  min-height: 220px;
  isolation: isolate;
}
.hub-slider-track { position: relative; }
.hub-slide {
  position: relative;
  min-height: clamp(200px, 28vw, 340px);
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.hub-slide[hidden] { display: none !important; }
.hub-slide-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,16,.15) 0%, rgba(10,12,16,.55) 45%, rgba(10,12,16,.88) 100%),
    var(--slide-img) center / cover no-repeat;
  z-index: 0;
}
.hub-slide-content {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.5rem 1.6rem;
  max-width: 42rem;
}
.hub-slide-title {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.hub-slide-sub {
  margin: 0 0 .9rem;
  font-size: .98rem;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  max-width: 38ch;
}
.hub-slide-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--brand, #7a1f2b);
  color: #fff !important;
  font-weight: 800;
  font-size: .9rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(122, 31, 43, .35);
}
.hub-slide-cta:hover { filter: brightness(1.08); color: #fff; }
.hub-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.hub-slider-nav:hover { background: rgba(0,0,0,.65); }
.hub-slider-prev { left: .7rem; }
.hub-slider-next { right: .7rem; }
.hub-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: .7rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .35rem;
}
.hub-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}
.hub-slider-dot.is-active {
  width: 22px;
  background: #fff;
}
@media (max-width: 640px) {
  .hub-slide-content { padding: 1rem 1rem 1.35rem; }
  .hub-slider-nav { width: 34px; height: 34px; }
  .hub-slider-prev { left: .4rem; }
  .hub-slider-next { right: .4rem; }
}

@media (max-width: 900px) {
  .fb-compose-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .fb-compose-footer-label { display: none; }
  .fb-compose-tools { grid-column: 1; }
  .fb-compose-post { grid-column: 2; }
  .fb-tool span { display: none; }
  .fb-tool { padding: .45rem .5rem; }
}
@media (max-width: 640px) {
  .sm-profile-banner { height: 140px; }
  .sm-cover-btn span { display: none; }
  .sm-cover-btn { padding: .45rem .65rem; }
  .sm-profile-avatar-wrap { width: 92px; height: 92px; }
  .sm-profile-toolbar { margin-top: -46px; }
  .sm-profile-name { font-size: 1.25rem; }
  .sm-tab { font-size: .82rem; gap: .25rem; padding: .85rem .3rem; }
  .sm-tab i { display: none; }
  .sm-profile-stats .sm-stat { flex: 1 1 calc(50% - .55rem); }
  .sm-compose { grid-template-columns: 36px minmax(0, 1fr); }
  .sm-compose-avatar { width: 36px; height: 36px; }
  .fb-compose-footer { column-gap: .35rem; }
  .status-compose-row { grid-template-columns: 1fr; }
  .status-card-head { align-items: center; }
  .status-stage { margin-left: 0; }
}


/* Oyuncu Galerisi */
.gallery-rules {
  border: 1px solid rgba(232, 93, 4, .28);
  background: rgba(232, 93, 4, .06);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.1rem;
}
.gallery-rules-head {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .65rem;
}
.gallery-rules-head i {
  color: var(--brand);
  margin-top: .15rem;
}
.gallery-rules-head p {
  margin: .15rem 0 0;
  color: var(--hub-muted);
  font-size: .9rem;
}
.gallery-rules ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .35rem;
  color: var(--hub-text);
  font-size: .92rem;
}
.gallery-form .cf-turnstile { margin-top: .15rem; }
.gallery-compose-wrap .gallery-rules-compact {
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
}
.gallery-rules-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 0;
  background: transparent;
  padding: .85rem 1rem;
  text-align: left;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}
.gallery-rules-toggle i:first-child { color: var(--brand, #7a1f2b); }
.gallery-rules-chevron {
  margin-left: auto;
  opacity: .55;
  transition: transform .15s ease;
}
.gallery-rules-toggle[aria-expanded="true"] .gallery-rules-chevron {
  transform: rotate(180deg);
}
.gallery-rules-body {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(232, 93, 4, .18);
}
.gallery-rules-body p {
  margin: .75rem 0 .5rem;
  color: var(--hub-muted);
  font-size: .9rem;
}
.gallery-compose-name { margin-bottom: .85rem; }
.gallery-compose-extras {
  display: grid;
  gap: .85rem;
  margin: .85rem 0 .25rem;
  padding-top: .25rem;
}
.gallery-compose-check {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--hub-muted);
  cursor: pointer;
}
.gallery-compose-check input {
  margin-top: .2rem;
  accent-color: var(--brand, #7a1f2b);
}
.gallery-compose-turnstile .fb-compose-panel-label {
  display: block;
  margin-bottom: .35rem;
}
.player-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .85rem;
}
.player-gallery-card {
  margin: 0;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--hub-bg);
}
.player-gallery-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  min-height: 140px;
}
.player-gallery-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  display: block;
}
.player-gallery-card figcaption {
  display: grid;
  gap: .15rem;
  padding: .65rem .75rem .75rem;
}
.player-gallery-card figcaption strong { font-size: .9rem; }
.player-gallery-card figcaption span {
  font-size: .82rem;
  color: var(--hub-muted);
}
.player-gallery-card figcaption small {
  font-size: .75rem;
  color: var(--hub-muted);
}
.hub-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: .9rem;
}
.hub-pagination a { color: var(--brand); text-decoration: none; }
@media (max-width: 640px) {
  .player-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
}

.gallery-feed { display: grid; gap: .85rem; }
.gallery-guest-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(232, 93, 4, .12);
  color: var(--brand);
  flex-shrink: 0;
}
.gallery-login-hint a { color: var(--brand); }

/* Kendi Modunu Yap ? geni? 2 kolon (sa? sidebar yok) */
.hub-grid.hub-grid--wide {
  grid-template-columns: 220px minmax(0, 1fr);
}
.mb-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.mb-kicker {
  margin: 0 0 .25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.mb-hero h1 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.mb-hero-copy p:last-child {
  margin: 0;
  color: var(--hub-muted);
  font-size: .92rem;
  max-width: 36rem;
}
.mb-quota {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .85rem;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  flex-shrink: 0;
}
.mb-quota-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
}
.mb-quota-label {
  font-size: .78rem;
  color: var(--hub-muted);
  line-height: 1.25;
}
.mb-studio-shell { padding: 0; overflow: hidden; }
.mb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--hub-border);
  background: color-mix(in srgb, var(--hub-bg) 55%, var(--hub-card));
}
.mb-tab {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: .7rem .85rem;
  font-weight: 700;
  font-size: .82rem;
  color: var(--hub-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.mb-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
}
.mb-check input { width: 1.05rem; height: 1.05rem; }
.mb-tab i { margin-right: .35rem; }
.mb-tab:hover { color: var(--hub-ink); }
.mb-tab.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  background: var(--hub-card);
}
.mb-pane { display: none; padding: 1rem 1.05rem 1.15rem; }
.mb-pane.is-active { display: block; }
.mb-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .95fr);
  gap: 1.25rem;
  align-items: start;
}
.mb-form { display: grid; gap: .85rem; }
.mb-field { display: grid; gap: .35rem; margin: 0; }
.mb-field > span {
  font-size: .8rem;
  font-weight: 600;
  color: var(--hub-muted);
}
.mb-field > span em { font-style: normal; font-weight: 500; opacity: .75; }
.mb-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: end;
}
.mb-field-color input[type="color"] {
  width: 3.25rem;
  height: 2.45rem;
  padding: .15rem;
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  background: var(--hub-card);
  cursor: pointer;
}
.mb-preview {
  display: grid;
  gap: .55rem;
  justify-items: center;
  padding: 1rem;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(122, 31, 43, .08), transparent 55%),
    linear-gradient(160deg, #1a1d24 0%, #0e1014 100%);
  border: 1px solid #2a2f3a;
}
.mb-preview-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 598 / 131;
  display: grid;
  place-items: center;
}
.mb-plate-bg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.mb-plate-text {
  position: absolute;
  left: 12.5%;
  right: 3.5%;
  top: 50%;
  transform: translateY(-52%);
  margin: 0;
  text-align: center;
  font-family: Arial Black, Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: clamp(.95rem, 3.6vw, 1.55rem);
  letter-spacing: .04em;
  line-height: 1;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  text-transform: uppercase;
}
.mb-preview-caption {
  margin: 0;
  font-size: .72rem;
  color: #9aa3ad;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mb-multipliers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.mb-multi {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: .75rem;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  background: var(--hub-bg);
}
.mb-multi > span {
  font-size: .8rem;
  font-weight: 700;
  color: var(--hub-muted);
}
.mb-multi-ctrl {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.mb-multi-x {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
}
.mb-multi-ctrl .form-control { font-size: 1.15rem; font-weight: 700; }
.mb-submit { width: 100%; justify-content: center; }
.mb-note {
  margin: 0;
  font-size: .78rem;
  color: var(--hub-muted);
  line-height: 1.4;
}
.mb-gallery-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .65rem;
  margin-bottom: .85rem;
}
.mb-gallery-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}
.mb-gallery-head h2 span {
  color: var(--hub-muted);
  font-weight: 600;
  font-size: .9rem;
}
.mb-empty {
  display: grid;
  place-items: center;
  gap: .5rem;
  padding: 2rem 1rem;
  color: var(--hub-muted);
  text-align: center;
}
.mb-empty i { font-size: 1.5rem; opacity: .55; }
.mb-empty p { margin: 0; }
.builder-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.builder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .85rem;
}
.builder-card {
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--hub-bg);
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.builder-card:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border));
  transform: translateY(-1px);
}
.builder-card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  background: #111;
  padding: .65rem;
}
.builder-card-media.is-plate { background: #0e1014; }
.builder-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.builder-card-body { padding: .75rem .85rem .9rem; }
.builder-card-body h3 {
  font-size: .95rem;
  margin: .15rem 0 .3rem;
  line-height: 1.3;
}
.builder-type {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.builder-meta {
  margin: 0 0 .65rem;
  font-size: .78rem;
  color: var(--hub-muted);
}
.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  justify-content: space-between;
}
.builder-actions > span {
  font-size: .75rem;
  color: var(--hub-muted);
}
@media (max-width: 900px) {
  .hub-grid.hub-grid--wide { grid-template-columns: minmax(0, 1fr); }
  .mb-split { grid-template-columns: 1fr; }
  .mb-preview { order: -1; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .hub-grid.hub-grid--wide { grid-template-columns: 220px minmax(0, 1fr); }
}

/* Mod ?retiliyor overlay */
body.mb-gen-lock { overflow: hidden; }
.mb-gen-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(15, 17, 22, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: mbGenFade .22s ease;
}
.mb-gen-overlay[hidden] { display: none !important; }
.mb-gen-card {
  width: min(360px, 100%);
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 16px;
  background: var(--hub-card);
  border: 1px solid var(--hub-border);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  text-align: center;
  animation: mbGenPop .28s cubic-bezier(.2,.9,.3,1.2);
}
.mb-gen-ring {
  width: 72px;
  height: 72px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--brand) 25%, transparent);
  border-top-color: var(--brand);
  display: grid;
  place-items: center;
  animation: mbGenSpin 1s linear infinite;
}
.mb-gen-gear {
  font-size: 1.35rem;
  color: var(--brand);
  animation: mbGenSpin 2.4s linear infinite reverse;
}
.mb-gen-title {
  margin: 0 0 .25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.mb-gen-sub {
  margin: 0 0 .85rem;
  font-size: .88rem;
  color: var(--hub-muted);
}
.mb-gen-bar {
  height: 4px;
  border-radius: 999px;
  background: var(--hub-bg);
  overflow: hidden;
  margin-bottom: .85rem;
}
.mb-gen-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  animation: mbGenBar 1.15s ease-in-out infinite;
}
.mb-gen-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
  text-align: left;
}
.mb-gen-steps li {
  font-size: .78rem;
  color: var(--hub-muted);
  padding-left: 1.15rem;
  position: relative;
}
.mb-gen-steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .35rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--hub-border);
}
.mb-gen-steps li.is-on {
  color: var(--hub-ink);
  font-weight: 600;
}
.mb-gen-steps li.is-on::before {
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
@keyframes mbGenSpin { to { transform: rotate(360deg); } }
@keyframes mbGenFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mbGenPop {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes mbGenBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

/* ?ye giri?i zorunlu kap?s? */
.mb-login-gate { border-color: color-mix(in srgb, var(--brand) 35%, var(--hub-border)); }
.mb-login-gate-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1rem;
}
.mb-login-gate-inner > i {
  font-size: 1.45rem;
  color: var(--brand);
}
.mb-login-gate-inner strong { display: block; margin-bottom: .2rem; }
.mb-login-gate-inner p {
  margin: 0;
  font-size: .88rem;
  color: var(--hub-muted);
}
.mb-login-gate-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
.mb-studio-shell.is-locked { opacity: .72; }
.mb-studio-shell.is-locked .mb-form { pointer-events: none; }

/* Takip listeleri */
.follow-user-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.follow-user-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.follow-user-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding: .4rem .35rem;
  border-radius: 10px;
}
.follow-user-row:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.follow-user-row img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.follow-user-row span { display: grid; gap: .1rem; min-width: 0; }
.follow-user-row small { color: var(--hub-muted); font-size: .78rem; }
.follow-msg-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
}

.hub-nav-badge {
  margin-left: auto;
  min-width: 1.15rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.35rem;
  text-align: center;
}

/* Mesajlaşma */
.hub-main > .account-tabs {
  width: 100%;
}
.hub-ad {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 0;
  padding: .75rem;
  text-align: center;
}
.hub-ad > * {
  max-width: 100%;
}
.ad-header {
  overflow: hidden;
}
.dl-gate-ad .hub-ad {
  margin: 0;
}
.dm-shell {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 0;
  padding: 0 !important;
  overflow: hidden;
  min-height: min(640px, calc(100vh - var(--header-h, 72px) - 140px));
  height: min(720px, calc(100vh - var(--header-h, 72px) - 120px));
  border-radius: 16px;
}
.dm-list {
  border-right: 1px solid var(--hub-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: color-mix(in srgb, var(--hub-bg) 55%, var(--hub-panel, #fff));
}
.dm-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--hub-border);
  background: var(--hub-panel, #fff);
  min-height: 58px;
}
.dm-list-head h1 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 800;
}
.dm-presence-wrap {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  margin: 0;
}
.dm-presence-wrap select {
  border: 1px solid var(--hub-border);
  border-radius: 999px;
  background: var(--hub-bg);
  color: inherit;
  font-size: .78rem;
  padding: .28rem .65rem .28rem .4rem;
  line-height: 1.2;
}
.dm-presence-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9ca3af;
  display: inline-block;
}
.dm-presence-dot.is-online { background: #22c55e; }
.dm-presence-dot.is-busy { background: #ef4444; }
.dm-presence-dot.is-away { background: #f59e0b; }
.dm-presence-dot.is-offline { background: #9ca3af; }
.dm-threads {
  overflow: auto;
  flex: 1;
  padding: .35rem;
}
.dm-thread {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .6rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
.dm-thread:hover,
.dm-thread.is-active { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.dm-thread.has-unread strong { font-weight: 800; }
.dm-avatar-wrap { position: relative; flex-shrink: 0; }
.dm-avatar-wrap img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.dm-avatar-wrap .dm-presence-dot {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 2px solid var(--hub-panel, #fff);
}
.dm-thread-meta {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: .15rem;
}
.dm-thread-meta strong,
.dm-thread-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dm-thread-meta small { color: var(--hub-muted); font-size: .78rem; }
.dm-unread {
  min-width: 1.2rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-align: center;
}
.dm-empty-hint {
  padding: 1rem;
  color: var(--hub-muted);
  font-size: .88rem;
}
.dm-chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.dm-chat-empty {
  margin: auto;
  text-align: center;
  color: var(--hub-muted);
  padding: 2.5rem 1.5rem;
  max-width: 280px;
}
.dm-chat-empty i {
  font-size: 2.4rem;
  margin-bottom: .75rem;
  display: block;
  opacity: .55;
  color: var(--brand);
}
.dm-chat-empty p {
  margin: 0;
  line-height: 1.5;
  font-size: .92rem;
}
.dm-chat-head {
  padding: .85rem 1.05rem;
  border-bottom: 1px solid var(--hub-border);
  background: var(--hub-panel, #fff);
  min-height: 58px;
  display: flex;
  align-items: center;
}
.dm-chat-peer {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
}
.dm-chat-peer img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.dm-chat-peer span { display: grid; }
.dm-chat-peer small { color: var(--hub-muted); font-size: .78rem; }
.dm-messages {
  flex: 1;
  overflow: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  background:
    radial-gradient(600px 200px at 10% 0%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 60%);
}
.dm-bubble {
  max-width: min(78%, 420px);
  align-self: flex-start;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  border-radius: 14px 14px 14px 4px;
  padding: .55rem .75rem;
}
.dm-bubble.is-mine {
  align-self: flex-end;
  background: color-mix(in srgb, var(--brand) 14%, var(--hub-bg));
  border-color: color-mix(in srgb, var(--brand) 28%, var(--hub-border));
  border-radius: 14px 14px 4px 14px;
}
.dm-bubble p { margin: 0; white-space: pre-wrap; line-height: 1.45; font-size: .92rem; }
.dm-bubble time {
  display: block;
  margin-top: .25rem;
  font-size: .7rem;
  color: var(--hub-muted);
}
.dm-composer {
  display: flex;
  gap: .5rem;
  padding: .75rem;
  border-top: 1px solid var(--hub-border);
  align-items: flex-end;
}
.dm-composer textarea {
  flex: 1;
  resize: none;
  min-height: 42px;
  max-height: 120px;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  padding: .55rem .75rem;
  background: var(--hub-bg);
  color: inherit;
}
@media (max-width: 860px) {
  .dm-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .dm-list {
    border-right: 0;
    border-bottom: 1px solid var(--hub-border);
    max-height: 240px;
  }
  .dm-chat { min-height: 420px; }
}
@media (max-width: 720px) {
  .sm-profile-stats .sm-stat { flex: 1 1 calc(50% - .55rem); }
}

/* ===== Surveys (Anketler) ===== */
.survey-lead { color: var(--hub-muted, #6b7280); font-size: .95rem; }
.survey-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .survey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.survey-card {
  background: var(--hub-panel);
  border: 1px solid var(--hub-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.survey-card:hover {
  border-color: color-mix(in srgb, var(--brand, #7a1f2b) 35%, var(--hub-border));
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.survey-card-body { padding: 1rem 1.1rem 1.15rem; }
.survey-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  font-size: .8rem;
  color: var(--hub-muted, #6b7280);
  margin-bottom: .55rem;
}
.survey-badge {
  display: inline-flex;
  align-items: center;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.survey-badge.is-open {
  background: color-mix(in srgb, #16a34a 16%, transparent);
  color: #15803d;
}
.survey-badge.is-closed {
  background: color-mix(in srgb, #64748b 18%, transparent);
  color: #475569;
}
.survey-card-title {
  font-size: 1.1rem;
  margin: 0 0 .4rem;
  line-height: 1.35;
}
.survey-card-title a { color: inherit; text-decoration: none; }
.survey-card-title a:hover { color: var(--brand, #7a1f2b); }
.survey-card-excerpt {
  margin: 0 0 .75rem;
  color: var(--hub-muted, #6b7280);
  font-size: .9rem;
  line-height: 1.45;
}
.survey-card-more {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brand, #7a1f2b);
  text-decoration: none;
}
.survey-card-more:hover { text-decoration: underline; }

.survey-feed {
  display: grid;
  gap: 1rem;
}
.survey-feed .survey-block { margin: 0; }

.survey-article-head { margin-bottom: 1rem; }
.survey-article-title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: .35rem 0 0;
  line-height: 1.25;
}
.survey-article-content { margin-bottom: 1.25rem; }
.survey-article-content img { max-width: 100%; height: auto; border-radius: 10px; }

.survey-vote-form { margin-top: .5rem; }
.survey-options { display: grid; gap: .65rem; }
.survey-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: center;
  padding: .7rem .85rem;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  background: var(--hub-bg);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.survey-option:hover,
.survey-option:has(input:checked) {
  border-color: var(--brand, #7a1f2b);
  background: color-mix(in srgb, var(--brand, #7a1f2b) 6%, var(--hub-bg));
}
.survey-option.has-image { grid-template-columns: auto 140px 1fr; }
.survey-option input { margin: 0; accent-color: var(--brand, #7a1f2b); }
.survey-option-media {
  position: relative;
  display: block;
  width: 140px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hub-border);
  flex-shrink: 0;
  cursor: zoom-in;
  text-decoration: none;
  color: inherit;
}
.survey-option-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s ease;
}
.survey-option-media:hover img { transform: scale(1.04); }
.survey-zoom-hint {
  position: absolute;
  right: .35rem;
  bottom: .35rem;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .72rem;
  pointer-events: none;
}
.survey-result-item.has-image {
  grid-template-columns: 140px 1fr;
  align-items: center;
}
.survey-option-label { font-weight: 560; line-height: 1.35; }
.survey-vote-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.25rem;
  border: 0;
  border-radius: 10px;
  background: var(--brand, #7a1f2b);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.survey-vote-btn:hover { filter: brightness(1.05); }
.survey-hint {
  margin: .65rem 0 0;
  font-size: .85rem;
  color: var(--hub-muted, #6b7280);
}

.survey-results { margin-top: 1.25rem; }
.survey-results-note {
  font-size: .92rem;
  margin: 0 0 .85rem;
  color: var(--hub-muted, #6b7280);
}
.survey-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.survey-result-item {
  display: grid;
  gap: .75rem;
  padding: .75rem .85rem;
  border: 1px solid var(--hub-border);
  border-radius: 12px;
  background: var(--hub-bg);
}
.survey-result-item.has-image {
  grid-template-columns: 140px 1fr;
  align-items: center;
}
.survey-result-item.is-mine {
  border-color: color-mix(in srgb, var(--brand, #7a1f2b) 45%, var(--hub-border));
}
.survey-result-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: baseline;
  font-size: .9rem;
  margin-bottom: .4rem;
}
.survey-result-top span { color: var(--hub-muted, #6b7280); white-space: nowrap; }
.survey-yours {
  display: inline-block;
  margin-left: .35rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--brand, #7a1f2b);
}
.survey-bar {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--hub-border) 80%, transparent);
  overflow: hidden;
}
.survey-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand, #7a1f2b), color-mix(in srgb, var(--brand, #7a1f2b) 65%, #f59e0b));
  min-width: 0;
  transition: width .35s ease;
}

.error-page {
  text-align: center;
  padding: 2.4rem 1.2rem 2.6rem;
  max-width: 640px;
  margin: 1.5rem auto 2rem;
}
.error-page-code {
  font-size: clamp(3.2rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  color: color-mix(in srgb, var(--brand, #7a1f2b) 18%, transparent);
  margin-bottom: .35rem;
}
.error-page-icon {
  font-size: 1.8rem;
  color: var(--brand, #7a1f2b);
  margin-bottom: .75rem;
}
.error-page-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 .55rem;
  font-weight: 800;
}
.error-page-lead {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  color: var(--hub-muted, #6b7280);
  line-height: 1.5;
}
.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
}
.error-page-home {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
}

/* ===== Mobile app shell (alt menü) ===== */
.app-tabbar {
  display: none;
}
.app-settings-sheet {
  height: min(88vh, 720px);
  border-radius: 18px 18px 0 0;
}
.app-settings-sheet .offcanvas-title {
  font-size: 1.05rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.app-settings-block {
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--hub-border);
}
.app-settings-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.app-settings-title {
  margin: 0 0 .75rem;
  font-size: .92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.app-settings-hint {
  margin: .55rem 0 0;
  font-size: .78rem;
  color: var(--hub-muted);
}
.app-settings-links {
  display: grid;
  gap: .35rem;
}
.app-settings-links a,
.app-settings-theme {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem .9rem;
  border-radius: 12px;
  border: 1px solid var(--hub-border);
  background: var(--hub-bg);
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  font-size: .92rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.app-settings-links a:hover,
.app-settings-theme:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--hub-border));
  color: var(--brand);
}
.app-settings-links a i,
.app-settings-theme i {
  width: 1.1rem;
  text-align: center;
  color: var(--brand);
}
.app-settings-langs {
  margin: 0;
}

@media (max-width: 991.98px) {
  body.has-app-tabbar {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  body.has-app-tabbar .hub-footer {
    display: none !important;
  }
  body.has-app-tabbar .cookie-notice {
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .app-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    min-height: 58px;
    padding: .28rem .2rem calc(.28rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--hub-panel, #fff) 92%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--hub-border);
    box-shadow: 0 -8px 24px rgba(0,0,0,.06);
  }
  .app-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--hub-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .18rem;
    min-height: 48px;
    padding: .2rem .15rem;
    text-decoration: none;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
  }
  .app-tab i {
    font-size: 1.05rem;
  }
  .app-tab.is-active,
  .app-tab:hover {
    color: var(--brand);
  }
  .app-tab.is-active {
    position: relative;
  }
  .app-tab.is-active::before {
    content: '';
    position: absolute;
    top: 0;
    width: 18px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--brand);
  }
}

@media (min-width: 992px) {
  .app-tabbar,
  .app-settings-sheet {
    display: none !important;
  }
}

/* ============================================================
   TIRCI RÜTBE & ROZET SİSTEMİ (TRUCKER RANKS)
   ============================================================ */
.trucker-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  vertical-align: middle;
  transition: all .2s ease;
  white-space: nowrap;
}
.trucker-rank-badge:hover {
  transform: translateY(-1px);
}
.trucker-rank-badge .rank-emoji {
  font-size: 0.88rem;
  line-height: 1;
}
.trucker-rank-badge .rank-points {
  opacity: .85;
  font-weight: 600;
  margin-left: 2px;
}

.trucker-rank-badge .rank-lvl {
  background: rgba(0, 0, 0, 0.08);
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .02em;
}
[data-bs-theme="dark"] .trucker-rank-badge .rank-lvl {
  background: rgba(255, 255, 255, 0.12);
}

/* Tier 1 (Lv.1-10: Stajyer Şoför) */
.rank-tier-1 {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
  border: 1px solid rgba(25, 135, 84, 0.3);
}
[data-bs-theme="dark"] .rank-tier-1 {
  background: rgba(25, 135, 84, 0.22);
  color: #75b798;
  border-color: rgba(25, 135, 84, 0.45);
}

/* Tier 2 (Lv.11-20: Yedek Şoför) */
.rank-tier-2 {
  background: rgba(13, 202, 240, 0.12);
  color: #0aa2c0;
  border: 1px solid rgba(13, 202, 240, 0.32);
}
[data-bs-theme="dark"] .rank-tier-2 {
  background: rgba(13, 202, 240, 0.22);
  color: #6edff6;
  border-color: rgba(13, 202, 240, 0.45);
}

/* Tier 3 (Lv.21-30: Uzun Yol Şoförü) */
.rank-tier-3 {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  border: 1px solid rgba(13, 110, 253, 0.32);
}
[data-bs-theme="dark"] .rank-tier-3 {
  background: rgba(13, 110, 253, 0.22);
  color: #6ea8fe;
  border-color: rgba(13, 110, 253, 0.45);
}

/* Tier 4 (Lv.31-40: Otoban Fatihi) */
.rank-tier-4 {
  background: rgba(102, 16, 242, 0.12);
  color: #6610f2;
  border: 1px solid rgba(102, 16, 242, 0.32);
}
[data-bs-theme="dark"] .rank-tier-4 {
  background: rgba(102, 16, 242, 0.22);
  color: #a370f7;
  border-color: rgba(102, 16, 242, 0.45);
}

/* Tier 5 (Lv.41-50: Kıdemli Tırcı) */
.rank-tier-5 {
  background: rgba(111, 66, 193, 0.14);
  color: #6f42c1;
  border: 1px solid rgba(111, 66, 193, 0.35);
}
[data-bs-theme="dark"] .rank-tier-5 {
  background: rgba(111, 66, 193, 0.25);
  color: #c29ffa;
  border-color: rgba(111, 66, 193, 0.5);
}

/* Tier 6 (Lv.51-60: Kıta Kaptanı) */
.rank-tier-6 {
  background: rgba(214, 51, 132, 0.12);
  color: #d63384;
  border: 1px solid rgba(214, 51, 132, 0.35);
}
[data-bs-theme="dark"] .rank-tier-6 {
  background: rgba(214, 51, 132, 0.22);
  color: #e685b5;
  border-color: rgba(214, 51, 132, 0.45);
}

/* Tier 7 (Lv.61-70: Ağır Nakliyat Uzmanı) */
.rank-tier-7 {
  background: rgba(253, 126, 20, 0.14);
  color: #d05e00;
  border: 1px solid rgba(253, 126, 20, 0.38);
}
[data-bs-theme="dark"] .rank-tier-7 {
  background: rgba(253, 126, 20, 0.24);
  color: #feb272;
  border-color: rgba(253, 126, 20, 0.5);
}

/* Tier 8 (Lv.71-80: Baş Kaptan) */
.rank-tier-8 {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.35);
  box-shadow: 0 1px 6px rgba(220, 53, 69, 0.15);
}
[data-bs-theme="dark"] .rank-tier-8 {
  background: rgba(220, 53, 69, 0.24);
  color: #ea868f;
  border-color: rgba(220, 53, 69, 0.5);
}

/* Tier 9 (Lv.81-90: Lojistik Müdürü) */
.rank-tier-9 {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.18), rgba(111, 66, 193, 0.25));
  color: #4b32a6;
  border: 1px solid rgba(111, 66, 193, 0.5);
  box-shadow: 0 2px 8px rgba(111, 66, 193, 0.2);
}
[data-bs-theme="dark"] .rank-tier-9 {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.25), rgba(111, 66, 193, 0.35));
  color: #d1b8ff;
  border-color: rgba(111, 66, 193, 0.6);
}

/* Tier 10 (Lv.91-100: Filo İmparatoru) */
.rank-tier-10 {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(244, 192, 6, 0.45));
  color: #b78103;
  border: 1px solid rgba(255, 193, 7, 0.7);
  box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
  font-weight: 800;
}
[data-bs-theme="dark"] .rank-tier-10 {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.32), rgba(244, 192, 6, 0.55));
  color: #ffda6a;
  border-color: rgba(255, 193, 7, 0.8);
  box-shadow: 0 2px 12px rgba(255, 193, 7, 0.4);
}

/* Profil Rütbe Kartı & Pratik Tasarım */
.trucker-rank-card {
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  background: var(--hub-card, #fff);
  border: 1px solid var(--hub-border, #e9ecef);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  margin: 1.25rem 0;
  position: relative;
  overflow: hidden;
}
.trucker-rank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #198754, #0d6efd, #6f42c1, #fd7e14, #ffc107);
}
.trucker-rank-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.trucker-rank-info {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.trucker-rank-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
.trucker-rank-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0;
  color: var(--hub-text);
  letter-spacing: -.01em;
}
.trucker-rank-sub {
  font-size: .84rem;
  color: var(--hub-muted, #6c757d);
  margin: 0;
}
.trucker-rank-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: .65rem;
  margin-top: .9rem;
  padding-top: .85rem;
  border-top: 1px dashed var(--hub-border, #e9ecef);
}
.trucker-rank-stat-item {
  text-align: center;
  padding: .5rem .35rem;
  background: rgba(var(--brand-rgb, 13, 110, 253), .04);
  border: 1px solid rgba(var(--brand-rgb, 13, 110, 253), .08);
  border-radius: 10px;
  transition: all .2s ease;
}
.trucker-rank-stat-item:hover {
  transform: translateY(-2px);
  background: rgba(var(--brand-rgb, 13, 110, 253), .08);
  border-color: rgba(var(--brand-rgb, 13, 110, 253), .2);
}
[data-bs-theme="dark"] .trucker-rank-stat-item {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.06);
}
[data-bs-theme="dark"] .trucker-rank-stat-item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}
.trucker-rank-stat-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand, #0d6efd);
  line-height: 1.2;
}
.trucker-rank-stat-item span {
  font-size: .74rem;
  font-weight: 600;
  color: var(--hub-muted, #6c757d);
}

/* Profil Hızlı Eylemler (Quick Actions Bar) */
.profile-quick-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .65rem;
  margin: 1.25rem 0;
}
.profile-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: .75rem .5rem;
  border-radius: 12px;
  background: var(--hub-card, #fff);
  border: 1px solid var(--hub-border, #e9ecef);
  color: var(--hub-text, #212529);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  transition: all .2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.02);
}
.profile-quick-btn i {
  font-size: 1.25rem;
  margin-bottom: .35rem;
  color: var(--brand, #0d6efd);
}
.profile-quick-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand, #0d6efd);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  color: var(--brand, #0d6efd);
}


/* ============================================================
   GAMING PROFILE V2 (ADAPTIVE LIGHT & DARK THEME)
   ============================================================ */
:root {
  --gp-shell-bg: #ffffff;
  --gp-shell-border: #e2e8f0;
  --gp-card-bg: #ffffff;
  --gp-card-inner: #f8fafc;
  --gp-card-border: #e2e8f0;
  --gp-ink-title: #0f172a;
  --gp-ink-body: #334155;
  --gp-ink-muted: #64748b;
  --gp-pill-bg: #f1f5f9;
  --gp-pill-border: #e2e8f0;
  --gp-pill-text: #334155;
  --gp-banner-fade: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.95) 100%);
  --gp-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --gp-xp-track: #e2e8f0;
  --gp-btn-sec-bg: #f1f5f9;
  --gp-btn-sec-border: #cbd5e1;
  --gp-btn-sec-text: #0f172a;
}

[data-bs-theme="dark"] {
  --gp-shell-bg: #10141f;
  --gp-shell-border: rgba(255, 255, 255, 0.12);
  --gp-card-bg: #10141f;
  --gp-card-inner: #161b29;
  --gp-card-border: rgba(255, 255, 255, 0.1);
  --gp-ink-title: #ffffff;
  --gp-ink-body: #e2e8f0;
  --gp-ink-muted: #94a3b8;
  --gp-pill-bg: rgba(255, 255, 255, 0.06);
  --gp-pill-border: rgba(255, 255, 255, 0.15);
  --gp-pill-text: #e2e8f0;
  --gp-banner-fade: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(16,20,31,0.95) 100%);
  --gp-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --gp-xp-track: rgba(255, 255, 255, 0.1);
  --gp-btn-sec-bg: rgba(255, 255, 255, 0.08);
  --gp-btn-sec-border: rgba(255, 255, 255, 0.2);
  --gp-btn-sec-text: #ffffff;
}

.gaming-profile-shell {
  background: var(--gp-shell-bg) !important;
  color: var(--gp-ink-body) !important;
  border: 1px solid var(--gp-shell-border) !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--gp-shadow);
  margin-bottom: 2rem;
}

/* Banner */
.gaming-banner {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: #1a1e29;
}
.gaming-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gp-banner-fade);
}
.gaming-banner-actions {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 25 !important;
  display: flex;
  gap: 8px;
}
.gaming-banner-btn {
  background: rgba(16,20,31,0.85);
  backdrop-filter: blur(8px);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.gaming-banner-btn:hover {
  background: rgba(16,20,31,1);
  border-color: #ffb703;
  color: #ffb703 !important;
}

/* Header Content */
.gaming-header-body {
  padding: 0 2rem 1.75rem;
  position: relative;
  margin-top: -65px;
  z-index: 6;
}
.gaming-avatar-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.gaming-avatar-wrap {
  position: relative;
  display: inline-block;
}
.gaming-avatar-img {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #ffb703;
  box-shadow: 0 0 25px rgba(255, 183, 3, 0.4);
  background: var(--gp-card-inner);
  display: block;
}
.gaming-online-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: #22c55e;
  border: 3.5px solid var(--gp-shell-bg);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}
.gaming-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.btn-gaming-primary {
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 9px 20px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(251, 133, 0, 0.4) !important;
}
.btn-gaming-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(251, 133, 0, 0.6) !important;
  color: #000000 !important;
}
.btn-gaming-secondary {
  background: var(--gp-btn-sec-bg) !important;
  border: 1px solid var(--gp-btn-sec-border) !important;
  color: var(--gp-btn-sec-text) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  border-radius: 10px !important;
  padding: 9px 18px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  text-decoration: none !important;
}
.btn-gaming-secondary:hover {
  border-color: #ffb703 !important;
  color: #ffb703 !important;
}

/* Identity & Badges */
.gaming-name-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gaming-display-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gp-ink-title) !important;
  margin: 0;
  line-height: 1.2;
}
.gaming-handle {
  color: var(--gp-ink-muted) !important;
  font-size: 0.92rem;
  font-weight: 600;
  margin: 2px 0 0 0;
}
.gaming-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.gaming-pill {
  background: var(--gp-pill-bg);
  border: 1px solid var(--gp-pill-border);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gp-pill-text) !important;
}
.gaming-pill--level {
  background: rgba(168, 85, 247, 0.15) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  color: #9333ea !important;
}
[data-bs-theme="dark"] .gaming-pill--level {
  background: rgba(168, 85, 247, 0.2) !important;
  border-color: rgba(168, 85, 247, 0.5) !important;
  color: #d8b4fe !important;
}
.gaming-pill--role {
  background: rgba(59, 130, 246, 0.15) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  color: #2563eb !important;
}
[data-bs-theme="dark"] .gaming-pill--role {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  color: #93c5fd !important;
}
.gaming-bio {
  color: var(--gp-ink-body) !important;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 10px 0 14px;
  max-width: 800px;
}
.gaming-socials {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}
.gaming-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gp-pill-bg);
  border: 1px solid var(--gp-pill-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-ink-muted) !important;
  text-decoration: none;
  font-size: 1rem;
  transition: all .2s;
}
.gaming-social-btn:hover {
  border-color: #ffb703;
  color: #ffb703 !important;
  transform: translateY(-2px);
}

/* 5 Stat Cards Bar */
.gaming-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 1.5rem 0 2rem;
}
.gaming-stat-box {
  background: var(--gp-card-bg) !important;
  border: 1px solid var(--gp-card-border) !important;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .2s;
  box-shadow: var(--gp-shadow);
}
.gaming-stat-box:hover {
  border-color: rgba(255, 183, 3, 0.4) !important;
  transform: translateY(-2px);
}
.gaming-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.gaming-stat-icon--yellow { background: rgba(234, 179, 8, 0.15); color: #d97706; }
.gaming-stat-icon--red { background: rgba(239, 68, 68, 0.15); color: #dc2626; }
.gaming-stat-icon--green { background: rgba(34, 197, 94, 0.15); color: #16a34a; }
.gaming-stat-icon--blue { background: rgba(59, 130, 246, 0.15); color: #2563eb; }
.gaming-stat-icon--purple { background: rgba(168, 85, 247, 0.15); color: #9333ea; }

[data-bs-theme="dark"] .gaming-stat-icon--yellow { background: rgba(234, 179, 8, 0.2); color: #facc15; }
[data-bs-theme="dark"] .gaming-stat-icon--red { background: rgba(239, 68, 68, 0.2); color: #f87171; }
[data-bs-theme="dark"] .gaming-stat-icon--green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
[data-bs-theme="dark"] .gaming-stat-icon--blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
[data-bs-theme="dark"] .gaming-stat-icon--purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }

.gaming-stat-title {
  font-size: 0.75rem;
  color: var(--gp-ink-muted) !important;
  font-weight: 700;
  margin-bottom: 2px;
}
.gaming-stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gp-ink-title) !important;
  line-height: 1;
}

/* Mod Showcase Section */
.gaming-section-box {
  background: var(--gp-card-bg) !important;
  color: var(--gp-ink-body) !important;
  border: 1px solid var(--gp-card-border) !important;
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--gp-shadow);
}
.gaming-tab-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gp-card-border);
  padding-bottom: 10px;
  margin-bottom: 1.25rem;
}
.gaming-tabs-left {
  display: flex;
  gap: 20px;
}
.gaming-tab-link {
  color: var(--gp-ink-muted) !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding-bottom: 10px;
  position: relative;
  transition: color .2s;
  cursor: pointer;
  background: none;
  border: none;
}
.gaming-tab-link.is-active, .gaming-tab-link:hover {
  color: var(--gp-ink-title) !important;
}
.gaming-tab-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -11px;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffb703;
  border-radius: 3px 3px 0 0;
}
.gaming-view-all {
  color: var(--gp-ink-muted) !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.gaming-view-all:hover {
  color: #ffb703 !important;
}

/* Mod Cards Grid */
.gaming-mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gaming-mod-card {
  background: var(--gp-card-inner) !important;
  border: 1px solid var(--gp-card-border) !important;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .2s;
}
.gaming-mod-card:hover {
  border-color: rgba(255, 183, 3, 0.5) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.gaming-mod-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0f1219;
}
.gaming-mod-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.gaming-mod-card:hover .gaming-mod-thumb {
  transform: scale(1.05);
}
.gaming-mod-ver {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  color: #ffffff !important;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
}
.gaming-mod-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.gaming-mod-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gp-ink-title) !important;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gaming-mod-cat {
  font-size: 0.78rem;
  color: var(--gp-ink-muted) !important;
  font-weight: 600;
  margin-bottom: 10px;
}
.gaming-mod-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gp-ink-muted) !important;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--gp-card-border);
}
.gaming-mod-status {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a !important;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.72rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
[data-bs-theme="dark"] .gaming-mod-status {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80 !important;
}
.gaming-mod-btn {
  margin-top: 10px;
  background: var(--gp-pill-bg);
  border: 1px solid var(--gp-pill-border);
  color: var(--gp-ink-body) !important;
  border-radius: 8px;
  padding: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .2s;
}
.gaming-mod-btn:hover {
  background: rgba(255, 183, 3, 0.2);
  border-color: #ffb703;
  color: #ffb703 !important;
}

/* 3-Column Bottom Grid */
.gaming-bottom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 2rem;
}
.gaming-info-card {
  background: var(--gp-card-bg) !important;
  color: var(--gp-ink-body) !important;
  border: 1px solid var(--gp-card-border) !important;
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--gp-shadow);
}
.gaming-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gp-ink-title) !important;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gaming-about-text {
  color: var(--gp-ink-body) !important;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.gaming-about-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gaming-about-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
}
.gaming-about-label {
  color: var(--gp-ink-muted) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gaming-about-val {
  color: var(--gp-ink-title) !important;
  font-weight: 700;
}

/* Activities List */
.gaming-act-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.25rem;
}
.gaming-act-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
}
.gaming-act-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gp-pill-bg);
  border: 1px solid var(--gp-pill-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb703;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.gaming-act-desc {
  color: var(--gp-ink-body) !important;
  line-height: 1.4;
}
.gaming-act-desc strong {
  color: var(--gp-ink-title) !important;
}
.gaming-act-time {
  color: var(--gp-ink-muted) !important;
  font-size: 0.76rem;
  margin-top: 2px;
}

/* Achievement Badges */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 1.5rem;
}
.achievement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.achievement-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gp-pill-bg);
  border: 1px solid var(--gp-pill-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.achievement-item:hover .achievement-icon-wrap {
  transform: scale(1.1);
  border-color: #ffb703;
}
.achievement-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gp-ink-body) !important;
}

/* XP Card in Badges Widget */
.gaming-xp-box {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gp-card-border);
}
.gaming-xp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.gaming-xp-lvl {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gp-ink-title) !important;
}
.gaming-xp-pts {
  font-size: 0.84rem;
  color: var(--gp-ink-muted) !important;
  font-weight: 700;
}
.gaming-xp-bar {
  height: 9px;
  background: var(--gp-xp-track);
  border-radius: 999px;
  overflow: hidden;
}
.gaming-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffb703, #fb8500);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(251, 133, 0, 0.7);
}


/* Gaming Avatar Modal & Badge */
.gaming-avatar-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.gaming-avatar-edit-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffb703;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.6);
  opacity: 0.9;
  transition: transform .2s, opacity .2s;
}
.gaming-avatar-wrap:hover .gaming-avatar-edit-badge {
  transform: scale(1.15);
  opacity: 1;
}

.gaming-avatar-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
  box-sizing: border-box !important;
}
.gaming-avatar-modal.is-open {
  display: flex !important;
}
.gaming-avatar-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(8, 10, 15, 0.78) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}
.gaming-avatar-dialog {
  position: relative !important;
  z-index: 2 !important;
  width: min(540px, 100%) !important;
  max-height: min(90vh, 680px) !important;
  overflow-y: auto !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: #121622 !important;
  color: #ffffff !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
  padding: 1.5rem !important;
}
.gaming-avatar-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.gaming-avatar-dialog-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gaming-avatar-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all .2s;
}
.gaming-avatar-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}
.gaming-modal-subtitle {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffb703;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gaming-avatar-upload-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1rem;
}

/* ============================================================
   ŞANS ÇARKI AVATAR ÇERÇEVELERİ (PERKS / FRAMES)
   ============================================================ */
.avatar-frame-neon,
.gaming-avatar-wrap.avatar-frame-neon {
  border-radius: 50% !important;
  box-shadow: 0 0 0 4px #9333ea, 0 0 20px #a855f7, 0 0 35px #ec4899 !important;
  animation: neon-pulse 1.8s infinite alternate ease-in-out !important;
}
@keyframes neon-pulse {
  0% { box-shadow: 0 0 0 4px #9333ea, 0 0 15px #a855f7; }
  100% { box-shadow: 0 0 0 5px #ec4899, 0 0 25px #f43f5e, 0 0 40px #a855f7; }
}

.avatar-frame-fire,
.gaming-avatar-wrap.avatar-frame-fire {
  border-radius: 50% !important;
  box-shadow: 0 0 0 4px #ef4444, 0 0 20px #f97316, 0 0 35px #facc15 !important;
  animation: fire-flicker 1.2s infinite alternate ease-in-out !important;
}
@keyframes fire-flicker {
  0% { box-shadow: 0 0 0 4px #dc2626, 0 0 16px #ea580c, 0 0 24px #facc15; }
  50% { box-shadow: 0 0 0 5px #f97316, 0 0 24px #eab308, 0 0 36px #ef4444; }
  100% { box-shadow: 0 0 0 4px #ef4444, 0 0 30px #dc2626, 0 0 45px #f59e0b; }
}

.avatar-frame-gold,
.gaming-avatar-wrap.avatar-frame-gold {
  border-radius: 50% !important;
  box-shadow: 0 0 0 4px #fbbf24, 0 0 20px #f59e0b, 0 0 35px rgba(234, 179, 8, 0.8) !important;
}


/* ================= ÇOKLU ÖZEL ROZETLER ================= */
.user-badges-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
}
.user-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}
.user-badge-pill:hover {
  transform: translateY(-2px);
}
.user-badge-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.user-badge-mini:hover {
  transform: scale(1.25);
}

/* =========================================================
   MODERN MOBILE UI/UX & APP-STYLE CARDS OVERHAUL (2026)
   ========================================================= */

.feed-card-thumb {
  position: relative;
}
.feed-card-badge-ver {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fbbf24;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  pointer-events: none;
}

@media (max-width: 768px) {
  /* 1. Global Container & Spacing */
  .container-hub {
    padding-inline: 0.95rem !important;
  }
  .hub-grid {
    gap: 1rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 2rem !important;
  }
  
  /* 2. Modern Mobile Header */
  .hub-header {
    background: color-mix(in srgb, var(--hub-card) 92%, transparent) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid var(--hub-border) !important;
  }
  .hub-header-inner {
    min-height: 60px !important;
    gap: 0.5rem !important;
    justify-content: space-between !important;
  }
  .hub-logo {
    gap: 0.55rem !important;
  }
  .hub-logo-mark {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    font-size: 1.05rem !important;
  }
  .hub-logo-text {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    max-width: 140px !important;
  }
  .hub-header-actions {
    gap: 0.4rem !important;
  }
  .hub-icon-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: color-mix(in srgb, var(--hub-border) 35%, transparent) !important;
    border: 1px solid var(--hub-border) !important;
    font-size: 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.15s ease !important;
  }
  .hub-icon-btn:active {
    transform: scale(0.92) !important;
  }

  /* 3. Horizontal Scrollable Sort & Filter Chips */
  .hub-sort-bar {
    background: transparent !important;
    border: 0 !important;
    padding: 0.25rem 0 0.6rem !important;
    margin-bottom: 0.25rem !important;
  }
  .hub-sort-label {
    display: none !important;
  }
  .hub-sort-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.45rem !important;
    padding: 0.2rem 0.1rem !important;
    scrollbar-width: none !important;
  }
  .hub-sort-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .hub-sort-tab {
    flex: 0 0 auto !important;
    padding: 0.45rem 1rem !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    background: var(--hub-card) !important;
    border: 1px solid var(--hub-border) !important;
    color: var(--hub-muted) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }
  .hub-sort-tab:active {
    transform: scale(0.94) !important;
  }
  .hub-sort-tab.is-active {
    background: var(--brand) !important;
    color: #ffffff !important;
    border-color: var(--brand) !important;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 38%, transparent) !important;
  }

  /* 4. Showcase Cards (Haftanın / Ayın Modu) */
  .hub-showcase-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 0.85rem !important;
    border-radius: 18px !important;
    gap: 0.75rem !important;
    background: var(--hub-card) !important;
    border: 1px solid var(--hub-border) !important;
  }
  .hub-showcase-thumb {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    min-height: auto !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  .hub-showcase-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .hub-showcase-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
  }
  .hub-showcase-btn {
    width: 100% !important;
    height: 38px !important;
    border-radius: 10px !important;
    justify-content: center !important;
  }

  /* 5. Mod Detail Page Hero on Mobile */
  .hub-mod-hero {
    padding: 0.95rem !important;
    border-radius: 20px !important;
    gap: 0.85rem !important;
  }
  .hub-mod-cover {
    border-radius: 16px !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 10 !important;
  }
  .hub-mod-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .hub-mod-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin: 0.5rem 0 !important;
  }
  .hub-mod-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }
  .hub-mod-actions .feed-card-btn.hub-mod-dl,
  .hub-mod-actions > .feed-card-btn {
    width: 100% !important;
    height: 50px !important;
    border-radius: 14px !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 35%, transparent) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
  }
  .hub-mod-actions .hub-ghost-btn {
    width: 100% !important;
    height: 42px !important;
    border-radius: 12px !important;
    justify-content: center !important;
    font-weight: 700 !important;
  }
  .hub-mod-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.6rem !important;
    background: color-mix(in srgb, var(--hub-border) 25%, transparent) !important;
    padding: 0.8rem !important;
    border-radius: 14px !important;
    margin-bottom: 0.5rem !important;
  }
  .hub-mod-stats span {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
  }

  /* 6. Mod Page FAQ and Panels */
  .hub-panel {
    border-radius: 18px !important;
    padding: 1rem !important;
  }
  .hub-panel-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
  }
}

/* 7. Compact App-Style Feed Cards for Mobile (<= 640px) */
@media (max-width: 640px) {
  .feed-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .feed-card {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    border-radius: 14px !important;
    padding: 0 !important;
    overflow: hidden !important;
    gap: 0 !important;
    background: var(--hub-card) !important;
    border: 1px solid var(--hub-border) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transition: transform 0.15s ease !important;
  }
  .feed-card:active {
    transform: scale(0.985) !important;
  }
  .feed-card-thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 8.5 !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 14px 14px 0 0 !important;
    background: #0f172a !important;
    margin: 0 !important;
    align-self: unset !important;
    box-sizing: border-box !important;
  }
  .feed-card-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .feed-card-badge-ver {
    top: 6px !important;
    right: 6px !important;
    font-size: 0.65rem !important;
    padding: 0.15rem 0.45rem !important;
    border-radius: 6px !important;
  }
  .feed-card-body {
    padding: 0.65rem 0.8rem 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .feed-card-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    margin-bottom: 0 !important;
  }
  .feed-cat {
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 6px !important;
    background: color-mix(in srgb, var(--brand) 12%, transparent) !important;
    color: var(--brand) !important;
    text-decoration: none !important;
  }
  .feed-card-meta time {
    font-size: 0.7rem !important;
    color: var(--hub-muted) !important;
    margin-left: auto !important;
  }
  .feed-card-title {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    color: var(--hub-text) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .feed-card-title a {
    color: inherit !important;
    text-decoration: none !important;
  }
  .feed-card-excerpt {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
    color: var(--hub-muted) !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }
  .feed-card-author {
    font-size: 0.76rem !important;
    color: var(--hub-muted) !important;
    padding-top: 0.25rem !important;
    border-top: 1px dashed color-mix(in srgb, var(--hub-border) 70%, transparent) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .feed-card-foot {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    margin-top: 0.2rem !important;
    padding-top: 0.45rem !important;
    border-top: 1px solid var(--hub-border) !important;
    box-sizing: border-box !important;
  }
  .feed-card-stats {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: var(--hub-muted) !important;
  }
  .feed-card-btn {
    height: 33px !important;
    padding: 0 0.95rem !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    background: var(--brand) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--brand) 30%, transparent) !important;
    margin-left: auto !important;
  }
  .feed-card-btn:active {
    transform: scale(0.94) !important;
  }
}

/* 8. iOS & Modern Android Style Dock (App Tabbar) */
@media (max-width: 991.98px) {
  .app-tabbar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1040 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.35rem !important;
    min-height: 62px !important;
    padding: 0.35rem 0.3rem calc(0.35rem + env(safe-area-inset-bottom, 0px)) !important;
    background: color-mix(in srgb, var(--hub-card) 88%, transparent) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-top: 1px solid color-mix(in srgb, var(--hub-border) 80%, transparent) !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08) !important;
  }
  .app-tab {
    appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--hub-muted) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    min-height: 48px !important;
    padding: 0.3rem 0.2rem !important;
    border-radius: 14px !important;
    text-decoration: none !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  .app-tab:active {
    transform: scale(0.9) !important;
  }
  .app-tab i {
    font-size: 1.18rem !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
  }
  .app-tab.is-active {
    color: var(--brand) !important;
    background: color-mix(in srgb, var(--brand) 12%, transparent) !important;
  }
  .app-tab.is-active i {
    transform: translateY(-1px) scale(1.08) !important;
  }
  .app-tab.is-active::before {
    display: none !important;
  }
}

/* 9. Minimal Mobile Drawer Items */
.mobile-cat-item {
  display: flex !important;
  align-items: center !important;
  padding: 0.7rem 0.8rem !important;
  border-radius: 12px !important;
  background: var(--hub-card) !important;
  border: 1px solid var(--hub-border) !important;
  color: var(--hub-text) !important;
  text-decoration: none !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
}
.mobile-cat-item:active {
  transform: scale(0.95) !important;
  border-color: var(--brand) !important;
  background: color-mix(in srgb, var(--brand) 8%, var(--hub-card)) !important;
}
.mobile-nav-btn:active,
.mobile-nav-hero-link:active {
  transform: scale(0.97) !important;
}

/* 10. STRICT MOBILE OVERFLOW PREVENTION (YANA KAYMA TAM ÇÖZÜM) */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

body.hub-body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative !important;
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    position: relative !important;
  }
  .hub-shell,
  main,
  .container-hub,
  .hub-header,
  .hub-header-inner,
  .hub-grid,
  .hub-main,
  .feed-list,
  .feed-card,
  .hub-showcase-wrap,
  .hub-showcase-row {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hub-showcase-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .hub-header-inner {
    overflow: hidden !important;
  }
}



