:root{
  --bg:#130d1e;
  --bg-2:#1e132f;
  --panel:#241938;
  --panel-2:#2d2144;
  --line:rgba(255,255,255,.10);
  --text:#f4eefc;
  --muted:rgba(244,238,252,.68);
  --accent:#ef5fa8;
  --accent-2:#ff9d4d;
  --accent-3:#6ce1c1;
  --shadow:0 16px 40px rgba(0,0,0,.28);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
body{background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}
button,input,textarea{font:inherit}

.loading-body{
  min-height:100vh;
  overflow:hidden;
  background:#1a0f33;
}
.loading-screen{
  min-height:100vh;
  min-height:100dvh;
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:42px 18px 28px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(120,64,195,.28), transparent 24%),
    radial-gradient(circle at 78% 48%, rgba(82,42,145,.2), transparent 18%),
    linear-gradient(180deg, #130d28 0%, #211141 48%, #2b164f 100%);
}
.loading-screen::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:86px 86px;
  opacity:.25;
  pointer-events:none;
}
.loading-stars{
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle at 16% 9%, rgba(255,255,255,.78) 0 2px, transparent 2.6px),
    radial-gradient(circle at 38% 6%, rgba(255,255,255,.65) 0 1.5px, transparent 2px),
    radial-gradient(circle at 82% 8%, rgba(255,255,255,.68) 0 2px, transparent 2.6px),
    radial-gradient(circle at 77% 24%, rgba(255,255,255,.72) 0 1.5px, transparent 2px),
    radial-gradient(circle at 96% 38%, rgba(255,255,255,.8) 0 1.5px, transparent 2px),
    radial-gradient(circle at 11% 40%, rgba(255,255,255,.62) 0 1.5px, transparent 2px),
    radial-gradient(circle at 58% 49%, rgba(255,255,255,.48) 0 1.5px, transparent 2px),
    radial-gradient(circle at 78% 58%, rgba(255,255,255,.7) 0 1.5px, transparent 2px),
    radial-gradient(circle at 7% 74%, rgba(255,255,255,.75) 0 1.5px, transparent 2px),
    radial-gradient(circle at 46% 82%, rgba(255,255,255,.5) 0 1.5px, transparent 2px),
    radial-gradient(circle at 91% 86%, rgba(255,255,255,.68) 0 1.5px, transparent 2px),
    radial-gradient(circle at 73% 97%, rgba(255,255,255,.64) 0 1.5px, transparent 2px);
  background-size:100% 100%;
  pointer-events:none;
  opacity:.9;
}
.loading-content{
  position:relative;
  z-index:1;
  width:min(100%, 740px);
  min-height:calc(100vh - 70px);
  display:flex;
  flex-direction:column;
  align-items:center;
}
.loading-orbit{
  width:236px;
  height:236px;
  margin:36px auto 20px;
  position:relative;
  display:grid;
  place-items:center;
}
.orbit-ring{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(171,105,255,.18);
  box-shadow:0 0 30px rgba(159,91,255,.1);
}
.orbit-ring-a{inset:19px}
.orbit-ring-b{inset:0;opacity:.62}
.orbit-ring-a::before,
.orbit-ring-b::before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:50%;
  border:1px solid rgba(239,95,168,.18);
}
.orbit-dot{
  position:absolute;
  width:12px;
  height:12px;
  border-radius:50%;
  box-shadow:0 0 14px currentColor;
}
.orbit-dot-a{
  top:65px;
  left:112px;
  color:#ff9b31;
  background:#ff9b31;
}
.orbit-dot-b{
  top:68px;
  right:68px;
  color:#ef4fac;
  background:#ef4fac;
}
.orbit-dot-c{
  right:23px;
  bottom:47px;
  width:18px;
  height:18px;
  color:#8d58ff;
  background:#8d58ff;
}
.loading-orb{
  width:116px;
  height:116px;
  border-radius:50%;
  background:linear-gradient(145deg, #a75cff 6%, #d94fc0 52%, #f04486 100%);
  box-shadow:
    0 0 26px rgba(213,82,203,.48),
    0 0 68px rgba(123,66,208,.26);
  display:grid;
  place-items:center;
}
.robot-mark{
  position:relative;
  width:54px;
  height:40px;
  border:0;
  border-radius:14px;
  background:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.14);
}
.robot-mark::before,
.robot-mark::after{
  content:"";
  position:absolute;
  top:12px;
  width:6px;
  height:14px;
  border-radius:999px;
  background:#fff;
}
.robot-mark::before{left:-16px}
.robot-mark::after{right:-16px}
.robot-mark span{
  position:absolute;
  top:-15px;
  left:50%;
  width:6px;
  height:10px;
  border-radius:999px;
  background:#fff;
  transform:translateX(-50%);
}
.robot-mark span::before{
  content:"";
  position:absolute;
  top:-5px;
  left:50%;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#fff;
  transform:translateX(-50%);
}
.robot-mark i,
.robot-mark b{
  position:absolute;
  top:14px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#7c3ac6;
}
.robot-mark i{left:12px}
.robot-mark b{right:12px}
.robot-mark em{
  position:absolute;
  left:50%;
  bottom:9px;
  width:15px;
  height:3px;
  border-radius:999px;
  background:#7c3ac6;
  transform:translateX(-50%);
}
.loading-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:rgba(246,240,255,.78);
  font-size:24px;
  line-height:1.2;
  margin:0 0 32px;
}
.loading-spinner{
  width:31px;
  height:31px;
  border-radius:50%;
  border:4px solid rgba(203,121,255,.22);
  border-top-color:#c182ff;
  animation:spin 1s linear infinite;
}
.loading-bar{
  width:min(72vw, 560px);
  height:7px;
  margin:0 auto 64px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.loading-bar-fill{
  height:100%;
  width:0%;
  border-radius:inherit;
  background:linear-gradient(90deg, #c46cff 0%, #f052b8 55%, #ff9452 100%);
  box-shadow:0 0 20px rgba(240,82,184,.5);
  transition:width .08s linear;
}
.loading-milestones{
  width:min(80vw, 620px);
  display:grid;
  grid-template-columns:30px 1fr 30px 1fr 30px;
  align-items:center;
  gap:16px;
  margin:-25px auto 50px;
}
.milestone-node{
  width:30px;
  height:30px;
  border-radius:50%;
  box-shadow:0 0 18px currentColor;
}
.node-left,.node-middle{
  color:#08beb4;
  background:#08beb4;
}
.node-right{
  color:#de55e5;
  background:#de55e5;
}
.milestone-line{
  height:5px;
  border-radius:999px;
  background:linear-gradient(90deg, #8f61ff 0%, #ef55b6 100%);
  box-shadow:0 0 12px rgba(201,94,255,.24);
}
.loading-steps{
  width:min(100%, 650px);
  display:grid;
  gap:26px;
  margin:0 auto;
}
.loading-step{
  min-height:108px;
  opacity:1;
  transform:none;
  transition:opacity .35s ease, transform .35s ease;
  display:flex;
  align-items:center;
  padding:22px 38px;
  border-radius:28px;
  background:rgba(70,42,113,.62);
  border:1px solid rgba(194,137,255,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 12px 26px rgba(20,10,42,.16);
  font-size:29px;
  font-weight:700;
  line-height:1.55;
  color:rgba(255,255,255,.93);
  text-align:left;
  word-break:break-word;
}
.loading-screen.loading-animating .loading-step{
  opacity:0;
  transform:translateY(12px);
}
.loading-step.visible{
  opacity:1;
  transform:translateY(0);
}

.page-body{
  min-height:100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(239,95,168,.15), transparent 24%),
    radial-gradient(circle at 90% 18%, rgba(255,157,77,.12), transparent 18%),
    linear-gradient(180deg, #160d25 0%, #130b20 100%);
}
.page-shell{
  width:min(100%, 740px);
  margin:0 auto;
  padding:18px 16px 28px;
}
.page-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:4px;
  margin-bottom:18px;
}
.page-head-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.page-logo{
  width:54px;height:54px;border-radius:18px;
  display:grid;place-items:center;
  background:linear-gradient(145deg, #c95dff, #ff5da8 55%, #ff9b4d);
  color:#fff;font-weight:800;font-size:20px;
  box-shadow:0 10px 26px rgba(239,95,168,.28);
}
.page-title{font-weight:800;font-size:22px;line-height:1.1}
.page-subtitle{font-size:13px;color:var(--muted);margin-top:4px}
.quota-pill{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:var(--text);
  border:1px solid rgba(255,255,255,.10);
  font-size:13px;
}
.hero-block{
  padding:12px 2px 6px;
}
.hero-block h1{
  margin:12px 0 8px;
  font-size:34px;
  line-height:1.15;
  text-align:center;
  color:#ff5cab;
  letter-spacing:0;
}
.hero-block p{
  margin:0 0 18px;
  text-align:center;
  color:var(--muted);
  font-size:15px;
}
.feature-chips{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-bottom:18px;
}
.chip{
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#ffd39f;
  font-size:14px;
}
.services-list{
  display:grid;
  gap:14px;
}
.service-card{
  width:100%;
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:22px;
  background:rgba(35,25,55,.92);
  box-shadow:var(--shadow);
  color:inherit;
  text-align:left;
}
.service-card.selected{
  border-color:rgba(196,128,255,.55);
  box-shadow:0 0 0 1px rgba(196,128,255,.22), var(--shadow);
}
.service-card.hot{
  background:linear-gradient(180deg, rgba(47,30,73,.98), rgba(38,25,58,.98));
}
.service-left{flex:0 0 auto}
.service-icon{
  width:70px;height:70px;
  border-radius:20px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, rgba(196,128,255,.18), rgba(239,95,168,.12));
  border:1px solid rgba(255,255,255,.08);
  color:#d98cff;
  font-size:28px;
}
.service-center{
  flex:1 1 auto;
  min-width:0;
}
.service-topline{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.service-topline h2{
  margin:0;
  font-size:24px;
  line-height:1.15;
}
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(239,95,168,.95), rgba(255,157,77,.95));
  color:#fff;
  font-size:12px;
  font-weight:700;
}
.service-desc{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
}
.service-quota{
  margin-top:8px;
  color:#d8c0ff;
  font-size:14px;
}
.service-right{
  flex:0 0 auto;
  text-align:right;
}
.service-price{
  font-size:40px;
  line-height:1;
  font-weight:900;
  color:#ef74d0;
}
.service-valid{
  margin-top:10px;
  color:rgba(244,238,252,.48);
  font-size:12px;
}
.agreement-row{
  padding:16px 4px 0;
  color:rgba(244,238,252,.68);
}
.checkbox-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
}
.checkbox-wrap input{
  width:18px;height:18px;
  accent-color:#ff5cab;
}
.pay-footer{
  margin-top:16px;
  padding:8px 0 0;
}
.pay-button{
  width:100%;
  min-height:62px;
  border:none;
  border-radius:20px;
  font-size:22px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(90deg, #bf63ff 0%, #ff5cab 45%, #ff9b4d 100%);
  box-shadow:0 16px 28px rgba(239,95,168,.25);
}
.pay-button:disabled{opacity:.72}
.enter-chat-button{
  width:100%;
  min-height:50px;
  margin-top:12px;
  border:none;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:18px;
  font-weight:800;
  border:1px solid rgba(255,255,255,.12);
}
.pay-note{
  margin-top:14px;
  text-align:center;
  color:rgba(244,238,252,.55);
  font-size:13px;
}
.card-login-mask{
  position:fixed;
  inset:0;
  z-index:50;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(0,0,0,.48);
}
.card-login-mask[hidden]{display:none}
.card-login-dialog{
  width:min(100%, 430px);
  border-radius:18px;
  padding:22px;
  background:#fff;
  color:#111;
  box-shadow:0 18px 50px rgba(0,0,0,.28);
}
.card-login-title{
  font-size:22px;
  font-weight:900;
  margin-bottom:8px;
}
.card-login-text{
  color:#666;
  line-height:1.6;
  font-size:14px;
  margin-bottom:16px;
}
.card-login-dialog input{
  width:100%;
  min-height:48px;
  border:1px solid #ddd;
  border-radius:12px;
  padding:0 14px;
  outline:none;
  font-size:17px;
  text-transform:uppercase;
}
.card-login-error{
  margin-top:10px;
  color:#e44;
  font-size:14px;
}
.card-login-actions{
  margin-top:16px;
}
.card-login-submit{
  width:100%;
  min-height:48px;
  border:none;
  border-radius:12px;
  background:#07c160;
  color:#fff;
  font-size:17px;
  font-weight:700;
}
.card-login-submit:disabled{opacity:.72}

.chat-body{
  min-height:100vh;
  background:#f2f2f5;
  color:#111;
}
.chat-app{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.chat-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  background:#ededed;
  border-bottom:1px solid rgba(0,0,0,.05);
  position:sticky;
  top:0;
  z-index:20;
}
.chat-back,.chat-menu{
  width:44px;height:44px;
  display:grid;
  place-items:center;
  border:none;
  background:transparent;
  line-height:1;
  font-size:30px;
  color:#111;
  flex:0 0 auto;
  padding:0;
}
.chat-menu{font-size:24px;font-weight:700;letter-spacing:0}
.chat-title-wrap{flex:1 1 auto;text-align:center;min-width:0}
.chat-title{
  font-size:18px;
  font-weight:700;
  line-height:1.2;
}
.chat-subtitle{
  margin-top:2px;
  font-size:12px;
  color:#666;
}
.chat-stage{
  flex:1 1 auto;
  padding:18px 12px 20px;
  overflow:auto;
  background:#f4f4f7;
  background-repeat:no-repeat;
}
.chat-bubble{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:14px;
}
.chat-bubble.user{
  flex-direction:row-reverse;
}
.bubble-avatar{
  flex:0 0 auto;
  width:36px;height:36px;
  border-radius:6px;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:700;
  color:#fff;
  background:linear-gradient(145deg, #c95dff, #ff5da8);
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.bubble-avatar.has-image span{display:none}
.chat-bubble.user .bubble-avatar{
  background:#07c160;
}
.bubble-content{
  max-width:min(76%, 560px);
  padding:10px 13px;
  border-radius:6px;
  background:#fff;
  color:#111;
  line-height:1.6;
  box-shadow:0 1px 1px rgba(0,0,0,.04);
  word-break:break-word;
  white-space:pre-wrap;
}
.chat-bubble.user .bubble-content{
  background:#95ec69;
}
.chat-composer{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  background:#f7f7f7;
  border-top:1px solid rgba(0,0,0,.05);
  position:sticky;
  bottom:0;
}
.tool-btn,.send-btn{
  border:none;
  flex:0 0 auto;
  border-radius:999px;
}
.tool-btn{
  width:46px;height:46px;
  background:#fff;
  color:#222;
  font-size:24px;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
}
.chat-input-wrap{
  flex:1 1 auto;
  min-width:0;
  background:#fff;
  border-radius:5px;
  box-shadow:none;
  padding:7px 10px;
}
.chat-input-wrap textarea{
  width:100%;
  display:block;
  resize:none;
  border:none;
  outline:none;
  background:transparent;
  min-height:24px;
  max-height:96px;
  line-height:1.5;
  color:#111;
}
.send-btn{
  min-height:36px;
  padding:0 13px;
  border-radius:5px;
  background:#07c160;
  color:#fff;
  font-size:15px;
  font-weight:500;
}
.send-btn:disabled{
  background:#9bd7b2;
  color:rgba(255,255,255,.78);
}
.chat-settings-mask{
  position:fixed;
  inset:0;
  z-index:40;
  background:rgba(0,0,0,.24);
}
.chat-settings-panel{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  z-index:41;
  width:min(88vw, 360px);
  background:#fff;
  color:#111;
  box-shadow:-10px 0 28px rgba(0,0,0,.16);
  transform:translateX(102%);
  transition:transform .24s ease;
  display:flex;
  flex-direction:column;
}
.chat-settings-panel.open{transform:translateX(0)}
.chat-settings-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 16px 12px;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.chat-settings-title{font-size:18px;font-weight:800}
.chat-settings-subtitle{font-size:12px;color:#777;margin-top:3px}
.chat-settings-close{
  width:38px;
  height:38px;
  border:none;
  border-radius:50%;
  background:#f2f2f2;
  color:#111;
  font-size:24px;
}
.chat-settings-form{
  flex:1 1 auto;
  overflow:auto;
  padding:14px 16px 18px;
  display:grid;
  gap:14px;
}
.chat-field{
  display:grid;
  gap:8px;
}
.chat-field label{
  font-size:13px;
  color:#555;
}
.chat-field input[type="text"],
.chat-field textarea{
  width:100%;
  border:1px solid #dedede;
  border-radius:8px;
  padding:10px 11px;
  color:#111;
  background:#fff;
  outline:none;
}
.chat-field textarea{
  min-height:98px;
  resize:vertical;
}
.chat-field input[type="file"]{
  width:100%;
  color:#555;
  font-size:13px;
}
.chat-field input[type="color"]{
  width:68px;
  height:38px;
  padding:2px;
  border:1px solid #dedede;
  border-radius:8px;
  background:#fff;
}
.chat-settings-actions{
  display:flex;
  gap:10px;
}
.chat-save-btn,
.chat-reset-btn{
  min-height:40px;
  border:none;
  border-radius:8px;
  padding:0 16px;
  font-size:15px;
}
.chat-save-btn{
  background:#07c160;
  color:#fff;
}
.chat-reset-btn{
  background:#f1f1f1;
  color:#333;
}

.pay-wait-body{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:#f2f2f5;
}
.pay-wait-card{
  width:min(100% - 32px, 420px);
  padding:28px 22px;
  border-radius:24px;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  text-align:center;
}
.pay-wait-title{font-size:22px;font-weight:800;margin-bottom:8px}
.pay-wait-text{color:#666;line-height:1.6;margin-bottom:18px}
.pay-wait-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(90deg, #c95dff, #ff5da8);
}
.pay-success-card{
  width:min(100% - 32px, 500px);
}
.card-code-box{
  margin:18px 0;
  padding:16px 14px;
  border-radius:16px;
  background:#111522;
  color:#9cf7ba;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:24px;
  font-weight:900;
  letter-spacing:1px;
  word-break:break-word;
}

.admin-body{
  min-height:100vh;
  background:#0f1220;
  color:#fff;
}
.admin-shell{
  min-height:100vh;
  display:flex;
}
.admin-sidebar{
  width:260px;
  padding:20px 16px;
  background:#14182a;
  border-right:1px solid rgba(255,255,255,.06);
}
.admin-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}
.brand-mark{
  width:48px;height:48px;border-radius:16px;
  display:grid;place-items:center;
  background:linear-gradient(145deg, #c95dff, #ff5da8);
  font-weight:900;
}
.brand-title{font-size:18px;font-weight:800}
.brand-subtitle{font-size:12px;color:rgba(255,255,255,.55)}
.admin-nav{
  display:grid;
  gap:8px;
}
.admin-nav a{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.84);
}
.admin-nav a.active{background:linear-gradient(90deg, rgba(201,93,255,.26), rgba(255,93,168,.20));color:#fff}
.admin-main{
  flex:1 1 auto;
  min-width:0;
  padding:20px;
}
.admin-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.admin-topbar-title{font-size:26px;font-weight:900}
.admin-topbar-subtitle{color:rgba(255,255,255,.58);font-size:13px;margin-top:4px}
.admin-user{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.admin-content{
  display:grid;
  gap:16px;
}
.grid-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.stat-card,.panel-card{
  border-radius:18px;
  background:#171b2d;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:var(--shadow);
}
.stat-card{
  padding:18px;
}
.stat-label{color:rgba(255,255,255,.55);font-size:13px}
.stat-value{font-size:30px;font-weight:900;margin-top:8px}
.panel-card{
  padding:18px;
}
.panel-title{
  font-size:18px;
  font-weight:800;
  margin-bottom:14px;
}
.admin-table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
}
.admin-table th,.admin-table td{
  padding:12px 10px;
  text-align:left;
  border-bottom:1px solid rgba(255,255,255,.06);
  vertical-align:top;
  font-size:14px;
}
.admin-table th{color:rgba(255,255,255,.55);font-weight:600}
.admin-form{
  display:grid;
  gap:14px;
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.field label{
  display:block;
  margin-bottom:6px;
  font-size:13px;
  color:rgba(255,255,255,.64);
}
.field input,.field textarea, .field select{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:#111522;
  color:#fff;
  outline:none;
}
.field textarea{min-height:110px;resize:vertical}
.form-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border:none;
  border-radius:12px;
  background:linear-gradient(90deg, #c95dff, #ff5da8);
  color:#fff;
  font-weight:700;
}
.btn.secondary{
  background:rgba(255,255,255,.08);
}
.login-wrap{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:radial-gradient(circle at top, rgba(201,93,255,.24), transparent 30%), #0f1220;
}
.login-card{
  width:min(100% - 32px, 420px);
  padding:24px;
  border-radius:24px;
  background:#171b2d;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:var(--shadow);
}
.login-title{
  font-size:28px;
  font-weight:900;
  margin-bottom:6px;
}
.login-subtitle{
  font-size:13px;
  color:rgba(255,255,255,.56);
  margin-bottom:18px;
}

@keyframes spin{to{transform:rotate(360deg)}}

@media (max-width: 860px){
  .admin-shell{flex-direction:column}
  .admin-sidebar{width:100%;border-right:none;border-bottom:1px solid rgba(255,255,255,.06)}
  .grid-2,.form-grid{grid-template-columns:1fr}
}

@media (max-width: 640px){
  .loading-screen{padding:28px 16px 20px}
  .loading-content{min-height:calc(100vh - 48px)}
  .loading-orbit{width:190px;height:190px;margin:24px auto 14px}
  .loading-orb{width:92px;height:92px}
  .robot-mark{width:44px;height:32px;border-width:6px;border-radius:12px}
  .robot-mark::before,.robot-mark::after{top:9px;width:5px;height:12px}
  .robot-mark::before{left:-14px}
  .robot-mark::after{right:-14px}
  .robot-mark i,.robot-mark b{top:11px}
  .robot-mark i{left:9px}
  .robot-mark b{right:9px}
  .orbit-dot-a{top:52px;left:90px}
  .orbit-dot-b{top:54px;right:54px}
  .orbit-dot-c{right:18px;bottom:38px;width:16px;height:16px}
  .loading-status{font-size:18px;gap:10px;margin-bottom:26px}
  .loading-spinner{width:25px;height:25px;border-width:3px}
  .loading-bar{width:min(72vw, 360px);height:6px;margin-bottom:52px}
  .loading-milestones{width:min(84vw, 360px);grid-template-columns:24px 1fr 24px 1fr 24px;gap:11px;margin:-22px auto 34px}
  .milestone-node{width:24px;height:24px}
  .milestone-line{height:4px}
  .loading-steps{gap:14px;width:min(100%, 650px)}
  .loading-step{min-height:78px;padding:15px 20px;border-radius:20px;font-size:18px;line-height:1.5}
  .page-shell{padding-inline:12px}
  .page-header{align-items:flex-start}
  .page-title{font-size:18px}
  .hero-block h1{font-size:28px}
  .service-card{padding:14px}
  .service-icon{width:58px;height:58px;border-radius:18px;font-size:24px}
  .service-topline h2{font-size:20px}
  .service-price{font-size:34px}
  .chat-header{padding-inline:10px}
  .chat-title{font-size:17px}
  .bubble-content{max-width:82%}
  .chat-composer{gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom))}
  .send-btn{min-height:36px;padding:0 13px}
}
