:root {
  color-scheme: dark;
  --bg: #020204;
  --panel: rgba(11, 12, 14, 0.82);
  --panel-strong: rgba(15, 16, 18, 0.96);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f7f7f8;
  --muted: #a2a2a8;
  --soft: #d7d7dc;
  --dark: #0a0a0c;
  --white: #ffffff;
  --danger: #ff5757;
  --success: #9df7c4;
  --accent: #b5874f;
  --accent-soft: rgba(181, 135, 79, 0.18);
  --accent-glow: rgba(181, 135, 79, 0.38);
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 0%, #151519 0, #050507 34%, #000 100%),
    radial-gradient(ellipse at 20% 0%, var(--accent-soft) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, var(--accent-soft) 0%, transparent 50%);
  color: var(--text);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.cat-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000 80%),
    url("/static/assets/sam-cat.gif") center 18% / min(56vw, 720px) auto no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  background: transparent;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.82rem;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.login-btn,
.ghost-btn,
.primary-btn,
.danger-btn,
.copy-btn,
.profile-btn,
.quantity-btn {
  min-height: 42px;
  border-radius: 8px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.nav-link {
  padding: 0 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.nav-link:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  border-color: var(--accent-soft);
  color: var(--accent);
  background: var(--accent-soft);
}

.cart-link span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.profile {
  position: relative;
  min-width: 130px;
  display: flex;
  justify-content: flex-end;
}

.login-btn,
.primary-btn {
  padding: 0 18px;
  background: var(--white);
  color: var(--dark);
  font-weight: 800;
}

.primary-btn {
  width: 100%;
}

.primary-btn:hover,
.login-btn:hover {
  transform: translateY(-2px);
  background: #e8e0d0;
  box-shadow: 0 4px 20px var(--accent-soft);
}

.ghost-btn,
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  text-align: center;
}

.ghost-btn:hover,
.copy-btn:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.compact-btn {
  width: auto;
  min-width: 104px;
}

.section-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.danger-btn {
  padding: 0 12px;
  border: 1px solid rgba(255, 87, 87, 0.28);
  background: rgba(255, 87, 87, 0.12);
  color: #ffd7d7;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 4px 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.profile-btn img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.profile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 12, 14, 0.98);
  box-shadow: var(--shadow);
  padding: 8px;
}

.profile-menu button {
  width: 100%;
  min-height: 40px;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0 10px;
}

.profile-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.app {
  position: relative;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 46px 0 76px;
}

.app > * {
  transform-origin: top center;
  will-change: opacity, transform;
}

.app-transitioning {
  pointer-events: none;
}

.app-transitioning > :not(.app-transition-ghost) {
  position: relative;
  z-index: 1;
}

.app-transition-ghost {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
}

.app.app-view-leave,
.app.app-view-enter,
.content-leave,
.content-enter {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(2px);
}

.app.app-view-enter,
.content-enter {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
}

.deco-details-panel,
.purchases-panel,
.profile-panel {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  will-change: opacity, transform;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: 5.2rem;
  line-height: 0.92;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 em {
  font-style: normal;
  -webkit-text-fill-color: var(--accent);
}

h2 {
  margin-bottom: 10px;
  font-size: 2.7rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.muted {
  color: var(--muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
  min-height: calc(100vh - 156px);
  padding-bottom: 36px;
  position: relative;
}

.hero-grid::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -10%;
  width: 60%;
  height: 400px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

.hero-grid > div:first-child {
  position: relative;
  z-index: 1;
  animation: heroFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
  color: var(--text);
  text-align: left;
  transform: translateY(0) scale(1);
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  cursor: pointer;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent-soft), transparent 40%, transparent 60%, var(--accent-soft));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-stack {
  display: grid;
  gap: 16px;
}

.product-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    var(--shadow),
    0 0 30px var(--accent-soft);
  transform: translateY(-6px) scale(1.012);
}

.product-card:hover::after {
  opacity: 1;
}

.product-card:active,
.product-card.product-card-press {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(2px) scale(0.985);
  box-shadow: var(--shadow);
}

.product-card:active::after,
.product-card.product-card-press::after {
  opacity: 0.6;
}

.product-card .ghost-btn {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  transition:
    background 0.28s ease,
    transform 0.28s ease;
}

.product-card:hover .ghost-btn,
.product-card.product-card-press .ghost-btn {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  transform: translateX(4px);
}

.product-card:hover .robux-icon,
.product-card:hover .deco-icon {
  border-color: var(--accent);
}

.robux-icon {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #0a0a0c 0%, #050506 100%);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.robux-icon img {
  width: 64%;
  height: 64%;
  object-fit: contain;
  filter: invert(1) grayscale(1);
}

.deco-icon {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #161824 0%, #111218 100%);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.deco-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 16px 0;
}

.price-line strong {
  font-size: 2.4rem;
  font-weight: 650;
  color: var(--accent);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1.1fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.media-panel {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 36px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(11, 12, 14, 0.9) 0%, rgba(11, 12, 14, 0.6) 100%);
}

.media-panel .robux-icon {
  width: min(240px, 72%);
  max-width: 100%;
}

.gallery-panel {
  gap: 16px;
  min-height: 540px;
  padding: 22px;
}

.gallery-open {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 456px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
}

.gallery-image {
  width: 100%;
  max-height: 456px;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
}

.gallery-actions {
  display: inline-grid;
  grid-template-columns: 42px auto 42px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 34px);
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
}

.image-modal-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(1120px, 100%);
  max-height: min(92vh, 820px);
}

.image-modal-content img {
  max-width: 100%;
  max-height: min(88vh, 780px);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  object-fit: contain;
  background: #111;
  box-shadow: var(--shadow);
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.76);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
}

.content-panel,
.buy-panel,
.cart-panel,
.summary-panel,
.payment-panel,
.purchases-panel {
  padding: 24px;
}

.divider {
  height: 1px;
  margin: 22px 0;
  background: var(--line);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.price-options {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.deco-option {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.deco-option strong {
  font-size: 1.2rem;
}

.tier-btn {
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
}

.tier-btn strong,
.tier-btn span {
  display: block;
}

.tier-btn span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.tier-btn.active {
  border-color: var(--white);
  background: var(--white);
  color: var(--dark);
}

.tier-btn.active {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-soft);
}

.tier-btn.active span {
  color: var(--accent);
}

.slider-wrap {
  margin-top: 24px;
}

.slider-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

input[type="range"]::-webkit-slider-thumb {
  background: var(--accent);
}

input[type="range"]::-moz-range-thumb {
  background: var(--accent);
}

.slider-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.buy-panel {
  position: sticky;
  top: 100px;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.meta-row,
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.summary-row {
  margin: 10px 0;
  color: var(--muted);
}

.summary-row strong {
  color: var(--text);
}

.action-stack {
  display: grid;
  gap: 10px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.35fr) minmax(230px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  color: var(--soft);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0 14px;
}

.field select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--soft) 50%) right 18px center / 8px 8px no-repeat,
    linear-gradient(135deg, var(--soft) 50%, transparent 50%) right 12px center / 8px 8px no-repeat,
    rgba(255, 255, 255, 0.05);
  padding-right: 42px;
}

.field select option {
  background: #15161a;
  color: var(--text);
}

.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 14px;
  color: var(--soft);
  font-weight: 700;
}

.check-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--white);
}

.field textarea {
  min-height: 116px;
  padding: 12px 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.28);
  border-color: var(--white);
}

.selected-deco-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.selected-deco-price span {
  color: var(--muted);
}

.selected-deco-price s {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--muted);
}

.selected-deco-price strong {
  color: var(--text);
  font-size: 1.35rem;
}

.deco-searchbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.deco-searchbar input {
  flex: 1 1 200px;
  min-width: 120px;
}

.deco-searchbar > .primary-btn {
  flex: 0 0 auto;
}

.deco-admin-actions {
  display: flex;
  gap: 8px;
  flex: 1 1 100%;
  justify-content: flex-end;
}

.deco-searchbar input {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0 16px;
}

.deco-searchbar input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.28);
  border-color: var(--white);
}

.deco-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.deco-sortbar {
  margin-top: -2px;
  margin-bottom: 12px;
}

.filter-button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 700;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.filter-button.active {
  border-color: var(--white);
}

.status-line {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.status-line.error {
  color: #ffb6b6;
}

.nitro-toggle {
  display: inline-flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nitro-choice {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 900;
}

.nitro-choice.no-nitro.active {
  border-color: rgba(255, 87, 87, 0.7);
  background: rgba(255, 87, 87, 0.18);
  color: #ffd7d7;
}

.nitro-choice.with-nitro.active {
  border-color: rgba(157, 247, 196, 0.65);
  background: rgba(157, 247, 196, 0.16);
  color: var(--success);
}

.deco-search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: 18px;
  align-items: start;
  margin-top: 12px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.deco-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  padding: 14px;
}

.deco-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 14px 14px;
  color: var(--muted);
  font-weight: 800;
}

.deco-pagination .quantity-btn {
  width: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deco-pagination .quantity-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.deco-result-card {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  box-shadow: none;
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.deco-result-card:hover,
.deco-result-card.active {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.deco-result-card:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  transform: translateY(-6px) scale(1.018);
}

.deco-result-card.active {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-3px) scale(1.01);
}

.deco-result-card:active,
.deco-result-card.selecting {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(2px) scale(0.965);
}

.deco-result-thumb,
.deco-detail-image,
.deco-bundle-thumb {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.deco-result-thumb {
  aspect-ratio: 1;
}

.deco-result-thumb img,
.deco-detail-image img,
.deco-bundle-thumb img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

.deco-preview {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.deco-preview img {
  max-width: none;
  max-height: none;
}

.avatar-decoration-preview {
  background: #050507;
}

.avatar-decoration-photo {
  position: absolute;
  inset: 7%;
  z-index: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  overflow: hidden;
  background: #050507;
}

.avatar-decoration-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.avatar-decoration-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
}

.avatar-decoration-art.fallback {
  object-fit: cover;
}

.avatar-decoration-preview.detail .avatar-decoration-photo {
  inset: 7%;
}

.avatar-decoration-preview.modal .avatar-decoration-photo {
  inset: 6%;
}

.avatar-decoration-preview.tile .avatar-decoration-photo,
.avatar-decoration-preview.cart .avatar-decoration-photo,
.avatar-decoration-preview.bundle .avatar-decoration-photo {
  inset: 7%;
}

.profile-effect-preview {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.08), transparent 42%),
    #050507;
}

.profile-effect-base,
.profile-effect-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.profile-effect-base {
  z-index: 0;
  object-fit: cover;
  object-position: top center;
  opacity: 0.78;
}

.profile-effect-art {
  z-index: 1;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
}

.profile-effect-art.fallback {
  inset: 0;
  width: 100%;
  height: 100%;
}

.profile-effect-preview.cart .profile-effect-art,
.profile-effect-preview.bundle .profile-effect-art {
  inset: 2%;
  width: 96%;
  height: 96%;
}

.missing-decoration-preview {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 76px;
  padding: 10px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #101114;
  color: var(--muted);
  text-align: center;
}

.missing-decoration-preview span {
  max-width: 100%;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.missing-decoration-preview.detail {
  min-height: 160px;
}

.missing-decoration-preview.nameplate {
  aspect-ratio: 260 / 62;
  width: min(92%, 430px);
  height: auto;
  min-height: 62px;
}

.missing-decoration-preview.nameplate.tile,
.missing-decoration-preview.nameplate.cart,
.missing-decoration-preview.nameplate.bundle,
.missing-decoration-preview.nameplate.bundlemini {
  width: min(96%, 240px);
  min-height: 48px;
}

.bundle-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 6px;
  background: #050507;
}

.deco-result-thumb.bundle .bundle-preview,
.deco-detail-image.bundle .bundle-preview {
  width: 100%;
  height: 100%;
}

.bundle-preview-cover {
  grid-column: 1 / -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bundle-preview-piece {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.bundle-preview-piece {
  aspect-ratio: 1;
}

.bundle-preview-piece .deco-preview {
  width: 100%;
  height: 100%;
}

.bundle-preview-piece .avatar-decoration-preview,
.bundle-preview-piece .profile-effect-preview,
.bundle-preview-piece .nameplate-preview {
  width: 100%;
  height: 100%;
}

.bundle-preview-piece.nameplate {
  grid-column: 1 / -1;
  min-height: 58px;
}

.bundle-preview-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.nameplate-preview {
  aspect-ratio: 260 / 62;
  align-self: center;
  width: min(96%, 300px);
  height: auto;
  min-height: auto;
  border-radius: 8px;
  background: #111217;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.nameplate-preview.detail {
  width: min(92%, 430px);
}

.nameplate-preview.tile {
  width: min(88%, 240px);
}

.nameplate-preview.tile .nameplate-content {
  gap: 9px;
  padding: 5px 12px;
}

.nameplate-preview.tile .nameplate-avatar {
  width: 34px;
}

.nameplate-preview.tile .nameplate-content strong {
  font-size: 0.78rem;
}

.nameplate-preview.cart,
.nameplate-preview.bundle,
.nameplate-preview.bundlemini {
  width: 100%;
}

.nameplate-preview.cart .nameplate-content,
.nameplate-preview.bundle .nameplate-content,
.nameplate-preview.bundlemini .nameplate-content {
  gap: 4px;
  padding: 3px 6px;
}

.nameplate-preview.cart .nameplate-avatar,
.nameplate-preview.bundle .nameplate-avatar,
.nameplate-preview.bundlemini .nameplate-avatar {
  width: 24px;
}

.nameplate-preview.cart .nameplate-content strong,
.nameplate-preview.bundle .nameplate-content strong,
.nameplate-preview.bundlemini .nameplate-content strong {
  font-size: 0.62rem;
}

.nameplate-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nameplate-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 6px 16px;
}

.nameplate-avatar {
  width: 46px;
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.nameplate-content strong {
  min-width: 0;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
}

.deco-image-fallback {
  color: var(--muted);
  font-size: 0.85rem;
}

.deco-result-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.deco-result-body strong,
.deco-detail-title,
.deco-bundle-item strong {
  overflow-wrap: anywhere;
}

.deco-result-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.deco-result-price s {
  color: var(--muted);
}

.deco-type-chip {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.deco-sku-foot,
.deco-detail-sku {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.deco-detail-sku {
  margin-bottom: 0;
}

.deco-detail-sku a {
  color: #8eb8ff;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.deco-detail-sku a:hover {
  color: #c9dcff;
  text-decoration-color: var(--white);
}

.deco-details-panel {
  position: sticky;
  top: 100px;
  padding: 18px;
}

.deco-detail-image {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 16px;
}

.deco-detail-title {
  margin-top: 12px;
  font-size: 2.1rem;
}

.deco-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.deco-price-grid > div {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.deco-price-grid strong {
  overflow-wrap: anywhere;
}

.dynamic-deco-price {
  margin-top: 14px;
}

.deco-buy-actions {
  margin-top: 12px;
}

.deco-bundle-list {
  display: grid;
  gap: 10px;
}

.deco-bundle-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
}

.deco-bundle-item:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.deco-bundle-item:disabled {
  cursor: default;
  opacity: 0.72;
}

.deco-bundle-thumb {
  width: 76px;
  aspect-ratio: 1;
}

.deco-bundle-thumb.nameplate {
  width: 112px;
  aspect-ratio: 260 / 92;
  padding: 6px;
}

.deco-bundle-thumb.nameplate .nameplate-preview {
  width: 100%;
}

.deco-bundle-thumb.nameplate .nameplate-content {
  gap: 6px;
  padding: 4px 8px;
}

.deco-bundle-thumb.nameplate .nameplate-avatar {
  width: 26px;
}

.deco-bundle-thumb.nameplate .nameplate-content strong {
  font-size: 0.68rem;
}

.deco-bundle-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.slim-empty {
  min-height: 180px;
}

.login-empty > div {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.warning-text {
  font-weight: 800;
  color: var(--soft);
}

.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.cart-item:first-of-type {
  border-top: 0;
}

.cart-item .robux-icon {
  width: 88px;
}

.cart-item-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.cart-item-main strong {
  overflow-wrap: anywhere;
}

.cart-item-title {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: anywhere;
}

.cart-item-title:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cart-meta .deco-type-chip,
.cart-meta-pill {
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.76rem;
}

.cart-meta-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.cart-item-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.cart-deco-thumb {
  display: grid;
  place-items: center;
  width: 88px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.cart-preview-btn {
  padding: 0;
  color: inherit;
}

.cart-preview-btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.cart-deco-thumb .deco-preview {
  width: 100%;
  height: 100%;
}

.cart-deco-thumb.bundle .bundle-preview,
.cart-preview-large.bundle .bundle-preview {
  width: 100%;
  height: 100%;
}

.cart-preview-large.bundle .bundle-preview {
  gap: 10px;
  padding: 12px;
}

.cart-deco-thumb.decoavatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}

.cart-deco-thumb.decoavatar .avatar-decoration-photo img {
  object-fit: cover;
}

.cart-deco-thumb.decoavatar .avatar-decoration-art {
  object-fit: contain;
}

.cart-deco-thumb.profileeffect .profile-effect-art {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-deco-thumb.profileeffect .profile-effect-base {
  object-fit: cover;
  opacity: 1;
}

.cart-deco-thumb.nameplate {
  padding: 8px;
}

.cart-deco-thumb.nameplate .nameplate-preview {
  width: 100%;
  aspect-ratio: 260 / 62;
}

.cart-deco-thumb.nameplate .nameplate-content {
  gap: 6px;
}

.cart-preview-modal {
  gap: 12px;
  color: var(--text);
}

.cart-preview-large {
  display: grid;
  place-items: center;
  width: min(520px, calc(100vw - 48px));
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #050507;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-preview-large.nameplate {
  aspect-ratio: 260 / 92;
  padding: 18px;
}

.cart-preview-large.nameplate .nameplate-preview {
  width: min(100%, 440px);
}

.cart-preview-large.decoavatar img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}

.cart-preview-large.decoavatar .avatar-decoration-photo img {
  object-fit: cover;
}

.cart-preview-large.decoavatar .avatar-decoration-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0 34%, #000 35%);
  mask-image: radial-gradient(circle at 50% 50%, transparent 0 34%, #000 35%);
}

.cart-preview-large.decoavatar .avatar-decoration-preview.modal {
  width: 100%;
  height: 100%;
}

.cart-preview-large.profileeffect .profile-effect-preview.modal {
  width: 100%;
  height: 100%;
}

.cart-preview-large.profileeffect .profile-effect-base {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.cart-preview-large.profileeffect .profile-effect-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card .robux-icon,
.product-card .deco-icon {
  width: 138px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 42px 50px 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.quantity-btn {
  min-height: 42px;
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.quantity-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.quantity-control span {
  display: grid;
  place-items: center;
  height: 42px;
  border-inline: 1px solid var(--line);
  font-weight: 800;
}

.total-price {
  font-size: 1.6rem;
  font-weight: 800;
}

.pix-box {
  display: grid;
  gap: 16px;
  width: min(760px, 100%);
  margin: 24px auto 0;
}

.qr-wrap {
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(360px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.qr-wrap img {
  width: min(260px, 100%);
  height: auto;
}

.pix-code {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
  word-break: break-all;
}

.payment-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-actions .danger-btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.status-pill.paid,
.status-pill.submitted {
  border-color: var(--accent-glow);
  color: var(--accent);
}

.status-pill.pending_payment {
  border-color: var(--accent-glow);
  color: var(--accent);
}

.status-pill.completed {
  border-color: rgba(157, 247, 196, 0.45);
  color: var(--success);
}

.status-pill.cancelled,
.status-pill.refunded {
  border-color: rgba(255, 87, 87, 0.45);
  color: #ffb6b6;
}

.reviews-panel {
  margin-top: 24px;
  padding: 24px;
}

.review-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.rating-picker {
  display: flex;
  gap: 8px;
}

.star-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 1.2rem;
}

.star-btn.active {
  border-color: var(--white);
  background: var(--white);
  color: var(--dark);
}

.review-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.review-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.review-card img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.stars {
  color: var(--white);
  letter-spacing: 0;
}

.profile-panel {
  padding: 0;
  overflow: hidden;
}

.discord-profile {
  display: grid;
  gap: 22px;
  padding-bottom: 24px;
}

.discord-banner {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    #111;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.discord-profile-main {
  display: flex;
  align-items: end;
  gap: 16px;
  padding: 0 24px;
  margin-top: -58px;
}

.discord-avatar {
  width: 116px;
  height: 116px;
  border: 6px solid #070708;
  border-radius: 8px;
  object-fit: cover;
  background: #111;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 24px;
}

.profile-grid-single {
  grid-template-columns: 1fr;
}

.info-box {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.profile-wide {
  grid-column: 1 / -1;
}

.connections-list {
  display: grid;
  gap: 8px;
}

.decorations-list {
  display: grid;
  gap: 12px;
}

.decoration-order {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.decoration-order:first-child {
  padding-top: 0;
  border-top: 0;
}

.decoration-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.decoration-images img {
  width: 132px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.connection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.connection-row:first-child {
  border-top: 0;
}

.connection-app {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.connection-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: block;
  object-fit: cover;
  flex: 0 0 auto;
}

.connection-fallback {
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.join-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.delivery-flow {
  display: grid;
  gap: 18px;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.order-step {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.order-step span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.order-step strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.order-step.active {
  border-color: var(--accent-glow);
  color: var(--accent);
}

.order-step.done {
  border-color: rgba(157, 247, 196, 0.45);
  color: var(--success);
}

.step-box {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.muted-step {
  opacity: 0.62;
}

.step-badge {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.verify-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.verify-card.invalid {
  border-color: rgba(255, 87, 87, 0.45);
}

.verify-card img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.verify-card p {
  margin-bottom: 0;
}

.ok-text {
  color: var(--success);
}

.error-text {
  color: #ffb6b6;
}

.purchase-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.purchase-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.purchase-row:first-child {
  border-top: 0;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(280px, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.admin-stat-panel,
.admin-search-panel {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 116px;
  padding: 18px;
}

.admin-stat-panel strong {
  font-size: 2.7rem;
  line-height: 1;
}

.admin-search-panel label {
  color: var(--soft);
  font-weight: 800;
}

.admin-search-panel input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0 14px;
}

.admin-search-panel input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.28);
  border-color: var(--white);
}

.admin-users-panel {
  padding: 16px;
}

.admin-users-head,
.admin-user-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.55fr) minmax(150px, 0.38fr);
  gap: 14px;
  align-items: center;
}

.admin-users-head {
  min-height: 34px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-users-list {
  display: grid;
}

.admin-user-row {
  min-height: 72px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.admin-user-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.admin-user-row img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.admin-user-row > img {
  grid-column: 1;
}

.admin-user-main {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin-left: 60px;
  grid-column: 1;
  grid-row: 1;
}

.admin-user-main strong,
.admin-user-id,
.admin-user-date {
  overflow-wrap: anywhere;
}

.admin-user-id {
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.admin-user-date {
  color: var(--muted);
  font-weight: 800;
}

.order-danger {
  margin-top: 16px;
}

.empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 12, 14, 0.96);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .app,
  .deco-details-panel,
  .purchases-panel,
  .profile-panel,
  .product-card,
  .product-card .ghost-btn,
  .deco-result-card {
    transition: none;
  }

  .app.app-view-leave,
  .app.app-view-enter,
  .content-leave,
  .content-enter {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  }

  .summary-panel {
    grid-column: 1 / -1;
  }
}

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

  .nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero-grid,
  .detail-layout,
  .cart-layout,
  .deco-search-layout,
  .order-steps,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    grid-column: auto;
  }

  .buy-panel {
    position: static;
  }

  .deco-details-panel {
    position: static;
  }

  .media-panel {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding-inline: 14px;
  }

  .app {
    width: min(100% - 24px, 1180px);
    padding-top: 28px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .deco-detail-title {
    font-size: 1.7rem;
  }

  .product-card,
  .cart-item,
  .review-card,
  .verify-card,
  .profile-grid,
  .purchase-row,
  .admin-users-head,
  .admin-user-row {
    grid-template-columns: 1fr;
  }

  .admin-users-head {
    display: none;
  }

  .admin-user-row {
    gap: 8px;
    align-items: start;
  }

  .admin-user-row > img,
  .admin-user-main {
    grid-column: auto;
    grid-row: auto;
  }

  .admin-user-main {
    margin-left: 0;
  }

  .profile-wide {
    grid-column: auto;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .section-actions,
  .payment-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .nitro-toggle {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .compact-btn,
  .section-actions .status-pill {
    width: 100%;
    justify-content: center;
  }

  .deco-price-grid,
  .deco-bundle-item {
    grid-template-columns: 1fr;
  }

  .cart-item-side {
    justify-items: start;
  }
}

.deco-preview img {
  transition: opacity 0.25s ease;
}
