/* inlined from src/app/styles/tokens.css */

@font-face {
  font-family: "ETCH Cormorant";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../../assets/fonts/cormorant-garamond-latin-500-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  font-family: var(--font-body);
  background: #020202;
  color: #f5f0e6;
  --font-display-latin: "ETCH Cormorant", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-display-cjk: "Songti SC", "STSong", "Noto Serif CJK SC", "Noto Serif SC", "SimSun", serif;
  --font-display: var(--font-display-latin);
  --font-body: "Aptos", "Segoe UI Variable", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --font-label: "Aptos", "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --tracking-caps: 0.055em;
  --tracking-caps-zh: 0.018em;
  --lh-tight: 1.04;
  --lh-copy: 1.6;
  --bg: #020202;
  --bg-soft: #060607;
  --panel: #0e0f12;
  --panel-strong: #15161a;
  --surface: #111216;
  --surface-raised: #18191e;
  --line: #2a2b31;
  --line-soft: #17181c;
  --text: #f5f0e6;
  --text-strong: #fffaf0;
  --muted: #d4cfc4;  /* 优化：从 #c9c3b8 提升对比度至 5.5:1 (WCAG AA+) */
  --faint: #b0aba2;  /* 优化：从 #9e9a91 提升对比度至 4.2:1 */
  --gold: #c9a96a;
  --gold-soft: #7a6843;
  --gold-strong: #e0c785;
  --gold-veil: rgba(201, 169, 106, 0.12);
  --button-dark: #111216;
  --button-dark-hover: #1a1b20;
  --cyan: #00d7e7;
  --cyan-soft: rgba(0, 215, 231, 0.28);
  --rose: #d86b7c;
  --danger: #ff8a8a;
  --radius-panel: 16px;
  --radius-control: 10px;
  --shadow-soft: 0 24px 90px rgba(0, 0, 0, 0.44);
  --shadow-strong: 0 38px 140px rgba(0, 0, 0, 0.62);
  --ease-etched: cubic-bezier(0.2, 0.72, 0.2, 1);
  --motion-fast: 160ms;
  --motion-base: 220ms;
  --motion-slow: 280ms;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-md: 16px;
  --fs-lg: 20px;
  --fs-xl: 26px;
  /* Taste Skill guardrails: variance 35, density 58, motion 18, contrast 78. */
  --taste-variance: 35;
  --taste-density: 58;
  --taste-motion: 18;
  --taste-contrast: 78;
}

/* inlined from src/app/styles/base.css */

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--bg);
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font-body);
  font-kerning: normal;
  font-variant-ligatures: contextual common-ligatures;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 72% 0%, rgba(201, 169, 106, 0.08), transparent 32%),
    radial-gradient(circle at 18% 10%, rgba(0, 215, 231, 0.05), transparent 30%),
    linear-gradient(180deg, #030303 0%, #08080a 44%, #020202 100%);
  color: var(--text);
  -webkit-tap-highlight-color: rgba(215, 181, 109, 0.22);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.18;
}

::selection {
  background: rgba(201, 169, 106, 0.34);
  color: var(--text-strong);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-control);
  background: #17140c;
  color: var(--gold);
  padding: 10px 14px;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1920px, calc(100% - 56px));
  margin: 12px auto 0;
  padding: 8px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(4, 4, 5, 0.94), rgba(8, 8, 9, 0.78) 42%, rgba(4, 4, 5, 0.9)),
    rgba(5, 5, 6, 0.82);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px) saturate(1.05);
  overflow: visible;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  background: #030303;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 2px;
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, rgba(245, 240, 230, 0.92), rgba(201, 169, 106, 0.92));
  box-shadow: 0 0 16px rgba(201, 169, 106, 0.42);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--text-strong);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.16);
  transition: text-shadow 220ms ease;
}

.brand-divider {
  color: rgba(201, 169, 106, 0.42);
  font-size: 26px;
  transform: translateY(-2px);
}

.brand-cn {
  font-family: var(--font-label);
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.brand:hover {
  color: var(--text-strong);
  transform: translateY(-1px);
}

.brand:hover .brand-mark img {
  opacity: 1;
  transform: scale(1.025);
}

.brand:hover .brand-name {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.24), 0 0 18px rgba(201, 169, 106, 0.12);
}

.brand:focus-visible {
  border-radius: 10px;
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.locale-menu summary,
.header-buy-credits,
.header-redeem-code {
  min-height: 40px;
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: var(--radius-control);
  background: rgba(12, 13, 16, 0.48);
  color: rgba(245, 240, 230, 0.86);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: border-color 170ms ease, background 170ms ease, color 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.locale-switcher {
  position: relative;
  z-index: 32;
}

.locale-menu {
  position: relative;
  z-index: 33;
}

.locale-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 72px;
  padding: 0 12px;
  list-style: none;
  user-select: none;
}

.locale-menu summary::-webkit-details-marker {
  display: none;
}

.locale-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.78;
}

.locale-menu[open] summary {
  border-color: rgba(215, 181, 109, 0.64);
  color: #fff8e6;
}

.locale-menu-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 34;
  display: grid;
  gap: 6px;
  min-width: 168px;
  border: 1px solid rgba(215, 181, 109, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 181, 109, 0.12), transparent 38%),
    #0b0c10;
  padding: 8px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.54);
}

.locale-menu-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #eef1f5;
  padding: 8px 10px;
  text-align: left;
}

.locale-menu-option span {
  font-size: 13px;
  font-weight: 700;
}

.locale-menu-option small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.locale-menu-option:hover,
.locale-menu-option.is-active {
  border-color: rgba(215, 181, 109, 0.36);
  background: rgba(215, 181, 109, 0.12);
  color: #fff8e6;
}

.header-buy-credits,
.header-redeem-code {
  padding: 0 14px;
  white-space: nowrap;
  color: var(--gold);
  background:
    linear-gradient(180deg, rgba(201, 169, 106, 0.08), rgba(201, 169, 106, 0.02)),
    rgba(9, 10, 12, 0.5);
}

.header-redeem-code {
  border-color: rgba(215, 181, 109, 0.38);
  color: #fff8e6;
}

.locale-menu summary:hover,
.header-buy-credits:hover,
.header-redeem-code:hover {
  border-color: rgba(215, 181, 109, 0.45);
  background:
    linear-gradient(180deg, rgba(201, 169, 106, 0.14), rgba(201, 169, 106, 0.04)),
    rgba(13, 14, 17, 0.72);
  color: #fff8e6;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.locale-menu summary:active,
.header-buy-credits:active,
.header-redeem-code:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.auth-mount {
  min-width: 168px;
}

.auth-summary,
.primary-action,
.secondary-action,
.auth-provider-button,
.auth-actions button,
.dialog-actions button,
.field-head button,
.result-actions button,
.icon-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: linear-gradient(180deg, #15161a 0%, #0f1013 100%);
  color: var(--text);
  padding: 9px 14px;
  font-weight: 600;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.auth-summary:hover,
.primary-action:hover,
.secondary-action:hover,
.auth-provider-button:hover,
.auth-actions button:hover,
.dialog-actions button:hover,
.field-head button:hover,
.result-actions button:hover,
.icon-button:hover {
  border-color: rgba(215, 181, 109, 0.45);
  background: linear-gradient(180deg, #1d1e23 0%, #141519 100%);
  color: #fff8e6;
  box-shadow: 0 0 0 1px rgba(201, 169, 106, 0.08), 0 8px 22px rgba(0, 0, 0, 0.28);
}

.auth-summary:active,
.primary-action:active,
.secondary-action:active,
.auth-provider-button:active,
.auth-actions button:active,
.dialog-actions button:active,
.field-head button:active,
.result-actions button:active,
.icon-button:active {
  transform: translateY(1px);
  box-shadow: none;
}

button[aria-busy="true"],
button:disabled {
  opacity: 1;
  transform: none !important;
  box-shadow: none !important;
}

button:disabled {
  cursor: not-allowed;
  border-color: #2a2d34 !important;
  background: #15161b !important;
  color: #8f96a5 !important;
}

button[aria-busy="true"] {
  cursor: progress;
  border-color: rgba(201, 169, 106, 0.7) !important;
  background: #211f18 !important;
  color: #f1d995 !important;
}

button[aria-busy="true"] {
  position: relative;
  overflow: hidden;
}

button[aria-busy="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 42%, transparent 72%);
  transform: translateX(-120%);
  animation: button-wait-sheen 1.15s ease-in-out infinite;
}

.is-success {
  border-color: rgba(0, 215, 231, 0.72) !important;
  background: linear-gradient(180deg, #0fc7bb 0%, #058e91 100%) !important;
  color: #041011 !important;
}

@keyframes button-wait-sheen {
  to {
    transform: translateX(120%);
  }
}


/* 中文界面排版：汉字需要更松的行距，且不适合大字距。 */
:lang(zh-CN) .hero-title {
  font-family: var(--font-display-cjk);
  line-height: 1.18;
}

:lang(zh-CN) .hero-eyebrow,
:lang(zh-CN) .eyebrow,
:lang(zh-CN) .filter-pill span {
  letter-spacing: var(--tracking-caps-zh);
}

/* inlined from src/app/styles/layout.css */

.auth-summary {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  text-align: center;
}

.auth-summary span {
  color: var(--muted);
  font-size: 11px;
}

.auth-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-shell {
  width: min(1920px, calc(100% - 56px));
  margin: 18px auto 34px;
  overflow-x: clip;
}

.module-tabs {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 24px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(201, 169, 106, 0.04), transparent 18%, transparent 82%, rgba(245, 240, 230, 0.025)),
    rgba(7, 7, 9, 0.82);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.module-tabs::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 240, 230, 0.14), rgba(201, 169, 106, 0.16), transparent);
  opacity: 0.78;
}

.module-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 1px 10px;
  min-height: 60px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 16% 0%, rgba(201, 169, 106, 0.13), transparent 38%);
  opacity: 0;
  transition: opacity var(--motion-fast) ease;
}

.module-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.095) 42%, transparent 66%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 28%);
  opacity: 0;
  transform: translateX(-42%);
  transition: opacity var(--motion-base) ease, transform var(--motion-slow) var(--ease-etched);
}

.module-card[aria-selected="true"] {
  border-color: rgba(201, 169, 106, 0.48);
  background:
    linear-gradient(180deg, rgba(201, 169, 106, 0.14), rgba(201, 169, 106, 0.06)),
    #11110e;
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(201, 169, 106, 0.5),
    0 0 26px rgba(201, 169, 106, 0.06);
}

.module-card:focus-visible {
  outline: 0;
  border-color: rgba(224, 199, 133, 0.82);
  box-shadow:
    0 0 0 2px rgba(201, 169, 106, 0.18),
    0 14px 38px rgba(0, 0, 0, 0.3);
}

.module-card[aria-selected="true"]::before,
.module-card:hover::before {
  opacity: 1;
}

.module-card[aria-selected="true"]::after,
.module-card:hover::after,
.module-card:focus-visible::after {
  opacity: 1;
  transform: translateX(34%);
}

.module-card:hover {
  border-color: rgba(201, 169, 106, 0.28);
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.module-card:active {
  transform: translateY(0);
}

.module-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-label);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.module-cn,
.module-card small {
  grid-column: 1;
  color: var(--faint);
  font-size: var(--fs-xs);
}

.module-card strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  min-width: 42px;
  padding: 2px 7px;
  border-radius: 8px;
  background: #24262c;
  color: var(--text);
  font-size: var(--fs-xs);
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.module-card[aria-selected="true"] strong {
  background: linear-gradient(180deg, #e0c785, #c9a96a);
  color: #111;
  box-shadow: 0 0 0 1px rgba(245, 226, 170, 0.16), 0 8px 18px rgba(201, 169, 106, 0.16);
}

.module-card:hover strong {
  transform: translateY(-1px);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  justify-items: stretch;
  min-height: clamp(600px, calc(100dvh - 220px), 660px);
  margin: 8px 0 26px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background:
    radial-gradient(circle at 72% 42%, rgba(245, 240, 230, 0.052), transparent 25%),
    radial-gradient(circle at 28% 62%, rgba(201, 169, 106, 0.038), transparent 36%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.99) 0%, rgba(5, 6, 8, 0.94) 48%, rgba(1, 1, 2, 0.98) 100%),
    url("../../assets/brand/etchshadow-darkroom-hero.png") right center / cover no-repeat,
    #08090c;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -180px 220px rgba(0, 0, 0, 0.58),
    0 52px 170px rgba(0, 0, 0, 0.68);
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.83) 28%, rgba(0, 0, 0, 0.24) 56%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(2, 2, 2, 0.42) 0%, rgba(2, 2, 2, 0.02) 46%, rgba(0, 0, 0, 0.86) 100%);
  z-index: 1;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--spotlight-x, 54%) var(--spotlight-y, 34%), rgba(245, 240, 230, 0.012), transparent 5%),
    linear-gradient(115deg, transparent 22%, rgba(201, 169, 106, 0.012) 48%, transparent 68%);
  opacity: 0;
  transition: opacity var(--motion-base) ease;
}

.hero-panel[data-spotlight="active"]::after {
  opacity: 0.028;
}

.hero-copy {
  position: absolute;
  left: clamp(44px, 6.4vw, 118px);
  top: clamp(76px, 13vh, 116px);
  z-index: 14;
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: min(520px, 38vw);
  padding-left: 0;
  text-align: left;
  animation: hero-copy-in var(--motion-slow) var(--ease-etched) both;
}

.hero-title {
  position: relative;
  display: grid;
  width: min(100%, 520px);
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 4vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--text-strong);
  text-shadow:
    0 0 34px rgba(255, 255, 255, 0.12),
    0 34px 80px rgba(0, 0, 0, 0.72);
}

.hero-title::after {
  content: "";
  justify-self: start;
  width: min(260px, 44%);
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(201, 169, 106, 0.82), rgba(245, 240, 230, 0.3), transparent);
  opacity: 0.9;
}

.hero-title span {
  display: block;
}

.hero-title span:not(.hero-title-brand) {
  font-size: 0.84em;
  line-height: 1.02;
}

.hero-title-brand {
  color: var(--text-strong);
  background: linear-gradient(104deg, #fffaf0 0%, #f7f1e4 42%, #d7bb74 57%, #fff7e6 72%, #eee8dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  -webkit-text-fill-color: transparent;
}

.hero-eyebrow,
.eyebrow {
  margin: 0;
  color: rgba(245, 240, 230, 0.68);
  font-family: var(--font-label);
  font-size: var(--fs-xs);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.hero-promise {
  max-width: 420px;
  margin: -2px 0 0;
  color: rgba(245, 240, 230, 0.76);
  font-size: clamp(14px, 1.02vw, 17px);
  font-weight: 550;
  line-height: 1.55;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 166px;
  min-height: 48px;
  border: 1px solid rgba(201, 169, 106, 0.64);
  border-radius: var(--radius-control);
  background: linear-gradient(180deg, #dfc47e 0%, #c49f57 58%, #a87d3e 100%);
  color: #11100b;
  padding: 0 22px;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -10px 18px rgba(74, 44, 10, 0.14),
    0 16px 38px rgba(201, 169, 106, 0.14);
  transition: border-color var(--motion-fast) ease, background-color var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.hero-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-control) - 1px);
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.2) 44%, transparent 58%);
  opacity: 0;
  transform: translateX(-34%);
  transition: opacity var(--motion-base) ease, transform var(--motion-slow) var(--ease-etched);
}

.hero-cta.secondary {
  border-color: var(--line);
  background: rgba(18, 19, 23, 0.62);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 34px rgba(0, 0, 0, 0.24);
}

.hero-cta:hover {
  border-color: rgba(245, 226, 170, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -8px 16px rgba(74, 44, 10, 0.12),
    0 18px 44px rgba(201, 169, 106, 0.18);
  transform: translateY(-2px);
}

.hero-cta:hover::before {
  opacity: 0.85;
  transform: translateX(32%);
}

.hero-cta.secondary:hover {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-cta:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    inset 0 2px 10px rgba(54, 33, 8, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.24);
}

.hero-cta:focus-visible {
  outline: 0;
  border-color: rgba(245, 226, 170, 0.9);
  box-shadow:
    0 0 0 2px rgba(201, 169, 106, 0.28),
    0 18px 44px rgba(201, 169, 106, 0.16);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  perspective: 1200px;
  overflow: hidden;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-media::before {
  right: 5%;
  top: 10%;
  z-index: 2;
  width: min(54vw, 1040px);
  height: 78%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 58% 48%, rgba(245, 240, 230, 0.045), transparent 34%),
    linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.045) 48%, transparent);
  box-shadow: none;
  opacity: 0.18;
  transform: rotate(-0.8deg);
}

.hero-media::after {
  left: 47%;
  bottom: 11%;
  z-index: 13;
  width: min(42vw, 680px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.58), rgba(245, 240, 230, 0.24), transparent);
  opacity: 0.58;
  transform: translateX(-4%);
}

.hero-stage-wordmark {
  position: absolute;
  right: -10%;
  bottom: 5%;
  z-index: 1;
  width: 76%;
  color: transparent;
  background: linear-gradient(90deg, transparent 2%, rgba(245, 240, 230, 0.04) 22%, rgba(201, 169, 106, 0.11) 50%, rgba(245, 240, 230, 0.04) 78%, transparent 98%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-display);
  font-size: clamp(86px, 13vw, 220px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: right;
  opacity: 0.11;
  pointer-events: none;
  transform: translate3d(0, 0, -90px);
  user-select: none;
}

.hero-cinematic-vignette {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 68% 50%, transparent 0%, rgba(0, 0, 0, 0.02) 42%, rgba(0, 0, 0, 0.42) 92%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 24%, transparent 70%, rgba(0, 0, 0, 0.74) 100%);
}

.hero-video-slot {
  position: absolute;
  left: 55%;
  top: 58%;
  z-index: 8;
  display: block;
  width: clamp(340px, 28vw, 540px);
  height: clamp(410px, 58vh, 620px);
  min-height: 0;
  --hero-video-opacity: 0.48;
  border: 0;
  border-radius: 32px;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 18px) rotate(-5.4deg);
  animation:
    hero-video-in 760ms var(--ease-etched) 120ms both,
    hero-video-breathe 8.5s ease-in-out 980ms infinite;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 14%, #000 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 14%, #000 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 10%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

.hero-video-slot::before,
.hero-video-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-video-slot::before {
  background:
    radial-gradient(circle at 52% 38%, transparent 0 38%, rgba(0, 0, 0, 0.12) 74%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.44), transparent 30%, transparent 68%, rgba(0, 0, 0, 0.42));
}

.hero-video-slot::after {
  display: none;
}

.hero-ambient-video,
.hero-ambient-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.68) contrast(1.1) brightness(0.78) blur(0.35px);
  transform: scale(1.03);
}

.hero-workflow-line {
  position: absolute;
  left: 51%;
  top: 30%;
  z-index: 7;
  width: min(44vw, 700px);
  height: min(34vh, 320px);
  pointer-events: none;
  border-top: 1px solid rgba(201, 169, 106, 0.12);
  border-right: 1px solid rgba(245, 240, 230, 0.06);
  border-radius: 0 38px 0 0;
  opacity: 0.7;
  transform: skewX(-10deg) rotate(-2deg);
}

.hero-workflow-line::before,
.hero-workflow-line::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(224, 199, 133, 0.72);
  box-shadow: 0 0 22px rgba(201, 169, 106, 0.32);
}

.hero-workflow-line::before {
  left: 0;
  top: -4px;
}

.hero-workflow-line::after {
  right: -4px;
  bottom: 0;
}

.hero-light-rift {
  position: absolute;
  left: 64%;
  top: -30%;
  z-index: 13;
  width: min(34vw, 560px);
  height: 156%;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0%, rgba(245, 240, 230, 0.035) 45%, rgba(201, 169, 106, 0.075) 50%, rgba(245, 240, 230, 0.025) 56%, transparent 78%);
  opacity: 0.08;
  filter: blur(0.4px);
  transform: rotate(7deg);
  animation: hero-rift-breathe 7.8s ease-in-out infinite;
}

.hero-depth-line {
  display: none;
  position: absolute;
  left: 48%;
  top: 18%;
  width: 46%;
  height: 66%;
  border: 1px solid rgba(201, 169, 106, 0.1);
  border-right-color: rgba(245, 240, 230, 0.08);
  border-radius: 30px;
  background: transparent;
  box-shadow: inset 0 0 80px rgba(245, 240, 230, 0.018);
  transform: translate3d(0, 0, -120px) rotate(-2deg);
  opacity: 0.1;
  z-index: 3;
  transition: opacity var(--motion-base) ease, border-color var(--motion-base) ease, transform var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

.hero-depth-line::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(92deg, transparent 0%, rgba(245, 240, 230, 0.18) 48%, transparent 72%);
  opacity: 0.18;
  transform: translateX(-28%);
  transition: opacity var(--motion-base) ease, transform var(--motion-slow) var(--ease-etched);
  animation: hero-line-scan 6.4s ease-in-out infinite;
}

.hero-depth-line::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 72%, rgba(201, 169, 106, 0.16), transparent 8%),
    radial-gradient(circle at 74% 16%, rgba(245, 240, 230, 0.1), transparent 7%);
  mix-blend-mode: screen;
  opacity: 0.2;
  filter: blur(0.35px);
  transform: translate3d(0, 12px, 0);
  animation: hero-embers-drift 6.2s linear infinite;
  will-change: transform, opacity;
}

.hero-frame {
  position: absolute;
  isolation: isolate;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
  margin: 0;
  width: clamp(140px, 11vw, 220px);
  opacity: 0;
  transform: translate3d(-50%, calc(-50% + 18px), var(--hero-depth, 0px)) rotate(var(--tilt, 0deg)) scale(calc(var(--scale, 1) * 0.96));
  animation: hero-card-in var(--motion-slow) var(--ease-etched) both;
  animation-delay: calc(70ms + var(--hero-card-index, 0) * 42ms);
  will-change: transform, opacity;
  --frame-opacity: 1;
  --hero-frame-y: 0px;
  --hero-depth: 0px;
  transition: transform var(--motion-base) var(--ease-etched), opacity var(--motion-base) ease;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 18%, rgba(245, 240, 230, 0.18), transparent 32%),
    radial-gradient(circle at 54% 76%, rgba(201, 169, 106, 0.2), transparent 54%);
  opacity: 0.12;
  filter: blur(22px);
  transform: translate3d(0, 7px, 0);
  animation: hero-card-aura 7.2s ease-in-out infinite;
  animation-delay: calc(var(--hero-card-index, 0) * 240ms);
  pointer-events: none;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;
  border-radius: 15px;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 20%, rgba(255, 255, 255, 0.16) 44%, transparent 58%);
  opacity: 0;
  transform: translateX(-32%);
  transition: opacity var(--motion-base) ease, transform var(--motion-slow) var(--ease-etched);
}

.hero-frame-inner {
  position: relative;
  z-index: 1;
  display: block;
  animation: hero-frame-drift 9.8s ease-in-out infinite;
  animation-delay: calc(820ms + var(--hero-card-index, 0) * 180ms);
  transform-origin: center;
  will-change: transform;
}

.hero-frame-1 {
  --scale: 1;
  --tilt: 0.6deg;
  --frame-opacity: 0.96;
  --hero-depth: 34px;
  left: 73%;
  top: 51%;
  z-index: 14;
}

.hero-frame-2 {
  --scale: 0.86;
  --tilt: -4.2deg;
  --frame-opacity: 0.56;
  --hero-depth: -54px;
  left: 62%;
  top: 46%;
  z-index: 10;
}

.hero-frame-3 {
  --scale: 0.84;
  --tilt: 4.2deg;
  --frame-opacity: 0.7;
  --hero-depth: -72px;
  left: 88%;
  top: 50%;
  z-index: 12;
}

.hero-frame-4 {
  --scale: 1;
  --tilt: -0.4deg;
  --frame-opacity: 0.9;
  --hero-depth: 46px;
  left: 74%;
  top: 77%;
  z-index: 16;
}

.hero-frame-5 {
  display: none;
  --scale: 0.72;
  --tilt: 6deg;
  --frame-opacity: 0.18;
  --hero-depth: -118px;
  left: 84%;
  top: 76%;
  z-index: 4;
}

.hero-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(245, 240, 230, 0.14);
  border-radius: 18px;
  object-fit: cover;
  box-shadow:
    0 42px 112px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  filter: saturate(0.92) contrast(1.04);
  transition: filter var(--motion-base) ease, transform var(--motion-base) ease, border-color var(--motion-base) ease;
}

.hero-frame-1 {
  width: clamp(360px, 27vw, 520px);
}

.hero-frame-4 {
  width: clamp(360px, 28vw, 540px);
}

.hero-frame-2,
.hero-frame-5 {
  width: clamp(150px, 12vw, 240px);
}

.hero-frame-3 {
  width: clamp(170px, 13vw, 270px);
}

.hero-frame-1 img {
  border-radius: 24px;
  filter: saturate(0.96) contrast(1.05) brightness(0.92);
  box-shadow:
    0 54px 140px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(245, 240, 230, 0.05);
}

.hero-frame-4 img {
  aspect-ratio: 16 / 5.8;
  border-radius: 18px;
  object-position: center 40%;
  filter: saturate(0.9) contrast(1.06) brightness(0.84);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(245, 240, 230, 0.08);
}

.hero-frame-2 img {
  filter: saturate(0.78) contrast(1.04) brightness(0.64);
}

.hero-frame-3 img {
  filter: saturate(0.92) contrast(1.04) brightness(0.9);
}

.hero-frame-2 img,
.hero-frame-4 img {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, #000 14%, #000 88%, rgba(0, 0, 0, 0.58) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, #000 14%, #000 88%, rgba(0, 0, 0, 0.58) 100%);
}

.hero-frame-tag {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(245, 240, 230, 0.88);
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

.hero-frame-tag span {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.hero-frame-5 img {
  filter: saturate(0.78) contrast(1.02) brightness(0.52);
}

.hero-panel:hover {
  border-color: rgba(245, 240, 230, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065), inset 0 -140px 180px rgba(0, 0, 0, 0.48), 0 46px 160px rgba(0, 0, 0, 0.68);
}

.hero-panel:hover .hero-depth-line {
  border-color: rgba(201, 169, 106, 0.18);
  opacity: 0.2;
  box-shadow: inset 0 0 96px rgba(245, 240, 230, 0.028);
}

.hero-panel:hover .hero-depth-line::before {
  opacity: 0.28;
  transform: translateX(4%);
}

.hero-media:hover .hero-frame {
  --hero-frame-y: -2px;
}

.hero-frame:hover {
  --hero-frame-y: -7px;
}

.hero-frame:hover img {
  border-color: rgba(224, 199, 133, 0.56);
  filter: saturate(1.02) brightness(1.04);
  transform: translateY(-3px) scale(1.018);
}

.hero-frame:hover::before,
.hero-frame:focus-visible::before {
  opacity: 0.28;
}

.hero-frame:hover::after,
.hero-frame:focus-visible::after {
  opacity: 1;
  transform: translateX(28%);
}

.hero-frame:focus-visible {
  outline: 0;
}

.hero-frame:focus-visible img {
  border-color: rgba(224, 199, 133, 0.82);
  box-shadow:
    0 0 0 2px rgba(201, 169, 106, 0.22),
    0 28px 70px rgba(0, 0, 0, 0.58);
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-card-in {
  to {
    opacity: var(--frame-opacity, 1);
    transform: translate3d(-50%, calc(-50% + var(--hero-frame-y, 0px)), var(--hero-depth, 0px)) rotate(var(--tilt, 0deg)) scale(var(--scale, 1));
  }
}

@keyframes hero-card-aura {
  0%,
  100% {
    opacity: 0.1;
    transform: translate3d(0, 8px, 0) scale(0.98);
  }
  50% {
    opacity: 0.2;
    transform: translate3d(0, 4px, 0) scale(1.03);
  }
}

@keyframes hero-video-in {
  from {
    opacity: 0;
    transform: translate3d(-54%, -47%, 4px) rotate(-6.2deg) scale(0.96);
  }
  to {
    opacity: var(--hero-video-opacity, 0.84);
    transform: translate3d(-50%, -50%, 18px) rotate(-5.4deg) scale(1);
  }
}

@keyframes hero-video-breathe {
  0%,
  100% {
    transform: translate3d(-50%, -50%, 18px) rotate(-5.4deg) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translate3d(-49.4%, -50.6%, 18px) rotate(-4.8deg) scale(1.006);
    filter: brightness(1.03);
  }
}

@keyframes hero-frame-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -5px, 0);
  }
}

@keyframes hero-embers-drift {
  0% {
    opacity: 0.08;
    transform: translate3d(0, 16px, 0) scale(0.98);
  }
  35% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.06;
    transform: translate3d(10px, -34px, 0) scale(1.03);
  }
}

@keyframes hero-rift-breathe {
  0%,
  100% {
    opacity: 0.12;
    transform: translate3d(-2%, 0, 0) rotate(7deg);
  }
  50% {
    opacity: 0.22;
    transform: translate3d(3%, 0, 0) rotate(7deg);
  }
}

@keyframes hero-line-scan {
  0%,
  100% {
    opacity: 0.1;
    transform: translateX(-34%);
  }
  50% {
    opacity: 0.3;
    transform: translateX(18%);
  }
}

/* Homepage editorial hero v4: cinematic darkroom index. */
.hero-panel {
  min-height: clamp(680px, calc(100dvh - 128px), 820px);
  margin: 10px 0 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 74% 48%, rgba(245, 240, 230, 0.07), transparent 24%),
    radial-gradient(circle at 32% 68%, rgba(201, 169, 106, 0.05), transparent 34%),
    linear-gradient(90deg, #020202 0%, #040404 38%, #070706 72%, #020202 100%),
    #020202;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -120px 180px rgba(0, 0, 0, 0.58),
    0 60px 180px rgba(0, 0, 0, 0.72);
}

.hero-panel::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 34%, rgba(0, 0, 0, 0.08) 60%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.48) 0%, transparent 28%, rgba(0, 0, 0, 0.88) 100%);
}

.hero-panel::after {
  background:
    radial-gradient(circle at var(--spotlight-x, 58%) var(--spotlight-y, 46%), rgba(245, 240, 230, 0.16), transparent 11%),
    linear-gradient(118deg, transparent 26%, rgba(201, 169, 106, 0.045) 48%, transparent 64%);
}

.hero-panel[data-spotlight="active"]::after {
  opacity: 0.08;
}

.hero-copy {
  left: clamp(48px, 5.8vw, 110px);
  top: clamp(76px, 12vh, 128px);
  max-width: min(560px, 40vw);
  gap: 13px;
}

.hero-eyebrow {
  color: rgba(245, 240, 230, 0.62);
}

.hero-title {
  width: min(100%, 560px);
  font-size: clamp(48px, 5.2vw, 92px);
  line-height: 0.94;
  text-shadow: 0 28px 78px rgba(0, 0, 0, 0.76);
}

.hero-title span:not(.hero-title-brand) {
  max-width: 8.4em;
  margin-top: 4px;
  font-size: 0.63em;
  line-height: 1.02;
}

.hero-title::after {
  width: min(320px, 52%);
  margin-top: 16px;
  opacity: 0.78;
}

.hero-promise {
  max-width: 390px;
  color: rgba(245, 240, 230, 0.7);
  font-size: clamp(14px, 0.98vw, 16px);
}

.hero-actions {
  margin-top: 6px;
}

.hero-cta {
  min-width: 150px;
  min-height: 48px;
  border-radius: 12px;
}

.hero-media::before {
  right: 5.2%;
  top: 11%;
  width: min(58vw, 1110px);
  height: 74%;
  border: 1px solid rgba(245, 240, 230, 0.055);
  border-radius: 36px;
  background:
    linear-gradient(100deg, transparent, rgba(245, 240, 230, 0.035) 42%, transparent 66%),
    radial-gradient(circle at 74% 40%, rgba(201, 169, 106, 0.13), transparent 38%);
  opacity: 0.34;
  transform: rotate(-2.2deg);
}

.hero-media::after {
  left: auto;
  right: 17%;
  bottom: 14%;
  width: min(28vw, 520px);
  opacity: 0.46;
}

.hero-stage-wordmark {
  right: -12%;
  bottom: 6%;
  width: 78%;
  opacity: 0.09;
}

.hero-cinematic-vignette {
  z-index: 24;
  background:
    radial-gradient(ellipse at 70% 48%, transparent 0%, transparent 38%, rgba(0, 0, 0, 0.5) 94%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, transparent 22%, transparent 64%, rgba(0, 0, 0, 0.82) 100%);
}

.hero-video-slot {
  left: 50%;
  top: 52%;
  z-index: 6;
  width: clamp(390px, 31vw, 640px);
  height: 92%;
  --hero-video-opacity: 0.46;
  border-radius: 38px;
  transform: translate3d(-50%, -50%, 14px) rotate(-7deg);
  animation:
    hero-video-in-v4 820ms var(--ease-etched) 90ms both,
    hero-video-breathe-v4 10s ease-in-out 980ms infinite;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 86%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 86%, transparent 100%);
}

.hero-video-slot::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.16) 34%, rgba(0, 0, 0, 0.2) 66%, rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 58% 28%, transparent 0 24%, rgba(0, 0, 0, 0.18) 70%);
}

.hero-ambient-video,
.hero-ambient-poster {
  filter: saturate(0.55) contrast(1.08) brightness(0.62) blur(0.55px);
  transform: scale(1.07);
}

.hero-workflow-line {
  left: 47%;
  top: 23%;
  z-index: 7;
  width: min(43vw, 760px);
  height: min(43vh, 410px);
  border-top-color: rgba(201, 169, 106, 0.13);
  border-right-color: rgba(245, 240, 230, 0.05);
  opacity: 0.62;
  transform: skewX(-12deg) rotate(-4deg);
}

.hero-light-rift {
  left: 57%;
  z-index: 23;
  opacity: 0.1;
}

.hero-frame {
  animation: hero-card-in-v4 var(--motion-slow) var(--ease-etched) both;
  animation-delay: calc(90ms + var(--hero-card-index, 0) * 60ms);
}

.hero-frame-inner {
  animation: hero-frame-drift-v4 11s ease-in-out infinite;
  animation-delay: calc(900ms + var(--hero-card-index, 0) * 240ms);
}

.hero-frame::before {
  display: none;
}

.hero-frame img {
  border-color: rgba(245, 240, 230, 0.12);
  border-radius: 22px;
  box-shadow:
    0 48px 150px rgba(0, 0, 0, 0.76),
    0 0 0 1px rgba(255, 255, 255, 0.035);
}

.hero-frame-tag {
  display: none;
}

.hero-frame-1 {
  left: 70.8%;
  top: 48.5%;
  z-index: 17;
  width: clamp(360px, 31vw, 610px);
  --scale: 1;
  --tilt: -1.4deg;
  --frame-opacity: 0.95;
}

.hero-frame-1 img {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  filter: saturate(0.93) contrast(1.06) brightness(0.86);
}

.hero-frame-2 {
  left: 59%;
  top: 54%;
  z-index: 12;
  width: clamp(170px, 13vw, 260px);
  --scale: 0.92;
  --tilt: -8deg;
  --frame-opacity: 0.52;
}

.hero-frame-2 img {
  filter: saturate(0.68) contrast(1.04) brightness(0.58);
}

.hero-frame-3 {
  left: 86%;
  top: 49%;
  z-index: 13;
  width: clamp(185px, 14vw, 300px);
  --scale: 0.94;
  --tilt: 6deg;
  --frame-opacity: 0.64;
}

.hero-frame-3 img {
  filter: saturate(0.88) contrast(1.05) brightness(0.76);
}

.hero-frame-4 {
  left: 73%;
  top: 77%;
  z-index: 19;
  width: clamp(360px, 34vw, 660px);
  --scale: 1;
  --tilt: 0.8deg;
  --frame-opacity: 0.86;
}

.hero-frame-4 img {
  aspect-ratio: 16 / 5.2;
  border-radius: 20px;
  object-position: center 42%;
  filter: saturate(0.9) contrast(1.07) brightness(0.78);
}

.hero-frame-5 {
  display: block;
  left: 92%;
  top: 71%;
  z-index: 9;
  width: clamp(150px, 11vw, 220px);
  --scale: 0.84;
  --tilt: 8deg;
  --frame-opacity: 0.24;
}

.hero-frame-6 {
  display: block;
  left: 62%;
  top: 28%;
  z-index: 8;
  width: clamp(150px, 10vw, 210px);
  --scale: 0.78;
  --tilt: 5deg;
  --frame-opacity: 0.26;
}

.hero-frame-5 img,
.hero-frame-6 img {
  filter: saturate(0.62) contrast(1.02) brightness(0.45);
}

.hero-contact-sheet {
  position: absolute;
  right: clamp(28px, 5.6vw, 98px);
  bottom: clamp(24px, 4.6vh, 52px);
  z-index: 25;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(245, 240, 230, 0.07);
  border-radius: 18px;
  background: rgba(3, 3, 4, 0.52);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.hero-contact-thumb {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  width: clamp(54px, 4.6vw, 82px);
  padding: 0;
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  opacity: 0;
  cursor: pointer;
  transform: translate3d(0, 8px, 0);
  animation: hero-thumb-in 520ms var(--ease-etched) both;
  animation-delay: calc(320ms + var(--thumb-index, 0) * 48ms);
}

.hero-contact-thumb:first-child {
  border-color: rgba(201, 169, 106, 0.55);
}

.hero-contact-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.78);
  transition: filter var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.hero-contact-thumb:hover img,
.hero-contact-thumb:focus-visible img {
  filter: saturate(1) brightness(1.02);
  transform: scale(1.04);
}

.hero-contact-thumb:focus-visible {
  outline: 0;
  border-color: rgba(224, 199, 133, 0.82);
  box-shadow: 0 0 0 2px rgba(201, 169, 106, 0.18);
}

.module-tabs {
  margin-top: 0;
}

@keyframes hero-video-in-v4 {
  from {
    opacity: 0;
    transform: translate3d(-54%, -47%, 4px) rotate(-9deg) scale(0.96);
  }
  to {
    opacity: var(--hero-video-opacity, 0.46);
    transform: translate3d(-50%, -50%, 14px) rotate(-7deg) scale(1);
  }
}

@keyframes hero-video-breathe-v4 {
  0%,
  100% {
    transform: translate3d(-50%, -50%, 14px) rotate(-7deg) scale(1);
  }
  50% {
    transform: translate3d(-49.2%, -50.8%, 14px) rotate(-6.4deg) scale(1.012);
  }
}

@keyframes hero-card-in-v4 {
  to {
    opacity: var(--frame-opacity, 1);
    transform: translate3d(-50%, calc(-50% + var(--hero-frame-y, 0px)), var(--hero-depth, 0px)) rotate(var(--tilt, 0deg)) scale(var(--scale, 1));
  }
}

@keyframes hero-frame-drift-v4 {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes hero-thumb-in {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Final homepage cinema pass: one dominant image, one ambient motion plate. */
.hero-panel {
  min-height: calc(100dvh - 112px);
  margin: 14px 0 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 42%, rgba(245, 240, 230, 0.08), transparent 24%),
    radial-gradient(circle at 60% 72%, rgba(201, 169, 106, 0.06), transparent 28%),
    linear-gradient(90deg, #020202 0%, #030303 42%, #050505 68%, #020202 100%),
    #020202;
}

.hero-panel::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.74) 38%, rgba(0, 0, 0, 0.1) 68%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.54) 0%, transparent 44%, rgba(0, 0, 0, 0.86) 100%);
}

.hero-panel[data-spotlight="active"]::after {
  opacity: 0.024;
}

.hero-copy {
  left: clamp(48px, 7%, 126px);
  top: clamp(86px, 14%, 132px);
  max-width: 690px;
  gap: 16px;
}

.hero-title {
  width: min(100%, 700px);
  font-size: 82px;
  line-height: 0.9;
  text-wrap: balance;
}

.hero-title span:not(.hero-title-brand) {
  max-width: 11em;
  font-size: 0.48em;
  line-height: 1.04;
}

.hero-promise {
  max-width: 310px;
  color: rgba(245, 240, 230, 0.62);
  font-size: 14px;
}

.hero-workflow-line,
.hero-depth-line,
.hero-contact-sheet {
  display: none;
}

.hero-media::before {
  display: block;
  right: clamp(28px, 5%, 86px);
  top: 11%;
  z-index: 3;
  width: min(54%, 960px);
  height: 78%;
  border: 1px solid rgba(245, 240, 230, 0.07);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 44%, rgba(245, 240, 230, 0.045), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.008));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(201, 169, 106, 0.04);
}

.hero-media::after {
  display: block;
  left: 49%;
  right: auto;
  bottom: 20%;
  z-index: 13;
  width: min(34%, 560px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, 0.42), rgba(245, 240, 230, 0.14), transparent);
  opacity: 0.5;
}

.hero-stage-wordmark {
  right: -4%;
  bottom: 9%;
  width: 52%;
  font-size: 138px;
  opacity: 0.048;
}

.hero-video-slot {
  left: 63%;
  top: 50%;
  z-index: 4;
  width: min(52%, 880px);
  height: 82%;
  --hero-video-opacity: 0.31;
  border-radius: 40px;
  transform: translate3d(-50%, -50%, 0) rotate(-1.2deg);
  animation:
    hero-video-in-minimal 760ms var(--ease-etched) 80ms both,
    hero-video-breathe-minimal 13s cubic-bezier(0.32, 0.72, 0, 1) 980ms infinite;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 9%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 90%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 9%, #000 88%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 7%, #000 90%, transparent 100%);
}

.hero-video-slot::before {
  background:
    radial-gradient(circle at 52% 42%, transparent 0 26%, rgba(0, 0, 0, 0.2) 74%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.74));
}

.hero-ambient-video,
.hero-ambient-poster {
  filter: saturate(0.58) contrast(1.06) brightness(0.55);
  transform: scale(1.04);
}

.hero-light-rift {
  left: 68%;
  z-index: 12;
  width: min(16%, 250px);
  opacity: 0.06;
}

.hero-frame {
  pointer-events: auto;
}

.hero-frame img {
  border-radius: 26px;
  border-color: rgba(245, 240, 230, 0.11);
  box-shadow:
    0 56px 160px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(245, 240, 230, 0.04);
}

.hero-frame-1 {
  left: 72%;
  top: 52%;
  z-index: 16;
  width: min(34%, 620px);
  --tilt: 0.8deg;
  --frame-opacity: 0.96;
}

.hero-frame-1 img {
  aspect-ratio: 4 / 5;
  object-position: center 22%;
  filter: saturate(0.94) contrast(1.08) brightness(0.95);
  box-shadow:
    0 64px 180px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(245, 240, 230, 0.07),
    0 0 110px rgba(201, 169, 106, 0.07);
}

.hero-frame-2 {
  display: none;
}

.hero-frame-2 img {
  filter: saturate(0.45) contrast(1.02) brightness(0.38);
}

.hero-frame-3 {
  display: none;
}

.hero-frame-3 img {
  filter: saturate(0.5) contrast(1.02) brightness(0.36);
}

.hero-frame-4,
.hero-frame-5,
.hero-frame-6,
.hero-contact-thumb {
  display: none;
}

@keyframes hero-video-in-minimal {
  from {
    opacity: 0;
    transform: translate3d(-52%, -48%, 0) rotate(-2.2deg) scale(0.98);
  }
  to {
    opacity: var(--hero-video-opacity, 0.31);
    transform: translate3d(-50%, -50%, 0) rotate(-1.2deg) scale(1);
  }
}

@keyframes hero-video-breathe-minimal {
  0%,
  100% {
    transform: translate3d(-50%, -50%, 0) rotate(-1.2deg) scale(1);
  }
  50% {
    transform: translate3d(-49.4%, -50.4%, 0) rotate(-0.9deg) scale(1.008);
  }
}

/* inlined from src/app/styles/gallery.css */

.gallery-panel,
.tool-panel {
  margin-top: 12px;
}

.auth-panel {
  margin: 0;
}

.filter-rail {
  display: flex;
  gap: 8px;
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.filter-pill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center start;
  gap: 0;
  min-width: 134px;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 17, 20, 0.78);
  color: var(--muted);
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.filter-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 18% 0%, rgba(201, 169, 106, 0.14), transparent 42%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.filter-pill[aria-selected="true"] {
  border-color: rgba(201, 169, 106, 0.72);
  background: linear-gradient(180deg, rgba(201, 169, 106, 0.16), rgba(201, 169, 106, 0.06));
  color: var(--gold);
  box-shadow: inset 0 -1px 0 rgba(201, 169, 106, 0.42);
}

.filter-pill[aria-selected="true"]::before,
.filter-pill:hover::before {
  opacity: 1;
}

.filter-pill:hover {
  border-color: rgba(215, 181, 109, 0.42);
  background: #17191f;
  color: #f3efe6;
}

.filter-pill:active {
  transform: translateY(1px);
}

.filter-pill span {
  font-family: var(--font-label);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.filter-pill strong {
  color: var(--text);
  font-size: 12px;
}

.filter-pill small,
.filter-pill em {
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
}

.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 14px;
}

.gallery-meta strong {
  font-family: var(--font-label);
  font-size: var(--fs-lg);
}

.gallery-meta span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.gallery-grid {
  display: grid;
  gap: 14px;
}

.gallery-load-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 10px 0 4px;
}

.gallery-load-more button {
  display: inline-grid;
  gap: 2px;
  min-width: min(100%, 240px);
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid rgba(201, 169, 106, 0.36);
  border-radius: var(--radius-control);
  background:
    linear-gradient(180deg, rgba(201, 169, 106, 0.12), rgba(201, 169, 106, 0.03)),
    rgba(9, 10, 12, 0.72);
  color: #fff8e6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 28px rgba(0, 0, 0, 0.22);
}

.gallery-load-more button:hover {
  border-color: rgba(215, 181, 109, 0.56);
  transform: translateY(-1px);
}

.gallery-load-more span,
.gallery-load-more small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.lookbook-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.self-media-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.asset-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 19, 23, 0.92), rgba(10, 11, 14, 0.96));
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: 320px 420px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.asset-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 30%),
    radial-gradient(circle at 50% 0%, rgba(201, 169, 106, 0.11), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.asset-card:hover {
  border-color: rgba(201, 169, 106, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.asset-card:hover::before {
  opacity: 1;
}

.asset-card:active {
  transform: translateY(0);
}

.asset-open {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #050506;
  overflow: hidden;
}

.asset-open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.asset-card:hover .asset-open img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.015);
}

.self-card .asset-open img {
  aspect-ratio: 1 / 1;
}

.gallery-panel[data-module-id="self_media"][data-filter-id="creative_content"] {
  position: relative;
}

.gallery-panel[data-module-id="self_media"][data-filter-id="creative_content"] .gallery-meta {
  position: relative;
  isolation: isolate;
}

.gallery-panel[data-module-id="self_media"][data-filter-id="creative_content"] .gallery-meta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: min(260px, 42vw);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(201, 169, 106, 0.72), rgba(245, 240, 230, 0.26), transparent);
  opacity: 0.72;
  transform-origin: left center;
  transform: scaleX(0.82);
  transition: opacity var(--motion-base) ease, transform var(--motion-slow) var(--ease-etched);
}

.gallery-panel[data-module-id="self_media"][data-filter-id="creative_content"]:hover .gallery-meta::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.asset-card[data-self-category="story_character"] {
  cursor: pointer;
  transform-style: preserve-3d;
}

.asset-card[data-self-category="story_character"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--story-cursor-x, 50%) var(--story-cursor-y, 38%), rgba(245, 226, 170, 0.17), transparent 20%),
    linear-gradient(132deg, transparent 12%, rgba(255, 255, 255, 0.055) 46%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity var(--motion-fast) ease;
}

.asset-card[data-self-category="story_character"]:hover,
.asset-card[data-self-category="story_character"][data-cursor="active"] {
  border-color: rgba(224, 199, 133, 0.5);
  transform: translateY(-3px) rotateX(0.25deg);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(201, 169, 106, 0.08);
}

.asset-card[data-self-category="story_character"][data-cursor="active"]::after,
.asset-card[data-self-category="story_character"]:hover::after {
  opacity: 1;
}

.asset-card[data-self-category="story_character"] .asset-open {
  cursor: zoom-in;
}

.asset-card[data-self-category="story_character"] .asset-open img {
  transition: transform var(--motion-slow) var(--ease-etched), filter var(--motion-base) ease;
}

.asset-card[data-self-category="story_character"]:hover .asset-open img {
  transform: scale(1.022);
}

.detail-title h2,
.detail-side h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: 0;
  text-wrap: balance;
}

.auth-head p,
.auth-form p,
.auth-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-row span {
  max-width: 100%;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c9c3b8;
  font-size: var(--fs-xs);
  overflow-wrap: break-word;
}

/* ========== Premium Badge System - 优化添加 ========== */
.card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  pointer-events: none;
}

.badge {
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform var(--motion-fast) ease;
  pointer-events: auto;
}

.badge:hover {
  transform: scale(1.05);
}

.badge-premium {
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  color: #111;
  box-shadow: 0 4px 14px rgba(215, 181, 109, 0.45);
}

.badge-trending {
  background: rgba(255, 90, 90, 0.2);
  border: 1px solid rgba(255, 90, 90, 0.4);
  color: #ffb3b3;
}

.badge-new {
  background: rgba(0, 215, 231, 0.2);
  border: 1px solid rgba(0, 215, 231, 0.4);
  color: #6ef7ff;
}

.badge-featured {
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(147, 51, 234, 0.4);
  color: #c084fc;
}

/* ========== Gallery Pricing Hint - 优化添加 ========== */
.gallery-pricing-hint {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 6px 8px;
  margin-left: auto;
  padding: 12px 14px;
  min-width: min(100%, 430px);
  background:
    radial-gradient(circle at 12% 0%, rgba(225, 187, 105, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(201, 169, 106, 0.12), rgba(201, 169, 106, 0.05));
  border: 1px solid rgba(201, 169, 106, 0.32);
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  transition: all var(--motion-base) ease;
}

.gallery-pricing-hint:hover {
  background: linear-gradient(135deg, rgba(201, 169, 106, 0.18), rgba(201, 169, 106, 0.1));
  border-color: rgba(201, 169, 106, 0.5);
  transform: translateY(-1px);
}

.price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
  font-weight: 700;
}

.price-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-strong);
  line-height: 1;
}

.price-unit {
  font-size: 13px;
  color: var(--muted);
}

.pricing-hint-benefits {
  grid-column: 1 / -2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.pricing-hint-benefits span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(225, 187, 105, 0.22);
  border-radius: 999px;
  background: rgba(225, 187, 105, 0.07);
  color: rgba(244, 238, 226, 0.8);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  padding: 0 9px;
}

.view-pricing-btn {
  grid-row: 1 / span 2;
  grid-column: 4;
  align-self: stretch;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(225, 187, 105, 0.24);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--motion-fast) ease;
}

.view-pricing-btn:hover {
  background: rgba(201, 169, 106, 0.15);
  border-color: var(--gold);
  color: var(--gold-strong);
}

@media (max-width: 760px) {
  .gallery-pricing-hint {
    grid-template-columns: auto auto 1fr;
    margin-left: 0;
    width: 100%;
  }

  .pricing-hint-benefits {
    grid-column: 1 / -1;
  }

  .view-pricing-btn {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 38px;
  }
}

/* inlined from src/app/styles/auth.css */

.auth-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 22px;
}

.auth-head,
.field-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.empty-workbench strong {
  display: block;
  color: var(--text);
}

.empty-workbench span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.note-field {
  display: grid;
  gap: 8px;
}

.note-field span,
.auth-form label span,
.segmented-field legend {
  color: #d0d2da;
  font-size: 12px;
  font-weight: 700;
}

.note-field textarea,
.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0c10;
  color: var(--text);
  padding: 10px;
  resize: vertical;
}

.primary-action {
  width: 100%;
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
  font-weight: 700;
}

.secondary-action {
  white-space: nowrap;
}

.empty-workbench {
  display: grid;
  place-items: center;
  min-height: 160px;
  border: 1px dashed #30333b;
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
}

.segmented-field {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  border: 0;
}

.segmented-field legend {
  flex: 0 0 100%;
  margin-bottom: 2px;
}

.segmented-field label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0d0e12;
}

.reverse-result {
  display: grid;
  gap: 16px;
}

.reverse-result pre,
.detail-block pre {
  overflow: auto;
  max-height: 360px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #08090b;
  color: #edf3f7;
}

.result-actions,
.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.library-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0c10;
}

.library-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.library-card div {
  padding: 12px;
}

.library-card h3 {
  margin: 4px 0;
}

.auth-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form p {
  grid-column: 1 / -1;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--faint);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.auth-provider-button {
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-card-light {
  position: relative;
  width: min(480px, calc(100vw - 34px));
  margin: 0 auto;
  padding: 18px 28px 22px;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 169, 106, 0.12), transparent 42%),
    #f4f1ea;
  color: #11110d;
  text-align: center;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.48);
}

.auth-close-light,
.auth-back-light {
  position: absolute;
  top: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #77736a;
  padding: 0;
  font-size: 26px;
  line-height: 1;
}

.auth-close-light {
  right: 14px;
}

.auth-back-light {
  left: 14px;
  font-size: 32px;
}

.auth-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #11110d;
  font-size: 19px;
  font-weight: 700;
}

.auth-brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 38px;
  border-radius: 8px;
  background: #050505;
  overflow: hidden;
}

.auth-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-welcome {
  display: grid;
  gap: 6px;
  margin: 18px 0 16px;
}

.auth-card-otp .auth-welcome {
  margin-top: 34px;
}

.auth-welcome h2 {
  margin: 0;
  color: #14130f;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.15;
}

.auth-welcome p {
  width: min(440px, 100%);
  margin: 0 auto;
  color: #77736a;
  font-size: 13px;
  line-height: 1.42;
}

.auth-welcome strong {
  color: #5b574f;
  font-size: 17px;
}

.auth-social-button,
.auth-continue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
}

.auth-social-button {
  border: 1px solid #d8d6cf;
  background: #fff;
  color: #11110d;
}

.auth-social-button:hover {
  border-color: #bbb5aa;
  background: #f9f8f4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.google-mark {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.auth-divider.light {
  height: 1px;
  margin: 12px 0;
  background: #dedbd3;
}

.auth-divider.light::before,
.auth-divider.light::after {
  content: none;
}

.auth-form-light {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.auth-form-light input {
  min-height: 50px;
  border: 1px solid #11110d;
  border-radius: 12px;
  background: #fff;
  color: #11110d;
  padding: 0 16px;
  font-size: 16px;
}

.auth-form-light input::placeholder {
  color: #969188;
}

.auth-continue-button {
  border: 0;
  background: linear-gradient(180deg, #161510 0%, #0b0b08 100%);
  color: #fff;
}

.auth-continue-button:hover {
  background: #25231d;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.auth-social-button:active,
.auth-continue-button:active,
.auth-close-light:active,
.auth-back-light:active {
  transform: translateY(1px);
}

.auth-social-button:disabled,
.auth-continue-button:disabled,
.auth-resend:disabled {
  cursor: not-allowed;
  border-color: #d0ccc4 !important;
  background: #e5e2da !important;
  color: #969087 !important;
  box-shadow: none !important;
}

.auth-legal,
.auth-resend {
  margin: 14px 0 0;
  color: #918c83;
  font-size: 13px;
}

.auth-legal a {
  color: #706b63;
  text-decoration: none;
}

.auth-notice.light {
  margin: 0 0 12px;
  border-color: #d9c38a;
  background: #fff7df;
  color: #7d5c00;
  text-align: left;
}

.auth-otp-form {
  display: grid;
  gap: 18px;
}

.auth-code-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.auth-code-row input {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #d5d2cb;
  border-radius: 12px;
  background: #fff;
  color: #11110d;
  text-align: center;
  font-size: 24px;
}

.auth-code-row input:focus {
  border-color: #11110d;
  outline: 2px solid rgba(201, 169, 106, 0.55);
  outline-offset: 2px;
}

.auth-resend {
  border: 0;
  background: transparent;
  padding: 0;
}

.auth-resend:hover {
  color: #5e574a;
  text-decoration: underline;
}

.auth-notice {
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid rgba(215, 181, 109, 0.35);
  border-radius: 10px;
  background: rgba(215, 181, 109, 0.1);
  color: var(--gold);
}

.auth-profile {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.auth-profile div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0c10;
}

.auth-profile dt {
  color: var(--muted);
  font-size: 12px;
}

.auth-profile dd {
  margin: 4px 0 0;
  overflow-wrap: break-word;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(17, 18, 22, 0.88);
  color: #f3efe6;
  font-size: 16px;
  line-height: 1;
}

.icon-button:hover {
  border-color: rgba(215, 181, 109, 0.42);
  background: rgba(24, 26, 32, 0.96);
  color: var(--gold-strong);
}

/* inlined from src/app/styles/dialogs.css */

.asset-dialog {
  width: min(1540px, calc(100% - 32px));
  max-height: min(88vh, 860px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
}

.asset-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.asset-dialog:has(.social-prompt-detail) {
  width: min(1180px, calc(100% - 32px));
}

.auth-dialog {
  width: min(520px, calc(100% - 28px));
  z-index: 70;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: #11110d;
  padding: 0;
}

.auth-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.generator-dialog {
  width: min(1240px, calc(100% - 32px));
  max-height: min(86vh, 800px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  padding: 0;
  overflow: hidden;
}

.generator-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

#generatorDialogBody {
  max-height: min(86vh, 800px);
  overflow: hidden;
}

.generator-modal-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  max-height: 86vh;
  padding: 14px;
}

.generator-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.generator-modal-head h2 {
  margin: 2px 0 4px;
  color: var(--text);
  font-size: 24px;
}

.generator-modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.generator-simple-content {
  position: relative;
  max-height: min(90vh, 900px);
}

.generator-simple-head {
  align-items: center;
  min-height: 62px;
}

.generator-simple-head h2 {
  font-size: clamp(22px, 2vw, 32px);
}

/* inlined from src/app/styles/tools.css */

.manager-generator-layout,
.manager-tool-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.7fr) minmax(520px, 1.3fr);
  gap: 14px;
  min-height: 0;
  height: min(68vh, 640px);
  overflow: hidden;
}

.manager-tool-grid {
  grid-template-columns: minmax(320px, 0.68fr) minmax(520px, 1.32fr);
  height: auto;
  min-height: 520px;
}

.manager-control-panel,
.manager-result-panel {
  display: grid;
  gap: 12px;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 19, 23, 0.94), rgba(10, 11, 14, 0.98));
  padding: 18px;
  overflow: hidden;
}

.manager-control-panel {
  grid-template-rows: auto auto auto auto auto;
}

.manager-result-panel {
  grid-template-rows: auto auto minmax(0, 1fr);
}

.manager-panel-title {
  display: grid;
  gap: 5px;
}

.manager-panel-title h2,
.manager-panel-title h3 {
  margin: 0;
  color: var(--text);
}

.manager-panel-title h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 22px;
  line-height: 1.14;
}

.manager-panel-title h2 small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.manager-panel-title h3 {
  font-size: 20px;
}

.manager-panel-title p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.provider-disabled-note {
  border-left: 2px solid rgba(201, 169, 106, 0.5);
  color: var(--muted);
  padding: 2px 0 2px 9px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.manager-field {
  display: grid;
  gap: 8px;
  min-height: 0;
}

.manager-field + .manager-field,
.manager-field + .note-field,
.note-field + .primary-action {
  padding-top: 12px;
  border-top: 1px solid rgba(245, 240, 230, 0.07);
}

.manager-field h4 {
  margin: 0;
  color: var(--text);
  font-size: 13px;
}

.manager-param-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.manager-param-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.manager-param-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.manager-param-grid select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0c10;
  color: var(--text);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
}

.manager-upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px dashed #30333b;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 169, 106, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.98), rgba(3, 4, 7, 0.98));
  color: var(--muted);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) ease;
}

.manager-upload-zone::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(245, 240, 230, 0.08);
  border-radius: 11px;
  pointer-events: none;
}

.manager-upload-zone:hover {
  border-color: rgba(215, 181, 109, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 169, 106, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(12, 13, 17, 0.98), rgba(5, 6, 9, 0.98));
  box-shadow: inset 0 0 0 1px rgba(201, 169, 106, 0.06), 0 10px 28px rgba(0, 0, 0, 0.28);
}

.manager-upload-zone img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 170px;
  object-fit: contain;
}

.manager-upload-zone span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.manager-upload-zone strong {
  color: var(--text);
  font-size: 13px;
}

.manager-upload-zone small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.manager-prompt-field textarea {
  min-height: 76px;
  max-height: 104px;
}

.manager-result-stage {
  position: relative;
  display: grid;
  min-height: 0;
  border: 1px solid rgba(201, 169, 106, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    radial-gradient(circle at 50% 36%, rgba(201, 169, 106, 0.07), transparent 36%),
    #08090c;
  background-size: 30px 30px, 30px 30px, auto, auto;
  overflow: hidden;
  box-shadow: inset 0 0 46px rgba(255, 255, 255, 0.025), inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.manager-result-stage figure {
  display: grid;
  gap: 8px;
  min-height: 0;
  margin: 0;
  padding: 12px;
}

.manager-result-stage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.manager-result-stage figcaption {
  color: var(--muted);
  font-size: 12px;
}

.manager-result-stage .empty-workbench,
.reverse-result-panel .reverse-empty {
  position: relative;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  isolation: isolate;
}

.manager-result-stage .empty-workbench::before,
.reverse-result-panel .reverse-empty::before {
  content: "";
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  background: url("../../assets/brand/etchshadow-negative-space-mark.png") center / contain no-repeat;
  opacity: 0.16;
  filter: drop-shadow(0 0 22px rgba(201, 169, 106, 0.22));
}

.manager-result-stage .empty-workbench strong,
.reverse-result-panel .reverse-empty strong {
  max-width: 360px;
  color: rgba(245, 240, 230, 0.82);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

.style-step {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.74);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.style-step:hover {
  border-color: rgba(215, 181, 109, 0.5);
  background: rgba(19, 20, 24, 0.88);
  color: var(--gold-strong);
}

.style-step-prev {
  left: 12px;
}

.style-step-next {
  right: 12px;
}

.generator-run-action {
  position: relative;
  display: grid;
  gap: 2px;
  min-height: 50px;
  overflow: hidden;
  border-color: rgba(201, 169, 106, 0.72);
  background: linear-gradient(180deg, #d8ba73 0%, #b9934c 100%);
  color: #11100b;
  font-size: 14px;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 30px rgba(215, 181, 109, 0.12);
}

.generator-run-action strong {
  font-weight: 700;
}

.generator-run-action span {
  font-size: 11px;
  letter-spacing: 0;
}

.generator-run-action:hover {
  border-color: rgba(235, 207, 139, 0.95);
  background: linear-gradient(180deg, #ebd08a 0%, #d2b067 100%);
  color: #090806;
  transform: translateY(-1px);
}

.generator-run-action:active {
  transform: translateY(1px) scale(0.992);
  box-shadow: inset 0 2px 16px rgba(30, 22, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.generator-run-action::after,
.same-look-run::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 38%),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.22) 48%, transparent 66%);
  opacity: 0.28;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.generator-run-action[aria-busy="true"]::after,
.same-look-run[aria-busy="true"]::after {
  inset: 0;
  border-radius: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 42%, transparent 72%);
  opacity: 1;
  mix-blend-mode: normal;
  transform: translateX(-120%);
  animation: button-wait-sheen 1.15s ease-in-out infinite;
}

.reverse-workbench .generator-run-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  max-height: 58px;
  padding: 0 22px;
  border-color: rgba(0, 215, 231, 0.44);
  border-radius: 14px;
  background: linear-gradient(180deg, #69d8dc 0%, #22a4ad 100%);
  color: #021011;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 12px 30px rgba(0, 215, 231, 0.1);
}

.reverse-workbench .generator-run-action strong {
  font-size: inherit;
  line-height: inherit;
}

.reverse-workbench .generator-run-action:hover {
  border-color: rgba(117, 238, 245, 0.8);
  background: linear-gradient(180deg, #82eef2 0%, #2eb7c0 100%);
}

.reverse-workbench .manager-result-panel {
  border-color: rgba(0, 215, 231, 0.14);
}

.reverse-workbench .reverse-empty::before {
  filter: drop-shadow(0 0 24px rgba(0, 215, 231, 0.18));
}

.same-look-modal {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  height: min(82vh, 760px);
  padding: 16px;
  overflow: hidden;
}

.same-look-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.same-look-head h2 {
  margin: 4px 0 2px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 400;
  line-height: 1.08;
}

.same-look-head p {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
}

.same-look-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.58fr);
  gap: 18px;
  min-height: 0;
  overflow: hidden;
}

.same-look-style,
.same-look-controls {
  min-height: 0;
}

.same-look-style {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
}

.same-look-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #020304;
  overflow: hidden;
}

.same-look-stage img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.same-look-thumbs {
  display: flex;
  gap: 7px;
  min-height: 62px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}

.same-look-thumbs button {
  flex: 0 0 54px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #090a0d;
  padding: 2px;
  overflow: hidden;
}

.same-look-thumbs button[aria-current="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(215, 181, 109, 0.35);
}

.same-look-thumbs img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.same-look-controls {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
  align-content: start;
  overflow: auto;
  padding-right: 2px;
}

.same-look-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(14, 15, 18, 0.92);
  padding: 12px;
}

.same-look-card h3,
.same-look-card h4,
.same-look-card > span {
  margin: 0;
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.same-look-card p {
  margin: 5px 0 0;
  color: #e1e3ea;
  font-size: 12px;
  line-height: 1.4;
}

.field-help {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.same-look-grid-simple .same-look-controls {
  grid-template-rows: auto auto auto;
}

.same-look-upload {
  position: relative;
  min-height: clamp(180px, 27vh, 260px);
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 0;
}

.same-look-upload::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  width: min(88px, 28%);
  aspect-ratio: 1;
  background: url("../../assets/brand/etchshadow-negative-space-mark.png") center / contain no-repeat;
  opacity: 0.1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.same-look-run {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 48px;
  overflow: hidden;
  border-radius: 12px;
  font-size: 13px;
  border-color: rgba(201, 169, 106, 0.76);
  background: linear-gradient(180deg, #d8ba73 0%, #b9934c 100%);
  color: #11100b;
  letter-spacing: 0.035em;
  line-height: 1.16;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 30px rgba(215, 181, 109, 0.12);
}

.same-look-run:hover {
  border-color: rgba(235, 207, 139, 0.95);
  background: linear-gradient(180deg, #ebd08a 0%, #d2b067 100%);
  color: #090806;
  transform: translateY(-1px);
}

.same-look-run:active {
  transform: translateY(1px) scale(0.992);
  box-shadow: inset 0 2px 16px rgba(30, 22, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.same-look-notice {
  margin: 0;
  border: 1px solid rgba(215, 181, 109, 0.28);
  border-radius: 10px;
  background: rgba(215, 181, 109, 0.07);
  color: #dcc894;
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.4;
}

.same-look-result {
  display: grid;
  grid-template-columns: minmax(76px, 104px) minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #101116;
  padding: 8px;
}

.same-look-result-preview {
  display: grid;
  place-items: center;
  min-height: 104px;
  overflow: hidden;
  border-radius: 10px;
  background: #050609;
}

.same-look-result img {
  width: 100%;
  height: 104px;
  object-fit: contain;
}

.same-look-result figcaption {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 12px;
}

.same-look-result figcaption strong {
  color: var(--text);
  font-size: 13px;
}

.same-look-result figcaption span {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.same-look-result-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.same-look-result-actions a {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #15161a;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.same-look-result-actions a:hover {
  border-color: rgba(215, 181, 109, 0.45);
  color: #fff8e6;
}

.same-look-card .field-head {
  gap: 8px;
}

.same-look-card .field-head button {
  min-height: 30px;
  padding: 0 9px;
  font-size: 11px;
}

.same-look-card .manager-upload-zone span {
  gap: 4px;
  padding: 0 10px;
}

.same-look-card .manager-upload-zone strong {
  font-size: 13px;
}

.same-look-card .manager-upload-zone small {
  font-size: 11px;
  line-height: 1.35;
}

.same-look-face-card {
  grid-template-rows: auto auto auto;
  min-height: 0;
}

.same-look-upload img {
  position: absolute;
  inset: 8px;
  z-index: 1;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  box-sizing: border-box;
  max-height: none;
  padding: 0;
  object-fit: contain;
}

/* inlined from src/app/styles/detail.css */

#assetDialogBody {
  max-height: min(88vh, 860px);
  overflow: hidden;
}

.detail-viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 20px;
  height: min(88vh, 860px);
  min-height: 500px;
  padding: 16px;
}

.detail-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.detail-stage {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #030405;
  overflow: hidden;
}

.detail-stage img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  object-fit: contain;
}

.square-stage img {
  aspect-ratio: 1 / 1;
}

.detail-info {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow: auto;
  padding: 2px 4px 2px 0;
  scrollbar-width: thin;
}

.detail-title {
  display: grid;
  gap: 8px;
}

.detail-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.detail-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-right: 46px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}

.detail-kicker-row strong {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.detail-kicker-row small {
  color: var(--gold);
  font-size: inherit;
}

.shot-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(215, 181, 109, 0.34);
  border-radius: 10px;
  background: rgba(215, 181, 109, 0.08);
  color: var(--gold);
  text-transform: uppercase;
}

.shot-counter span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.shot-counter strong {
  font-variant-numeric: tabular-nums;
}

.detail-display-title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}

.detail-set-title {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.04;
  text-wrap: balance;
}

.social-prompt-detail {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 18px;
  height: min(84vh, 760px);
  padding: 16px;
}

.social-prompt-detail .detail-media {
  gap: 10px;
}

.social-prompt-detail .detail-info {
  gap: 8px;
  overflow: hidden;
}

.social-prompt-detail .detail-kicker-row {
  gap: 8px;
  padding-right: 42px;
  font-size: 11px;
  line-height: 1.35;
}

.lookbook-description {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 2px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(circle at 14% 0%, rgba(201, 169, 106, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(20, 21, 25, 0.94), rgba(13, 14, 17, 0.98));
  overflow: hidden;
}

.lookbook-description::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 169, 106, 0.72), transparent);
  opacity: 0.72;
}

.lookbook-description h3,
.detail-related-tags h3 {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.lookbook-description p {
  margin: 0;
  color: #e8e4dc;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.58;
}

.lookbook-description button {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 106, 0.72);
  border-radius: 12px;
  background: linear-gradient(180deg, #d8ba73 0%, #b9934c 100%);
  color: #11100b;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.18;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 30px rgba(215, 181, 109, 0.12);
}

.lookbook-description button:hover {
  border-color: rgba(232, 203, 130, 0.96);
  background: linear-gradient(180deg, #e3c982 0%, #caa65f 100%);
  color: #090806;
  transform: translateY(-1px);
}

.lookbook-description button:active {
  transform: translateY(1px) scale(0.992);
  box-shadow: inset 0 2px 16px rgba(30, 22, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.lookbook-description button::after,
.social-prompt-card .prompt-copy-action::after,
.detail-primary-action::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 36%),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.22) 48%, transparent 66%);
  opacity: 0.25;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.lookbook-description button span {
  font-size: 11px;
  letter-spacing: 0;
}

.detail-info-minimal {
  align-content: start;
  overflow: auto;
}

.lookbook-description-compact {
  gap: 11px;
}

.lookbook-description-compact p {
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
}

.lookbook-description-compact p strong {
  color: #f4efe7;
  font-size: 15px;
}

.lookbook-description-compact p span {
  color: #d5d0c6;
  font-size: 13px;
  font-weight: 600;
}

.lookbook-description h3 small {
  color: #bda477;
  font-size: inherit;
}

.social-prompt-card {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 0;
  margin-top: 0;
  padding: 18px;
  border-color: rgba(201, 169, 106, 0.24);
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 169, 106, 0.1), transparent 38%),
    linear-gradient(180deg, rgba(20, 21, 25, 0.94), rgba(12, 13, 16, 0.98));
}

.social-prompt-card h3 {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.prompt-status {
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(215, 181, 109, 0.35);
  border-radius: 999px;
  background: rgba(215, 181, 109, 0.08);
  color: var(--gold);
  padding: 5px 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.prompt-share-text {
  overflow: auto;
  min-height: 0;
  max-height: none;
  margin: 0;
  border: 1px solid rgba(201, 169, 106, 0.22);
  border-left-color: rgba(224, 199, 133, 0.58);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(201, 169, 106, 0.07), transparent 34%),
    #050609;
  color: #edf1f6;
  padding: 16px 18px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.social-prompt-card .prompt-copy-action {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 106, 0.72);
  border-radius: 12px;
  background: linear-gradient(180deg, #d8ba73 0%, #b9934c 100%);
  color: #11100b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.18;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 30px rgba(215, 181, 109, 0.12);
}

.social-prompt-card .prompt-copy-action:hover {
  border-color: rgba(235, 207, 139, 0.95);
  background: linear-gradient(180deg, #ebd08a 0%, #d2b067 100%);
  color: #090806;
  transform: translateY(-1px);
}

.social-prompt-card .prompt-copy-action:active {
  transform: translateY(1px) scale(0.992);
  box-shadow: inset 0 2px 16px rgba(30, 22, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.social-prompt-card .prompt-copy-action span {
  font-size: 11px;
}

.prompt-copy-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.detail-micro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.detail-micro-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  background: #101116;
}

.detail-related-tags {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.detail-facts-panel {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b0c10;
}

.detail-facts-panel summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.detail-facts-panel .detail-facts {
  padding: 0 14px 14px;
}

.detail-prompt-block {
  margin-top: 12px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.detail-facts div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0c10;
}

.detail-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.detail-facts dd {
  margin: 4px 0 0;
  overflow-wrap: break-word;
}

.detail-filmstrip {
  display: flex;
  flex-direction: row;
  gap: 8px;
  min-width: 0;
  height: auto;
  max-height: 112px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.detail-thumb {
  flex: 0 0 clamp(66px, 5vw, 86px);
  min-width: 0;
  min-height: 0;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0b0c10;
}

.detail-thumb[aria-current="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(215, 181, 109, 0.2);
}

.detail-thumb img {
  display: block;
  width: 100%;
  height: clamp(78px, 5.8vw, 102px);
  aspect-ratio: var(--thumb-ratio, 4 / 5);
  border-radius: 8px;
  object-fit: cover;
}

.square-thumbs .detail-thumb {
  flex-basis: auto;
}

.square-thumbs .detail-thumb img {
  height: clamp(74px, 5.8vw, 96px);
}

.detail-block {
  display: grid;
  gap: 8px;
}

.detail-prompt {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0c10;
}

.detail-prompt summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--text);
  font-weight: 700;
}

.detail-prompt pre {
  border-width: 1px 0 0;
  border-radius: 0 0 10px 10px;
}

.detail-note {
  margin: 0;
  color: var(--muted);
}

.dialog-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
}

.empty-state,
.fatal-message {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
}

.detail-brief {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.detail-brief div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 9, 12, 0.72);
}

.detail-brief dt {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-brief dd {
  margin: 4px 0 0;
  color: #e7e2d7;
  font-size: 13px;
  line-height: 1.5;
}

.detail-primary-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  padding: 0 20px;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 106, 0.72);
  border-radius: var(--radius-control);
  background: linear-gradient(180deg, #d8ba73 0%, #b9934c 100%);
  color: #11100b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 14px 32px rgba(215, 181, 109, 0.14);
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease, transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.detail-primary-action:hover {
  border-color: rgba(235, 207, 139, 0.95);
  background: linear-gradient(180deg, #ebd08a 0%, #d2b067 100%);
  color: #090806;
  transform: translateY(-1px);
}

.detail-primary-action:active {
  transform: translateY(1px) scale(0.992);
  box-shadow: inset 0 2px 16px rgba(30, 22, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.detail-tags {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.detail-tags h3 {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* inlined from src/app/styles/feedback.css */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  max-width: min(420px, calc(100vw - 48px));
  padding: 13px 16px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: #16140e;
  color: var(--gold);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.48);
}

.toast-flash {
  animation: toast-flash 1.4s ease both;
}

@keyframes toast-flash {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  15%,
  76% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}

[hidden] {
  display: none !important;
}

/* inlined from src/app/styles/motion.css */

.motion-ready [data-reveal][data-reveal-ready="true"] {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity var(--reveal-duration, var(--motion-base)) var(--ease-etched),
    transform var(--reveal-duration, var(--motion-base)) var(--ease-etched);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready [data-reveal="fade"][data-reveal-ready="true"] {
  transform: none;
}

.motion-ready [data-reveal][data-reveal-ready="true"].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-ready [data-reveal="fade"][data-reveal-ready="true"].is-visible {
  transform: none;
}

.motion-ready .asset-card[data-reveal][data-reveal-ready="true"] {
  --reveal-duration: 860ms;
  opacity: 0.08;
  clip-path: inset(20% 0 10% 0 round var(--radius-panel));
  transform: translate3d(0, 54px, 0) scale(0.972);
  transition:
    opacity 760ms var(--ease-etched),
    transform 1040ms var(--ease-etched),
    clip-path 1100ms var(--ease-etched),
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, clip-path;
}

.motion-ready .asset-card[data-reveal][data-reveal-ready="true"] .asset-open {
  position: relative;
  isolation: isolate;
}

.motion-ready .asset-card[data-reveal][data-reveal-ready="true"] .asset-open img {
  transform: scale(1.07);
  filter: saturate(0.64) contrast(1.08) brightness(0.42) blur(1px);
  transition:
    transform 1180ms var(--ease-etched),
    filter 1080ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .asset-card[data-reveal][data-reveal-ready="true"] .asset-open::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 4, 5, 0.74), rgba(4, 4, 5, 0.3) 48%, rgba(4, 4, 5, 0.04)),
    linear-gradient(112deg, transparent 0%, rgba(232, 203, 136, 0.2) 40%, transparent 62%);
  opacity: 0.9;
  transform: translate3d(0, -12%, 0);
  transition:
    opacity 980ms var(--ease-etched),
    transform 1120ms var(--ease-etched);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .asset-card[data-reveal][data-reveal-ready="true"].is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--radius-panel));
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-ready .asset-card[data-reveal][data-reveal-ready="true"].is-visible .asset-open img {
  transform: scale(1);
  filter: saturate(0.98) contrast(1.02) brightness(0.96);
}

.motion-ready .asset-card[data-reveal][data-reveal-ready="true"].is-visible .asset-open::after {
  opacity: 0;
  transform: translate3d(0, 9%, 0);
}

.motion-ready .asset-card[data-reveal][data-reveal-ready="true"].is-visible:hover {
  transform: translateY(-2px);
}

.motion-ready .asset-card[data-self-category="story_character"][data-reveal][data-reveal-ready="true"].is-visible:hover,
.motion-ready .asset-card[data-self-category="story_character"][data-reveal][data-reveal-ready="true"].is-visible[data-cursor="active"] {
  transform: translateY(-3px) rotateX(0.25deg);
}

.asset-dialog[open] .detail-viewer,
.generator-dialog[open] .same-look-modal,
.auth-dialog[open] .auth-card-light {
  animation: dialog-content-in 180ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.detail-stage img[data-detail-main] {
  transition: opacity 140ms ease;
}

.prompt-copy-action.is-success,
.social-prompt-card .prompt-copy-action.is-success {
  border-color: rgba(0, 215, 231, 0.72);
  background: linear-gradient(180deg, rgba(0, 215, 231, 0.22), rgba(0, 215, 231, 0.12));
  color: #eaffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(0, 215, 231, 0.14);
}

.manager-result-stage figure,
.reverse-result,
.same-look-result {
  animation: result-content-in 180ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

[aria-busy="true"] {
  cursor: progress;
}

[aria-busy="true"] strong::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  text-align: left;
  animation: busy-dots 1.1s steps(4, end) infinite;
}

@keyframes dialog-content-in {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes result-content-in {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes busy-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%,
  100% { content: "..."; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal][data-reveal-ready="true"],
  .hero-copy,
  .hero-frame,
  .hero-frame-inner,
  .hero-video-slot,
  .hero-video-slot::before,
  .hero-video-slot::after,
  .hero-light-rift,
  .hero-contact-thumb,
  .hero-depth-line::before,
  .asset-dialog[open] .detail-viewer,
  .generator-dialog[open] .same-look-modal,
  .auth-dialog[open] .auth-card-light,
  .detail-stage img[data-detail-main],
  .manager-result-stage figure,
  .reverse-result,
  .same-look-result,
  .module-tabs::after,
  .hero-depth-line::after,
  .gallery-panel[data-module-id="self_media"][data-filter-id="creative_content"] .gallery-meta::after,
  .asset-card[data-self-category="story_character"],
  .asset-card[data-self-category="story_character"]::after,
  [aria-busy="true"] strong::after {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .gallery-panel[data-module-id="self_media"][data-filter-id="creative_content"] .gallery-meta::after,
  .asset-card[data-self-category="story_character"]::after {
    opacity: 0;
  }

  .hero-frame {
    opacity: var(--frame-opacity, 1);
    transform: translate3d(-50%, -50%, var(--hero-depth, 0px)) rotate(var(--tilt, 0deg)) scale(var(--scale, 1));
  }

  .hero-video-slot {
    opacity: var(--hero-video-opacity, 0.84);
    transform: translate3d(-50%, -50%, 14px) rotate(-7deg);
  }

  .hero-contact-thumb {
    opacity: 1;
    transform: none;
  }
}

/* inlined from src/app/styles/account.css */

.account-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(360px, 40vw);
}

.account-email {
  overflow: hidden;
  max-width: 190px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credit-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  width: max-content;
  border: 1px solid rgba(215, 181, 109, 0.36);
  border-radius: 999px;
  background: rgba(215, 181, 109, 0.09);
  color: var(--gold);
  padding: 7px 10px;
  line-height: 1;
}

.credit-badge strong {
  color: var(--gold-strong);
}

.credit-badge span {
  color: #d7dce7;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.credit-badge.compact {
  padding: 6px 9px;
}

.credit-badge.compact span {
  font-size: var(--fs-xs);
}

.account-card {
  display: grid;
  gap: 18px;
}

.account-card h2 {
  color: var(--text);
}

.account-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(110px, 0.7fr) minmax(140px, 0.9fr);
  gap: 10px;
}

.account-overview > div,
.credit-balance-grid > div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0c10;
  padding: 14px;
}

.account-overview span,
.credit-balance-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.account-overview strong,
.credit-balance-grid strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: break-word;
  color: var(--text);
}

.account-actions button {
  min-height: 42px;
}

.credit-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: min(92vh, 760px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
  padding: 0;
}

.credit-dialog::backdrop {
  background: rgba(0, 0, 0, 0.74);
}

.credit-dialog-card {
  display: grid;
  gap: 18px;
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: 24px;
}

.credit-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.credit-dialog-head h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.credit-balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.credit-member-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(225, 187, 105, 0.3);
  border-radius: 16px;
  background:
    radial-gradient(circle at 8% 0%, rgba(225, 187, 105, 0.14), transparent 38%),
    rgba(225, 187, 105, 0.06);
  padding: 14px 16px;
}

.credit-member-nudge span {
  display: block;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.credit-member-nudge p {
  margin: 5px 0 0;
  color: rgba(244, 238, 226, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.credit-member-nudge strong {
  flex: 0 0 auto;
  border: 1px solid rgba(225, 187, 105, 0.34);
  border-radius: 999px;
  background: rgba(225, 187, 105, 0.1);
  color: var(--gold-strong);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  padding: 8px 12px;
}

.credit-redeem-form {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.credit-redeem-form label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.credit-redeem-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.credit-redeem-row input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #090a0d;
  color: var(--text);
  font: inherit;
  letter-spacing: 0.04em;
  padding: 0 12px;
  text-transform: uppercase;
}

.credit-redeem-row .primary-action {
  min-height: 44px;
  padding-inline: 18px;
}

.credit-redeem-form p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.credit-ledger {
  display: grid;
  gap: 10px;
}

.credit-ledger h3 {
  margin: 0;
  font-size: 18px;
}

.credit-ledger-table {
  display: grid;
  gap: 8px;
}

.credit-ledger-row {
  display: grid;
  grid-template-columns: 1fr auto 1.4fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b0c10;
  padding: 10px 12px;
}

.credit-ledger-row span {
  color: #dbe1ea;
  font-weight: 700;
}

.credit-ledger-row strong {
  color: var(--gold-strong);
}

.credit-ledger-row em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.credit-topup[disabled] {
  cursor: not-allowed;
  opacity: 0.66;
}

.checkout-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(225, 187, 105, 0.42);
  border-radius: 10px;
  background: rgba(225, 187, 105, 0.12);
  color: var(--gold-strong);
  font-weight: 700;
  text-decoration: none;
  padding: 0 14px;
}

.checkout-link:hover {
  background: rgba(225, 187, 105, 0.18);
}

@media (max-width: 760px) {
  .account-summary {
    max-width: 48vw;
  }

  .account-email {
    max-width: 120px;
  }

  .account-overview,
  .credit-balance-grid,
  .credit-redeem-row,
  .credit-member-nudge,
  .credit-ledger-row {
    grid-template-columns: 1fr;
  }

  .credit-member-nudge {
    flex-direction: column;
    align-items: flex-start;
  }

  .credit-ledger-row em {
    text-align: left;
  }
}

.auth-dialog:has(.account-card) {
  width: min(760px, calc(100% - 28px));
}

.account-card {
  position: relative;
  overflow: hidden;
  gap: 16px;
  padding: 0;
  border-color: rgba(215, 181, 109, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(215, 181, 109, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(19, 20, 24, 0.98), rgba(8, 9, 11, 0.98));
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.5);
}

.account-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(215, 181, 109, 0.07) 72% 72.2%, transparent 72.2%),
    radial-gradient(circle at 82% 16%, rgba(215, 181, 109, 0.12), transparent 28%);
}

.account-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.account-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 26px 72px 20px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(215, 181, 109, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(215, 181, 109, 0.22), rgba(255, 255, 255, 0.04)),
    #0b0c10;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.account-title-block {
  min-width: 0;
}

.account-title-block h2 {
  margin: 4px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
}

.account-email-line {
  max-width: 100%;
  margin: 8px 0 0;
  overflow: hidden;
  color: #b8bcc6;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-credit-panel {
  display: flex;
  justify-content: flex-end;
}

.account-credit-panel .credit-badge {
  padding: 10px 14px;
  border-color: rgba(215, 181, 109, 0.52);
  background:
    radial-gradient(circle at 30% 10%, rgba(255, 232, 178, 0.18), transparent 34%),
    rgba(215, 181, 109, 0.1);
}

.account-detail-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.35fr 0.6fr 0.8fr;
  gap: 12px;
  margin: 0;
  padding: 0 26px;
}

.account-detail-grid > div {
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 15px 16px;
}

.account-detail-grid span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-detail-grid strong {
  margin-top: 8px;
  overflow: hidden;
  color: #f3efe6;
  font-size: 16px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 0 26px 26px;
}

.account-actions button {
  min-height: 48px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
}

.account-primary {
  border-color: rgba(215, 181, 109, 0.5);
  background: linear-gradient(180deg, rgba(215, 181, 109, 0.22), rgba(215, 181, 109, 0.1));
  color: var(--gold-strong);
}

.account-secondary {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.035);
  color: #d9dde6;
}

.pricing-dialog,
.checkout-dialog {
  width: min(1040px, calc(100% - 32px));
  max-height: min(94vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(215, 181, 109, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 181, 109, 0.12), transparent 36%),
    #0d0e11;
  color: var(--text);
  padding: 0;
  box-shadow: 0 44px 140px rgba(0, 0, 0, 0.68);
}

.pricing-dialog::backdrop,
.checkout-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.pricing-dialog-card,
.checkout-dialog-card {
  display: grid;
  gap: 14px;
  max-height: min(94vh, 860px);
  overflow: auto;
  padding: 24px 28px;
}

.pricing-dialog-head,
.checkout-dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.pricing-dialog-head h2,
.checkout-dialog-head h2 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1;
}

.pricing-dialog-head p {
  max-width: 560px;
  margin: 8px 0 0;
  color: #aeb4bf;
  font-size: 14px;
  line-height: 1.55;
}

.payment-provider-note,
.checkout-status {
  margin: 0;
  border: 1px solid rgba(215, 181, 109, 0.24);
  border-radius: 14px;
  background: rgba(215, 181, 109, 0.08);
  color: #d9c58f;
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.pricing-bonus-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 14px;
  overflow: hidden;
  border: 1px solid rgba(215, 181, 109, 0.36);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 234, 178, 0.18), transparent 42%),
    radial-gradient(circle at 88% 15%, rgba(215, 181, 109, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(215, 181, 109, 0.13), rgba(255, 255, 255, 0.032)),
    #111111;
  padding: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.pricing-bonus-copy span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-bonus-copy strong {
  display: block;
  max-width: 680px;
  margin-top: 7px;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.06;
  text-wrap: balance;
}

.pricing-bonus-copy p {
  max-width: 680px;
  margin: 9px 0 0;
  color: #c6cbd3;
  font-size: 13px;
  line-height: 1.55;
}

.pricing-bonus-pills {
  display: grid;
  gap: 8px;
}

.pricing-bonus-pills span {
  border: 1px solid rgba(215, 181, 109, 0.24);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  color: #f4e3ad;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.pricing-offer-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pricing-offer-strip span {
  min-height: 44px;
  border: 1px solid rgba(215, 181, 109, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(215, 181, 109, 0.12), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.026);
  color: #f0dfae;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.pricing-package-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pricing-package {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr auto auto;
  gap: 10px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    #101115;
  padding: 16px;
}

.pricing-package::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.1), transparent 28% 100%);
  opacity: 0.45;
}

.pricing-package.is-featured {
  border-color: rgba(215, 181, 109, 0.62);
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 181, 109, 0.18), transparent 40%),
    linear-gradient(160deg, rgba(215, 181, 109, 0.11), rgba(255, 255, 255, 0.025)),
    #111111;
  box-shadow: 0 20px 70px rgba(215, 181, 109, 0.09);
}

.pricing-package > * {
  position: relative;
  z-index: 1;
}

.pricing-package-kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(215, 181, 109, 0.34);
  border-radius: 999px;
  background: rgba(215, 181, 109, 0.1);
  color: var(--gold);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-package h3 {
  margin: 10px 0 5px;
  color: #f6f0e7;
  font-size: 21px;
  line-height: 1.16;
}

.pricing-package-top p,
.pricing-package-provider {
  margin: 0;
  color: #aab0ba;
  font-size: 13px;
  line-height: 1.45;
}

.pricing-price-row {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-price-row strong {
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1;
}

.pricing-price-row span {
  color: #eef1f5;
  font-size: 14px;
  font-weight: 800;
}

.pricing-value-line {
  margin: -2px 0 0;
  border-left: 2px solid rgba(215, 181, 109, 0.5);
  color: #efe2be;
  padding-left: 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.pricing-daily-card {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(215, 181, 109, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 181, 109, 0.2), transparent 42%),
    rgba(215, 181, 109, 0.075);
  padding: 11px 12px;
}

.pricing-daily-card > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-daily-card strong {
  color: #fff8e8;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 0.95;
}

.pricing-daily-card small {
  margin-left: 4px;
  color: #d8c58f;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
}

.pricing-daily-card p,
.pricing-monthly-note {
  margin: 0;
  color: #b9bfca;
  font-size: 11px;
  line-height: 1.35;
}

.pricing-usage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.pricing-usage-grid span {
  display: grid;
  gap: 5px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  color: #aeb4bf;
  padding: 8px;
  font-size: 11px;
  line-height: 1.2;
}

.pricing-usage-grid strong {
  color: #f4e4af;
  font-size: 18px;
  line-height: 1;
}

.pricing-package-benefits {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-package-benefits li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #cfd4de;
  font-size: 12px;
  line-height: 1.3;
}

.pricing-package-benefits li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(215, 181, 109, 0.42);
}

.pricing-package .primary-action,
.checkout-dialog-card .primary-action {
  min-height: 44px;
  border-radius: 14px;
  background: linear-gradient(180deg, #e4c878, #c49d43);
  color: #10100c;
  font-size: 15px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.pricing-package .primary-action:hover,
.checkout-dialog-card .primary-action:hover {
  filter: brightness(1.04);
  box-shadow: 0 14px 34px rgba(215, 181, 109, 0.18);
}

.pricing-package .primary-action:active,
.checkout-dialog-card .primary-action:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: none;
}

.pricing-package .primary-action[disabled],
.checkout-dialog-card .primary-action[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  filter: grayscale(0.18);
}

.pricing-package .primary-action[disabled]:hover,
.checkout-dialog-card .primary-action[disabled]:hover,
.pricing-package .primary-action[disabled]:active,
.checkout-dialog-card .primary-action[disabled]:active {
  transform: none;
  box-shadow: none;
  filter: grayscale(0.18);
}

.checkout-dialog {
  width: min(640px, calc(100% - 32px));
}

.checkout-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkout-summary > div,
.checkout-result {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 14px;
}

.checkout-summary span,
.checkout-result span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.checkout-summary strong,
.checkout-result strong {
  display: block;
  margin-top: 6px;
  color: #f4f0e8;
}

.checkout-result {
  display: grid;
  gap: 10px;
}

.checkout-result p {
  margin: 0;
  color: #aeb4bf;
  font-size: 13px;
  line-height: 1.5;
}

.checkout-membership-note {
  margin: -6px 0 0;
  color: #b8bec8;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 820px) {
  .auth-dialog:has(.account-card),
  .pricing-dialog,
  .checkout-dialog {
    width: min(100% - 22px, 560px);
  }

  .account-hero,
  .account-detail-grid,
  .account-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .account-hero {
    grid-template-columns: auto minmax(0, 1fr);
    padding-top: 22px;
  }

  .account-credit-panel {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .account-detail-grid,
  .pricing-package-list,
  .pricing-offer-strip,
  .pricing-bonus-banner,
  .checkout-summary {
    grid-template-columns: 1fr;
  }

  .account-actions {
    grid-template-columns: 1fr;
  }

  .pricing-dialog-card,
  .checkout-dialog-card {
    padding: 20px;
  }

  .pricing-package {
    min-height: 0;
  }

  .pricing-usage-grid {
    grid-template-columns: 1fr;
  }
}

/* inlined from src/app/styles/admin.css */

/* Reserved for admin feature styles. */

/* inlined from src/app/styles/responsive.css */

@media (max-width: 1100px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    min-width: 0;
  }

  .module-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    margin: 14px 0 18px;
    padding: 28px;
    min-height: clamp(620px, calc(100dvh - 150px), 760px);
  }

  .hero-copy {
    left: 28px;
    top: 50px;
    max-width: min(560px, 50vw);
  }

  .hero-media {
    width: 100%;
    min-width: 0;
    min-height: 0;
  }

  .detail-layout,
  .detail-viewer,
  .same-look-grid,
  .manager-generator-layout,
  .manager-tool-grid {
    grid-template-columns: 1fr;
  }

  .detail-viewer {
    grid-template-rows: minmax(300px, 1fr) minmax(230px, 0.82fr);
  }

  .detail-media {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .detail-stage {
    order: 1;
  }

  .detail-filmstrip {
    order: 2;
    flex-direction: row;
    height: auto;
    max-height: 122px;
    padding: 2px 2px 6px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .detail-thumb {
    flex: 0 0 76px;
  }

  .same-look-modal {
    overflow: auto;
  }

  .same-look-grid,
  .manager-generator-layout,
  .manager-tool-grid {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-shell {
    width: min(100% - 24px, 1920px);
  }

  .site-header {
    margin-top: 12px;
    padding: 10px;
    border-radius: 18px;
    align-items: stretch;
    gap: 10px;
    z-index: 60;
  }

  .brand {
    width: 100%;
    gap: 10px;
  }

  .brand-mark {
    width: 30px;
    height: 40px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-divider {
    font-size: 22px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: minmax(58px, 0.7fr) minmax(76px, 0.82fr) minmax(118px, 1.35fr);
    align-items: stretch;
    justify-content: stretch;
    gap: 8px;
    overflow: visible;
    scrollbar-width: none;
  }

  .locale-switcher,
  .locale-menu,
  .header-redeem-code,
  .auth-mount {
    min-width: 0;
  }

  .header-actions::-webkit-scrollbar {
    display: none;
  }

  .locale-menu summary {
    width: 100%;
    min-width: 58px;
    min-height: 38px;
    padding: 0 8px;
  }

  .locale-menu-list {
    right: auto;
    left: 0;
    min-width: min(188px, calc(100vw - 36px));
  }

  .header-buy-credits,
  .header-redeem-code {
    min-height: 38px;
    border-color: rgba(201, 169, 106, 0.38);
    background: rgba(10, 10, 12, 0.42);
    color: var(--gold);
    padding: 0 10px;
    font-size: 12px;
    box-shadow: inset 0 0 0 1px rgba(201, 169, 106, 0.04);
  }

  .auth-mount {
    min-width: 0;
  }

  .auth-summary {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
  }

  .auth-summary strong {
    max-width: 100%;
  }

  .module-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
  }

  .module-card {
    min-height: 56px;
    padding: 11px 12px;
  }

  .hero-panel {
    min-height: min(610px, calc(100dvh - 138px));
    margin: 12px 0 24px;
    padding: 20px 14px 18px;
    display: block;
  }

  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    z-index: 14;
    justify-items: start;
    gap: 10px;
    max-width: none;
    padding-left: 0;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(30px, 8.6vw, 40px);
    line-height: 1.02;
  }

  .hero-promise {
    max-width: 310px;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-title::after {
    justify-self: start;
    width: 54%;
    margin-top: 12px;
  }

  .hero-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .hero-cta {
    flex: 1 1 132px;
    min-height: 46px;
    padding: 0 12px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    height: min(37dvh, 320px);
    min-height: 270px;
    margin-top: 12px;
  }

  .hero-media::before {
    right: -18%;
    top: 8%;
    width: 92%;
    height: 76%;
    border-radius: 24px;
    opacity: 0.2;
  }

  .hero-media::after {
    left: 12%;
    bottom: 9%;
    width: 76%;
  }

  .hero-stage-wordmark {
    right: -18%;
    bottom: 24%;
    width: 120%;
    font-size: clamp(58px, 24vw, 110px);
    opacity: 0.18;
  }

  .hero-depth-line {
    left: 13%;
    top: 22%;
    width: 82%;
    height: 62%;
    border-radius: 14px;
  }

  .hero-video-slot {
    left: 57%;
    top: 58%;
    width: min(76vw, 320px);
    height: 92%;
    min-height: 0;
    --hero-video-opacity: 0.26;
    border-radius: 24px;
    opacity: 0;
    transform: translate3d(-50%, -50%, 18px) rotate(-5.4deg);
  }

  .hero-workflow-line {
    left: 18%;
    top: 28%;
    width: 72%;
    height: 42%;
    opacity: 0.42;
  }

  .hero-frame {
    width: clamp(90px, 24vw, 124px);
  }

  .hero-frame-1 {
    width: min(58vw, 228px);
    --scale: 1;
    --frame-opacity: 0.94;
    left: 62%;
    top: 50%;
    z-index: 14;
  }

  .hero-frame-2 {
    width: min(33vw, 128px);
    --scale: 0.78;
    --frame-opacity: 0.44;
    left: 28%;
    top: 49%;
    z-index: 8;
  }

  .hero-frame-3 {
    display: block;
    width: min(32vw, 132px);
    --scale: 0.76;
    --frame-opacity: 0.5;
    left: 87%;
    top: 51%;
    z-index: 9;
  }

  .hero-frame-4 {
    display: block;
    width: min(76vw, 292px);
    --scale: 1;
    --frame-opacity: 0.78;
    left: 60%;
    top: 80%;
    z-index: 16;
  }

  .hero-frame-5 {
    display: none;
  }

  .filter-pill {
    min-width: 140px;
  }

  .auth-profile,
  .auth-form {
    grid-template-columns: 1fr;
  }

  .lookbook-grid,
  .self-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .lookbook-grid .asset-card,
  .self-media-grid .asset-card {
    display: block;
    width: auto;
    margin: 0;
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  .lookbook-grid .gallery-load-more,
  .self-media-grid .gallery-load-more {
    grid-column: 1 / -1;
  }

  .auth-card-light {
    padding: 20px 16px 20px;
    border-radius: 18px;
  }

  .auth-welcome {
    margin: 28px 0 16px;
  }

  .auth-welcome h2 {
    font-size: 26px;
  }

  .auth-social-button,
  .auth-continue-button,
  .auth-form-light input {
    min-height: 48px;
    font-size: 16px;
  }

  .auth-code-row {
    gap: 8px;
  }

  .auth-card {
    padding: 16px;
  }

  .auth-head,
  .field-head {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-facts,
  .detail-side dl {
    grid-template-columns: 1fr;
  }

  .asset-dialog {
    width: min(100% - 18px, 1420px);
    max-height: 92vh;
  }

  #assetDialogBody {
    max-height: 92vh;
  }

  .detail-viewer {
    height: 90vh;
    min-height: 0;
    padding: 12px;
  }

  .detail-filmstrip {
    gap: 7px;
  }

  .detail-filmstrip .detail-thumb {
    flex-basis: 68px;
  }

  .detail-display-title {
    font-size: 28px;
  }

  .lookbook-description {
    margin-top: 12px;
    padding: 14px;
  }

  .lookbook-description p {
    font-size: 14px;
  }

  .generator-dialog {
    width: min(100% - 18px, 1360px);
  }

  .generator-modal-content {
    padding: 12px;
  }

  .generator-modal-head {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .manager-param-grid {
    grid-template-columns: 1fr;
  }

  .same-look-modal {
    height: 90vh;
    padding: 12px;
  }

  .same-look-head h2 {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1100px) {
  .hero-panel {
    min-height: clamp(650px, calc(100dvh - 132px), 760px);
  }

  .hero-copy {
    max-width: min(520px, 56vw);
  }

  .hero-title {
    font-size: clamp(42px, 7vw, 78px);
  }

  .hero-video-slot {
    left: 57%;
    width: clamp(340px, 38vw, 520px);
  }

  .hero-frame-1 {
    left: 72%;
    width: clamp(320px, 38vw, 500px);
  }

  .hero-frame-4 {
    width: clamp(320px, 42vw, 540px);
  }

  .hero-contact-sheet {
    right: 28px;
  }
}

@media (max-width: 720px) {
  .hero-panel {
    min-height: min(710px, calc(100dvh - 118px));
    margin: 12px 0 24px;
    padding: 18px 14px 16px;
  }

  .hero-panel::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.54) 38%, rgba(0, 0, 0, 0.9) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 58%, rgba(0, 0, 0, 0.78));
  }

  .hero-copy {
    gap: 9px;
    max-width: 92%;
  }

  .hero-title {
    width: min(100%, 360px);
    font-size: clamp(34px, 11vw, 50px);
    line-height: 0.98;
  }

  .hero-title span:not(.hero-title-brand) {
    max-width: 7.2em;
    font-size: 0.62em;
  }

  .hero-promise {
    max-width: 286px;
    font-size: 13px;
    line-height: 1.42;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-cta {
    flex: 0 1 auto;
    min-width: 132px;
    min-height: 44px;
    padding: 0 14px;
  }

  .hero-media {
    height: min(48dvh, 390px);
    min-height: 330px;
    margin-top: 10px;
    overflow: visible;
  }

  .hero-media::before {
    right: -22%;
    top: 7%;
    width: 98%;
    height: 82%;
    border-radius: 26px;
    opacity: 0.24;
  }

  .hero-stage-wordmark {
    right: -44%;
    bottom: 12%;
    font-size: clamp(64px, 28vw, 128px);
    opacity: 0.11;
  }

  .hero-video-slot {
    left: 41%;
    top: 56%;
    width: min(66vw, 270px);
    height: 94%;
    --hero-video-opacity: 0.34;
    border-radius: 24px;
    transform: translate3d(-50%, -50%, 14px) rotate(-8deg);
  }

  .hero-workflow-line,
  .hero-light-rift {
    opacity: 0.26;
  }

  .hero-frame-1 {
    left: 69%;
    top: 48%;
    width: min(62vw, 254px);
    --tilt: -2.2deg;
    --frame-opacity: 0.92;
  }

  .hero-frame-2 {
    left: 31%;
    top: 56%;
    width: min(34vw, 128px);
    --tilt: -8deg;
    --frame-opacity: 0.42;
  }

  .hero-frame-3 {
    left: 96%;
    top: 54%;
    width: min(35vw, 136px);
    --tilt: 6deg;
    --frame-opacity: 0.34;
  }

  .hero-frame-4 {
    left: 64%;
    top: 81%;
    width: min(78vw, 310px);
    --frame-opacity: 0.74;
  }

  .hero-frame-5,
  .hero-frame-6 {
    display: none;
  }

  .hero-contact-sheet {
    left: 14px;
    right: 14px;
    bottom: 10px;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(3, 3, 4, 0.64);
  }

  .hero-contact-thumb {
    width: min(14vw, 54px);
    border-radius: 9px;
  }
}

@media (max-width: 1100px) {
  .hero-panel {
    min-height: clamp(600px, calc(100dvh - 132px), 720px);
  }

  .hero-frame-1 {
    left: 75%;
    width: clamp(340px, 39vw, 520px);
  }

  .hero-frame-2 {
    left: 58%;
    width: clamp(150px, 16vw, 220px);
  }

  .hero-frame-3 {
    left: 94%;
    width: clamp(140px, 15vw, 210px);
  }
}

@media (max-width: 720px) {
  .hero-panel {
    min-height: min(640px, calc(100dvh - 118px));
  }

  .hero-copy {
    max-width: 96%;
  }

  .hero-title {
    width: min(100%, 330px);
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-title span:not(.hero-title-brand) {
    max-width: 7.4em;
    font-size: 0.62em;
  }

  .hero-promise {
    max-width: 270px;
  }

  .hero-media {
    height: min(42dvh, 340px);
    min-height: 292px;
  }

  .hero-video-slot {
    left: 43%;
    top: 55%;
    width: min(58vw, 230px);
    height: 88%;
    --hero-video-opacity: 0.16;
    transform: translate3d(-50%, -50%, 0) rotate(-2deg);
  }

  .hero-frame-1 {
    left: 68%;
    top: 52%;
    width: min(58vw, 236px);
    --tilt: 1deg;
  }

  .hero-frame-2 {
    left: 34%;
    top: 56%;
    width: min(30vw, 116px);
    --frame-opacity: 0.16;
  }

  .hero-frame-3 {
    left: 96%;
    top: 52%;
    width: min(28vw, 108px);
    --frame-opacity: 0.12;
  }
}

/* Final homepage cinema overrides. */
@media (max-width: 1100px) {
  .hero-panel {
    min-height: calc(100dvh - 108px);
  }

  .hero-copy {
    left: 40px;
    top: 78px;
    max-width: 510px;
  }

  .hero-title {
    width: 520px;
    font-size: 64px;
  }

  .hero-frame-1 {
    left: 73%;
    width: min(40%, 480px);
  }

  .hero-video-slot {
    left: 63%;
    width: min(56%, 680px);
    --hero-video-opacity: 0.25;
  }

  .hero-frame-2,
  .hero-frame-3,
  .hero-frame-4,
  .hero-frame-5,
  .hero-frame-6 {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-panel {
    min-height: min(620px, calc(100dvh - 92px));
    padding: 18px 14px 16px;
    margin-bottom: 32px;
    border-radius: 24px;
  }

  .hero-copy {
    gap: 10px;
    max-width: 100%;
  }

  .hero-actions {
    margin-top: 4px;
  }

  .hero-title {
    width: min(100%, 300px);
    font-size: 34px;
    line-height: 0.96;
  }

  .hero-title span:not(.hero-title-brand) {
    max-width: 11em;
    font-size: 0.66em;
  }

  .hero-promise {
    max-width: 260px;
    font-size: 12px;
  }

  .hero-media {
    height: min(42dvh, 330px);
    min-height: 300px;
    margin-top: 38px;
  }

  .hero-video-slot {
    display: none;
  }

  .hero-media::before {
    display: block;
    right: -24%;
    top: 12%;
    width: 92%;
    height: 76%;
    border-radius: 24px;
  }

  .hero-frame-1 {
    left: 58%;
    top: 56%;
    width: min(66vw, 260px);
    --tilt: 0.8deg;
    --frame-opacity: 0.96;
  }

  .hero-frame-1 img {
    aspect-ratio: 4 / 5;
    height: auto;
    object-position: center 20%;
  }

  .hero-media::after {
    display: none;
  }

  .hero-stage-wordmark {
    right: -48%;
    bottom: 10%;
    font-size: 82px;
    opacity: 0.055;
  }

  .hero-frame-2,
  .hero-frame-3,
  .hero-frame-4,
  .hero-frame-5,
  .hero-frame-6 {
    display: none;
  }

  .header-buy-credits {
    display: none;
  }

  .header-redeem-code {
    min-width: 76px;
    padding: 0 9px;
  }
}
