/* Golden Wolf identity correction — the authentic founder-supplied gold wolf.
   The artwork is preserved. Black + midnight blue define the UI; gold belongs to the brand.
   Scope auth-specific rules behind .is-auth; retain all existing product functionality. */
:root{
  --wolf-gold:#e7ba64;
  --wolf-gold-soft:#b99a61;
  --wolf-royal:#007ce8;
  --wolf-cyan:#3ec7ff;
  --wolf-ink:#f4f7fd;
}
body {background:#03070e;}
body.is-auth {background:#01040a;}
body.is-auth .top {display:none!important;}
body.is-auth #message{
  position:fixed;z-index:70;top:max(8px,env(safe-area-inset-top));left:50%;
  transform:translateX(-50%);width:min(510px,calc(100vw - 28px));
  margin:0;padding:0;pointer-events:none;
}
body.is-auth #message .notice {pointer-events:auto;box-shadow:0 14px 42px #000;}
body.is-auth .auth-wrap {
  position:relative;isolation:isolate;
  display:grid;grid-template-columns:minmax(0,1.14fr) minmax(350px,.86fr);
  align-items:center;gap:clamp(22px,4vw,78px);
  max-width:none;min-height:100dvh;margin:0;
  padding:clamp(26px,4vw,70px) clamp(20px,5vw,88px);
  background:
    radial-gradient(ellipse 29% 43% at 22% 34%,rgba(0,94,223,.19) 0%,transparent 100%),
    radial-gradient(ellipse 23% 30% at 72% 59%,rgba(0,75,165,.12) 0%,transparent 100%),
    linear-gradient(112deg,#020408 0%,#040b18 53%,#03070f 100%);
  overflow:hidden;
}
body.is-auth .auth-wrap::before {
  content:"";position:absolute;z-index:-1;pointer-events:none;inset:0;
  background:
    linear-gradient(90deg,transparent 50%,rgba(60,143,255,.07) 50.05%,transparent 50.1%),
    repeating-linear-gradient(0deg,transparent 0,transparent 101px,rgba(30,112,196,.045) 102px,transparent 103px),
    repeating-linear-gradient(90deg,transparent 0,transparent 102px,rgba(30,112,196,.04) 103px,transparent 104px);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.43) 45%,rgba(0,0,0,.2) 100%);
}
body.is-auth .auth-wrap::after {
  content:"";position:absolute;z-index:-1;width:700px;height:700px;left:-210px;top:5%;
  border-radius:50%;border:1px solid rgba(4,87,185,.2);
  box-shadow:0 0 0 80px rgba(0,70,160,.035),0 0 0 160px rgba(0,70,160,.025);
  pointer-events:none;
}
body.is-auth .hero {
  position:relative;display:flex;flex-direction:column;align-items:flex-start;
  justify-content:center;min-width:0;min-height:690px;height:auto;
  background:transparent!important;border:0;border-radius:0;
  box-shadow:none!important;padding:10px 0 20px;overflow:visible;
}
body.is-auth .hero::before,body.is-auth .hero::after {display:none!important;}
body.is-auth .hero-wordmark {
  position:static;display:flex;flex-direction:column;align-items:flex-start;
  gap:2px;transform:none;margin:0 0 25px;max-width:100%;
}
body.is-auth .hero-wordmark img {
  display:block;width:clamp(235px,27vw,350px);height:clamp(235px,27vw,350px);
  max-width:100%;object-fit:contain;mix-blend-mode:screen;
  filter:drop-shadow(0 0 16px rgba(214,145,38,.1));
}
body.is-auth .hero-wordmark span{
  display:block;font-size:clamp(35px,4.6vw,62px);font-weight:870;
  letter-spacing:.064em;line-height:1.05;color:#fcf8ed;
  white-space:nowrap;text-shadow:0 2px 14px #000;
}
body.is-auth .hero-wordmark b, .top .brand b {color:var(--wolf-gold);}
body.is-auth .hero-wordmark small {
  display:block;letter-spacing:.34em;font-size:clamp(9px,.8vw,12px);
  font-weight:650;color:#9faec3;margin-top:12px;text-align:left;
}
body.is-auth .hero .eyebrow {
  font-size:11px;letter-spacing:.24em;color:var(--wolf-gold);margin:0 0 8px;
}
body.is-auth .hero h1{
  font-size:clamp(32px,3.65vw,54px);font-weight:740;line-height:1.14;
  letter-spacing:-.04em;margin:8px 0 17px;max-width:620px;
  text-shadow:0 3px 14px rgba(0,0,0,.8);
}
body.is-auth .hero h1 em {font-style:normal;color:#4abfff;}
body.is-auth .hero>p:not(.notice) {
  color:#b6c9de;max-width:530px;font-size:clamp(14px,1.1vw,17px);
  margin:0;line-height:1.6;
}
body.is-auth .hero-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
  margin:27px 0 0;max-width:540px;width:100%;
  background:rgba(2,15,29,.64);border:1px solid rgba(51,122,185,.44);
  border-radius:13px;overflow:hidden;
}
body.is-auth .hero-grid div {
  padding:14px 8px;min-width:0;min-height:77px;
  text-align:center;font-size:11px;color:#aac6de;
  border:0;background:transparent;backdrop-filter:none;
  border-radius:0;
}
body.is-auth .hero-grid div+div {border-left:1px solid rgba(70,132,186,.35);}
body.is-auth .hero-grid strong {
  display:block;margin:0 0 5px;color:#fff;font-size:14px;letter-spacing:.08em;
}
body.is-auth .hero .notice {display:none!important;}
body.is-auth .auth-card {
  width:100%;max-width:570px;min-width:0;align-self:center;
  margin:0 auto;border:1px solid rgba(39,139,219,.55);border-radius:22px;
  padding:clamp(22px,3vw,43px);
  background:linear-gradient(148deg,rgba(8,23,40,.97),rgba(2,8,18,.99));
  box-shadow:0 0 0 1px rgba(25,111,194,.10),
    0 25px 65px rgba(0,0,0,.52),0 0 42px rgba(0,91,180,.13),
    inset 0 1px rgba(255,255,255,.06);
  position:relative;
}
body.is-auth .auth-card::before {
  content:"";position:absolute;top:0;left:38px;right:38px;height:2px;
  background:linear-gradient(90deg,transparent,#bfa16a,transparent);
  box-shadow:0 0 18px rgba(210,170,83,.28);
}
body.is-auth .auth-card .auth-kicker {
  font-size:10px;font-weight:850;letter-spacing:.23em;color:var(--wolf-gold);
}
body.is-auth .auth-card h2 {
  font-size:clamp(27px,2.6vw,37px);margin:12px 0 7px;
  font-weight:800;letter-spacing:-.04em;color:var(--wolf-ink);
}
body.is-auth .auth-card .auth-subtitle {
  color:#a8bed5;font-size:14px;line-height:1.4;margin:0 0 26px;
}
body.is-auth .auth-card .tabs {
  background:#020914;border-color:#294f73;padding:5px;
  border-radius:12px;margin-bottom:22px;
}
body.is-auth .auth-card .tabs .button {min-height:43px;font-size:14px;}
body.is-auth .auth-card .tabs .button.active {
  background:linear-gradient(120deg,#0b4a80,#0761b2);
  border-color:#28aafa;box-shadow:0 0 15px rgba(0,145,255,.12);
}
body.is-auth .auth-card label {color:#d0dfef;font-size:13px;}
body.is-auth .auth-card .stack {gap:15px;}
body.is-auth .auth-card input {
  min-height:48px;background:#030b17;border-color:#2a4c6d;
}
body.is-auth .auth-card input:focus {
  border-color:#55caff;box-shadow:0 0 0 2px rgba(0,148,255,.16);
}
body.is-auth .auth-card #auth-submit {
  min-height:51px;color:#fff;text-shadow:none;font-weight:830;
  background:linear-gradient(110deg,#13b8f8,#0074db 58%,#0655b4);
  box-shadow:0 8px 27px rgba(0,92,213,.22),inset 0 1px rgba(255,255,255,.25);
  border:1px solid #3eaeef;
}
body.is-auth .auth-card .auth-tools {margin:0;}
body.is-auth .auth-card .auth-secure,body.is-auth .auth-card .text-link {
  font-size:12px;
}
body.is-auth .auth-card .auth-footnote {
  margin-top:19px;padding:12px;color:#a3bfd8;
  background:rgba(9,34,57,.53);border-color:#164772;font-size:11px;
}
body.is-auth .auth-card .ecosystem-link {font-size:12px;}
/* Authentic brand on workspace header, sidebar and MFA dialog. */
.top .brand img {
  object-fit:cover;mix-blend-mode:screen;
  filter:none;width:46px;height:46px;
}
.top .brand b {color:var(--wolf-gold)!important;}
.sidebar::before {
  background:url('/golden-wolf-official.webp') center / contain no-repeat!important;
  filter:none!important;width:70px;height:70px;
}
.dialog-icon {
  background:url('/golden-wolf-official.webp') center / contain no-repeat!important;
  filter:none!important;width:61px;height:61px;
}
.command-hero {
  background:radial-gradient(ellipse at 90% 30%,rgba(0,100,200,.26),transparent 56%),
   linear-gradient(110deg,#061626,#071a30 58%,#040c18)!important;
}
.command-hero .eyebrow,.sidebar .label {color:var(--wolf-gold)!important;}
@media(max-width:1020px) and (min-width:801px){
  body.is-auth .auth-wrap {
    grid-template-columns:minmax(0,1fr) minmax(340px,1fr);
    gap:22px;padding:32px 25px;
  }
  body.is-auth .hero {min-height:560px;}
  body.is-auth .hero-wordmark img {width:245px;height:245px;}
  body.is-auth .hero-wordmark span {font-size:31px;}
  body.is-auth .hero h1 {font-size:31px;}
  body.is-auth .hero-grid div {font-size:10px;}
}
/* iPhone and mobile: gold emblem centered once, functional form directly beneath. */
@media(max-width:800px){
  body.is-auth .auth-wrap{
    display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;
    min-height:100dvh;width:100%;max-width:none;
    gap:0;margin:0;
    padding:max(env(safe-area-inset-top),12px) 14px max(28px,env(safe-area-inset-bottom));
    background:
      radial-gradient(ellipse 80% 34% at 50% 10%,rgba(0,91,187,.16) 0%,transparent 83%),
      linear-gradient(180deg,#020408 0%,#050d18 38%,#02060c 100%);
  }
  body.is-auth .auth-wrap::before,body.is-auth .auth-wrap::after{display:none;}
  body.is-auth .hero {
    flex:none;position:relative;min-height:0;height:auto;
    padding:0 0 16px;display:flex;align-items:center;justify-content:center;
    border:0;background:none!important;overflow:visible;
  }
  body.is-auth .hero-wordmark {
    position:static;display:flex;flex-direction:column;align-items:center;
    justify-content:center;gap:0;text-align:center;margin:0;transform:none;
  }
  body.is-auth .hero-wordmark img {
    display:block;width:clamp(150px,43vw,190px);height:clamp(150px,43vw,190px);
    object-fit:contain;max-width:100%;mix-blend-mode:screen;filter:none;
  }
  body.is-auth .hero-wordmark span {
    display:block;font-size:clamp(24px,7vw,31px);
    line-height:1.03;letter-spacing:.085em;font-weight:860;white-space:nowrap;
  }
  body.is-auth .hero-wordmark small {
    text-align:center;letter-spacing:.19em;font-size:8px;
    margin:8px 0 0;color:#a6bdd1;
  }
  body.is-auth .hero .eyebrow,body.is-auth .hero h1,
  body.is-auth .hero>p,body.is-auth .hero-grid {display:none!important;}
  body.is-auth .auth-card {
    flex:none;width:100%;max-width:480px;align-self:center;
    padding:22px 19px;margin:0 auto;
    border-radius:18px;border-color:rgba(42,144,221,.56);
    box-shadow:0 16px 53px rgba(0,0,0,.46),0 0 30px rgba(0,95,189,.13);
  }
  body.is-auth .auth-card .auth-kicker {font-size:9px;letter-spacing:.2em;}
  body.is-auth .auth-card h2 {font-size:27px;margin:9px 0 6px;}
  body.is-auth .auth-card .auth-subtitle {font-size:12px;margin:0 0 15px;}
  body.is-auth .auth-card .tabs {margin-bottom:15px;}
  body.is-auth .auth-card .tabs .button {min-height:39px;}
  body.is-auth .auth-card .stack{gap:12px;}
  body.is-auth .auth-card input {min-height:46px;}
  body.is-auth .auth-card #auth-submit{min-height:49px;margin-top:4px;}
  body.is-auth .auth-card .auth-footnote{padding:10px;margin-top:14px;font-size:10px;}
  body.is-auth .auth-card .auth-tools {gap:8px;}
  body.is-auth .auth-card .auth-secure,
  body.is-auth .auth-card .text-link {font-size:11px;}
  body.is-auth .auth-card .ecosystem-link {font-size:11px;padding:7px 0;}
}
@media(max-width:380px){
  body.is-auth .auth-wrap{padding-left:11px;padding-right:11px;}
  body.is-auth .hero-wordmark img{width:140px;height:140px;}
  body.is-auth .hero {padding-bottom:12px;}
  body.is-auth .hero-wordmark span{font-size:24px;}
  body.is-auth .auth-card {padding:17px 15px;}
  body.is-auth .auth-card h2{font-size:24px;}
  body.is-auth .auth-card .auth-footnote{font-size:10px;}
}
@media(prefers-reduced-motion:reduce) {
  body.is-auth *,body.is-auth *::before,body.is-auth *::after{transition:none!important;}
}
