*{box-sizing:border-box}html{min-height:100%;background:var(--profile-bg,#10141c)}body{margin:0;color:var(--profile-text,#f1f5f9);background:var(--profile-bg,#10141c);font:16px/1.65 var(--profile-font,system-ui,sans-serif);overflow-wrap:anywhere}.profile-shell{width:100%;max-width:645px;margin:0 auto;overflow:hidden}.profile-body{padding:var(--profile-top-space,60px) 28px 48px;text-align:center}.profile-avatar{display:block;width:112px;height:112px;border-radius:50%;margin:0 auto 5px;object-fit:cover}.initials{display:flex;align-items:center;justify-content:center;background:var(--profile-accent);color:var(--profile-bg);font-size:40px;font-weight:650;line-height:1}.profile-name{font-size:32px;line-height:1.2;letter-spacing:-.8px;margin:0 0 8px}.profile-headline{font-size:16px;color:var(--profile-muted);margin:0}.profile-bio{font-size:16px;color:var(--profile-muted);margin:10px 0;white-space:normal}.profile-links{display:grid;gap:12px;margin-top:34px}.profile-link{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;background:var(--profile-surface);color:var(--profile-text);border:1px solid color-mix(in srgb,var(--profile-muted) 35%,transparent);border-radius:var(--profile-radius);text-align:left;text-decoration:none;font-size:16px;font-weight:600;min-height:58px;transition:border-color .15s,transform .15s}.profile-link svg{flex-shrink:0;color:var(--profile-muted)}.profile-link:hover{border-color:var(--profile-accent);transform:translateY(-2px)}.profile-link:focus-visible{outline:2px solid var(--profile-accent);outline-offset:4px}@media(max-width:400px){.profile-body{padding:var(--profile-top-space,42px) 20px}.profile-name{font-size:28px}.profile-bio{font-size:15px}}@media(prefers-reduced-motion:reduce){.profile-link{transition:none}.profile-link:hover{transform:none}}
.has-header{--profile-top-space:32px}
.profile-header{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--profile-surface);border-radius:var(--profile-radius)}
.header-image,.header-video{display:block;width:100%;height:100%;object-fit:cover;object-position:center var(--header-position,center)}
.header-track,.header-slide{position:absolute;inset:0}
.header-slide{opacity:0;visibility:hidden;transition:opacity var(--header-transition,600ms) ease,transform var(--header-transition,600ms) ease}
.header-slide.is-active{opacity:1;visibility:visible}
.header-slide.is-exiting{opacity:0;visibility:visible}
[data-transition=slide] .header-slide{transform:translateX(100%)}
[data-transition=slide] .header-slide.is-active{transform:translateX(0)}
[data-transition=slide] .header-slide.is-exiting{transform:translateX(-100%)}
[data-transition=cut] .header-slide{transition:none}
.header-controls{position:absolute;z-index:2;bottom:12px;left:12px;display:flex;align-items:center;gap:4px;max-width:calc(100% - 24px);padding:3px 6px;border-radius:8px;background:rgba(0,0,0,.8);color:#fff;font:12px/1.3 system-ui,sans-serif}
.header-controls[hidden]{display:none}
.header-controls button{display:flex;align-items:center;justify-content:center;min-height:36px;min-width:36px;border:0;border-radius:4px;background:transparent;color:#fff;padding:6px;font:inherit;cursor:pointer}
.header-controls button:focus-visible{outline:2px solid #fff;outline-offset:1px}
.header-controls span{padding:0 6px;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.header-slide{transition:none!important;transform:none!important}}

/* Keep a small gutter on phones and overlap the header with a 180 px avatar. */
.profile-shell{padding-top:0}
.profile-avatar{width:180px;height:180px;border:0;position:relative;z-index:3}
.initials{font-size:56px}
.has-header .profile-body{padding-top:0;display:flow-root;position:relative}
.has-header .profile-avatar{margin-top:-90px}
.header-control-open,.header-controls{top:12px;right:12px;bottom:auto;left:auto;z-index:4;border:1px solid rgba(255,255,255,.3);background:rgba(10,16,24,.14);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 2px 12px #0002;color:#fff;text-shadow:0 1px 3px #000}
.header-control-open{position:absolute;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;cursor:pointer}
.header-control-open[hidden],.header-controls[hidden]{display:none}
.header-control-open:focus-visible{outline:2px solid #fff;outline-offset:2px}
.header-controls{flex-wrap:wrap;padding:4px;gap:2px;max-width:calc(100% - 24px)}
.header-controls button{min-width:36px;min-height:40px}
.header-controls .header-control-close{font-size:24px;line-height:1;margin-left:auto}
.video-header-controls{width:310px}
.header-controls .header-seek-label{display:block;width:100%;padding:0 8px 6px;font-size:0}
.header-seek-label input{display:block;width:100%;margin:2px 0;accent-color:#fff;cursor:pointer}
.header-video-time{font-size:11px}
.social-icon{display:inline-flex;flex:none;align-items:center;justify-content:center}
.social-icon svg{display:block;width:21px;height:21px;fill:currentColor;color:inherit}
.profile-link>span:first-child{flex:1}
.profile-image-row{display:grid;gap:10px;min-width:0;align-items:start}
.profile-image-row.columns-1{grid-template-columns:minmax(0,1fr)}
.profile-image-row.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-image-row.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.profile-image-link{display:block;min-width:0;text-decoration:none;color:var(--profile-text);border-radius:var(--profile-radius);overflow:hidden;border:1px solid color-mix(in srgb,var(--profile-muted) 35%,transparent);background:var(--profile-surface)}
.image-link-frame{position:relative;aspect-ratio:16/9;overflow:hidden}
.portrait .image-link-frame{aspect-ratio:9/16}
.image-link-frame img{display:block;width:100%;height:100%;object-fit:cover}
.image-link-badge{position:absolute;top:8px;right:8px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:rgba(10,16,24,.25);backdrop-filter:blur(8px);color:#fff;border:1px solid #ffffff50}
.image-link-label{display:block;font-size:14px;line-height:1.4;padding:12px 10px;font-weight:600;overflow-wrap:anywhere}
.profile-image-link:hover{border-color:var(--profile-accent)}
.profile-image-link:focus-visible{outline:2px solid var(--profile-accent);outline-offset:3px}
.profile-rich-text{text-align:left;padding:10px 2px;min-width:0;font-size:16px;line-height:1.65}
.profile-rich-text p{margin:0 0 12px}.profile-rich-text p:last-child{margin-bottom:0}
.profile-rich-text h1,.profile-rich-text h2,.profile-rich-text h3,.profile-rich-text h4,.profile-rich-text h5,.profile-rich-text h6{line-height:1.3;margin:0 0 14px;letter-spacing:normal}
.profile-rich-text h1{font-size:2em}.profile-rich-text h2{font-size:1.6em}.profile-rich-text h3{font-size:1.3em}
.profile-rich-text a{color:var(--profile-accent);text-underline-offset:3px}
.profile-rich-text ul,.profile-rich-text ol{padding-left:1.6em;margin:0 0 12px}
.profile-rich-text blockquote{margin:0 0 12px;border-left:3px solid var(--profile-accent);padding:4px 16px;color:var(--profile-muted)}
.profile-rich-text pre{white-space:pre-wrap;padding:14px;background:var(--profile-surface);border-radius:8px;overflow-wrap:anywhere}
.rich-font-serif{font-family:Georgia,serif}.rich-font-monospace{font-family:ui-monospace,monospace}
.rich-size-small{font-size:.75em}.rich-size-large{font-size:1.5em}.rich-size-huge{font-size:2.5em}
.rich-align-center{text-align:center}.rich-align-right{text-align:right}.rich-align-justify{text-align:justify}
.rich-indent-1{margin-left:min(1.5em,40%)!important}.rich-indent-2{margin-left:min(3em,40%)!important}.rich-indent-3{margin-left:min(4.5em,40%)!important}.rich-indent-4{margin-left:min(6em,40%)!important}.rich-indent-5{margin-left:min(7.5em,40%)!important}.rich-indent-6{margin-left:min(9em,40%)!important}.rich-indent-7{margin-left:min(10.5em,40%)!important}.rich-indent-8{margin-left:min(12em,40%)!important}
@media(max-width:400px){.profile-image-row{gap:6px}.image-link-badge{top:5px;right:5px;width:27px;height:27px;border-radius:6px}.image-link-badge svg{width:17px;height:17px}.image-link-label{font-size:12px;padding:9px 6px}.header-controls{top:8px;right:8px;max-width:calc(100% - 16px)}.header-controls button{min-width:32px;min-height:36px;padding:5px}.header-controls span{padding:0 3px}}

.portrait-three-four .image-link-frame{aspect-ratio:3/4}
.image-link-overlay{position:absolute;bottom:0;left:0;right:0;padding:22px 12px 10px;background:linear-gradient(transparent,rgba(0,0,0,.76));color:#fff;text-align:left;font:600 16px/1.35 var(--profile-font,system-ui,sans-serif);text-shadow:0 1px 3px #0008;overflow-wrap:anywhere;white-space:pre-wrap;pointer-events:none}
.columns-2 .image-link-overlay{font-size:14px;padding:18px 10px 8px}
.columns-3 .image-link-overlay{font-size:13px;padding:18px 8px 7px}
@media(max-width:400px){.columns-2 .image-link-overlay{font-size:12px;padding:16px 7px 7px}.columns-3 .image-link-overlay{font-size:11px;padding:14px 6px 6px}}

.header-video-stage{position:absolute;inset:0}
.playlist-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center var(--header-position,center);opacity:0;visibility:hidden;pointer-events:none}
.playlist-video.is-active{opacity:1;visibility:visible;pointer-events:auto}
.header-media-message{position:absolute;left:12px;right:12px;top:12px;margin:0;padding:8px 12px;border-radius:6px;background:#0009;color:#fff;font:13px/1.4 system-ui;z-index:3;text-align:center;pointer-events:none}
.header-media-message[hidden]{display:none}

.profile-contact{text-align:left;margin:24px 0 8px;padding:20px;background:var(--profile-surface);border:1px solid color-mix(in srgb,var(--profile-muted) 35%,transparent);border-radius:var(--profile-radius);min-width:0}
.profile-contact h2{font-size:1.5rem;line-height:1.3;margin:0 0 10px}.profile-contact>p{font-size:15px;line-height:1.5;color:var(--profile-muted);margin:0 0 16px;white-space:normal}
.profile-contact fieldset{border:0;margin:0;padding:0;min-width:0}.profile-contact label:not(.contact-consent){display:block;margin:0 0 14px;font-size:14px;font-weight:600}
.profile-contact input:not([type=checkbox]),.profile-contact textarea{box-sizing:border-box;width:100%;min-width:0;display:block;margin-top:6px;padding:10px 12px;border:1px solid var(--profile-muted);background:var(--profile-bg);color:var(--profile-text);border-radius:7px;font:16px/1.5 var(--profile-font);resize:vertical}
.profile-contact button{border:0;border-radius:7px;padding:12px 20px;background:var(--profile-accent);color:var(--profile-bg);font:600 15px/1.4 var(--profile-font);cursor:pointer;max-width:100%;white-space:normal}
.profile-contact :focus-visible{outline:2px solid var(--profile-accent);outline-offset:3px}.profile-contact :disabled{opacity:.65;cursor:default}
.contact-consent{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.5;margin:8px 0}.contact-consent input{flex-shrink:0;margin-top:3px}
.profile-contact .contact-privacy,.profile-contact .contact-preview-note{font-size:12px;color:var(--profile-muted);line-height:1.5}.profile-contact .contact-status{border:1px solid var(--profile-accent);border-radius:7px;padding:12px;color:var(--profile-text)}.profile-contact .contact-error{border-color:#d77984}
.contact-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:400px){.profile-contact{padding:16px 12px}.profile-contact h2{font-size:1.3rem}.profile-contact button{width:100%}}

.profile-link,.profile-image-link{color:var(--profile-link-text,var(--profile-text))}
.profile-link svg{color:inherit}
.profile-mode-bar{display:flex;justify-content:flex-end;margin:0 0 10px;min-width:0}
.profile-mode-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 14px;border:1px solid var(--profile-muted);border-radius:999px;background:var(--profile-surface);color:var(--profile-link-text,var(--profile-text));font:600 13px/1.3 system-ui,sans-serif;cursor:pointer}
.profile-mode-toggle[hidden]{display:none}
.profile-mode-toggle:hover{border-color:var(--profile-accent)}
.profile-mode-toggle:focus-visible{outline:2px solid var(--profile-accent);outline-offset:3px}

/* The hero is a direct child of the page, so it can stick for the whole profile. */
.profile-shell{overflow:clip}
.profile-hero{padding-top:var(--profile-top-space,60px)}
.has-header .profile-hero{padding-top:0}
.profile-avatar-wrap{display:flow-root;position:relative}
.profile-hero .profile-avatar{margin:0 auto 5px}
.has-header .profile-hero .profile-avatar{margin-top:-90px}
.profile-hero+.profile-body{padding-top:0}
.profile-hero.is-sticky{position:sticky;top:0;z-index:8;background:transparent}
.profile-hero.is-sticky .profile-header{max-height:max(100px,calc(55svh - 95px));border-top-left-radius:0;border-top-right-radius:0}
@media(max-width:400px){.profile-hero{padding-top:var(--profile-top-space,42px)}}

/* A shared transition vocabulary for image and video slideshows. */
.header-slide,.playlist-video{transition:opacity var(--header-transition,600ms) ease,transform var(--header-transition,600ms) ease,filter var(--header-transition,600ms) ease,clip-path var(--header-transition,600ms) ease;z-index:0}
.header-slide.is-active,.playlist-video.is-active{z-index:2;opacity:1;visibility:visible}
.header-slide.is-exiting,.playlist-video.is-exiting{z-index:1;visibility:visible}
[data-transition=fade] .is-exiting,[data-transition=wipe] .is-exiting,[data-transition=zoom] .is-exiting{opacity:1}
[data-transition=slide] .playlist-video{transform:translateX(100%)}
[data-transition=slide] .playlist-video.is-active{transform:translateX(0)}
[data-transition=slide] .playlist-video.is-exiting{transform:translateX(-100%)}
[data-transition=slide-right] .header-slide,[data-transition=slide-right] .playlist-video{transform:translateX(-100%)}
[data-transition=slide-right] .is-active{transform:translateX(0)}
[data-transition=slide-right] .is-exiting{transform:translateX(100%)}
[data-transition=slide-up] .header-slide,[data-transition=slide-up] .playlist-video{transform:translateY(100%)}
[data-transition=slide-up] .is-active{transform:translateY(0)}
[data-transition=slide-up] .is-exiting{transform:translateY(-100%)}
[data-transition=slide-down] .header-slide,[data-transition=slide-down] .playlist-video{transform:translateY(-100%)}
[data-transition=slide-down] .is-active{transform:translateY(0)}
[data-transition=slide-down] .is-exiting{transform:translateY(100%)}
[data-transition=zoom] .header-slide,[data-transition=zoom] .playlist-video{transform:scale(1.12)}
[data-transition=zoom] .is-active,[data-transition=zoom] .is-exiting{transform:scale(1)}
[data-transition=wipe] .header-slide,[data-transition=wipe] .playlist-video{clip-path:inset(0 100% 0 0)}
[data-transition=wipe] .is-active,[data-transition=wipe] .is-exiting{clip-path:inset(0)}
[data-transition=blur] .header-slide,[data-transition=blur] .playlist-video{filter:blur(10px)}
[data-transition=blur] .is-active{filter:blur(0)}
[data-transition=cut] .header-slide,[data-transition=cut] .playlist-video{transition:none}
@media(prefers-reduced-motion:reduce){.header-slide,.playlist-video{transition:none!important;transform:none!important;filter:none!important;clip-path:none!important}}
.profile-activity{margin:28px 0 20px;text-align:left;min-width:0}
.profile-activity>h2{font-size:21px;line-height:1.3;margin:0 0 4px}
.activity-range{font-size:12px;color:var(--profile-muted);margin:0 0 14px}
.activity-card{padding:18px;margin:0 0 14px;border:1px solid color-mix(in srgb,var(--profile-muted) 35%,transparent);border-radius:var(--profile-radius);background:var(--profile-surface);min-width:0}
.activity-card h3{font-size:16px;margin:0 0 6px;line-height:1.4}.activity-card h3 a{color:var(--profile-text);text-decoration:none}.activity-card h3 a:hover{text-decoration:underline}
.activity-card>p{font-size:12px;line-height:1.5;color:var(--profile-muted);margin:0 0 14px}
.activity-grid{display:grid;grid-template-rows:repeat(7,12px);grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;width:100%;min-width:0;margin:16px 0 8px}
.activity-cell{display:block;min-width:0;border-radius:2px;background:color-mix(in srgb,var(--profile-muted) 12%,var(--profile-bg))}
.activity-cell.level-1{background:color-mix(in srgb,var(--profile-accent) 30%,var(--profile-surface))}.activity-cell.level-2{background:color-mix(in srgb,var(--profile-accent) 52%,var(--profile-surface))}.activity-cell.level-3{background:color-mix(in srgb,var(--profile-accent) 76%,var(--profile-surface))}.activity-cell.level-4{background:var(--profile-accent)}
.activity-cell.no-data{background:transparent;border:1px dashed color-mix(in srgb,var(--profile-muted) 35%,transparent)}.activity-cell.is-padding{visibility:hidden}
.activity-grid-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font:10px/1.4 system-ui,sans-serif;color:var(--profile-muted);margin-bottom:14px}
.activity-grid-footer>span:last-child{display:flex;align-items:center;gap:3px}.activity-grid-footer .activity-cell{width:9px;height:9px}
.activity-card .activity-total{font-size:13px;font-weight:600;color:var(--profile-text);margin-bottom:6px}
.activity-card .activity-note{font-size:11px;line-height:1.5;margin-bottom:12px}
.activity-card summary{font-size:12px;color:var(--profile-muted);cursor:pointer}.activity-table-wrap{max-height:220px;overflow:auto;margin-top:10px}.activity-card table{width:100%;border-collapse:collapse;font-size:12px}.activity-card th,.activity-card td{text-align:left;padding:5px 3px;border-bottom:1px solid color-mix(in srgb,var(--profile-muted) 20%,transparent)}
@media(max-width:400px){.activity-card{padding:13px 10px}.activity-grid{gap:3px;grid-template-rows:repeat(7,10px)}}
:root:has(.profile-hero.is-sticky){scroll-padding-top:calc(55svh + 16px)}
.profile-shell:has(.profile-hero.is-sticky) input,.profile-shell:has(.profile-hero.is-sticky) textarea,.profile-shell:has(.profile-hero.is-sticky) button,.profile-shell:has(.profile-hero.is-sticky) a{scroll-margin-top:calc(55svh + 12px)}
@media(max-height:320px){.profile-hero.is-sticky{position:relative;top:0}}
@supports not (overflow:clip){.profile-shell{overflow:visible!important}}

/* Shared identity with profile and catalog tabs. */
[hidden]{display:none!important}
.profile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 24px;font:600 17px/1.35 system-ui,sans-serif}
.profile-tabs a{display:flex;justify-content:center;align-items:center;min-width:0;min-height:48px;padding:12px 16px;border:1px solid var(--profile-muted);border-radius:999px;color:var(--profile-text);text-align:center;text-decoration:none;overflow-wrap:anywhere;background:transparent}
.profile-tabs a[aria-current]{background:var(--profile-surface);border-color:var(--profile-accent)}
.profile-tabs a:focus-visible,.shop-collection-nav a:focus-visible,.shop-collection-card:focus-visible,.shop-product-link:focus-visible{outline:2px solid var(--profile-accent);outline-offset:3px}
.profile-shop{min-width:0;text-align:left;margin-top:24px}.shop-disclosure-text{font-size:12px;line-height:1.5;color:var(--profile-muted);margin:0 0 18px}
.shop-collection-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.shop-collection-nav a{border:1px solid color-mix(in srgb,var(--profile-muted) 50%,transparent);border-radius:999px;padding:7px 12px;text-decoration:none;font:600 12px/1.4 system-ui,sans-serif;color:var(--profile-text);max-width:100%;overflow-wrap:anywhere}
.shop-collection-nav a[aria-current]{background:var(--profile-surface);border-color:var(--profile-accent)}
.shop-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}.shop-collection-card{display:block;min-width:0;border:1px solid color-mix(in srgb,var(--profile-muted) 35%,transparent);border-radius:var(--profile-radius);overflow:hidden;text-decoration:none;background:var(--profile-surface);color:var(--profile-text)}
.shop-collection-card>img{display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover}.shop-collection-placeholder{display:flex;justify-content:center;align-items:center;aspect-ratio:16/9;background:var(--profile-bg);font-size:44px;color:var(--profile-muted)}.shop-collection-caption{display:grid;gap:5px;padding:12px;overflow-wrap:anywhere}.shop-collection-caption strong{font-size:15px;line-height:1.35}.shop-collection-caption small{font:12px/1.4 system-ui,sans-serif;color:var(--profile-muted)}
.shop-public-heading{margin-bottom:18px}.shop-public-heading h2{font-size:23px;line-height:1.3;margin:0 0 8px;overflow-wrap:anywhere;scroll-margin-top:calc(55svh + 12px)}.shop-public-heading p{font-size:14px;line-height:1.6;margin:0;color:var(--profile-muted);white-space:pre-line}
.shop-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0;align-items:stretch}
.shop-product-card{min-width:0;border:1px solid color-mix(in srgb,var(--profile-muted) 35%,transparent);border-radius:var(--profile-radius);overflow:hidden;background:var(--profile-surface)}
.shop-product-link{display:flex;flex-direction:column;height:100%;color:var(--profile-text);text-decoration:none;min-width:0}
.shop-product-image{aspect-ratio:1;overflow:hidden;background:var(--profile-bg)}.shop-landscape .shop-product-image{aspect-ratio:16/9}.shop-portrait .shop-product-image{aspect-ratio:3/4}
.shop-product-image img{display:block;width:100%;height:100%;object-fit:cover}.shop-image-placeholder{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:var(--profile-muted)}
.shop-product-details{display:flex;flex:1;flex-direction:column;gap:9px;padding:14px;min-width:0}.shop-product-details h3{font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere}.shop-product-description{font-size:13px;line-height:1.5;color:var(--profile-muted);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.shop-product-price{font:600 14px/1.4 system-ui,sans-serif;margin:0;overflow-wrap:anywhere}
.shop-product-button{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding:10px;border:1px solid color-mix(in srgb,var(--profile-muted) 60%,transparent);border-radius:8px;font:600 12px/1.4 system-ui,sans-serif;overflow-wrap:anywhere}.shop-product-button>span{flex-shrink:0}.shop-product-link:hover .shop-product-button{border-color:var(--profile-accent)}
.shop-empty{font-size:14px;line-height:1.6;text-align:center;padding:28px 14px;border:1px dashed var(--profile-muted);border-radius:var(--profile-radius);color:var(--profile-muted)}
@media(max-width:400px){.profile-tabs{gap:10px;font-size:15px}.profile-tabs a{padding:11px 12px}.shop-product-grid,.shop-collection-grid{gap:10px}.shop-product-details{padding:10px;gap:8px}.shop-product-details h3{font-size:14px}.shop-product-price{font-size:12px}.shop-product-description{font-size:12px}.shop-collection-caption{padding:10px}.shop-collection-caption strong{font-size:13px}}
@media(max-width:340px){.shop-product-grid,.shop-collection-grid{grid-template-columns:minmax(0,1fr)}}
.shop-product-button{color:var(--profile-link-text,var(--profile-text));background:var(--profile-surface)}

/* Only the authenticated admin iframe uses these motion-free video thumbnails. */
.admin-video-caption{position:absolute;left:10px;right:10px;bottom:10px;z-index:2;border-radius:7px;padding:8px 10px;background:rgba(0,0,0,.72);color:#fff;text-align:center;font:600 12px/1.4 system-ui,sans-serif;pointer-events:none}

/* Property detail modal: full listing before opening an external destination. */
.shop-detail-modal{box-sizing:border-box;width:min(600px,calc(100% - 24px));max-width:600px;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid color-mix(in srgb,var(--profile-muted) 50%,transparent);border-radius:var(--profile-radius);background:var(--profile-surface);color:var(--profile-text);font:inherit;box-shadow:0 20px 70px rgba(0,0,0,.5);overflow:auto;overscroll-behavior:contain}
.shop-detail-modal::backdrop{background:rgba(0,0,0,.76);backdrop-filter:blur(4px)}
.shop-detail-surface{position:relative;min-width:0}
.shop-detail-close-form{position:sticky;top:10px;float:right;margin:10px 10px -54px 0;z-index:2}
.shop-detail-close{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(0,0,0,.85);color:#fff;font:28px/1 system-ui,sans-serif;cursor:pointer}
.shop-detail-close:focus-visible,.shop-detail-action:focus-visible{outline:3px solid var(--profile-accent);outline-offset:3px}
.shop-detail-image-wrap{display:flex;align-items:center;justify-content:center;background:var(--profile-bg);min-height:160px}
.shop-detail-image{display:block;width:100%;max-height:min(42dvh,430px);object-fit:contain}
.shop-detail-image-placeholder{display:flex;align-items:center;justify-content:center;width:100%;min-height:180px;font-size:64px;color:var(--profile-muted)}
.shop-detail-content{display:grid;gap:15px;padding:22px;text-align:left}
.shop-detail-content h2{margin:0;font-size:clamp(20px,4.5vw,27px);line-height:1.28;overflow-wrap:anywhere}
.shop-detail-description{margin:0;color:var(--profile-text);font-size:15px;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}
.shop-detail-price{margin:0;font:700 18px/1.4 system-ui,sans-serif}
.shop-detail-action{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;border:1px solid var(--profile-accent);border-radius:9px;background:var(--profile-bg);color:var(--profile-text);text-decoration:none;font:700 14px/1.4 system-ui,sans-serif;overflow-wrap:anywhere}
.shop-detail-action:hover{background:var(--profile-surface);filter:brightness(1.15)}
.shop-product-link[aria-haspopup=dialog]{cursor:zoom-in}
@media(max-width:420px){.shop-detail-content{padding:16px}.shop-detail-modal{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}}

/* Layout styles: shared sticky identity, with a compact left-aligned alternative. */
.profile-hero .profile-identity{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center}
.profile-hero .profile-identity-copy{min-width:0;max-width:100%;padding:0 16px;text-align:center}
.profile-hero .profile-name{margin:0 0 4px;line-height:1.12}
.profile-hero .profile-headline{margin:0;line-height:1.28}
.profile-hero .profile-avatar{outline:1px solid var(--profile-accent);outline-offset:0}
.profile-hero .profile-mode-bar{justify-content:flex-end;padding:0 20px;margin:8px 0 8px;min-width:0}
.theme-style-compact .profile-identity{flex-direction:row;align-items:center;justify-content:flex-start;gap:16px;padding:0 22px}
.theme-style-compact .profile-avatar-wrap{flex:0 0 100px;width:100px}
.theme-style-compact .profile-hero .profile-avatar{display:block;width:100px;height:100px;margin:0;flex-shrink:0}
.theme-style-compact.has-header .profile-hero .profile-avatar{margin-top:-50px}
.theme-style-compact .initials{font-size:31px}
.theme-style-compact .profile-hero .profile-avatar.initials{display:flex;align-items:center;justify-content:center}
.theme-style-compact .profile-hero .profile-identity-copy{flex:1;min-width:0;padding:0;text-align:left}
.theme-style-compact .profile-hero .profile-name{font-size:clamp(19px,4vw,27px);line-height:1.08;letter-spacing:-.4px;margin:0 0 4px;overflow-wrap:anywhere}
.theme-style-compact .profile-hero .profile-headline{font-size:clamp(11px,2.4vw,14px);line-height:1.22;overflow-wrap:anywhere}
@media(max-width:400px){.theme-style-compact .profile-identity{padding:0 13px;gap:11px}.theme-style-compact .profile-hero .profile-mode-bar{padding:0 13px}}

/* Place the mode control in the same identity row for Compact Left.
   Classic keeps its right-aligned control below the centered identity copy. */
.theme-style-classic .profile-hero .profile-mode-bar{align-self:stretch}
.theme-style-compact .profile-hero .profile-mode-bar{flex:0 0 auto;align-self:center;justify-content:flex-end;margin:0 0 0 auto;padding:0;min-width:0}
.theme-style-compact .profile-hero .profile-mode-toggle{min-height:36px;padding:7px 10px;white-space:nowrap}
@media(max-width:400px){
  .theme-style-compact .profile-identity{gap:8px}
  .theme-style-compact .profile-hero .profile-mode-bar{padding:0;margin:0 0 0 auto}
  .theme-style-compact .profile-hero .profile-mode-toggle{min-height:32px;padding:5px 7px;font-size:11px}
}


/* Cinematic Overlay: identity belongs to the story, not a separate content row.
   It works with still images, image slideshows and public video playlists. */
.theme-style-cinematic .profile-banner{position:relative;isolation:isolate}
.theme-style-cinematic.has-header .profile-hero .profile-header{max-height:min(43svh,363px);border-top-left-radius:0;border-top-right-radius:0}
.theme-style-cinematic.has-header .profile-banner .profile-identity{
  position:absolute;z-index:6;left:12px;bottom:12px;right:auto;
  display:flex;flex-direction:row;align-items:center;gap:3px;
  width:max-content;max-width:calc(100% - 24px);min-width:0;
  padding:0;margin:0;border:0;
  border-radius:0;background:transparent;
  box-shadow:none;color:#fff;text-align:left;
}
.theme-style-cinematic.has-header .profile-banner .profile-avatar-wrap{flex:0 0 70px;width:70px;min-width:0;z-index:2}
.theme-style-cinematic.has-header .profile-banner .profile-avatar{
  width:70px;height:70px;margin:0;outline:1px solid var(--profile-accent);outline-offset:0;
  border-radius:50%;box-shadow:0 0 0 2px rgba(255,255,255,.18),0 4px 14px rgba(0,0,0,.5);
}
.theme-style-cinematic.has-header .profile-banner .profile-avatar.initials{
  display:flex;align-items:center;justify-content:center;font-size:22px;
}
.theme-style-cinematic.has-header .profile-banner .profile-identity-copy{
  position:relative;z-index:1;flex:1;min-width:0;max-width:calc(100% - 73px);
  margin-left:0;padding:4px 14px;text-align:left;
  border:1px solid rgba(255,255,255,.52);border-radius:999px;
  background:rgba(12,14,19,.57);box-shadow:0 3px 12px rgba(0,0,0,.28);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.theme-style-cinematic.has-header .profile-banner .profile-name{
  font-size:clamp(16px,3vw,24px);line-height:1.12;letter-spacing:-.3px;
  margin:0 0 3px;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.45);overflow-wrap:anywhere;
}
.theme-style-cinematic.has-header .profile-banner .profile-headline{
  font-size:clamp(10px,1.9vw,13px);line-height:1.22;
  color:rgba(255,255,255,.94);text-shadow:0 1px 2px rgba(0,0,0,.4);overflow-wrap:anywhere;
}
.theme-style-cinematic .profile-toolbar{
  position:relative;z-index:7;display:flex;align-items:center;gap:8px;
  padding:5px 9px;min-height:46px;background:transparent;
  border:0;
}
.theme-style-cinematic .profile-toolbar .profile-tabs{
  flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;margin:0;min-width:0;font:600 13px/1.25 system-ui,sans-serif;
}
.theme-style-cinematic .profile-toolbar .profile-tabs a{
  min-height:35px;padding:6px 10px;border-radius:999px;line-height:1.2;
  background:color-mix(in srgb,var(--profile-surface) 26%,transparent);
  border:1px solid color-mix(in srgb,var(--profile-muted) 72%,transparent);
  box-shadow:0 2px 8px rgba(0,0,0,.1);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.theme-style-cinematic .profile-toolbar .profile-mode-bar{
  flex:0 0 auto;align-self:center;display:flex;justify-content:flex-end;
  margin:0;padding:0;min-width:0;
}
.theme-style-cinematic .profile-toolbar .profile-mode-toggle{
  width:35px;height:35px;min-height:35px;padding:0;
  border-radius:50%;font:700 21px/1 system-ui,sans-serif;
  background:rgba(19,22,38,.5);border:1px solid rgba(255,255,255,.65);
  box-shadow:0 2px 9px rgba(0,0,0,.18);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.theme-style-cinematic .profile-body{padding-top:0}
.theme-style-cinematic .profile-shop{margin-top:12px}
.theme-style-cinematic:not(.has-header) .profile-identity{padding:12px 8px 0}
@media(max-width:400px){
  .theme-style-cinematic.has-header .profile-banner .profile-identity{
    left:8px;bottom:8px;gap:3px;max-width:calc(100% - 16px);padding:0;
  }
  .theme-style-cinematic.has-header .profile-banner .profile-avatar-wrap{flex-basis:70px;width:70px}
  .theme-style-cinematic.has-header .profile-banner .profile-avatar{width:70px;height:70px}
  .theme-style-cinematic.has-header .profile-banner .profile-avatar.initials{font-size:20px}
  .theme-style-cinematic.has-header .profile-banner .profile-name{font-size:clamp(15px,4.6vw,19px)}
  .theme-style-cinematic.has-header .profile-banner .profile-headline{font-size:10px}
  .theme-style-cinematic.has-header .profile-banner .profile-identity-copy{padding:3px 10px}
  .theme-style-cinematic .profile-toolbar{gap:5px;padding:4px 7px;min-height:42px}
  .theme-style-cinematic .profile-toolbar .profile-tabs{gap:5px;font-size:12px}
  .theme-style-cinematic .profile-toolbar .profile-tabs a{min-height:32px;padding:5px 7px}
  .theme-style-cinematic .profile-toolbar .profile-mode-toggle{width:32px;height:32px;min-height:32px}
}
@media(prefers-reduced-transparency:reduce){
  .theme-style-cinematic.has-header .profile-banner .profile-identity-copy{background:#151b26;backdrop-filter:none;-webkit-backdrop-filter:none}
}

/* Cinematic capsule and avatar are independent layers, never one padded pill. */
.theme-style-cinematic .profile-toolbar .profile-tabs a[aria-current]{
  background:color-mix(in srgb,var(--profile-surface) 40%,transparent);
  border-color:var(--profile-accent);
}
.theme-style-cinematic .profile-toolbar .profile-tabs a:hover{
  background:color-mix(in srgb,var(--profile-surface) 43%,transparent);
}
:root[data-profile-mode=day] .theme-style-cinematic .profile-toolbar .profile-mode-toggle{
  background:rgba(13,19,31,.78);border-color:rgba(255,255,255,.8);
  color:#fff;box-shadow:0 2px 10px rgba(0,0,0,.22),0 0 0 1px rgba(0,0,0,.13);
}
:root[data-profile-mode=day] .theme-style-cinematic .profile-toolbar [data-theme-mode-label]{
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.62));
}
@keyframes signal-cinematic-avatar-pop{
  0%{opacity:.25;transform:scale(.72) translateY(9px)}
  65%{opacity:1;transform:scale(1.07) translateY(-2px)}
  100%{opacity:1;transform:scale(1) translateY(0)}
}
@keyframes signal-cinematic-name-reveal{
  0%{opacity:0;transform:translateX(-26px);clip-path:inset(0 100% 0 0 round 999px)}
  35%{opacity:1}
  100%{opacity:1;transform:translateX(0);clip-path:inset(0 0 0 0 round 999px)}
}
@media(prefers-reduced-motion:no-preference){
  .theme-style-cinematic .profile-identity.is-cinematic-revealing .profile-avatar{
    animation:signal-cinematic-avatar-pop 650ms cubic-bezier(.2,.8,.2,1) both;
  }
  .theme-style-cinematic .profile-identity.is-cinematic-revealing .profile-identity-copy{
    animation:signal-cinematic-name-reveal 780ms cubic-bezier(.2,.7,.2,1) 135ms both;
  }
}
@media(prefers-reduced-motion:reduce){
  .theme-style-cinematic .profile-identity .profile-avatar,
  .theme-style-cinematic .profile-identity .profile-identity-copy{
    animation:none!important;transform:none!important;clip-path:none!important;
  }
}


/* Profile theme scale and avatar framing — validated settings, no HTML injection. */
.profile-shell .profile-avatar:not(.initials){object-position:center var(--profile-avatar-position,center)}
.profile-shell{font-family:var(--profile-p-font,var(--profile-font));font-size:var(--profile-p-size,16px)}
.profile-shell .profile-name,
.profile-shell .profile-rich-text h1{
  font-family:var(--profile-h1-font,var(--profile-font));
  font-size:clamp(20px,min(var(--profile-h1-size,32px),9vw),var(--profile-h1-size,32px));
}
.profile-shell .profile-rich-text h2,.profile-shell .profile-activity>h2,.profile-shell .profile-contact h2,.profile-shell .shop-public-heading h2{
  font-family:var(--profile-h2-font,var(--profile-font));font-size:var(--profile-h2-size,26px);
}
.profile-shell .profile-rich-text h3,.profile-shell .activity-card h3,.profile-shell .shop-product-details h3{
  font-family:var(--profile-h3-font,var(--profile-font));font-size:var(--profile-h3-size,21px);
}
.profile-shell .profile-rich-text h4{font-family:var(--profile-h4-font,var(--profile-font));font-size:var(--profile-h4-size,18px)}
.profile-shell .profile-bio,.profile-shell .profile-rich-text p,.profile-shell .profile-contact>p,
.profile-shell .shop-public-heading p{
  font-family:var(--profile-p-font,var(--profile-font));font-size:var(--profile-p-size,16px);
}
/* Classic & Compact: equal-width section buttons flank the centered mode control. */
.profile-tabs.with-mode-toggle{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}
.profile-tabs.with-mode-toggle .profile-mode-bar{display:flex;justify-content:center;align-items:center;margin:0;min-width:0}
.profile-tabs.with-mode-toggle .profile-mode-toggle{min-width:66px;min-height:44px;padding:7px 9px;white-space:nowrap}
.theme-style-cinematic.has-header .profile-banner .profile-name{
  font-family:var(--profile-h1-font,var(--profile-font));
  font-size:clamp(16px,min(var(--profile-h1-size,32px),7vw),var(--profile-h1-size,32px));
}
.theme-style-compact .profile-hero .profile-name{font-family:var(--profile-h1-font,var(--profile-font));font-size:clamp(18px,min(var(--profile-h1-size,32px),7vw),var(--profile-h1-size,32px))}
@media(max-width:400px){
  .profile-tabs.with-mode-toggle{gap:5px}
  .profile-tabs.with-mode-toggle a{padding:9px 6px;font-size:clamp(11px,3.7vw,15px)}
  .profile-tabs.with-mode-toggle .profile-mode-toggle{min-width:59px;min-height:40px;padding:5px;font-size:11px}
  .profile-shell .profile-rich-text h2,.profile-shell .profile-contact h2{font-size:min(var(--profile-h2-size,26px),9vw)}
  .profile-shell .profile-rich-text h3{font-size:min(var(--profile-h3-size,21px),7.5vw)}
}

/* Administrator-managed decorative residency title; authorization is separate. */
.residency-avatar-badge{position:absolute;z-index:5;display:inline-block;width:max-content;min-width:0;padding:2px 5px;border:1px solid currentColor;border-radius:4px;background:var(--residency-badge-bg,#ff9900);color:var(--residency-badge-fg,#000);box-shadow:0 2px 8px #0006;font-family:var(--residency-badge-font,system-ui,sans-serif);font-size:var(--residency-badge-size,1rem);font-weight:700;line-height:1.15;letter-spacing:.015em;white-space:normal;overflow-wrap:anywhere;text-align:center}
.theme-style-classic .residency-avatar-badge{left:calc(50% + 63px);bottom:159px;max-width:min(15rem,max(2.5rem,calc(50vw - 76px)))}
.theme-style-compact .residency-avatar-badge{left:85px;bottom:85px;padding:2px 4px;max-width:min(13rem,max(3rem,calc(100vw - 135px)))}
.theme-style-compact .profile-avatar-wrap:has(.residency-avatar-badge)+.profile-identity-copy{align-self:flex-start;padding-top:2.1rem}
.theme-style-compact.has-header .profile-avatar-wrap:has(.residency-avatar-badge)+.profile-identity-copy{padding-top:4px}
.theme-style-compact .profile-identity:has(.residency-avatar-badge) .profile-mode-bar{align-self:center}
@media(max-width:360px){.theme-style-classic .residency-avatar-badge{padding:2px 4px}}
