@font-face {
  font-family: Geist;
  src: url('/fonts/geist-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ground: #080a0a;
  --panel: #101512;
  --panel-raised: #151c18;
  --line: #26312a;
  --line-strong: #3a4a3f;
  --ink: #f7f5ef;
  --muted: #aebfb2;
  --faint: #8a9c8f;
  --accent: #d6efd4;
  --warn: #f0d9a6;
  --stage: radial-gradient(circle at 50% 38%, #2f3a33, #171d1a 72%);
  color-scheme: dark;
  background: var(--ground);
  color: var(--ink);
  font-family: Geist, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100svh; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, label:focus-within {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Header */

.merch-top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 10, .92);
  backdrop-filter: blur(12px);
}

.merch-top__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1200px, calc(100% - 32px));
  height: 60px;
  margin: 0 auto;
}

.merch-top__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

.merch-top__brand img { width: 30px; height: 30px; }

.merch-top__nav {
  display: flex;
  gap: 2px;
  flex: 1;
  min-width: 0;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: thin;
}

.merch-top__nav a {
  padding: 8px 9px;
  border-radius: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.merch-top__nav a:hover { color: #fff; background: #141b17; }
.merch-top__nav a[aria-current='page'] { color: var(--ink); background: #1a231d; }

.merch-top__account {
  margin-left: auto;
  color: var(--faint);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

a.merch-top__account { color: var(--ink); }

@media (max-width: 600px) {
  .merch-top__inner { gap: 10px; height: 56px; }
  .merch-top__brand span { display: none; }
  .merch-top__nav { margin-left: 0; }
  .merch-top__nav a { padding: 8px 8px; }
  .merch-top__account { flex: none; }
  span.merch-top__account { display: none; }
}

/* Page scaffolding */

.merch {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 96px;
}

.merch-intro {
  max-width: 760px;
  padding: clamp(44px, 8vw, 92px) 0 clamp(30px, 5vw, 48px);
}

.overline {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.merch h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}

.lead {
  max-width: 600px;
  margin: 20px 0 0;
  color: #cbd6cd;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #627266;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover { background: #1b2a20; }
.btn:active { transform: scale(.985); }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.btn--primary { border-color: #e5f0e6; background: #e5f0e6; color: #0b130d; }
.btn--primary:hover { background: #fff; }
.btn--quiet { min-height: 36px; padding: 6px 4px; border-color: transparent; color: var(--muted); font-weight: 700; }
.btn--quiet:hover { background: transparent; color: #fff; text-decoration: underline; }
.btn svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.btn svg .fill { fill: currentColor; }
.actions .btn--quiet { padding-inline: 10px; }
.btn--danger:hover { border-color: #b8826f; background: #2a1914; }

.notice {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--panel);
  color: #cbd6cd;
  font-size: 14px;
  line-height: 1.55;
}

.status-line { min-height: 20px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.status-line--error { color: var(--warn); }

.loading { margin: 48px 0; color: var(--muted); font-size: 13px; text-align: center; }
.loading::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  vertical-align: -2px;
  border: 1px solid #597260;
  border-top-color: #d8ebda;
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

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

.empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin: 32px 0;
  padding: 56px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  color: var(--muted);
  text-align: center;
}

.empty p { max-width: 420px; margin: 0; font-size: 15px; line-height: 1.55; }

/* T-shirt mockup */

.stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #313836;
  border-radius: 4px;
  background: var(--stage);
}

.tee {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1000 / 1100;
}

.tee svg, .tee__print, .tee__shade, .tee__light { position: absolute; inset: 0; width: 100%; height: 100%; }
.tee__body { fill: var(--tee); }
.tee__collar { fill: var(--tee); }
.tee--dark .tee__body, .tee--dark .tee__collar { stroke: rgba(255, 255, 255, .1); stroke-width: 3; }
.tee--light .tee__body, .tee--light .tee__collar { stroke: rgba(0, 0, 0, .18); stroke-width: 3; }
.tee__opening { fill: var(--tee); filter: brightness(.62); }
.tee__seams { fill: none; stroke: rgba(0, 0, 0, .22); stroke-width: 3; }
.tee--dark .tee__seams { stroke: rgba(255, 255, 255, .07); }
.tee__shade, .tee__light { background: center / 100% 100% no-repeat; pointer-events: none; }
.tee__shade { background-image: url('/merch/tee-shadow.svg'); mix-blend-mode: multiply; }
.tee__light { background-image: url('/merch/tee-light.svg'); mix-blend-mode: screen; opacity: .35; }
.tee--dark .tee__light { opacity: 1; }

.tee__print { inset: auto; }
.tee__print--front { left: 32%; top: 19%; width: 36%; height: 40%; }
.tee__print--chest { left: 56.5%; top: 20.5%; width: 10%; height: 9%; }
.tee__print img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; }
.tee--light .tee__print img { mix-blend-mode: multiply; }

.flat-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1000 / 1100;
  padding: 8%;
  background-color: #d9d9d4;
  background-image: conic-gradient(#c6c6c0 25%, transparent 0 50%, #c6c6c0 0 75%, transparent 0);
  background-size: 24px 24px;
}

.flat-art img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Gallery */

.gallery-section + .gallery-section { margin-top: 72px; }

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

.section-head h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; }
.section-head p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.section-head strong { color: var(--ink); }


.gallery-bar {
  position: sticky;
  top: 60px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ground);
}

.segmented {
  display: inline-flex;
  flex: none;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
}

.segmented button {
  min-height: 32px;
  padding: 5px 12px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.segmented button[aria-pressed='true'] { background: #26342b; color: var(--ink); }


.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 40px 20px;
}

.design-card {
  position: relative;
  /* Off-screen cards skip rendering; the browser remembers each card's size once laid out. */
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

.design-card__open {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.design-card__open::after { content: ''; position: absolute; inset: 0; }
.design-card__open:focus-visible { outline: 0; }
.design-card .stage { transition: border-color 180ms ease; }
.design-card:hover .stage, .design-card:has(.design-card__open:focus-visible) .stage { border-color: #bcd9bc; }
.design-card:has(.design-card__open:focus-visible) .stage { outline: 2px solid #fff; outline-offset: 3px; }
.design-card .tee { width: 92%; transition: transform 260ms ease; }
.design-card:hover .tee { transform: translateY(-4px); }
.design-card .want { position: relative; z-index: 1; }
.design-card__footer { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-top: 12px; }
.design-card__text { min-width: 0; }
.design-card .design-card__open { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.design-card__artist { display: block; margin-top: 3px; color: var(--faint); font-size: 13px; overflow-wrap: anywhere; }
.design-card__own { flex: none; padding-top: 8px; color: var(--faint); font-size: 12px; font-weight: 700; }

.want {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #627266;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.want svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.want:hover { background: #1b2a20; }
.want:active { transform: scale(.985); }
.want[aria-pressed='true'] { border-color: #e5f0e6; background: #e5f0e6; color: #0b130d; }
.want[aria-pressed='true'] svg { stroke-width: 2.4; }
.want[aria-pressed='true']:hover { background: #fff; }
.want--large { justify-content: center; width: 100%; min-height: 50px; font-size: 14px; }
.want--large svg { width: 18px; height: 18px; }

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 12px 12px 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #121915;
  box-shadow: 0 20px 60px #000c;
  color: var(--ink);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.toast.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.toast .btn { flex: none; min-height: 38px; }

/* Design detail dialog */

.design-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #405047;
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 30px 100px #000d;
}

.design-dialog::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(10px); }
.design-dialog__shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); max-height: calc(100dvh - 34px); }
.design-dialog__visual { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: #0c100e; }
.design-dialog__visual .stage { flex: 1; min-height: 0; border: 0; }
.design-dialog__visual .tee { width: min(100%, 560px); }
.design-dialog__visual .flat-art { max-height: 62vh; width: auto; height: 100%; }
.design-dialog__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.design-dialog__content { display: flex; flex-direction: column; gap: 28px; padding: 40px 34px 32px; overflow-y: auto; }

.color-picker { display: flex; align-items: center; gap: 14px; }
.color-picker.is-hidden { visibility: hidden; }
.color-picker__label { color: var(--faint); font-size: 12px; font-weight: 600; white-space: nowrap; }
.color-picker__label strong { margin-left: 4px; color: var(--ink); font-weight: 700; }
.color-picker__names { display: inline-grid; }
.color-picker__names span { grid-area: 1 / 1; visibility: hidden; }
.color-picker__names span.is-active { visibility: visible; }
.color-picker .swatches { gap: 10px; }
.color-picker .swatch { width: 22px; height: 22px; }

.stage__caption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: rgba(255, 255, 255, .42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}

.segmented--small button { min-height: 28px; padding: 4px 10px; font-size: 11px; }
.design-dialog__about { display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid #263029; }
.design-dialog__content h2 { margin: 0; padding-right: 36px; font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.055em; line-height: 1.05; overflow-wrap: anywhere; }
.design-dialog__by { color: var(--faint); font-size: .42em; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.design-dialog__by a { color: var(--muted); text-decoration: none; }
.design-dialog__by a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.design-dialog__label { display: block; margin-bottom: 4px; color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.design-dialog__description { margin: 0; color: #cbd6cd; font-size: 15px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.design-dialog__note { margin: 0; padding-left: 12px; border-left: 2px solid var(--accent); color: #dfe9df; font-size: 14px; line-height: 1.5; }

.close-button {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 22, 18, .72);
  color: var(--ink);
  cursor: pointer;
}

.close-button:hover { background: #1f2a23; }
.close-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.want-panel { display: grid; gap: 12px; }
.want-panel__hint { margin: 0; color: var(--faint); font-size: 12.5px; line-height: 1.55; }
.size-row { display: grid; gap: 8px; }
.size-row__label { color: var(--faint); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.chips.chips--small { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.chips.chips--small button { min-width: 0; min-height: 34px; padding: 4px 0; font-size: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button {
  min-width: 46px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.chips button:hover { border-color: #8aa38f; color: #fff; }
.chips button[aria-pressed='true'], .chips button[aria-checked='true'] { border-color: var(--accent); background: #1d2a21; color: var(--ink); }

.swatches { display: flex; gap: 8px; }
.swatch {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  cursor: pointer;
}

.swatch[aria-checked='true'] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 2px var(--panel), 0 0 0 3px var(--ink); }

@media (max-width: 760px) {
  .gallery-bar { position: static; justify-content: space-between; gap: 8px; }
  .gallery-bar .segmented button { padding: 5px 9px; }
  .section-head { flex-direction: column; align-items: stretch; }
  .design-card__footer { flex-direction: column; gap: 8px; }
  .want { align-self: start; }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .design-card .design-card__open { font-size: 15px; }
  .design-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .design-dialog__shell { display: block; max-height: calc(100dvh - 18px); overflow-y: auto; }
  .design-dialog__visual { padding: 10px; }
  .design-dialog__visual .flat-art { width: 100%; height: auto; }
  .design-dialog__content { padding: 24px 20px 22px; overflow: visible; }
}

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(28px, 6vw, 80px);
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 60px;
}

.faq__intro { position: sticky; top: 100px; align-self: start; }
.faq__intro p { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.faq h2, .section-title { margin: 0 0 14px; font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.05em; line-height: 1.1; }
.section-title { margin-bottom: 28px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms ease;
}

.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: #fff; }
.faq summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.faq__answer { max-width: 680px; padding: 0 0 24px; }
.faq__answer p, .faq__answer li { margin: 0; color: #c1ccc3; font-size: 15px; line-height: 1.65; }
.faq__answer p + p, .faq__answer ul + p, .faq__answer p + ul { margin-top: 12px; }
.faq__answer ul, .faq__answer ol { margin: 0; padding-left: 20px; }
.faq__answer li + li { margin-top: 8px; }
.faq__answer strong { color: var(--ink); }

@media (max-width: 760px) {
  .faq { grid-template-columns: 1fr; gap: 20px; margin-top: 72px; }
  .faq__intro { position: static; }
  .faq__intro .btn { display: none; }
  .faq summary { font-size: 16px; padding: 18px 0; }
}

/* Submit */

.submit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.submit-form { display: grid; gap: 26px; }
.field { display: grid; gap: 8px; }
.field > label, .field-label { color: var(--ink); font-size: 14px; font-weight: 700; }
.field-label span, .field > label span { color: var(--faint); font-weight: 500; }
.hint { margin: 0; color: var(--faint); font-size: 12px; line-height: 1.5; }

.field input[type='text'], .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #37473b;
  border-radius: 4px;
  outline: 0;
  background: var(--panel);
  font-size: 15px;
  line-height: 1.45;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: #a3c3a8; background: var(--panel-raised); }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: var(--warn); }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-head label { color: var(--ink); font-size: 14px; font-weight: 700; }
.field-head label span { color: var(--faint); font-weight: 500; }
.counter { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.counter.is-near { color: var(--warn); }

.dropzone {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 200px;
  padding: 28px 20px;
  border: 1px dashed #5d7363;
  border-radius: 6px;
  background: var(--panel);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.dropzone:hover, .dropzone.is-dragging { border-color: var(--accent); background: #141d17; }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone svg { width: 34px; height: 34px; fill: none; stroke: var(--muted); stroke-width: 1.4; }
.dropzone strong { font-size: 16px; }
.dropzone p { margin: 0; color: var(--faint); font-size: 12px; }
.dropzone.has-file { min-height: 0; grid-template-columns: auto 1fr auto; justify-items: start; gap: 14px; text-align: left; }
.dropzone.has-file svg { display: none; }
.dropzone__thumb { width: 56px; height: 56px; border-radius: 3px; background: #d9d9d4; object-fit: contain; }
.dropzone__change { position: relative; z-index: 1; color: var(--accent); font-size: 13px; font-weight: 700; pointer-events: none; }

.credit { margin: -10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.credit strong { color: var(--ink); }

.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; color: #cbd6cd; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #d6efd4; }

.preview-panel { position: sticky; top: 84px; display: grid; gap: 16px; }
.preview-panel .stage { aspect-ratio: 1000 / 1100; }
.preview-panel .tee { width: 94%; }
.preview-panel__empty { position: absolute; inset: auto 0 18%; padding: 0 30px; color: var(--muted); font-size: 13px; text-align: center; }
.preview-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.print-check { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.print-check li { position: relative; padding-left: 20px; color: #c1ccc3; font-size: 13px; line-height: 1.5; }
.print-check li::before { content: ''; position: absolute; top: 6px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.print-check li.is-ok::before { background: #c8d38a; }
.print-check li.is-low::before { background: var(--warn); }

.guidelines { padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.guidelines h2 { margin: 0 0 14px; font-size: 16px; }
.guidelines dl { display: grid; gap: 14px; margin: 0; }
.guidelines dt { color: var(--ink); font-size: 13px; font-weight: 800; }
.guidelines dd { margin: 4px 0 0; color: #b9c5bc; font-size: 13px; line-height: 1.55; }

.editing-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

@media (max-width: 900px) {
  .submit-layout { grid-template-columns: 1fr; }
  .preview-panel { position: static; order: -1; }
  .preview-panel .stage { width: min(100%, 420px); margin: 0 auto; }
}

/* Own designs and review lists */

.list-section { margin-top: 88px; padding-top: 44px; border-top: 1px solid var(--line); }
.design-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.design-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.design-row__thumb { width: 120px; }
.design-row__thumb .tee { width: 100%; }
.design-row h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.design-row__meta { margin: 6px 0 0; color: var(--faint); font-size: 12px; }
.design-row__body { display: grid; gap: 12px; align-content: start; min-width: 0; }
.design-row__head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 10px; }
.design-row__actions { display: flex; flex-wrap: wrap; gap: 6px 14px; }

.state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #6f8574; }
.state--pending::before { background: #9fb6c9; }
.state--approved::before { background: var(--accent); }
.state--not_approved::before { background: var(--warn); }
.state--selected::before { background: #c8d38a; }

.flag { margin: 0; padding: 12px 14px; border: 1px solid #6b5a33; border-radius: 4px; background: #1a1610; color: #efe4c8; font-size: 13px; line-height: 1.55; }
.flag strong { display: block; margin-bottom: 4px; color: var(--warn); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.feedback { margin: 0; padding: 12px 14px; border-left: 2px solid var(--warn); background: #17150f; color: #e9e1cf; font-size: 13px; line-height: 1.55; white-space: pre-line; }
.feedback strong { display: block; margin-bottom: 4px; color: var(--warn); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 600px) {
  .design-row { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .design-row__thumb { width: 84px; }
}

/* Review */

.tabs { display: flex; gap: 4px; margin-bottom: 26px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { flex: none; padding: 12px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected='true'] { border-bottom-color: var(--accent); color: var(--ink); }
.tabs .count { margin-left: 6px; color: var(--faint); font-weight: 600; }

.review-item { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: 26px; padding: 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.review-item + .review-item { margin-top: 16px; }
.review-item__visual { display: grid; gap: 10px; align-content: start; }
.review-item__visual .flat-art { border-radius: 4px; aspect-ratio: auto; min-height: 180px; }
.review-item__visual .mockups { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.review-item__visual .stage .tee { width: 94%; }
.review-item__body { display: grid; gap: 16px; align-content: start; min-width: 0; }
.review-item h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; overflow-wrap: anywhere; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; color: var(--muted); font-size: 12px; list-style: none; }
.facts strong { color: var(--ink); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sizes li { padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--muted); font-size: 12px; }
.sizes li strong { color: var(--ink); }
.review-form { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-form .actions { margin-top: 0; }
.vote-stats { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.vote-stat { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.05em; }
.vote-stat span { margin-left: 8px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0; }

@media (max-width: 760px) {
  .review-item { grid-template-columns: 1fr; padding: 16px; }
}

.merch-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding: 25px 20px 38px;
  border-top: 1px solid #202823;
}

.merch-footer a { color: #aab8ae; font-size: 12px; text-decoration: none; }
.merch-footer a:hover { color: #fff; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}

.merch-intro--center { margin: 0 auto; padding: clamp(32px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); text-align: center; }
.merch-intro--center h1 { font-size: clamp(36px, 5.5vw, 60px); }
.merch-intro--center .lead { margin-inline: auto; }
