/* Theme scenes continue through the whole page. Only Windows gets desktop chrome. */
.theme-window-slot{position:relative;min-width:0;display:flow-root}
.skin-lab-wallpaper{background-size:var(--lab-wallpaper-size,cover);background-repeat:no-repeat}
html[data-lab-desktop="true"] .theme-window-slot{min-height:calc(100vh - 110px)}
html[data-lab-desktop="true"] .theme-native-window{position:relative;z-index:2;transform:translate(var(--theme-window-x,0px),var(--theme-window-y,0px))}
html[data-lab-desktop="true"] .theme-caption{cursor:grab;user-select:none;touch-action:none}
html[data-lab-desktop="true"] .theme-dragging .theme-caption{cursor:grabbing}
html[data-lab-desktop="true"] .theme-native-window.theme-maximized{position:fixed;inset:0 0 43px;margin:0!important;max-width:none;width:auto;transform:none;overflow:auto;z-index:70}
html[data-lab-desktop="true"] .theme-menubar .theme-fullscreen-button{margin-left:auto;min-height:0;min-width:0;padding:2px 8px;font:inherit;color:inherit}
html[data-lab-desktop="false"] :is(.theme-caption,.theme-menubar,.theme-status,.theme-desktop-shortcuts,.theme-taskbar,.theme-start-menu){display:none!important}
html[data-lab-desktop="false"] .theme-window-content{padding:0}
.theme-window-slot:fullscreen,.lab-desktop:fullscreen{width:100%;height:100%;overflow:auto;background:var(--page)}
html[data-lab-fullscreen="true"] .theme-taskbar{position:fixed;bottom:0;left:0;right:0;z-index:75}
html[data-lab-desktop="true"] .theme-window-slot>.theme-desktop-shortcuts{top:12px;left:14px}
html[data-lab-desktop="true"] .theme-window-slot:has(>.theme-desktop-shortcuts)>.theme-native-window{margin-top:150px}
html[data-lab-desktop="true"] .theme-start-menu{z-index:80}
html[data-lab-ui="win11"] .theme-start-menu{left:50%;transform:translateX(-50%);bottom:46px}
html[data-lab-scene="transparent"]{--scene-opacity:35%;--scene-panel:color-mix(in srgb,var(--surface) var(--scene-opacity),transparent)}
html[data-lab-scene="transparent"] body.skin-lab-page{background:transparent}
html[data-lab-scene="transparent"] .skin-lab-page .skin-lab-backdrop{display:block}
html[data-lab-scene="transparent"] .skin-lab-page .lab-main{background:transparent}
html[data-lab-scene="transparent"] .lab-desktop{background:transparent;border-color:color-mix(in srgb,var(--border) 40%,transparent)}
html[data-lab-scene="transparent"] .lab-desktop::before{display:none}
html[data-lab-scene="transparent"] .lab-hero-art{display:none}
html[data-lab-scene="transparent"] .lab-desktop .lab-preview{background:transparent}
html[data-lab-scene="transparent"] :is(.card,.stat,.bt-root .panel,.bt-root .setup-card){background:var(--scene-panel);background-image:none;border-color:color-mix(in srgb,var(--border) 40%,transparent);box-shadow:0 5px 25px #0002}
html[data-lab-scene="transparent"] :is(.kelly-root,.bt-root,main.landing){background:transparent}
html[data-lab-scene="transparent"] :is(.stat .v,.stat .s,.card-head h3){text-shadow:0 1px 3px #000c}
html[data-lab-scene="transparent"] .skin-lab-wallpaper::after{content:"";position:absolute;inset:0;background:linear-gradient(#0002,#0004)}
html[data-lab-ui="nature"]{--scene-opacity:25%}
html[data-lab-ui="nature"] .skin-lab-wallpaper{background-position:center 32%}
html[data-lab-ui="nature"] :is(.card,.stat){border-top:1px solid #b6f0c25c}
html[data-lab-ui="nature"] .lab-hero h1{font:300 48px/1.1 "Lab Quicksand",sans-serif;letter-spacing:.03em;color:#deffeb}
html[data-lab-ui="nature"] .lab-company-mark{background:#285c4680;border:1px solid #b0efca;color:#d5ffea;border-radius:0}
html[data-lab-ui="nature"] .lab-hero-shade{background:linear-gradient(90deg,#031d1966,transparent)}
html[data-lab-ui="lofi"]{--scene-opacity:42%}
html[data-lab-ui="lofi"] .lab-hero h1{font:500 53px/1.05 "Lab Quicksand",sans-serif;color:#ffd2ab}
html[data-lab-ui="lofi"] .lab-hero-copy::after{content:"33 1/3 RPM   /   AFTER HOURS";display:block;font:10px "Lab Mono",monospace;letter-spacing:.18em;margin-top:25px;color:#e9bbab}
html[data-lab-ui="lofi"] .lab-company-mark{background:repeating-radial-gradient(circle at 50%,#352b36 0 3px,#514353 4px 5px);border:1px solid #cb8f80;border-radius:50%;color:#ffc9ac;animation:lofi-record 14s linear infinite}
html[data-lab-ui="lofi"] :is(.card,.stat){border-color:#c8978555;border-top-color:#f4b5a680}
@keyframes lofi-record{to{transform:rotate(360deg)}}
html[data-lab-ui="matrix"]{--scene-opacity:40%}
html[data-lab-ui="matrix"] .skin-lab-wallpaper{opacity:calc(var(--lab-wallpaper-opacity,1)*.23)}
html[data-lab-ui="matrix"] .skin-lab-ambient{opacity:.85}
html[data-lab-ui="matrix"] .lab-hero-shade{background:linear-gradient(90deg,#0005,transparent)}
html[data-lab-ui="matrix"] .lab-desktop .lab-preview{background:transparent}
html[data-lab-ui="matrix"] :is(.card,.stat){background:rgba(1,12,4,.4);border-color:#36db6c66}
html[data-lab-ui="space"]{--scene-opacity:26%;--display:"Lab Rajdhani",sans-serif}
html[data-lab-ui="space"] .lab-hero h1{font:500 58px "Lab Rajdhani",sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#c2ecff}
html[data-lab-ui="space"] :is(.card,.stat){background:linear-gradient(135deg,#07152860,#0b172730);border:1px solid #9be8ff46;box-shadow:inset 0 0 24px #89c3ff06,0 0 10px #050c1640}
html[data-lab-ui="space"] .card-head{border-bottom:1px solid #a0dfff33;padding-bottom:9px}
html[data-lab-ui="space"] .lab-hero-copy::after{content:"DEEP FIELD  /  OBSERVATORY 01";display:block;font:10px "Lab Mono",monospace;letter-spacing:.16em;color:#93d8ff;margin-top:22px}
html[data-lab-ui="space"] .lab-source-logo{display:none}
html[data-lab-ui="drift"]{--scene-opacity:32%;--display:"Lab Condensed",sans-serif}
html[data-lab-ui="drift"] .lab-hero h1{font:700 62px/.95 "Lab Condensed",sans-serif;transform:skewX(-8deg);text-transform:uppercase;color:#ebffff;text-shadow:2px 2px #08baa570,-2px 0 #ee478860}
html[data-lab-ui="drift"] :is(.card,.stat){border-color:#7be9dc60;background:#07162355}
html[data-lab-ui="drift"] .card-head h3{text-transform:uppercase!important;letter-spacing:.07em;font-family:"Lab Condensed",sans-serif;font-size:19px}
html[data-lab-ui="drift"] .lab-company-mark{background:#152a36;border:1px solid #72eee0;transform:skewX(-7deg);border-radius:0;color:#8effdc}
html[data-lab-ui="drift"] .lab-progress-track i{background:repeating-linear-gradient(90deg,#6affa6 0 13%,#00dbe7 14% 22%,#ec4c80 23% 27%)}
html[data-lab-ui="drift"] :is(.topbar,.stockhead,#tabs,.lab-hero-shade){background:#07162355!important;background-image:none!important;box-shadow:none}
html[data-lab-ui="blackpink"]{--scene-opacity:50%}
html[data-lab-ui="blackpink"] .lab-desktop .lab-preview{background:repeating-linear-gradient(-8deg,transparent 0 57px,#ff50a40b 58px 59px)}
html[data-lab-ui="blackpink"] :is(.card,.stat){background:linear-gradient(108deg,#0e0713a0,#3a092568);border:1px solid #ff6bb758;border-top:3px solid #f15fa688;box-shadow:inset 0 0 35px #ff4cb508}
html[data-lab-ui="blackpink"] .lab-hero h1{font:700 64px/.95 "Lab Condensed",sans-serif;color:#ff3c9b;transform:rotate(-2deg);text-shadow:3px 3px #13000d,-1px 0 #ffd9eb;text-transform:uppercase}
html[data-lab-ui="blackpink"] .lab-hero-copy::after{content:"BLACK / PINK";font:700 17px "Lab Mono",monospace;letter-spacing:.4em;color:#ffbadc;display:block;margin-top:14px;transform:rotate(-3deg)}
html[data-lab-ui="blackpink"] .lab-progress-track i{background:linear-gradient(0deg,#d90973,#ff47a8 70%,#ffd4ef);box-shadow:0 0 14px #f439aa77}
html[data-lab-ui="blackpink"] .lab-company-mark{border:2px solid #fe76bc;background:#170913;color:#ff8ac9;border-radius:0}
html[data-lab-ui="doge"] .card{background:#fffaf1eb}
html[data-lab-ui="mond"]{--scene-opacity:10%}
html[data-lab-ui="mond"] :is(.card,.stat){background:#0808081a;border-color:#ffffff26;box-shadow:none}
html[data-lab-ui="mond"] .lab-hero-shade{display:none}
html[data-lab-ui="mond"] .lab-hero-clock{text-shadow:0 2px 9px #000a}
html[data-lab-ui="pinup"]{--scene-opacity:48%}
html[data-lab-ui="pinup"] .skin-lab-wallpaper{background-position:65% center}
html[data-lab-ui="pinup"] .lab-hero h1{font:400 47px "Lab Serif",serif;color:#facadd;font-style:italic}
html[data-lab-ui="pinup"] :is(.card,.stat){background:#24101e7a;border-top:1px solid #dc9fa877}
.skin-lab-chart-scene{position:absolute;inset:0;pointer-events:none;z-index:4;width:100%;height:100%}
.skin-lab-pet{position:fixed;inset:0;z-index:85;pointer-events:none;width:100%;height:100%;contain:strict}
.skin-lab-pet-controls{position:fixed;right:16px;bottom:16px;z-index:86;display:flex;align-items:center;gap:8px;background:#fff4d9f5;border:1px solid #bca66b;padding:7px 10px;color:#342410;font:12px "Lab Comic",cursive;box-shadow:0 2px 10px #0002}
.skin-lab-pet-controls button{font:inherit;cursor:pointer;color:inherit;background:#ffdf93;border:1px solid #bca66b;padding:4px 8px;min-width:0;min-height:0;border-radius:0}
.skin-lab-pet-controls[hidden],.skin-lab-pet[hidden]{display:none}
@media(max-width:760px){html:is([data-lab-ui="nature"],[data-lab-ui="lofi"],[data-lab-ui="space"],[data-lab-ui="drift"],[data-lab-ui="blackpink"]) .lab-hero h1{font-size:37px!important}.theme-menubar{flex-wrap:wrap}.skin-lab-pet-controls{right:8px;bottom:8px;font-size:11px;padding:5px;max-width:calc(100vw - 16px)}}
html[data-fx="off"] .lab-company-mark,html[data-fx="subtle"] .lab-company-mark{animation:none}
@media(prefers-reduced-motion:reduce){.lab-company-mark{animation:none!important}}

.theme-window-slot:fullscreen{background:var(--page) var(--lab-wallpaper) center/cover no-repeat}

html[data-skin^="lab-"][data-lab-desktop="false"] .theme-native-window{border:0;box-shadow:none;overflow:visible;background:transparent}
html[data-lab-ui="ascii"] .lab-desktop{background:none!important}

/* The complete analysis application, including its company header and tabs. */
html[data-lab-desktop="true"] .theme-analysis-app{min-width:0;width:100%;background:var(--surface)}
html[data-lab-desktop="true"] .theme-analysis-app>.topbar{position:relative;top:auto;min-height:46px;padding:8px 12px;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--border);z-index:25}
html[data-lab-desktop="true"] .theme-analysis-app .topbar .brand span{font-size:18px}
html[data-lab-desktop="true"] .theme-analysis-app .topbar .searchbox{flex:1 1 220px;min-width:140px;max-width:none}
html[data-lab-desktop="true"] .theme-analysis-app .topbar-actions{flex-wrap:wrap;gap:7px}
html[data-lab-desktop="true"] .theme-analysis-app .stockhead{max-width:none;margin:0;padding:10px 14px 9px;border-bottom:1px solid var(--border);background:var(--surface)}
html[data-lab-desktop="true"] .theme-analysis-app .stockhead .row1{gap:6px 14px;align-items:center}
html[data-lab-desktop="true"] .theme-analysis-app .stockhead h1{font:600 19px/1.25 var(--font);letter-spacing:0;margin:0;color:var(--text)}
html[data-lab-desktop="true"] .theme-analysis-app .stockhead .sym{font:500 11px var(--font);letter-spacing:.04em}
html[data-lab-desktop="true"] .theme-analysis-app .stockhead .price{font:600 21px/1.2 var(--font);letter-spacing:0;background:none;-webkit-text-fill-color:var(--text);text-shadow:none;filter:none;color:var(--text)}
html[data-lab-desktop="true"] .theme-analysis-app .stockhead .chg{font:600 11px var(--font);padding:2px 5px;border-radius:0;box-shadow:none}
html[data-lab-desktop="true"] .theme-analysis-app .stockhead :is(.sub,.statusline){font:11px/1.4 var(--font);margin-top:3px}
html[data-lab-desktop="true"] .theme-analysis-app #tabs{position:relative;top:auto;max-width:100%;min-width:0;flex-wrap:wrap;white-space:normal;overflow:visible;padding:6px 12px;gap:5px;background:var(--surface);backdrop-filter:none;box-shadow:none;z-index:10}
html[data-lab-desktop="true"] .theme-analysis-app #tabs .tab{font:12px/1.3 var(--font);padding:5px 8px;min-width:0;min-height:27px;white-space:nowrap;box-shadow:none;border:1px solid var(--border);border-radius:0;letter-spacing:0;text-transform:none}
html[data-lab-desktop="true"] .theme-analysis-app #tabs .tab[aria-selected="true"]{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}
html[data-lab-desktop="true"] .theme-analysis-app #tabs .seg{position:static;box-shadow:none;background:var(--surface);margin-left:auto}
html[data-lab-desktop="true"] .theme-analysis-app #main{max-width:none;margin:0;padding:18px 14px;width:100%;min-width:0}
html[data-lab-desktop="true"] .theme-analysis-app>.foot{max-width:none;margin:0;padding:10px 14px;font:11px var(--font);border-top:1px solid var(--border)}
html[data-lab-desktop="true"] .theme-native-window:has(.theme-analysis-app)>.theme-window-content{padding:0!important}
@media(max-width:760px){html[data-lab-desktop="true"] .theme-analysis-app .topbar .searchbox{order:2;flex-basis:100%}html[data-lab-desktop="true"] .theme-analysis-app .topbar-actions{max-width:100%}html[data-lab-desktop="true"] .theme-analysis-app .topbar .skin-pick-wrap{max-width:190px}html[data-lab-desktop="true"] .theme-analysis-app #main{padding:12px 9px}html[data-lab-desktop="true"] .theme-analysis-app #tabs .tab{font-size:11px;padding:5px 7px}}

html[data-lab-ui="blackpink"] .lab-hero h1{color:#ff55b2!important}

/* A single wallpaper continues behind the masthead and every chart. */
html[data-lab-scene="transparent"] .lab-hero{background:transparent;box-shadow:none;border:0;isolation:auto}
html[data-lab-scene="transparent"] .lab-hero-copy{max-width:640px;width:65%;height:auto;min-height:300px;padding:24px}
html[data-lab-scene="transparent"] .lab-hero{height:auto;min-height:300px;overflow:visible}
html[data-lab-ui="space"] .lab-hero-copy{width:82%;max-width:800px;min-height:325px}
html[data-lab-ui="space"] .lab-hero h1{font-size:clamp(34px,4vw,58px);-webkit-text-fill-color:currentColor;white-space:normal;overflow-wrap:normal}
html[data-lab-ui="space"] .lab-hero-shade{display:none}
html[data-lab-ui="space"] .lab-hero-tags span{background:transparent;border-color:#a0dfff33}
html[data-lab-ui="doge"]{--scene-opacity:76%}
html[data-lab-ui="doge"] .card{background:#fffaf1cf}
html[data-lab-ui="doge"] .lab-hero-copy{width:75%;text-shadow:0 1px 5px #000a}
html[data-lab-ui="genshin"]{--scene-opacity:60%}
html[data-lab-ui="genshin"] :is(.card,.stat){background:#14253699;outline-color:#dcc28f55;border-color:#dcc28f70;color:#f8f0db}
html[data-lab-ui="genshin"] .lab-preview-head{background:transparent}
html[data-lab-ui="genshin"] .lab-company-mark{background:#172c43a8;color:#efcf89;border-color:#efcf89}
html[data-lab-ui="cyberpunk"]{--scene-opacity:57%;--display:"Lab Condensed",sans-serif}
html[data-lab-ui="cyberpunk"] :is(.card,.stat){background:repeating-linear-gradient(0deg,#0c151799 0 3px,#0b1517a2 4px 5px);border:1px solid #62dcc870;border-left:3px solid #60f6d7;clip-path:none;box-shadow:inset 0 0 22px #03090944}
html[data-lab-ui="cyberpunk"] .card-head h3{font:700 21px "Lab Condensed",sans-serif;text-transform:uppercase;color:#79ffe4;letter-spacing:.065em}
html[data-lab-ui="cyberpunk"] .lab-hero h1{font:700 clamp(36px,4vw,56px)/1 "Lab Condensed",sans-serif;letter-spacing:.03em;text-transform:uppercase;color:#75ffe0;-webkit-text-fill-color:currentColor;text-shadow:2px 0 #ff498b77}
html[data-lab-ui="cyberpunk"] .lab-hero-copy::after{content:"CREDITS // DATA EXCHANGE // UNDERGROUND";display:block;font:10px "Lab Mono",monospace;letter-spacing:.16em;color:#fa81ac;margin-top:16px;border-top:1px dashed #75ffe064;padding-top:8px}
html[data-lab-ui="cyberpunk"] .lab-company-mark{background:#081d20;border-color:#75ffe0;color:#7bffdf;clip-path:polygon(0 0,100% 0,100% 75%,75% 100%,0 100%)}
html[data-lab-ui="cyberpunk"] .lab-source-logo{display:none}

/* Click feedback for the desktop themes follows their loading-bar artwork. */
.theme-site-mark{display:none;width:26px;height:26px;flex-shrink:0}
html[data-lab-desktop="true"] .brand>.theme-site-mark{display:block}
html[data-lab-desktop="true"] .brand>svg{display:none}
/* Native table rules must not pad or clip the chart library's internal layout. */
html[data-lab-desktop="true"] .chartbox table{border:0!important;background:transparent!important;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important}
html[data-lab-desktop="true"] .chartbox :is(td,th){padding:0!important;border:0!important;overflow:visible!important}
html[data-lab-desktop="true"] .bt-root .btn.icon{min-width:0!important;width:var(--bt-control)!important;padding:0!important}
html[data-lab-desktop="true"] .bt-root .item-card{min-width:0}
html[data-lab-desktop="true"] .bt-root .brand-block h1{font:700 26px/1.2 var(--font);letter-spacing:0}
html[data-lab-desktop="true"] .bt-root :is(h2,h3){font-size:16px;line-height:1.3}
/* Center the application navigation as a group in every theme. */
html[data-skin^="lab-"] :is(#tabs,.bt-root .tabs){justify-content:center;flex-wrap:wrap}
html[data-skin^="lab-"] #tabs .seg{margin-left:0}
html[data-skin^="lab-"] .theme-menubar{justify-content:center;position:relative;padding-inline:90px;gap:14px}
html[data-skin^="lab-"] .theme-menubar .theme-fullscreen-button{position:absolute;right:5px;margin-left:0}
.theme-loading-feedback{position:fixed;z-index:110;pointer-events:none;width:164px;padding:8px 10px;background:#ece9d8;border:1px solid #7f9db9;box-shadow:1px 2px 4px #0004;color:#163763;font:10px Tahoma,Arial,sans-serif}
.theme-loading-feedback[hidden]{display:none!important}
.theme-loading-feedback>span{display:block;margin-bottom:5px;letter-spacing:1px}
.theme-loading-track{height:12px;border:1px solid #808080;background:#fff;box-shadow:inset 1px 1px 1px #bbb;overflow:hidden;position:relative}
.theme-loading-track>i{display:block;position:absolute;top:2px;bottom:2px;width:32px;background:repeating-linear-gradient(90deg,#3b9f2b 0 7px,transparent 7px 9px);transform:translateX(-34px)}
.theme-loading-active .theme-loading-track>i{animation:theme-loading-slide .9s linear both}
html[data-lab-ui="aero"] .theme-loading-feedback{background:linear-gradient(#e9f5ffed,#c8e3f8ed);border:1px solid #6592b8;border-radius:4px;color:#12436b}
html[data-lab-ui="aero"] .theme-loading-track{border-color:#779cb6;border-radius:3px;background:#dcebdc;box-shadow:inset 0 1px 2px #67977a}
html[data-lab-ui="aero"] .theme-loading-track>i{top:0;bottom:0;width:60px;background:linear-gradient(90deg,transparent,#1ebe67,#dcffd1,#1ebe67,transparent)}
@keyframes theme-loading-slide{to{transform:translateX(164px)}}
.theme-loading-badge{background:#ece9d8!important;border:1px solid #7f9db9!important;border-radius:2px!important;color:#163763!important;text-shadow:none!important;box-shadow:1px 2px 4px #0004!important;animation:none!important;font:11px Tahoma,Arial,sans-serif!important;flex-wrap:wrap;max-width:240px}
.theme-loading-badge::before{content:none!important}
.theme-loading-badge img{width:22px;height:22px}
.theme-loading-badge .theme-loading-track{width:100%;flex-basis:100%;margin-top:3px}
/* Aero keeps its original blue glass / white client / green progress palette.
   Its STONKHQ logo does not inherit the beige XP notification treatment. */
html[data-lab-ui="aero"] .theme-loading-badge{background:linear-gradient(#f6fbffef,#d2e9faef)!important;border-color:#6c96b7!important;border-radius:4px!important;color:#12436b!important;font:12px "Segoe UI","Noto Sans",sans-serif!important;box-shadow:inset 0 0 0 1px #ffffffa0,0 2px 9px #10355255!important}
html[data-lab-ui="aero"] .theme-loading-feedback{font:11px "Segoe UI","Noto Sans",sans-serif;box-shadow:inset 0 0 0 1px #ffffffa0,0 2px 9px #10355255;backdrop-filter:blur(8px)}
html[data-lab-ui="aero"] .theme-taskbar .theme-start{background:transparent;border:0;box-shadow:none}
html[data-lab-ui="pinup"] .skin-lab-wallpaper,html[data-lab-ui="pinup"] .lab-desktop::before{background-position:center 18%}

.skin-lab-companion{position:fixed;left:0;top:0;z-index:81;pointer-events:none;will-change:transform}
.skin-lab-companion[hidden],.skin-lab-companion-controls[hidden]{display:none!important}
.skin-lab-companion-controls{position:fixed;right:12px;bottom:10px;z-index:82;max-width:calc(100vw - 24px);display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px 10px;border:1px solid #b77c97;background:#251823f5;color:#fff0e8;font:12px var(--font);box-shadow:0 3px 12px #0005}
.skin-lab-companion-controls button,.companion-wardrobe button{background:#3e2436;border:1px solid #bc859d;color:#fff0e8;padding:6px 10px;cursor:pointer;font:inherit}
.skin-lab-companion-controls span{max-width:245px;font-size:11px}
.companion-wardrobe{width:min(490px,calc(100vw - 30px));max-height:85vh;overflow:auto;padding:22px;border:1px solid #bc859d;background:#211721;color:#fff0e8;font:13px var(--font);box-shadow:0 12px 60px #0009}
.companion-wardrobe::backdrop{background:#0009}
.companion-wardrobe h2{font-size:22px;margin:0 0 8px}
.companion-wardrobe p{font-size:12px;color:#dec2d0}
.companion-outfit-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.companion-outfit-choices button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 4px;background:#30232f}
.companion-outfit-choices button[aria-pressed="true"]{border:2px solid #f0a5c6;background:#503044}
.companion-outfit-choices canvas{width:min(110px,100%);height:auto}
.companion-expression-previews{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
@media(max-width:600px){.skin-lab-companion-controls{right:8px;bottom:8px;gap:6px;padding:6px 8px;font-size:11px}.skin-lab-companion-controls span{max-width:210px}.companion-wardrobe{padding:16px}.companion-outfit-choices{gap:7px}}
@media(prefers-reduced-motion:reduce){.theme-loading-active .theme-loading-track>i{animation:none;transform:none;width:100%}}
html[data-lab-ui="cyberpunk"] .btn.primary{background:#70ffde;color:#041a14}
html[data-lab-ui="cyberpunk"] .lab-progress-track i{background:repeating-linear-gradient(90deg,#67ffdb 0 12px,#112321 13px 15px);box-shadow:none}
html[data-lab-ui="matrix"] body{background:#000!important}
html[data-lab-ui="matrix"] .skin-lab-backdrop{background:#000}
html[data-lab-ui="matrix"] .skin-lab-wallpaper{display:none!important}
html[data-lab-ui="matrix"] .lab-hero-shade{display:none}
html[data-lab-ui="matrix"] .lab-desktop::before{display:none!important}
html[data-lab-ui="matrix"] .lab-preview-head{background:transparent}
html[data-lab-ui="matrix"] .lab-hero-copy{width:75%}
html[data-lab-ui="space"] .lab-desktop{overflow:visible}
@media(max-width:760px){html[data-lab-scene="transparent"] .lab-hero-copy{width:100%;min-height:285px;padding:20px}html[data-lab-ui="space"] .lab-hero h1{font-size:32px!important;letter-spacing:.06em}html[data-lab-ui="space"] .lab-hero-copy{padding-right:38px}.lab-hero-copy::after{overflow-wrap:anywhere}}
html:is([data-lab-ui="doge"],[data-lab-ui="genshin"],[data-lab-ui="cyberpunk"]) .lab-hero-shade{display:none}
.lab-wallpaper-picker[hidden]{display:none!important}
html[data-lab-ui="space"] :is(.topbar,.stockhead,#tabs){background:transparent!important;backdrop-filter:none;box-shadow:none}
html[data-lab-ui="cyberpunk"] .lab-hero h1{color:#75ffe0!important}
html[data-lab-ui="doge"] :is(.lab-preview-head h2,.lab-company strong,.lab-company span){color:#fff9e5;text-shadow:0 1px 4px #14290dcc}
/* Drawing is opt-in so research controls continue to work normally. */
.skin-lab-lipstick-paint{position:fixed;inset:0;width:100vw;height:100vh;z-index:9000;pointer-events:none;touch-action:none;cursor:crosshair}
.lipstick-paint-controls{position:fixed;bottom:16px;left:16px;z-index:9001;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:9px 11px;max-width:calc(100vw - 32px);background:#160a16dd;border:1px solid #e94790;border-radius:5px;box-shadow:0 4px 20px #0005;color:#ffb6da;font:11px system-ui,sans-serif}
.lipstick-paint-controls[hidden],.skin-lab-lipstick-paint[hidden]{display:none!important}
.lipstick-paint-controls button{background:#561530!important;color:#fff1f8!important;border:1px solid #e94790!important;padding:7px 10px!important;min-width:0!important;cursor:pointer;font:12px system-ui,sans-serif!important}
.lipstick-paint-controls button[aria-pressed=true]{background:#b61a5b!important}
html[data-lab-desktop=true] .theme-analysis-app #tabs .seg{margin-left:0!important}
html[data-lab-arena=true][data-lab-scene=transparent] :is(.app-shell,.chart-panel,.chart-surface,.panel,.floor-heading,.topbar,.topbar-actions){background-color:color-mix(in srgb,var(--surface) 55%,transparent)!important;background-image:none!important}
html[data-lab-arena=true][data-lab-desktop=true] .app-shell{height:auto;min-height:75vh}
@media(max-width:760px){html[data-skin^="lab-"] .theme-menubar{padding-inline:8px}html[data-skin^="lab-"] .theme-menubar .theme-fullscreen-button{position:static;margin-left:0}.lipstick-paint-controls span{display:none}}
@media(max-width:600px){.theme-desktop-shortcuts{max-width:calc(100vw - 28px);gap:7px!important}.theme-shortcut{width:58px!important;flex:0 0 58px;box-sizing:border-box}}
/* Compact game controls keep the native frame without desktop CSS stretching them. */
html[data-lab-arena=true][data-lab-desktop=true] .market-item{height:auto!important;min-height:52px;flex:0 0 auto;text-align:left}
html[data-lab-arena=true][data-lab-desktop=true] .app-shell :is(button,input,select){min-width:0!important;box-sizing:border-box}
html[data-lab-arena=true][data-lab-desktop=true] .app-shell .icon-button{width:34px!important;height:34px!important;padding:6px!important}
html[data-lab-arena=true][data-lab-desktop=true] .watchlist-item{padding:6px!important;white-space:normal;min-height:40px}
html[data-lab-arena=true][data-lab-desktop=true] .app-shell .chart-toolbar{flex-wrap:wrap}
