
:root{--market-gold:#d9b77b;--market-ink:#060e16}
body{background:radial-gradient(ellipse at 70% 0,#152131 0,transparent 45%),var(--market-ink);color:#edf0f4}
body .mode-page{max-width:1440px;padding:32px;margin:auto}
body .logged-in-header{background:#080f18;border-bottom:1px solid #ffffff1c;padding:16px 32px;gap:24px}
.market-hero{position:relative;height:500px;min-height:500px;border:1px solid #344150;border-radius:12px;overflow:hidden;isolation:isolate;margin:0 0 36px;background:#121c2a}
.market-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;z-index:3}
.market-hero::before{content:"";position:absolute;inset:0;z-index:4;background:linear-gradient(to right,#070f18 0 45%,transparent 55%);pointer-events:none}
.market-hero-link{position:absolute;inset:0;z-index:5;cursor:pointer}.market-hero-copy{position:absolute;inset:0;z-index:6;padding:48px 38px 90px;pointer-events:none}.market-hero-copy .market-button{pointer-events:auto}
.market-eyebrow{font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--market-gold);font-weight:700}.market-hero .market-eyebrow{display:none}
.market-hero h1{width:44%;max-width:44%;font-size:clamp(2.3rem,4.3vw,4.6rem);line-height:1.04;letter-spacing:-.055em;margin:0;font-weight:900}
.market-hero h1 span{color:var(--market-gold)}
.market-hero h1 .market-hero-heading-accent{display:block;margin-top:.16em}
.market-hero-copy>p:not(.market-eyebrow){max-width:450px;font-size:1.12rem;color:#d2dae6;line-height:1.6}
.market-hero-creator{display:flex;flex-direction:column;align-items:center;gap:8px;width:max-content;margin-top:30px;color:#f5f7fa;text-align:center;text-decoration:none;pointer-events:auto}.market-hero-creator .market-creator-avatar{display:block;width:144px;height:144px;aspect-ratio:1;box-sizing:border-box;object-fit:cover;object-position:50% 28%;border:2px solid #bd9b60;border-radius:50%;box-shadow:0 5px 20px #0007}.market-hero-creator strong{max-width:120px;font-size:.86rem;line-height:1.2;letter-spacing:.02em}.market-hero-copy .market-button{position:absolute;left:38px;bottom:28px}.market-button{display:inline-flex;gap:32px;align-items:center;background:linear-gradient(115deg,#edcf96,#bd965d);padding:15px 25px;border-radius:6px;color:#111820!important;font-family:system-ui,"Segoe UI","Noto Sans","Noto Sans Arabic","Noto Sans Hebrew","Noto Sans Devanagari","Noto Sans Bengali","Noto Sans Tamil","Noto Sans Telugu","Noto Sans Thai","Noto Sans CJK SC","Noto Sans CJK JP","Noto Sans CJK KR",Arial,sans-serif;font-weight:650;letter-spacing:normal;line-height:1.25;text-decoration:none!important;margin-top:16px;box-shadow:0 4px 24px #d6b57920}
.creator-hero--spotlight{position:relative;display:block;height:500px;min-height:500px;margin:0 0 40px;padding:0;overflow:hidden;border:1px solid #344150;border-radius:12px;background:#121c2a;isolation:isolate}
.creator-hero--spotlight .creator-hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;z-index:3}
.creator-hero--spotlight::before{content:"";position:absolute;inset:0;z-index:4;background:linear-gradient(to right,#070f18 0 45%,transparent 55%);pointer-events:none}
.creator-hero--spotlight .creator-hero-avatar{position:absolute;z-index:6;left:38px;bottom:24px;width:100px;height:100px;box-sizing:border-box;object-fit:cover;border:3px solid #d9b77b;border-radius:50%;box-shadow:0 5px 20px #0008}
.creator-hero--spotlight .creator-hero-copy{position:relative;z-index:5;width:45%;max-width:none;box-sizing:border-box;padding:48px 38px 145px;text-shadow:none}.creator-hero--spotlight .creator-hero-copy p{color:#d2dae6}
.market-section-title{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:center;margin:32px 0 18px}.market-section-title h2{font-size:1.6rem;margin:0;letter-spacing:-.03em;overflow-wrap:anywhere}.market-section-title>span{font-size:.8rem;color:#94a7bd}
.market-creators{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.market-creator{position:relative;aspect-ratio:4/4.6;overflow:hidden;border:1px solid #65738680;border-radius:9px;color:#fff;text-decoration:none;background:#152333}
.market-creator img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.market-creator::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#050e18 0%,#050e18d9 20%,transparent 75%)}
.market-creator>div{position:absolute;z-index:1;bottom:14px;left:14px;right:12px}.market-creator h3{font-size:1rem;margin:0 0 5px}.market-creator p,.market-creator small{font-size:.72rem;margin:3px 0;color:#d0dae6}
.market-creator:hover img{transform:scale(1.04)}
body .collectible-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
body .collectible-tile{padding:5px 5px 0;border-radius:9px;border:1px solid #8a7356;background:linear-gradient(145deg,#27394a,#102133 58%,#152333);overflow:hidden;box-shadow:inset 0 0 0 2px #ffffff0a,0 9px 24px #0003;transition:transform .18s,border-color .18s}
body .collectible-tile:nth-child(3n+1){background:linear-gradient(145deg,#453044,#1f1728)}body .collectible-tile:nth-child(3n+2){background:linear-gradient(145deg,#294758,#0b2434)}
body .collectible-tile:hover{transform:translateY(-4px);border-color:#e7ca92}
.market-card-art{display:block;position:relative;aspect-ratio:2/3;overflow:hidden;border-radius:5px;border:1px solid #ffffff24}
body .market-card-art img{width:100%;height:100%;object-fit:cover;aspect-ratio:auto;border-radius:0;margin:0}
.market-ribbon{position:absolute;z-index:2;top:20px;right:-35px;left:auto;width:140px;box-sizing:border-box;transform:rotate(45deg);background:linear-gradient(180deg,#df2635,#b70f21);color:#fff;padding:7px 0;text-align:center;text-transform:uppercase;font-size:.6rem;line-height:1.25;letter-spacing:.05em;font-weight:850;box-shadow:0 2px 5px #0008;border-top:1px solid #ff788080;border-bottom:1px solid #740915;border-radius:0;pointer-events:none}
.market-card-info{padding:13px 9px 9px}.market-card-creator{font-size:.69rem;letter-spacing:.08em;text-transform:uppercase;color:#f3e8d7;text-decoration:none}
.market-card-info h3{font-size:.87rem;margin:7px 0 12px;line-height:1.4}.market-card-info h3 a{text-decoration:none;color:white}
.card-categories{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}
.category-badge{display:inline-block;background:#ffffff0e;border:1px solid #ffffff23;border-radius:4px;font-size:.63rem;padding:4px 7px;color:#d5deeb;text-decoration:none}
.market-card-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;margin-top:17px}.market-card-bottom>span{font-size:.61rem;color:#b5bfd0}.market-card-bottom strong{font-size:.9rem;white-space:nowrap;color:#ebcf98}.market-card-bottom strong small{font-size:.56rem}
body .market-stock{font-size:.65rem;margin:9px 0 2px;color:#bfcadb}
.market-filter{padding:14px 18px;border:1px solid #334253;border-radius:8px;background:#111c29;margin-bottom:22px}
.market-footer{text-align:center;padding:45px 10px;color:#8193a8;font-size:.82rem}.market-footer strong{display:block;font-size:.9rem;letter-spacing:.2em;color:#baa47f;margin:10px}
body .back-link{display:inline-flex;align-items:center;min-height:48px;padding:12px 20px;border:1px solid #ac9062;border-radius:7px;background:#192431;color:#efcf92;font-size:1rem;font-weight:750;text-decoration:none;margin-bottom:24px}
a:focus-visible,button:focus-visible{outline:3px solid #e6c386;outline-offset:4px}
@media(max-width:1100px){body .collectible-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-creators{grid-template-columns:repeat(3,minmax(0,1fr))}.market-creator{aspect-ratio:5/4}}
@media(max-width:600px){body .mode-page{padding:20px 16px}body .logged-in-header{padding:14px 16px}.market-hero,.creator-hero--spotlight{height:500px;min-height:500px}.market-hero-art,.creator-hero--spotlight .creator-hero-art{object-position:center}.market-hero::before,.creator-hero--spotlight::before{background:linear-gradient(0deg,#070f18 0%,#070f18c9 50%,#070f1866)}.market-hero-copy{padding:30px 23px 120px}.market-hero-copy>h1{width:100%;max-width:100%}.market-hero-creator{margin-top:24px}.market-hero-creator .market-creator-avatar{width:144px;height:144px}.market-hero-copy .market-button{left:23px;bottom:22px}.creator-hero--spotlight .creator-hero-avatar{left:23px;bottom:22px;width:82px;height:82px}.creator-hero--spotlight .creator-hero-copy{width:100%;padding:30px 23px 126px}.market-hero h1{font-size:2.65rem}.market-hero-copy>p:not(.market-eyebrow){font-size:1rem}.market-section-title>span{display:none}.market-creators{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.market-creator{aspect-ratio:4/5}body .collectible-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.market-card-info{padding:10px 5px}.market-card-bottom{align-items:flex-start;flex-direction:column;gap:7px}.market-filter{align-items:stretch}.market-filter select{min-width:0;max-width:100%}.market-card-creator{font-size:.6rem}.market-section-title h2{font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){.market-creator img,body .collectible-tile{transition:none}}

body .mode-page,body .logged-in-header{font-family:Arial,Helvetica,sans-serif}
body .market-section-title h2,body .market-creator h3,body .market-card-info h3{font-family:Arial,Helvetica,sans-serif}
body .mode-brand{display:flex;align-items:center;gap:12px;text-decoration:none;width:auto;max-width:none}
body .mode-brand .brand-lockup{display:block;flex:none;width:438px;height:auto}
@media(max-width:600px){
 body .logged-in-header .mode-brand{min-width:0;max-width:100%;flex:0 1 auto;flex-wrap:wrap}
 body .mode-brand .brand-lockup{width:318px;max-width:100%;min-width:0}
 body .logged-in-header nav.header-account{min-width:0;grid-template-columns:minmax(0,1fr) auto}
 body .logged-in-header nav.header-account > a{grid-column:1 / -1}
 body .logged-in-header .header-account .user-status-item{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
}

body .header-account.guest-navigation{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;background:none;border:0;padding:0}
body .header-account.guest-navigation .user-status-item{padding:10px 8px;font-size:.75rem;min-height:40px}
@media(max-width:600px){body .logged-in-header{gap:12px}body .header-account.guest-navigation{justify-content:space-between;width:100%}}

/* Explicit contrast within linked collectible artwork. */
body .collectible-tile .market-ribbon{color:#fff!important;text-shadow:0 1px 1px #6008;font-weight:850}

/* SVG ribbon colors are selected by status; labels remain live text. */
.market-ribbon{--ribbon-color:#c7192b;--ribbon-text:#fff;background:none;border:0;isolation:isolate}
.market-ribbon--new{--ribbon-color:#c7192b}
.market-ribbon-shape{position:absolute;inset:0;width:100%;height:100%;z-index:-1;fill:var(--ribbon-color)}
body .collectible-tile .market-ribbon-label{color:var(--ribbon-text)!important;font:inherit;letter-spacing:inherit}

/* Wrap the sash around the full card frame, not the inset artwork. */
.collectible-tile{position:relative;overflow:hidden}

/* Folded SVG corner sash, outside the card edge with live angled lettering. */
.collectible-tile{overflow:visible}
.market-ribbon{top:-6px;right:-6px;width:120px;height:120px;padding:0;transform:none;box-shadow:none;--ribbon-fold:#790c19;filter:drop-shadow(-1px 2px 2px #0005)}
.market-ribbon-shape{z-index:0;overflow:visible}
.ribbon-face{fill:var(--ribbon-color)}
.ribbon-fold{fill:var(--ribbon-fold)}
.ribbon-highlight{fill:#fff;opacity:.13}
body .collectible-tile .market-ribbon-label{position:absolute;top:42px;left:20px;width:120px;line-height:16px;text-align:center;transform:rotate(45deg);font-size:10px}
.market-ribbon--green{--ribbon-color:#18862b;--ribbon-fold:#094b16}
.market-ribbon--blue{--ribbon-color:#2c9fc8;--ribbon-fold:#18617b}
.market-ribbon--silver{--ribbon-color:#b9b9b9;--ribbon-fold:#707070;--ribbon-text:#171717}
.market-ribbon--red{--ribbon-color:#bd1536;--ribbon-fold:#740c21}
.market-ribbon--gold{--ribbon-color:#ddba12;--ribbon-fold:#8d7608;--ribbon-text:#171717}
.market-ribbon--orange{--ribbon-color:#f36724;--ribbon-fold:#9d340b}

body .store-grid .store-card.collectible-tile{overflow:visible}

/* Artwork-led browsing: details belong on the card detail page. */
.market-card-visual{position:relative}
body .collectible-tile .market-card-info{padding:9px 8px 10px;min-height:0}
body .collectible-tile .market-card-creator{display:block;font-size:.68rem;line-height:1.3;letter-spacing:.04em}
body .collectible-tile .market-card-info h3{font-size:.82rem;line-height:1.3;margin:3px 0 0}
body .collectible-tile .card-categories{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 0}
body .collectible-tile .category-badge{background:#101c2c;color:#f3e2b4;border-color:#a4874b;border-radius:4px;font-size:.59rem;font-weight:700;letter-spacing:.06em;line-height:1.2;padding:4px 7px;text-transform:uppercase}

/* Flush corner sash: its text follows the exact centerline of the SVG band. */
body .collectible-tile .market-ribbon{top:0;right:0;width:104px;height:104px;filter:none;text-shadow:none;font-weight:700;overflow:hidden;border-radius:0 8px 0 0}
body .collectible-tile .market-ribbon-label{left:0;top:43px;width:104px;line-height:18px;font-family:Arial,Helvetica,sans-serif;font-size:10px;font-weight:700;letter-spacing:.025em;text-shadow:none;transform:translate(8.23px,-8.23px) rotate(45deg);transform-origin:center}
body .collectible-tile .ribbon-highlight{opacity:.07}


/* Marketplace section navigation and accessible card action menus. */
.market-section-title>div{display:grid;gap:4px;min-width:0;flex:1 1 180px}
.market-section-title>div>span{font-size:.8rem;color:#94a7bd}
.market-view-all{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:9px 13px;border:1px solid #806f51;border-radius:6px;color:#efd39c;text-decoration:none;font-size:.76rem;font-weight:800;white-space:normal;text-align:center;overflow-wrap:anywhere}
.market-view-all:hover{border-color:#e7ca92;background:#ffffff0a}
.market-creators--all{grid-template-columns:repeat(4,minmax(0,1fr))}
.market-card-menu{position:absolute;z-index:6;top:9px;left:9px;width:38px;height:38px}
.market-card-menu.is-open{z-index:30}
.market-card-menu-toggle{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid #ffffff52;border-radius:999px;background:#07101de8;color:#fff;font-size:.82rem;letter-spacing:.08em;line-height:1;box-shadow:0 2px 8px #0007;cursor:pointer}
.market-card-menu-toggle[aria-expanded="true"]{background:#e6c386;color:#111820;border-color:#e6c386}
.market-card-menu-panel{position:absolute;z-index:1;top:44px;left:0;width:max-content;min-width:145px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:6px;border:1px solid #596a7e;border-radius:8px;background:#08111ef5;box-shadow:0 12px 30px #000a}
body .market-card-menu-panel[hidden]{display:none!important}
.market-card-menu-panel button,.market-card-menu-panel a{display:block;width:100%;min-height:38px;padding:9px 11px;border:0;border-radius:5px;background:transparent;color:#edf0f4;text-align:left;text-decoration:none;font:inherit;font-size:.75rem;cursor:pointer}
.market-card-menu-panel button:hover,.market-card-menu-panel a:hover,.market-card-menu-panel button:focus-visible,.market-card-menu-panel a:focus-visible{background:#ffffff16;color:#f3d79f}
@media(max-width:1100px){.market-creators--all{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.market-section-title{align-items:flex-end}.market-section-title>span{display:none}.market-section-title>div>span{display:block}.market-view-all{font-size:.7rem}.market-creators--all{grid-template-columns:repeat(2,minmax(0,1fr))}.market-card-menu{top:7px;left:7px}.market-card-menu-toggle{width:36px;height:36px}.market-card-menu-panel{top:41px}}

/* Authored card fronts are finished artwork; CSS only sizes them and places live data. */
body .market-card-art--authored{aspect-ratio:2/3;border:0;background:none;container-type:inline-size}
body .market-card-art--authored img{object-fit:contain}
.authored-card-variable{position:absolute;left:64.5%;top:89.7%;width:26%;height:5.5%;display:flex;align-items:center;justify-content:center;color:#f4d58c;font:700 clamp(5px,3.5cqw,12px)/1 Arial,sans-serif;letter-spacing:.025em;white-space:nowrap;pointer-events:none}
body .card-page-artwork:has(>.authored-card-page){padding:0;border:0;box-shadow:none;background:none;border-radius:0;display:block}
body .card-page-artwork:has(>.authored-card-page)::before,body .card-page-artwork:has(>.authored-card-page)::after{display:none}
.authored-card-page{position:relative;width:100%;height:100%;container-type:inline-size}
body .authored-card-page>img{display:block;width:100%;height:100%;object-fit:contain;margin:0;border:0;border-radius:0}
.authored-card-page .authored-card-variable{font-size:clamp(9px,3.5cqw,18px)}

/* People have circular portraits; collectible artwork stays on cards. */
body .market-creator{display:flex;flex-direction:column;align-items:center;gap:14px;aspect-ratio:auto;overflow:visible;padding:8px 4px 16px;border:0;border-radius:0;background:none;text-align:center}
body .market-creator::after{display:none}
body .market-creator .market-creator-avatar{display:block;flex:none;width:min(100%,144px);height:auto;aspect-ratio:1;object-fit:cover;object-position:50% 28%;border:2px solid #bd9b60;border-radius:50%;box-sizing:border-box;box-shadow:0 5px 20px #0004}
body .market-creator .market-creator-avatar--placeholder{display:grid;place-items:center;background:#172332;color:#e6c98d;font-size:2rem;font-weight:700}
body .market-creator>div{position:static;min-width:0}
body .market-creator h3{line-height:1.3;overflow-wrap:anywhere}
body .creator-avatar{border-radius:50%;aspect-ratio:1;object-fit:cover}
body .authored-card-variable{font-size:clamp(4px,2.8cqw,12px);letter-spacing:0}
body .authored-card-page .authored-card-variable{font-size:clamp(5px,2.8cqw,14px);letter-spacing:0}

/* Consistent, bold vector arrows instead of thin font glyphs. */
body .ui-arrow{display:inline-block;width:20px;height:20px;flex:0 0 20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
body .market-view-all,body .back-link{gap:10px}
.creator-action-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 24px}.creator-action-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #ac9062;border-radius:7px;background:#192431;color:#efcf92;font-size:.9rem;font-weight:750;text-decoration:none}.creator-action-link:hover{background:#243445;color:#fff}.creator-action-link:focus-visible{outline:2px solid #efcf92;outline-offset:3px}
.referral-link-label{display:block;max-width:720px}.referral-link{display:block;width:100%;min-height:44px;margin-top:8px;padding:10px 12px;border:1px solid #ac9062;border-radius:7px;background:#111b27;color:#fff;font:inherit}
body .card-page-link .ui-arrow{width:20px;height:20px;flex-basis:20px}
@media(max-width:600px){body .card-page-nav .card-page-link{gap:2px}body .card-page-link .ui-arrow{width:14px;height:14px;flex-basis:14px}}

/* The gold CTA needs a dark arrow with the same contrast as its label. */
body .market-button>.ui-arrow{color:#111820;stroke:#111820;width:24px;height:24px;flex-basis:24px;stroke-width:3.5}

/* Ownership-aware purchase section beside the reader. */
body .card-support-cta{margin:24px 0;padding:24px;border:1px solid #b99a5a70;border-radius:12px;background:#17202c}
body .card-support-cta .card-support-eyebrow{color:#e6c98d;font-size:.7rem;letter-spacing:.14em;font-weight:700;margin:0 0 10px}
body .card-support-cta h2{font-size:1.5rem;line-height:1.3;margin:0 0 12px}
body .card-support-cta>p:not(.card-support-eyebrow){line-height:1.6}
body .card-support-cta form{margin-bottom:0}
@media(max-width:600px){body .card-support-cta{padding:20px}}

body .card-media-page{display:flex;flex-direction:column;justify-content:center;gap:20px;min-height:100%;box-sizing:border-box;padding:24px}body .card-media-page audio,body .card-media-page video{width:100%;max-width:100%}body .card-media-page h2{font-size:1.6rem}body .card-media-page .login-button{text-align:center}
body .card-sample-page{gap:8px;padding:16px;justify-content:flex-start}body .card-sample-page h2,body .card-sample-page h3,body .card-sample-page p{margin:0}body .card-sample-page h2{font-size:1.25rem}body .card-sample-page h3{font-size:1rem}body .card-sample-page p,body .card-sample-page label,body .card-sample-page small{font-size:.75rem;line-height:1.3}body .card-sample-page select{width:100%;min-height:32px}body .card-sample-page audio{height:34px}body .card-sample-page video{max-height:150px;object-fit:contain;background:#080d16}
body .card-story-page{gap:14px;justify-content:flex-start}body .card-story-page>p{margin:0;line-height:1.5}body .card-story-page details{border:1px solid #b99a5a70;border-radius:8px;padding:12px}body .card-story-page summary{cursor:pointer;font-weight:700;color:#e6c98d}body .card-story-page details[open]{max-height:300px;overflow:auto}body .card-story-page details p{font-size:.88rem;line-height:1.45;margin:12px 0 0}
@media(max-width:600px){body .card-sample-page{gap:6px;padding:12px}body .card-sample-page video{max-height:100px}body .card-story-page{gap:10px;padding:16px}body .card-story-page h2{font-size:1.25rem}body .card-story-page>p{font-size:.82rem}body .card-story-page details[open]{max-height:230px}}
.payment-panel .order-summary{width:100%;table-layout:fixed;border-collapse:collapse;margin:18px 0;color:#fff}
.payment-panel .order-summary td:first-child,.payment-panel .order-summary th:first-child{width:72%;padding-right:20px}
.order-summary td,.order-summary th{padding:12px 0;border-bottom:1px solid rgba(239,207,128,.22)}
.order-summary td:first-child{text-align:left}
.order-summary td:last-child,.order-summary th:last-child{text-align:right;white-space:nowrap;font-weight:800}
.order-summary strong{display:block}
.order-summary small{color:#efcf80;font-size:.8em}
.payment-panel .order-summary .order-summary-creator{display:block!important;margin-top:4px;color:#efcf80;font-size:.84rem;line-height:1.2}
.order-summary tfoot th,.order-summary tfoot td{border-bottom:0;padding-top:18px;font-size:1.08rem;color:#efcf80}

/* Cart quantities and the four-column payment summary. */
.cart-quantity{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.cart-quantity input[type=number]{width:72px;min-height:40px;text-align:center;color:#fff;background:#111923;border:1px solid #b99a5a;border-radius:4px}
.cart-quantity button{min-width:40px;min-height:40px;cursor:pointer}
.cart-quantity small{flex-basis:100%;color:#d9c89d}
.cart-line-total{font-weight:700}
.order-summary-scroll{overflow-x:auto}
.cart-row>div{min-width:0}
html[lang="ar"],html[lang="ur"]{direction:rtl}
html[lang="ar"] .order-summary,html[lang="ur"] .order-summary{direction:rtl}
.payment-panel .order-summary{table-layout:auto;min-width:520px}
.payment-panel .order-summary td:first-child,.payment-panel .order-summary th:first-child{width:auto;padding-right:16px}
.payment-panel .order-summary th,.payment-panel .order-summary td{padding:12px 10px;text-align:left}
.payment-panel .order-summary td:nth-child(3),.payment-panel .order-summary th:nth-child(3),.payment-panel .order-summary td:last-child,.payment-panel .order-summary th:last-child{text-align:right;white-space:nowrap}
.payment-panel .order-summary thead th{font-size:.85rem;color:#efcf80}
.payment-panel .order-summary tfoot th{text-align:right}

.cart-quantity{display:flex;align-items:center;gap:6px}.cart-quantity input{width:58px;text-align:center;padding:8px}.cart-quantity button{min-width:34px;padding:8px;font-weight:800}.cart-quantity .cart-remove{margin-left:8px}
.cart-quantity button,.payment-panel .login-button,.mode-collector>.login-button{white-space:normal;line-height:1.2;text-align:center;overflow-wrap:anywhere}
.mode-collector .back-link{white-space:normal;line-height:1.25}
@media(max-width:600px){.cart-quantity{align-items:stretch}.cart-quantity label{flex-basis:100%}.cart-quantity button{flex:1 1 auto}.cart-quantity .cart-remove{margin-left:0}.payment-panel .login-button{width:100%;max-width:100%}}
.order-summary thead th{padding:0 0 8px;color:#efcf80;text-transform:uppercase;font-size:.72rem;letter-spacing:.08em}.order-summary th:not(:nth-child(2)),.order-summary td:not(:nth-child(2)){text-align:right}.order-summary th:nth-child(2),.order-summary td:nth-child(2){text-align:left;padding-left:14px}.order-summary td{vertical-align:top}.order-summary .order-summary-creator{display:block;margin-top:4px;color:#efcf80;font-size:.84rem}

/* Creator production workspace. */
.creator-studio .payment-panel{margin:20px 0}.creator-studio label{display:block;margin:14px 0;font-weight:700}.creator-studio input,.creator-studio textarea{display:block;width:100%;margin-top:7px;padding:11px 12px;color:#fff;background:#111923;border:1px solid #7f755d;border-radius:6px;font:inherit}.creator-studio textarea{resize:vertical}.project-setup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.project-setup{display:flex;flex-wrap:wrap;gap:18px;margin:0}.project-setup div{min-width:140px}.project-setup dt{color:#efcf80;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em}.project-setup dd{margin:5px 0;font-size:1.1rem;font-weight:800}.project-messages{display:grid;gap:10px;max-height:520px;overflow:auto;padding-right:4px}.project-messages article{border-left:3px solid #efcf80;background:#151f2e;border-radius:0 8px 8px 0;padding:12px 14px}.project-messages time{display:block;margin-top:4px;font-size:.8rem;color:#bfc7d7}.project-messages p{white-space:pre-wrap;margin:10px 0 0;line-height:1.5}.creator-studio ul{padding-left:20px}.creator-studio li{margin:8px 0;overflow-wrap:anywhere}@media(max-width:700px){.project-setup-grid{grid-template-columns:1fr}.project-setup{display:grid;grid-template-columns:1fr 1fr}.creator-studio .creator-action-link{width:100%;text-align:center}}

/* Creator card composer */
.creator-composer-heading{display:flex;gap:24px;align-items:flex-start;justify-content:space-between;margin:24px 0}.creator-composer-heading h1{margin:0}.creator-composer-heading .mode-copy{max-width:720px}.creator-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.creator-card-draft-row{display:flex;gap:20px;align-items:center;justify-content:space-between}.creator-card-draft-row h2{margin:0}.creator-card-draft-row p:last-child{margin-bottom:0}.creator-card-status{margin:0 0 7px;color:#efcf80;font-size:.76rem;font-weight:800;letter-spacing:.12em}.creator-composer select{display:block;width:100%;margin-top:7px;padding:11px 12px;color:#fff;background:#111923;border:1px solid #7f755d;border-radius:6px;font:inherit}.creator-composer input[type="checkbox"]{display:inline;width:auto;margin:0 8px 0 0;vertical-align:middle}.creator-composer label.check{padding:11px 0}.creator-card-page{margin:14px 0;border:1px solid #4d5667;border-radius:8px;background:#121a27}.creator-card-page summary{cursor:pointer;padding:13px 15px;color:#efcf80;font-weight:800;letter-spacing:.04em}.creator-card-page>form,.creator-card-upload,.creator-card-add-page{padding:0 15px 15px}.creator-card-upload{padding-top:14px;border-top:1px solid #364052}.creator-card-upload h3,.creator-card-add-page h3{margin:0 0 4px}.creator-card-assets{margin:8px 0 14px}.creator-card-assets small{color:#bfc7d7}.creator-card-add-page{margin-top:20px;padding:18px;border:1px dashed #7f755d;border-radius:8px}.creator-composer .creator-action-link{border:0;cursor:pointer}.creator-composer form{margin-bottom:0}@media(max-width:700px){.creator-composer-heading,.creator-card-draft-row{display:block}.creator-composer-heading>.creator-action-link,.creator-composer-heading>form{margin-top:16px}.creator-path-grid{grid-template-columns:1fr}.creator-card-draft-row>a{display:inline-block;margin-top:12px}}
.creator-profile-editor{max-width:900px}.creator-profile-previews{display:grid;grid-template-columns:132px minmax(0,1fr);gap:18px;margin:0 0 22px}.creator-profile-previews figure{margin:0;color:#aeb8c9;font-size:.78rem}.creator-profile-previews img{display:block;width:132px;height:132px;object-fit:cover;border:2px solid #bd9b60;border-radius:50%;margin-bottom:8px}.creator-profile-previews .creator-profile-hero-preview img{width:100%;height:132px;border-radius:8px;object-position:center}.creator-profile-editor form{display:grid;gap:14px}.creator-profile-editor label{display:grid;gap:7px;color:#dbe2ec;font-weight:700}.creator-profile-editor label small{color:#9dabbc;font-size:.78rem;font-weight:400}.creator-profile-editor input[name="creator_name"]{width:100%;min-width:0;padding:.8rem;border:1px solid #485367;border-radius:7px;color:#edf0f6;background:#0e1725;font:inherit}.creator-profile-editor .login-button{background:linear-gradient(110deg,#ead095,#b8975b);color:#071019;border:1px solid #c5a365;font-size:1.05rem;font-weight:800;padding:15px 20px}.creator-profile-editor textarea{width:100%;resize:vertical;min-height:120px;padding:.8rem;border:1px solid #485367;border-radius:7px;color:#edf0f6;background:#0e1725;font:inherit}.creator-profile-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.creator-profile-editor input[type=file]{padding:10px;border:1px dashed #5b6a80;border-radius:7px;color:#dbe2ec;background:#0e1725}.profile-saved{padding:12px 14px;border:1px solid #5eab83;border-radius:7px;color:#d4f5df;background:#173b2a}@media(max-width:600px){.creator-profile-previews,.creator-profile-upload-grid{grid-template-columns:1fr}.creator-profile-previews figure,.creator-profile-previews img{width:132px}.creator-profile-previews .creator-profile-hero-preview img{width:100%;height:150px}}

/* Let the spotlight grow when wrapping requires more room than its 500px baseline. */
.market-hero{height:auto;min-height:500px}
.market-hero-copy{
  display:grid;
  position:relative;
  inset:auto;
  box-sizing:border-box;
  width:50%;
  min-height:500px;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:auto 1fr auto;
  gap:20px;
  padding:48px 38px 28px;
}
.market-hero h1{
  grid-column:1;
  grid-row:1;
  width:auto;
  max-width:none;
  font-size:clamp(2.3rem,3.6vw,3.9rem);
}
.market-hero-creator{
  position:static;
  grid-column:1;
  grid-row:2;
  align-self:center;
  justify-self:center;
  width:max-content;
  margin:0;
  transform:none;
}
.market-hero-copy .market-button{
  position:static;
  grid-column:1;
  grid-row:3;
  align-self:end;
  justify-self:center;
  left:auto;
  bottom:auto;
  margin:0;
  transform:none;
}
@media(max-width:600px){
  .market-hero-copy{
    width:100%;
    grid-template-columns:1fr;
    padding:30px 23px 22px;
  }
  .market-hero h1,.market-hero-creator,.market-hero-copy .market-button{grid-column:1}
}

.account-profile-editor{max-width:760px;margin:20px 0}.account-profile-editor form{display:grid;gap:14px}.account-profile-editor label{display:grid;gap:7px;color:#dbe2ec;font-weight:700}.account-profile-editor input,.account-profile-editor textarea{width:100%;box-sizing:border-box;padding:.8rem;color:#edf0f6;background:#0e1725;border:1px solid #485367;border-radius:7px;font:inherit}.account-profile-editor input[readonly]{color:#aeb8c9;background:#121a28}.account-profile-editor textarea{resize:vertical;min-height:120px}.account-creator-profile{margin-top:26px}.account-creator-status{margin-top:26px;max-width:760px}
/* Search controls share the existing dark fields and gold action treatment. */
.market-filter input[type="search"],.inventory-search input[type="search"]{box-sizing:border-box;background:#111c2c;color:#f5f7fb;border:1px solid #384153;padding:12px;border-radius:8px;font:inherit;width:220px;max-width:100%;min-width:0}
.market-filter label:has(input),.market-filter label:has(select),.inventory-search label{display:flex;align-items:center;gap:10px;min-width:0}
.market-filter button,.inventory-search button{background:linear-gradient(110deg,#e9ce91,#b99559);color:#07111a;border-color:#c6a76c;font-weight:700}
.inventory-creator-group th{padding-top:24px;font-size:1.2rem}.inventory-membership td{background:#171c27;color:#e9ce91}
@media(max-width:600px){.market-filter label:has(input),.market-filter label:has(select),.inventory-search label{width:100%;flex-direction:column;align-items:stretch}.market-filter input[type="search"],.inventory-search input[type="search"]{width:100%}.market-filter button,.inventory-search button{width:100%}}

.creator-category-cloud{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:24px 0}.creator-category-cloud a{color:#dfc17c;text-decoration:none}.creator-category-cloud a[aria-current="page"]{text-decoration:underline;text-underline-offset:5px}.creator-category-cloud small{font-size:.8rem;color:#aab7c9}

.creator-inventory-form{display:grid;gap:12px;margin:20px 0;padding-top:16px;border-top:1px solid #384153}.creator-inventory-form input[type="number"]{background:#111c2c;color:#f5f7fb;border:1px solid #384153;padding:12px;border-radius:8px;font:inherit;max-width:140px;margin-left:12px}.creator-inventory-form button:disabled{opacity:.5;cursor:default}

.creator-studio input[type="checkbox"]{display:inline;width:auto;margin-right:8px}.creator-studio select{display:block;width:100%;margin-top:7px;padding:11px 12px;color:#fff;background:#111923;border:1px solid #7f755d;border-radius:6px;font:inherit}.creator-approved-page{padding:18px 0;border-bottom:1px solid #384153}

/* Access is indicated with both a label and a border. */
.creator-approved-page.card-access-public,.creator-approved-page.card-access-owner{margin:18px 0;padding:18px;border-radius:12px}
.creator-card-page.card-access-public,.creator-approved-page.card-access-public{border:2px solid #48a875}
.creator-card-page.card-access-owner,.creator-approved-page.card-access-owner{border:2px solid #c75b66}

.card-audio-page{height:100%;display:flex;flex-direction:column;gap:8px;overflow:hidden}
.card-audio-page h2{margin:0;font-size:1.15rem}
.card-audio-art{display:block;max-height:24%;max-width:100%;object-fit:contain;align-self:center}
.card-audio-page audio{width:100%;height:36px;flex-shrink:0}
.card-album-tracks{list-style:none;padding:0;margin:0;display:grid;gap:2px;min-height:0}
.card-album-tracks li{display:flex;align-items:center;gap:6px;min-width:0}
.card-album-tracks button{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:6px;align-items:center;flex:1;min-width:0;border:1px solid #4b5361;border-radius:4px;background:#141c28;color:#f0f2f5;text-align:left;padding:5px 6px;font:inherit;font-size:.75rem;cursor:pointer}
.card-album-tracks button[aria-pressed="true"]{border-color:#dfbd70;background:#28303a}
.album-track-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.album-track-duration{font-variant-numeric:tabular-nums;color:#dfbd70}
.album-track-download{flex-shrink:0;color:#dfbd70;font-size:.65rem;font-weight:700}
.card-audio-description{margin:0;font-size:.8rem;line-height:1.3}

.card-album-tracks{flex:1;grid-template-rows:repeat(var(--album-track-count),minmax(0,1fr))}
.card-album-tracks li{min-height:0}
.card-album-tracks button{height:100%;min-height:0;box-sizing:border-box;line-height:1.15;padding:3px 6px}
.card-audio-art{min-height:0;max-height:18%;flex-shrink:1}

.card-audio-page img.card-audio-art{height:18%;max-height:90px;width:auto;max-width:100%;flex:0 0 auto;object-fit:contain}

.card-audio-page img.card-audio-art{max-height:clamp(40px,calc(150px - var(--album-track-count)*9px),90px)}
.card-audio-page .card-audio-description{font-size:.75rem;line-height:1.25;margin:0}
.card-album-tracks button{padding:1px 6px}

.album-zip-download{color:#dfbd70;font-weight:700;font-size:.75rem;text-align:center;flex-shrink:0}

.creator-approved-page .bo-preview-frame{width:min(100%,360px);aspect-ratio:2/3;margin:14px 0;border:1px solid #dfbd70;border-radius:8px;overflow:hidden}
.creator-approved-page .bo-preview-frame .card-page-artwork{height:100%}

.card-album-tracks button{margin:0}

.creator-review-page{margin:24px 0;padding:18px;border:2px solid #48a875;border-radius:12px}
.creator-review-page.card-access-owner{border-color:#c75b66}
.creator-review-page .bo-preview-frame{width:100%;max-width:380px;margin:20px auto}
.creator-review-page .card-page-artwork{width:100%;aspect-ratio:2/3}
.creator-review-page .card-page-content{height:100%;padding:18px;overflow:hidden}
.creator-review-page .card-page-content>img:not(.card-audio-art){max-height:78%;object-fit:contain;display:block;margin:auto}
.creator-review-page .card-page-content video{width:100%;max-height:78%;object-fit:contain}

/* Public creator storefront — compact, image-led launch composition. */
body:has(.creator-storefront){background:#030a13}
body:has(.creator-storefront) .mode-page{width:min(100% - 32px,1400px);max-width:none;padding:0 0 30px}
body:has(.creator-storefront) .logged-in-header{width:min(100% - 32px,1400px);max-width:none;margin:auto;padding:12px 0;border-bottom:1px solid #263344}
body:has(.creator-storefront) .logged-in-header img{max-height:50px;width:auto}
body:has(.creator-storefront) .mode-topbar.logged-in-header{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}
body:has(.creator-storefront) .logged-in-header .header-left{flex:0 0 auto!important;margin:0!important}
body:has(.creator-storefront) .logged-in-header .brand-lockup{width:230px!important;max-width:230px!important}
body:has(.creator-storefront) .logged-in-header .header-account{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:13px!important;min-width:0!important;width:auto!important;margin:0!important;padding:9px 12px!important;border:1px solid #253448!important;border-radius:7px!important;background:#07111d!important}
body:has(.creator-storefront) .logged-in-header .header-account a,body:has(.creator-storefront) .logged-in-header .header-account button{white-space:nowrap!important;font-size:.68rem!important}
body:has(.creator-storefront) .logged-in-header .language-picker select{width:150px!important;max-width:150px!important;padding:7px 28px 7px 10px!important}
.creator-storefront{--cs-red:#ed2f3b;--cs-gold:#dfbd70;--cs-panel:#07111d;--cs-line:#26384c;--cs-muted:#aab6c8;color:#f7f9fc}
.creator-storefront-hero{position:relative;min-height:365px;overflow:hidden;border-bottom:1px solid var(--cs-line);background:#0a1420;isolation:isolate}
.creator-storefront-hero-art{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 28%}
.creator-storefront-hero::before{content:"";position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,#030b15 0%,#06101bea 32%,#06101b70 57%,#06101b08 78%),linear-gradient(0deg,#06101bd6 0%,transparent 38%)}
.creator-storefront-crumbs{position:absolute;z-index:2;top:16px;left:24px;display:flex;gap:12px;align-items:center;font-size:.75rem;color:#c3ccda;text-shadow:1px 1px 0 #000}.creator-storefront-crumbs a{color:inherit;text-decoration:none;text-shadow:1px 1px 0 #000}.creator-storefront-crumbs a:hover{color:#fff}
.creator-storefront-identity{position:absolute;z-index:2;left:24px;top:62px;display:flex;gap:24px;width:52%;align-items:flex-start}.creator-storefront-identity>.market-creator-avatar{flex:none;width:150px;height:150px;object-fit:cover;border:3px solid var(--cs-red);border-radius:50%;box-shadow:0 12px 35px #0009}.creator-storefront-identity>.market-creator-avatar--placeholder{display:grid;place-items:center;background:#152131;font-size:2rem;font-weight:900}
.creator-storefront-copy{padding-top:3px;min-width:0}.creator-storefront-type{margin:0 0 6px;color:#d8e1ed;font-size:.68rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase}.creator-storefront-copy h1{display:flex;align-items:center;gap:10px;margin:0;font-size:clamp(2rem,3.3vw,3.4rem);line-height:1;letter-spacing:-.045em}.creator-verified{display:inline-grid;place-items:center;width:27px;height:27px;border-radius:50%;background:var(--cs-red);font-size:.82rem;letter-spacing:0}.creator-storefront-handle{display:flex;gap:12px;align-items:center;margin:9px 0;color:#d5dce7}.creator-storefront-handle span{padding:5px 9px;border-radius:999px;background:#1a2533;color:#fff;font-size:.69rem;font-weight:750}.creator-storefront-bio{max-width:480px;margin:10px 0 12px;color:#edf1f7;line-height:1.45;font-size:.92rem}
.creator-profile-socials{display:flex;gap:10px}.creator-profile-socials a{display:grid;place-items:center;width:32px;height:32px;border:1px solid #425268;border-radius:50%;color:#fff;text-decoration:none;font-weight:800}.creator-profile-socials a:hover{border-color:var(--cs-red);background:#121d2b}
.creator-recognition{position:absolute;z-index:3;right:10px;bottom:10px;display:flex;gap:13px;width:min(280px,28%);box-sizing:border-box;padding:16px;border:1px solid #435064;border-radius:9px;background:#07111eed;box-shadow:0 12px 30px #0007}.creator-recognition>b{color:var(--cs-red);font-size:1.55rem}.creator-recognition h2{margin:1px 0 8px;font-size:1rem}.creator-recognition p{margin:0;color:#d9e0ea;font-size:.78rem;line-height:1.5}
.creator-public-stats{position:absolute;z-index:2;left:24px;bottom:10px;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(120px,1fr);width:min(650px,57%);border:1px solid #334458;border-radius:8px;background:#07111ed9;backdrop-filter:blur(8px)}.creator-public-stat{display:flex;flex-direction:column;align-items:center;padding:11px 16px;border-right:1px solid #334458}.creator-public-stat:last-child{border-right:0}.creator-public-stat strong{font-size:1.42rem}.creator-public-stat span{color:#bac5d5;font-size:.71rem;text-transform:capitalize}
.creator-membership-strip{display:grid;grid-template-columns:205px minmax(240px,480px) auto;gap:24px;align-items:center;justify-content:center;margin:14px 0;padding:18px 22px;border:1px solid #344357;border-radius:9px;background:#07111d}.creator-membership-card{display:block;width:100%;height:auto;aspect-ratio:1.58625/1;border:1px solid #d9b85f;border-radius:14px;object-fit:cover;background:#05080d;box-shadow:0 10px 24px #0006}.creator-membership-card--fallback{box-sizing:border-box;padding:9% 7%;color:#fff;font-weight:850}.creator-membership-card--fallback strong,.creator-membership-card--fallback span,.creator-membership-card--fallback b{display:block}.creator-membership-card--fallback strong{font-size:clamp(.7rem,1.2vw,1rem)}.creator-membership-card--fallback span{margin-top:12%;font-size:clamp(.8rem,1.5vw,1.2rem)}.creator-membership-card--fallback b{margin-top:8%;color:#e2c16f;font-size:clamp(1rem,2vw,1.55rem);line-height:1.05}.creator-membership-strip h2{margin:0 0 8px;font-size:1.35rem;line-height:1.2}.creator-membership-strip p{margin:0;color:#c0cad8;font-size:.9rem;line-height:1.5}.creator-membership-strip>a{display:flex;align-items:center;justify-content:space-between;min-width:150px;padding:16px 20px;border:1px solid #ff5b63;border-radius:9px;background:linear-gradient(110deg,#c71926,#ef3540);color:#fff;text-decoration:none;font-weight:850;box-shadow:0 5px 18px #d51e2a38}
.creator-storefront-layout{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(280px,.95fr);gap:14px}.creator-catalog,.creator-storefront-sidebar>section{border:1px solid var(--cs-line);border-radius:9px;background:linear-gradient(145deg,#07111d,#050d17)}.creator-catalog>header{display:flex;justify-content:space-between;align-items:center;padding:13px 20px;border-bottom:1px solid var(--cs-line)}.creator-catalog h2,.creator-storefront-sidebar h2{margin:0;font-size:1.05rem}.creator-catalog header nav{display:flex;gap:8px}.creator-catalog header nav a{padding:8px 12px;color:#c3cddd;text-decoration:none;font-size:.78rem}.creator-catalog header nav a[aria-current=page]{color:var(--cs-gold);border-bottom:2px solid var(--cs-gold)}
.creator-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:16px 20px;min-height:350px;align-content:start}.creator-catalog-grid article{min-width:0}.creator-catalog-art{position:relative;display:block;overflow:hidden;aspect-ratio:2/3;border:1px solid #57677b;border-radius:7px;background:#101a27}.creator-catalog-art img{width:100%;height:100%;object-fit:cover}.creator-catalog-art>strong{position:absolute;left:-12%;top:44%;width:124%;padding:8px 0;transform:rotate(-10deg);background:#292d34e8;color:#fff;text-align:center;font-size:.82rem;letter-spacing:.08em}.creator-catalog-grid h3{margin:9px 0 4px;font-size:.82rem;line-height:1.3}.creator-catalog-grid h3 a{color:#fff;text-decoration:none}.creator-catalog-grid p{margin:3px 0;color:#aeb9c8;font-size:.7rem}.creator-catalog-grid .creator-card-availability{color:#52d17d}.creator-card-resale{display:inline-block;margin-top:4px;color:#ff626a;font-size:.7rem;text-decoration:none}.creator-catalog-empty{padding:80px 20px;text-align:center;color:#aab6c8}
.creator-storefront-sidebar{display:grid;gap:14px;align-content:start}.creator-storefront-sidebar>section{padding:15px 17px}.creator-storefront-sidebar>section>h2{padding-bottom:10px;border-bottom:1px solid var(--cs-line)}.creator-storefront-sidebar>section>p{color:#d5dce6;font-size:.8rem;line-height:1.5}.creator-storefront-sidebar dl{display:flex;justify-content:space-between;margin:14px 0 0;padding-top:12px;border-top:1px solid #243448;font-size:.78rem}.creator-storefront-sidebar dt{color:#aeb9c8}.creator-storefront-sidebar dd{margin:0;font-weight:750}.creator-supporters-empty{display:grid;justify-items:center;padding:28px 8px 18px;text-align:center}.creator-supporters-empty>b{font-size:2rem;color:#a9b9cf}.creator-supporters-empty strong{margin-top:8px}.creator-supporters-empty p{margin:5px 0;color:#aeb9c8;font-size:.75rem}.creator-supporters ol{counter-reset:supporter;list-style:none;margin:8px 0 0;padding:0}.creator-supporters li{counter-increment:supporter;display:grid;grid-template-columns:14px 30px 1fr auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #1e2c3d;font-size:.78rem}.creator-supporters li:last-child{border-bottom:0}.creator-supporter-avatar{display:grid;place-items:center;width:28px;height:28px;border:1px solid #46566c;border-radius:50%;background:#142133}.creator-supporters li small{color:#aeb9c8}.creator-supporters li::before{content:counter(supporter);color:#dce3ed;font-weight:800}
@media(max-width:1050px){.creator-storefront-identity{width:62%}.creator-recognition{width:250px}.creator-public-stats{width:65%}.creator-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.creator-membership-strip{grid-template-columns:205px minmax(220px,480px)}.creator-membership-strip>a{grid-column:2;width:max-content}}
@media(max-width:760px){body:has(.creator-storefront) .mode-page{width:100%;padding:0 12px 24px}.creator-storefront-hero{min-height:650px;border-radius:0 0 9px 9px}.creator-storefront-hero-art{object-position:65% top}.creator-storefront-hero::before{background:linear-gradient(0deg,#030b15 0 48%,#030b15b8 68%,#030b1530)}.creator-storefront-crumbs{left:16px}.creator-storefront-identity{left:16px;top:280px;width:calc(100% - 32px);gap:15px}.creator-storefront-identity>.market-creator-avatar{width:92px;height:92px}.creator-storefront-copy h1{font-size:2rem}.creator-storefront-bio{font-size:.82rem}.creator-public-stats{left:10px;right:10px;bottom:10px;width:auto;grid-auto-columns:minmax(0,1fr)}.creator-public-stat{padding:9px 5px}.creator-public-stat strong{font-size:1rem}.creator-public-stat span{font-size:.57rem}.creator-recognition{right:10px;bottom:91px;width:calc(100% - 20px);max-width:310px;padding:11px}.creator-recognition p{font-size:.7rem}.creator-membership-strip{grid-template-columns:1fr;margin-top:10px;padding:14px;gap:14px}.creator-membership-card{width:min(100%,240px);justify-self:center}.creator-membership-strip h2{font-size:1.05rem}.creator-membership-strip p{display:block;font-size:.8rem}.creator-membership-strip>a{grid-column:1;width:auto}.creator-storefront-layout{grid-template-columns:1fr}.creator-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}.creator-catalog>header{align-items:flex-start;gap:10px}.creator-catalog header nav{flex-wrap:wrap;justify-content:flex-end}.creator-catalog header nav a{padding:6px}.creator-storefront-sidebar{grid-row:2}}
@media(max-width:760px){body:has(.creator-storefront) .mode-topbar.logged-in-header{padding:9px 0!important}body:has(.creator-storefront) .logged-in-header .brand-lockup{width:170px!important}body:has(.creator-storefront) .logged-in-header .header-account>a,body:has(.creator-storefront) .logged-in-header .status-logout{display:none!important}body:has(.creator-storefront) .logged-in-header .header-account{padding:5px!important;border:0!important;background:transparent!important}body:has(.creator-storefront) .logged-in-header .language-picker select{max-width:108px!important}}

/* Final storefront overrides must remain after the legacy launch profile rules. */
body:has(.creator-storefront) .logged-in-header .brand-lockup{width:230px!important;height:auto!important;max-width:230px!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
.creator-storefront .creator-public-stats{position:absolute;left:24px;bottom:10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:initial;width:min(650px,57%);margin:0;padding:0;border:1px solid #334458;border-radius:8px;background:#07111ed9;backdrop-filter:blur(8px);overflow:hidden}
.creator-storefront .creator-public-stat{display:flex;min-width:0;align-items:center;justify-content:center;padding:10px 12px!important;border-right:1px solid #334458!important;border-bottom:0!important;text-align:center}
.creator-storefront .creator-public-stat:last-child{border-right:0!important}
.creator-storefront .creator-public-stat strong{display:block;white-space:nowrap;color:#fff;font-size:1.38rem!important;line-height:1!important}
.creator-storefront .creator-public-stat span{display:block;margin-top:6px!important;white-space:nowrap;color:#bac5d5;font-size:.66rem!important;line-height:1.1;text-transform:uppercase;letter-spacing:.055em}
@media(max-width:1050px) and (min-width:761px){.creator-storefront .creator-public-stats{width:65%}.creator-storefront-copy h1{font-size:2.35rem}.creator-storefront-bio{font-size:.82rem;line-height:1.35}}
@media(max-width:760px){body:has(.creator-storefront) .logged-in-header .brand-lockup{width:170px!important;max-width:170px!important}.creator-storefront .creator-public-stats{left:10px;right:10px;bottom:10px;width:auto;grid-template-columns:repeat(4,minmax(0,1fr))}.creator-storefront .creator-public-stat{padding:9px 4px!important}.creator-storefront .creator-public-stat strong{font-size:.95rem!important}.creator-storefront .creator-public-stat span{font-size:.5rem!important;white-space:normal}}

/* Creator storefront interaction and deliberate phone layout. */
.creator-verified{
  display:inline-block!important;width:auto!important;height:auto!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:#42d77d!important;font-size:.72em!important;font-weight:950!important;
  line-height:1!important;text-shadow:0 0 16px #42d77d55;
}
.creator-recognition{padding-right:42px}
.creator-recognition[hidden]{display:none!important}
.creator-recognition-close{
  position:absolute;top:7px;right:7px;display:grid;place-items:center;width:28px;height:28px;padding:0;
  border:1px solid #52627a;border-radius:50%;background:#111c2a;color:#dfe6ef;font:700 20px/1 Arial,sans-serif;
  cursor:pointer;opacity:.86;
}
.creator-recognition-close:hover{border-color:#e3c77f;color:#fff;background:#1a2737;opacity:1}
.creator-recognition-close:focus-visible{outline:2px solid #f0d79b;outline-offset:2px}

@media(max-width:760px){
  body:has(.creator-storefront) .mode-page{width:100%!important;padding:0 10px 24px!important;overflow:hidden}
  body:has(.creator-storefront) .mode-topbar.logged-in-header{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;
    padding:9px 12px!important;min-height:64px;box-sizing:border-box;
  }
  body:has(.creator-storefront) .logged-in-header .brand-lockup{width:155px!important;max-width:155px!important}
  body:has(.creator-storefront) .public-market-nav,
  body:has(.creator-storefront) .public-market-search{display:none!important}
  body:has(.creator-storefront) .logged-in-header .header-account{
    grid-column:2!important;grid-row:1!important;width:auto!important;max-width:138px!important;padding:0!important;
    border:0!important;background:transparent!important;overflow:hidden;
  }
  body:has(.creator-storefront) .logged-in-header .language-picker select{
    width:138px!important;max-width:138px!important;padding:9px 27px 9px 9px!important;font-size:.7rem!important;
  }
  .creator-storefront-hero{
    display:flex;flex-direction:column;min-height:0!important;height:auto!important;padding:0 0 12px;
    border:1px solid #24384d;border-radius:0 0 10px 10px;background:#030b15;
  }
  .creator-storefront-hero-art{
    position:absolute!important;inset:0 0 auto 0!important;width:100%!important;height:245px!important;
    object-fit:cover!important;object-position:center 24%!important;
  }
  .creator-storefront-hero::before{
    z-index:-2!important;background:linear-gradient(180deg,#030b1514 0,#030b1530 125px,#030b15 245px,#030b15 100%)!important;
  }
  .creator-storefront-crumbs{top:13px!important;left:13px!important;right:13px;gap:8px!important;font-size:.68rem!important;text-shadow:0 1px 5px #000}
  .creator-storefront-identity{
    position:relative!important;left:auto!important;top:auto!important;width:auto!important;margin:205px 12px 0!important;
    padding:0!important;gap:12px!important;align-items:flex-start!important;
  }
  .creator-storefront-identity>.market-creator-avatar{width:76px!important;height:76px!important;border-width:2px!important;box-shadow:0 0 0 4px #030b15,0 8px 22px #0009!important}
  .creator-storefront-copy{padding-top:4px!important;min-width:0}
  .creator-storefront-type{margin-bottom:4px!important;font-size:.58rem!important}
  .creator-storefront-copy h1{gap:7px!important;font-size:clamp(1.55rem,8vw,2rem)!important;line-height:1.05!important;overflow-wrap:anywhere}
  .creator-storefront-handle{flex-wrap:wrap;gap:7px!important;margin:7px 0!important;font-size:.8rem}
  .creator-storefront-handle span{padding:4px 7px!important;font-size:.6rem!important}
  .creator-storefront-bio{margin:8px 0!important;font-size:.78rem!important;line-height:1.45!important}
  .creator-profile-socials{gap:7px!important;margin-top:9px!important}
  .creator-profile-socials a{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important}
  .creator-recognition{
    position:relative!important;right:auto!important;bottom:auto!important;align-self:stretch;width:auto!important;max-width:none!important;
    margin:10px 12px 0!important;padding:12px 40px 12px 12px!important;gap:10px!important;
  }
  .creator-recognition>b{font-size:1.25rem!important}.creator-recognition h2{font-size:.9rem!important;margin:0 0 5px!important}.creator-recognition p{font-size:.68rem!important;line-height:1.4!important}
  .creator-storefront .creator-public-stats{
    position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;width:auto!important;margin:10px 12px 0!important;
  }
  .creator-storefront .creator-public-stat{padding:11px 6px!important;border-right:1px solid #334458!important;border-bottom:1px solid #334458!important}
  .creator-storefront .creator-public-stat:nth-child(2n){border-right:0!important}
  .creator-storefront .creator-public-stat:nth-last-child(-n+2){border-bottom:0!important}
  .creator-storefront .creator-public-stat strong{font-size:1.02rem!important}.creator-storefront .creator-public-stat span{font-size:.52rem!important}
  .creator-membership-strip{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:14px!important}
  .creator-membership-card{width:min(100%,240px)!important;height:auto!important;justify-self:center}.creator-membership-strip h2{font-size:1.05rem!important;line-height:1.25}.creator-membership-strip p{display:block!important;font-size:.8rem!important}
  .creator-membership-strip>a{grid-column:1!important;padding:13px 16px!important}
  .creator-storefront-layout{grid-template-columns:minmax(0,1fr)!important}.creator-storefront-sidebar{grid-row:auto!important}
  .creator-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:10px!important}
}

.market-card-price{margin:.42rem 0 .12rem;color:#e2c16f;font-size:.92rem;letter-spacing:.025em}
.market-card-price strong{font-weight:800}
.language-picker-popover .currency-picker{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;margin-top:.75rem;padding-top:.75rem;border-top:1px solid #314057}
.language-picker-popover .currency-picker label{margin:0;color:#e2c16f;font-size:1.15rem}
.language-picker-popover .currency-picker select{width:100%;min-width:0}

/* Desktop hero reserves a separate lower lane for statistics. */
@media(min-width:761px){
  .creator-storefront-hero{min-height:440px!important}
  .creator-storefront .creator-public-stats{bottom:12px!important}
}
@media(min-width:761px) and (max-width:1050px){
  .creator-storefront-hero{min-height:470px!important}
}

/* Shared public masthead: compact search trigger with an on-demand popover. */
body .mode-topbar.logged-in-header{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(190px,230px) minmax(360px,1fr) 42px auto!important;
  align-items:center!important;
  gap:18px!important;
}
body .mode-topbar.logged-in-header .header-left{min-width:0}
body .mode-topbar.logged-in-header .brand-lockup{width:230px!important;max-width:230px!important;height:auto!important;object-fit:contain!important}
body .public-market-nav{display:flex;align-items:center;justify-content:flex-end;gap:20px;white-space:nowrap}
body .public-market-nav a{color:#eef2f7;text-decoration:none;font-size:.78rem;font-weight:700}
body .public-market-nav a:hover{color:#dfbd70}
body .public-market-search{position:relative;display:block;justify-self:end}
body .public-search-toggle{display:grid;width:42px;height:42px;padding:0;place-items:center;border:1px solid #344459;border-radius:8px;background:#09131f;color:#f5f7fb;cursor:pointer}
body .public-search-toggle:hover,body .public-search-toggle[aria-expanded=true]{border-color:#dfbd70;color:#dfbd70;background:#111b28}
body .public-market-search svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
body .public-search-popover{position:absolute;z-index:100;top:calc(100% + 12px);right:0;width:min(430px,calc(100vw - 32px));padding:14px;border:1px solid #394b62;border-radius:10px;background:#07111e;box-shadow:0 18px 50px #000c}
body .public-search-popover[hidden]{display:none!important}
body .public-search-popover label{display:block;margin-bottom:8px;color:#f7f9fc;font-size:.75rem;font-weight:750}
body .public-search-popover form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
body .public-search-popover input{min-width:0;padding:11px 12px;border:1px solid #33465c;border-radius:7px;background:#020a13;color:#fff;font:inherit}
body .public-search-popover form button{padding:0 16px;border:1px solid #e24a53;border-radius:7px;background:#c92c37;color:#fff;font-weight:800;cursor:pointer}
body .mode-topbar.logged-in-header .header-account{min-width:0}
@media(max-width:1300px){
  body .mode-topbar.logged-in-header{grid-template-columns:190px minmax(0,1fr) 42px!important}
  body .public-market-nav{display:none!important}
  body .mode-topbar.logged-in-header .header-account{grid-column:2;grid-row:1;justify-self:end!important;max-width:100%!important}
  body .public-market-search{grid-column:3;grid-row:1}
}
@media(max-width:760px){
  body .mode-topbar.logged-in-header{grid-template-columns:minmax(150px,1fr) 42px!important;gap:10px!important}
  body .mode-topbar.logged-in-header .brand-lockup{width:170px!important;max-width:100%!important}
  body .public-market-search{grid-column:2;grid-row:1}
  body .mode-topbar.logged-in-header .header-account{grid-column:1/-1;grid-row:2;justify-self:stretch!important;width:100%!important}
}

/* Public creator-storefront masthead and safe two-zone hero. */
body:has(.creator-storefront) .logged-in-header{position:relative;display:grid!important;grid-template-columns:minmax(175px,230px) minmax(360px,1fr) 42px auto!important;gap:18px!important;align-items:center!important}
body:has(.creator-storefront) .public-market-nav{display:flex;gap:20px;align-items:center;white-space:nowrap}
body:has(.creator-storefront) .public-market-nav a{color:#eef2f7;text-decoration:none;font-size:.78rem;font-weight:700}
body:has(.creator-storefront) .public-market-nav a:hover{color:var(--gold,#dfbd70)}
body:has(.creator-storefront) .public-market-search{position:relative;justify-self:end}
body:has(.creator-storefront) .public-search-toggle{display:grid;width:42px;height:42px;padding:0;place-items:center;border:1px solid #344459;border-radius:8px;background:#09131f;color:#f5f7fb;cursor:pointer}
body:has(.creator-storefront) .public-search-toggle:hover,body:has(.creator-storefront) .public-search-toggle[aria-expanded=true]{border-color:#dfbd70;color:#dfbd70;background:#111b28}
body:has(.creator-storefront) .public-market-search svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
body:has(.creator-storefront) .public-search-popover{position:absolute;z-index:50;top:calc(100% + 12px);right:0;width:min(430px,calc(100vw - 32px));padding:14px;border:1px solid #394b62;border-radius:10px;background:#07111e;box-shadow:0 18px 50px #000c}
body:has(.creator-storefront) .public-search-popover[hidden]{display:none}
body:has(.creator-storefront) .public-search-popover label{display:block;margin-bottom:8px;color:#f7f9fc;font-size:.75rem;font-weight:750}
body:has(.creator-storefront) .public-search-popover form>div{display:grid;grid-template-columns:1fr auto;gap:8px}
body:has(.creator-storefront) .public-search-popover input{min-width:0;padding:11px 12px;border:1px solid #33465c;border-radius:7px;background:#020a13;color:#fff;font:inherit}
body:has(.creator-storefront) .public-search-popover form button{padding:0 16px;border:1px solid #e24a53;border-radius:7px;background:#c92c37;color:#fff;font-weight:800;cursor:pointer}
body:has(.creator-storefront) .logged-in-header .header-account{padding:0!important;border:0!important;background:transparent!important}
.creator-storefront-hero{background:#02070d}
.creator-storefront-hero-art{left:50%;right:0;width:50%;object-position:center 28%}
.creator-storefront-hero::before{background:linear-gradient(90deg,#02070d 0%,#02070d 45%,#02070df2 50%,#02070d80 58%,transparent 72%),linear-gradient(0deg,#06101bd6 0%,transparent 38%)}
@media(max-width:1300px){body:has(.creator-storefront) .logged-in-header{grid-template-columns:190px minmax(0,1fr) 42px!important}body:has(.creator-storefront) .public-market-nav{display:none!important}body:has(.creator-storefront) .logged-in-header .header-account{grid-column:2;grid-row:1;justify-self:end!important;max-width:100%!important;flex-wrap:nowrap!important}body:has(.creator-storefront) .public-market-search{grid-column:3;grid-row:1}}
@media(max-width:900px){body:has(.creator-storefront) .logged-in-header{grid-template-columns:170px 1fr!important}.public-market-nav{display:none!important}body:has(.creator-storefront) .logged-in-header .header-account{justify-self:end!important}}
@media(max-width:760px){.creator-storefront-hero-art{left:0;top:0;width:100%;height:48%;object-position:center 24%}.creator-storefront-hero::before{background:linear-gradient(0deg,#030b15 0 48%,#030b15b8 68%,#030b1530)}}
body:has(.creator-storefront){overflow-x:hidden}
.creator-storefront .creator-public-stats{display:flex!important;width:min(760px,65%)!important}
.creator-storefront .creator-public-stat{flex:1 1 0}
@media(max-width:1050px){body:has(.creator-storefront) .logged-in-header{grid-template-columns:170px minmax(0,1fr) 42px!important}body:has(.creator-storefront) .logged-in-header .brand-lockup{width:170px!important;max-width:170px!important}.public-market-nav{display:none!important}body:has(.creator-storefront) .public-market-search{display:block!important;grid-column:3}body:has(.creator-storefront) .logged-in-header .header-account{grid-column:2;grid-row:1;justify-self:end!important;max-width:100%!important}body:has(.creator-storefront) .logged-in-header .header-account>a,body:has(.creator-storefront) .logged-in-header .status-logout{display:none!important}}
@media(max-width:760px){.creator-storefront .creator-public-stats{width:auto!important}.creator-storefront .creator-public-stat{padding-inline:2px!important}.creator-storefront .creator-public-stat strong{font-size:.82rem!important}.creator-storefront .creator-public-stat span{font-size:.46rem!important}}

body .card-basic-text{justify-content:flex-start;overflow:hidden;padding:20px}
body .card-basic-text>*{flex:0 0 auto;min-height:auto}
body .card-basic-text .card-page-text{height:auto;overflow:visible;padding:0;width:100%}
body .card-basic-text h2{font-size:1rem;line-height:1.3;margin:0 0 10px}
body .card-basic-text h3,body .card-basic-text h4,body .card-basic-text h5{margin:8px 0 4px;line-height:1.3}
body .card-basic-text h3{font-size:.95rem}body .card-basic-text h4{font-size:.9rem}body .card-basic-text h5{font-size:.85rem}
body .card-basic-text p{font-size:.8rem;line-height:1.4;max-height:none;overflow:visible;margin:0 0 8px}
body .card-basic-text ul,body .card-basic-text ol{font-size:.8rem;line-height:1.4;padding-left:20px;margin:0 0 8px}
body .card-basic-text table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.75rem;line-height:1.3;margin:8px 0}
body .card-basic-text td,body .card-basic-text th{border:1px solid #636b78;padding:4px;overflow-wrap:anywhere}
.text-page-live-frame{width:100%;max-width:340px;aspect-ratio:2/3;border:1px solid #dfbd70;border-radius:8px;overflow:hidden;margin:16px 0;background:#080e18;color:#eef1f6}
.text-page-live-frame .card-page-artwork{height:100%}
.text-page-toolbar{display:flex;flex-wrap:wrap;gap:6px}
.text-page-toolbar button{padding:6px 10px;font-size:.85rem;margin:0;background:#253142;color:#f0d38e;border:1px solid #8d784f}
[data-text-fit-status][data-state="error"]{color:#ffadb4;font-weight:700}
[data-text-fit-status][data-state="ok"]{color:#97d8b5}

body .card-page-content .card-image-open{flex:1 1 0;min-height:0;width:100%;padding:0;margin:0;border:0;background:#050a12;cursor:zoom-in;overflow:hidden}
body .card-page-content .card-image-open img{width:100%;height:100%;max-height:100%;object-fit:contain;margin:0;display:block}
.card-image-viewer{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#050a12;color:#fff;overflow:hidden}
.card-image-viewer::backdrop{background:#050a12}
.card-image-viewer-tools{height:70px;display:flex;align-items:center;gap:14px;padding:10px 16px;position:relative;z-index:2;background:#121b28}
.card-image-viewer-tools label{display:flex;align-items:center;gap:8px;margin:0;flex:1}
.card-image-viewer-tools input{width:100%;min-width:60px;margin:0;padding:0}
.card-image-viewer-tools button{width:auto;margin:0;padding:8px 14px;border:1px solid #b89755;border-radius:6px;background:#253142;color:#f3d898;font:inherit;cursor:pointer}
.card-image-viewer-stage{height:calc(100% - 70px);width:100%;overflow:hidden;position:relative;touch-action:none;cursor:grab}
.card-image-viewer-stage:active{cursor:grabbing}
.card-image-viewer-stage img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:contain;user-select:none;transform-origin:center;pointer-events:none}
@media(max-width:500px){.card-image-viewer-tools{gap:8px;padding:8px}.card-image-viewer-tools button{padding:8px}.card-image-viewer-tools output{font-size:.8rem}}

body.card-image-viewer-open{overflow:hidden}

.image-crop-source,.image-crop-result{position:relative;width:100%;max-width:340px;overflow:hidden;background:#050a12;margin:12px 0}
.image-crop-source img{display:block;width:100%;height:auto;max-height:none;pointer-events:none;user-select:none}
[data-crop-selection]{position:absolute;border:2px solid #f2cc77;box-shadow:0 0 0 999px #0008;touch-action:none;cursor:move}
.image-crop-result img{position:absolute;display:block;height:auto;max-width:none;max-height:none}

/* Preserve readable portrait content on narrow phones. */
@media(max-width:400px){
  body .mode-page:has(>.card-detail){width:calc(100% - 16px);margin-inline:8px;padding-inline:8px}
  .card-detail{padding:8px}
}

/* TEXT is a proportional portrait composition, matching the 340px authoring frame. */
.card-page-artwork:has(>.card-basic-text){container-type:inline-size}
body .card-page-artwork>.card-basic-text.card-page-content{
  justify-content:flex-start;
  padding:4.142012cqw 4.733728cqw 3.550296cqw;
}
body .card-basic-text.card-page-content h2{font-size:4.733728cqw;margin:0 0 2.958580cqw;line-height:1.3}
body .card-basic-text.card-page-content p{font-size:4.733728cqw;line-height:1.65;margin:0 0 2.366864cqw}
body .card-basic-text.card-page-content h3,body .card-basic-text.card-page-content h4,body .card-basic-text.card-page-content h5{margin:2.366864cqw 0 1.183432cqw;line-height:1.3}
body .card-basic-text.card-page-content h3{font-size:4.497041cqw}
body .card-basic-text.card-page-content h4{font-size:4.260355cqw}
body .card-basic-text.card-page-content h5{font-size:4.023669cqw}
body .card-basic-text.card-page-content ul,body .card-basic-text.card-page-content ol{font-size:3.786982cqw;line-height:1.4;padding-left:5.917160cqw;margin:0 0 2.366864cqw}
body .card-basic-text.card-page-content table{font-size:3.550296cqw;line-height:1.3;margin:2.366864cqw 0}
body .card-basic-text.card-page-content td,body .card-basic-text.card-page-content th{padding:1.183432cqw;border-width:0.295858cqw}

/* A collectible-card flea-market sign above the creator spotlight. */
.market-discover-actions{display:flex;justify-content:flex-end;margin:0 0 20px}
body a.market-resale-entry{display:inline-flex;width:365px;max-width:100%;padding:0;border:0;background:transparent;text-decoration:none;transform:rotate(-1deg);transition:transform .15s,filter .15s}
body a.market-resale-entry:hover{transform:rotate(0deg);filter:brightness(1.08);text-decoration:none}
body a.market-resale-entry:focus-visible{outline:3px solid #f1d99b;outline-offset:5px;border-radius:8px}
.market-resale-sign{display:block;width:100%;max-width:100%;height:auto;filter:drop-shadow(0 5px 7px #0005)}
@media(max-width:540px){.market-discover-actions{justify-content:center;margin-bottom:18px}body a.market-resale-entry{width:320px}}
@media(prefers-reduced-motion:reduce){body a.market-resale-entry{transition:none;transform:none}}

/* Simple resale listing table. */
.resale-table-wrap{overflow-x:auto;border:1px solid #384354;border-radius:14px;background:#101722}
.resale-table{width:100%;border-collapse:collapse;text-align:left;font-size:1rem}
.resale-table th,.resale-table td{padding:18px 20px;border-bottom:1px solid #303b4b;vertical-align:middle}
.resale-table th{background:#182130;color:#dfc582;font-weight:750;white-space:nowrap}
.resale-table a{color:inherit;text-decoration:none}.resale-table a:hover{text-decoration:underline}
.resale-table th a{display:inline-block;padding:6px 0}.resale-table a:focus-visible{outline:3px solid #dfc582;outline-offset:4px}
.resale-table td:first-child a{font-weight:700;color:#f1f3f7}.resale-table small{display:block;margin-top:5px;color:#b6c0cf;font-size:.85rem}
.resale-table .resale-price{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.resale-table form{margin:0}.resale-table .login-button{margin:0;white-space:nowrap;padding:10px 16px}
.resale-table tbody tr:last-child td{border-bottom:0}.resale-table .resale-empty{padding:28px 20px;color:#b6c0cf}
@media(max-width:600px){.resale-table th,.resale-table td{padding:12px}.resale-table{font-size:.95rem}}

/* Membership invitation beside the creator portrait; details live in the join flow. */
.creator-membership-cta{display:inline-flex;align-items:center;gap:10px;max-width:340px;padding:15px 20px;background:linear-gradient(110deg,#e6d195,#b89b5f);color:#101722;font-size:1.05rem;font-weight:750;line-height:1.35;text-decoration:none;border-radius:8px;box-sizing:border-box}
.creator-membership-cta:hover{filter:brightness(1.08)}.creator-membership-cta:focus-visible{outline:3px solid #fff;outline-offset:4px}
.creator-hero--spotlight .creator-membership-cta{position:absolute;z-index:6;left:158px;bottom:38px;max-width:calc(45% - 175px)}
.creator-hero:not(.creator-hero--spotlight){flex-wrap:wrap}.creator-hero:not(.creator-hero--spotlight) .creator-membership-cta{margin:16px}
@media(max-width:700px){.creator-hero--spotlight .creator-membership-cta{left:119px;bottom:24px;max-width:calc(100% - 142px);padding:12px;font-size:1rem}}

/* 2026 launch polish: black foundation, FANZ gold, disciplined red. */
:root{
  --launch-black:#050810;
  --launch-panel:#0a111d;
  --launch-panel-2:#0d1725;
  --launch-line:#27374a;
  --launch-gold:#d8b66f;
  --launch-gold-bright:#f0d79b;
  --launch-red:#df303b;
  --launch-red-dark:#a91622;
}
body{
  background:
    radial-gradient(900px 540px at 82% -8%,#17304b55,transparent 68%),
    radial-gradient(760px 520px at -12% 34%,#4b101633,transparent 70%),
    var(--launch-black);
}
body .logged-in-header{padding:17px 0 20px}
body .logged-in-header .mode-brand .brand-lockup,
body .mode-brand .brand-lockup{width:min(356px,42vw)}
body .logged-in-header nav.header-account{
  border-color:#31445a;
  background:linear-gradient(180deg,#0e1826e8,#09111de8);
  box-shadow:0 14px 42px #0005,inset 0 1px #ffffff08;
}
/* Keep every public masthead control on one typographic system. */
body .logged-in-header .public-market-nav a,
body .logged-in-header .header-account.guest-navigation .user-status-item,
body .logged-in-header .header-account.guest-navigation .language-picker select{
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.78rem!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:.02em;
}
body .logged-in-header .header-account .status-logout button{
  font-size:.78rem!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:.04em!important;
}
body .mode-page{padding-top:30px}
body .back-link{color:var(--launch-gold);border-color:#8d7447}
body .back-link:hover{color:#fff;border-color:var(--launch-gold-bright)}
.creator-hero--spotlight{
  min-height:510px;
  border:1px solid #3a4d62;
  border-radius:18px;
  background:var(--launch-panel);
  box-shadow:0 24px 70px #0008,inset 0 1px #ffffff0a;
}
.creator-hero--spotlight::before{
  background:linear-gradient(90deg,#050b14 0%,#07101aee 34%,#07101a88 53%,transparent 76%);
}
.creator-hero--spotlight::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px #d8b66f18;
}
.creator-hero--spotlight .creator-hero-copy{width:min(43%,470px);padding:58px 46px 150px}
.creator-hero--spotlight .creator-hero-copy h1{font-size:clamp(2.5rem,5vw,4.8rem);letter-spacing:-.055em}
.creator-hero--spotlight .creator-hero-copy>p:not(.mode-eyebrow){font-size:1.02rem;line-height:1.72;color:#d3dbe7}
.creator-hero--spotlight .mode-eyebrow{color:var(--launch-gold-bright)}
.creator-hero--spotlight .creator-hero-avatar{border-color:var(--launch-red);box-shadow:0 0 0 5px #050810,0 12px 35px #0009}
.creator-membership-cta{
  background:linear-gradient(120deg,var(--launch-red),var(--launch-red-dark));
  border:1px solid #ff5962;
  color:#fff;
  box-shadow:0 9px 28px #7b0e185c,inset 0 1px #ffffff2e;
}
.creator-membership-cta:hover{filter:brightness(1.12);transform:translateY(-1px)}

/* Live membership preview: existing R2 hero and logo with accessible HTML text. */
.creator-membership-strip .creator-membership-card{
  position:relative;isolation:isolate;display:block;width:205px!important;height:auto!important;aspect-ratio:1.58625/1;
  overflow:hidden;border:1px solid #dfbd68;border-radius:12px;background:linear-gradient(135deg,#07111d,#02060b);box-shadow:0 10px 24px #0006;
}
.creator-membership-card-art{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 28%}
.creator-membership-card::after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#02060b 0 29%,#02060be8 36%,#02060b66 50%,transparent 66%)}
.creator-membership-card-copy{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;padding:6px 7px;box-sizing:border-box}
.creator-membership-card-copy img{position:relative;left:-3px;display:block;width:114px;max-width:60%;height:auto;object-fit:contain}
.creator-membership-card-message{display:grid;row-gap:2px;margin-top:8px;color:#fff;font-size:11px;line-height:1.08;font-weight:500;letter-spacing:0;text-shadow:1px 1px 0 #000}
.creator-membership-card-message span,.creator-membership-card-message b{display:block;white-space:nowrap}
.creator-membership-card-message b{color:#e2c16f;font-weight:850;text-shadow:1px 1px 0 #000}
.creator-membership-card-member,.creator-membership-card-copy small{display:block;max-width:60%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-family:"DejaVu Sans Mono","Courier New",monospace;font-weight:700;letter-spacing:.025em;text-shadow:1px 1px 0 #000}
.creator-membership-card-member{margin-top:auto;transform:translateY(-4px);color:#fff;font-size:7px;line-height:1.1}.creator-membership-card-copy small{color:#d7dee8;font-size:6px;line-height:1.1}
.creator-membership-card-link{justify-self:center}.creator-membership-card-link>a{display:block;border-radius:12px;color:inherit;text-decoration:none}.creator-membership-card-link>a:focus-visible{outline:3px solid #fff;outline-offset:3px}.creator-membership-strip>a>span{font-size:2em;line-height:.5}
.creator-membership-strip>a.creator-membership-join{flex-direction:column;justify-content:center;gap:1px;min-width:150px;text-align:center;line-height:1.05}.creator-membership-strip>a.creator-membership-join>span{color:#fff;font-size:.9rem;line-height:1.05}.creator-membership-strip>a.creator-membership-join>strong{display:block;max-width:180px;overflow-wrap:anywhere;color:#ffd126;font-size:1rem;line-height:1.08}
@media(max-width:760px){.creator-membership-strip .creator-membership-card{width:205px!important}.creator-membership-card-message{font-size:11px!important}}
.creator-profile-socials{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0}
.creator-profile-socials a{
  display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;
  padding:0 13px;border:1px solid #3a4c61;border-radius:999px;background:#07101be8;
  color:#edf2f8;text-decoration:none;font-size:.76rem;font-weight:800;letter-spacing:.04em;
}
.creator-profile-socials a:hover{border-color:var(--launch-gold);color:var(--launch-gold-bright)}
.creator-public-stats{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:22px 0 36px;
  border:1px solid var(--launch-line);border-radius:14px;background:linear-gradient(180deg,#0d1724,#080f19);
  box-shadow:0 18px 48px #0005;overflow:hidden;
}
.creator-public-stat{padding:22px 24px;border-right:1px solid var(--launch-line)}
.creator-public-stat:last-child{border-right:0}
.creator-public-stat strong{display:block;color:#fff;font-size:clamp(1.45rem,2.5vw,2.15rem);line-height:1;font-variant-numeric:tabular-nums}
.creator-public-stat span{display:block;margin-top:8px;color:#9dacbd;font-size:.73rem;text-transform:uppercase;letter-spacing:.08em}
body .card-detail{
  position:relative;padding:30px;gap:46px;border-color:#34485e;border-radius:18px;
  background:linear-gradient(145deg,#0d1725,#07101b 64%);
  box-shadow:0 28px 80px #0009,inset 0 1px #ffffff0a;
}
body .card-detail h1{font-size:clamp(2.35rem,4.6vw,4.4rem);letter-spacing:-.055em}
body .card-detail .mode-eyebrow a{color:var(--launch-gold-bright)}
body .card-detail>div>p:not(.mode-eyebrow){color:#c3cedb;font-size:1rem;line-height:1.72}
body .card-page-artwork{border:1px solid #af8f57;box-shadow:0 18px 48px #0009,0 0 0 5px #d8b66f0b}
body .ownership-banner{border-color:#4f826a;background:linear-gradient(135deg,#102c23,#0b1a1b)}
body .collectible-tile{
  border-color:#2c3d50;background:linear-gradient(160deg,#0d1724,#070d16);
  box-shadow:0 14px 36px #0005;transition:transform .18s,border-color .18s,box-shadow .18s;
}
body .collectible-tile:hover{transform:translateY(-4px);border-color:#b99658;box-shadow:0 20px 46px #0008}
.market-section-title{border-bottom:1px solid #26374a;padding-bottom:13px}
.market-section-title h2{letter-spacing:-.03em}
.creator-profile-editor .creator-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.creator-profile-editor .creator-social-grid input{width:100%;box-sizing:border-box}
.creator-earnings-visibility{display:flex!important;grid-template-columns:none!important;flex-direction:row!important;align-items:center;gap:12px!important;padding:14px;border:1px solid #394b60;border-radius:9px;background:#0b1421}
.creator-earnings-visibility input{width:20px!important;height:20px;accent-color:var(--launch-red)}
@media(max-width:800px){
  .creator-public-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .creator-public-stat:nth-child(2){border-right:0}.creator-public-stat:nth-child(-n+2){border-bottom:1px solid var(--launch-line)}
}
@media(max-width:700px){
  body .logged-in-header .mode-brand .brand-lockup,body .mode-brand .brand-lockup{width:min(318px,78vw)}
  .creator-hero--spotlight{min-height:560px}
  .creator-hero--spotlight::before{background:linear-gradient(0deg,#050b14 0%,#06101bea 55%,#07101a44 82%)}
  .creator-hero--spotlight .creator-hero-copy{width:auto;padding:28px 23px 150px;align-self:end}
  .creator-hero--spotlight .creator-hero-copy h1{font-size:2.65rem}
  .creator-profile-editor .creator-social-grid{grid-template-columns:1fr}
  body .card-detail{padding:16px;gap:26px}
  body .card-detail h1{font-size:2.35rem}
}
@media(max-width:430px){
  .creator-public-stats{grid-template-columns:1fr}
  .creator-public-stat{border-right:0;border-bottom:1px solid var(--launch-line)!important}
  .creator-public-stat:last-child{border-bottom:0!important}
}

html body{
  background-color:var(--launch-black)!important;
  background-image:radial-gradient(900px 540px at 82% -8%,#17304b55,transparent 68%),radial-gradient(720px 480px at -12% 34%,#5a101526,transparent 72%)!important;
}
html body .collectible-tile{background:linear-gradient(160deg,#0d1724,#070d16)!important;border-color:#2c3d50!important}
.creator-rank-panel{display:grid;grid-template-columns:1fr auto;gap:4px 22px;align-items:center;margin:0 0 24px;padding:22px 26px;border:1px solid #5a4930;border-radius:14px;background:radial-gradient(circle at 90% 0,#6a142240,transparent 45%),linear-gradient(135deg,#101b29,#080f18);box-shadow:0 16px 42px #0005}
.creator-rank-panel p{margin:0;color:var(--launch-gold-bright);font-size:.76rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.creator-rank-panel strong{grid-row:1/3;grid-column:2;font-size:2.4rem;color:#fff}.creator-rank-panel strong span{font-size:1rem;color:#9eacbd}.creator-rank-panel small{color:#aeb9c8;font-size:.9rem}
@media(max-width:520px){.creator-rank-panel{grid-template-columns:1fr}.creator-rank-panel strong{grid-row:auto;grid-column:auto}}

.membership-intro{max-width:75ch;line-height:1.6;margin-bottom:24px;color:#c8d1df}
.membership-creator{display:flex;align-items:center;gap:12px;min-width:180px}
.membership-table .market-creator-avatar{width:30px;height:30px;min-width:30px;border:1px solid #d9b77b;border-radius:50%;object-fit:cover;font-size:.65rem;display:flex;align-items:center;justify-content:center}
.membership-updates{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.membership-updates label{display:flex;align-items:center;gap:8px;white-space:nowrap}
.membership-updates input[type=checkbox]{width:19px;height:19px;accent-color:#d9b77b}
.membership-table .membership-cancel{border:1px solid #667386;border-radius:7px;background:transparent;color:#dbe3ee;padding:10px 14px;font:inherit;cursor:pointer;white-space:nowrap}
.membership-table .membership-cancel:hover{background:#263243}.membership-table button:focus-visible{outline:3px solid #dfc582;outline-offset:3px}

.membership-updates .membership-switch{position:relative;cursor:pointer;gap:10px}
.membership-switch input[type=checkbox]{position:absolute;left:0;top:50%;width:44px;height:26px;margin:0;opacity:0;transform:translateY(-50%);cursor:pointer}
.membership-switch-track{display:inline-block;flex:none;width:44px;height:26px;border:1px solid #758296;border-radius:20px;background:#465164;box-sizing:border-box;transition:background .15s}
.membership-switch-track::after{content:"";display:block;width:18px;height:18px;margin:3px;border-radius:50%;background:#fff;transition:transform .15s}
.membership-switch input:checked+.membership-switch-track{background:#3d784e;border-color:#6dbd81}.membership-switch input:checked+.membership-switch-track::after{transform:translateX(18px)}
.membership-switch input:focus-visible+.membership-switch-track{outline:3px solid #dfc582;outline-offset:3px}.membership-switch input:disabled+.membership-switch-track{opacity:.55}
.membership-save-status{font-size:.85rem;color:#bbc7d7;max-width:220px}
@media(prefers-reduced-motion:reduce){.membership-switch-track,.membership-switch-track::after{transition:none}}

/* Landscape membership pass: identity, no serial or monetary denomination. */
.membership-pass{position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:820px;min-height:390px;box-sizing:border-box;padding:30px 36px;border:2px solid #c6aa69;border-radius:22px;background:radial-gradient(ellipse at 95% 0%,#66562d55,transparent 55%),linear-gradient(125deg,#111c29,#080e16);box-shadow:0 16px 36px #0005,inset 0 0 0 6px #c6aa6912;margin:26px 0;color:#f1f3f7}
.membership-pass::after{content:"";position:absolute;z-index:-1;width:340px;height:340px;right:-160px;bottom:-210px;border:35px solid #c6aa6918;border-radius:50%}
.membership-pass-top{display:flex;justify-content:flex-end;align-items:center}.membership-pass-top img{display:block;width:360px;max-width:100%;height:auto;mix-blend-mode:lighten}
.membership-pass-identity{display:flex;align-items:center;gap:26px;margin:30px 0}.membership-pass .market-creator-avatar{flex:none;width:128px;height:128px;object-fit:cover;border:3px solid #dec689;border-radius:50%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;font-size:2.3rem;background:#253243}
.membership-pass-identity h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:0 0 12px;color:#f0d99c;line-height:1.15}.membership-pass-identity p{margin:0;line-height:1.55;color:#cbd5e3;overflow-wrap:anywhere}
.membership-pass-bottom{display:flex;justify-content:space-between;align-items:end;gap:20px;border-top:1px solid #c6aa6940;padding-top:18px;font-size:.9rem;color:#d1dae5}.membership-pass-bottom strong{display:block;margin-top:4px;color:#f1f3f7}.membership-pass-bottom>span:last-child{text-align:right;color:#e3cb8d}.membership-pass-bottom small{color:#aab7c9;font-size:.8rem}.membership-pass-content{margin-top:24px}
@media(max-width:600px){.membership-pass{padding:20px;min-height:0;border-radius:16px}.membership-pass-top img{width:320px;max-width:100%}.membership-pass-identity{gap:16px;margin:24px 0}.membership-pass .market-creator-avatar{width:76px;height:76px}.membership-pass-identity p{font-size:.9rem}.membership-pass-bottom{font-size:.8rem;gap:12px}}

.membership-confirm{width:min(420px,calc(100% - 48px));box-sizing:border-box;padding:28px;border:1px solid #c6aa69;border-radius:16px;background:#111c29;color:#f1f3f7;box-shadow:0 20px 80px #0008}.membership-confirm::backdrop{background:#0009}.membership-confirm h2{font-size:1.6rem;margin:0 0 12px}.membership-confirm p{line-height:1.5}.membership-confirm-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.membership-confirm button{padding:12px 16px;border-radius:8px;font:inherit;cursor:pointer}.membership-confirm .keep-membership{background:#397448;border:1px solid #397448;color:white}.membership-confirm .confirm-cancel{background:transparent;border:1px solid #8995a6;color:#f1f3f7}.membership-confirm button:focus-visible{outline:3px solid #e3cb8d;outline-offset:3px}

body .ownership-banner{align-items:flex-start;padding:24px;gap:18px}
body .ownership-banner>div{min-width:0;flex:1}
body .ownership-banner .ownership-icon{flex:0 0 44px;width:44px;height:44px;font-size:26px;margin-top:2px}
body .ownership-banner .ownership-links{gap:16px;margin-top:16px}
body .ownership-copy-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%;padding:0}
body .ownership-copy-actions>strong{flex-basis:100%;color:#e3cb8d;font-size:1rem;margin-bottom:2px}
body .ownership-banner .ownership-copy-actions>a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:40px;padding:9px 13px;border:1px solid #83b39b70;border-radius:7px;background:#c4f2d909;color:#e6fff2;text-decoration:none;font-size:.85rem;line-height:1.3}
body .ownership-banner .ownership-copy-actions>a:hover{background:#c4f2d91c;border-color:#a9e5c1}
body .ownership-banner .ownership-links>a{align-self:flex-start;font-size:.85rem}
@media(max-width:480px){body .ownership-banner{padding:18px;gap:12px}body .ownership-banner .ownership-icon{flex-basis:34px;width:34px;height:34px;font-size:22px}body .ownership-copy-actions>a{flex:1 1 150px}}

/* Image viewer links use natural image geometry, without button/flex paint effects. */
body .card-page-artwork:has(.card-image-open){aspect-ratio:auto;isolation:auto;overflow:visible}
body .card-page-artwork>.card-page-content:has(.card-image-open){display:block;flex:none;height:auto;overflow:visible}
body .card-page-content .card-image-open{display:block;flex:none;width:100%;height:auto;min-height:0;padding:0;margin:0;border:0;border-radius:0;background:none;overflow:visible;filter:none!important;transform:none!important;opacity:1!important;box-shadow:none;animation:none;transition:none}
body .card-page-content .card-image-open img{display:block;width:100%;height:auto;max-height:none;min-height:0;object-fit:contain;filter:none!important;transform:none!important}

/* Keep image-link focus distinct from the global rose-colored focus style. */
body .card-page-content a.card-image-open:focus{outline:none}
body .card-page-content a.card-image-open:focus-visible{outline:2px solid #dfc582;outline-offset:2px}
body .market-footer{display:none!important}

/* Compact language control: icon trigger with an on-demand locale picker. */
body .language-picker-menu{position:relative;flex:0 0 auto}
body .language-picker-menu>summary{display:grid;width:42px;height:42px;box-sizing:border-box;padding:0;place-items:center;border:1px solid #344459;border-radius:8px;background:#09131f;color:#f5f7fb;cursor:pointer;list-style:none}
body .language-picker-menu>summary::-webkit-details-marker{display:none}
body .language-picker-menu>summary::marker{display:none;content:""}
body .language-picker-menu>summary:hover,body .language-picker-menu[open]>summary{border-color:#dfbd70;color:#dfbd70;background:#111b28}
body .language-picker-menu>summary svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}
body .language-picker-popover{position:absolute;z-index:110;top:calc(100% + 10px);right:0;width:240px;box-sizing:border-box;padding:14px;border:1px solid #394b62;border-radius:10px;background:#07111e;box-shadow:0 18px 50px #000c}
body .language-picker-popover .language-picker{display:grid;gap:8px;margin:0}
body .language-picker-popover .language-picker label{color:#f7f9fc;font-size:.75rem;font-weight:750}
body .logged-in-header .language-picker-popover .language-picker select{display:block;width:100%!important;max-width:none!important;box-sizing:border-box;padding:10px 32px 10px 11px!important;border:1px solid #806929;border-radius:7px;background:#09131f;color:#f5d77c;font:700 .78rem/1 Arial,Helvetica,sans-serif}
@media(max-width:480px){body .language-picker-popover{position:fixed;top:auto;right:16px;bottom:16px;left:16px;width:auto}}

/* Public storefront wins over the earlier legacy creator-profile rules. */
body:has(.creator-storefront) .logged-in-header .brand-lockup{width:230px!important;height:auto!important;max-width:230px!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
.creator-storefront .creator-public-stats{position:absolute;left:24px;bottom:10px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:initial;width:min(650px,57%);margin:0;padding:0;border:1px solid #334458;border-radius:8px;background:#07111ed9;backdrop-filter:blur(8px);overflow:hidden}
.creator-storefront .creator-public-stat{display:flex;min-width:0;align-items:center;justify-content:center;padding:10px 12px!important;border-right:1px solid #334458!important;border-bottom:0!important;text-align:center}
.creator-storefront .creator-public-stat:last-child{border-right:0!important}
.creator-storefront .creator-public-stat strong{display:block;white-space:nowrap;color:#fff;font-size:1.38rem!important;line-height:1!important}
.creator-storefront .creator-public-stat span{display:block;margin-top:6px!important;white-space:nowrap;color:#bac5d5;font-size:.66rem!important;line-height:1.1;text-transform:uppercase;letter-spacing:.055em}
@media(max-width:1050px) and (min-width:761px){.creator-storefront .creator-public-stats{width:65%}.creator-storefront-copy h1{font-size:2.35rem}.creator-storefront-bio{font-size:.82rem;line-height:1.35}}
@media(max-width:760px){body:has(.creator-storefront) .logged-in-header .brand-lockup{width:170px!important;max-width:170px!important}.creator-storefront .creator-public-stats{left:10px;right:10px;bottom:10px;width:auto;grid-template-columns:repeat(4,minmax(0,1fr))}.creator-storefront .creator-public-stat{padding:9px 4px!important}.creator-storefront .creator-public-stat strong{font-size:.95rem!important}.creator-storefront .creator-public-stat span{font-size:.5rem!important;white-space:normal}}
.creator-country-flag{display:inline-block;width:auto;height:18px;max-width:24px;object-fit:contain;vertical-align:-4px;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.16)}

/* One typographic treatment for every textual masthead control. */
body .logged-in-header .public-market-nav a,
body .logged-in-header nav.header-account .user-status-item,
body .logged-in-header nav.header-account .status-logout button,
body:has(.creator-storefront) .logged-in-header nav.header-account .user-status-item,
body:has(.creator-storefront) .logged-in-header nav.header-account .status-logout button,
body .logged-in-header .language-picker-popover .language-picker select{
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:.78rem!important;
  font-weight:700!important;
  font-style:normal!important;
  line-height:1!important;
  letter-spacing:.02em!important;
}
body .logged-in-header nav.header-account .status-logout button{text-transform:uppercase}
/* Never let the fixed-width brand overflow a shrinking masthead grid track. */
@media(min-width:1301px){
  body .mode-topbar.logged-in-header,
  body:has(.creator-storefront) .mode-topbar.logged-in-header{grid-template-columns:230px minmax(360px,1fr) 42px auto!important}
}
.header-two-line{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;line-height:1.02}
@media(min-width:1301px){
  body .mode-topbar.logged-in-header,
  body:has(.creator-storefront) .mode-topbar.logged-in-header{grid-template-columns:280px minmax(330px,1fr) 42px auto!important}
  body .mode-topbar.logged-in-header .brand-lockup,
  body:has(.creator-storefront) .logged-in-header .brand-lockup{width:280px!important;max-width:280px!important}
}
@media(min-width:1051px) and (max-width:1300px){
  body .mode-topbar.logged-in-header,
  body:has(.creator-storefront) .mode-topbar.logged-in-header{grid-template-columns:230px minmax(0,1fr) 42px!important}
  body .mode-topbar.logged-in-header .brand-lockup,
  body:has(.creator-storefront) .logged-in-header .brand-lockup{width:230px!important;max-width:230px!important}
}
@media(min-width:761px){
  body .mode-topbar.logged-in-header .header-account.guest-navigation{
    width:auto!important;justify-self:end!important;padding:0!important;border:0!important;
    background:transparent!important;box-shadow:none!important;
  }
}
/* Reserve the logo's full rendered width before the account panel. */
@media(min-width:761px) and (max-width:1050px){
  body .mode-topbar.logged-in-header,
  body:has(.creator-storefront) .mode-topbar.logged-in-header{
    grid-template-columns:230px minmax(0,1fr) 42px!important;
    column-gap:14px!important;
  }
  body .mode-topbar.logged-in-header .brand-lockup,
  body:has(.creator-storefront) .logged-in-header .brand-lockup{
    width:227px!important;max-width:227px!important;
  }
}
/* Keep account links right-aligned; search and language are independent trailing controls. */
body .mode-topbar.logged-in-header nav.header-account{
  justify-self:end!important;width:max-content!important;max-width:100%!important;
}
@media(min-width:1301px){
  body .mode-topbar.logged-in-header,
  body:has(.creator-storefront) .mode-topbar.logged-in-header{
    grid-template-columns:280px minmax(300px,1fr) auto 42px 42px!important;
    column-gap:14px!important;
  }
}
@media(min-width:1051px) and (max-width:1300px){
  body .mode-topbar.logged-in-header,
  body:has(.creator-storefront) .mode-topbar.logged-in-header{
    grid-template-columns:260px minmax(0,1fr) 42px 42px!important;
    column-gap:12px!important;
  }
  body .mode-topbar.logged-in-header .brand-lockup,
  body:has(.creator-storefront) .logged-in-header .brand-lockup{width:260px!important;max-width:260px!important}
}
@media(min-width:761px) and (max-width:1050px){
  body .mode-topbar.logged-in-header,
  body:has(.creator-storefront) .mode-topbar.logged-in-header{
    grid-template-columns:260px minmax(0,1fr) 42px 42px!important;
    column-gap:10px!important;
  }
  body .mode-topbar.logged-in-header .brand-lockup,
  body:has(.creator-storefront) .logged-in-header .brand-lockup{width:257px!important;max-width:257px!important}
}
@media(max-width:760px){
  body .mode-topbar.logged-in-header{grid-template-columns:minmax(150px,1fr) 42px 42px!important}
  body .public-market-search{grid-column:2;grid-row:1}
  body .mode-topbar.logged-in-header>.language-picker-menu{grid-column:3;grid-row:1}
  body .mode-topbar.logged-in-header .header-account{grid-column:1/-1;grid-row:2}
}
/* RTL changes reading direction, never the established page or masthead geometry. */
html[dir="rtl"] body{direction:ltr}
html[dir="rtl"] .market-hero-copy,
html[dir="rtl"] .market-section-title>div,
html[dir="rtl"] .market-filter,
html[dir="rtl"] .market-card-info,
html[dir="rtl"] .market-creator{
  direction:rtl;text-align:right;
}
html[dir="rtl"] .header-account .header-two-line,
html[dir="rtl"] .public-market-nav .header-two-line{direction:rtl;text-align:center}
html[dir="rtl"] .market-hero-copy .market-button{direction:rtl}

html[dir="rtl"] .language-picker-popover,
html[dir="rtl"] .language-picker-popover .language-picker{direction:ltr;text-align:left}

/* Prominent brand lockup after locale and RTL stabilization. */
@media(min-width:1301px){
  body .mode-topbar.logged-in-header,
  body:has(.creator-storefront) .mode-topbar.logged-in-header{grid-template-columns:320px minmax(280px,1fr) auto 42px 42px!important}
  body .mode-topbar.logged-in-header .brand-lockup,
  body:has(.creator-storefront) .logged-in-header .brand-lockup{width:320px!important;max-width:320px!important}
}
@media(min-width:761px) and (max-width:1300px){
  body .mode-topbar.logged-in-header,
  body:has(.creator-storefront) .mode-topbar.logged-in-header{grid-template-columns:323px minmax(0,1fr) 42px 42px!important}
  body .mode-topbar.logged-in-header .brand-lockup,
  body:has(.creator-storefront) .logged-in-header .brand-lockup{width:320px!important;max-width:320px!important}
}
@media(max-width:760px){
  body .mode-topbar.logged-in-header .brand-lockup,
  body:has(.creator-storefront) .logged-in-header .brand-lockup{width:min(220px,calc(100vw - 120px))!important;max-width:none!important}
}

/* Keep every masthead child inside its declared grid track. */
body .mode-topbar.logged-in-header>.header-left{
  grid-column:1;grid-row:1;width:auto!important;max-width:100%!important;
}
body .mode-topbar.logged-in-header>.language-picker-menu{
  grid-column:4;grid-row:1;justify-self:end;
}

/* Public information pages and a consistent guest masthead. */
body .mode-topbar.logged-in-header .header-account.guest-navigation>a{display:inline-flex!important}
body .mode-topbar.logged-in-header .header-account.guest-navigation .header-sign-up{padding:.35rem 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#d1d7e3!important;box-shadow:none!important}
.public-info-page{max-width:1050px;margin:0 auto;padding:clamp(36px,7vw,90px) 0 80px}
.public-info-page>header{max-width:780px;margin-bottom:42px}.public-info-page>header h1{margin:.2em 0;font-size:clamp(3rem,7vw,6.4rem);line-height:.95;letter-spacing:-.055em}.public-info-page>header>p:last-child{max-width:720px;color:#c9d2df;font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.6}
.public-info-steps{counter-reset:public-step;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin:0;padding:1px;list-style:none;background:#304257;border:1px solid #304257;border-radius:14px;overflow:hidden}.public-info-steps li{counter-increment:public-step;display:flex;flex-direction:column;gap:12px;min-height:150px;padding:24px;background:#09131f}.public-info-steps li::before{content:counter(public-step,decimal-leading-zero);color:var(--launch-gold);font-weight:800}.public-info-steps strong{font-size:1.1rem}.public-info-steps span,.public-info-grid p,.public-news-empty p{color:#b9c5d4;line-height:1.55}
.public-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.public-info-grid>div,.public-news-empty{padding:28px;border:1px solid #304257;border-radius:14px;background:linear-gradient(145deg,#0d1826,#080f19)}.public-info-grid h2,.public-news-empty h2{margin-top:0;color:#f5f7fb}
.public-info-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:34px}.public-info-actions>a:not(.market-button){color:var(--launch-gold-bright);font-weight:800}.public-news-empty>span{color:var(--launch-gold);font-size:.72rem;font-weight:850;letter-spacing:.18em}
@media(max-width:850px){.public-info-steps{grid-template-columns:1fr}.public-info-steps li{min-height:0}.public-info-grid{grid-template-columns:1fr}}
@media(max-width:760px){
  body .mode-topbar.logged-in-header>.language-picker-menu{grid-column:3;grid-row:1}
}
/* Preserve the transparent brand artwork without a halo around angled edges. */
body .logged-in-header .mode-brand .brand-lockup,
body .mode-brand .brand-lockup{
  width:300px!important;
  max-width:min(300px,calc(100vw - 120px))!important;
  height:auto!important;
  filter:none!important;
  image-rendering:auto;
  backface-visibility:hidden;
  transform:translateZ(0);
}
