:root{color-scheme:dark;--bg:#090914;--surface:#121224;--surface-2:#17172b;--line:rgba(174,166,255,.14);--text:#f7f6ff;--muted:#9b9aae;--purple:#9187f7;--purple-light:#beb7ff;--green:#5ed39a;--red:#ee7781;--orange:#f3ad67;--blue:#74a7ff}
*{box-sizing:border-box}
html{min-width:320px;min-height:100%;background:var(--bg)}
body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden;background:radial-gradient(circle at 65% 35%,rgba(64,55,145,.11),transparent 28%),linear-gradient(145deg,#090913,#080811 65%,#0d0c19);color:var(--text);font-family:"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button{color:inherit}a{color:inherit}
svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ambient{position:fixed;z-index:-1;inset:0;overflow:hidden;pointer-events:none}.ambient::after{position:absolute;inset:0;content:"";opacity:.16;background-image:radial-gradient(rgba(206,202,255,.75) .6px,transparent .6px);background-size:64px 64px}.ambient span{position:absolute;width:38rem;height:38rem;border-radius:50%;filter:blur(120px);opacity:.1}.ambient span:first-child{top:-18rem;left:-8rem;background:#6556d1}.ambient span:last-child{right:-10rem;bottom:-20rem;background:#3d55b5}
.site-header{position:relative;z-index:20;width:min(100% - 64px,1320px);height:88px;margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid rgba(255,255,255,.07)}
.brand{display:inline-flex;align-items:center;gap:10px;width:max-content;color:var(--text);text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.14em}.brand strong{color:var(--purple-light)}.brand-mark{width:38px;height:38px;color:#a59eff}.brand-mark svg{width:100%;height:100%}
.main-nav{height:100%;display:flex}.nav-link{position:relative;height:88px;min-width:106px;padding:0 19px;border:0;background:transparent;color:#9291a9;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;cursor:pointer}.nav-link svg{width:17px;height:17px}.nav-link:hover,.nav-link.active{color:#e7e4ff}.nav-link.active::after{position:absolute;right:18px;bottom:-1px;left:18px;height:2px;background:#9187f7;content:"";box-shadow:0 0 12px rgba(145,135,247,.65)}
.eyebrow{display:flex;align-items:center;gap:12px;margin:0;color:#aaa5e9;font-size:10px;font-weight:750;letter-spacing:.18em}.eyebrow>span{width:24px;height:1px;background:#a39aff}.eyebrow--center{justify-content:center}.eyebrow--center>span{width:18px}
.button{min-height:46px;padding:0 20px;border:1px solid transparent;border-radius:10px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:700;cursor:pointer;transition:.18s ease}.button svg{width:17px;height:17px}.button--primary{background:linear-gradient(135deg,#9187f7,#756bd8);color:#fff;box-shadow:0 8px 28px rgba(117,107,216,.18)}.button--primary:hover{transform:translateY(-1px);box-shadow:0 10px 34px rgba(117,107,216,.28)}.button--ghost{border-color:rgba(174,166,255,.16);background:rgba(255,255,255,.025);color:#d7d4ee}.button--ghost:hover{border-color:rgba(174,166,255,.32);background:rgba(255,255,255,.05)}.button--small{min-height:38px;padding:0 15px;font-size:12px}.button--full{width:100%}.button--danger{border-color:rgba(238,119,129,.18);background:rgba(238,119,129,.07);color:#f19aa2}.button:disabled{cursor:not-allowed;opacity:.55}
.loading-spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.28);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.account-menu{justify-self:end}.account-trigger{position:relative}.account-button{height:42px;padding:0 10px 0 6px;border:1px solid rgba(174,166,255,.15);border-radius:10px;background:rgba(255,255,255,.025);display:flex;align-items:center;gap:8px;cursor:pointer}.account-button>svg{width:15px;height:15px}.avatar{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#948afa,#6860bd);display:grid;place-items:center;font-size:12px;font-weight:800}.account-dropdown{position:absolute;z-index:30;top:50px;right:0;width:190px;padding:6px;border:1px solid var(--line);border-radius:12px;background:#151524;box-shadow:0 18px 45px rgba(0,0,0,.35)}.account-dropdown a,.account-dropdown button{width:100%;height:42px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#cccadd;text-decoration:none;display:flex;align-items:center;gap:9px;font-size:13px;cursor:pointer}.account-dropdown a:hover,.account-dropdown button:hover{background:rgba(255,255,255,.05);color:#fff}.account-dropdown svg{width:16px;height:16px}
.toast-region{position:fixed;z-index:100;right:20px;bottom:20px;width:min(360px,calc(100vw - 40px));display:flex;flex-direction:column;gap:8px}.toast{min-height:58px;padding:12px 42px 12px 14px;border:1px solid var(--line);border-left-width:3px;border-radius:10px;background:rgba(20,20,36,.96);box-shadow:0 16px 40px rgba(0,0,0,.32);display:flex;align-items:center;gap:11px;font-size:13px;line-height:1.4;animation:toast-in .25s ease}.toast--success{border-left-color:var(--green)}.toast--error{border-left-color:var(--red)}.toast--warning{border-left-color:var(--orange)}.toast--info{border-left-color:var(--blue)}.toast-icon{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;border:1px solid currentColor;font-size:11px;font-weight:800}.toast--success{color:#d9f8e8}.toast--error{color:#ffd9dc}.toast--warning{color:#ffe7cc}.toast--info{color:#dbe8ff}.toast button{position:absolute;right:10px;border:0;background:transparent;cursor:pointer;color:#aaaabd}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}}
.modal-backdrop{position:fixed;z-index:80;inset:0;padding:20px;background:rgba(5,5,12,.72);backdrop-filter:blur(12px);display:grid;place-items:center}.modal-backdrop[hidden]{display:none}.modal{position:relative;width:min(480px,100%);padding:38px 36px 34px;border:1px solid rgba(174,166,255,.16);border-radius:18px;background:linear-gradient(145deg,#171729,#111120);box-shadow:0 28px 80px rgba(0,0,0,.48);text-align:center;animation:modal-in .22s ease}.modal-close{position:absolute;top:14px;right:14px;width:34px;height:34px;border:0;border-radius:8px;background:rgba(255,255,255,.04);display:grid;place-items:center;cursor:pointer}.modal-close svg{width:17px;height:17px}.modal-icon{width:58px;height:58px;margin:0 auto 18px;border:1px solid rgba(174,166,255,.22);border-radius:50%;background:rgba(145,135,247,.08);display:grid;place-items:center;color:#aaa2ff}.modal-icon svg{width:27px;height:27px}.modal h2{margin:18px 0 10px;font-size:28px}.modal>p:not(.eyebrow){max-width:390px;margin:0 auto;color:var(--muted);font-size:14px;line-height:1.7}.modal-actions{margin-top:25px;display:grid;grid-template-columns:1fr 1fr;gap:10px}@keyframes modal-in{from{opacity:0;transform:scale(.98) translateY(8px)}} 
@media(max-width:680px){.site-header{width:calc(100% - 36px);height:67px;grid-template-columns:1fr auto}.brand{font-size:10px}.brand-mark{width:32px;height:32px}.main-nav{position:fixed;z-index:50;right:0;bottom:0;left:0;height:68px;padding-bottom:env(safe-area-inset-bottom);justify-content:center;border-top:1px solid var(--line);background:rgba(10,10,20,.94);backdrop-filter:blur(18px)}.nav-link{min-width:110px;height:68px;flex-direction:column;gap:4px;padding:7px;font-size:10px}.nav-link svg{width:19px;height:19px}.nav-link.active::after{right:27px;bottom:66px;left:27px}.account-menu{grid-column:2}.account-button{max-width:150px}.account-button>span[data-account-name]{max-width:92px;overflow:hidden;text-overflow:ellipsis}.toast-region{bottom:82px}.modal{padding:34px 20px 24px}.modal-actions{grid-template-columns:1fr}.modal h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
