:root{color-scheme:dark;--bg:#08090b;--panel:#101216;--line:#2c2c32;--sub:#9999a4;--gold:#edc778;--gold-light:#ffe8b0;--text:#f1f0ef;--soft:#191b20;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}button,select,input{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.44}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold-light);outline-offset:3px}.topbar{height:73px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 clamp(16px,2.3vw,40px);background:linear-gradient(90deg,#0d0f13,#101115 46%,#0d0e11);border-bottom:1px solid #292b2f}.brandlock{display:flex;align-items:center;gap:12px;min-width:250px}.brandlock .diamond-mark{font-family:Georgia,serif;font-size:52px;line-height:.8;color:var(--gold);filter:drop-shadow(0 0 8px #e6bc6539)}.brandlock strong{display:block;font-weight:950;font-style:italic;letter-spacing:-.05em;font-size:21px;white-space:nowrap}.brandlock em{font-style:italic;color:var(--gold)}.brandlock small{font-size:9px;font-weight:800;letter-spacing:.33em;color:#b2a996}.top-center{color:#a4a4ae;font-size:10px;letter-spacing:.15em;font-weight:700;display:flex;align-items:center;gap:11px}.top-center b{font-weight:700;color:var(--gold)}.top-divider{height:15px;width:1px;background:#474950}.live-dot,.status-mark,.stage-indicator-dot{width:6px;height:6px;border-radius:100%;display:inline-block;background:var(--gold);box-shadow:0 0 10px #efbd6888}.top-actions{display:flex;align-items:center;gap:17px}.top-counter{font-size:10px;color:#bdbbc0;font-weight:800;letter-spacing:.08em}.top-icon{height:35px;width:35px;border:1px solid #37383d;border-radius:50%;background:#191b20;font-weight:800}.workspace{display:grid;grid-template-columns:96px minmax(260px,315px) minmax(360px,1fr) minmax(265px,310px);height:calc(100dvh - 73px);min-height:555px;overflow:hidden}.rail{background:#0c0e12;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:5px;padding:22px 10px}.rail-label{font-size:9px;font-weight:800;letter-spacing:.24em;color:#767a84;text-align:center;margin:0 0 19px}.rail-btn{border:1px solid transparent;background:transparent;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:75px;width:100%;padding:6px 3px;color:#999da6;transition:.16s}.rail-btn svg,.searchbar svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.rail-btn span{font-size:10px;font-weight:700}.rail-btn:hover{color:var(--gold-light);background:#181b21}.rail-btn.active,.rail-btn[aria-pressed=true]{border:1px solid #7d633e;background:linear-gradient(140deg,#372c20,#211e1a 85%);color:var(--gold-light)}.rail-rule{height:1px;width:80%;background:#292b32;margin:10px auto}.rail-spacer{flex:1}.rail-bottom{color:#746d60;font-size:12px;letter-spacing:.16em;text-align:center;font-weight:900;line-height:1.8}.catalog{background:linear-gradient(160deg,#14161b,#101216 58%);display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line);padding:26px 20px 0}.panel-eyebrow{color:#a99d85;font-size:9px;font-weight:900;letter-spacing:.16em}.catalog-head{display:flex;align-items:center;gap:11px;margin-top:10px}.catalog-head h1{font-size:clamp(27px,2.2vw,33px);margin:0;font-weight:800;letter-spacing:-.045em}.count-pill{background:#3a2c19;border:1px solid #5c4727;color:var(--gold-light);border-radius:6px;padding:3px 6px;font-size:10px;font-weight:800}.panel-desc{color:#95969f;font-size:12px;line-height:1.5;margin:8px 0 18px;min-height:34px}.searchbar{height:43px;background:#1c1e24;border:1px solid #35363d;border-radius:9px;display:flex;gap:11px;padding:0 11px;align-items:center;margin-bottom:16px}.searchbar svg{height:17px;width:17px;color:#8f9197;flex:none}.searchbar input{background:none;border:none;outline:none;width:100%;min-width:0;font-size:12px}.searchbar input::placeholder{color:#797b83}.searchbar kbd{font-size:11px;color:#8b8d93;border:1px solid #42444a;border-radius:3px;padding:0 5px}.catalog-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#505052 #151619;padding:0 1px 24px}.models-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.model-card{position:relative;min-width:0;padding:0;overflow:hidden;aspect-ratio:.89;background:linear-gradient(130deg,#282a31,#17191e);border:1px solid #373941;border-radius:12px;text-align:left;display:flex;flex-direction:column;transition:transform .15s,border-color .15s,box-shadow .15s}.model-card:hover{transform:translateY(-1px);border-color:#a28755}.model-card.active,.model-card[aria-pressed=true]{border-color:var(--gold);box-shadow:inset 0 0 0 1px #c6a45d,0 0 20px #e4b9681e}.model-card img{width:100%;min-height:0;flex:1;object-fit:cover;object-position:center 36%;background:radial-gradient(ellipse at 50% 25%,#464850,#1a1b20 76%);filter:saturate(.95) contrast(1.08)}.model-card .card-body{height:52px;flex:none;display:flex;justify-content:center;flex-direction:column;gap:2px;padding:7px 10px;background:linear-gradient(90deg,#25262b,#17191e)}.model-card strong{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-card small{font-size:8px;font-weight:800;letter-spacing:.085em;color:#a3a4ab;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.model-card.active small{color:var(--gold)}.card-check{position:absolute;right:8px;top:8px;background:#e9bd6b;color:#191512;font-size:11px;font-weight:900;border-radius:50%;width:20px;height:20px;display:none;align-items:center;justify-content:center}.model-card.active .card-check{display:flex}.catalog-foot{height:48px;border-top:1px solid #303138;display:flex;align-items:center;justify-content:space-between;flex:none;margin:0 -20px;padding:0 16px}.foot-status,#foot-count{font-size:8px;color:#8e9098;font-weight:800;letter-spacing:.09em}.foot-status{display:flex;align-items:center;gap:7px}.stage{min-width:0;position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 32%,#363333,#15181b 46%,#0d0f13 100%);overflow:hidden;touch-action:pan-y}.stage:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 71px,#ffffff04 72px 73px),linear-gradient(transparent 65%,#0007);pointer-events:none;z-index:1}.stage canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}.stage-fallback{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#aeb0b2;font-size:13px;text-align:center;z-index:0}.stage-top,.stage-heading,.stage-bottom,.stage-helper,.stage-watermark{position:absolute;z-index:2;pointer-events:none}.stage-top{top:24px;left:25px;right:25px;display:flex;justify-content:space-between;align-items:center}.stage-chip{font-size:9px;letter-spacing:.17em;font-weight:800;border:1px solid #6a604e99;border-radius:5px;color:#f1c67d;background:#25211ddd;padding:9px 11px}.stage-id{color:#99979b;font-size:10px;letter-spacing:.12em;font-weight:800}.stage-heading{left:30px;top:85px}.stage-kicker{font-size:10px;letter-spacing:.18em;font-weight:900;color:var(--gold)}.stage-heading h2{font-size:clamp(40px,5vw,76px);font-weight:900;letter-spacing:-.075em;line-height:1;margin:7px 0 6px;text-shadow:0 7px 30px #000d;max-width:70%;overflow-wrap:anywhere}.stage-heading p{font-size:10px;color:#c6c5c3;font-weight:700;letter-spacing:.08em;text-shadow:0 2px 12px #000b}.stage-watermark{right:24px;bottom:100px;text-align:right;color:#fff;opacity:.075;font-size:clamp(32px,4.4vw,82px);font-weight:950;letter-spacing:-.05em;line-height:.8}.stage-helper{bottom:90px;left:30px;color:#c1bbad;font-size:10px;letter-spacing:.055em}.stage-bottom{left:0;right:0;bottom:0;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:12px 24px;background:linear-gradient(0deg,#0b0d10df,transparent)}.view-controls{display:flex;gap:5px;pointer-events:auto}.view-controls button{background:#181a1ece;border:1px solid #4b4a4b;border-radius:7px;min-width:39px;height:39px;font-weight:900;font-size:19px}.view-controls button:hover{border-color:var(--gold);color:var(--gold)}.view-controls button.control-text{font-size:9px;letter-spacing:.09em;padding:0 11px}.stage-indicator{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:9px;letter-spacing:.1em;color:#aeadad;font-weight:800}.inspector{background:#121419;border-left:1px solid #35363a;padding:26px 20px 20px;min-height:0;overflow:auto;display:flex;flex-direction:column}.inspector-header{display:flex;align-items:center;justify-content:space-between}.version-tag{font-size:10px;font-weight:900;letter-spacing:.08em;padding:3px 7px;border-radius:4px;color:#d5bd8c;background:#2b261f}.inspector-title h2{font-size:29px;letter-spacing:-.06em;margin:24px 0 5px}.inspector-title p{font-size:9px;color:#a9a9b0;letter-spacing:.13em;margin:0;font-weight:800}.inspector-preview{display:flex;align-items:center;gap:12px;padding:13px;background:linear-gradient(110deg,#24262c,#1a1c21);border:1px solid #353840;border-radius:12px;margin-top:22px}.inspector-preview img{height:78px;width:68px;object-fit:cover;background:#33363b;border-radius:6px}.inspector-preview div{display:flex;flex-direction:column;gap:10px;min-width:0}.inspector-preview b{font-size:10px;color:var(--gold-light);overflow-wrap:anywhere}.inspector-preview span{font-size:10px;color:#aaaab3}.detail-divider{height:1px;background:#34363c;margin:20px 0}.detail-meta{display:flex;flex-direction:column;gap:18px}.detail-meta div{display:flex;flex-direction:column;gap:4px}.detail-meta small,.mini-label{font-size:10px;letter-spacing:.11em;color:#8c8c96;font-weight:900}.detail-meta b{font-size:14px;font-weight:650;color:#eee}.mini-label{display:block;margin-bottom:10px}#clips{background:#1d2026;border:1px solid #4a4b4e;border-radius:7px;padding:12px 10px;font-size:12px;width:100%;max-width:100%;text-overflow:ellipsis}.inspector-note{display:flex;flex-direction:column;gap:8px;padding:15px;background:#232017;border:1px solid #55442a;border-radius:9px}.inspector-note strong{font-size:10px;letter-spacing:.08em;color:#f4d8a0}.inspector-note span{font-size:11px;color:#c2bdb4;line-height:1.6}.inspector-spacer{flex:1;min-height:14px}.gold-btn,.secondary-btn{width:100%;min-height:46px;border-radius:8px;font-size:11px;font-weight:900;letter-spacing:.09em}.gold-btn{background:linear-gradient(110deg,#ffe3aa,#c99a4b);border:none;color:#19140a;display:flex;align-items:center;justify-content:space-around}.gold-btn:hover{filter:brightness(1.1)}.gold-btn span{font-size:16px}.secondary-btn{background:#1a1d23;border:1px solid #45474c;margin-top:9px}.secondary-btn:hover{border-color:var(--gold);color:var(--gold)}.toast{color:#e9c986;font-size:11px;line-height:1.5;margin:11px 0;min-height:0}.inspector-disclaimer{font-size:10px;color:#737783;line-height:1.5;margin-top:13px}.option-group{margin:0 0 21px}.option-group-title{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:900;color:#f0e9dd;letter-spacing:.09em;margin-bottom:11px}.option-group-title small{color:#93929b;font-weight:600;font-size:9px}.options-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.option-btn{border:1px solid #3d3d45;background:linear-gradient(150deg,#27282d,#17191e);border-radius:8px;min-height:67px;text-align:left;padding:10px;display:flex;gap:8px;align-items:center;font-size:11px;font-weight:750}.option-btn:hover,.option-btn[aria-pressed=true]{border-color:#e9c27b;background:#393024}.option-swatch{border:1px solid #8888;width:28px;height:28px;border-radius:7px;flex:none}.option-info{font-size:12px;font-weight:800;line-height:1.3}.option-check{font-size:9px;color:var(--gold);font-weight:850;letter-spacing:.08em}.hint-card{background:#1d1f25;border:1px solid #36383e;border-radius:12px;padding:20px 17px;line-height:1.65;color:#babbc4;font-size:12px}.hint-card strong{display:block;color:#fff;font-size:13px;margin-bottom:6px}.hint-card button{margin-top:10px;background:#342b1e;color:var(--gold-light);border:1px solid #765b34;border-radius:7px;padding:9px 12px;font-weight:800;font-size:11px}.filter-chips{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 15px}.filter-chip{padding:8px 11px;border:1px solid #3b3d43;border-radius:7px;background:#1c1e24;color:#babbc1;font-size:11px}.filter-chip[aria-pressed=true]{border-color:#cda15c;color:#f8dda5;background:#31291c}.empty-message{padding:30px 0;color:#b0b1b6;line-height:1.6;font-size:12px}.preset-item{border:1px solid #3e4046;background:#1c1f25;padding:12px;margin-bottom:10px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.preset-item strong{font-size:13px}.preset-item span{font-size:10px;color:#a6a8b0}.preset-item button{background:#372b1d;color:#e7ca91;border:1px solid #7a5d35;border-radius:5px;padding:7px 10px;font-size:11px}.arsenal-options{display:flex;flex-direction:column;gap:9px}.arsenal-action{background:linear-gradient(105deg,#d4ab60,#f5d599);color:#1b1813;border:none;border-radius:8px;min-height:43px;font-size:11px;font-weight:900}.arsenal-action.muted{border:1px solid #62533a;background:#29261f;color:#ebc984}.feature-tag{display:inline-block;color:#f1cf90;background:#3b301f;border:1px solid #745d39;border-radius:20px;font-size:9px;padding:7px 11px;font-weight:900}.weapon-detail{font-size:11px;line-height:1.6;color:#b4b5bb}.modal-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.modal-head h2{margin:0;font-size:23px}.modal-head button{height:32px;width:32px;background:#2f3035;border:1px solid #555;border-radius:6px;font-size:21px}dialog{background:#17191f;color:#f8f7f5;border:1px solid #82694b;border-radius:15px;max-height:min(88dvh,610px);width:min(92vw,540px);padding:25px;box-shadow:0 20px 100px #000e}dialog::backdrop{background:#050505c9}#dialog-body{padding-top:21px;max-height:68dvh;overflow-y:auto}#dialog-body input{width:100%;background:#26282f;color:#fff;border:1px solid #565963;border-radius:8px;padding:13px;margin-bottom:12px}#dialog-body .gold-btn{margin-top:12px}.hide{display:none!important}@media(min-width:1560px){.workspace{grid-template-columns:102px minmax(305px,350px) minmax(410px,1fr) minmax(295px,350px)}.catalog{padding-left:24px;padding-right:24px}.models-grid{gap:14px}}@media(max-width:1160px) and (min-width:781px){.workspace{grid-template-columns:76px minmax(220px,280px) minmax(310px,1fr) minmax(220px,258px)}.rail{padding:15px 7px}.rail-btn{height:65px}.rail-btn span{font-size:9px}.catalog{padding:20px 12px 0}.catalog-foot{margin:0 -12px}.inspector{padding:18px 12px}.top-center{display:none}.stage-heading h2{font-size:46px}}@media(max-width:780px){.topbar{height:58px;padding:0 13px}.brandlock{min-width:0}.brandlock .diamond-mark{font-size:36px}.brandlock strong{font-size:15px}.brandlock small{font-size:8px;letter-spacing:.2em}.top-counter{display:none}.workspace{display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}.stage{order:1;height:min(60dvh,500px);min-height:330px;flex:none}.stage-heading{top:75px;left:18px}.stage-heading h2{font-size:44px;max-width:92%}.stage-heading p{font-size:8px}.stage-top{top:15px;left:18px;right:18px}.stage-chip{font-size:8px}.stage-helper{left:18px;bottom:71px;font-size:9px}.stage-bottom{min-height:65px;padding:10px 15px}.stage-watermark{right:15px;bottom:100px;font-size:43px}.view-controls button{min-width:36px;height:36px}.stage-indicator{font-size:8px}.rail{order:2;display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;padding:7px 8px;gap:6px;border-right:0;border-block:1px solid #33343a;flex:none;scrollbar-width:none}.rail-label,.rail-rule,.rail-spacer,.rail-bottom{display:none}.rail-btn{height:60px;min-width:75px;width:75px;flex:none}.rail-btn svg{height:22px;width:22px}.rail-btn span{font-size:9px}.catalog{order:3;min-height:335px;max-height:530px;border-right:0;padding:18px 17px 0}.catalog-head{margin-top:7px}.catalog-head h1{font-size:26px}.panel-desc{margin:5px 0 12px;min-height:0}.searchbar{margin-bottom:12px}.models-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.model-card{aspect-ratio:.83}.model-card .card-body{height:43px;padding:5px 6px}.model-card strong{font-size:10px}.model-card small{font-size:7px}.catalog-foot{margin:0 -17px}.inspector{order:4;min-height:380px;overflow:visible;padding:22px 17px}.inspector-title h2{margin-top:12px}.inspector-preview{margin-top:14px}.inspector-preview img{height:65px;width:58px}.detail-divider{margin:13px 0}.inspector-note{padding:12px}.inspector-disclaimer{margin-top:15px}.inspector-spacer{min-height:8px}}@media(max-width:420px){.stage{height:50dvh;min-height:325px}.stage-heading h2{font-size:38px}.stage-indicator{display:none}.models-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-card{aspect-ratio:1.12}.model-card img{object-position:center 35%}}@media(max-height:590px) and (orientation:landscape){.topbar{height:51px}.workspace{height:calc(100dvh - 51px);min-height:340px}.rail{padding-top:5px}.rail-btn{height:44px;flex-direction:row}.rail-btn svg{width:17px;height:17px}.rail-btn span{font-size:8px}.rail-label{margin-bottom:4px}.catalog{padding-top:12px}.catalog-head h1{font-size:22px}.panel-desc{margin:5px 0;min-height:0}.catalog-scroll{padding-bottom:9px}.inspector{padding-top:13px}.inspector-title h2{margin-top:10px}.inspector-preview{margin-top:10px}.inspector-preview img{height:60px}.detail-divider{margin:9px 0}.inspector-note{display:none}.stage-heading{top:55px}.stage-heading h2{font-size:42px}.stage-helper{display:none}}

/* V4: dark premium garage-grade wardrobe UI, matching Torres No Limits. */
:root{--gold:#edc778;--gold-light:#fff0c9;--panel:#11151b;--line:#29313a}
.topbar{background:linear-gradient(100deg,#090d14,#13171d 45%,#0a0c11);border-bottom-color:#655132;box-shadow:0 3px 22px #0008;position:relative;z-index:5}
.stage{background:radial-gradient(ellipse at 50% 18%,#3c4551 0%,#202c36 32%,#0e1520 66%,#080d13 100%)}
.stage:before{background:linear-gradient(180deg,#0000 55%,#030609aa),repeating-linear-gradient(90deg,transparent 0 112px,#c4ab7520 113px 114px);opacity:.75}
.stage:after{content:'';position:absolute;inset:10px;pointer-events:none;border:1px solid #aa915b22;z-index:1}
.stage-watermark{color:#e8c48f;letter-spacing:.02em;opacity:.09}
.catalog{background:linear-gradient(150deg,#151a23,#0a0d12 83%)}
.inspector{background:linear-gradient(160deg,#171b22,#0d1015)}
.rail{background:linear-gradient(170deg,#10151d,#080a0e);border-right-color:#5f4c302d}
.model-card{background:linear-gradient(130deg,#313943,#15191f);border-radius:10px;border-color:#444548;box-shadow:inset 0 0 30px #0005}
.model-card.active{box-shadow:0 0 0 1px #c59e5e,0 9px 28px #d9a65e20}
.option-btn{min-height:76px;background:linear-gradient(125deg,#272a2f,#12161c);border-color:#3d444d;padding:11px}
.option-btn[aria-pressed=true]{background:linear-gradient(135deg,#554022,#1c1b19)}
.option-swatch{border-radius:5px;width:31px;height:31px;border-color:#d9c59d7d}
.gold-btn{border:1px solid #f4d9a3;box-shadow:0 2px 24px #d4a34f2b}
.discard-btn{margin-top:7px;border-color:#583e3b;color:#d4b1a8;background:#231d21;font-size:10px;min-height:37px}
.draft-hint{font-size:9px;letter-spacing:.07em;text-align:center;color:#b4a07b;line-height:1.4;margin:10px 0 3px}
@media(min-width:1180px){.workspace{grid-template-columns:88px minmax(285px,335px) minmax(360px,1fr) minmax(270px,300px)}.stage-heading h2{max-width:90%}}

/* V4 prevent line-breaking through actor and weapon names. */
.stage-heading{right:20px;left:28px;top:82px;max-width:calc(100% - 48px)}
.stage-heading h2{font-size:clamp(28px,3.4vw,52px);line-height:1.07;max-width:100%;overflow-wrap:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.065em}
.stage-heading p{max-width:95%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:780px){.stage-heading{left:18px;right:18px;top:74px}.stage-heading h2{font-size:clamp(25px,7.7vw,37px)}}
