:root{color-scheme:dark;--bg:#0b1220;--surface:#111c2e;--surface-2:#162338;--surface-3:#1b2a42;--text:#f2f6ff;--muted:#91a0b8;--line:rgba(173,194,230,.13);--blue:#4384ff;--blue-2:#2f6de6;--violet:#9b7bff;--green:#42d6a0;--red:#ff747d;--shadow:0 24px 70px rgba(0,0,0,.25)}
:root[data-theme="light"]{color-scheme:light;--bg:#f3f6fc;--surface:#fff;--surface-2:#f6f8fd;--surface-3:#edf2fb;--text:#172237;--muted:#68758a;--line:rgba(46,69,107,.13);--blue:#2869e9;--blue-2:#1c58cf;--violet:#7658db;--green:#159d6c;--red:#d64b58;--shadow:0 24px 70px rgba(30,52,88,.09)}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 18% 0%,rgba(53,112,220,.13),transparent 35%),radial-gradient(ellipse at 90% 20%,rgba(136,98,224,.08),transparent 30%),var(--bg);color:var(--text);font-family:Inter,"Noto Sans JP",system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}.hidden{display:none!important}.app-shell{width:min(1160px,calc(100% - 48px));margin:0 auto;min-height:100vh;display:flex;flex-direction:column}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;color:var(--text);font-size:20px;font-weight:800;letter-spacing:-.7px;text-decoration:none}.brand-light{font-weight:500;color:var(--muted)}.brand-mark{width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#5795ff,#2865df);display:grid;place-items:center;box-shadow:0 8px 22px rgba(54,120,240,.28)}.brand-mark svg{width:21px;height:21px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.topbar-right{display:flex;align-items:center;gap:18px}.privacy-pill{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.privacy-pill i,.eyebrow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(66,214,160,.12)}.icon-button{height:36px;width:36px;border:1px solid var(--line);border-radius:11px;background:var(--surface);display:grid;place-items:center;color:var(--muted)}.icon-button svg,.copy-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.home-view{padding:68px 0 48px}.hero-copy{text-align:center;margin:0 auto 42px}.eyebrow{color:#73a6ff;font-size:10px;font-weight:800;letter-spacing:2.7px;display:flex;justify-content:center;align-items:center;gap:10px}.eyebrow-dot{width:6px;height:6px;box-shadow:none}.hero-copy h1{font-size:clamp(38px,6vw,62px);letter-spacing:-2.6px;line-height:1.18;margin:17px 0 14px;font-weight:800}.hero-copy h1 span{background:linear-gradient(100deg,#70a6ff,#a58bff);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-copy p{font-size:14px;line-height:1.9;color:var(--muted);margin:0}.connect-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:850px;margin:0 auto}.connect-card{background:linear-gradient(150deg,var(--surface),var(--surface-2));border:1px solid var(--line);border-radius:20px;padding:28px 30px 26px;box-shadow:var(--shadow);min-width:0}.card-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;margin-bottom:20px}.card-icon svg,.panel-heading-icon svg,.device-count-icon svg,.feature-icon svg,.upload-icon svg,.mini-file svg,.transfer-file-icon svg,.modal-icon svg,.safety-check svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.card-icon.blue{background:rgba(67,132,255,.15);color:#78a9ff}.card-icon.violet{background:rgba(155,123,255,.15);color:#b49cff}.connect-card h2{font-size:19px;margin:0 0 8px;letter-spacing:-.4px}.connect-card>p{font-size:12px;line-height:1.85;color:var(--muted);min-height:43px;margin:0 0 23px}.field-label{display:block;font-size:11px;color:var(--muted);font-weight:700;margin:0 0 8px}.text-input{width:100%;height:46px;border:1px solid var(--line);background:var(--bg);border-radius:11px;padding:0 14px;color:var(--text);outline:none;transition:border .2s,box-shadow .2s}.text-input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(67,132,255,.13)}.code-input{font-weight:800;letter-spacing:3px;text-transform:uppercase}.primary-button,.secondary-button{height:46px;border:0;border-radius:11px;padding:0 17px;font-weight:700;font-size:12px;display:flex;justify-content:center;align-items:center;gap:12px;transition:transform .15s,filter .15s,opacity .15s}.primary-button{color:#fff;background:linear-gradient(100deg,var(--blue),var(--blue-2));box-shadow:0 7px 20px rgba(46,107,225,.22)}.secondary-button{color:var(--text);background:var(--surface-3);border:1px solid var(--line)}.connect-card .primary-button,.connect-card .secondary-button{width:100%;margin-top:13px}.primary-button:hover:not(:disabled),.secondary-button:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.08)}.primary-button:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.primary-button span,.secondary-button span{font-size:18px;font-weight:400;line-height:1}.feature-strip{display:flex;justify-content:center;gap:44px;margin:42px auto 0}.feature-strip>div{display:flex;align-items:center;gap:12px}.feature-icon{width:35px;height:35px;border:1px solid var(--line);border-radius:11px;display:grid;place-items:center;color:#79a9ff;background:var(--surface)}.feature-icon svg{width:17px;height:17px}.feature-strip b,.feature-strip small{display:block}.feature-strip b{font-size:10px;margin-bottom:4px}.feature-strip small{font-size:9px;color:var(--muted)}footer{margin-top:auto;height:66px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}footer b{padding:0 5px;color:var(--blue)}
.room-view{padding:36px 0 42px}.room-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.back-button{padding:0;border:0;background:none;color:var(--muted);font-size:11px;margin-bottom:15px}.back-button:hover{color:var(--text)}.room-title-line{display:flex;align-items:center;gap:14px}.room-title-line h1{font-size:28px;letter-spacing:-1px;margin:0}.room-heading>div:first-child>p{font-size:12px;color:var(--muted);margin:7px 0 0}.status-chip{display:inline-flex;align-items:center;gap:7px;border-radius:99px;padding:6px 10px;font-size:10px;font-weight:700;background:var(--surface-2);color:var(--muted)}.status-chip i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-chip.connected{color:var(--green);background:rgba(66,214,160,.1)}.status-chip.connecting{color:#e7b65c;background:rgba(231,182,92,.1)}.status-chip.offline{color:var(--red);background:rgba(255,116,125,.1)}.room-code-box{width:215px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:12px 15px}.room-code-box>span{font-size:9px;color:var(--muted);display:block;margin-bottom:4px}.room-code-box>div{display:flex;align-items:center;justify-content:space-between}.room-code-box strong{font-size:22px;letter-spacing:3px}.copy-button{height:29px;width:29px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--muted);display:grid;place-items:center}.copy-button svg{width:15px;height:15px}.invite-button{border:0;padding:8px 0 0;background:none;color:#77a8ff;font-size:10px;font-weight:700}.notice{display:flex;align-items:center;gap:11px;background:rgba(67,132,255,.08);border:1px solid rgba(67,132,255,.17);color:var(--muted);padding:12px 15px;border-radius:11px;font-size:10px;line-height:1.7;margin-bottom:18px}.notice-symbol{height:19px;min-width:19px;border-radius:50%;display:grid;place-items:center;background:rgba(67,132,255,.18);color:#8cb7ff;font-weight:800}.room-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);gap:18px;align-items:start}.main-column,.side-column{min-width:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:21px;box-shadow:0 12px 35px rgba(0,0,0,.07)}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:17px}.panel-heading h2{font-size:15px;margin:0 0 5px}.panel-heading p{color:var(--muted);font-size:10px;margin:0}.panel-heading-icon,.device-count-icon{width:36px;height:36px;border-radius:11px;background:var(--surface-3);color:#80adff;display:grid;place-items:center}.panel-heading-icon svg,.device-count-icon svg{width:19px;height:19px}.drop-zone{border:1.5px dashed rgba(105,151,226,.35);background:linear-gradient(145deg,rgba(58,117,216,.055),rgba(132,105,220,.035));border-radius:14px;min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:border .2s,background .2s;outline:none;text-align:center;padding:22px}.drop-zone:hover,.drop-zone:focus,.drop-zone.dragover{border-color:var(--blue);background:rgba(67,132,255,.1)}.upload-icon{width:48px;height:48px;border-radius:15px;background:rgba(67,132,255,.14);color:#81aeff;display:grid;place-items:center;margin-bottom:12px}.upload-icon svg{width:24px;height:24px}.drop-zone strong{font-size:12px;margin-bottom:7px}.drop-zone>span{font-size:10px;color:var(--muted)}.drop-zone>small{margin-top:12px;font-size:9px;color:var(--muted);opacity:.8}.selected-files{display:grid;gap:7px;margin-top:12px}.selected-file{min-width:0;display:flex;align-items:center;gap:9px;background:var(--surface-2);border:1px solid var(--line);border-radius:9px;padding:8px 10px}.mini-file{width:27px;height:27px;display:grid;place-items:center;background:var(--surface-3);border-radius:7px;color:var(--muted)}.mini-file svg{width:15px;height:15px}.selected-file-name{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.selected-file small{font-size:9px;color:var(--muted);white-space:nowrap}.selected-file button{border:0;background:none;color:var(--muted);font-size:17px;line-height:1;padding:2px 4px}.selected-file button:hover{color:var(--red)}.send-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 22px}.selection-summary{font-size:10px;color:var(--muted)}.send-actions .primary-button{min-width:170px}.transfer-list-wrap{border-top:1px solid var(--line);padding-top:17px}.subsection-title{font-size:11px;font-weight:800;margin-bottom:10px}.transfer-list{display:grid;gap:9px}.empty-state{font-size:10px;color:var(--muted);text-align:center;padding:18px 8px;background:var(--surface-2);border:1px dashed var(--line);border-radius:10px}.transfer-row{display:flex;gap:10px;align-items:flex-start;padding:10px;background:var(--surface-2);border:1px solid var(--line);border-radius:10px;min-width:0}.transfer-file-icon{width:30px;height:30px;flex:0 0 30px;border-radius:8px;background:var(--surface-3);color:#85adf7;display:grid;place-items:center}.transfer-file-icon svg{width:16px;height:16px}.transfer-main{flex:1;min-width:0}.transfer-name-line{display:flex;justify-content:space-between;align-items:center;gap:10px}.transfer-name-line b{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transfer-status{font-size:9px;color:var(--muted);white-space:nowrap}.progress-track{height:4px;background:var(--surface-3);border-radius:5px;overflow:hidden;margin:8px 0 6px}.progress-track span{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,var(--blue),#8c8aff);transition:width .15s}.transfer-foot{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:9px}.transfer-direction{margin-left:auto}.download-link{color:#82adff;text-decoration:none;font-weight:700}.download-link:hover{text-decoration:underline}.side-column{display:grid;gap:14px}.devices-panel{padding:19px}.panel-heading.compact{align-items:center;margin-bottom:12px}.panel-heading.compact h2{font-size:13px}.panel-heading.compact p{font-size:9px}.panel-heading.compact p b{color:var(--text)}.device-count-icon{width:34px;height:34px}.device-list{display:grid}.device-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line)}.device-avatar{width:31px;height:31px;border-radius:10px;background:linear-gradient(145deg,#7866d8,#4e71d9);color:white;display:grid;place-items:center;font-size:10px;font-weight:800;flex:0 0 31px}.device-avatar.self{background:linear-gradient(145deg,#4384ff,#2863d5)}.device-meta{min-width:0;flex:1}.device-meta b,.device-meta small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-meta b{font-size:10px}.device-meta small{font-size:9px;color:var(--muted);margin-top:3px}.device-dot{height:7px;width:7px;border-radius:50%;background:#d4a85a;box-shadow:0 0 0 3px rgba(212,168,90,.1)}.device-dot.online{background:var(--green);box-shadow:0 0 0 3px rgba(66,214,160,.1)}.device-footnote{border-top:1px solid var(--line);padding-top:11px;margin-top:3px;color:var(--muted);font-size:9px}.safety-panel{padding:17px}.safety-title{display:flex;align-items:center;gap:9px;font-size:11px}.safety-check{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;color:var(--green);background:rgba(66,214,160,.12)}.safety-check svg{width:15px;height:15px}.safety-panel p{font-size:9px;line-height:1.8;color:var(--muted);margin:11px 0 0}.safety-panel .safety-small{font-size:8px;opacity:.8}.modal{position:fixed;inset:0;z-index:20;background:rgba(4,9,18,.72);backdrop-filter:blur(8px);display:grid;place-items:center;padding:20px}.modal-card{width:min(420px,100%);background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:var(--shadow);text-align:center}.modal-icon{width:51px;height:51px;border-radius:16px;background:rgba(67,132,255,.14);color:#8bb5ff;display:grid;place-items:center;margin:0 auto 16px}.modal-kicker{font-size:9px;font-weight:800;letter-spacing:2px;color:#82aaff}.modal-card h2{font-size:19px;margin:9px 0}.modal-card p{font-size:11px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:21px 0 12px}.modal-card small{font-size:9px;line-height:1.6;color:var(--muted)}.toast-region{position:fixed;z-index:40;right:22px;bottom:20px;display:grid;gap:8px;max-width:min(370px,calc(100% - 44px))}.toast{background:var(--surface-3);color:var(--text);border:1px solid var(--line);border-radius:11px;padding:12px 15px;font-size:11px;box-shadow:var(--shadow);animation:toast-in .2s ease}.toast.success{border-color:rgba(66,214,160,.35)}.toast.error{border-color:rgba(255,116,125,.4)}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:850px){.feature-strip{gap:20px;flex-wrap:wrap}.room-layout{grid-template-columns:minmax(0,1fr) 280px}.panel{padding:17px}.room-heading{align-items:flex-start}}
@media(max-width:680px){.app-shell{width:min(100% - 30px,520px)}.topbar{height:67px}.privacy-pill{display:none}.home-view{padding:48px 0 32px}.hero-copy{margin-bottom:30px}.hero-copy h1{font-size:41px;letter-spacing:-1.8px}.hero-copy p{font-size:12px}.connect-grid{grid-template-columns:1fr;gap:12px}.connect-card{padding:22px}.connect-card>p{min-height:0;margin-bottom:18px}.card-icon{margin-bottom:14px}.feature-strip{display:grid;grid-template-columns:1fr;gap:13px;max-width:300px;margin-top:28px}.feature-strip b{font-size:10px}.feature-strip small{font-size:9px}.room-view{padding:24px 0 32px}.room-heading{display:block}.room-title-line h1{font-size:24px}.room-code-box{margin-top:17px;width:100%}.room-layout{grid-template-columns:1fr}.side-column{grid-template-columns:1fr}.send-actions{align-items:stretch;flex-direction:column}.send-actions .primary-button{width:100%}.drop-zone{min-height:180px}.notice{align-items:flex-start}.room-title-line{flex-wrap:wrap}.transfer-name-line{align-items:flex-start;flex-direction:column;gap:3px}.transfer-status{white-space:normal}footer{height:58px}.desktop-only{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
