@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750;800;900&display=swap');
:root{color-scheme:dark;font-family:Inter,Arial,sans-serif;background:#090909;color:#f7f7f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0;border-top:4px solid #bde6e7}button,a,select,input{-webkit-tap-highlight-color:transparent}button,select,input{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid #ff54a8;outline-offset:4px}.header{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#0b0b0b}.brand{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-size:27px;font-weight:800;letter-spacing:-1px}.brand svg{width:32px;height:36px;color:#ff8bb5}.account{display:flex;gap:12px;align-items:center}.credits{border:0;border-radius:30px;background:#242424;padding:10px 15px;font-weight:700;font-size:18px;display:flex;align-items:center;gap:7px}.credits span{font-size:25px}.avatar{width:38px;height:38px;border:2px solid #f9c0d9;background:#ff9fc8;border-radius:50%;font-size:23px;padding:0}.banner{height:44px;background:linear-gradient(100deg,#f63299,#ee66b3);border-radius:0 0 16px 16px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:900}main{padding:0 20px}.tabs{display:flex;gap:24px;align-items:center;height:86px}.tab{position:relative;background:none;border:0;padding:5px 0;color:#777;font-size:24px;font-weight:750;letter-spacing:-.7px}.tab.active{color:#fff}.tab:hover{color:#ddd}.new-label{position:absolute;right:-7px;top:-10px;background:#ff487b;border-radius:5px;padding:2px 4px;color:#fff;font-size:10px;letter-spacing:0}.toolbar{display:flex;align-items:center;gap:10px;margin:2px -10px 22px;min-height:54px}.icon-button,.category,.chip{height:54px;background:#151515;border:1px solid #252525;border-radius:30px;flex-shrink:0}.icon-button{width:64px;display:grid;place-items:center}.icon-button svg{width:23px;height:23px;stroke:#aaa;stroke-width:1.8;fill:none}.icon-button.selected svg{fill:#f7479e;stroke:#f7479e}.category{display:flex;align-items:center;position:relative}.category select{appearance:none;background:none;border:none;padding:0 42px 0 19px;color:#fff;height:100%;font-weight:650;outline-offset:0}.category span{position:absolute;right:18px;pointer-events:none;color:#aaa}.filters{display:flex;gap:10px}.chip{padding:0 19px;color:#aaa;font-weight:700;font-size:15px}.chip.active{background:#3a383a;color:#fff;border-color:#3a383a}.chip:hover,.icon-button:hover{background:#292629}#search{height:48px;max-width:220px;min-width:100px;background:#191919;border:1px solid #424242;border-radius:25px;padding:0 18px;color:#fff}.gallery{columns:5;column-gap:16px}.card{break-inside:avoid;position:relative;margin-bottom:16px;border-radius:13px;overflow:hidden;background:#201d23;isolation:isolate;cursor:pointer}.card-image{width:100%;display:block;object-fit:cover;transition:transform .5s,filter .5s}.card:hover .card-image{transform:scale(1.045);filter:brightness(.85)}.card:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.72));pointer-events:none}.card-top{position:absolute;top:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;z-index:2}.badge{padding:5px 8px;background:#10101055;backdrop-filter:blur(12px);font-size:10px;font-weight:700;border:1px solid #ffffff25;border-radius:6px;letter-spacing:.4px}.badge.premium{color:#ffe3ad}.like{display:grid;place-items:center;background:#18181855;backdrop-filter:blur(8px);border:1px solid #ffffff25;border-radius:50%;width:29px;height:29px;font-size:18px}.like.saved{color:#ff60ad}.card-info{position:absolute;bottom:14px;left:14px;right:14px;z-index:2}.card-info h2{font-size:14px;line-height:1.4;margin:0 0 8px;font-weight:600}.card-meta{display:flex;align-items:center;justify-content:space-between;color:#ddd;font-size:10px}.creator{display:flex;align-items:center;gap:6px}.creator-dot{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#e8bbc8;color:#32242b;font-size:9px}.play{display:inline-flex;gap:4px;align-items:center}.gallery-footer{text-align:center;color:#555;font-size:12px;padding:32px 0}.gallery-footer span{color:#ed5a9e;padding-left:6px}.empty{text-align:center;padding:80px 20px;color:#aaa}dialog{width:min(790px,90vw);padding:0;border:1px solid #333;border-radius:18px;background:#161316;color:#fff;overflow:hidden}dialog::backdrop{background:#000b;backdrop-filter:blur(8px)}dialog>img{width:100%;max-height:60vh;object-fit:cover;display:block}.close{position:absolute;right:12px;top:12px;border:0;border-radius:50%;width:34px;height:34px;background:#0009;font-size:24px}.preview-info{padding:24px}.eyebrow{font-size:10px;color:#f06aaf;letter-spacing:2px}.preview-info h2{margin:12px 0;font-size:25px}.preview-info p{color:#aaa;font-size:13px}.save-button{padding:12px 18px;background:#f23e9d;border:0;border-radius:24px;font-weight:600}@media(min-width:1800px){.gallery{column-gap:20px}.card{margin-bottom:20px}.card-info h2{font-size:17px}}@media(max-width:1100px){.gallery{columns:4}.tab{font-size:22px}.toolbar{overflow-x:auto;padding-bottom:6px}.chip{padding:0 16px}}@media(max-width:800px){.gallery{columns:3;column-gap:12px}.card{margin-bottom:12px}.header{height:65px;padding:0 16px}.brand{font-size:24px}.banner{font-size:14px;height:38px}main{padding:0 14px}.tabs{gap:22px;height:78px}.tab{font-size:20px}.toolbar{margin-bottom:16px}.chip,.category,.icon-button{height:46px}.icon-button{width:48px}.card-info{left:10px;right:10px;bottom:12px}.card-info h2{font-size:12px}.card-top{top:9px;left:9px;right:9px}}@media(max-width:550px){.gallery{columns:2;column-gap:10px}.card{margin-bottom:10px;border-radius:10px}.tabs{gap:21px;height:76px}.tab{font-size:19px}.credits{padding:7px 11px;font-size:15px}.credits span{font-size:21px}.avatar{width:32px;height:32px;font-size:20px}.card-meta{font-size:9px}.badge{font-size:8px}.like{width:25px;height:25px}.gallery-footer{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.account{position:relative}.account-menu[hidden]{display:none}.account-menu{position:absolute;top:calc(100% + 14px);right:-8px;z-index:20;width:420px;max-width:calc(100vw - 24px);padding:36px 23px 32px;border:1.5px solid #ffffff20;border-radius:34px;background:radial-gradient(ellipse at 22% 66%,#383030aa,transparent 62%),linear-gradient(180deg,#351c2a 0,#0c0b0c 18%,#0b0b0b 100%);box-shadow:0 20px 70px #0008}.account-heading{margin:0 0 28px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:25px;letter-spacing:-.8px;font-weight:800;white-space:nowrap}.plan-badge{background:#dfdfdf;color:#050505;padding:1px 7px 2px;border-radius:10px 10px 4px 10px;font-size:20px;letter-spacing:-.7px;font-weight:750}.balance-card{position:relative;display:flex;gap:17px;align-items:center;height:73px;padding:0 23px;border-radius:13px;background:#281b23;overflow:hidden;color:#eee}.balance-card>svg{width:29px;height:29px;flex-shrink:0}.balance-card strong{font-size:26px}.balance-card .balance-watermark{position:absolute;right:14px;bottom:-19px;width:112px;height:90px;transform:rotate(-17deg);color:#362530;opacity:.65}.account-links{display:grid;margin:23px 0 25px;gap:1px}.account-links button{display:flex;align-items:center;gap:18px;width:100%;height:71px;border:0;border-radius:13px;background:transparent;text-align:left;padding:0 23px;font-size:22px;font-weight:650;letter-spacing:-.5px}.account-links button:hover{background:#ffffff09}.account-links svg{width:26px;height:26px;flex-shrink:0}.menu-chevron{margin-left:auto;font-size:32px;line-height:1;font-weight:400}.logout{width:100%;height:66px;display:flex;align-items:center;justify-content:center;gap:13px;border:0;border-radius:40px;background:#ffffff09;color:#bfbdbf;font-size:19px;font-weight:650}.logout:hover{background:#ffffff12}.logout svg{width:21px;height:21px}.account-footer{display:flex;align-items:center;justify-content:center;gap:36px;margin-top:29px}.account-footer button{display:flex;align-items:center;gap:9px;border:0;padding:0;background:none;font-size:19px;font-weight:600;letter-spacing:-.5px}.account-footer button:hover{color:#ff8bb5}.account-footer svg{width:21px;height:21px}.account-detail{max-width:430px}.account-detail .preview-info{padding:36px}.account-detail p{line-height:1.7}@media(max-width:550px){.account-menu{position:fixed;top:65px;right:10px;width:calc(100vw - 20px);max-height:calc(100dvh - 77px);overflow-y:auto;padding:28px 22px 26px;border-radius:30px}.account-heading{font-size:24px}.account-links button{height:66px}.account-footer{gap:28px}.account-footer button{font-size:18px}}

/* Keep the dropdown anchored to the avatar above the page content. */
.account-menu{top:calc(100% + 12px);right:-8px;max-height:calc(100dvh - 88px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.avatar{display:grid;place-items:center;flex-shrink:0;cursor:pointer;transition:box-shadow .15s}
.avatar[aria-expanded="true"]{box-shadow:0 0 0 3px #f45aa133}
/* Compact account dropdown across desktop and mobile. */
.account-menu{width:320px;max-width:calc(100vw - 24px);padding:24px 18px 22px;border-radius:24px}
.account-heading{font-size:20px;margin-bottom:22px;gap:6px;letter-spacing:-.6px}
.plan-badge{font-size:16px;padding:1px 6px 2px;border-radius:7px}
.balance-card{height:58px;padding:0 17px;gap:13px;border-radius:11px}
.balance-card>svg{width:24px;height:24px}
.balance-card strong{font-size:23px}
.balance-card .balance-watermark{width:88px;height:72px;right:10px;bottom:-15px}
.account-links{margin:17px 0 18px;gap:2px}
.account-links button{height:52px;padding:0 17px;gap:14px;font-size:18px}
.account-links svg{width:22px;height:22px}
.menu-chevron{font-size:25px}
.logout{height:48px;font-size:16px;gap:11px}
.logout svg{width:19px;height:19px}
.account-footer{margin-top:22px;gap:24px}
.account-footer button{font-size:15px;gap:7px}
.account-footer svg{width:18px;height:18px}
@media(max-width:550px){.account-menu{top:65px;right:10px;max-height:calc(100dvh - 77px)}}

body.profile-open{overflow:hidden}
.profile-modal{width:min(1200px,calc(100vw - 64px));max-width:none;height:min(760px,calc(100dvh - 64px));max-height:none;padding:0;border:1px solid #3a3039;border-radius:24px;background:#0b090b;overflow:auto;box-shadow:0 30px 120px #0009}
.profile-modal::backdrop{background:#000b;backdrop-filter:blur(7px)}
.profile-surface{position:relative;display:flex;flex-direction:column;min-height:100%;padding:24px;background:radial-gradient(ellipse 240px 85px at 30% 0,#55133a55,transparent),radial-gradient(ellipse 210px 120px at 68% 0,#60123d44,transparent),linear-gradient(#210b23 0,transparent 210px)}
.profile-actions{display:flex;align-items:center;justify-content:space-between;position:absolute;left:24px;right:24px;top:22px}
.profile-back,.profile-support{height:40px;border:1px solid #ffffff20;background:#100d1377;color:#eee;border-radius:24px}.profile-back{width:40px;font-size:33px;line-height:1;padding:0 0 4px}.profile-support{padding:0 15px;font-size:16px;display:flex;align-items:center;gap:8px}.profile-back:hover,.profile-support:hover{background:#ffffff12}
.profile-identity{text-align:center;padding:18px 0 24px}.profile-avatar{width:62px;height:62px;border:3px solid #ffd7e8;display:grid;place-items:center;border-radius:50%;background:linear-gradient(#ffdce7,#ff8fc3);font-size:39px;margin:0 auto 11px}.profile-identity h2{display:flex;align-items:center;justify-content:center;gap:7px;font-size:23px;margin:0 0 7px;letter-spacing:-.6px}.profile-free{display:inline-block;border-radius:5px;padding:1px 5px;background:#d7d7d7;color:#111;font-size:14px;font-weight:750;white-space:nowrap;letter-spacing:-.3px}.profile-identity p{color:#8c888e;font-size:15px;margin:0;display:flex;align-items:center;justify-content:center;gap:9px}#copy-profile-id{border:0;border-radius:4px;padding:2px 4px;background:#363336;color:#a7a3a8;font-size:13px;font-weight:700}#profile-status{display:block;font-size:12px;color:#ee92bf;margin-top:5px;min-height:14px}
.profile-balance{padding:20px;border:1px solid #ffffff26;border-radius:17px;background:radial-gradient(ellipse at 44% 75%,#ffffff0f,transparent 36%),linear-gradient(120deg,#050505,#171517)}.profile-balance-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.profile-diamonds{display:flex;align-items:center;gap:10px}.profile-diamonds svg{width:30px;height:30px;color:#ddd}.profile-diamonds strong{font-size:34px;letter-spacing:-1px}#profile-plans{background:#eee;color:#111;font-size:13px;font-weight:750;border:0;border-radius:24px;padding:11px 23px;box-shadow:0 0 24px #fff4}#profile-plans:hover{background:#ffc5e1}.profile-plan-info{display:flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid #8a888a;border-radius:9px;background:#ffffff30;font-size:13px;font-weight:600}
.diamond-history{padding:25px 4px 44px}.history-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.history-heading h3{font-size:15px;margin:0;font-weight:650}.history-heading select{border:0;background:transparent;color:#eee;font-size:14px;padding:5px;cursor:pointer}.history-heading select option{background:#242124}.diamond-transaction{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:13px;background:linear-gradient(100deg,#282528,#464346);color:#c5c2c5}.diamond-transaction[hidden]{display:none}.diamond-transaction h4{font-size:15px;margin:0 0 7px;font-weight:600}.diamond-transaction time{font-size:13px;color:#9f9b9f}.diamond-transaction>strong{font-size:16px;white-space:nowrap}.profile-footer{margin-top:auto;padding:22px 0 2px;border-top:1px solid #ffffff12;text-align:center;color:#767176;font-size:12px}#diamond-empty{color:#969096;text-align:center;padding:25px 0;font-size:14px}
@media(max-width:600px){.profile-modal{width:calc(100vw - 20px);height:calc(100dvh - 32px);border-radius:20px}.profile-surface{padding:18px 14px}.profile-actions{top:16px;left:14px;right:14px}.profile-identity{padding-top:52px}.profile-identity h2{font-size:21px}.profile-identity p{font-size:12px}.profile-balance{padding:15px}.profile-plan-info{padding:11px 10px;font-size:11px}.profile-support{font-size:13px;height:36px}.profile-back{width:36px;height:36px}.diamond-transaction{padding:15px 12px}.diamond-transaction time{font-size:11px}.diamond-transaction h4{font-size:13px}}

/* Denser home navigation and filters. */
.banner{height:36px;font-size:14px;border-radius:0 0 13px 13px}
.tabs{height:68px;gap:22px}
.tab{font-size:19px;letter-spacing:-.4px}
.new-label{font-size:8px;padding:2px 3px;top:-8px;right:-5px;border-radius:4px}
.toolbar{min-height:42px;gap:8px;margin-bottom:18px}
.icon-button,.category,.chip{height:42px}
.icon-button{width:48px}
.icon-button svg{width:19px;height:19px}
.category select{font-size:13px;padding:0 34px 0 15px}
.category span{right:14px;font-size:13px}
.filters{gap:8px}
.chip{padding:0 15px;font-size:13px;font-weight:650}
#search{height:40px;font-size:13px;padding:0 14px}
@media(max-width:800px){
  .banner{height:32px;font-size:12px}
  .tabs{height:62px;gap:20px}
  .tab{font-size:17px}
  .toolbar{margin-bottom:14px}
}
@media(max-width:550px){
  .tabs{height:60px;gap:19px}
  .tab{font-size:16px}
  .icon-button,.category,.chip{height:38px}
  .icon-button{width:42px}
  .chip{font-size:12px;padding:0 13px}
  .category select{font-size:12px}
}

/* Custom category filter, independent of the browser's native select. */
.category #category-toggle{height:100%;min-width:90px;display:flex;align-items:center;justify-content:space-between;gap:17px;padding:0 16px;background:transparent;border:0;border-radius:30px;font-size:13px;font-weight:650}
.category #category-label{position:static;pointer-events:none;color:#fff;font-size:inherit}
#category-toggle svg{width:14px;height:14px;fill:none;stroke:#b6b6b6;stroke-width:1.6;transition:transform .15s}
#category-toggle[aria-expanded="true"] svg{transform:rotate(180deg);stroke:#fff}
.category-panel[hidden]{display:none}
.category-panel{position:fixed;z-index:30;width:300px;max-width:calc(100vw - 24px);max-height:320px;padding:20px 18px 12px;border:1px solid #363636;border-radius:17px;background:#191919;box-shadow:0 12px 30px #0005;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#424242 transparent}
.category-panel h2{margin:3px 14px 10px;font-size:15px;color:#6d6d6d;font-weight:500}
.category-panel [role="listbox"]{display:grid;gap:2px}
.category-panel [role="option"]{padding:11px 14px;min-height:40px;background:transparent;border:0;border-radius:8px;text-align:left;font-size:16px;font-weight:400;color:#e6e6e6}
.category-panel [role="option"]:hover,.category-panel [role="option"]:focus-visible{background:#2a2a2a;outline:none}
.category-panel [role="option"][aria-selected="true"]{color:#fff;font-weight:600}
@media(max-width:550px){.category #category-toggle{font-size:12px;min-width:80px;padding:0 13px}}

/* Round toolbar controls with a wider expanded search field. */
.toolbar .icon-button{width:42px;height:42px;min-width:42px;flex:0 0 42px;padding:0;border-radius:50%}
#search{width:300px;max-width:300px;flex:0 0 300px;min-width:0}
@media(max-width:550px){
  .toolbar .icon-button{width:38px;height:38px;min-width:38px;flex-basis:38px}
  #search{width:min(280px,calc(100vw - 130px));max-width:280px;flex-basis:min(280px,calc(100vw - 130px))}
}

.pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:30px 0 12px}
.pagination[hidden]{display:none}
.pagination button{display:grid;place-items:center;min-width:38px;height:38px;padding:0 11px;border:0;border-radius:8px;background:#242124;color:#999;font-size:14px;font-weight:650}
.pagination button:hover:not(:disabled){background:#393139;color:#fff}
.pagination button[aria-current="page"]{background:#f448a2;color:#fff}
.pagination .page-arrow{background:transparent;padding:0;min-width:32px;margin:0 5px;color:#ccc}
.pagination .page-arrow svg{width:19px;height:19px}
.pagination button:disabled{opacity:.3;cursor:default}
.page-ellipsis{color:#777;font-size:14px}
.page-summary{text-align:center;margin:0;color:#666;font-size:11px}
@media(max-width:550px){.pagination{gap:6px}.pagination button{min-width:32px;height:34px;padding:0 8px;font-size:12px}.pagination .page-arrow{min-width:24px;margin:0}}

.trust-badges{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:24px;padding:26px 0 32px;color:#3e3b3e}
.laurel-definitions{position:absolute;pointer-events:none}
.trust-badge{display:flex;align-items:center;gap:8px;text-align:center}
.trust-badge>svg{width:25px;height:52px;flex-shrink:0}
.trust-badge .laurel-right{transform:scaleX(-1)}
.trust-badge p{margin:0;font-size:14px;font-weight:750;line-height:1.4}
.site-footer{padding:28px 16px 32px;border-top:1px solid #242124;text-align:center;color:#858185}
.site-footer>p{margin:0 0 9px;font-size:14px;font-weight:600}
.site-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:25px}
.site-footer button{padding:0;border:0;background:none;color:inherit;font-size:14px;font-weight:500}
.site-footer button:hover{color:#f448a2}
@media(max-width:550px){.trust-badges{gap:15px;padding:22px 0 28px}.trust-badge{gap:4px}.trust-badge p{font-size:11px}.trust-badge>svg{width:18px;height:42px}.site-footer>p,.site-footer button{font-size:12px}.site-footer nav{gap:17px}.site-footer{padding:24px 12px 28px}}

/* Compact credit balance, matching the pink account accent. */
.account{gap:10px}
.credits{height:32px;min-width:66px;padding:0 11px;gap:6px;border:1px solid #ffffff0e;border-radius:18px;background:linear-gradient(145deg,#272228,#1c191d);box-shadow:inset 0 1px 0 #ffffff04;font-variant-numeric:tabular-nums}
.credits svg{width:16px;height:16px;flex-shrink:0;color:#f592bd}
.credits .credit-value{font-size:14px;font-weight:650;line-height:1;color:#f4eaf0;letter-spacing:.1px}
.credits:hover{border-color:#f592bd40;background:#30232c}
.credits:active{background:#382735}
.avatar{width:34px;height:34px;font-size:21px;border-width:2px;box-shadow:0 0 0 2px #f78bb812}
@media(max-width:550px){.credits{height:30px;min-width:61px;padding:0 9px;gap:5px}.credits .credit-value{font-size:13px}.credits svg{width:15px;height:15px}.avatar{width:32px;height:32px;font-size:20px}}

/* Refined account menu. */
.account-menu{width:304px;padding:20px 16px 14px;border:1px solid #ffffff13;border-radius:20px;background:radial-gradient(ellipse at 80% 0,#a73a7020,transparent 48%),#131113;box-shadow:0 18px 56px #0008,inset 0 1px 0 #ffffff05}
.account-heading{justify-content:space-between;gap:8px;margin:0 4px 17px;font-size:16px;letter-spacing:-.35px;font-weight:650}
.plan-badge{font-size:11px;font-weight:600;letter-spacing:0;color:#edb5d1;border:1px solid #f48fbd25;background:#ee77ac12;border-radius:6px;padding:3px 7px}
.balance-card{height:70px;padding:12px 15px;gap:12px;border:1px solid #ef8db21a;border-radius:12px;background:linear-gradient(115deg,#30202a,#211b22)}
.balance-card>svg{width:25px;height:25px;color:#f49bc4}
.balance-copy{display:grid;gap:3px}
.balance-copy>span{font-size:10px;font-weight:500;color:#b19ba9;letter-spacing:.2px}
.balance-copy strong{font-size:23px;font-weight:650;line-height:1.1;letter-spacing:-.5px}
.balance-card .balance-watermark{width:72px;height:72px;bottom:-17px;right:5px;opacity:.12;color:#ed97be;transform:rotate(-15deg)}
.account-links{margin:12px 0 10px;gap:3px}
.account-links button{height:44px;padding:0 12px;gap:12px;border-radius:9px;font-size:14px;font-weight:500;letter-spacing:0;color:#e1dce0;transition:background .15s,color .15s}
.account-links button:hover{background:#ef8fbb0c;color:#ffc0de}
.account-links svg{width:18px;height:18px;color:#a69ba4}
.account-links .menu-chevron{width:14px;height:14px;margin-left:auto;color:#756a73}
.logout{height:38px;gap:9px;font-size:13px;font-weight:500;border:1px solid #ffffff08;border-radius:9px;background:#ffffff04;color:#a59ba3}
.logout svg{width:16px;height:16px}
.logout:hover{background:#ed71900c;color:#f0abbf;border-color:#ed719023}
.account-footer{padding-top:13px;margin-top:14px;border-top:1px solid #ffffff0a;gap:0}
.account-footer button{justify-content:center;flex:1;min-height:30px;gap:7px;font-size:12px;font-weight:500;letter-spacing:0;color:#958a93}
.account-footer button+button{border-left:1px solid #ffffff0c}
.account-footer svg{width:15px;height:15px}
@media(max-width:550px){.account-menu{width:304px;max-width:calc(100vw - 20px)}}

.account[hidden],.join-free[hidden]{display:none}
.join-free{height:36px;padding:0 19px;border:0;border-radius:24px;background:linear-gradient(110deg,#ed078a,#fa71bc);color:#fff;font-size:14px;font-weight:700;letter-spacing:-.15px;transition:filter .15s,box-shadow .15s}
.join-free:hover{filter:brightness(1.08);box-shadow:0 4px 18px #ed078a26}
.join-free:active{filter:brightness(.96)}
@media(max-width:550px){.join-free{height:34px;padding:0 17px;font-size:13px}}

body.auth-open{overflow:hidden}
.auth-modal{width:min(940px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #ffffff12;border-radius:20px;background:#0e0b0e;overflow:auto;box-shadow:0 30px 120px #000a}
.auth-modal::backdrop{background:#000b;backdrop-filter:blur(10px)}
.auth-layout{display:grid;grid-template-columns:40% 60%;min-height:600px}
.auth-visual{position:relative;overflow:hidden;background:#292f2d;min-height:100%}
.auth-visual>img{position:absolute;width:100%;height:100%;object-fit:cover}
.auth-visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0c091116 25%,#130a1dc9)}
.auth-visual-copy{position:absolute;bottom:40px;left:30px;right:24px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.auth-brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#f54ba2;font-size:26px}
.auth-visual-copy strong{font-size:24px;letter-spacing:-.7px}.auth-visual-copy p{width:100%;font-size:20px;line-height:1.5;font-weight:500;margin:14px 0 0;color:#f4e9f0;letter-spacing:-.4px}
.auth-content{position:relative;display:flex;align-items:center;justify-content:center;padding:50px 45px 26px}
.auth-close{position:absolute;right:16px;top:16px;display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:#ffffff04;color:#bbb}
.auth-close svg{width:19px;height:19px}.auth-close:hover{background:#ffffff12;color:#fff}
.auth-inner{width:100%;max-width:370px;text-align:center}
.auth-eyebrow{color:#a57b92;font-size:9px;letter-spacing:1.6px;font-weight:600}
.auth-inner h2{font-size:28px;letter-spacing:-1px;font-weight:750;margin:12px 0 12px;line-height:1.2}
.auth-intro{font-size:14px;color:#dbd3d9;line-height:1.8;margin:0 0 18px}.auth-intro strong{font-size:22px;color:#f350a3;font-weight:750}.auth-intro>span{font-size:12px;color:#978e96}
.auth-benefits{display:grid;grid-template-columns:repeat(3,1fr);padding:13px 4px;margin-bottom:20px;border:1px solid #ffffff12;border-radius:11px;background:#ffffff03}
.auth-benefits>div{display:grid;justify-items:center;gap:6px;position:relative}.auth-benefits>div+div:before{content:'';position:absolute;left:0;top:18px;bottom:6px;width:1px;background:#ffffff15}.auth-benefits svg{width:16px;height:16px;color:#ec8cb8}.auth-benefits span{font-size:11px;line-height:1.45;color:#c8bec6}
.auth-provider{width:100%;height:44px;display:flex;align-items:center;justify-content:center;gap:11px;border:0;border-radius:9px;font-size:13px;font-weight:600}.auth-provider svg{width:20px;height:20px;flex-shrink:0}
.auth-google{background:#fafafa;color:#181518}.auth-google:hover{background:#eae6e9}.auth-email{margin-top:10px;background:#2d282d;color:#eee}.auth-email:hover{background:#3a3239}
.auth-divider{display:flex;align-items:center;gap:12px;margin:23px 0 20px;color:#817781;font-size:11px}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#ffffff12;flex:1}
.auth-email-field{display:flex;align-items:center;gap:11px;border:1px solid #ffffff24;border-radius:9px;background:#211c21;padding:0 14px;height:44px;text-align:left}.auth-email-field:focus-within{border-color:#ed69aa;box-shadow:0 0 0 3px #ed69aa12}.auth-email-field svg{width:18px;height:18px;flex-shrink:0;color:#b8aab5}.auth-email-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#fff;font-size:13px}.auth-email-field input::placeholder{color:#8c8089}
.auth-continue{width:100%;height:44px;margin-top:10px;border:0;border-radius:9px;background:linear-gradient(110deg,#ed198e,#f267b0);font-size:13px;font-weight:650;color:#fff}.auth-continue:hover:not(:disabled){filter:brightness(1.1)}.auth-continue:disabled{background:#713050;color:#b77a99;cursor:default}
.auth-status{font-size:11px;line-height:1.5;min-height:17px;margin:10px 0 6px;color:#ed9bc2}.auth-terms{font-size:10px;line-height:1.7;color:#726670;margin:0}.auth-terms button{font-size:inherit;background:none;border:0;padding:0;color:#ad98a6}.auth-terms button:hover{color:#f69bc7}
@media(max-width:700px){.auth-modal{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border-radius:17px}.auth-layout{grid-template-columns:1fr;min-height:0}.auth-visual{display:none}.auth-content{padding:48px 26px 25px}.auth-inner h2{font-size:26px}}
.auth-demo-hint{font-size:10px;line-height:1.5;color:#998492;margin:0 0 10px}

/* A compact, cohesive profile dialog. */
.profile-modal{width:min(760px,calc(100vw - 40px));height:auto;max-height:calc(100dvh - 40px);border-color:#ffffff14;border-radius:22px;background:#121013}
.profile-surface{min-height:0;padding:24px 28px 0;background:radial-gradient(ellipse 440px 170px at 50% -50px,#c8488b18,transparent),#121013}
.profile-actions{left:24px;right:24px;top:22px}
.profile-back{display:grid;place-items:center;width:32px;height:32px;padding:0;background:#ffffff03;border-color:#ffffff12}
.profile-back svg{width:16px;height:16px}
.profile-support{height:32px;padding:0 11px;gap:6px;font-size:12px;font-weight:500;background:#ffffff03;border-color:#ffffff12;color:#aaa0aa}
.profile-support svg{width:15px;height:15px}
.profile-identity{padding:14px 0 22px}
.profile-avatar{width:52px;height:52px;font-size:31px;border-width:2px;box-shadow:0 0 0 5px #e87db914;margin-bottom:14px}
.profile-identity h2{font-size:19px;font-weight:650;letter-spacing:-.4px;margin-bottom:8px}
.profile-free{font-size:10px;padding:3px 6px;border-radius:5px;font-weight:600;color:#eab1cf;background:#e675af12;border:1px solid #e675af22;letter-spacing:0}
.profile-identity p{font-size:12px;color:#8d818e;gap:5px}
#copy-profile-id{display:grid;place-items:center;width:24px;height:24px;background:none;color:#8d818e;border-radius:5px}
#copy-profile-id:hover{background:#ffffff08;color:#ef9bc8}
#copy-profile-id svg{width:13px;height:13px}
#profile-status{min-height:0;margin-top:0;font-size:10px}
#profile-status:not(:empty){margin-top:7px}
.profile-balance{padding:18px;border-color:#e68db719;border-radius:14px;background:radial-gradient(ellipse at 90% 0,#e665a017,transparent 70%),linear-gradient(120deg,#20191f,#19161b)}
.profile-balance-top{margin-bottom:16px}
.profile-diamonds{gap:12px}
.profile-diamonds>svg{width:28px;height:28px;color:#ed96c1}
.profile-credit-copy{display:grid;gap:3px}
.profile-credit-copy>span{font-size:9px;letter-spacing:1.2px;color:#a38b9b;font-weight:600}
.profile-credit-copy strong{font-size:30px;font-weight:650;line-height:1.1;letter-spacing:-.8px}
#profile-plans{display:flex;align-items:center;gap:7px;border-radius:8px;padding:10px 13px;background:#ef4c9e;color:#fff;box-shadow:0 4px 16px #ee459d12;font-size:12px;font-weight:600}
#profile-plans:hover{background:#fa69b1}
#profile-plans svg{width:14px;height:14px}
.profile-plan-info{padding:10px 0 0;gap:8px;border:0;border-top:1px solid #ffffff0c;border-radius:0;background:none;font-size:11px;font-weight:400;color:#a89aa5}
.diamond-history{padding:24px 0 28px}
.history-heading{margin-bottom:12px}
.history-heading h3{font-size:13px;font-weight:600;color:#d7cdd6}
.history-heading select{font-size:11px;color:#b1a4b0}
.diamond-transaction{padding:15px 16px;border:1px solid #ffffff09;border-radius:11px;background:#1b181d;gap:12px}
.diamond-transaction h4{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:#d8d0d7;margin-bottom:6px}
.transaction-label{padding:2px 5px;background:#b3e8c20b;border:1px solid #b3e8c218;border-radius:4px;font-size:9px;color:#9ab4a2}
.diamond-transaction time{font-size:10px;color:#7e737f}
.diamond-transaction .transaction-amount{display:flex;align-items:center;gap:5px;color:#d9a4c3;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.transaction-amount svg{width:15px;height:15px}
.profile-footer{padding:17px 0 19px;font-size:10px;border-color:#ffffff09;color:#665c68}
@media(max-width:600px){.profile-modal{width:calc(100vw - 24px);height:auto;max-height:calc(100dvh - 24px);border-radius:18px}.profile-surface{padding:20px 16px 0}.profile-actions{left:16px;right:16px;top:16px}.profile-identity{padding-top:36px}.profile-identity h2{font-size:18px}.profile-plan-info{font-size:10px}.profile-balance{padding:15px}.profile-credit-copy>span{font-size:8px;letter-spacing:.7px}.profile-credit-copy strong{font-size:27px}#profile-plans{padding:9px 10px;font-size:11px}.diamond-transaction{padding:13px}.profile-support{height:30px}}

/* The profile dialog ends with its transaction list. */
.profile-modal{height:fit-content}
.profile-modal .profile-surface{display:block;min-height:0;height:auto;padding-bottom:0}
.profile-modal .diamond-history{padding-bottom:24px}

.profile-close{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #ffffff12;border-radius:50%;background:#ffffff03;color:#aaa0aa;cursor:pointer}
.profile-close svg{width:17px;height:17px}
.profile-close:hover{background:#ffffff0b;color:#fff}

body.plans-open{overflow:hidden}
.plans-modal{width:min(640px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #ffffff14;border-radius:22px;background:#0d0c0d;overflow:auto;box-shadow:0 30px 100px #0009;scrollbar-width:thin;scrollbar-color:#383034 transparent}
.plans-modal::backdrop{background:#000b;backdrop-filter:blur(9px)}
.plans-content{position:relative;padding:42px 36px 22px}
.plans-close{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff20;border-radius:50%;background:transparent;color:#bbb}
.plans-close svg{width:17px;height:17px}.plans-close:hover{color:#fff;background:#ffffff0a}
.plans-heading{text-align:center}.plans-eyebrow{font-size:9px;font-weight:600;letter-spacing:1.6px;color:#8e826a}.plans-heading h2{font-size:43px;letter-spacing:-1.7px;line-height:1.1;margin:12px 0 10px;font-weight:750}.plans-heading h2 span{color:#f5d253}.plans-heading p{font-size:15px;line-height:1.5;color:#aaa3a7;margin:0}
.billing-switch{display:flex;width:fit-content;max-width:100%;margin:25px auto 32px;padding:4px;gap:3px;background:#1c191c;border-radius:28px}
.billing-switch>button{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 15px;border:0;border-radius:23px;background:transparent;color:#8f858c;font-size:13px;font-weight:600}
.billing-switch>button[aria-pressed="true"]{background:#3a3339;color:#fff}
.billing-switch button>span{padding:4px 7px;border-radius:14px;background:#8b305f;color:#ffd0e8;font-size:9px;font-weight:700}
.plan-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.plan-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:154px;padding:22px 20px 18px;border:1px solid #ffffff27;border-radius:17px;background:#101011;text-align:left;transition:border-color .15s,background .15s}
.plan-card.selected{border:2px solid #f4d256;padding:21px 19px 17px;background:radial-gradient(ellipse at 100% 0,#b99b281c,transparent 80%)}
.best-value{position:absolute;right:14px;top:-12px;padding:5px 10px;border-radius:6px;background:#f4d256;color:#161204;font-size:9px;letter-spacing:.3px;font-weight:800}
.plan-name{font-size:20px;font-weight:650;letter-spacing:-.5px;color:#ef55a4;margin-bottom:18px}
[data-plan="pro"] .plan-name{color:#f4d256}
.plan-price{display:flex;align-items:baseline;gap:5px;white-space:nowrap}.plan-price strong{font-size:35px;line-height:1.1;font-weight:650;letter-spacing:-1.2px}.plan-price>span{font-size:16px;color:#8c8289}
.plan-was{font-size:12px;text-decoration:line-through;color:#746b71;margin-top:8px}
.plan-check{display:none;position:absolute;right:15px;bottom:16px;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:#f4d256;color:#201905;font-size:11px}.plan-card.selected .plan-check{display:flex}
.plans-unlock{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:47px;margin-top:24px;background:#f4d256;color:#1b1606;border:1px solid #ffe587;border-radius:10px;font-size:16px;font-weight:700;letter-spacing:-.3px}.plans-unlock svg{width:17px;height:17px}.plans-unlock:hover{background:#ffdf6a}
.billing-note{margin:10px 0 0;text-align:center;font-size:10px;color:#9e929a;line-height:1.6}.plans-status{text-align:center;font-size:11px;color:#e4c969;line-height:1.6;margin:0}.plans-status:not(:empty){margin-top:10px}
.plan-benefits{display:grid;gap:19px;margin-top:24px;padding:23px 20px;border:1px solid #a58b343b;border-radius:14px;background:linear-gradient(130deg,#262112,#19170f)}
.plan-benefits>div{display:flex;align-items:center;gap:13px}.benefit-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;flex-shrink:0;color:#e9cd65;background:#efd25a12}.benefit-icon svg{width:18px;height:18px}
.plan-benefits strong{display:block;font-size:13px;font-weight:550;color:#e9ce6e}.plan-benefits small{display:block;font-size:10px;color:#95896b;margin-top:4px}
.plans-preview-note{text-align:center;font-size:10px;color:#686067;margin:18px 0 0}
@media(max-width:550px){.plans-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.plans-content{padding:44px 20px 20px}.plans-heading h2{font-size:36px}.plans-heading p{font-size:13px}.plans-eyebrow{font-size:8px}.billing-switch{margin-top:21px}.billing-switch>button{font-size:12px;padding:7px 11px;gap:6px}.plan-cards{gap:10px}.plan-card{min-height:143px;padding:19px 13px 16px}.plan-card.selected{padding:18px 12px 15px}.plan-name{font-size:18px;margin-bottom:18px}.plan-price strong{font-size:29px}.plan-price>span{font-size:13px}.best-value{right:9px;font-size:8px;padding:4px 7px}.plan-benefits{padding:18px 15px;gap:17px}.plans-unlock{font-size:14px}}

/* Refined plan selection: restrained accents and a compact benefits grid. */
.plans-modal{width:min(700px,calc(100vw - 40px));border-radius:20px;border-color:#ffffff12;background:#121013}
.plans-content{padding:30px 30px 20px;background:radial-gradient(ellipse 380px 160px at 50% -80px,#efd26012,transparent)}
.plans-close{right:16px;top:16px;width:28px;height:28px;border-color:#ffffff12;background:#ffffff03}
.plans-eyebrow{font-size:8px;letter-spacing:1.5px;color:#938773}
.plans-heading h2{font-size:34px;font-weight:650;margin:10px 0 8px;letter-spacing:-1.1px}
.plans-heading h2 span{color:#ecd17b}
.plans-heading p{font-size:12px;line-height:1.6;color:#998e97}
.plans-heading p br{display:none}
.billing-switch{margin:20px auto 25px;background:#1e1a20;padding:3px;border:1px solid #ffffff06}
.billing-switch>button{padding:7px 15px;font-size:12px;font-weight:500;gap:7px}
.billing-switch>button[aria-pressed="true"]{background:#38303a;box-shadow:0 1px 4px #0003}
.billing-switch button>span{background:#e873ab15;color:#ec9fc4;border:1px solid #e873ab15;font-size:8px;padding:3px 6px}
.plan-cards{gap:14px}
.plan-card{min-height:137px;padding:18px;border-radius:13px;border-color:#ffffff14;background:#19161b}
.plan-card.selected{padding:17px;border-color:#d6bb69;background:linear-gradient(135deg,#30291c80,#1d191d);box-shadow:0 0 0 3px #d6bb6908}
.plan-card:hover:not(.selected){background:#211b23;border-color:#ffffff25}
.best-value{right:13px;top:-10px;padding:4px 8px;border-radius:5px;background:#ddc477;color:#292010;font-size:8px;letter-spacing:.5px}
.plan-name{font-size:16px;letter-spacing:-.2px;font-weight:600;margin-bottom:16px;color:#e59dbf}
[data-plan="pro"] .plan-name{color:#e9d18b}
.plan-price strong{font-size:29px;letter-spacing:-.9px;font-weight:600}
.plan-price>span{font-size:12px;color:#897d89}
.plan-was{font-size:10px;margin-top:8px;color:#736673}
.plan-check{width:16px;height:16px;font-size:10px;right:13px;bottom:14px;background:#ddc477}
.plans-unlock{height:42px;margin-top:19px;font-size:13px;font-weight:650;border-radius:9px;background:linear-gradient(105deg,#e6c871,#f0d98e);border-color:#ead18b;box-shadow:0 3px 14px #dfbd4e0a}
.plans-unlock:hover{background:#f5df9b}
.plans-unlock svg{width:15px;height:15px}
.billing-note{font-size:10px;color:#8c7e8b;margin-top:9px}
.plan-benefits{grid-template-columns:1fr 1fr;gap:20px 18px;margin-top:20px;padding:20px 0 3px;border:0;border-top:1px solid #ffffff0c;border-radius:0;background:none}
.plan-benefits>div{gap:10px;align-items:flex-start}
.benefit-icon{width:30px;height:30px;border-radius:8px;background:#d4bb6a0b;color:#c9b575;border:1px solid #d4bb6a0d}
.benefit-icon svg{width:15px;height:15px}
.plan-benefits strong{font-size:11px;font-weight:500;line-height:1.5;color:#d5cbd3}
.plan-benefits small{font-size:9px;line-height:1.5;color:#7e717e;margin-top:3px}
.plans-preview-note{font-size:9px;color:#605461;margin-top:20px}
@media(max-width:550px){.plans-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:17px}.plans-content{padding:36px 18px 18px}.plans-heading h2{font-size:30px}.plans-heading p{font-size:11px}.plans-heading p br{display:block}.plan-cards{gap:10px}.plan-card{padding:17px 12px;min-height:132px}.plan-card.selected{padding:16px 11px}.plan-price strong{font-size:26px}.plan-price>span{font-size:11px}.plan-benefits{gap:17px 12px}.plan-benefits>div{gap:8px}.benefit-icon{width:26px;height:26px;border-radius:7px}.plan-benefits strong{font-size:10px}.plan-benefits small{font-size:9px}.billing-switch>button{padding:7px 12px}}
@media(max-width:360px){.plan-benefits{grid-template-columns:1fr}}

/* Quiet editorial statistics above the footer. */
.trust-badges{position:relative;gap:58px;padding:32px 16px 36px;color:#66535f}
.trust-badge{position:relative;gap:12px;min-width:205px}
.trust-badge+ .trust-badge:before{content:'';position:absolute;left:-29px;top:14px;bottom:14px;width:1px;background:linear-gradient(transparent,#ffffff12,transparent)}
.trust-badge>svg{width:23px;height:58px;opacity:.65}
.trust-badge p{display:flex;flex-direction:column;align-items:center;font-weight:400;line-height:1.4}
.trust-badge p>span{font-size:9px;font-weight:500;letter-spacing:.65px;color:#82747e;margin-bottom:5px}
.trust-badge strong{display:block;font-size:24px;font-weight:600;letter-spacing:-.7px;line-height:1.15;color:#c3b4bf;font-variant-numeric:tabular-nums}
.trust-badge strong>span{font-size:18px;color:#cf86ae;margin-left:2px;font-weight:400}
.trust-badge small{font-size:10px;letter-spacing:.25px;color:#796b76;margin-top:5px}
@media(max-width:550px){.trust-badges{gap:20px;padding:28px 0 30px;flex-wrap:nowrap}.trust-badge{min-width:0;gap:5px;flex:1;justify-content:center}.trust-badge>svg{width:16px;height:49px}.trust-badge+ .trust-badge:before{left:-10px;top:12px;bottom:12px}.trust-badge strong{font-size:20px}.trust-badge strong>span{font-size:15px}.trust-badge p>span{font-size:8px;letter-spacing:.15px}.trust-badge small{font-size:9px}}

/* Minimal statistics without decorative laurels. */
.trust-badges{gap:64px;padding:30px 16px 34px}
.trust-badge{display:flex;flex-direction:column;gap:10px;min-width:180px}
.trust-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid #c78ea414;border-radius:9px;background:#c78ea407;color:#a78c9e}
.trust-icon svg{width:16px;height:16px}
.trust-badge+ .trust-badge:before{left:-32px;top:24px;bottom:10px}
.trust-badge p>span{font-size:9px;margin-bottom:6px}
.trust-badge strong{font-size:23px}
@media(max-width:550px){.trust-badges{gap:24px;padding:26px 8px 30px}.trust-badge{min-width:0;gap:9px}.trust-badge+ .trust-badge:before{left:-12px;top:23px;bottom:8px}.trust-badge strong{font-size:21px}.trust-icon{width:28px;height:28px}.trust-icon svg{width:15px;height:15px}}

/* Slender curved laurel branches framing each statistic. */
.trust-badges{gap:48px;padding:32px 16px 36px}
.trust-badge{flex-direction:row;align-items:center;gap:12px;min-width:218px;color:#927284}
.trust-badge>svg.trust-laurel{width:31px;height:76px;flex-shrink:0;opacity:.62;overflow:visible}
.trust-badge>svg.laurel-right{transform:scaleX(-1)}
.trust-badge+ .trust-badge:before{left:-24px;top:15px;bottom:15px}
.trust-badge strong{font-size:23px}
@media(max-width:550px){.trust-badges{gap:22px;padding:28px 0 32px}.trust-badge{min-width:0;gap:5px}.trust-badge>svg.trust-laurel{width:21px;height:59px}.trust-badge strong{font-size:19px}.trust-badge p>span{font-size:8px;letter-spacing:0}.trust-badge small{font-size:8px}.trust-badge+ .trust-badge:before{left:-11px;top:12px;bottom:12px}}

/* Refined footer typography and link rhythm. */
.site-footer{padding:24px 20px 27px;border-top:1px solid #ffffff08;background:linear-gradient(180deg,#ffffff01,transparent 90%)}
.site-footer>p{margin:0 0 13px;color:#756c74;font-size:11px;font-weight:400;line-height:1.6;letter-spacing:.1px}
.site-footer nav{align-items:center;gap:0}
.site-footer button{position:relative;padding:3px 14px;color:#9b8e98;font-size:11px;font-weight:400;line-height:1.6;transition:color .15s}
.site-footer button+button:before{content:'';position:absolute;left:0;top:50%;width:2px;height:2px;border-radius:50%;background:#554750;transform:translateY(-50%)}
.site-footer button:hover{color:#efacd0}
.site-footer button:focus-visible{outline-offset:2px;border-radius:4px}
@media(max-width:550px){.site-footer{padding:22px 12px 25px}.site-footer>p{font-size:10px;margin-bottom:11px}.site-footer nav{gap:0}.site-footer button{padding:3px 10px;font-size:10px}}

/* Complete footer redesign: framed social proof and a brand-led baseline. */
.redesigned-footer{padding:0 36px 0;background:radial-gradient(ellipse 650px 170px at 50% 0,#ae50750a,transparent 80%),#0b0a0b;border:0;text-align:left}
.footer-proof{max-width:1160px;margin:auto;padding:36px 0 32px}
.footer-eyebrow{margin:0;text-align:center;font-size:9px;font-weight:500;letter-spacing:2.5px;color:#a68a9c}
.redesigned-footer .trust-badges{padding:22px 0 0;gap:72px}
.redesigned-footer .trust-badge{min-width:220px;gap:14px;color:#9a798b}
.redesigned-footer .trust-badge>svg.trust-laurel{width:29px;height:73px;opacity:.6}
.redesigned-footer .trust-badge strong{font-size:28px;font-weight:500;letter-spacing:-.8px;color:#e0d6de}
.redesigned-footer .trust-badge strong>span{font-size:20px;color:#e6a3c7}
.redesigned-footer .trust-badge small{margin-top:7px;font-size:10px;color:#95828f;letter-spacing:.2px}
.redesigned-footer .trust-badge+ .trust-badge:before{display:none}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:26px;max-width:1160px;margin:auto;padding:25px 0 28px;border-top:1px solid #ffffff0b}
.footer-brand{gap:6px;font-size:19px;font-weight:650;letter-spacing:-.6px;width:fit-content}
.footer-brand svg{width:23px;height:26px;color:#ed83b6}
.footer-brand-block>p{margin:9px 0 0;font-size:10px;color:#72636f;line-height:1.6}
.redesigned-footer nav{gap:22px;flex-wrap:wrap;justify-content:flex-end}
.redesigned-footer nav button{padding:5px 0;font-size:11px;color:#a99aa5;white-space:nowrap}
.redesigned-footer nav button+button:before{display:none}
.redesigned-footer nav button span{font-size:11px;margin-left:3px;color:#796672}
.redesigned-footer nav button:hover,.redesigned-footer nav button:hover span{color:#f0add0}
@media(max-width:650px){.redesigned-footer{padding:0 20px}.footer-proof{padding:29px 0 27px}.footer-eyebrow{font-size:8px;letter-spacing:2px}.redesigned-footer .trust-badges{gap:20px;padding-top:20px}.redesigned-footer .trust-badge{min-width:0;gap:5px}.redesigned-footer .trust-badge strong{font-size:22px}.redesigned-footer .trust-badge strong>span{font-size:16px}.redesigned-footer .trust-badge>svg.trust-laurel{width:21px;height:60px}.redesigned-footer .trust-badge small{font-size:9px}.footer-bottom{flex-direction:column;align-items:center;gap:17px;padding:23px 0 25px}.footer-brand-block{text-align:center}.footer-brand{margin:auto;font-size:18px}.redesigned-footer nav{gap:20px;justify-content:center}.redesigned-footer nav button{font-size:10px}.footer-brand-block>p{font-size:9px}}
.redesigned-footer{position:relative;isolation:isolate;overflow:hidden}
.redesigned-footer:before,.redesigned-footer:after{content:'';position:absolute;z-index:-1;width:44%;height:130px;border-radius:50%;pointer-events:none;border-top:1px solid #d88aac12;background:linear-gradient(180deg,#c4669005,transparent 65%);filter:blur(.2px)}
.redesigned-footer:before{left:-18%;top:53px;transform:rotate(15deg);box-shadow:0 -8px 26px #a7467210}
.redesigned-footer:after{right:-18%;top:10px;transform:rotate(-18deg);box-shadow:0 -8px 26px #a7467210}

/* Generated silk light asset matches the approved visual direction. */
.redesigned-footer{background:#090909}
.redesigned-footer:before,.redesigned-footer:after{display:none}
.footer-bottom{border-top-color:#bd91a526}
@media(max-width:650px){.redesigned-footer{background-size:auto 100%;background-position:center}}

body.welcome-open{overflow:hidden}
.welcome-modal{width:min(440px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #ffffff20;border-radius:26px;background:#191819;overflow:auto;box-shadow:0 25px 90px #0009}
.welcome-modal::backdrop{background:#090809ce;backdrop-filter:blur(12px)}
.welcome-content{padding:23px 20px 24px;text-align:center}
.welcome-logo{display:block;width:63px;height:63px;margin:0 auto 7px}
.welcome-content h2{font-size:29px;letter-spacing:-.8px;font-weight:700;margin:0 0 28px}
.welcome-rules{display:grid;gap:10px;margin:0;padding:0;list-style:none;text-align:left}
.welcome-rules li{display:flex;align-items:center;gap:16px;min-height:62px;padding:16px 18px;background:#2b292c;border:1px solid #ffffff03;border-radius:17px}
.welcome-rules svg{width:23px;height:23px;flex-shrink:0;color:#f35ba4}
.welcome-rules p{margin:0;font-size:14px;line-height:1.5;color:#f0edf0;font-weight:450;letter-spacing:-.15px}
.age-rule-icon{position:relative;display:grid;place-items:center;width:23px;height:23px;border:1.5px solid #f35ba4;border-radius:50%;flex-shrink:0;color:#eee;font-size:11px;font-weight:650}
.age-rule-icon:after{content:'';position:absolute;width:26px;height:1.5px;background:#f35ba4;transform:rotate(48deg)}
.welcome-description{color:#91858e;font-size:11px;line-height:1.6;margin:19px 8px 24px}
.welcome-continue{width:190px;max-width:100%;height:46px;border:0;border-radius:25px;background:#fafafa;color:#0c0b0c;font-size:16px;font-weight:650;transition:background .15s}
.welcome-continue:hover{background:#fce4ef}
@media(max-width:450px){.welcome-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:22px}.welcome-content{padding:20px 15px}.welcome-rules li{padding:14px;gap:12px;border-radius:14px}.welcome-rules p{font-size:13px}.welcome-content h2{font-size:26px;margin-bottom:22px}.welcome-description{font-size:10px}}

/* Polished welcome dialog with quieter surfaces and a clear primary action. */
.welcome-modal{width:min(408px,calc(100vw - 32px));border:1px solid #ffffff14;border-radius:22px;background:#151215;box-shadow:0 28px 100px #0009}
.welcome-modal::backdrop{background:#080609c9;backdrop-filter:blur(9px)}
.welcome-content{padding:25px 22px 22px;background:radial-gradient(ellipse 260px 120px at 50% -35px,#e75b9c12,transparent)}
.welcome-logo{width:45px;height:45px;margin:0 auto 8px}
.welcome-content h2{font-size:24px;font-weight:650;letter-spacing:-.7px;margin:0 0 23px}
.welcome-rules{gap:9px}
.welcome-rules li{gap:13px;min-height:58px;padding:14px;border:1px solid #ffffff08;border-radius:12px;background:#211c22}
.welcome-rules p{font-size:12px;line-height:1.6;letter-spacing:0;font-weight:400;color:#d7cdd6}
.welcome-rules svg{width:20px;height:20px;color:#d98eb6;stroke-width:1.5}
.age-rule-icon{width:20px;height:20px;border-color:#d98eb6;font-size:10px;color:#dfccda;border-width:1.3px}
.age-rule-icon:after{width:22px;height:1px;background:#d98eb6}
.welcome-description{font-size:10px;line-height:1.7;color:#8e7e8b;margin:17px 4px 19px}
.welcome-continue{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:41px;border:1px solid #f17bb333;border-radius:9px;background:linear-gradient(105deg,#e93692,#ed64a8);box-shadow:0 4px 16px #dc377214;color:#fff;font-size:13px;font-weight:600}
.welcome-continue:hover{background:linear-gradient(105deg,#ef469f,#f275b5)}
.welcome-continue:focus-visible{outline:2px solid #eba1c6;outline-offset:3px}
.welcome-continue svg{width:15px;height:15px}
@media(max-width:450px){.welcome-modal{width:calc(100vw - 28px);border-radius:19px}.welcome-content{padding:22px 17px 19px}.welcome-content h2{font-size:23px;margin-bottom:21px}.welcome-rules li{padding:13px;gap:12px}.welcome-rules p{font-size:12px}}

/* Compact category dropdown with an explicit selected state. */
.category-panel{width:238px;max-height:300px;padding:10px;border:1px solid #ffffff14;border-radius:14px;background:#19161b;box-shadow:0 16px 45px #0007,inset 0 1px 0 #ffffff04}
.category-panel h2{margin:4px 10px 10px;padding:3px 0 10px;border-bottom:1px solid #ffffff09;font-size:10px;font-weight:500;letter-spacing:.65px;color:#968491}
.category-panel [role="listbox"]{gap:3px}
.category-panel [role="option"]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding:9px 11px;border:1px solid transparent;border-radius:8px;font-size:12px;line-height:1.4;font-weight:400;color:#bfb1bd;transition:background .15s,color .15s}
.category-panel [role="option"]:hover{background:#ffffff05;color:#f0dfeb}
.category-panel [role="option"][aria-selected="true"]{color:#f2b7d5;font-weight:500;background:#ed6ca614;border-color:#ed6ca612}
.category-panel [role="option"]:focus-visible{outline:1px solid #e58ab7;outline-offset:-1px;background:#ffffff07}
.category-panel [role="option"] svg{width:14px;height:14px;flex-shrink:0;opacity:0;color:#ef96c0}
.category-panel [role="option"][aria-selected="true"] svg{opacity:1}
#category-toggle[aria-expanded="true"]{background:#eb7fb909;box-shadow:inset 0 0 0 1px #eb7fb91a}
.category-panel [role="option"]>span{position:static;right:auto;pointer-events:none;color:inherit;font-size:inherit}

/* Unified home chrome: aligned edges, restrained pink and consistent controls. */
body{border-top:0;background:#090909}
.header{height:66px;padding:0 24px;border-bottom:1px solid #ffffff05;background:#0c0b0c}
.header .brand{gap:7px;font-size:23px;font-weight:700;letter-spacing:-.8px}
.header .brand svg{width:28px;height:31px}
.banner{position:relative;height:29px;border-radius:0 0 11px 11px;background:linear-gradient(100deg,#db287e,#e34495 55%,#d75a9c);font-size:10px;font-weight:650;letter-spacing:.7px;color:#fff3fa;box-shadow:inset 0 1px 0 #ffffff0c}
main{padding:0 24px}
.tabs{height:66px;gap:27px;align-items:center}
.tab{padding:10px 0;font-size:17px;font-weight:600;letter-spacing:-.35px;color:#776e76;transition:color .15s}
.tab.active{color:#f5edf3}
.tab.active:after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:#e879b2}
.tab:hover{color:#c9b5c2}
.new-label{top:-2px;right:-9px;padding:2px 4px;border-radius:4px;background:#b83675;color:#ffe4f2;font-size:7px;font-weight:700;letter-spacing:.3px}
.toolbar{min-height:38px;margin:0 0 20px;gap:8px;padding-bottom:0}
.toolbar .icon-button{width:38px;height:38px;min-width:38px;flex-basis:38px;border-color:#ffffff0d;background:#151215;color:#b7a9b3}
.toolbar .icon-button svg{width:17px;height:17px;stroke:#b0a2ac;stroke-width:1.7}
.toolbar .icon-button:hover{background:#211a20;border-color:#d28aad26}
.toolbar .icon-button.selected{border-color:#df7fb638;background:#e579af0d}
.toolbar .icon-button.selected svg{stroke:#ed92c0;fill:#ed92c020}
.category,.chip{height:38px;border-color:#ffffff0d;background:#151215}
.category #category-toggle{min-width:85px;padding:0 14px;font-size:12px;font-weight:500;gap:15px}
#category-toggle svg{width:12px;height:12px;stroke:#a792a1}
.filters{gap:7px}
.chip{padding:0 15px;font-size:12px;font-weight:500;color:#a497a1;transition:color .15s,background .15s,border-color .15s}
.chip.active{border-color:#d391b32e;background:#2a222a;color:#f5d6e8}
.chip:hover{border-color:#d391b326;background:#211a20;color:#ead5e2}
#search{height:38px;border-color:#ffffff15;border-radius:22px;background:#181418;font-size:12px;color:#e9dce5}
#search::placeholder{color:#84717f}
#search:focus{outline:0;border-color:#d88cb5;box-shadow:0 0 0 3px #d88cb510}
.header .credits{height:30px;padding:0 10px;min-width:62px;background:#211a21;border-color:#ffffff0c;box-shadow:none}
.header .credits .credit-value{font-size:13px}
.header .credits svg{width:15px;height:15px}
.header .avatar{width:32px;height:32px;font-size:20px;border-color:#f4b9d5}
.header .join-free{height:33px;font-size:12px;padding:0 17px;background:linear-gradient(110deg,#e12988,#eb65a8)}
.gallery{column-gap:14px}.card{border-radius:12px;margin-bottom:14px}
@media(min-width:1800px){.gallery{column-gap:18px}.card{margin-bottom:18px}}
@media(max-width:800px){.header{height:60px;padding:0 18px}.header .brand{font-size:22px}.banner{height:28px;font-size:9px}main{padding:0 18px}.tabs{height:62px;gap:25px}.tab{font-size:16px}.toolbar{padding-bottom:5px;margin-bottom:15px}.gallery{column-gap:12px}.card{margin-bottom:12px}}
@media(max-width:550px){.header{height:58px;padding:0 14px}.header .brand{font-size:21px}.header .brand svg{width:25px;height:28px}main{padding:0 14px}.banner{font-size:8px;letter-spacing:.5px;height:26px;border-radius:0 0 8px 8px}.tabs{height:60px;gap:22px}.tab{font-size:15px}.new-label{font-size:6px;top:0;right:-7px}.toolbar{gap:7px}.toolbar .icon-button{width:36px;height:36px;min-width:36px;flex-basis:36px}.category,.chip{height:36px}.chip{font-size:11px;padding:0 13px}.category #category-toggle{font-size:11px;min-width:76px;padding:0 12px}.filters{gap:6px}#search{height:36px}.gallery{column-gap:10px}.card{margin-bottom:10px;border-radius:10px}.account-menu{top:60px}}

.header{position:sticky;top:0;z-index:40;box-shadow:0 1px 0 #ffffff06,0 5px 20px #0002}

/* Slightly shorter sticky header. */
.header{height:58px}
@media(max-width:800px){.header{height:54px}}
@media(max-width:550px){.header{height:52px}.account-menu{top:54px}}

.toolbar-scroll-slot{height:var(--toolbar-slot-height);margin-bottom:20px}
.toolbar.reveal-toolbar{position:fixed;top:var(--sticky-header-height,58px);left:0;right:0;z-index:35;margin:0;padding:10px 24px;background:#100d10f5;border-bottom:1px solid #ffffff0b;box-shadow:0 10px 22px #0003;backdrop-filter:blur(14px);overflow-x:auto;transform:translateY(-130%);visibility:hidden;pointer-events:none;transition:transform .2s ease,visibility .2s}
.toolbar.reveal-toolbar.is-revealed{transform:translateY(0);visibility:visible;pointer-events:auto}
@media(max-width:800px){.toolbar.reveal-toolbar{padding:9px 18px}.toolbar-scroll-slot{margin-bottom:15px}}
@media(max-width:550px){.toolbar.reveal-toolbar{padding:8px 14px}}
@media(prefers-reduced-motion:reduce){.toolbar.reveal-toolbar{transition:none}}

.toolbar.reveal-toolbar{background:transparent;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom-color:#ffffff08;box-shadow:none}

/* The category panel lives above the sticky header and reveal toolbar. */
.category-panel{z-index:60}

/* Reveal the primary navigation and filters together. */
.home-controls{display:flow-root}
.toolbar-scroll-slot{margin-bottom:0}
.home-controls.reveal-toolbar{position:fixed;top:var(--sticky-header-height,58px);left:0;right:0;z-index:35;margin:0;padding:0 24px 12px;background:transparent;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid #ffffff08;transform:translateY(-150%);visibility:hidden;pointer-events:none;transition:transform .2s ease,visibility .2s}
.home-controls.reveal-toolbar.is-revealed{transform:translateY(0);visibility:visible;pointer-events:auto}
.home-controls.reveal-toolbar .tabs{height:55px}
.home-controls.reveal-toolbar .toolbar{margin:0;overflow-x:auto;padding:3px 0 0}
@media(max-width:800px){.home-controls.reveal-toolbar{padding:0 18px 11px}.home-controls.reveal-toolbar .tabs{height:52px}}
@media(max-width:550px){.home-controls.reveal-toolbar{padding:0 14px 10px}.home-controls.reveal-toolbar .tabs{height:50px;overflow-x:auto;white-space:nowrap}.home-controls.reveal-toolbar .tab{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.home-controls.reveal-toolbar{transition:none}}

.video-card{background:linear-gradient(150deg,#332a33,#171418);border-radius:15px;overflow:hidden}
.card-video{width:100%;display:block;object-fit:cover;background:#1d191e}
.video-card:after{inset:55% 0 0;background:linear-gradient(transparent,#0003 25%,#000b);z-index:1}
.video-mini{position:absolute;left:12px;top:12px;width:39px;height:52px;border:2px solid #fff;border-radius:9px;overflow:hidden;transform:rotate(-7deg);box-shadow:0 2px 8px #0003;z-index:2;background:#2e2730}
.video-mini canvas{display:block;width:100%;height:100%;object-fit:cover}
.video-card-info{position:absolute;left:12px;right:12px;bottom:13px;text-align:center;z-index:2}
.video-card-info h2{font-size:15px;line-height:1.25;letter-spacing:-.4px;font-weight:700;margin:0 0 4px;color:#fff;text-shadow:0 1px 9px #0004}
.video-card-info p{margin:0 0 10px;color:#dfd6dc;font-size:12px;font-weight:500}
.video-trial{height:32px;min-width:120px;padding:0 18px;border:0;border-radius:22px;background:linear-gradient(110deg,#ee078a,#f96db9);color:#fff;font-size:13px;font-weight:900;font-style:italic;box-shadow:0 3px 14px #0002}
.video-trial:hover{filter:brightness(1.12)}
.video-error{position:absolute;inset:35% 10% auto;text-align:center;color:#b59eaf;font-size:12px}
#preview-video{width:100%;max-height:65dvh;display:block;background:#000}
@media(min-width:1800px){.video-card-info h2{font-size:18px}.video-trial{height:36px;min-width:140px;font-size:14px}}
@media(max-width:550px){.video-card{border-radius:12px}.video-mini{width:30px;height:40px;left:9px;top:9px;border-radius:7px}.video-card-info{left:8px;right:8px;bottom:10px}.video-card-info h2{font-size:12px;letter-spacing:-.2px}.video-card-info p{font-size:10px;margin-bottom:7px}.video-trial{height:28px;min-width:96px;padding:0 13px;font-size:11px}}

.creation-modal{width:min(780px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #ffffff1a;border-radius:20px;background:#191719;overflow:auto;scrollbar-width:thin}
.creation-content{padding:22px}
.creation-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}
.creation-heading h2{font-size:23px;font-weight:650;letter-spacing:-.6px;margin:0 0 10px;line-height:1.3}
.creation-meta{display:flex;align-items:center;gap:9px;font-size:11px}
.creation-author{padding:5px 11px;border:1px solid #e897be30;color:#f1a5ce;border-radius:20px;font-weight:550}
.creation-author span{margin-left:7px}.creation-category{padding:5px 10px;border:1px solid #ffffff0b;border-radius:20px;color:#958893}
.creation-actions{display:flex;align-items:center;gap:9px}
.creation-icon{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:#b7aab4}
.creation-icon svg{width:20px;height:20px}.creation-icon:hover{background:#ffffff08;color:#fff}
.creation-actions .close{position:static;font-size:inherit;background:transparent}
.creation-icon.is-saved{color:#f18fbe}.creation-icon.is-saved svg{fill:#f18fbe30}
.creation-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border:1px solid #ffffff13;border-radius:10px;margin-bottom:12px}
.creation-tabs button{border:0;border-radius:7px;height:36px;background:transparent;color:#897b87;font-size:13px;font-weight:500}
.creation-tabs button[aria-selected="true"]{background:#332b32;color:#f3e6ef}
.creation-workspace{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.creation-input{display:flex;flex-direction:column;gap:11px;min-width:0}
.upload-surface{position:relative;border-radius:12px;overflow:hidden;background:#29232a;aspect-ratio:4/4.2;isolation:isolate}
.upload-surface canvas,.upload-surface>img,.upload-surface>video{width:100%;height:100%;display:block;object-fit:cover}
.upload-surface [hidden]{display:none}
.creation-upload{position:absolute;bottom:12px;left:12px;right:12px;min-height:38px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #ffffff38;border-radius:24px;background:#1a141b80;backdrop-filter:blur(14px);font-size:13px;font-weight:500;cursor:pointer;color:#fff}
.creation-upload:hover{background:#30202dbb}.creation-upload svg{width:17px;height:17px}
.creation-options{display:grid;gap:9px}
.creation-options>label{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #ffffff10;border-radius:10px;padding:11px 13px;background:#151215;font-size:12px;cursor:pointer}
.creation-options input{position:absolute;opacity:0;width:1px;height:1px}
.creation-switch{position:relative;width:28px;height:17px;border:1px solid #ffffff20;border-radius:14px;background:#302830;transition:background .15s}
.creation-switch:before{content:'';position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#8f7e8c;transition:transform .15s}
.creation-options input:checked+.creation-switch{background:#bb3f7c;border-color:#db75aa}
.creation-options input:checked+.creation-switch:before{transform:translateX(11px);background:#fff}
.creation-options input:focus-visible+.creation-switch{outline:2px solid #ef9ac6;outline-offset:3px}
.creation-output{position:relative;min-width:0;background:#100e10;border:1px solid #ffffff12;border-radius:12px;overflow:hidden;display:flex;align-items:center}
.creation-output #preview-video{width:100%;height:100%;max-height:470px;object-fit:contain}
.output-label{position:absolute;left:12px;top:12px;font-size:8px;letter-spacing:1px;padding:5px 7px;border-radius:5px;background:#0006;backdrop-filter:blur(8px);color:#d8c7d2;pointer-events:none}
.creation-bottom{display:flex;align-items:center;gap:15px;margin-top:17px}
:is(#creation-generate,.image-replacement-generate){flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:45px;border:0;border-radius:10px;background:linear-gradient(100deg,#eb258e,#ef6aad);color:#fff;font-size:16px;font-weight:650}
:is(#creation-generate,.image-replacement-generate) svg{width:17px;height:17px;margin-left:4px}:is(#creation-generate,.image-replacement-generate):hover{filter:brightness(1.08)}
.creation-info{width:24px;height:24px;display:grid;place-items:center;border:1px solid #cf76a5;border-radius:50%;font-family:Georgia,serif;font-size:16px;color:#e697c1}
#creation-status{font-size:11px;line-height:1.5;color:#d6a5bf;margin:0}#creation-status:not(:empty){margin-top:12px}
@media(max-width:550px){.creation-modal{width:calc(100vw - 20px);border-radius:16px}.creation-content{padding:16px}.creation-heading{gap:10px;margin-bottom:14px}.creation-heading h2{font-size:18px}.creation-actions{gap:3px}.creation-icon{width:27px;height:27px}.creation-meta{font-size:10px;gap:6px}.creation-workspace{gap:9px}.creation-tabs button{font-size:12px;height:33px}.creation-upload{bottom:8px;left:7px;right:7px;min-height:31px;font-size:10px;gap:5px}.creation-upload svg{width:14px;height:14px}.creation-options>label{font-size:10px;padding:10px}.creation-bottom{gap:10px}:is(#creation-generate,.image-replacement-generate){height:41px;font-size:14px}.creation-output #preview-video{max-height:360px}.output-label{font-size:7px;left:7px;top:7px}}

/* A balanced, compact creation workspace. */
.creation-modal{width:min(720px,calc(100vw - 36px));border-radius:18px;border-color:#ffffff14;background:#151215}
.creation-content{padding:20px}
.creation-heading{gap:16px;margin-bottom:17px}
.creation-heading h2{font-size:19px;line-height:1.35;font-weight:600;letter-spacing:-.4px;margin-bottom:8px;max-width:530px}
.creation-meta{font-size:10px;gap:7px}.creation-author{padding:4px 9px;background:#ed8bbb06;border-color:#ed8bbb1a}.creation-category{padding:4px 9px;color:#998895}
.creation-actions{gap:5px}.creation-icon{width:28px;height:28px;background:#ffffff03}.creation-icon svg{width:17px;height:17px}
.creation-tabs{margin-bottom:14px;border-color:#ffffff09;background:#100d11;border-radius:9px;padding:3px}
.creation-tabs button{height:32px;font-size:12px;border-radius:6px;font-weight:500}
.creation-tabs button[aria-selected="true"]{background:#30242f;color:#f2c9e0;box-shadow:inset 0 0 0 1px #ed91bd13}
.creation-workspace{gap:12px;align-items:start}
.creation-input{gap:10px}
.upload-surface{aspect-ratio:4/4.4;border:1px solid #ffffff0e;border-radius:11px;background:#211a22}
.creation-upload{bottom:10px;left:10px;right:10px;height:34px;min-height:34px;font-size:11px;border-color:#ffffff30;background:#2114219e;border-radius:8px}
.creation-upload svg{width:15px;height:15px}
.creation-options{grid-template-columns:1fr 1fr;gap:8px}
.creation-options>label{min-height:39px;padding:9px 10px;font-size:10px;gap:6px;background:#1b161d;border-color:#ffffff0b;border-radius:8px}
.creation-switch{width:26px;height:16px;flex-shrink:0}.creation-switch:before{width:10px;height:10px}
.creation-output{aspect-ratio:4/4.4;border-radius:11px;display:block;background:#0c0a0d;border-color:#ffffff0e}
.creation-output #preview-video{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}
.output-label{top:10px;left:10px;border:1px solid #ffffff14;background:#17101870;padding:5px 7px;font-size:7px;letter-spacing:.9px;border-radius:5px}
.creation-bottom{margin-top:16px;gap:12px}
:is(#creation-generate,.image-replacement-generate){height:41px;font-size:13px;gap:7px;border-radius:9px;background:linear-gradient(110deg,#df2688,#e85da5);box-shadow:inset 0 1px 0 #ffffff15}
:is(#creation-generate,.image-replacement-generate) svg{width:15px;height:15px;margin-left:5px}
:is(#creation-generate,.image-replacement-generate)>span{font-size:12px;font-weight:500;opacity:.9}
.creation-info{width:21px;height:21px;font-size:14px;border-color:#94708a;color:#b98ca7}
#creation-status{font-size:10px}
@media(max-width:550px){.creation-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:16px}.creation-content{padding:15px}.creation-heading h2{font-size:16px}.creation-heading{gap:8px}.creation-actions{gap:3px}.creation-icon{width:25px;height:25px}.creation-meta{font-size:9px}.creation-workspace{gap:9px}.creation-tabs button{font-size:11px}.creation-options{grid-template-columns:1fr}.creation-options>label{font-size:10px;min-height:33px;padding:7px 9px}.creation-upload{left:7px;right:7px;bottom:7px;font-size:10px;height:30px;min-height:30px}.creation-upload svg{width:13px;height:13px}.output-label{font-size:6px;top:7px;left:7px}.creation-bottom{margin-top:13px}}

/* Tinted glass keeps the revealed filters readable over colorful videos. */
.home-controls.reveal-toolbar{background:linear-gradient(180deg,rgba(15,12,16,.9),rgba(18,14,19,.84));backdrop-filter:blur(24px) saturate(.55);-webkit-backdrop-filter:blur(24px) saturate(.55);border-bottom:1px solid #dcc0d110;box-shadow:0 6px 20px #0002}
.home-controls.reveal-toolbar .tab{color:#a1959e}
.home-controls.reveal-toolbar .tab.active{color:#f7edf4}
.home-controls.reveal-toolbar .tab:hover{color:#dfc8d7}

/* Imagegen-directed creation studio: media first, compact shared settings. */
.creation-modal{width:min(820px,calc(100vw - 40px));border-radius:19px;background:#151216;border-color:#ffffff13;box-shadow:0 28px 100px #000a}
.creation-content{padding:25px}
.creation-eyebrow{display:block;color:#af809a;font-size:8px;font-weight:600;letter-spacing:1.7px;margin-bottom:9px}
.creation-heading{margin-bottom:19px}
.creation-heading h2{font-size:20px;letter-spacing:-.5px;max-width:650px;margin-bottom:10px;line-height:1.3}
.creation-actions{padding-top:10px;gap:7px}
.creation-icon{background:transparent;color:#a894a2}
.creation-tabs{width:fit-content;min-width:310px;margin-bottom:20px;border-color:#ffffff0b;padding:3px;background:#100e12}
.creation-tabs button{padding:0 24px;font-size:11px;height:32px}
.creation-tabs button[aria-selected="true"]{background:#332631;color:#f0c1da}
.creation-workspace{gap:16px;grid-template-columns:1fr 1fr}
.upload-surface,.creation-output{aspect-ratio:4/3;border-radius:11px;background:#211b23}
.upload-surface:after{content:'';position:absolute;inset:65% 0 0;z-index:0;background:linear-gradient(transparent,#0005);pointer-events:none}
.creation-upload{z-index:1;left:12px;right:12px;bottom:12px;border-radius:7px;background:#211a258a;border-color:#ffffff24;min-height:32px;height:32px;font-size:11px}
.source-label,.output-label{position:absolute;top:11px;left:11px;z-index:1;pointer-events:none;padding:5px 7px;border:1px solid #ffffff1a;border-radius:5px;backdrop-filter:blur(10px);background:#17101877;color:#eee0eb;font-size:7px;line-height:1.4;font-weight:500;letter-spacing:1px}
.creation-output #preview-video{object-fit:cover}
.creation-settings{padding:13px 0 17px}
.creation-options{display:flex;align-items:center;gap:20px}
.creation-options>label{flex:none;justify-content:flex-start;min-height:30px;background:none;border:0;padding:0;gap:10px;font-size:11px;color:#aa98a6}
.creation-switch{background:#312a33;border-color:#ffffff12}
.creation-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:0;padding-top:18px;border-top:1px solid #ffffff0c}
.creation-cost{display:grid;gap:5px}
.creation-cost>span{font-size:9px;color:#867181}
.creation-cost strong{display:flex;align-items:center;gap:5px;font-size:14px;font-weight:550;color:#e5b7d2}
.creation-cost strong svg{width:15px;height:15px}
.creation-cost strong>span{font-size:10px;font-weight:400;color:#9b8293;margin-left:1px}
:is(#creation-generate,.image-replacement-generate){flex:none;width:200px;height:40px;font-size:12px;gap:12px;background:#e34299;border:1px solid #f781b926;box-shadow:0 3px 14px #e3429910;border-radius:8px}
:is(#creation-generate,.image-replacement-generate):hover{background:#ef59a8}
:is(#creation-generate,.image-replacement-generate) svg{width:15px;height:15px;margin:0}
.creation-preview-note{margin:15px 0 0;text-align:center;font-size:9px;color:#796473;letter-spacing:.15px}
#creation-status:not(:empty){text-align:center;margin-top:10px;font-size:10px}
@media(max-width:550px){.creation-modal{width:calc(100vw - 20px);border-radius:16px}.creation-content{padding:17px}.creation-heading h2{font-size:16px}.creation-eyebrow{font-size:7px}.creation-heading{gap:9px}.creation-actions{gap:3px}.creation-tabs{width:100%;min-width:0;margin-bottom:15px}.creation-tabs button{padding:0 10px;font-size:11px}.creation-workspace{gap:9px}.upload-surface,.creation-output{aspect-ratio:3/4}.creation-upload{left:7px;right:7px;bottom:8px;font-size:9px;gap:5px;height:29px;min-height:29px}.source-label,.output-label{font-size:6px;top:8px;left:7px;padding:4px 5px;letter-spacing:.5px}.creation-options{gap:18px}.creation-options>label{font-size:10px;gap:8px}.creation-settings{padding:10px 0 13px}.creation-bottom{gap:14px;padding-top:14px}:is(#creation-generate,.image-replacement-generate){width:170px;font-size:11px;height:38px}.creation-preview-note{font-size:8px}.creation-cost strong{font-size:13px}}

/* Adopt the generated studio reference. */
.creation-tabs{margin-left:auto;margin-right:auto;min-width:350px;border-color:#b29aae30}
.creation-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 20px}
.creation-tabs button svg{width:15px;height:15px}
.creation-tabs button[aria-selected="true"]{background:#ef57a4;color:#21121c;box-shadow:0 2px 8px #ed5caa18}
.upload-surface,.creation-output{aspect-ratio:4/3.4;border:1px solid #b29aae26;background:#1b161e;border-radius:10px}
.upload-surface canvas,.upload-surface>img,.upload-surface>video{position:absolute;top:33px;left:6px;width:calc(100% - 12px);height:calc(100% - 39px);border-radius:7px;object-fit:cover}
.creation-output #preview-video{top:33px;left:6px;width:calc(100% - 12px);height:calc(100% - 39px);border-radius:7px}
.source-label,.output-label{top:10px;left:13px;padding:0;background:none;border:0;backdrop-filter:none;color:#c9bcc7;font-size:7px;letter-spacing:1px}
.creation-upload{bottom:12px;left:13px;right:13px}
.creation-settings{margin-top:12px;padding:11px 16px;border:1px solid #b29aae24;border-radius:9px;background:#1a141c}
.creation-options{display:grid;grid-template-columns:1fr 1fr;gap:0}
.creation-options>label{justify-content:space-between;min-height:24px;padding:0 19px 0 0}
.creation-options>label+label{padding:0 0 0 19px;border-left:1px solid #ffffff16;border-radius:0}
.creation-bottom{margin-top:17px}
@media(max-width:550px){.creation-tabs{min-width:0}.creation-tabs button{padding:0 10px;gap:6px}.creation-tabs button svg{width:13px;height:13px}.upload-surface,.creation-output{aspect-ratio:3/4}.source-label,.output-label{font-size:6px;left:10px;top:10px}.creation-settings{padding:11px}.creation-options>label{padding-right:11px;font-size:9px}.creation-options>label+label{padding-left:11px}.creation-upload{left:11px;right:11px}}

/* Cohesive, understated modal actions. */
.creation-actions{align-items:center;gap:8px;padding-top:0;flex-shrink:0}
.creation-actions .creation-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid #ffffff0b;border-radius:10px;background:#ffffff03;color:#a894a3;transition:color .15s,background .15s,border-color .15s}
.creation-actions .creation-icon svg{width:16px;height:16px;stroke-width:1.65}
.creation-actions .creation-icon:hover{background:#ec8ab40c;border-color:#ec8ab424;color:#f1b5d6}
.creation-actions .creation-icon:active{background:#ec8ab416}
.creation-actions .creation-icon:focus-visible{outline:2px solid #d995ba;outline-offset:3px}
.creation-actions .creation-icon.is-saved{background:#e86ca417;border-color:#e86ca42e;color:#f29bc7}
.creation-actions .creation-icon.is-saved svg{fill:#f29bc72b}
.creation-actions .close{background:#ffffff03;color:#978592}
.creation-actions .close:hover{background:#ffffff08;border-color:#ffffff1b;color:#f4eaf1}
@media(max-width:550px){.creation-actions{gap:6px}.creation-actions .creation-icon{width:29px;height:29px;border-radius:8px}.creation-actions .creation-icon svg{width:15px;height:15px}}

/* Media panels without title strips. */
.upload-surface canvas,.upload-surface>img,.upload-surface>video,.creation-output #preview-video{top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 12px)}

.creation-workspace{position:relative}
.creation-flow-arrow{position:absolute;left:50%;top:50%;width:48px;height:64px;transform:translate(-50%,-50%);z-index:3;pointer-events:none;color:#e55a9e;filter:drop-shadow(0 1px 3px #0004)}
@media(max-width:550px){.creation-flow-arrow{width:36px;height:49px}}

/* Native portrait and landscape ratios, bounded by the available screen height. */
.creation-workspace{--media-ratio:1.333333;width:min(100%,calc(52dvh * var(--media-ratio) * 2 + 16px));margin-inline:auto}
.upload-surface,.creation-output{aspect-ratio:var(--media-ratio)}
.upload-surface canvas,.upload-surface>img,.upload-surface>video,.creation-output #preview-video{object-fit:contain}
@media(max-width:550px){.creation-workspace{width:min(100%,calc(48dvh * var(--media-ratio) * 2 + 9px))}.upload-surface,.creation-output{aspect-ratio:var(--media-ratio)}}

/* Frameless media previews. */
.creation-workspace .upload-surface,.creation-workspace .creation-output{border:0;background:transparent;box-shadow:none;padding:0;border-radius:10px}
.creation-workspace .upload-surface canvas,.creation-workspace .upload-surface>img,.creation-workspace .upload-surface>video,.creation-workspace .creation-output #preview-video{top:0;left:0;width:100%;height:100%;border-radius:10px}
.video-mini img{display:block;width:100%;height:100%;object-fit:cover}

.creation-meta{flex-wrap:wrap;align-items:center;row-gap:7px}
.creation-tags{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.creation-tags .creation-category{display:inline-block;line-height:1.4;overflow-wrap:anywhere;max-width:100%;border-color:#c89ab51a;background:#c89ab505;color:#b39aaa}

.creation-tabs button:disabled{opacity:.3;cursor:not-allowed}
.swap-config{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 13px}
.swap-config p{font-size:11px;color:#a08a99;margin:0;line-height:1.5}
.swap-config label{font-size:10px;color:#b69aa9;display:flex;align-items:center;gap:7px;white-space:nowrap}
.swap-config select{background:#231b24;color:#e8d0df;border:1px solid #c393ae24;border-radius:6px;padding:5px 8px;font-size:10px}
.swap-targets{margin-top:17px;padding:13px;border:1px solid #c293ad20;border-radius:10px;background:#1c161e}
.swap-targets[hidden],.swap-result-actions [hidden]{display:none}
.swap-targets>p{margin:0 0 10px;color:#bd9fb0;font-size:11px}
.swap-people{display:flex;gap:9px;overflow-x:auto;padding:2px}
.swap-people button{display:grid;gap:6px;flex:0 0 72px;padding:5px;border:1px solid #ffffff12;border-radius:8px;background:#231b25;color:#b59cac;font-size:10px}
.swap-people button img{width:60px;height:72px;object-fit:cover;border-radius:5px}
.swap-people button[aria-pressed="true"]{border-color:#e665a7;background:#452237;color:#f5c7df}
.swap-people button:disabled{cursor:default}
:is(#creation-generate,.image-replacement-generate){width:auto;min-width:200px;padding:0 17px}
:is(#creation-generate,.image-replacement-generate):disabled{background:#59304a;color:#b58ca5;cursor:default}
.swap-result-actions{display:flex;justify-content:center;gap:18px;margin-top:12px}
.swap-result-actions button,.swap-result-actions a{background:none;border:0;padding:0;font-size:11px;color:#d89bbd;text-decoration:none}
.creation-upload:has(+input:disabled){pointer-events:none;opacity:.45}
@media(max-width:550px){.swap-config{gap:10px}.swap-config p{font-size:10px}.swap-config label{font-size:9px}.swap-config select{font-size:9px}.creation-bottom{flex-wrap:wrap}:is(#creation-generate,.image-replacement-generate){min-width:165px;font-size:10px}.swap-people button{flex-basis:64px}.swap-people button img{width:52px;height:64px}}

.creation-primary-actions{display:flex;align-items:center;gap:10px}
#creation-quote{height:40px;padding:0 18px;border:1px solid #d18aae30;border-radius:8px;background:#2b1e29;color:#efb8d5;font-size:12px;font-weight:550;white-space:nowrap}
#creation-quote:hover:not(:disabled){background:#382637;border-color:#e59abc50}
#creation-quote:disabled{opacity:.4;cursor:default}
.creation-primary-actions :is(#creation-generate,.image-replacement-generate){min-width:150px;white-space:nowrap}
@media(max-width:550px){.creation-primary-actions{gap:7px}#creation-quote{padding:0 11px;font-size:10px;height:38px}.creation-primary-actions :is(#creation-generate,.image-replacement-generate){min-width:115px;padding:0 12px}.creation-bottom{gap:12px}}
#creation-status:empty{display:none}
.creation-quote-detail{font-size:11px;line-height:1.5;color:#c8a5ba;margin:4px 0 0;font-variant-numeric:tabular-nums}
@media(max-width:550px){.creation-quote-detail{font-size:10px}}

.toolbar[hidden]{display:none}
.tabs{overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs .tab{flex-shrink:0}
.my-creation-play{height:31px;padding:0 16px;border:1px solid #ef9ac73b;border-radius:20px;background:#ef4b9cbf;color:#fff;font-size:11px;font-weight:550;backdrop-filter:blur(10px)}
.my-creation-play:hover{background:#ed5ba8}
.my-creation-player{width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;border-radius:18px;background:#151216;border:1px solid #ffffff16}
.my-creation-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px}
.my-creation-heading h2{font-size:17px;line-height:1.4;margin:0;font-weight:600}
#my-creation-close{display:grid;place-items:center;width:29px;height:29px;flex-shrink:0;border:1px solid #ffffff10;border-radius:8px;background:#ffffff04;color:#ad96a5}
#my-creation-close svg{width:16px;height:16px}
#my-creation-video{display:block;width:100%;max-height:68dvh;background:#000}
.my-creation-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;color:#8e7e89;font-size:11px}
#my-creation-download{display:inline-flex;padding:8px 13px;background:#e44d9a;color:#fff;border-radius:7px;text-decoration:none;font-size:11px}
.creation-primary-actions :is(#creation-generate,.image-replacement-generate){min-width:190px}
@media(max-width:550px){.creation-primary-actions :is(#creation-generate,.image-replacement-generate){min-width:155px}}

.creation-processing{border:1px solid #e883b72b;background:#211823}
.creation-processing-media{position:relative;min-height:220px;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#6c315b55,transparent 75%),#211823}
.creation-processing-media>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;filter:blur(5px) brightness(.45);transform:scale(1.04)}
.creation-processing-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;padding:25px 15px 85px;background:linear-gradient(#24132030,#1a1018b0);z-index:2}
.creation-processing-status{display:flex;align-items:center;flex-direction:column;gap:13px;font-size:12px;font-weight:500;color:#f1cbdf}
.creation-spinner{width:30px;height:30px;border:2px solid #f4a1cc25;border-top-color:#f389bf;border-right-color:#efb9d8;border-radius:50%;animation:creation-spin 1s linear infinite}
.creation-progress-track{position:absolute;top:calc(50% + 23px);width:90px;height:3px;overflow:hidden;border-radius:4px;background:#f4b7d61a}
.creation-progress-track:after{content:'';position:absolute;width:38%;height:100%;border-radius:4px;background:#eb7db3;animation:creation-progress 1.8s ease-in-out infinite}
.creation-card-error{max-width:100%;font-size:10px;color:#d8adbd;text-align:center;line-height:1.5;overflow-wrap:anywhere}
.creation-processing .video-card-info{pointer-events:none}
.creation-inline-targets{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}
.creation-inline-targets button{padding:3px;border:1px solid #de85b144;border-radius:7px;background:#31202c}
.creation-inline-targets button:hover{border-color:#f2a4d1}
.creation-inline-targets img{display:block;width:43px;height:58px;object-fit:cover;border-radius:4px}
@keyframes creation-spin{to{transform:rotate(360deg)}}
@keyframes creation-progress{0%{transform:translateX(-100%)}100%{transform:translateX(360%)}}
@media(prefers-reduced-motion:reduce){.creation-spinner{animation:none;border-color:#f389bf}.creation-progress-track:after{animation:none;left:31%}}

/* Keep the footer at the viewport bottom when the page has little content. */
html{min-height:100%}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>.header,body>.banner,body>.site-footer{flex-shrink:0}
body>main{flex:1 0 auto;min-width:0}
body>.site-footer{margin-top:auto}

/* Align footer content with the header's responsive horizontal gutters. */
.redesigned-footer{padding-left:24px;padding-right:24px}
.redesigned-footer .footer-proof,.redesigned-footer .footer-bottom{max-width:none;width:100%}
@media(max-width:800px){.redesigned-footer{padding-left:18px;padding-right:18px}}
@media(max-width:550px){.redesigned-footer{padding-left:14px;padding-right:14px}}

.creation-model-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;color:inherit}.creation-model-control select{max-width:100%;padding:10px 12px;border:1px solid #666;border-radius:8px;background:#17171b;color:#fff}.creation-model-control small{opacity:.7;font-size:12px}

/* Creation placeholders follow template geometry, including landscape clips. */
.my-creation-card .creation-processing-media{min-height:0}

/* Fill left-to-right before advancing, rather than filling CSS columns. */
.gallery{--masonry-columns:5;--masonry-gap:14px;columns:auto;display:grid;grid-template-columns:repeat(var(--masonry-columns),minmax(0,1fr));grid-auto-rows:1px;grid-auto-flow:row;column-gap:var(--masonry-gap);row-gap:0;align-items:start}
.gallery>.card{margin:0;min-width:0;align-self:start;break-inside:auto}
@media(min-width:1800px){.gallery{--masonry-gap:18px}}
@media(max-width:1100px){.gallery{--masonry-columns:4}}
@media(max-width:800px){.gallery{--masonry-columns:3;--masonry-gap:12px}}
@media(max-width:550px){.gallery{--masonry-columns:2;--masonry-gap:10px}}
/* Creation viewer: media-led overlay matching the compact preview design. */
#my-creation-player.creation-overlay-player{position:fixed;padding:0;width:min(620px,calc(100vw - 24px));height:auto;max-width:none;max-height:calc(100dvh - 40px);overflow:hidden;border:1px solid #ffffff24;border-radius:20px;background:#151515;box-shadow:0 25px 90px #0009}
#my-creation-player #my-creation-video{display:block;width:100%;height:auto;max-height:calc(100dvh - 40px);object-fit:contain;background:#151515;cursor:pointer}
#my-creation-player .my-creation-heading{position:absolute;inset:0 0 auto;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px;background:linear-gradient(#0008,transparent);border:0;pointer-events:none}
#my-creation-title{font-size:clamp(16px,1.7vw,22px);line-height:1.25;margin:3px 0 0;font-weight:750;color:#fff;text-shadow:0 2px 12px #0008}
#my-creation-player .player-circle{pointer-events:auto;flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:11px;border:1px solid #ffffff26;border-radius:50%;background:#181b1ab3;backdrop-filter:blur(14px);color:white;cursor:pointer;text-decoration:none}
#my-creation-player .player-circle svg{width:100%;height:100%}
#my-creation-player .player-circle:hover{background:#ffffff29}
#my-creation-player .player-circle[aria-pressed=true]{background:#b94879cc;border-color:#ef8bb6}
.creation-player-actions{position:absolute;right:20px;bottom:98px;z-index:3;display:flex;flex-direction:column;gap:10px}
#my-creation-dislike svg{transform:rotate(180deg)}
#my-creation-delete{position:absolute;bottom:98px;left:20px;z-index:3}
#my-creation-player #my-creation-download{padding:11px;font-size:inherit;background:#181b1ab3;border-radius:50%}
.creation-player-bottom{position:absolute;inset:auto 0 0;z-index:2;padding:16px 20px 18px;background:linear-gradient(transparent,#0007)}
#my-creation-regenerate{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:54px;border:1px solid #ffffff26;border-radius:12px;background:#1c1b1ac9;backdrop-filter:blur(18px);color:#fff;font-size:18px;font-weight:700}
#my-creation-regenerate:hover{background:#3e3039e6}
#my-creation-regenerate-cost{white-space:nowrap}
#my-creation-player-status:empty{display:none}
#my-creation-player-status{margin:8px 0 0;font-size:12px;color:#ffc2dc}
@media(max-width:550px){#my-creation-player .my-creation-heading{padding:15px}.creation-player-actions{right:14px;gap:8px;bottom:90px}#my-creation-delete{left:14px;bottom:90px}.creation-player-bottom{padding:12px 14px 16px}#my-creation-player .player-circle{width:38px;height:38px;padding:9px}#my-creation-regenerate{height:48px;font-size:16px}}

#my-creation-regenerate-cost{display:inline-flex;align-items:center;gap:5px}#my-creation-regenerate-cost svg{width:20px;height:20px}

/* Compact creation player with breathing room around the modal. */
#my-creation-player.creation-overlay-player{width:min(580px,calc(100vw - 24px));max-height:80dvh}
#my-creation-player #my-creation-video{max-height:80dvh}
/* In-app deletion confirmation, above the creation player. */
.delete-creation-confirm{width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:32px 25px 25px;border:1px solid #ffffff20;border-radius:22px;background:#121212;color:#fff;text-align:center;box-shadow:0 24px 90px #0009}
.delete-creation-confirm::backdrop{background:#0009;backdrop-filter:blur(6px)}
.delete-creation-warning{display:block;width:58px;height:58px;margin:0 auto 20px;color:#ff884c}
#delete-creation-title{margin:0;font-size:22px;font-weight:700;line-height:1.3}
#delete-creation-description{margin:24px 5px 28px;font-size:16px;line-height:1.6;color:#b5b5b5}
.delete-creation-actions{display:flex;flex-direction:column;gap:12px}
.delete-creation-actions button{height:49px;border:0;border-radius:10px;font-weight:700;font-size:16px;color:#fff}
#delete-creation-accept{background:#f54268}
#delete-creation-accept:hover{background:#ff5578}
#delete-creation-cancel{background:#2a2a2a}
#delete-creation-cancel:hover{background:#363636}
.delete-creation-actions button:disabled{opacity:.6;cursor:wait}
#delete-creation-error{font-size:13px;line-height:1.4;color:#ff9fba}

/* Compact deletion confirmation. */
.delete-creation-confirm{width:min(320px,calc(100vw - 32px));padding:22px 20px 18px;border-radius:16px;border-color:#ffffff18;box-shadow:0 16px 50px #0006}
.delete-creation-confirm::backdrop{background:#0006;backdrop-filter:blur(3px)}
.delete-creation-warning{width:36px;height:36px;margin:0 auto 12px}
#delete-creation-title{font-size:18px;font-weight:650}
#delete-creation-description{margin:12px 0 20px;font-size:13px;line-height:1.5;color:#a7a3a6}
.delete-creation-actions{flex-direction:row;gap:9px}
.delete-creation-actions button{flex:1;height:38px;border-radius:8px;font-size:13px;font-weight:600}
#delete-creation-cancel{order:-1;background:#ffffff0c;border:1px solid #ffffff12}
#delete-creation-accept{background:#e94366}

.card-template-image{display:block;width:100%;height:auto;object-fit:cover;background:#1d191e}.image-template-card{cursor:pointer}.image-template-preview{width:min(880px,calc(100vw - 32px));max-height:92dvh;padding:0;border:1px solid #39313e;border-radius:18px;background:#17131d;color:#f6f0fa;overflow:auto;box-shadow:0 24px 100px #0008}.image-template-preview::backdrop{background:#000b;backdrop-filter:blur(5px)}.image-template-preview header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #ffffff12}.image-template-preview h2{margin:0 0 6px;font-size:20px}.image-template-preview header span{color:#9c90a6;font-size:12px}.image-preview-close{font-size:28px;border:0;background:none;color:#b6a9c0;padding:5px 8px}.image-preview-body{display:flex;justify-content:center;background:#0d0a10;padding:16px}.image-preview-body img{display:block;max-width:100%;max-height:65vh;object-fit:contain}.image-template-preview footer{padding:18px 24px}.image-preview-tags{display:flex;gap:8px;flex-wrap:wrap}.image-preview-tags span{font-size:12px;border-radius:6px;background:#ffffff0b;color:#bcb0c7;padding:5px 9px}.image-preview-actions{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:16px}.image-preview-actions>span{font-size:13px;color:#c7a5e6}.image-preview-save{border:1px solid #806696;border-radius:8px;padding:9px 14px;background:#ac85cb20;color:#dbc3ef;font-size:12px}.image-preview-save[aria-pressed=true]{background:#a475c5;color:white}@media(max-width:550px){.image-template-preview header,.image-template-preview footer{padding:16px}.image-template-preview h2{font-size:17px}}


.image-type-pill{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(110deg,#8055e4,#b18af5);font-style:normal;box-shadow:0 3px 14px #0002}.image-template-card:after{display:block}

.image-swap-modal{width:min(1100px,calc(100vw - 32px))}.image-swap-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.image-swap-input{padding:24px;border-right:1px solid #ffffff12}.image-swap-input h3{font-size:16px;margin:0 0 20px}.image-swap-input>p{font-size:12px;line-height:1.7;color:#a899b4}.image-swap-uploads{display:grid;gap:16px}.image-swap-upload{display:flex;position:relative;align-items:center;justify-content:center;min-height:180px;border:1px dashed #78608b;border-radius:12px;background:#a77bd50a;cursor:pointer;overflow:hidden}.image-swap-upload img{width:100%;height:220px;object-fit:contain}.image-swap-upload span{font-size:13px;color:#cbb4dd}.image-swap-upload:has(img:not([hidden])) span{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:9px;background:#17131dbb}.image-swap-generate{margin-left:10px;border:0;border-radius:8px;padding:10px 18px;font-size:13px;font-weight:600;color:white;background:linear-gradient(110deg,#8055e4,#b18af5)}.image-swap-generate:disabled{opacity:.4;cursor:not-allowed}.image-swap-modal .image-preview-body img{max-height:60vh}.image-swap-status{color:#e9a2c1!important}@media(max-width:650px){.image-swap-workspace{grid-template-columns:1fr}.image-swap-input{border-right:0;border-bottom:1px solid #ffffff12;padding:18px}.image-swap-upload{min-height:140px}.image-preview-actions{flex-wrap:wrap}.image-swap-modal .image-preview-actions>div{display:flex;flex-wrap:wrap;gap:8px}.image-swap-generate{margin-left:0}}

.image-replacement-modal .creation-tabs{min-width:0}.image-replacement-modal .creation-tabs button{min-width:200px}.image-replacement-modal .image-replacement-template{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:10px}.image-replacement-modal .reference-photo-placeholder{opacity:.5;filter:blur(2px)}.image-replacement-modal .image-reference-input{min-width:0;display:grid;gap:9px}.image-replacement-modal .reference-photo-surface{width:100%}.image-replacement-modal .two-reference-people{grid-template-columns:1fr 1fr;align-content:center}.image-replacement-modal .two-reference-people .upload-surface{aspect-ratio:var(--media-ratio);min-height:130px}.image-replacement-modal .two-reference-people .creation-upload{left:4px;right:4px;font-size:9px;padding:0 4px;gap:4px}.image-replacement-modal .two-reference-people .creation-upload svg{width:12px;height:12px}.image-replacement-help,.image-replacement-status{font-size:10px;line-height:1.7;color:#a38b9b;text-align:center;margin:12px 0 0}.image-replacement-status:empty{display:none}.image-replacement-modal .image-replacement-generate{display:flex;align-items:center;justify-content:center;color:#fff}.image-replacement-modal .creation-heading h2{overflow-wrap:anywhere}@media(max-width:550px){.image-replacement-modal .two-reference-people{grid-template-columns:1fr}.image-replacement-modal .two-reference-people .upload-surface{aspect-ratio:auto;min-height:100px}.image-replacement-modal .two-reference-people .creation-upload{font-size:9px;height:27px;bottom:6px}}

#my-creation-player #my-creation-image{display:block;width:100%;height:auto;max-height:calc(100dvh - 40px);object-fit:contain;background:#151515}#my-creation-player #my-creation-image[hidden],#my-creation-player #my-creation-video[hidden],#my-creation-player #my-creation-sound[hidden]{display:none}

.my-creation-card>.video-card-info:empty{display:none}.my-creation-card:not(.creation-processing):after{display:none}.creation-media-badge{position:absolute;top:10px;left:10px;z-index:3;display:inline-flex;align-items:center;justify-content:center;min-width:0;height:22px;padding:0 9px;border-radius:6px;color:white;font-size:10px;font-weight:650;line-height:1;pointer-events:none;box-shadow:0 2px 8px #0002}.image-media-badge{background:linear-gradient(110deg,#8055e4,#b18af5)}.video-media-badge{background:linear-gradient(110deg,#e34299,#f17ab4)}@media(max-width:550px){.creation-media-badge{top:8px;left:8px;height:20px;padding:0 7px;font-size:9px}}

.frame-creation-status{position:absolute;bottom:0;left:0;right:0;padding:25px 10px 14px;background:linear-gradient(transparent,#000b);color:#f1d3eb;font-size:12px;text-align:center}.creation-frame-placeholder{aspect-ratio:9/16;background:#231a2a}.replaced-frames-preview{width:min(1250px,calc(100vw - 32px))}.replaced-frames-grid{padding:22px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.replaced-frames-grid h3{font-size:13px;margin:0 0 12px;display:flex;justify-content:space-between}.replaced-frames-grid h3 small{color:#ac98b8;font-size:10px;font-weight:400}.replaced-frames-grid section>span{display:block;font-size:11px;color:#aa97b3;margin:12px 0 8px}.replaced-frames-grid img{width:100%;height:190px;object-fit:contain;border:1px solid #ffffff18;border-radius:8px;background:#0c090f}.frame-waiting{height:190px;display:grid;place-items:center;color:#a18bab;background:#ffffff06;border-radius:8px;font-size:12px}.replaced-frames-preview footer p{font-size:12px;line-height:1.7;color:#ac98b8}@media(max-width:850px){.replaced-frames-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:550px){.replaced-frames-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px;gap:12px}.replaced-frames-grid img,.frame-waiting{height:150px}}

.replaced-frames-preview footer{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.replaced-frames-preview footer p{flex:1;min-width:200px}.frames-generate-video,.frames-play-video{border:1px solid #dc6ba7;border-radius:24px;background:#b83c7f;color:#fff;padding:12px 20px;font:inherit;cursor:pointer;white-space:nowrap}.frames-generate-video:disabled{opacity:.55;cursor:wait}.frames-generate-video[hidden],.frames-play-video[hidden]{display:none}

.replaced-frames-grid.endpoint-frames{grid-template-columns:repeat(2,minmax(0,1fr));width:min(760px,100%);margin-inline:auto;box-sizing:border-box}
.home-controls>.toolbar{display:none!important}
.tabs .creations-nav-button{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;padding:10px 17px;border:1px solid #634251;border-radius:12px;background:#251920;color:#f1bad6;font-size:14px;font-weight:650;letter-spacing:0;line-height:1.3;transition:background .15s,border-color .15s,color .15s}.tabs .creations-nav-button svg{width:18px;height:18px;flex-shrink:0}.tabs .creations-nav-button:hover{background:#39232f;border-color:#ab6489;color:#ffe2f1}.tabs .creations-nav-button.active{background:#e74b9b;border-color:#e74b9b;color:#fff}.tabs .creations-nav-button.active:after{display:none}@media(max-width:550px){.tabs{gap:16px}.tabs .creations-nav-button{gap:6px;padding:9px 11px;font-size:12px;border-radius:10px}.tabs .creations-nav-button svg{width:16px;height:16px}}@media(max-width:360px){.tabs{gap:11px}.tabs .creations-nav-button{padding:8px;font-size:11px}.tabs .creations-nav-button svg{display:none}}
/* Compact navigation with a distinct library action. */
.home-controls .tabs{height:76px;gap:32px;border-bottom:1px solid #ffffff0a}.home-controls .tab:not(.creations-nav-button){padding:14px 0;font-size:16px;font-weight:600;letter-spacing:-.2px;color:#8d858d}.home-controls .tab:not(.creations-nav-button):hover{color:#e1d5de}.home-controls .tab:not(.creations-nav-button).active{color:#fff}.home-controls .tab:not(.creations-nav-button).active:after{height:3px;bottom:3px;border-radius:3px;background:#ed79b5}.tabs .creations-nav-button{padding:10px 16px;gap:9px;min-height:40px;background:#ffffff06;border:1px solid #ffffff18;border-radius:10px;color:#ddd1db;font-size:13px;font-weight:600;box-shadow:inset 0 1px 0 #ffffff04}.tabs .creations-nav-button svg{width:17px;height:17px;color:#ce91b4}.tabs .creations-nav-button:hover{background:#e879b212;border-color:#b56c9460;color:#fff}.tabs .creations-nav-button.active{background:#e879b21b;border-color:#cf75a578;color:#ffd8ed}.tabs .creations-nav-button.active svg{color:#f49acb}@media(max-width:550px){.home-controls .tabs{height:66px;gap:20px}.home-controls .tab:not(.creations-nav-button){font-size:14px;padding:12px 0}.tabs .creations-nav-button{min-height:36px;padding:8px 11px;font-size:12px;gap:6px}.tabs .creations-nav-button svg{width:15px;height:15px}}@media(max-width:360px){.home-controls .tabs{gap:13px}.tabs .creations-nav-button{font-size:11px;padding:8px}.tabs .creations-nav-button svg{display:none}}
body>.banner{border-radius:0}
.header>.header-creations{margin-left:auto;margin-right:14px;display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #ffffff20;border-radius:10px;background:#ffffff06;color:#e4d6df;font-size:13px;font-weight:600;letter-spacing:0;white-space:nowrap}.header>.header-creations svg{width:17px;height:17px;color:#d89bbc}.header>.header-creations:hover{background:#e879b215;border-color:#bd7a9d70}.header>.header-creations.active{background:#e879b21b;border-color:#cf75a578;color:#ffd8ed}.header>.header-creations.active:after{display:none}.header>.join-free{order:3}.header>.account{margin-left:0}@media(max-width:550px){.header>.header-creations{font-size:11px;padding:8px 10px;margin-right:10px;gap:5px}.header>.header-creations svg{width:15px;height:15px}}@media(max-width:380px){.header>.header-creations svg{display:none}.header>.header-creations{padding:8px;margin-right:7px;font-size:10px}}
.header>.header-tabs{margin-left:42px;height:100%;gap:30px;border:0;flex-shrink:0}.header>.header-tabs .tab{padding:16px 0;color:#928895;font-size:14px;font-weight:600;letter-spacing:0}.header>.header-tabs .tab:hover{color:#ded4df}.header>.header-tabs .tab.active{color:#fff}.header>.header-tabs .tab.active:after{bottom:0;height:3px;background:#ed79b5;border-radius:3px}.home-controls:has(>.toolbar[hidden]){height:0;min-height:0;margin:0;padding:0;border:0}.header+main{padding-top:4px}@media(max-width:800px){.header>.header-tabs{margin-left:25px;gap:21px}.header>.header-tabs .tab{font-size:13px}}@media(max-width:620px){.header{height:auto;min-height:64px;flex-wrap:wrap;row-gap:0;padding-top:12px}.header>.header-tabs{order:5;width:100%;height:48px;margin-left:0;gap:26px}.header>.header-tabs .tab{padding:12px 0;font-size:14px}.header>.header-creations{margin-left:auto}.header>.account{order:3}.header>.join-free{order:4}.header+main{padding-top:4px}}
.image-replacement-modal .image-replacement-workspace:has(.two-reference-people){align-items:stretch;column-gap:24px}.image-replacement-modal .two-reference-people{align-self:stretch;align-content:center;gap:14px;padding:20px 0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.image-replacement-modal .two-reference-people .upload-surface{position:relative;aspect-ratio:3/4;min-height:0;border:1px dashed #7c536c;border-radius:14px;background:linear-gradient(145deg,#231b26,#19151d);overflow:hidden}.image-replacement-modal .two-reference-people .reference-photo-placeholder{visibility:hidden}.image-replacement-modal .two-reference-people .upload-surface:before{position:absolute;top:12px;left:12px;z-index:2;content:'Photo 1';background:#151017cc;border:1px solid #ffffff12;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:500;color:#d3bdcc;pointer-events:none}.image-replacement-modal .two-reference-people .upload-surface:nth-child(2):before{content:'Photo 2'}.image-replacement-modal .two-reference-people .creation-upload{left:10px;right:10px;bottom:10px;height:36px;min-height:36px;gap:7px;border-radius:9px;font-size:11px;background:#332635e8;border-color:#ffffff14}.image-replacement-modal .two-reference-people .creation-upload svg{width:17px;height:17px}.image-replacement-modal .two-reference-people .upload-surface:has(.reference-photo-placeholder) .creation-upload{inset:0;height:100%;border:0;border-radius:0;background:transparent;flex-direction:column;gap:12px;padding:22px 8px}.image-replacement-modal .two-reference-people .upload-surface:has(.reference-photo-placeholder) .creation-upload svg{width:28px;height:28px;color:#ce8fb4}.image-replacement-modal .two-reference-people .upload-surface:hover{border-color:#d68ab5;background:#2b202e}.image-replacement-modal .two-reference-people .reference-photo-image:not(.reference-photo-placeholder){object-fit:contain;background:#151118}.image-replacement-modal .image-replacement-workspace:has(.two-reference-people) .creation-flow-arrow{width:36px;opacity:.65}@media(max-width:550px){.image-replacement-modal .image-replacement-workspace:has(.two-reference-people){grid-template-columns:1fr;gap:18px}.image-replacement-modal .two-reference-people{grid-template-columns:1fr 1fr;padding:0;gap:12px}.image-replacement-modal .two-reference-people .upload-surface{aspect-ratio:4/3;min-height:120px}.image-replacement-modal .two-reference-people .upload-surface:before{top:8px;left:8px;font-size:9px;padding:4px 6px}.image-replacement-modal .two-reference-people .creation-upload{font-size:10px}.image-replacement-modal .image-replacement-workspace:has(.two-reference-people) .creation-flow-arrow{display:none}}
.image-replacement-modal .two-reference-people{padding:24px 10px;gap:16px}.image-replacement-modal .two-reference-people .upload-surface{aspect-ratio:4/5;border:1px dashed #76596f;border-radius:16px;background:#211a24;isolation:isolate;clip-path:none;mask-image:none}.image-replacement-modal .two-reference-people .upload-surface:after{display:none}.image-replacement-modal .two-reference-people .upload-surface:has(.reference-photo-placeholder) .creation-upload{border-radius:15px;box-shadow:none;background:none;backdrop-filter:none;transform:none}.image-replacement-modal .two-reference-people .upload-surface:before{border:0;background:transparent;color:#ae94a7;top:10px;left:8px;font-size:10px;letter-spacing:.1px}.image-replacement-modal .two-reference-people .upload-surface:has(.reference-photo-placeholder) .creation-upload svg{width:25px;height:25px}.image-replacement-modal .two-reference-people .upload-surface:hover{background:#2a202c}.image-replacement-modal .image-replacement-workspace:has(.two-reference-people) .creation-flow-arrow{display:none}@media(max-width:550px){.image-replacement-modal .two-reference-people{padding:0;gap:12px}.image-replacement-modal .two-reference-people .upload-surface{aspect-ratio:4/3}}
.image-reference-mini{left:calc(12px + var(--reference-index)*46px);pointer-events:none}.image-reference-mini:nth-of-type(2){transform:rotate(6deg)}@media(max-width:550px){.image-reference-mini{left:calc(9px + var(--reference-index)*36px)}}
/* Aligned reference thumbnails keep the main portrait unobstructed. */
.video-card .video-mini{top:12px;left:12px;width:34px;height:44px;border:1.5px solid #fffffff0;border-radius:7px;transform:none;box-shadow:0 2px 8px #0004;background:#211b23}.video-card .image-reference-mini{left:calc(12px + var(--reference-index)*40px);transform:none}.video-card .image-reference-mini:nth-of-type(2){transform:none}.video-card .video-mini img{object-fit:cover;object-position:center 25%}@media(max-width:550px){.video-card .video-mini{top:9px;left:9px;width:27px;height:35px;border-radius:6px;border-width:1px}.video-card .image-reference-mini{left:calc(9px + var(--reference-index)*32px)}}
.creation-flight-token{position:fixed;width:44px;height:44px;display:grid;place-items:center;z-index:2147483647;pointer-events:none;border:1px solid #f8b4dc;border-radius:13px;color:white;background:linear-gradient(140deg,#ef78b9,#9a5ce6);box-shadow:0 4px 20px #ea65b66b;will-change:transform,opacity}.creation-flight-token svg{width:25px;height:25px}
.header>.header-creations.active{background:#db438f;border-color:#eb68a9;color:#fff;box-shadow:0 3px 12px #d83f8d26}.header>.header-creations.active svg{color:#fff}.header>.header-creations.active:hover{background:#e04b98;border-color:#f184bb;color:#fff}
/* Both dialogs share the same two-photo grid; hidden legacy inputs take no space. */
#preview .creation-input>[hidden]{display:none!important}.image-replacement-modal .two-reference-people{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-width:0;align-content:center;justify-content:stretch;gap:14px;padding:20px 0}.image-replacement-modal .two-reference-people .upload-surface{width:100%;min-width:0;aspect-ratio:4/5;box-sizing:border-box}.image-replacement-modal .two-reference-people .upload-surface[data-photo-label]:before,.image-replacement-modal .two-reference-people .upload-surface[data-photo-label]:nth-child(2):before{content:attr(data-photo-label)}.image-replacement-modal .two-reference-people .creation-upload{font-size:11px;text-align:center;justify-content:center}.image-replacement-modal .two-reference-people .creation-upload span{white-space:nowrap;font-size:11px;line-height:1.4}.image-replacement-modal .two-reference-people .upload-surface:has(.reference-photo-placeholder) .creation-upload{padding:30px 6px 12px;gap:12px}.image-replacement-modal .image-replacement-workspace:has(.two-reference-people){grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch}@media(max-width:550px){.image-replacement-modal .image-replacement-workspace:has(.two-reference-people){grid-template-columns:1fr;gap:18px}.image-replacement-modal .two-reference-people{padding:0;gap:12px}.image-replacement-modal .two-reference-people .upload-surface{aspect-ratio:4/3}.image-replacement-modal .two-reference-people .creation-upload span{font-size:10px}}
/* Shared upload geometry is independent of the preview aspect ratio. */
.image-replacement-modal .two-reference-people{grid-template-columns:repeat(2,150px);justify-content:center;align-content:center;gap:16px;padding:20px 0}.image-replacement-modal .two-reference-people .upload-surface{width:150px;height:190px;min-height:190px;max-height:190px;aspect-ratio:auto;flex-shrink:0}.image-replacement-modal .two-reference-people .creation-upload span{font-size:11px;white-space:nowrap}.image-replacement-modal .two-reference-people .upload-surface[data-photo-label]:before{font-size:10px}@media(max-width:700px) and (min-width:551px){.image-replacement-modal .two-reference-people{grid-template-columns:repeat(2,120px);gap:12px}.image-replacement-modal .two-reference-people .upload-surface{width:120px;height:152px;min-height:152px;max-height:152px}}@media(max-width:550px){.image-replacement-modal .two-reference-people{grid-template-columns:repeat(2,minmax(0,150px));gap:12px;padding:0}.image-replacement-modal .two-reference-people .upload-surface{width:100%;height:170px;min-height:170px;max-height:170px;aspect-ratio:auto}}
/* Reserve a full upload column rather than sizing it from the video ratio. */
.image-replacement-modal .image-replacement-workspace:has(.two-reference-people){width:min(100%,900px);grid-template-columns:minmax(316px,1fr) minmax(0,1fr);gap:40px;align-items:stretch}.image-replacement-modal .image-replacement-workspace:has(.two-reference-people) .creation-output{width:100%;min-width:0;max-height:52dvh;aspect-ratio:var(--media-ratio);align-self:center}.image-replacement-modal .image-replacement-workspace:has(.two-reference-people) .creation-flow-arrow{display:block;left:50%;top:50%;width:40px;height:56px;opacity:1;transform:translate(-50%,-50%)}@media(max-width:800px){.image-replacement-modal .image-replacement-workspace:has(.two-reference-people){grid-template-columns:1fr;gap:44px;width:min(100%,500px)}.image-replacement-modal .two-reference-people{grid-template-columns:repeat(2,150px);gap:16px;padding:0}.image-replacement-modal .two-reference-people .upload-surface{width:150px;height:190px;min-height:190px;max-height:190px}.image-replacement-modal .image-replacement-workspace:has(.two-reference-people) .creation-output{width:min(100%,calc(48dvh * var(--media-ratio)));justify-self:center;max-height:48dvh}.image-replacement-modal .image-replacement-workspace:has(.two-reference-people) .creation-flow-arrow{top:212px;left:50%;height:36px;width:28px;transform:translate(-50%,-50%) rotate(90deg)}}@media(max-width:380px){.image-replacement-modal .two-reference-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.image-replacement-modal .two-reference-people .upload-surface{width:100%;height:170px;min-height:170px;max-height:170px}.image-replacement-modal .image-replacement-workspace:has(.two-reference-people) .creation-flow-arrow{top:192px}}

/* Uploaded template references fill their matching photo placeholders. */
.image-replacement-modal .two-reference-people .has-template-reference .reference-photo-placeholder{visibility:visible;opacity:1;filter:none;object-fit:contain;background:#151118}
.image-replacement-modal .two-reference-people .has-template-reference:has(.reference-photo-placeholder) .creation-upload{inset:auto 8px 8px;height:36px;min-height:36px;padding:7px 8px;flex-direction:row;gap:6px;border:1px solid #ffffff24;border-radius:9px;background:#201923cc;backdrop-filter:blur(10px)}
.image-replacement-modal .two-reference-people .has-template-reference:has(.reference-photo-placeholder) .creation-upload svg{width:16px;height:16px}
.image-replacement-modal .two-reference-people .has-template-reference:before{background:#161219b8;color:#e9dce5;border-radius:6px;padding:4px 6px}
.replaced-frames-grid.single-frame{grid-template-columns:minmax(0,1fr);max-width:460px;margin-inline:auto}
.video-generation-steps{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:9px;font-size:10px;font-weight:500}.video-generation-steps span{display:flex;align-items:center;gap:4px;color:#ada0ad}.video-generation-steps i{font-style:normal}.video-generation-steps .done{color:#9fd5bd}.video-generation-steps .current{color:#ffd3ec}.video-generation-steps .current i{display:inline-block;animation:creation-spin 1s linear infinite}
.frame-creation-status .video-generation-steps{justify-content:center;font-size:9px;gap:6px 8px;line-height:1.5}.frame-creation-status .video-generation-steps span{padding:3px 5px;border-radius:5px;background:#0d090e55}.frame-creation-status .video-generation-steps .current{background:#e879b224;color:#ffe3f2}
.card.creation-pending-card,.card.creation-pending-card:hover{cursor:default;transform:none;outline:none}.creation-pending-card .frame-creation-status{pointer-events:none}
.frame-creation-status{display:flex;align-items:center;justify-content:center;gap:9px}.creation-card-spinner{display:inline-block;flex:0 0 17px;width:17px;height:17px;border:2px solid #ffffff35;border-top-color:#f4a2d0;border-radius:50%;animation:creation-card-spin .85s linear infinite}@keyframes creation-card-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.creation-card-spinner{animation-duration:2s}}
.frame-creation-status{flex-direction:column;gap:10px;text-align:center}.frame-creation-status .creation-card-spinner{flex:0 0 24px;width:24px;height:24px;border-width:2px}
.frame-creation-status .creation-estimated-time{display:block;max-width:90%;font-size:10px;line-height:1.5;font-weight:400;color:#d8c5d5}

/* Layer paired reference thumbnails like a small photo stack. */
.video-card .image-reference-mini,.video-card .image-reference-mini:nth-of-type(2){left:calc(13px + var(--reference-index)*17px);top:calc(13px + var(--reference-index)*4px);transform:rotate(calc(-7deg + var(--reference-index)*13deg));z-index:calc(3 + var(--reference-index));transform-origin:50% 80%;box-shadow:0 2px 7px #0005}
@media(max-width:550px){.video-card .image-reference-mini,.video-card .image-reference-mini:nth-of-type(2){left:calc(10px + var(--reference-index)*14px);top:calc(10px + var(--reference-index)*3px)}}

/* Refined photo stack: a quiet back card and a crisp upright front card. */
.video-card .image-reference-mini,.video-card .image-reference-mini:nth-of-type(2){left:calc(14px + var(--reference-index)*22px);top:calc(14px + var(--reference-index)*5px);transform:rotate(calc(-5deg + var(--reference-index)*7deg));border:1.5px solid #fff;border-radius:6px;box-shadow:0 3px 9px #0003;transform-origin:center}
.video-card .image-reference-mini img{border-radius:4px}
@media(max-width:550px){.video-card .image-reference-mini,.video-card .image-reference-mini:nth-of-type(2){left:calc(11px + var(--reference-index)*18px);top:calc(11px + var(--reference-index)*4px);border-width:1px;border-radius:5px}}

/* Hover the thumbnail stack to fan out both references. */
.reference-thumbnail-stack{position:absolute;left:0;top:0;width:78px;height:72px;z-index:4;pointer-events:auto}
.video-card .reference-thumbnail-stack .image-reference-mini{pointer-events:auto;transition:left .24s ease,top .24s ease,transform .24s ease,box-shadow .24s ease}
@media(hover:hover) and (pointer:fine){
.reference-thumbnail-stack:hover{width:110px;height:78px}
.video-card .reference-thumbnail-stack:hover .image-reference-mini{left:calc(14px + var(--reference-index)*42px);top:14px;transform:translateY(-2px) rotate(calc(-4deg + var(--reference-index)*8deg)) scale(1.08);box-shadow:0 5px 14px #0005}
}
@media(prefers-reduced-motion:reduce){.video-card .reference-thumbnail-stack .image-reference-mini{transition:none}}

/* Template tags below the header, shared by image and video browsing. */
.tag-filter-bar{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:14px 0 18px;scrollbar-width:thin;scrollbar-color:#41303d transparent}
.tag-filter-bar[hidden]{display:none}
.tag-filter{flex:0 0 auto;min-height:34px;padding:7px 16px;border:1px solid #ffffff12;border-radius:999px;background:#171318;color:#ac9fa9;font:inherit;font-size:13px;line-height:18px;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.tag-filter:hover{color:#f8edf4;background:#251d26;border-color:#e87bb43b}
.tag-filter[aria-pressed="true"]{color:#ffd2eb;background:#ed489b1c;border-color:#eb6aaf55}
.tag-filter:focus-visible{outline:2px solid #ed7cba;outline-offset:3px}
@media(max-width:550px){.tag-filter-bar{gap:6px;padding:10px 0 14px}.tag-filter{padding:6px 13px;font-size:12px;min-height:32px}}
.header>.header-creations{height:38px;min-height:38px;padding:0 15px;border-radius:10px;font-size:13px;box-shadow:none}.header>.header-creations.active{background:#df438f;border-color:#e867a5;box-shadow:none}.header>.join-free{height:38px;min-height:38px;padding:0 19px;border-radius:10px;font-size:13px;font-weight:650;background:#ee56a2;border:1px solid #ee56a2;box-shadow:none}.header>.join-free:hover{background:#f474b4;border-color:#f474b4}.creations-login-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:360px;padding:50px 20px;text-align:center}.creations-login-state[hidden]{display:none}.creations-login-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid #ffffff12;border-radius:17px;background:#201820;color:#d898bc}.creations-login-icon svg{width:26px;height:26px}.creations-login-state h2{margin:5px 0 0;color:#f3eaf1;font-size:22px;font-weight:650;letter-spacing:-.4px}.creations-login-state p{margin:0;color:#998c98;font-size:14px}.creations-sign-in{margin-top:10px;padding:11px 27px;border-radius:10px;border:1px solid #ec65aa;background:#df438f;color:#fff;font-size:14px;font-weight:650}.creations-sign-in:hover{background:#ee5ba4}@media(max-width:550px){.header>.header-creations{height:34px;min-height:34px;padding:0 10px;font-size:11px}.header>.join-free{height:34px;min-height:34px;padding:0 13px;font-size:11px}.creations-login-state h2{font-size:19px}}

/* Reserve real space for tags even while the legacy toolbar is hidden. */
.home-controls:has(>#tag-filters:not([hidden])){height:auto;min-height:0;margin:0;padding:0;border:0}
.home-controls:has(>#tag-filters:not([hidden])):not(.reveal-toolbar){position:relative;display:flow-root}
.home-controls.reveal-toolbar:has(>#tag-filters:not([hidden])){padding:0 24px}
@media(max-width:800px){.home-controls.reveal-toolbar:has(>#tag-filters:not([hidden])){padding-inline:18px}}
@media(max-width:550px){.home-controls.reveal-toolbar:has(>#tag-filters:not([hidden])){padding-inline:14px}}
/* Editorial footer: desktop brand / metrics, navigation, then legal. */
.site-footer.editorial-footer{display:block;margin:60px 0 0;padding:0 48px;background:#0a090b;border:0;border-top:1px solid #ffffff10;border-radius:0;color:#8e8991;text-align:left}.editorial-footer .footer-inner{max-width:1320px;margin:0 auto}.editorial-footer .footer-main-row{display:flex;align-items:center;justify-content:space-between;gap:48px;padding:48px 0 38px}.editorial-footer .footer-brand{display:inline-flex;gap:9px;font-size:27px;font-weight:750;letter-spacing:-.8px}.editorial-footer .footer-brand svg{width:29px;height:30px;color:#ed79b5}.editorial-footer .footer-identity p{margin:12px 0 0;font-size:14px;line-height:1.5;color:#96909b}.editorial-footer .footer-metrics{display:flex;align-items:center;gap:30px}.editorial-footer .footer-metrics>div{display:flex;flex-direction:column;gap:7px}.editorial-footer .footer-metrics>div+div{padding-left:30px;border-left:1px solid #ffffff1a}.editorial-footer .footer-metrics strong{font-size:26px;line-height:1.2;letter-spacing:-.5px;font-weight:550;color:#e9e5eb}.editorial-footer .footer-metrics span{font-size:12px;line-height:1.5;color:#99939f}.editorial-footer .footer-navigation-row,.editorial-footer .footer-legal-row{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #ffffff10}.editorial-footer .footer-navigation-row{padding:23px 0}.editorial-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:28px}.editorial-footer nav button{padding:3px 0;border:0;background:none;color:#a9a2ad;font-size:13px;font-weight:400;line-height:1.5;transition:color .15s}.editorial-footer nav button:hover{color:#f1a4cb}.editorial-footer nav button span{margin-left:5px;color:#b8a6b5}.editorial-footer .footer-legal-row{padding:23px 0 29px}.editorial-footer .footer-legal-row p{margin:0;font-size:11px;line-height:1.6;color:#77727d}.editorial-footer .footer-legal-row nav button{font-size:11px;color:#8b8591}@media(max-width:700px){.site-footer.editorial-footer{padding:0 24px;margin-top:40px}.editorial-footer .footer-main-row{gap:28px;flex-wrap:wrap;padding:32px 0}.editorial-footer .footer-metrics{gap:24px}.editorial-footer .footer-metrics>div+div{padding-left:24px}.editorial-footer .footer-metrics strong{font-size:22px}.editorial-footer .footer-navigation-row,.editorial-footer .footer-legal-row{flex-wrap:wrap;gap:18px}.editorial-footer nav{gap:22px}.editorial-footer .footer-legal-row{padding-bottom:24px}}
.site-footer.editorial-footer{padding-left:22px;padding-right:22px}.editorial-footer .footer-inner{max-width:none;width:100%;margin:0}@media(max-width:800px){.site-footer.editorial-footer{padding-left:18px;padding-right:18px}}@media(max-width:550px){.site-footer.editorial-footer{padding-left:14px;padding-right:14px}}
.editorial-footer nav button{display:inline-flex;align-items:center;gap:8px}.editorial-footer .footer-external-icon{width:14px;height:14px;flex-shrink:0;opacity:.7}
.tag-filter-bar{overflow:visible;gap:10px}.tag-filter-all{flex-shrink:0}.tag-filter-scroll{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:4px 3px;-webkit-overflow-scrolling:touch}.tag-filter-scroll::-webkit-scrollbar{display:none}@media(max-width:550px){.tag-filter-bar{gap:8px}.tag-filter-scroll{gap:6px}}
.tag-filter-scroll{border-left:1px solid #ffffff1a;padding-left:14px;margin-left:3px}@media(max-width:550px){.tag-filter-scroll{padding-left:11px;margin-left:2px}}
.tag-filter-scroll{border-left:0;margin-left:0;padding-left:3px}.tag-filter-bar{column-gap:14px}.tag-filter-all{position:relative;margin-right:13px}.tag-filter-all:after{content:'';position:absolute;right:-14px;top:50%;transform:translateY(-50%);width:1px;height:20px;background:#ffffff1a}@media(max-width:550px){.tag-filter-scroll{padding-left:3px;margin-left:0}.tag-filter-bar{column-gap:11px}.tag-filter-all{margin-right:10px}.tag-filter-all:after{right:-11px;height:18px}}
.header>.header-favorites{margin-left:auto;margin-right:10px;display:inline-flex;align-items:center;gap:8px;min-height:38px;height:38px;padding:0 14px;border:1px solid #ffffff20;border-radius:10px;background:#ffffff06;color:#e4d6df;font-size:13px;font-weight:600;letter-spacing:0;white-space:nowrap}.header>.header-favorites svg{width:17px;height:17px;color:#d89bbc}.header>.header-favorites:hover{background:#e879b215;border-color:#bd7a9d70}.header>.header-favorites.active{background:#df438f;border-color:#e867a5;color:#fff}.header>.header-favorites.active svg{color:#fff;fill:#ffffff25}.header>.header-favorites.active:after{display:none}.header>.header-favorites+.header-creations{margin-left:0}@media(max-width:1000px){.header>.header-favorites{width:38px;padding:0;justify-content:center}.header>.header-favorites span{display:none}}@media(max-width:620px){.header>.header-favorites{margin-left:auto;height:34px;min-height:34px;width:34px;margin-right:8px}.header>.header-favorites+.header-creations{margin-left:0}}
.editorial-footer .footer-compact-row{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #ffffff10;padding:24px 0 28px}.footer-compact-left,.footer-compact-right{display:flex;align-items:center;gap:30px;flex-wrap:wrap}.editorial-footer .footer-compact-row p{margin:0;color:#77727d;font-size:11px;line-height:1.6}.editorial-footer .footer-compact-row nav{gap:24px}.editorial-footer .footer-compact-row nav[aria-label="Legal"] button{font-size:11px;color:#8b8591}@media(max-width:900px){.editorial-footer .footer-compact-row{flex-wrap:wrap;gap:20px}.footer-compact-left,.footer-compact-right{gap:20px}.editorial-footer .footer-compact-row nav{gap:18px}}
.editorial-footer .footer-compact-right{gap:24px}.editorial-footer .footer-compact-right nav,.editorial-footer .footer-compact-right nav[aria-label="Legal"]{gap:24px}.editorial-footer .footer-compact-right nav button,.editorial-footer .footer-compact-right nav[aria-label="Legal"] button{font-size:13px;line-height:1.5;font-weight:400;color:#a9a2ad;padding:3px 0}.editorial-footer .footer-compact-right nav button:hover,.editorial-footer .footer-compact-right nav[aria-label="Legal"] button:hover{color:#f1a4cb}
.tag-filter-bar{padding-top:6px;padding-bottom:8px}@media(max-width:550px){.tag-filter-bar{padding-top:4px;padding-bottom:6px}}#pagination[hidden]{display:none}

/* Shared library empty state and breathing room above the gallery. */
#gallery{padding-top:12px}
#gallery:empty{padding-top:0}
#empty.creations-login-state{min-height:430px;box-sizing:border-box;gap:16px;padding:64px 24px 76px}
#empty.creations-login-state .creations-login-icon{width:72px;height:72px;border-radius:22px;background:linear-gradient(145deg,#2d1b28,#1a151c);border-color:#e895c126;box-shadow:0 12px 40px #df438f0c;margin-bottom:8px}
#empty.creations-login-state h2{margin:0;color:#f3eaf0;font-size:25px;font-weight:650;letter-spacing:-.5px}
#empty.creations-login-state p{max-width:390px;margin:0;color:#9e929c;font-size:14px;line-height:1.8}
#empty.creations-login-state .creations-sign-in{display:inline-flex;align-items:center;gap:20px;margin-top:10px;min-height:44px;padding:11px 23px;border-radius:12px;cursor:pointer;transition:background .2s,transform .2s}
#empty.creations-login-state .creations-sign-in:hover{background:#ef519f;transform:translateY(-1px)}
#empty.creations-login-state .creations-sign-in:focus-visible{outline:2px solid #ffb4dc;outline-offset:4px}
@media(max-width:550px){#empty.creations-login-state{min-height:350px;padding:44px 20px}#empty.creations-login-state h2{font-size:22px}}

/* Compact, coordinated header actions. */
.header>.header-favorites,.header>.header-creations{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;min-height:36px;padding:0 13px;border:1px solid #ffffff10;border-radius:10px;background:#ffffff04;color:#c9bec8;font-size:12px;font-weight:600;letter-spacing:0;white-space:nowrap;box-shadow:inset 0 1px 0 #ffffff03;transition:background .18s,border-color .18s,color .18s}
.header>.header-favorites svg,.header>.header-creations svg{width:16px;height:16px;flex-shrink:0;color:#d293b7}
.header>.header-favorites:hover,.header>.header-creations:hover{background:#ee7cb410;border-color:#d98cb83d;color:#fff}
.header>.header-favorites.active,.header>.header-creations.active{background:#e879b215;border-color:#d781b345;color:#ffdbef}
.header>.header-favorites:after,.header>.header-creations:after{display:none}
.header>.account{gap:12px}
.header .credits{height:34px;min-height:34px;padding:0 12px;gap:7px;border:1px solid #e09abc1c;border-radius:999px;background:#211a22;box-shadow:none}
.header .credits svg{width:16px;height:16px;color:#ed91c0}
.header .credits .credit-value{font-size:13px;font-weight:650;line-height:1}
.header .credits:hover{background:#302132;border-color:#e09abc45}
.header .avatar{width:34px;height:34px;min-width:34px;border:2px solid #f8bedb;font-size:20px;box-shadow:0 0 0 3px #e879b210;transition:box-shadow .18s}
.header .avatar:hover{box-shadow:0 0 0 4px #e879b225}
@media(max-width:800px){.header>.header-favorites,.header>.header-creations{padding:0 10px;font-size:11px;gap:6px}}
@media(max-width:440px){.header>.header-favorites,.header>.header-creations{width:34px;height:34px;min-height:34px;padding:0}.header>.header-favorites>span,.header>.header-creations>span{display:none}.header>.account{gap:9px}}

/* Balance the action group on a single 36px rhythm. */
.header>.header-favorites,.header>.header-creations{height:36px;min-height:36px;padding-inline:12px;gap:7px;font-size:12px;font-weight:550;border-radius:10px}
.header>.header-favorites svg,.header>.header-creations svg{width:16px;height:16px}
.header>.account{gap:10px}
.header .credits{height:36px;min-height:36px;padding-inline:12px;gap:6px}
.header .credits svg{width:16px;height:16px}
.header .credits .credit-value{font-size:12px;font-weight:600}
.header .avatar{width:36px;height:36px;min-width:36px;font-size:20px;border-width:2px;box-shadow:none}
.header .avatar:hover{box-shadow:0 0 0 3px #e879b21a}
@media(max-width:440px){.header>.header-favorites,.header>.header-creations{width:36px;padding:0}.header>.account{gap:8px}}

/* Legal anchors share the same treatment as footer action buttons. */
.editorial-footer .footer-compact-right nav a,
.editorial-footer .footer-compact-right nav a:visited,
.editorial-footer .footer-compact-right nav button{display:inline-flex;align-items:center;padding:3px 0;border:0;background:none;color:#a9a2ad;font-family:inherit;font-size:13px;font-weight:400;line-height:1.5;text-decoration:none;white-space:nowrap;transition:color .18s ease}
.editorial-footer .footer-compact-right nav a:hover,
.editorial-footer .footer-compact-right nav a:visited:hover,
.editorial-footer .footer-compact-right nav button:hover{color:#f1a4cb;text-decoration:none}
.editorial-footer .footer-compact-right nav{display:flex;align-items:center;flex-wrap:wrap;row-gap:10px}
.editorial-footer .footer-compact-right nav a:focus-visible{outline:2px solid #e987bb;outline-offset:5px;border-radius:3px}

/* Subscription preview: brand pink, quieter surfaces, clear plan hierarchy. */
#plans-modal{width:min(720px,calc(100vw - 40px));background:#151116;border:1px solid #49303f;border-radius:24px;color:#f7eef4}
#plans-modal .plans-content{padding:36px}
#plans-modal .plans-close{top:18px;right:18px;width:32px;height:32px;border-radius:10px;background:#ffffff04;border-color:#ffffff12;color:#b59eae}
#plans-modal .plans-eyebrow{color:#bc829f;font-size:10px;letter-spacing:2.2px}
#plans-modal .plans-heading h2{font-size:36px;line-height:1.15;letter-spacing:-1.1px;margin:16px 0 12px;font-weight:700}
#plans-modal .plans-heading h2 span{color:#f18abf}
#plans-modal .plans-heading p{font-size:13px;line-height:1.6;color:#ab98a5}
#plans-modal .billing-switch{margin:24px auto 28px;background:#211a22;border:1px solid #ffffff0b;border-radius:12px;padding:4px;box-shadow:none}
#plans-modal .billing-switch button{font-size:12px;border-radius:9px;color:#9d8c98;padding:10px 18px}
#plans-modal .billing-switch button[aria-pressed="true"]{background:#40303c;color:#fff;box-shadow:0 2px 5px #0003}
#plans-modal .billing-switch button span{background:#e6539b17;border:0;color:#f6a4cc;font-size:9px;padding:3px 7px}
#plans-modal .plan-cards{gap:16px}
#plans-modal .plan-card,#plans-modal .plan-card.selected{min-height:166px;padding:22px;border:1px solid #ffffff16;border-radius:16px;background:#1c171e;box-shadow:none;color:#f5e9f1;cursor:pointer}
#plans-modal .plan-card.selected{border-color:#e96aab;background:linear-gradient(145deg,#342030,#241923);box-shadow:0 0 0 3px #e96aab0b}
#plans-modal .plan-name{font-size:19px;color:#f2dce9;font-weight:650}
#plans-modal .plan-description{font-size:10px;color:#aa91a2;margin-top:6px}
#plans-modal .plan-price{margin-top:20px;gap:5px}
#plans-modal .plan-price strong{font-size:32px;letter-spacing:-1.1px;color:#fff}
#plans-modal .plan-price>span{font-size:12px;color:#a28d9b}
#plans-modal .plan-was{font-size:11px;color:#897281;margin-top:6px}
#plans-modal .best-value{top:-10px;right:16px;background:#ed7db5;color:#271320;border-radius:6px;font-size:8px;letter-spacing:.6px;padding:5px 9px}
#plans-modal .plan-check{background:#ee79b3;color:#281220;width:20px;height:20px;right:16px;bottom:17px;font-size:12px}
#plans-modal .plans-unlock{margin-top:22px;border:1px solid #f076b5;border-radius:12px;background:#e64699;color:#fff;min-height:46px;font-size:14px;font-weight:650;box-shadow:0 5px 20px #e6469912}
#plans-modal .plans-unlock:hover{background:#ef59a6}
#plans-modal .billing-note{font-size:11px;color:#aa91a2;margin:12px 0 0}
#plans-modal .plans-status:empty{display:none}
#plans-modal .plan-benefits{margin-top:24px;padding:24px 0 0;border-top:1px solid #ffffff0c;grid-template-columns:1fr 1fr;gap:21px 24px}
#plans-modal .benefit-icon{width:30px;height:30px;border-radius:9px;background:#ed79b50a;border:1px solid #ed79b514;color:#da8db4;flex-shrink:0}
#plans-modal .benefit-icon svg{width:16px;height:16px}
#plans-modal .plan-benefits strong{font-size:11px;font-weight:550;color:#decbd7}
#plans-modal .plan-benefits small{font-size:10px;color:#8e7988;line-height:1.5}
#plans-modal .plans-preview-note{font-size:10px;color:#836e7d;margin:25px 0 0}
#plans-modal button:focus-visible{outline:2px solid #ffb9dd;outline-offset:4px}
@media(max-width:550px){#plans-modal{width:calc(100vw - 24px)}#plans-modal .plans-content{padding:34px 20px 24px}#plans-modal .plans-heading h2{font-size:30px}#plans-modal .plan-card,#plans-modal .plan-card.selected{padding:18px 14px}#plans-modal .plan-price strong{font-size:28px}#plans-modal .plan-benefits{gap:18px 12px}#plans-modal .plan-description{font-size:9px}}

/* Focused sign-in layout, shared brand palette. */
#auth-modal{width:min(1040px,calc(100vw - 48px));background:#151216;border:1px solid #ffffff20;border-radius:24px;max-height:calc(100dvh - 48px)}
#auth-modal .auth-layout{grid-template-columns:44% 56%;min-height:650px}
#auth-modal .auth-visual{display:block;position:relative;min-height:100%;overflow:hidden}
#auth-modal .auth-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#auth-modal .auth-visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0002 0%,transparent 35%,#0b0a0bba 100%)}
#auth-modal .auth-visual-brand{position:absolute;top:30px;left:30px;font-size:23px;gap:9px}
#auth-modal .auth-visual-brand svg{width:29px;height:29px}
#auth-modal .auth-visual-copy{position:absolute;bottom:38px;left:30px;right:24px}
#auth-modal .auth-visual-copy p{font-size:29px;font-weight:650;line-height:1.3;letter-spacing:-.8px;margin:0}
#auth-modal .auth-content{padding:58px 44px 36px;align-items:center}
#auth-modal .auth-inner{width:100%;max-width:410px;text-align:left}
#auth-modal .auth-eyebrow{font-size:10px;letter-spacing:2px;color:#d991b4}
#auth-modal #auth-title{font-size:35px;letter-spacing:-1.1px;line-height:1.2;margin:12px 0 12px;color:#fbf4f8}
#auth-modal #auth-title span{color:#ef7db5}
#auth-modal .auth-intro{font-size:13px;line-height:1.7;color:#ae9fa9;margin:0}
#auth-modal .auth-welcome-credit{display:inline-flex;align-items:center;gap:9px;margin:22px 0 20px;padding:10px 13px;border-radius:10px;background:#e57bac12;color:#efa0c6;font-size:12px}
#auth-modal .auth-welcome-credit>span{font-size:22px;line-height:1}
#auth-modal .auth-provider{height:46px;min-height:46px;border-radius:10px;margin:0;font-size:13px;gap:11px}
#auth-modal .auth-provider svg{width:19px;height:19px}
#auth-modal .auth-divider{margin:23px 0;color:#897b86;font-size:11px;gap:14px}
#auth-modal .auth-field-label{display:block;font-size:12px;color:#e5d8e1;margin-bottom:9px}
#auth-modal .auth-email-field{height:46px;min-height:46px;border-radius:10px;border:1px solid #ffffff25;background:#ffffff03;padding:0 14px}
#auth-modal .auth-email-field>svg{display:none}
#auth-modal .auth-email-field input{font-size:13px;color:#f6eaf2;padding:0;background:transparent}
#auth-modal .auth-email-field:focus-within{border-color:#e57bac;box-shadow:0 0 0 3px #e57bac10}
#auth-modal .auth-continue{height:46px;min-height:46px;margin-top:12px;border-radius:10px;background:#e94798;border:1px solid #ee67ac;font-size:13px;color:#fff;display:flex;align-items:center;justify-content:center;gap:12px}
#auth-modal .auth-continue:disabled{background:#71304f;border-color:#71304f;color:#c291aa;opacity:1}
#auth-modal .auth-features{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:22px;color:#c5a9ba;font-size:11px}
#auth-modal .auth-status:empty{display:none}
#auth-modal .auth-status{font-size:12px;margin:14px 0 0;text-align:left}
#auth-modal .auth-terms{font-size:10px;line-height:1.8;color:#8e7f89;margin:27px 0 0;text-align:left}
#auth-modal .auth-terms a{color:#ca91b0;text-underline-offset:3px}
#auth-modal .auth-close{top:16px;right:16px;width:30px;height:30px;border:0;background:transparent;color:#a597a1}
@media(max-width:700px){#auth-modal{width:min(460px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}#auth-modal .auth-layout{grid-template-columns:1fr;min-height:0}#auth-modal .auth-visual{display:none}#auth-modal .auth-content{padding:52px 26px 30px}#auth-modal #auth-title{font-size:31px}}

/* Keep signed-out header actions on the same sizing system. */
.header>.header-favorites,.header>.header-creations,.header>.join-free{box-sizing:border-box;height:36px;min-height:36px;border-radius:10px;font-size:12px;line-height:18px;font-weight:600;padding:0 14px;display:inline-flex;align-items:center;justify-content:center}
.header>.join-free{min-width:96px}
@media(max-width:440px){.header>.header-favorites,.header>.header-creations{width:36px;min-width:36px;padding:0}.header>.join-free{min-width:82px;padding-inline:12px}}
/* Google renders the actual sign-in control; no invisible overlay or simulated login. */
#google-signin{display:flex;justify-content:center;width:100%;min-height:44px;margin:20px 0}
#google-signin>button{width:100%;padding:14px;border:1px solid #40343e;border-radius:10px;background:#251c24;color:#fff;cursor:pointer}
#auth-form[hidden],.auth-divider[hidden]{display:none!important}

/* Keep the Google iframe in its intended light color scheme inside the dark dialog. */
#auth-modal .auth-inner{max-width:400px}
#auth-modal #google-signin{color-scheme:light;display:flex;justify-content:flex-start;min-height:40px;margin:0;width:100%;background:transparent}
#google-signin iframe{color-scheme:light;border:0;background:transparent}
#auth-modal .auth-email-field,#auth-modal .auth-continue{height:40px;min-height:40px}
#auth-modal .auth-divider{margin:20px 0}

/* Explicit display rules must respect authentication visibility. */
.header > .join-free[hidden],.header > .account[hidden]{display:none!important}
/* Library navigation uses the same clear selected treatment on direct routes. */
.header>.header-favorites.active,.header>.header-creations.active{background:#df438f;border-color:#ee72b2;color:#fff;box-shadow:inset 0 1px 0 #ffffff15}
.header>.header-favorites.active:hover,.header>.header-creations.active:hover{background:#e9539e;border-color:#f18abd;color:#fff}
.header>.header-favorites.active svg,.header>.header-creations.active svg{color:currentColor}

/* Email verification stays in the existing sign-in form. */
#auth-modal .auth-code-group{margin-top:18px}
#auth-modal .auth-code-group[hidden]{display:none!important}
#auth-modal .auth-code-field input{letter-spacing:5px;font-size:18px;font-variant-numeric:tabular-nums}
#auth-modal .auth-code-field input::placeholder{letter-spacing:0;font-size:13px}
#auth-modal .auth-code-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}
#auth-modal .auth-code-actions button{border:0;background:none;padding:3px 0;color:#d79ab9;font-size:11px;cursor:pointer}
#auth-modal .auth-code-actions button:disabled{color:#897b86;cursor:default}
#auth-modal .auth-email-field input:read-only{color:#a99aa5}
.auth-inline-spinner{width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:auth-spin .7s linear infinite}
@keyframes auth-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.auth-inline-spinner{animation-duration:1.5s}}

/* A saved template has an unmistakable active heart. */
.creation-actions .creation-icon.is-saved{color:#f58abd;background:#ec489924;border-color:#f18bb85c}
.creation-actions .creation-icon.is-saved svg{fill:currentColor;stroke:currentColor}
.creation-actions .creation-icon.is-saved:hover{color:#ffacd4;background:#ec489934;border-color:#f18bb880}

.header>.header-favorites .favorite-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;margin-left:2px;border-radius:6px;background:#ffffff0d;color:#dcbdd1;font-size:10px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.header>.header-favorites.active .favorite-count{background:#ffffff24;color:#fff}
@media(max-width:440px){.header>.header-favorites{position:relative}.header>.header-favorites .favorite-count{position:absolute;right:-5px;top:-5px;display:inline-flex;min-width:16px;height:16px;padding:0 4px;margin:0;background:#9d356d;color:#fff;font-size:9px}}

.header>.header-creations .creation-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;margin-left:2px;border-radius:6px;background:#ffffff0d;color:#dcbdd1;font-size:10px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.header>.header-creations.active .creation-count{background:#ffffff24;color:#fff}
.account-menu button:disabled{cursor:default;opacity:.55;background:transparent}
.menu-coming-soon{margin-left:auto;padding:4px 7px;border:1px solid #ffffff12;border-radius:6px;color:#a89ba6;font-size:10px;font-weight:500;white-space:nowrap}
@media(max-width:440px){.header>.header-creations{position:relative}.header>.header-creations .creation-count{position:absolute;right:-5px;top:-5px;display:inline-flex;min-width:16px;height:16px;padding:0 4px;margin:0;background:#9d356d;color:#fff;font-size:9px}}

/* Hotspicy flame/play brand mark. */
.brand .brand-icon{display:block;width:28px;height:32px;object-fit:contain;flex-shrink:0}
.footer-brand .brand-icon{width:26px;height:30px}
#auth-modal .auth-visual-brand .brand-icon{width:29px;height:32px}
.welcome-logo{object-fit:contain}
@media(max-width:550px){.header .brand .brand-icon{width:25px;height:28px}}

/* Approved icon + wordmark artwork in the storefront header. */
.header .brand .header-wordmark{display:block;width:150px;height:42px;object-fit:contain;flex-shrink:0}
@media(max-width:550px){.header .brand .header-wordmark{width:126px;height:36px}}

/* Mobile library actions: identical inset badges without edge collisions. */
@media(max-width:620px){
.header>.header-favorites,.header>.header-creations{position:relative;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:12px;overflow:visible}
.header>.header-favorites>span:not(.favorite-count),.header>.header-creations>span:not(.creation-count){display:none}
.header>.header-favorites svg,.header>.header-creations svg{width:18px;height:18px}
.header>.header-favorites .favorite-count,.header>.header-creations .creation-count,
.header>.header-favorites.active .favorite-count,.header>.header-creations.active .creation-count{position:absolute;display:inline-flex;align-items:center;justify-content:center;top:-4px;right:-4px;min-width:17px;height:17px;margin:0;padding:0 4px;border:2px solid #0b0b0b;border-radius:8px;background:#9d356d;color:#fff;font-size:9px;font-weight:650;line-height:1;box-sizing:content-box;pointer-events:none}
.header>.header-favorites,.header>.header-creations{margin-right:3px}
}

.account-drawer-close,.account-drawer-shade{display:none}
@media(max-width:620px){
body.account-drawer-open{overflow:hidden}
.account-drawer-shade:not([hidden]){display:block;position:fixed;inset:0;z-index:100;background:#0009;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
body>.account-menu:not([hidden]){display:flex;flex-direction:column;position:fixed;inset:0 0 0 auto;z-index:101;width:min(340px,90vw);max-width:90vw;height:100dvh;max-height:100dvh;margin:0;padding:76px 20px max(24px,env(safe-area-inset-bottom));border:0;border-left:1px solid #ffffff12;border-radius:20px 0 0 20px;background:radial-gradient(ellipse at top right,#57253d35,transparent 50%),#131113;overflow-y:auto;overscroll-behavior:contain;box-shadow:-16px 0 60px #0006;animation:account-drawer-in .25s cubic-bezier(.2,.7,.3,1)}
.account-menu .account-drawer-close{position:absolute;display:grid;place-items:center;top:22px;right:20px;width:34px;height:34px;padding:0;border:1px solid #ffffff12;border-radius:10px;background:#ffffff05;color:#c3b6c1}
.account-drawer-close svg{width:18px;height:18px}
body>.account-menu .account-heading{justify-content:space-between;white-space:normal;gap:12px;margin-bottom:24px;font-size:20px;letter-spacing:-.4px}
body>.account-menu .balance-card{flex-shrink:0;height:88px;border-radius:14px}
body>.account-menu .account-links{margin:22px 0;gap:4px}
body>.account-menu .account-links button{height:52px;padding-inline:12px;font-size:15px;gap:13px}
body>.account-menu .account-links svg{width:20px;height:20px}
body>.account-menu .logout{flex-shrink:0;height:44px;border-radius:12px;font-size:14px}
body>.account-menu .account-footer{margin-top:auto;padding-top:24px;min-height:70px}
body>.account-menu .account-footer button{font-size:14px}
@keyframes account-drawer-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
}
@media(prefers-reduced-motion:reduce){body>.account-menu{animation:none!important}}

/* Keep logout and support together at the bottom of the mobile drawer. */
@media(max-width:620px){
body>.account-menu .logout{margin-top:auto}
body>.account-menu .account-footer{margin-top:14px;min-height:58px;padding-top:18px;flex-shrink:0}
}
