/* VoughtLTE Prism 29 — small screens first, without replacing old core styles. */
:root{--pr29-bg:#171226;--pr29-surface:#241d37;--pr29-stroke:#65517e;--pr29-accent:#af8aff}
html{scroll-padding-top:74px;-webkit-text-size-adjust:100%}body{min-width:0!important}img,video,canvas{max-width:100%}
[hidden]{display:none!important}
/* Explore: highlighted creators and smaller accounts are different groups. */
.pr29-discovery-title{margin:30px 0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #6752805c;padding-top:21px}
.pr29-discovery-title h3{margin:3px 0 5px!important;font-size:clamp(18px,2.4vw,22px);line-height:1.25}
.pr29-discovery-title p:not(.pr29-overline){margin:0;color:#bbadd2;font-size:13px;line-height:1.5}
.pr29-overline{color:#bba7f7;font-size:10px;letter-spacing:.15em;font-weight:800;margin:0!important}
.pr29-discovery-title>img{width:55px;height:55px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 0 12px #b48cfd77)}
.pr29-suggest-title{margin-top:33px}
.pr29-people-grid, #featuredCreators.v11-people{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,158px),1fr))!important;gap:12px!important;width:100%;align-items:stretch}
.pr29-creator-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;text-align:center;border:1px solid #5d4d79;background:linear-gradient(155deg,#302341,#201b34 60%,#1a192d);border-radius:19px;padding:17px 12px 12px;position:relative;isolation:isolate;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.pr29-creator-card::before{content:'✦';position:absolute;top:8px;right:12px;font-size:12px;color:#a999cf65}
.pr29-creator-card:hover{border-color:#b59af0;transform:translateY(-2px);box-shadow:0 10px 25px #0003}
.pr29-person-link{min-width:0;display:flex!important;flex-direction:column;align-items:center;gap:5px;color:#f7f0ff!important;text-decoration:none!important}
.pr29-creator-photo{width:76px!important;height:76px!important;display:block!important;flex:none!important;border-radius:50%!important;overflow:hidden!important;padding:3px!important;background:linear-gradient(125deg,#a8ddfa,#ab83ed,#ec86c1);box-shadow:0 0 0 4px #ffffff0a;margin:0 auto 7px!important}
.pr29-creator-photo img{width:100%!important;height:100%!important;aspect-ratio:1!important;display:block!important;border-radius:50%!important;object-fit:cover!important;background:#171326}
.pr29-creator-name{font-size:14px!important;font-weight:800!important;line-height:1.3;color:var(--name-hue,#f0e6ff)!important;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr29-creator-handle{font-size:12px;color:#baaed3;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr29-creator-stats{font-size:11px;color:#a99fc1}
.pr29-follow,.pr29-me{display:block;margin:13px 0 0!important;width:100%!important;min-height:39px!important;border-radius:11px!important;border:1px solid #866dc1!important;background:linear-gradient(125deg,#765add,#9f74e1)!important;color:white!important;font-size:12px!important;font-weight:800!important;padding:8px!important;text-align:center;cursor:pointer}
.pr29-follow.is-following,.pr29-me{background:#2b2441!important;color:#d2c4f6!important}
.pr29-follow:disabled{opacity:.65;cursor:wait}.pr29-follow:focus-visible,.pr29-refresh:focus-visible{outline:3px solid #bbecff;outline-offset:3px}
.pr29-people-empty{grid-column:1/-1;padding:16px;color:#c2b4d8;border:1px dashed #6b5686;border-radius:13px;font-size:13px}
.pr29-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px!important;margin:12px 0 0;border-radius:11px;border:1px solid #6c587e;color:#d9c5ff;background:#302541;font-weight:750;font-size:12px;cursor:pointer}
.pr29-refresh:hover{border-color:#a98bea;background:#3b2c56}.pr29-refresh:disabled{opacity:.55}
.v11-discover>.v11-find{max-width:100%!important}.v11-discover>.v11-people:not(.pr29-people-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}
.pr29-aside-divider{height:1px;background:#5e4d756e;margin:20px 0 15px}
.pr29-community-suggest-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:4px 0 13px}
.pr29-community-suggest-head div{min-width:0;display:grid;gap:4px}.pr29-community-suggest-head b{font-size:16px}.pr29-community-suggest-head small{color:#bbaed3;font-size:11px}
.pr29-community-suggest-head img{width:46px;height:46px;object-fit:contain;image-rendering:pixelated}
.pr29-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.pr29-community-grid .pr29-creator-card{padding:12px 8px 9px}
.pr29-community-grid .pr29-creator-photo{height:58px!important;width:58px!important}
.pr29-community-grid .pr29-creator-name{font-size:12px!important}
/* Small, predictable native site menu on mobile. */
.pr29-menu-toggle{display:none;align-items:center;justify-content:center;gap:7px;border:1px solid #73608e;border-radius:11px;color:#e9dcff;background:#29203c;font:700 12px system-ui;min-height:40px;min-width:40px;padding:7px 10px;cursor:pointer;flex:none}
.pr29-menu-toggle>span:first-child{font-size:20px;line-height:1}
.pr29-mobile-panel{display:none;position:fixed;top:calc(63px + env(safe-area-inset-top));right:10px;left:10px;z-index:99999;background:linear-gradient(160deg,#272039,#151222);border:1px solid #8065a5;border-radius:18px;box-shadow:0 22px 80px #000b;padding:10px;max-height:calc(100dvh - 78px - env(safe-area-inset-top));overflow-y:auto;overscroll-behavior:contain}
.pr29-mobile-intro{padding:6px 9px 11px;display:grid;gap:3px;border-bottom:1px solid #6a52754d;margin-bottom:5px}.pr29-mobile-intro b{font-size:14px;color:#fff}.pr29-mobile-intro small{font-size:11px;color:#b8a9d0}
.pr29-menu-link{display:flex;align-items:center;gap:11px;min-height:41px;padding:7px 10px;border-radius:10px;color:#eee6ff!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important}
.pr29-menu-link:hover,.pr29-menu-link.is-current{background:#443457;color:white!important}.pr29-menu-icon{width:24px;display:inline-flex;justify-content:center;font-size:16px;color:#b59df6}
/* Complete, letterboxed images/videos rather than clipping them like cover backgrounds. */
#detailDialog #detailBody,#detailDialog .v11-detail-media{min-width:0;overflow:hidden}
#detailDialog #detailBody :is(img,video){width:100%!important;height:auto!important;max-height:min(74dvh,850px)!important;object-fit:contain!important;object-position:center center!important;display:block!important;margin:auto;background:#0c0a13}
#detailDialog video{aspect-ratio:auto!important}
.feed :is(.postcard,.pr24-card) :is(img,video){object-fit:contain!important;object-position:center!important;background:#100e1b}
.pr25-reel-video{object-fit:contain!important;object-position:center center!important;background:#07050e!important;width:100%!important;height:100%!important;max-height:100dvh!important}
/* Explain upload constraints at selection time; no fake support for HEIC. */
.pr29-media-help{font-size:12px;line-height:1.5;color:#baaacf;margin:9px 0}
.pr29-file-error{color:#ffb3bf!important}
.pr29-upload-preview{display:grid;justify-items:start;gap:8px;padding:11px;border-radius:12px;background:#241b35;border:1px solid #56466e;margin:10px 0}
.pr29-upload-preview :is(img,video){width:auto;height:auto;max-width:100%;max-height:210px;object-fit:contain;border-radius:8px}
.pr29-upload-file{font-size:11px;color:#c7b9dd;overflow-wrap:anywhere}
/* Library rework progressively enhances page when source template includes this stylesheet/script. */
.pr29-library-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;border:1px solid #685184;border-radius:22px;background:radial-gradient(circle at 90% 0%,#67468488,transparent 45%),linear-gradient(145deg,#251a3a,#16182a);padding:clamp(18px,3vw,30px);margin:14px 0 22px;overflow:hidden}
.pr29-library-hero h1{font-size:clamp(23px,3.8vw,39px)!important;line-height:1.18;margin:8px 0 10px!important;color:#eee5ff}
.pr29-library-hero p{max-width:570px;font-size:14px;line-height:1.55;color:#c4bad7}
.pr29-library-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.pr29-library-shortcut{font-size:12px!important;text-decoration:none!important;background:#3a2c52;border:1px solid #8168aa;padding:10px 13px;border-radius:12px;color:#eee2ff!important;min-height:40px}
.pr29-library-art{display:flex;gap:9px}.pr29-library-art img{width:clamp(40px,7vw,76px);height:clamp(40px,7vw,76px);object-fit:contain;image-rendering:pixelated;animation:pr29-float 4s ease-in-out infinite}.pr29-library-art img:nth-child(2){animation-delay:-1.2s}.pr29-library-art img:nth-child(3){animation-delay:-2.2s}
@keyframes pr29-float{50%{transform:translateY(-6px)}}
/* Trim giant menus and editor toolbar on touch screens. */
@media(max-width:780px){
 html,body{max-width:100%;overflow-x:clip}
 body.pr29-nav-ready>header,body.pr29-nav-ready>.topbar{min-width:0!important;min-height:56px!important;gap:8px!important;padding:8px max(10px,env(safe-area-inset-right))!important;flex-wrap:nowrap!important;align-items:center!important}
 body.pr29-nav-ready>header .brand{margin-right:auto!important;min-width:0!important;flex:0 1 auto!important}
 body.pr29-nav-ready>header .brand :is(b,span){white-space:nowrap}
 body.pr29-nav-ready>header>nav,body.pr29-nav-ready>header>.nav,body.pr29-nav-ready>header>.home-more{display:none!important}
 body.pr29-nav-ready>header .pr29-menu-toggle,body.pr29-nav-ready>.topbar .pr29-menu-toggle,body.pr29-nav-ready header.top .pr29-menu-toggle{display:inline-flex!important;order:100}
 body.pr29-nav-ready .pr29-mobile-panel:not([hidden]){display:block!important}
 .pr29-mobile-panel{top:calc(62px + env(safe-area-inset-top))}
 .community-layout{width:100%!important;max-width:100%!important;padding:0 10px!important;gap:15px!important}
 .community-layout>.feed,.community-layout>.community-side{width:100%!important;max-width:100%!important;min-width:0!important}
 .community-side .panel,.feed :is(.panel,.postcard,.pr24-card){max-width:100%!important;min-width:0!important}
 .v11-discover{padding:16px!important}
 .pr29-people-grid,#featuredCreators.v11-people{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #detailDialog{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;box-sizing:border-box!important;border-radius:0!important;padding:0!important;overflow-y:auto!important;background:#171324!important;overscroll-behavior:contain}
 #detailDialog .v11-detail-head{position:sticky!important;top:0!important;z-index:5!important;background:#171324!important;padding:11px 13px!important;min-height:48px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px}
 #detailDialog .v11-detail-grid{display:flex!important;flex-direction:column!important;gap:0!important;width:100%!important;max-width:100%!important;max-height:none!important;overflow:visible!important}
 #detailDialog .v11-detail-media{flex:none!important;width:100%!important;height:auto!important;max-height:min(58dvh,610px)!important;min-height:0!important;background:#080712!important;padding:0!important;display:grid!important;place-items:center!important}
 #detailDialog #detailBody{display:grid!important;place-items:center!important;width:100%!important;min-height:0!important;height:auto!important;max-height:min(58dvh,610px)!important;overflow:hidden!important;background:#090713!important}
 #detailDialog #detailBody :is(img,video){display:block!important;width:100%!important;height:auto!important;max-height:min(58dvh,610px)!important;min-height:0!important;object-fit:contain!important;border-radius:0!important;background:#08070e!important}
 #detailDialog .v11-detail-social{width:100%!important;max-width:100%!important;min-width:0!important;display:block!important;max-height:none!important;overflow:visible!important;padding:17px clamp(12px,4vw,21px) 35px!important;box-sizing:border-box!important}
 #detailDialog #comments{max-height:none!important;overflow:visible!important}
 #detailDialog .v11-post-description{overflow-wrap:anywhere}
 .pr25-reel-viewer{margin:0!important;padding:0!important;max-width:100vw!important;max-height:100dvh!important;width:100vw!important;height:100dvh!important;border-radius:0!important}
 .pr25-reel-slide{height:100dvh!important;min-height:100dvh!important;scroll-snap-align:start}
 .pr25-reel-foot{max-width:calc(100vw - 90px)!important;left:max(13px,env(safe-area-inset-left))!important}
 .pr25-reel-comments{max-width:100%!important}
 :is(.pr24-card-actions,.v11-detail-social,.postinfo,.feedhead){min-width:0!important}
 .pr24-card-actions :is(button,a){min-width:0;touch-action:manipulation}
 body:has(.top) .top{min-height:54px!important;gap:6px!important;padding:7px 9px!important}
 .top :is(button,.ghost),.tools .tool{min-height:38px!important}
 body.pr29-nav-ready>.topbar{flex-wrap:wrap!important}
 body.pr29-nav-ready>.topbar>.tabs{order:110;flex:1 1 100%!important;max-width:100%!important;overflow-x:auto!important;display:flex!important;scrollbar-width:thin;flex-wrap:nowrap!important;gap:5px!important}
 body.pr29-nav-ready>.topbar>.tabs>*{flex:none!important;min-height:40px!important}
 :is(.photo-app,.studio-app,.video-app,.workspace,.editor-layout){min-width:0!important;max-width:100vw!important}
 .pr29-library-art img{width:44px;height:44px}
}
@media(max-width:390px){
 body.pr29-nav-ready>header{gap:5px!important;padding-inline:7px!important}
 .pr29-menu-toggle{padding:6px 8px!important;font-size:11px!important;min-width:40px!important;max-width:72px!important}
 body.pr29-nav-ready>header .brand small{display:none!important}
 .pr29-creator-card{padding:12px 8px 10px!important}.pr29-creator-photo{height:64px!important;width:64px!important}
 .pr29-creator-name{font-size:12px!important}.pr29-creator-handle{font-size:11px!important}
 .pr29-follow{min-height:38px!important;font-size:11px!important}
 .pr29-library-hero{grid-template-columns:1fr}.pr29-library-art{justify-content:flex-start}.pr29-library-hero h1{font-size:25px!important}
 .pr25-reel-actions{right:8px!important}
}
@media(max-width:340px){
 .pr29-people-grid,#featuredCreators.v11-people{gap:7px!important}
 .pr29-creator-card{padding-inline:6px!important}
 .pr29-creator-photo{width:54px!important;height:54px!important}
 .pr29-creator-name{font-size:11px!important}
 .community-layout{padding-inline:6px!important}
 #detailDialog .v11-detail-social{padding-inline:10px!important}
}
@media(prefers-reduced-motion:reduce){.pr29-library-art img{animation:none}.pr29-creator-card{transition:none;transform:none!important}}
/* Give featured creators in Community the same approachable avatar-first layout. */
#v11CommunityFeatured.v11-people-strip{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
#v11CommunityFeatured .pr24-creator{display:flex!important;flex-direction:column!important;align-items:stretch!important;border:1px solid #65517e;border-radius:17px!important;background:linear-gradient(160deg,#30243d,#211c35)!important;padding:11px!important;min-width:0!important;text-align:center}
#v11CommunityFeatured .pr24-creator>a{display:flex!important;flex-direction:column!important;gap:5px!important;align-items:center!important;min-width:0!important;text-decoration:none!important}
#v11CommunityFeatured .pr24-creator a img{width:63px!important;height:63px!important;object-fit:cover!important;aspect-ratio:1!important;border-radius:50%!important;padding:3px!important;border:2px solid #ba9bea;background:#21182e}
#v11CommunityFeatured .pr24-creator :is(strong,small){display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#v11CommunityFeatured .pr24-creator strong{font-size:12px!important;color:#f4e8ff}#v11CommunityFeatured .pr24-creator small{font-size:11px!important;color:#bdaed4}
#v11CommunityFeatured .pr24-creator-follow{width:100%!important;min-width:0!important;min-height:38px!important;margin:11px 0 0!important;padding:7px 5px!important;font-size:12px!important;border-radius:10px!important}
/* Preserve every bit of a photo/video inside its original aspect ratio. */
.feed .postcard .card-open>img,.feed .postcard .card-open>video{object-fit:contain!important;object-position:center!important;max-height:min(76dvh,720px)!important;height:auto!important;width:100%!important;background:#100e1b!important}
/* Additional touch-friendly polish for the library, without changing project data. */
.pr29-library-page :is(.library-card,.project-card,.gallery-card,.saved-card){border:1px solid #624c79!important;border-radius:16px!important;overflow:hidden;background:#251c37;min-width:0;transition:border-color .2s ease,transform .2s ease}
.pr29-library-page :is(.library-card,.project-card,.gallery-card,.saved-card):hover{border-color:#a989e5!important;transform:translateY(-2px)}
.pr29-library-page :is(.library-card,.project-card,.gallery-card,.saved-card) :is(img,video){max-width:100%;object-fit:contain}
.pr29-library-page :is(.library-grid,.project-grid,.gallery-grid){display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:14px;min-width:0}
@media(max-width:420px){.pr29-library-page :is(.library-grid,.project-grid,.gallery-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pr29-library-hero{padding:17px}}
