/* Glamour Clash — fashion.css — assembled by stitch.sh. DO NOT EDIT (edit the shards). */
/* ===== 00-base.css ===== */
/* @shard shell — 00-base.css = the FIRST css concatenated into fashion.css.
   Owns the glam design tokens + base/layout/glam only: :root --gc-* tokens, .gc-app,
   .gc-screen, .gc-nav, .gc-hud, .gc-backlink (+ skip link, mute, fx layer, toast, and the
   shell-owned .gc-shell-* round-flow chrome). Component CSS lives in each module's file.
   Mobile-first (tablet portrait+landscape), >=44px touch, WCAG-AA contrast, reduced-motion-safe. */

/* ============================ design tokens ============================ */
:root {
  /* deep-aubergine / charcoal stage */
  --gc-stage:    #1a1326;
  --gc-stage-2:  #241934;
  --gc-stage-3:  #0f0a18;
  /* liquid-metal gold (5+ stops) */
  --gc-gold-1: #7a5a1e;
  --gc-gold-2: #c9a44d;
  --gc-gold-3: #f9e08a;
  --gc-gold-4: #fff6d0;
  --gc-gold-5: #8a6a22;
  --gc-gold-grad: linear-gradient(135deg, var(--gc-gold-1) 0%, var(--gc-gold-3) 28%, var(--gc-gold-4) 46%, var(--gc-gold-2) 64%, var(--gc-gold-5) 100%);
  /* glass */
  --gc-glass:      rgba(255, 255, 255, 0.07);
  --gc-glass-2:    rgba(255, 255, 255, 0.04);
  --gc-glass-edge: rgba(255, 255, 255, 0.16);
  --gc-blur: blur(14px) saturate(1.2);
  /* ink (AA on the aubergine stage) */
  --gc-ink:     #f5eeff;   /* ~14:1 on --gc-stage */
  --gc-ink-dim: #cdbfe6;   /* ~7:1  on --gc-stage */
  --gc-ink-mut: #9c8db8;
  /* accents */
  --gc-coin:  var(--gc-gold-3);
  --gc-karma: #c9a7ff;
  --gc-rose:  #ff9bc9;
  --gc-good:  #7be0a3;
  /* type */
  --gc-serif: "Playfair Display", "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
  --gc-sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* metrics */
  --gc-tap: 44px;
  --gc-radius: 16px;
  --gc-radius-sm: 11px;
  --gc-gap: 14px;
  --gc-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --gc-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ================================ reset ================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.gc-app *, .gc-app *::before, .gc-app *::after { box-sizing: border-box; }

/* ============================== app shell ============================== */
.gc-app {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--gc-stage-3);
  color: var(--gc-ink);
  font-family: var(--gc-sans);
  font-size: 16px;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
/* spotlit stage backdrop (radial cone + vignette) */
.gc-app__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(201, 164, 77, 0.18), transparent 60%),
    radial-gradient(80% 60% at 50% 0%, var(--gc-stage-2), var(--gc-stage) 55%, var(--gc-stage-3) 100%);
}
.gc-app > *:not(.gc-app__bg) { position: relative; z-index: 1; }

/* gold gradient text utility (headings, brand) */
.gc-gold-text {
  background: var(--gc-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* skip link */
.gc-skip {
  position: absolute;
  left: 8px; top: -48px;
  z-index: 50;
  background: var(--gc-gold-3);
  color: #20160a;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: top .15s var(--gc-ease);
}
.gc-skip:focus { top: 0; outline: 3px solid var(--gc-ink); }

/* ================================= HUD ================================= */
.gc-hud {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--gc-gap);
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(36, 25, 52, 0.92), rgba(26, 19, 38, 0.78));
  -webkit-backdrop-filter: var(--gc-blur);
  backdrop-filter: var(--gc-blur);
  border-bottom: 1px solid var(--gc-glass-edge);
}
.gc-backlink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--gc-tap);
  padding: 0 12px;
  border-radius: var(--gc-radius-sm);
  color: var(--gc-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  background: var(--gc-glass);
  border: 1px solid var(--gc-glass-edge);
  white-space: nowrap;
}
.gc-backlink:hover { background: var(--gc-glass-2); border-color: var(--gc-gold-2); }
.gc-backlink:focus-visible { outline: 3px solid var(--gc-gold-3); outline-offset: 2px; }

.gc-hud__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gc-hud__title {
  font-family: var(--gc-serif);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  background: var(--gc-gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.gc-hud__preview {
  width: 34px; height: 44px;
  display: none;
  align-items: center; justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gc-glass-2);
  border: 1px solid var(--gc-glass-edge);
}
.gc-hud__preview svg { width: 100%; height: 100%; }
@media (min-width: 560px) { .gc-hud__preview { display: inline-flex; } }

.gc-hud__stats { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.gc-hud__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: var(--gc-glass);
  border: 1px solid var(--gc-glass-edge);
  color: var(--gc-ink);
  font-size: 0.92rem;
}
.gc-hud__ico { font-size: 0.8em; line-height: 1; }
.gc-hud__chip[data-kind="coins"] .gc-hud__ico { color: var(--gc-coin); }
.gc-hud__chip[data-kind="karma"] .gc-hud__ico { color: var(--gc-karma); }
.gc-hud__chip[data-kind="level"] .gc-hud__ico { color: var(--gc-gold-3); }
.gc-hud__chip[data-kind="wardrobe"] .gc-hud__ico { color: var(--gc-rose); }

.gc-mute {
  flex: 0 0 auto;
  width: var(--gc-tap); height: var(--gc-tap);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gc-glass-edge);
  background: var(--gc-glass);
  color: var(--gc-ink);
  font-size: 1.1rem;
  cursor: pointer;
}
.gc-mute:hover { border-color: var(--gc-gold-2); }
.gc-mute:focus-visible { outline: 3px solid var(--gc-gold-3); outline-offset: 2px; }
.gc-mute[aria-pressed="true"] { opacity: 0.6; }

/* =============================== screens =============================== */
.gc-main { flex: 1 1 auto; width: 100%; max-width: 1100px; margin: 0 auto; padding: 14px 14px 92px; }
.gc-screen { width: 100%; animation: gc-screen-in .35s var(--gc-ease) both; }
.gc-screen[hidden] { display: none; }
@keyframes gc-screen-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ================================= nav ================================= */
.gc-nav {
  position: fixed;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  gap: 8px;
  width: calc(100% - 24px);
  max-width: 460px;
  margin: 0 12px;
  padding: 8px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, rgba(36, 25, 52, 0.9), rgba(15, 10, 24, 0.96));
  -webkit-backdrop-filter: var(--gc-blur);
  backdrop-filter: var(--gc-blur);
  border: 1px solid var(--gc-glass-edge);
  border-bottom: none;
  box-shadow: var(--gc-shadow);
}
.gc-nav__btn {
  flex: 1 1 0;
  min-height: var(--gc-tap);
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--gc-ink-dim);
  font-family: var(--gc-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s var(--gc-ease), color .2s var(--gc-ease);
}
.gc-nav__btn:hover { color: var(--gc-ink); background: var(--gc-glass-2); }
.gc-nav__btn:focus-visible { outline: 3px solid var(--gc-gold-3); outline-offset: 2px; }
.gc-nav__btn.is-active {
  color: #20160a;
  background: var(--gc-gold-grad);
  border-color: var(--gc-gold-4);
  box-shadow: 0 4px 14px rgba(201, 164, 77, 0.4);
}

/* ============================== fx layer ============================== */
.gc-fx-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}
.gc-fx-layer:empty { display: none; }
.gc-fx-layer > * { pointer-events: auto; }

/* ===================== shell-owned round-flow chrome ===================== */
.gc-shell-theme-mount { margin-bottom: 14px; }
.gc-shell-dress-mount { width: 100%; }

.gc-shell-next-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 18px auto 6px;
}
.gc-shell-next {
  min-height: var(--gc-tap);
  padding: 0 22px;
  border-radius: var(--gc-radius);
  border: 1px solid var(--gc-gold-4);
  background: var(--gc-gold-grad);
  color: #20160a;
  font-family: var(--gc-sans);
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(201, 164, 77, 0.35);
}
.gc-shell-next:hover { filter: brightness(1.05); }
.gc-shell-next:focus-visible { outline: 3px solid var(--gc-ink); outline-offset: 2px; }
.gc-shell-next--ghost {
  background: var(--gc-glass);
  color: var(--gc-ink);
  border: 1px solid var(--gc-glass-edge);
  box-shadow: none;
}

/* toasts (announced via the live region in index.html) */
.gc-toast-host {
  position: fixed;
  left: 50%; bottom: calc(var(--gc-tap) + 28px);
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: max-content;
  max-width: 90vw;
  pointer-events: none;
}
.gc-shell-toast {
  padding: 11px 18px;
  border-radius: 13px;
  background: rgba(15, 10, 24, 0.95);
  border: 1px solid var(--gc-gold-2);
  color: var(--gc-ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: var(--gc-shadow);
  animation: gc-toast-in .25s var(--gc-ease) both;
}
.gc-shell-toast.is-out { animation: gc-toast-out .5s var(--gc-ease) both; }
@keyframes gc-toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gc-toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ============================ landscape tweak ============================ */
@media (min-width: 820px) and (orientation: landscape) {
  .gc-main { padding-bottom: 78px; }
}

/* =========================== reduced motion =========================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .gc-screen { animation: none; }
}

/* ===== render.css ===== */
/* @shard render -- owns: .gc-render-*, .gc-garment-*, .gc-mannequin-* */
/* Glam component CSS for the live-rendered SVG mannequin + parametric garments. */
/* Uses the --gc-* design tokens from 00-base.css. Reduced-motion-safe: every animation */
/* and transition introduced here is killed under prefers-reduced-motion, and the only */
/* keyframes run far below 3Hz (gentle shimmer/sheen), so nothing flashes. */

/* ----- the dressed-model SVG ----- */
.gc-render-svg {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

/* small live thumbnail used in wardrobe chips + store tiles */
.gc-render-swatch {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ----- mannequin ----- */
.gc-mannequin-head,
.gc-mannequin-torso,
.gc-mannequin-legs,
.gc-mannequin-arms,
.gc-mannequin-neck,
.gc-mannequin-feet {
  /* skin is painted inline (parametric skinTone); CSS just softens the edges */
  shape-rendering: geometricPrecision;
}

/* ----- garments ----- */
.gc-garment {
  /* a subtle settle when a slot is (re)filled; killed under reduced-motion */
  transition: transform 180ms ease, opacity 180ms ease;
  transform-origin: 100px 200px;
}
.gc-garment-jewellery,
.gc-garment-hat {
  /* metallic accents read crisp */
  shape-rendering: geometricPrecision;
}

/* gentle satin sheen sweep -- opt-in via .gc-render-animate, slow (>0.33s) so < 3Hz */
@keyframes gc-render-sheen {
  0%   { opacity: 0.0; }
  50%  { opacity: 0.35; }
  100% { opacity: 0.0; }
}

/* slow gold shimmer for any gold-gradient surface a stage chooses to animate */
@keyframes gc-render-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* the reveal "settle": one slow pop-in, NOT a strobe (1.2s, single cycle) */
@keyframes gc-render-settle {
  0%   { transform: scale(0.96); opacity: 0; }
  100% { transform: scale(1);    opacity: 1; }
}

.gc-render-animate .gc-garment {
  animation: gc-render-settle 1200ms ease both;
}
/* gold-gradient text/border utility a stage can apply; shimmer is slow + optional */
.gc-render-gold {
  background: linear-gradient(100deg, #7a5a1e, #f9e08a, #fff6d0, #c9a44d, #8a6a22);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gc-render-animate .gc-render-gold {
  animation: gc-render-shimmer 4.5s linear infinite;
}

/* ----- accessibility: reduced motion kills everything (no flash, instant result) ----- */
@media (prefers-reduced-motion: reduce) {
  .gc-render-svg,
  .gc-render-svg *,
  .gc-render-animate,
  .gc-render-animate *,
  .gc-garment,
  .gc-render-gold {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== verdict.css ===== */
/* @shard verdict -- owns .gc-verdict-*
   Styling for the runway-judge sass lines that mount into the battle reveal's
   verdict slot (shell wires Verdict.onVerdict -> Battle). FLAVOUR ONLY: this block
   never renders the score number -- it presents the judge's 1-2 lines.
   Reduced-motion-safe (no flash >3Hz; reduced motion kills the rise + caret blink).
   Uses the --gc-* design tokens from 00-base.css with safe fallbacks so the block
   reads well regardless of token availability. WCAG-AA: lines are solid high-
   contrast text on the dark stage; the gold label is decorative only. */

.gc-verdict-block {
  margin: 0 auto;
  max-width: 34rem;
  padding: 0.85rem 1.1rem 1rem;
  border-radius: var(--gc-radius, 14px);
  background: var(--gc-glass, rgba(255, 255, 255, 0.07));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  text-align: center;
}

/* "The Judge says" -- decorative gold-foil label. Solid gold fallback first so the
   text stays visible if background-clip:text is unsupported. */
.gc-verdict-label {
  display: block;
  margin: 0 0 0.5rem;
  font-family: var(--gc-serif, Georgia, "Times New Roman", serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gc-gold-bright, #f9e08a);
  background: linear-gradient(92deg, #8a6a22, #f9e08a 35%, #fff6d0 50%, #c9a44d 70%, #8a6a22);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gc-verdict-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gc-verdict-line {
  margin: 0;
  font-family: var(--gc-serif, Georgia, "Times New Roman", serif);
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--gc-text, #f6efe0);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  animation: gc-verdict-rise 360ms ease both;
}

.gc-verdict-line + .gc-verdict-line {
  margin-top: 0.4rem;
  font-size: 1rem;
  opacity: 0.94;
  animation-delay: 140ms;
}

/* A blinking type-out caret the renderer can append to the active line.
   ~0.94Hz blink -- well under the 3Hz flash ceiling. */
.gc-verdict-caret {
  display: inline-block;
  width: 0.06em;
  margin-left: 0.06em;
  border-right: 0.5ex solid var(--gc-gold, #c9a44d);
  animation: gc-verdict-caret 1.06s step-end infinite;
}

/* Source badge -- a tiny pill telling the player whether the line came from the
   live AI judge or the local quip bank. Touch-irrelevant (non-interactive). */
.gc-verdict-badge {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--gc-text, #f6efe0);
  opacity: 0.8;
}

.gc-verdict-badge--ai {
  border-color: rgba(249, 224, 138, 0.5);
  color: var(--gc-gold-bright, #f9e08a);
}

.gc-verdict-badge--fallback {
  opacity: 0.6;
}

@keyframes gc-verdict-rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@keyframes gc-verdict-caret {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gc-verdict-line,
  .gc-verdict-line + .gc-verdict-line {
    animation: none;
  }
  .gc-verdict-caret {
    animation: none;
    border-right-color: transparent;
  }
}

/* ===== battle.css ===== */
/* @shard battle */
/* Owns: .gc-battle-*, .gc-theme-*, .gc-dress-*, .gc-reveal-*, .gc-catwalk-*, .gc-result-* */
/* Round UX + the spotlit catwalk reveal. Tokens come from 00-base.css (:root --gc-*); */
/* every var() carries a fallback so battle styles itself even if a token is renamed.   */
/* prefers-reduced-motion KILLS the reveal animation (instant, static). No flash >3Hz.  */
/* >=44px taps, WCAG-AA contrast on text + score. */

.gc-battle-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- theme banner (UP FRONT) ---------- */
.gc-theme-banner {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  border-radius: var(--gc-radius, 16px);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(231,200,115,0.18), transparent 60%),
    var(--gc-surface, rgba(255,255,255,0.06));
  border: 1px solid var(--gc-gold-deep, #b8923a);
  color: var(--gc-text, #f6edf6);
}
.gc-theme-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gc-text-dim, #cdb9d0);
}
.gc-theme-title {
  margin: 0 0 0.4rem;
  font-family: var(--gc-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  line-height: 1.05;
  background: linear-gradient(180deg, var(--gc-gold, #e7c873), var(--gc-gold-deep, #b8923a));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gc-gold, #e7c873);
  -webkit-text-fill-color: transparent;
}
.gc-theme-blurb { margin: 0 auto 0.9rem; max-width: 40ch; color: var(--gc-text-dim, #cdb9d0); }
.gc-theme-targets {
  list-style: none; margin: 0 0 0.9rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
}
.gc-theme-tag {
  display: inline-flex; align-items: baseline; gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--gc-surface-2, rgba(255,255,255,0.1));
  border: 1px solid var(--gc-gold-deep, #b8923a);
  font-size: 0.9rem;
}
.gc-theme-tag-kind { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gc-text-dim, #cdb9d0); }
.gc-theme-tag-val { font-weight: 600; color: var(--gc-text, #f6edf6); }
.gc-theme-cue { margin: 0; color: var(--gc-text-dim, #cdb9d0); }

/* ---------- dress phase ---------- */
.gc-dress { display: flex; flex-direction: column; gap: 0.85rem; }
.gc-dress-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; border-radius: 999px;
  background: var(--gc-surface, rgba(255,255,255,0.06));
  border: 1px solid var(--gc-gold-deep, #b8923a);
}
.gc-dress-strip-label { font-weight: 700; color: var(--gc-gold, #e7c873); }
.gc-dress-strip-tags { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; }
.gc-dress-strip-tag {
  padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.8rem;
  background: var(--gc-surface-2, rgba(255,255,255,0.1)); color: var(--gc-text, #f6edf6);
}
.gc-dress-stage {
  display: flex; justify-content: center; align-items: flex-end;
  min-height: 220px;
  padding: 0.5rem;
  border-radius: var(--gc-radius, 16px);
  background:
    radial-gradient(80% 120% at 50% 100%, rgba(231,200,115,0.16), transparent 65%),
    var(--gc-surface, rgba(255,255,255,0.06));
}
.gc-dress-stage svg { width: auto; height: 46vh; max-height: 360px; max-width: 100%; }

.gc-dress-rail {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  min-width: 0;            /* let this flex item respect the column width so overflow-x can actually scroll */
}
/* Narrow phones (<=440px): the 8-slot row is wider than the viewport and was not
   reaching a scrollable state, leaving Jewellery/Makeup/Hat off-screen + untappable.
   Wrap onto multiple rows so every slot is on-screen + tappable. The single scrollable
   row is preserved at tablet/landscape widths (768/844), so the look there is unchanged. */
@media (max-width: 440px) {
  .gc-dress-rail {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
  .gc-dress-slot { flex: 0 0 auto; }
}
.gc-dress-slot {
  flex: 0 0 auto;
  min-width: var(--gc-touch, 44px); min-height: var(--gc-touch, 44px);
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.35rem 0.45rem;
  border-radius: 12px; cursor: pointer;
  background: var(--gc-surface, rgba(255,255,255,0.06));
  border: 2px solid transparent;
  color: var(--gc-text, #f6edf6);
}
.gc-dress-slot.is-active { border-color: var(--gc-gold, #e7c873); }
.gc-dress-slot.is-filled { background: var(--gc-surface-2, rgba(255,255,255,0.1)); }
.gc-dress-slot-art { position: relative; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.gc-dress-slot-art svg { width: 100%; height: 100%; }
.gc-dress-slot-empty { font-size: 1.5rem; color: var(--gc-text-dim, #cdb9d0); }
.gc-dress-slot-tick {
  position: absolute; right: -4px; top: -4px;
  background: var(--gc-good, #7fe3b0); color: #143524;
  border-radius: 999px; width: 18px; height: 18px; font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.gc-dress-slot-label { font-size: 0.7rem; color: var(--gc-text-dim, #cdb9d0); }

.gc-dress-drawer {
  display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.25rem 0 0.5rem;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.gc-dress-empty { margin: 0; padding: 1rem; color: var(--gc-text-dim, #cdb9d0); }
.gc-dress-chip {
  position: relative; flex: 0 0 auto; scroll-snap-align: start;
  min-width: 88px; min-height: var(--gc-touch, 44px);
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.5rem; cursor: pointer;
  border-radius: 14px;
  background: var(--gc-surface, rgba(255,255,255,0.06));
  border: 2px solid transparent;
  color: var(--gc-text, #f6edf6);
}
.gc-dress-chip.is-equipped { border-color: var(--gc-gold, #e7c873); background: var(--gc-surface-2, rgba(255,255,255,0.12)); }
.gc-dress-chip-art { width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.gc-dress-chip-art svg { width: 100%; height: 100%; }
.gc-dress-chip-label { font-size: 0.8rem; text-align: center; max-width: 96px; }
.gc-dress-hint {
  font-size: 0.7rem; padding: 0.1rem 0.45rem; border-radius: 999px;
  background: rgba(127,227,176,0.18); color: var(--gc-good, #7fe3b0); font-weight: 700;
}
.gc-dress-chip-on {
  position: absolute; right: 6px; top: 6px;
  background: var(--gc-gold, #e7c873); color: #2a1230;
  width: 20px; height: 20px; border-radius: 999px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
}

.gc-dress-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: stretch; }
.gc-dress-favour {
  flex: 1 1 auto; min-height: var(--gc-touch, 44px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0.55rem 0.9rem; cursor: pointer; border-radius: 12px;
  background: var(--gc-surface-2, rgba(255,255,255,0.1));
  border: 1px solid var(--gc-gold-deep, #b8923a);
  color: var(--gc-text, #f6edf6); font-weight: 600;
}
.gc-dress-favour.is-armed { background: linear-gradient(180deg, var(--gc-gold, #e7c873), var(--gc-gold-deep, #b8923a)); color: #2a1230; }
.gc-dress-favour:disabled { opacity: 0.5; cursor: not-allowed; }
.gc-dress-favour-bal { font-size: 0.72rem; color: var(--gc-text-dim, #cdb9d0); }
.gc-dress-favour.is-armed .gc-dress-favour-bal { color: #3a2410; }
.gc-dress-present {
  flex: 2 1 auto; min-height: var(--gc-touch, 44px);
  padding: 0.7rem 1.2rem; cursor: pointer; border: none;
  border-radius: 12px; font-size: 1.05rem; font-weight: 800; letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--gc-gold, #e7c873), var(--gc-gold-deep, #b8923a));
  color: #2a1230;
  box-shadow: 0 6px 18px rgba(231,200,115,0.25);
}

/* ---------- the catwalk reveal (THE MOMENT) ---------- */
.gc-reveal {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.gc-reveal-backdrop {
  position: absolute; inset: 0;
  background: #140a18; opacity: 0.4;
  transition: opacity 0.4s ease;
}
.gc-reveal.is-lit .gc-reveal-backdrop { opacity: 0.92; }
.gc-reveal-stage {
  position: relative; z-index: 1;
  width: min(720px, 100%);
  max-height: 100%; overflow-y: auto;
  text-align: center;
  border-radius: var(--gc-radius, 16px);
  padding: 1rem;
}
.gc-reveal-spot {
  position: absolute; left: 50%; top: -6%; transform: translateX(-50%);
  width: 78%; height: 70%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(231,200,115,0.45), rgba(231,200,115,0.06) 55%, transparent 72%);
  opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}
.gc-reveal.is-lit .gc-reveal-spot,
.gc-reveal.is-reduced .gc-reveal-spot { opacity: 1; }

.gc-catwalk { display: flex; align-items: flex-end; justify-content: center; gap: 0.5rem; }
.gc-catwalk-side {
  margin: 0; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.gc-catwalk-art { width: 100%; display: flex; justify-content: center; }
.gc-catwalk-art svg { width: auto; height: 38vh; max-height: 320px; max-width: 100%; }
.gc-catwalk-player .gc-catwalk-art { transform: rotateY(0deg); transform-origin: bottom center; transition: transform 0.4s ease; }
.gc-reveal.is-turned .gc-catwalk-player .gc-catwalk-art { animation: gc-catwalk-turn 0.4s ease; }
.gc-catwalk-side.is-winner .gc-catwalk-art { filter: drop-shadow(0 0 14px rgba(231,200,115,0.55)); }
.gc-catwalk-name { font-weight: 700; color: var(--gc-text, #f6edf6); }
.gc-catwalk-crown { color: var(--gc-gold, #e7c873); }
.gc-catwalk-vs {
  align-self: center; font-family: var(--gc-serif, Georgia, serif);
  font-size: 1.2rem; color: var(--gc-text-dim, #cdb9d0); padding: 0 0.25rem;
}

.gc-reveal-meter {
  position: relative; width: 100%; height: 22px;
  background: var(--gc-surface-2, rgba(255,255,255,0.12));
  border-radius: 999px; overflow: hidden;
  border: 1px solid var(--gc-gold-deep, #b8923a);
}
.gc-reveal-meter-fill {
  display: block; width: 0; height: 100%;
  background: linear-gradient(90deg, var(--gc-gold-deep, #b8923a), var(--gc-gold, #e7c873));
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.gc-reveal-meter-num {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-weight: 800; font-size: 0.8rem; color: var(--gc-text, #f6edf6);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.gc-catwalk-side.is-winner .gc-reveal-meter-fill { box-shadow: 0 0 10px rgba(231,200,115,0.6); }

.gc-reveal-verdict {
  margin-top: 0.9rem; min-height: 3.2em;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--gc-surface, rgba(255,255,255,0.06));
  border: 1px solid var(--gc-gold-deep, #b8923a);
}
.gc-reveal-verdict-text {
  margin: 0; white-space: pre-line;
  font-family: var(--gc-serif, Georgia, serif); font-size: 1.1rem; line-height: 1.35;
  color: var(--gc-text, #f6edf6);
}
.gc-reveal-controls { display: flex; gap: 0.6rem; justify-content: center; margin-top: 0.9rem; }
.gc-reveal-skip {
  min-height: var(--gc-touch, 44px); padding: 0.5rem 1.1rem; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--gc-text-dim, #cdb9d0);
  background: transparent; color: var(--gc-text-dim, #cdb9d0);
}
.gc-reveal-claim {
  min-height: var(--gc-touch, 44px); padding: 0.6rem 1.4rem; cursor: pointer; border: none;
  border-radius: 999px; font-weight: 800; font-size: 1.05rem;
  background: linear-gradient(180deg, var(--gc-gold, #e7c873), var(--gc-gold-deep, #b8923a));
  color: #2a1230; box-shadow: 0 6px 18px rgba(231,200,115,0.3);
}
.gc-reveal-claim[hidden] { display: none; }

/* gold shimmer -- slow, never a flash */
.gc-reveal.is-win:not(.is-reduced) .gc-catwalk-player.is-winner .gc-catwalk-name {
  background: linear-gradient(90deg, var(--gc-gold-deep, #b8923a), var(--gc-gold, #e7c873), var(--gc-gold-deep, #b8923a));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gc-gold, #e7c873);
  animation: gc-reveal-shimmer 3s linear infinite;
}

@keyframes gc-catwalk-turn {
  0% { transform: rotateY(-22deg); }
  100% { transform: rotateY(0deg); }
}
@keyframes gc-reveal-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------- result screen ---------- */
.gc-result { color: var(--gc-text, #f6edf6); }
.gc-result-headline {
  margin: 0 0 0.3rem; text-align: center;
  font-family: var(--gc-serif, Georgia, serif); font-size: clamp(1.5rem, 5vw, 2.1rem);
  color: var(--gc-gold, #e7c873);
}
.gc-result-sub { margin: 0 0 0.9rem; text-align: center; color: var(--gc-text-dim, #cdb9d0); }
.gc-result-scores {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-bottom: 1rem; font-weight: 800; font-size: 1.15rem;
}
.gc-result-score-you { color: var(--gc-gold, #e7c873); }
.gc-result-score-vs { color: var(--gc-text-dim, #cdb9d0); font-weight: 400; }
.gc-result-subhead {
  margin: 1rem 0 0.5rem; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gc-text-dim, #cdb9d0);
}
.gc-result-breakdown, .gc-result-rewards { list-style: none; margin: 0; padding: 0; }
.gc-result-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.7rem; border-radius: 10px; margin-bottom: 0.35rem;
  background: var(--gc-surface, rgba(255,255,255,0.06));
  border-left: 4px solid transparent;
}
.gc-result-row.is-good { border-left-color: var(--gc-good, #7fe3b0); }
.gc-result-row.is-meh { border-left-color: var(--gc-bad, #f093aa); }
.gc-result-row.is-empty { opacity: 0.7; }
.gc-result-slot { font-weight: 700; min-width: 5.5rem; }
.gc-result-reason { flex: 1 1 auto; color: var(--gc-text-dim, #cdb9d0); }
.gc-result-delta { font-weight: 800; font-variant-numeric: tabular-nums; }
.gc-result-row.is-good .gc-result-delta { color: var(--gc-good, #7fe3b0); }
.gc-result-row.is-meh .gc-result-delta { color: var(--gc-bad, #f093aa); }
.gc-result-reward {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.7rem; margin-bottom: 0.35rem; border-radius: 10px;
  background: var(--gc-surface, rgba(255,255,255,0.06));
}
.gc-result-reward-num { font-weight: 800; color: var(--gc-gold, #e7c873); }
.gc-result-bonus { background: var(--gc-surface-2, rgba(255,255,255,0.1)); }
.gc-result-bonus-art { width: 56px; height: 56px; flex: 0 0 auto; }
.gc-result-bonus-art svg { width: 100%; height: 100%; }
.gc-result-cue { margin: 1rem 0 0; text-align: center; color: var(--gc-text-dim, #cdb9d0); }

/* ---------- reduced motion: kill the reveal animation, no flash ---------- */
.gc-reveal.is-reduced .gc-reveal-backdrop { opacity: 0.92; transition: none; }
.gc-reveal.is-reduced .gc-reveal-meter-fill { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .gc-reveal-backdrop,
  .gc-reveal-spot,
  .gc-reveal-meter-fill,
  .gc-catwalk-player .gc-catwalk-art { transition: none !important; }
  .gc-reveal.is-turned .gc-catwalk-player .gc-catwalk-art,
  .gc-reveal.is-win .gc-catwalk-player.is-winner .gc-catwalk-name { animation: none !important; }
  .gc-reveal-spot { opacity: 1 !important; }
}

/* ===== economy.css ===== */
/* @shard economy -- owns .gc-manage-*, .gc-store-*, .gc-wardrobe-*, .gc-sell-* */
/* Manage screen: wardrobe grid + cap indicator, fixed-price store, sell/donate cards. */
/* Glass-drawer glam on the deep-aubergine stage. Tokens come from 00-base.css         */
/* (shell shard); every var() carries a glam fallback so this file stands alone too.   */
/* Mobile-first. >=44px taps. WCAG-AA contrast. Reduced-motion-safe (no flash >3Hz).    */

/* ---- layout shell ---- */
.gc-manage {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.9rem;
  color: var(--gc-text, #f5ecf7);
  font-family: var(--gc-font-body, "Inter", "Segoe UI", system-ui, sans-serif);
  max-width: 980px;
  margin: 0 auto;
}
.gc-manage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.gc-manage-title {
  margin: 0;
  font-family: var(--gc-font-display, "Playfair Display", "Didot", "Georgia", serif);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--gc-gold-grad, linear-gradient(95deg, #f6e07a, #d4af37 45%, #a9821f));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--gc-gold, #e9c558);
  -webkit-text-fill-color: transparent;
}

/* ---- currency strip ---- */
.gc-manage-currency {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.gc-manage-coin,
.gc-manage-karma {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  min-height: 36px;
  border-radius: 999px;
  background: var(--gc-panel, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--gc-border, rgba(233, 197, 88, 0.35));
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.gc-manage-amt { font-size: 1rem; }
.gc-manage-ic { width: 18px; height: 18px; display: block; }
.gc-manage-icwrap { display: inline-flex; }

/* ---- tabs ---- */
.gc-manage-tabs {
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid var(--gc-border, rgba(233, 197, 88, 0.3));
  padding-bottom: 0.1rem;
}
.gc-manage-tab {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border: 0;
  border-radius: 0.6rem 0.6rem 0 0;
  background: transparent;
  color: var(--gc-text-dim, #cdb9d6);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.gc-manage-tab:hover { color: var(--gc-text, #f5ecf7); }
.gc-manage-tab.is-active {
  color: var(--gc-stage, #2b1331);
  background: var(--gc-gold-grad, linear-gradient(95deg, #f6e07a, #d4af37 45%, #a9821f));
}
.gc-manage-tab:focus-visible {
  outline: 3px solid var(--gc-focus, #8fd0ff);
  outline-offset: 2px;
}

/* ---- panels ---- */
.gc-manage-panel { outline: none; }
.gc-manage-h {
  margin: 0 0 0.5rem;
  font-family: var(--gc-font-display, "Playfair Display", "Didot", "Georgia", serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gc-gold, #e9c558);
}

/* ---- wardrobe ---- */
.gc-wardrobe-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.gc-wardrobe-count {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  color: var(--gc-text, #f5ecf7);
  padding: 0.15rem 0.55rem;
  border-radius: 0.5rem;
  background: var(--gc-panel, rgba(255, 255, 255, 0.08));
}
.gc-wardrobe-count.is-full { color: var(--gc-stage, #2b1331); background: var(--gc-warn, #f1b24a); }
.gc-wardrobe-capbar {
  height: 8px;
  border-radius: 999px;
  background: var(--gc-track, rgba(255, 255, 255, 0.12));
  overflow: hidden;
  margin: 0.4rem 0 0.55rem;
}
.gc-wardrobe-capfill {
  height: 100%;
  border-radius: 999px;
  background: var(--gc-gold-grad, linear-gradient(95deg, #f6e07a, #d4af37 45%, #a9821f));
  transition: width 0.25s ease;
}
.gc-wardrobe-capbar.is-full .gc-wardrobe-capfill { background: var(--gc-warn, #f1b24a); }
.gc-wardrobe-note {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--gc-text-dim, #cdb9d6);
}
.gc-wardrobe-note.is-full {
  color: var(--gc-stage, #2b1331);
  background: var(--gc-warn, #f1b24a);
  padding: 0.5rem 0.7rem;
  border-radius: 0.5rem;
  font-weight: 700;
}
.gc-wardrobe-empty,
.gc-store-empty {
  grid-column: 1 / -1;
  padding: 1.2rem;
  text-align: center;
  color: var(--gc-text-dim, #cdb9d6);
  font-style: italic;
}
.gc-wardrobe-grid,
.gc-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.7rem;
}

.gc-wardrobe-item,
.gc-store-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 0.6rem;
  border-radius: 0.9rem;
  background: var(--gc-glass, rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gc-border, rgba(233, 197, 88, 0.28));
  box-shadow: var(--gc-shadow, 0 6px 18px rgba(0, 0, 0, 0.35));
}
.gc-wardrobe-item.is-worn {
  border-color: var(--gc-gold, #e9c558);
  box-shadow: 0 0 0 2px var(--gc-gold, #e9c558), var(--gc-shadow, 0 6px 18px rgba(0, 0, 0, 0.35));
}
.gc-wardrobe-sw,
.gc-store-sw {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gc-wardrobe-sw svg,
.gc-store-sw svg { max-width: 100%; max-height: 100%; }
.gc-wardrobe-label,
.gc-store-label {
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.2;
}
.gc-wardrobe-slot,
.gc-store-slot {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-text-dim, #cdb9d6);
}

/* ---- buttons (shared) ---- */
.gc-wardrobe-actions {
  display: flex;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.2rem;
}
.gc-wardrobe-wear,
.gc-sell-toggle,
.gc-store-buy,
.gc-sell-channel {
  min-height: 44px;
  border: 0;
  border-radius: 0.6rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, background 0.15s ease, transform 0.08s ease;
}
.gc-wardrobe-wear:active,
.gc-sell-toggle:active,
.gc-store-buy:active,
.gc-sell-channel:active { transform: translateY(1px); }
.gc-wardrobe-wear {
  flex: 1 1 0;
  background: var(--gc-panel, rgba(255, 255, 255, 0.1));
  color: var(--gc-text, #f5ecf7);
  border: 1px solid var(--gc-border, rgba(233, 197, 88, 0.35));
}
.gc-wardrobe-wear.is-worn {
  background: var(--gc-gold-grad, linear-gradient(95deg, #f6e07a, #d4af37 45%, #a9821f));
  color: var(--gc-stage, #2b1331);
}
.gc-sell-toggle {
  flex: 1 1 0;
  background: transparent;
  color: var(--gc-text-dim, #cdb9d6);
  border: 1px solid var(--gc-border, rgba(233, 197, 88, 0.35));
}
.gc-sell-toggle.is-open { color: var(--gc-text, #f5ecf7); border-color: var(--gc-gold, #e9c558); }

.gc-wardrobe-wear:focus-visible,
.gc-sell-toggle:focus-visible,
.gc-store-buy:focus-visible,
.gc-sell-channel:focus-visible {
  outline: 3px solid var(--gc-focus, #8fd0ff);
  outline-offset: 2px;
}

/* ---- sell / donate panel ---- */
.gc-sell-panel {
  width: 100%;
  margin-top: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--gc-border, rgba(233, 197, 88, 0.3));
}
.gc-sell-row { display: flex; flex-direction: column; gap: 0.2rem; }
.gc-sell-channel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  text-align: left;
  background: var(--gc-panel, rgba(255, 255, 255, 0.08));
  color: var(--gc-text, #f5ecf7);
  border: 1px solid var(--gc-border, rgba(233, 197, 88, 0.3));
}
.gc-sell-channel:hover { filter: brightness(1.12); }
.gc-sell-charity {
  background: var(--gc-karma-soft, rgba(255, 142, 194, 0.16));
  border-color: var(--gc-karma, #ff8ec2);
}
.gc-sell-name { font-weight: 800; }
.gc-sell-payout { display: inline-flex; align-items: center; }
.gc-sell-payout .gc-manage-ic { width: 15px; height: 15px; }
.gc-sell-payout-amt { font-weight: 800; font-variant-numeric: tabular-nums; }
.gc-sell-meta {
  font-size: 0.75rem;
  color: var(--gc-text-dim, #cdb9d6);
  margin-left: auto;
}
.gc-sell-charity .gc-sell-meta { color: var(--gc-karma, #ff8ec2); }
.gc-sell-blurb {
  font-size: 0.78rem;
  color: var(--gc-text-dim, #cdb9d6);
  padding: 0 0.15rem;
}

/* ---- listings (sales in progress) ---- */
.gc-sell-listings {
  padding: 0.75rem 0.85rem;
  border-radius: 0.8rem;
  background: var(--gc-glass, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--gc-border, rgba(233, 197, 88, 0.22));
}
.gc-sell-listing-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.gc-sell-listing {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.gc-sell-listing-name { font-weight: 700; }
.gc-sell-listing-meta { color: var(--gc-gold, #e9c558); font-variant-numeric: tabular-nums; }

/* ---- store ---- */
.gc-store-head { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 0.6rem; }
.gc-store-sub { font-size: 0.85rem; color: var(--gc-text-dim, #cdb9d6); }
.gc-store-price {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.gc-store-price-amt { font-size: 1.02rem; }
.gc-store-buy {
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.55rem 0.7rem;
  background: var(--gc-gold-grad, linear-gradient(95deg, #f6e07a, #d4af37 45%, #a9821f));
  color: var(--gc-stage, #2b1331);
}
.gc-store-buy:hover { filter: brightness(1.08); }
.gc-store-buy.is-disabled,
.gc-store-buy[disabled] {
  background: var(--gc-track, rgba(255, 255, 255, 0.12));
  color: var(--gc-text-dim, #cdb9d6);
  cursor: not-allowed;
  filter: none;
}
.gc-store-reason {
  font-size: 0.76rem;
  text-align: center;
  color: var(--gc-warn, #f1b24a);
  line-height: 1.25;
}
.gc-store-owned {
  width: 100%;
  text-align: center;
  padding: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gc-gold, #e9c558);
  border: 1px dashed var(--gc-border, rgba(233, 197, 88, 0.4));
  border-radius: 0.6rem;
}
.gc-store-item.is-owned { opacity: 0.82; }

/* ---- reduced motion: kill all transitions (no flashing, instant state) ---- */
@media (prefers-reduced-motion: reduce) {
  .gc-manage-tab,
  .gc-wardrobe-capfill,
  .gc-wardrobe-wear,
  .gc-sell-toggle,
  .gc-store-buy,
  .gc-sell-channel {
    transition: none !important;
  }
}
