/* Owner Profile studio. Builds on public.css tokens and the Wardrobe look
   (dark navy panels, soft borders, rarity tones, ASM blue / violet accents).
   Mobile first: base rules target 375px phones, the two-column studio is added
   at 1040px. Every rule is scoped to the profile page. */

.portal[data-page='profile'] {
  --studio-blue: #f2f2f0;
  --studio-violet: #b9bbbf;
  --studio-panel: #161616;
  --studio-panel-deep: #131313;
  --studio-line: #3a3a3a;
  --studio-line-soft: rgba(154, 154, 154, .18);
  --studio-ink-soft: #c9c9c9;
  --studio-ease: cubic-bezier(.2, .7, .2, 1);
  --tone: var(--rarity-common);
}

.portal[data-page='profile'] .portal-main { max-width: none; padding-bottom: 96px; }
.portal[data-page='profile'] .studio-hero,
.portal[data-page='profile'] .studio-status,
.portal[data-page='profile'] .studio-layout { max-width: 1240px; margin-left: auto; margin-right: auto; }

/* Typography: bold condensed uppercase headings with tight tracking. */
.portal[data-page='profile'] h1,
.portal[data-page='profile'] h2,
.portal[data-page='profile'] h3 { font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-transform: uppercase; }
.portal[data-page='profile'] .studio-eyebrow { margin: 0 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #bcbcbc; }
.portal[data-page='profile'] :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.portal[data-page='profile'] .button { min-height: 44px; padding: 12px 18px; font-size: 11px; font-weight: 600; letter-spacing: .08em; border-color: var(--studio-line); transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--studio-ease); }
.portal[data-page='profile'] .button:hover { border-color: var(--studio-blue); }
.portal[data-page='profile'] .button.filled { background: var(--studio-blue); border-color: var(--studio-blue); color: #141414; }
.portal[data-page='profile'] .button.filled:hover { background: #afafaf; border-color: #afafaf; }
.portal[data-page='profile'] .studio-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #bcbcbc; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: color .2s ease, text-decoration-color .2s ease; }
.portal[data-page='profile'] .studio-link:hover { color: #e2e2e2; text-decoration-color: currentColor; }
.studio-icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hero: banner with gradient scrim, ringed avatar, name, @slug, visibility pill. */
.studio-hero { position: relative; isolation: isolate; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--studio-line); border-radius: 18px; background: var(--studio-panel); box-shadow: 0 18px 42px rgba(0, 0, 0, .18); }
.portal[data-page='profile'] .studio-hero-banner { position: relative; height: 150px; background-color: #131313; background-size: cover; background-position: center; }
.studio-hero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 12, 12, 0) 20%, rgba(22, 22, 22, .72) 72%, var(--studio-panel) 100%), linear-gradient(90deg, rgba(154, 154, 154, .18), rgba(142, 142, 142, .12)); pointer-events: none; }
.portal[data-page='profile'] .studio-hero-tag { position: absolute; z-index: 1; right: 14px; top: 14px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(12, 12, 12, .62); backdrop-filter: blur(10px); color: #f0f0f0; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.studio-hero-body { position: relative; z-index: 1; display: grid; gap: 16px; padding: 0 18px 22px; margin-top: -48px; }
.studio-avatar-ring { --tone: var(--rarity-common); position: relative; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; padding: 4px; background: conic-gradient(from 210deg, var(--tone), color-mix(in srgb, var(--tone) 35%, var(--studio-violet)), var(--tone)); box-shadow: 0 0 0 4px var(--studio-panel), 0 0 28px color-mix(in srgb, var(--tone) 38%, transparent); transition: box-shadow .3s ease; }
.studio-avatar-ring[data-tone='uncommon'] { --tone: var(--rarity-uncommon); }
.studio-avatar-ring[data-tone='rare'] { --tone: var(--rarity-rare); }
.studio-avatar-ring[data-tone='very-rare'] { --tone: var(--rarity-very-rare); }
.studio-avatar-ring[data-tone='epic'] { --tone: var(--rarity-epic); }
.studio-avatar-ring[data-tone='legendary'] { --tone: var(--rarity-legendary); }
.studio-avatar-ring[data-tone='mythic'] { --tone: var(--rarity-mythic); }
.studio-avatar-ring[data-tone='super-rare'] { --tone: var(--rarity-super-rare); }
.portal[data-page='profile'] .studio-avatar { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--studio-panel); object-fit: cover; background: #101010; }
.studio-hero-copy { display: grid; gap: 8px; min-width: 0; }
.portal[data-page='profile'] .studio-hero-copy h1 { margin: 0; font-size: clamp(30px, 7vw, 46px); overflow-wrap: anywhere; }
.studio-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.studio-slug { font-size: 13px; font-weight: 600; color: var(--studio-ink-soft); letter-spacing: .02em; }
.studio-slug[hidden] { display: none; }
.portal[data-page='profile'] .studio-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 4px 10px; border: 1px solid var(--studio-line); border-radius: 999px; background: rgba(255, 255, 255, .03); color: var(--studio-ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .1em; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.portal[data-page='profile'] .studio-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #62666d; }
.portal[data-page='profile'] .studio-pill.is-public { border-color: color-mix(in srgb, var(--studio-blue) 70%, transparent); background: color-mix(in srgb, var(--studio-blue) 16%, transparent); color: #e2e2e2; }
.portal[data-page='profile'] .studio-pill.is-public::before { background: var(--studio-blue); box-shadow: 0 0 10px var(--studio-blue); }
.studio-bio { margin: 0; max-width: 62ch; color: var(--studio-ink-soft); font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
.studio-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.studio-hero-actions .button { flex: 1 1 160px; }
.studio-hero-actions .button[hidden] { display: none; }

.portal[data-page='profile'] .studio-status { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 12px 16px; border: 1px solid var(--studio-line); border-radius: 12px; background: var(--studio-panel-deep); color: var(--studio-ink-soft); font-size: 13px; line-height: 1.5; }
.portal[data-page='profile'] .studio-status::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--studio-blue); box-shadow: 0 0 10px var(--studio-blue); }

/* Studio: preview first, then the form. Two columns from 1040px. */
.studio-layout { display: grid; gap: 22px; align-items: start; }
.studio-preview { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--studio-line); border-radius: 18px; background: radial-gradient(ellipse at 50% 0%, #373737, var(--studio-panel) 62%); box-shadow: 0 18px 42px rgba(0, 0, 0, .18); }
.studio-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.studio-card-head h2 { font-size: 22px; }
.studio-card-head h3 { font-size: 17px; }
.studio-preview > .studio-card-head { padding: 20px 20px 12px; }
.studio-stage { position: relative; margin: 0 16px; overflow: hidden; border: 1px solid var(--studio-line); border-radius: 14px; background: #dedee1; }
.studio-stage #profile-viewer { height: 420px; max-height: 58vh; min-height: 300px; }
.studio-stage-hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 5px 10px; border-radius: 999px; background: rgba(12, 12, 12, .66); color: #e2e2e2; font-size: 9px; font-weight: 700; letter-spacing: .14em; pointer-events: none; }
.studio-stage:has(#profile-viewer[hidden]) .studio-stage-hint { display: none; }
.studio-stage:has(#profile-viewer[hidden]) { background: var(--studio-panel-deep); }
.studio-stage-empty { display: grid; gap: 12px; justify-items: center; min-height: 300px; align-content: center; padding: 24px; text-align: center; color: var(--studio-ink-soft); }
.studio-stage-empty[hidden] { display: none; }
.studio-stage-empty p { margin: 0; max-width: 32ch; font-size: 13px; line-height: 1.5; }
.studio-stage-empty .studio-icon { color: #bcbcbc; }
.studio-stage .viewer-feedback { position: absolute; inset: auto 0 0; margin: 0; background: rgba(12, 12, 12, .8); color: #ffd4dc; }
.studio-caption { margin: 12px 20px 0; color: var(--studio-ink-soft); font-size: 12px; line-height: 1.5; }

/* Character pose: label + link to the Wardrobe picker (no second picker here). */
.studio-pose { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 18px 16px 0; padding: 14px 16px; border: 1px solid var(--studio-line-soft); border-radius: 14px; background: linear-gradient(130deg, rgba(154, 154, 154, .12), rgba(142, 142, 142, .08) 60%, transparent); }
.studio-pose-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(154, 154, 154, .16); color: #bcbcbc; }
.studio-pose-copy { display: grid; gap: 2px; min-width: 0; }
.studio-pose-copy .studio-eyebrow { margin: 0; }
.studio-pose-copy strong { font-size: 18px; font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.studio-pose-copy small { color: var(--studio-ink-soft); font-size: 11px; line-height: 1.45; }
.studio-pose > .studio-link { grid-column: 1 / -1; min-height: 40px; }
/* Pose chips (portal.js drawProfilePosePicker): the free poses, the Shop poses held (spark) and the Shop poses on sale (locked, dashed, a Shop link). */
.studio-pose-picker { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.studio-pose-picker[hidden] { display: none; }
.studio-pose-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 11px; border: 1px solid var(--studio-line-soft); border-radius: 999px; background: rgba(255, 255, 255, .04); color: inherit; font: 600 11px/1.2 'Inter', system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.studio-pose-chip svg { flex: none; color: #bcbcbc; }
.studio-pose-chip:not(:disabled):hover { border-color: #f2f2f0; }
.studio-pose-chip[aria-pressed=true] { border-color: #f2f2f0; background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 1px #f2f2f0; }
.studio-pose-chip[aria-pressed=true] svg, .studio-pose-chip.is-shop-pose svg { color: #f4f4f4; }
.studio-pose-chip:disabled { opacity: .5; cursor: not-allowed; }
.studio-pose-chip:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.studio-pose-chip.is-locked { border-style: dashed; color: var(--studio-ink-soft); }
.studio-pose-chip.is-locked small { font-size: 9px; font-weight: 700; letter-spacing: .08em; color: #d8d8d8; }
.studio-pose-status { grid-column: 1 / -1; margin: 2px 0 0; min-height: 1.2em; font-size: 11px; color: var(--studio-ink-soft); }

/* Equipped pieces: rarity-toned tiles, same language as the Wardrobe. */
.studio-equipped, .studio-collections { display: grid; gap: 12px; margin: 22px 16px 0; padding-top: 18px; border-top: 1px solid var(--studio-line); }
.studio-count { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--studio-ink-soft); text-transform: uppercase; }
.studio-pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.studio-empty { grid-column: 1 / -1; margin: 0; color: var(--studio-ink-soft); font-size: 12px; line-height: 1.5; }
.studio-piece { --tone: var(--rarity-common); position: relative; display: grid; gap: 0; min-width: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--tone) 40%, #424242); border-radius: 11px; background: #1d1d1d; color: #f5f5f5; text-align: left; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.studio-piece[data-tone='uncommon'] { --tone: var(--rarity-uncommon); }
.studio-piece[data-tone='rare'] { --tone: var(--rarity-rare); }
.studio-piece[data-tone='very-rare'] { --tone: var(--rarity-very-rare); }
.studio-piece[data-tone='epic'] { --tone: var(--rarity-epic); }
.studio-piece[data-tone='legendary'] { --tone: var(--rarity-legendary); }
.studio-piece[data-tone='mythic'] { --tone: var(--rarity-mythic); }
.studio-piece[data-tone='super-rare'] { --tone: var(--rarity-super-rare); }
.studio-piece::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--tone); }
.studio-piece-art { display: grid; place-items: center; width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; background: radial-gradient(70% 70% at 50% 60%, color-mix(in srgb, var(--tone) 22%, #101010), #101010); color: #bcbcbc; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.studio-piece-copy { display: grid; gap: 2px; padding: 9px 10px 12px; min-width: 0; }
.studio-piece small { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--studio-ink-soft); }
.studio-piece b { font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; }
.studio-piece em { font-style: normal; font-size: 10px; font-weight: 700; color: color-mix(in srgb, var(--tone) 70%, #fff); }
.studio-piece:hover { transform: translateY(-3px); border-color: var(--tone); box-shadow: 0 10px 28px color-mix(in srgb, var(--tone) 28%, transparent); }
.studio-piece.studio-piece-open { grid-column: 1 / -1; aspect-ratio: auto; }

/* Collections held: reuse the row component with the studio palette. */
.portal[data-page='profile'] .studio-collections { padding-top: 18px; margin: 22px 16px 0; }
.portal[data-page='profile'] .profile-collection-row { min-height: 56px; border-color: var(--studio-line); background: rgba(255, 255, 255, .02); border-radius: 12px; }
.portal[data-page='profile'] .profile-collection-row:hover { border-color: var(--studio-blue); }
.portal[data-page='profile'] .profile-collection-cover { background: #101010; color: #bcbcbc; }
.portal[data-page='profile'] .profile-collection-row em { color: #bcbcbc; }
.portal[data-page='profile'] .profile-collection-row small { color: var(--studio-ink-soft); }
.portal[data-page='profile'] .profile-empty-collections { color: var(--studio-ink-soft); }

/* District progress: three signal segments. */
.portal[data-page='profile'] .studio-district { display: grid; gap: 10px; margin: 22px 16px 20px; padding: 16px; border: 1px solid var(--studio-line); border-radius: 14px; background: var(--studio-panel-deep); }
.studio-district-head { display: grid; gap: 4px; }
.studio-district-head span { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #bcbcbc; }
.studio-district-head strong { font-size: 15px; color: #f5f5f5; }
.studio-district-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.studio-district-track i { display: block; height: 6px; border-radius: 999px; background: #272727; transition: background-color .3s ease, box-shadow .3s ease; }
.studio-district-track i.is-done { background: linear-gradient(90deg, var(--studio-blue), var(--studio-violet)); box-shadow: 0 0 12px rgba(154, 154, 154, .45); }
.studio-district small { color: var(--studio-ink-soft); font-size: 11px; line-height: 1.45; }

/* Edit form: clear sections, eyebrows, helper text and inline status. */
.portal[data-page='profile'] .studio-form { padding: 0; border: 1px solid var(--studio-line); border-radius: 18px; background: var(--studio-panel); box-shadow: 0 18px 42px rgba(0, 0, 0, .18); margin-bottom: 0; }
.portal[data-page='profile'] .studio-form legend { padding: 20px 20px; width: 100%; border-bottom: 1px solid var(--studio-line); margin: 0; color: #bcbcbc; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.portal[data-page='profile'] .studio-form fieldset:disabled { opacity: .72; }
.portal[data-page='profile'] .studio-section { display: grid; gap: 14px; padding: 22px 20px; border-bottom: 1px solid var(--studio-line); background: none; }
.studio-section-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.studio-section-head > .studio-icon { margin-top: 2px; padding: 8px; width: 34px; height: 34px; border-radius: 10px; background: rgba(154, 154, 154, .14); color: #bcbcbc; }
.portal[data-page='profile'] .studio-section-head h2 { margin: 2px 0 0; font-size: 20px; }
.portal[data-page='profile'] .studio-section-head p:not(.eyebrow) { margin: 8px 0 0; color: var(--studio-ink-soft); font-size: 13px; line-height: 1.55; }
.portal[data-page='profile'] .studio-section label { margin: 0; gap: 7px; color: #f0f0f0; font-size: 13px; font-weight: 600; }
.portal[data-page='profile'] .studio-section label small { font-weight: 400; color: var(--studio-ink-soft); font-size: 11px; line-height: 1.45; }
.portal[data-page='profile'] .studio-section > small { color: var(--studio-ink-soft); font-size: 11px; line-height: 1.5; }
.portal[data-page='profile'] .studio-section input:not([type='checkbox']):not([type='file']),
.portal[data-page='profile'] .studio-section select,
.portal[data-page='profile'] .studio-section textarea { min-height: 44px; padding: 11px 13px; border: 1px solid var(--studio-line); border-radius: 9px; background: var(--studio-panel-deep); color: #fff; font-weight: 400; }
.portal[data-page='profile'] .studio-section input:focus,
.portal[data-page='profile'] .studio-section select:focus,
.portal[data-page='profile'] .studio-section textarea:focus { border-color: var(--studio-blue); background: #151515; }
.studio-inline { display: flex; justify-content: space-between; gap: 10px; }
.studio-inline output { font-variant-numeric: tabular-nums; color: #bcbcbc; }
.portal[data-page='profile'] .social-inputs, .portal[data-page='profile'] .location-inputs { gap: 12px; }
.portal[data-page='profile'] .studio-uploads { gap: 12px; }
.portal[data-page='profile'] .studio-upload { display: grid; gap: 8px; padding: 14px; border: 1px dashed var(--studio-line); border-radius: 12px; background: rgba(255, 255, 255, .02); transition: border-color .2s ease; }
.portal[data-page='profile'] .studio-upload:hover, .portal[data-page='profile'] .studio-upload:focus-within { border-color: var(--studio-blue); }
.portal[data-page='profile'] .studio-upload input[type='file'] { min-height: 44px; padding: 10px; border: 1px solid var(--studio-line); border-radius: 9px; background: var(--studio-panel-deep); color: var(--studio-ink-soft); font-size: 12px; }
.portal[data-page='profile'] .studio-upload .button { justify-self: start; }
.portal[data-page='profile'] .studio-upload [role='status'] { font-weight: 400; font-size: 12px; color: #bcbcbc; min-height: 1em; }
.portal[data-page='profile'] .studio-upload [role='status']:empty { display: none; }
.portal[data-page='profile'] .owned-avatar-picker { margin: 0; padding: 14px; border: 1px solid var(--studio-line-soft); border-radius: 12px; background: linear-gradient(130deg, rgba(154, 154, 154, .1), rgba(142, 142, 142, .06) 60%, transparent); color: #f0f0f0; font-size: 13px; font-weight: 600; }
.portal[data-page='profile'] .owned-avatar-picker small { color: var(--studio-ink-soft); font-size: 11px; font-weight: 400; }
.portal[data-page='profile'] .studio-toggle { gap: 12px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--studio-line); border-radius: 12px; background: rgba(255, 255, 255, .02); font-weight: 500; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.portal[data-page='profile'] .studio-toggle:hover, .portal[data-page='profile'] .studio-toggle:has(input:checked) { border-color: color-mix(in srgb, var(--studio-blue) 60%, var(--studio-line)); background: rgba(154, 154, 154, .07); }
.portal[data-page='profile'] .studio-toggle input { width: 24px; height: 24px; flex: none; accent-color: var(--studio-blue); }
.portal[data-page='profile'] .studio-note { margin: 18px 20px 0; color: var(--studio-ink-soft); font-size: 12px; line-height: 1.55; }
.studio-form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 20px 22px; }
.studio-form-footer .button { flex: 1 1 180px; }
.studio-form-status { flex: 1 1 220px; color: var(--studio-ink-soft); font-size: 12px; line-height: 1.5; }
.studio-form-status:empty { display: none; }

@media (min-width: 560px) {
  .studio-hero-body { grid-template-columns: auto minmax(0, 1fr); align-items: end; padding: 0 24px 24px; }
  .studio-hero-actions { grid-column: 1 / -1; }
  .studio-pose { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
  .studio-pose > .studio-link { grid-column: auto; }
  .studio-form-footer .button { flex: 0 0 auto; }
}

/* The portal rail takes 245px, so two columns only fit from 1180px (≈860px of content). */
@media (min-width: 1180px) {
  .portal[data-page='profile'] .studio-hero-banner { height: 220px; }
  .studio-hero-body { grid-template-columns: auto minmax(0, 1fr) auto; margin-top: -56px; padding: 0 28px 26px; }
  .studio-hero-actions { grid-column: auto; align-self: end; }
  .studio-hero-actions .button { flex: 0 0 auto; }
  .studio-avatar-ring { width: 136px; height: 136px; }
  .studio-layout { grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); gap: 26px; }
  /* Sticky, but never taller than the viewport: the card scrolls inside itself so
     pieces, collections and district progress stay reachable beside a long form. */
  .studio-preview { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--studio-line) transparent; }
  .studio-stage #profile-viewer { height: 400px; max-height: calc(100vh - 360px); min-height: 280px; }
  .portal[data-page='profile'] .studio-section { padding: 26px 28px; }
  .portal[data-page='profile'] .studio-form legend { padding: 22px 28px; }
  .portal[data-page='profile'] .studio-note { margin: 20px 28px 0; }
  .studio-form-footer { padding: 20px 28px 26px; }
}

@media (max-width: 420px) {
  .studio-pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .portal[data-page='profile'] * { transition: none !important; }
  .studio-piece:hover { transform: none; }
}

/* Stage colour the 3D viewer paints behind the character (asset-viewer.js reads --viewer-bg). */
.studio-stage #profile-viewer { --viewer-bg: #1d1d1d; }
