/* Public pages: warm paper, expressive artwork and varied editorial rhythm. */
.creators-gallery .gallery-search{padding:18px 20px 12px;margin-bottom:24px}
.creators-gallery .gallery-toolbar{grid-template-columns:minmax(230px,2fr) minmax(120px,.7fr) minmax(185px,1.3fr) auto;align-items:stretch}
.creators-gallery .directory-content{padding-bottom:0}
.locale-switch button{gap:0}
.artist-about>.gallery-shell>img{margin:0;width:100%;height:320px;object-fit:contain}
.artist-about .actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin-top:22px}
.artist-about .actions>*{position:static;flex:0 0 auto;min-height:44px;margin:0}
.artist-about .actions .ui-icon{width:17px;height:17px;margin:0;object-fit:contain}
.artist-about .actions .text-button{padding:10px 4px;line-height:1.4}
.artist-gallery .artist-works{padding-block:54px 60px}
.artist-gallery .artist-about{padding-block:28px;background:linear-gradient(120deg,#fff2dd,#fff7f0 60%,#f8e6eb)}
.artist-gallery .artist-about>.gallery-shell{grid-template-columns:38% minmax(0,1fr);gap:55px}
.artist-gallery .artist-about h2{max-width:15ch}
.artist-gallery .artist-recognition{position:relative;isolation:isolate;background:#102e46;color:white;padding-block:44px;margin-block:35px;border-radius:0 32px 32px 0;max-width:1332px}
.artist-gallery .artist-recognition::before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 100% 0,#48747a70,transparent 65%);pointer-events:none;border-radius:inherit}
.artist-gallery .artist-recognition .gallery-intro h2,.artist-gallery .artist-recognition p{color:#f9f1e6}
.artist-gallery .artist-recognition .eyebrow{color:#ffc49d}
.artist-gallery .artist-recognition .gallery-intro>p:not(.eyebrow),.artist-gallery .artist-recognition .artist-detail-note{color:#d2dde4}
.artist-gallery .artist-milestones{padding-left:38px}
.artist-gallery .artist-milestones li{border-color:#ffffff29;padding:21px 12px 21px 20px}
.artist-gallery .artist-milestones li::marker{color:#ffba8f;font-size:32px}
.artist-gallery .artist-milestones p{font-size:15px}
.artist-gallery .artist-recognition-empty{background:#ffffff0c;border-color:#ffba8f}
.artist-gallery .artist-recognition-empty h3{color:#fff8ed}
.artist-gallery .artist-stories{grid-template-columns:minmax(0,1fr);gap:22px;padding-block:26px 48px}
.artist-gallery .artist-stories .gallery-intro{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;align-items:end}
.artist-gallery .artist-stories .gallery-intro .eyebrow{grid-column:1/-1}
.artist-gallery .artist-stories .gallery-intro h2{margin:0}
.artist-gallery .artist-stories .gallery-intro>p:not(.eyebrow){max-width:400px;margin:0;justify-self:end}
.artist-gallery .artist-story-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.artist-gallery .artist-story-grid:has(>.gallery-card:only-child){grid-template-columns:minmax(0,1fr)}
.artist-gallery .artist-story-grid>.gallery-card:only-child{grid-template-columns:1.2fr 1fr;background:#fcf1f3}
.artist-gallery .artist-story-grid>.gallery-card:only-child .card-visual{grid-column:1;grid-row:1;height:230px}
.artist-gallery .artist-story-grid>.gallery-card:only-child .card-body{grid-column:2;grid-row:1;align-self:center;padding:30px 50px 30px 28px}
.artist-gallery .artist-story-grid>.gallery-card:only-child .card-body h3{font-family:'SP Display','SP Hindi Display',Georgia,serif;font-size:32px;line-height:1.2;margin:12px 0}
.artist-gallery .artist-story-grid>.gallery-card:only-child .bookmark-control{grid-column:2;grid-row:1;align-self:end;margin:0 16px 20px 0}
.artist-gallery .artist-story-grid .text-preview{background:linear-gradient(125deg,#fff1dc,#ffe3de);font-size:19px}
.artist-gallery .artist-collections{background:#f0ede5;padding-block:38px 44px;border-block:1px solid #e6ded0}
.artist-gallery .artist-collection-index{counter-reset:collection}
.artist-gallery .artist-collection-summary{counter-increment:collection;background:#fffdf6;border-radius:3px 20px 20px 3px;border-left:5px solid #c88356;position:relative;padding:24px 30px;box-shadow:5px 6px 0 #d9ccba55}
.artist-gallery .artist-collection-summary::before{content:counter(collection,decimal-leading-zero);position:absolute;right:25px;top:14px;font:52px/1 'SP Display',Georgia,serif;color:#dbcab4}
.artist-gallery .artist-collection-summary>h3{max-width:85%;margin-top:18px}
.artist-gallery .artist-collection-summary>.artist-detail-note{padding-right:40px}
.artist-gallery .artist-collaborate{padding-block:52px;gap:55px}
.artist-gallery .artist-contact-panel{background:#f7e5ee;border:0;border-radius:22px;padding:30px 36px}

/* The invitation continues the surrounding warm paper and painted artwork. */
.gallery-page>.gallery-invite{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-block:48px 22px;padding-block:44px;max-width:1332px;border:1px solid #efddc9;border-radius:26px;background:linear-gradient(115deg,#fff2dc,#fffaf0 52%,#f9edf2);box-shadow:0 8px 25px #8a65480a;overflow:hidden}
.gallery-page>.gallery-invite::before{background:url('../design-v2/page-splash.webp') center/cover no-repeat;opacity:.16}
.gallery-page>.gallery-invite{width:calc(100% - 108px)}
.invite-art{position:relative;min-width:0;align-self:center}
.gallery-invite .invite-art>.gallery-note{font-family:'SP Display','SP Hindi Display',Georgia,serif;font-style:italic;font-size:clamp(29px,3vw,44px)!important;color:#705079!important;margin:0 0 12px;line-height:1.1!important;transform:rotate(-4deg)}
.gallery-invite .invite-art>img{display:block;width:110%;max-width:none;height:auto;object-fit:contain;margin-left:-5%;border-radius:12px;mix-blend-mode:multiply}
.gallery-invite .invite-copy{grid-column:auto;padding:0 0 0 12px}
.gallery-invite .invite-copy>.eyebrow{display:inline-block;color:#743b6e;background:#fff8;border:1px solid #ffffffa6;border-radius:20px;padding:6px 11px;font-size:10px;letter-spacing:.16em;margin:0 0 15px}
.gallery-invite .invite-copy h2{font-family:'SP Display','SP Hindi Display',Georgia,serif;font-size:clamp(36px,4vw,56px);line-height:1.06;color:#102e4a;font-weight:400;letter-spacing:-.035em;margin:0 0 18px}
.gallery-invite .invite-copy>p:not(.eyebrow){font-size:14px;line-height:1.75;color:#435971;max-width:430px;margin:0 0 18px}
.invite-benefits{list-style:none;padding:0;margin:0 0 25px;display:grid;gap:9px;font-size:12px;color:#43536a}
.invite-benefits li::before{content:'✓';color:#aa4c68;margin-right:10px}
.gallery-invite .button.coral{min-height:54px;font-size:14px;padding:14px 26px;background:#3c2358;border:1px solid #3c2358;color:white;box-shadow:0 6px 18px #3c235826}
.gallery-invite .button.coral:hover{background:#56316f;border-color:#56316f;color:white}
.invite-footnote{display:block;font-size:10px;color:#6e6473;margin-top:14px;line-height:1.5}

/* Creator directory, inspired by the supplied painted portrait and cover cards. */
.creators-hero{display:grid;grid-template-columns:48% 52%;align-items:center;position:relative;min-height:370px;padding-block:36px 20px}
.creators-hero>div{position:relative;z-index:1}
.creators-hero h1{font-size:clamp(46px,5vw,72px);line-height:1.03;margin:14px 0 20px}
.creators-hero h1 em{font-weight:400;color:#ba397a}
.creators-hero .creativity-word{max-width:460px;margin:4px 0 0 -8px}
.creators-hero>div>p:not(.eyebrow){font-size:17px;max-width:440px;line-height:1.65;margin:0 0 10px}
.creators-hero>div>.creators-hero-note{font-size:13px;color:#7b6474}
.creators-hero>img{width:calc(100% + 54px);max-width:none;height:355px;object-fit:contain;object-position:right center;margin-left:-18px}
.directory-content{padding-bottom:30px}
.directory-categories{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0 22px}
.directory-categories a{padding:11px 19px;font-size:12px;border:1px solid #e9e2e9;border-radius:10px;background:#fff;min-height:44px;display:inline-flex;align-items:center;box-shadow:0 3px 10px #28364d05}
.directory-categories a[aria-current],.directory-categories a.is-current{background:linear-gradient(110deg,#ff873a,#f3448c 60%,#a02cec);color:#fff;border-color:transparent}
.directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.directory-card{background:#fff;border:1px solid #ece5e9;border-radius:15px;overflow:hidden;min-width:0;display:flex;flex-direction:column;box-shadow:0 4px 20px #20334b06}
.directory-card>a{display:block;flex:1}
.directory-cover{height:110px;background:linear-gradient(120deg,#fff1d4,#f7c9bb);overflow:hidden;position:relative}
.directory-cover::before{content:'';position:absolute;inset:0;background:url('../design-v2/explore-landscape.webp') center/cover;opacity:.6}
.directory-cover>img{position:relative;width:65%;height:150%;margin-top:-25px;object-fit:contain;margin-left:35%;transform:rotate(-12deg);mix-blend-mode:multiply}
.directory-card:nth-child(4n+2) .directory-cover{background:linear-gradient(120deg,#d9e4eb,#c9d7ed)}
.directory-card:nth-child(4n+3) .directory-cover{background:linear-gradient(120deg,#f9dcf2,#e7c8eb)}
.directory-card:nth-child(4n+4) .directory-cover{background:linear-gradient(120deg,#d7eeea,#dde6c8)}
.directory-person{display:flex;align-items:center;gap:11px;position:relative;padding:0 17px;margin-top:-28px;min-height:85px}
.directory-avatar{width:76px;height:76px;flex:0 0 76px;object-fit:cover;border-radius:50%;border:4px solid white;background:#fff}
.gallery-page .directory-person h2{font:600 15px/1.35 var(--sans);letter-spacing:0;margin:25px 0 3px;overflow-wrap:anywhere}
.directory-person>div{min-width:0}
.directory-person p{font-size:10px;margin:0;color:#64718a}
.directory-person .demo-label{position:static;font-size:8px;margin-top:25px;margin-left:auto;align-self:center;white-space:nowrap;background:#f7e9f0}
.directory-bio{padding:0 18px;font-size:12px;line-height:1.65!important;margin:8px 0 13px;min-height:60px;overflow-wrap:anywhere}
.directory-tags{display:flex;flex-wrap:wrap;gap:6px;padding:0 18px 17px}
.directory-tags span{background:#f5e9fb;color:#754b8a;font-size:10px;border-radius:14px;padding:4px 10px}
.directory-bottom{display:flex;gap:8px;justify-content:space-between;align-items:center;margin:0 18px;padding:14px 0;border-top:1px solid #f0eaf0}
.directory-bottom>span{font-size:10px;color:#557367;line-height:1.5;max-width:125px}
.directory-bottom .button{font-size:11px;min-height:36px;padding:7px 12px}

/* Artwork: a viewing gallery, poetry paper, story reader, and media player. */
.artwork-page{padding-block:25px 65px}
.artwork-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px;color:#63738c;margin:0 0 24px;line-height:1.7}
.artwork-breadcrumb [aria-current]{color:#17374f;overflow-wrap:anywhere}
.artwork-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start;gap:38px}
.artwork-stage{min-width:0}
.artwork-page .work-media{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:17px;scrollbar-width:thin;background:#ede7df}
.artwork-page .work-media figure{margin:0;min-width:100%;flex:0 0 100%;scroll-snap-align:start;scroll-margin-top:100px}
.artwork-page .work-media img{width:100%;height:auto;max-height:650px;min-height:340px;object-fit:contain;display:block;background:#f1eae3}
.artwork-page .work-media figcaption{font-size:11px;padding:10px 16px;color:#4e5968}
.artwork-thumbs{display:flex;gap:9px;margin-top:12px;overflow-x:auto;padding:3px}
.artwork-thumbs a{border:2px solid #e5d6c5;border-radius:8px;overflow:hidden;flex:0 0 88px}
.artwork-thumbs a:hover,.artwork-thumbs a:focus-visible{border-color:#f36f4e}
.artwork-thumbs img{width:88px;height:66px;object-fit:cover}
.artwork-kind{display:inline-block;font-size:11px;background:#dff4f4;color:#217286;border-radius:18px;padding:6px 13px;margin-bottom:14px}
.gallery-page .artwork-meta h1{font-size:clamp(35px,3.8vw,54px);line-height:1.1;margin:0 0 17px;overflow-wrap:anywhere}
.artwork-description{font-size:15px;line-height:1.7!important;margin-bottom:22px;white-space:pre-line}
.artwork-creator{display:flex;gap:12px;align-items:center;margin:0 0 22px}
.artwork-creator img{width:50px;height:50px;object-fit:cover;border-radius:50%}
.artwork-creator strong{font-size:14px;display:block;margin-bottom:4px}
.artwork-creator small{font-size:10px;color:#60718b;line-height:1.5;display:block}
.artwork-page .actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.artwork-page .actions .button{font-size:12px;min-height:43px;padding:11px 18px}
.artwork-facts{border-block:1px solid #e8e0d6;margin:24px 0 15px;padding:14px 0;display:grid;gap:13px}
.artwork-facts>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;font-size:11px;line-height:1.6}
.artwork-facts dt{color:#698098}
.artwork-facts dd{margin:0;color:#28475f;overflow-wrap:anywhere}
.artwork-enquiry-note{font-size:10px;line-height:1.7!important;margin:14px 0}
.artwork-report{font-size:10px;min-height:36px;color:#6a6a7b}
.artwork-context{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;margin:35px 0 44px}
.artwork-context>section,.artwork-context>aside{padding:28px 30px;border-radius:18px;min-width:0}
.artwork-about{background:linear-gradient(125deg,#fff0dd,#fffdfa);border:1px solid #f4e5d7}
.artwork-author{background:linear-gradient(120deg,#fcecf2,#f4eefb)}
.artwork-context h2{font-size:30px;margin:0 0 16px}
.artwork-context p:not(.eyebrow){font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.artwork-context .button{font-size:11px;margin-top:10px}
.artwork-section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.artwork-section-heading h2{font-size:36px;margin:0}
.artwork-section-heading>.text-button{font-size:12px;white-space:nowrap}
.reading-surface{position:relative;padding:38px 40px;min-height:460px;border:1px solid #e9d6b8;border-radius:15px;box-shadow:0 5px 22px #4a382b08;background:#fffbf0}
.reading-surface.is-poetry{background:radial-gradient(ellipse at 95% 95%,#ced7c6aa,transparent 55%),radial-gradient(ellipse at 0 0,#f2ceab66,transparent 60%),#fff7e5;text-align:center;padding:42px}
.reading-surface.is-poetry::after{content:'';width:75px;height:5px;border-radius:80%;background:#cc8f6d;display:block;margin:28px auto 0;transform:rotate(-3deg)}
.reading-category{display:inline-block;padding:5px 12px;background:#f8e0c2;color:#946642!important;border-radius:18px;font-size:10px;margin:0 0 20px}
.gallery-page .reading-surface h2{font-size:32px;line-height:1.4;letter-spacing:0;margin:0 0 24px;overflow-wrap:anywhere}
.reading-body{font-family:'SP Display','SP Hindi Display',Georgia,serif;font-size:23px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;color:#283c4b}
.is-story .reading-body{font-family:var(--sans);font-size:16px;line-height:1.95}
.reading-signature{font-size:12px;margin:28px 0 0;color:#7c6655!important}
.artwork-page .embed-box{padding:0;border:0;background:transparent}
.artwork-page .video-cover{min-height:280px;border-radius:15px;overflow:hidden;background:#183b50}
.artwork-page .video-cover>img{width:100%;object-fit:cover;min-height:280px}
.artwork-page .video-cover .button{background:#fff9ef;color:#17384e;box-shadow:0 4px 20px #0003}
.artwork-page .video-cover .button>.ui-icon{filter:none!important}
.artwork-page .embed-box .text-button{font-size:12px}
.artwork-page .external-notice{font-size:10px;line-height:1.7;margin:12px 0}
.artwork-page .media-frame iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:15px}
html[lang=hi] .creators-hero h1,html[lang=hi] .gallery-invite .invite-copy h2{line-height:1.35}
@media(max-width:700px){.creators-hero .creativity-word{max-width:340px;margin-left:-6px}}
@media(max-width:1100px){.gallery-page>.gallery-invite{width:calc(100% - 70px)}}
@media(max-width:700px){.gallery-page>.gallery-invite{width:calc(100% - 36px)}}
@media(max-width:1100px){
 .directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-search{grid-template-columns:2fr 1fr 1.4fr}.directory-search>.gallery-query{grid-column:1/-1}.directory-search>.text-button{margin:0}.creators-hero{grid-template-columns:50% 50%;min-height:300px}.creators-hero>img{height:300px}.creators-hero h1{font-size:52px}.gallery-page>.gallery-invite{margin-inline:35px}.artwork-layout{gap:25px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.reading-surface,.reading-surface.is-poetry{padding:28px}.reading-body{font-size:21px}.artwork-facts>div{grid-template-columns:90px 1fr}.artwork-context{grid-template-columns:1fr 1fr}.artist-gallery .artist-about>.gallery-shell{gap:30px}
}
@media(max-width:700px){
 .artist-gallery .artist-works{padding-block:32px}.artist-gallery .artist-about>.gallery-shell{grid-template-columns:1fr;gap:8px}.artist-about>.gallery-shell>img{height:230px}.artist-gallery .artist-about h2{max-width:none}.artist-gallery .artist-recognition{margin-block:24px;padding-block:32px;border-radius:0 24px 24px 0}.artist-gallery .artist-milestones{padding-left:30px}.artist-gallery .artist-milestones p{font-size:13px}.artist-gallery .artist-stories{padding-block:10px 30px}.artist-gallery .artist-stories .gallery-intro{grid-template-columns:1fr;gap:12px}.artist-gallery .artist-stories .gallery-intro>p:not(.eyebrow){justify-self:start;max-width:none}.artist-gallery .artist-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.artist-gallery .artist-story-grid>.gallery-card:only-child{grid-template-columns:1fr}.artist-gallery .artist-story-grid>.gallery-card:only-child .card-visual{grid-column:1;grid-row:1;height:215px}.artist-gallery .artist-story-grid>.gallery-card:only-child .card-body{grid-column:1;grid-row:2;padding:20px 45px 23px 22px}.artist-gallery .artist-story-grid>.gallery-card:only-child .card-body h3{font-size:28px;margin:8px 0}.artist-gallery .artist-story-grid>.gallery-card:only-child .bookmark-control{grid-column:1;grid-row:2;align-self:center}.artist-gallery .artist-collections{padding-block:30px}.artist-gallery .artist-collaborate{gap:20px;padding-block:32px}.artist-gallery .artist-contact-panel{padding:25px}
 .gallery-page>.gallery-invite{grid-template-columns:1fr;gap:18px;margin:32px 18px 10px;padding:25px 24px 30px;border-radius:22px}.gallery-invite .invite-art{display:grid;grid-template-columns:40% 60%;align-items:center}.gallery-invite .invite-art>.gallery-note{font-size:28px!important;max-width:none;margin:0}.gallery-invite .invite-art>img{width:115%;margin-left:-8%}.gallery-invite .invite-copy{padding:5px 0 0;grid-column:auto}.gallery-invite .invite-copy h2{font-size:39px}.gallery-invite .invite-copy>p:not(.eyebrow){font-size:13px}.invite-benefits{font-size:12px;gap:8px}.gallery-invite .button.coral{width:100%;font-size:12px}.invite-footnote{font-size:9px;text-align:center}
 .creators-hero{grid-template-columns:1fr;padding-top:25px;padding-bottom:0}.creators-hero h1{font-size:48px;max-width:360px;margin:12px 0 16px}.creators-hero>div>p:not(.eyebrow){font-size:14px;max-width:420px}.creators-hero>div>.creators-hero-note{font-size:12px}.creators-hero>img{height:auto;max-height:270px;object-fit:contain;width:calc(100% + 48px);margin:0 -24px}.directory-categories{margin:8px 0 20px;gap:8px}.directory-categories a{padding:10px 14px;font-size:11px}.directory-search{grid-template-columns:1fr 1fr;gap:10px 12px}.directory-search>.gallery-query{grid-column:1/-1}.directory-search>.text-button{align-self:center;margin:0;justify-self:center}.directory-grid{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.directory-cover{height:90px}.directory-person{display:block;padding:0 12px;margin-top:-30px}.directory-avatar{width:65px;height:65px}.gallery-page .directory-person h2{margin:8px 0 4px;font-size:15px}.directory-person .demo-label{position:absolute;right:12px;top:45px;margin:0}.directory-bio{padding:0 12px;font-size:11px;margin:12px 0;min-height:0}.directory-tags{padding:0 12px 12px;gap:5px}.directory-tags span{font-size:9px;padding:4px 8px}.directory-bottom{margin:0 12px;flex-wrap:wrap;gap:10px;padding:12px 0}.directory-bottom>span{font-size:9px;max-width:none}.directory-bottom .button{width:100%}.directory-join{flex-direction:column;align-items:start;padding:25px;gap:20px;margin-top:28px}.directory-join h2{font-size:30px}.directory-join .button{width:100%}
 .artwork-page{padding-block:18px 40px}.artwork-breadcrumb{font-size:10px;gap:7px;margin-bottom:20px}.artwork-layout{grid-template-columns:1fr;gap:25px}.artwork-page .work-media img{min-height:0;max-height:520px}.artwork-meta{order:0}.gallery-page .artwork-meta h1{font-size:39px}.artwork-description{font-size:14px}.artwork-facts>div{grid-template-columns:110px 1fr;font-size:12px}.artwork-enquiry-note{font-size:11px}.artwork-report{font-size:11px;min-height:44px}.artwork-context{grid-template-columns:1fr;gap:15px;margin:25px 0 35px}.artwork-context>section,.artwork-context>aside{padding:25px}.artwork-context h2{font-size:29px}.artwork-section-heading h2{font-size:31px}.artwork-section-heading{align-items:center;gap:12px}.reading-surface,.reading-surface.is-poetry{padding:30px 24px;min-height:380px}.reading-body{font-size:21px}.gallery-page .reading-surface h2{font-size:29px}.is-story .reading-body{font-size:15px}.artwork-page .video-cover,.artwork-page .video-cover>img{min-height:200px}
}
@media(max-width:380px){.directory-grid{grid-template-columns:1fr}.directory-person{display:flex}.gallery-page .directory-person h2{margin-top:25px}.directory-person .demo-label{position:static;margin:25px 0 0 auto}.directory-bottom{flex-wrap:nowrap}.directory-bottom .button{width:auto}.creators-hero h1{font-size:42px}.gallery-invite .invite-copy h2{font-size:35px}.artist-about .actions{gap:12px}.artwork-page .actions .button{padding-inline:13px}}

/* Keep the shared invitation close to its results. */
.gallery-page:has(>.gallery-invite){padding-bottom:0}
.gallery-page>.gallery-invite{margin-block:28px 0}
.explore-gallery .gallery-load,.creators-gallery .gallery-load{padding-block:22px 6px}
@media(max-width:1100px){.creators-gallery .gallery-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}.creators-gallery .gallery-query{grid-column:1/-1}}
@media(max-width:700px){.creators-gallery .gallery-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.creators-gallery .gallery-toolbar>.button{grid-column:1/-1}.gallery-page>.gallery-invite{margin-block:22px 0}.creators-gallery .gallery-search{padding:15px 14px 10px}.creators-gallery .gallery-filter-reset>span{max-width:180px}}

/* A full-width invitation section leaves room for the original footer wave. */
.gallery-page>.gallery-invite{display:block;width:100%;max-width:none;margin:28px 0 0;padding:0;border:0;border-radius:0;box-shadow:none;overflow:visible;background:linear-gradient(115deg,#ffe1c5,#f8d8e6 56%,#e9ddf6)}
.gallery-invite::after{content:'';position:absolute;inset:0 0 auto;height:8px;background:linear-gradient(90deg,#ff9850,#ec5e9f 40%,#a075dc 72%,#67afcb);clip-path:polygon(0 30%,9% 10%,22% 25%,38% 0,52% 20%,67% 5%,82% 28%,100% 10%,100% 75%,87% 95%,73% 75%,58% 100%,43% 80%,28% 100%,13% 78%,0 100%);pointer-events:none}
.gallery-invite>.invite-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center;padding-block:44px 88px}
@media(max-width:1100px){.gallery-invite>.invite-inner{gap:22px}}
@media(max-width:700px){.gallery-page>.gallery-invite{margin-top:22px}.gallery-invite>.invite-inner{grid-template-columns:minmax(0,1fr);gap:18px;padding:28px 24px 76px}}

/* Keep the preview and external player in one reserved area, above its notice. */
.embed-box>.media-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:15px;background:#183b50}
.embed-box>.media-frame>.video-cover{position:absolute;inset:0;min-height:0;height:100%;aspect-ratio:auto;margin:0;border-radius:inherit}
.embed-box>.media-frame>.video-cover>img{min-height:0;width:100%;height:100%}
.embed-box>.media-frame>iframe{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;aspect-ratio:auto;border:0;border-radius:inherit}
#main .embed-box .video-cover .button{min-height:48px;padding:10px 20px;gap:10px}
#main .embed-box .video-cover .button .ui-icon{position:static;width:22px;height:22px;min-width:22px;min-height:0;flex:0 0 22px;object-fit:contain}
