/* ============================================
   ARTX - Modern Visual Download Platform
   Black / White / Gray Premium Design
   ============================================ */

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-elevated: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border: #2a2a2a;
  --border-light: #333333;
  --accent: #ffffff;
  --brand: #f2b84b;
  --brand-strong: #ffd27a;
  --accent-dim: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root[data-theme="light"] {
  --bg-primary: #f4f5f7;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --text-primary: #111318;
  --text-secondary: #59616d;
  --text-muted: #7b8490;
  --border: #d9dde3;
  --border-light: #c5cad2;
  --accent: #111318;
  --accent-dim: rgba(17, 19, 24, .08);
  --glass: rgba(255, 255, 255, .72);
  --glass-border: rgba(17, 19, 24, .12);
  --shadow: 0 12px 32px rgba(17, 19, 24, .1);
}

:root[data-theme="oled"] {
  --bg-primary: #000000;
  --bg-secondary: #050505;
  --bg-card: #080808;
  --bg-elevated: #0d0d0d;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 8%, rgba(242, 184, 75, 0.1), transparent 28rem),
    radial-gradient(circle at 88% 32%, rgba(88, 101, 242, 0.08), transparent 30rem),
    var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 60% 45% at 8% 0%, rgba(242, 184, 75, 0.13), transparent 40%),
    radial-gradient(ellipse 55% 42% at 96% 18%, rgba(52, 211, 153, 0.1), transparent 42%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(244, 114, 182, 0.07), transparent 45%),
    #08090b;
}

:root[data-theme="light"] body {
  background: radial-gradient(ellipse 60% 45% at 8% 0%, rgba(242, 184, 75, .12), transparent 40%), var(--bg-primary);
}

.lang-toggle {
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: var(--transition);
}

.lang-toggle:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.language-select {
  width: 116px;
  min-height: 38px;
  padding: .45rem 1.7rem .45rem .65rem;
  border: 1px solid rgba(242, 184, 75, .38);
  border-radius: 7px;
  background: linear-gradient(145deg, rgba(242, 184, 75, .09), rgba(255, 255, 255, .035)), var(--bg-elevated);
  color: var(--text-primary);
  font: inherit;
  font-size: .7rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 0 18px rgba(242, 184, 75, .07);
}

.language-select:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}

.language-select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.ad-rail {
  position: fixed;
  top: 120px;
  width: 220px;
  z-index: 20;
  pointer-events: none;
}

.ad-rail-left {
  left: 14px;
}

.ad-rail-right {
  right: 14px;
}

.ad-slot {
  pointer-events: auto;
  width: 100%;
  height: 460px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  color: var(--text-secondary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ad-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 1.15rem;
  line-height: 1;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ad-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ad-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  opacity: 0;
  animation: adFade 5s ease-in-out infinite;
}

.ad-slot span {
  position: absolute;
  inset: auto 0 0.75rem 0;
  text-align: center;
  padding: 0 0.75rem;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

@keyframes adFade {

  0%,
  100% {
    opacity: 0;
    transform: scale(1.02);
  }

  12%,
  88% {
    opacity: 1;
    transform: scale(1);
  }
}

.ad-slot.is-empty {
  background: repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.02),
      rgba(255, 255, 255, 0.02) 10px,
      rgba(255, 255, 255, 0.04) 10px,
      rgba(255, 255, 255, 0.04) 20px);
}

.ad-slot.is-empty span {
  display: block;
}

@media (max-width: 1500px) {
  .ad-rail {
    display: none;
  }
}

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

.protected-media {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.protected-preview-frame {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.modal-watermark {
  position: absolute;
  inset: 0;
  isolation: isolate;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: .22em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .85);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

.modal-watermark::before,
.image-watermark::before {
  content: 'PIXORAX  •  PIXORAX  •  PIXORAX';
  position: absolute;
  inset: -45%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .15);
  font-size: clamp(.8rem, 3vw, 1.4rem);
  letter-spacing: .24em;
  line-height: 5;
  transform: rotate(-24deg);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
  filter: blur(.16px);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  animation: loadingScreenFailsafe .6s ease 6s forwards;
}

@keyframes loadingScreenFailsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text-primary);
  animation: logoPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(8, 9, 11, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  padding: 0.75rem 0;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--brand-strong);
  transition: var(--transition);
}

.logo::before {
  content: '';
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 210, 122, .75);
  border-radius: 50%;
  background: repeating-conic-gradient(from 8deg, var(--brand-strong) 0 5deg, transparent 5deg 17deg);
  -webkit-mask: radial-gradient(circle, transparent 0 34%, #000 37% 54%, transparent 58% 64%, #000 68%);
  mask: radial-gradient(circle, transparent 0 34%, #000 37% 54%, transparent 58% 64%, #000 68%);
  animation: pixoraIris 18s linear infinite;
}

.logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 15px;
  width: 5px;
  height: 5px;
  margin: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 210, 122, .85);
}

@keyframes pixoraIris {
  to {
    transform: rotate(360deg);
  }
}

:root.reduce-motion .logo::before {
  animation: none;
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.navbar .nav-actions>.jubbio-nav-link,
.mobile-actions>.jubbio-nav-link,
.mobile-menu .jubbio-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  flex: 0 0 auto;
  padding: .3rem .7rem;
  border: 1px solid rgba(139, 255, 0, .55);
  border-radius: 999px;
  background: rgba(139, 255, 0, .035);
  color: #c0ff78;
  font-size: .82rem;
  font-weight: 750;
  text-shadow: 0 0 8px rgba(139, 255, 0, .56);
  box-shadow: 0 0 10px rgba(139, 255, 0, .32), 0 0 22px rgba(139, 255, 0, .18), inset 0 0 8px rgba(139, 255, 0, .12);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.navbar .nav-actions>.pixus-nav-link,
.mobile-actions>.pixus-nav-link,
.mobile-menu .pixus-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex: 0 0 auto;
  padding: .3rem .7rem;
  border: 1px solid rgba(242, 184, 75, .65);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(242, 184, 75, .16), rgba(255, 255, 255, .035));
  color: #ffe3a3;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(242, 184, 75, .2), inset 0 0 9px rgba(242, 184, 75, .08);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pixus-nav-mark {
  color: #ffd275;
  font-size: 1.05rem;
  line-height: 1;
}

.navbar .nav-actions>.pixus-nav-link:hover,
.navbar .nav-actions>.pixus-nav-link:focus-visible,
.mobile-actions>.pixus-nav-link:hover,
.mobile-actions>.pixus-nav-link:focus-visible,
.mobile-menu .pixus-nav-link:hover,
.mobile-menu .pixus-nav-link:focus-visible {
  border-color: #ffe3a3;
  box-shadow: 0 0 18px rgba(242, 184, 75, .38);
  transform: translateY(-1px);
}

.pixus-nav-link:focus-visible {
  outline: 2px solid #ffe3a3;
  outline-offset: 3px;
}

.mobile-menu .pixus-nav-link {
  min-height: 48px;
}

.jubbio-nav-link img {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(139, 255, 0, .9));
}

.navbar .nav-actions>.jubbio-nav-link:hover,
.navbar .nav-actions>.jubbio-nav-link:focus-visible,
.mobile-actions>.jubbio-nav-link:hover,
.mobile-actions>.jubbio-nav-link:focus-visible,
.mobile-menu .jubbio-nav-link:hover,
.mobile-menu .jubbio-nav-link:focus-visible {
  border-color: #baff66;
  background: rgba(139, 255, 0, .09);
  color: #dcffb0;
  box-shadow: 0 0 15px rgba(139, 255, 0, .5), 0 0 30px rgba(139, 255, 0, .26), inset 0 0 10px rgba(139, 255, 0, .17);
  transform: translateY(-1px);
}

.jubbio-nav-link:focus-visible {
  outline: 2px solid #baff66;
  outline-offset: 3px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.site-notification-control {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.site-notification-control[hidden],
.site-notification-count[hidden],
.site-notification-panel[hidden] {
  display: none !important;
}

.site-notification-toggle {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: var(--text-primary);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.site-notification-toggle:hover,
.site-notification-toggle[aria-expanded="true"] {
  border-color: var(--brand);
  background: rgba(242, 184, 75, .1);
  color: var(--brand-strong);
}

.site-notification-toggle svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-notification-count {
  position: absolute;
  top: -4px;
  right: -5px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--bg-primary);
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
}

.site-notification-panel {
  position: absolute;
  z-index: 1200;
  top: calc(100% + .65rem);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: var(--bg-elevated);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .42);
}

.site-notification-panel>header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-size: .85rem;
}

.site-notification-panel>header span {
  color: var(--text-muted);
  font-size: .7rem;
}

.site-notification-list {
  display: grid;
  max-height: min(60vh, 420px);
  overflow-y: auto;
}

.site-notification-item {
  display: grid;
  gap: .3rem;
  width: 100%;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  text-align: left;
  transition: background .18s ease;
}

.site-notification-item:last-child {
  border-bottom: 0;
}

.site-notification-item:hover {
  background: var(--accent-dim);
}

.site-notification-item strong {
  font-size: .78rem;
}

.site-notification-item span {
  color: var(--text-secondary);
  font-size: .72rem;
  line-height: 1.55;
}

.site-notification-empty {
  padding: 1.15rem 1rem;
  color: var(--text-muted);
  font-size: .75rem;
}

.support-email-nav {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.premium-user .profile-avatar {
  position: relative;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(242, 184, 75, 0.18), 0 0 18px rgba(242, 184, 75, 0.24);
}

.premium-user .profile-avatar::after {
  content: '👑';
  position: absolute;
  right: -0.5rem;
  bottom: -0.45rem;
  font-size: 0.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65));
}

.premium-user .user-display-name {
  color: var(--brand-strong);
  font-weight: 800;
}

.btn-primary {
  background: var(--brand);
  color: #17120a;
  box-shadow: 0 8px 24px rgba(242, 184, 75, 0.18);
}

.btn-primary:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(242, 184, 75, 0.28);
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--text-secondary);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-start;
}

.support-cta {
  min-width: 190px;
  justify-content: center;
  background: rgba(17, 17, 17, 0.55);
  border-color: rgba(242, 184, 75, 0.62);
  color: var(--brand-strong);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.support-cta:hover {
  background: rgba(242, 184, 75, 0.1);
  border-color: var(--brand-strong);
}

.support-center-page,
.support-detail-page {
  min-height: 100vh;
  padding: 7rem 1rem 3rem;
  background: linear-gradient(180deg, rgba(11, 17, 21, 0.95), rgba(6, 9, 12, 1));
}

.support-shell,
.support-detail-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.support-hero {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.eyebrow {
  color: var(--brand-strong);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
}

.support-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  max-width: 720px;
}

.support-hero-copy {
  color: var(--text-secondary);
  max-width: 620px;
  font-size: 1rem;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.4rem;
}

.glass-panel,
.support-card,
.detail-main,
.detail-aside {
  background: rgba(18, 20, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.support-sidebar,
.support-card,
.detail-main,
.detail-aside {
  padding: 1.2rem;
}

.support-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.support-sidebar-header h3 {
  font-size: 1.1rem;
}

.support-sidebar-header span {
  color: var(--text-secondary);
  font-size: 0.72rem;
}

.support-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.85rem 0.8rem;
  display: grid;
  gap: 0.2rem;
}

.mini-stat strong {
  font-size: 1.2rem;
}

.mini-stat span {
  color: var(--text-secondary);
  font-size: 0.74rem;
}

.support-nav-list {
  display: grid;
  gap: 0.5rem;
}

.support-nav-list a {
  display: block;
  padding: 0.72rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.015);
}

.support-nav-list a.active,
.support-nav-list a:hover {
  background: rgba(242, 184, 75, 0.08);
  color: var(--brand-strong);
  border-color: rgba(242, 184, 75, 0.24);
}

.support-main-column {
  display: grid;
  gap: 1.4rem;
}

.section-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head-row h2 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.support-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-group {
  display: grid;
  gap: 0.4rem;
}

.field-group.full {
  grid-column: 1 / -1;
}

.field-group label {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
}

.support-form-grid input,
.support-form-grid select,
.support-form-grid textarea,
.reply-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(6, 9, 12, 0.84);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.support-form-grid input:focus,
.support-form-grid select:focus,
.support-form-grid textarea:focus,
.reply-form textarea:focus {
  border-color: rgba(242, 184, 75, 0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.08);
}

.support-form-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.support-status-message {
  min-height: 1.2em;
  color: var(--brand-strong);
  font-size: 0.8rem;
}

.ticket-list-grid,
.faq-list {
  display: grid;
  gap: 0.9rem;
}

.ticket-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(7, 11, 13, 0.75);
}

.ticket-card-top,
.ticket-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ticket-id {
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--brand-strong);
}

.ticket-card h4 {
  font-size: 1.02rem;
}

.ticket-meta-row {
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.ticket-meta-row.muted {
  color: var(--text-muted);
}

.status-açık,
.status-open,
.status-işlemde,
.status-yanıt-bekliyor {
  background: rgba(245, 166, 91, 0.12);
  color: #f7d7a6;
}

.status-kapalı,
.status-çözüldü,
.status-closed,
.status-done {
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
}

.faq-item {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 13, 0.7);
  display: grid;
  gap: 0.35rem;
}

.faq-item strong {
  font-size: 0.95rem;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.empty-state-card {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 180px;
  padding: 2rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text-secondary);
}

.mfa-panel {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(242, 184, 75, 0.2);
  border-radius: 14px;
  background: rgba(242, 184, 75, 0.05);
}

.mfa-panel h3 {
  margin: 0 0 0.3rem;
}

.mfa-panel p {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.mfa-panel .settings-form {
  margin: 0;
}

.settings-order-history,
.order-history-list {
  display: grid;
  gap: 1rem;
}

.order-history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.settings-clear-orders {
  flex-shrink: 0;
  font-size: 0.75rem;
}

.settings-order-item,
.order-history-item {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(11, 13, 16, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 18px 35px rgba(0, 0, 0, 0.14);
}

.settings-order-header,
.order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.settings-order-header strong,
.order-header strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.settings-order-header span,
.order-header .status-pill {
  white-space: nowrap;
}

.settings-order-item small,
.order-header small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.74rem;
}

.settings-order-item ul,
.order-history-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.settings-order-item li,
.order-history-item li {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
}

.settings-order-item strong:last-child,
.order-summary {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.status-pill.paid,
.status-pill.ödendi {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
  color: #a7f3d0;
}

.status-pill.pending,
.status-pill.bekliyor {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fce7a3;
}

.status-pill.failed,
.status-pill.başarısız {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.28);
  color: #fecaca;
}

.status-pill.cancelled,
.status-pill.iptal {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
}

@media (max-width: 560px) {
  .order-history-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-clear-orders {
    width: 100%;
  }
}

.empty-state-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(242, 184, 75, 0.12);
  color: var(--brand-strong);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.support-detail-shell {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 1.4rem;
}

.detail-aside {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.detail-meta-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-meta-item span {
  color: var(--text-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-main {
  display: grid;
  gap: 1rem;
}

.detail-thread {
  display: grid;
  gap: 0.9rem;
}

.message-bubble {
  max-width: 85%;
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-bubble {
  justify-self: end;
  background: rgba(242, 184, 75, 0.08);
  border-color: rgba(242, 184, 75, 0.2);
}

.admin-bubble {
  justify-self: start;
  background: rgba(47, 128, 237, 0.08);
  border-color: rgba(47, 128, 237, 0.18);
}

.message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.message-bubble p {
  white-space: pre-wrap;
  line-height: 1.6;
}

.message-bubble small {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.reply-form {
  display: grid;
  gap: 0.8rem;
}

.reply-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  flex-wrap: wrap;
}

.text-link {
  color: var(--brand-strong);
}

@media (max-width: 820px) {

  .support-layout,
  .support-detail-shell,
  .support-form-grid {
    grid-template-columns: 1fr;
  }

  .support-sidebar,
  .support-card,
  .detail-main,
  .detail-aside {
    padding: 1rem;
  }
}

.support-admin-filters {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: .65rem;
  margin: 1rem 0;
}

.support-admin-filters input,
.support-admin-filters select {
  width: 100%;
  min-height: 42px;
  padding: .65rem .75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
}

.support-admin-table-wrap {
  overflow-x: auto;
}

.support-admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.support-admin-table th,
.support-admin-table td {
  padding: .85rem .65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: .78rem;
  white-space: nowrap;
}

.support-admin-table th {
  color: var(--text-secondary);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.support-admin-table td a {
  color: var(--brand-strong);
}

.support-page {
  background: #050505;
}

.support-page-main {
  min-height: 100vh;
  padding: 8rem 1.25rem 4rem;
  background: radial-gradient(circle at 50% -10%, rgba(255, 255, 255, .1), transparent 34rem), #050505;
}

.support-container {
  max-width: 1180px;
  margin: 0 auto;
}

.support-safety-notice {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.2rem;
  padding: .7rem .85rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  color: rgba(255, 255, 255, .58);
  font-size: .72rem;
}

.support-safety-notice span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.support-safety-notice p {
  margin: 0;
}

.support-safety-notice strong {
  color: #fff;
}

.support-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.support-kicker,
.support-label {
  color: rgba(255, 255, 255, .55);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
}

.support-hero h1 {
  margin-top: .55rem;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.support-hero h1 span {
  color: rgba(255, 255, 255, .38);
}

.support-live {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: .55rem;
  min-width: 235px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 35px rgba(255, 255, 255, .04);
}

.support-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px #fff;
}

.support-live strong {
  font-size: .82rem;
}

.support-live small {
  grid-column: 2;
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
}

.support-page-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.support-sidebar,
.support-panel,
.support-detail-meta,
.support-conversation {
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .06);
  backdrop-filter: blur(22px);
}

.support-sidebar {
  position: sticky;
  top: 6rem;
  padding: 1.05rem;
}

.support-sidebar-top {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.support-sidebar-top small,
.support-sidebar-note span {
  display: block;
  color: rgba(255, 255, 255, .48);
  font-size: .72rem;
  margin-top: .2rem;
}

.support-orb {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 255, 255, .15);
}

.support-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  padding: 1rem 0;
}

.support-stats div {
  padding: .7rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, .2);
}

.support-stats strong,
.support-stats span {
  display: block;
}

.support-stats strong {
  font-size: 1.35rem;
}

.support-stats span {
  color: rgba(255, 255, 255, .48);
  font-size: .65rem;
}

.support-sidebar nav {
  display: grid;
  gap: .3rem;
}

.support-sidebar nav a {
  padding: .7rem .75rem;
  border-radius: 9px;
  color: rgba(255, 255, 255, .55);
  font-size: .82rem;
}

.support-sidebar nav a:hover,
.support-sidebar nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 0 20px rgba(255, 255, 255, .05);
}

.support-sidebar-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.support-content {
  display: grid;
  gap: 1.2rem;
}

.support-panel {
  padding: clamp(1rem, 3vw, 1.6rem);
}

.support-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.35rem;
}

.support-panel-heading h2 {
  margin-top: .35rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.support-step {
  color: rgba(255, 255, 255, .35);
  font-size: .7rem;
}

.support-form {
  display: grid;
  gap: 1rem;
}

.support-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.support-form label {
  display: grid;
  gap: .42rem;
  color: rgba(255, 255, 255, .58);
  font-size: .74rem;
}

.support-form input,
.support-form select,
.support-form textarea,
.support-reply-form textarea {
  width: 100%;
  padding: .85rem .95rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font: inherit;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus,
.support-reply-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .65);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .06), 0 0 25px rgba(255, 255, 255, .08);
}

.support-form-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.support-primary {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 10px;
  background: #fff;
  color: #050505;
  font: inherit;
  font-weight: 800;
  transition: transform .25s, box-shadow .25s;
}

.support-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, .32);
}

.support-form-footer p,
.support-reply-form p {
  color: rgba(255, 255, 255, .65);
  font-size: .78rem;
}

.support-ticket-list {
  display: grid;
  gap: .65rem;
}

.support-ticket-card {
  display: grid;
  gap: .55rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(0, 0, 0, .2);
  transition: border-color .25s, transform .25s, background .25s;
}

.support-ticket-card:hover,
.support-ticket-card.is-unread {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .06);
  transform: translateY(-2px);
}

.support-ticket-line,
.support-ticket-meta {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
}

.support-ticket-id {
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  letter-spacing: .12em;
}

.support-ticket-card h3 {
  font-size: .95rem;
}

.support-ticket-meta,
.support-ticket-date {
  color: rgba(255, 255, 255, .48);
  font-size: .73rem;
}

.support-status-pill {
  padding: .25rem .5rem;
  border-radius: 99px;
  color: #050505;
  background: #fff;
  font-size: .65rem;
  font-weight: 800;
}

.support-status-yanıt-bekliyor,
.support-status-açık,
.support-status-işlemde {
  color: #fff;
  background: rgba(255, 255, 255, .15);
}

.support-status-bekliyor,
.support-status-yanıtlandı {
  color: #fff;
  background: rgba(255, 255, 255, .15);
}

.support-status-çözüldü,
.support-status-kapatıldı {
  background: rgba(255, 255, 255, .7);
}

.support-empty {
  display: grid;
  place-items: center;
  gap: .35rem;
  min-height: 120px;
  border: 1px dashed rgba(255, 255, 255, .15);
  border-radius: 12px;
  text-align: center;
  color: rgba(255, 255, 255, .5);
}

.support-empty strong {
  color: #fff;
}

.support-faq-list {
  display: grid;
  gap: .55rem;
}

.support-faq-item {
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.support-faq-item summary {
  cursor: pointer;
  font-size: .85rem;
}

.support-faq-item p {
  margin-top: .6rem;
  color: rgba(255, 255, 255, .52);
  font-size: .8rem;
  line-height: 1.6;
}

.support-detail-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 1.2rem;
}

.support-detail-meta {
  padding: 1.2rem;
  align-self: start;
}

.support-back {
  display: block;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, .55);
  font-size: .78rem;
}

.support-detail-meta>strong {
  display: block;
  margin-top: .55rem;
  font-size: 1.5rem;
  letter-spacing: .08em;
}

.support-detail-meta dl {
  display: grid;
  gap: .8rem;
  margin-top: 1.8rem;
}

.support-detail-meta dt {
  color: rgba(255, 255, 255, .42);
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.support-detail-meta dd {
  margin-top: .25rem;
  font-size: .82rem;
}

.support-conversation {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  min-height: 460px;
  max-height: 620px;
  overflow: hidden;
}

.support-conversation-scroll {
  display: grid;
  align-content: start;
  gap: .9rem;
  padding: 1.2rem;
  overflow-y: auto;
}

.support-message-bubble {
  max-width: 78%;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
}

.support-message-bubble.is-user {
  justify-self: end;
  background: rgba(255, 255, 255, .13);
}

.support-message-bubble.is-admin {
  justify-self: start;
}

.support-message-head {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .45rem;
  font-size: .72rem;
}

.support-message-head time,
.support-message-bubble small {
  color: rgba(255, 255, 255, .42);
}

.support-message-bubble p {
  white-space: pre-wrap;
  line-height: 1.55;
  font-size: .86rem;
}

.support-message-bubble small {
  display: block;
  margin-top: .5rem;
  font-size: .65rem;
}

.support-reply-form {
  padding: .75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .25);
}

.support-reply-form textarea {
  min-height: 58px;
  max-height: 140px;
}

.support-reply-form>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: .7rem;
}

.support-reply-form small {
  color: rgba(255, 255, 255, .4);
  font-size: .7rem;
}

.admin-notification-center,
.support-internal-notes,
.support-admin-workspace {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 0 28px rgba(255, 255, 255, .04);
}

.admin-load-more {
  margin-top: .8rem;
}

.customer-lookup-form {
  display: flex;
  gap: .75rem;
  align-items: center;
}

.customer-lookup-form input {
  flex: 1;
  min-height: 44px;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
}

.customer-lookup-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 22px rgba(242, 184, 75, .14);
}

.customer-lookup-status {
  min-height: 1.2rem;
  margin-top: .75rem;
  color: var(--text-secondary);
  font-size: .8rem;
}

.customer-result {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--glass);
  box-shadow: var(--shadow);
}

.customer-profile-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}

.customer-avatar {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(255, 255, 255, .1);
}

.customer-profile-head h2 {
  margin: .2rem 0;
}

.customer-profile-head p:last-child {
  color: var(--text-secondary);
}

.customer-role {
  margin-left: auto;
  padding: .35rem .6rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  color: var(--brand-strong);
  font-size: .72rem;
  font-weight: 800;
}

.customer-info-grid,
.customer-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.customer-info-grid article,
.customer-data-grid section {
  min-width: 0;
  padding: .9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}

.customer-info-grid small {
  display: block;
  color: var(--text-muted);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.customer-info-grid strong {
  display: block;
  margin-top: .35rem;
  overflow-wrap: anywhere;
  font-size: .82rem;
}

.customer-data-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-data-grid h3 {
  margin-bottom: .7rem;
  font-size: .95rem;
}

.customer-data-list {
  display: grid;
  gap: .55rem;
  max-height: 260px;
  overflow: auto;
}

.customer-data-list article {
  padding: .65rem;
  border-left: 2px solid var(--brand);
  background: rgba(255, 255, 255, .035);
}

.customer-data-list strong,
.customer-data-list span {
  display: block;
  overflow-wrap: anywhere;
}

.customer-data-list strong {
  font-size: .78rem;
}

.customer-data-list span {
  margin-top: .25rem;
  color: var(--text-secondary);
  font-size: .7rem;
}

.customer-empty {
  color: var(--text-muted);
  font-size: .78rem;
}

@media (max-width: 700px) {

  .customer-lookup-form,
  .customer-profile-head {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-role {
    margin-left: 0;
    width: fit-content;
  }

  .customer-info-grid,
  .customer-data-grid {
    grid-template-columns: 1fr;
  }
}

.admin-notification-center {
  display: grid;
  gap: .45rem;
  color: var(--text-secondary);
  font-size: .8rem;
}

.admin-notification-center strong {
  color: var(--text-primary);
}

.admin-notification-center small {
  display: block;
  color: var(--text-muted);
}

.support-internal-notes {
  display: grid;
  gap: .65rem;
}

.support-internal-notes>strong,
.support-admin-workspace>strong {
  color: var(--text-primary);
}

.support-notes-list {
  display: grid;
  gap: .5rem;
  max-height: 260px;
  overflow: auto;
}

.support-notes-list article {
  padding: .65rem;
  border-left: 2px solid var(--brand);
  background: rgba(255, 255, 255, .04);
}

.support-notes-list article strong,
.support-notes-list article time {
  font-size: .7rem;
}

.support-notes-list article time {
  float: right;
  color: var(--text-muted);
}

.support-notes-list article p {
  margin-top: .35rem;
  color: var(--text-secondary);
  font-size: .8rem;
  white-space: pre-wrap;
}

.support-internal-notes textarea,
.support-admin-workspace input,
.support-admin-workspace select {
  width: 100%;
  padding: .7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
}

.support-admin-workspace {
  display: grid;
  gap: .65rem;
}

.support-admin-workspace dl {
  display: grid;
  gap: .5rem;
}

.support-admin-workspace dl div {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  font-size: .72rem;
}

.support-admin-workspace dt {
  color: var(--text-muted);
}

.support-admin-workspace dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.support-admin-workspace label {
  display: grid;
  gap: .35rem;
  color: var(--text-secondary);
  font-size: .72rem;
}

@media (max-width: 760px) {
  .support-admin-filters {
    grid-template-columns: 1fr;
  }

  .support-page-main {
    padding-top: 6.5rem;
  }

  .support-hero,
  .support-form-row,
  .support-page-grid,
  .support-detail-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .support-live {
    min-width: 0;
  }

  .support-sidebar {
    position: static;
  }

  .support-sidebar nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-sidebar nav a {
    text-align: center;
    font-size: .72rem;
    padding-inline: .3rem;
  }

  .support-sidebar-note {
    display: none;
  }

  .support-message-bubble {
    max-width: 92%;
  }

  .support-conversation {
    min-height: 360px;
    max-height: 520px;
  }

  .support-reply-form {
    position: sticky;
    bottom: 0;
  }
}

.support-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1500;
}

.support-toggle {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(242, 184, 75, 0.55);
  border-radius: 999px;
  background: #17130b;
  color: var(--brand-strong);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.support-panel {
  position: absolute;
  right: 0;
  bottom: 3.5rem;
  width: min(360px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
}

.support-panel-header,
.support-panel-header>div {
  display: flex;
}

.support-panel-header {
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.support-panel-header>div {
  flex-direction: column;
  gap: 0.2rem;
}

.support-panel-header span {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.support-close {
  color: var(--text-secondary);
  font-size: 1.4rem;
}

.support-messages {
  display: grid;
  gap: 0.55rem;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 0.75rem;
  padding-right: 0.2rem;
}

.support-message {
  max-width: 88%;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.support-message.bot {
  justify-self: start;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.support-message.user {
  justify-self: end;
  background: rgba(242, 184, 75, 0.16);
  border: 1px solid rgba(242, 184, 75, 0.25);
}

.support-form {
  display: grid;
  gap: 0.7rem;
}

.support-form input,
.support-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
}

.support-status {
  min-height: 1.2em;
  color: var(--brand-strong);
  font-size: 0.8rem;
}

.settings-page {
  min-height: 100vh;
  padding: 8rem 0 5rem;
}

.settings-shell {
  max-width: 980px;
}

.settings-heading {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.settings-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.settings-heading h1 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.settings-heading>p:last-child {
  color: var(--text-secondary);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.settings-card {
  padding: 1.35rem;
  border: 1px solid rgba(125, 226, 209, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(24, 43, 52, 0.92), rgba(13, 25, 31, 0.9));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.settings-card-wide {
  grid-column: 1 / -1;
}

.settings-card-title {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.settings-card-title h2 {
  font-size: 1.05rem;
}

.settings-card-title p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.settings-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: rgba(125, 226, 209, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.settings-form {
  display: grid;
  gap: 0.85rem;
}

.settings-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.settings-form input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
}

.settings-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(125, 226, 209, 0.1);
}

.settings-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
  resize: vertical;
}

.settings-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(125, 226, 209, 0.1);
}

.settings-status {
  min-height: 1.25rem;
  margin-top: 0.65rem;
  color: var(--brand-strong);
  font-size: 0.82rem;
}

.settings-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.settings-toggle input {
  accent-color: var(--accent);
  width: 1.1rem;
  height: 1.1rem;
}

.last-device {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-secondary);
}

.last-device>div {
  display: grid;
  gap: 0.2rem;
}

.last-device strong {
  color: var(--text-primary);
}

.last-device span:not(.device-glyph) {
  font-size: 0.8rem;
}

.last-device .device-location {
  color: var(--text-muted);
  opacity: 0.9;
}

.device-glyph {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(125, 226, 209, 0.25);
  border-radius: 10px;
  background: rgba(125, 226, 209, 0.1);
  font-size: 1.35rem;
}

.consent-group {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.consent-group legend {
  padding: 0 0.35rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.76rem;
  line-height: 1.45;
}

.consent-check input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: var(--brand);
}

.consent-check a {
  color: var(--brand-strong);
  text-decoration: underline;
}

.login-captcha {
  margin-bottom: 1rem;
}

.login-captcha label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

.login-captcha input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.image-watermark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.28em;
  transform: rotate(-24deg);
  pointer-events: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7), 0 0 18px rgba(255, 255, 255, 0.18);
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.2);
}

.admin-page {
  min-height: 100vh;
  padding: 6rem 1rem 3rem;
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.admin-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.admin-header {
  margin-bottom: 1.5rem;
}

.admin-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.4rem;
}

.admin-header p {
  color: var(--text-secondary);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.admin-card small {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.admin-card strong {
  font-size: 1.8rem;
  display: block;
}

.admin-panel-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
}

.admin-page {
  padding: 7rem 1.5rem 4rem;
}

.admin-shell {
  display: grid;
  gap: 1rem;
  max-width: 1320px;
}

.admin-header {
  margin: 0 0 0.25rem;
  padding: 0.75rem 0 1.25rem;
  border-bottom: 1px solid var(--border);
}

.admin-header h1 {
  margin-top: 0.25rem;
  font-size: 2.25rem;
}

.admin-header p:last-child {
  max-width: 48rem;
  margin-top: 0.5rem;
}

.admin-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 0.25rem;
}

.admin-card {
  min-width: 0;
  border-radius: 10px;
  padding: 1rem;
}

.admin-card small {
  min-height: 2.5em;
}

.admin-card strong {
  color: var(--brand-strong);
  font-size: 1.9rem;
}

.admin-panel-card {
  min-width: 0;
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.admin-panel-card .settings-card-title {
  align-items: center;
  margin-bottom: 1rem;
}

.admin-panel-card .settings-card-title h2 {
  font-size: 1.15rem;
}

.admin-panel-card .settings-card-title p {
  font-size: 0.85rem;
}

.admin-order-lookup {
  display: flex;
  gap: 0.65rem;
  max-width: 42rem;
}

.admin-order-lookup input {
  flex: 1;
  min-width: 0;
}

.admin-panel-card #supportAdminFilters {
  grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(135px, 1fr));
}

.admin-notification-center {
  margin: 0;
  border-radius: 12px;
}

.admin-panel-card #adminOrderListStatus,
.admin-panel-card [role="status"] {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-panel-card #supportAdminFilters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-page {
    padding: 6rem 1rem 2.5rem;
  }

  .admin-header h1 {
    font-size: 1.8rem;
  }

  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-card {
    padding: 0.85rem;
  }

  .admin-panel-card {
    padding: 1rem;
  }

  .admin-panel-card #supportAdminFilters,
  .admin-panel-card .support-admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-order-lookup {
    align-items: stretch;
    flex-direction: column;
  }
}

.admin-customer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.admin-data-list {
  display: grid;
  gap: .65rem;
  max-height: 360px;
  overflow: auto;
  margin-top: 1rem;
}

.admin-data-item {
  padding: .8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--glass);
}

.admin-data-item strong,
.admin-data-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-data-item span {
  color: var(--text-secondary);
  font-size: .78rem;
}

.admin-role-management {
  margin-top: 1.25rem;
}

.admin-role-management select {
  width: 100%;
  margin-top: .6rem;
  padding: .55rem .65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
}

@media (max-width: 820px) {
  .admin-customer-grid {
    grid-template-columns: 1fr;
  }
}

.admin-home-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-home-link {
  display: grid;
  gap: .65rem;
  min-height: 190px;
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.publisher-page .admin-shell {
  max-width: 1000px;
}

.publisher-page>.admin-shell>.settings-status,
.publisher-manager-section+.settings-status {
  color: var(--text-secondary);
}

.publisher-application-state {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.publisher-application-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 880px;
}

.publisher-application-form>label {
  display: grid;
  align-content: start;
  gap: .45rem;
  min-width: 0;
}

.publisher-application-form input,
.publisher-application-form textarea {
  width: 100%;
  min-width: 0;
}

.publisher-application-form .publisher-message-field,
.publisher-application-form .publisher-form-submit {
  grid-column: 1 / -1;
}

.publisher-form-submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
}

.publisher-form-submit .settings-status {
  margin: 0;
}

.publisher-assets-panel {
  margin-top: 1rem;
}

.publisher-assets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.publisher-asset {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--glass);
}

.publisher-asset-preview {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  background: #101116;
}

.publisher-asset-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.publisher-asset>div:last-child {
  display: grid;
  justify-items: start;
  gap: .45rem;
}

.publisher-asset strong {
  color: var(--text-primary);
}

.publisher-asset span {
  color: var(--text-secondary);
  font-size: .82rem;
}

.publisher-logo-asset {
  grid-template-columns: minmax(120px, 180px) 1fr;
}

.publisher-logo-preview {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #101116;
}

.publisher-logo-preview img {
  display: block;
  width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.publisher-manager-section {
  display: grid;
  gap: .7rem;
}

.publisher-manager-list {
  display: grid;
  gap: .7rem;
}

.publisher-manager-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--glass);
}

.publisher-manager-details {
  display: grid;
  gap: .3rem;
  min-width: 0;
}

.publisher-manager-details>* {
  overflow-wrap: anywhere;
}

.publisher-manager-details>span,
.publisher-manager-details>small,
.publisher-manager-details>p {
  color: var(--text-secondary);
  font-size: .84rem;
}

.publisher-manager-details>a {
  width: fit-content;
  color: var(--brand-strong);
  font-size: .85rem;
}

.publisher-manager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.publisher-manager-empty {
  padding: .8rem 0;
  color: var(--text-secondary);
}

@media (max-width: 760px) {
  .publisher-application-form {
    grid-template-columns: 1fr;
  }

  .publisher-application-form .publisher-message-field,
  .publisher-application-form .publisher-form-submit {
    grid-column: auto;
  }

  .publisher-assets-grid {
    grid-template-columns: 1fr;
  }

  .publisher-asset {
    grid-template-columns: minmax(100px, 34%) 1fr;
    gap: .8rem;
    padding: .75rem;
  }

  .publisher-logo-preview {
    min-height: 140px;
  }

  .publisher-manager-row {
    align-items: stretch;
    flex-direction: column;
  }

  .publisher-manager-actions>.btn {
    flex: 1;
  }
}

.admin-home-link:hover {
  border-color: var(--brand-strong);
  transform: translateY(-2px);
}

.admin-home-link strong {
  font-size: 1.35rem;
}

.admin-home-link span,
.admin-home-footnote {
  color: var(--text-secondary);
}

.admin-home-link b {
  color: var(--brand-strong);
  font-size: .9rem;
}

.admin-user-notification-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
}

.admin-user-notification-panel .settings-card-title {
  gap: .85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.admin-user-notification-panel .settings-icon {
  color: #17130a;
  background: var(--brand-strong);
}

.notification-admin-badge {
  margin-left: auto;
  padding: .35rem .55rem;
  border: 1px solid rgba(255, 210, 122, .3);
  border-radius: 5px;
  color: var(--brand-strong);
  font-size: .62rem;
  font-weight: 800;
}

.admin-notification-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding-top: .25rem;
}

.admin-notification-form {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: .85rem;
}

.admin-notification-form>label {
  min-width: 0;
  gap: .4rem;
  color: var(--text-secondary);
  font-size: .76rem;
  font-weight: 650;
}

.admin-notification-form>label small {
  color: var(--text-muted);
  font-size: .68rem;
  font-weight: 400;
}

.admin-notification-form>label input,
.admin-notification-form>label textarea {
  border-radius: 7px;
  background: rgba(0, 0, 0, .42);
}

.admin-notification-form>label input {
  min-height: 42px;
}

.admin-notification-form>label textarea {
  min-height: 190px;
  resize: vertical;
  line-height: 1.55;
}

.admin-notification-form .admin-notification-message-field {
  grid-column: 1 / -1;
}

.admin-notification-message-field>small {
  display: flex;
  justify-content: flex-end;
}

.admin-notification-submit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.admin-notification-submit .btn {
  min-height: 42px;
  padding-inline: 1rem;
}

.admin-notification-submit .btn span {
  margin-right: .25rem;
}

.admin-notification-submit .settings-status {
  flex: 1 1 220px;
  min-height: 1.2rem;
  margin: 0;
  font-size: .75rem;
}

.admin-notification-templates {
  display: grid;
  gap: .55rem;
  min-width: 0;
}

.admin-notification-aside-heading {
  margin-bottom: .15rem;
}

.admin-notification-templates h3 {
  font-size: .92rem;
}

.admin-notification-templates>div p {
  margin-top: .15rem;
  color: var(--text-secondary);
  font-size: .75rem;
}

.admin-message-template {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: .1rem .55rem;
  width: 100%;
  padding: .62rem .7rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.admin-message-template:hover,
.admin-message-template:focus-visible {
  border-color: var(--brand-strong);
  background: rgba(255, 210, 122, .07);
  transform: translateX(2px);
}

.admin-message-template:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}

.admin-message-template>span {
  grid-row: span 2;
  font-size: 1.05rem;
  text-align: center;
}

.admin-message-template strong {
  font-size: .78rem;
}

.admin-message-template small {
  color: var(--text-secondary);
  font-size: .67rem;
  line-height: 1.35;
}

.admin-notification-preview {
  margin-top: .45rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}

.admin-notification-preview-label {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .5rem;
  color: var(--text-muted);
  font-size: .61rem;
  font-weight: 800;
}

.preview-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #56ca8b;
  box-shadow: 0 0 8px rgba(86, 202, 139, .5);
}

.notification-preview-card {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .55rem;
  padding: .8rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(0, 0, 0, .24);
}

.notification-preview-icon {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 6px;
  background: rgba(242, 184, 75, .12);
}

.notification-preview-card strong {
  display: block;
  color: var(--text-primary);
  font-size: .75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.notification-preview-card p {
  display: -webkit-box;
  overflow: auto;
  max-height: 8.4em;
  margin: .25rem 0 0;
  color: var(--text-secondary);
  font-size: .69rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.notification-preview-card a {
  color: var(--brand-strong);
  text-decoration: underline;
}

.admin-list-footer,
.support-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin-top: 1rem;
}

.admin-list-footer {
  justify-content: space-between;
}

.support-pagination button {
  display: grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
}

.support-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.support-pagination span {
  min-width: 4rem;
  color: var(--text-secondary);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.admin-pagination {
  justify-content: flex-end;
}

.admin-home-footnote {
  margin: 0;
  font-size: .85rem;
}

@media (max-width: 900px) {
  .admin-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-notification-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .admin-notification-form {
    grid-template-columns: 1fr;
  }

  .admin-notification-form .admin-notification-message-field,
  .admin-notification-submit {
    grid-column: auto;
  }

  .notification-admin-badge {
    display: none;
  }
}

@media (max-width: 680px) {
  .admin-home-grid {
    grid-template-columns: 1fr;
  }

  .admin-list-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

.ticket-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.ticket-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(11, 17, 21, 0.72);
}

.ticket-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.ticket-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
}

.ticket-status.pending {
  background: rgba(245, 166, 91, 0.12);
  color: #f7d7a6;
}

.ticket-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.ticket-reply-form {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.ticket-reply-form textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(10, 16, 18, 0.9);
  color: var(--text-primary);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.ticket-reply-form .btn-small {
  width: fit-content;
  padding: 0.7rem 1rem;
}

.support-thread-panel {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.support-thread-header-row {
  margin-bottom: 0.8rem;
}

.support-thread-list {
  display: grid;
  gap: 0.85rem;
}

.support-thread-item {
  display: grid;
  gap: 0.6rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(10, 16, 18, 0.72);
}

.support-thread-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.support-thread-date {
  color: var(--text-secondary);
  font-size: 0.76rem;
}

.support-thread-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.support-thread-status.open {
  background: rgba(245, 166, 91, 0.12);
  color: #f7d7a6;
}

.support-thread-status.done {
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
}

.support-thread-message {
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
}

.support-thread-message strong {
  display: block;
  margin-bottom: 0.2rem;
}

.support-thread-message p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
}

.user-message {
  background: rgba(242, 184, 75, 0.07);
  border-color: rgba(242, 184, 75, 0.2);
}

.admin-message {
  background: rgba(52, 211, 153, 0.06);
  border-color: rgba(52, 211, 153, 0.2);
}

.admin-message.empty {
  opacity: 0.8;
}

.empty-support-history {
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 0.8rem;
  color: var(--text-secondary);
}

.admin-empty {
  color: var(--text-secondary);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.admin-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.admin-actions .btn {
  padding: 0.65rem 1rem;
}

.modal.premium-preview::after {
  content: 'PIXORAX';
  position: absolute;
  inset: 0 0 auto;
  height: 50vh;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.32);
  font-size: clamp(1.2rem, 5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.28em;
  transform: rotate(-24deg);
  pointer-events: none;
}

@media (max-width: 700px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-card-wide {
    grid-column: auto;
  }
}

/* Discord Button */
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: #5865F2;
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.discord-btn:hover {
  background: #4752c4;
  transform: scale(1.05);
}

.discord-btn svg {
  width: 18px;
  height: 18px;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(125, 226, 209, 0.4);
  border-radius: 999px;
  background: rgba(12, 32, 35, 0.9);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

.support-btn:hover {
  border-color: rgba(125, 226, 209, 0.8);
  background: rgba(18, 48, 52, 0.96);
  transform: translateY(-1px);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(242, 184, 75, .42);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(242, 184, 75, .12), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 6px 18px rgba(0, 0, 0, .2);
  cursor: pointer;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mobile-toggle:hover {
  border-color: var(--brand-strong);
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 0 18px rgba(242, 184, 75, .14);
}

.mobile-toggle span {
  width: 19px;
  height: 2px;
  background: var(--text-primary);
  transition: transform .2s ease, opacity .14s ease, background .18s ease;
  border-radius: 2px;
  transform-origin: center;
}

.mobile-toggle:active {
  transform: scale(.94);
}

.mobile-toggle.active {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 7px 20px rgba(242, 184, 75, .24);
}

.mobile-toggle.active span {
  background: #17120a;
}

.mobile-toggle:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 3px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  display: flex;
  width: min(86vw, 340px);
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  gap: .55rem;
  overflow-y: auto;
  padding: calc(5.5rem + env(safe-area-inset-top)) 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  border-left: 1px solid rgba(242, 184, 75, .24);
  background: radial-gradient(ellipse at 100% 0, rgba(242, 184, 75, .12), transparent 42%), linear-gradient(160deg, #171615, #0c0c0c 62%);
  box-shadow: -24px 0 70px rgba(0, 0, 0, .42);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
  transition: transform .24s cubic-bezier(.2, .75, .25, 1), visibility 0s linear .24s;
  counter-reset: mobile-nav;
}

.mobile-menu::before {
  margin: 0 0 .4rem .75rem;
  color: var(--brand-strong);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  content: "PIXORAX  /  MENU";
}

.gallery-card .image-watermark.tiled-watermark,
.modal-watermark.tiled-watermark {
  inset: 0;
  display: grid;
  grid-template: repeat(3, 1fr) / repeat(3, 1fr);
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.48rem, 1vw, .8rem);
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .95), 0 0 9px rgba(0, 0, 0, .9);
  transform: none;
  isolation: isolate;
  background: rgba(0, 0, 0, .08);
}

.gallery-card .image-watermark.tiled-watermark>span,
.modal-watermark.tiled-watermark>span {
  display: grid;
  place-items: center;
  padding: .12rem .16rem;
  border-radius: 2px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .06);
  transform: rotate(-24deg) scale(1.02);
  white-space: nowrap;
  backdrop-filter: blur(2px);
}

.gallery-card .image-watermark.tiled-watermark>.watermark-primary,
.modal-watermark.tiled-watermark>.watermark-primary {
  padding: .25rem .4rem;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(0, 0, 0, .48);
  color: rgba(255, 255, 255, .94);
  font-size: 1.25em;
  letter-spacing: .16em;
}

#imageModal .modal-watermark.tiled-watermark {
  grid-template: repeat(5, 1fr) / repeat(5, 1fr);
  padding: 1.5rem;
  color: rgba(255, 255, 255, .76);
  background: repeating-linear-gradient(-24deg, transparent 0 42px, rgba(255, 255, 255, .035) 43px 45px);
}

#imageModal .modal-watermark.tiled-watermark>span {
  padding: .24rem .38rem;
  border-color: rgba(255, 255, 255, .15);
  background: rgba(0, 0, 0, .34);
  font-size: clamp(.62rem, 1vw, .9rem);
  text-shadow: 0 1px 5px #000, 0 0 10px #000;
}

#imageModal .modal-watermark.tiled-watermark>span:nth-child(even) {
  transform: rotate(-24deg) translateY(3px);
}

#imageModal .modal-watermark.tiled-watermark>span:nth-child(odd) {
  transform: rotate(-24deg) translateY(-3px);
}

#imageModal .modal-watermark.tiled-watermark>span:nth-child(13) {
  padding: .48rem .7rem;
  border-color: rgba(255, 255, 255, .62);
  background: rgba(0, 0, 0, .68);
  color: #fff;
  font-size: clamp(.9rem, 1.4vw, 1.2rem);
  letter-spacing: .16em;
}

.gallery-card .image-watermark.tiled-watermark::before,
.gallery-card .image-watermark.tiled-watermark::after,
.modal-watermark.tiled-watermark::before,
.modal-watermark.tiled-watermark::after {
  content: none;
}

.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem .75rem;
  border: 1px solid transparent;
  border-bottom-color: rgba(255, 255, 255, .09);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 650;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
  counter-increment: mobile-nav;
}

.mobile-menu a::after {
  color: var(--text-muted);
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .08em;
  content: "0" counter(mobile-nav);
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  transform: translateX(3px);
  border-color: rgba(242, 184, 75, .16);
  background: rgba(242, 184, 75, .07);
  color: var(--text-primary);
  outline: none;
}

.mobile-menu a.active {
  border-color: rgba(242, 184, 75, .22);
  background: linear-gradient(90deg, rgba(242, 184, 75, .14), rgba(242, 184, 75, .035));
  color: var(--brand-strong);
}

.mobile-menu a.active::after {
  color: var(--brand-strong);
}

.mobile-menu a:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, .68);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Profile Dropdown */
.profile-dropdown {
  position: relative;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 100;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a,
.dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-align: left;
}

.menu-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: var(--accent-dim);
  color: var(--text-primary);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 2rem 3rem;
  background:
    radial-gradient(circle at 12% 24%, rgba(242, 184, 75, 0.18), transparent 19rem),
    radial-gradient(circle at 86% 34%, rgba(52, 211, 153, 0.13), transparent 21rem),
    radial-gradient(circle at 52% 88%, rgba(244, 114, 182, 0.1), transparent 23rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 70%);
}

body:not(.premium-user) .hero::after {
  content: '';
  position: absolute;
  inset: 12% 8%;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 28px;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.025);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(255, 255, 255, 0.03), transparent),
    linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.premium-home-badge {
  display: none;
  width: fit-content;
  margin: 0 auto 1.25rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(242, 184, 75, 0.65);
  border-radius: 999px;
  background: rgba(40, 27, 5, 0.76);
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 0 24px rgba(242, 184, 75, 0.18);
}

.premium-user .premium-home-badge {
  display: block;
  animation: premiumBadgePulse 3s ease-in-out infinite;
}

.premium-user .hero {
  background:
    radial-gradient(circle at 18% 28%, rgba(242, 184, 75, 0.2), transparent 20rem),
    radial-gradient(circle at 82% 38%, rgba(52, 211, 153, 0.16), transparent 22rem),
    radial-gradient(circle at 52% 84%, rgba(244, 114, 182, 0.15), transparent 24rem);
}

.premium-user .hero-title {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: #f4f7f2 !important;
  animation: none !important;
}

@keyframes premiumBadgePulse {
  50% {
    box-shadow: 0 0 34px rgba(52, 211, 153, 0.3);
  }
}

@keyframes premiumTitleShine {
  to {
    background-position: 260% center;
  }
}

.hero-title {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #f4f7f2;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none;
  animation: none !important;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #c4d0d4;
  margin-bottom: 2.5rem;
  font-weight: 400;
  opacity: 1;
}

/* Search Box */
.search-box {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.search-box input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3.25rem;
  background: rgba(13, 16, 18, 0.72);
  border: 1px solid rgba(242, 184, 75, 0.2);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box input:focus {
  border-color: rgba(242, 184, 75, 0.7);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
}

.search-box input:focus+.search-icon,
.search-box:focus-within .search-icon {
  color: var(--text-secondary);
}

/* ========== SECTION ========== */
.section {
  padding: 4rem 0;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 75%);
  border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.025), transparent 75%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: #f7f4ec;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== FILTERS ========== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.gallery-filter-control {
  display: grid;
  gap: .35rem;
  min-width: 190px;
  color: var(--text-secondary);
  font-size: .75rem;
}

.gallery-filter {
  width: 100%;
  min-height: 44px;
  padding: .65rem 2.3rem .65rem .85rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
}

.gallery-filter:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.gallery-browser {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
}

.gallery-filter-sidebar {
  position: sticky;
  top: 5.6rem;
  display: grid;
  gap: .9rem;
  max-height: calc(100dvh - 6.4rem);
  overflow: auto;
  padding: 1.15rem;
  border: 1px solid rgba(255, 210, 122, .24);
  border-top: 3px solid var(--brand);
  border-radius: 10px;
  background: radial-gradient(ellipse at 0 0, rgba(242, 184, 75, .14), transparent 48%), linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .012) 48%), #10100f;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .055);
  scrollbar-width: thin;
  scrollbar-color: var(--brand) transparent;
}

.gallery-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.gallery-filter-heading span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--brand-strong);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.gallery-filter-heading span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(242, 184, 75, .75);
  content: "";
}

.gallery-filter-heading h3 {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .12rem;
  font-size: 1.22rem;
  letter-spacing: .01em;
}

.gallery-filter-heading h3 svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--brand-strong);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gallery-filter-heading button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .42rem .6rem;
  border: 1px solid rgba(255, 210, 122, .24);
  border-radius: 5px;
  background: rgba(242, 184, 75, .07);
  color: var(--brand-strong);
  font: inherit;
  font-size: .68rem;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.gallery-filter-heading button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.gallery-filter-heading button:hover {
  border-color: var(--brand);
  background: rgba(242, 184, 75, .08);
  color: var(--brand-strong);
}

.gallery-filter-field {
  display: grid;
  gap: .4rem;
  min-width: 0;
  color: var(--text-secondary);
  font-size: .72rem;
  font-weight: 650;
}

.gallery-filter-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.gallery-filter-label svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--brand-strong);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.gallery-filter-field input,
.gallery-filter-field select,
.gallery-price-range input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: .55rem .7rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 5px;
  background: rgba(0, 0, 0, .32);
  color: var(--text-primary);
  font: inherit;
  font-size: .74rem;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.gallery-filter-field input::placeholder,
.gallery-price-range input::placeholder {
  color: var(--text-muted);
}

.gallery-filter-field input:focus,
.gallery-filter-field select:focus,
.gallery-price-range input:focus {
  outline: 2px solid rgba(255, 210, 122, .4);
  outline-offset: 1px;
  border-color: var(--brand);
  background: rgba(0, 0, 0, .36);
}

.gallery-filter-group {
  display: grid;
  gap: .3rem;
  min-width: 0;
  margin: 0;
  padding: .75rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012) 72%);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

.gallery-filter-group legend,
.gallery-filter-legend {
  width: 100%;
  margin-bottom: .35rem;
  color: var(--text-primary);
  font-size: .75rem;
  font-weight: 750;
}

.gallery-filter-group legend::after {
  display: block;
  width: 24px;
  height: 2px;
  margin-top: .35rem;
  border-radius: 2px;
  background: var(--brand);
  opacity: .75;
  content: "";
}

.gallery-filter-legend {
  display: flex;
  justify-content: space-between;
}

.gallery-filter-legend small {
  color: var(--text-muted);
  font-size: .68rem;
}

.gallery-filter-group>label {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 34px;
  padding: .3rem .45rem;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--text-secondary);
  font-size: .72rem;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.gallery-filter-group>label>span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.gallery-option-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--brand-strong);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.gallery-filter-group>label:hover {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .055);
  color: var(--text-primary);
}

.gallery-filter-group>label:has(input:checked) {
  transform: translateX(2px);
  border-color: rgba(242, 184, 75, .34);
  background: linear-gradient(90deg, rgba(242, 184, 75, .18), rgba(242, 184, 75, .045));
  color: var(--brand-strong);
}

.gallery-filter-group input[type="checkbox"] {
  display: grid;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  appearance: none;
  place-content: center;
  border: 1px solid #6b6252;
  border-radius: 4px;
  background: rgba(0, 0, 0, .38);
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.gallery-filter-group input[type="checkbox"]::before {
  width: 8px;
  height: 5px;
  transform: rotate(-45deg) scale(0);
  border-bottom: 2px solid #17120a;
  border-left: 2px solid #17120a;
  content: "";
  transition: transform .12s ease;
}

.gallery-filter-group input[type="checkbox"]:checked {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
  box-shadow: 0 0 10px rgba(242, 184, 75, .25);
}

.gallery-filter-group input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

.gallery-filter-group input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}

.gallery-price-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}

.gallery-price-range label {
  display: grid;
  gap: .35rem;
  color: var(--text-muted);
  font-size: .65rem;
}

.gallery-filter-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  min-height: 43px;
  padding: .7rem .8rem;
  border: 1px solid var(--brand);
  border-radius: 5px;
  background: linear-gradient(110deg, var(--brand), #ffd27a);
  color: #17120a;
  font: inherit;
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(242, 184, 75, .15);
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.gallery-filter-apply svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.gallery-filter-apply:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(242, 184, 75, .22);
}

.gallery-filter-apply:focus-visible,
.gallery-filter-heading button:focus-visible,
.gallery-filter-group>label:focus-within {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}

.gallery-results {
  min-width: 0;
}

.gallery-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 1.6rem;
  margin-bottom: .55rem;
  color: var(--text-secondary);
  font-size: .72rem;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr));
  gap: 1rem;
}

@media (max-width: 980px) {
  .gallery-browser {
    grid-template-columns: 1fr;
  }

  .gallery-filter-sidebar {
    position: static;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1.1rem;
  }

  .gallery-filter-heading,
  .gallery-filter-apply {
    grid-column: 1 / -1;
  }

  .gallery-filter-group {
    align-content: start;
  }
}

@media (max-width: 760px) {
  .gallery-filter-sidebar {
    grid-template-columns: minmax(0, 1fr);
    gap: .8rem;
    padding: 1rem;
  }

  .gallery-filter-heading,
  .gallery-filter-apply {
    grid-column: 1;
  }

  .gallery-filter-field {
    font-size: .78rem;
  }

  .gallery-filter-field input,
  .gallery-filter-field select,
  .gallery-price-range input {
    height: 44px;
    font-size: .84rem;
  }

  .gallery-filter-group {
    padding: .75rem;
  }

  .gallery-filter-group legend,
  .gallery-filter-legend {
    font-size: .82rem;
  }

  .gallery-filter-group>label {
    min-height: 40px;
    font-size: .8rem;
  }

  .gallery-filter-group input[type="checkbox"] {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 560px) {
  .gallery-browser {
    gap: .9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: .75rem;
  }
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 50px;
  background: transparent;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
  background: var(--accent-dim);
}

.filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

/* ========== GALLERY GRID ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  content-visibility: auto;
  contain-intrinsic-size: 360px 420px;
}

.checkout-shell,
.plain-page {
  min-height: 100vh;
  padding: 8rem 1rem 4rem;
}

.checkout-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr);
  gap: 1.25rem;
}

.checkout-panel,
.summary-panel {
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(17, 20, 24, .82);
  box-shadow: var(--shadow);
}

.checkout-header {
  margin-bottom: 1.4rem;
}

.checkout-header .eyebrow {
  margin: 0 0 .45rem;
  color: var(--text-secondary);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.checkout-header h1 {
  margin-top: .35rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.checkout-form,
.checkout-grid,
.checkbox-stack {
  display: grid;
  gap: .9rem;
}

.checkout-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-grid label {
  display: grid;
  gap: .35rem;
  color: var(--text-secondary);
  font-size: .8rem;
}

.checkout-grid input {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(10, 10, 10, .95);
  color: var(--text-primary);
  font: inherit;
}

.checkout-grid input::placeholder {
  color: rgba(255, 255, 255, .35);
}

.legal-box {
  margin-top: .4rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, .015);
}

.legal-box h3 {
  margin-bottom: .65rem;
  font-size: .95rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
}

.legal-links a {
  color: var(--brand-strong);
  font-size: .78rem;
  text-decoration: underline;
}

.payment-security-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.payment-security-box>div:first-child {
  display: grid;
  gap: .2rem;
}

.payment-security-box strong {
  font-size: 1rem;
}

.payment-security-box span {
  color: var(--text-secondary);
  font-size: .8rem;
}

.payment-logos {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}

.payment-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 38px;
  padding: .35rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
}

.payment-logo img {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .08));
}

.checkbox-stack label {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: .78rem;
}

.checkbox-stack input {
  margin-top: .2rem;
  accent-color: var(--brand);
}

.checkout-status {
  min-height: 1.25rem;
  color: var(--text-secondary);
  font-size: .8rem;
}

.payment-test-panel {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 196, 87, .45);
  border-radius: 10px;
  background: rgba(255, 196, 87, .06);
}

.payment-test-heading span {
  color: #ffd27b;
  font-size: .68rem;
  font-weight: 800;
}

.payment-test-heading h2 {
  margin: .25rem 0 0;
  font-size: 1.1rem;
}

.payment-test-panel p,
.payment-test-panel small {
  margin: 0;
  color: var(--text-secondary);
}

.payment-test-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.payment-test-actions button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.payment-test-panel[hidden] {
  display: none !important;
}

.payment-confirmation {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(102, 211, 146, .5);
  border-radius: 12px;
  background: rgba(48, 150, 91, .12);
}

.payment-confirmation[hidden] {
  display: none !important;
}

.payment-confirmation-icon {
  display: grid;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: #66d392;
  color: #092213;
  font-size: 1.2rem;
  font-weight: 800;
}

.payment-confirmation h2 {
  margin: 0 0 .25rem;
  font-size: 1.1rem;
}

.payment-confirmation p {
  margin: 0 0 .45rem;
  color: var(--text-secondary);
  font-size: .85rem;
  line-height: 1.5;
}

.payment-confirmation small {
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}

.payment-confirmation small strong {
  color: var(--text-primary);
}

.empty-cart {
  display: grid;
  gap: .55rem;
  place-items: center;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-secondary);
}

.empty-cart h3 {
  color: var(--text-primary);
}

.empty-cart-icon {
  font-size: 2rem;
}

.checkout-items {
  display: grid;
  gap: .7rem;
  margin: 1rem 0;
}

.checkout-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: .35rem .7rem;
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.checkout-product {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}

.checkout-product-image {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
}

.checkout-product-image img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 7px;
}

.premium-product-mark {
  position: absolute;
  inset: auto -5px -6px -5px;
  padding: 2px 3px;
  border-radius: 4px;
  background: var(--brand);
  color: #17120a;
  font-size: 7px;
  font-weight: 900;
  text-align: center;
  letter-spacing: .04em;
}

.checkout-product {
  grid-column: 1;
  grid-row: 1;
}

.checkout-product img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 7px;
}

.checkout-product strong,
.checkout-product small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-product small {
  color: var(--text-secondary);
  font-size: .7rem;
}

.checkout-qty {
  display: flex;
  align-items: center;
  gap: .5rem;
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  margin-top: .25rem;
}

.checkout-qty button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--text-primary);
}

.checkout-price {
  white-space: nowrap;
  font-weight: 700;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin-bottom: .15rem;
}

.checkout-remove {
  color: #f7b0b0;
  font-size: .75rem;
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: end;
}

.order-totals {
  display: grid;
  gap: .55rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
}

.order-totals div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-secondary);
}

.order-totals [hidden] {
  display: none !important;
}

.order-totals .total-row {
  color: var(--text-primary);
  font-size: 1.1rem;
}

.tosla-box {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.tosla-box iframe {
  display: block;
  width: 100%;
  min-height: 120px;
  border: 0;
}

.cart-button {
  white-space: nowrap;
}

.mobile-cart-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.56rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.cart-badge {
  display: inline-grid;
  place-items: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .25rem;
  border-radius: 999px;
  background: var(--brand);
  color: #17120a;
  font-size: .7rem;
}

.notification-menu {
  position: relative;
}

.account-shortcuts {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.account-shortcuts a {
  display: grid;
  justify-items: center;
  gap: .05rem;
  min-width: 46px;
  padding: .25rem .35rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
}

.account-shortcuts a:hover {
  border-color: var(--border);
  color: var(--brand-strong);
}

.account-shortcuts a span {
  font-size: 1.15rem;
  line-height: 1.1;
}

.account-shortcuts a small {
  font-size: .62rem;
}

.notification-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, .035);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.notification-button:hover,
.notification-button[aria-expanded="true"] {
  border-color: var(--brand);
  background: rgba(242, 184, 75, .1);
  color: var(--brand-strong);
}

.notification-button:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 3px;
}

.notification-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e35454;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}

.notification-panel {
  position: absolute;
  z-index: 100;
  top: calc(100% + 10px);
  right: 0;
  width: min(340px, calc(100vw - 2rem));
  max-height: 390px;
  overflow: auto;
  padding: .65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface, #151515);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
}

.notification-panel[hidden],
.notification-menu[hidden] {
  display: none !important;
}

.notification-panel-heading {
  padding: .35rem .45rem .6rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.notification-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}

.notification-panel-heading button {
  padding: .25rem 0;
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  font: inherit;
  font-size: .7rem;
  white-space: nowrap;
  cursor: pointer;
}

.notification-panel-heading button:disabled {
  opacity: .45;
  cursor: default;
}

.notification-list {
  display: grid;
  gap: .25rem;
  padding-top: .35rem;
}

.notification-list>p {
  margin: 0;
  padding: .7rem .45rem;
  color: var(--text-secondary);
  font-size: .82rem;
}

.notification-item {
  display: grid;
  width: 100%;
  gap: .25rem;
  padding: .65rem .5rem;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.notification-item:hover {
  background: rgba(255, 255, 255, .07);
}

.notification-item strong {
  display: block;
  overflow: hidden;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-item small {
  display: -webkit-box;
  overflow: hidden;
  max-height: 2.8em;
  color: var(--text-secondary);
  font-size: .74rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notification-item.is-read {
  opacity: .65;
}

dialog.notification-detail-dialog {
  position: fixed;
  inset: 0;
  width: min(420px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-secondary, #141414);
  color: var(--text-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

dialog.notification-detail-dialog::backdrop {
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(3px);
}

.admin-broadcast-dialog {
  position: fixed;
  inset: 0;
  width: min(430px, calc(100vw - 2rem));
  max-width: none;
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: 0 22px 64px rgba(0, 0, 0, .55);
}

.admin-broadcast-dialog::backdrop {
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(4px);
}

.admin-broadcast-dialog-content {
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: 1.5rem;
  text-align: center;
}

.admin-broadcast-warning-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(242, 184, 75, .14);
  color: var(--brand-strong);
  font-size: 1.4rem;
}

.admin-broadcast-dialog-content h2 {
  font-size: 1.1rem;
}

.admin-broadcast-dialog-content p {
  max-width: 34ch;
  color: var(--text-secondary);
  font-size: .9rem;
}

.admin-broadcast-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-top: .35rem;
}

.notification-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.notification-detail-head strong {
  font-size: 1rem;
  line-height: 1.4;
}

.notification-detail-head button {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
}

.notification-detail-dialog [data-detail-message] {
  margin: .9rem 0 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.notification-item a,
.notification-detail-dialog a:not(.btn) {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.notification-detail-dialog [data-detail-ticket][hidden] {
  display: none;
}

.mobile-notification-menu {
  display: none;
}

.maintenance-notice {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: 1rem;
  width: min(430px, calc(100vw - 2rem));
  padding: 1rem 3rem 1rem 1rem;
  border: 1px solid rgba(242, 184, 75, .55);
  border-radius: 8px;
  background: #171a1d;
  color: #f4f5f6;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .42);
  animation: noticeEnter .35s ease-out both;
}

.maintenance-notice strong {
  display: block;
  margin-bottom: .3rem;
  color: var(--brand-strong);
  font-size: .85rem;
}

.maintenance-notice p {
  margin: 0;
  color: #d4d8dd;
  font-size: .82rem;
  line-height: 1.5;
}

.maintenance-notice-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.maintenance-notice-close:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

@keyframes noticeEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .filters {
    justify-content: stretch;
  }

  .gallery-filter-control {
    flex: 1 1 100%;
  }

  .maintenance-notice {
    right: .65rem;
    bottom: .65rem;
    width: calc(100vw - 1.3rem);
  }
}

.mobile-actions .account-shortcuts {
  gap: 0;
}

.mobile-actions .account-shortcuts a {
  min-width: 34px;
  padding: .2rem;
}

.mobile-actions .account-shortcuts small {
  display: none;
}

.card-price {
  margin-top: .65rem;
  color: var(--price-color, var(--brand-strong));
  font-weight: 800;
}

.card-price del {
  display: block;
  color: var(--text-secondary);
  font-size: .76em;
  font-weight: 500;
}

.card-price strong {
  display: block;
}

.card-price small {
  display: block;
  color: #ffd275;
  font-size: .65rem;
  letter-spacing: .06em;
}

.premium-card-price {
  color: var(--text-secondary);
}

.premium-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 2rem auto 0;
  text-align: left;
}

.premium-plan-card {
  display: grid;
  gap: .7rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}

.premium-plan-card h2 {
  font-size: 2rem;
}

.premium-plan-card h2 small {
  color: var(--text-secondary);
  font-size: .85rem;
  font-weight: 500;
}

.premium-plan-card p:not(.eyebrow) {
  min-height: 2.4rem;
  color: var(--text-secondary);
}

.premium-plan-featured {
  border-color: rgba(242, 184, 75, .6);
  box-shadow: 0 0 28px rgba(242, 184, 75, .1);
}

.premium-status {
  min-height: 1.3rem;
  color: var(--text-secondary);
}

.card-purchase-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-top: .8rem;
}

.card-purchase-row .card-price {
  flex: 1 1 4rem;
  min-width: 0;
  margin-top: 0;
  white-space: nowrap;
}

.card-actions {
  flex: 1 1 10.5rem;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.card-actions .btn,
.card-purchase-row>.btn {
  min-width: 0;
  padding: .45rem .65rem;
  font-size: .72rem;
  white-space: normal;
}

.card-actions .btn {
  flex: 1 1 0;
  line-height: 1.2;
}

.card-warning {
  margin-top: .55rem;
  color: var(--text-muted);
  font-size: .68rem;
  line-height: 1.35;
}

.modal-warning {
  color: var(--brand-strong);
  font-size: .78rem;
  font-weight: 700;
}

.info-card,
.contact-business-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .02);
  box-shadow: var(--shadow);
}

.contact-business-card {
  grid-column: 1 / -1;
}

.info-card,
.contact-business-card {
  animation: cardReveal .55s both;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.info-card:hover,
.contact-business-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: var(--shadow), 0 0 28px rgba(242, 184, 75, .18);
}

.theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-primary);
  background: var(--glass);
  font-size: 1.05rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
  transform: rotate(12deg) scale(1.06);
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

:root.reduce-motion .info-card,
:root.reduce-motion .contact-business-card {
  animation: none;
  transition: none;
}

.contact-business-note {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.business-details {
  display: grid;
  gap: .8rem;
  margin: 0;
}

.business-details div {
  display: grid;
  gap: .2rem;
}

.business-details dt {
  color: var(--text-secondary);
  font-size: .82rem;
}

.business-details dd {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
}

.business-details a {
  color: var(--brand-strong);
  text-decoration: underline;
}

.empty-cart[hidden],
.checkout-items:empty,
.order-totals[hidden],
.tosla-box[hidden] {
  display: none !important;
}

@media (max-width: 760px) {

  .checkout-layout,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-shell {
    padding: 6rem .75rem 2rem;
  }

  .checkout-panel,
  .summary-panel {
    padding: 1rem;
    border-radius: 13px;
  }

  .checkout-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
  }

  .checkout-product {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .checkout-qty {
    grid-column: 1;
    grid-row: 2;
  }

  .checkout-price {
    grid-column: 2;
    grid-row: 2;
  }

  .checkout-remove {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
    align-self: center;
  }

  .payment-security-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .payment-test-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .payment-test-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .checkout-form>.btn {
    width: 100%;
    min-height: 48px;
  }

  .checkout-header h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .card-purchase-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-actions {
    width: 100%;
  }

  .card-actions .btn {
    flex: 1;
  }

  .premium-plans {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-card:hover {
  border-color: rgba(242, 184, 75, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.42), 0 0 28px rgba(242, 184, 75, 0.08);
}

.card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.premium-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(242, 184, 75, 0.65);
  border-radius: 999px;
  background: rgba(30, 22, 8, 0.9);
  color: var(--brand-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(242, 184, 75, 0.55), inset 0 0 10px rgba(255, 210, 122, 0.1);
  text-shadow: 0 0 8px rgba(255, 210, 122, 0.65);
  animation: premiumBadgeGlow 2.4s ease-in-out infinite;
}

.premium-card {
  border-color: rgba(242, 184, 75, 0.72);
  box-shadow: 0 0 0 1px rgba(242, 184, 75, 0.2), 0 10px 30px rgba(242, 184, 75, 0.16), 0 0 26px rgba(242, 184, 75, 0.12);
}

.premium-card:hover {
  border-color: var(--brand-strong);
  box-shadow: 0 0 0 1px rgba(255, 210, 122, 0.38), 0 18px 48px rgba(242, 184, 75, 0.24), 0 0 42px rgba(242, 184, 75, 0.2);
}

@keyframes premiumBadgeGlow {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(242, 184, 75, 0.45), inset 0 0 10px rgba(255, 210, 122, 0.08);
  }

  50% {
    box-shadow: 0 0 22px rgba(255, 210, 122, 0.8), inset 0 0 14px rgba(255, 210, 122, 0.16);
  }
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .card-image img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-card:hover .card-overlay {
  opacity: 1;
}

.card-overlay .btn {
  transform: translateY(10px);
  transition: transform 0.35s ease, background 0.3s;
}

.gallery-card:hover .card-overlay .btn {
  transform: translateY(0);
}

.card-info {
  padding: 1rem 1.15rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-info {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

/* ========== MODAL / LIGHTBOX ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .68);
  backdrop-filter: blur(8px);
  display: flex;
  transition: opacity .18s ease, visibility .18s ease;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-image {
  width: 100%;
  max-height: 50vh;
  object-fit: contain;
  background: var(--bg-primary);
  border-radius: var(--radius) var(--radius) 0 0;
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.modal-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal-actions .modal-action-close {
  background: #fff;
  border: 1px solid #fff;
  color: #050505;
}

.modal-actions .modal-action-close:hover {
  background: #050505;
  border-color: #fff;
  color: #fff;
  transform: none;
}

#imageModal .modal {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  max-width: 980px;
  max-height: 86vh;
  overflow: hidden;
  border: 1px solid rgba(242, 184, 75, .26);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(11, 11, 11, .9) 40%), var(--bg-secondary);
  box-shadow: 0 34px 120px rgba(0, 0, 0, .78), 0 0 40px rgba(242, 184, 75, .09);
  backdrop-filter: blur(14px);
}

#imageModal .protected-preview-frame {
  position: relative;
  display: grid;
  min-height: 460px;
  padding: 2.5rem 1.25rem;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background: radial-gradient(circle at 50% 35%, rgba(242, 184, 75, .16), transparent 30%), linear-gradient(145deg, #151515, #090909 68%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}

#imageModal .modal-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 12px;
  filter: saturate(1.08) contrast(1.05) drop-shadow(0 18px 35px rgba(0, 0, 0, .48));
}

#imageModal .modal-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(10, 10, 10, 1));
}

#imageModal .modal-badge {
  margin-bottom: .9rem;
  color: var(--brand-strong);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#imageModal .modal-title {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

#imageModal .modal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: 0 0 1.25rem;
  font-size: .78rem;
}

#imageModal .modal-meta span:not(.modal-warning) {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: .7rem .8rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .028);
  color: var(--text-primary);
  box-shadow: inset 0 1px rgba(255, 255, 255, .03);
}

#imageModal .modal-meta span:nth-child(1) {
  grid-column: 1 / -1;
  min-height: 58px;
  border-color: rgba(242, 184, 75, .22);
  background: linear-gradient(100deg, rgba(242, 184, 75, .12), rgba(242, 184, 75, .04));
  color: var(--brand-strong);
  font-size: 1.05rem;
  font-weight: 700;
}

#imageModal .modal-meta span:nth-child(1) strong {
  margin-right: .4rem;
  color: var(--text-secondary);
  font-size: .7rem;
}

#imageModal .modal-meta .modal-warning {
  grid-column: 1 / -1;
  padding: .8rem .9rem;
  border: 1px solid rgba(242, 184, 75, .18);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  background: rgba(242, 184, 75, .06);
  color: var(--brand-strong);
  font-size: .72rem;
  line-height: 1.55;
}

#imageModal .preview-actions {
  display: flex;
  gap: .75rem;
  margin-top: .5rem;
}

#imageModal .preview-actions .btn {
  flex: 1;
  justify-content: center;
}

#imageModal .modal-close {
  top: .85rem;
  right: .85rem;
  border-color: rgba(255, 255, 255, .15);
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(8px);
}

#imageModal .modal-close {
  top: .85rem;
  right: .85rem;
  border-color: rgba(255, 255, 255, .15);
  background: rgba(10, 10, 10, .72);
  backdrop-filter: blur(8px);
}

@media (max-width: 700px) {
  #imageModal .modal {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }

  #imageModal .protected-preview-frame {
    min-height: 0;
    height: min(52vh, 420px);
    padding: 1.5rem 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  #imageModal .modal-image {
    max-height: 48vh;
  }

  #imageModal .modal-body {
    padding: 1.4rem 1.25rem 1.6rem;
  }
}

/* Auth Required Modal */
.auth-modal .modal {
  max-width: 420px;
  text-align: center;
  padding: 2.5rem 2rem;
}

.auth-modal .modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.auth-modal .modal-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.auth-modal .modal-desc {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.auth-modal .modal-actions {
  justify-content: center;
}

/* ========== AUTH PAGES ========== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.auth-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(255, 255, 255, 0.04), transparent),
    radial-gradient(ellipse 50% 30% at 80% 80%, rgba(255, 255, 255, 0.03), transparent);
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.auth-logo {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--text-secondary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form-error {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-error.show {
  display: block;
}

.form-success {
  color: #51cf66;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-footer a {
  color: var(--text-primary);
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  white-space: nowrap;
}

.auth-provider-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}

.auth-provider-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-width: 0;
  min-height: 44px;
  padding: .65rem .55rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: var(--text-primary);
  font: inherit;
  font-size: .78rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.auth-provider-button:hover {
  border-color: var(--brand-strong);
  background: rgba(255, 255, 255, .06);
  transform: translateY(-1px);
}

.auth-provider-button:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}

.auth-provider-button:disabled {
  opacity: .55;
  cursor: wait;
  transform: none;
}

.auth-provider-mark {
  display: block;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.auth-provider-google-mark {
  border-radius: 50%;
  background: #fff;
}

.auth-provider-apple-mark {
  filter: invert(1);
  mix-blend-mode: screen;
}

@media (max-width: 380px) {
  .auth-provider-actions {
    grid-template-columns: 1fr;
  }
}

.email-mfa-form[hidden] {
  display: none;
}

.email-mfa-form {
  display: grid;
  gap: .7rem;
}

.email-mfa-form label {
  color: var(--text-secondary);
  font-size: .8rem;
  font-weight: 650;
}

.email-mfa-form input {
  width: 100%;
  min-height: 48px;
  padding: .7rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
  font-size: 1.15rem;
  text-align: center;
  letter-spacing: .35em;
}

.email-mfa-form input:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 2px;
}

.email-mfa-form .email-mfa-remember {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  color: var(--text-secondary);
  font-size: .75rem;
  line-height: 1.5;
}

.email-mfa-form .email-mfa-remember input {
  flex: 0 0 16px;
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: .1rem 0 0;
  padding: 0;
  accent-color: var(--brand);
}

.email-mfa-remember small {
  color: var(--text-muted);
  font-size: .68rem;
}

.email-mfa-hint,
.email-mfa-status {
  min-height: 1.2rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: .75rem;
  text-align: center;
}

.email-mfa-status:not(:empty) {
  color: #ffb3a9;
}

.email-mfa-back {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
}

.email-mfa-back:hover {
  color: var(--text-primary);
}

.profile-page {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
  background:
    radial-gradient(ellipse at 50% 0, rgba(242, 184, 75, .055), transparent 38rem),
    #050505;
}

.profile-premium-shell {
  position: relative;
}

.profile-cover {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 210, 122, .16);
  background: #08090b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42), 0 0 36px rgba(242, 184, 75, .04);
}

.profile-cover img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.08);
}

.profile-default-banner {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(242, 184, 75, .2), transparent 30%),
    linear-gradient(125deg, #171717, #08090b 52%, #20180d);
  border-bottom: 1px solid rgba(255, 210, 122, .12);
}

.profile-default-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: .58;
  filter: saturate(.68) contrast(1.08);
}

.profile-default-banner span {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin: 1.25rem 0 0 1.5rem;
  color: rgba(255, 210, 122, .86);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .85), 0 0 18px rgba(255, 210, 122, .16);
}

.profile-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, .04) 0%, rgba(5, 5, 5, .23) 35%, rgba(5, 5, 5, .94) 100%);
  pointer-events: none;
}

.profile-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: calc(100% - 56px);
  max-width: 1124px;
  margin: -38px auto 0;
  padding: .8rem 1rem .8rem .8rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(20, 20, 20, .96), rgba(9, 10, 12, .94));
  box-shadow: 0 16px 38px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .04);
  backdrop-filter: blur(18px);
}

.profile-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.profile-avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-avatar-lg {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 3px solid rgba(10, 10, 10, 0.92);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.83), rgba(255, 255, 255, 0.25));
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.7rem;
  font-weight: 700;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 0 28px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-user .profile-avatar-lg {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 0 32px rgba(255, 255, 255, 0.18);
}

.profile-online-dot {
  position: absolute;
  right: 6px;
  bottom: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6ee7b7;
  border: 3px solid #070707;
  box-shadow: 0 0 12px rgba(110, 231, 183, 0.7);
}

.profile-identity {
  min-width: 0;
  padding: .25rem 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.profile-name {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.1;
  color: #ffffff;
}

.profile-verified-badge {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
}

.profile-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.premium-user .profile-premium-badge {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  animation: premiumGlow 2.8s ease-in-out infinite;
}

@keyframes premiumGlow {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
  }

  50% {
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.18);
  }
}

.profile-badges {
  min-height: 1.5rem;
  margin-bottom: 0.4rem;
}

.elite-membership-card {
  display: grid;
  gap: .35rem;
  width: min(100%, 310px);
  margin: .55rem 0;
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 12px;
  background: linear-gradient(135deg, #090909, #202020 62%, #080808);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .12), inset 0 0 16px rgba(255, 255, 255, .035);
}

.elite-membership-card>span {
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .17em;
}

.elite-membership-card strong {
  font-size: 1.05rem;
  letter-spacing: .14em;
  text-shadow: 0 0 12px rgba(255, 255, 255, .48);
}

.elite-membership-card small {
  color: rgba(255, 255, 255, .66);
  font-size: .68rem;
}

.elite-support-link {
  color: #fff;
  font-size: .76rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.diamond-tier-teaser {
  margin: .2rem 0 .45rem;
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
}

.profile-username {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

.profile-bio {
  margin: 0.35rem 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.55;
}

.profile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.profile-actions .btn,
.profile-actions .btn-primary,
.profile-actions .btn-outline {
  min-width: 0;
}

.profile-info-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 1rem;
  width: min(100%, 1180px);
  margin: 1rem auto 0;
  padding: .8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: .85rem .75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
}

.profile-stat strong {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: #fff;
}

.profile-stat span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.profile-lower {
  margin-top: 2rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.glass-panel {
  background: linear-gradient(150deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, .025);
}

.profile-panel,
.sidebar-card {
  padding: 1.25rem;
}

.panel-header {
  margin-bottom: 1rem;
}

.panel-header h2,
.panel-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.compact {
  margin-bottom: 0.9rem;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.achievement-card {
  min-height: 148px;
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: .9rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.08);
}

.achievement-card.is-earned {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.achievement-card.is-locked {
  opacity: 0.45;
  filter: grayscale(1);
}

.achievement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.3rem;
}

.achievement-card strong {
  font-size: 0.97rem;
}

.achievement-card small {
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.5;
}

.detail-list {
  display: grid;
  gap: 0.85rem;
}

.detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
}

.detail-item strong {
  color: #fff;
  font-size: 0.9rem;
}

.pixus-profile-detail {
  align-items: flex-start;
  flex-direction: column;
  gap: .35rem;
  border-color: rgba(242, 184, 75, .22);
  background: linear-gradient(110deg, rgba(242, 184, 75, .09), rgba(255, 255, 255, .018));
}

.pixus-profile-detail strong.is-active {
  color: #ffd27a;
}

.pixus-profile-detail small {
  color: rgba(255, 255, 255, .54);
  font-size: .72rem;
}

.profile-verify-email {
  padding: .4rem .65rem;
  border: 1px solid rgba(242, 184, 75, .35);
  border-radius: 7px;
  background: rgba(242, 184, 75, .08);
  color: #ffe2a0;
  cursor: pointer;
  font: inherit;
  font-size: .72rem;
}

.profile-verify-email:hover {
  background: rgba(242, 184, 75, .16);
}

.profile-verify-email:disabled {
  cursor: wait;
  opacity: .6;
}

.history-grid {
  display: grid;
  gap: 0.85rem;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.gallery-card .card-image {
  position: relative;
  overflow: hidden;
}

.gallery-card .card-image img {
  width: 100%;
  display: block;
  aspect-ratio: 1.35;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .card-image img {
  transform: scale(1.04);
}

.gallery-card .premium-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  background: rgba(15, 12, 8, 0.86);
  border: 1px solid rgba(242, 184, 75, 0.62);
  color: #ffe2a2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
}

.gallery-card .card-info {
  padding: 0.8rem 0.9rem 0.9rem;
}

.gallery-card .card-title {
  font-size: 1rem;
  margin: 0 0 0.55rem;
}

.gallery-card .card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.02);
}

.premium-user .profile-cover {
  box-shadow: 0 0 0 1px rgba(255, 210, 122, .14), 0 0 34px rgba(242, 184, 75, .09), 0 24px 70px rgba(0, 0, 0, .42);
}

.premium-user .profile-avatar-lg {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 0 32px rgba(255, 255, 255, 0.18), 0 16px 48px rgba(255, 255, 255, 0.14);
}

@media (max-width: 960px) {
  .profile-card {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    width: calc(100% - 36px);
    padding: .8rem;
    margin-top: -32px;
  }

  .profile-main {
    flex-direction: row;
    align-items: center;
  }

  .profile-actions {
    justify-content: flex-start;
    margin-top: 0;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .profile-cover img,
  .profile-default-banner {
    height: 190px;
  }

  .profile-page {
    padding-top: .75rem;
    padding-bottom: 2.5rem;
  }

  .profile-cover {
    border-radius: 18px;
  }

  .profile-default-banner span {
    margin: .9rem 0 0 1rem;
    font-size: .62rem;
  }

  .profile-card {
    align-items: stretch;
    flex-direction: column;
    gap: .65rem;
    width: calc(100% - 24px);
    padding: .75rem;
    margin-top: -25px;
    border-radius: 15px;
  }

  .profile-main {
    gap: .75rem;
  }

  .profile-name {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .profile-badges {
    min-height: 0;
    margin-bottom: .15rem;
  }

  .profile-bio {
    font-size: .8rem;
    line-height: 1.45;
  }

  .profile-info-bar {
    gap: .55rem;
    padding: .65rem;
    border-radius: 14px;
  }

  .profile-stat {
    min-width: 0;
    padding: .8rem .45rem;
    border-radius: 11px;
  }

  .profile-stat span {
    font-size: .6rem;
    letter-spacing: .08em;
  }

  .profile-panel,
  .sidebar-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .profile-lower {
    margin-top: 1.25rem;
  }

  .profile-grid {
    gap: .9rem;
  }

  .pixus-profile-detail {
    gap: .3rem;
  }

  .profile-avatar-lg {
    width: 68px;
    height: 68px;
    font-size: 1.8rem;
  }

  .profile-online-dot {
    right: 2px;
    bottom: 3px;
    width: 13px;
    height: 13px;
  }

  .profile-name-row {
    gap: 0.45rem;
  }

  .profile-username,
  .profile-bio {
    max-width: 100%;
  }

  .profile-info-bar {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: .45rem;
  }

  .profile-actions .btn {
    width: 100%;
    padding: .65rem .5rem;
    font-size: .73rem;
  }

  .profile-actions .admin-profile-link {
    grid-column: 1 / -1;
  }

  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .achievement-card {
    min-height: 138px;
    gap: .4rem;
    padding: .75rem;
    border-radius: 12px;
  }

  .achievement-card strong {
    font-size: .84rem;
  }

  .achievement-card small {
    font-size: .68rem;
  }

  .achievement-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
}

/* ========== ABOUT / STATIC PAGES ========== */
.page-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: 3rem 0 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.content-section p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.content-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.content-section ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

.updates-box {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.updates-list {
  padding: 1rem 1rem 0.25rem;
  margin: 0;
  list-style: none;
}

.updates-list li {
  list-style: none;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0;
}

.updates-list li:last-child {
  border-bottom: none;
}

.update-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.update-version {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(242, 184, 75, 0.12);
  border: 1px solid rgba(242, 184, 75, 0.3);
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.update-date {
  color: var(--text-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.updates-list p {
  color: var(--text-primary);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 260px;
  line-height: 1.6;
}

.footer-payment-label {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-payment-images {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.footer-payment-images a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 36px;
  padding: 0.3rem 0.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.footer-payment-images img {
  width: auto;
  height: 24px;
  object-fit: contain;
  max-width: 100%;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ========== TOAST ========== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  padding: 0.9rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  box-shadow: var(--shadow);
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 360px;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-color: rgba(81, 207, 102, 0.3);
}

.toast.error {
  border-color: rgba(255, 107, 107, 0.3);
}

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  opacity: 0.4;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

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

  .mobile-actions {
    display: flex !important;
    align-items: center;
    gap: .45rem;
  }

  .mobile-notification-menu {
    display: block;
  }

  .mobile-cart-button {
    display: inline-flex !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .mobile-notification-menu .notification-panel {
    position: fixed;
    top: 4.5rem;
    right: 1rem;
  }

  .nav-container {
    padding: 0 1rem;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
  }

  .hero {
    min-height: 68vh;
    padding: 5rem 1rem 2.2rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.96rem;
    margin-bottom: 1.75rem;
  }

  .search-box {
    max-width: 100%;
  }

  .search-box input {
    padding: 0.9rem 1rem 0.9rem 3rem;
    font-size: 0.96rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }

  .filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal-body {
    padding: 1.25rem;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.75rem;
  }

  .logo {
    font-size: 1.05rem;
    letter-spacing: 0.12em;
  }

  .mobile-menu {
    width: min(88vw, 330px);
  }

  .hero {
    min-height: 62vh;
    padding-top: 5.25rem;
  }

  .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .search-box input {
    padding-left: 2.8rem;
  }

  .search-icon {
    left: 1rem;
  }

  .premium-home-badge {
    font-size: 0.7rem;
    padding: 0.38rem 0.7rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
  }
}

/* ========== ARTX STUDIO THEME ========== */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --bg-card: #111111;
  --bg-elevated: #181818;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border: rgba(255, 255, 255, 0.12);
  --border-light: rgba(255, 255, 255, 0.24);
  --accent: #ffffff;
  --accent-dim: rgba(255, 255, 255, 0.08);
  --brand: #f2b84b;
  --brand-strong: #ffd27a;
  --price-color: #ffd27a;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

body {
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.1), transparent 30rem),
    linear-gradient(145deg, #050505 0%, #0a0a0a 54%, #050505 100%);
}

body::before {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.86) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo {
  color: #ffffff;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  background: #ffffff;
}

.hero {
  min-height: 76vh;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.92)),
    radial-gradient(ellipse at 50% 35%, rgba(255, 255, 255, 0.1), transparent 28rem);
}

.hero-bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-gradient {
  background: linear-gradient(180deg, transparent 35%, #050505 100%);
}

.hero-title {
  color: #f4f7f2;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  text-shadow: none;
  animation: none !important;
}

.hero-subtitle,
.section-desc {
  color: var(--text-secondary);
}

.search-box input {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.search-box input:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08), 0 0 26px rgba(255, 255, 255, 0.12);
}

.btn-primary {
  background: var(--brand);
  color: #17120a;
  box-shadow: 0 10px 28px rgba(242, 184, 75, 0.18);
}

.btn-primary:hover {
  background: var(--brand-strong);
  box-shadow: 0 14px 35px rgba(242, 184, 75, 0.28);
}

.btn-outline {
  border-color: var(--border-light) !important;
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--accent-dim);
  border-color: var(--text-secondary) !important;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--text-primary) !important;
  border-color: var(--text-primary) !important;
  color: var(--bg-primary) !important;
}

.gallery-card {
  background: var(--bg-card);
  border-color: var(--border) !important;
}

.gallery-card:hover {
  border-color: var(--brand) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 30px rgba(242, 184, 75, 0.1);
}

.gallery-card .card-meta {
  color: var(--text-muted);
}

:root[data-theme="light"] {
  --price-color: #8a4b08;
}

.nsfw-blur {
  filter: blur(18px);
  transform: scale(1.08);
}

.gallery-card:hover .nsfw-blur {
  filter: blur(18px);
  transform: scale(1.08);
}

.nsfw-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 3;
  padding: .35rem .55rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(5, 5, 5, .75);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}

.age-verification-overlay {
  z-index: 2100;
}

.age-verification-card {
  position: relative;
  width: min(390px, calc(100vw - 2rem));
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(28, 28, 28, .98), rgba(8, 8, 8, .98));
  box-shadow: 0 25px 90px rgba(0, 0, 0, .65), 0 0 35px rgba(255, 255, 255, .1);
  text-align: center;
}

.age-verification-close {
  position: absolute;
  top: .75rem;
  right: .9rem;
  color: rgba(255, 255, 255, .6);
  font-size: 1.5rem;
}

.age-verification-mark {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(255, 255, 255, .16);
}

.age-verification-kicker {
  color: rgba(255, 255, 255, .5);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.age-verification-card h2 {
  margin: .5rem 0;
  font-size: 1.35rem;
}

.age-verification-copy {
  color: rgba(255, 255, 255, .58);
  font-size: .82rem;
}

.age-verification-select {
  width: 100%;
  margin: 1.2rem 0 .5rem;
  padding: .8rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 9px;
  background: #111;
  color: #fff;
  font: inherit;
}

.age-verification-error {
  min-height: 1.2rem;
  color: #fff;
  font-size: .75rem;
}

.age-verification-submit {
  width: 100%;
  margin-top: .45rem;
}

.card-info {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.card-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.section {
  background: rgba(5, 5, 5, 0.35);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.018);
}

.footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.support-toggle {
  background: #ffffff;
  color: #050505;
  border-color: #ffffff;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: .55rem .9rem;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .1), inset 0 1px rgba(255, 255, 255, .12);
  font-size: .76rem;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.support-btn:hover {
  background: #fff;
  color: #050505;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 255, 255, .3), 0 8px 22px rgba(0, 0, 0, .3);
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .profile-stats {
    gap: 1.5rem;
  }
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Auth state helpers */
.auth-only {
  display: none;
}

.admin-only {
  display: none;
}

.guest-only {
  display: flex;
}

body:not(.logged-in) .auth-only {
  display: none;
}

body:not(.logged-in) .guest-only {
  display: flex;
}

body.logged-in .auth-only {
  display: flex;
}

body.logged-in .guest-only {
  display: none;
}

body.admin-session .admin-only {
  display: flex;
}

.admin-btn {
  margin-left: 0.25rem;
  white-space: nowrap;
}

/* =========================
   PIXORAX YAN REKLAMLAR
========================= */

.side-ad {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 160px;
  z-index: 900;
  padding: 8px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  animation: adFloat 4s ease-in-out infinite;
}

.side-ad img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.side-ad-left {
  left: 15px;
}

.side-ad-right {
  right: 15px;
}

.support-page .support-panel {
  position: static;
  right: auto;
  bottom: auto;
  width: auto;
  max-width: none;
  padding: clamp(1rem, 3vw, 1.6rem);
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
}

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

.support-page .support-form input,
.support-page .support-form textarea,
.support-page .support-form select {
  width: 100%;
  padding: .85rem .95rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font: inherit;
}

.support-admin-controls {
  display: grid;
  gap: .7rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.support-admin-controls label {
  display: grid;
  gap: .35rem;
  color: rgba(255, 255, 255, .48);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.support-admin-controls select {
  width: 100%;
  min-height: 38px;
  padding: .55rem .65rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: .8rem;
}

.support-admin-controls select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 0 18px rgba(255, 255, 255, .12);
}

.support-admin-controls .support-primary {
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: .65rem .8rem;
  font-size: .78rem;
}

.support-admin-controls p {
  min-height: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: .7rem;
}

.support-danger-button {
  width: 100%;
  margin-top: .75rem;
  padding: .65rem .8rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  transition: .25s ease;
}

.support-danger-button:hover {
  border-color: #fff;
  background: #fff;
  color: #050505;
  box-shadow: 0 0 22px rgba(255, 255, 255, .2);
}

.support-danger-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.profile-username {
  margin: .25rem 0;
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
}

.profile-avatar-lg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.profile-bio {
  max-width: 560px;
  margin: .35rem auto 1rem;
  color: rgba(255, 255, 255, .68);
}

.profile-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .8rem;
}

.profile-social-links[hidden] {
  display: none !important;
}

.profile-social-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .4rem .75rem;
  border: 1px solid rgba(242, 184, 75, .3);
  border-radius: 999px;
  background: rgba(242, 184, 75, .07);
  color: #ffe2a0;
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.profile-social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 184, 75, .7);
  background: rgba(242, 184, 75, .14);
}

.profile-social-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(242, 184, 75, .2);
  border-radius: 14px;
}

.profile-social-fields legend {
  padding: 0 .45rem;
  color: #ffe2a0;
  font-weight: 750;
}

.profile-social-fields>p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, .6);
  font-size: .78rem;
}

.profile-social-fields label {
  min-width: 0;
}

.profile-social-fields input {
  width: 100%;
}

@media (max-width: 640px) {
  .profile-social-fields {
    grid-template-columns: 1fr;
  }
}

.account-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .25rem;
  padding: .3rem .55rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 0 16px rgba(255, 255, 255, .08);
}

.profile-cover {
  border-color: rgba(255, 255, 255, .12);
  border-radius: 18px;
}

.profile-default-banner,
.profile-cover img {
  height: clamp(190px, 24vw, 270px);
}

.profile-card {
  display: grid;
  gap: .9rem;
  width: min(calc(100% - 36px), 1124px);
  margin: -42px auto 0;
  padding: 1rem 1.15rem .8rem;
  border-radius: 16px;
}

.profile-card-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.profile-main {
  flex: 1 1 auto;
}

.profile-actions {
  flex: 0 1 auto;
}

.profile-bio {
  margin: .35rem 0 0;
}

.profile-identity {
  text-align: left;
}

.profile-info-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
  width: 100%;
  margin: 0;
  padding: .75rem 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.profile-stat {
  min-width: 0;
  padding: .5rem .35rem;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
}

.profile-stat strong {
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
}

.profile-stat span {
  font-size: .62rem;
}

.profile-lower {
  margin-top: 1.25rem;
}

.achievement-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
}

.achievement-card {
  min-height: 122px;
  gap: .38rem;
  padding: .75rem;
  border-radius: 11px;
}

.achievement-card:hover {
  transform: translateY(-2px);
}

.achievement-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 1.08rem;
}

.achievement-card strong {
  font-size: .84rem;
}

.achievement-card small {
  font-size: .7rem;
}

@media (max-width: 960px) {
  .profile-card-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-actions {
    justify-content: flex-start;
    margin: 0 0 0 80px;
  }

  .achievement-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .profile-cover {
    border-radius: 15px;
  }

  .profile-card {
    width: calc(100% - 20px);
    margin-top: -28px;
    padding: .8rem;
    gap: .65rem;
  }

  .profile-card-main {
    gap: .65rem;
  }

  .profile-main {
    align-items: flex-start;
  }

  .profile-actions {
    margin-left: 0;
  }

  .profile-info-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
    padding-top: .6rem;
  }

  .profile-stat {
    padding: .48rem .3rem;
  }

  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .achievement-card {
    min-height: 112px;
  }
}

.feed {
  display: grid;
  gap: 0;
}

.post {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: .7rem;
  padding: .65rem .7rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
}

.post+.post {
  margin-top: .15rem;
}

.post:hover {
  border-color: transparent;
  background: rgba(255, 255, 255, .035);
}

.post-avatar {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.post-content {
  min-width: 0;
}

.post-head {
  flex-wrap: wrap;
  gap: .25rem .55rem;
}

.post-author {
  font-size: .86rem;
}

.post-date {
  margin-left: 0;
  font-size: .66rem;
}

.post-text {
  margin: .22rem 0 .25rem;
  font-size: .86rem;
  line-height: 1.55;
}

.post-actions {
  min-height: 25px;
  padding: 0;
  border-top: 0;
}

.like-button,
.moderate-button {
  min-height: 25px;
  padding: .15rem .42rem;
}

@media (max-width: 560px) {
  .post {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .55rem;
    padding: .6rem .45rem;
  }

  .post-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .post-date {
    width: auto;
    margin: 0;
  }
}

.elite-profile-badge {
  background: #080808;
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, .16);
}

.pixus-owner-badge {
  border-color: rgba(255, 210, 122, .78);
  background: linear-gradient(110deg, #f3b942, #ffe2a0 52%, #d89728);
  color: #211605;
  box-shadow: 0 0 20px rgba(242, 184, 75, .3);
}

.pixus-owner-badge .verified-tick {
  background: #17120a;
  color: #ffd27a;
  box-shadow: none;
}

.verified-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #2388ff;
  color: #fff;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 0 10px rgba(35, 136, 255, .7);
}

.admin-badge {
  background: #fff;
  color: #050505;
}

.member-badge {
  background: rgba(255, 255, 255, .06);
}

.owner-badge {
  background: linear-gradient(90deg, #ff3b3b, #ffba08, #00d9ff, #7bff00, #ff3b3b);
  background-size: 220% 220%;
  color: #050505;
  box-shadow: 0 0 24px rgba(255, 60, 60, .8), 0 0 32px rgba(0, 217, 255, .65), 0 0 36px rgba(123, 255, 0, .6);
  animation: ownerRgbGlow 1.8s linear infinite;
}

@keyframes ownerRgbGlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.community-role-tag {
  display: inline-flex;
  align-items: center;
  margin-left: .35rem;
  padding: .16rem .38rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .03em;
  vertical-align: middle;
}

.community-role-tag.member {
  color: rgba(255, 255, 255, .72);
}

.community-role-tag.admin {
  color: #ffe08a;
  border-color: rgba(255, 224, 138, .5);
}

.community-role-tag.owner {
  color: #fff;
  border-color: rgba(255, 214, 79, .7);
  box-shadow: 0 0 16px rgba(255, 180, 40, .28);
}

.user-search-page {
  height: calc(100vh - 54px);
  box-sizing: border-box;
  min-height: 0;
  padding: 1.5rem 1.5rem 1rem;
  overflow: hidden;
  background: #050505;
}

.user-search-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

.user-search-shell header {
  flex: 0 0 auto;
  width: min(100%, 1440px);
  margin: 0 auto .9rem;
}

.user-search-shell h1 {
  margin: .45rem 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.user-search-shell header p:last-child {
  color: var(--text-secondary);
}

.community-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 230px;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .2);
}

.community-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem .75rem;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
}

.community-sidebar-heading {
  display: grid;
  gap: .2rem;
  padding: .25rem .55rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.community-sidebar-heading small {
  color: rgba(255, 255, 255, .4);
  font-size: .62rem;
  letter-spacing: .16em;
}

.community-channel-list {
  display: grid;
  gap: .25rem;
}

.community-channel-list button {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .65rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, .58);
  font: inherit;
  font-size: .82rem;
  text-align: left;
  cursor: pointer;
}

.community-channel-list button span {
  width: 1.1rem;
  color: rgba(255, 255, 255, .4);
  text-align: center;
}

.community-channel-list button:hover,
.community-channel-list button.active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.community-channel-list button.active span {
  color: #fff;
}

.community-sidebar-note {
  margin-top: auto;
  padding: .65rem;
  color: rgba(255, 255, 255, .35);
  font-size: .68rem;
  line-height: 1.5;
}

.community-members-panel {
  min-width: 0;
  padding: 1rem .75rem;
  border-left: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .12);
}

.community-members-title {
  display: grid;
  gap: .2rem;
  padding: .25rem .55rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.community-members-title small {
  color: rgba(255, 255, 255, .38);
  font-size: .6rem;
  letter-spacing: .14em;
}

.community-members-list {
  display: grid;
  gap: .3rem;
  padding-top: .8rem;
}

.community-member-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .5rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.community-member-item:hover {
  background: rgba(255, 255, 255, .08);
}

.community-member-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
}

.community-member-avatar-wrap {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
}

.community-member-avatar-wrap .community-member-avatar {
  width: 100%;
  height: 100%;
}

.community-status-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: .48rem;
  height: .48rem;
  border: 2px solid #111113;
  border-radius: 50%;
  background: #050505;
}

.community-status-dot.online {
  background: #35d879;
  box-shadow: 0 0 7px rgba(53, 216, 121, .75);
}

.community-status-dot.offline {
  background: #050505;
}

.community-member-info {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: .2rem;
  flex-wrap: wrap;
}

.community-member-info strong {
  overflow: hidden;
  max-width: 130px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .73rem;
}

.community-members-empty {
  padding: .5rem;
  color: rgba(255, 255, 255, .4);
  font-size: .72rem;
}

.community-member-actions {
  display: flex;
  flex-basis: 100%;
  gap: .25rem;
  margin-top: .2rem;
}

.community-member-actions button {
  padding: .2rem .35rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 5px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .72);
  font-size: .58rem;
  cursor: pointer;
}

.community-member-actions button:hover {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.community-chat-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1rem;
  min-height: 0;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
}

.community-layout .community-chat-panel {
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.community-channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.community-channel-header h2 {
  margin: 0;
  font-size: 1.05rem;
}

.community-channel-header p {
  margin: .25rem 0 0;
  color: rgba(255, 255, 255, .45);
  font-size: .75rem;
}

.community-online-status {
  color: #72e6a1;
  font-size: .7rem;
  white-space: nowrap;
}

.community-chat-messages {
  display: grid;
  align-content: start;
  gap: .8rem;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding: .25rem .25rem .25rem 0;
}

.community-message {
  display: grid;
  gap: .35rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}

.community-message.user {
  border-color: rgba(255, 255, 255, .12);
}

.community-message.admin {
  background: rgba(92, 184, 255, 0.08);
  border-color: rgba(92, 184, 255, .45);
}

.community-message.owner {
  background: rgba(255, 184, 60, 0.08);
  border-color: rgba(255, 184, 60, .52);
}

.community-message.banned {
  opacity: .7;
}

.community-message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .7);
}

.community-author-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.community-author-button:hover {
  color: #fff;
  text-decoration: underline;
}

.community-message p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  line-height: 1.55;
  word-break: break-word;
}

.community-ban-btn {
  justify-self: end;
  margin-top: .2rem;
  padding: .38rem .7rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: .68rem;
  cursor: pointer;
}

.community-chat-form {
  display: flex;
  gap: .7rem;
}

.community-chat-form input {
  flex: 1;
  min-width: 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font: inherit;
}

.community-chat-form input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .45);
  box-shadow: 0 0 20px rgba(255, 255, 255, .08);
}

.user-search-form {
  display: flex;
  gap: .7rem;
  margin-bottom: 1.2rem;
}

.user-search-form input {
  flex: 1;
  min-width: 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font: inherit;
}

.user-search-form input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 24px rgba(255, 255, 255, .12);
}

.user-search-results {
  display: grid;
  gap: .7rem;
}

.user-search-result {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  background: rgba(255, 255, 255, .04);
}

.user-search-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  font-weight: 800;
}

.user-search-result div:last-child {
  display: grid;
  gap: .15rem;
}

.user-search-result span,
.user-search-result small {
  color: var(--text-secondary);
  font-size: .75rem;
}

.user-search-empty,
.user-search-loading {
  padding: 2rem;
  border: 1px dashed rgba(255, 255, 255, .15);
  border-radius: 12px;
  color: var(--text-secondary);
  text-align: center;
}

@media (max-width: 900px) {
  .community-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .community-members-panel {
    display: none;
  }
}

@media (max-width: 700px) {
  .user-search-page {
    height: auto;
    min-height: calc(100vh - 54px);
    padding: 1rem .75rem;
    overflow: visible;
  }

  .user-search-shell {
    height: auto;
    min-height: calc(100vh - 74px);
  }

  .community-layout {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 160px);
  }

  .community-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .community-sidebar-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

  .community-channel-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .community-channel-list button {
    justify-content: center;
    padding: .6rem .35rem;
    font-size: .7rem;
  }

  .community-channel-list button span {
    display: none;
  }

  .community-sidebar-note {
    display: none;
  }
}

@media (max-width: 560px) {
  .user-search-form {
    display: grid;
  }

  .user-search-form button {
    width: 100%;
  }

  .community-chat-form {
    grid-template-columns: 1fr;
  }

  .community-chat-form button {
    width: 100%;
  }

  .community-channel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: .45rem;
  }
}

.community-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
}

.community-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .72);
}

.community-profile-modal[hidden] {
  display: none;
}

.community-profile-card {
  position: relative;
  width: min(100%, 360px);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: #171719;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}

.community-profile-close {
  position: absolute;
  top: .6rem;
  right: .75rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .65);
  font-size: 1.5rem;
  cursor: pointer;
}

.community-profile-avatar {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
}

.community-profile-card h2 {
  margin: 0 0 .5rem;
  font-size: 1.2rem;
}

.community-profile-role {
  min-height: 1.3rem;
}

.community-profile-card p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
}

.account-achievements-section,
.account-details-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.achievement-card {
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .45rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  color: #fff;
  text-align: left;
  transition: .25s ease;
}

.achievement-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .45);
  box-shadow: 0 0 28px rgba(255, 255, 255, .1);
}

.achievement-card.is-locked {
  opacity: .42;
  filter: grayscale(1);
}

.achievement-card.is-earned {
  box-shadow: 0 0 24px rgba(255, 255, 255, .08);
}

.achievement-icon {
  font-size: 1.7rem;
}

.achievement-card strong {
  font-size: .92rem;
}

.achievement-card small {
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
}

.account-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.account-details-grid div {
  display: grid;
  gap: .3rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}

.account-details-grid span {
  color: rgba(255, 255, 255, .45);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.account-details-grid strong {
  font-size: .9rem;
}

.advanced-settings-page {
  min-height: 100vh;
  padding: 8rem 1rem 4rem;
  background: #050505;
}

.advanced-settings-shell {
  max-width: 1180px;
}

.settings-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.settings-sidebar {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: .3rem;
  padding: .7rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}

.settings-sidebar a {
  padding: .75rem;
  border-radius: 9px;
  color: rgba(255, 255, 255, .55);
  font-size: .82rem;
}

.settings-sidebar>a {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.settings-sidebar a:hover,
.settings-sidebar a.active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.settings-content {
  display: grid;
  gap: 1rem;
}

.advanced-settings-card {
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  box-shadow: 0 18px 55px rgba(0, 0, 0, .25);
}

.settings-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.settings-category-card {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .9rem;
  min-height: 125px;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.settings-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 184, 75, .45);
  background: linear-gradient(145deg, rgba(242, 184, 75, .09), rgba(255, 255, 255, .02));
}

.settings-category-card>span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(242, 184, 75, .25);
  border-radius: 8px;
  background: rgba(242, 184, 75, .08);
  color: var(--brand-strong);
}

.settings-category-card>span svg {
  width: 1.3rem;
  height: 1.3rem;
}

.settings-category-card h2 {
  margin: .1rem 0 .4rem;
  color: var(--text-primary);
  font-size: .94rem;
}

.settings-category-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: .76rem;
  line-height: 1.55;
}

.settings-category-card>b {
  color: var(--text-muted);
  font-size: .9rem;
}

.settings-back-link {
  display: inline-block;
  margin-top: .8rem;
  color: var(--brand-strong);
  font-size: .8rem;
}

.settings-back-link:hover {
  color: var(--text-primary);
}

.settings-loading,
.settings-disclaimer {
  color: var(--text-secondary);
  font-size: .78rem;
  line-height: 1.6;
}

.settings-reset-button {
  margin-top: .7rem;
}

.banner-picker-field {
  display: none !important;
}

.banner-picker-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
}

.banner-picker-heading small {
  color: rgba(255, 255, 255, .42);
  font-size: .7rem;
}

.banner-value-select {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.banner-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.banner-choice {
  position: relative;
  min-height: 100px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .5rem;
  padding: .7rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .86)), var(--banner-image) center/cover;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, filter .25s ease;
}

.banner-choice[data-banner-choice="images/wallpapers/batman.jpg"] {
  background-image: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .86)), url("../images/wallpapers/batman.jpg");
}

.banner-choice[data-banner-choice="images/wallpapers/Batman2.png"] {
  background-image: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .86)), url("../images/wallpapers/Batman2.png");
}

.banner-choice[data-banner-choice="images/wallpapers/punisher.png"] {
  background-image: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .86)), url("../images/wallpapers/punisher.png");
}

.banner-choice[data-banner-choice="images/artwork/Yoru Chainsaw man.png"] {
  background-image: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .86)), url("../images/artwork/Yoru%20Chainsaw%20man.png");
}

.banner-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .38);
}

.banner-choice span {
  position: relative;
  z-index: 1;
  font-size: .78rem;
  font-weight: 700;
}

.banner-choice b {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .62);
  font-size: .55rem;
  letter-spacing: .08em;
}

.banner-choice[data-banner-premium] {
  border-color: rgba(125, 185, 255, .32);
  box-shadow: 0 0 18px rgba(76, 145, 255, .12);
}

.banner-choice[data-banner-premium] b {
  color: #82b9ff;
}

.banner-choice.is-selected {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .22), 0 0 24px rgba(255, 255, 255, .18);
}

.banner-choice[data-banner-premium].is-selected {
  border-color: #55a1ff;
  box-shadow: 0 0 0 2px rgba(85, 161, 255, .28), 0 0 30px rgba(50, 135, 255, .5);
}

.banner-choice.is-disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: .34;
  box-shadow: none;
}

.banner-choice.is-disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, .12);
}

.settings-option-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.settings-option-row label {
  display: grid;
  gap: .4rem;
  color: rgba(255, 255, 255, .55);
  font-size: .78rem;
}

.settings-option-row select {
  padding: .75rem;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 9px;
  background: #111;
  color: #fff;
  font: inherit;
}

.settings-security-form {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.settings-danger-zone {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 760px) {
  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-details-grid,
  .settings-layout,
  .settings-option-row {
    grid-template-columns: 1fr;
  }

  .settings-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .settings-sidebar a {
    text-align: center;
  }

  .banner-picker-grid {
    grid-template-columns: 1fr;
  }

  .settings-category-grid {
    grid-template-columns: 1fr;
  }
}

.side-ad a {
  display: block;
}

@keyframes adFloat {

  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 8px));
  }
}

/* Küçük ekranlarda reklamları gizle */
@media (max-width: 1200px) {
  .side-ad {
    display: none;
  }
}

.support-btn svg {
  display: none;
}

.gallery-card .image-watermark {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(.8rem, 2.8vw, 1.35rem);
  font-weight: 900;
  letter-spacing: .2em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .85);
  pointer-events: none;
}

.gallery-card .image-watermark::after,
.modal-watermark::after {
  content: '';
  position: absolute;
  width: min(48%, 190px);
  height: 2.1rem;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 5px;
  background: rgba(0, 0, 0, .24);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .2);
  backdrop-filter: blur(2px);
  z-index: -1;
}

.gallery-card .image-watermark {
  isolation: isolate;
}

.gallery-card .image-watermark::after,
.gallery-card .image-watermark {
  z-index: 2;
}

.card-social-actions {
  position: absolute;
  z-index: 4;
  top: .65rem;
  right: .65rem;
  display: flex;
  gap: .4rem;
}

.card-social-btn,
.card-view-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: .35rem .55rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(8, 10, 12, .78);
  color: #fff;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.card-social-btn {
  min-width: 2rem;
  gap: .25rem;
  cursor: pointer;
}

.card-social-btn:hover,
.card-social-btn.is-active {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.card-view-count {
  position: absolute;
  z-index: 4;
  bottom: .65rem;
  left: .65rem;
  min-height: 1.7rem;
  font-size: .68rem;
  font-weight: 600;
}

.price-alert-btn {
  width: 100%;
  margin-top: .65rem;
  padding: .55rem .7rem;
  border: 1px solid var(--border-light);
  border-radius: 7px;
  background: var(--glass);
  color: var(--text-secondary);
  font: inherit;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.price-alert-btn:hover,
.price-alert-btn.is-active {
  border-color: var(--brand);
  background: var(--accent-dim);
  color: var(--brand-strong);
}

@media (max-width: 480px) {
  .card-info {
    padding: .75rem;
  }

  .card-purchase-row {
    gap: .55rem;
  }

  .card-actions {
    gap: .35rem;
  }

  .card-actions .btn {
    padding: .45rem .5rem;
    font-size: .68rem;
  }
}

/* Homepage promotional hero */
.home-hero {
  min-height: 78vh;
  padding: 7.5rem 0 4rem;
  background:
    radial-gradient(ellipse at 12% 38%, rgba(242, 184, 75, .12), transparent 32rem),
    radial-gradient(ellipse at 92% 18%, rgba(52, 211, 153, .1), transparent 27rem),
    linear-gradient(145deg, var(--bg-primary), #10110f 68%, #11120f);
}

.home-hero::after {
  display: none;
}

.home-hero .hero-bg-grid {
  opacity: .22;
  animation: none;
}

.home-hero .hero-gradient {
  background: linear-gradient(180deg, transparent 65%, var(--bg-primary) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 5rem;
  max-width: 1220px;
}

.home-showcase {
  min-width: 0;
}

.home-showcase-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 .8rem 2.7rem;
  color: var(--brand-strong);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.home-showcase-heading a {
  color: var(--text-secondary);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: 0;
  transition: color .18s ease;
}

.home-showcase-heading a:hover {
  color: var(--brand-strong);
}

.home-showcase-heading a span {
  padding-left: .2rem;
  color: var(--brand-strong);
}

.home-feature-list {
  display: grid;
  gap: .65rem;
}

.home-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 2rem 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: .85rem;
  min-height: 94px;
  padding: .55rem .8rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  background: linear-gradient(105deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025) 72%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .05);
  color: var(--text-primary);
  animation: homeCardIn .55s cubic-bezier(.2, .75, .25, 1) both;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.home-feature-card:nth-child(2) {
  animation-delay: .1s;
}

.home-feature-card:nth-child(3) {
  animation-delay: .2s;
}

.home-feature-card:hover {
  transform: translateX(5px);
  border-color: rgba(242, 184, 75, .4);
  background: linear-gradient(105deg, rgba(242, 184, 75, .1), rgba(255, 255, 255, .025) 72%);
}

.home-feature-index {
  color: var(--brand-strong);
  font-size: .67rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.home-feature-card img {
  width: 56px;
  height: 76px;
  object-fit: cover;
  object-position: center 35%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background: var(--bg-primary);
}

.home-feature-info {
  display: grid;
  gap: .25rem;
  min-width: 0;
}

.home-feature-info strong {
  overflow: hidden;
  font-size: .86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-info small {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: .68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-price {
  color: var(--brand-strong);
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
}

.home-hero-copy {
  max-width: 540px;
  text-align: left;
}

.home-hero-kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.1rem;
  color: var(--brand-strong);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.home-hero-kicker::before {
  width: 20px;
  height: 2px;
  background: var(--brand);
  content: "";
}

.home-hero-copy .hero-title {
  max-width: 520px;
  margin: 0 0 1.15rem;
  color: var(--text-primary) !important;
  font-size: 3.75rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
  animation: homeCopyIn .65s .08s ease both !important;
}

.home-hero-copy .hero-subtitle {
  max-width: 460px;
  margin: 0 0 1.6rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 1.6rem;
}

.home-hero-actions .btn {
  min-height: 46px;
  padding: .8rem 1.1rem;
  border-radius: 5px;
  font-size: .8rem;
  font-weight: 800;
}

.home-hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .035);
  color: var(--text-primary);
}

.home-hero-actions .btn-outline:hover {
  border-color: var(--brand);
  background: rgba(242, 184, 75, .08);
  color: var(--brand-strong);
}

.home-search-label {
  display: block;
  margin-bottom: .45rem;
  color: var(--text-muted);
  font-size: .69rem;
  font-weight: 700;
}

.home-hero-copy .search-box {
  max-width: 440px;
  margin: 0;
}

.home-hero-copy .search-box input {
  min-height: 48px;
  border-radius: 5px;
  font-size: .83rem;
}

@keyframes homeCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeCopyIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .home-hero {
    min-height: auto;
    padding: 7rem 0 3.5rem;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .home-hero-copy {
    order: 1;
    max-width: 650px;
  }

  .home-showcase {
    order: 2;
  }

  .home-hero-copy .hero-title {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .home-hero {
    padding: 6rem 0 2.7rem;
  }

  .home-hero-inner {
    gap: 1.9rem;
  }

  .home-hero-copy .hero-title {
    font-size: 2.7rem;
  }

  .home-hero-copy .hero-subtitle {
    font-size: .94rem;
  }

  .home-hero-actions {
    gap: .55rem;
  }

  .home-hero-actions .btn {
    flex: 1;
    justify-content: center;
    padding-inline: .7rem;
  }

  .home-feature-list {
    gap: .5rem;
  }

  .home-feature-card {
    grid-template-columns: 1.6rem 46px minmax(0, 1fr) auto;
    gap: .55rem;
    min-height: 76px;
    padding: .45rem .55rem;
  }

  .home-feature-card img {
    width: 46px;
    height: 62px;
  }

  .home-feature-info strong {
    font-size: .75rem;
  }

  .home-feature-info small {
    font-size: .61rem;
  }

  .home-feature-price {
    font-size: .66rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .home-feature-card,
  .home-hero-copy .hero-title {
    animation: none !important;
    transition: none;
  }
}

/* Premium ambient lighting */
:root {
  --glow-amber: rgba(242, 184, 75, .16);
  --glow-cyan: rgba(54, 199, 255, .12);
  --glow-mint: rgba(74, 220, 171, .1);
}

body {
  position: relative;
  isolation: isolate;
  background-attachment: fixed;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse 36rem 27rem at 4% 18%, var(--glow-amber), transparent 72%),
    radial-gradient(ellipse 34rem 26rem at 96% 8%, var(--glow-cyan), transparent 72%),
    radial-gradient(ellipse 38rem 28rem at 82% 88%, var(--glow-mint), transparent 75%);
  content: "";
  pointer-events: none;
}

:root[data-theme="light"] {
  --glow-amber: rgba(242, 184, 75, .12);
  --glow-cyan: rgba(28, 154, 209, .08);
  --glow-mint: rgba(31, 170, 128, .07);
}

:root[data-theme="oled"] {
  --glow-amber: rgba(242, 184, 75, .1);
  --glow-cyan: rgba(54, 199, 255, .09);
  --glow-mint: rgba(74, 220, 171, .07);
}

.navbar {
  border-bottom-color: rgba(255, 255, 255, .09);
  background: linear-gradient(100deg, rgba(10, 10, 10, .9), rgba(17, 17, 17, .76) 50%, rgba(9, 10, 12, .9));
  box-shadow: 0 10px 38px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(18px) saturate(135%);
}

.navbar.scrolled {
  box-shadow: 0 12px 42px rgba(0, 0, 0, .34), 0 1px rgba(242, 184, 75, .1);
}

.btn-primary {
  box-shadow: 0 8px 25px rgba(242, 184, 75, .2), inset 0 1px rgba(255, 255, 255, .18);
}

.gallery-card {
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .04);
}

.gallery-card:hover {
  border-color: rgba(242, 184, 75, .34);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .32), 0 0 26px rgba(242, 184, 75, .08);
}

.nav-links a,
.nav-actions>a {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .language-select {
    width: 64px;
    min-width: 0;
    padding: .4rem .2rem;
    font-size: .63rem;
  }

  .mobile-actions {
    gap: .4rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .gallery-card,
  .btn-primary,
  .navbar {
    scroll-behavior: auto;
    transition-duration: .01ms !important;
  }
}

.advanced-settings-page {
  background: transparent;
}

.settings-heading {
  max-width: 760px;
}

.settings-heading .settings-kicker {
  color: var(--brand-strong);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.settings-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
}

.settings-sidebar {
  display: grid;
  gap: .5rem;
  padding: .7rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .26), inset 0 1px rgba(255, 255, 255, .04);
}

.settings-sidebar-group {
  min-width: 0;
}

.settings-sidebar-group summary {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 42px;
  padding: .6rem .65rem;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: .8rem;
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

.settings-sidebar-group summary::-webkit-details-marker {
  display: none;
}

.settings-sidebar-group summary::after {
  margin-left: auto;
  color: var(--text-muted);
  content: "+";
  font-size: 1rem;
}

.settings-sidebar-group[open] summary {
  background: rgba(242, 184, 75, .075);
  color: var(--brand-strong);
}

.settings-sidebar-group[open] summary::after {
  content: "−";
}

.settings-sidebar-group-icon {
  display: grid;
  width: 1.25rem;
  place-items: center;
  color: var(--brand-strong);
  font-size: .95rem;
}

.settings-sidebar-links {
  display: grid;
  gap: .15rem;
  padding: .2rem 0 .45rem 1rem;
}

.settings-sidebar .settings-sidebar-links a,
.settings-sidebar .settings-sidebar-support {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 38px;
  padding: .5rem .6rem;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--text-secondary);
  font-size: .74rem;
  text-align: left;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.settings-sidebar .settings-sidebar-links a:hover,
.settings-sidebar .settings-sidebar-links a.active,
.settings-sidebar .settings-sidebar-support:hover {
  border-color: rgba(242, 184, 75, .18);
  background: linear-gradient(90deg, rgba(242, 184, 75, .12), rgba(242, 184, 75, .025));
  color: var(--brand-strong);
}

.settings-sidebar-link-icon {
  display: grid;
  width: 1rem;
  place-items: center;
  color: var(--text-muted);
}

.settings-sidebar-support {
  margin-top: .25rem;
  border-top: 1px solid rgba(255, 255, 255, .08) !important;
}

.settings-content {
  min-width: 0;
}

.advanced-settings-card {
  border-color: rgba(255, 255, 255, .1);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .035);
}

@media (max-width: 760px) {
  .settings-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .settings-sidebar {
    position: static;
    grid-template-columns: minmax(0, 1fr);
  }
}

.gallery-card,
.home-feature-card {
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  transform-style: preserve-3d;
  transition: transform .34s cubic-bezier(.2, .75, .25, 1), border-color .3s ease, box-shadow .3s ease;
}

.gallery-card.is-tilting,
.home-feature-card.is-tilting {
  animation: none !important;
  transform: perspective(900px) rotateX(var(--card-tilt-x)) rotateY(var(--card-tilt-y));
  border-color: rgba(242, 184, 75, .4);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .34), 0 0 24px rgba(242, 184, 75, .08);
}

@media (hover: hover) and (pointer: fine) {

  .gallery-card,
  .home-feature-card {
    will-change: transform;
  }
}

@media (hover: none),
(pointer: coarse) {

  .gallery-card,
  .home-feature-card {
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}

.theme-toggle {
  display: grid;
  width: 4.25rem;
  height: 2.15rem;
  padding: .2rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: linear-gradient(180deg, #202a48, #111626);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .4), 0 3px 10px rgba(0, 0, 0, .2);
  cursor: pointer;
  transition: border-color .25s ease, background .3s ease, box-shadow .25s ease;
}

.theme-toggle:hover {
  border-color: rgba(242, 184, 75, .65);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .4), 0 0 16px rgba(242, 184, 75, .14);
}

.theme-toggle-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 .22rem;
}

.theme-toggle-track svg {
  z-index: 1;
  width: .9rem;
  height: .9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: color .25s ease, filter .25s ease;
}

.theme-toggle-sun {
  color: #ffd56f;
}

.theme-toggle-moon {
  color: #cad6ff;
}

.theme-toggle-thumb {
  position: absolute;
  top: 50%;
  left: .12rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #e9edf7);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .4), inset 0 1px 2px #fff;
  transform: translateY(-50%);
  transition: left .28s cubic-bezier(.2, .75, .25, 1), background .28s ease, box-shadow .28s ease;
}

.theme-toggle[data-theme="light"] {
  border-color: rgba(40, 100, 190, .35);
  background: linear-gradient(180deg, #6bc9ed, #a9e5f2);
}

.theme-toggle[data-theme="light"] .theme-toggle-thumb {
  left: calc(100% - 1.67rem);
  background: linear-gradient(145deg, #ffe99b, #f5b62f);
  box-shadow: 0 1px 10px rgba(255, 195, 65, .55), inset 0 1px 2px rgba(255, 255, 255, .85);
}

.theme-toggle[data-theme="light"] .theme-toggle-sun {
  color: #ffe28a;
}

.theme-toggle[data-theme="light"] .theme-toggle-moon {
  color: rgba(255, 255, 255, .8);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  .theme-toggle,
  .theme-toggle-track svg,
  .theme-toggle-thumb {
    transition: none;
  }
}

:root {
  --bg-primary: #08090b;
  --bg-secondary: #101114;
  --bg-card: #131518;
  --bg-elevated: #191b1f;
  --text-primary: #f5f5f5;
  --text-secondary: #a6a8ad;
  --text-muted: #777a80;
  --border: rgba(255, 255, 255, .1);
  --border-light: rgba(255, 255, 255, .2);
  --brand: #ededed;
  --brand-strong: #fff;
  --price-color: #ededed;
  --accent-dim: rgba(255, 255, 255, .08);
  --glass: rgba(255, 255, 255, .035);
  --glass-border: rgba(255, 255, 255, .1);
  --glow-amber: rgba(255, 255, 255, .045);
  --glow-cyan: rgba(255, 255, 255, .025);
  --glow-mint: rgba(255, 255, 255, .02);
}

:root[data-theme="light"] {
  --brand: #202124;
  --brand-strong: #111214;
  --price-color: #202124;
  --glow-amber: rgba(20, 22, 26, .045);
  --glow-cyan: rgba(20, 22, 26, .025);
  --glow-mint: rgba(20, 22, 26, .02);
}

body {
  background:
    radial-gradient(ellipse 62rem 34rem at 50% -20%, rgba(255, 255, 255, .075), transparent 70%),
    linear-gradient(155deg, #08090b, #0c0d0f 56%, #08090b);
}

.navbar,
.navbar.scrolled {
  border-bottom-color: rgba(255, 255, 255, .1);
  background: rgba(9, 10, 12, .9);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .25);
}

.navbar .jubbio-nav-link,
.mobile-actions .jubbio-nav-link,
.mobile-menu .jubbio-nav-link {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .045);
  color: #f0f0f0;
  text-shadow: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}

.jubbio-nav-link img {
  filter: grayscale(1) brightness(1.5);
}

.navbar .jubbio-nav-link:hover,
.navbar .jubbio-nav-link:focus-visible,
.mobile-actions .jubbio-nav-link:hover,
.mobile-actions .jubbio-nav-link:focus-visible,
.mobile-menu .jubbio-nav-link:hover,
.mobile-menu .jubbio-nav-link:focus-visible {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, .08);
}

.btn-primary {
  border-color: #f1f1f1;
  background: #f1f1f1;
  color: #101114;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

.btn-primary:hover {
  border-color: #fff;
  background: #fff;
  color: #08090b;
  box-shadow: 0 10px 28px rgba(255, 255, 255, .1);
}

.gallery-card {
  border-color: rgba(255, 255, 255, .1) !important;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)), var(--bg-card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .035);
}

.gallery-card:hover {
  border-color: rgba(255, 255, 255, .28) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .3), 0 0 24px rgba(255, 255, 255, .045);
}

.filter-btn.active,
.filter-btn:hover {
  border-color: #eee !important;
  background: #eee !important;
  color: #111 !important;
}

.settings-sidebar-group[open] summary,
.settings-sidebar-group-icon,
.settings-sidebar .settings-sidebar-links a:hover,
.settings-sidebar .settings-sidebar-links a.active,
.settings-sidebar .settings-sidebar-support:hover,
.settings-heading .settings-kicker {
  color: #f1f1f1;
}

.settings-sidebar .settings-sidebar-links a:hover,
.settings-sidebar .settings-sidebar-links a.active,
.settings-sidebar .settings-sidebar-support:hover {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .065);
}

.site-notification-toggle:hover,
.site-notification-toggle[aria-expanded="true"] {
  border-color: #ddd;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  background: #fff;
}

.theme-toggle,
.theme-toggle[data-theme="light"] {
  border-color: rgba(255, 255, 255, .2);
  background: linear-gradient(180deg, #282a2e, #151619);
}

.theme-toggle-sun,
.theme-toggle-moon,
.theme-toggle[data-theme="light"] .theme-toggle-sun,
.theme-toggle[data-theme="light"] .theme-toggle-moon {
  color: #ddd;
}

.theme-toggle-thumb,
.theme-toggle[data-theme="light"] .theme-toggle-thumb {
  border-color: rgba(255, 255, 255, .65);
  background: linear-gradient(145deg, #fff, #d6d7da);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .4), inset 0 1px 2px #fff;
}

.theme-toggle[data-theme="light"] .theme-toggle-thumb {
  left: calc(100% - 1.67rem);
}

.navbar,
.navbar.scrolled {
  z-index: 1000;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(9, 10, 12, .94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.nav-container {
  position: relative;
  width: min(1400px, 100%);
  min-height: 52px;
  padding: 0 1.5rem;
  gap: clamp(1rem, 1.5vw, 1.75rem);
}

.logo {
  gap: .48rem;
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: -.065em;
}

.logo::before {
  border-color: rgba(255, 255, 255, .72);
  background: repeating-conic-gradient(from 8deg, #fff 0 5deg, transparent 5deg 17deg);
  box-shadow: inset 0 0 0 3px #090a0c;
}

.logo::after {
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, .7);
}

.nav-links {
  position: static;
  flex: 0 1 auto;
  margin: 0 auto;
  gap: clamp(.85rem, 2vw, 1.7rem);
  transform: none;
}

.nav-links a {
  color: #a6a7aa;
  font-size: .79rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a::after {
  height: 2px;
  background: #ededed;
}

.nav-actions {
  flex: 0 0 auto;
  gap: .75rem;
}

.nav-actions>.guest-only {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.navbar .btn {
  min-height: 38px;
  padding: .55rem .85rem;
  border-radius: 7px;
  font-size: .74rem;
}

.navbar .btn-ghost {
  color: #b7b7ba;
}

.navbar .btn-ghost:hover {
  color: #fff;
}

.navbar .btn-primary {
  border-color: #ededed;
  background: #ededed;
  color: #111214;
}

.navbar .btn-primary:hover {
  border-color: #fff;
  background: #fff;
  color: #090a0c;
}

.site-notification-toggle {
  width: 40px;
  height: 40px;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .045);
  color: #e6e6e6;
}

.site-notification-toggle:hover,
.site-notification-toggle[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

.mobile-actions {
  gap: .55rem;
}

.mobile-toggle {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, .18);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px rgba(255, 255, 255, .07), 0 6px 18px rgba(0, 0, 0, .2);
}

.mobile-toggle:hover {
  border-color: rgba(255, 255, 255, .48);
  box-shadow: inset 0 1px rgba(255, 255, 255, .1), 0 0 18px rgba(255, 255, 255, .08);
}

.mobile-toggle.active {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .13);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .24);
}

.mobile-toggle.active span {
  background: #fff;
}

.mobile-menu {
  border-left-color: rgba(255, 255, 255, .13);
  background:
    radial-gradient(ellipse at 100% 0, rgba(255, 255, 255, .075), transparent 42%),
    linear-gradient(160deg, #17181a, #0c0c0e 62%);
}

.mobile-menu::before {
  color: #ededed;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .065);
}

.mobile-menu a.active {
  border-color: rgba(255, 255, 255, .17);
  background: linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035));
  color: #fff;
}

.mobile-menu a.active::after {
  color: #ededed;
}

@media (max-width: 1280px) {

  .nav-links,
  .nav-actions {
    display: none !important;
  }

  .mobile-actions {
    display: flex !important;
    align-items: center;
    margin-left: auto;
  }

  .mobile-cart-button {
    display: inline-flex !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .mobile-notification-menu {
    display: block;
  }

  .mobile-notification-menu .notification-panel {
    position: fixed;
    top: 4.5rem;
    right: 1rem;
  }

  .nav-container {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media (max-width: 768px) {

  .navbar,
  .navbar.scrolled {
    padding: .45rem 0;
  }

  .nav-container {
    min-height: 48px;
    padding: 0 .85rem;
    gap: .65rem;
  }

  .logo {
    font-size: 1.12rem;
  }

  .mobile-menu {
    width: min(88vw, 350px);
    padding-top: calc(5.1rem + env(safe-area-inset-top));
    border-left-color: rgba(255, 255, 255, .14);
    border-radius: 18px 0 0 18px;
  }
}

@media (max-width: 480px) {

  .mobile-actions>.account-shortcuts,
  .mobile-actions>.jubbio-nav-link,
  .mobile-actions>.pixus-nav-link {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo::before {
    animation: none;
  }
}

.gallery-card.is-premium {
  position: relative;
  border: 1px solid rgba(226, 183, 99, .62) !important;
  background: linear-gradient(155deg, rgba(226, 183, 99, .11), rgba(255, 255, 255, .018) 42%), #11100e;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(226, 183, 99, .1);
}

.gallery-card.is-premium:hover {
  border-color: rgba(255, 220, 145, .9) !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .4), 0 0 28px rgba(226, 183, 99, .13);
}

.gallery-card.is-premium .card-image {
  border-bottom: 1px solid rgba(226, 183, 99, .28);
}

.gallery-card.is-premium .card-info {
  display: grid;
  gap: .7rem;
  padding: .9rem;
}

.premium-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: #d7b66f;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.gallery-card.is-premium .premium-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  padding: .32rem .48rem;
  border: 1px solid rgba(242, 184, 75, .5);
  border-radius: 3px;
  background: rgba(242, 184, 75, .1);
  color: #ffe2a2;
  font-size: .58rem;
  letter-spacing: .12em;
  box-shadow: none;
}

.gallery-card.is-premium .card-title {
  margin: 0;
  color: #f3e7cb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.gallery-card.is-premium .card-meta {
  justify-content: flex-start;
  align-items: center;
  gap: .55rem;
}

.gallery-card.is-premium .card-badge {
  border-color: rgba(226, 183, 99, .28);
  background: rgba(226, 183, 99, .08);
  color: #dfc58e;
}

.premium-access-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: .7rem .8rem;
  border: 1px solid rgba(242, 184, 75, .66);
  border-radius: 4px;
  background: linear-gradient(100deg, #d6ad60, #f3d89e);
  color: #17120a;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  transition: filter .18s ease, transform .18s ease;
}

.premium-access-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.gallery-card.is-premium .price-alert-btn,
.gallery-card.is-premium .card-warning,
.gallery-card.is-premium .card-refund-warning {
  display: none;
}

.auth-page {
  isolation: isolate;
  min-height: 100svh;
  padding: 2rem;
  background: #080909;
}

.auth-bg {
  background:
    linear-gradient(135deg, rgba(212, 169, 91, .08), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 34px);
}

.auth-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
  align-items: center;
  gap: 1.1rem;
  width: min(1120px, 100%);
  margin: auto;
}

.auth-showcase {
  display: flex;
  flex-direction: column;
  min-height: 650px;
  padding: 1.4rem;
  border: 1px solid rgba(226, 183, 99, .28);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .008) 48%), #0d0e0e;
}

.auth-showcase-top,
.auth-showcase-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  color: #b6a783;
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.auth-showcase-art {
  position: relative;
  display: grid;
  flex: 0 0 280px;
  place-items: center;
  height: 280px;
  min-height: 280px;
  margin: 1.2rem 0 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(226, 183, 99, .28);
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 28px), radial-gradient(ellipse at 68% 32%, rgba(166, 112, 52, .18), transparent 40%), linear-gradient(145deg, #1a1916, #0b0c0c 72%);
}

.auth-showcase-art::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(226, 183, 99, .16);
  content: "";
  pointer-events: none;
}

.auth-showcase-art::after {
  position: absolute;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 183, 99, .52), transparent);
  content: "";
  transform: rotate(-32deg);
}

.auth-showcase-art strong {
  color: rgba(226, 183, 99, .16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11rem;
  font-weight: 500;
  line-height: 1;
}

.auth-showcase-art-code,
.auth-showcase-art-caption {
  position: absolute;
  z-index: 1;
  color: #d3b979;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.auth-showcase-art-code {
  top: 2rem;
  left: 2rem;
}

.auth-showcase-art-caption {
  right: 2rem;
  bottom: 2rem;
  color: #8c8778;
}

.auth-showcase-copy {
  max-width: 430px;
}

.auth-showcase-kicker {
  color: #e2bd72;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.auth-showcase-copy h2 {
  margin: .55rem 0 .65rem;
  color: #f0ece4;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1.05;
}

.auth-showcase-copy p {
  max-width: 360px;
  margin: 0;
  color: #aaa9a4;
  font-size: .84rem;
  line-height: 1.7;
}

.auth-showcase-foot {
  margin-top: 1.35rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #77766f;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  padding: 2.2rem;
  border: 1px solid rgba(226, 183, 99, .24);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01) 40%), #111211;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .045);
}

.auth-logo {
  display: inline-block;
  color: #f0d293;
  font-size: 1.5rem;
  letter-spacing: .02em;
}

.auth-subtitle {
  margin: .45rem 0 1.7rem;
  color: #c0beb8;
  font-size: .88rem;
  text-align: left;
}

.auth-card .form-group {
  margin-bottom: 1rem;
}

.auth-card .form-group label {
  color: #c5c2bb;
  font-size: .76rem;
  font-weight: 650;
}

.auth-card .form-group input,
.auth-card .email-mfa-form input:not([type="checkbox"]) {
  min-height: 46px;
  border-color: rgba(255, 255, 255, .14);
  border-radius: 5px;
  background: #090a0a;
  font-size: .86rem;
}

.auth-card .form-group input:focus,
.auth-card .email-mfa-form input:focus-visible {
  border-color: #d3ad65;
  box-shadow: 0 0 0 3px rgba(211, 173, 101, .12);
}

.auth-card .btn-primary {
  min-height: 46px;
  border: 1px solid #e1bc71;
  border-radius: 5px;
  background: linear-gradient(105deg, #d0a653, #f0d596);
  color: #17130b;
  font-weight: 800;
}

.auth-card .btn-primary:hover {
  border-color: #ffe3a2;
  background: #ffe3a2;
  color: #15110a;
}

.auth-card .auth-divider {
  margin: 1.15rem 0;
  font-size: .72rem;
}

.auth-card .auth-provider-button {
  min-height: 43px;
  border-color: rgba(255, 255, 255, .14);
  border-radius: 5px;
  background: rgba(255, 255, 255, .025);
}

.auth-card .auth-provider-button:hover {
  border-color: rgba(226, 183, 99, .5);
  background: rgba(226, 183, 99, .06);
}

.auth-card .consent-group {
  border-color: rgba(255, 255, 255, .13);
  border-radius: 5px;
  background: rgba(0, 0, 0, .14);
}

.auth-card .consent-group legend {
  color: #d8c495;
}

.auth-card .consent-check {
  color: #aaa9a4;
  font-size: .72rem;
}

.auth-card .consent-check a,
.auth-card .form-footer a,
.auth-card [href="forgot-password.html"] {
  color: #ebcb83 !important;
}

.auth-card .form-footer {
  margin-top: 1.2rem;
  font-size: .78rem;
}

.auth-card .email-mfa-form {
  gap: .75rem;
}

.auth-card .email-mfa-form label {
  color: #c5c2bb;
}

.auth-card .email-mfa-back {
  color: #e5c984;
}

@media (max-width: 860px) {
  .auth-page {
    padding: 1rem;
  }

  .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(520px, 100%);
    gap: .9rem;
  }

  .auth-card {
    order: 1;
    justify-self: stretch;
    max-width: none;
  }

  .auth-showcase {
    order: 2;
    min-height: auto;
  }

  .auth-showcase-art {
    flex-basis: 210px;
    height: 210px;
    min-height: 190px;
    max-height: 230px;
  }

  .auth-showcase-copy h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 480px) {
  .auth-page {
    padding: .65rem;
  }

  .auth-card {
    padding: 1.5rem 1.15rem;
  }

  .auth-showcase {
    padding: 1rem;
  }

  .auth-showcase-top,
  .auth-showcase-foot {
    font-size: .52rem;
  }
}

.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 5rem;
  padding: 3.5rem 0 1.4rem;
  border-top: 0;
  background: radial-gradient(ellipse at 18% 0, rgba(220, 173, 88, .1), transparent 38%), linear-gradient(180deg, #10100f 0%, #080808 58%);
}

.footer::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(222, 181, 105, .72) 18%, rgba(255, 255, 255, .16) 52%, rgba(222, 181, 105, .5) 82%, transparent);
  content: "";
}

.footer .container {
  position: relative;
}

.footer-grid {
  grid-template-columns: minmax(240px, 1.7fr) repeat(3, minmax(130px, .75fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  margin-bottom: .85rem;
  color: #f3d89e;
  font-size: 1.55rem;
}

.footer-brand p {
  color: #aaa69d;
  font-size: .85rem;
}

.footer-payment-images::before {
  flex: 0 0 100%;
  margin-bottom: -.2rem;
  color: #79766f;
  content: "GÜVENLİ ÖDEME";
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.footer-payment-images a {
  width: 58px;
  height: 34px;
  border-color: rgba(255, 255, 255, .12);
  border-radius: 5px;
  background: rgba(255, 255, 255, .045);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.footer-payment-images a:hover {
  transform: translateY(-2px);
  border-color: rgba(222, 181, 105, .48);
  background: rgba(222, 181, 105, .08);
}

.footer-col h4 {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .9rem;
  color: #eee5d3;
  font-size: .72rem;
  letter-spacing: .14em;
}

.footer-col h4::before {
  width: 16px;
  height: 1px;
  background: #d6ad60;
  content: "";
}

.footer-col a {
  width: fit-content;
  margin-bottom: .2rem;
  padding: .24rem 0;
  color: #93918b;
  font-size: .82rem;
  transition: color .18s ease, transform .18s ease;
}

.footer-col a:hover {
  transform: translateX(3px);
  color: #f0cd82;
}

.footer-bottom {
  padding-top: 1.15rem;
  border-top-color: rgba(222, 181, 105, .18);
}

.footer-bottom p {
  color: #77756f;
  font-size: .76rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 2.2rem;
  }
}

@media (max-width: 600px) {
  .footer {
    margin-top: 3rem;
    padding-top: 2.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem 1rem;
    margin-bottom: 1.8rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
  }
}

.gallery-section {
  padding: clamp(1.5rem, 3vw, 2.75rem) 0;
}

.gallery-section > .container {
  width: 100%;
  max-width: none;
  padding-inline: clamp(.75rem, 1.5vw, 1.5rem);
}

.gallery-browser {
  grid-template-columns: minmax(228px, 252px) minmax(0, 1fr);
  gap: clamp(1rem, 1.6vw, 1.6rem);
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
}

.gallery-filter-sidebar {
  top: 5.25rem;
  gap: .75rem;
  max-height: calc(100dvh - 5.9rem);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .11);
  border-top: 2px solid rgba(235, 190, 105, .78);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 0 0, rgba(235, 190, 105, .11), transparent 54%),
    linear-gradient(155deg, rgba(24, 24, 25, .98), rgba(13, 13, 14, .98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .055);
}

.gallery-filter-heading {
  padding-bottom: .8rem;
  border-bottom-color: rgba(255, 255, 255, .09);
}

.gallery-filter-heading h3 {
  font-size: 1.12rem;
}

.gallery-filter-heading button {
  padding: .42rem .58rem;
  border-color: rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  color: #d7d7d7;
}

.gallery-filter-heading button:hover {
  border-color: rgba(235, 190, 105, .55);
  background: rgba(235, 190, 105, .09);
  color: #f5d99e;
}

.gallery-filter-field {
  gap: .45rem;
}

.gallery-filter-field input,
.gallery-filter-field select,
.gallery-price-range input {
  height: 39px;
  border-color: rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(0, 0, 0, .28);
}

.gallery-filter-field input:focus,
.gallery-filter-field select:focus,
.gallery-price-range input:focus {
  outline: 2px solid rgba(235, 190, 105, .24);
  border-color: rgba(235, 190, 105, .6);
}

.gallery-filter-group {
  gap: .22rem;
  padding: .65rem;
  border-color: rgba(255, 255, 255, .075);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}

.gallery-filter-group legend,
.gallery-filter-legend {
  font-size: .73rem;
}

.gallery-filter-group>label {
  min-height: 32px;
  border-radius: 7px;
}

.gallery-filter-group>label:has(input:checked) {
  border-color: rgba(235, 190, 105, .24);
  background: rgba(235, 190, 105, .09);
  color: #f5d99e;
}

.gallery-filter-apply {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(120deg, #f3d895, #dcae58);
  box-shadow: 0 8px 22px rgba(220, 174, 88, .16), inset 0 1px rgba(255, 255, 255, .45);
}

.gallery-results {
  width: 100%;
  max-width: 1600px;
  justify-self: center;
}

.gallery-results-heading {
  min-height: 1.75rem;
  margin-bottom: .75rem;
  color: #b7b7b7;
  font-size: .76rem;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  justify-content: center;
  gap: clamp(.75rem, 1.2vw, 1.15rem);
}

@media (max-width: 900px) {
  .gallery-browser {
    grid-template-columns: minmax(210px, 235px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .gallery-section > .container {
    padding-inline: 1rem;
  }

  .gallery-browser {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-filter-sidebar {
    position: static;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-filter-heading,
  .gallery-filter-apply {
    grid-column: 1 / -1;
  }

  .gallery-results {
    max-width: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  }
}

@media (max-width: 520px) {
  .gallery-filter-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-filter-heading,
  .gallery-filter-apply {
    grid-column: 1;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  }
}

.gallery-promo-hero {
  padding: .8rem 0 0;
  border: 0;
  text-align: left;
}

.gallery-promo-hero > .container {
  width: min(1600px, calc(100% - clamp(1.5rem, 3vw, 3rem)));
  max-width: 1600px;
  padding: 0;
}

.gallery-promo-carousel {
  position: relative;
  min-height: clamp(320px, 30vw, 410px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(198, 129, 255, .16), transparent 32rem),
    radial-gradient(ellipse at 9% 92%, rgba(242, 184, 75, .13), transparent 35rem),
    linear-gradient(120deg, #0b0c0f, #131017 62%, #0a0b0d);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .06);
  color: #fff;
}

.gallery-promo-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  padding: clamp(1.6rem, 5vw, 4.5rem);
  opacity: 0;
  visibility: hidden;
  transform: translateX(18px);
  transition: opacity .55s ease, visibility .55s ease, transform .55s ease;
}

.gallery-promo-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.gallery-promo-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
  padding-bottom: 1.5rem;
}

.gallery-promo-kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .85rem;
  color: #f0c66f;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .16em;
}

.gallery-promo-kicker::before {
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.gallery-promo-copy h1,
.gallery-promo-copy h2 {
  margin: 0 0 .85rem;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.gallery-promo-copy > p:not(.gallery-promo-kicker) {
  max-width: 440px;
  margin-bottom: 1.3rem;
  color: #b6b5ba;
  font-size: clamp(.88rem, 1.3vw, 1rem);
  line-height: 1.65;
}

.gallery-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.gallery-promo-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .7rem 1rem;
  border: 1px solid #efc66c;
  border-radius: 10px;
  background: linear-gradient(130deg, #f3d996, #dcae58);
  box-shadow: 0 10px 24px rgba(220, 174, 88, .2), inset 0 1px rgba(255, 255, 255, .5);
  color: #17120a;
  font-size: .75rem;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(220, 174, 88, .3), inset 0 1px rgba(255, 255, 255, .55);
}

.gallery-promo-button-secondary {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
  color: #f5f5f5;
}

.gallery-promo-button-secondary:hover {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
}

.gallery-promo-artwork {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 59%;
  overflow: hidden;
}

.gallery-promo-artwork::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b0c0f 0%, rgba(11, 12, 15, .82) 10%, rgba(11, 12, 15, .12) 48%, rgba(11, 12, 15, .12) 100%),
    linear-gradient(0deg, rgba(7, 8, 10, .72), transparent 38%, rgba(7, 8, 10, .08));
  content: "";
}

.gallery-promo-artwork > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: .8;
  transform: scale(1.04);
}

.gallery-promo-artwork-caption {
  position: absolute;
  z-index: 1;
  right: clamp(1.2rem, 4vw, 3.2rem);
  bottom: 4.2rem;
  display: grid;
  gap: .18rem;
  min-width: 190px;
  padding: .75rem .9rem;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 11px;
  background: rgba(10, 10, 12, .68);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
  backdrop-filter: blur(12px);
}

.gallery-promo-artwork-caption span {
  color: #f0c66f;
  font-size: .52rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.gallery-promo-artwork-caption strong {
  color: #fff;
  font-size: .82rem;
}

.gallery-promo-artwork-caption small {
  color: #bebdc2;
  font-size: .63rem;
}

.gallery-promo-controls {
  position: absolute;
  z-index: 3;
  right: clamp(1rem, 3vw, 2rem);
  bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .35rem .45rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(7, 8, 10, .68);
  backdrop-filter: blur(12px);
}

.gallery-promo-controls > button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #f2f2f2;
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.gallery-promo-controls > button:hover,
.gallery-promo-controls > button:focus-visible {
  border-color: rgba(240, 198, 111, .55);
  background: rgba(240, 198, 111, .12);
  color: #f0c66f;
}

.gallery-promo-dots {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.gallery-promo-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.gallery-promo-dots button[aria-current="true"] {
  width: 21px;
  background: #f0c66f;
}

.gallery-promo-toggle {
  font-size: .7rem !important;
}

.gallery-promo-carousel button:focus-visible,
.gallery-promo-button:focus-visible {
  outline: 2px solid #f0c66f;
  outline-offset: 3px;
}

.gallery-filter-sidebar {
  color-scheme: dark;
  --text-primary: #f4f4f4;
  --text-secondary: #b7b7b7;
  --text-muted: #858585;
  --accent: #f4f4f4;
  --brand: #f2b84b;
  --brand-strong: #ffd27a;
  --border: rgba(255, 255, 255, .12);
  --border-light: rgba(255, 255, 255, .2);
}

.gallery-filter-heading h3,
.gallery-filter-group legend,
.gallery-filter-legend {
  color: #f4f4f4;
}

@media (max-width: 760px) {
  .gallery-promo-hero > .container {
    width: calc(100% - 2rem);
  }

  .gallery-promo-carousel {
    min-height: 370px;
    border-radius: 17px;
  }

  .gallery-promo-slide {
    display: block;
    padding: 2rem 1.35rem 5.2rem;
  }

  .gallery-promo-artwork {
    width: 100%;
  }

  .gallery-promo-artwork::after {
    background:
      linear-gradient(90deg, rgba(9, 10, 12, .78), rgba(9, 10, 12, .35)),
      linear-gradient(0deg, #090a0c 0%, rgba(9, 10, 12, .55) 20%, rgba(9, 10, 12, .18) 100%);
  }

  .gallery-promo-copy {
    padding: 0;
  }

  .gallery-promo-copy h1,
  .gallery-promo-copy h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .gallery-promo-copy > p:not(.gallery-promo-kicker) {
    max-width: 420px;
    color: #d0cfd2;
  }

  .gallery-promo-artwork-caption {
    right: 1rem;
    bottom: 1rem;
    min-width: 0;
    padding: .55rem .7rem;
  }

  .gallery-promo-artwork-caption small {
    display: none;
  }

  .gallery-promo-controls {
    right: auto;
    bottom: 1rem;
    left: 1rem;
  }
}

@media (max-width: 420px) {
  .gallery-promo-carousel {
    min-height: 390px;
  }

  .gallery-promo-slide {
    padding-inline: 1rem;
  }

  .gallery-promo-actions {
    gap: .5rem;
  }

  .gallery-promo-button {
    min-height: 40px;
    padding: .6rem .72rem;
    font-size: .68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-promo-slide,
  .gallery-promo-button,
  .gallery-promo-controls > button,
  .gallery-promo-dots button {
    transition: none;
  }
}

/* Gallery actions */
.gallery-card .card-actions {
  gap: .45rem;
}

.gallery-card .card-actions .btn {
  min-height: 38px;
  padding: .5rem .42rem;
  border-radius: 9px;
  font-size: .68rem;
  font-weight: 750;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.gallery-card .card-actions .btn-view {
  border: 1px solid rgba(255, 255, 255, .16) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  color: #e8e8ec;
}

.gallery-card .card-actions .btn-view:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 198, 111, .55) !important;
  background: rgba(240, 198, 111, .1);
  color: #f5d99e;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .2);
}

.gallery-card .card-actions .add-to-cart-btn {
  border: 1px solid rgba(255, 218, 147, .72);
  background: linear-gradient(130deg, #f3d996, #dcae58);
  color: #17120a;
  box-shadow: 0 6px 16px rgba(220, 174, 88, .16), inset 0 1px rgba(255, 255, 255, .42);
}

.gallery-card .card-actions .add-to-cart-btn:hover {
  transform: translateY(-2px);
  border-color: #ffe2a2;
  background: linear-gradient(130deg, #ffe5ad, #edc36e);
  color: #17120a;
  box-shadow: 0 9px 22px rgba(220, 174, 88, .25), inset 0 1px rgba(255, 255, 255, .55);
}

.gallery-card .card-actions .btn:active,
.gallery-card .price-alert-btn:active,
.gallery-filter-heading button:active,
.gallery-filter-apply:active {
  transform: translateY(0) scale(.98);
}

.gallery-card .card-actions .btn:focus-visible,
.gallery-card .price-alert-btn:focus-visible,
.gallery-card .card-social-btn:focus-visible,
.gallery-filter-heading button:focus-visible,
.gallery-filter-apply:focus-visible {
  outline: 2px solid #f0c66f;
  outline-offset: 3px;
}

.gallery-card .price-alert-btn {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: .55rem;
  border-color: rgba(255, 255, 255, .12);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  color: #c9c9ce;
  font-size: .7rem;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.gallery-card .price-alert-btn:hover,
.gallery-card .price-alert-btn.is-active {
  border-color: rgba(240, 198, 111, .48);
  background: linear-gradient(120deg, rgba(240, 198, 111, .14), rgba(240, 198, 111, .055));
  color: #f5d99e;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
}

.gallery-card .card-social-btn {
  min-width: 2.2rem;
  min-height: 2.2rem;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(8, 10, 12, .82);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.gallery-card .card-social-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 198, 111, .7);
  background: rgba(30, 25, 16, .94);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .28);
}

.gallery-card .card-social-btn.is-active {
  border-color: rgba(240, 198, 111, .72);
  background: rgba(240, 198, 111, .16);
  color: #ffe2a2;
}

.gallery-filter-heading button {
  min-height: 36px;
  padding-inline: .7rem;
  border-radius: 8px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.gallery-filter-heading button:hover {
  transform: translateY(-1px);
}

.gallery-filter-apply {
  min-height: 46px;
  border-radius: 9px;
  box-shadow: 0 7px 20px rgba(220, 174, 88, .18), inset 0 1px rgba(255, 255, 255, .38);
}

.gallery-card.is-premium .premium-access-btn {
  min-height: 44px;
  padding-inline: .9rem;
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(220, 174, 88, .16), inset 0 1px rgba(255, 255, 255, .35);
}

.gallery-promo-button span {
  transition: transform .18s ease;
}

.gallery-promo-button:hover span {
  transform: translate(2px, 2px);
}

.gallery-promo-controls > button {
  width: 34px;
  height: 34px;
}

@media (max-width: 480px) {
  .gallery-card .card-actions {
    gap: .35rem;
  }

  .gallery-card .card-actions .btn {
    min-height: 38px;
    padding-inline: .35rem;
    font-size: .65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card .card-actions .btn,
  .gallery-card .price-alert-btn,
  .gallery-card .card-social-btn,
  .gallery-filter-heading button,
  .gallery-promo-button span {
    transition: none;
  }
}