.security-section{border-top:1px solid var(--line);padding-top:28px;margin-top:32px}.security-section form{max-width:440px}.email-notice{border-left:3px solid #6be3ff;padding:8px 0 8px 18px;margin:24px 0}.auth-links{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;margin-top:18px;font-size:12px}.auth button.link-button{background:transparent;border:0;padding:0;min-height:28px;color:#9ae8f5;text-decoration:underline}.order-filter{display:flex;gap:10px;align-items:center;margin:14px 0}.order-filter input{width:auto;margin:0}.mail-tools{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.email-notice button{margin-top:8px}.auth [role=status]{line-height:1.65}#action-status{line-height:1.7}.auth-card input:focus{border-color:#77d2e8}.portal .sidebar a.active{background:#2d4250!important;color:#b5f3ff!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.feature-card:hover{transform:none}}
@media(max-width:760px){.auth-links{flex-direction:column;gap:8px}.portal-nav{padding:0 20px}.admin-shell table{min-width:860px}}
.admin-shell .badge.failed{background:#452c32;color:#ffb7bf}.admin-shell .badge.cancelled{background:#343a40;color:#c5cbd1}.admin-shell .badge.pending,.admin-shell .badge.sending{background:#3d382a;color:#f1d38a}
.header .signin{background:transparent!important;border:1px solid #303a49;border-radius:6px;padding:10px 14px;color:#ecf4f7}
.admin-shell .badge{white-space:nowrap;min-width:72px;text-align:center;word-break:normal;overflow-wrap:normal}.admin-shell table{min-width:860px}.admin-shell [data-action]{white-space:nowrap}
/* Decorative layers stay behind the content and cannot intercept controls. */
html{background:#05070a}
body{position:relative;isolation:isolate;min-height:100vh;background:#05070a;color:#f7f9ff}
body::before{content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;background:radial-gradient(ellipse at 18% 22%,rgba(130,92,255,.18),transparent 48%),radial-gradient(ellipse at 82% 18%,rgba(35,214,255,.12),transparent 46%),linear-gradient(180deg,#05070a 0%,#070b12 48%,#05070a 100%)}
body::after{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;opacity:.25;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,#000,transparent 85%)}
#nexus-ambience{position:fixed;inset:0;z-index:-1;pointer-events:none;user-select:none;opacity:0;background:radial-gradient(320px circle at var(--pointer-x,50%) var(--pointer-y,30%),rgba(130,92,255,.09),transparent 68%);transition:opacity .25s ease}
#nexus-ambience[data-active=true]{opacity:1}
body .features-section,body .pricing-section,body .game-ready,body .final-cta{background:rgba(9,13,21,.35)}
body .live-section{background:rgba(7,10,17,.72)}
body .footer{background:rgba(7,10,17,.58);background-image:none}
body .portal-nav,body .header{background:rgba(5,7,10,.86)}
body .button.primary,body button.primary,body .nav-cta,body .checkout-page #pay{background:linear-gradient(135deg,#b8aaff,#6be3ff);color:#070912;border-color:transparent;border-radius:8px;box-shadow:0 12px 40px rgba(82,120,255,.2);transition:filter .2s ease,box-shadow .2s ease}
body .button.primary:hover,body button.primary:hover,body .nav-cta:hover,body .checkout-page #pay:hover{background:linear-gradient(135deg,#b8aaff,#6be3ff);filter:brightness(1.05);box-shadow:0 14px 42px rgba(82,120,255,.26)}
body .button.secondary-button,body .header .signin{background:rgba(255,255,255,.045)!important;color:#dbe2f1;border:1px solid rgba(255,255,255,.14);border-radius:8px}
body .button.secondary-button:hover,body .header .signin:hover{background:rgba(255,255,255,.075)!important}
@media(max-width:640px),(pointer:coarse),(prefers-reduced-motion:reduce){#nexus-ambience{display:none}}
@media(forced-colors:active){body::before,body::after,#nexus-ambience{display:none}}
/* Navigation uses the existing section observer and mobile menu behavior. */
body .header{border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 8px 32px rgba(0,0,0,.12);backdrop-filter:blur(20px) saturate(125%)}
body .header .nav{height:88px;gap:22px}
body .desktop-nav{gap:2px;padding:4px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(255,255,255,.025);box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
body .desktop-nav a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:10px 13px;border-radius:5px;font-size:12px;font-weight:550;line-height:20px;letter-spacing:0;color:#abb5c9;white-space:nowrap;transition:color .18s ease,background .18s ease}
body .desktop-nav a:hover,body .desktop-nav a:focus-visible{color:#f7f9ff;background:rgba(255,255,255,.055)}
body .desktop-nav a.active{color:#f1edff;background:rgba(184,170,255,.1)}
body .desktop-nav a::after{content:"";position:absolute;width:auto;height:2px;left:13px;right:13px;bottom:3px;border-radius:1px;background:linear-gradient(90deg,#b8aaff,#6be3ff);opacity:0;transform:scaleX(.35);transition:transform .2s ease,opacity .2s ease}
body .desktop-nav a.active::after{opacity:1;transform:scaleX(1)}
body .header .nav-actions{gap:12px;flex-shrink:0}
body .header .signin{min-height:42px;padding:10px 14px;gap:8px}
body .header .nav-download{min-height:42px;box-shadow:0 4px 20px rgba(82,120,255,.14)}
@media(min-width:1001px) and (max-width:1190px){body .desktop-nav a{padding-inline:9px}body .header .nav{gap:16px}}
@media(max-width:1000px){body .header .nav{height:76px}body .mobile-menu{padding:12px 24px 20px;background:rgba(9,13,21,.98);border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 24px 40px rgba(0,0,0,.25)}body .mobile-menu>a{min-height:48px;border-bottom:1px solid rgba(255,255,255,.055);color:#dbe2f1}body .mobile-menu>a:hover{color:#6be3ff}body .header .menu-trigger{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);border-radius:8px}}
@media(max-width:700px){body .header .nav{height:72px;gap:10px}body .header .nav-actions{gap:8px}body .header .nav-download{min-height:40px}}
/* Portal header spans the viewport; its content aligns with the account workspace. */
body .portal-nav{max-width:none;width:100%;margin:0;min-height:80px;height:auto;padding:20px max(24px,calc((100% - 1176px)/2));gap:20px;background:rgba(5,7,10,.22);border-bottom:1px solid rgba(255,255,255,.075)}
body .portal-nav>a:last-child:not(.brand){font-size:13px;font-weight:600;color:#c7d2e4;min-height:40px;display:inline-flex;align-items:center;padding:8px 0;text-align:right}
body .portal-nav>a:last-child:not(.brand):hover{color:#6be3ff;text-decoration:none}
@media(max-width:600px){body .portal-nav{padding:14px 20px;min-height:72px;gap:16px}body .portal-nav .brand{font-size:16px}body .portal-nav>a:last-child:not(.brand){font-size:12px;max-width:50%}}
