*{box-sizing:border-box} :root{--bg:#10111b;--surface:#1c1d2b;--text:#f6f5fa;--muted:#a9a6bc;--purple:#7b35ff;--selected:#a57aff;--line:#343443;--danger:#f2a29d}body{margin:0;background:#090a10;color:var(--text);font:14px Arial,Helvetica,sans-serif;display:flex;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer;border:0;color:inherit;background:none}button:focus-visible,a:focus-visible{outline:2px solid #c7aaff;outline-offset:3px}button:disabled{cursor:default;opacity:.42}#library{width:290px;padding:38px 24px;border-right:1px solid #22232e;flex-shrink:0} .brand{font-size:30px;font-weight:700;letter-spacing:-1px}.brand span{display:block;font-size:10px;color:#b8a9d7;letter-spacing:2px;margin-top:12px;font-weight:500}#library p{font-size:11px;line-height:1.7;color:#88879a;margin:20px 0}#states{display:grid;gap:3px}#states a{display:flex;gap:13px;color:#9b99ad;text-decoration:none;font-size:12px;padding:10px 12px;border-radius:7px}#states a small{color:#66647c}#states a.active{background:#20172f;color:#e6d9ff}#states a.active small{color:#aa83ef}.handoff{display:block;color:#a08dbf;font-size:12px;margin:28px 12px;text-decoration:none}main{flex:1;display:flex;justify-content:center;padding:32px}.phone{width:390px;height:844px;position:relative;flex-shrink:0;overflow:hidden;border-radius:26px;background:#131a24 url('assets/live-room.png') 0 0/390px 844px no-repeat;box-shadow:0 20px 80px #0007}.sheet{position:absolute;top:140px;bottom:0;width:100%;border-radius:24px 24px 0 0;background:var(--bg);padding:0 20px 20px;display:flex;flex-direction:column;overflow:hidden}.handle{height:4px;width:36px;flex-shrink:0;background:#4a4959;border-radius:8px;margin:10px auto 17px}.head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px}.head h1{font-size:29px;line-height:1.1;margin:0;letter-spacing:-1px}.head .title{display:flex;align-items:center;gap:10px}.back{font-size:26px;padding:0 2px;line-height:1}.head-actions{display:flex;gap:15px}.head-actions button{font-size:11px;color:#b8b5ca;padding:5px 0}.sub{font-size:12px;color:var(--muted);margin:8px 0 0;line-height:1.5}.tabs{display:flex;gap:28px;margin-top:23px;flex-shrink:0}.tabs button{font-size:14px;color:#9996ad;padding:0 0 10px;position:relative}.tabs button.active{color:#fff;font-weight:600}.tabs button.active:after{content:'';position:absolute;bottom:0;height:3px;left:0;right:0;border-radius:3px;background:var(--purple)}.content{flex:1;min-height:0;display:flex;flex-direction:column}.primary,.secondary{width:100%;height:46px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;gap:10px;flex-shrink:0}.primary{background:var(--purple);color:white}.secondary{background:#242331;color:#e7e3f0}.text-button{color:#c4b2e5;padding:13px 10px;font-size:12px}.bottom{margin-top:auto;display:grid;gap:8px;padding-top:15px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#a38abf;text-transform:uppercase}.caption{font-size:11px;color:var(--muted);line-height:1.55}.hero{position:relative;flex-shrink:0;margin:19px -8px 0;height:263px;overflow:hidden;border-radius:13px;background:#171a24}.hero .vehicle{position:absolute;left:0;right:0;top:40px;width:100%;height:221px}.vehicle svg,.thumb svg,.theme-cover svg{display:block;width:100%;height:100%}.hero-top{position:absolute;z-index:2;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center}.preset-name{font-size:11px;color:#e5ddf6}.change{font-size:10px;background:#252533db;border-radius:6px;padding:7px 9px;color:#d8d2e3}.modules{display:flex;justify-content:space-between;gap:8px;margin-top:18px}.modules button{padding:0 0 9px;font-size:11px;position:relative;color:#9996ac}.modules button.active{color:#fff;font-weight:600}.modules button.active:after{content:'';height:3px;border-radius:4px;position:absolute;left:0;right:0;bottom:0;background:var(--purple)}.options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:11px}.option{position:relative;background:#1b1c28;border-radius:9px;min-width:0;padding:6px 3px 9px;border:1.5px solid transparent}.option.selected{border-color:var(--selected);background:#252033}.thumb{height:57px;width:100%;overflow:hidden;border-radius:5px}.option span{display:block;font-size:9px;white-space:normal;line-height:1.3;margin-top:7px;color:#c6c2d2;min-height:12px}.check{position:absolute;right:5px;top:5px;background:var(--purple);border-radius:50%;width:15px;height:15px;font-size:10px;display:grid;place-items:center}.field{margin-top:17px}.field label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.field textarea,.field input{width:100%;background:#1a1b27;border:1px solid #3c394e;border-radius:9px;color:#e5dfef;padding:11px 12px;resize:none;font-size:11px;line-height:1.55;outline:none}.field textarea:focus,.field input:focus{border-color:#9a6bfa}.field input{font-size:14px}.color-chip{width:39px;height:39px;border-radius:50%;margin:8px auto;background:var(--paint);border:5px solid #ffffff13}.preset-controls{position:absolute;bottom:12px;left:12px;right:12px;display:flex;justify-content:space-between;align-items:center;z-index:4}.preset-controls button{height:27px;width:27px;border-radius:50%;background:#302d40;color:white;font-size:16px}.dots{display:flex;gap:5px}.dots i{width:5px;height:5px;background:#6b667b;border-radius:50%}.dots i.on{background:#ab7dff;width:16px;border-radius:6px}.hero.preset-mode .vehicle{height:200px;top:30px}.inline-note{font-size:10px;color:#b6a1d4;margin:10px 0 0;display:flex;justify-content:space-between}.inline-note button{font-size:10px;text-decoration:underline;color:#c4a6ff}.theme-carousel{display:flex;gap:10px;align-items:center;margin:32px -66px 0}.theme-card{width:218px;flex-shrink:0;border-radius:14px;overflow:hidden;background:#191a25;position:relative}.theme-card.small{width:106px;opacity:.55}.theme-card.current{outline:1px solid #9b6cf1}.theme-cover{height:245px;overflow:hidden}.theme-card.small .theme-cover{height:208px}.theme-title{padding:16px 8px;font-size:17px;letter-spacing:-.4px;text-align:center;font-weight:600}.theme-card.small .theme-title{font-size:12px;padding:11px 0}.coming{position:absolute;left:0;right:0;top:175px;text-align:center;font-size:9px;background:#14141abb;padding:9px}.theme-copy{text-align:center;margin:25px 10px;font-size:12px;color:#a9a6b8;line-height:1.6}.section-title{font-size:22px;letter-spacing:-.5px;margin:0 0 9px;line-height:1.25}.status-header{margin-top:24px}.status-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:#c2a5ff;background:#2b1d43;font-size:21px;margin-bottom:17px}.status-icon.fail{color:#ffc1bb;background:#3a252d}.poster{height:225px;position:relative;overflow:hidden;border-radius:12px;background:#171923;margin-top:22px}.poster .vehicle{height:100%;width:100%}.play-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#11111a38}.play{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;padding-left:3px;background:#16141ee8;font-size:17px;color:#d6c6f2}.media-note{position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:9px;color:#c7c0d2}.progress{height:4px;background:#31303e;border-radius:6px;margin-top:24px;overflow:hidden}.progress:before{content:'';display:block;width:38%;height:100%;background:#9e71ff;border-radius:6px}.summary{margin-top:17px;display:flex;gap:7px;flex-wrap:wrap}.summary span{color:#aaa4ba;background:#1e1e2b;padding:6px 8px;border-radius:5px;font-size:10px}.notice{background:#252031;border-radius:10px;padding:12px 13px;font-size:11px;color:#d3c4e8;line-height:1.5;margin-top:14px}.notice.error{background:#302329;color:#efc3c1}.preview-title{display:flex;align-items:center;justify-content:space-between;margin-top:17px}.preview-title h2{font-size:20px;margin:0;letter-spacing:-.4px}.preview-title .tag{font-size:9px;color:#a99cbe}.playback-track{height:3px;background:#34323f;margin-top:13px;border-radius:5px}.playback-track:before{content:'';display:block;background:#a87aff;height:100%;width:0}.media-caption{display:flex;justify-content:space-between;font-size:9px;color:#8e869e;margin-top:8px}.creation-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.creation-card{position:relative;text-align:left;background:#1b1c27;border:1.5px solid transparent;border-radius:12px;padding:8px 8px 12px}.creation-card.selected{border-color:var(--selected);background:#221d30}.creation-card .vehicle{height:108px;width:100%;overflow:hidden;border-radius:8px}.creation-card h3{margin:10px 0 4px;font-size:13px}.creation-card p{font-size:9px;color:#9390a5;margin:0}.preview-link{position:absolute;right:13px;top:87px;width:25px;height:25px;display:grid;place-items:center;background:#393044;border-radius:50%;font-size:10px}.create-card{width:100%;height:182px;border:1px dashed #454054;border-radius:12px;text-align:center;display:grid;place-content:center;gap:10px;color:#bfb4d2;font-size:11px}.create-card b{font-size:23px;font-weight:400}.empty{margin:auto 18px;text-align:center}.empty .empty-symbol{font-size:36px;color:#ae87eb;margin-bottom:22px}.empty h2{font-size:22px;letter-spacing:-.5px;margin:0 0 12px}.empty p{font-size:12px;color:#a59eb2;line-height:1.7}.selected-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#c5bbd5;margin-top:auto;padding-top:17px}.modal-shade{position:absolute;inset:0;z-index:10;background:#06070bb5;display:flex;align-items:center;padding:24px}.modal{width:100%;background:#20202e;border-radius:17px;padding:24px}.modal h2{font-size:23px;letter-spacing:-.6px;margin:0 0 11px}.modal p{font-size:12px;line-height:1.7;color:#b7afc6;margin:0 0 22px}.modal .primary{margin-top:9px}.modal .text-button{width:100%}.list{margin-top:23px;display:grid;gap:0}.task{display:flex;gap:13px;align-items:center;padding:17px 0;border-bottom:1px solid #242431}.task:last-child{border:0}.task .mini{width:65px;height:53px;overflow:hidden;flex-shrink:0;border-radius:6px}.task .mini svg{width:100%;height:100%}.task h3{font-size:13px;margin:0 0 6px}.task p{font-size:10px;color:#9990a9;margin:0}.task button{margin-left:auto;font-size:10px;color:#bd99fa;padding:8px}.rules{margin-top:24px;display:grid;gap:23px}.rule{display:flex;gap:17px}.rule .n{font-size:10px;color:#a681dd;padding-top:4px}.rule h3{font-size:14px;margin:0 0 7px}.rule p{font-size:11px;line-height:1.6;color:#a8a0b8;margin:0}.rule-note{font-size:10px;line-height:1.6;color:#978ca9;margin-top:26px}.live-toast{position:absolute;top:303px;left:20px;right:20px;border-radius:14px;background:#181422f2;padding:17px;display:flex;align-items:center;gap:12px;box-shadow:0 8px 35px #0005}.live-toast .mini{width:55px;height:48px;overflow:hidden;border-radius:6px}.live-toast .mini svg{width:100%;height:100%}.live-toast h2{font-size:15px;margin:0 0 5px}.live-toast p{font-size:10px;color:#b5a9c8;margin:0}.live-toast button{margin-left:auto;background:var(--purple);border-radius:7px;padding:10px 12px;font-size:11px}.live-gift{position:absolute;left:10px;right:10px;top:304px;height:270px}.live-gift .vehicle{width:100%;height:230px}.attribution{display:flex;justify-content:center;align-items:center;gap:8px;font-size:10px;margin-top:-10px}.attribution b{color:#c8aff9}.gift-slot{text-align:center;color:#ddd3e8;font-size:10px;margin-top:12px;background:#17121ccc;border-radius:5px;width:max-content;padding:6px 10px;margin-left:auto;margin-right:auto}.phone::after{content:'';position:absolute;bottom:7px;left:50%;transform:translateX(-50%);width:110px;height:4px;border-radius:8px;background:#f6f3fa;z-index:20}.capture body{display:block;background:none}.capture #library{display:none}.capture main{padding:0;display:block}.capture .phone{border-radius:0;box-shadow:none}.hero-svg{isolation:isolate}.asset-mask{fill:#141824}.compact .hero{height:251px}.compact .hero .vehicle{height:211px}.toast-close{position:absolute;top:8px;right:8px;color:#8c809d;font-size:14px}@media(max-width:740px){#library{display:none}main{padding:0;align-items:flex-start}.phone{border-radius:0}body{background:#10111b}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}
.vehicle img{display:block;width:100%;height:100%;object-fit:contain}.theme-cover>.vehicle{height:100%;width:100%}
.hero.preset-mode{height:235px}.hero.preset-mode .vehicle{height:190px;top:30px}.theme-card .theme-cover svg{overflow:hidden}.theme-card .theme-cover svg{background:#11131c}.live-toast .mini .vehicle{width:55px;height:48px}.task .mini .vehicle{width:65px;height:53px}.theme-cover .vehicle img{object-fit:contain}.theme-card{border-radius:14px;isolation:isolate}.phone[data-state="08"]::after,.phone[data-state="15"]::after{display:none}
.gift-media{display:block;width:100%;height:230px;object-fit:contain;background:transparent}.live-gift .attribution{background:#17131fc9;width:max-content;max-width:95%;padding:8px 12px;border-radius:7px;margin:0 auto}

/* Targeted v2 corrections: source swatches, complete options, filled previews. */
.vehicle{position:relative;isolation:isolate;overflow:hidden;background:#0b0e15}
.vehicle:before{content:'';position:absolute;inset:-24px;background-image:var(--scene);background-size:cover;background-position:center;filter:blur(22px) brightness(.42);z-index:-1;transform:scale(1.12)}
.vehicle img{position:relative;z-index:1;object-fit:contain;mask-image:linear-gradient(to bottom,transparent,black 10%,black 90%,transparent)}
.hero>.vehicle,.hero.preset-mode>.vehicle{inset:0;top:0;height:100%;width:100%}
.hero>.vehicle img,.hero.preset-mode>.vehicle img{object-fit:cover;mask-image:none}
.hero-top{z-index:3}.hero-top .preset-name{padding:7px 9px;background:#181825c7;border-radius:6px}.hero{background:#0b0e15}
.poster>.vehicle img{object-fit:cover;mask-image:none}.creation-card .vehicle img{object-fit:cover;mask-image:none}
.theme-card.current .theme-cover{height:297px}.theme-card.current{height:297px}.theme-card.current .theme-title{position:absolute;bottom:0;left:0;right:0;z-index:4;padding:28px 8px 17px;background:linear-gradient(transparent,#0d0e17e8)}
.theme-cover>.vehicle{height:100%;width:100%}.theme-cover>.vehicle img{transform:scale(1.12)}
.theme-card.small{opacity:1}.theme-card.small .theme-cover{position:relative}.theme-card.small .theme-cover svg{filter:blur(3.5px) brightness(.6);transform:scale(1.08)}
.theme-card.small .theme-cover:after{content:'';position:absolute;inset:0;background:#b3adcf0b;backdrop-filter:blur(1px);pointer-events:none}.theme-card.small .coming{background:#171521a6;backdrop-filter:blur(8px);z-index:3}
.thumb{height:57px;padding:2px;overflow:visible;display:flex;align-items:center;justify-content:center}.thumb svg{width:100%;height:100%;overflow:visible}.option{padding:6px 3px 9px}.option span{font-size:8.5px;min-height:23px;display:flex;align-items:center;justify-content:center;margin-top:5px}.check{z-index:3}
.options{gap:8px}.field{margin-top:13px}.hero.preset-mode{height:225px}.preset-controls{z-index:5}
.thumb{overflow:hidden}.thumb svg{overflow:hidden;pointer-events:none}.thumb svg image{pointer-events:none}.theme-cover>.vehicle:before{background-size:100% 1800%;background-position:center top;filter:blur(5px) brightness(.9);transform:none;inset:0}.theme-cover>.vehicle img{position:absolute;width:100%;height:auto;left:0;top:50%;object-fit:contain;transform:translateY(-50%) scale(1.12);mask-image:linear-gradient(to bottom,transparent,black 10%,black 89%,transparent)}
.option.source-selected .check{display:none}.thumb{position:relative}.option.source-selected:not(.selected) .thumb:after{content:"";position:absolute;right:0;top:0;width:14px;height:14px;background:#191a27;border-radius:0 0 0 4px}
.thumb svg{mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}

/* V3: fully isolated option assets, one card surface only. */
.thumb{background:transparent;padding:3px;isolation:isolate}
.thumb svg{mask-image:none!important;filter:none;overflow:hidden;pointer-events:none}
.option.source-selected:not(.selected) .thumb:after{display:none}
.option .check,.option.source-selected .check{display:grid;z-index:5}
.live-toast .mini,.task .mini{aspect-ratio:1.15;overflow:hidden;background:#0c1018}
.live-toast .mini .vehicle,.task .mini .vehicle{width:100%;height:100%}
.live-toast .mini .vehicle img,.task .mini .vehicle img{width:100%;height:100%;object-fit:cover!important;mask-image:none!important;transform:none}
.live-toast .mini .vehicle:before,.task .mini .vehicle:before{display:none}

/* V4: shared alignment rails, no content or asset changes. */
.theme-carousel{width:390px;margin:48px -20px 0;gap:12px;justify-content:center;align-items:center;flex-shrink:0}
.theme-card{border-radius:14px;flex-shrink:0;overflow:hidden}
.theme-card.current{outline:none!important;border:0;position:relative;border-radius:14px;clip-path:inset(0 round 14px)}
.theme-card.current:after{content:'';position:absolute;inset:0;border:1.5px solid #a57aff;border-radius:inherit;pointer-events:none;z-index:8}
.theme-card.small .theme-title,.theme-card.small .coming{display:none}
.modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:12px;justify-content:normal;align-items:stretch}
.modules button{width:100%;height:30px;min-width:0;display:flex;align-items:flex-start;justify-content:center;text-align:center;padding:0 0 9px;line-height:16px;white-space:nowrap}
.modules button.active:after{left:0;right:0;bottom:0}
.hero-top{height:30px;align-items:center}
.hero-top .preset-name,.hero-top .change{height:30px;min-height:30px;display:flex;align-items:center;justify-content:center;line-height:14px;font-size:10px;padding:0 10px;border-radius:7px;box-sizing:border-box;margin:0}
.modules button{height:22px;padding:0 0 6px;line-height:16px}

/* V5: remove preset hint row; retain one editor preview and spacing system. */
.hero.preset-mode{height:263px}

/* V6: remove secondary carousel chrome; center the theme caption in its actual free space. */
.phone[data-state="01"] .theme-copy{flex:1;min-height:0;margin:0 10px;display:flex;align-items:center;justify-content:center;text-align:center}
.phone[data-state="01"] .theme-copy span{display:block;text-align:center}
.phone[data-state="01"] .bottom{margin-top:0;padding-top:0}

/* V8: lower only Details; keep the supplied header geometry unchanged. */
.head-actions{transform:translateY(6px)}
.base-option-art{display:block;width:100%;height:100%;object-fit:contain}
