@charset "UTF-8";

:root{
  color-scheme:dark;
  --bg:#05080f;
  --bg2:#080e1b;
  --panel:rgba(16,25,43,.88);
  --panel2:rgba(10,17,31,.92);
  --line:rgba(225,235,255,.12);
  --line-strong:rgba(225,235,255,.22);
  --txt:#edf3ff;
  --txt2:#aebbd2;
  --txt3:#8494b1;
  --gold:#d5ac67;
  --gold2:#f0d39a;
  --cyan:#70d6e8;
  --ok:#68d8a6;
  --warn:#f0bf72;
  --bad:#ff9c8e;
  --focus:#f4d79c;
  --radius:18px;
  --shadow:0 24px 80px rgba(0,0,0,.4);
}

*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{
  min-height:100dvh;
  margin:0;
  background:
    radial-gradient(60% 45% at 18% 0%,rgba(35,72,113,.42),transparent 70%),
    radial-gradient(42% 38% at 92% 18%,rgba(213,172,103,.12),transparent 72%),
    linear-gradient(160deg,var(--bg),var(--bg2));
  color:var(--txt);
  font:16px/1.65 "Microsoft YaHei","PingFang SC",system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
}

a{color:var(--gold2);text-underline-offset:3px}
a:hover{color:#fff0ce}
button,input,textarea,select{font:inherit}

.sr-only-focusable{
  position:absolute;
  left:-9999px;
  z-index:1000;
}
.sr-only-focusable:focus{
  position:fixed;
  top:16px;
  left:16px;
  padding:10px 16px;
  color:#19130a;
  background:var(--gold2);
  border-radius:10px;
  font-weight:700;
}

.shell{
  width:min(1120px,calc(100% - 32px));
  margin:0 auto;
  padding:34px 0 54px;
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  color:var(--txt);
  text-decoration:none;
  font-weight:800;
  letter-spacing:.12em;
}
.brand img{width:34px;height:34px;object-fit:contain}
.topnav{display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:14px}

.hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);
  gap:24px;
  align-items:start;
}
.hero-copy{
  padding:28px 8px 20px;
}
.eyebrow{
  color:var(--gold2);
  font-size:13px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}
h1{
  margin:12px 0 14px;
  max-width:760px;
  font-size:clamp(30px,5vw,52px);
  line-height:1.18;
  letter-spacing:-.03em;
}
.lede{
  max-width:660px;
  margin:0;
  color:var(--txt2);
  font-size:17px;
}
.facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:28px;
}
.fact{
  padding:16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.025);
}
.fact b{display:block;color:var(--txt);font-size:15px}
.fact span{display:block;margin-top:4px;color:var(--txt3);font-size:13px}

.card{
  padding:26px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  box-shadow:var(--shadow);
  backdrop-filter:blur(14px);
}
.card h2,.section-title{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.35;
}
.card-sub{margin:0 0 22px;color:var(--txt3);font-size:13.5px}

.field{margin-bottom:18px}
.field label,.field-label{
  display:block;
  margin-bottom:7px;
  color:var(--txt2);
  font-size:14px;
  font-weight:650;
}
.required{color:var(--gold2);font-weight:800}
.input-row{display:flex;gap:10px;align-items:stretch}
.input-row input{min-width:0}

input[type="text"],input[type="tel"],input[type="password"],input[type="number"],textarea,select{
  width:100%;
  min-height:48px;
  padding:11px 14px;
  color:var(--txt);
  background:rgba(3,8,17,.66);
  border:1px solid var(--line-strong);
  border-radius:11px;
  outline:none;
  transition:border-color .16s,box-shadow .16s,background .16s;
}
textarea{min-height:96px;resize:vertical}
input::placeholder,textarea::placeholder{color:#6e7f9c}
input:hover,textarea:hover,select:hover{border-color:rgba(255,255,255,.32)}
input:focus-visible,textarea:focus-visible,select:focus-visible,
button:focus-visible,a:focus-visible,summary:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:3px;
}
input:focus,textarea:focus,select:focus{
  border-color:var(--gold);
  background:rgba(7,13,25,.92);
  box-shadow:0 0 0 4px rgba(213,172,103,.14);
}
input[aria-invalid="true"]{border-color:var(--bad)}
.help{margin:6px 0 0;color:var(--txt3);font-size:12.5px}
.error{
  display:none;
  margin:7px 0 0;
  color:#ffc1b6;
  font-size:13px;
}
.error.show{display:block}

.checkline{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--txt2);
  font-size:13.5px;
  line-height:1.6;
}
.checkline input{
  flex:0 0 auto;
  width:20px;
  height:20px;
  margin-top:2px;
  accent-color:var(--gold);
}

.btn{
  min-height:48px;
  padding:11px 18px;
  border:1px solid transparent;
  border-radius:11px;
  cursor:pointer;
  font-weight:800;
  letter-spacing:.03em;
  transition:transform .14s,filter .14s,background .14s,border-color .14s;
}
.btn:hover{transform:translateY(-1px)}
.btn:disabled{opacity:.52;cursor:not-allowed;transform:none}
.btn-primary{
  width:100%;
  color:#1a1409;
  background:linear-gradient(96deg,var(--gold),var(--gold2));
}
.btn-primary:hover{filter:brightness(1.06)}
.btn-secondary{
  color:var(--txt);
  background:rgba(255,255,255,.055);
  border-color:var(--line-strong);
}
.btn-secondary:hover{background:rgba(255,255,255,.09)}
.btn-small{min-height:40px;padding:8px 13px;font-size:13px}
.send{white-space:nowrap;min-width:124px}

.notice{
  margin:18px 0 0;
  padding:13px 14px;
  color:var(--txt2);
  border:1px solid rgba(112,214,232,.2);
  border-radius:12px;
  background:rgba(57,144,170,.09);
  font-size:13.5px;
}
.status{
  display:none;
  margin-top:18px;
  padding:13px 15px;
  border-radius:12px;
  font-size:14px;
}
.status.show{display:block}
.status.ok{color:#bff2d9;background:rgba(55,160,111,.12);border:1px solid rgba(104,216,166,.28)}
.status.bad{color:#ffd0c8;background:rgba(183,76,60,.12);border:1px solid rgba(255,156,142,.3)}
.status.info{color:#d5ebff;background:rgba(61,121,188,.12);border:1px solid rgba(112,174,238,.24)}

.password-meter{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
  margin-top:9px;
}
.password-meter i{height:4px;border-radius:99px;background:rgba(255,255,255,.1)}
.password-meter i.on{background:var(--gold)}
.meter-text{margin-top:7px;color:var(--txt3);font-size:12.5px}

.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.stack{display:grid;gap:16px}
.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums}

.account-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  margin-bottom:22px;
}
.account-head h1{font-size:clamp(26px,4vw,42px);margin:6px 0 8px}
.pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:6px 11px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  color:var(--txt2);
  background:rgba(255,255,255,.035);
  font-size:12.5px;
}
.pill::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--warn)}
.pill.active::before{background:var(--ok)}
.pill.blocked::before{background:var(--bad)}

.shop-card{
  padding:20px;
  border:1px solid var(--line);
  border-radius:15px;
  background:rgba(255,255,255,.025);
}
.shop-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.shop-title h3{margin:0;font-size:18px}
.shop-meta{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;color:var(--txt3);font-size:13px}
.timeline{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  margin-top:22px;
}
.step{position:relative;padding:24px 8px 0;color:var(--txt3);font-size:12.5px;text-align:center}
.step::before{
  content:"";
  position:absolute;
  top:6px;
  left:0;
  right:0;
  height:2px;
  background:rgba(255,255,255,.12);
}
.step::after{
  content:"";
  position:absolute;
  top:0;
  left:calc(50% - 7px);
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--bg2);
  border:2px solid var(--line-strong);
}
.step.done{color:var(--txt2)}
.step.done::after{background:var(--gold);border-color:var(--gold)}
.step.current{color:var(--gold2);font-weight:700}
.step.current::after{background:var(--bg2);border-color:var(--gold);box-shadow:0 0 0 4px rgba(213,172,103,.12)}

.empty{
  padding:28px;
  color:var(--txt3);
  text-align:center;
  border:1px dashed var(--line-strong);
  border-radius:14px;
}

.table-wrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:14px;
}
table{width:100%;border-collapse:collapse;font-size:13px}
th,td{padding:12px 13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{position:sticky;top:0;background:#0d1628;color:var(--txt2);font-size:12px;letter-spacing:.04em}
tr:last-child td{border-bottom:0}
td{color:var(--txt2)}

.invite-code{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:16px;
  padding:16px;
  color:var(--txt);
  background:rgba(213,172,103,.08);
  border:1px solid rgba(213,172,103,.28);
  border-radius:13px;
}
.invite-code strong{font-size:21px;letter-spacing:.08em;color:var(--gold2)}

.shop-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.shop-actions .btn{min-height:44px}

.footer{
  margin-top:30px;
  color:var(--txt3);
  font-size:12.5px;
  text-align:center;
}

@media(max-width:900px){
  .hero{grid-template-columns:1fr}
  .hero-copy{padding:8px 2px 0}
  .facts{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
}

@media(max-width:620px){
  .shell{width:min(100% - 22px,760px);padding-top:20px}
  .topbar{align-items:flex-start}
  .card{padding:20px 17px}
  .input-row{flex-direction:column}
  .send{width:100%}
  .account-head{flex-direction:column}
  .timeline{grid-template-columns:1fr;gap:8px}
  .step{padding:18px 0 0;text-align:left}
  .step::before{top:0;bottom:auto;left:7px;right:auto;width:2px;height:100%}
  .step::after{left:0;top:0}
  .step{padding-left:28px}
  .step:last-child::before{display:none}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

@media(forced-colors:active){
  button,a,input,textarea,select{forced-color-adjust:auto}
  button:focus-visible,a:focus-visible,input:focus-visible,
  textarea:focus-visible,select:focus-visible{
    outline:2px solid Highlight;
  }
}
