/* glass.css — the launch/driver look for the small standalone pages (404, payment
   confirmation, OAuth result, communities). Loaded after site.css on pages whose
   <body> carries .gl: void black with a blue glow, frosted-glass windows, Mohave
   headlines, glass buttons. No CRT overlay. */
@font-face{font-family:'Mohave';src:url('/assets/fonts/Mohave-700.woff2') format('woff2');font-weight:700;font-display:swap}

.gl{--gl-bg:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.015));--gl-bd:rgba(255,255,255,.13);
  --gl-hi:inset 0 1px 0 rgba(255,255,255,.15);--gb-bg:linear-gradient(180deg,rgba(var(--acc-rgb),.45),rgba(var(--acc-rgb),.15));--gb-bd:rgba(var(--acc-rgb),.6);
  background:#010203;background-image:radial-gradient(1100px 560px at 50% -180px,rgba(var(--acc-rgb),.13),transparent 70%),radial-gradient(800px 500px at 50% 120%,rgba(var(--acc-rgb),.06),transparent 70%);background-attachment:fixed}
.gl .crt-overlay,.gl .crt-scanline{display:none}

/* header + buttons */
.gl .cn-site-header{background:rgba(1,2,3,.55);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.07)}
.gl .cn-btn{border-radius:12px;border:1px solid rgba(255,255,255,.14);color:#e9edf0;background:var(--gl-bg);box-shadow:var(--gl-hi);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .2s cubic-bezier(.2,.8,.2,1),border-color .2s,box-shadow .2s}
.gl .cn-btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.28)}
.gl .cn-btn-primary{border-radius:999px;color:#f0faff;background:var(--gb-bg);border-color:var(--gb-bd);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 24px -4px rgba(var(--acc-rgb),.6);text-shadow:none}
.gl .cn-btn-primary:hover{border-color:rgba(var(--acc-rgb),.9);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 0 34px -2px rgba(var(--acc-rgb),.75)}
.gl .cn-btn-pill{border-radius:999px}

/* glass windows */
.gl .cn-box{border-radius:20px;overflow:hidden;border:1px solid var(--gl-bd);background:var(--gl-bg),rgba(4,6,8,.6);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:var(--gl-hi),0 40px 90px -40px #000}
.gl .cn-box-head{background:none;border-bottom:1px solid rgba(255,255,255,.08);padding:.8rem 1.1rem}
.gl .cn-box-title{letter-spacing:.24em;color:rgba(233,237,240,.45)}
.gl .cn-dots span{border-radius:50%}

/* status pages: 404, payment, oauth */
.gl .cn-prompt-line{letter-spacing:.3em;color:rgba(233,237,240,.45)}
.gl .cn-status-code{font-family:'Mohave',sans-serif;font-weight:700;letter-spacing:.04em;line-height:.9;
  background:linear-gradient(180deg,var(--cn-blue-h) 10%,var(--cn-blue) 90%);-webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:none;filter:drop-shadow(0 0 28px rgba(var(--acc-rgb),.35))}
.gl .cn-status-title{font-family:'Mohave',sans-serif;font-weight:700;letter-spacing:.06em;text-transform:uppercase;text-shadow:none;color:#f2f6f8}
.gl .cn-status-sub{color:rgba(233,237,240,.6)}
.gl .cn-status-box{max-width:560px}
.gl .cn-status-line .k{color:var(--cn-blue)}
.gl .cn-status-icon{border-radius:50%;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.12),rgba(255,255,255,.02));
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.gl .cn-status-icon.is-ok{color:#5eff9a;border-color:rgba(94,255,154,.5);box-shadow:0 0 30px -4px rgba(94,255,154,.45),inset 0 1px 0 rgba(255,255,255,.15)}
.gl .cn-status-details{border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.025)}
.gl .cn-status-row{border-color:rgba(255,255,255,.06)}
.gl .cn-status-spinner{border-radius:50%}

/* communities */
.gl .com-head .cn-h1{font-family:'Mohave',sans-serif;font-weight:700;letter-spacing:.06em;text-transform:uppercase;text-shadow:none;
  font-size:clamp(2.4rem,6vw,4.2rem);line-height:.95;color:#f2f6f8}
.gl .com-card{border-radius:24px;border:1px solid var(--gl-bd);box-shadow:var(--gl-hi),0 40px 100px -40px #000;overflow:hidden}
.gl .com-card:hover{border-color:rgba(var(--acc-rgb),.35)}
.gl .com-overlay{background:radial-gradient(70% 80% at 50% 50%,rgba(1,2,3,.72),rgba(1,2,3,.35))}
.gl .com-title{font-family:'Mohave',sans-serif;font-weight:700;letter-spacing:.04em;text-transform:uppercase;text-shadow:none;font-size:clamp(1.6rem,3.4vw,2.4rem)}
.gl .com-join{border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 12px 34px -10px rgba(0,0,0,.6);transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s}
.gl .com-join:hover{transform:translateY(-2px)}
.gl .is-skool .com-join{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 30px -6px rgba(245,200,66,.6)}
.gl .is-discord .com-join{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 30px -6px rgba(88,101,242,.7)}
.gl .is-telegram .com-join{box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 30px -6px rgba(42,171,238,.7)}
.gl .com-tag{border-radius:999px}
/* the header and the community cards carry their own corner rules; glass wins */
.gl .cn-site-header .cn-btn,.gl .cn-site-header .cn-icon-btn{border-radius:2px !important}
.gl .cn-btn{border-radius:12px !important}
.gl .cn-btn-primary,.gl .cn-btn-pill{border-radius:999px !important}
.gl .com-card .com-join{border-radius:999px !important}

/* 404 in the countdown's dust: the real text keeps the layout, the canvas draws it */
.gl main.cn-status{position:relative}
.gl main.cn-status > *:not(.dust-text){position:relative;z-index:1}
.gl .dust-text{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
.gl .cn-status-code .dl{display:inline-block}
.gl .cn-status-code.is-dust{filter:none;background:none;color:transparent;-webkit-text-fill-color:transparent}
.gl .cn-status-code.is-dust .dl{color:transparent;-webkit-text-fill-color:transparent;background:none}
.gl .cn-status-code{font-size:clamp(6rem,18vw,11rem)}

/* status icons: glass discs, the mark lit in its colour */
.gl .cn-status-icon{width:72px;height:72px;font-size:0;border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.02)),rgba(8,11,14,.5);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.gl .cn-status-icon svg{filter:drop-shadow(0 0 6px currentColor)}
.gl .cn-status-icon.is-ok{color:#5eff9a;border:1px solid rgba(94,255,154,.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -10px 20px -10px rgba(94,255,154,.35),0 0 34px -6px rgba(94,255,154,.5)}
.gl .cn-status-icon.is-err{color:#ff7a7a;border:1px solid rgba(255,110,110,.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -10px 20px -10px rgba(255,110,110,.35),0 0 34px -6px rgba(255,110,110,.5)}
/* the disc itself takes the colour: tinted glass all the way through */
.gl .cn-status-icon.is-ok{background:radial-gradient(circle at 50% 30%,rgba(94,255,154,.55),rgba(30,170,90,.38) 60%,rgba(20,120,60,.32)) !important;color:#eafff2}
.gl .cn-status-icon.is-err{background:radial-gradient(circle at 50% 30%,rgba(255,130,130,.55),rgba(220,60,60,.38) 60%,rgba(150,30,30,.32)) !important;color:#fff0f0}
.gl .cn-status-icon.is-ok svg,.gl .cn-status-icon.is-err svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.gl .cn-status-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.gl .cn-status-actions .cn-btn{box-sizing:border-box;max-width:100%}
