:root {
  --bg: #05030f;
  --bg-2: #0c0a24;
  --grid: #1d1f3a;
  --text: #f6f7ff;
  --muted: #c6c7e2;
  --pink: #ff5da2;
  --cyan: #4de1ff;
  --yellow: #ffd166;
  --green: #74f29f;
  --card: rgba(14, 10, 35, 0.76);
  --bg-gif: url('https://giffiles.alphacoders.com/221/221837.gif');
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 93, 162, 0.25), 0 0 60px rgba(77, 225, 255, 0.18);
  --font-display: 'Press Start 2P', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 52px 22px 72px;
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(255, 93, 162, 0.12), transparent 36%),
    radial-gradient(circle at 80% 10%, rgba(77, 225, 255, 0.14), transparent 32%),
    radial-gradient(circle at 50% 80%, rgba(255, 209, 102, 0.1), transparent 28%),
    linear-gradient(135deg, #05030f 0%, #0c0a24 60%, #05030f 100%);
  overflow-x: hidden;
  position: relative;
}

body.age-gate-open {
  overflow: hidden;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.05) 1px, transparent 2px),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 1px, transparent 2px);
  background-size: 100% 48px, 48px 100%;
  opacity: 0.25;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 3px, transparent 6px);
  mix-blend-mode: multiply;
  opacity: 0.4;
  pointer-events: none;
}

.bg-gif {
  position: fixed;
  inset: 0;
  background-image: var(--bg-gif);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: saturate(1.1) brightness(0.6);
  opacity: 0.5;
  z-index: 0;
}

.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora::before,
.aurora::after {
  content: '';
  position: absolute;
  inset: -10% -20%;
  background-size: 200% 200%;
  mix-blend-mode: screen;
  opacity: 0.55;
  filter: blur(4px);
}

.aurora::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 93, 162, 0.35), transparent 32%),
    radial-gradient(circle at 80% 40%, rgba(77, 225, 255, 0.32), transparent 30%),
    radial-gradient(circle at 60% 70%, rgba(255, 209, 102, 0.22), transparent 28%),
    linear-gradient(120deg, rgba(15, 10, 45, 0.9), rgba(20, 15, 65, 0.65), rgba(10, 8, 30, 0.9));
  animation: auroraShift 22s ease-in-out infinite;
}

.aurora::after {
  background-image:
    linear-gradient(135deg, rgba(255, 93, 162, 0.2), rgba(77, 225, 255, 0.25), rgba(255, 209, 102, 0.18)),
    radial-gradient(circle at 30% 60%, rgba(77, 225, 255, 0.15), transparent 42%),
    radial-gradient(circle at 70% 20%, rgba(255, 93, 162, 0.18), transparent 36%);
  animation: auroraPulse 18s ease-in-out infinite;
  opacity: 0.35;
}

.grid-overlay,
.scanlines,
.floating-shapes {
  z-index: 1;
}

.page {
  z-index: 2;
}

@keyframes auroraShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 60%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes auroraPulse {
  0% {
    transform: scale(1) translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.05) translateY(-2%);
    opacity: 0.55;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 0.35;
  }
}

.floating-shapes {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-shapes span {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  top: calc(10% * var(--i));
  left: calc(18% * var(--i));
  animation: float 12s linear infinite;
  box-shadow: 0 0 14px rgba(255, 93, 162, 0.6), inset 0 0 12px rgba(77, 225, 255, 0.5);
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(30px, -30px, 0) rotate(12deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(25, 16, 74, 0.85), rgba(12, 15, 50, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 93, 162, 0.15), transparent 32%),
    radial-gradient(circle at 20% 80%, rgba(77, 225, 255, 0.15), transparent 32%);
  z-index: 0;
}

.hero.single-column {
  grid-template-columns: 1fr;
}

.hero-text {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1.35;
  margin: 0 0 16px;
  text-shadow: 0 0 12px rgba(255, 93, 162, 0.5), 0 0 18px rgba(77, 225, 255, 0.4);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 24px);
  margin: 0 0 10px;
  text-shadow: 0 0 10px rgba(255, 93, 162, 0.35);
}

.glow {
  color: var(--pink);
}

.lede {
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 20px;
  line-height: 1.6;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 93, 162, 0.38), rgba(77, 225, 255, 0.28));
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35), 0 0 22px rgba(255, 93, 162, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  letter-spacing: 0.02em;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(77, 225, 255, 0.4);
  filter: saturate(1.2);
}

.chip.alt {
  background: linear-gradient(135deg, rgba(116, 242, 159, 0.35), rgba(77, 225, 255, 0.28));
}

.chip.danger {
  background: linear-gradient(135deg, rgba(255, 118, 118, 0.34), rgba(255, 51, 102, 0.32));
  color: #fff;
}

.chip.disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
}

.chip.disabled:hover {
  transform: none;
  filter: none;
  box-shadow: none;
}

.chip.submit {
  cursor: pointer;
}

.chip.submit.busy {
  opacity: 0.7;
  cursor: progress;
}

.hero-profile {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.profile-frame {
  position: relative;
  width: min(340px, 100%);
  background: linear-gradient(145deg, rgba(255, 93, 162, 0.18), rgba(77, 225, 255, 0.2));
  border-radius: 18px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 35px rgba(255, 93, 162, 0.25), 0 0 40px rgba(77, 225, 255, 0.2);
  overflow: hidden;
}

.profile-frame img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.neon-ring {
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 90deg, rgba(255, 93, 162, 0.5), rgba(77, 225, 255, 0.45), rgba(255, 209, 102, 0.5), rgba(255, 93, 162, 0.5));
  filter: blur(30px);
  z-index: 0;
}

.profile-frame img,
.neon-ring {
  position: relative;
  z-index: 1;
}

.profile-note {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 28px 0 14px;
}

.story-card {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  color: var(--muted);
  line-height: 1.55;
}

.story-card.wide {
  grid-column: 1 / -1;
}

.beat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.beat-list li {
  position: relative;
  padding-left: 16px;
}

.beat-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--cyan);
  opacity: 0.8;
}

.howl-form {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.field input,
.field textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  border-radius: 10px;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(77, 225, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-note[data-state='success'] {
  color: var(--green);
}

.form-note[data-state='error'] {
  color: var(--yellow);
}

.form-note[data-state='pending'] {
  color: var(--cyan);
}

.gallery {
  margin-top: 36px;
}

.gallery-head .lede {
  margin-bottom: 0;
}

.howl {
  margin-top: 14px;
}

.gallery-cta {
  margin-top: 24px;
}

.gallery-cta-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.tile {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 22px color-mix(in srgb, var(--glow, #ff5da2) 35%, transparent);
  transition: transform 160ms ease, box-shadow 160ms ease;
  backdrop-filter: blur(6px);
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.tile img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.tile figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  font-weight: 600;
  color: #fefefe;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.02em;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), 0 0 30px color-mix(in srgb, var(--glow, #ff5da2) 45%, transparent);
}

.gallery-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 14px;
  background: var(--card);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  text-align: center;
  letter-spacing: 0.01em;
}

.account-widget {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 900;
  width: min(320px, 90vw);
}

.account-shell {
  position: relative;
}

.account-toggle {
  width: 100%;
  justify-content: center;
  cursor: pointer;
}

.account-toggle.busy {
  opacity: 0.7;
  cursor: progress;
}

.account-popdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, 90vw);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  max-height: 0;
  transition: transform 180ms ease, opacity 180ms ease, max-height 0ms linear 180ms;
}

.account-popdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  max-height: 1200px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.account-card {
  background: linear-gradient(145deg, rgba(12, 10, 35, 0.9), rgba(18, 15, 45, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.account-title {
  margin: 2px 0 0;
  font-size: 18px;
  color: var(--text);
}

.account-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.account-card--logged .account-welcome {
  margin: 0;
  color: var(--text);
}

.account-role {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.account-tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.account-tab.active {
  border-color: var(--cyan);
  background: rgba(77, 225, 255, 0.12);
  transform: translateY(-1px);
}

.account-tab[aria-disabled='true'] {
  opacity: 0.6;
  cursor: not-allowed;
}

.account-forms {
  margin-top: 12px;
}

.account-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.account-form[hidden] {
  display: none !important;
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--text);
}

.account-field input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  border-radius: 10px;
  padding: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.account-field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(77, 225, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.account-status {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.account-status[data-state='error'] {
  color: var(--yellow);
}

.account-status[data-state='success'] {
  color: var(--green);
}

.account-status[data-state='info'] {
  color: var(--cyan);
}

.account-card .chip {
  width: 100%;
  justify-content: center;
}

.account-card .chip.alt {
  background: linear-gradient(135deg, rgba(255, 93, 162, 0.28), rgba(77, 225, 255, 0.22));
}

.account-card .chip.submit {
  background: linear-gradient(135deg, rgba(77, 225, 255, 0.32), rgba(116, 242, 159, 0.26));
}

.age-gate {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 93, 162, 0.18), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(77, 225, 255, 0.18), transparent 42%),
    rgba(5, 3, 15, 0.88);
  backdrop-filter: blur(8px);
  z-index: 999;
}

.age-gate.active {
  display: flex;
}

.age-gate__panel {
  width: min(520px, 100%);
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 16, 74, 0.92), rgba(12, 15, 50, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 93, 162, 0.25), 0 0 32px rgba(77, 225, 255, 0.2);
  text-align: center;
}

.age-gate__panel h2 {
  margin: 0 0 10px;
}

.age-gate__panel .lede {
  margin: 0 0 16px;
}

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.age-gate__btn {
  cursor: pointer;
}

.age-gate__lock {
  margin-top: 6px;
}

.age-gate__lock .chip {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.age-gate[data-state='denied'] .age-gate__actions {
  display: none;
}

.age-gate[data-state='denied'] .age-gate__lock {
  display: block;
}

.store-hero {
  margin-bottom: 12px;
}

.store-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.store-status {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
}

.store-status[data-state='pending'] {
  color: var(--cyan);
}

.store-status[data-state='error'] {
  color: var(--yellow);
}

.store-status[data-state='success'] {
  color: var(--green);
}

.admin-panel {
  margin-bottom: 14px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 360px) 1fr;
  gap: 14px;
  align-items: start;
}

.admin-form {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(77, 225, 255, 0.08), rgba(255, 93, 162, 0.08));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.admin-field label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-field input,
.admin-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.32);
  color: var(--text);
  font-family: var(--font-body);
}

.admin-field input:focus,
.admin-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(77, 225, 255, 0.18);
}

.admin-field textarea {
  resize: vertical;
  min-height: 90px;
}

.admin-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.admin-items {
  display: grid;
  gap: 10px;
}

.admin-item {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(12, 10, 35, 0.92), rgba(18, 15, 45, 0.94));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
}

.admin-item__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.admin-item__title {
  margin: 0;
  font-size: 16px;
}

.admin-item__id {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.admin-item__desc {
  margin: 6px 0 8px;
  color: var(--muted);
}

.admin-item__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.admin-item__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-empty {
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

  margin-bottom: 12px;
}

  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 93, 162, 0.16);
}

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

  margin: 0;
  font-weight: 700;
  color: var(--muted);
}

  color: var(--cyan);
}

  color: var(--yellow);
}

  color: var(--green);
}

  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 10px;
}

  display: grid;
  gap: 10px;
}

  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(12, 10, 35, 0.75));
  color: var(--text);
  cursor: pointer;
  transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

  border-color: rgba(77, 225, 255, 0.5);
  transform: translateY(-1px);
}

  border-color: var(--cyan);
  box-shadow: 0 10px 28px rgba(77, 225, 255, 0.14);
}

  border-style: dashed;
  opacity: 0.9;
}

  margin: 0 0 4px;
}

  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.55;
}

  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  flex-direction: column;
  align-items: flex-start;
}

  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 93, 162, 0.16);
  color: var(--yellow);
  font-weight: 700;
}

  display: block;
  color: var(--muted);
  font-size: 12px;
}

  margin-left: auto;
  display: flex;
  gap: 6px;
}

  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 6px 8px;
  border-radius: 10px;
  cursor: pointer;
}

  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(12, 10, 35, 0.9), rgba(18, 15, 45, 0.92));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

  margin: 6px 0 0;
  color: var(--muted);
}

  display: flex;
  flex-direction: column;
  gap: 10px;
}

  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

  margin: 0;
  font-weight: 700;
  color: var(--cyan);
}

  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

  margin: 6px 0 0;
  line-height: 1.6;
  color: var(--text);
}

  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.14);
}

  margin-top: 6px;
}

  margin-top: 8px;
}

.checkbox-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.checkbox-field label {
  margin: 0;
}

.checkbox-field input {
  width: auto;
  accent-color: var(--cyan);
}

.store-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(12, 10, 35, 0.9), rgba(18, 15, 45, 0.92));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(77, 225, 255, 0.18);
  isolation: isolate;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--product-image) center/cover no-repeat;
  opacity: 0.16;
  z-index: 0;
  filter: blur(6px);
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.product-desc {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.55;
}

.product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
}

.product-stock {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 93, 162, 0.2), rgba(77, 225, 255, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-actions .chip {
  width: auto;
  min-width: 170px;
  justify-content: center;
}

.store-empty {
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.store-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.store-step {
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.store-step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.store-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.locker-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.locker-card {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.locker-title {
  margin: 0 0 6px;
  font-weight: 700;
}

.locker-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.locker-code {
  margin: 0;
  font-family: 'Space Grotesk', 'Consolas', monospace;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  padding: 10px 12px;
  border-radius: 10px;
}

.locker-empty {
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 980px) {
  body {
    padding-top: 36px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-profile {
    order: -1;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 24px;
  }

  .chip {
    width: calc(50% - 12px);
    justify-content: center;
  }

  .profile-note {
    font-size: 13px;
  }
}

a {
  color: inherit;
}
