:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202020;background:#fff;font-synthesis:none;--bg:#fff;--text:#202020;--muted:#626262;--line:#ddd;--accent:#344fe4;--accent-text:#2943cf;--accent-soft:#edf0ff;--surface:#f5f5f5;--hover:#f7f7f7;--success:#23794a;--dialog:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:16px;line-height:1.5}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7891ff;outline-offset:3px}.shell{min-height:100vh;display:flex;flex-direction:column}.header{width:100%;height:72px;display:flex;align-items:center;gap:40px;padding:0 max(32px,calc((100vw - 1200px)/2));border-bottom:1px solid var(--line)}.brand{text-decoration:none;display:flex;gap:10px;align-items:center;font-size:15px;letter-spacing:.045em;font-weight:800;white-space:nowrap}.mark{width:30px;height:30px;color:#fff;background:#202020;display:grid;place-items:center;font-size:22px;line-height:1;letter-spacing:0;border-radius:3px}.header-nav{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:600}.header-nav a{text-decoration:none}.header-nav a:hover,footer a:hover{text-decoration:underline}.header-right{margin-left:auto;display:flex;gap:20px;align-items:center}.connection{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px;font-weight:500;white-space:nowrap}.dot,.live span{width:7px;height:7px;border-radius:50%;background:#328557;flex:none}.dot.offline,.live span.offline{background:#a56812}.icon-button{border:1px solid var(--line);background:var(--bg);color:var(--text);height:44px;width:44px;border-radius:50%;font-size:19px;line-height:1}.icon-button:hover{background:var(--hover)}.main{width:min(calc(100% - 48px),816px);margin:0 auto;flex:1;padding:76px 0 88px}.intro{margin-bottom:64px}.eyebrow{font-size:12px!important;letter-spacing:.1em;color:var(--muted);font-weight:700;margin:0 0 20px}.intro h1{font-size:clamp(36px,4.4vw,54px);line-height:1.08;letter-spacing:-.045em;font-weight:750;margin:0 0 17px;max-width:740px}.intro-copy{color:var(--muted);margin:0;font-size:17px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}.section-heading h2{font-size:20px;letter-spacing:-.025em;margin:0 0 3px}.section-heading p{font-size:14px;color:var(--muted);margin:0}.live{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px;white-space:nowrap;padding-bottom:3px}.devices{display:grid}.device{width:100%;display:flex;align-items:center;text-align:left;gap:16px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);padding:18px 12px;min-height:88px}.device:hover,.device.dragging{background:var(--hover)}.device-icon,.device-info-icon{display:grid;place-items:center;background:var(--surface);color:var(--text);border-radius:6px;width:48px;height:48px;flex:none}.device-icon svg,.device-info-icon svg{width:23px;height:23px}.device-copy{flex:1;min-width:0;display:grid;gap:2px}.device-copy strong{font-size:16px;overflow-wrap:anywhere}.device-copy small{font-size:14px;color:var(--muted)}.available{color:var(--success)}.device-arrow{font-size:22px;color:var(--accent-text);padding:0 7px}.empty{display:flex;align-items:flex-start;gap:18px;padding:28px 12px 32px;border-bottom:1px solid var(--line)}.empty[hidden]{display:none}.empty-icon{width:48px;height:48px;flex:none;display:grid;place-items:center;background:var(--surface);border-radius:6px;font-size:25px}.empty strong{font-size:16px}.empty p{font-size:14px;color:var(--muted);max-width:390px;margin:4px 0 8px}.empty a,.below a{font-size:14px;color:var(--accent-text);font-weight:650;text-decoration:none}.empty a:hover,.below a:hover{text-decoration:underline}.device-info{display:flex;align-items:center;gap:14px;margin-top:32px}.device-info-icon{width:42px;height:42px}.device-info-icon svg{width:20px;height:20px}.device-info>div:last-child{display:grid;gap:1px}.info-label{color:var(--muted);font-size:13px}.device-info strong{font-size:14px}.below{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin-top:38px;color:var(--muted);font-size:13px}.below>span:first-child:before{content:"";display:inline-block;height:6px;width:6px;background:var(--success);border-radius:50%;margin-right:8px;vertical-align:middle}footer{border-top:1px solid var(--line);padding:24px max(32px,calc((100vw - 1200px)/2));display:flex;justify-content:space-between;align-items:center;gap:24px;color:var(--muted);font-size:13px}.footer-brand{white-space:nowrap}.footer-brand span{margin:0 4px}footer nav{display:flex;gap:24px;flex-wrap:wrap}footer a{text-decoration:none}dialog{width:min(480px,calc(100% - 32px));border:1px solid var(--line);border-radius:10px;background:var(--dialog);color:var(--text);padding:32px;box-shadow:0 14px 45px #0003}dialog::backdrop{background:#0000007a}dialog h2{font-size:25px;letter-spacing:-.035em;margin:20px 0 7px;line-height:1.2}dialog p{color:var(--muted);font-size:15px;margin:0 0 22px}.modal-icon{height:44px;width:44px;border-radius:6px;background:var(--accent-soft);color:var(--accent-text);display:grid;place-items:center;font-size:23px}.modal-icon.success{background:var(--accent-soft)}.modal-icon.error{color:#a3332a;background:#faeeec}.file-list{border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-height:240px;overflow:auto;margin:20px 0}.file-list div,.download{padding:12px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);font-size:14px;overflow-wrap:anywhere}.file-list div:last-child,.download:last-child{border-bottom:0}.file-list small{white-space:nowrap;color:var(--muted)}.download{text-decoration:none}.download span{color:var(--accent-text);white-space:nowrap;font-weight:650}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.primary,.secondary{border-radius:5px;min-height:44px;padding:10px 19px;font-weight:700;font-size:14px}.primary{background:var(--accent);color:#fff;border:1px solid var(--accent)}.primary:hover{filter:brightness(.9)}.secondary{background:var(--dialog);color:var(--text);border:1px solid var(--text)}.secondary:hover{background:var(--hover)}.progress-details{display:flex;justify-content:space-between;gap:10px;font-size:14px}.progress-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-details span{white-space:nowrap;color:var(--muted)}.progress-track{height:6px;border-radius:6px;background:var(--line);margin:12px 0}.progress-track div{height:100%;width:0;background:var(--accent);border-radius:6px;transition:width .15s}.speed{font-size:13px!important}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#202020;color:#fff;padding:11px 18px;border-radius:6px;font-size:14px;transition:.2s;z-index:9;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%)}@media(max-width:600px){.header{height:64px;padding:0 20px;gap:12px}.header-nav{display:none}.header-right{gap:12px}.connection{font-size:13px}.main{width:calc(100% - 40px);padding:64px 0 72px}.intro{margin-bottom:48px}.intro h1{font-size:38px}.section-heading{align-items:flex-start}.section-heading p{max-width:245px}.empty,.device{padding-left:0;padding-right:0}.below{align-items:flex-start;flex-direction:column;gap:6px;margin-top:32px}footer{padding:24px 20px;align-items:flex-start;flex-direction:column;gap:16px}footer nav{gap:16px 22px}dialog{padding:24px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#191919;--text:#f5f5f5;--muted:#bdbdbd;--line:#474747;--accent:#95a6ff;--accent-text:#aab8ff;--accent-soft:#2d344d;--surface:#2b2b2b;--hover:#262626;--success:#88cba5;--dialog:#222}:root:not([data-theme=light]) .primary{color:#151b45}:root:not([data-theme=light]) .mark{background:#f5f5f5;color:#191919}}:root[data-theme=dark]{--bg:#191919;--text:#f5f5f5;--muted:#bdbdbd;--line:#474747;--accent:#95a6ff;--accent-text:#aab8ff;--accent-soft:#2d344d;--surface:#2b2b2b;--hover:#262626;--success:#88cba5;--dialog:#222}:root[data-theme=dark] .primary{color:#151b45}:root[data-theme=dark] .mark{background:#f5f5f5;color:#191919}.received-section{margin-top:52px}.received-section[hidden]{display:none}.history-heading{border-bottom:1px solid var(--line);padding-bottom:16px}.history-heading h2{font-size:20px;letter-spacing:-.025em;margin:0 0 3px}.history-heading p,.history-note{font-size:14px;color:var(--muted);margin:0}.history-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.history-name{display:grid;gap:2px;min-width:0;flex:1}.history-name strong{font-size:14px;overflow-wrap:anywhere}.history-name small{color:var(--muted);font-size:13px}.history-download,.history-remove{border:0;background:transparent;padding:10px 7px;min-height:44px;color:var(--accent-text);font-size:14px;font-weight:650}.history-remove{color:var(--muted)}.history-note{margin-top:12px}@media(max-width:450px){.history-row{flex-wrap:wrap}.history-name{flex-basis:100%}.history-download,.history-remove{padding-left:0;padding-right:16px}}.storage-warning,#receive-error{color:#a13b27;font-weight:600}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .storage-warning,:root:not([data-theme=light]) #receive-error{color:#ffb5a6}}:root[data-theme=dark] .storage-warning,:root[data-theme=dark] #receive-error{color:#ffb5a6}dialog p.storage-warning,dialog p#receive-error{color:#9c3e16}:root[data-theme=dark] dialog p.storage-warning,:root[data-theme=dark] dialog p#receive-error{color:#ffb08a}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) dialog p.storage-warning,:root:not([data-theme=light]) dialog p#receive-error{color:#ffb08a}}.progress-track{height:12px;background:#d9e3ee;border:1px solid #afc2d5;border-radius:3px;overflow:hidden}.progress-track div{border-radius:2px;background:linear-gradient(180deg,#8ed4ff,#45acfa 43%,#117bda 51%,#218fe8);box-shadow:inset 0 1px #ffffff94;transition:width .15s ease-out}:root[data-theme=dark] .progress-track{background:#303d4b;border-color:#52687d}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .progress-track{background:#303d4b;border-color:#52687d}}@media(prefers-reduced-motion:reduce){.progress-track div{transition:none}}
