:root{
  --bg:#111111;
  --phone-bg:#f3f3f3;
  --white:#ffffff;
  --text:#111111;
  --text-2:#1a1a1a;
  --text-3:#666666;
  --text-4:#999999;
  --line:#e6e6e6;
  --line-2:#f0f0f0;
  --shadow:0 24px 80px rgba(0,0,0,.18);
  --card-shadow:0 10px 30px rgba(0,0,0,.06);
  --indigo:#111111;
  --indigo-2:#2a2a2a;
  --indigo-soft:#f1f1f1;
  --emerald:#111111;
  --emerald-soft:#f1f1f1;
  --amber:#555555;
  --amber-soft:#f2f2f2;
  --gray-soft:#f7f7f7;
  --rose:#111111;
  --rose-soft:#f1f1f1;
  --radius-xl:5px;
  --radius-lg:5px;
  --radius-md:5px;
  --radius-sm:5px;
  --safe-bottom:env(safe-area-inset-bottom,0px);
}

*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent;}
html,body{height:100%;}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",Arial,sans-serif;
  background:var(--white);
  color:var(--text);
  font-size:14px;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
button,input,select{font:inherit;}
button{border:none;background:none;cursor:pointer;}
input,select{outline:none;border:none;}
svg{display:block;}

#app{
  min-height:100vh;
  position:relative;
  overflow-x:hidden;
}

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

.hidden{display:none !important;}

.login-page{
  display:block;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:0;
  background:
    radial-gradient(circle at 10% 5%, rgba(255,255,255,.94) 0 5%, transparent 26%),
    linear-gradient(145deg,#efefef 0%,#fbfbfb 48%,#f2f2f2 100%);
  color:#111111;
  min-height:100vh;
}

.login-page::before{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:28%;
  z-index:-2;
  opacity:.42;
  background:
    linear-gradient(152deg,transparent 0 18%,#dfdfdf 18.2% 29%,transparent 29.2%) 0 100%/38% 100% no-repeat,
    linear-gradient(28deg,transparent 0 36%,#ebebeb 36.2% 53%,transparent 53.2%) 100% 100%/62% 100% no-repeat;
}

.login-orbit{
  position:absolute;
  z-index:-1;
  border:1px solid rgba(17,17,17,.08);
  border-radius:50%;
  pointer-events:none;
}

.login-orbit::after{
  content:"";
  position:absolute;
  width:9px;height:9px;
  border-radius:50%;
  background:#111111;
  box-shadow:0 0 0 7px rgba(17,17,17,.08);
}

.login-orbit-one{width:460px;height:460px;left:-190px;top:-220px;}
.login-orbit-one::after{right:55px;bottom:55px;}
.login-orbit-two{width:560px;height:560px;right:-290px;bottom:-300px;}
.login-orbit-two::after{left:86px;top:62px;}

.login-shell{
  width:100%;
  max-width:480px;
  height:100vh;
  margin:0 auto;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.9);
  border-radius:0;
  background:rgba(255,255,255,.72);
  box-shadow:0 22px 70px rgba(0,0,0,.08),inset 0 1px rgba(255,255,255,.9);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.login-panel{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  position:relative;
  overflow:hidden;
  color:var(--text);
  padding:36px 28px 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(17,17,17,.08), transparent 34%),
    radial-gradient(circle at 100% 16%, rgba(0,0,0,.04), transparent 24%),
    linear-gradient(180deg, rgba(245,245,245,.98) 0%, rgba(255,255,255,.98) 34%, rgba(248,248,248,.98) 100%);
}

.login-panel::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:160px;
  background:
    linear-gradient(135deg, rgba(17,17,17,.06) 0 18%, transparent 18.2% 100%),
    linear-gradient(225deg, rgba(17,17,17,.04) 0 14%, transparent 14.2% 100%);
  pointer-events:none;
}

.login-panel-hero{
  position:relative;
  display:flex;
  justify-content:center;
  margin:-6px 0 24px;
  padding:18px 0 10px;
}

.login-panel-hero::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:168px;
  height:168px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(17,17,17,.09) 0%, rgba(17,17,17,.04) 42%, transparent 72%);
  transform:translateX(-50%);
}

.login-logo-wrap{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:122px;
  height:122px;
  border-radius:32px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.92);
  box-shadow:0 18px 38px rgba(0,0,0,.08);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.login-logo{
  width:84px;
  height:auto;
  object-fit:contain;
  display:block;
}

.login-panel-head{
  position:relative;
  z-index:1;
  margin-bottom:25px;
  text-align:center;
}

.login-panel-kicker{font-size:11px;font-weight:700;letter-spacing:.16em;color:#555555;}

.login-panel-head h2{
  margin-top:8px;
  font-size:29px;
  line-height:1.25;
  letter-spacing:-.03em;
  color:#111111;
  font-weight:800;
}

.login-panel-head p{
  margin-top:8px;
  font-size:13px;
  color:#777777;
}

.login-mode-switch{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:5px;
  background:#f1f1f1;
  border:1px solid #e6e6e6;
  border-radius:14px;
}

.login-mode-btn{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:10px 12px;
  border-radius:10px;
  background:transparent;
  color:#777777;
  font-size:13px;
  font-weight:600;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.login-mode-btn svg{width:18px;height:18px;}

.login-mode-btn.active{
  background:#fff;
  color:#111111;
  box-shadow:0 7px 18px rgba(0,0,0,.08);
}

.login-mode-panel{
  margin-top:20px;
  display:flex;
  flex-direction:column;
  gap:16px;
  animation:loginPanelIn .28s ease both;
}
@keyframes loginPanelIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}

.login-info-card{
  display:flex;align-items:center;gap:12px;
  padding:15px;
  border-radius:14px;
  background:#f7f7f7;
  border:1px solid #e6e6e6;
}

.login-info-icon{
  width:43px;height:43px;border-radius:13px;
  background:linear-gradient(145deg,#111111,#2a2a2a);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  box-shadow:0 8px 18px rgba(0,0,0,.14);
}

.login-info-icon svg{width:22px;height:22px;}

.login-info-title{
  font-size:14px;
  font-weight:700;
  color:#111111;
}

.login-info-sub{
  margin-top:4px;
  font-size:13px;
  line-height:1.5;
  color:#777777;
}

.login-code-row{
  display:flex;
  gap:10px;
  align-items:center;
}

.login-code-row .field-input{
  flex:1;
  min-width:0;
}

.login-panel .field-block{gap:8px;}
.login-panel .block-label{font-size:12px;color:#666666;}
.login-panel .field-input{
  min-height:45px;
  border-radius:14px;
  padding:14px 20px;
  border:1px solid #dddddd;
  background:#fff;
}
.login-panel .field-input:focus{border-color:#111111;background:#fff;box-shadow:0 0 0 4px rgba(17,17,17,.08);}

.code-btn{
  flex-shrink:0;
  min-height:45px;
  padding:10px 18px;
  border:1px solid #d8d8d8;
  border-radius:14px;
  background:#f3f3f3;
  color:#111111;
  font-size:13px;
  font-weight:600;
  transition:background .2s ease,border-color .2s ease;
}
.code-btn:hover{background:#ebebeb;border-color:#cfcfcf;}

.code-btn:disabled{
  opacity:.65;
  pointer-events:none;
}

.login-primary-btn{
  width:100%;
  min-height:46px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:13px;
  color:#fff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}

.login-primary-btn.wechat{
  background:linear-gradient(135deg,#111111,#2a2a2a);
  box-shadow:0 13px 26px rgba(0,0,0,.18);
}

.login-primary-btn.sms{
  background:linear-gradient(135deg,#111111,#2a2a2a);
  box-shadow:0 13px 26px rgba(0,0,0,.18);
}
.login-primary-btn:hover{transform:translateY(-1px);filter:saturate(1.06);}
.login-primary-btn:active{transform:translateY(1px);}
.login-btn-arrow{position:absolute;right:18px;width:18px;height:18px;opacity:.78;}

.login-primary-btn .spinner{
  width:16px;height:16px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  display:none;
  animation:spin .8s linear infinite;
}

.login-primary-btn.loading{
  pointer-events:none;
}

.login-primary-btn.loading .spinner{
  display:block;
}

.login-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  margin-top:16px;
  font-size:11px;
  color:#888888;
  text-align:center;
}
.login-note svg{width:15px;height:15px;color:#111111;flex-shrink:0;}
.login-note span{color:#555555;}
.login-note-link{
  color:#2563eb;
  text-decoration:none;
  font-weight:600;
}
.login-note-link:hover,.login-note-link:focus-visible{
  text-decoration:underline;
}

.login-mode-btn:focus-visible,.login-primary-btn:focus-visible,.code-btn:focus-visible{
  outline:3px solid rgba(17,17,17,.18);
  outline-offset:3px;
}

.device-shell{
  min-height:100vh;
  display:flex;align-items:center;justify-content:center;
  padding:24px 16px;
  position:relative;
  overflow:hidden;
}
.device-pattern{
  position:absolute;inset:0;
  background-image:radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:20px 20px;
  pointer-events:none;
}

.phone-frame{
  width:100%;
  max-width:420px;
  height:min(850px, calc(100vh - 48px));
  background:var(--phone-bg);
  border:10px solid #f5f5f5;
  border-radius:20px;
  overflow:hidden;
  position:relative;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
}

.phone-content{
  flex:1;
  overflow:hidden;
  position:relative;
  background:var(--phone-bg);
}
.view{
  position:absolute;inset:0;
  display:flex;flex-direction:column;
  background:var(--phone-bg);
}
.view.hidden{display:none;}
.page-scroll{
  flex:1;
  overflow-y:auto;
  padding-bottom:calc(66px + var(--safe-bottom));
  -ms-overflow-style:none;
  scrollbar-width:none;
}
.page-scroll::-webkit-scrollbar{display:none;}
.page-scroll.with-submit{padding-bottom:calc(110px + var(--safe-bottom));}
.content-shell{
  max-width:420px;
  margin:0 auto;
  padding:10px;
}

.page-header{
  position:sticky;top:0;z-index:30;
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 12px;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid #f1f5f9;
}
.page-title{
  font-size:14px;
  font-weight:600;
  color:#111827;
  letter-spacing:-.02em;
  flex:1;
  text-align:left;
}
.header-action{
  min-width:24px;
  min-height:24px;
  color:#9ca3af;
  display:flex;align-items:center;justify-content:center;
}
.header-action.right{justify-content:flex-end;}
.header-action.spacer{width:24px;}
.text-link{
  font-size:14px;
  color:#6b7280;
  font-weight:500;
  margin-left:12px;
}

.content-card{
  background:#fff;
  border:1px solid #f8fafc;
  border-radius:var(--radius-lg);
  padding:12px;
  box-shadow:var(--card-shadow);
}
.order-form{display:flex;flex-direction:column;gap:12px;}
.field-block{display:flex;flex-direction:column;gap:6px;}
.block-label{
  font-size:14px;
  font-weight:500;
  color:#374151;
}
.field-input{
  width:100%;
  min-height:40px;
  padding:13px 20px;
  border-radius:14px;
  background:#fff;
  border:1px solid #e5e7eb;
  color:#1f2937;
  font-size:14px;
  transition:border-color .2s, background .2s, box-shadow .2s;
}
.field-input::placeholder{color:#9ca3af;}
.field-input:focus{
  background:#fff;
  border-color:rgba(31,186,99,.75);
  box-shadow:0 0 0 3px rgba(31,186,99,.08);
}
.field-input-readonly,
.field-input-readonly:focus{
  background:#f8fafc;
  border-color:#e5e7eb;
  color:#64748b;
  cursor:not-allowed;
}

.select-wrap{position:relative;}
.field-native-select{display:none;}
.custom-select-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  text-align:left;
  padding-right:48px;
}
.custom-select-value{
  min-width:0;
  color:#1f2937;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.custom-select-value.is-placeholder{color:#9ca3af;}
.select-icon{
  position:absolute;right:20px;top:50%;transform:translateY(-50%);
  color:#9ca3af;pointer-events:none;
}
.select-icon svg{width:16px;height:16px;}

.select-modal{
  position:fixed;
  inset:0;
  z-index:120;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.select-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(17,24,39,.38);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}
.select-modal-panel{
  position:relative;
  width:min(100%, 340px);
  max-height:min(78vh, 520px);
  background:#ffffff;
  border-radius:24px;
  box-shadow:0 24px 70px rgba(15,23,42,.18);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  animation:selectModalIn .22s cubic-bezier(.2,.8,.2,1);
}
.select-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:18px 18px 12px;
  border-bottom:1px solid #f1f5f9;
}
.select-modal-head h3{
  font-size:16px;
  font-weight:700;
  color:#111827;
}
.select-modal-close{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f8fafc;
  color:#64748b;
  flex-shrink:0;
}
.select-modal-close svg{width:16px;height:16px;}
.select-modal-body{
  padding:10px 12px 14px;
  overflow-y:auto;
}
.select-modal-option{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px;
  border-radius:16px;
  color:#111827;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.select-modal-option + .select-modal-option{
  margin-top:6px;
}
.select-modal-option:active{
  transform:scale(.992);
}
.select-modal-option.active{
  background:rgba(17,17,17,.08);
}
.select-modal-option-text{
  flex:1;
  min-width:0;
  font-size:15px;
  line-height:1.45;
  text-align:left;
}
.select-modal-option-check{
  width:20px;
  height:20px;
  color:#111111;
  opacity:0;
  transform:scale(.9);
  transition:opacity .18s ease,transform .18s ease;
}
.select-modal-option.active .select-modal-option-check{
  opacity:1;
  transform:scale(1);
}
@keyframes selectModalIn{
  from{opacity:0;transform:translateY(10px) scale(.97);}
  to{opacity:1;transform:translateY(0) scale(1);}
}

.pkg-list{display:flex;flex-direction:column;gap:10px;}
.pkg-row{
  width:100%;
  text-align:left;
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 12px;
  border:1px solid #f3f4f6;
  border-radius:var(--radius-sm);
  background:#fff;
  transition:all .2s ease;
}
.pkg-row:hover{border-color:#e5e7eb;}
.pkg-row.selected{
  border-color:var(--indigo);
  background:rgba(233,249,240,.6);
  box-shadow:0 0 0 1px var(--indigo), 0 10px 20px rgba(31,186,99,.12);
}
.pkg-main{
  min-width:0;
}
.pkg-name-row{
  display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;
}
.pkg-name{
  font-size:14px;
  font-weight:600;
  color:#111827;
}
.pkg-sub{
  font-size:14px;
  color:#9ca3af;
}
.pkg-desc{
  margin-top:4px;
  font-size:14px;
  line-height:1.5;
  color:#9ca3af;
}
.pkg-price-group{
  display:flex;align-items:baseline;
  color:var(--indigo);
  flex-shrink:0;
}
.pkg-currency{
  font-size:14px;
  font-weight:600;
}
.pkg-price{
  font-size:18px;
  line-height:1;
  font-weight:700;
  margin-left:2px;
}
.pkg-unit{
  font-size:14px;
  color:#9ca3af;
  margin-left:2px;
}

.renew-row{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:2px;
}
.renew-title{
  font-size:14px;
  font-weight:500;
  color:#1f2937;
}
.renew-sub{
  margin-top:2px;
  font-size:14px;
  color:#9ca3af;
}
.switch{position:relative;width:48px;height:28px;flex-shrink:0;}
.switch input{opacity:0;width:0;height:0;}
.slider{
  position:absolute;inset:0;border-radius:999px;background:#e5e7eb;transition:.2s;
}
.slider:before{
  content:"";position:absolute;left:2px;top:2px;width:24px;height:24px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.18);transition:.2s;
}
.switch input:checked + .slider{background:var(--indigo);}
.switch input:checked + .slider:before{transform:translateX(20px);}

.submit-panel{
  position:absolute;left:0;right:0;bottom:55px;z-index:35;
  padding:8px 10px 0;
  background:linear-gradient(to top, rgba(248,250,252,.95) 65%, rgba(248,250,252,0));
}
.submit-panel.hidden{display:none;}
.submit-btn{
  width:100%;
  padding:10px 12px;
  border-radius:13px;
  background:linear-gradient(135deg,var(--indigo),var(--indigo-2));
  color:#fff;
  font-size:14px;
  font-weight:500;
}
.submit-btn:disabled{opacity:.6;pointer-events:none;}

.bottom-nav{
  position:absolute;left:0;right:0;bottom:0;z-index:40;
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:0;
  height:50px;
  padding:4px 12px calc(4px + var(--safe-bottom));
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(18px);
  border-top:1px solid #f3f4f6;
  box-shadow:0 -10px 30px rgba(15,23,42,.08);
}
.bottom-tab{
  position:relative;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1px;
  color:#9ca3af;
  padding:0;
  transition:transform .2s ease,color .2s ease;
}
.bottom-tab.active{
  color:var(--indigo);
  transform:none;
}
.bottom-tab-icon{
  width:16px;height:16px;
}
.bottom-tab span{
  font-size:12px;
  font-weight:500;
  letter-spacing:.02em;
}
.nav-badge{
  position:absolute;top:-1px;right:18px;
  width:16px;height:16px;border-radius:50%;
  background:var(--rose);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:9px;font-weight:800;
}
.nav-badge.hidden{display:none;}

.orders-filters{
  position:sticky;top:0;z-index:25;
  display:flex;justify-content:space-around;
  padding:0 8px;
  background:#fff;
  border-bottom:1px solid #f1f5f9;
}
.filter-tab{
  position:relative;
  padding:10px 12px;
  font-size:14px;
  font-weight:500;
  color:#9ca3af;
  transition:color .2s;
}
.filter-tab.active{
  color:var(--indigo);
  font-weight:600;
}
.filter-tab.active::after{
  content:"";position:absolute;left:33%;right:33%;bottom:0;height:2px;border-radius:999px;background:var(--indigo);
}

.search-bar{
  position:relative;
  margin-bottom:10px;
}
.search-bar input{
  width:100%;
  min-height:45px;
  padding:14px 18px 14px 44px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  font-size:14px;
  color:#1f2937;
  box-shadow:var(--card-shadow);
}
.search-bar input::placeholder{color:#9ca3af;}
.search-bar input:focus{border-color:rgba(31,186,99,.75);}
.search-icon{
  position:absolute;left:12px;top:50%;transform:translateY(-50%);
  width:14px;height:14px;color:#9ca3af;
}

.orders-load-more-state{
  padding:6px 0 16px;
  text-align:center;
  font-size:12px;
  color:#9ca3af;
}

.orders-load-more-state.hidden{
  display:none;
}

.empty-card{
  background:#fff;
  border:1px solid #f8fafc;
  border-radius:var(--radius-lg);
  padding:18px 14px;
  text-align:center;
  box-shadow:var(--card-shadow);
}
.empty-icon{
  width:48px;height:48px;margin:0 auto 14px;
  border-radius:50%;background:#f8fafc;color:#9ca3af;
  display:flex;align-items:center;justify-content:center;
}
.empty-icon svg{width:24px;height:24px;}
.empty-title{
  font-size:14px;font-weight:600;color:#1f2937;
}
.empty-sub{
  margin-top:4px;font-size:14px;color:#9ca3af;line-height:1.5;
}
.empty-btn{
  margin-top:12px;
  padding:8px 12px;
  border-radius:var(--radius-sm);
  background:var(--indigo);
  color:#fff;
  font-size:14px;
  font-weight:500;
}

.order-card{
  background:#fff;
  border:1px solid #f8fafc;
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--card-shadow);
  margin-bottom:10px;
}
.order-card-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 12px;
  background:rgba(248,250,252,.7);
  border-bottom:1px solid #f1f5f9;
  gap:8px;
}
.order-no{
  font-size:12px;
  color:#9ca3af;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  line-height:1.2;
}
.order-status{
  font-size:12px;font-weight:500;
  padding:4px 8px;border-radius:var(--radius-sm);border:1px solid transparent;
  line-height:1.2;
  white-space:nowrap;
  flex-shrink:0;
}
.status-done{background:#f1f1f1;color:#111111;border-color:#dddddd;}
.status-processing{background:#f4f4f4;color:#333333;border-color:#dddddd;}
.status-pending{background:#fafafa;color:#555555;border-color:#e3e3e3;}
.status-cancelled{background:#f3f3f3;color:#777777;border-color:#e5e5e5;}

.order-card-body{
  padding:12px;
}
.order-topline{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
}
.order-topline > div:first-child{
  min-width:0;
  flex:1;
}
.order-name{
  font-size:14px;
  font-weight:600;
  color:#111827;
}
.order-sub{
  display:inline-block;
  margin-left:8px;
  padding:2px 7px;
  border-radius:var(--radius-sm);
  background:#f1f5f9;
  color:#94a3b8;
  font-size:14px;
  font-weight:500;
}
.order-meta{
  margin-top:6px;
  font-size:12px;
  color:#9ca3af;
  line-height:1.55;
}
.order-price-tip{
  text-align:right;
  white-space:nowrap;
  flex-shrink:0;
}
.order-price-tip span:first-child{
  font-size:14px;color:#9ca3af;
}
.order-price-tip strong{
  margin-left:4px;
  font-size:14px;
  color:#1f2937;
}
.order-info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px 12px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #f1f5f9;
}
.order-info-item{
  font-size:14px;
  color:#6b7280;
}
.order-info-item span{
  color:#9ca3af;
}
.order-info-item strong{
  color:#1f2937;
  font-weight:700;
}
.order-renew-on{color:var(--indigo);}
.order-time{
  margin-top:10px;
  font-size:14px;
  color:#9ca3af;
}
.order-inline-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.order-card-foot{
  display:flex;justify-content:flex-end;gap:8px;align-items:center;
  padding:10px 12px;
  background:rgba(248,250,252,.35);
  border-top:1px solid #f1f5f9;
  flex-wrap:wrap;
}
.order-foot-tip{
  font-size:14px;font-weight:500;color:#555555;
}
.outline-danger-btn,
.ghost-btn,
.solid-danger-btn{
  font-size:14px;font-weight:500;border-radius:var(--radius-sm);padding:7px 10px;
}
.outline-danger-btn{
  color:var(--rose);
  border:1px solid #dcdcdc;
  background:#fff;
}
.ghost-btn{
  background:#f1f5f9;
  color:#64748b;
}
.detail-btn{
  background:#111111;
  color:#ffffff;
}
.solid-danger-btn{
  background:var(--rose);
  color:#fff;
}
.delete-btn{
  display:inline-flex;align-items:center;gap:6px;
  color:#9ca3af;
  padding:7px 10px;border-radius:var(--radius-sm);
}
.delete-btn svg{width:14px;height:14px;}
.confirm-row{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.confirm-row span{
  font-size:14px;font-weight:500;color:var(--rose);
}
.detail-modal{
  position:fixed;
  inset:0;
  z-index:40;
}
.detail-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.52);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.detail-modal-panel{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  max-height:min(82vh,780px);
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff 0%,#fbfbfb 100%);
  border-radius:14px 14px 0 0;
  box-shadow:0 -18px 40px rgba(0,0,0,.22);
}
.detail-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:18px 18px 14px;
  border-bottom:1px solid #efefef;
}
.detail-modal-kicker{
  font-size:11px;
  letter-spacing:.18em;
  color:#8a8a8a;
}
.detail-modal-head h3{
  margin-top:6px;
  font-size:18px;
  color:#111111;
  line-height:1.2;
}
.detail-modal-close{
  width:36px;
  height:36px;
  border-radius:50%;
  background:#f3f3f3;
  color:#111111;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.detail-modal-close svg{
  width:18px;
  height:18px;
}
.detail-modal-body{
  padding:16px 18px calc(18px + var(--safe-bottom));
  max-height:calc(min(82vh,780px) - 78px);
  overflow:auto;
}
.detail-modal-body::-webkit-scrollbar{display:none;}
.detail-summary-card{
  padding:14px;
  border:1px solid #ececec;
  background:linear-gradient(135deg,#111111 0%,#262626 100%);
  color:#ffffff;
  border-radius:18px;
}
.detail-summary-top{
  display:flex;
  justify-content:space-between;
  gap:14px;
}
.detail-summary-title{
  font-size:18px;
  font-weight:700;
  line-height:1.35;
}
.detail-summary-sub{
  margin-top:6px;
  font-size:12px;
  color:rgba(255,255,255,.72);
  line-height:1.5;
}
.detail-summary-price{
  text-align:right;
  white-space:nowrap;
}
.detail-summary-price span{
  display:block;
  font-size:12px;
  color:rgba(255,255,255,.68);
}
.detail-summary-price strong{
  display:block;
  margin-top:6px;
  font-size:24px;
  line-height:1;
}
.detail-summary-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.detail-summary-tags span{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.1);
  font-size:12px;
}
.detail-section{
  margin-top:14px;
  border:1px solid #ededed;
  border-radius:18px;
  background:#ffffff;
  overflow:hidden;
}
.detail-section-head{
  padding:12px 14px;
  background:#f7f7f7;
  border-bottom:1px solid #efefef;
}
.detail-section-head h4{
  font-size:13px;
  letter-spacing:.06em;
  color:#444444;
}
.detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
}
.detail-item{
  padding:14px;
  border-right:1px solid #f1f1f1;
  border-bottom:1px solid #f1f1f1;
  min-width:0;
}
.detail-item:nth-child(2n){
  border-right:none;
}
.detail-item.full{
  grid-column:1 / -1;
}
.detail-label{
  display:block;
  font-size:12px;
  color:#8b8b8b;
  margin-bottom:6px;
}
.detail-value{
  display:block;
  font-size:14px;
  color:#111111;
  line-height:1.6;
  word-break:break-all;
}

.profile-page-shell{
  padding-top:12px;
  padding-bottom:70px;
}
.profile-panel{
  background:#ffffff;
  border:1px solid #e9edf3;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
  padding:14px 0;
  margin-bottom:16px;
}
.profile-section-title{
  margin:0;
  padding:0 16px 12px;
  font-size:18px;
  font-weight:700;
  color:#111827;
}
.profile-info-list,
.profile-shortcut-list{
  width:100%;
}
.profile-info-row,
.profile-shortcut-row{
  width:100%;
  min-height:52px;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.profile-info-row + .profile-info-row,
.profile-shortcut-row + .profile-shortcut-row{
  border-top:1px solid #eef2f7;
}
.profile-info-label{
  flex-shrink:0;
  font-size:15px;
  color:#111827;
}
.profile-info-value{
  font-size:15px;
  font-weight:500;
  color:#111827;
  text-align:right;
  word-break:break-all;
}
.profile-info-readonly{
  color:#111827;
}
.profile-info-input{
  width:min(68%, 260px);
  min-width:0;
  border:1px solid transparent;
  border-radius:8px;
  padding:7px 8px;
  background:transparent;
  color:#111827;
  font:inherit;
  font-weight:500;
  text-align:right;
  outline:none;
}
.profile-info-input:focus{
  border-color:#d7dee8;
  background:#f8fafc;
}
.profile-info-input.saving{
  opacity:.68;
}
.profile-shortcut-main{
  flex:1;
  min-width:0;
  text-align:left;
}
.profile-shortcut-title{
  font-size:16px;
  font-weight:500;
  color:#111827;
}
.profile-shortcut-title.accent{
  color:#ff4d4f;
}
.profile-shortcut-sub{
  margin-top:4px;
  font-size:12px;
  line-height:1.5;
  color:#9ca3af;
}
.profile-shortcut-button{
  border:0;
  background:#ffffff;
  text-align:left;
}
.profile-shortcut-arrow{
  width:18px;
  height:18px;
  color:#c0c7d1;
  flex-shrink:0;
}
.profile-switch{
  flex-shrink:0;
}
.profile-shortcut-row.disabled .profile-shortcut-title,
.profile-shortcut-row.disabled .profile-shortcut-sub{
  color:#b6bec9;
}
.profile-logout-bar{
  width:100%;
  min-height:48px;
  border:1px solid #e9edf3;
  border-radius:14px;
  background:#ffffff;
  color:#1f2937;
  font-size:17px;
  font-weight:500;
  box-shadow:0 8px 20px rgba(15,23,42,.04);
}
.feedback-modal-panel{
  max-height:min(68vh,560px);
}
.feedback-textarea{
  width:100%;
  min-height:150px;
  resize:none;
  padding:14px 16px;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  color:#111827;
  font-size:14px;
  line-height:1.7;
  outline:none;
}
.feedback-textarea:focus{
  border-color:#111111;
  box-shadow:0 0 0 4px rgba(17,17,17,.08);
}
.feedback-submit-btn{
  width:100%;
  min-height:46px;
  margin-top:12px;
  border-radius:14px;
  background:#111111;
  color:#ffffff;
  font-size:14px;
  font-weight:600;
}
.feedback-submit-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
}
.service-qr-panel{
  left:50%;
  right:auto;
  top:50%;
  bottom:auto;
  width:min(320px, calc(100vw - 34px));
  max-height:min(72vh, 460px);
  border-radius:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.24);
  transform:translate(-50%, -50%);
  transform-origin:center;
}
.service-qr-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:2px 0 4px;
  text-align:center;
}
.service-qr-img{
  width:min(180px,52vw);
  height:min(180px,52vw);
  object-fit:contain;
  border-radius:14px;
  background:#fff;
  border:1px solid #eeeeee;
  box-shadow:0 12px 28px rgba(17,17,17,.08);
}
.service-qr-card p{
  color:#111827;
  font-size:13px;
  font-weight:500;
  line-height:1.6;
}
.service-qr-panel .detail-modal-head{
  padding:16px 16px 10px;
}
.service-qr-panel .detail-modal-kicker{
  font-size:10px;
  letter-spacing:.12em;
}
.service-qr-panel .detail-modal-head h3{
  margin-top:4px;
  font-size:16px;
  font-weight:700;
}
.service-qr-panel .detail-modal-close{
  width:32px;
  height:32px;
}
.service-qr-panel .detail-modal-close svg{
  width:16px;
  height:16px;
}
.service-qr-panel .detail-modal-body{
  padding:14px 16px 16px;
  max-height:calc(min(72vh, 460px) - 66px);
}
.detail-modal:not(.hidden) .detail-modal-backdrop{
  animation:detailBackdropFade .22s ease-out;
}
.detail-modal:not(.hidden) .service-qr-panel{
  animation:serviceQrModalIn .24s cubic-bezier(.2,.8,.2,1);
}
@keyframes detailBackdropFade{
  from{opacity:0;}
  to{opacity:1;}
}
@keyframes serviceQrModalIn{
  from{
    opacity:0;
    transform:translate(-50%, calc(-50% + 16px)) scale(.94);
  }
  to{
    opacity:1;
    transform:translate(-50%, -50%) scale(1);
  }
}
.profile-footnote{
  text-align:center;
  padding:16px 8px 0;
}
.profile-footnote p:first-child{
  font-size:14px;font-weight:500;color:#9ca3af;letter-spacing:0;
}
.profile-footnote p:last-child{
  margin-top:4px;
  font-size:14px;color:#d1d5db;
}

.toast{
  position:fixed;top:72px;left:50%;transform:translateX(-50%);
  z-index:140;
  min-width:180px;max-width:min(88vw,360px);
  padding:14px 16px;border-radius:16px;
  background:rgba(17,17,17,.92);color:#fff;
  text-align:center;font-size:13px;font-weight:700;
  opacity:0;pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
}
.toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}
.toast.success{
  background:#111111;
  color:#ffffff;
  border:1px solid #2d2d2d;
}
.toast.error{
  background:#f3f3f3;
  color:#111111;
  border:1px solid #dddddd;
}

.home-indicator{display:none;}

@media (min-width:961px){
  body{
    background:
      radial-gradient(circle at 14% 12%, rgba(17,17,17,.08), transparent 18%),
      radial-gradient(circle at 86% 16%, rgba(17,17,17,.05), transparent 22%),
      linear-gradient(135deg, #f7f8fa 0%, #eef1f5 48%, #f8fafc 100%);
  }

  .login-page{
    display:flex;
    align-items:stretch;
    justify-content:center;
    min-height:100vh;
    padding:40px;
  }

  .login-page::before{
    inset:auto 0 0;
    height:40%;
    opacity:.64;
    background:
      linear-gradient(145deg, transparent 0 16%, rgba(17,17,17,.05) 16.2% 28%, transparent 28.2%) 0 100%/42% 100% no-repeat,
      linear-gradient(28deg, transparent 0 38%, rgba(255,255,255,.58) 38.2% 54%, transparent 54.2%) 100% 100%/56% 100% no-repeat;
  }

  .login-page::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background:
      linear-gradient(126deg, transparent 0 62%, rgba(255,255,255,.52) 62.2% 74%, transparent 74.2%) 100% 0/58% 48% no-repeat,
      linear-gradient(304deg, transparent 0 70%, rgba(17,17,17,.035) 70.2% 82%, transparent 82.2%) 100% 100%/46% 42% no-repeat;
  }

  .login-orbit-one{
    width:540px;
    height:540px;
    left:-150px;
    top:-210px;
  }

  .login-shell{
    width:min(560px, calc(100vw - 112px));
    max-width:560px;
    min-height:0;
    height:auto;
    margin:auto;
    border-radius:34px;
    overflow:hidden;
    position:relative;
    background:rgba(255,255,255,.8);
    box-shadow:0 42px 110px rgba(15,23,42,.14), inset 0 1px rgba(255,255,255,.94);
  }

  .login-shell::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(145deg, rgba(255,255,255,.24), transparent 42%);
  }

  .login-shell::after{
    content:"";
    position:absolute;
    inset:18px;
    border-radius:28px;
    border:1px solid rgba(17,17,17,.05);
    pointer-events:none;
  }

  .login-panel{
    max-width:none;
    min-height:0;
    margin:0;
    justify-content:center;
    padding:72px 64px 48px;
    background:
      radial-gradient(circle at 50% 0%, rgba(17,17,17,.08), transparent 32%),
      radial-gradient(circle at 100% 12%, rgba(17,17,17,.05), transparent 26%),
      linear-gradient(180deg, rgba(249,249,250,.98) 0%, rgba(255,255,255,.98) 36%, rgba(246,247,249,.98) 100%);
  }

  .login-panel::before{
    height:188px;
    background:
      linear-gradient(135deg, rgba(17,17,17,.06) 0 15%, transparent 15.2% 100%),
      linear-gradient(225deg, rgba(17,17,17,.04) 0 12%, transparent 12.2% 100%);
  }

  .login-panel-hero{
    margin:0 0 28px;
    padding:0;
  }

  .login-logo-wrap{
    width:132px;
    height:132px;
    border-radius:36px;
    box-shadow:0 24px 46px rgba(15,23,42,.11);
  }

  .login-logo{
    width:90px;
  }

  .login-panel-head{
    margin-bottom:28px;
  }

  .login-panel-head h2{
    font-size:34px;
  }

  .login-mode-panel{
    margin-top:22px;
    gap:18px;
  }

  .login-note{
    margin-top:18px;
    font-size:12px;
  }

  .device-shell{
    display:block;
    padding:36px 32px 40px;
    align-items:stretch;
    background:
      radial-gradient(circle at 12% 12%, rgba(17,17,17,.06), transparent 18%),
      radial-gradient(circle at 88% 10%, rgba(17,17,17,.05), transparent 22%),
      linear-gradient(180deg, #f6f8fb 0%, #edf1f6 100%);
  }

  .device-pattern{
    opacity:.5;
    background-image:
      linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
    background-size:32px 32px;
  }

  .phone-frame{
    width:min(1180px, calc(100vw - 64px));
    max-width:none;
    min-height:calc(100vh - 76px);
    height:auto;
    margin:0 auto;
    border:1px solid rgba(255,255,255,.85);
    border-radius:36px;
    background:rgba(246,248,251,.82);
    box-shadow:0 36px 96px rgba(15,23,42,.12);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    overflow:visible;
  }

  .phone-content{
    overflow:visible;
    background:transparent;
  }

  .view{
    position:relative;
    inset:auto;
    background:transparent;
  }

  .page-scroll{
    overflow:visible;
    padding-bottom:24px;
  }

  .page-scroll.with-submit{
    padding-bottom:16px;
  }

  .content-shell{
    max-width:1080px;
    padding:0;
  }

  .content-card,
  .profile-panel,
  .empty-card,
  .order-card,
  .profile-logout-bar{
    border-radius:28px;
    border:1px solid rgba(226,232,240,.88);
    box-shadow:0 22px 56px rgba(15,23,42,.08);
  }

  .content-card{
    padding:28px;
  }

  .order-form{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:20px 22px;
  }

  .order-form > .field-block:first-child,
  .order-form > .renew-row{
    grid-column:1 / -1;
  }

  .pkg-list{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
  }

  .pkg-row{
    padding:16px 18px;
    border-radius:20px;
  }

  .block-label{
    font-size:15px;
    font-weight:700;
    color:#374151;
  }

  .field-input{
    min-height:54px;
    padding:15px 20px;
    border-radius:18px;
    font-size:15px;
  }

  .renew-row{
    padding:18px 20px;
    border:1px solid #edf2f7;
    border-radius:20px;
    background:#f9fafb;
  }

  .submit-panel{
    position:static;
    left:auto;
    right:auto;
    bottom:auto;
    width:100%;
    max-width:1080px;
    margin:0 auto;
    padding:0 28px 30px;
    background:none;
    display:flex;
    justify-content:flex-end;
  }

  .submit-btn{
    width:auto;
    max-width:none;
    min-width:220px;
    min-height:54px;
    margin-left:0;
    padding:0 28px;
    border-radius:18px;
    font-size:15px;
    font-weight:700;
    box-shadow:0 18px 34px rgba(15,23,42,.12);
  }

  .bottom-nav{
    position:static;
    order:-1;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    max-width:1080px;
    gap:10px;
    height:auto;
    margin:0 auto;
    padding:20px 0;
    background:transparent;
    border-top:none;
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }

  .bottom-tab{
    flex-direction:row;
    gap:8px;
    min-height:44px;
    padding:0 16px;
    border-radius:999px;
    background:rgba(255,255,255,.76);
    border:1px solid rgba(226,232,240,.92);
    color:#64748b;
  }

  .bottom-tab.active{
    color:#ffffff;
    background:#111111;
    box-shadow:0 14px 30px rgba(17,17,17,.16);
  }

  .bottom-tab span{
    font-size:13px;
    font-weight:600;
  }

  .bottom-tab-icon{
    width:17px;
    height:17px;
  }

  .nav-badge{
    top:1px;
    right:6px;
  }

  .orders-filters{
    position:static;
    width:100%;
    max-width:1080px;
    margin:0 auto;
    justify-content:flex-start;
    gap:12px;
    padding:0;
    background:transparent;
    border-bottom:none;
  }

  .filter-tab{
    min-height:40px;
    padding:0 16px;
    border-radius:999px;
    background:rgba(255,255,255,.78);
    border:1px solid rgba(226,232,240,.92);
  }

  .filter-tab.active{
    color:#ffffff;
    background:#111111;
  }

  .filter-tab.active::after{
    display:none;
  }

  .search-bar{
    margin-top:14px;
    margin-bottom:14px;
  }

  .view-orders .page-scroll{
    padding-top:6px;
  }

  .profile-page-shell{
    padding-top:8px;
    padding-bottom:28px;
  }

  .profile-panel{
    padding:20px 0;
  }

  .profile-section-title{
    padding:0 24px 16px;
  }

  .profile-info-row,
  .profile-shortcut-row{
    min-height:58px;
    padding:0 24px;
  }
}

@media (max-width:800px){
  .login-page{overflow-x:hidden;overflow-y:auto;}
  .login-shell{max-width:480px;border-radius:0;}
  .login-panel{padding:36px 28px 26px;}
}

@media (max-width:520px){
  .login-panel{padding:max(28px,env(safe-area-inset-top)) 22px max(24px,env(safe-area-inset-bottom));}
  .login-panel::before{height:138px;}
  .login-panel-hero{margin:-2px 0 20px;padding-top:12px;}
  .login-logo-wrap{width:110px;height:110px;border-radius:28px;}
  .login-logo{width:76px;}
  .login-panel-head{margin-bottom:20px;}
  .login-panel-head h2{font-size:25px;}
  .login-mode-panel{margin-top:16px;gap:13px;}
  .login-note{margin-top:13px;font-size:10px;}
  .device-shell{padding:0;}
  .phone-frame{
    max-width:none;
    width:100%;
    height:100vh;
    border:none;
    border-radius:0;
    box-shadow:none;
  }
  .home-indicator{display:none;}
}

@media (max-width:360px){
  .login-page{padding:0;}
  .login-shell{border:none;border-radius:0;}
  .login-panel{padding:24px 19px;}
  .login-panel-hero{margin:0 0 18px;padding-top:8px;}
  .login-logo-wrap{width:96px;height:96px;border-radius:24px;}
  .login-logo{width:66px;}
  .login-mode-btn{padding:9px 7px;font-size:12px;}
  .login-info-card{padding:12px;}
  .login-code-row{gap:7px;}
  .code-btn{padding:9px 10px;font-size:12px;}
  .content-shell{padding:8px;}
  .content-card,.profile-panel,.empty-card,.order-card,.profile-logout-bar{border-radius:14px;}
  .pkg-row{padding:10px;}
  .pkg-name-row{gap:6px;}
  .detail-modal-head{padding:16px 14px 12px;}
  .detail-modal-body{padding:14px 14px calc(18px + var(--safe-bottom));}
  .service-qr-panel{
    width:min(300px, calc(100vw - 28px));
    max-height:min(70vh, 430px);
  }
  .service-qr-panel .detail-modal-body{
    padding:12px 14px 14px;
    max-height:calc(min(70vh, 430px) - 62px);
  }
  .service-qr-img{
    width:min(164px,50vw);
    height:min(164px,50vw);
  }
  .detail-summary-top,
  .order-topline{flex-direction:column;}
  .detail-summary-price,
  .order-price-tip{text-align:left;}
  .detail-grid,
  .order-info-grid{grid-template-columns:1fr;}
  .detail-item{border-right:none;}
}

@media (max-height:680px){
  .login-panel{padding-top:23px;padding-bottom:20px;}
  .login-panel-hero{margin:0 0 18px;padding-top:8px;}
  .login-logo-wrap{width:96px;height:96px;}
  .login-logo{width:66px;}
}

@media (prefers-reduced-motion:reduce){
  .login-mode-panel{animation:none;}
  .login-mode-btn,.login-primary-btn{transition:none;}
  .detail-modal:not(.hidden) .detail-modal-backdrop,
  .detail-modal:not(.hidden) .service-qr-panel{animation:none;}
}
