/* MUSE's shared screening-room theme. Functional component geometry stays in style.css. */
:root{--pink:#f3a0c2;--muted:#aaa6b0;--line:#ffffff18;--canvas:#0d0d10;--surface:#18181d;--text:#f5f3f5;--accent:#f3a0c2;--muted-text:#aaa6b0}
body{background:var(--canvas);color:var(--text);font:16px/1.5 'Segoe UI',Arial,sans-serif}
body *{box-shadow:none;letter-spacing:normal}
body button,body a[href],body summary,body select,body input[type=checkbox],body input[type=radio],body label:has(input){cursor:pointer}
body button{background:#202024;border-color:#45454e;border-radius:8px;min-height:44px;transition:background .15s,border-color .15s}
body button:hover{filter:none;background:#2b2b31;border-color:#88848f;transform:none}
body button:active{transform:translateY(1px)}
body button:disabled{cursor:not-allowed;filter:none;opacity:.55}
body :is(input,select,textarea,summary,a):focus-visible{outline:none;background-color:#35273d;outline-offset:4px}
body button:focus-visible{outline:none;background-color:#35273d;outline-offset:-4px}
body input,body select,body textarea{background:#18181c;color:var(--text);border-color:#57545f;border-radius:8px;font-size:16px}
body input::placeholder,body textarea::placeholder{color:#aaa6b0}
body p,body small{color:var(--muted-text)}
body h1,body h2,body h3{letter-spacing:-.025em;font-weight:600}
body .primary,body .new-conversation{background:var(--accent);border-color:var(--accent);color:#25121b;border-radius:8px;font-weight:650}
body .primary:hover,body .new-conversation:hover{background:#f7a8ca;color:#25121b}
body .pink{color:#f3a4c6}body .gold{color:#f4d589}
body .phone{background:var(--canvas);border:0;border-radius:0;box-shadow:none;width:100%;height:100dvh;margin:0}
body .notch{display:none}
body .phone main{height:calc(100% - 76px);background:var(--canvas)}
body #nav{background:#111114;border-color:#ffffff12;height:76px}
body #nav button{position:relative;background:transparent;border-radius:0;color:#aaa6b0;font-size:12px;font-weight:500;min-height:44px;gap:3px}
body #nav .nav-icon{display:grid;place-items:center;width:38px;height:32px;background:transparent;border-radius:10px}
body #nav .nav-icon svg{width:24px;height:24px;stroke-width:1.65}
body #nav button.active{background:transparent;color:#f5f3f5}
body #nav button.active .nav-icon{background:#f3a0c210;color:#f3a0c2}
body #nav button.active:after{content:'';position:absolute;bottom:7px;width:12px;height:2px;border-radius:2px;background:#f3a0c2}
body #nav button.active .nav-icon svg{color:#f3a0c2}
body #nav:after{content:none}
body .brand{font-size:29px;letter-spacing:-1.7px;color:#f5f3f5;font-weight:700}
body .brand-dot{color:var(--accent)}
body .top{background:transparent;border-bottom:1px solid #ffffff0c;padding:20px 28px}
body .studio-top{display:flex;align-items:center;justify-content:space-between}
.studio-top-actions{display:flex;align-items:center;gap:10px}
body .account-button{font-size:14px;background:transparent}
body .pill{background:#202024;border-color:#45454e;color:#ddd7e2;font-size:12px;letter-spacing:0;border-radius:7px;min-height:36px}
body .pad{padding:36px 32px;max-width:1100px;margin:0 auto}
.explore-heading{margin:8px 0 26px}.explore-heading h1{font-size:clamp(29px,3.5vw,42px);line-height:1.15}.explore-heading p{font-size:15px;margin-top:10px}
.studio-tool-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 24px;padding:0 0 22px;margin-bottom:28px;border-bottom:1px solid #34343b;background:none;position:static;width:auto;height:auto}
.studio-tool-links button{padding:4px 0;border:0;border-radius:0;background:transparent;font-size:14px;min-height:40px;color:#d3cdd7}
.studio-tool-links button:hover{text-decoration:underline;text-underline-offset:6px;background:transparent}
.creator-count{padding:0 0 20px;border-bottom:1px solid #34343b;font-size:14px}
body .studio-top>.brand{display:block}
body .gl-icon g{filter:none}
body .studio-camera-label{font-family:inherit;letter-spacing:0;font-size:12px}
body .studio-name small{font-size:12px}
body .create-page .feature{width:100%;text-align:left;min-height:130px}
body .create-page .feature .glyph{width:42px;height:42px;padding:7px}
body .new-conversation svg{color:#25121b}
body .discover-heading p{font-size:14px;color:#aaa6b0}
body .conversation-count{color:#f4e4eb;background:#3b2b36}
body .profile-page [data-action=rename]{min-width:44px;min-height:44px;background:transparent}
body .profile-page h2{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body dialog label{font-size:14px;color:#d5cbdc}
body dialog input,body dialog select{min-height:44px}
@media(min-width:900px){body .studio-top>.brand{display:none}body .studio-top{justify-content:flex-end}}
body .face-home-preview{margin-bottom:40px}.face-home-preview .face-free{font-size:13px;letter-spacing:0;text-transform:none;color:#aaa6b0;font-weight:500}
body .face-home-preview h2{font-size:28px;margin:0;line-height:1.2;letter-spacing:-.8px}
.scene-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}
.scene-heading p{font-size:14px;margin-top:8px;color:#aaa6b0}
.scene-pagination{display:flex;gap:7px;flex-shrink:0}
body .scene-pagination button{width:44px;height:44px;padding:0;display:grid;place-items:center;line-height:1;font-size:25px;font-weight:400;border:1px solid #ffffff1c;border-radius:50%;background:#18181d;color:#f5f3f5}
body .scene-pagination button:disabled{opacity:.3}
body .face-home-preview>p{font-size:14px;margin-top:8px;color:#aaa6b0}
body .face-home-carousel{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 44px)/3.15);gap:16px;overflow-x:auto;overflow-y:hidden;padding:2px 2px 14px;margin:0 -2px 14px;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#4d434b transparent;overscroll-behavior-x:contain}
body .face-home-card{min-width:0;border:1px solid #ffffff14;border-radius:16px;overflow:hidden;background:#18181d;box-shadow:none;position:relative;scroll-snap-align:start}
body .face-home-card.selected{border-color:#f3a0c2}
body .face-home-select{aspect-ratio:3/3.65;border-radius:0;min-height:0;border:0;background:#25252b}
body .face-home-select img{object-position:center 25%}
body .face-home-card.selected .face-home-select{border:0}
body .face-home-check{top:12px;right:12px;width:26px;height:26px;background:#f3a0c2;color:#25121b;box-shadow:none}
body .face-home-check svg{width:16px;height:16px;stroke-width:2}
body .face-five{left:12px;bottom:12px;background:#131316dc;border:1px solid #ffffff1a;border-radius:5px;padding:4px 7px;font-size:11px;font-weight:500;color:#f4f2ef}
.face-scene-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 14px 15px}
.face-scene-caption>span{min-width:0}.face-scene-caption small{display:block;font-size:11px;color:#b5acb6;line-height:1.3;margin-bottom:5px}.face-scene-caption b{display:block;font-size:16px;font-weight:550;line-height:1.2;letter-spacing:-.25px}
.face-scene-artwork{position:relative}
body .scene-reuse{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 12px;border:1px solid #ffffff26;border-radius:20px;background:#be2d72;color:#fff;font-size:12px;font-weight:650;line-height:1}
body .scene-reuse svg{width:15px;height:15px;stroke-width:1.7;flex-shrink:0}
body .scene-reuse:hover{background:#ce387e;border-color:#ffffff80}
body .local-short .media-reuse{top:22px;left:18px;right:auto;bottom:auto;min-height:42px;padding:10px 16px;font-size:14px;z-index:3}
body .face-home-play{position:static;width:44px;height:44px;min-height:44px;flex-shrink:0;padding:12px;border:1px solid #ffffff20;border-radius:50%;background:transparent;color:#fff}
body .face-home-play:hover{background:#ffffff0c;border-color:#ffffff50}
body .face-home-play svg,body .media-paused svg{width:20px;height:20px;fill:currentColor;stroke:none;color:#fff;margin:0;filter:drop-shadow(0 1px 3px #0008)}
body .media-paused{width:64px;height:64px;border:0;border-radius:0;background:transparent;opacity:.82}
body .media-paused svg{width:52px;height:52px}
body .media-timeline .media-toggle{width:36px;height:36px;padding:8px;min-height:36px;border:0;border-radius:0;background:transparent}
body .media-toggle svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.2;margin:0}
body .media-toggle[aria-label="Play video"] svg{fill:#fff;stroke:none}
.face-scene-name{display:block;font-size:15px;color:#f4f2ef;line-height:1.4;padding:10px 0 0;font-weight:500}
body .face-home-actions{justify-content:flex-start;gap:10px}
body .face-home-actions>button{flex:none;padding:14px 24px;border-radius:10px;font-size:14px;min-height:48px;font-weight:600}
body .face-home-actions .primary{background:#f3a0c2;color:#25121b;flex:0 1 240px}
body .face-home-actions>button:last-child{border-color:#ffffff22;background:#18181d;color:#e7dfe7}
body .face-home-actions .primary>span{display:none}
.catalogue-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:20px}.catalogue-heading h2{font-size:23px;letter-spacing:-.6px}.catalogue-heading p{font-size:13px;max-width:430px;line-height:1.5}
.explore-sessions{margin-bottom:40px;padding-top:30px;border-top:1px solid #ffffff12}
.session-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.session-item{display:flex;align-items:center;gap:16px;min-width:0;padding:17px 0;border:0;border-bottom:1px solid #ffffff0e;border-radius:0;background:transparent;text-align:left}
.session-item img{width:58px;height:74px;object-fit:cover;border-radius:10px;flex-shrink:0}
.session-item>span:nth-child(2){flex:1;min-width:0}.session-item b{display:block;font-size:16px;font-weight:550}.session-item small{display:block;font-size:13px;margin-top:5px}.session-open{font-size:13px;color:#f3a4c6}
.character-catalogue{padding-top:30px;border-top:1px solid #ffffff12}
.catalogue-search>span{display:block;font-size:14px;color:#cfc7d6;margin-bottom:8px}
body .search{margin:0;background:#16161b;border-color:#ffffff20;border-radius:12px;font-size:16px;padding:15px 17px}
body .filters{margin:18px 0;gap:8px;flex-wrap:wrap;overflow:visible}
body .filters button{background:transparent;border-color:#ffffff18;border-radius:8px;min-height:40px;padding:7px 13px;font-size:13px;color:#c5bbc8}
body .filters button.active{background:#f3a0c212;border-color:#f3a0c26b;color:#f7c8dd}
body .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body .card,body .card:nth-child(n){height:230px;min-height:0;padding:20px;background:#1c1c20;border:1px solid #34343b;border-radius:10px;box-shadow:none}
body .portrait-letter{font-size:70px;letter-spacing:-3px;left:auto;right:20px;top:36px;width:auto;color:#b8a5b21a}
body .card h2{font-size:21px;font-weight:550;letter-spacing:-.4px}
body .card p{font-size:13px;line-height:1.5}.card p .pink{font-size:12px}
body .card .primary{background:transparent;color:#f4f2ef;border:1px solid #6d636f;font-size:13px;border-radius:6px;min-height:42px}
body .card:hover .primary{background:#393039;border-color:#b27291}
body .age{background:transparent;border-color:#625764;font-size:12px}
body .heart{background:#151518d9;border-color:#6d636f;min-height:36px}
body .card.character-card{height:auto;min-height:174px;padding:20px;background:#18181d;border-color:#ffffff12;border-radius:14px;gap:12px}
.character-card-identity{display:flex;align-items:center;gap:12px;min-width:0}.character-card-identity>div{min-width:0;flex:1}
.character-card-avatar{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#30262f;color:#e7cbdc;font-size:19px;font-weight:500;overflow:hidden;flex-shrink:0}
body .character-card-avatar>.character-portrait{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1}
body .character-card h2{font-size:17px;margin:0 0 3px;line-height:1.25;overflow-wrap:anywhere}
.character-card-role{display:block;color:#b6aab9;font-size:12px;text-transform:capitalize;line-height:1.4}
body .character-card .heart{width:32px;height:32px;min-height:32px;padding:6px;border:0;background:transparent;flex-shrink:0}
body .character-card .heart svg{width:19px;height:19px}
body .character-card p{font-size:13px;margin:0;white-space:normal;line-height:1.5}
body .character-card .primary{min-height:40px;padding:9px 12px;border-color:#ffffff20;background:#ffffff05;text-align:left;color:#f0e6ed;border-radius:8px;font-weight:500}
body .panel{background:#18181d!important;border-color:#ffffff14;border-radius:18px;padding:24px}
body .panel p,body .panel small,body .notice{font-size:14px!important;line-height:1.6}
body .tabs{background:#161618;border-color:#34343b;border-radius:8px;gap:4px;padding:5px}
body .tabs button{font-size:12px;border-radius:5px;color:#bdb5c3;background:transparent}
body .tabs .active{background:#383039;color:#f7e4ee;border-radius:5px}
body .stats button{background:transparent;border-color:#34343b;border-radius:8px;font-size:12px}
body .stats strong{color:#f3a4c6}
body .price{background:#18181c;border-color:#45454e;border-radius:8px}
body .price strong{color:#f3a4c6;font-size:18px}
body .avatar{background:#29242c;border-color:#806474;color:#f4e4eb}
body .balance-art{background:transparent;border-radius:0}
body .feature{background:transparent;border:0;border-bottom:1px solid #45454e;border-radius:0;padding:24px 0;box-shadow:none}
body .feature .glyph{background:transparent;border:0;color:#ccc3d2;border-radius:0;flex-shrink:0}
body .feature h3{font-size:22px;text-transform:none;letter-spacing:-.4px}
body .feature p{font-size:14px;line-height:1.5;color:#aaa6b0}
body .feature>span:last-child{display:none}
body .create-intro{padding:12px 0 24px}.create-intro p{font-size:16px;color:#c2bacb;max-width:520px;margin:15px auto 0}
body .messages-hub{padding:34px 28px}.page-eyebrow{display:none}
body .messages-heading h1{font-size:32px}.messages-heading p{font-size:14px;color:#aaa6b0}
body .conversation-panel{background:#18181c;border-color:#34343b;border-radius:10px}
body .conversation-search{background:#202024;border-color:#55515d;border-radius:8px}
body .conversation-search input{font-size:16px}
body .conversation-name{font-size:16px}.conversation-preview{font-size:14px!important;color:#aaa6b0!important}.conversation-name time{font-size:12px!important;color:#aaa6b0!important}
body .conversation-section-title>span,body .conversation-section-title small{font-size:12px;letter-spacing:0;color:#b3a7bb}
body .conversation-note{font-size:12px;color:#aaa6b0}
body .conversation-avatar,body .suggested-avatar{background:#302730;border-color:#625362;color:#f5dfea;border-radius:8px}
body .discover-panel p{font-size:14px;color:#aaa6b0}
body .suggested-person{background:transparent;border-color:#45454e;border-radius:8px;min-height:70px}
body .suggested-copy b{font-size:15px}.suggested-copy small{font-size:13px!important;color:#aaa6b0!important}
body .suggested-arrow,body .browse-link svg{display:none}.browse-link{font-size:14px!important}
body .conversation-empty h3{font-size:21px}.conversation-empty p{font-size:14px}
body .swap-page,body .live-studio,body .companion-detail{background:#111113}
body .swap-page-head small,body .swap-hero-label small,body .swap-reference-card small{letter-spacing:0;text-transform:none;color:#e0bbce;font-size:12px}
body .swap-page-head h1{font-size:25px;font-weight:600}
body .swap-page-head>button{background:#202024;border-color:#625764;min-width:44px;min-height:44px}
body .swap-hero{border-radius:12px;border-color:#45454e}
body .swap-section-title b,body .swap-section-title span{font-size:13px;color:#aaa6b0;letter-spacing:0}
body .swap-panel{background:#1c1c20;border-color:#45454e;border-radius:12px}
body .swap-source-tabs button,body .swap-quality button{border-radius:6px;border-color:#625764;background:#17171b;font-size:12px;letter-spacing:0;min-height:44px;color:#bbb0c3}
body .swap-source-tabs button[aria-pressed=true],body .swap-quality button[aria-pressed=true]{background:#f38ab6;color:#25121b;border-color:#f38ab6;box-shadow:none}
body .swap-upload b{font-size:15px}.swap-upload-icon{color:#f3a4c6;background:#18181c;border-color:#827187;border-radius:8px}
body .swap-reference-card{border-radius:9px;border-color:#625764}.swap-reference-card>div b{font-size:14px}
body .swap-role-carousel>button{background:transparent;border-color:#625764;border-radius:8px}
body .swap-role-carousel>button[aria-expanded=true]{background:#393039;border-color:#c48ba8}
body .swap-role-carousel b{font-size:14px}.swap-role-carousel small{font-size:12px!important;color:#aaa6b0}
body .swap-create-video{background:#62535d;border-radius:8px;color:#f0e8ee;letter-spacing:0;font-size:15px}
body .swap-service-note,body .swap-reference-details{font-size:13px;color:#aaa6b0;line-height:1.6}
body .swap-reference-details summary{min-height:44px;padding:10px 0}
body .swap-price-row span{color:#aaa6b0}
body .studio-header,body .studio-log,body .studio-composer,body .chat-head,body .log,body .composer{background:#151519;border-color:#ffffff14}
body .studio-name small{font-size:10px;color:#aaa6b0;letter-spacing:0}
body .studio-header button{min-width:40px;min-height:40px;background:#27242b;border-color:#625764}
body .studio-log>span{font-family:inherit;font-size:13px;letter-spacing:0;color:#e8d2df}.studio-log small{font-size:11px!important;color:#aaa6b0!important}
body .studio-tools button{background:#25232a;color:#e6dfe9;border-color:#625764;min-height:44px;font-size:12px}
body .studio-sheet{background:#18181c;backdrop-filter:none;padding:24px}
body .studio-quality button,body .studio-duration button{background:#242127;color:#c7bccf;border-color:#625764;border-radius:6px;font-size:13px;min-height:44px}
body .studio-quality button[aria-pressed=true],body .studio-duration button[aria-pressed=true]{background:#393039;border-color:#d39ab7;color:#fff}
body .studio-quality small{font-size:12px}.studio-sheet-note{font-size:14px!important}.studio-duration>span{font-size:12px!important}
body .studio-generation-notice{background:#242127;color:#c9becf;border-color:#625764;font-size:14px;line-height:1.6}
body .studio-empty h2{font-size:18px;text-transform:none}.studio-empty p{font-size:14px;color:#aaa6b0}
body .studio-bubble,body .bubble{background:#3b2b36;color:#f4e9ef;border-color:#806474;font-size:15px}
body .studio-composer input{background:#141418;font-size:16px;border-color:#625764}
body .studio-composer button{background:#302730;border-color:#806474;min-width:44px;min-height:44px}
body .studio-prompt-label,body .studio-associate-search{font-size:14px}.studio-prompt-label textarea{font-size:16px!important;line-height:1.6!important;background:#111113!important}
body .media-library-modal,body dialog,body .swap-unlock-modal{background:#1c1c20;border-color:#625764;border-radius:14px}
body dialog::backdrop{background:#000b;backdrop-filter:none}
body dialog h2{font-size:25px}body dialog p{font-size:15px;line-height:1.6}
body .media-library-toolbar button{min-height:44px;font-size:14px}
body .media-library-toolbar button[aria-pressed=true]{background:#393039;border-color:#c48ba8;color:#f4dce8}
body .media-source{color:#c1a7b9;font-size:12px;letter-spacing:0}
body .media-result-count{font-size:13px;color:#aaa6b0}
body .media-card-name{font-size:14px}.media-card-summary{font-size:13px!important;color:#aaa6b0!important}.media-card-file{font-size:12px!important;color:#aaa6b0!important}
body .media-pagination button{background:#25232a;border-color:#625764;min-height:44px}
body .media-library-heading>button{min-width:44px;min-height:44px}
body .media-caption{pointer-events:auto}.media-caption p{font-size:14px!important;line-height:1.5!important}
body .short-role,body .short-age{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:23px;padding:4px 8px;border:1px solid #ffffff38;border-radius:5px;background:#19191cd9;color:#f5f2f4;font-size:10px;font-weight:600;line-height:1.2;letter-spacing:.04em;vertical-align:middle}
body .media-caption .short-identity{align-items:center;gap:8px;margin-bottom:10px}
body .media-person-name{min-height:32px;max-width:100%;line-height:1.25;font-size:22px;font-weight:700;overflow-wrap:anywhere;text-align:left;letter-spacing:-.5px}
body .media-caption .short-tags{gap:5px;margin-bottom:10px}
body .short-tags span,body .media-caption .short-tags span{padding:4px 7px;border:1px solid #ffffff1c;border-radius:4px;background:#141416b8;color:#eee9ed;font-size:11px;font-weight:400;line-height:1.35}
body .short-status{font-size:11px;color:#d5c7dc}.short-status i{background:#aaa6b0}
body .short-disc,body .short-sound,body .short-follow,body .short-switcher{background:#151518d9;border-color:#8a788d}
body .swap-action .short-disc{background:#4c3543;border-color:#cb8baa;color:#f4e6ed}
body .short-actions .short-action{font-size:11px;color:#fff}.short-actions .short-disc{width:44px!important;height:44px!important}
body .local-short .feature-action{width:76px;gap:7px;background:transparent;font-size:11px;line-height:1.3;font-weight:600}
body .local-short .feature-action .short-disc{width:48px!important;height:48px!important;border:1px solid #ffffff5c;transition:background .15s,border-color .15s,transform .15s}
body .local-short .media-actions .swap-action .short-disc{background:#6351d5;color:#fff}
body .local-short .chat-action .short-disc{background:#c8327c;color:#fff}
body .local-short .feature-action .feature-icon{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body .local-short .chat-action .session-bubble{fill:#fff;stroke:#fff;stroke-width:1.2}
body .local-short .chat-action .session-play{fill:#c8327c;stroke:#c8327c;stroke-width:1;stroke-linejoin:round}
body .local-short .swap-action:hover .short-disc{background:#7765e7;border-color:#fff9;transform:translateY(-1px)}
body .local-short .chat-action:hover .short-disc{background:#db418e;border-color:#fff9;transform:translateY(-1px)}
body .local-short .feature-action:active{transform:none}
body .local-short .feature-action:active .short-disc{transform:scale(.94)}
body .local-short .feature-action:focus-visible{outline-offset:5px;border-radius:9px}
body .local-short:after{inset:42% 0 0;background:linear-gradient(transparent,rgba(8,8,11,.2) 35%,rgba(8,8,11,.82));pointer-events:none}
body .local-short .media-caption{left:22px;right:96px;bottom:56px}
body .local-short .media-caption p{color:#e8e1e7;font-size:13px!important;line-height:1.6!important}
body .local-short .short-disc,body .local-short .short-sound{border-color:#ffffff26}
body .local-short .short-top-controls{top:24px;right:18px}
body .local-short .media-actions{right:15px;gap:18px}
body .local-short .media-actions .short-action{background:transparent}
body .local-short [data-media-action="favorite"] .short-disc{background:transparent;border:0;color:#fff}
body .local-short [data-media-action="favorite"] .short-disc svg{width:30px;height:30px;fill:#fff;stroke:none;filter:drop-shadow(0 1px 2px #0005)}
body .local-short [data-media-action="favorite"].is-saved .short-disc svg{fill:#ff365e}
body .local-short .swap-orbit{transform-box:view-box;transform-origin:16px 16px;animation:muse-swap-arrive 2.4s cubic-bezier(.2,.7,.2,1) .15s both}
body .local-short .feature-icon-session{transform-origin:50% 70%;animation:muse-chat-arrive 2.4s ease-out .5s both}
body .local-short .session-play{transform-origin:16px 14.5px;animation:muse-play-arrive 2.4s ease-out .5s both}
body .local-short .swap-action:is(:hover,:focus-visible) .swap-orbit{animation:muse-swap-replay 1.1s cubic-bezier(.2,.7,.2,1) both}
body .local-short .chat-action:is(:hover,:focus-visible) .feature-icon-session{animation:muse-chat-replay .8s ease-out both}
body .local-short .chat-action:is(:hover,:focus-visible) .session-play{animation:muse-play-replay .8s ease-out both}
@keyframes muse-swap-arrive{0%{transform:rotate(-110deg);opacity:.5}65%,100%{transform:rotate(0);opacity:1}}
@keyframes muse-swap-replay{from{transform:rotate(-180deg)}to{transform:rotate(0)}}
@keyframes muse-chat-arrive{0%,100%{transform:translateY(0) scale(1)}20%{transform:translateY(-3px) scale(1.08)}35%{transform:translateY(1px) scale(.97)}50%{transform:translateY(-1px) scale(1.02)}65%{transform:translateY(0) scale(1)}}
@keyframes muse-chat-replay{0%,100%{transform:translateY(0) scale(1)}30%{transform:translateY(-3px) scale(1.08)}60%{transform:translateY(1px) scale(.98)}}
@keyframes muse-play-arrive{0%,100%{opacity:1}22%{opacity:.35}42%{opacity:1}}
@keyframes muse-play-replay{0%,100%{opacity:1}40%{opacity:.4}}
body .short-switcher button{min-height:40px}.short-sound{min-width:44px!important;min-height:44px!important}
body .media-profile-avatar{display:block;flex:none;width:45px;height:45px;aspect-ratio:1;border-radius:50%;padding:0}
body .media-profile-avatar>img{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;border-radius:50%}
body .media-profile-avatar>b{bottom:-8px;left:50%;transform:translateX(-50%)}
body .local-short .media-expand{display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;aspect-ratio:1;padding:0;border:1px solid #ffffff26;border-radius:50%;background:#151518d9;color:#c0b5ff}
body .local-short .media-expand svg{width:20px;height:20px;stroke-width:1.8}
body .local-short .short-switcher button:first-child svg{transform:none}
@media(min-width:900px){body .studio-top{display:none}}
body .companion-stats>div,body .companion-about{background:#1c1c20;border-color:#45454e;border-radius:10px}
body .companion-body h2{font-size:13px;letter-spacing:0;color:#bcb0c6}.companion-about p{font-size:15px!important;color:#d4cbdc!important}
body .companion-traits span{background:#2b252c;border-color:#625764;color:#dcc4d4;font-size:12px}
body .companion-identity>img{border-color:#c89aae}.companion-identity h1 span{background:#3b2b36;font-size:11px}
body .companion-detail-footer{background:#18181c;border-color:#45454e}.companion-play{background:#f38ab6!important;color:#25121b!important;border-radius:8px!important;box-shadow:none!important}
body .companion-feed-back{background:#27242b;border-color:#827187;min-height:46px}
body #toast{background:#eee8ef;color:#29222c;border:0;border-radius:8px;font-size:14px;max-width:min(440px,calc(100vw - 32px));line-height:1.5}
.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:#f4f2ef;color:#111113;padding:12px 18px;border-radius:6px}.skip-link:focus{top:12px}
@media(min-width:900px){body .phone{padding-left:112px}body .phone main{height:100%}body #nav{height:100%;width:112px;padding:92px 8px 20px}body #nav:before{left:19px;font-size:27px;letter-spacing:-1px;color:#f4f2ef}body #nav button{min-height:76px;border-radius:7px;gap:4px}body .top{padding:20px max(28px,calc((100% - 1124px)/2))}body .companion-detail{left:112px}}
@media(min-width:650px) and (max-width:899px){body .pad{padding:26px}.face-home-preview .face-home-select{aspect-ratio:3/4}.session-list{gap:0 18px}.catalogue-heading{display:block}.catalogue-heading p{margin-top:8px}}
@media(max-width:649px){body .top{padding:17px 18px}.studio-top-actions .pill{display:none}body .brand{font-size:29px}body .account-button{padding:8px 12px;font-size:13px}body .pad{padding:23px 18px 30px}.explore-heading{margin:3px 0 21px}.explore-heading h1{font-size:32px}.explore-heading p{font-size:14px;max-width:260px}.studio-tool-links{gap:2px 22px;margin-bottom:26px;padding-bottom:17px}.studio-tool-links button{font-size:13px;min-height:44px}body .face-home-carousel{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 12px;padding-top:19px}body .face-home-select{aspect-ratio:3/3.8;border-radius:9px}body .face-home-preview h2{font-size:24px}body .face-home-preview>p{font-size:14px;line-height:1.6}.face-scene-name{font-size:14px;padding-top:9px}body .face-home-play{bottom:47px;right:9px}.face-home-actions>button{padding:13px 16px;font-size:13px!important}.catalogue-heading{display:block}.catalogue-heading h2{font-size:23px}.catalogue-heading p{font-size:14px;margin-top:8px}.session-list{display:block}.session-item{width:100%;padding:15px 0}body .grid{grid-template-columns:1fr}.character-catalogue .grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .card{padding:13px;height:245px}.card h2{font-size:20px!important}.card p{font-size:12px!important}.card p .pink{font-size:11px!important}.card .primary{font-size:12px!important;padding:9px 6px!important}.portrait-letter{font-size:60px!important;right:13px!important}body .messages-hub{padding:25px 18px}body .messages-heading h1{font-size:29px}.messages-heading p{font-size:13px!important}body .conversation-panel{border:0;background:transparent}.conversation-section-title small{display:none}body .feature h3{font-size:21px}.feature p{font-size:14px!important}body .panel{padding:18px}.panel .avatar{width:48px;height:48px;flex-shrink:0}body .tabs button{font-size:11px;padding:9px 4px}body .swap-page{padding:22px 18px 30px}.swap-page-head h1{font-size:22px!important}.swap-hero{aspect-ratio:1.06!important}.swap-panel{padding:18px!important}.swap-section-title b,.swap-section-title span{font-size:12px!important}.swap-source-tabs button,.swap-quality button{font-size:11px!important;letter-spacing:0!important}.swap-service-note{font-size:13px!important}.media-library-modal{padding:19px 14px!important}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important}.media-library-toolbar{gap:12px!important}.studio-sheet{padding:20px 16px!important}.studio-header{gap:8px!important}.studio-name b{font-size:13px!important}.studio-camera{min-height:180px!important}.studio-empty h2{font-size:15px!important}.studio-empty p{font-size:13px!important}.studio-tools{gap:8px!important}.studio-tools button{font-size:11px!important;padding:8px!important}.studio-log small{display:none}body .swap-page-head>button{width:44px;height:44px}body .companion-body{padding:22px 18px}.companion-about{padding:18px!important}body #nav .nav-label{font-size:11px}.explore-sessions{padding-top:27px}body .face-home-preview{margin-bottom:34px}}
@media(max-width:359px){.character-catalogue .grid{grid-template-columns:1fr}body .face-home-carousel{gap:16px 10px}.studio-tool-links{gap:0 15px}.studio-top-actions .account-button{font-size:12px}.swap-source-tabs{gap:6px}.swap-source-tabs button{font-size:10px!important}}
@media(min-width:650px) and (max-width:899px){body .explore-content .face-home-carousel{grid-template-columns:none;grid-auto-columns:calc((100% - 24px)/2.25);gap:16px}body .explore-content .face-home-select{aspect-ratio:3/3.65}}
@media(max-width:649px){
 body .top.studio-top{padding:20px 20px 18px}
 body .pad.explore-content{padding:26px 20px 36px}
 body .scene-heading{align-items:flex-start;gap:10px;margin-bottom:20px}
 body .face-home-preview h2{font-size:25px;line-height:1.2;margin:0;letter-spacing:-.7px}
 .scene-heading p{font-size:13px;line-height:1.5;max-width:190px;margin-top:7px}
 body .scene-pagination{gap:6px;padding-top:1px}
 body .scene-pagination button{width:44px;height:44px;min-height:44px;font-size:22px}
 body .explore-content .face-home-carousel{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72%;gap:14px;overflow-x:auto;padding:2px 2px 12px;margin:0 -2px 14px;scrollbar-width:none}
 body .explore-content .face-home-select{aspect-ratio:3/3.65;border-radius:0}
 body .face-scene-caption{padding:13px 14px 15px}
 body .face-home-play{position:static;width:44px;height:44px;min-height:44px;padding:12px}
 body .face-home-actions{gap:9px}
 body .face-home-actions>button{padding:13px 14px;font-size:13px!important;min-height:48px}
 body .face-home-actions .primary{flex:1}
 body .face-home-preview{margin-bottom:34px}
 body .catalogue-heading h2{font-size:22px;letter-spacing:-.55px}
 body .catalogue-heading p{font-size:13px;line-height:1.5;margin-top:7px}
 body .session-item{padding:16px 0;gap:14px}
 body .session-item img{width:54px;height:68px;border-radius:9px}
 body .session-item small{font-size:12px}
 body .character-catalogue .grid{grid-template-columns:1fr;gap:10px}
 body .card.character-card{min-height:166px;padding:18px}
 body .card.character-card h2{font-size:17px!important}
 body .card.character-card p{font-size:13px!important}
 body .card.character-card .primary{padding:10px 12px!important;font-size:13px!important}
 body .local-short .media-caption{left:18px;right:91px}
 body .local-short .media-actions{right:10px;gap:17px}
 body .local-short .short-top-controls{top:20px;right:16px}
 body #nav .nav-label{font-size:10px;letter-spacing:.05px}
 body #nav button.active:after{bottom:5px}
}
@media(prefers-reduced-motion:reduce){body *,body *:before,body *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

body .swap-workbench{max-width:1050px;margin:0 auto;padding:30px 32px 48px;background:var(--canvas)}
body .swap-workbench .swap-page-head{margin-bottom:24px}
body .swap-mode-tabs{display:grid;grid-template-columns:1fr 1fr;padding:5px;margin-bottom:18px;border:1px solid #ffffff18;border-radius:12px;background:#151519;gap:5px}
body .swap-mode-tabs button{min-height:46px;border:0;border-radius:8px;background:transparent;color:#b1a9b6;font-size:14px;font-weight:600}
body .swap-mode-tabs button[aria-pressed=true]{background:#302a32;color:#f7e9f1}
body .swap-workspace{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
body .swap-workbench .swap-hero{height:470px;aspect-ratio:auto!important;margin:0;border:1px solid #ffffff18;border-radius:16px;background:#08080a}
body .swap-workbench .swap-hero video{width:100%;height:100%;object-fit:contain}
body .swap-workbench .swap-input-panel{display:flex;flex-direction:column;min-width:0;padding:18px;margin:0;background:#151519;border:1px solid #ffffff18;border-radius:16px}
body .swap-input-panel .swap-source-tabs{gap:6px;margin-top:16px;margin-bottom:12px}
body .swap-input-panel .swap-source-tabs button{font-size:11px;min-height:38px;border-color:#ffffff20}
body .swap-source-tabs[hidden]{display:none!important}
body .swap-input-panel .swap-source-content{flex:1;min-height:0;display:flex;width:100%}
body .swap-input-panel .swap-upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:305px;width:100%;padding:22px 18px;border:1px dashed #ffffff24;border-radius:10px;background:#0c0c0f;overflow:hidden;text-align:center}
body .swap-input-panel .swap-upload-icon{display:grid;place-items:center;width:64px;height:64px;min-width:0;flex-shrink:0;border:0;border-radius:0;background:transparent;color:#f0d0e0}
body .swap-input-panel .swap-upload-icon svg{width:34px;height:34px}
body .swap-input-panel .swap-upload b{position:relative;font-size:16px;font-weight:550;z-index:1}
body .swap-input-panel .swap-upload>small{position:relative;display:block;z-index:1;max-width:230px;font-size:12px;line-height:1.6;color:#aaa6b0;overflow-wrap:anywhere}
body .swap-input-panel .swap-upload:has(img){justify-content:flex-end;padding-bottom:18px;border-style:solid}
body .swap-input-panel .swap-upload:has(img) .swap-upload-icon{position:absolute;inset:0;width:100%;height:100%}
body .swap-input-panel .swap-upload-icon img{width:100%;height:100%;object-fit:contain;border-radius:0}
body .swap-input-panel .swap-upload:has(img)>b,body .swap-input-panel .swap-upload:has(img)>small{background:#0c0c0fe8;padding:7px 12px;border-radius:6px}
body .swap-input-panel .swap-upload-status{min-height:18px;margin-top:10px;font-size:12px;line-height:1.5}
body .swap-output-settings .swap-panel{padding:20px 22px;margin-bottom:14px;background:#151519;border-color:#ffffff18;border-radius:14px}
body .swap-output-settings .swap-quality{margin-top:14px}
body .swap-output-settings .swap-price-row{margin-top:16px;padding-top:14px;border-color:#ffffff16}
body .swap-output-settings .swap-price-row b{font-size:var(--type-section)}
body .swap-output-settings .swap-create-video{margin-top:0;min-height:52px}
body .swap-workbench .swap-reference-section{margin-top:30px;padding-top:24px;border-top:1px solid #ffffff12}
body .swap-workbench .swap-reference-card{border-radius:12px;border-color:#ffffff20}
@media(max-width:649px){body .swap-workbench{padding:22px 18px 36px}body .swap-workspace{gap:10px}body .swap-workbench .swap-hero{height:330px;border-radius:12px}body .swap-workbench .swap-input-panel{padding:10px!important;border-radius:12px}body .swap-input-panel .swap-source-tabs{grid-template-columns:1fr;gap:4px;margin-top:10px;margin-bottom:8px}body .swap-input-panel .swap-source-tabs button{min-height:29px;font-size:9px!important;padding:6px 3px}body .swap-input-panel .swap-section-title>span{display:none}body .swap-input-panel .swap-upload{padding:12px 8px;min-height:190px;gap:10px}body .swap-input-panel .swap-upload b{font-size:13px}body .swap-input-panel .swap-upload>small{font-size:10px;line-height:1.4}body .swap-input-panel .swap-upload-status{font-size:10px;min-height:15px;margin-top:7px}body .swap-mode-tabs button{font-size:12px;min-height:42px}body .swap-workbench .swap-page-head h1{font-size:var(--type-title)!important}body .swap-input-panel .swap-upload-icon{width:44px;height:44px}body .swap-input-panel .swap-upload-icon svg{width:28px;height:28px}}
@media(max-width:359px){body .swap-workspace{grid-template-columns:1fr}body .swap-workbench .swap-hero{height:360px}body .swap-input-panel .swap-source-tabs{grid-template-columns:1fr 1fr}body .swap-input-panel .swap-upload{min-height:190px}}
@media(min-width:360px) and (max-width:649px){body .swap-workbench .swap-input-panel .swap-source-tabs{grid-template-columns:1fr 1fr}body .swap-workbench .swap-input-panel .swap-source-tabs button{min-height:44px;padding:6px 4px;font-size:10.5px!important;line-height:1.25;white-space:normal}body .swap-workbench .swap-input-panel .swap-upload>small{font-size:11px}body .swap-workbench .swap-input-panel .swap-upload-status{font-size:11px}}

:root{--type-title:1.1875rem;--type-section:1rem;--type-card:.875rem;--type-value:1.375rem;--type-body:.8125rem;--type-secondary:.75rem;--type-control:.8125rem;--type-caption:.6875rem}
.mio-provider-panel label{display:flex;flex-direction:column;gap:8px;font-size:13px;min-width:0}.mio-provider-panel select{min-height:44px;width:100%;font-size:14px}.generation-result{margin:16px 0}.generation-result p{font-size:15px;line-height:1.6}.generation-result video,.generation-result img{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:12px;background:#08080a;margin:14px 0}.generation-result a{display:inline-block;color:#f3a0c2;padding:12px 0;font-size:14px}@media(max-width:649px){.mio-provider-panel label{grid-column:1/-1}}
.mio-provider-panel{display:grid;grid-template-columns:1fr auto;gap:16px;padding:22px;margin-bottom:16px;background:#18181d;border:1px solid #ffffff20;border-radius:14px}
.mio-provider-panel .mio-task-history{grid-column:1/-1}.mio-provider-panel .mio-task-history[hidden]{display:none}
.mio-provider-panel h3{font-size:var(--type-section)}.mio-provider-panel h3 span{font-size:13px;color:#f3a0c2;margin-left:8px}.mio-provider-panel p{font-size:var(--type-body);line-height:1.6;margin-top:7px}.mio-provider-panel .mio-provider-status,.mio-provider-panel details{grid-column:1/-1}.mio-provider-panel summary{font-size:var(--type-control);cursor:pointer;min-height:44px;padding:10px 0}.mio-provider-panel details p{overflow-wrap:anywhere}.mio-provider-panel button{font-size:14px}.swap-output-settings>.swap-panel[hidden],.swap-head-price[hidden]{display:none!important}
body .scene-heading p,body .catalogue-heading p{font-size:var(--type-body);line-height:1.55}
body .face-scene-caption small{font-size:var(--type-caption)}
body .face-scene-caption b{font-size:17px;line-height:1.3}
body .session-item small,body .session-open,body .character-card-role{font-size:var(--type-secondary)}
body .session-item b{font-size:17px}
body .catalogue-search>span,body .filters button{font-size:var(--type-control)}
body .card.character-card p{font-size:var(--type-control)!important;line-height:1.5}
body .card.character-card .primary{font-size:var(--type-control)!important}
body .local-short .media-caption p{font-size:var(--type-control)!important;line-height:1.6!important}
body .local-short .short-role,body .local-short .short-age{font-size:11px;min-height:24px}
body .local-short .short-tags span{font-size:var(--type-caption)}
body .local-short .media-actions .short-action{font-size:var(--type-caption);line-height:1.35}
body .swap-page .swap-section-title b,body .swap-page .swap-section-title span{font-size:var(--type-secondary)!important;line-height:1.4}
body .swap-workbench .swap-mode-tabs button{font-size:var(--type-body)}
body .swap-workbench .swap-source-tabs button,body .swap-workbench .swap-quality button{font-size:var(--type-control)}
body .swap-workbench .swap-upload>b{font-size:16px}
body .swap-workbench .swap-upload>small,body .swap-workbench .swap-upload-status{font-size:var(--type-secondary);line-height:1.5}
body .swap-page .swap-service-note,body .swap-page .swap-reference-details{font-size:var(--type-control);line-height:1.6}
body .swap-page:not(.swap-workbench) .swap-source-tabs button,body .swap-page:not(.swap-workbench) .swap-quality button{font-size:13px!important}
body .swap-workbench .swap-price-row b{font-size:var(--type-section)}
body .messages-heading p,body .discover-heading p,body .conversation-preview{font-size:var(--type-body)!important;line-height:1.55}
body .create-page .feature p{font-size:var(--type-body);line-height:1.6}
body .tabs button{font-size:13px}
@media(max-width:649px){
 body #nav .nav-label{font-size:12px;line-height:1.2}
 body .scene-heading p{font-size:14px;max-width:190px}
 body .catalogue-heading p{font-size:14px}
 body .face-home-actions>button{font-size:14px!important}
 body .swap-workbench .swap-input-panel .swap-source-tabs button{font-size:11.5px!important;line-height:1.25}
 body .swap-workbench .swap-input-panel .swap-upload>b{font-size:14px}
 body .swap-workbench .swap-input-panel .swap-upload>small,body .swap-workbench .swap-input-panel .swap-upload-status{font-size:12px;line-height:1.45}
 body .swap-workbench .swap-mode-tabs button{font-size:14px}
 body .swap-page .swap-quality button{font-size:12px!important}
 body .swap-page .swap-section-title b,body .swap-page .swap-section-title span{font-size:12px!important}
 body .swap-workbench .swap-page-head h1{font-size:var(--type-title)!important;line-height:1.25}
}
