@font-face{font-family:Manrope;src:url(/assets/manrope-variable-DHIcAJRg.woff2)format("woff2");font-style:normal;font-weight:200 800;font-display:swap}:root{color:#131722;font-synthesis:none;--bg:#f8faff;--surface:#fff;--surface-soft:#f1f4fb;--text:#131722;--muted:#6f7789;--border:#e3e8f2;--accent:#5b5ff2;--accent-2:#696df8;--accent-text:#fff;--cursor:#131722;background:#f8faff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{color:#eef1f7;--bg:#10151d;--surface:#151b25;--surface-soft:#1b2330;--text:#eef1f7;--muted:#8993a5;--border:#242d3b;--cursor:#eef1f7;background:#10151d}*{box-sizing:border-box}body{background:var(--bg);min-width:320px;min-height:100vh;color:var(--text);margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}.brand{white-space:nowrap;cursor:default;-webkit-user-select:none;user-select:none;align-items:center;gap:12px;font-size:22px;display:inline-flex}.brand *{cursor:default}.brand strong{letter-spacing:-.025em;font-family:Manrope,ui-sans-serif,system-ui,sans-serif;font-weight:600}.brand-link{color:inherit;border-radius:8px;text-decoration:none}.brand-link:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.brand-button{background:0 0;border:0;width:fit-content;padding:0}.logo{width:34px;height:34px;display:block}.icon-button,.github-button{border:1px solid var(--border);background:color-mix(in srgb, var(--surface) 86%, transparent);height:42px;color:var(--text);border-radius:12px;justify-content:center;align-items:center;display:inline-flex;box-shadow:0 5px 18px #2c37570d}.icon-button{width:48px}.theme-icon,.settings-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;display:block}.sun-icon{width:24px;height:24px}.moon-icon{width:20px;height:20px}.settings-icon{width:21px;height:21px}.github-button{gap:8px;padding:0 17px;font-weight:650;text-decoration:none}.github-button img{width:18px;height:18px}[data-theme=dark] .github-button img{filter:invert()}.primary-button{background:linear-gradient(135deg, var(--accent-2), var(--accent));color:#fff;border:0;border-radius:12px;padding:15px 22px;font-weight:650}.home{background:radial-gradient(circle at 90% 100%, #5e8dff38, transparent 28%), radial-gradient(circle at 2% 45%, #7f61ff14, transparent 25%), var(--bg);grid-template-rows:auto 1fr auto;min-height:100vh;display:grid;position:relative;overflow:hidden}.home:before{content:"";pointer-events:none;opacity:.15;background-image:radial-gradient(#525c821f .7px,#0000 .7px);background-size:18px 18px;position:absolute;inset:0}.home-header{z-index:1;justify-content:space-between;align-items:center;padding:28px 5vw;display:flex}.home-actions{gap:14px;display:flex}.hero{z-index:1;text-align:center;width:min(610px,100% - 40px);margin:auto;padding-bottom:40px}.hero-mark{filter:drop-shadow(0 18px 24px #5b5ff240);width:112px;height:112px;margin-bottom:12px;display:inline-block}.hero h1{letter-spacing:-.045em;margin:0;font-family:Manrope,ui-sans-serif,system-ui,sans-serif;font-size:clamp(48px,7vw,68px);font-weight:600;line-height:1}.hero p{color:var(--muted);margin:24px 0 42px;font-size:20px}.hero .primary-button{grid-template-columns:32px 1fr 32px;align-items:center;gap:18px;width:min(100%,610px);min-height:70px;padding:0 38px;font-size:20px;display:grid;box-shadow:0 18px 34px #5357eb47}.cta-sparkle,.cta-arrow{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:28px;height:28px}.cta-sparkle{fill:currentColor;stroke-width:0}.cta-sparkle path+path{fill:none;stroke:currentColor;stroke-width:1.9px}.name-card input{border:1px solid var(--border);min-width:0;color:var(--text);background:var(--surface);border-radius:12px;outline:none;flex:1;padding:0 18px}.name-card input:focus{border-color:#7779ef;box-shadow:0 0 0 3px #6366f11f}.error{font-size:13px;color:#c44747!important;margin:14px 0 0!important}.home-footer{z-index:1;grid-template-columns:repeat(3,1fr);gap:0;width:min(880px,100% - 40px);margin:0 auto;padding:30px 0 7vh;display:grid}.home-footer div{text-align:center;flex-direction:column;align-items:center;gap:9px;padding:0 34px;display:flex}.home-footer div+div{border-left:1px solid var(--border)}.home-footer img{width:28px;height:28px;margin-bottom:16px}[data-theme=dark] .home-footer img{filter:invert()}.home-footer strong{font-size:14px}.home-footer span{color:var(--muted);font-size:14px}.name-screen{background:radial-gradient(circle at 50% 100%, #5b5ff22e, transparent 40%), var(--bg);place-items:center;min-height:100vh;padding:20px;display:grid}.name-card{border:1px solid var(--border);background:var(--surface);border-radius:22px;flex-direction:column;gap:15px;width:min(440px,100%);padding:38px;display:flex;box-shadow:0 24px 70px #1d233c21}.name-card h1{letter-spacing:-.045em;margin:18px 0 0;font-size:30px}.name-card p{color:var(--muted);margin:0 0 8px;line-height:1.5}.name-card input{flex:none;height:52px}.name-card .primary-button{height:52px}.room{background:var(--surface);grid-template-rows:76px minmax(0,1fr) 30px;height:100vh;display:grid}.room-header{border-bottom:1px solid var(--border);background:var(--surface);align-items:center;padding:0 28px;display:flex}.room-brand{color:inherit}.room-actions{align-items:center;gap:14px;margin-left:auto;display:flex}.room-control-group{align-items:center;gap:8px;display:flex}.room-action-divider{background:var(--border);width:1px;height:28px}.room-actions .icon-button{height:44px}.leave-room-button{border:1px solid var(--border);color:#b64242;background:var(--surface);border-radius:11px;align-items:center;gap:7px;height:44px;padding:0 14px;font-size:13px;font-weight:650;text-decoration:none;display:inline-flex}.leave-room-button:hover{border-color:color-mix(in srgb, #c44747 42%, var(--border));background:color-mix(in srgb, #c44747 8%, var(--surface))}.leave-room-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.leave-room-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.participants{padding-left:10px;display:flex}.participants span{color:#fff;border:2px solid var(--surface);cursor:default;-webkit-user-select:none;user-select:none;border-radius:50%;place-items:center;width:38px;height:38px;margin-left:-10px;font-weight:700;display:grid;position:relative;box-shadow:0 4px 12px #00000026}.participants span:before{content:attr(data-name);z-index:30;border:1px solid var(--border);background:var(--surface);color:var(--text);white-space:nowrap;pointer-events:none;opacity:0;border-radius:8px;padding:6px 9px;font:600 11px/1.2 Inter,sans-serif;transition:opacity .14s ease-out,transform .14s ease-out;position:absolute;top:calc(100% + 10px);left:50%;transform:translate(-50%,4px)scale(.96);box-shadow:0 10px 28px #0f14232e}.participants span:after{content:"";z-index:29;border-left:1px solid var(--border);border-top:1px solid var(--border);background:var(--surface);pointer-events:none;opacity:0;width:9px;height:9px;transition:opacity .14s ease-out;position:absolute;top:calc(100% + 5px);left:50%;transform:translate(-50%)rotate(45deg)}.participants span:hover{z-index:31}.participants span:hover:before{opacity:1;transform:translate(-50%)scale(1)}.participants span:hover:after{opacity:1}.share-control,.settings-control,.leave-room-control{position:relative}.copy-button{background:linear-gradient(135deg, var(--accent-2), var(--accent));color:#fff;border:0;border-radius:11px;height:44px;padding:0 23px;font-size:15px;font-weight:650}.editor{background:var(--surface);min-height:0;overflow:hidden}.cm-editor{background:var(--surface);height:100%;color:var(--text);font:16px/1.75 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.cm-editor.cm-focused{outline:none}.cm-cursor,.cm-dropCursor{border-left:2px solid var(--local-cursor,var(--cursor))!important;margin-left:-1px!important}.cm-selectionBackground{background:color-mix(in srgb, var(--local-cursor,var(--cursor)) 22%, transparent)!important}.cm-content ::selection{background:color-mix(in srgb, var(--local-cursor,var(--cursor)) 22%, transparent)!important}.cm-scroller{background:linear-gradient(to right, var(--surface-soft) 0 64px, var(--surface) 64px);padding:28px 14px}.cm-gutters{margin-top:-28px;padding:28px 14px 0 8px;background:var(--surface-soft)!important;color:var(--muted)!important;border:0!important}.cm-activeLine:not(.cm-yLineSelection),.cm-activeLineGutter{background:color-mix(in srgb, var(--surface-soft) 65%, transparent)!important}.cm-activeLine.cm-yLineSelection{box-shadow:inset 0 0 0 9999px color-mix(in srgb, var(--text) 8%, transparent)}.cm-ySelectionCaret{vertical-align:text-bottom;border-left-width:2px!important;border-right:0!important;width:0!important;height:1.35em!important;margin:0 -1px!important;display:inline-block!important}.cm-ySelection,.cm-yLineSelection{border-radius:3px}.cm-ySelectionInfo{text-overflow:ellipsis;pointer-events:none;max-width:160px;transform:translateY(calc(-3px + var(--remote-label-offset,0px)));overflow:hidden;color:#fff!important;border-radius:5px!important;padding:4px 8px!important;font:600 11px/1.2 Inter,sans-serif!important}.remote-cursor-names .cm-ySelectionCaretDot{display:none}.remote-cursor-names .cm-ySelectionInfo{transition:opacity .14s ease-out;opacity:1!important}.remote-cursor-label-group-hover>.cm-ySelectionCaretDot{transform-origin:bottom;transform:scale(0)}.remote-cursor-label-group-hover>.cm-ySelectionInfo{opacity:1!important;transition-delay:0s!important}.remote-cursor-names .cm-ySelectionCaret:hover>.cm-ySelectionInfo,.remote-cursor-names .remote-cursor-label-hover>.cm-ySelectionInfo,.remote-cursor-names .remote-cursor-label-near-local>.cm-ySelectionInfo{opacity:.28!important}.statusbar{border-top:1px solid var(--border);color:var(--muted);background:var(--surface);align-items:center;gap:24px;padding:0 18px;font:11px ui-monospace,SFMono-Regular,Menlo,monospace;display:flex}.statusbar span:nth-child(2){margin-left:auto}.connection:before{content:"";background:#d1953b;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.connection.connected:before{background:#3aae69}.connection.disconnected:before{background:#c44747}.share-popover{z-index:20;border:1px solid var(--border);background:var(--surface);transform-origin:100% 0;border-radius:16px;width:min(380px,100vw - 28px);padding:20px;animation:.16s ease-out share-popover-in;position:absolute;top:calc(100% + 12px);right:0;box-shadow:0 20px 55px #0f142333}.share-popover:before{content:"";border-left:1px solid var(--border);border-top:1px solid var(--border);background:var(--surface);width:11px;height:11px;position:absolute;top:-6px;right:34px;transform:rotate(45deg)}.share-popover h2,.settings-popover h2{letter-spacing:-.025em;margin:0 0 5px;font-family:Manrope,ui-sans-serif,system-ui,sans-serif;font-size:17px}.share-popover p,.settings-popover p{color:var(--muted);margin:0 0 14px;font-size:13px}.share-value{gap:7px;display:flex}.share-value input{border:1px solid var(--border);background:var(--surface-soft);min-width:0;height:40px;color:var(--text);border-radius:9px;outline:none;flex:1;padding:0 11px;font:11px ui-monospace,SFMono-Regular,Menlo,monospace}.share-value input:focus{border-color:#7779ef;box-shadow:0 0 0 3px #6366f11f}.share-value button{background:var(--accent);color:#fff;border:0;border-radius:9px;flex:none;min-width:68px;padding:0 12px;font-weight:650}.share-popover small{min-height:16px;color:var(--muted);align-items:center;gap:6px;margin-top:10px;font-size:11px;line-height:1.4;display:flex}.share-popover small svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:13px;height:13px}.settings-popover,.leave-popover{z-index:20;border:1px solid var(--border);background:var(--surface);transform-origin:100% 0;border-radius:16px;width:280px;padding:18px;animation:.16s ease-out share-popover-in;position:absolute;top:calc(100% + 12px);right:0;box-shadow:0 20px 55px #0f142333}.settings-popover h2,.leave-popover h2{letter-spacing:-.025em;margin:0 0 5px;font-family:Manrope,ui-sans-serif,system-ui,sans-serif;font-size:17px}.settings-popover p,.leave-popover p{color:var(--muted);margin:0 0 14px;font-size:13px}.settings-popover label{cursor:pointer;border-radius:10px;align-items:flex-start;gap:10px;padding:10px;display:flex}.settings-popover label:hover{background:var(--surface-soft)}.settings-popover input{accent-color:var(--accent);margin-top:3px}.settings-popover span{flex-direction:column;gap:2px;display:flex}.settings-popover strong{font-size:13px}.settings-popover small{color:var(--muted);font-size:11px}.settings-divider{background:var(--border);height:1px;margin:8px 0}.theme-setting{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:10px;justify-content:space-between;align-items:center;padding:10px;display:flex}.theme-setting:hover{background:var(--surface-soft)}.theme-setting span{flex-direction:column;gap:2px;display:flex}.theme-setting .theme-icon{width:20px;height:20px}.leave-popover{width:300px}.leave-popover div{justify-content:flex-end;gap:8px;display:flex}.leave-popover button,.leave-popover a{text-align:center;border-radius:9px;min-width:76px;padding:9px 12px;font-size:12px;font-weight:650;text-decoration:none}.leave-popover button{border:1px solid var(--border);background:var(--surface);color:var(--text)}.leave-popover a{color:#fff;background:#c44747;border:0}@keyframes share-popover-in{0%{opacity:0;transform:translateY(-5px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.center-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100vh;padding:30px;display:flex}.center-state h1{letter-spacing:-.04em;margin:24px 0 0}.center-state p{color:var(--muted);margin:0 0 20px}@media (width<=680px){.home-header{padding:18px}.github-button{display:none}.hero{padding-bottom:20px}.hero h1{font-size:50px}.home-footer{grid-template-columns:1fr;gap:16px;padding-bottom:30px}.home-footer div{padding:18px 0}.home-footer div+div{border-top:1px solid var(--border);border-left:0}.room-header{gap:12px;padding:0 12px}.room-header .brand strong{display:none}.room-actions{gap:8px}.room-action-divider{height:24px}.participants span{width:32px;height:32px}.leave-room-button{justify-content:center;width:44px;padding:0;font-size:0}.share-popover{transform-origin:top;width:auto;position:fixed;top:70px;left:10px;right:10px}.share-popover:before{right:76px}.settings-popover,.leave-popover{transform-origin:top;width:auto;position:fixed;top:70px;left:10px;right:10px}.statusbar{gap:12px;padding:0 10px}}@media (width<=480px){.participants{display:none}}
