.creator-storefront,.creator-storefront.site-body { margin:0; min-height:100vh; font:15px/1.5 var(--font-ui); background:radial-gradient(ellipse at 15% 0%,var(--accent-soft) 0,transparent 50%),var(--background); }
.creator-storefront * { box-sizing:border-box; }
.creator-header,.creator-main,.creator-footer { width:min(1240px,calc(100% - 64px)); margin:auto; }
.creator-header { display:flex; align-items:center; justify-content:space-between; min-height:104px; border-bottom:1px solid var(--line); gap:16px; }
.creator-header a { text-decoration:none; }
.creator-header .theme-switch [data-theme-label] { display:none; }
.creator-main { padding:32px 0 36px; }
.creator-intro h1 { font-size:clamp(32px,4vw,48px); line-height:1.08; letter-spacing:-.045em; margin:0 0 16px; font-weight:800; }
.creator-intro p { margin:0; color:var(--muted); font-size:clamp(17px,2vw,23px); line-height:1.5; }
.creator-tools { display:flex; align-items:center; gap:4px; margin-top:16px; }
.creator-search { display:flex; align-items:center; gap:12px; flex:1; background:var(--surface); border:0; border-radius:16px; padding:14px 16px 14px 20px; background:var(--accent-soft); min-width:0; }
.creator-search:focus-within { outline:3px solid var(--accent-border); }
.creator-search svg { width:22px; height:22px; flex-shrink:0; stroke:var(--muted); fill:none; stroke-width:1.7; }
.creator-search input { border:0; outline:none; font-size:15px; min-width:0; width:100%; background:var(--surface); color:var(--ink); padding:12px 0; }
.creator-search input::placeholder { color:var(--muted); }
.creator-primary,.creator-link { border:0; border-radius:10px; background:var(--accent); color:white; font-size:15px; font-weight:600; padding:13px 18px; cursor:pointer; }
.creator-primary:hover,.creator-link:hover { background:var(--accent-dark); }
.creator-segment { display:flex; gap:8px; flex-shrink:0; }
.creator-segment button { border:0; border-radius:99px; padding:14px 24px; background:var(--accent-soft); color:var(--ink); font-size:14px; cursor:pointer; min-height:44px; }
.creator-segment button[aria-pressed=true] { background:var(--accent); color:white; }
.creator-result-tools { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:24px; }
.creator-publication-details { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; margin:18px 0; font-size:13px; color:var(--muted); }
.creator-image-retry { position:absolute; z-index:2; border:0; border-radius:12px; padding:12px 16px; background:var(--surface); color:var(--accent-text); cursor:pointer; }
.creator-text-button { border:0; background:none; padding:10px 0; color:var(--accent-text); font-size:14px; cursor:pointer; margin-left:auto; }
.creator-status { font-size:14px; color:var(--muted); margin:14px 0 20px; min-height:18px; }
.creator-status[data-error=true] { color:var(--danger); }
.creator-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:start; }
.creator-card { background:var(--surface); border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:0 5px 18px #30306606; min-width:0; padding:16px 16px 0; }
.creator-portrait { position:relative; aspect-ratio:3 / 2; overflow:hidden; border-radius:10px; background:linear-gradient(135deg,var(--accent-soft),#7c78dd); display:flex; align-items:center; justify-content:center; }
.creator-portrait img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.creator-placeholder { color:white; font-family:var(--font-heading); font-size:80px; font-weight:700; }
.creator-portrait::after { content:''; position:absolute; inset:50% 0 0; background:linear-gradient(transparent,#101026bb); pointer-events:none; }
.creator-username { position:absolute; left:14px; right:14px; bottom:12px; z-index:1; color:white; font-weight:700; font-size:18px; overflow-wrap:anywhere; text-decoration:none; }
.creator-badge { position:absolute; top:14px; right:12px; z-index:1; border:0; color:#20243a; background:#eeedfcf0; backdrop-filter:blur(8px); border-radius:99px; padding:7px 12px; font-size:12px; }
.creator-card-body { padding:10px 0 16px; }
.creator-description { font-size:14px; line-height:1.4; margin:0 0 14px; white-space:pre-wrap; overflow-wrap:anywhere; }
.creator-description-clamped { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.creator-expand { border:0; padding:0 0 14px; color:var(--accent-text); background:none; cursor:pointer; }
.creator-metrics { display:grid; grid-template-columns:1fr 1fr; margin:18px 0 14px; text-align:center; }
.creator-metric+.creator-metric { border-left:1px solid var(--accent-border); }
.creator-metric strong { display:block; font-size:18px; font-family:var(--font-heading); }
.creator-metric span { display:block; font-size:12px; color:var(--muted); margin-top:5px; }
.creator-link { display:flex; justify-content:center; align-items:center; gap:10px; text-decoration:none; width:100%; }
.creator-card-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.creator-card-actions .creator-link { padding:13px 10px; }
.creator-link-secondary { background:var(--accent-soft); color:var(--accent-text); }
.creator-link-secondary:hover { background:var(--accent-border); }
.creator-repeat-select { display:flex; flex-direction:column; gap:8px; margin:16px 0; font-size:13px; color:var(--muted); }
.creator-repeat-select select { width:100%; min-height:44px; padding:10px; border:1px solid var(--accent-border); border-radius:12px; background:var(--surface); color:var(--ink); }
.creator-repeat-hint { font-size:12px; line-height:1.5; color:var(--muted); margin:12px 0 0; overflow-wrap:anywhere; }
.creator-toast { position:fixed; z-index:100; left:50%; bottom:calc(24px + env(safe-area-inset-bottom,0px)); transform:translateX(-50%); box-sizing:border-box; width:min(440px,calc(100% - 32px)); padding:20px 24px; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); box-shadow:0 12px 40px #0004; font-size:16px; line-height:1.6; overflow-wrap:anywhere; pointer-events:none; }
.creator-more { display:block; margin:32px auto 0; padding:15px 32px; border-radius:14px; border:1px solid var(--accent-border); color:var(--accent-text); background:var(--surface); font-size:16px; cursor:pointer; }
.creator-footer { border-top:1px solid var(--line); padding:24px 0 36px; color:var(--muted); font-size:13px; }
.creator-storefront [hidden] { display:none!important; }
.creator-storefront button:focus-visible,.creator-storefront a:focus-visible { outline:3px solid var(--accent-border); outline-offset:3px; }
.creator-storefront button:disabled { opacity:.55; cursor:wait; }
.creator-admin-scroll { overflow-x:auto; }
.creator-admin-table { border-collapse:collapse; width:100%; min-width:1040px; }
.creator-admin-table td,.creator-admin-table th { padding:16px 10px; text-align:left; vertical-align:top; border-bottom:1px solid var(--line); }
.creator-admin-table textarea { width:100%; min-width:140px; }
.creator-admin-table small { display:block; margin-top:7px; color:var(--muted); }
.creator-admin-avatar { width:44px; height:44px; border-radius:12px; object-fit:cover; display:block; margin-bottom:8px; }
.creator-admin-secondary { display:block; border:0; background:none; color:var(--accent-text); cursor:pointer; margin-top:12px; padding:0; text-align:left; }
@media(max-width:850px) { .creator-header,.creator-main,.creator-footer { width:calc(100% - 40px); } .creator-tools { flex-wrap:wrap; gap:16px; } .creator-search { flex-basis:100%; } .creator-grid { gap:18px; } .creator-card-body { padding:10px 0 16px; } }
@media(max-width:640px) { .creator-header { min-height:86px; } .creator-header .motion-wordmark { font-size:22px; } .creator-main { padding-top:32px; } .creator-grid { grid-template-columns:1fr; gap:24px; } .creator-intro h1 { font-size:36px; } .creator-tools { margin-top:26px; } .creator-search { gap:8px; padding-left:12px; } .creator-search input { font-size:14px; } .creator-primary { padding:12px; font-size:13px; } .creator-segment button { padding:12px 21px; } .creator-result-tools { flex-wrap:wrap; } .creator-card-body { padding:12px 0 16px; } }
@media(prefers-reduced-motion:no-preference) { .creator-card { transition:box-shadow .2s; } .creator-card:hover { box-shadow:0 10px 30px #30306610; } }

/* Reference: underlined view tabs and a separate soft filter tray. */
#catalog-filters { align-items:center; align-self:stretch; padding:14px 20px; border-radius:16px; background:var(--accent-soft); }
#catalog-filters button { min-width:84px; padding:10px 20px; background:var(--surface); }
#catalog-filters button[aria-pressed=true] { background:var(--accent); }
#catalog-modes { gap:38px; }
#catalog-modes button { padding:8px 4px; min-height:38px; border-bottom:2px solid transparent; border-radius:0; background:transparent; color:var(--muted); }
#catalog-modes button[aria-pressed=true] { color:var(--accent-text); border-bottom-color:var(--accent); font-weight:650; }
.creator-result-tools { margin-top:12px; }
.creator-status { margin:0; min-height:0; font-size:12px; }
.creator-status[data-error=false][data-empty=false] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.creator-status[data-error=true],.creator-status[data-empty=true] { padding:12px 0; }
.creator-grid { gap:16px; margin-top:6px; }
.creator-link { min-height:44px; }
.creator-card-actions .creator-link { padding:10px 8px; font-size:14px; border-radius:10px; }
.creator-card button.creator-link { font-family:inherit; }
.creator-icon { flex-shrink:0; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.creator-more { width:min(366px,100%); min-height:44px; margin:20px auto 0; padding:10px 28px; border-radius:30px; color:var(--ink); }
.creator-search { gap:0; }
.creator-search>svg { box-sizing:content-box; padding:12px 12px 12px 16px; background:var(--surface); border-radius:10px 0 0 10px; }
.creator-search input { min-height:46px; border-radius:0 10px 10px 0; }
.creator-primary { min-height:46px; min-width:136px; margin-left:8px; }
@media(max-width:850px) { .creator-tools { gap:10px; } #catalog-filters { padding:10px; } }
@media(max-width:640px) {
 .creator-tools { margin-top:20px; }
 .creator-search { padding:10px; }
 .creator-search>svg { padding:12px 8px; }
 .creator-primary { min-width:76px; margin-left:5px; }
 #catalog-filters { width:100%; justify-content:space-between; }
 #catalog-filters button { flex:1; min-width:0; }
 .creator-grid { gap:16px; }
 .creator-result-tools { gap:8px; }
}
