:root {
  --bg: #0d1117;
  --bg-soft: #111827;
  --panel: rgba(17, 24, 39, 0.8);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #ecf2ff;
  --muted: #a4b0c0;
  --muted-strong: #c4cedb;
  --accent: #8bd8bd;
  --accent-2: #ffb86b;
  --accent-3: #7fb0ff;
  --danger: #ff7b7b;
  --success: #8bd8bd;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(127, 176, 255, 0.22), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(139, 216, 189, 0.18), transparent 24%),
    radial-gradient(circle at 50% 95%, rgba(255, 184, 107, 0.16), transparent 30%),
    linear-gradient(160deg, #070b12 0%, #0d1117 45%, #111827 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.skip-link {
  position: absolute; left: -999px; top: 0; padding: 0.75rem 1rem; border-radius: 999px;
  background: var(--accent); color: #08111d; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.app-shell { width: min(1200px, calc(100vw - 2rem)); margin: 0 auto; padding: 1rem 0 3rem; }
.topbar {
  position: sticky; top: 0.75rem; z-index: 50; backdrop-filter: blur(18px);
  background: rgba(8, 13, 22, 0.8); border: 1px solid var(--panel-border);
  border-radius: 999px; padding: 0.85rem 1rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, #8bd8bd, #7fb0ff 60%, #ffb86b);
  box-shadow: 0 8px 20px rgba(127, 176, 255, 0.25);
}
.brand-copy { min-width: 0; }
.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
  color: var(--accent-2);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.brand-copy strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.03em; }
.brand-copy span {
  display: block; color: var(--muted); font-size: 0.86rem; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.topbar-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.utility-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.utility-pill.subtle {
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
}
.utility-pill.good {
  background: rgba(139, 216, 189, 0.14);
  border-color: rgba(139, 216, 189, 0.25);
  color: #dffff3;
}
.nav { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .nav button, .chip, .ghost-button, .primary-button, .secondary-button, .danger-button {
  border: 1px solid transparent; border-radius: 999px; padding: 0.72rem 1rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.nav a:hover, .nav button:hover, .chip:hover, .ghost-button:hover, .primary-button:hover, .secondary-button:hover, .danger-button:hover {
  transform: translateY(-1px);
}
.nav a, .ghost-button {
  color: var(--text); background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.09);
}
.primary-button { background: linear-gradient(135deg, #8bd8bd, #7fb0ff); color: #07111b; font-weight: 700; }
.secondary-button { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: rgba(255, 255, 255, 0.08); }
.danger-button { background: rgba(255, 123, 123, 0.12); color: #ffd8d8; border-color: rgba(255, 123, 123, 0.2); }
.hero {
  margin: 1.25rem 0 1rem; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem;
}
.hero-panel, .surface {
  background: linear-gradient(180deg, rgba(21, 29, 45, 0.95), rgba(11, 16, 26, 0.92));
  border: 1px solid var(--panel-border); border-radius: var(--radius-xl); box-shadow: var(--shadow);
}
.hero-panel { padding: 1.5rem; position: relative; overflow: hidden; }
.hero-panel::after {
  content: ""; position: absolute; inset: auto -10% -55% auto; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(127, 176, 255, 0.24), transparent 68%);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem; border-radius: 999px; padding: 0.45rem 0.8rem;
  background: rgba(139, 216, 189, 0.1); color: #c8f3e7; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.hero h1 { margin: 0.9rem 0 0.7rem; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 4.1rem); line-height: 0.96; }
.hero p { margin: 0; color: var(--muted-strong); font-size: 1rem; line-height: 1.7; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.hero-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.collection-overline {
  margin: 1rem 0 0;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}
.collection-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.35rem;
}
.collection-stat {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.collection-stat strong {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
.collection-stat span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.stats-grid { display: grid; gap: 0.75rem; }
.stat-card {
  padding: 1rem 1.1rem; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06);
}
.stat-card strong { display: block; font-size: 1.4rem; }
.stat-card span { color: var(--muted); font-size: 0.9rem; }
.toolbar { display: grid; grid-template-columns: 1fr auto; gap: 0.75rem; align-items: center; margin: 1rem 0; }
.search {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem;
  border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
}
.search input { width: 100%; color: var(--text); background: transparent; border: 0; outline: none; }
.surface { padding: 1rem; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.section-title h2 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; }
.section-title p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.chips { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: rgba(255, 255, 255, 0.08); }
.chip.is-active { background: rgba(139, 216, 189, 0.15); border-color: rgba(139, 216, 189, 0.3); color: #d8fff4; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.product-card {
  overflow: hidden; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg); min-height: 100%; display: flex; flex-direction: column;
}
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(135deg, rgba(139, 216, 189, 0.16), rgba(127, 176, 255, 0.16)); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-art {
  width: 100%; height: 100%; display: grid; place-items: center; padding: 1rem; color: #f8fbff;
  text-align: center; position: relative;
}
.product-art::before {
  content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 24px;
  filter: blur(0.2px);
}
.product-art strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: 0.02em; z-index: 1; }
.product-art span { display: block; margin-top: 0.45rem; z-index: 1; color: rgba(255, 255, 255, 0.84); font-size: 0.84rem; }
.accent-sunset { background: linear-gradient(135deg, #ff9a8b, #ff6a88 48%, #ff99ac); }
.accent-ocean { background: linear-gradient(135deg, #73c6ff, #4f8cff 48%, #5efce8); }
.accent-forest { background: linear-gradient(135deg, #5ee7a5, #2fc7b0 52%, #1f8fff); }
.accent-violet { background: linear-gradient(135deg, #9d7bff, #5d5fef 50%, #3cd0ff); }
.accent-amber { background: linear-gradient(135deg, #ffcc70, #ff9966 52%, #ff7d7d); }
.accent-rose { background: linear-gradient(135deg, #ff9eb5, #ec6f8b 52%, #9d7bff); }
.product-body { padding: 1rem; display: grid; gap: 0.75rem; }
.product-topline { display: flex; justify-content: space-between; gap: 0.75rem; align-items: flex-start; }
.product-name { margin: 0; font-size: 1.02rem; }
.product-code { color: var(--muted); font-size: 0.83rem; margin-top: 0.25rem; }
.tag-row { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.tag {
  padding: 0.3rem 0.55rem; border-radius: 999px; font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06); color: #e7edf8;
}
.tag.members { background: rgba(127, 176, 255, 0.18); color: #dce9ff; }
.tag.public { background: rgba(139, 216, 189, 0.18); color: #d9fff2; }
.product-desc { margin: 0; color: var(--muted-strong); line-height: 1.55; font-size: 0.95rem; }
.card-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.card-actions button, .card-actions a { flex: 1 1 auto; text-align: center; justify-content: center; }
.layout-two { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1rem; }
.stack { display: grid; gap: 1rem; }
.panel {
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg); padding: 1rem;
}
.panel h3 { margin: 0 0 0.85rem; font-size: 1.02rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.form-field { display: grid; gap: 0.35rem; }
.form-field label { color: var(--muted); font-size: 0.85rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 0.85rem 0.95rem; border-radius: 14px;
  background: rgba(7, 11, 18, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text); outline: none;
}
.form-field textarea { min-height: 98px; resize: vertical; }
.form-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-top: 0.9rem; }
.helper { color: var(--muted); font-size: 0.87rem; line-height: 1.6; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.8rem 0.7rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
th {
  color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.inline-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.inline-actions button {
  padding: 0.46rem 0.65rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04); color: var(--text);
}
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
.metric {
  padding: 0.95rem; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.metric strong { display: block; font-size: 1.4rem; }
.metric span { color: var(--muted); font-size: 0.86rem; }
.notice {
  padding: 0.95rem 1rem; border-radius: 16px; background: rgba(127, 176, 255, 0.12);
  border: 1px solid rgba(127, 176, 255, 0.2); color: #dce9ff;
}
.notice.warn { background: rgba(255, 184, 107, 0.12); border-color: rgba(255, 184, 107, 0.24); color: #ffe8c5; }
.notice.good { background: rgba(139, 216, 189, 0.12); border-color: rgba(139, 216, 189, 0.24); color: #e0fff5; }
.text-link {
  color: #d9e8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.login-shell { display: grid; place-items: center; min-height: calc(100vh - 7rem); }
.login-card { width: min(560px, 100%); padding: 1.35rem; }
.login-card h1 { margin: 0 0 0.5rem; font-family: var(--font-display); }
.login-card form { display: grid; gap: 0.9rem; margin-top: 1rem; }
.subtle-link { color: #cfe1ff; text-decoration: underline; text-underline-offset: 3px; }
dialog {
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 22px; padding: 0;
  background: rgba(12, 17, 26, 0.98); color: var(--text); box-shadow: var(--shadow); width: min(760px, calc(100vw - 1.5rem));
}
dialog::backdrop { background: rgba(3, 6, 12, 0.72); backdrop-filter: blur(6px); }
.dialog-body { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-image { min-height: 320px; background: linear-gradient(135deg, rgba(127, 176, 255, 0.18), rgba(139, 216, 189, 0.18)); }
.dialog-image img { width: 100%; height: 100%; object-fit: cover; }
.dialog-copy { padding: 1.2rem; display: grid; gap: 0.85rem; }
.dialog-copy h3 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; }
.dialog-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.dialog-meta div {
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dialog-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dialog-meta strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.96rem;
}
.dialog-close { justify-self: start; }
.hidden { display: none !important; }
.collection-hero {
  margin: 1.25rem 0 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 1rem;
}
.collection-hero-copy { min-height: 100%; }
.collection-hero-copy p { max-width: 68ch; }
.members-gate-hero {
  background:
    radial-gradient(circle at top right, rgba(127, 176, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(21, 29, 45, 0.95), rgba(11, 16, 26, 0.92));
}
.collection-hero-aside {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.stat-card--featured {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(255, 184, 107, 0.14), transparent 40%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-card--featured strong { font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.collection-toolbar {
  margin: 1rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.9rem;
  align-items: end;
  position: sticky;
  top: 5rem;
  z-index: 25;
  backdrop-filter: blur(18px);
}
.collection-search {
  min-height: 58px;
  align-items: center;
  border-radius: 20px;
}
.search-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  font-weight: 700;
}
.sort-control {
  min-width: 200px;
  display: grid;
  gap: 0.35rem;
}
.sort-control label {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sort-control select {
  width: 100%;
  padding: 0.88rem 0.95rem;
  border-radius: 16px;
  background: rgba(7, 11, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.collection-count {
  min-width: 120px;
  display: grid;
  align-content: center;
  justify-content: end;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
}
.collection-count-note {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.collection-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.collection-sidebar {
  position: sticky;
  top: 10.1rem;
  display: grid;
  gap: 1rem;
  align-self: start;
}
.sidebar-block {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar-block--feature {
  background:
    radial-gradient(circle at top right, rgba(255, 184, 107, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.035);
}
.sidebar-block h3 { margin: 0; font-size: 1rem; }
.sidebar-link { justify-content: center; }
.compact { margin-bottom: 0; }
.compact h2 { font-size: 1.15rem; }
.collection-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.collection-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}
.collection-feed {
  display: grid;
  gap: 1rem;
}
.collection-feed-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.collection-feed-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 2rem);
}
.collection-feed-header p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}
.collection-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(10, 14, 23, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.collection-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 107, 0.22);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}
.collection-card .product-media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(255, 184, 107, 0.16), rgba(127, 176, 255, 0.18));
}
.collection-card .product-media img,
.collection-card .product-art {
  transition: transform 0.25s ease;
}
.collection-card:hover .product-media img,
.collection-card:hover .product-art {
  transform: scale(1.03);
}
.product-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.8rem;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.15), transparent 32%, rgba(8, 12, 20, 0.7));
  pointer-events: none;
}
.product-badges {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  max-width: calc(100% - 124px);
}
.collection-quickview {
  margin-left: auto;
  pointer-events: auto;
}
.collection-card .product-body { gap: 0.9rem; }
.product-copy { display: grid; gap: 0.25rem; }
.product-kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}
.collection-card .product-name {
  font-size: 1.08rem;
  line-height: 1.25;
}
.collection-card .product-code {
  font-size: 0.79rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.collection-card .card-actions {
  margin-top: 0.15rem;
}
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.product-footnote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
}
.collection-card .secondary-button,
.collection-card .ghost-button {
  justify-content: center;
}
.collection-card .secondary-button {
  width: 100%;
}
.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.25rem 0 1rem;
}
.admin-hero-copy {
  display: grid;
  gap: 0.6rem;
}
.admin-hero-copy h2 {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.02;
}
.admin-hero-copy p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted-strong);
  line-height: 1.7;
}
.admin-metrics {
  margin-top: 0.25rem;
}
.admin-layout {
  align-items: start;
}
.panel-kicker {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}
.panel-merch {
  background:
    radial-gradient(circle at top right, rgba(127, 176, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.03);
}
.panel-table {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}
.gate-callout {
  display: grid;
  gap: 0.75rem;
}
.empty-state {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1rem;
  border-radius: 18px;
  background: rgba(255, 184, 107, 0.1);
  border: 1px solid rgba(255, 184, 107, 0.22);
  color: #ffe8c5;
}
.empty-state strong {
  font-size: 0.96rem;
}
.empty-state span {
  color: rgba(255, 232, 197, 0.84);
  line-height: 1.55;
}
@media (max-width: 960px) {
  .hero, .layout-two, .dialog-body, .collection-hero, .collection-layout { grid-template-columns: 1fr; }
  .collection-meta, .dialog-meta { grid-template-columns: 1fr; }
  .admin-hero { align-items: start; flex-direction: column; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .toolbar, .collection-toolbar { grid-template-columns: 1fr; }
  .collection-toolbar { position: static; }
  .collection-sidebar { position: static; }
  .collection-count { justify-content: start; }
  .collection-feed-header { align-items: start; flex-direction: column; }
}
@media (max-width: 680px) {
  .app-shell { width: min(100vw - 1rem, 1200px); padding-bottom: 2rem; }
  .topbar { border-radius: 24px; align-items: flex-start; flex-direction: column; }
  .topbar-meta { justify-content: flex-start; }
  .nav { width: 100%; justify-content: flex-start; }
  .hero-panel, .surface { border-radius: 22px; }
  .metrics { grid-template-columns: 1fr; }
  .brand-copy span { white-space: normal; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; }
  .collection-chips .chip { flex: 0 0 auto; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .collection-grid { grid-template-columns: 1fr; }
  .product-topline { flex-direction: column; }
  .collection-toolbar { gap: 0.65rem; }
  .sort-control { min-width: 0; }
  .collection-count { justify-content: start; }
}
