:root {
  color-scheme: dark;
  --ink: #09090b;
  --surface: #121215;
  --surface-raised: #18181b;
  --surface-soft: #202024;
  --paper: #fafaf9;
  --muted: #a1a1aa;
  --muted-dark: #71717a;
  --line: rgba(250, 250, 249, .12);
  --gold: #d4af70;
  --gold-light: #e8cc97;
  --wine: #7f1d3a;
  --success: #a7d7b0;
  --warning: #efcf8b;
  --danger: #f0a5a5;
  --sans: "DM Sans", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--paper); font-size: 14px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -50px; z-index: 30; background: var(--gold); color: var(--ink); padding: 9px 14px; }
.skip-link:focus { top: 10px; }
.site-header { height: 78px; padding: 0 clamp(22px, 6vw, 92px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 10; background: var(--ink); }
.wordmark { display: inline-flex; align-items: center; flex: 0 0 auto; white-space: nowrap; }
.wordmark img { display: block; width: 150px; max-width: 100%; max-height: 48px; height: auto; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.5vw, 34px); font-size: 12px; color: #d4d4d8; }
.site-nav { margin-left: auto; margin-right: 24px; }
.public-auth-actions { display: flex; align-items: center; gap: 18px; color: #d4d4d8; font-size: 12px; }
.public-auth-actions > a:not(.button):hover { color: var(--gold-light); }
.site-nav > a:not(.button):hover, .footer-links a:hover { color: var(--gold-light); }
.site-nav form { margin: 0; }
.nav-link-button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-toggle { display: none; color: var(--paper); background: none; border: 1px solid var(--line); padding: 7px 12px; }
.icon-sprite { position: fixed; top: 0; left: -2px; width: 1px; height: 1px; overflow: hidden; }
.ui-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-header-auth { position: fixed; inset: 0 0 auto; height: 78px; padding: 0 30px; z-index: 30; border-bottom-color: rgba(212,175,112,.17); background: rgba(9,9,11,.96); backdrop-filter: blur(18px); }
.account-toolbar { margin-left: auto; display: flex; align-items: center; gap: 21px; }
.account-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(212,175,112,.2); border-radius: 999px; background: #d4af700b; color: #d7c8a8; font-size: 10px; letter-spacing: .03em; white-space: nowrap; }
.account-chip.is-verified { border-color: #a7d7b044; background: #a7d7b00d; color: #c5e5ca; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.account-chip.is-verified .chip-dot { background: var(--success); box-shadow: 0 0 9px #a7d7b080; }
.profile-menu { position: relative; }
.profile-menu summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.profile-menu summary::-webkit-details-marker { display: none; }
.profile-avatar { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #d4af7066; border-radius: 50%; background: linear-gradient(145deg,#33261b,#181417); color: var(--gold-light); font: 17px var(--serif); }
.profile-summary { display: grid; gap: 1px; max-width: 170px; }
.profile-summary b { overflow: hidden; color: var(--paper); font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.profile-summary small { color: var(--muted); font-size: 9px; }
.profile-chevron { color: var(--muted); }
.profile-popover { position: absolute; top: calc(100% + 16px); right: 0; width: 220px; padding: 7px; border: 1px solid var(--line); background: #151518; box-shadow: 0 18px 50px #0009; }
.profile-popover a, .profile-popover button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; background: transparent; color: #e7e7e9; text-align: left; font: inherit; font-size: 11px; cursor: pointer; }
.profile-popover a:hover, .profile-popover button:hover { background: #ffffff0a; color: var(--gold-light); }
.profile-popover form { margin: 0; border-top: 1px solid var(--line); }
.profile-popover .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.app-menu-toggle { display: none; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); background: #ffffff06; color: var(--gold-light); cursor: pointer; }
.app-sidebar { position: fixed; z-index: 25; top: 78px; bottom: 0; left: 0; width: 238px; display: flex; flex-direction: column; padding: 26px 14px 18px; border-right: 1px solid rgba(212,175,112,.14); background: linear-gradient(180deg,#111114,#0c0c0e); }
.sidebar-label { margin: 0 0 13px 12px; color: var(--muted-dark); font-size: 8px; letter-spacing: .18em; }
.app-sidebar nav { display: grid; gap: 4px; }
.app-sidebar nav a { display: flex; align-items: center; gap: 13px; min-height: 46px; padding: 0 12px; border: 1px solid transparent; border-left: 2px solid transparent; color: #d0cdd2; font-size: 12px; font-weight: 500; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.app-sidebar nav a .ui-icon { color: #b1a9a2; }
.app-sidebar nav a:hover, .app-sidebar nav a:focus-visible { border-color: #d4af7026; background: #d4af700d; color: var(--gold-light); }
.app-sidebar nav a:hover .ui-icon { color: var(--gold); }
.app-sidebar nav a.is-current { border-left-color: var(--gold); background: linear-gradient(90deg,#d4af7018,transparent); color: var(--gold-light); font-weight: 600; }
.app-sidebar nav a.is-current .ui-icon { color: var(--gold-light); }
.sidebar-bottom { display: grid; gap: 5px; margin-top: auto; padding: 15px 12px 0; border-top: 1px solid var(--line); }
.sidebar-bottom span { color: var(--gold); font-size: 8px; letter-spacing: .16em; }
.sidebar-bottom small { color: var(--muted-dark); font-size: 9px; }
.authenticated-shell main { min-height: calc(100vh - 78px); margin-left: 238px; padding-top: 78px; }
.authenticated-shell .site-footer { margin-left: 238px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 0 20px; border: 1px solid var(--gold); background: var(--gold); color: #15110a; font-size: 12px; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; cursor: pointer; }
.button:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.button-small { min-height: 36px; padding: 0 15px; }
.button-quiet { background: transparent; color: var(--paper); border-color: var(--line); }
.button-quiet:hover { background: var(--surface-soft); border-color: var(--muted-dark); color: var(--paper); }
.button-full { width: 100%; }
.hero { min-height: 628px; padding: 73px clamp(22px, 8vw, 132px) 46px; position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(350px, 1fr); gap: 8%; align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 545px; padding: 8px 0 35px; }
.eyebrow { margin: 0 0 18px; color: var(--gold); font-size: 10px; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.eyebrow-rule { width: 25px; height: 1px; display: inline-block; margin: 0 10px 3px 0; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0 0 22px; max-width: 580px; font: 500 clamp(46px, 6.2vw, 82px)/1.08 var(--serif); letter-spacing: -.04em; }
.hero-intro { max-width: 410px; color: #b1b1b7; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 34px; color: var(--muted-dark); font-size: 10px; letter-spacing: .06em; }
.pulse-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 12px #d4af7080; }
.hero-art { min-height: 428px; height: 100%; max-height: 485px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 57% 39%, #81283c 0%, #45131f 20%, #211014 49%, #111113 76%); }
.hero-art:before, .hero-art:after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero-art:before { z-index: 1; background: linear-gradient(180deg, rgba(8,8,10,.04) 45%, rgba(8,8,10,.72) 100%), linear-gradient(90deg, rgba(8,8,10,.22), transparent 45%); }
.hero-art:after { border: 1px solid rgba(212,175,112,.3); inset: 14px; }
.hero-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 36%; }
.art-glow { position: absolute; width: 55%; height: 130%; left: 26%; top: -14%; background: linear-gradient(180deg, #ffc79075, transparent 66%); clip-path: polygon(42% 0, 63% 0, 100% 100%, 0 100%); filter: blur(11px); opacity: .55; }
.art-caption { position: absolute; z-index: 2; bottom: 27px; left: 35px; right: 35px; display: flex; justify-content: space-between; color: #ddd0ca; font-size: 8px; letter-spacing: .12em; }
.art-index { position: absolute; top: 28px; right: 35px; color: #f1e5d3; font: 24px var(--serif); }
.art-index span { color: var(--gold); }
.hero-bottom { position: absolute; left: clamp(22px, 8vw, 132px); right: clamp(22px, 8vw, 132px); bottom: 20px; display: flex; justify-content: space-between; color: var(--muted-dark); font-size: 8px; letter-spacing: .15em; }
.section { padding: 100px clamp(22px, 8vw, 132px); }
.section-featured { background: #0e0e10; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 35px; }
.section-heading h2, .creator-copy h2, .token-banner h2, .auth-panel h2 { margin: 0; font: 500 clamp(32px, 4vw, 48px)/1.16 var(--serif); letter-spacing: -.025em; }
.text-link { color: var(--gold); font-size: 12px; border-bottom: 1px solid #d4af7050; padding-bottom: 5px; }
.text-link:hover { color: var(--gold-light); border-color: var(--gold-light); }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.content-card { min-width: 0; }
.content-image { display: block; position: relative; aspect-ratio: 1.35; background: #1c191b; overflow: hidden; }
.content-image img, .detail-media img, .creator-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.content-image:hover img { transform: scale(1.035); }
.content-tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 9px; background: #0a0a0bd9; color: var(--gold-light); font-size: 8px; letter-spacing: .13em; }
.thumbnail-placeholder { width: 100%; height: 100%; min-height: 180px; display: grid; place-items: center; background: radial-gradient(ellipse at 60% 45%, #71283d, #241319 47%, #141416 80%); color: #dfc9a1; font: 36px var(--serif); }
.content-meta { display: flex; justify-content: space-between; gap: 15px; margin: 17px 0 7px; color: var(--gold); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.content-card h3 { margin: 0 0 8px; font: 500 23px/1.3 var(--serif); }
.content-card > p { min-height: 42px; margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.card-foot { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; }
.card-foot > span { color: var(--paper); }.card-foot a { color: var(--gold); }
.empty-state { padding: 48px 20px; text-align: center; border: 1px solid var(--line); }
.empty-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 15px; border: 1px solid var(--gold); color: var(--gold); }
.empty-state h3, .empty-state h2 { margin-bottom: 8px; font: 500 26px var(--serif); }
.empty-state p { color: var(--muted); font-size: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-tile { min-height: 156px; padding: 23px; position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease; }
.category-tile:hover { background: #181416; }
.category-number { color: var(--gold); font-size: 9px; letter-spacing: .1em; }
.category-tile h3 { max-width: 170px; margin: 35px 25px 0 0; font: 500 20px/1.25 var(--serif); }
.category-arrow { position: absolute; right: 20px; bottom: 20px; color: var(--gold); }
.creator-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; background: #121113; }
.creator-image { min-height: 380px; background: radial-gradient(ellipse at 55% 40%, #642035, #211419 51%, #111113); overflow: hidden; }
.creator-image-placeholder { height: 100%; min-height: 380px; display: grid; place-items: center; color: #e6d0ad; background: linear-gradient(135deg,transparent 40%,#09090b88),radial-gradient(ellipse at 50% 32%, #87404b, #29151c 54%, #141416); font-size: 9px; letter-spacing: .18em; text-align: center; }
.creator-copy { padding: 80px clamp(28px, 8vw, 120px); align-self: center; }
.creator-copy h2 { margin-bottom: 20px; }
.creator-copy > p:not(.eyebrow) { max-width: 450px; margin-bottom: 26px; color: var(--muted); line-height: 1.9; font-size: 13px; }
.how-section { background: #0e0e10; }
.section-aside { max-width: 240px; margin: 0; color: var(--muted); font-size: 12px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps-grid article { padding-top: 18px; border-top: 1px solid var(--gold); }
.steps-grid article > span { color: var(--gold); font-size: 10px; }
.steps-grid h3 { margin: 20px 0 8px; font: 500 20px var(--serif); }
.steps-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.token-banner { padding: 66px clamp(22px, 8vw, 132px); display: flex; align-items: center; justify-content: space-between; gap: 40px; background: linear-gradient(105deg, #211117, #141113 68%, #101011); border-top: 1px solid #5d293a50; border-bottom: 1px solid #5d293a50; }
.token-banner > div:first-child { max-width: 470px; }
.token-banner h2 { margin-bottom: 16px; font-size: clamp(36px,4.5vw,55px); }
.token-banner p:not(.eyebrow) { max-width: 400px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.token-emblem { width: 192px; height: 192px; border: 1px solid #d4af7070; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold); transform: rotate(45deg); }
.token-emblem span, .token-emblem small { transform: rotate(-45deg); }
.token-emblem span { font: 40px var(--serif); }
.token-emblem small { margin-top: 7px; text-align: center; font-size: 8px; line-height: 1.5; letter-spacing: .1em; }
.faq-section { padding-bottom: 65px; }
.faq-list { max-width: 780px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 19px 2px; font: 500 17px var(--serif); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--gold); font: 20px var(--sans); }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.policy-note { padding: 0 clamp(22px, 8vw, 132px) 64px; color: var(--muted-dark); font-size: 10px; }
.policy-note p { max-width: 760px; margin: 0; }
.site-footer { padding: 37px clamp(22px, 6vw, 92px) 18px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 30px; }
.footer-top > p { margin: 0; color: var(--muted-dark); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; color: #c4c4c8; font-size: 10px; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted-dark); font-size: 9px; }
.catalog-header { padding: 76px clamp(22px, 8vw, 132px) 44px; background: linear-gradient(110deg,#24131a,#111113 72%); }
.catalog-header h1 { margin: 0 0 13px; font: 500 clamp(40px,6vw,68px)/1.1 var(--serif); }
.catalog-header > p:last-child { color: var(--muted); }
.catalog-section { padding-top: 36px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 33px; }
.filter-row a { border: 1px solid var(--line); padding: 7px 12px; color: var(--muted); font-size: 10px; }
.filter-row a.active, .filter-row a:hover { border-color: var(--gold); color: var(--gold-light); }
.detail-shell { padding: 42px clamp(22px, 8vw, 132px) 100px; }
.back-link { color: var(--muted); font-size: 11px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr); gap: 7%; align-items: center; margin-top: 33px; }
.detail-media { aspect-ratio: 1.4; position: relative; background: #171417; }
.protected-player { display: block; width: 100%; height: 100%; min-height: 220px; background: #050506; object-fit: contain; }
.detail-copy .eyebrow { margin-top: 0; }
.detail-copy h1 { margin: 0 0 18px; font: 500 clamp(38px,5vw,60px)/1.12 var(--serif); }
.detail-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; }
.detail-duration { font-size: 11px; }
.detail-price, .amount-preview { margin: 24px 0; padding: 15px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-price strong, .amount-preview strong { color: var(--gold-light); font-weight: 500; }
.field-hint { display: block; margin-top: 9px; color: var(--muted-dark); font-size: 10px; line-height: 1.6; }
.auth-shell { min-height: calc(100vh - 190px); display: grid; grid-template-columns: 1fr 1fr; max-width: 1110px; margin: auto; padding: 68px 30px; align-items: stretch; }
.auth-aside { min-height: 480px; padding: clamp(36px,6vw,80px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(ellipse at 58% 35%,#622039 0%,#25151c 50%,#151416 82%); }
.auth-aside h1 { max-width: 390px; margin: 0 0 19px; font: 500 clamp(38px,5vw,58px)/1.12 var(--serif); }
.auth-aside > p:not(.eyebrow) { max-width: 350px; color: #c4bfc1; font-size: 12px; }
.auth-aside-mark { position: absolute; right: 20px; bottom: -78px; color: #e5d2b317; font: 280px var(--serif); }
.auth-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px,5vw,68px); border: 1px solid var(--line); border-left: 0; background: #101012; }
.auth-panel h2 { font-size: 38px; }
.auth-subtitle { margin: 10px 0 26px; color: var(--muted); font-size: 12px; }
.form-stack { display: grid; gap: 18px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 6px; color: #dedee1; font-size: 11px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, input[type=number] { display: block; width: 100%; height: 43px; padding: 0 12px; border: 1px solid #35353b; border-radius: 0; background: #17171a; color: var(--paper); font-size: 12px; }
.field:has(> input[type="checkbox"]) { display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; column-gap: 12px; padding: 14px 15px; border: 1px solid rgba(212,175,112,.22); background: linear-gradient(135deg,#d4af700d,#ffffff03 58%),#131316; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.field:has(> input[type="checkbox"]):hover { border-color: rgba(212,175,112,.45); background-color: #19181a; }
.field:has(> input[type="checkbox"]):focus-within { border-color: var(--gold); box-shadow: 0 0 0 2px #d4af7020; }
.field:has(> input[type="checkbox"]) > label { grid-column: 2; grid-row: 1; align-self: center; margin: 0; color: #f0e8da; font-size: 12px; font-weight: 600; line-height: 1.45; cursor: pointer; }
.field:has(> input[type="checkbox"]) > input[type="checkbox"] { grid-column: 1; grid-row: 1; justify-self: center; }
.field:has(> input[type="checkbox"]) > .field-hint, .field:has(> input[type="checkbox"]) > .field-error { grid-column: 2; }
input[type="checkbox"] { appearance: none; -webkit-appearance: none; position: relative; display: inline-grid !important; place-content: center; flex: 0 0 20px; width: 20px !important; min-width: 20px; height: 20px !important; min-height: 20px !important; margin: 0; padding: 0 !important; border: 1px solid #777078; border-radius: 5px; background: #0e0e10; color: #15110a; accent-color: var(--gold); cursor: pointer; vertical-align: middle; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
input[type="checkbox"]::after { content: ""; width: 5px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; opacity: 0; transform: translateY(-1px) rotate(45deg) scale(.65); transition: opacity .12s ease, transform .12s ease; }
input[type="checkbox"]:checked { border-color: var(--gold); background: var(--gold); }
input[type="checkbox"]:checked::after { opacity: 1; transform: translateY(-1px) rotate(45deg) scale(1); }
input[type="checkbox"]:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; box-shadow: 0 0 0 5px #d4af7020; }
input[type="checkbox"]:disabled { border-color: #444148; background: #28272b; cursor: not-allowed; opacity: .55; }
.creator-form-notice label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 12px; margin-top: 13px; padding: 13px 15px; border: 1px solid rgba(212,175,112,.27); background: #d4af700d; color: #f0e8da; font-size: 11px; font-weight: 600; line-height: 1.55; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.creator-form-notice label:has(input[type="checkbox"]):hover { border-color: rgba(212,175,112,.55); background: #d4af7015; }
.creator-form-notice label:has(input[type="checkbox"]):focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.field input::placeholder, input[type=number]::placeholder { color: #74747b; }
.field-error { display: block; margin-top: 5px; color: var(--danger); font-size: 10px; }
.form-alert { padding: 10px 12px; border-left: 2px solid var(--danger); background: #38182066; color: #f0caca; font-size: 11px; }
.phone-form .iti { display: block; width: 100%; }
.phone-form .iti__country-container { height: 43px; }
.phone-form .iti__selected-country { padding: 0 8px; background: #222226; color: var(--paper); }
.phone-form .iti input { padding-left: 88px; }
.phone-form .iti__dropdown-content { background: #1c1c20; color: var(--paper); border-color: var(--line); }
.phone-form .iti__country:hover, .phone-form .iti__country.iti__highlight { background: #333339; }
.phone-form .iti__search-input { background: #101012; color: var(--paper); border-color: var(--line); }
.legal-copy, .auth-switch { color: var(--muted-dark); font-size: 10px; }
.auth-switch { margin: 20px 0 0; }
.auth-switch a { color: var(--gold); }
.status-chip { display: inline-flex; align-items: center; min-height: 22px; padding: 3px 8px; border: 1px solid currentColor; font-size: 9px; line-height: 1.25; white-space: nowrap; }
.status-success { color: var(--success); background: #18301e55; }
.status-warning { color: var(--warning); background: #3b2b1155; }
.status-danger { color: var(--danger); background: #3b181855; }
.status-neutral { color: #c2c2c9; background: #25252a; }
.dashboard-wrap { max-width: 1200px; min-height: 70vh; margin: 0 auto; padding: 54px 28px 90px; }
.dashboard-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.dashboard-title h1 { margin: 0; font: 500 clamp(32px,4vw,47px)/1.2 var(--serif); }
.dashboard-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 20px; margin-bottom: 20px; }
.balance-card { padding: 25px; background: linear-gradient(140deg,#27151c,#18171a); border: 1px solid #78405055; }
.balance-card strong { display: block; margin: 15px 0 4px; font: 500 42px var(--serif); }
.balance-card strong small { font: 12px var(--sans); color: var(--muted); }
.balance-card > p:not(.eyebrow) { color: var(--muted); font-size: 11px; }
.balance-card .button { margin-top: 9px; }
.dashboard-panel { padding: 24px; border: 1px solid var(--line); background: #111113; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 17px; }
.panel-heading .eyebrow { margin-bottom: 5px; }
.panel-heading h2 { margin: 0; font: 500 23px var(--serif); }
.library-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.library-list a span:first-child { display: grid; }
.library-list b { font-size: 11px; font-weight: 500; }
.library-list small { color: var(--muted-dark); font-size: 9px; }
.empty-compact { padding: 20px 0 5px; color: var(--muted); font-size: 11px; }
.account-panel { margin-bottom: 20px; }
.account-panel dl { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin: 0; }
.account-panel dl div { display: grid; gap: 5px; }
.account-panel dt { color: var(--muted-dark); font-size: 10px; }
.account-panel dd { margin: 0; font-size: 11px; }
.wallet-balance { max-width: 350px; margin-bottom: 20px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
th { color: var(--muted-dark); font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.amount-preview { margin: 0; }
.toast-region { position: fixed; z-index: 40; right: 18px; top: 90px; }
.toast { padding: 12px 16px; background: #242428; border-left: 2px solid var(--gold); box-shadow: 0 8px 30px #0008; font-size: 11px; }

.masterclass-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.masterclass-card { min-width: 0; border: 1px solid var(--line); background: #111113; }
.masterclass-cover { aspect-ratio: 1.6; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 58% 38%, #76293f, #21151a 55%, #141416); }
.masterclass-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.masterclass-cover:hover img { transform: scale(1.03); }
.cover-monogram { color: #dfc9a1; font: 48px var(--serif); }
.live-tag { color: #ffc7c7; border: 1px solid #e86b6b66; }
.masterclass-card-copy { padding: 19px; }
.masterclass-card-copy h2 { margin: 0 0 8px; font: 500 25px/1.25 var(--serif); }
.masterclass-card-copy > p { color: var(--muted); font-size: 11px; }
.event-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; margin: 18px 0; }
.event-facts dt { color: var(--muted-dark); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.event-facts dd { margin: 2px 0 0; font-size: 11px; }
.event-facts dd small { color: var(--muted-dark); }
.masterclass-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.event-schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 15px 0; margin: 21px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; }
.event-schedule > span { color: var(--muted-dark); }
.event-schedule > strong { text-align: right; font-weight: 500; }
.event-schedule small { color: var(--muted); }
.event-instructor { color: var(--muted); font-size: 12px; }
.event-instructor strong { color: var(--paper); }
.objectives-panel, .participation-note { max-width: 740px; margin: 45px auto 0; padding: 23px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.participation-note { margin-top: 20px; }
.participation-note h2 { color: var(--paper); font: 500 22px var(--serif); }
.notice-list { margin-bottom: 20px; padding: 6px 18px; border-left: 2px solid var(--warning); background: #3b2b112b; }
.notice-list p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 11px; }
.notice-list small { color: var(--muted-dark); }
.studio-create { margin-bottom: 22px; }
.masterclass-form { display: grid; gap: 22px; }
.masterclass-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.masterclass-form-grid .field-wide { grid-column: 1/-1; }
.masterclass-form .form-control:not([type="checkbox"]):not([type="radio"]) { width: 100%; min-height: 42px; padding: 9px 11px; background: #17171a; color: var(--paper); border: 1px solid #35353b; font: 12px var(--sans); }
.masterclass-form textarea.form-control { min-height: 90px; resize: vertical; }
.masterclass-form input[type="checkbox"].form-control { width: 17px; min-height: 17px; accent-color: var(--gold); }
.studio-event-list { display: grid; }
.studio-event { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 17px 0; border-top: 1px solid var(--line); }
.studio-event h3 { margin: 0 0 5px; font: 500 19px var(--serif); }
.studio-event p { margin: 0; color: var(--muted); font-size: 10px; }
.studio-actions { display: flex; flex-wrap: wrap; justify-content: end; align-items: center; gap: 10px; }
.studio-actions form { margin: 0; }
.text-danger { padding: 0; color: var(--danger); border: 0; background: none; cursor: pointer; font-size: 10px; }
.live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #f08080; }
.live-room-wrap { min-height: 76vh; padding: 28px clamp(18px,5vw,75px) 70px; }
.live-room-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.live-room-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 18px; margin-top: 20px; }
.studio-stage, .live-interaction { min-width: 0; padding: 18px; border: 1px solid var(--line); background: #111113; }
.studio-stage-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.studio-stage-heading .eyebrow { margin-bottom: 3px; }
.studio-stage-heading h1 { margin: 0; font: 500 27px var(--serif); }
.video-stage { min-height: 420px; position: relative; display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 7px; align-content: center; justify-items: center; overflow: hidden; background: #050506; }
.stage-welcome { display: grid; justify-items: center; align-content: center; gap: 12px; color: var(--muted); text-align: center; }
.stage-welcome p { margin: 0; font-size: 11px; }
.video-tile { width: 100%; height: 100%; min-height: 260px; position: relative; background: #101012; }
.video-tile video { width: 100%; height: 100%; object-fit: contain; }
.participant-label { position: absolute; z-index: 2; left: 10px; bottom: 10px; padding: 3px 7px; background: #09090bd9; font-size: 9px; }
.remote-audio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.studio-controls { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.studio-controls .button { min-height: 36px; padding: 0 12px; font-size: 10px; }
.studio-controls .button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.interaction-tabs { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.interaction-tabs button { padding: 8px 10px; color: var(--muted); border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; font-size: 10px; }
.interaction-tabs button.active { color: var(--gold); border-color: var(--gold); }
.interaction-tabs span { margin-left: auto; color: var(--muted-dark); font-size: 8px; }
.interaction-feed { height: 350px; overflow-y: auto; padding: 10px 0; }
.interaction-feed p { display: grid; gap: 3px; padding: 7px 0; margin: 0; border-bottom: 1px solid #ffffff0b; }
.interaction-feed strong { color: var(--gold-light); font-size: 9px; }
.interaction-feed span { overflow-wrap: anywhere; color: #dedee1; font-size: 10px; }
.interaction-form { display: flex; gap: 6px; }
.interaction-form input { flex: 1; min-width: 0; height: 38px; padding: 0 9px; border: 1px solid #35353b; background: #17171a; color: var(--paper); font-size: 10px; }
.interaction-form .button { min-height: 38px; }
.currency-note { color: var(--muted); font-size: 10px; }
.currency-rate-table { font-variant-numeric: tabular-nums; }
video { max-width: 100%; }
@media (max-width: 900px) {
  .site-header { height: 68px; }
  .site-nav { display: flex; margin: 0 auto 0 0; padding: 0 14px; }
  .site-header .wordmark { min-width: 0; max-width: calc(100% - 180px); }
  .site-header .wordmark img { width: clamp(96px, 36vw, 136px); }
  .public-auth-actions { gap: 10px; font-size: 10px; }
  .public-auth-actions .button { min-height: 34px; padding: 0 10px; font-size: 10px; }
  .site-header-auth { height: 68px; padding: 0 18px; }
  .site-header-auth .wordmark { max-width: none; }
  .site-header-auth .wordmark img { width: clamp(96px, 29vw, 132px); }
  .app-menu-toggle { display: inline-flex; margin-left: 12px; }
  .account-toolbar { gap: 12px; }
  .app-sidebar { top: 68px; z-index: 29; width: min(280px, 84vw); padding-top: 20px; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 15px 0 40px #0008; }
  .app-sidebar.is-open { transform: translateX(0); }
  .authenticated-shell main { min-height: calc(100vh - 68px); margin-left: 0; padding-top: 68px; }
  .authenticated-shell .site-footer { margin-left: 0; }
  .authenticated-shell.sidebar-open::after { content: ""; position: fixed; z-index: 28; inset: 68px 0 0; background: #0009; }
  .authenticated-shell .owner-sidebar { position: sticky; top: 68px; z-index: 18; width: auto; max-height: none; overflow: visible; padding: 18px; background: #111114; }
  .authenticated-shell .owner-shell { min-height: auto; padding: 22px 18px 45px; }
  .authenticated-shell .owner-sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .authenticated-shell .owner-sidebar nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px; }
  .hero { grid-template-columns: 1fr .9fr; gap: 4%; min-height: 560px; padding-top: 55px; }
  .hero-art { min-height: 370px; }
  .hero h1 { font-size: clamp(43px,7vw,67px); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: repeat(2,1fr); row-gap: 30px; }
  .creator-copy { padding: 55px 35px; }
  .live-room-layout { grid-template-columns: minmax(0,1fr) 260px; }
  .video-stage { min-height: 340px; }
}
@media (min-width: 901px) {
  .authenticated-shell .owner-shell { display: block; min-height: calc(100vh - 78px); padding: 28px 34px 60px 272px; }
  .authenticated-shell .owner-sidebar { position: fixed; z-index: 25; top: 78px; bottom: 0; left: 0; width: 238px; overflow-y: auto; padding: 24px 14px; border-right: 1px solid rgba(212,175,112,.14); }
  .authenticated-shell .owner-sidebar nav { display: grid; gap: 4px; }
  .authenticated-shell .owner-sidebar nav a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 7px 9px; border-left: 2px solid transparent; color: #d0cdd2; font-size: 11px; }
  .authenticated-shell .owner-sidebar nav a .ui-icon { color: #b1a9a2; }
  .authenticated-shell .owner-sidebar nav a:hover, .authenticated-shell .owner-sidebar nav a.is-current { border-left-color: var(--gold); background: #d4af7010; color: var(--gold-light); }
  .authenticated-shell .owner-sidebar nav a.is-current .ui-icon { color: var(--gold-light); }
}
@media (max-width: 650px) {
  body { font-size: 13px; }
  .site-header-auth { padding: 0 12px; }
  .site-header-auth .wordmark img { width: clamp(88px, 27vw, 112px); }
  .account-toolbar { gap: 8px; }
  .account-chip { gap: 5px; padding: 6px 8px; font-size: 8px; }
  .profile-menu summary { gap: 0; }
  .profile-avatar { width: 33px; height: 33px; }
  .profile-summary, .profile-chevron { display: none; }
  .app-menu-toggle { width: 34px; height: 34px; margin-left: 7px; }
  .user-status-form { min-width: 0; grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .site-header:not(.site-header-auth) { padding: 0 12px; }
  .site-header:not(.site-header-auth) .wordmark { max-width: 90px; }
  .site-header:not(.site-header-auth) .wordmark img { width: 88px; }
  .site-header:not(.site-header-auth) .site-nav { padding: 0 8px; font-size: 10px; }
  .public-auth-actions { gap: 7px; font-size: 9px; }
  .public-auth-actions .button { min-height: 32px; padding: 0 8px; font-size: 9px; }
}
@media (max-width: 650px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 26px; padding: 48px 22px 63px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 480px; font-size: clamp(45px,13vw,66px); }
  .hero-intro { max-width: 420px; font-size: 12px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 340px; }
  .hero-art { min-height: 310px; height: 310px; }
  .hero-bottom { left: 22px; right: 22px; bottom: 19px; }
  .section { padding: 65px 22px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 26px; }
  .section-heading h2, .creator-copy h2, .token-banner h2 { font-size: 37px; }
  .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .content-image { aspect-ratio: 1.4; }
  .content-card > p { min-height: initial; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-tile { min-height: 133px; padding: 16px; }
  .category-tile h3 { font-size: 17px; margin-top: 30px; }
  .creator-section { grid-template-columns: 1fr; }
  .creator-image, .creator-image-placeholder { min-height: 280px; }
  .creator-copy { padding: 43px 23px 55px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 25px 17px; }
  .steps-grid h3 { font-size: 17px; }
  .steps-grid p { font-size: 11px; }
  .token-banner { padding: 49px 22px; }
  .token-emblem { width: 108px; min-width: 108px; height: 108px; }
  .token-emblem span { font-size: 27px; }
  .token-emblem small { font-size: 6px; }
  .faq-list summary { font-size: 15px; }
  .footer-top { align-items: start; flex-direction: column; gap: 16px; }
  .footer-bottom { gap: 12px; }
  .catalog-header { padding: 53px 22px 28px; }
  .catalog-section { padding-top: 27px; }
  .detail-shell { padding: 28px 22px 65px; }
  .detail-layout { grid-template-columns: 1fr; gap: 26px; }
  .detail-copy h1 { font-size: 43px; }
  .auth-shell { grid-template-columns: 1fr; padding: 28px 18px 55px; }
  .auth-aside { min-height: 235px; padding: 33px 28px; }
  .auth-aside h1 { font-size: 39px; }
  .auth-aside-mark { right: 9px; bottom: -68px; font-size: 205px; }
  .auth-panel { padding: 33px 23px; border: 1px solid var(--line); border-top: 0; }
  .dashboard-wrap { padding: 38px 18px 60px; }
  .dashboard-title { align-items: start; flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-panel { padding: 17px; }
  .panel-heading { align-items: start; flex-direction: column; }
  .account-panel dl { grid-template-columns: 1fr; gap: 13px; }
  .masterclass-grid { grid-template-columns: 1fr; }
  .masterclass-form-grid { grid-template-columns: 1fr; }
  .masterclass-form-grid .field-wide { grid-column: auto; }
  .studio-event { align-items: start; flex-direction: column; }
  .studio-actions { justify-content: start; }
  .live-room-wrap { padding: 22px 12px 50px; }
  .live-room-layout { grid-template-columns: 1fr; }
  .studio-stage, .live-interaction { padding: 12px; }
  .video-stage { min-height: 250px; }
  .interaction-feed { height: 220px; }
  .studio-stage-heading h1 { font-size: 21px; }
  .event-facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body.owner-control-shell { min-width: 320px; }
.owner-control-shell main,
.owner-control-shell .site-footer { margin-left: 0; }
.owner-control-shell main { width: 100%; max-width: none; padding-top: 78px; }
.owner-control-shell .owner-shell {
  display: block;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 78px);
  margin: 0;
  padding: 40px clamp(24px, 3.6vw, 64px) 76px 286px;
}
.owner-control-shell .owner-sidebar {
  position: fixed;
  z-index: 25;
  top: 78px;
  bottom: 0;
  left: 0;
  align-self: auto;
  width: 258px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 29px 17px 20px;
  border: 0;
  border-right: 1px solid rgba(212,175,112,.18);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(212,175,112,.10), transparent 40%),
    linear-gradient(180deg,#121214 0%,#0d0d0f 100%);
  scrollbar-color: #5a4934 transparent;
  scrollbar-width: thin;
}
.owner-control-shell .owner-sidebar > .eyebrow { margin: 2px 12px 8px; color: #bda474; font-size: 9px; }
.owner-control-shell .owner-sidebar h1 { margin: 0 12px 25px; color: var(--paper); font: 500 25px/1.2 var(--serif); }
.owner-control-shell .owner-sidebar nav { display: grid; gap: 5px; margin: 0; }
.owner-control-shell .owner-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-left: 2px solid transparent;
  color: #c9c6c4;
  font-size: 11px;
  line-height: 1.35;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.owner-control-shell .owner-sidebar nav a .ui-icon { width: 17px; height: 17px; flex-basis: 17px; color: #8e877e; }
.owner-control-shell .owner-sidebar nav a:hover,
.owner-control-shell .owner-sidebar nav a.is-current {
  border-color: rgba(212,175,112,.15);
  border-left-color: var(--gold);
  background: linear-gradient(90deg,rgba(212,175,112,.13),rgba(212,175,112,.025));
  color: var(--gold-light);
}
.owner-control-shell .owner-sidebar nav a.is-current { font-weight: 600; }
.owner-control-shell .owner-sidebar nav a:hover .ui-icon,
.owner-control-shell .owner-sidebar nav a.is-current .ui-icon { color: var(--gold-light); }
.owner-control-shell .owner-sidebar > .field-hint { margin: 24px 8px 0; padding: 14px 9px 0; border-top: 1px solid var(--line); font-size: 9px; }
.owner-control-shell .owner-main { width: 100%; min-width: 0; max-width: none; }
.owner-dashboard-title { align-items: center; margin: 0 0 25px; }
.owner-dashboard-title .eyebrow { margin-bottom: 8px; }
.owner-dashboard-title h2 { letter-spacing: -.025em; }
.owner-dashboard-subtitle { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.owner-dashboard-title > .button { flex: 0 0 auto; gap: 10px; border-radius: 7px; }
.owner-report-controls {
  margin: 0 0 31px !important;
  padding: 17px 21px 14px !important;
  border-color: rgba(212,175,112,.2) !important;
  border-radius: 9px;
  background: linear-gradient(110deg,rgba(212,175,112,.075),transparent 50%),#111113 !important;
}
.owner-report-controls .creator-filters { align-items: end; gap: 11px; margin: 0; }
.owner-report-controls .creator-filters label { min-width: 160px; color: #d5d0c8; font-size: 10px; font-weight: 600; }
.owner-report-controls .creator-filters .report-range-select { min-width: min(310px, 100%); }
.owner-report-controls .creator-filters .report-date-field { min-width: 150px; }
.owner-report-controls .form-control { min-height: 43px; border-color: #45413c; border-radius: 6px; background-color: #151517; }
.owner-report-controls .button { min-height: 43px; border-radius: 6px; }
.owner-report-caption { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 12px 0 0; color: #d6c49f; font-size: 10px; }
.owner-report-caption span { color: var(--muted); }
.owner-metric-section { margin: 32px 0; }
.owner-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 0 0 14px; }
.owner-section-heading .eyebrow { margin: 0 0 5px; font-size: 9px; }
.owner-section-heading h3 { margin: 0; color: var(--paper); font: 500 clamp(21px,2vw,27px)/1.2 var(--serif); }
.owner-section-heading > a { flex: 0 0 auto; color: var(--gold-light); font-size: 10px; }
.owner-section-heading > a:hover { color: #fff0c5; }
.owner-metrics {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 11px;
  margin: 0;
}
.owner-financial-metrics { grid-template-columns: repeat(6,minmax(0,1fr)); }
.owner-metric-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background: linear-gradient(145deg,rgba(255,255,255,.035),transparent 65%),#121214;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
a.owner-metric-card:hover { transform: translateY(-2px); border-color: rgba(212,175,112,.45); background-color: #181719; }
.owner-metric-card > span { color: #c5c0ba; font-size: 10px; line-height: 1.4; }
.owner-metric-card > strong { overflow-wrap: anywhere; color: #f3e3c2; font: 500 clamp(21px,2.2vw,29px)/1.12 var(--serif); font-variant-numeric: tabular-nums; }
.owner-metric-card > small { color: #85817e; font-size: 9px; line-height: 1.45; }
.owner-metric-highlight { border-color: rgba(212,175,112,.28); background: linear-gradient(145deg,rgba(212,175,112,.13),rgba(212,175,112,.025) 72%),#141311; }
.owner-metric-highlight > strong { color: var(--gold-light); font-size: clamp(19px,1.8vw,25px); }
.owner-attention-panel, .owner-integrations-panel { margin: 32px 0 0 !important; border-radius: 9px; }
.owner-integrations-panel { background: linear-gradient(150deg,rgba(255,255,255,.025),transparent 45%),#111113; }
.owner-integrations-panel .owner-section-heading { margin-bottom: 18px; }
.integration-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.integration-card { padding: 16px 17px; border-radius: 7px; background: rgba(255,255,255,.018); }
.integration-card > div { align-items: flex-start; }
.integration-card .integration-title { color: #efe8dc; font-size: 11px; font-weight: 600; line-height: 1.5; }
.integration-card .status-chip { flex: 0 0 auto; }
.integration-card p { margin: 8px 0 7px; font-size: 10px; line-height: 1.55; }
.integration-card small, .owner-alert small { font-size: 9px; line-height: 1.55; }
.owner-control-shell .dashboard-title { margin-bottom: 24px; }
.owner-control-shell .dashboard-panel { border-radius: 9px; }
.owner-control-shell .owner-form {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px 20px;
}
.owner-control-shell .owner-form .field { min-width: 0; padding: 2px 0; }
.owner-control-shell .owner-form .field label {
  margin-bottom: 7px;
  color: #e8e1d7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .025em;
}
.owner-control-shell .owner-form .field input.form-control:not([type="checkbox"]):not([type="radio"]),
.owner-control-shell .owner-form .field select.form-control,
.owner-control-shell .owner-form .field textarea.form-control,
.owner-control-shell .owner-form .field > select,
.owner-control-shell .owner-form .field > textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #39383a;
  border-radius: 6px;
  background: linear-gradient(180deg,#19191c,#151517);
  color: #f4f1eb;
  font: 400 12px/1.5 var(--sans);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.owner-control-shell .owner-form .field textarea.form-control,
.owner-control-shell .owner-form .field > textarea { min-height: 96px; resize: vertical; }
.owner-control-shell .owner-form .field input:not([type="checkbox"]):not([type="radio"]):focus,
.owner-control-shell .owner-form .field select:focus,
.owner-control-shell .owner-form .field textarea:focus {
  border-color: rgba(212,175,112,.8);
  outline: none;
  background: #1a1918;
  box-shadow: 0 0 0 3px rgba(212,175,112,.12);
}
.owner-control-shell .owner-form .owner-form-actions,
.owner-control-shell .owner-form > button { grid-column: 1 / -1; }
.owner-control-shell .owner-form .owner-form-actions { align-items: center; padding-top: 7px; }
.owner-control-shell .owner-form .owner-form-actions .button,
.owner-control-shell .owner-form > button { min-height: 43px; border-radius: 6px; }
.owner-control-shell .owner-form .field:has(> input[type="checkbox"]) { min-height: 54px; padding: 14px 15px; border-radius: 6px; }
.owner-control-shell .owner-form .field:has(> input[type="checkbox"]) > label { font-size: 11px; }
.owner-control-shell .owner-form .field ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(110px,1fr)); gap: 8px; margin: 7px 0 0; padding: 0; list-style: none; }
.owner-control-shell .owner-form .field ul li { min-width: 0; }
.owner-control-shell .owner-form .field ul label { display: flex; min-height: 40px; align-items: center; gap: 9px; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: #ffffff04; cursor: pointer; }
.owner-control-shell .owner-form .field ul input[type="checkbox"] { flex: 0 0 18px; }
.owner-control-shell .owner-form .field-wide { grid-column: 1 / -1; }
.owner-control-shell .owner-form-section-title {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
  color: #e8dfd2;
  font: 500 15px/1.35 var(--serif);
}
.owner-control-shell .owner-form-section-title:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.owner-control-shell .owner-form .field-hint { max-width: 68ch; margin-top: 7px; font-size: 9px; }
.owner-control-shell .form-alert { border-radius: 5px; }
.owner-control-shell .table-wrap { border: 1px solid var(--line); border-radius: 7px; }
.owner-control-shell .creator-content-table { min-width: 760px; }
.owner-control-shell .creator-content-table th { background: #171719; }
.owner-control-shell .readiness-table { min-width: 900px; }
.owner-control-shell .readiness-table th,
.owner-control-shell .readiness-table td { padding: 13px 14px; }
.owner-control-shell .owner-form-actions { flex-wrap: wrap; }
.owner-control-shell .pricing-summary-grid article,
.owner-control-shell .pricing-preview-grid article { border-radius: 7px; }
.owner-control-shell .feature-row { gap: 16px; padding: 16px 0; }
.owner-control-shell .feature-row > div b { color: #f0e9de; font-size: 11px; }
.owner-control-shell .feature-row > div p { max-width: 65ch; line-height: 1.55; }
.owner-control-shell .creator-filters { gap: 12px; }
.owner-control-shell .creator-filters .form-control { border-radius: 6px; }
.owner-control-shell .owner-report-controls .field-error { width: 100%; }
.owner-control-shell .dashboard-grid { align-items: start; gap: 18px; }
.owner-control-shell .dashboard-grid > .dashboard-panel { min-width: 0; }
.owner-control-shell .owner-alert { border-radius: 5px; }
.owner-control-shell .readiness-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 12px; margin-top: 16px; }
.owner-control-shell .readiness-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg,#ffffff08,#ffffff02); }
.owner-control-shell .readiness-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.owner-control-shell .readiness-card-heading h3 { margin: 1px 0 0; color: #f0e9de; font: 500 16px/1.35 var(--serif); }
.owner-control-shell .readiness-card dl { display: grid; gap: 10px; margin: 17px 0; }
.owner-control-shell .readiness-card dl > div { display: flex; justify-content: space-between; gap: 12px; }
.owner-control-shell .readiness-card dt { color: var(--muted); font-size: 10px; }
.owner-control-shell .readiness-card dd { margin: 0; color: #ded6cb; font-size: 10px; text-align: right; }
.owner-control-shell .readiness-next-step { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); color: #c8c0b5; font-size: 10px; line-height: 1.55; }
.owner-control-shell .readiness-next-step span { display: block; margin-bottom: 5px; color: var(--gold-light); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.configuration-card h3 { margin: 13px 0 5px; font: 500 19px/1.25 var(--serif); }
.configuration-card .button { margin-top: 10px; border-radius: 6px; }

.pricing-page { width: 100%; max-width: 1500px; margin: 0 auto; }
.pricing-page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin: 0 0 21px; }
.pricing-page-heading h2 { margin: 0; color: var(--paper); font: 500 clamp(27px,3vw,36px)/1.2 var(--serif); letter-spacing: -.025em; }
.pricing-page-heading > div:first-child > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.pricing-status { display: grid; justify-items: end; gap: 8px; padding-top: 3px; text-align: right; }
.pricing-status .status-chip { padding: 7px 10px; border: 1px solid #efcf8b45; border-radius: 999px; font-size: 9px; }
.pricing-updated { color: #8f8a83; font-size: 9px; }
.pricing-notice { margin: 0 0 16px; padding: 12px 15px; border-radius: 6px; font-size: 11px; }
.pricing-notice-success { border: 1px solid #a7d7b04d; background: #18301e55; color: #c8e7cd; }
.pricing-notice-error { border: 1px solid #f0a5a54d; background: #7f1d3a22; color: #f4c4c4; }
.pricing-current-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-bottom: 18px; overflow: hidden; border: 1px solid rgba(212,175,112,.16); border-radius: 8px; background: rgba(212,175,112,.12); }
.pricing-current-strip > div { display: grid; align-content: center; gap: 5px; min-width: 0; min-height: 72px; padding: 12px 15px; background: #121214; }
.pricing-current-strip span, .pricing-current-strip strong small { color: var(--muted); font-size: 9px; font-weight: 400; }
.pricing-current-strip strong { overflow-wrap: anywhere; color: #e7d5b1; font-size: 12px; font-variant-numeric: tabular-nums; }
.pricing-workspace { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,320px); align-items: start; gap: 18px; }
.pricing-settings { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #111113; }
.pricing-section { padding: 23px 24px 25px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pricing-section:last-of-type { border-bottom: 0; }
.pricing-section-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 19px; }
.pricing-step { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(212,175,112,.28); border-radius: 50%; color: var(--gold-light); font-size: 9px; }
.pricing-section-heading h3 { margin: 2px 0 3px; color: #f0e9de; font: 500 19px/1.25 var(--serif); }
.pricing-section-heading p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.pricing-fields-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 16px; }
.pricing-form .field { min-width: 0; }
.pricing-form .field > label,
.pricing-fieldset > legend { display: block; margin: 0 0 7px; color: #e8e1d7; font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.pricing-form .field input.form-control,
.pricing-form .field select.form-control,
.pricing-form .field textarea.form-control,
.pricing-form .field > input.form-control,
.pricing-form .field > select.form-control,
.pricing-form .field > textarea.form-control {
  width: 100%; min-height: 41px; padding: 9px 11px; border: 1px solid #39383a; border-radius: 5px; background: #17171a; color: var(--paper); font: 400 11px/1.45 var(--sans); font-variant-numeric: tabular-nums;
}
.pricing-form .field textarea.form-control { min-height: 70px; resize: vertical; }
.pricing-form .field input:focus-visible,
.pricing-form .field select:focus-visible,
.pricing-form .field textarea:focus-visible { border-color: var(--gold); outline: 2px solid rgba(212,175,112,.3); outline-offset: 1px; }
.pricing-input-wrap { display: flex; align-items: center; min-width: 0; min-height: 42px; overflow: hidden; border: 1px solid #39383a; border-radius: 5px; background: #17171a; }
.pricing-input-wrap > span { flex: 0 0 auto; padding: 0 10px; border-right: 1px solid var(--line); color: #c8b78f; font-size: 10px; font-weight: 600; }
.pricing-input-wrap input.form-control { min-width: 40px; min-height: 40px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pricing-input-wrap > small { flex: 0 0 auto; padding: 0 10px 0 3px; color: #79756f; font-size: 9px; white-space: nowrap; }
.pricing-form .field-hint { display: block; max-width: 65ch; margin: 6px 0 0; color: #8d8990; font-size: 9px; line-height: 1.5; }
.pricing-form .field-error { display: block; margin-top: 6px; color: #f0a5a5; font-size: 9px; line-height: 1.45; }
.pricing-form .field.has-error input,
.pricing-form .field.has-error select,
.pricing-form .field.has-error textarea { border-color: #b96666; }
.pricing-form [hidden] { display: none !important; }
.pricing-form .field-wide { grid-column: 1 / -1; }
.pricing-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pricing-fieldset { margin: 0 0 17px !important; }
.pricing-fieldset > legend { float: none; width: auto; padding: 0; }
.pricing-fieldset > .field-hint { margin: -2px 0 11px; }
.pricing-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.pricing-choice-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 72px;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid rgba(250,250,249,.13);
  border-radius: 7px;
  background: #18181b;
  color: var(--paper);
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease;
}
.pricing-choice-card:hover { border-color: rgba(212,175,112,.44); background: #1b1a19; }
.pricing-choice-card:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.pricing-choice-card:has(input:checked) { border-color: rgba(212,175,112,.72); background: linear-gradient(105deg,rgba(212,175,112,.09),transparent 75%),#1b1916; }
.pricing-choice-card.is-selected { border-color: rgba(212,175,112,.72); background: linear-gradient(105deg,rgba(212,175,112,.09),transparent 75%),#1b1916; }
.pricing-choice-card.has-error,
.pricing-choice-grid.has-error .pricing-choice-card { border-color: #b96666; }
.pricing-choice-card input[type="checkbox"],
.pricing-choice-card input[type="radio"] {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.pricing-choice-icon { display: grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center; margin-top: 1px; border: 1px solid rgba(212,175,112,.2); border-radius: 50%; color: #d6bd8d; font: 500 11px/1 var(--serif); }
.pricing-choice-copy { display: grid; min-width: 0; gap: 4px; padding-right: 17px; }
.pricing-choice-copy strong { color: #eee8df; font-size: 10px; font-weight: 600; line-height: 1.4; }
.pricing-choice-copy small { color: #a19ba1; font-size: 9px; line-height: 1.5; }
.pricing-choice-copy em { color: #c1a876; font-size: 8px; font-style: normal; line-height: 1.5; }
.pricing-card-example { color: #c9b37f !important; }
.pricing-choice-indicator { position: absolute; top: 13px; right: 13px; display: grid; width: 16px; height: 16px; place-items: center; border: 1px solid #5c5852; border-radius: 50%; color: #17130d; font-size: 10px; line-height: 1; }
.pricing-checkbox-card .pricing-choice-indicator { border-radius: 4px; }
.pricing-choice-card.is-selected .pricing-choice-indicator { border-color: var(--gold); background: var(--gold); }
.pricing-choice-card.is-selected .pricing-choice-indicator::after { content: "✓"; }
.pricing-radio-card.is-selected .pricing-choice-indicator::after { content: "•"; font-size: 16px; }
.pricing-choice-card.is-disabled { cursor: not-allowed; border-color: rgba(250,250,249,.08); background: #141416; }
.pricing-choice-card.is-disabled:hover { border-color: rgba(250,250,249,.08); background: #141416; }
.pricing-choice-card.is-disabled .pricing-choice-icon,
.pricing-choice-card.is-disabled .pricing-choice-copy { opacity: .65; }
.pricing-unavailable-note { margin: 0 0 11px; padding-left: 10px; border-left: 2px solid #7f1d3a; color: #aaa1a1; font-size: 9px; line-height: 1.55; }
.pricing-rounding-grid { margin-top: 18px; }
.pricing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 17px 24px; border-top: 1px solid var(--line); background: #131315; }
.pricing-save-button, .pricing-cancel-button { min-height: 41px; border-radius: 5px; font-size: 10px; }
.pricing-save-button { min-width: 136px; }
.pricing-save-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.pricing-dirty-status { margin-left: auto; color: #8e8982; font-size: 9px; }
.has-unsaved-changes .pricing-dirty-status { color: var(--gold-light); }
.pricing-preview-panel { position: sticky; top: 96px; min-width: 0; padding: 20px 18px 17px; border: 1px solid rgba(212,175,112,.22); border-radius: 8px; background: #141315; }
.pricing-preview-heading { display: flex; align-items: center; gap: 11px; }
.pricing-preview-mark { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(212,175,112,.42); border-radius: 50%; color: var(--gold-light); font: 500 11px var(--serif); }
.pricing-preview-heading .eyebrow { margin: 0 0 2px; font-size: 8px; }
.pricing-preview-heading h3 { margin: 0; color: #f1eadd; font: 500 17px/1.25 var(--serif); }
.pricing-preview-disclaimer, .pricing-preview-rounding, .pricing-preview-mode-note { color: #938d86; font-size: 9px; line-height: 1.55; }
.pricing-preview-disclaimer { margin: 14px 0; }
.pricing-preview-facts { display: grid; gap: 8px; margin: 0; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-preview-facts > div { display: flex; justify-content: space-between; gap: 9px; }
.pricing-preview-facts dt { color: #928d87; font-size: 9px; }
.pricing-preview-facts dd { margin: 0; color: #ded5c6; font-size: 9px; text-align: right; font-variant-numeric: tabular-nums; }
.pricing-preview-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 13px 0 15px; }
.pricing-preview-prices > div { display: grid; gap: 5px; min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 5px; background: #ffffff03; }
.pricing-preview-prices span { color: #a19ba1; font-size: 8px; }
.pricing-preview-prices strong { overflow-wrap: anywhere; color: var(--gold-light); font: 500 14px/1.3 var(--serif); font-variant-numeric: tabular-nums; }
.pricing-preview-panel h4 { margin: 0 0 8px; color: #e9e2d8; font-size: 9px; font-weight: 600; }
.pricing-preview-table { width: 100%; border-collapse: collapse; font-size: 9px; font-variant-numeric: tabular-nums; }
.pricing-preview-table th, .pricing-preview-table td { padding: 8px 4px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: right; white-space: nowrap; }
.pricing-preview-table thead th { color: #8f8981; font-size: 8px; font-weight: 500; }
.pricing-preview-table tbody th { color: #d8d0c4; font-weight: 600; }
.pricing-preview-table td { color: #e0d6c4; }
.pricing-preview-rounding { margin: 10px 0 0; }
.pricing-preview-mode-note { margin: 8px 0 0; color: #c3ae7f; }
.pricing-history-section { margin-top: 23px; padding: 21px 22px 18px; border: 1px solid var(--line); border-radius: 8px; background: #111113; }
.pricing-history-section .pricing-section-heading { margin-bottom: 13px; }
.pricing-history-table-wrap { border: 1px solid rgba(255,255,255,.08); border-radius: 5px; }
.pricing-history-table { min-width: 760px; }

@media (min-width: 1500px) {
  .owner-control-shell .owner-shell { padding-right: clamp(50px,5vw,100px); padding-left: 310px; }
  .owner-control-shell .owner-sidebar { width: 278px; }
}
@media (max-width: 1200px) {
  .owner-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .owner-financial-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .owner-metric-card { min-height: 110px; }
}
@media (max-width: 900px) {
  .owner-control-shell main { padding-top: 68px; }
  .owner-control-shell .owner-shell {
    min-height: calc(100vh - 68px);
    padding: 92px 22px 54px;
  }
  .owner-control-shell .owner-sidebar {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 68px;
    max-height: 68px;
    overflow: hidden;
    padding: 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(212,175,112,.2);
    background: rgba(15,15,17,.98);
    backdrop-filter: blur(18px);
  }
  .owner-control-shell .owner-sidebar > .eyebrow,
  .owner-control-shell .owner-sidebar h1,
  .owner-control-shell .owner-sidebar > .field-hint { display: none; }
  .owner-control-shell .owner-sidebar nav {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 67px;
    align-items: center;
    gap: 7px;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-color: #5a4934 transparent;
    scrollbar-width: thin;
  }
  .owner-control-shell .owner-sidebar nav a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 10px;
    white-space: nowrap;
  }
  .owner-control-shell .owner-sidebar nav a.is-current { border-color: rgba(212,175,112,.2); }
  .owner-control-shell .owner-shell { display: block; }
  .owner-control-shell .owner-main { width: 100%; }
}
@media (max-width: 650px) {
  .owner-control-shell .owner-shell { padding: 82px 15px 40px; }
  .owner-control-shell .owner-sidebar { height: 58px; max-height: 58px; padding: 0 10px; }
  .owner-control-shell .owner-sidebar nav { height: 57px; gap: 5px; }
  .owner-control-shell .owner-sidebar nav a { min-height: 38px; padding: 7px 10px; font-size: 9px; }
  .owner-dashboard-title { align-items: flex-start; gap: 14px; }
  .owner-dashboard-title > .button { min-height: 38px; }
  .owner-report-controls { padding: 14px !important; }
  .owner-report-controls .creator-filters { align-items: stretch; }
  .owner-report-controls .creator-filters label,
  .owner-report-controls .creator-filters .report-range-select { width: 100%; min-width: 0; }
  .owner-report-controls .creator-filters .button { width: 100%; }
  .owner-section-heading { align-items: flex-start; }
  .owner-section-heading > a { padding-top: 4px; font-size: 9px; }
  .owner-metrics,
  .owner-financial-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .owner-metric-card { min-height: 105px; padding: 12px; }
  .owner-metric-card > strong { font-size: 23px; }
  .owner-metric-card > small { font-size: 8px; }
  .integration-grid { grid-template-columns: 1fr; }
  .owner-control-shell .owner-form { grid-template-columns: 1fr; gap: 15px; }
  .owner-control-shell .owner-form .field-wide,
  .owner-control-shell .owner-form-section-title,
  .owner-control-shell .owner-form .owner-form-actions,
  .owner-control-shell .owner-form > button { grid-column: auto; }
  .owner-control-shell .owner-form .owner-form-actions .button { flex: 1 1 150px; }
  .owner-control-shell .feature-row { grid-template-columns: minmax(0,1fr) auto; }
  .owner-control-shell .owner-section-heading h3 { font-size: 21px; }
}
@media (max-width: 390px) {
  .owner-control-shell .owner-shell { padding-right: 11px; padding-left: 11px; }
  .owner-dashboard-title { flex-direction: column; }
  .owner-dashboard-title > .button { align-self: flex-start; }
  .owner-section-heading { flex-direction: column; gap: 7px; }
  .owner-metric-card { min-height: 100px; padding: 10px; }
  .owner-metric-card > span { font-size: 9px; }
}

.creator-shell, .owner-shell { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: clamp(22px,4vw,54px); max-width: 1500px; min-height: 75vh; margin: 0 auto; padding: 48px clamp(18px,5vw,72px) 80px; }
.creator-sidebar, .owner-sidebar { align-self: start; position: sticky; top: 20px; padding: 21px 17px; border: 1px solid var(--line); background: var(--surface); }
.creator-sidebar h1, .owner-sidebar h1 { margin: 0 0 21px; font: 500 23px var(--serif); }
.creator-sidebar nav, .owner-sidebar nav { display: grid; gap: 4px; margin-bottom: 20px; }
.creator-sidebar nav a, .owner-sidebar nav a { padding: 10px 11px; border-left: 2px solid transparent; color: #d4d4d8; font-size: 11px; }
.creator-sidebar nav a:hover, .owner-sidebar nav a:hover { color: var(--gold-light); background: var(--surface-soft); border-left-color: var(--gold); }
.creator-main, .owner-main { min-width: 0; }
.creator-title { margin-bottom: 25px; }
.creator-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 20px 0; }
.owner-metrics { grid-template-columns: repeat(4,minmax(0,1fr)); }
.creator-metrics article { min-width: 0; padding: 15px; border: 1px solid var(--line); background: var(--surface); }
.creator-metrics span { display: block; color: var(--muted); font-size: 10px; }
.creator-metrics strong { display: block; margin-top: 7px; color: var(--gold-light); font: 500 26px var(--serif); }
.creator-policy-note { margin: 16px 0 24px; }
.creator-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.creator-filters label { display: grid; gap: 5px; min-width: 155px; color: var(--muted); font-size: 10px; }
.creator-content-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.creator-content-table th { padding: 11px; color: var(--muted); text-align: left; font-weight: 500; white-space: nowrap; border-bottom: 1px solid var(--line); }
.creator-content-table td { padding: 12px 11px; vertical-align: middle; border-bottom: 1px solid #ffffff0c; }
.creator-content-table td small, .creator-content-table td > small { display: block; margin-top: 3px; color: var(--muted-dark); font-size: 9px; }
.creator-item-cell { display: flex; align-items: center; gap: 10px; min-width: 155px; }
.creator-item-cell img, .cover-monogram { flex: 0 0 48px; width: 48px; height: 48px; object-fit: cover; display: inline-grid; place-items: center; border: 1px solid #d4af7040; background: #21141a; color: var(--gold); font: 19px var(--serif); }
.creator-item-cell span:last-child { display: grid; }
.creator-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; min-width: 150px; }
.creator-row-actions a, .creator-row-actions button { padding: 0; border: 0; color: var(--gold); background: none; font-size: 9px; cursor: pointer; }
.creator-row-actions form { margin: 0; }
.creator-row-actions .destructive-link { color: var(--danger); }
.table-wrap { width: 100%; overflow-x: auto; }
.creator-pagination { display: flex; justify-content: space-between; gap: 12px; padding-top: 17px; color: var(--muted); font-size: 10px; }
.creator-pagination a { color: var(--gold); }
.empty-compact { padding: 36px 12px; text-align: center; color: var(--muted); }
.empty-compact h3 { color: var(--paper); font: 500 22px var(--serif); }
.upload-steps { display: flex; justify-content: space-between; gap: 6px; margin: 5px 0 20px; padding: 0; list-style: none; color: var(--muted-dark); font-size: 9px; }
.upload-steps li { flex: 1; padding: 9px 5px; border-bottom: 1px solid var(--line); text-align: center; }
.upload-steps li.active { color: var(--gold); border-color: var(--gold); }
.upload-dropzone { display: grid; justify-items: center; gap: 9px; padding: 22px; border: 1px dashed #d4af7070; background: #d4af7008; text-align: center; }
.upload-dropzone.drag-over { border-color: var(--gold); background: #d4af7019; }
.upload-dropzone input { max-width: 100%; }
.upload-dropzone > span:last-child { color: var(--muted); font-size: 10px; }
.creator-form, .owner-form { display: grid; gap: 17px; }
.creator-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 18px; }
.creator-form-grid .field-wide { grid-column: 1 / -1; }
.creator-form .field label, .owner-form .field label { display: block; margin-bottom: 5px; color: #e7e7e9; font-size: 10px; }
.creator-form .form-control:not([type="checkbox"]):not([type="radio"]), .owner-form .form-control:not([type="checkbox"]):not([type="radio"]), .creator-filters .form-control, .role-form .form-control, .review-actions .form-control { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid #36363b; border-radius: 0; background: #17171a; color: var(--paper); font: inherit; font-size: 11px; }
.creator-form .field:has(> input[type="checkbox"]) > label, .owner-form .field:has(> input[type="checkbox"]) > label, .masterclass-form .field:has(> input[type="checkbox"]) > label { grid-column: 2; grid-row: 1; align-self: center; margin: 0; color: #f0e8da; font-size: 12px; font-weight: 600; line-height: 1.45; cursor: pointer; }
.creator-form input[type="checkbox"].form-control, .owner-form input[type="checkbox"].form-control, .masterclass-form input[type="checkbox"].form-control { display: inline-grid; width: 20px; min-width: 20px; height: 20px; min-height: 20px; padding: 0; }
.creator-form textarea.form-control { min-height: 112px; }
.creator-form input[type="checkbox"] { accent-color: var(--gold); }
.creator-form-notice { padding: 14px; border-left: 2px solid var(--gold); background: #d4af700d; color: var(--muted); font-size: 10px; }
.creator-form-notice b { color: var(--gold-light); }
.creator-form-notice p { margin: 5px 0; }
.creator-form-notice label { color: var(--paper); }
.creator-preview-notice { margin: 18px 0 0; padding: 14px 16px; border: 1px solid rgba(212,175,112,.28); background: #d4af700d; color: var(--muted); font-size: 11px; }
.creator-preview-notice strong { color: var(--gold-light); }
.creator-preview-notice p { margin: 5px 0 0; }
.creator-preview-shell { padding-top: 14px; }
.creator-preview-shell .detail-layout { margin-top: 12px; }
.button-disabled { display: inline-flex; justify-content: center; opacity: .62; cursor: not-allowed; }
.pricing-summary-grid, .pricing-preview-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 10px; margin: 16px 0; }
.pricing-summary-grid article, .pricing-preview-grid article { display: grid; gap: 5px; padding: 13px; border: 1px solid var(--line); background: #ffffff04; }
.pricing-summary-grid span, .pricing-preview-grid article > span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.pricing-summary-grid strong, .pricing-preview-grid strong { color: var(--gold-light); font-size: 13px; }
.pricing-preview-grid small { color: var(--muted); font-size: 10px; }
.upload-progress { margin: 17px 0; padding: 13px; border: 1px solid var(--line); }
.upload-progress > div { display: flex; justify-content: space-between; color: var(--gold-light); font-size: 10px; }
.upload-progress progress { width: 100%; height: 9px; accent-color: var(--gold); }
.upload-progress p { margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.edit-thumbnail { width: min(100%,330px); max-height: 190px; object-fit: cover; }
.status-chip { max-width: 100%; white-space: normal; font-size: 8px; }
.status-success { color: var(--success); border-color: #a7d7b04d; }
.status-warning { color: var(--warning); border-color: #efcf8b4d; }
.status-danger { color: var(--danger); border-color: #f0a5a54d; }
.status-neutral { color: #d4d4d8; }
.owner-shell { grid-template-columns: 220px minmax(0,1fr); }
.owner-sidebar { background: #111114; }
.owner-sidebar .eyebrow { color: #c1a876; }
.owner-main .dashboard-title h2 { margin: 0; font: 500 clamp(29px,4vw,43px)/1.1 var(--serif); }
.owner-main .dashboard-panel { margin: 19px 0; }
.owner-section-heading { margin: 0 0 17px; }
.owner-section-heading h3 { margin: 0; font: 500 25px var(--serif); }
.integration-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.integration-card { min-width: 0; padding: 14px; border: 1px solid var(--line); background: #101013; }
.integration-card > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.integration-card .eyebrow { margin: 0; }
.integration-card p { margin: 11px 0 5px; color: var(--muted); font-size: 10px; }
.integration-card small, .owner-alert small { color: var(--muted-dark); font-size: 9px; }
.owner-alerts { display: grid; gap: 9px; }
.owner-alert { padding: 13px; border-left: 2px solid var(--warning); background: #efcf8b0b; }
.owner-alert:has(.status-danger) { border-color: var(--danger); background: #f0a5a50b; }
.owner-alert > div { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; }
.owner-alert p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; }
.owner-alert small { grid-column: 1 / -1; }
.owner-validation { color: var(--muted); font-size: 10px; }
.owner-form { max-width: 720px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.owner-form .field { min-width: 0; }
.owner-form .field:nth-child(1), .owner-form .field:nth-child(2), .owner-form .owner-form-actions, .owner-form > button { grid-column: 1 / -1; }
.owner-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.external-steps { padding-left: 20px; color: var(--muted); font-size: 11px; }
.external-steps li { padding: 4px 0; }
.feature-list { display: grid; }
.feature-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.feature-row p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.feature-row form { margin: 0; }
.role-form { display: grid; grid-template-columns: minmax(110px,.7fr) minmax(130px,1fr) auto; align-items: center; gap: 6px; min-width: 350px; }
.user-status-form { display: grid; grid-template-columns: minmax(110px,1fr) auto; align-items: center; gap: 6px; min-width: 260px; }
.review-card { display: grid; grid-template-columns: 165px minmax(0,1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-preview img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.review-info h3 { margin: 0 0 7px; font: 500 23px var(--serif); }
.review-info > p:not(.eyebrow) { color: var(--muted); font-size: 10px; }
.review-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-top: 16px; }
.review-actions label { display: none; }
.review-actions > input { flex: 1; min-width: 150px; }
.readiness-table td { min-width: 125px; }
.readiness-table td:first-child { min-width: 155px; }
.form-control:focus { border-color: var(--gold); outline: 1px solid var(--gold); }
code { color: var(--gold-light); }

@media (max-width: 1150px) {
  .pricing-workspace { grid-template-columns: minmax(0,1fr) 280px; gap: 13px; }
  .pricing-section { padding-right: 19px; padding-left: 19px; }
  .pricing-actions { padding-right: 19px; padding-left: 19px; }
}
@media (max-width: 1050px) {
  .pricing-workspace { grid-template-columns: minmax(0,1fr); }
  .pricing-preview-panel { position: static; grid-row: 1; }
  .pricing-settings { grid-row: 2; }
  .pricing-preview-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pricing-preview-facts > div { justify-content: space-between; }
}
@media (max-width: 650px) {
  .pricing-page-heading { flex-direction: column; gap: 10px; }
  .pricing-status { justify-items: start; text-align: left; }
  .pricing-current-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pricing-current-strip > div { min-height: 66px; padding: 10px; }
  .pricing-section { padding: 18px 14px 20px; }
  .pricing-section-heading { gap: 10px; margin-bottom: 15px; }
  .pricing-section-heading h3 { font-size: 17px; }
  .pricing-section-heading p { font-size: 9px; }
  .pricing-fields-grid { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .pricing-form .field-wide { grid-column: auto; }
  .pricing-choice-grid { grid-template-columns: minmax(0,1fr); }
  .pricing-choice-card { min-height: 66px; padding: 12px; }
  .pricing-rounding-grid { margin-top: 14px; }
  .pricing-actions { position: static; gap: 8px; padding: 13px 14px; }
  .pricing-save-button { flex: 1 1 150px; }
  .pricing-cancel-button { flex: 1 1 130px; }
  .pricing-dirty-status { width: 100%; margin: 0; }
  .pricing-preview-panel { padding: 16px 14px; }
  .pricing-preview-facts { grid-template-columns: minmax(0,1fr); }
  .pricing-history-section { padding: 17px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-choice-card { transition: none; }
}
@media (max-width: 900px) {
  .creator-shell, .owner-shell { grid-template-columns: 1fr; padding-top: 24px; }
  .creator-sidebar, .owner-sidebar { position: static; }
  .creator-sidebar nav, .owner-sidebar nav { display: flex; flex-wrap: wrap; gap: 3px; }
  .creator-sidebar nav a, .owner-sidebar nav a { padding: 8px; }
}
@media (max-width: 650px) {
  .creator-metrics, .owner-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .creator-form-grid, .owner-form, .integration-grid { grid-template-columns: 1fr; }
  .creator-form-grid .field-wide, .owner-form .field:nth-child(1), .owner-form .field:nth-child(2), .owner-form .owner-form-actions, .owner-form > button { grid-column: auto; }
  .upload-steps { flex-wrap: wrap; }
  .upload-steps li { min-width: 40%; }
  .review-card { grid-template-columns: 1fr; }
  .review-preview img { max-width: 320px; }
  .feature-row { grid-template-columns: 1fr auto; }
  .feature-row form, .feature-row > .field-hint { grid-column: 1 / -1; }
  .review-actions { align-items: stretch; flex-direction: column; }
}

  input[type="checkbox"], input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: inline-grid;
    flex: 0 0 20px;
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    place-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid #777078;
    background: #0e0e10;
    color: #15110a;
    accent-color: var(--gold);
    cursor: pointer;
    vertical-align: middle;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
  }
  input[type="checkbox"] { border-radius: 5px; }
  input[type="checkbox"]::after {
    width: 5px;
    height: 9px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    opacity: 0;
    transform: translateY(-1px) rotate(45deg) scale(.65);
    transition: opacity .12s ease, transform .12s ease;
  }
  input[type="radio"] { border-radius: 50%; }
  input[type="radio"]::after {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    content: "";
    opacity: 0;
    transform: scale(.55);
    transition: opacity .12s ease, transform .12s ease;
  }
  input[type="checkbox"]:checked, input[type="radio"]:checked {
    border-color: var(--gold);
    background: var(--gold);
  }
  input[type="checkbox"]:checked::after, input[type="radio"]:checked::after {
    opacity: 1;
    transform: translateY(-1px) rotate(45deg) scale(1);
  }
  input[type="radio"]:checked::after { transform: scale(1); }
  input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px #d4af7020;
  }
  input[type="checkbox"]:disabled, input[type="radio"]:disabled {
    border-color: #444148;
    background: #28272b;
    cursor: not-allowed;
    opacity: .55;
  }
  .field:has(> input[type="checkbox"]:checked),
  .field:has(> input[type="radio"]:checked) {
    border-color: rgba(212,175,112,.58);
    background-color: #1b1916;
  }
  .field ul li:has(input[type="checkbox"]:checked) > label,
  .field ul li:has(input[type="radio"]:checked) > label {
    border-color: rgba(212,175,112,.72);
    background: #d4af7014;
  }
  .dance-player {
    --player-gold: #d4af70;
    position: relative;
    overflow: hidden;
    border: 1px solid #d4af7040;
    background: #08080a;
    color: #fafaf9;
  }
  .dance-player [hidden] { display: none !important; }
  .dance-player-screen {
    position: relative;
    display: grid;
    min-height: 220px;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    background: #050506;
  }
  .dance-player .protected-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
  }
  .player-loading, .player-error {
    position: absolute;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 9px;
    padding: 18px;
    color: #eee8df;
    font-size: 11px;
    text-align: center;
    background: #09090be8;
  }
  .player-loading::before {
    width: 20px;
    height: 20px;
    border: 2px solid #d4af7045;
    border-top-color: var(--player-gold);
    border-radius: 50%;
    content: "";
    animation: player-spin .8s linear infinite;
  }
  @keyframes player-spin { to { transform: rotate(360deg); } }
  .player-error { inset: 0; align-content: center; }
  .player-error span { color: #aaa5aa; }
  .player-retry, .player-control, .player-center-play {
    border: 1px solid #d4af7055;
    color: #f4e5c2;
    background: #161416;
    cursor: pointer;
  }
  .player-retry { min-height: 36px; padding: 8px 14px; }
  .player-center-play {
    position: relative;
    z-index: 1;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    font-size: 18px;
    transition: opacity .15s ease, background .15s ease;
  }
  .dance-player.is-playing .player-center-play { opacity: 0; pointer-events: none; }
  .player-controls { padding: 10px 14px 8px; background: #101012; }
  .player-seek-label, .player-volume-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .player-seek {
    display: block;
    width: 100%;
    height: 15px;
    margin: 0 0 8px;
    accent-color: var(--player-gold);
    cursor: pointer;
  }
  .player-control-row, .player-control-group { display: flex; align-items: center; }
  .player-control-row { justify-content: space-between; gap: 12px; }
  .player-control-group { gap: 10px; min-width: 0; }
  .player-control {
    display: inline-grid;
    flex: 0 0 33px;
    width: 33px;
    height: 31px;
    place-items: center;
    border-radius: 4px;
    font-size: 12px;
  }
  .player-control:hover, .player-retry:hover, .player-center-play:hover { border-color: var(--player-gold); background: #28221a; }
  .player-time { color: #e7e2da; font-variant-numeric: tabular-nums; font-size: 10px; white-space: nowrap; }
  .player-volume { width: 76px; height: 16px; accent-color: var(--player-gold); }
  .player-select-label { display: flex; align-items: center; gap: 6px; color: #aaa5aa; font-size: 9px; white-space: nowrap; }
  .player-select-label select {
    max-width: 88px;
    min-height: 30px;
    padding: 4px 7px;
    border: 1px solid #484248;
    border-radius: 4px;
    color: #eee8df;
    background: #18181b;
    font: inherit;
    font-size: 10px;
  }
  .player-shortcuts { margin: 0; padding: 7px 14px 10px; color: #88848b; font-size: 9px; line-height: 1.5; }
  .player-shortcuts b { color: #c4ad7d; font-weight: 600; }
  .player-control:focus-visible, .player-retry:focus-visible, .player-center-play:focus-visible,
  .player-seek:focus-visible, .player-volume:focus-visible, .player-select-label select:focus-visible {
    outline: 2px solid var(--player-gold);
    outline-offset: 2px;
  }
  .learning-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; margin-top: 24px; }
  .learning-panel { min-width: 0; padding: 17px 19px; border: 1px solid var(--line); background: #111113; }
  .learning-panel-heading { margin-bottom: 12px; }
  .learning-panel-heading .eyebrow { margin: 0 0 3px; color: #c1a876; }
  .learning-panel-heading h2 { margin: 0; font: 500 22px/1.25 var(--serif); }
  .video-view-switcher { display: flex; flex-wrap: wrap; gap: 8px; }
  .video-view-button {
    min-height: 39px;
    padding: 8px 12px;
    border: 1px solid #38363a;
    border-radius: 4px;
    color: #ddd7d0;
    background: #18181b;
    font: 500 10px var(--sans);
    cursor: pointer;
  }
  .video-view-button:hover, .video-view-button.is-active { border-color: #d4af70a8; color: #f4e5c2; background: #d4af7014; }
  .video-view-button:focus-visible, .video-chapter-button:focus-visible, .chapter-loop-button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
  .video-chapter-list { display: grid; gap: 4px; max-height: 300px; overflow: auto; margin: 0; padding: 0; list-style: none; }
  .video-chapter-list li { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; border-left: 2px solid transparent; }
  .video-chapter-list li.is-active { border-left-color: var(--gold); background: #d4af700d; }
  .video-chapter-button { display: flex; min-width: 0; align-items: flex-start; gap: 11px; padding: 9px 8px; border: 0; color: var(--paper); background: transparent; text-align: left; cursor: pointer; }
  .video-chapter-button time { min-width: 38px; padding-top: 2px; color: #c1a876; font-size: 10px; font-variant-numeric: tabular-nums; }
  .video-chapter-button > span { display: grid; gap: 3px; min-width: 0; }
  .video-chapter-button strong { font-size: 10px; font-weight: 600; }
  .video-chapter-button small { color: var(--muted); font-size: 9px; line-height: 1.5; }
  .chapter-loop-button { min-width: 49px; min-height: 29px; margin-right: 7px; border: 1px solid #38363a; border-radius: 4px; color: #aaa5aa; background: #18181b; font: 9px var(--sans); cursor: pointer; }
  .chapter-loop-button.is-active { border-color: var(--gold); color: #f4e5c2; background: #d4af7018; }
  .detail-meta { display: flex; flex-wrap: wrap; gap: 7px; }
  .detail-meta span { padding: 5px 8px; border: 1px solid var(--line); color: #c9c3c8; font-size: 9px; }
  .creator-chapter-editor { padding: 18px; border: 1px solid var(--line); background: #101012; }
  .creator-chapter-editor h3 { margin: 0 0 5px; font: 500 20px var(--serif); }
  .creator-chapter-grid { display: grid; grid-template-columns: minmax(120px,1.1fr) minmax(140px,1.5fr) minmax(100px,.7fr) minmax(85px,.5fr) auto; gap: 10px; align-items: end; padding: 12px 0; border-top: 1px solid #ffffff12; }
  .creator-chapter-grid .field { min-width: 0; }
  .creator-chapter-grid .field label { display: block; margin-bottom: 5px; font-size: 9px; }
  .creator-chapter-grid .field input { width: 100%; min-width: 0; }
  .creator-chapter-delete { display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 9px; }
  .creator-view-status { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
  .creator-view-status li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid #ffffff12; color: var(--muted); font-size: 10px; }
  .creator-view-status strong { color: #eee8df; font-weight: 600; }
  .catalog-discovery-filters {
    display: grid;
    grid-template-columns: minmax(220px,1.5fr) repeat(3,minmax(140px,.8fr)) auto;
    align-items: end;
    gap: 10px;
    margin: 0 0 18px;
    padding: 15px;
    border: 1px solid var(--line);
    background: #111113;
  }
  .catalog-discovery-filters label { display: grid; gap: 5px; color: #d9d2c9; font-size: 9px; }
  .catalog-discovery-filters input, .catalog-discovery-filters select {
    width: 100%;
    min-width: 0;
    min-height: 39px;
    padding: 8px 10px;
    border: 1px solid #36363b;
    border-radius: 4px;
    color: var(--paper);
    background: #17171a;
    font: 11px var(--sans);
  }
  .catalog-discovery-filters input:focus-visible, .catalog-discovery-filters select:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  .catalog-result-count { margin: 0 0 11px; color: var(--muted); font-size: 9px; text-align: right; }
  .catalog-pagination { margin-top: 19px; }
  @media (max-width: 700px) {
    .learning-layout { grid-template-columns: minmax(0,1fr); }
    .creator-chapter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .creator-chapter-grid .chapter-description-field { grid-column: 1 / -1; }
    .player-control-row { flex-wrap: wrap; }
    .player-control-row > .player-control-group:last-child { justify-content: flex-end; width: 100%; }
    .player-volume { width: 58px; }
    .player-shortcuts { font-size: 8px; }
    .catalog-discovery-filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px; }
    .catalog-search-field { grid-column: 1 / -1; }
    .catalog-discovery-filters > .button { grid-column: 1 / -1; }
  }
  @media (prefers-reduced-motion: reduce) {
    .dance-player *, input[type="checkbox"], input[type="radio"] { animation: none !important; transition: none !important; }
  }

.account-settings { max-width: 1220px; }
.token-purchase { max-width: 1280px; }
.purchase-brand { display: block; width: 180px; max-width: 100%; height: auto; margin-bottom: 30px; }
.system-dialog { width: min(520px,calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; box-sizing: border-box; padding: 32px; border: 1px solid #d4af7066; border-radius: 16px; background: radial-gradient(ellipse at 100% 0,#7f1d3a55,transparent 65%),#121215; color: var(--paper); box-shadow: 0 30px 100px #0009; }
.system-dialog::backdrop { background: #09090bd9; backdrop-filter: blur(7px); }
.ui-spinner, [data-ui-busy]::before { content: ""; display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid #d4af7040; border-top-color: var(--gold); border-radius: 50%; animation: activity-spin .85s linear infinite; vertical-align: middle; }
[data-ui-busy]::before { margin-right: 8px; }
.activity-dialog .ui-spinner { width: 32px; height: 32px; }
.activity-dialog p { color: #d1c8c2; line-height: 1.7; overflow-wrap: anywhere; }
.activity-status { position: fixed; z-index: 1100; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100% - 32px); box-sizing: border-box; padding: 14px 20px; border: 1px solid #d4af7066; border-radius: 12px; background: #121215f5; color: var(--paper); box-shadow: 0 12px 40px #0008; font-size: 13px; overflow-wrap: anywhere; pointer-events: none; }
.activity-status[hidden] { display: none; }
@keyframes activity-spin { to { transform: rotate(360deg); } }
.otp-timing { border: 1px solid #d4af7040; border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; background: #d4af7008; }
.otp-timing p { margin: 0; font-size: 13px; color: #d1c8c2; }
.otp-timing p + p { margin-top: 8px; }
.otp-timing strong { color: var(--gold-light); font-size: 24px; font-variant-numeric: tabular-nums; padding-left: 8px; }
.otp-resend { margin-top: 16px; }
.otp-digits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(5px, 1.5vw, 12px); width: 100%; }
.otp-digits input { width: 100%; min-width: 0; box-sizing: border-box; height: 56px; padding: 8px 0; text-align: center; font-size: 25px; font-variant-numeric: tabular-nums; border-radius: 8px; }
.otp-digits input:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.otp-resend p { font-size: 12px; line-height: 1.6; color: #a99e97; }
@media (prefers-reduced-motion: reduce) { .ui-spinner, [data-ui-busy]::before { animation: none; } }
.system-dialog h2 { margin: 12px 0 20px; font: 30px/1.3 var(--serif); }
.system-dialog #system-dialog-message { white-space: pre-wrap; overflow-wrap: anywhere; color: #d1c8c2; font-size: 14px; line-height: 1.8; }
.system-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.system-dialog-actions [hidden] { display: none; }
.system-dialog[data-tone="error"] { border-color: #d77993; }
.system-dialog-rhythm { display: flex; align-items: center; gap: 5px; height: 35px; margin-bottom: 22px; transform: skew(-15deg); }
.system-dialog-rhythm span { width: 5px; height: 23px; background: var(--gold); border-radius: 3px; }
.system-dialog-rhythm span:nth-child(2) { height: 35px; background: var(--gold-light); }
.system-dialog-rhythm span:nth-child(3) { height: 15px; }
.purchase-quote [hidden] { display: none; }
.purchase-layout { display: grid; grid-template-columns: minmax(240px,.85fr) minmax(0,1.6fr); gap: 26px; align-items: start; }
.purchase-wallet-card { position: sticky; top: 102px; overflow: hidden; padding: 30px; border: 1px solid #d4af7045; border-radius: 12px; background: radial-gradient(ellipse at 100% 0,#7f1d3a65,transparent 65%),linear-gradient(145deg,#231e1a,#111113 70%); }
.purchase-wallet-card h2 { margin: 12px 0 28px; font: 30px/1.35 var(--serif); }
.purchase-balance { display: grid; gap: 8px; padding: 22px 0; border-top: 1px solid #d4af7033; border-bottom: 1px solid #d4af7033; }
.purchase-balance > span { color: #c2b5a5; font-size: 12px; }
.purchase-balance strong { overflow-wrap: anywhere; color: var(--gold-light); font: 42px/1.2 var(--serif); }
.purchase-balance small { font: 13px var(--sans); }
.purchase-wallet-card > p:not(.eyebrow) { margin: 22px 0; color: #b9b1ad; font-size: 12px; line-height: 1.9; }
.purchase-card-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 45px; color: #988779; font-size: 8px; letter-spacing: .12em; }
.purchase-panels { display: grid; min-width: 0; gap: 20px; }
.purchase-panels .dashboard-panel { margin: 0; padding: 26px; border-radius: 10px; }
.purchase-section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.purchase-section-heading h2 { margin: 0; font: 24px/1.4 var(--serif); }
.purchase-section-heading .eyebrow { margin: 0 0 4px; }
.purchase-step { display: grid; flex: 0 0 38px; height: 38px; place-items: center; border: 1px solid #d4af7045; border-radius: 50%; color: var(--gold-light); font-size: 11px; }
.purchase-suggestions { min-width: 0; margin: 0; padding: 0; border: 0; }
.purchase-suggestions legend { margin-bottom: 12px; color: var(--paper); font-size: 12px; }
.purchase-quantity-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(92px,1fr)); gap: 10px; margin-bottom: 10px; }
.purchase-quantity { position: relative; display: grid; gap: 3px; min-height: 88px; padding: 18px 24px 14px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-raised); color: var(--paper); text-align: left; cursor: pointer; }
.purchase-quantity strong { font: 26px/1.2 var(--serif); }
.purchase-quantity > span:not(.purchase-choice-mark) { color: var(--muted); font-size: 11px; }
.purchase-quantity:hover { border-color: #d4af7080; }
.purchase-quantity[aria-pressed="true"] { border-color: var(--gold); background: #d4af7014; }
.purchase-choice-mark { position: absolute; top: 13px; right: 11px; width: 10px; height: 10px; border: 1px solid #777078; border-radius: 50%; }
.purchase-quantity[aria-pressed="true"] .purchase-choice-mark { border-color: var(--gold); background: var(--gold); }
.purchase-input-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.purchase-input-grid .field { min-width: 0; }
.purchase-input-grid .field input, .purchase-input-grid .field select { border-radius: 6px; }
.purchase-review-action { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.purchase-quote-total { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; padding: 20px; border: 1px solid #d4af7030; border-radius: 7px; background: #d4af7009; }
.purchase-quote-total > div { display: grid; gap: 5px; }
.purchase-quote-total small { color: var(--muted); font-size: 10px; }
.purchase-quote-total strong { overflow-wrap: anywhere; color: var(--gold-light); font: 28px var(--serif); }
.purchase-price-details { margin-top: 20px; }
.purchase-price-details summary, .purchase-availability summary { color: #c8bcae; font-size: 11px; cursor: pointer; }
.purchase-price-details dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.purchase-price-details dt { color: var(--muted); }
.purchase-price-details dd { margin: 0; overflow-wrap: anywhere; }
.purchase-quote-empty { padding: 12px 0; text-align: center; }
.purchase-quote-empty > span { color: var(--gold); font-size: 24px; }
.purchase-quote-empty p { color: #d7cbbc; font: 20px var(--serif); }
.purchase-quote-empty small { display: block; max-width: 370px; margin: auto; color: var(--muted); font-size: 12px; }
.purchase-quote.is-stale .purchase-quote-total { opacity: .5; }
.purchase-availability { padding: 20px 24px; border: 1px solid #7f1d3a70; border-radius: 8px; background: #7f1d3a0c; }
.purchase-availability p { color: var(--muted); font-size: 12px; line-height: 1.8; }
@media (max-width: 1000px) {
  .purchase-layout { grid-template-columns: minmax(0,1fr); }
  .purchase-wallet-card { position: relative; top: auto; }
  .purchase-wallet-card h2 br { display: none; }
  .purchase-card-foot { margin-top: 24px; }
}
@media (max-width: 500px) {
  .purchase-wallet-card, .purchase-panels .dashboard-panel { padding: 22px 16px; }
  .purchase-input-grid { grid-template-columns: minmax(0,1fr); }
  .purchase-review-action .button { width: 100%; }
  .purchase-section-heading h2 { font-size: 21px; }
}
.owner-choice-fieldset { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 7px; }
.owner-choice-fieldset legend { padding: 0 7px; color: var(--gold-light); font-size: 12px; font-weight: 600; }
.owner-choice-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 10px; }
.owner-form .owner-checkbox-option { display: flex; min-width: 0; align-items: center; gap: 12px; min-height: 54px; padding: 13px; border: 1px solid var(--line); border-radius: 6px; color: var(--paper); background: var(--surface-raised); cursor: pointer; }
.owner-checkbox-option span { font-size: 12px; overflow-wrap: anywhere; }
.owner-form .owner-checkbox-option:hover { border-color: #d4af7070; }
.owner-form .owner-checkbox-option:has(input:checked) { border-color: var(--gold); background: #d4af7014; }
.owner-form .owner-checkbox-option:focus-within { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.owner-form .owner-checkbox-option:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.account-intro { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.account-settings-grid { display: grid; grid-template-columns: minmax(220px,.7fr) minmax(0,1.8fr); gap: 24px; align-items: start; }
.account-identity { min-width: 0; padding: 30px 24px; border: 1px solid var(--line); border-radius: 8px; background: radial-gradient(ellipse at top left,#d4af7014,transparent 65%),var(--surface); }
.account-monogram { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 22px; border: 1px solid #d4af7055; border-radius: 50%; background: linear-gradient(140deg,#402a21,#191518); color: var(--gold-light); font: 32px var(--serif); }
.account-identity h2 { margin: 0 0 8px; overflow-wrap: anywhere; font: 26px var(--serif); }
.account-identity > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.account-facts { margin: 26px 0 20px; border-top: 1px solid var(--line); }
.account-facts > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.account-facts dt { color: var(--muted); }
.account-facts dd { margin: 0; color: var(--paper); }
.account-settings-panels { display: grid; min-width: 0; gap: 20px; }
.account-settings-panels .dashboard-panel { margin: 0; padding: 28px; border-radius: 8px; }
.account-details > .field-hint { margin-bottom: 24px; }
.account-details .field input { width: 100%; min-width: 0; }
.account-save-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.account-phone-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.account-phone-row > div { min-width: 0; }
.account-phone-row strong { overflow-wrap: anywhere; color: var(--paper); font-size: 15px; font-weight: 500; }
.account-phone-row .field-hint { max-width: 360px; line-height: 1.8; }
.account-phone-row .button { flex-shrink: 0; }
@media (max-width: 1000px) {
  .account-settings-grid { grid-template-columns: minmax(0,1fr); }
  .account-identity { padding: 24px; }
}
@media (max-width: 600px) {
  .account-settings-panels .dashboard-panel { padding: 20px 16px; }
  .account-phone-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .account-save-row { align-items: stretch; flex-direction: column; }
  .account-save-row .button { width: 100%; }
}
