@import url("/browser/companion-media.css?v=2026-10-03.6");
:root{color-scheme:dark;--bg:#070b11;--panel:#101923;--panel-raised:#141f2b;--line:#293847;--text:#f4f6f8;--muted:#a9bac8;--blue:#36a7f2;--green:#61d795;--red:#ff8a91;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 48% -10%,#142231 0,#070b11 55%);color:var(--text);min-width:320px}.topbar{height:56px;padding:0 max(18px,calc((100vw - 1760px)/2));display:flex;align-items:center;justify-content:space-between;background:#0a111a;border-bottom:1px solid #1e2a36}.topbar a,footer a{color:#b9c8d4;text-decoration:none;font-size:12px}.brand{display:flex;align-items:center;gap:10px}.brand img{height:22px;max-width:135px;object-fit:contain}.brand span{color:#708296}main{width:min(100% - 32px,1760px);margin:auto;padding:28px 0 36px}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:20px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:.17em;color:#78bce9;margin:0 0 6px}h1{font-size:clamp(25px,3vw,38px);line-height:1.08;letter-spacing:-.03em;margin:0}h2{font-size:17px;letter-spacing:-.015em;margin:0}.lede{max-width:720px;color:var(--muted);font-size:13px;line-height:1.5;margin:8px 0 0}.warning{max-width:380px;display:flex;flex-direction:column;gap:3px;padding:10px 13px;border:1px solid #8f454f;background:#28171d;border-radius:9px;font-size:10px;line-height:1.4;color:#f5dfe1}.warning strong{font-size:10px;letter-spacing:.06em;color:#ff9ca3}.workspace{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(340px,.9fr);gap:14px;align-items:stretch}.pane{min-width:0;border:1px solid var(--line);border-radius:13px;background:linear-gradient(160deg,#101a24,#0b1118);overflow:hidden;box-shadow:0 18px 50px #0005}.pane-heading{height:64px;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#111b25;border-bottom:1px solid #253342}.status{color:var(--muted);font-size:10px;white-space:nowrap}.status::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#788895;margin-right:7px}.status.ready::before{background:var(--green);box-shadow:0 0 7px #61d79588}.status.error::before{background:var(--red)}.desktop-pane{display:flex;flex-direction:column}.desktop-pane iframe{width:100%;height:min(78vh,1000px);min-height:700px;border:0;background:#10151b}.desktop-loader{height:min(78vh,1000px);min-height:700px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:30px;text-align:center;color:var(--muted);font-size:12px}.desktop-loader strong{color:#e9f1f7;font-size:15px}.desktop-loader span:not(.spinner){max-width:460px;line-height:1.55}.progress{width:min(370px,85%);height:5px;background:#253442;border-radius:5px;overflow:hidden}.progress span{display:block;width:3%;height:100%;background:linear-gradient(90deg,#168cda,#78ceff);transition:width .3s}.spinner{width:28px;height:28px;border:3px solid #334555;border-top-color:var(--blue);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.pane-foot{height:42px;padding:0 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#90a1af;font-size:10px;background:#0d151d;border-top:1px solid #202c38}.pane-foot button,.scanner-buttons button{border:1px solid #376283;background:#15334a;color:#e9f6ff;border-radius:6px;padding:7px 10px;font:inherit;font-weight:650;cursor:pointer}.pane-foot button:hover,.scanner-buttons button:hover{background:#1b4562}.diy-pane{display:flex;flex-direction:column}.device-frame{position:relative;width:min(100%,310px);margin:13px auto 10px;aspect-ratio:479/905}.device-shell{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.device-frame iframe{position:absolute;left:calc(12.5% + 2px);top:calc(17.9% + 2px);z-index:1;display:block;border:0;border-radius:4px;background:#000;width:76%;height:66%}.scanner-controls{display:flex;flex-direction:column;gap:6px;margin:0 12px 8px;padding:10px;border:1px solid #34506a;background:#111e2a;border-radius:9px}.scanner-controls strong{font-size:11px}.scanner-controls span,.scanner-controls small{font-size:10px;color:var(--muted);line-height:1.4}.scanner-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:3px}.scanner-buttons button{font-size:10px}.scanner-buttons button[aria-pressed="true"]{border-color:#59b9ff;background:#13507b;box-shadow:0 0 0 1px #59b9ff44}.diy-foot{margin-top:auto}.source-details{margin-top:14px;border:1px solid var(--line);border-radius:10px;background:#0e151d}.source-details summary{padding:12px 14px;cursor:pointer;font-size:12px;font-weight:700}.source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 14px}.source-grid section{padding:12px;border:1px solid #263441;border-radius:8px;background:#101923}.source-grid h3{margin:0 0 8px;font-size:12px}.source-grid p,.adapter-note{margin:6px 0;color:var(--muted);font-size:10px;line-height:1.5;overflow-wrap:anywhere}.source-grid a{color:#8acaff}.adapter-note{padding:0 14px 12px}.diy-build-loading{color:var(--muted)}footer{padding:17px;text-align:center;border-top:1px solid #1e2a36;background:#090f16;color:#7d8c99;font-size:10px}footer a{font-size:10px;color:#a6c2d4}@media(max-width:980px){main{width:min(100% - 20px,850px);padding-top:19px}.intro{align-items:flex-start;flex-direction:column}.warning{max-width:unset;width:100%}.workspace{grid-template-columns:1fr}.desktop-pane{order:0}.diy-pane{order:1}.desktop-pane iframe,.desktop-loader{height:70vh;min-height:620px}.device-frame{width:min(80%,310px)}}@media(max-width:560px){.topbar{height:48px;padding:0 12px}.brand img{height:19px;max-width:110px}.brand span{font-size:12px}.pane-heading{height:59px;padding:10px}.status{max-width:130px;white-space:normal;line-height:1.25}.desktop-pane iframe,.desktop-loader{height:72vh;min-height:560px}.source-grid{grid-template-columns:1fr}.device-frame{width:min(100%,285px)}.pane-foot{font-size:9px}}
:where([hidden]){display:none!important}
.diy-actions{display:flex;align-items:center;gap:12px}.diy-actions a{color:#8acaff;text-decoration:none}.pane-foot button:disabled{opacity:.5;cursor:not-allowed}
