/* Velora 4.7.3 — full-screen Minecraft authentication experience */
body.auth-standalone{
  --auth-accent:var(--accent,#f97316);
  --auth-accent-soft:var(--accent2,#fb923c);
  --auth-bg:#0d0906;
  --auth-panel:rgba(18,13,10,.88);
  --auth-panel-strong:rgba(22,15,11,.96);
  --auth-panel-soft:rgba(255,255,255,.055);
  --auth-line:rgba(251,146,60,.18);
  --auth-line-soft:rgba(255,255,255,.08);
  --auth-text:#fff7ed;
  --auth-muted:#b8aaa0;
  --auth-wallpaper-overlay:linear-gradient(90deg,rgba(4,9,18,.28),rgba(4,9,18,.56) 58%,rgba(4,9,18,.76));
  min-height:100svh;
  margin:0;
  overflow-x:hidden;
  position:relative;
  isolation:isolate;
  color:var(--auth-text);
  background:#07101c;
}
body.auth-standalone::before{
  content:none;
  display:none;
}
body.auth-standalone::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 19% 42%,rgba(249,115,22,.16),transparent 33%),
    linear-gradient(90deg,rgba(4,9,18,.2),rgba(4,9,18,.55) 56%,rgba(4,9,18,.78));
  pointer-events:none;
}
.auth-fullscreen-main{
  min-height:100svh;
  width:100%;
  display:grid;
  place-items:center;
  padding:clamp(18px,3vw,42px);
  position:relative;
  z-index:0;
  background:var(--auth-wallpaper-overlay),url('/assets/theme/auth-voxel-castle-v1.png') center/cover fixed!important;
}
.auth-fullscreen-main::before,
.auth-fullscreen-main::after{
  content:none!important;
  display:none!important;
}
.auth-flash-wrap{
  position:fixed;
  left:50%;
  top:18px;
  transform:translateX(-50%);
  width:min(620px,calc(100% - 28px));
  z-index:20;
  margin:0;
}
.auth-screen{
  width:min(1480px,100%);
  min-height:min(860px,calc(100svh - clamp(36px,6vw,84px)));
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(430px,.72fr);
  gap:clamp(18px,2vw,30px);
  align-items:stretch;
}
.auth-screen.auth-screen-register{grid-template-columns:minmax(0,1fr) minmax(470px,.78fr)}
.auth-showcase,
.auth-card-v2{
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 32px 100px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(24px) saturate(1.12);
  -webkit-backdrop-filter:blur(24px) saturate(1.12);
}
.auth-showcase{
  min-width:0;
  position:relative;
  overflow:hidden;
  border-radius:30px;
  padding:clamp(30px,5.2vw,72px);
  background:linear-gradient(145deg,rgba(6,12,23,.68),rgba(9,12,19,.5));
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  isolation:isolate;
}
.auth-showcase::before{
  content:"";
  position:absolute;
  inset:22px;
  border:1px solid rgba(249,115,22,.1);
  border-radius:23px;
  pointer-events:none;
  z-index:-1;
}
.auth-showcase::after{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-46px;
  top:-54px;
  border:22px solid rgba(249,115,22,.09);
  border-radius:36px;
  transform:rotate(22deg);
  animation:authAccentDrift 9s ease-in-out infinite;
  z-index:-1;
}
.auth-showcase-top{position:relative;z-index:1}
.auth-brand-chip{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--auth-text);
  text-decoration:none;
  margin-bottom:clamp(38px,7vh,84px);
}
.auth-brand-chip img{max-width:172px;max-height:48px;object-fit:contain;object-position:left center}
.auth-brand-mark{
  width:46px;
  height:46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#f97316;
  color:#1a0d05;
  font-weight:950;
  font-size:19px;
  box-shadow:0 10px 30px rgba(249,115,22,.2);
}
.auth-brand-copy{min-width:0}
.auth-brand-copy b,.auth-brand-copy small{display:block}
.auth-brand-copy b{font-size:15px;letter-spacing:-.01em}
.auth-brand-copy small{color:var(--auth-muted);font-size:10px;margin-top:2px}
.auth-showcase .eyebrow{color:#fb923c;letter-spacing:.14em;font-weight:900}
.auth-showcase h1{
  max-width:760px;
  margin:14px 0 18px;
  color:var(--auth-text);
  font:850 clamp(42px,5.2vw,76px)/.98 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.auth-showcase>div>p,.auth-showcase-top>p{
  max-width:660px;
  margin:0;
  color:var(--auth-muted);
  font-size:clamp(14px,1.3vw,17px);
  line-height:1.75;
}
.auth-info-table{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:clamp(34px,6vh,74px);
  position:relative;
  z-index:1;
}
.auth-info-card{
  min-width:0;
  min-height:112px;
  padding:17px;
  border:1px solid var(--auth-line-soft);
  border-radius:18px;
  background:rgba(255,255,255,.045);
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:11px;
  align-content:center;
  transition:transform .22s ease,border-color .22s ease,background .22s ease;
  animation:authCardIn .55s both;
}
.auth-info-card:nth-child(2){animation-delay:.08s}.auth-info-card:nth-child(3){animation-delay:.16s}
.auth-info-card:hover{transform:translateY(-4px);border-color:rgba(251,146,60,.34);background:rgba(249,115,22,.075)}
.auth-info-card i{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(249,115,22,.12);
  color:#fb923c;
  font-style:normal;
  font-weight:950;
}
.auth-info-card b,.auth-info-card span{display:block;min-width:0}
.auth-info-card b{color:var(--auth-text);font-size:12px;line-height:1.25}
.auth-info-card span{color:var(--auth-muted);font-size:10px;line-height:1.55;margin-top:4px}
.auth-card-v2{
  align-self:center;
  width:100%;
  min-width:0;
  border-radius:30px;
  background:var(--auth-panel-strong);
  padding:clamp(24px,3.2vw,44px);
  position:relative;
  overflow:hidden;
}
.auth-card-v2::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:3px;
  background:#f97316;
}
.auth-card-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:30px;
}
.auth-back-home,
.auth-mode-link{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 12px;
  border:1px solid var(--auth-line-soft);
  border-radius:12px;
  background:var(--auth-panel-soft);
  color:var(--auth-muted);
  text-decoration:none;
  font-size:11px;
  font-weight:800;
  transition:border-color .2s ease,color .2s ease,transform .2s ease;
}
.auth-back-home:hover,.auth-mode-link:hover{border-color:rgba(251,146,60,.34);color:var(--auth-text);transform:translateY(-1px)}
.auth-mode-link{color:#fb923c}
.auth-card-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:25px}
.auth-card-head .brand-orb,.auth-card-head .auth-form-mark{
  flex:0 0 auto;
  width:48px;
  height:48px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:rgba(249,115,22,.13);
  color:#fb923c;
  font-weight:950;
  font-size:18px;
  border:1px solid rgba(249,115,22,.14);
}
.auth-card-head .eyebrow{font-size:9px;color:#fb923c;letter-spacing:.14em}
.auth-card-head h2{font-size:clamp(26px,3vw,36px);line-height:1.05;letter-spacing:-.04em;color:var(--auth-text);margin:4px 0 6px}
.auth-card-head p{font-size:11px;line-height:1.55;color:var(--auth-muted);margin:0}
.auth-card-v2 .form-grid{gap:15px}
.auth-card-v2 .field label{color:#e9ddd5;font-size:11px;font-weight:850}
.auth-card-v2 input,
.auth-card-v2 select,
.auth-card-v2 textarea{
  min-height:50px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.055);
  color:var(--auth-text);
  box-shadow:none;
}
.auth-card-v2 input::placeholder,.auth-card-v2 textarea::placeholder{color:#796d65}
.auth-card-v2 input:focus,.auth-card-v2 select:focus,.auth-card-v2 textarea:focus{
  border-color:rgba(249,115,22,.62);
  box-shadow:0 0 0 3px rgba(249,115,22,.12);
  outline:none;
}
.auth-card-v2 .password-field button{color:#fb923c;font-size:10px;font-weight:850}
.auth-card-v2 .primary-btn{
  min-height:50px;
  border-radius:13px;
  background:#f97316;
  color:#1b0d05;
  border-color:#f97316;
  font-weight:950;
  box-shadow:0 12px 30px rgba(249,115,22,.18);
}
.auth-card-v2 .primary-btn:hover{background:#fb923c;border-color:#fb923c;transform:translateY(-1px)}
.auth-card-v2 .ghost-btn{
  min-height:46px;
  border-radius:13px;
  background:rgba(255,255,255,.045);
  border-color:rgba(255,255,255,.1);
  color:var(--auth-text);
}
.auth-card-v2 .text-link{color:#fb923c;font-size:11px;font-weight:850}
.auth-card-v2 .help{color:#988a81;line-height:1.55}
.auth-card-v2 .checkbox-row{align-items:flex-start;color:#b9aba1;line-height:1.55}
.auth-card-v2 .checkbox-row a{color:#fb923c}
.auth-separator span{background:rgba(255,255,255,.08)}
.auth-separator small{color:#82766d}
.auth-form-note{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#8f8279;
  font-size:10px;
  line-height:1.6;
}
.auth-legal-dock{
  position:fixed;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:14px;
  align-items:center;
  z-index:5;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:11px;
  background:rgba(12,8,6,.72);
  backdrop-filter:blur(12px);
  color:#8f8279;
  font-size:9px;
}
.auth-legal-dock a{color:#b9aba1;text-decoration:none}.auth-legal-dock a:hover{color:#fb923c}
.auth-card-v2 .cf-turnstile{max-width:100%;overflow:hidden}

@keyframes authCardIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes authAccentDrift{0%,100%{transform:rotate(22deg) translate3d(0,0,0)}50%{transform:rotate(15deg) translate3d(-12px,18px,0)}}
@keyframes authBlockFloat{0%,100%{transform:rotate(16deg) translateY(0)}50%{transform:rotate(10deg) translateY(-16px)}}

@media(max-width:1120px){
  .auth-screen,.auth-screen.auth-screen-register{grid-template-columns:minmax(0,1fr) minmax(400px,.88fr)}
  .auth-showcase{padding:36px}.auth-showcase h1{font-size:clamp(38px,5vw,58px)}
  .auth-info-table{grid-template-columns:1fr}.auth-info-card{min-height:82px}
}
@media(max-width:860px){
  .auth-fullscreen-main{display:block;padding:16px 14px 58px}
  .auth-screen,.auth-screen.auth-screen-register{display:flex;flex-direction:column;min-height:auto;gap:14px;width:min(620px,100%);margin:0 auto}
  .auth-card-v2{order:1;align-self:auto;border-radius:24px;padding:24px}
  .auth-showcase{order:2;min-height:auto;border-radius:24px;padding:24px}
  .auth-brand-chip{margin-bottom:26px}
  .auth-showcase h1{font-size:clamp(34px,9vw,48px)}
  .auth-info-table{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:26px}
  .auth-info-card{display:block;min-height:108px;padding:14px}.auth-info-card i{margin-bottom:9px}
  .auth-card-toolbar{margin-bottom:24px}
  .auth-legal-dock{position:static;transform:none;width:max-content;max-width:100%;margin:18px auto 0;justify-content:center;flex-wrap:wrap}
}
@media(max-width:560px){
  body.auth-standalone::before{filter:blur(7px) saturate(.75) brightness(.42)}
  .auth-fullscreen-main{padding:10px 10px 34px}
  .auth-card-v2,.auth-showcase{border-radius:20px;padding:19px}
  .auth-card-toolbar{gap:8px;margin-bottom:20px}.auth-back-home,.auth-mode-link{padding:0 10px;font-size:10px}
  .auth-card-head{gap:10px;margin-bottom:20px}.auth-card-head .brand-orb,.auth-card-head .auth-form-mark{width:42px;height:42px;border-radius:13px}
  .auth-card-head h2{font-size:28px}
  .auth-info-table{grid-template-columns:1fr;gap:8px}.auth-info-card{display:grid;min-height:78px;padding:13px}
  .auth-showcase h1{font-size:35px}.auth-showcase>div>p,.auth-showcase-top>p{font-size:13px}
  .auth-brand-chip{margin-bottom:22px}.auth-brand-copy small{display:none}
  .auth-card-v2 .primary-btn,.auth-card-v2 input,.auth-card-v2 select,.auth-card-v2 textarea{min-height:48px}
}
@media(max-width:390px){
  .auth-fullscreen-main{padding-inline:7px}.auth-card-v2,.auth-showcase{padding:16px;border-radius:18px}
  .auth-card-toolbar{align-items:stretch}.auth-back-home,.auth-mode-link{min-height:38px}
  .auth-showcase h1{font-size:31px}.auth-brand-mark{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){
  .auth-fullscreen-main::before,.auth-fullscreen-main::after,.auth-showcase::after,.auth-info-card{animation:none!important}
  .auth-info-card,.auth-back-home,.auth-mode-link,.auth-card-v2 .primary-btn{transition:none!important}
}
.auth-screen-login,.auth-screen-forgot,.auth-screen-reset,.auth-screen-two-factor,.auth-screen-verify{position:relative}

/* Velora 4.7.6 build 4890 — auth screens obey the saved public appearance. */
html[data-theme="light"] body.auth-standalone{
  --auth-bg:#f6f7fb;
  --auth-panel:rgba(255,255,255,.86);
  --auth-panel-strong:rgba(255,255,255,.96);
  --auth-panel-soft:rgba(255,247,237,.82);
  --auth-line:rgba(249,115,22,.24);
  --auth-line-soft:rgba(124,69,28,.15);
  --auth-text:#171d28;
  --auth-muted:#687386;
  --auth-wallpaper-overlay:linear-gradient(90deg,rgba(247,249,252,.2),rgba(247,249,252,.46) 58%,rgba(247,249,252,.68));
  color-scheme:light;
}
html[data-theme="light"] body.auth-standalone::before{filter:blur(7px) saturate(.86) brightness(.82)}
html[data-theme="light"] body.auth-standalone::after{background:linear-gradient(90deg,rgba(247,249,252,.26),rgba(247,249,252,.48) 58%,rgba(247,249,252,.65))}
html[data-theme="light"] body.auth-standalone .auth-showcase{background:rgba(255,255,255,.7);box-shadow:0 32px 100px rgba(15,23,42,.18);backdrop-filter:blur(24px) saturate(1.08)}
html[data-theme="light"] body.auth-standalone .auth-showcase::before{border-color:rgba(249,115,22,.18)}
html[data-theme="light"] body.auth-standalone .auth-info-card{background:rgba(255,255,255,.7);border-color:rgba(124,69,28,.14)}
html[data-theme="light"] body.auth-standalone .auth-info-card:hover{background:#fff7ed;border-color:rgba(249,115,22,.36)}
html[data-theme="light"] body.auth-standalone .auth-card-v2{background:rgba(255,255,255,.82);border-color:rgba(255,255,255,.7);box-shadow:0 32px 100px rgba(15,23,42,.2);backdrop-filter:blur(28px) saturate(1.14)}
html[data-theme="light"] body.auth-standalone .auth-card-v2 .field label{color:#374151}
html[data-theme="light"] body.auth-standalone .auth-card-v2 :is(input,select,textarea){background:#fff;color:#171d28;border-color:#d7dce4}
html[data-theme="light"] body.auth-standalone .auth-card-v2 :is(input,textarea)::placeholder{color:#9aa3b1}
html[data-theme="light"] body.auth-standalone .auth-card-v2 .ghost-btn{background:#fff7ed;border-color:rgba(124,69,28,.16);color:#171d28}
html[data-theme="light"] body.auth-standalone .auth-card-v2 :is(.help,.checkbox-row){color:#687386}
html[data-theme="light"] body.auth-standalone .auth-separator span{background:rgba(124,69,28,.14)}
html[data-theme="light"] body.auth-standalone .auth-separator small{color:#7a8495}
html[data-theme="light"] body.auth-standalone .auth-form-note{border-top-color:rgba(124,69,28,.13);color:#687386}
html[data-theme="light"] body.auth-standalone .auth-legal-dock{background:rgba(255,255,255,.88);border-color:rgba(124,69,28,.14);color:#687386;box-shadow:0 10px 30px rgba(15,23,42,.09)}
html[data-theme="light"] body.auth-standalone .auth-legal-dock a{color:#4b5563}
html[data-theme="light"] body.auth-standalone :is(input[type="checkbox"],input[type="radio"]){accent-color:#f97316}

/* build 4880 — auth microcopy typography cleanup. */
html[data-theme] body .auth-fullscreen-main :where(.eyebrow,.auth-kicker,.login-kicker),
html[data-theme] body .auth-showcase .eyebrow,
html[data-theme] body .auth-card-head .eyebrow{
  font-family:Inter,"Segoe UI Variable","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif!important;
  font-size:10px!important;
  line-height:1.35!important;
  font-weight:720!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}

/* Build 4890 release polish — authentication readability and touch sizing. */
.auth-legal-dock{font-size:11px;line-height:1.45}
.auth-legal-dock a{display:inline-flex;align-items:center;min-height:40px;padding:8px 2px}
.password-field button{min-width:56px;min-height:40px;padding:0 8px;font-size:11px;cursor:pointer}
.auth-card-v2 .checkbox-row{min-height:44px;line-height:1.45}
.auth-card-v2 :is(input[type="checkbox"],input[type="radio"]){width:22px;height:22px;flex:0 0 22px}
@media(max-width:560px){
  .auth-legal-dock{gap:8px;font-size:11px}
  .auth-card-v2 .checkbox-row a{display:inline-flex;align-items:center;min-height:40px}
}
html[data-theme] body .auth-card-v2 :where(.primary-btn,.ghost-btn,.text-link,.password-field button){
  font-family:Inter,"Segoe UI Variable","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif!important;
  font-weight:700!important;
  letter-spacing:-.005em!important;
}

/* Build 4896 — stronger auth glass hierarchy over the voxel wallpaper. */
html[data-theme="light"] body.auth-standalone .auth-showcase{
  background:rgba(255,255,255,.84)!important;
  border-color:rgba(255,255,255,.94)!important;
  box-shadow:0 34px 110px rgba(15,23,42,.28),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] body.auth-standalone .auth-card-v2{
  background:rgba(255,255,255,.94)!important;
  border-color:rgba(249,115,22,.32)!important;
  box-shadow:0 36px 110px rgba(15,23,42,.32),0 0 0 1px rgba(255,255,255,.72) inset!important;
}
html[data-theme="light"] body.auth-standalone .auth-info-card{
  background:rgba(255,255,255,.9)!important;
  border-color:rgba(249,115,22,.2)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.1)!important;
}
html[data-theme="light"] body.auth-standalone .auth-showcase :is(h1,h2,b),
html[data-theme="light"] body.auth-standalone .auth-card-v2 :is(h2,label){color:#111827!important}
html[data-theme="dark"] body.auth-standalone .auth-showcase{
  background:rgba(6,12,22,.82)!important;
  border-color:rgba(251,146,60,.25)!important;
  box-shadow:0 36px 110px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
html[data-theme="dark"] body.auth-standalone .auth-card-v2{
  background:rgba(11,15,24,.94)!important;
  border-color:rgba(249,115,22,.38)!important;
  box-shadow:0 38px 120px rgba(0,0,0,.64),0 0 42px rgba(249,115,22,.08)!important;
}
html[data-theme] body.auth-standalone .auth-card-v2::before{height:4px;box-shadow:0 7px 24px rgba(249,115,22,.32)}

/* build 4880 — explicit dark auth palette for deterministic system/dark audits. */
html[data-theme="dark"] body.auth-standalone{
  --auth-bg:#0d0906;
  --auth-panel:rgba(18,13,10,.88);
  --auth-panel-strong:rgba(22,15,11,.96);
  --auth-panel-soft:rgba(255,255,255,.055);
  --auth-line:rgba(251,146,60,.18);
  --auth-line-soft:rgba(255,255,255,.08);
  --auth-text:#fff7ed;
  --auth-muted:#b8aaa0;
  color-scheme:dark;
}

/* build4947: keyboard-only skip link and an in-flow account helper. */
body.auth-standalone .skip-link{position:fixed;left:16px;top:16px;z-index:1000;padding:12px 18px;background:#fff;color:#111827;border-radius:8px;transform:translateY(-180%)}
body.auth-standalone .skip-link:focus{transform:translateY(0)}
body.auth-standalone .auth-context-mascot{position:relative!important;inset:auto!important;transform:none;width:min(100%,420px);height:auto;min-height:145px;margin:24px auto 70px;display:flex;align-items:center;gap:12px;z-index:1}
body.auth-standalone .auth-context-mascot .velora-mascot-bubble{position:relative;inset:auto;width:auto;flex:1;display:grid}
body.auth-standalone .auth-context-mascot>img{position:relative;inset:auto;width:100px;height:auto;flex:0 0 100px}
body.auth-standalone .auth-context-mascot .velora-mascot-close{top:0;right:0}
html[data-theme="dark"] body.auth-standalone .auth-card-v2 .field label{color:#cbd5e1!important}
body.auth-standalone .auth-legal-dock{position:relative!important;inset:auto!important;transform:none!important;margin:0 auto 12px}

/* build5018: state-changing 2FA cancellation is a CSRF-protected POST while retaining link styling. */
.auth-cancel-form{margin:0;padding:0;display:inline-flex}
.auth-link-button{font:inherit;appearance:none;-webkit-appearance:none;cursor:pointer;background:transparent;border:0;padding:0}
