:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:#07080c;color:#f7f6f2;--ink:#f7f6f2;--muted:#9a9ca8;--panel:#111319;--line:#252833;--red:#ff4d5e;--lime:#b9f36b}*{box-sizing:border-box}html{background:#07080c;min-width:320px;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 70% -20%,#22202d 0,transparent 34rem),#07080c}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);background:#15171e;color:var(--ink);border-radius:999px;padding:.72rem 1.1rem;cursor:pointer;transition:transform .18s,background .18s,border-color .18s}button:hover:not(:disabled){background:#20232d;border-color:#404554;transform:translateY(-1px)}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--lime);outline-offset:4px}.primary{color:#07080c!important;background:var(--lime)!important;border-color:var(--lime)!important;font-weight:800;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.wide{width:100%}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#0b0c11;padding:.85rem 1rem;outline:none}textarea{resize:vertical;min-height:8rem}.vpn-config-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.85rem}.discover-progress{grid-column:1/-1;height:6px;border-radius:4px;background:#262a35;overflow:hidden}.discover-progress-bar{height:100%;background:var(--lime);transition:width .3s ease}label{display:grid;gap:.45rem;color:#c5c7cf;font-size:.86rem;font-weight:600}h1,h2,h3,p{margin-top:0}h1,h2,.brand{font-family:Inter,ui-sans-serif,system-ui,sans-serif}h1{font-size:clamp(2.3rem,5vw,5.2rem);line-height:.95;letter-spacing:-.055em}h2{letter-spacing:-.025em}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.18em;color:var(--lime);font-size:.72rem;font-weight:800}.notice{padding:.8rem 1rem;border-radius:12px;background:#20251c;border:1px solid #3c492b;color:#d7edbd}.notice.error{background:#2c151a;border-color:#6f2735;color:#ffb4be}.brand{display:inline-flex;align-items:center;gap:.58rem;padding:0;border:0;background:transparent!important;border-radius:0;transform:none!important}.brand span{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--lime);color:#07080c}.brand span svg{width:58%;height:58%}.brand b{font-size:1.15rem;letter-spacing:.13em}.loading{min-height:70vh;display:grid;place-content:center;justify-items:center;color:var(--muted)}.loading span{width:40px;height:40px;border:3px solid #262a35;border-top-color:var(--lime);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:2rem;position:relative;overflow:hidden}.auth-atmosphere{position:absolute;width:60vw;height:60vw;max-width:760px;max-height:760px;border-radius:44% 56% 64% 36%;background:conic-gradient(from 30deg,#6936ff,#ff4d5e,#f6b93b,#6936ff);filter:blur(80px);opacity:.18;animation:drift 14s ease-in-out infinite alternate}@keyframes drift{to{transform:translate(14vw,-8vh) rotate(35deg)}}.login-card{z-index:1;width:min(440px,100%);padding:2.2rem;border-radius:28px;border:1px solid rgba(255,255,255,.11);background:#0c0d12d6;box-shadow:0 30px 90px #0009;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.login-card .brand{margin-bottom:3rem}.login-card h1{font-size:3.4rem;margin-bottom:.8rem}.login-card form{display:grid;gap:1rem;margin-top:2rem}.security-note{text-align:center;color:#686b76;font-size:.75rem;margin:1.4rem 0 0}.profile-shell{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:2.5rem 4vw}.profile-shell>.brand{align-self:flex-start}.profile-shell>section{margin:auto;text-align:center;width:100%}.profile-shell h1{font-size:clamp(2.5rem,6vw,5rem)}.profile-grid{display:flex;justify-content:center;flex-wrap:wrap;gap:clamp(1rem,3vw,2.5rem);margin-top:3rem}.profile{width:150px;display:grid;justify-items:center;gap:.55rem;border:0;background:transparent;border-radius:20px;padding:.7rem}.profile:hover{background:#12141a;transform:translateY(-5px)}.avatar{width:2.6rem;aspect-ratio:1;display:inline-grid;place-items:center;border-radius:32%;font-size:1.2rem;background:linear-gradient(135deg,#6e3cff,#cf6eff);box-shadow:inset 0 0 0 1px #fff2;margin-right:.6rem;vertical-align:middle}.avatar.ember{background:linear-gradient(135deg,#ff4d5e,#ff9b4a)}.avatar.moon{background:linear-gradient(135deg,#3448bc,#73a9ff)}.avatar.leaf{background:linear-gradient(135deg,#238a70,#7ee08b)}.profile .avatar{width:118px;font-size:3rem;margin-right:0}.profile small{color:var(--muted)}.modal-backdrop{position:fixed;inset:0;z-index:30;background:#020308db;display:grid;place-items:center;padding:1rem;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.modal{width:min(480px,100%);padding:2rem;border-radius:24px;background:#12141a;border:1px solid #30333e;box-shadow:0 28px 100px #000;display:grid;gap:1rem}.modal h2{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:.7rem}.pin{font-size:2rem;text-align:center;letter-spacing:.5em}header{height:74px;position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:3rem;padding:0 4vw;background:linear-gradient(#07080cf2,#07080cc7);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid #ffffff0a}header nav{display:flex;gap:.25rem}header nav button,.header-actions button{border:0;background:transparent;padding:.55rem .8rem;color:#b4b6c0}header nav button:hover,.header-actions button:hover{color:#fff;background:#181a21}header nav .active{color:var(--lime);box-shadow:inset 0 0 0 1px #b9f36b55}.header-actions{margin-left:auto;display:flex;gap:.25rem}.header-actions .active{color:var(--lime);box-shadow:inset 0 0 0 1px #b9f36b55}.header-actions .profile-chip{color:var(--lime);background:#171b12;box-shadow:inset 0 0 0 1px #b9f36b33}.page{min-height:75vh;padding:6rem 4vw}.page>h1{margin-bottom:2rem}.admin-page{max-width:1400px;margin:auto}.tabs{display:flex;gap:.5rem;margin-bottom:2rem}.tabs .active{color:var(--lime);border-color:#b9f36b88}.panel{background:#101218;border:1px solid #252833;border-radius:20px;padding:1.5rem}.manual-source{display:grid;grid-template-columns:1fr minmax(150px,260px) minmax(250px,1fr) auto;align-items:center;gap:1rem;margin-bottom:1rem}.manual-source h2,.manual-source p{margin-bottom:.35rem}.manual-source p,.discovery p{color:var(--muted);font-size:.86rem}.discovery{display:grid;grid-template-columns:1fr minmax(250px,500px) auto;align-items:center;gap:1rem}.discovery h2,.discovery p{margin-bottom:.35rem}.source-list{display:grid;gap:.75rem;margin-top:1.5rem}.source-list article{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1.2rem 1.4rem;background:#0e1015;border:1px solid #22252e;border-radius:16px}.source-list h3{display:inline;margin:.4rem}.source-list p,.source-list small{color:var(--muted);margin:.25rem 0}.source-url{color:#b8bbc5;word-break:break-all;border:0;border-radius:4px;background:transparent;padding:0;text-align:left}.source-url:hover{color:var(--lime);background:transparent!important;transform:none!important}.source-list article>div:last-child{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.source-open{display:inline-flex;align-items:center;color:var(--lime);text-decoration:none;border:1px solid #4d6531;border-radius:999px;padding:.72rem 1.1rem}.status{display:inline-block;padding:.27rem .55rem;border-radius:999px;background:#343641;color:#c8cad1;font-size:.64rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.status.approved{background:#173522;color:#8defa6}.status.quarantined,.status.review{background:#3a3017;color:#ffd46d}.status.rejected,.status.disabled{background:#35191d;color:#ff9ba6}.star{color:var(--lime);margin-right:.3rem}.browser-stage{position:relative;height:calc(100dvh - 74px);overflow:hidden;background:#000}.browser-stage:fullscreen{height:100dvh}.browser-stage iframe{width:100%;height:100%;border:0;display:block;background:#000}.browser-controls{position:absolute;z-index:4;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:max(.85rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) .85rem max(1rem,env(safe-area-inset-left));background:linear-gradient(#000c,transparent);pointer-events:none;opacity:.2;transition:opacity .2s}.browser-stage:hover .browser-controls,.browser-controls:focus-within{opacity:1}.browser-controls button{pointer-events:auto;background:#08090dcc;border-color:#ffffff35;box-shadow:0 6px 24px #0008;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.browser-controls-right{display:flex;align-items:center;gap:.5rem;pointer-events:none}.browser-controls .fullscreen-btn{width:2.6rem;height:2.6rem;padding:0;display:grid;place-items:center;font-size:1.15rem;line-height:1;background:#00000040;border-color:#fff2;box-shadow:none}.browser-controls .fullscreen-btn:hover{background:#00000070;border-color:#ffffff40;transform:none}.browser-controls span{color:#d5d6dc;font-size:.78rem;font-weight:700;text-shadow:0 2px 8px #000}.browser-loading{position:absolute;z-index:3;inset:0;display:grid;place-content:center;justify-items:center;text-align:center;gap:.75rem;background:radial-gradient(circle at 50% 35%,#20242f,#07080c 55%);padding:2rem}.browser-loading .loading{min-height:auto}.browser-loading p{margin:0;color:#d8dae1}.browser-loading small{color:var(--muted)}.settings-search{max-width:420px;margin-bottom:1.5rem}.pairing{min-height:100vh;display:grid;place-content:center;justify-items:center;text-align:center;padding:2rem}.pairing .brand{position:absolute;top:3rem;left:4vw}.pairing h1{margin:.5rem}.pairing p{color:var(--muted)}.pairing strong{font:800 clamp(4rem,13vw,9rem)/1 ui-sans-serif,system-ui,sans-serif;letter-spacing:.12em;color:var(--lime);margin:2rem}.pairing small{color:#696c77}footer{min-height:100px;padding:2rem 4vw;border-top:1px solid #1c1e26;display:flex;align-items:center;gap:1.5rem;color:#666975;font-size:.8rem}footer button:last-child{margin-left:auto}.tv-mode button,.tv-mode a{min-height:54px}.tv-mode *:focus{outline:5px solid var(--lime)!important;outline-offset:6px!important}.tv-mode header{height:90px}.tv-mode .browser-stage{height:calc(100dvh - 90px)}@media(max-width:900px){header{gap:1rem;padding:0 1rem}header .brand b{display:none}header nav{overflow:auto}header nav button{padding:.5rem}.header-actions button:last-child{display:none}.page{padding:4rem 1rem}.manual-source,.discovery{grid-template-columns:1fr}.source-list article{align-items:flex-start;flex-direction:column}.source-list article>div:last-child{justify-content:flex-start}}@media(max-width:520px){.login-card{padding:1.5rem}.login-card h1{font-size:2.8rem}.profile{width:125px}.profile .avatar{width:96px}.modal-actions button{flex:1}footer{align-items:flex-start;flex-wrap:wrap}footer span{width:100%}footer button:last-child{margin-left:0}}@media(hover:none){.browser-controls{opacity:1}.browser-controls span{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
