/* Creator showcase: scoped to the existing profile, never the app's other galleries. */
.profile-showcase{width:100%;max-width:1320px;margin:0 auto 48px;min-width:0}
.profile-hero{border:1px solid var(--line);border-radius:24px;background:var(--surface);overflow:visible;margin-bottom:28px}
.profile-cover{height:clamp(180px,22vw,290px);border-radius:23px 23px 0 0;overflow:hidden;position:relative;background:linear-gradient(120deg,#15284c,#353263 64%,#584581)}
.profile-cover img{width:100%;height:100%;display:block;object-fit:cover}
.profile-cover-neutral{background:radial-gradient(ellipse at 10% 100%,#4173b970,transparent 60%),radial-gradient(ellipse at 95% 0,#9867da60,transparent 65%),linear-gradient(115deg,#172239,#303151)}
.profile-cover-neutral:before{content:'';position:absolute;inset:20px;border:1px solid #ffffff18;border-radius:16px}
.profile-cover-signature{position:absolute;right:30px;top:24px;font-size:12px;font-weight:700;letter-spacing:.3em;color:#fff9}
.profile-cover>.home-button{position:absolute;right:20px;bottom:18px;background:#111b30eb;color:#fff;border-color:#ffffff40;min-height:44px}
.profile-showcase .profile-overview{display:flex;align-items:flex-start;gap:24px;padding:0 28px 22px;position:relative;flex-wrap:wrap;text-align:left}
.profile-showcase .profile-identity{flex:1 1 420px;align-items:flex-start;gap:22px;padding-top:22px}
.profile-showcase .profile-avatar{width:112px;height:112px;font-size:42px;border:5px solid var(--surface);margin-top:-56px;box-shadow:0 0 0 1px var(--line);position:relative}
.profile-showcase .profile-info{min-width:0}
.profile-showcase .profile-info .profile-page-title{font:750 clamp(26px,3vw,38px)/1.2 Manrope,sans-serif;letter-spacing:-.04em;overflow-wrap:anywhere;margin:4px 0 12px}
.profile-eyebrow{font-size:10px;font-weight:700;letter-spacing:.17em;color:var(--muted);margin:0 0 6px}
.profile-showcase .profile-actions{padding-top:26px;flex-direction:row;flex-wrap:wrap;gap:8px;flex:0 1 400px;justify-content:flex-end;align-items:center}
.profile-showcase .profile-actions .home-button,.profile-showcase .profile-actions .upload-button{padding:10px 14px;min-height:44px;font-size:13px;white-space:normal}
.profile-showcase .profile-actions .form-status{flex-basis:100%}
.profile-showcase .profile-about{max-width:680px;line-height:1.65;font-size:15px;margin:14px 0 6px}
.profile-showcase .profile-pronouns{font-size:12px}.profile-public-count{margin:10px 0 0;font-size:12px}
.profile-showcase .profile-stats{gap:9px}.profile-showcase .stat-button{min-height:32px}
.profile-badges .world-badges{margin:12px 0 0;gap:6px;display:flex;flex-wrap:wrap}
.profile-badges .world-badges>span{font-size:11px;padding:5px 9px;border:1px solid var(--line);border-radius:20px;background:var(--bg)}
.profile-badges .lumora-icon{width:14px;height:14px}
.profile-owner-tools{border-top:1px solid var(--line);padding:12px 24px}
.profile-owner-tools .world-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0}
.profile-owner-tools .home-button{font-size:12px;padding:9px 12px;min-height:40px}
.profile-featured{margin:30px 0}.profile-featured[hidden]{display:none}
.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.profile-section-heading h2{font-size:18px;display:flex;align-items:center;gap:10px;margin:0}
.profile-section-heading .home-button{padding:9px 12px;font-size:12px;min-height:40px}
.profile-section-heading .lumora-icon{color:var(--accent)}
.profile-tabs{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-inline:contain;border-bottom:1px solid var(--line);padding:6px 0 14px;margin:24px 0 20px;scrollbar-width:thin}
.profile-tabs .home-button{border-color:transparent;background:transparent;flex:none;min-height:46px;padding:11px 14px;font-size:14px;border-radius:12px;white-space:nowrap}
.profile-tabs .home-button[aria-selected=true]{color:var(--text);background:var(--surface);border-color:var(--accent);box-shadow:inset 0 -2px var(--accent)}
.profile-tab-count{font-size:11px;color:var(--muted)}.profile-tab-count:empty{display:none}
.profile-tab-panel{min-width:0}.profile-tab-panel:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:12px}
.profile-gallery{columns:3;column-gap:20px;margin:18px 0}
.profile-gallery>*{display:inline-block;width:100%;break-inside:avoid;margin:0 0 20px;vertical-align:top;min-width:0}
.profile-gallery .card{width:100%;display:block;height:auto}.profile-gallery .picture{height:auto;aspect-ratio:auto;min-height:0}.profile-gallery .picture img{height:auto;width:100%;object-fit:contain;display:block;aspect-ratio:auto}
.profile-gallery .card-info h2{font-size:15px;overflow-wrap:anywhere}
.profile-resource{position:relative;border:1px solid var(--line);border-radius:18px;padding:18px;background:var(--surface);overflow:hidden}
.profile-resource h3{font-size:18px;margin:12px 0 6px;overflow-wrap:anywhere}.profile-resource .home-button{font-size:12px;min-height:42px}
.profile-resource-description{font-size:14px;color:var(--muted);line-height:1.6;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.profile-resource-sign{display:grid;place-items:center;min-height:112px;background:linear-gradient(135deg,#557fe61a,#a369e31a);color:var(--accent);border-radius:12px}.profile-resource-sign .lumora-icon{width:36px;height:36px}
.profile-video-cover{display:grid;place-items:center;position:relative;background:#0b1020;color:#fff;width:100%;padding:0;border:0;border-radius:12px;overflow:hidden;cursor:pointer;aspect-ratio:16/9}
.profile-video-cover video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.profile-video-cover .lumora-icon{position:relative;width:32px;height:32px}.profile-video-cover>span:last-child{position:absolute;bottom:8px;left:10px;right:10px;font-size:12px;background:#0b1020d9;padding:4px 6px;border-radius:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-resource>.settings-note{display:block;margin:8px 0}.profile-load-more{display:flex;margin:22px auto;min-height:44px}
.profile-empty{padding:34px 20px;text-align:center;max-width:560px;margin:20px auto;border:1px solid var(--line);border-radius:20px;background:var(--surface)}.profile-empty>.lumora-icon{width:30px;height:30px;color:var(--accent)}.profile-empty h2{font-size:20px;margin:14px 0 8px}.profile-empty .home-button{margin:10px auto 0;min-height:44px}
.profile-about-panel{padding:24px;max-width:780px;background:var(--surface);border:1px solid var(--line);border-radius:18px}.profile-about-panel h2{font-size:20px;margin-top:0}.profile-about-panel .home-button{margin:12px 8px 0 0}
.profile-feature-dialog{width:min(800px,calc(100% - 24px));max-width:800px}.profile-feature-dialog select{width:100%;padding:12px;margin:14px 0;font:inherit;background:var(--field);color:var(--text);border:1px solid var(--line);border-radius:12px}
.profile-feature-selection{display:flex;flex-wrap:wrap;gap:8px}.profile-feature-selection button{font-size:12px;min-height:44px;text-align:left}
.profile-feature-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:42dvh;overflow-y:auto;margin-bottom:16px;padding:3px}
.profile-feature-picker>button{min-height:64px;text-align:left;padding:10px;overflow-wrap:anywhere}.profile-feature-picker button[aria-pressed=true]{border:2px solid var(--accent);background:var(--surface)}.profile-feature-picker img{width:56px;height:56px;object-fit:contain;flex:none;border-radius:8px}.profile-feature-picker .settings-note,.profile-feature-picker .experience-skeletons{grid-column:1/-1}
@media(min-width:1600px){.profile-gallery{columns:4}.profile-featured .profile-gallery{columns:3}}
@media(max-width:1000px){.profile-gallery{columns:2}.profile-showcase .profile-actions{flex-basis:100%;padding-top:0;justify-content:flex-start}.profile-showcase .profile-overview{gap:16px}.profile-showcase .profile-identity{flex-basis:100%}}
@media(max-width:600px){.profile-cover{height:175px}.profile-cover>.home-button{right:12px;bottom:12px;font-size:12px;padding:8px 10px}.profile-showcase .profile-overview{padding:0 16px 18px;display:flex}.profile-showcase .profile-identity{gap:14px;align-items:flex-start;padding-top:18px}.profile-showcase .profile-avatar{width:78px;height:78px;font-size:28px;border-width:4px;margin-top:-40px}.profile-showcase .profile-info .profile-page-title{font-size:26px}.profile-eyebrow{font-size:9px}.profile-showcase .profile-about{font-size:14px}.profile-showcase .profile-actions{gap:6px}.profile-owner-tools{padding:12px}.profile-owner-tools .world-tabs{gap:6px}.profile-tabs .home-button{padding:10px;font-size:13px}.profile-gallery{column-gap:12px}.profile-gallery>*{margin-bottom:12px}.profile-gallery .card-info{padding:10px}.profile-gallery .card-info h2{font-size:13px}.profile-resource{padding:12px}.profile-resource h3{font-size:15px}.profile-resource-description{font-size:12px}.profile-feature-picker{grid-template-columns:1fr}.profile-featured{margin:24px 0}.profile-cover-signature{font-size:10px}.profile-badges .world-badges{gap:4px}.profile-badges .world-badges>span{font-size:10px}}
@media(max-width:380px){.profile-gallery{columns:1}.profile-showcase .profile-identity{flex-direction:column}.profile-showcase .profile-info{width:100%}}
@media(prefers-reduced-motion:reduce){.profile-showcase *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Lumora night palette, shared by all creator profiles in either app theme. */
.profile-showcase,.profile-locked-night{
 --bg:#10192c;--surface:#172238;--field:#111c30;--text:#f8f5ff;--muted:#c0bdd4;--line:#46506b;--accent:#baadff;
 color-scheme:dark;color:var(--text);background:radial-gradient(ellipse at 100% 0,#8760e430,transparent 58%),linear-gradient(130deg,#142645,#161a2c 65%,#201c36);border:1px solid #514969;border-radius:26px;box-sizing:border-box;box-shadow:0 18px 50px #0a102024;
}
.profile-showcase{padding:18px clamp(12px,2.3vw,30px) 30px}
.profile-showcase .profile-hero{background:radial-gradient(ellipse at 100% 0,#8760e44d,transparent 65%),linear-gradient(130deg,#142645,#201c36);border-color:#67578a;box-shadow:0 12px 30px #060c1826}
.profile-showcase .profile-cover-neutral{background:radial-gradient(ellipse at 100% 0,#8760e44d,transparent 65%),linear-gradient(130deg,#142645,#201c36)}
.profile-showcase .profile-overview{border-bottom:0}.profile-showcase .profile-owner-tools{border-color:#514969}
.profile-showcase .profile-avatar{border-color:#19243c;box-shadow:0 0 0 1px #78689d,0 8px 24px #070b1940}
.profile-showcase .home-button,.profile-locked-night .home-button{color:#edeaff;background:#242a44;border-color:#605776;transition:background .16s,border-color .16s,box-shadow .16s}
.profile-showcase .home-button:hover,.profile-locked-night .home-button:hover{background:#32304f;border-color:#a38cdb}
.profile-showcase .upload-button,.profile-locked-night .upload-button,.profile-showcase .profile-tabs .home-button[aria-selected=true]{color:#fff;background:linear-gradient(110deg,#477eee,#8152de);border:1px solid #a28deb;box-shadow:0 4px 16px #6351d22b}
.profile-showcase .profile-tabs{gap:8px;border-bottom-color:#46506b;padding-bottom:16px}
.profile-showcase .profile-tabs .home-button{border-color:#514969;background:#1a243b}
.profile-showcase .profile-tabs .home-button[aria-selected=true] .profile-tab-count{color:#fff}
.profile-showcase .profile-create-choices,.profile-showcase .board-menu-choices{background:#172238;color:#f8f5ff;border-color:#605776;box-shadow:0 14px 36px #03071466}
.profile-showcase .board-menu summary:hover{background:#32304f}.profile-showcase .board-menu-choices .board-delete{color:#ffadb9}
.profile-showcase .stat-button,.profile-locked-night .stat-button{color:#edeaff}.profile-showcase .stat-button:hover,.profile-locked-night .stat-button:hover{color:#d5c8ff}
.profile-showcase .board-card,.profile-showcase .card,.profile-showcase .profile-resource,.profile-showcase .profile-about-panel{color:var(--text);background:var(--surface);border-color:var(--line)}
.profile-showcase .card-info{background:var(--surface);color:var(--text)}
.profile-showcase .profile-badges .world-badges>span{background:#242a44;border-color:#605776;color:#e1daf6}
.profile-showcase :is(.settings-note,.profile-eyebrow,.profile-resource-description,.profile-pronouns,.profile-tab-count){color:var(--muted)}
.profile-showcase a:not(.home-button):not(.upload-button):not(.board-card){color:var(--accent)}
.profile-showcase :is(button,a,summary,input,select):focus-visible,.profile-locked-night :is(button,a):focus-visible{outline:2px solid #d2bdff;outline-offset:3px}
.profile-showcase button:disabled{opacity:.55;cursor:not-allowed}.profile-showcase .form-status.error{color:#ffadbb}
.profile-locked-night{padding:28px;margin-bottom:20px}
@media(max-width:600px){.profile-showcase{padding:10px 10px 22px;border-radius:20px}.profile-showcase .profile-hero{border-radius:18px}.profile-showcase .profile-cover{border-radius:17px 17px 0 0}.profile-showcase .profile-tabs{margin-top:18px}.profile-locked-night{padding:18px}}
@media(prefers-reduced-motion:reduce){.profile-showcase .home-button,.profile-locked-night .home-button{transition:none}}
