:root{color-scheme:dark;--bg:#000;--surface:#0a0a0b;--raised:#111113;--border:#242427;--border2:#323236;--text:#f7f7f8;--muted:#929298;--faint:#606066;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{min-height:100dvh;-webkit-font-smoothing:antialiased}button,input,a{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.hidden{display:none!important}.soft-glow{position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 50% -18%,rgba(255,255,255,.075),transparent 34%)}.app-shell{position:relative;max-width:680px;min-height:100dvh;margin:auto}.topbar{position:sticky;z-index:20;top:0;display:flex;height:calc(54px + var(--safe-top));align-items:center;justify-content:space-between;padding:var(--safe-top) 16px 0;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.82);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:9px;border:0;background:none;padding:0;color:var(--text);font-size:17px;font-weight:650;letter-spacing:-.025em}.logo{display:grid;width:26px;height:26px;place-items:center;border:1px solid var(--border2);border-radius:7px;background:var(--raised);font-size:11px;font-weight:800}.icon-btn{display:grid;width:36px;height:36px;place-items:center;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text)}.icon-btn.ghost{border:0;background:transparent}.icon-btn svg,.menu-row>svg{width:17px;height:17px;stroke-width:1.75}.content{padding:calc(28px + var(--safe-top)) 16px calc(88px + var(--safe-bottom))}.view{animation:enter .18s ease}@keyframes enter{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}.page-head{margin:3px 0 20px}.kicker{display:block;margin-bottom:6px;color:var(--faint);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.page-head h1{margin:0;font-size:27px;line-height:1.12;letter-spacing:-.04em}.page-head p{max-width:390px;margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.list{display:flex;flex-direction:column;gap:9px}.subscription,.category-card,.profile-card{border:1px solid var(--border);border-radius:12px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012))}.subscription{padding:15px}.subscription-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sub-type{display:flex;align-items:center;gap:10px}.sub-icon{display:grid;width:34px;height:34px;place-items:center;border:1px solid var(--border);border-radius:9px;background:var(--raised)}.sub-icon svg{width:17px;height:17px;stroke-width:1.6}.subscription h2{margin:0;font-size:15px;font-weight:630;letter-spacing:-.02em}.subscription .subline{margin:3px 0 0;color:var(--muted);font-size:11px}.status{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:10px}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:#fff}.status.expired:before{background:var(--faint)}.sub-info{display:grid;grid-template-columns:1fr 1fr;margin:13px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.info-cell{display:flex;align-items:center;gap:8px;padding:10px 3px}.info-cell+ .info-cell{border-left:1px solid var(--border);padding-left:12px}.info-cell svg{width:15px;height:15px;color:var(--faint);stroke-width:1.6}.info-cell small,.info-cell b{display:block}.info-cell small{color:var(--faint);font-size:9px}.info-cell b{margin-top:2px;font-size:11px;font-weight:600}.sub-actions{display:flex;gap:7px}.btn{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:7px;border-radius:9px;padding:0 13px;text-decoration:none;font-size:12px;font-weight:650;cursor:pointer}.btn svg{width:15px;height:15px;stroke-width:1.8}.btn.primary{border:1px solid #fff;background:#fff;color:#000}.btn.secondary{border:1px solid var(--border);background:var(--surface);color:var(--text)}.btn.compact{min-height:36px}.btn.full{width:100%;margin-top:9px}.btn:disabled{cursor:not-allowed;opacity:.45}.sub-actions .btn{flex:1}.block{margin-top:26px}.block-title{display:flex;align-items:center;gap:10px;margin-bottom:10px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.block-title span:last-child{height:1px;flex:1;background:var(--border)}.notice-list{display:flex;flex-direction:column;gap:7px}.notice{border-left:1px solid var(--border2);padding:7px 10px}.notice b{font-size:12px}.notice p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.category-card{display:grid;min-height:80px;grid-template-columns:42px minmax(0,1fr) 16px;align-items:center;gap:11px;padding:13px 15px;text-align:left;color:var(--text);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}.category-icon{display:grid;width:40px;height:40px;place-items:center;border:1px solid var(--border);border-radius:10px;background:var(--raised)}.category-icon svg{width:19px;height:19px;stroke-width:1.6}.category-copy h2{margin:0;font-size:15px}.category-copy p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.35}.category-card>.chevron{width:16px;height:16px;color:var(--faint)}.trial-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;border:1px dashed var(--border2);border-radius:10px;padding:11px 13px}.trial-row b,.trial-row small{display:block}.trial-row b{font-size:12px}.trial-row small{margin-top:2px;color:var(--muted);font-size:9px}.profile-card{padding:15px}.profile-card h2{margin:0;font-size:16px}.profile-card>p{margin:4px 0 13px;color:var(--muted);font-size:11px}.profile-meta{display:flex;gap:16px;border-top:1px solid var(--border);padding-top:11px}.profile-meta div{flex:1}.profile-meta small,.profile-meta b{display:block}.profile-meta small{color:var(--faint);font-size:9px}.profile-meta b{margin-top:2px;font-size:11px}.settings-cards{display:flex;flex-direction:column;gap:8px;margin-top:10px}.setting-card{display:grid;width:100%;min-height:58px;grid-template-columns:32px 1fr 18px;align-items:center;gap:10px;border:1px solid var(--border);border-radius:11px;background:linear-gradient(145deg,rgba(255,255,255,.03),rgba(255,255,255,.01));padding:8px 12px;color:var(--text);text-align:left;text-decoration:none}.menu-icon{display:grid;width:30px;height:30px;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--raised)}.menu-icon svg{width:15px;height:15px;stroke-width:1.7}.setting-card b,.setting-card small{display:block}.setting-card b{font-size:12px}.setting-card small{margin-top:2px;color:var(--muted);font-size:9px}.setting-card>svg{width:17px;height:17px;color:var(--faint);stroke-width:1.75}.version{text-align:center;color:var(--faint);font-size:9px;margin-top:18px}.bottom-nav{position:fixed;z-index:25;right:0;bottom:0;left:0;display:grid;height:calc(62px + var(--safe-bottom));grid-template-columns:repeat(3,1fr);padding:5px max(10px,calc((100vw - 650px)/2)) var(--safe-bottom);border-top:1px solid rgba(255,255,255,.09);background:rgba(5,5,5,.9);backdrop-filter:blur(20px)}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:8px;background:transparent;color:var(--faint);font-size:9px}.bottom-nav button.active{color:var(--text);background:transparent}.bottom-nav svg{width:19px;height:19px;stroke-width:1.7}.state{display:flex;min-height:58dvh;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center}.state h1{margin:5px 0 0;font-size:20px}.state p{max-width:300px;margin:0 0 5px;color:var(--muted);font-size:12px;line-height:1.5}.state-icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--border);border-radius:11px}.state-icon svg{width:19px}.loader{width:22px;height:22px;border:2px solid var(--border);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.backdrop{position:fixed;z-index:40;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(3px)}.sheet{position:fixed;z-index:45;right:0;bottom:0;left:0;max-height:88dvh;overflow:auto;border:1px solid var(--border);border-bottom:0;border-radius:16px 16px 0 0;background:#0a0a0b;padding:7px 16px calc(18px + var(--safe-bottom));animation:up .2s ease}.sheet>*{max-width:648px;margin-right:auto;margin-left:auto}@keyframes up{from{transform:translateY(100%)}to{transform:none}}.sheet-grabber{width:32px;height:3px;margin-bottom:13px;border-radius:2px;background:#3b3b40}.sheet-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:15px}.sheet-head h2{margin:0;font-size:19px;letter-spacing:-.025em}.option-list{display:flex;flex-direction:column;gap:6px}.option{display:flex;width:100%;min-height:52px;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:9px;background:transparent;padding:8px 11px;color:var(--text);text-align:left}.option.active{border-color:#6d6d72;background:var(--raised)}.option b,.option small{display:block}.option b{font-size:12px}.option small{margin-top:2px;color:var(--muted);font-size:9px}.option strong{font-size:12px}.sheet-section{margin-top:14px}.field-label{display:block;margin-bottom:6px;color:var(--muted);font-size:10px}.input-line{display:flex;gap:6px}.input-line input{min-width:0;height:36px;flex:1;border:1px solid var(--border);border-radius:8px;background:#000;padding:0 10px;color:var(--text);outline:none;text-transform:uppercase;font-size:12px}.input-line input:focus{border-color:#55555a}.summary{display:flex;align-items:center;justify-content:space-between;margin:14px 0 10px;border-top:1px solid var(--border);padding-top:12px}.summary span{color:var(--muted);font-size:11px}.summary strong{font-size:17px}.pay-list,.manage-list{display:flex;flex-direction:column;gap:6px}.pay-row,.manage-row{display:grid;width:100%;min-height:52px;grid-template-columns:32px 1fr 18px;align-items:center;gap:9px;border:1px solid var(--border);border-radius:9px;background:var(--raised);padding:7px 10px;color:var(--text);text-align:left}.pay-row svg,.manage-row svg{width:16px;height:16px;stroke-width:1.7}.pay-row b,.pay-row small,.manage-row b,.manage-row small{display:block}.pay-row b,.manage-row b{font-size:12px}.pay-row small,.manage-row small{margin-top:2px;color:var(--muted);font-size:9px}.stepper{display:grid;grid-template-columns:36px 1fr 36px;align-items:center;margin:12px 0;border:1px solid var(--border);border-radius:9px;overflow:hidden}.stepper button{height:38px;border:0;background:var(--raised);color:var(--text);font-size:17px}.stepper span{text-align:center;font-size:13px}.hint{margin:8px 0;color:var(--muted);font-size:10px;line-height:1.45}.toast{position:fixed;z-index:60;right:16px;bottom:calc(75px + var(--safe-bottom));left:16px;max-width:520px;margin:auto;border:1px solid var(--border2);border-radius:9px;background:#171719;padding:11px 13px;color:#fff;font-size:11px;box-shadow:0 12px 35px rgba(0,0,0,.45)}.back-link{display:inline-flex;align-items:center;gap:6px;margin:0 0 18px;border:0;background:transparent;padding:0;color:var(--muted);font-size:11px}.back-link svg{width:15px;height:15px}.manage-hero{border:1px solid var(--border);border-radius:13px;background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.012));padding:16px}.manage-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.manage-title h1{margin:0;font-size:22px;letter-spacing:-.035em}.manage-title p{margin:5px 0 0;color:var(--muted);font-size:11px}.manage-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:14px}.manage-actions .wide{grid-column:1/-1}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.stat-card{border:1px solid var(--border);border-radius:10px;background:var(--surface);padding:10px}.stat-card svg{width:15px;height:15px;margin-bottom:8px;color:var(--faint)}.stat-card small,.stat-card b{display:block}.stat-card small{color:var(--faint);font-size:8px}.stat-card b{margin-top:3px;font-size:10px}.traffic-card,.devices-section{margin-top:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);padding:14px}.section-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-row h2{margin:0;font-size:13px}.section-row span{color:var(--muted);font-size:10px}.progress{height:5px;margin-top:11px;overflow:hidden;border-radius:3px;background:var(--raised)}.progress span{display:block;height:100%;border-radius:3px;background:#e5e5e7}.device-list{display:flex;flex-direction:column;gap:7px;margin-top:11px}.device-row{display:grid;grid-template-columns:31px minmax(0,1fr) 32px;align-items:center;gap:9px;border:1px solid var(--border);border-radius:9px;padding:8px}.device-row .device-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:7px;background:var(--raised)}.device-row svg{width:15px;height:15px}.device-row b,.device-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-row b{font-size:11px}.device-row small{margin-top:2px;color:var(--muted);font-family:ui-monospace,monospace;font-size:8px}.device-row button{display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--muted)}.empty-devices{margin:11px 0 0;color:var(--muted);font-size:10px}.icon-btn svg,.setting-card>svg{width:17px;height:17px;stroke-width:1.75}@media(min-width:700px){.content{padding-right:22px;padding-left:22px}.sheet{right:calc((100vw - 680px)/2);left:calc((100vw - 680px)/2)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
