/* ==========================================================================
   大锤盲盒 V4 · 珠光通透旗舰风 × 3D 藏品手办工坊（浅色 + 深色 1:1）
   对齐官网 × 大锤清单介绍页 × 大锤妙记 3.0 视觉体系，保留盲盒绿金/曜石质感
   ========================================================================== */

body.box-body {
  --box-canvas: #ffffff;
  --box-mist: #f5f7fb;
  --box-surface: #ffffff;
  --box-ink: #0f172a;
  --box-muted: #525e75;
  --box-subtle: #64748b;
  --box-line: rgba(15, 23, 42, .075);
  --box-line-strong: rgba(15, 23, 42, .13);
  --box-obsidian: #111827;
  --box-cobalt: #2350dc;
  --box-cobalt-soft: rgba(35, 80, 220, .09);
  --box-gold: #b45309;
  --box-gold-bright: #ffe19d;
  --box-emerald: #13402e;
  --box-emerald-mid: #1f6147;
  --box-emerald-soft: rgba(16, 185, 129, .1);
  --box-radius-lg: 1.5rem;
  --box-radius-md: 1.15rem;
  --box-ease: cubic-bezier(.22, 1, .36, 1);
  --box-shadow-card: 0 1px 2px rgba(15, 23, 42, .03), 0 16px 38px -18px rgba(15, 23, 42, .11);
  --box-shadow-lift: 0 4px 12px rgba(15, 23, 42, .05), 0 22px 44px -18px rgba(15, 23, 42, .15);
  background: var(--box-canvas);
  color: var(--box-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.box-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.box-page .wrap {
  max-width: 78rem;
}

/* Full-bleed frosted top header (aligns with Notes 3.0 & Homepage) */
body.box-body > header.site-header.studio-nav {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(var(--gutter, clamp(1rem, 3.6vw, 2.5rem)), calc((100% - 78rem) / 2));
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--box-line);
}

/* Lightbox portrait fit fix (keeps tall 63:88 cards 100% visible inside viewport) */
dialog.shot-viewer {
  max-height: 94dvh;
  overflow: auto;
  border-radius: 1.25rem;
}
dialog.shot-viewer img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 82dvh;
  margin-inline: auto;
  object-fit: contain;
  border-radius: .75rem;
}

/* ==========================================================================
   Sticky Frosted Chapter Command Bar (Notes 3.0 × Official Website Pills)
   ========================================================================== */
.box-subnav {
  position: sticky;
  top: 0;
  z-index: 25;
  border-bottom: 1px solid var(--box-line);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.box-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  max-width: 78rem;
  min-height: 3.4rem;
  padding-block: .34rem;
}
.box-subnav-brand {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  flex: none;
  min-height: 38px;
  font-size: .9rem;
  font-weight: 680;
  color: var(--box-ink);
  white-space: nowrap;
}
.box-subnav-brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: contain;
}
.box-subnav-links {
  display: flex;
  align-items: center;
  gap: .22rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.box-subnav-links::-webkit-scrollbar { display: none; }
.box-subnav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .24rem .78rem;
  border-radius: 9999px;
  color: var(--box-muted);
  font-size: .85rem;
  font-weight: 560;
  white-space: nowrap;
  flex: none;
  transition: background-color .16s ease, color .16s ease;
}
.box-subnav-links a:hover {
  color: var(--box-ink);
  background: rgba(15, 23, 42, .05);
}
.box-subnav-links a[aria-current="location"] {
  background: var(--box-obsidian);
  color: #ffffff;
  font-weight: 620;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, .32);
}
.box-subnav-actions {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: none;
}
.box-theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .92);
  color: #334155;
  flex: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .14s ease;
}
.box-theme-toggle:hover {
  border-color: rgba(35, 80, 220, .32);
  background: #f5f8ff;
  color: var(--box-cobalt);
}
.box-theme-toggle:active { transform: scale(.94); }
.box-theme-toggle .box-icon-sun { display: none; }
html[data-theme="dark"] .box-theme-toggle .box-icon-moon { display: none; }
html[data-theme="dark"] .box-theme-toggle .box-icon-sun { display: block; }
.box-subnav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 36px;
  padding: 0 .96rem;
  border-radius: 9999px;
  background: var(--box-obsidian);
  color: #ffffff;
  font-size: .83rem;
  font-weight: 620;
  white-space: nowrap;
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, .32);
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.box-subnav-cta:hover {
  background: var(--box-cobalt);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(35, 80, 220, .46);
}

/* ==========================================================================
   Signature Official Buttons (Obsidian <-> Pearl + Frosted Ghost)
   ========================================================================== */
.box-btn-obsidian {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 46px;
  padding: .58rem 1.42rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: var(--box-obsidian);
  color: #ffffff;
  font-size: .94rem;
  font-weight: 620;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .46);
  transition: transform .18s var(--box-ease), background-color .16s ease, box-shadow .18s ease;
}
.box-btn-obsidian:hover {
  background: var(--box-cobalt);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(35, 80, 220, .48);
}
.box-btn-obsidian:active { transform: translateY(0) scale(.985); }

.box-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 46px;
  padding: .58rem 1.28rem;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .92);
  color: var(--box-ink);
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--box-ease), border-color .16s ease, background-color .16s ease, color .16s ease;
}
.box-btn-ghost:hover {
  border-color: rgba(35, 80, 220, .32);
  background: #f5f8ff;
  color: var(--box-cobalt);
  transform: translateY(-1px);
}
.box-btn-ghost:active { transform: translateY(0) scale(.985); }

/* Shared Full-Bleed Bands & Centered Official Band Header */
.box-hero-band,
.box-band {
  scroll-margin-top: 3.6rem;
}
.box-band {
  padding-block: clamp(3rem, 5.8vw, 4.7rem);
}
.box-band--mist {
  background: var(--box-mist);
  border-bottom: 1px solid var(--box-line);
}
.box-band--white {
  background: var(--box-canvas);
  border-bottom: 1px solid var(--box-line);
}
.box-band--emerald {
  background:
    radial-gradient(ellipse 56% 64% at 84% 18%, rgba(16, 185, 129, .09), transparent 66%),
    radial-gradient(ellipse 46% 52% at 14% 84%, rgba(217, 119, 6, .08), transparent 64%),
    linear-gradient(155deg, #eef8f3 0%, #f5fbf8 52%, #f7faff 100%);
  border-bottom: 1px solid rgba(19, 64, 46, .08);
}

.box-center-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .58rem;
  max-width: 48rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
}
.box-head-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}
.box-kicker-pill {
  display: inline-flex;
  align-items: center;
  padding: .22rem .78rem;
  border: 1px solid rgba(35, 80, 220, .16);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .92);
  color: var(--box-cobalt);
  font-size: .78rem;
  font-weight: 620;
  letter-spacing: .02em;
  box-shadow: 0 2px 10px -4px rgba(35, 80, 220, .12);
}
.box-kicker-pill--emerald {
  border-color: rgba(19, 64, 46, .18);
  color: var(--box-emerald-mid);
  box-shadow: 0 2px 10px -4px rgba(19, 64, 46, .12);
}
.box-center-head h2,
.box-section-heading h2 {
  margin: 0;
  color: var(--box-ink);
  font-size: clamp(1.8rem, 3.1vw, 2.7rem);
  font-weight: 670;
  letter-spacing: -.03em;
  line-height: 1.22;
  text-wrap: balance;
}
.box-center-head h2 span {
  display: inline-block;
  background: linear-gradient(98deg, #1d4ed8 0%, #4f46e5 55%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.box-center-head p {
  margin: 0;
  color: var(--box-muted);
  font-size: .95rem;
  line-height: 1.72;
  text-wrap: balance;
}
.box-center-head p strong { color: var(--box-ink); font-weight: 640; }

/* ==========================================================================
   Band 1 · Full-Bleed Ethereal Pearl-Grid Hero + 3D Collector Plinth
   ========================================================================== */
.box-hero-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 4.4vw, 3.8rem) clamp(2.4rem, 4.8vw, 4.2rem);
  background:
    radial-gradient(ellipse 64% 64% at 74% 48%, rgba(69, 120, 255, .13), transparent 66%),
    radial-gradient(ellipse 46% 52% at 88% 82%, rgba(255, 194, 88, .16), transparent 60%),
    linear-gradient(128deg, rgba(255, 255, 255, .95) 14%, rgba(242, 246, 255, .93) 52%, rgba(250, 248, 255, .96) 100%);
  border-bottom: 1px solid var(--box-line);
}
.box-hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 88% 82% at 52% 45%, #000 35%, transparent 96%);
  -webkit-mask-image: radial-gradient(ellipse 88% 82% at 52% 45%, #000 35%, transparent 96%);
}
.box-hero-band::after {
  content: "";
  position: absolute;
  inset: -12% -10% auto -10%;
  height: 75%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, .75) 44%, transparent 62%);
  opacity: .85;
}

.box-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.8rem);
}
.box-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.box-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.05rem;
  padding: .28rem .85rem .28rem .38rem;
  border: 1px solid rgba(35, 80, 220, .14);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 10px -4px rgba(35, 80, 220, .12);
  color: #334155;
  font-size: .82rem;
  font-weight: 560;
  letter-spacing: .01em;
}
.box-eyebrow img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
  flex: none;
}
.box-intro h1 {
  margin: 0;
  color: var(--box-ink);
  font-size: clamp(2.25rem, 4.25vw, 3.9rem);
  font-weight: 680;
  line-height: 1.18;
  letter-spacing: -.032em;
}
.box-intro h1 span {
  display: inline-block;
  background: linear-gradient(100deg, #1d4ed8 0%, #4f46e5 52%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.box-lead {
  max-width: 29em;
  margin-top: 1rem;
  color: var(--box-muted);
  font-size: clamp(.97rem, 1.22vw, 1.08rem);
  font-weight: 420;
  line-height: 1.76;
}
.box-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .62rem;
  width: 100%;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.box-highlights li {
  padding: .72rem .82rem;
  border: 1px solid rgba(15, 23, 42, .065);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px -8px rgba(15, 23, 42, .1);
}
.box-highlights strong {
  display: block;
  color: var(--box-ink);
  font-size: .96rem;
  font-weight: 700;
}
.box-highlights span {
  display: block;
  margin-top: .16rem;
  color: var(--box-muted);
  font-size: .78rem;
  line-height: 1.38;
}
.box-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem .8rem;
  margin-top: 1.45rem;
}
.box-hero-sublinks {
  margin-top: .95rem;
}
.box-hero-jump {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  min-height: 36px;
  padding: .22rem .72rem .22rem .3rem;
  border-radius: 9999px;
  color: #475569;
  font-size: .86rem;
  font-weight: 540;
  transition: background-color .16s ease, color .16s ease;
}
.box-hero-jump:hover {
  background: rgba(15, 23, 42, .05);
  color: var(--box-ink);
}
.box-hero-jump-dot {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  border: 1px solid rgba(35, 80, 220, .2);
  background: rgba(255, 255, 255, .94);
  color: var(--box-cobalt);
  font-size: .74rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .06);
}

/* Liquid-Porcelain Glass Frame wrapping the Obsidian 3D Nolan Collector Plinth */
.box-showcase-shell {
  min-width: 0;
  margin: 0;
  padding: clamp(.65rem, 1.25vw, 1rem);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 1.65rem;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 54px -18px rgba(15, 23, 42, .16), 0 1px 2px rgba(15, 23, 42, .04);
}
.box-showcase {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #0d111a;
  color: #f8fafc;
}
.box-model-stage {
  position: relative;
  flex: 1;
  min-height: clamp(21rem, 37vw, 31rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 68% 58% at 50% 24%, rgba(99, 132, 220, .22), transparent 64%),
    radial-gradient(ellipse 56% 48% at 50% 82%, rgba(245, 179, 66, .12), transparent 66%),
    radial-gradient(ellipse at 50% 34%, #252b38 0, #131722 62%, #0b0e16 100%);
  cursor: pointer;
  transition: background .28s ease;
}
.box-model-stage[data-stage-theme="warm"] {
  background: radial-gradient(ellipse at 50% 30%, #ffffff 0, #eef1f7 68%, #dfe5f0 100%);
}
.box-model-stage.is-interactive { cursor: grab; }
.box-model-stage.is-interactive:active { cursor: grabbing; }
.box-model-poster, .box-model-stage model-viewer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.box-model-poster {
  object-fit: contain;
  padding: clamp(.45rem, 1.4vw, 1.1rem);
  transition: transform .35s var(--box-ease);
}
.box-model-stage:hover .box-model-poster { transform: scale(1.018); }
.box-model-poster[hidden],
.box-model-stage model-viewer[hidden] { display: none; }
.box-model-stage model-viewer {
  --poster-color: transparent;
  --progress-bar-height: 0px;
}

/* CAD Dimension Overlay */
.box-dim-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.box-dim-overlay[hidden] { display: none; }
.box-dim-height {
  position: absolute;
  top: 10%;
  bottom: 14%;
  right: 6%;
  display: flex;
  align-items: center;
  border-right: 1.5px dashed rgba(255, 225, 157, .85);
  padding-right: .55rem;
}
.box-dim-height::before,
.box-dim-height::after {
  content: "";
  position: absolute;
  right: -5px;
  width: 9px;
  height: 1.5px;
  background: #ffe19d;
}
.box-dim-height::before { top: 0; }
.box-dim-height::after { bottom: 0; }
.box-dim-width {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 8%;
  display: flex;
  justify-content: center;
  border-top: 1.5px dashed rgba(255, 225, 157, .85);
  padding-top: .35rem;
}
.box-dim-height span,
.box-dim-width span,
.box-dim-callout {
  padding: .2rem .56rem;
  border-radius: 9999px;
  background: rgba(11, 15, 25, .86);
  border: 1px solid rgba(255, 225, 157, .52);
  color: #ffe8b5;
  font-size: .74rem;
  font-weight: 660;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.box-dim-callout {
  position: absolute;
  left: 5%;
  top: 9%;
}

/* Stage launch capsule */
.box-stage-launch {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 42px;
  padding: .42rem 1rem .42rem .72rem;
  border: 1px solid rgba(255, 225, 157, .52);
  border-radius: 9999px;
  background: rgba(11, 15, 25, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff6df;
  font-size: .84rem;
  font-weight: 620;
  white-space: nowrap;
  box-shadow: 0 .65rem 1.8rem rgba(0, 0, 0, .42);
  transition: transform .18s var(--box-ease), background-color .18s ease, border-color .18s ease;
}
.box-stage-launch:hover {
  transform: translateX(-50%) translateY(-2px);
  background: rgba(15, 23, 42, .96);
  border-color: #ffe19d;
}
.box-stage-launch[hidden] { display: none; }
.box-launch-icon {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: #ffe19d;
  color: #16120a;
  font-size: .9rem;
  font-weight: 700;
}
.box-launch-size {
  padding-left: .48rem;
  border-left: 1px solid rgba(255, 255, 255, .18);
  color: #cbd5e1;
  font-size: .75rem;
  font-weight: 500;
}

.box-model-caption {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: .92rem 1.15rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #0d111a;
}
.box-caption-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
}
.box-model-caption h2 {
  display: flex;
  align-items: center;
  gap: .48rem;
  margin: 0;
  color: #f8fafc;
  font-size: 1.06rem;
  font-weight: 680;
  letter-spacing: -.015em;
}
.box-spec-pill {
  padding: .1rem .48rem;
  border: 1px solid rgba(255, 225, 157, .35);
  border-radius: 9999px;
  background: rgba(255, 225, 157, .12);
  color: #ffe19d;
  font-size: .72rem;
  font-weight: 660;
  font-variant-numeric: tabular-nums;
}
.box-model-caption p {
  margin-top: .16rem;
  color: #9aa7bd;
  font-size: .82rem;
  line-height: 1.5;
}
.box-caption-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
}
.box-stage-btn {
  min-height: 38px;
  padding: .28rem .88rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9999px;
  font-size: .83rem;
  font-weight: 640;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.box-stage-btn--gold {
  border-color: #ffe19d;
  background: #ffe19d;
  color: #16120a;
}
.box-stage-btn--gold:hover { background: #fff0c4; }
.box-stage-btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: #e2e8f0;
}
.box-stage-btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #ffffff; }
.box-stage-btn--ghost[aria-pressed="true"] {
  border-color: #ffe19d;
  background: rgba(255, 225, 157, .16);
  color: #ffe19d;
}
.box-stage-btn[aria-disabled="true"] { opacity: .68; cursor: wait; }

.box-progress {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #ffe19d;
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.box-progress progress { flex: 1; min-width: 0; height: .44rem; accent-color: #ffe19d; }
.box-progress span:empty { display: none; }

.box-3d-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.box-3d-group {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.box-chip-btn {
  min-height: 34px;
  padding: .22rem .66rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .06);
  color: #cbd5e1;
  font-size: .78rem;
  font-weight: 560;
  white-space: nowrap;
}
.box-chip-btn:hover { background: rgba(255, 255, 255, .14); color: #ffffff; }
.box-chip-btn[aria-pressed="true"] {
  border-color: #ffe19d;
  background: #ffe19d;
  color: #16120a;
  font-weight: 680;
}

/* ==========================================================================
   Band 2 · 01 Collector Gallery (Mist Band + Liquid-Porcelain Showcase)
   ========================================================================== */
.box-gallery-filters {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .24rem;
  margin-top: .45rem;
  padding: .28rem;
  border: 1px solid var(--box-line);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 10px -4px rgba(15, 23, 42, .06);
}
.box-gallery-filters .xh-seg-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 9999px;
  background: var(--box-obsidian);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, .32);
  pointer-events: none;
  transition: transform .26s var(--box-ease), width .26s var(--box-ease), height .26s var(--box-ease), opacity .18s ease;
}
.box-filter-pill {
  position: relative;
  z-index: 1;
  min-height: 36px;
  padding: .26rem .88rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--box-muted);
  font-size: .84rem;
  font-weight: 560;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}
.box-filter-pill:hover { color: var(--box-ink); }
.box-filter-pill[aria-pressed="true"] {
  background: var(--box-obsidian);
  color: #ffffff;
  font-weight: 640;
}
.box-gallery-filters[data-seg-ready="true"] .box-filter-pill[aria-pressed="true"] {
  background: transparent;
  color: #ffffff;
}

.box-gallery-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .62rem;
}
.box-thumb-card {
  display: flex;
  align-items: center;
  gap: .52rem;
  min-width: 0;
  min-height: 60px;
  padding: .46rem .58rem;
  border: 1px solid var(--box-line);
  border-radius: 1rem;
  background: #ffffff;
  color: var(--box-ink);
  text-align: left;
  box-shadow: 0 2px 10px -6px rgba(15, 23, 42, .08);
  transition: transform .18s var(--box-ease), border-color .16s ease, background-color .16s ease, box-shadow .18s ease;
}
.box-thumb-card[hidden] { display: none; }
.box-thumb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 80, 220, .24);
  box-shadow: 0 12px 24px -12px rgba(15, 23, 42, .14);
}
.box-thumb-card.is-active {
  border-color: var(--box-obsidian);
  background: var(--box-obsidian);
  color: #ffffff;
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, .38);
}
.box-thumb-card img {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: .6rem;
  background: #f3f5fa;
  object-fit: cover;
  object-position: center top;
}
.box-thumb-card span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.box-thumb-card strong {
  font-size: .83rem;
  font-weight: 640;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.box-thumb-card em {
  margin-top: .12rem;
  font-style: normal;
  font-size: .71rem;
  color: var(--box-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.box-thumb-card.is-active em { color: #fde68a; }

.box-gallery-stage {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: stretch;
  gap: clamp(1rem, 2.2vw, 1.55rem);
  margin-top: 1.1rem;
}
.box-turntable-panel,
.box-dossier-panel {
  min-width: 0;
  border: 1px solid var(--box-line);
  border-radius: var(--box-radius-lg);
  background: #ffffff;
  box-shadow: var(--box-shadow-card);
}
.box-turntable-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
}
.box-turntable-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem .65rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--box-line);
  background: linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
}
.box-turntable-badge {
  color: var(--box-cobalt);
  font-size: .78rem;
  font-weight: 680;
  letter-spacing: .02em;
}
.box-view-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .16rem;
  padding: .18rem;
  border: 1px solid var(--box-line);
  border-radius: 9999px;
  background: #f1f5f9;
}
.box-view-tab {
  min-height: 32px;
  padding: .16rem .68rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--box-muted);
  font-size: .78rem;
  font-weight: 580;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.box-view-tab:hover { color: var(--box-ink); }
.box-view-tab[aria-pressed="true"] {
  background: var(--box-obsidian);
  color: #ffffff;
  font-weight: 640;
}
.box-turntable-canvas {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: clamp(19rem, 31vw, 26.5rem);
  padding: 1rem;
  background: radial-gradient(ellipse at 50% 42%, #ffffff 0%, #f5f7fb 84%);
  cursor: zoom-in;
}
.box-turntable-canvas img {
  max-height: clamp(17.5rem, 28vw, 24.5rem);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: .65rem;
}
.box-turntable-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .8rem;
  padding: .75rem 1.05rem;
  border-top: 1px solid var(--box-line);
  background: #ffffff;
  font-size: .82rem;
  color: var(--box-muted);
}
.box-turntable-hint {
  color: var(--box-cobalt);
  font-size: .78rem;
  font-weight: 620;
  white-space: nowrap;
}

.box-dossier-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.05rem;
  padding: clamp(1.15rem, 2.3vw, 1.65rem);
}
.box-dossier-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}
.box-dossier-cat {
  padding: .18rem .66rem;
  border-radius: 9999px;
  background: var(--box-cobalt-soft);
  color: var(--box-cobalt);
  font-size: .75rem;
  font-weight: 650;
}
.box-dossier-dim {
  padding: .18rem .66rem;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: #f8fafc;
  color: #334155;
  font-size: .75rem;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.box-dossier-head h3 {
  margin: .68rem 0 .35rem;
  font-size: clamp(1.25rem, 1.95vw, 1.6rem);
  font-weight: 680;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--box-ink);
}
.box-dossier-head p {
  margin: 0;
  color: var(--box-muted);
  font-size: .92rem;
  line-height: 1.7;
}

.box-palette-box {
  padding: 1rem 1.05rem;
  border: 1px solid var(--box-line);
  border-radius: 1.05rem;
  background: #f8fafd;
}
.box-palette-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .65rem;
  margin-bottom: .72rem;
}
.box-palette-title-row strong {
  color: var(--box-ink);
  font-size: .88rem;
  font-weight: 660;
}
.box-palette-title-row span {
  padding: .12rem .54rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, .12);
  color: #047857;
  font-size: .72rem;
  font-weight: 640;
}
.box-swatch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.box-swatch-grid li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  min-width: 0;
  padding: .58rem .66rem;
  border: 1px solid var(--box-line);
  border-radius: .78rem;
  background: #ffffff;
}
.box-swatch-grid i {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .12rem;
  flex: none;
  border-radius: .42rem;
  border: 1px solid rgba(15, 23, 42, .14);
  background: var(--sw, #2350dc);
}
.box-swatch-grid div { min-width: 0; }
.box-swatch-grid strong {
  display: block;
  color: var(--box-ink);
  font-size: .8rem;
  font-weight: 640;
  line-height: 1.3;
}
.box-swatch-grid span {
  display: block;
  margin-top: .14rem;
  color: var(--box-muted);
  font-size: .74rem;
  line-height: 1.45;
}
.box-order-fold {
  margin-top: .72rem;
  border: 1px solid rgba(16, 185, 129, .2);
  border-radius: .78rem;
  background: rgba(16, 185, 129, .06);
  transition: border-color .16s ease, background-color .16s ease;
}
.box-order-fold:hover {
  border-color: rgba(16, 185, 129, .38);
  background: rgba(16, 185, 129, .1);
}
.box-order-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 36px;
  padding: .34rem .78rem;
  color: #065f46;
  font-size: .8rem;
  font-weight: 640;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.box-order-fold summary::-webkit-details-marker { display: none; }
.box-order-fold summary::after {
  content: "▾";
  font-size: .85rem;
  color: #059669;
  transition: transform .18s ease;
}
.box-order-fold[open] summary::after { transform: rotate(180deg); }
.box-paint-order {
  margin: 0;
  padding: 0 .78rem .62rem;
  color: #064e3b;
  font-size: .79rem;
  line-height: 1.6;
}

.box-dossier-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .75rem;
}

/* ==========================================================================
   Band 3 · 02 Craft Process (Pure White Canvas + 5 Stepped Porcelain Cards)
   ========================================================================== */
.box-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  gap: 1.25rem 2.2rem;
}
.box-section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .58rem;
}
.box-evolution-pill {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--box-line);
  border-radius: 1.2rem;
  background: #ffffff;
  box-shadow: var(--box-shadow-card);
}
.box-evolution-pill a { display: block; cursor: zoom-in; }
.box-evolution-pill img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.box-evolution-pill figcaption {
  padding: .52rem .85rem;
  border-top: 1px solid var(--box-line);
  color: var(--box-muted);
  font-size: .81rem;
  font-weight: 540;
  text-align: center;
}

.box-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .82rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}
.box-steps li {
  min-width: 0;
  padding: 1.05rem 1rem;
  border: 1px solid var(--box-line);
  border-radius: 1.15rem;
  background: #f8fafd;
  transition: transform .18s var(--box-ease), border-color .16s ease, box-shadow .18s ease, background-color .16s ease;
}
.box-steps li:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 80, 220, .2);
  background: #ffffff;
  box-shadow: 0 12px 26px -14px rgba(15, 23, 42, .12);
}
.box-step-num {
  display: inline-block;
  margin-bottom: .52rem;
  padding: .14rem .54rem;
  border-radius: 9999px;
  background: rgba(35, 80, 220, .1);
  color: var(--box-cobalt);
  font-size: .74rem;
  font-weight: 700;
}
.box-steps li:nth-child(2) .box-step-num { background: rgba(14, 165, 233, .12); color: #0369a1; }
.box-steps li:nth-child(3) .box-step-num { background: rgba(245, 158, 11, .14); color: #b45309; }
.box-steps li:nth-child(4) .box-step-num { background: rgba(16, 185, 129, .12); color: #047857; }
.box-steps li:nth-child(5) .box-step-num { background: rgba(124, 58, 237, .12); color: #6d28d9; }
.box-steps h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 660;
  color: var(--box-ink);
}
.box-steps p {
  margin-top: .34rem;
  color: var(--box-muted);
  font-size: .86rem;
  line-height: 1.58;
}

.box-work-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.55rem);
  margin-top: clamp(1.4rem, 3vw, 2.1rem);
}
.box-proof-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--box-line);
  border-radius: var(--box-radius-lg);
  background: #ffffff;
  box-shadow: var(--box-shadow-card);
}

/* Interactive drag compare (Reference <-> Studio) */
.box-compare {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #141822;
  user-select: none;
  touch-action: pan-y;
}
.box-compare-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-compare-after { background: radial-gradient(ellipse at 50% 35%, #272d3a, #121620 78%); }
.box-compare-before {
  background: #f9fafc;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}
.box-compare-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .55rem;
  pointer-events: none;
}
.box-compare-tag {
  position: absolute;
  top: .75rem;
  padding: .24rem .68rem;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 640;
  pointer-events: none;
}
.box-compare-tag.is-before {
  left: .75rem;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(15, 23, 42, .1);
  color: #1e293b;
}
.box-compare-tag.is-after {
  right: .75rem;
  background: rgba(11, 15, 25, .84);
  border: 1px solid rgba(255, 225, 157, .42);
  color: #ffe8b5;
}
.box-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: #ffe19d;
  box-shadow: 0 0 10px rgba(0, 0, 0, .4);
  transform: translateX(-50%);
  pointer-events: none;
}
.box-compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #111827;
  color: #ffe19d;
  font-size: .92rem;
  font-weight: 700;
  transform: translate(-50%, -50%);
  box-shadow: 0 .35rem .95rem rgba(0, 0, 0, .38);
}
.box-compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.box-compare-range:focus-visible ~ .box-compare-divider .box-compare-knob {
  outline: 3px solid var(--box-cobalt);
  outline-offset: 3px;
}

.box-proof-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef1f6;
  cursor: zoom-in;
}
.box-proof-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box-photo-badge {
  position: absolute;
  left: .75rem;
  top: .75rem;
  padding: .24rem .68rem;
  border-radius: 9999px;
  background: rgba(11, 15, 25, .82);
  color: #f8fafc;
  font-size: .75rem;
  font-weight: 620;
}
.box-proof-caption {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.15rem 1.1rem;
}
.box-proof-meta strong { display: block; font-size: 1rem; font-weight: 660; color: var(--box-ink); }
.box-proof-meta span {
  display: block;
  margin-top: .22rem;
  color: var(--box-muted);
  font-size: .87rem;
  line-height: 1.58;
}
.box-proof-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .75rem;
  padding-top: .68rem;
  border-top: 1px solid var(--box-line);
}
.box-mini-presets {
  display: inline-flex;
  gap: .32rem;
}
.box-mini-presets button {
  min-height: 34px;
  padding: .2rem .66rem;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: #f8fafc;
  color: #334155;
  font-size: .78rem;
  font-weight: 580;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.box-mini-presets button:hover {
  border-color: var(--box-cobalt);
  background: #eef4ff;
  color: var(--box-cobalt);
}
.box-sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .36rem;
}
.box-sample-tags span {
  padding: .18rem .58rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  font-size: .75rem;
  font-weight: 560;
}
.box-zoom-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--box-cobalt);
  font-size: .83rem;
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: .25em;
  white-space: nowrap;
}

/* ==========================================================================
   Band 4 · Signature 28px Obsidian Engineering Card: 03 Millimeter CAD Lineage
   (1:1 Official Website .obsidian-card & Checklist .cl-obsidian-card Anchor!)
   ========================================================================== */
.box-sizing-band {
  padding-top: 0;
}
.box-sizing-obsidian {
  position: relative;
  overflow: hidden;
  padding: clamp(1.65rem, 3.8vw, 3rem);
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse 52% 80% at 88% 92%, rgba(217, 119, 6, .2), transparent 64%),
    radial-gradient(ellipse 56% 78% at 14% 12%, rgba(37, 99, 235, .28), transparent 65%),
    #090d16;
  color: #f8fafc;
  box-shadow: 0 24px 56px -18px rgba(9, 13, 22, .42);
}
.box-sizing-obsidian::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 78% 78% at 72% 38%, #000 12%, transparent 84%);
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 72% 38%, #000 12%, transparent 84%);
}
.box-obsidian-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .85rem 2rem;
}
.box-obsidian-eyebrow {
  display: inline-block;
  color: #93c5fd;
  font-size: .8rem;
  font-weight: 560;
  letter-spacing: .05em;
}
.box-obsidian-head h2 {
  margin: .34rem 0 0;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.75vw, 2.35rem);
  font-weight: 660;
  line-height: 1.24;
  letter-spacing: -.028em;
}
.box-obsidian-head p {
  margin: 0;
  color: #94a3b8;
  font-size: .92rem;
  line-height: 1.65;
}
.box-obsidian-head p strong {
  color: #fde68a;
  font-weight: 640;
}

.box-cad-stage {
  position: relative;
  z-index: 1;
  margin: 1.45rem 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 1.15rem;
  background: rgba(15, 23, 42, .75);
}
.box-cad-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eceef2;
  cursor: zoom-in;
}
.box-cad-photo img {
  width: 100%;
  height: auto;
}
.box-cad-highlight {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 82.4%;
  width: 12.8%;
  border: 2.5px solid #d97706;
  border-radius: .65rem;
  background: rgba(251, 191, 36, .16);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .82);
  pointer-events: none;
  transition: left .24s var(--box-ease), width .24s var(--box-ease);
}
.box-cad-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1rem;
  padding: .75rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #94a3b8;
  font-size: .83rem;
}
.box-cad-caption span:last-child {
  color: #fde68a;
  font-weight: 640;
  font-variant-numeric: tabular-nums;
}

.box-lineage-pager {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .85rem;
  padding: .32rem .72rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .08);
  color: #fde68a;
  font-size: .76rem;
  font-weight: 620;
}
.box-lineage-pager strong { font-variant-numeric: tabular-nums; }

.box-lineage-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.05rem;
}
.box-lineage-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1rem .92rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform .18s var(--box-ease), border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.box-lineage-card:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, .42);
  background: rgba(255, 255, 255, .08);
}
.box-lineage-card.is-active {
  border-color: rgba(253, 230, 138, .68);
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .55), 0 0 0 1px rgba(253, 230, 138, .28);
}
.box-lineage-head {
  display: flex;
  align-items: center;
  gap: .56rem;
}
.box-lineage-head > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .16rem;
  min-width: 0;
}
.box-lineage-avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: .65rem;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #f5f7fb;
  object-fit: cover;
  object-position: center top;
}
.box-lineage-avatar--icon {
  display: grid;
  place-items: center;
  background: rgba(147, 197, 253, .16);
  color: #93c5fd;
  font-size: .86rem;
  font-weight: 760;
}
.box-lineage-height {
  display: inline-block;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(96deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.box-lineage-tag {
  padding: .1rem .48rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .1);
  color: #cbd5e1;
  font-size: .71rem;
  font-weight: 600;
  white-space: nowrap;
}
.box-lineage-tag.is-featured {
  background: #fde68a;
  color: #16120a;
  font-weight: 680;
}
.box-lineage-card h3 {
  margin: .62rem 0 0;
  font-size: .95rem;
  font-weight: 640;
  line-height: 1.35;
  color: #ffffff;
}
.box-lineage-dims {
  margin-top: .24rem;
  color: #93c5fd;
  font-size: .72rem;
  font-weight: 560;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.box-lineage-desc {
  margin-top: .42rem;
  color: #94a3b8;
  font-size: .81rem;
  line-height: 1.55;
}
.box-lineage-apply {
  margin-top: auto;
  padding: .58rem 0 0;
  border: 0;
  background: transparent;
  color: #fde68a;
  font-size: .8rem;
  font-weight: 640;
  text-align: left;
  min-height: 36px;
}
.box-lineage-apply:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: .25em;
}

/* ==========================================================================
   Band 5 · 04 Signature Emerald Vault (Carton + 4 Double-Sided 3D Flip Cards)
   ========================================================================== */
.box-packaging .box-center-head h2 { color: var(--box-emerald); }
.box-package-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .96fr);
  align-items: stretch;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.box-carton-design,
.box-card-design {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(19, 64, 46, .1);
  border-radius: var(--box-radius-lg);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--box-shadow-card);
}
.box-carton-design { display: flex; flex-direction: column; }
.box-carton-switcher {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: .22rem;
  margin: .75rem .95rem;
  padding: .22rem;
  border: 1px solid rgba(19, 64, 46, .1);
  border-radius: 9999px;
  background: #f0f7f3;
  align-self: flex-start;
}
.box-carton-switcher .xh-seg-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 9999px;
  background: var(--box-emerald);
  box-shadow: 0 4px 12px -4px rgba(19, 64, 46, .35);
  pointer-events: none;
  transition: transform .26s var(--box-ease), width .26s var(--box-ease), height .26s var(--box-ease), opacity .18s ease;
}
.box-carton-tab {
  position: relative;
  z-index: 1;
  min-height: 34px;
  padding: .2rem .78rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: #2f5946;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.box-carton-tab:hover { color: var(--box-emerald); }
.box-carton-tab[aria-pressed="true"] {
  background: var(--box-emerald);
  color: #fff6df;
  font-weight: 660;
}
.box-carton-switcher[data-seg-ready="true"] .box-carton-tab[aria-pressed="true"] {
  background: transparent;
  color: #fff6df;
}
.box-carton-photo {
  display: block;
  cursor: zoom-in;
  background: #f7f9f8;
  border-top: 1px solid rgba(19, 64, 46, .06);
  border-bottom: 1px solid rgba(19, 64, 46, .06);
}
.box-carton-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.box-carton-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 1rem clamp(.95rem, 1.8vw, 1.35rem) 1.1rem;
}
.box-carton-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .65rem .9rem;
}
.box-carton-head strong { display: block; color: var(--box-emerald); font-size: 1rem; font-weight: 660; }
.box-carton-head span { display: block; margin-top: .18rem; color: #4b6156; font-size: .85rem; }
.box-unbox-btn {
  min-height: 38px;
  padding: .3rem .92rem;
  border: 1px solid rgba(19, 64, 46, .28);
  border-radius: 9999px;
  background: #f0f8f3;
  color: var(--box-emerald);
  font-size: .83rem;
  font-weight: 640;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.box-unbox-btn:hover { background: #e1f1e8; }
.box-unbox-btn[aria-expanded="true"] {
  background: var(--box-emerald);
  border-color: var(--box-emerald);
  color: #fff6df;
}
.box-unbox-drawer {
  margin-top: .9rem;
  padding-top: .85rem;
  border-top: 1px dashed rgba(19, 64, 46, .18);
}
.box-unbox-lead { color: #2b503e; font-size: .84rem; font-weight: 620; }
.box-unbox-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: .62rem 0 0;
  padding: 0;
  list-style: none;
}
.box-unbox-list li {
  padding: .62rem .76rem;
  border: 1px solid rgba(19, 64, 46, .1);
  border-radius: .78rem;
  background: #f5faf7;
}
.box-unbox-list strong { display: block; color: var(--box-emerald); font-size: .83rem; }
.box-unbox-list span { display: block; margin-top: .14rem; color: #4b6156; font-size: .78rem; line-height: 1.45; }

.box-card-design { display: flex; flex-direction: column; }
.box-card-design header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .75rem;
  padding: .9rem clamp(.95rem, 1.8vw, 1.3rem) .58rem;
}
.box-card-deck-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
  padding: 0 clamp(.95rem, 1.8vw, 1.3rem) .82rem;
  border-bottom: 1px solid rgba(19, 64, 46, .08);
}
.box-deck-tab {
  min-height: 34px;
  padding: .18rem .72rem;
  border: 1px solid rgba(19, 64, 46, .14);
  border-radius: 9999px;
  background: #f3f9f5;
  color: #2f5946;
  font-size: .78rem;
  font-weight: 600;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.box-deck-tab:hover { border-color: var(--box-emerald-mid); }
.box-deck-tab[aria-pressed="true"] {
  border-color: var(--box-emerald);
  background: var(--box-emerald);
  color: #fff6df;
  font-weight: 660;
}
.box-card-design h3 { margin: 0; font-size: clamp(1.06rem, 1.6vw, 1.34rem); font-weight: 680; line-height: 1.3; color: var(--box-emerald); }
.box-card-design header p { margin-top: .16rem; color: #4b6156; font-size: .83rem; }
.box-card-picker {
  display: inline-flex;
  gap: .12rem;
  padding: .16rem;
  border: 1px solid rgba(19, 64, 46, .1);
  border-radius: 9999px;
  background: #eef6f1;
}
.box-card-picker label { position: relative; cursor: pointer; }
.box-card-picker input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.box-card-picker span {
  display: grid;
  min-height: 34px;
  place-items: center;
  padding-inline: .76rem;
  border-radius: 9999px;
  color: #2f5946;
  font-size: .8rem;
  font-weight: 620;
}
.box-card-picker input:checked + span { background: var(--box-emerald); color: #ffffff; }
.box-card-picker input:focus-visible + span { outline: 2px solid var(--box-cobalt); outline-offset: 2px; }

.box-card-stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .95rem;
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  background: radial-gradient(ellipse at 48% 22%, #f9fbfa 0%, #e4f0e8 84%);
}
.box-flip-scene {
  width: min(100%, 16rem);
  aspect-ratio: 63 / 88;
  perspective: 1100px;
}
.box-flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  cursor: pointer;
  border-radius: .82rem;
  transition: transform .58s cubic-bezier(.22, .85, .32, 1);
}
.box-flip-card.is-flipped { transform: rotateY(180deg); }
.box-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: .82rem;
  background: #132c22;
  box-shadow: 0 .85rem 2.2rem rgba(19, 44, 34, .24);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.box-card-front img,
.box-card-back img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box-card-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 240, 195, .2) 0%, transparent 40%, rgba(255, 255, 255, .08) 60%, transparent 100%);
  opacity: .5;
  pointer-events: none;
}
.box-card-back { transform: rotateY(180deg); }
.box-card-meta-strip {
  margin: -.2rem 0 0;
  color: #466153;
  font-size: .78rem;
  line-height: 1.5;
  text-align: center;
}
.box-card-stage-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.box-card-action-btn {
  min-height: 38px;
  padding: .28rem .88rem;
  border: 1px solid rgba(19, 64, 46, .22);
  border-radius: 9999px;
  background: #ffffff;
  color: var(--box-emerald);
  font-size: .82rem;
  font-weight: 640;
  box-shadow: 0 2px 8px -4px rgba(19, 64, 46, .16);
}
.box-card-action-btn:hover { border-color: var(--box-emerald); background: #f0f8f3; }
.box-card-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--box-emerald-mid);
  font-size: .82rem;
  font-weight: 620;
  text-decoration: underline;
  text-underline-offset: .25em;
}

/* ==========================================================================
   Band 6 · 05 Customization Workbench (Mist Band + Dual 24px Porcelain Cards)
   ========================================================================== */
.box-privacy-pill {
  display: inline-flex;
  align-items: center;
  padding: .22rem .76rem;
  border: 1px solid rgba(16, 185, 129, .26);
  border-radius: 9999px;
  background: rgba(16, 185, 129, .1);
  color: #047857;
  font-size: .78rem;
  font-weight: 640;
  white-space: nowrap;
}
.box-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: start;
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.box-config-panel,
.box-card-studio {
  min-width: 0;
  padding: clamp(1.1rem, 2.3vw, 1.65rem);
  border: 1px solid var(--box-line);
  border-radius: var(--box-radius-lg);
  background: #ffffff;
  box-shadow: var(--box-shadow-card);
}
.box-config-group + .box-config-group {
  margin-top: 1.05rem;
  padding-top: 1rem;
  border-top: 1px solid var(--box-line);
}
.box-config-label {
  margin-bottom: .55rem;
  color: var(--box-ink);
  font-size: .9rem;
  font-weight: 680;
}
.box-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.box-opt-chip {
  min-height: 38px;
  padding: .3rem .84rem;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: #f8fafc;
  color: #334155;
  font-size: .85rem;
  font-weight: 560;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.box-opt-chip:hover {
  border-color: rgba(35, 80, 220, .35);
  background: #eef4ff;
  color: var(--box-cobalt);
}
.box-opt-chip[aria-pressed="true"] {
  border-color: var(--box-obsidian);
  background: var(--box-obsidian);
  color: #ffffff;
  font-weight: 640;
}

.box-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
  gap: .65rem;
  margin-top: .72rem;
}
.box-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}
.box-field span {
  color: var(--box-muted);
  font-size: .79rem;
  font-weight: 600;
}
.box-field input,
.box-field textarea {
  width: 100%;
  min-height: 42px;
  padding: .48rem .78rem;
  border: 1px solid var(--box-line-strong);
  border-radius: .75rem;
  background: #f8fafd;
  color: var(--box-ink);
  font: .89rem/1.5 var(--sans);
  transition: border-color .15s ease, background-color .15s ease;
}
.box-field textarea { min-height: 5.2rem; resize: vertical; }
.box-field--full { grid-column: 1 / -1; }
.box-field input:focus-visible,
.box-field textarea:focus-visible {
  outline: 2px solid var(--box-cobalt);
  outline-offset: 1px;
  border-color: var(--box-cobalt);
  background: #ffffff;
}

.box-quick-ideas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .38rem;
  margin-top: .58rem;
  font-size: .79rem;
  color: var(--box-muted);
}
.box-quick-ideas button {
  min-height: 32px;
  padding: .16rem .62rem;
  border: 1px dashed rgba(35, 80, 220, .3);
  border-radius: 9999px;
  background: #f5f8ff;
  color: var(--box-cobalt);
  font-size: .77rem;
  font-weight: 580;
}
.box-quick-ideas button:hover {
  border-style: solid;
  background: #e8f0ff;
}

/* Compact Live Brief Summary Bar */
.box-brief-box {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--box-line);
}
.box-brief-summary-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem .85rem;
  padding: .78rem .92rem;
  border: 1px solid rgba(35, 80, 220, .14);
  border-radius: .95rem;
  background: linear-gradient(135deg, #f6f9ff 0%, #f9fafd 100%);
}
.box-brief-summary-main {
  display: flex;
  flex-direction: column;
  gap: .24rem;
  min-width: 0;
  flex: 1 1 13rem;
}
.box-brief-kicker {
  align-self: flex-start;
  padding: .1rem .52rem;
  border-radius: 9999px;
  background: rgba(35, 80, 220, .1);
  color: var(--box-cobalt);
  font-size: .72rem;
  font-weight: 680;
}
.box-brief-summary {
  margin: 0;
  color: var(--box-ink);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.box-brief-summary-tools {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: none;
}
.box-brief-toggle {
  min-height: 34px;
  padding: .22rem .72rem;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: #ffffff;
  color: #334155;
  font-size: .78rem;
  font-weight: 620;
  white-space: nowrap;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.box-brief-toggle:hover {
  border-color: var(--box-cobalt);
  color: var(--box-cobalt);
}
.box-brief-toggle[aria-expanded="true"] {
  border-color: var(--box-obsidian);
  background: var(--box-obsidian);
  color: #ffffff;
}
.box-brief-reset {
  flex: none;
  min-height: 34px;
  padding: .15rem .42rem;
  border: 0;
  background: transparent;
  color: var(--box-subtle);
  font-size: .78rem;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.box-brief-reset:hover { color: var(--box-ink); }
.box-brief-drawer { margin-top: .58rem; }
.box-brief-textarea {
  width: 100%;
  padding: .78rem .88rem;
  border: 1px solid var(--box-line-strong);
  border-radius: .85rem;
  background: #f8fafd;
  color: var(--box-ink);
  font: .86rem/1.62 var(--sans);
  resize: vertical;
}
.box-brief-status {
  margin-top: .45rem;
  min-height: 1.25em;
  color: #047857;
  font-size: .82rem;
  font-weight: 620;
}
.box-brief-status:empty { display: none; }
.box-brief-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: .72rem;
  gap: .58rem .78rem;
}
.box-mail-brief {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--box-cobalt);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .25em;
}

/* Right Column: Dual-Face Collector Card Studio */
.box-card-studio-titlebar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .65rem .85rem;
}
.box-card-studio-head h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 680;
  color: var(--box-ink);
}
.box-card-studio-head p {
  margin-top: .22rem;
  color: var(--box-muted);
  font-size: .85rem;
  line-height: 1.58;
}
.box-studio-face-tabs {
  position: relative;
  display: inline-flex;
  gap: .15rem;
  padding: .18rem;
  border: 1px solid var(--box-line);
  border-radius: 9999px;
  background: #f1f5f9;
  flex: none;
}
.box-studio-face-tabs .xh-seg-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 9999px;
  background: var(--box-obsidian);
  box-shadow: 0 3px 10px -4px rgba(15, 23, 42, .35);
  pointer-events: none;
  transition: transform .24s var(--box-ease), width .24s var(--box-ease), height .24s var(--box-ease), opacity .18s ease;
}
.box-studio-face-btn {
  position: relative;
  z-index: 1;
  min-height: 34px;
  padding: .2rem .76rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--box-muted);
  font-size: .79rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.box-studio-face-btn[aria-pressed="true"] {
  background: var(--box-obsidian);
  color: #ffffff;
}
.box-studio-face-tabs[data-seg-ready="true"] .box-studio-face-btn[aria-pressed="true"] {
  background: transparent;
  color: #ffffff;
}

.box-studio-preview-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.box-canvas-frame {
  width: min(100%, 15.6rem);
  margin-inline: auto;
  aspect-ratio: 63 / 88;
  border-radius: .95rem;
  overflow: hidden;
  box-shadow: 0 18px 42px -14px rgba(15, 23, 42, .26);
  background: #132238;
}
.box-canvas-frame canvas { display: block; width: 100%; height: 100%; }
.box-studio-controls {
  display: flex;
  flex-direction: column;
  gap: .82rem;
  min-width: 0;
}
.box-card-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.box-card-form .box-theme-picker { grid-column: 1 / -1; }

.box-dropzone {
  padding: .88rem;
  border: 1.5px dashed rgba(35, 80, 220, .26);
  border-radius: .95rem;
  background: #f8faff;
  transition: border-color .16s ease, background-color .16s ease;
}
.box-dropzone.is-dragover {
  border-color: var(--box-cobalt);
  background: #ebf2ff;
}
.box-dropzone-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}
.box-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .3rem .92rem;
  border-radius: 9999px;
  background: var(--box-obsidian);
  color: #ffffff;
  font-size: .84rem;
  font-weight: 620;
  cursor: pointer;
  transition: background-color .15s ease;
}
.box-upload-btn:hover { background: var(--box-cobalt); }
.box-dropzone input:focus-visible ~ .box-dropzone-actions .box-upload-btn {
  outline: 3px solid var(--box-cobalt);
  outline-offset: 2px;
}
.box-demo-btn, .box-fit-btn, .box-remove-btn {
  min-height: 38px;
  padding: .24rem .76rem;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: #ffffff;
  color: #334155;
  font-size: .8rem;
  font-weight: 600;
}
.box-demo-btn {
  border-color: rgba(35, 80, 220, .22);
  background: #eef4ff;
  color: var(--box-cobalt);
}
.box-demo-btn:hover { background: #e0ebff; border-color: var(--box-cobalt); }
.box-remove-btn { color: #b91c1c; border-color: rgba(239, 68, 68, .3); }
.box-dropzone > p {
  margin-top: .45rem;
  color: var(--box-subtle);
  font-size: .78rem;
  line-height: 1.5;
}
.box-reference-status {
  margin-top: .35rem;
  color: var(--box-cobalt);
  font-size: .81rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.box-reference-status:empty { display: none; }

.box-photo-adjust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem .75rem;
  margin-top: .68rem;
  padding-top: .65rem;
  border-top: 1px dashed rgba(35, 80, 220, .2);
}
.box-adjust-item { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.box-adjust-item span { display: flex; justify-content: space-between; color: var(--box-muted); font-size: .74rem; font-weight: 600; }
.box-adjust-item strong { color: var(--box-cobalt); font-variant-numeric: tabular-nums; }
.box-adjust-item input[type="range"] { width: 100%; margin: 0; accent-color: var(--box-cobalt); cursor: pointer; }
.box-adjust-reset {
  min-height: 34px;
  padding: .2rem .66rem;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: #ffffff;
  color: #334155;
  font-size: .76rem;
  font-weight: 600;
  white-space: nowrap;
}
.box-adjust-reset:hover { border-color: var(--box-cobalt); color: var(--box-cobalt); }

.box-theme-picker > span {
  display: block;
  margin-bottom: .38rem;
  color: var(--box-muted);
  font-size: .79rem;
  font-weight: 600;
}
.box-theme-swatches { display: flex; flex-wrap: wrap; gap: .4rem; }
.box-swatch-btn {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 36px;
  padding: .24rem .72rem;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: #ffffff;
  color: #334155;
  font-size: .8rem;
  font-weight: 580;
}
.box-swatch-btn[aria-pressed="true"] {
  border-color: var(--box-obsidian);
  background: #f1f5f9;
  color: var(--box-ink);
  font-weight: 680;
}
.swatch-dot {
  width: .78rem;
  height: .78rem;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, .18);
  flex: none;
}
.swatch-dot--star { background: linear-gradient(135deg, #162749, #d4a94f); }
.swatch-dot--emerald { background: linear-gradient(135deg, #163d2d, #c9a151); }
.swatch-dot--botanical { background: linear-gradient(135deg, #faf1dc, #b38332); }
.swatch-dot--aegean { background: linear-gradient(135deg, #1a7285, #e0bd74); }

.box-card-export-actions { display: flex; flex-wrap: wrap; gap: .52rem; }
.box-export-btn {
  flex: 1 1 auto;
  min-height: 44px;
  padding: .45rem 1.05rem;
  border: 0;
  border-radius: 9999px;
  background: var(--box-emerald);
  color: #fff6df;
  font-size: .88rem;
  font-weight: 640;
  box-shadow: 0 10px 22px -10px rgba(19, 64, 46, .48);
  transition: background-color .15s ease, transform .16s ease;
}
.box-export-btn:hover { background: var(--box-emerald-mid); transform: translateY(-1px); }
.box-flip-studio-btn {
  min-height: 44px;
  padding: .45rem .95rem;
  border: 1px solid var(--box-line-strong);
  border-radius: 9999px;
  background: #ffffff;
  color: var(--box-ink);
  font-size: .85rem;
  font-weight: 620;
  white-space: nowrap;
}
.box-flip-studio-btn:hover { border-color: var(--box-cobalt); color: var(--box-cobalt); background: #f5f8ff; }
.box-share-btn {
  min-height: 44px;
  padding: .45rem .95rem;
  border: 1px solid rgba(35, 80, 220, .28);
  border-radius: 9999px;
  background: #ffffff;
  color: var(--box-cobalt);
  font-size: .85rem;
  font-weight: 620;
}
.box-export-hint {
  color: var(--box-subtle);
  font-size: .78rem;
  line-height: 1.55;
}

/* ==========================================================================
   Band 7 · 06 Transparent Guide (Official Website Morandi Luminous Pastels)
   ========================================================================== */
.box-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.05rem;
}
.box-guide-card {
  display: flex;
  flex-direction: column;
  gap: .52rem;
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  border: 1px solid rgba(15, 23, 42, .05);
  border-radius: var(--box-radius-lg);
}
.box-guide-card--indigo { background: linear-gradient(155deg, #eef2ff 0%, #dde6ff 58%, #e9e6ff 100%); }
.box-guide-card--amber { background: linear-gradient(155deg, #fff6ec 0%, #fde9d4 58%, #fff1e2 100%); }
.box-guide-card--sky { background: linear-gradient(155deg, #eef9ff 0%, #d9efff 58%, #e7f4ff 100%); }
.box-guide-card--emerald { background: linear-gradient(155deg, #ecfaf3 0%, #d8f4e6 58%, #e7f8ef 100%); }

.box-guide-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .16rem .62rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .82);
  color: #334155;
  font-size: .75rem;
  font-weight: 620;
  letter-spacing: .02em;
}
.box-guide-card h3 {
  margin: .1rem 0 0;
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  font-weight: 660;
  letter-spacing: -.015em;
  color: var(--box-ink);
}
.box-guide-card p {
  margin: 0;
  color: #475569;
  font-size: .9rem;
  line-height: 1.68;
}
.box-guide-card p strong { color: var(--box-ink); font-weight: 640; }

.box-qa-list {
  display: grid;
  gap: .65rem;
  margin-top: 1.25rem;
}
.box-qa-item {
  padding: .25rem 1.15rem .35rem;
  border: 1px solid var(--box-line);
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 2px 10px -6px rgba(15, 23, 42, .06);
}
.box-qa-item summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  color: var(--box-ink);
  font-weight: 620;
  font-size: .94rem;
  cursor: pointer;
  list-style: none;
}
.box-qa-item summary::-webkit-details-marker { display: none; }
.box-qa-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--box-cobalt);
}
.box-qa-item[open] summary::after { content: "−"; }
.box-qa-item p {
  padding-bottom: .8rem;
  color: var(--box-muted);
  font-size: .9rem;
  line-height: 1.7;
}

/* ==========================================================================
   Band 8 · Soft Sky-Blue Atmospheric Closing Band (1:1 Homepage & Checklist)
   ========================================================================== */
.box-connect-band {
  padding-block: clamp(2.8rem, 5.4vw, 4.4rem);
  background:
    radial-gradient(ellipse 68% 60% at 80% 15%, rgba(147, 197, 253, .38), transparent 62%),
    linear-gradient(165deg, #eef6ff 0%, #e4effe 46%, #f6f8fc 100%);
  border-top: 1px solid var(--box-line);
}
.box-connect-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1.5rem, 3.6vw, 3rem);
  padding: clamp(1.5rem, 3.4vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 42px -18px rgba(23, 45, 96, .12);
}
.box-connect-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.box-connect-brand img {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  box-shadow: 0 10px 24px -8px rgba(35, 80, 220, .28);
  flex: none;
}
.box-connect-kicker {
  display: block;
  font-size: .72rem;
  font-weight: 660;
  letter-spacing: .06em;
  color: var(--box-cobalt);
}
.box-connect-brand h2 {
  margin: .18rem 0 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 670;
  line-height: 1.24;
  letter-spacing: -.025em;
  color: var(--box-ink);
}
.box-connect-lead > p {
  margin: .85rem 0 1.25rem;
  color: var(--box-muted);
  font-size: .93rem;
  line-height: 1.72;
}
.box-connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.box-ecosystem {
  display: grid;
  gap: .68rem;
}
.box-eco-card {
  display: flex;
  align-items: center;
  gap: .78rem;
  padding: .88rem 1.05rem;
  border: 1px solid var(--box-line);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, .94);
  color: var(--box-ink);
  text-decoration: none;
  box-shadow: 0 2px 8px -4px rgba(15, 23, 42, .05);
  transition: transform .18s var(--box-ease), border-color .16s ease, background-color .16s ease, box-shadow .18s ease;
}
.box-eco-card:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 80, 220, .28);
  background: #ffffff;
  box-shadow: 0 12px 26px -14px rgba(15, 23, 42, .14);
}
.box-eco-card--featured {
  border-color: rgba(35, 80, 220, .2);
  background: linear-gradient(135deg, rgba(244, 248, 255, .98), rgba(255, 250, 240, .96));
}
.box-eco-card img {
  width: 38px;
  height: 38px;
  border-radius: 26%;
  box-shadow: 0 4px 10px -4px rgba(15, 23, 42, .16);
  flex: none;
}
.box-eco-copy {
  display: flex;
  flex-direction: column;
  gap: .14rem;
  min-width: 0;
}
.box-eco-copy strong {
  font-size: .94rem;
  font-weight: 640;
  color: var(--box-ink);
}
.box-eco-copy span {
  color: var(--box-muted);
  font-size: .81rem;
  line-height: 1.45;
}
.box-eco-tag {
  display: inline-flex;
  align-items: center;
  margin-inline-start: .36rem;
  padding: .06rem .44rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #2554e6, #4f46e5);
  color: #ffffff;
  font-style: normal;
  font-size: .68rem;
  font-weight: 620;
  vertical-align: middle;
}
.box-eco-arrow {
  margin-left: auto;
  color: #94a3b8;
  font-size: .95rem;
  transition: transform .18s ease, color .18s ease;
}
.box-eco-card:hover .box-eco-arrow {
  color: var(--box-cobalt);
  transform: translateX(3px);
}

/* ==========================================================================
   Responsive Breakpoints (1440 -> 320px Zero Overflow)
   ========================================================================== */
@media (max-width: 68rem) {
  .box-gallery-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .box-lineage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .box-studio-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 56rem) {
  .box-subnav-cta { display: none; }
  .box-subnav-links {
    padding-right: 1.5rem;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 86%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 86%, transparent 100%);
  }
  .box-hero { grid-template-columns: minmax(0, 1fr); }
  .box-gallery-stage { grid-template-columns: minmax(0, 1fr); }
  .box-model-stage { min-height: clamp(18rem, 70vw, 26rem); }
  .box-heading-split { grid-template-columns: minmax(0, 1fr); }
  .box-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box-package-grid { grid-template-columns: minmax(0, 1fr); }
  .box-connect-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 44rem) {
  .box-subnav-brand span { display: none; }
  .box-subnav-inner { gap: .45rem; min-height: 3.1rem; }
  .box-hero-band { padding-block: 1.25rem 1.75rem; }
  .box-eyebrow { margin-bottom: .65rem; padding: .22rem .72rem .22rem .3rem; font-size: .78rem; }
  .box-eyebrow img { width: 20px; height: 20px; }
  .box-intro h1 { font-size: clamp(1.88rem, 7.8vw, 2.55rem); line-height: 1.15; }
  .box-lead { margin-top: .58rem; font-size: .9rem; line-height: 1.62; }
  .box-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .42rem; margin-top: .85rem; }
  .box-highlights li { padding: .48rem .46rem; border-radius: .78rem; }
  .box-highlights strong { font-size: .84rem; }
  .box-highlights span { margin-top: .08rem; font-size: .69rem; line-height: 1.3; }
  .box-hero-actions { width: 100%; margin-top: .95rem; gap: .5rem; }
  .box-hero-actions .box-btn-obsidian,
  .box-hero-actions .box-btn-ghost { flex: 1 1 auto; min-height: 44px; padding-inline: 1rem; font-size: .88rem; }
  .box-hero-sublinks { margin-top: .55rem; }
  .box-showcase-shell { padding: .45rem; border-radius: 1.35rem; }
  .box-model-stage { min-height: clamp(17rem, 64vw, 21.5rem); }
  .box-model-caption { padding: .78rem .92rem .88rem; gap: .55rem; }

  .box-band { padding-block: 2.2rem 2.4rem; }
  .box-gallery-filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    padding: .15rem .1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .box-gallery-filters::-webkit-scrollbar { display: none; }
  .box-gallery-filters .xh-seg-indicator { display: none; }
  .box-filter-pill {
    flex: none;
    border: 1px solid var(--box-line-strong);
    background: rgba(255, 255, 255, .94);
    font-size: .81rem;
  }
  .box-gallery-filters[data-seg-ready="true"] .box-filter-pill[aria-pressed="true"],
  .box-filter-pill[aria-pressed="true"] {
    border-color: var(--box-obsidian);
    background: var(--box-obsidian);
    color: #ffffff;
  }

  .box-gallery-strip {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
  }
  .box-gallery-strip::-webkit-scrollbar { display: none; }
  .box-thumb-card { flex: 0 0 9.6rem; }
  .box-swatch-grid { grid-template-columns: minmax(0, 1fr); }

  .box-steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: .65rem;
    margin-top: 1.15rem;
    padding-bottom: .25rem;
  }
  .box-steps::-webkit-scrollbar { display: none; }
  .box-steps li { flex: 0 0 13.6rem; scroll-snap-align: start; padding: .88rem .92rem; }
  .box-work-photos { grid-template-columns: minmax(0, 1fr); margin-top: 1.15rem; }

  .box-sizing-obsidian { padding: 1.35rem 1.05rem; border-radius: 1.35rem; }
  .box-lineage-pager { display: flex; }
  .box-lineage-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: .68rem;
    margin-top: .68rem;
    padding-bottom: .3rem;
  }
  .box-lineage-grid::-webkit-scrollbar { display: none; }
  .box-lineage-card { flex: 0 0 14.6rem; scroll-snap-align: center; padding: .88rem .9rem; }

  .box-carton-switcher {
    max-width: calc(100% - 1.5rem);
    margin: .68rem .75rem;
    border-radius: 1rem;
  }
  .box-carton-switcher .xh-seg-indicator { display: none; }
  .box-carton-switcher[data-seg-ready="true"] .box-carton-tab[aria-pressed="true"] {
    background: var(--box-emerald);
    color: #fff6df;
  }
  .box-unbox-list { grid-template-columns: minmax(0, 1fr); }
  .box-input-row, .box-card-form { grid-template-columns: minmax(0, 1fr); }
  .box-photo-adjust { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .box-adjust-reset { justify-self: start; }
  .box-guide-grid { grid-template-columns: minmax(0, 1fr); gap: .78rem; }
  .box-connect-panel { padding: 1.25rem 1.05rem; border-radius: 1.35rem; }
  .box-connect-actions .box-btn-obsidian,
  .box-connect-actions .box-btn-ghost { width: 100%; }
}
@media (max-width: 30rem) {
  .box-stage-launch { padding: .4rem .8rem; font-size: .79rem; }
  .box-launch-size { display: none; }
  .box-card-stage { padding: .95rem .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .box-flip-card { transition: none; transform: none !important; }
  .box-flip-card:not(.is-flipped) .box-card-back { display: none; }
  .box-flip-card.is-flipped .box-card-front { display: none; }
  .box-flip-card.is-flipped .box-card-back { transform: none; display: block; }
  .box-cad-highlight,
  .box-gallery-filters .xh-seg-indicator,
  .box-carton-switcher .xh-seg-indicator,
  .box-studio-face-tabs .xh-seg-indicator { transition: none; }
}

/* ==========================================================================
   Dark Mode 1:1 · 官网 #0b0f19 曜石星夜 × 珠白胶囊 × 翡翠香槟金细节
   ========================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b0f19;
  --ink: #f8fafc;
  --secondary: #9aa7bd;
  --rule: rgba(255, 255, 255, .09);
  --cobalt: #7aa2ff;
  --ultramarine: #93b8ff;
  --oat: #141c2e;
}
html[data-theme="dark"] body.box-body {
  --box-canvas: #0b0f19;
  --box-mist: #0f1523;
  --box-surface: #141c2e;
  --box-ink: #f8fafc;
  --box-muted: #9aa7bd;
  --box-subtle: #8391a8;
  --box-line: rgba(255, 255, 255, .09);
  --box-line-strong: rgba(255, 255, 255, .16);
  --box-obsidian: #f8fafc;
  --box-cobalt: #7aa2ff;
  --box-cobalt-soft: rgba(122, 162, 255, .15);
  --box-gold: #f0cd82;
  --box-emerald: #d8f4e5;
  --box-emerald-mid: #7ad4a7;
  --box-shadow-card: 0 18px 42px -18px rgba(0, 0, 0, .55);
  background: #0b0f19;
  color: #f8fafc;
}
html[data-theme="dark"] ::selection {
  background: rgba(122, 162, 255, .34);
  color: #ffffff;
}
html[data-theme="dark"] :focus-visible { outline-color: #93c5fd; }
html[data-theme="dark"] .skip-link { background: #141c2e; color: #93c5fd; }

/* Shared 60px top header & account pass pill in dark mode */
html[data-theme="dark"] body.box-body > header.site-header.studio-nav {
  background: rgba(11, 15, 25, .9);
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .identity .brand-name {
  background: linear-gradient(102deg, #ffffff 18%, #bfd6ff 62%, #74a9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .identity .wordmark {
  background: linear-gradient(100deg, #e2ecff 16%, #9ac0ff 60%, #6ea4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html[data-theme="dark"] body.box-body > header.site-header.studio-nav nav > a,
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .home-product-menu summary {
  color: #b8c2d0;
}
html[data-theme="dark"] body.box-body > header.site-header.studio-nav nav > a:hover,
html[data-theme="dark"] body.box-body > header.site-header.studio-nav nav > a[aria-current="page"],
html[data-theme="dark"] body.box-body > header.site-header.studio-nav nav > a.current-section {
  color: #ffffff;
}
html[data-theme="dark"] body.box-body > header.site-header.studio-nav nav > a::after {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
}
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: #e6ecf5;
  box-shadow: none;
}
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill:hover {
  border-color: rgba(96, 165, 250, .48);
  background: rgba(96, 165, 250, .14);
  color: #bcd6ff;
}
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill .site-account-pass {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .18);
  color: #e6ecf5;
}
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill .site-account-pass[data-tier="bronze"] { background: rgba(234, 88, 12, .2); border-color: rgba(251, 146, 60, .42); color: #fed7aa; }
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill .site-account-pass[data-tier="silver"] { background: rgba(148, 163, 184, .2); border-color: rgba(203, 213, 225, .38); color: #f1f5f9; }
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill .site-account-pass[data-tier="gold"] { background: rgba(251, 191, 36, .18); border-color: rgba(251, 191, 36, .42); color: #fde68a; }
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill .site-account-pass[data-tier="platinum"] { background: rgba(34, 211, 238, .17); border-color: rgba(34, 211, 238, .4); color: #a5f3fc; }
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill .site-account-pass[data-tier="diamond"] { background: rgba(96, 165, 250, .2); border-color: rgba(96, 165, 250, .44); color: #bfdbfe; }
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill .site-account-pass[data-tier="master"] { background: rgba(192, 132, 252, .2); border-color: rgba(192, 132, 252, .44); color: #e9d5ff; }
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill .site-account-pass[data-tier="grandmaster"] { background: rgba(251, 113, 133, .2); border-color: rgba(251, 113, 133, .44); color: #fecdd3; }
html[data-theme="dark"] body.box-body > header.site-header.studio-nav .site-account-pill .site-account-pass[data-tier="radiant"] { background: linear-gradient(115deg, rgba(59, 130, 246, .28), rgba(167, 139, 250, .28) 55%, rgba(45, 212, 191, .28)); border-color: rgba(125, 246, 226, .48); color: #fef3c7; }

/* Subnav dark */
html[data-theme="dark"] .box-subnav {
  background: rgba(11, 15, 25, .88);
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-theme="dark"] .box-subnav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}
html[data-theme="dark"] .box-subnav-links a[aria-current="location"] {
  background: #f8fafc;
  color: #0b0f19;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, .5);
}
html[data-theme="dark"] .box-theme-toggle {
  border-color: rgba(122, 162, 255, .3);
  background: rgba(18, 25, 42, .9);
  color: #fde68a;
}
html[data-theme="dark"] .box-theme-toggle:hover {
  border-color: #93c5fd;
  background: rgba(37, 84, 230, .22);
  color: #ffffff;
}
html[data-theme="dark"] .box-subnav-cta,
html[data-theme="dark"] .box-btn-obsidian {
  background: #f8fafc;
  color: #0b0f19;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] .box-subnav-cta:hover,
html[data-theme="dark"] .box-btn-obsidian:hover {
  background: #93c5fd;
  color: #071024;
  box-shadow: 0 12px 28px -10px rgba(122, 162, 255, .45);
}
html[data-theme="dark"] .box-btn-ghost {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #e2e8f0;
}
html[data-theme="dark"] .box-btn-ghost:hover {
  border-color: rgba(147, 197, 253, .48);
  background: rgba(122, 162, 255, .14);
  color: #ffffff;
}

/* Band 1 Hero dark (1:1 Official Website #0b0f19 Starry Grid) */
html[data-theme="dark"] .box-hero-band {
  background:
    radial-gradient(ellipse 64% 64% at 74% 48%, rgba(79, 134, 255, .18), transparent 66%),
    radial-gradient(ellipse 46% 52% at 88% 82%, rgba(245, 179, 66, .13), transparent 60%),
    linear-gradient(128deg, #0b0f19 14%, #0f1729 52%, #11162a 100%);
  border-bottom-color: rgba(255, 255, 255, .07);
}
html[data-theme="dark"] .box-hero-band::before {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
}
html[data-theme="dark"] .box-hero-band::after {
  background: linear-gradient(115deg, transparent 22%, rgba(122, 162, 255, .08) 44%, transparent 62%);
}
html[data-theme="dark"] .box-eyebrow,
html[data-theme="dark"] .box-kicker-pill {
  border-color: rgba(122, 162, 255, .24);
  background: rgba(18, 25, 42, .88);
  color: #cbd5e1;
  box-shadow: 0 2px 12px -4px rgba(0, 0, 0, .45);
}
html[data-theme="dark"] .box-kicker-pill { color: #93c5fd; }
html[data-theme="dark"] .box-kicker-pill--emerald {
  border-color: rgba(122, 212, 167, .28);
  color: #7ad4a7;
}
html[data-theme="dark"] .box-intro h1 span,
html[data-theme="dark"] .box-center-head h2 span {
  background: linear-gradient(100deg, #7aa2ff 0%, #a5b4fc 52%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html[data-theme="dark"] .box-highlights li {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(20, 28, 46, .78);
}
html[data-theme="dark"] .box-hero-jump { color: #cbd5e1; }
html[data-theme="dark"] .box-hero-jump:hover { background: rgba(255, 255, 255, .07); color: #ffffff; }
html[data-theme="dark"] .box-hero-jump-dot {
  border-color: rgba(122, 162, 255, .35);
  background: rgba(18, 25, 42, .9);
  color: #93c5fd;
}
html[data-theme="dark"] .box-showcase-shell {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(20, 28, 46, .88);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .62);
}

/* Band 2 Gallery dark */
html[data-theme="dark"] .box-gallery-filters {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(18, 25, 42, .92);
}
html[data-theme="dark"] .box-gallery-filters .xh-seg-indicator {
  background: #f8fafc;
}
html[data-theme="dark"] .box-filter-pill[aria-pressed="true"] {
  background: #f8fafc;
  color: #0b0f19;
}
html[data-theme="dark"] .box-gallery-filters[data-seg-ready="true"] .box-filter-pill[aria-pressed="true"] {
  background: transparent;
  color: #0b0f19;
}
@media (max-width: 44rem) {
  html[data-theme="dark"] .box-gallery-filters {
    border: 0;
    background: transparent;
  }
  html[data-theme="dark"] .box-filter-pill {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: #cbd5e1;
  }
  html[data-theme="dark"] .box-gallery-filters[data-seg-ready="true"] .box-filter-pill[aria-pressed="true"],
  html[data-theme="dark"] .box-filter-pill[aria-pressed="true"] {
    border-color: #f8fafc;
    background: #f8fafc;
    color: #0b0f19;
  }
}

html[data-theme="dark"] .box-thumb-card {
  border-color: rgba(255, 255, 255, .09);
  background: #141c2e;
  color: #f1f5f9;
}
html[data-theme="dark"] .box-thumb-card:hover {
  border-color: rgba(122, 162, 255, .42);
  background: #18233a;
}
html[data-theme="dark"] .box-thumb-card.is-active {
  border-color: #7aa2ff;
  background: linear-gradient(135deg, #1b2847 0%, #152038 100%);
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(122, 162, 255, .36), 0 12px 26px -10px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] .box-thumb-card img { background: #eef1f7; }

html[data-theme="dark"] .box-turntable-panel,
html[data-theme="dark"] .box-dossier-panel,
html[data-theme="dark"] .box-evolution-pill,
html[data-theme="dark"] .box-proof-card,
html[data-theme="dark"] .box-config-panel,
html[data-theme="dark"] .box-card-studio,
html[data-theme="dark"] .box-qa-item {
  border-color: rgba(255, 255, 255, .09);
  background: #141c2e;
}
html[data-theme="dark"] .box-turntable-topbar,
html[data-theme="dark"] .box-turntable-foot {
  border-color: rgba(255, 255, 255, .08);
  background: #141c2e;
}
html[data-theme="dark"] .box-view-tabs {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .06);
}
html[data-theme="dark"] .box-view-tab[aria-pressed="true"] {
  background: #f8fafc;
  color: #0b0f19;
}
/* Keep warm alabaster studio floor behind white-bg four-view sculpts so colors stay 100% accurate */
html[data-theme="dark"] .box-turntable-canvas {
  background: radial-gradient(ellipse at 50% 42%, #f4f2ec 0%, #e5e2da 88%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
}
html[data-theme="dark"] .box-dossier-dim {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #e2e8f0;
}
html[data-theme="dark"] .box-palette-box {
  border-color: rgba(255, 255, 255, .08);
  background: #0d1424;
}
html[data-theme="dark"] .box-palette-title-row span {
  background: rgba(16, 185, 129, .18);
  color: #6ee7b7;
}
html[data-theme="dark"] .box-swatch-grid li {
  border-color: rgba(255, 255, 255, .08);
  background: #162036;
}
html[data-theme="dark"] .box-swatch-grid i { border-color: rgba(255, 255, 255, .24); }
html[data-theme="dark"] .box-order-fold {
  border-color: rgba(52, 211, 153, .24);
  background: rgba(16, 185, 129, .12);
}
html[data-theme="dark"] .box-order-fold:hover {
  border-color: rgba(110, 231, 183, .45);
  background: rgba(16, 185, 129, .18);
}
html[data-theme="dark"] .box-order-fold summary { color: #a7f3d0; }
html[data-theme="dark"] .box-order-fold summary::after { color: #6ee7b7; }
html[data-theme="dark"] .box-paint-order { color: #d1fae5; }

/* Band 3 Process dark */
html[data-theme="dark"] .box-steps li {
  border-color: rgba(255, 255, 255, .08);
  background: #141c2e;
}
html[data-theme="dark"] .box-steps li:hover {
  border-color: rgba(122, 162, 255, .36);
  background: #18233a;
}
html[data-theme="dark"] .box-step-num { background: rgba(96, 165, 250, .18); color: #93c5fd; }
html[data-theme="dark"] .box-steps li:nth-child(2) .box-step-num { background: rgba(56, 189, 248, .18); color: #7dd3fc; }
html[data-theme="dark"] .box-steps li:nth-child(3) .box-step-num { background: rgba(251, 191, 36, .18); color: #fde68a; }
html[data-theme="dark"] .box-steps li:nth-child(4) .box-step-num { background: rgba(52, 211, 153, .18); color: #6ee7b7; }
html[data-theme="dark"] .box-steps li:nth-child(5) .box-step-num { background: rgba(167, 139, 250, .18); color: #c4b5fd; }
html[data-theme="dark"] .box-compare-before { background: #f3f4f8; }
html[data-theme="dark"] .box-mini-presets button {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #cbd5e1;
}
html[data-theme="dark"] .box-mini-presets button:hover {
  border-color: #7aa2ff;
  background: rgba(122, 162, 255, .18);
  color: #ffffff;
}
html[data-theme="dark"] .box-sample-tags span {
  background: rgba(255, 255, 255, .08);
  color: #cbd5e1;
}

/* Band 4 Obsidian CAD dark */
html[data-theme="dark"] .box-sizing-obsidian {
  border: 1px solid rgba(255, 255, 255, .09);
  background:
    radial-gradient(ellipse 52% 80% at 88% 92%, rgba(217, 119, 6, .18), transparent 64%),
    radial-gradient(ellipse 56% 78% at 14% 12%, rgba(59, 130, 246, .24), transparent 65%),
    #101626;
}

/* Band 5 Emerald Vault dark */
html[data-theme="dark"] .box-band--emerald {
  background:
    radial-gradient(ellipse 56% 64% at 84% 18%, rgba(16, 185, 129, .14), transparent 66%),
    radial-gradient(ellipse 46% 52% at 14% 84%, rgba(217, 119, 6, .1), transparent 64%),
    linear-gradient(155deg, #0c1916 0%, #0e1720 58%, #0b0f19 100%);
  border-bottom-color: rgba(122, 212, 167, .14);
}
html[data-theme="dark"] .box-packaging .box-center-head h2 { color: #eef8f3; }
html[data-theme="dark"] .box-carton-design,
html[data-theme="dark"] .box-card-design {
  border-color: rgba(122, 212, 167, .18);
  background: #121d1c;
}
html[data-theme="dark"] .box-carton-switcher {
  border-color: rgba(122, 212, 167, .18);
  background: #0d1615;
}
html[data-theme="dark"] .box-carton-switcher .xh-seg-indicator {
  background: #f0cd82;
}
html[data-theme="dark"] .box-carton-tab { color: #a7c9b8; }
html[data-theme="dark"] .box-carton-tab:hover { color: #ffffff; }
html[data-theme="dark"] .box-carton-tab[aria-pressed="true"] {
  background: #f0cd82;
  color: #16120a;
}
html[data-theme="dark"] .box-carton-switcher[data-seg-ready="true"] .box-carton-tab[aria-pressed="true"] {
  background: transparent;
  color: #16120a;
}
@media (max-width: 44rem) {
  html[data-theme="dark"] .box-carton-switcher[data-seg-ready="true"] .box-carton-tab[aria-pressed="true"] {
    background: #f0cd82;
    color: #16120a;
  }
}
html[data-theme="dark"] .box-carton-photo { background: #f2f1ec; }
html[data-theme="dark"] .box-carton-head strong,
html[data-theme="dark"] .box-card-design h3 { color: #eef8f3; }
html[data-theme="dark"] .box-carton-head span,
html[data-theme="dark"] .box-card-design header p { color: #9ab3a7; }
html[data-theme="dark"] .box-unbox-btn {
  border-color: rgba(122, 212, 167, .3);
  background: #162622;
  color: #c9ead9;
}
html[data-theme="dark"] .box-unbox-btn:hover { background: #1e352e; }
html[data-theme="dark"] .box-unbox-btn[aria-expanded="true"] {
  border-color: #f0cd82;
  background: #f0cd82;
  color: #16120a;
}
html[data-theme="dark"] .box-unbox-drawer { border-top-color: rgba(122, 212, 167, .2); }
html[data-theme="dark"] .box-unbox-lead { color: #c9ead9; }
html[data-theme="dark"] .box-unbox-list li {
  border-color: rgba(122, 212, 167, .14);
  background: #0d1615;
}
html[data-theme="dark"] .box-unbox-list strong { color: #7ad4a7; }
html[data-theme="dark"] .box-unbox-list span { color: #9eb3a8; }
html[data-theme="dark"] .box-card-deck-tabs { border-bottom-color: rgba(122, 212, 167, .14); }
html[data-theme="dark"] .box-deck-tab {
  border-color: rgba(122, 212, 167, .2);
  background: #162622;
  color: #bfe0cf;
}
html[data-theme="dark"] .box-deck-tab[aria-pressed="true"] {
  border-color: #f0cd82;
  background: #f0cd82;
  color: #16120a;
}
html[data-theme="dark"] .box-card-picker { background: #0d1615; border-color: rgba(122, 212, 167, .18); }
html[data-theme="dark"] .box-card-picker span { color: #9eb9ab; }
html[data-theme="dark"] .box-card-picker input:checked + span { background: #246f4e; color: #ffffff; }
html[data-theme="dark"] .box-card-stage {
  background: radial-gradient(ellipse at 48% 24%, #1b3329 0%, #0c1513 84%);
}
html[data-theme="dark"] .box-card-action-btn {
  border-color: rgba(122, 212, 167, .28);
  background: #162622;
  color: #eef8f3;
}
html[data-theme="dark"] .box-card-action-btn:hover { border-color: #f0cd82; background: #1e352e; }
html[data-theme="dark"] .box-card-action-link { color: #7ad4a7; }
html[data-theme="dark"] .box-card-meta-strip { color: #9eb3a8; }

/* Band 6 Workbench dark */
html[data-theme="dark"] .box-privacy-pill {
  border-color: rgba(52, 211, 153, .3);
  background: rgba(16, 185, 129, .16);
  color: #6ee7b7;
}
html[data-theme="dark"] .box-opt-chip {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .05);
  color: #cbd5e1;
}
html[data-theme="dark"] .box-opt-chip:hover {
  border-color: rgba(122, 162, 255, .5);
  background: rgba(122, 162, 255, .14);
  color: #ffffff;
}
html[data-theme="dark"] .box-opt-chip[aria-pressed="true"] {
  border-color: #f8fafc;
  background: #f8fafc;
  color: #0b0f19;
}
html[data-theme="dark"] .box-field input,
html[data-theme="dark"] .box-field textarea,
html[data-theme="dark"] .box-brief-textarea {
  border-color: rgba(255, 255, 255, .14);
  background: #0d1424;
  color: #f8fafc;
}
html[data-theme="dark"] .box-field input::placeholder,
html[data-theme="dark"] .box-field textarea::placeholder { color: #64748b; }
html[data-theme="dark"] .box-field input:focus-visible,
html[data-theme="dark"] .box-field textarea:focus-visible,
html[data-theme="dark"] .box-brief-textarea:focus-visible {
  outline-color: #7aa2ff;
  border-color: #7aa2ff;
  background: #0b1120;
}
html[data-theme="dark"] .box-quick-ideas button {
  border-color: rgba(122, 162, 255, .36);
  background: rgba(122, 162, 255, .1);
  color: #93c5fd;
}
html[data-theme="dark"] .box-quick-ideas button:hover { background: rgba(122, 162, 255, .2); }

html[data-theme="dark"] .box-brief-summary-bar {
  border-color: rgba(122, 162, 255, .24);
  background: linear-gradient(135deg, #10182b 0%, #0d1424 100%);
}
html[data-theme="dark"] .box-brief-kicker {
  background: rgba(122, 162, 255, .18);
  color: #93c5fd;
}
html[data-theme="dark"] .box-brief-toggle {
  border-color: rgba(255, 255, 255, .16);
  background: #1b253b;
  color: #e2e8f0;
}
html[data-theme="dark"] .box-brief-toggle:hover { border-color: #7aa2ff; color: #ffffff; }
html[data-theme="dark"] .box-brief-toggle[aria-expanded="true"] {
  border-color: #f8fafc;
  background: #f8fafc;
  color: #0b0f19;
}
html[data-theme="dark"] .box-brief-reset { color: #94a3b8; }
html[data-theme="dark"] .box-brief-reset:hover { color: #93c5fd; }
html[data-theme="dark"] .box-brief-status { color: #6ee7b7; }
html[data-theme="dark"] .box-mail-brief { color: #93c5fd; }

html[data-theme="dark"] .box-studio-face-tabs {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .06);
}
html[data-theme="dark"] .box-studio-face-tabs .xh-seg-indicator { background: #f8fafc; }
html[data-theme="dark"] .box-studio-face-btn[aria-pressed="true"] { background: #f8fafc; color: #0b0f19; }
html[data-theme="dark"] .box-studio-face-tabs[data-seg-ready="true"] .box-studio-face-btn[aria-pressed="true"] { background: transparent; color: #0b0f19; }

html[data-theme="dark"] .box-dropzone {
  border-color: rgba(122, 162, 255, .3);
  background: #0d1424;
}
html[data-theme="dark"] .box-dropzone.is-dragover {
  border-color: #7aa2ff;
  background: rgba(122, 162, 255, .14);
}
html[data-theme="dark"] .box-upload-btn { background: #f8fafc; color: #0b0f19; }
html[data-theme="dark"] .box-upload-btn:hover { background: #93c5fd; }
html[data-theme="dark"] .box-demo-btn {
  border-color: rgba(122, 162, 255, .32);
  background: rgba(122, 162, 255, .14);
  color: #bfdbfe;
}
html[data-theme="dark"] .box-demo-btn:hover { background: rgba(122, 162, 255, .24); }
html[data-theme="dark"] .box-fit-btn,
html[data-theme="dark"] .box-adjust-reset,
html[data-theme="dark"] .box-flip-studio-btn,
html[data-theme="dark"] .box-swatch-btn {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #e2e8f0;
}
html[data-theme="dark"] .box-fit-btn:hover,
html[data-theme="dark"] .box-adjust-reset:hover,
html[data-theme="dark"] .box-flip-studio-btn:hover,
html[data-theme="dark"] .box-swatch-btn:hover {
  border-color: rgba(122, 162, 255, .5);
  background: rgba(122, 162, 255, .14);
  color: #ffffff;
}
html[data-theme="dark"] .box-swatch-btn[aria-pressed="true"] {
  border-color: #f0cd82;
  background: rgba(240, 205, 130, .16);
  color: #fff6df;
}
html[data-theme="dark"] .box-remove-btn {
  border-color: rgba(248, 113, 113, .36);
  background: rgba(248, 113, 113, .1);
  color: #fca5a5;
}
html[data-theme="dark"] .box-photo-adjust { border-top-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .box-adjust-item input[type="range"] { accent-color: #7aa2ff; }
html[data-theme="dark"] .box-export-btn { background: #1f6b4b; color: #fff8e6; }
html[data-theme="dark"] .box-export-btn:hover { background: #27845d; }
html[data-theme="dark"] .box-share-btn {
  border-color: rgba(122, 162, 255, .36);
  background: rgba(122, 162, 255, .14);
  color: #bfdbfe;
}

/* Band 7 Morandi Guide Cards dark (1:1 Official Website Dark Pastels) */
html[data-theme="dark"] .box-guide-card { border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .box-guide-card--indigo { background: linear-gradient(155deg, #161d38 0%, #1d2648 100%); }
html[data-theme="dark"] .box-guide-card--amber { background: linear-gradient(155deg, #271d14 0%, #332519 100%); }
html[data-theme="dark"] .box-guide-card--sky { background: linear-gradient(155deg, #112233 0%, #162e45 100%); }
html[data-theme="dark"] .box-guide-card--emerald { background: linear-gradient(155deg, #10261e 0%, #153328 100%); }
html[data-theme="dark"] .box-guide-badge { background: rgba(255, 255, 255, .1); color: #e2e8f0; }
html[data-theme="dark"] .box-guide-card p { color: #b6c2d6; }

/* Band 8 Sky-Blue Atmospheric Closing Band dark (1:1 Homepage & Checklist) */
html[data-theme="dark"] .box-connect-band {
  background:
    radial-gradient(ellipse 68% 60% at 80% 15%, rgba(59, 130, 246, .16), transparent 62%),
    linear-gradient(165deg, #0d1424 0%, #0f182c 46%, #0b0f19 100%);
  border-top-color: rgba(255, 255, 255, .07);
}
html[data-theme="dark"] .box-connect-panel {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(17, 24, 40, .82);
  box-shadow: 0 20px 48px -18px rgba(0, 0, 0, .65);
}
html[data-theme="dark"] .box-eco-card {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
}
html[data-theme="dark"] .box-eco-card:hover {
  border-color: rgba(122, 162, 255, .38);
  background: rgba(122, 162, 255, .12);
}
html[data-theme="dark"] .box-eco-card--featured {
  border-color: rgba(122, 162, 255, .3);
  background: linear-gradient(135deg, rgba(37, 84, 230, .18), rgba(217, 119, 6, .12));
}
html[data-theme="dark"] .box-eco-arrow { color: #64748b; }
html[data-theme="dark"] .box-eco-card:hover .box-eco-arrow { color: #93c5fd; }

html[data-theme="dark"] .site-footer {
  border-top-color: rgba(255, 255, 255, .09);
  color: #94a3b8;
}
html[data-theme="dark"] .site-footer a:hover { color: #93c5fd; }

/* Lightbox dark */
html[data-theme="dark"] dialog.shot-viewer {
  background: #101626;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #f8fafc;
}
html[data-theme="dark"] dialog.shot-viewer::backdrop { background: rgba(4, 7, 12, .82); }
html[data-theme="dark"] dialog.shot-viewer button {
  background: #f8fafc;
  color: #0b0f19;
  border-color: transparent;
}
