muse-explore{display:block;padding:18px 15px 32px;color:#f6f3fa}
.ex-head h1{margin:0;font-size:var(--type-title);letter-spacing:-.04em}
muse-explore section{margin:24px 0}
muse-explore h2,.muse-ex-dialog h2{margin:0 0 12px;font-size:var(--type-section);line-height:1.25;letter-spacing:-.025em}
.ex-rail,.ex-filters{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#503246 transparent;padding-bottom:5px}
.ex-rail>button{flex:0 0 31%;scroll-snap-align:start}
.ex-tile,.ex-style,.ex-game{position:relative;display:block;isolation:isolate;overflow:hidden;border:1px solid #332c38;border-radius:14px;background:#211d24;color:white;padding:0;text-align:left}
.ex-tile{aspect-ratio:2/3;min-width:0}
.ex-tile img,.ex-game video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ex-tile>span,.ex-game>span{position:absolute;inset:auto 0 0;display:grid;gap:2px;padding:24px 9px 9px;background:linear-gradient(transparent,#100d16eb);line-height:1.25}
.ex-tile b,.ex-game b{font-size:var(--type-card);overflow-wrap:anywhere}.ex-tile small,.ex-game small{font-size:12px;color:#e7dee7}
.ex-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ex-grid .ex-tile b{font-size:var(--type-card)}
.ex-secondary,.ex-filters button,.ex-actions button,.ex-transport button,.muse-ex-dialog button:not(.primary,.ex-style){border:1px solid #453945;border-radius:12px;background:#29242c;color:#faf7fb;min-height:44px;padding:0 12px}
.ex-secondary{margin-top:9px}.ex-filters{margin:8px 0 12px}.ex-filters button{flex:none}
.ex-filters [aria-pressed=true],.ex-style[aria-pressed=true]{border-color:#f775b6;background:#54253c}
.ex-game{width:100%;aspect-ratio:2.8}.ex-game b{font-size:18px}
.muse-ex-dialog{box-sizing:border-box;width:min(94vw,405px);max-height:88dvh;margin:auto;padding:16px;color:#f8f5f8;background:#19151d;border:1px solid #4b394b;border-radius:20px;overflow:auto;overscroll-behavior:contain}
.muse-ex-dialog::backdrop{background:#09050cbe}
.muse-ex-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.muse-ex-dialog header h2{margin:0}.muse-ex-dialog header button{width:44px;font-size:24px}
.muse-ex-dialog p{font-size:14px;line-height:1.5}.muse-ex-dialog video{display:block;width:100%;max-height:46dvh;background:#080809;object-fit:contain}
.muse-ex-dialog a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;color:#ffabd4}
.ex-stage{background:#08070a}.ex-stage video{display:block;width:100%;height:clamp(190px,40dvh,380px);object-fit:contain}
.ex-chat-player{padding:0 12px 12px}.ex-transport{display:flex;align-items:center;gap:6px;margin:8px 0}.ex-now{flex:1;font-size:14px}
.ex-transport button{min-width:44px;font-size:22px}.ex-actions,.ex-tags{display:flex;flex-wrap:wrap;gap:6px}
.ex-chat-player details summary{padding:12px 0;cursor:pointer}.ex-chat-player details p{display:flex;justify-content:space-between;gap:10px;font-size:14px}.ex-chat-player small{color:#c7b6c8}
.ex-tags span{font-size:12px;padding:4px 9px;background:#332936;border-radius:12px}
.ex-style{display:grid;align-content:start;gap:5px;padding-bottom:6px;text-align:center;font-size:12px}
.ex-style img,.ex-style video{width:100%;aspect-ratio:3/4;object-fit:cover}.ex-style-groups h3{text-transform:capitalize;font-size:15px;margin:15px 0 6px}
.muse-ex-dialog .primary{margin-top:12px}
.ex-transport .ex-favorite{font-size:13px}.ex-favorite[aria-pressed=true]{color:#ffb6d8;border-color:#ac567d}

.gold-game video {width:100%;max-height:32vh;object-fit:contain;background:#17111b}
.gold-game fieldset {border:0;padding:0;margin:12px 0}
.gold-game legend {margin-bottom:6px;font-weight:700}
.gold-picks,.gold-chips {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.gold-chips {grid-template-columns:repeat(4,minmax(0,1fr))}
.gold-game button img {display:block;height:25px;margin:0 auto;object-fit:contain}
.gold-game button[aria-pressed=true] {background:#553c24;color:white}
.muse-ex-dialog:has(.gold-game){background:#141116;color:#fff6e5;padding:14px;border:1px solid #7e6040}
.gold-toolbar,.gold-wallet{display:flex;align-items:center;justify-content:space-between;margin:8px 0}
.gold-toolbar select{background:#282023;color:#fff2d8;padding:6px;border:1px solid #746043;border-radius:8px}
.gold-stage{position:relative;overflow:hidden;border-radius:14px;background:#19151c}
.gold-stage video{object-fit:cover;width:100%;height:24vh}
.gold-stage>div{position:absolute;pointer-events:none;top:12px;left:12px;color:white;text-shadow:0 1px 5px #000;display:grid}
.gold-stage small{font-size:9px;letter-spacing:.2em}.gold-stage strong{font: bold 24px Georgia,serif}
.gold-wallet{padding:10px 14px;background:#302720;border-radius:10px}.gold-wallet b{color:#ffda88}
.gold-game [role=status]{color:#ffd78f;min-height:1.5em}.gold-game details{margin-top:12px}.gold-game ol{padding-left:20px;font-size:13px}
.gold-game .gold-picks button,.gold-game .gold-chips button{font-size:11px;padding:4px;line-height:1.25}
.gold-game button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #f3c87b}
.gold-game .primary{background:#edc579;color:#23190f}.gold-game button:disabled{opacity:.55}


.ex-loading-note { padding:16px; color:#bcb1c4; }

.ex-head {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:16px;
}

body.pwa-only .ex-chat-link {
 display:inline-flex;
 align-items:center;
 gap:7px;
 padding:0 13px;
 border:0;
 border-radius:999px;
 background:#251a2a;
 color:#ffb1d7;
 font-weight:700;
}

.ex-chat-link svg,.conversation-delete svg,.chat-delete-symbol svg {
 width:20px;
 height:20px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.75;
 stroke-linecap:round;
 stroke-linejoin:round;
}

muse-explore .ex-scene-shelf {
 padding:14px 12px 12px;
 border-radius:18px;
 background:#17121c;
}

muse-explore .ex-scene-shelf h2 { margin-bottom:4px; }
muse-explore .ex-scene-shelf p { margin:0 0 13px; font-size:12px; }
.ex-scene-rail {
 display:grid;
 grid-auto-flow:column;
 grid-auto-columns:clamp(102px,32%,144px);
 gap:9px;
 padding-bottom:7px;
 overflow:auto;
 scroll-snap-type:x mandatory;
 overscroll-behavior-inline:contain;
 scrollbar-width:thin;
 scrollbar-color:#5b3352 transparent;
}

.ex-scene-card {
 position:relative;
 display:grid;
 min-width:0;
 overflow:hidden;
 border-radius:12px;
 background:#211928;
 scroll-snap-align:start;
}

body.pwa-only .ex-scene-card :is(.ex-scene-pick,.ex-scene-play) {
 padding:0;
 border:0;
 border-radius:0;
}

body.pwa-only .ex-scene-card .ex-scene-pick {
 position:relative;
 display:block;
 width:100%;
 aspect-ratio:9/14;
 overflow:hidden;
 background:#2a202b;
 color:white;
 text-align:start;
}
.ex-scene-pick img { display:block; width:100%; height:100%; object-fit:cover; }

.ex-scene-caption {
 position:absolute;
 inset:auto 0 0;
 display:flex;
 align-items:end;
 justify-content:space-between;
 gap:4px;
 padding:26px 46px 9px 8px;
 flex-direction:column;align-items:flex-start;
 background:linear-gradient(transparent,#0b080de6 75%);
 line-height:1.15;
}
.ex-scene-caption b { font-size:12px; overflow-wrap:anywhere; }
.ex-scene-caption small { flex:none; color:#fff; font-size:10px; }

.ex-scene-check {
 position:absolute;
 z-index:1;
 inset:7px 7px auto auto;
 display:none;
 width:25px;
 height:25px;
 place-items:center;
 border-radius:50%;
 background:#ec358d;
 color:white;
 font-size:15px;
 font-weight:800;
}
.ex-scene-pick[aria-pressed=true] .ex-scene-check { display:grid; }
body.pwa-only .ex-scene-card .ex-scene-play {
 position:absolute;inset:auto 3px 3px auto;display:grid;place-items:center;
 width:44px;height:44px;min-height:44px;border-radius:50%;background:transparent;
}
.ex-scene-play::before {
 content:"";position:absolute;inset:5px;border-radius:50%;
 background:#160e1ccf;backdrop-filter:blur(6px);box-shadow:inset 0 0 0 1px #ffffff30;
}
.ex-scene-card:has([aria-pressed=true]) .ex-scene-play::before {
 background:#b4256c;box-shadow:inset 0 1px 0 #ffffff32;
}
.ex-scene-play span {
 position:relative;display:block;width:10px;height:12px;margin-left:2px;
 background:#fff;clip-path:polygon(0 0,100% 50%,0 100%);
}

.ex-scene-actions {
 display:grid;
 grid-template-columns:1fr auto;
 gap:8px;
 margin-top:10px;
}
body.pwa-only .ex-scene-actions button { margin:0; padding:0 12px; border:0; }
body.pwa-only .ex-scene-actions .primary { background:#d82c80; color:#fff; }

body.pwa-only .swap-scene-preview .swap-page-head {
 display:grid;
 grid-template-columns:minmax(3.5rem,1fr) minmax(0,max-content) minmax(3.5rem,1fr);
 align-items:center;
 gap:8px;
 margin-bottom:12px;
}
body.pwa-only .swap-scene-preview .swap-page-head > button { justify-self:start; }
body.pwa-only .swap-scene-preview .swap-page-head h1 { margin:0; }
body.pwa-only .swap-scene-preview .swap-head-price {
 justify-self:end;
 padding:4px 8px;
 border-radius:99px;
 background:#2c2030;
 color:#f4a9ce;
 font-size:11px;
}
body.pwa-only .swap-scene-preview .swap-hero {
 width:100%;
 min-width:0;
 aspect-ratio:auto;
 height:clamp(220px,36dvh,320px);
 margin-bottom:14px;
 background:#09070b;
}
body.pwa-only .swap-scene-preview .swap-hero video { object-fit:contain; }
body.pwa-only .swap-scene-preview .swap-panel {
 padding:14px;
 margin-bottom:12px;
 border-color:#ffffff18;
 border-radius:16px;
 background:#19151d;
}
body.pwa-only .swap-scene-preview .swap-source-tabs,
body.pwa-only .swap-scene-preview .swap-quality { gap:6px; }
body.pwa-only .swap-scene-preview :is(.swap-source-tabs,.swap-quality) button {
 border:0;
 background:#25202a;
}
body.pwa-only .swap-scene-preview :is(.swap-source-tabs,.swap-quality) [aria-pressed=true] {
 background:#a72165;
 color:white;
}
body.pwa-only .swap-scene-preview .swap-upload {
 min-height:68px;
 padding:10px;
 border-color:#453749;
 border-radius:12px;
 background:#211924;
}
body.pwa-only .swap-scene-preview .swap-hero-label { pointer-events:none; }
.swap-scene-library > summary {
 padding:12px 0;
 color:#f8b7d7;
 font-weight:700;
}

body.pwa-only .messages-hub {
 display:flex;
 flex-direction:column;
 min-height:100%;
 padding:23px clamp(14px,4.65vw,20px) 26px;
 font-variant-numeric:tabular-nums;
 background:radial-gradient(ellipse at 12% 0,#211528,#100d16 39%);
}
body.pwa-only .messages-hub .messages-heading {
 display:grid;
 grid-template-columns:36px minmax(0,1fr);
 align-items:center;
 gap:11px;
 margin:0 0 18px;
 padding:0;
}
body.pwa-only .messages-hub .messages-heading h1 {
 margin:0;
 color:#f8eef8;
 font-size:var(--type-title);
 font-weight:730;
 line-height:1.16;
 letter-spacing:-.035em;
}
body.pwa-only .messages-hub .messages-heading p {
 max-width:none;
 margin:4px 0 0;
 color:#bfb2c6;
 font-size:12px!important;
 line-height:1.45;
}
.conversation-heading-mark,
.conversation-empty-icon {
 display:grid;
 place-items:center;
 background:#2d1b31;
 color:#f091c2;
}
.conversation-heading-mark {
 width:36px;
 height:36px;
 border-radius:11px;
}
.conversation-heading-mark svg,.conversation-empty-icon svg {
 width:19px;
 height:19px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.75;
 stroke-linecap:round;
 stroke-linejoin:round;
}
body.pwa-only .messages-hub .messages-workspace,
body.pwa-only .messages-hub .conversation-panel {
 display:block;
 flex:1;
 width:100%;
 min-width:0;
}
body.pwa-only .messages-hub .messages-workspace { margin-top:0; }
body.pwa-only .messages-hub .conversation-panel {
 padding:0;
 border:0;
 background:transparent;
}
body.pwa-only .messages-hub .conversation-search {
 min-height:44px;
 gap:8px;
 margin:0 0 12px;
 padding:0 11px;
 border:1px solid #3c3145;
 border-radius:10px;
 background:#191420;
}
body.pwa-only .messages-hub .conversation-search:focus-within {
 border-color:#8d7c96;
 outline:none;
}
body.pwa-only .messages-hub .conversation-search > svg { width:17px; height:17px; }
body.pwa-only .messages-hub .conversation-search input { min-height:42px; padding:8px 0; }
body.pwa-only .messages-hub .conversation-search input::placeholder {
 color:#a99bb1;
 font-size:13px;
}
body.pwa-only .messages-hub #conversation-list:has(.conversation-item) {
 border:1px solid #312739;
 border-radius:14px;
 background:#1a1422;
}
.conversation-item {
 display:grid;
 grid-template-columns:minmax(0,1fr) 44px;
 align-items:center;
 gap:3px;
 padding:0 5px 0 0;
}
.conversation-item + .conversation-item { border-top:1px solid #32283b; }
body.pwa-only .conversation-item .conversation-row {
 width:100%;
 min-height:67px;
 gap:10px;
 margin:0;
 padding:10px 7px 10px 11px;
 border:0;
 border-radius:8px;
 background:transparent;
}
body.pwa-only .conversation-item .conversation-avatar {
 flex:0 0 38px;
 width:38px;
 height:38px;
 border:0;
 border-radius:50%;
 font-size:15px;
}
.conversation-item .conversation-copy { gap:3px; }
body.pwa-only .conversation-item .conversation-name {
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 align-items:baseline;
 gap:6px;
 color:#f7f0f8;
 font-size:14px;
 line-height:1.3;
}
.conversation-person {
 overflow:hidden;
 font-weight:680;
 white-space:nowrap;
 text-overflow:ellipsis;
}
body.pwa-only .conversation-item .conversation-date {
 color:#b7a9bf!important;
 font-size:11px!important;
 line-height:1.3;
 font-weight:500;
}
body.pwa-only .conversation-item .conversation-preview {
 color:#c1b5c9!important;
 font-size:12px!important;
 line-height:1.4;
}
body.pwa-only .conversation-item .conversation-delete {
 position:relative;
 isolation:isolate;
 display:grid;
 place-items:center;
 width:44px;
 min-height:44px;
 padding:0;
 border:0;
 border-radius:10px;
 background:transparent;
 color:#e7afcd;
}
.conversation-delete::before {
 position:absolute;
 z-index:-1;
 inset:6px;
 border-radius:8px;
 background:#302037;
 content:"";
}
.conversation-delete svg { width:16px; height:16px; }
@media (hover:hover) {
 body.pwa-only .conversation-item .conversation-row:hover { background:#22192c; }
 .conversation-delete:hover::before { background:#41293f; }
}
body.pwa-only .messages-hub.is-empty :is(.messages-workspace,.conversation-panel,#conversation-list) {
 display:grid;
 grid-template-columns:minmax(0,1fr);
 align-items:stretch;
 min-height:0;
}
body.pwa-only .messages-hub .conversation-empty {
 align-self:center;
 min-height:0;
 padding:22px 18px;
 background:none;
 border:0;
 text-align:center;
}
.conversation-empty-icon {
 width:48px;
 height:48px;
 margin:0 auto 12px;
 border-radius:50%;
}
body.pwa-only .messages-hub .conversation-empty h2 { margin:0 0 5px; font-size:var(--type-section); }
body.pwa-only .messages-hub .conversation-empty p { max-width:220px; font-size:12px; line-height:1.5; }
body.pwa-only .conversation-empty .primary { min-height:44px; margin-top:14px; border:0; background:#d82c80; color:white; }

body.pwa-only dialog.chat-delete-dialog {
 width:min(392px,calc(100% - 32px));
 inset:auto 0 max(18px,env(safe-area-inset-bottom));
 margin:0 auto;
 padding:17px;
 border:1px solid #51334b;
 background:#191320;
}
.chat-delete-content {
 display:grid;
 grid-template-columns:42px minmax(0,1fr);
 gap:10px;
 align-items:start;
}
.chat-delete-symbol {
 display:grid;
 place-items:center;
 width:42px;
 height:42px;
 border-radius:50%;
 background:#382039;
 color:#ffc0d8;
}
body.pwa-only .chat-delete-content h2 { margin:0 0 5px; font-size:var(--type-section); }
body.pwa-only .chat-delete-content p { margin:0; font-size:var(--type-body); }
.chat-delete-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:17px; }
body.pwa-only .chat-delete-actions button { min-width:0; padding:0 8px; border:0; }
body.pwa-only .chat-delete-actions button[value=delete] { background:#c72a52; color:white; }

body.pwa-only .swap-companion-library { padding: 12px 15px 20px; }
body.pwa-only .swap-companion-library .swap-hero {
 height: clamp(210px,42dvh,368px);
 border: 1px solid #3b2c43;
 border-radius: 20px;
 background: #08070c;
}
body.pwa-only .swap-companion-library .swap-empty { color: #bfb2c7; }
body.pwa-only .swap-companion-library .swap-head-price { color: #ffd98a; background: #2e202b; }
body.pwa-only .swap-companion-library .swap-section-title { padding-inline: 2px; }
body.pwa-only .swap-companion-library .swap-reference-card { width: 105px; height: 139px; }
body.pwa-only .swap-companion-library .swap-role-carousel > button { min-width: 119px; }

body.pwa-only .swap-scene-preview .swap-panel { padding:12px 14px; }
body.pwa-only .swap-scene-preview .swap-upload {
 display:flex;align-items:center;gap:12px;min-height:56px;
 margin-top:6px;padding:0;border:0;background:transparent;text-align:start;
}
body.pwa-only .swap-scene-preview .swap-upload .swap-upload-icon {
 flex:0 0 48px;width:48px;height:48px;border-radius:12px;
}
body.pwa-only .swap-scene-preview .swap-upload-status:empty { display:none; }
body.pwa-only .swap-scene-preview .swap-quality { margin-top:10px; }
body.pwa-only .swap-scene-preview .swap-quality button {
 min-height:44px;border-radius:999px;background:#100d14;font-weight:750;
}
body.pwa-only .swap-scene-preview .swap-quality button[aria-pressed=true] { background:#c31e72; }
body.pwa-only .swap-scene-preview .swap-price-row { margin-top:10px;padding-top:10px; }
body.pwa-only .swap-scene-preview .swap-create-video { margin-top:3px;min-height:48px;border-radius:14px; }

body.pwa-only .swap-scene-preview .swap-page-head h1 { font-size:1.0625rem!important; }
body.pwa-only .swap-scene-preview .swap-hero-label h2 { font-size:.8125rem; }
body.pwa-only .swap-scene-preview .swap-empty { font-size:.75rem; line-height:1.5; }
body.pwa-only .swap-scene-preview .swap-reference-card b { font-size:.71875rem; line-height:1.35; }
body.pwa-only .swap-scene-preview .swap-role-carousel b { font-size:.75rem; }
body.pwa-only .swap-scene-preview :is(.swap-reference-card small,.swap-role-carousel small) {
 font-size:.625rem!important;
 line-height:1.35;
}
body.pwa-only .swap-scene-preview .swap-section-title :is(b,span) {
 font-size:.6875rem!important;
 letter-spacing:0;
}
body.pwa-only .swap-scene-preview .swap-panel .swap-section-title { margin-bottom:10px; }
body.pwa-only .swap-scene-preview .swap-upload { min-height:48px; gap:10px; }
body.pwa-only .swap-scene-preview .swap-upload .swap-upload-icon {
 flex-basis:42px;
 width:42px;
 height:42px;
 padding:0;
}
body.pwa-only .swap-scene-preview .swap-upload svg { width:20px; height:20px; }
body.pwa-only .swap-scene-preview .swap-upload b { font-size:.75rem; line-height:1.4; }
body.pwa-only .swap-scene-preview :is(.swap-source-tabs,.swap-quality) button {
 min-height:44px;
 padding:8px 5px;
 font-size:.6875rem!important;
 letter-spacing:.025em;
 line-height:1.25;
}
body.pwa-only .swap-scene-preview .swap-price-row { font-size:.75rem; }
body.pwa-only .swap-scene-preview .swap-price-row b { font-size:1rem; letter-spacing:0; }
body.pwa-only .swap-scene-preview .swap-create-video { font-size:.75rem; letter-spacing:.045em; }
body.pwa-only .swap-scene-preview .swap-create-video svg { width:16px; height:16px; }

.ex-card-image{position:relative;display:block;width:100%;height:100%;overflow:hidden}
.ex-tile > .ex-card-image,.ex-scene-pick > .ex-card-image,.ex-own-portrait > .ex-card-image {
 position:absolute;inset:0;display:block;padding:0;overflow:hidden;background:#25202a;
}
.ex-card-image img {
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.ex-card-blur { filter:blur(10px);transform:scale(1.14); }
.ex-card-sharp { opacity:0;transition:opacity .28s ease-out; }
.ex-card-sharp.is-ready { opacity:1; }
@media(prefers-reduced-motion:reduce){.ex-card-sharp{transition:none}}

.ex-own-companions { margin:12px 0 16px; }
.ex-own-heading { display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px; }
.ex-own-heading h3 { display:flex;align-items:center;gap:6px;margin:0;color:#ffc0de; }
.ex-own-heading small { color:#cfb4cc;font-size:var(--type-caption); }
body.pwa-only .ex-own-heading button { background:transparent;border:0;color:#ffc0de;padding:0 3px;font-size:var(--type-secondary); }
.ex-own-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }
.ex-own-grid>p { grid-column:1/-1; }
.ex-own-card { min-width:0;display:grid;gap:5px;padding:6px;border-radius:12px;background:#1c1425; }
body.pwa-only .ex-own-card .ex-own-portrait {
 position:relative;width:100%;aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;
 padding:0;border:0;border-radius:8px;background:#34233a;color:#ffc4df;font-size:var(--type-section);
}
.ex-own-portrait img { width:100%;height:100%;object-fit:cover; }
.ex-own-card>strong { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:3px;font-size:var(--type-card); }
.ex-own-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px; }
body.pwa-only .ex-own-actions button { padding:0 3px;border:0;font-size:var(--type-caption); }
.ex-own-actions .primary { grid-column:1/-1; }
.ex-remove-actions { display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px; }

.swap-photo-count { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; margin-block: 6px 9px; }
body.pwa-only .swap-photo-count button {
 min-width: 0; padding: 4px 2px; font-size: clamp(9px,2.7vw,12px); min-height: 44px;
 border: 0; border-radius: 9px; background: #251a2d; color: #e6cfe2;
}
body.pwa-only .swap-photo-count button[aria-pressed=true] { background: #542542; color: #ffe5f4; }
body.pwa-only .reuse-portrait-slots[data-slots="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); }

body.pwa-only .reuse-modal[data-photo-count="3"] .swap-workspace[data-source-mode="image"]{grid-template-columns:minmax(0,1fr)}
body.pwa-only .reuse-modal[data-photo-count="3"] .swap-workspace[data-source-mode="image"] .swap-hero{grid-row:1}
body.pwa-only .reuse-modal[data-photo-count="3"] .swap-workspace[data-source-mode="image"] .swap-input-panel{grid-row:2}
body.pwa-only .reuse-modal[data-photo-count="3"] .swap-workspace[data-source-mode="image"] .reuse-flow-arrow{display:none}

.ex-loading-shell{padding:18px 16px}
muse-explore > .ex-loading-shell{padding:0;margin:0}
.ex-loading-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.ex-loading-cards span{aspect-ratio:2/3;border-radius:14px;background:#221a2a}

.image-face-swap-form{display:grid;gap:12px}.image-face-swap-form label{display:grid;gap:4px}.image-face-swap-form input[type=file]{max-width:100%;font-size:12px}.image-face-swap-form label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}.image-face-swap-result img{display:block;max-width:100%;max-height:46dvh;margin:auto;border-radius:10px}
