:root{
  --ink:#061013;
  --muted:#697277;
  --panel:rgba(255,255,255,.72);
  --panel-strong:rgba(255,255,255,.9);
  --line:rgba(255,255,255,.72);
  --shadow:0 24px 70px rgba(22,35,36,.12);
  --soft-shadow:0 14px 38px rgba(20,35,36,.1);
  --lime:#d9ff57;
  --blue:#3e7ee8;
  --red:#ff414d;
  --radius-xl:42px;
  --radius-lg:32px;
  --radius-md:24px;
}
*{box-sizing:border-box}
html{min-height:100%;background:#e7eee9}
body{
  margin:0;
  min-height:100%;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI","Microsoft YaHei",Arial,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 16% 10%,rgba(255,255,255,.85),transparent 34%),
    radial-gradient(circle at 80% 78%,rgba(220,255,87,.22),transparent 32%),
    linear-gradient(135deg,#dbe5e2 0%,#f5f7f1 54%,#eaf0df 100%);
  letter-spacing:0;
}
body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.2),rgba(255,255,255,0) 35%,rgba(255,255,255,.18));
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.site-header{
  position:sticky;
  top:18px;
  z-index:20;
  width:min(94vw,1500px);
  min-height:88px;
  margin:18px auto 0;
  padding:10px;
  display:grid;
  grid-template-columns:auto minmax(260px,1fr) auto;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,.52);
  border:1px solid rgba(255,255,255,.78);
  border-radius:999px;
  box-shadow:var(--soft-shadow);
  backdrop-filter:blur(24px);
}
.brand{
  height:68px;
  min-width:148px;
  padding:0 24px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border-radius:999px;
  background:rgba(235,243,242,.78);
  font-size:26px;
  font-weight:700;
}
.brand span{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  background:#071114;
  color:#d9ff57;
  border-radius:9px;
  font-size:18px;
  font-weight:900;
}
.site-search{
  height:68px;
  display:grid;
  grid-template-columns:1fr 58px;
  gap:8px;
  padding:6px;
  background:rgba(255,255,255,.86);
  border-radius:999px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.site-search input{
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  padding:0 24px;
  font-size:17px;
  color:var(--ink);
}
.site-search button{
  width:58px;
  min-height:58px;
  border:0;
  border-radius:50%;
  background:#071114;
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
.site-header nav{
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-end;
}
.site-header nav a{
  height:58px;
  padding:0 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(255,255,255,.84);
  box-shadow:0 12px 24px rgba(28,40,42,.07);
  font-size:15px;
  white-space:nowrap;
}
.site-header nav a:hover{transform:translateY(-1px)}
.site-header .nav-strong{
  background:#071114;
  color:#fff;
}
.nav-avatar{
  width:58px;
  padding:0!important;
  background:linear-gradient(145deg,#fff,#e6edf0)!important;
  border:2px solid rgba(255,255,255,.9);
  font-weight:800;
}
.page{
  width:min(94vw,1500px);
  margin:24px auto 34px;
  min-height:70vh;
}
.site-footer{
  width:min(94vw,1500px);
  margin:0 auto 28px;
  padding:22px 28px;
  color:var(--muted);
  background:rgba(255,255,255,.48);
  border:1px solid var(--line);
  border-radius:32px;
  backdrop-filter:blur(18px);
  display:flex;
  justify-content:space-between;
  gap:16px;
}
.hero{margin-bottom:24px}
.slider{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:100%;
  overflow:auto;
  scroll-snap-type:x mandatory;
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
}
.slide{
  position:relative;
  min-height:520px;
  background:rgba(255,255,255,.72);
  scroll-snap-align:start;
  overflow:hidden;
}
.slide img{width:100%;height:560px;object-fit:cover}
.slide:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.88),rgba(255,255,255,.28) 48%,rgba(255,255,255,.08));
}
.slide span{
  position:absolute;
  left:44px;
  bottom:44px;
  z-index:1;
  max-width:620px;
  color:var(--ink);
  font-size:58px;
  line-height:1.06;
  font-weight:800;
}
.hero-fallback{
  position:relative;
  min-height:520px;
  border-radius:var(--radius-xl);
  background:
    radial-gradient(circle at 72% 42%,rgba(62,126,232,.22),transparent 24%),
    radial-gradient(circle at 83% 68%,rgba(217,255,87,.28),transparent 18%),
    rgba(255,255,255,.7);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  padding:52px;
  overflow:hidden;
}
.hero-fallback:before{
  content:"";
  position:absolute;
  right:8%;
  top:16%;
  width:360px;
  aspect-ratio:1;
  border-radius:50%;
  border:42px solid #2f7be7;
  box-shadow:inset 0 20px 40px rgba(0,0,0,.12),0 30px 70px rgba(48,112,210,.18);
  transform:rotate(-18deg);
}
.hero-fallback:after{
  content:"";
  position:absolute;
  right:15%;
  bottom:18%;
  width:360px;
  height:150px;
  border-radius:90px;
  background:linear-gradient(145deg,#0b2a5c,#2c86ff);
  filter:drop-shadow(0 26px 40px rgba(20,70,160,.28));
}
.hero-fallback h1{
  position:relative;
  z-index:1;
  margin:64px 0 24px;
  max-width:620px;
  color:var(--ink);
  font-size:64px;
  line-height:1.06;
  font-weight:850;
}
.hero-fallback p{
  position:relative;
  z-index:1;
  max-width:440px;
  color:var(--muted);
  font-size:20px;
}
.hero-fallback p:after{
  content:"立即查看";
  display:flex;
  align-items:center;
  justify-content:center;
  width:230px;
  height:64px;
  margin-top:44px;
  border-radius:999px;
  background:var(--lime);
  color:#071114;
  font-weight:800;
  box-shadow:inset -64px 0 0 #071114;
}
.section-head,.title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:26px 0 18px;
}
.section-head h2,.title-row h1{margin:0;font-size:28px}
.section-head a{
  min-height:48px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.72);
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.product-card{
  min-height:420px;
  display:flex;
  flex-direction:column;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--soft-shadow);
  backdrop-filter:blur(20px);
}
.product-img{
  height:230px;
  margin:14px;
  border-radius:26px;
  background:
    radial-gradient(circle at 65% 35%,rgba(62,126,232,.3),transparent 30%),
    linear-gradient(145deg,#f8faf9,#e5eeef);
  display:grid;
  place-items:center;
  color:#071114;
  font-size:54px;
  font-weight:900;
  overflow:hidden;
}
.product-img img{width:100%;height:100%;object-fit:cover}
.product-body{padding:4px 22px 22px;display:flex;flex-direction:column;flex:1}
.tag{
  display:inline-flex;
  width:max-content;
  padding:6px 12px;
  background:rgba(255,255,255,.88);
  color:var(--muted);
  border:1px solid rgba(6,16,19,.1);
  border-radius:999px;
  font-size:13px;
}
.product-body h3{margin:14px 0 8px;font-size:23px;line-height:1.14}
.product-body p{margin:0;color:var(--muted);min-height:48px;line-height:1.5}
.price{font-weight:850;color:#071114;margin:16px 0;font-size:18px}
.btn,button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border:1px solid rgba(6,16,19,.08);
  border-radius:999px;
  background:rgba(255,255,255,.86);
  color:var(--ink);
  cursor:pointer;
  font-size:15px;
  font-weight:750;
  box-shadow:0 12px 26px rgba(20,35,36,.08);
}
.btn.primary,button{
  background:var(--lime);
  color:#071114;
  border-color:rgba(217,255,87,.9);
}
.btn.primary:after{
  content:"↗";
  width:38px;
  height:38px;
  margin-left:10px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#071114;
  color:#fff;
  font-size:20px;
}
.btn.block{width:100%;margin-top:auto}
.btn.large{min-height:62px;font-size:17px;padding:0 28px}
.tabs{
  display:flex;
  gap:12px;
  overflow:auto;
  margin-bottom:24px;
  padding:4px;
}
.tabs a{
  min-height:52px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.66);
  border:1px solid var(--line);
  box-shadow:0 10px 22px rgba(20,35,36,.06);
  white-space:nowrap;
}
.tabs a.active{background:#071114;color:#fff}
.detail-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-xl);
  padding:22px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(22px);
}
.detail-image{
  min-height:520px;
  background:
    radial-gradient(circle at 68% 30%,rgba(62,126,232,.32),transparent 25%),
    linear-gradient(145deg,#fff,#edf3f4);
  display:grid;
  place-items:center;
  border-radius:34px;
  color:#071114;
  font-size:86px;
  font-weight:900;
  overflow:hidden;
}
.detail-image img{width:100%;height:100%;object-fit:cover}
.detail-info{padding:24px 18px}
.detail-info h1{font-size:52px;line-height:1.06;margin:18px 0}
.detail-info p{color:var(--muted);font-size:18px;line-height:1.65}
.price-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:24px 0}
.price-list div{
  padding:18px;
  background:rgba(255,255,255,.7);
  border:1px solid var(--line);
  border-radius:24px;
  display:flex;
  justify-content:space-between;
  gap:14px;
}
.price-list span{color:#071114;font-weight:850}
.content-section,.form-card,.auth-card,.pay-card,.result-card,.verify-card,.detail-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:28px;
  margin:0 auto 24px;
  box-shadow:var(--soft-shadow);
  backdrop-filter:blur(22px);
}
.auth-card,.form-card,.pay-card,.result-card,.verify-card{max-width:620px}
.auth-card h1,.form-card h1,.pay-card h1,.result-card h1,.verify-card h1,.detail-card h1{font-size:34px;margin-top:0}
.form{display:grid;gap:16px}
.form label{display:grid;gap:8px;font-weight:750}
.form input,.form textarea,select{
  width:100%;
  min-height:54px;
  border:1px solid rgba(6,16,19,.08);
  border-radius:20px;
  padding:13px 16px;
  background:rgba(255,255,255,.82);
  color:var(--ink);
  font:inherit;
  outline:none;
}
.form textarea{min-height:112px;resize:vertical}
.alert,.ok{
  border-radius:22px;
  padding:14px 16px;
  margin:14px 0;
  border:1px solid rgba(255,255,255,.8);
}
.alert{background:rgba(255,235,237,.82);color:#b4232e}
.ok{background:rgba(234,255,222,.86);color:#2f6b12}
.muted{color:var(--muted)}
.check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}
.check input{width:auto;min-height:auto}
.modal{
  position:fixed;
  inset:0;
  background:rgba(8,14,15,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:50;
  backdrop-filter:blur(14px);
}
.modal.open{display:flex}
.modal-box{
  width:min(760px,96vw);
  max-height:86vh;
  overflow:auto;
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius:32px;
  padding:28px;
  position:relative;
  box-shadow:var(--shadow);
}
.modal-close{
  position:absolute;
  right:16px;
  top:14px;
  width:44px;
  height:44px;
  min-height:44px;
  padding:0;
  border:0;
  background:#071114!important;
  color:#fff!important;
  font-size:28px;
}
.progress{
  height:14px;
  background:rgba(255,255,255,.82);
  border-radius:999px;
  overflow:hidden;
  margin:24px 0;
}
.progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--lime),#50dfb5);transition:width .3s}
.hidden{display:none}
.deposit{font-size:48px;font-weight:900;color:#071114;margin:20px 0}
.qr-placeholder{
  height:230px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.72);
  border:1px dashed rgba(6,16,19,.18);
  border-radius:28px;
  text-align:center;
}
.order-list{display:grid;gap:16px}
.order-card{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:18px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:30px;
  padding:16px;
  box-shadow:var(--soft-shadow);
}
.order-img{
  height:120px;
  background:linear-gradient(145deg,#fff,#e8eff0);
  border-radius:24px;
  display:grid;
  place-items:center;
  color:#071114;
  font-weight:900;
}
.order-img img{width:100%;height:100%;object-fit:cover;border-radius:24px}
.status{font-weight:850;color:#071114}
.actions{display:flex;flex-wrap:wrap;gap:10px}
.info-list{display:grid;grid-template-columns:150px 1fr;gap:14px}
.info-list dt{font-weight:850;color:#071114}
.empty{
  grid-column:1/-1;
  background:var(--panel);
  border:1px dashed rgba(6,16,19,.18);
  border-radius:30px;
  padding:36px;
  text-align:center;
  color:var(--muted);
}
.rich-text{line-height:1.85;color:#263133}
.install-body{display:grid;place-items:center;min-height:100vh}
@media (max-width:1100px){
  .site-header{grid-template-columns:1fr;align-items:stretch;border-radius:34px}
  .brand,.site-search,.site-header nav a{height:56px}
  .site-header nav{justify-content:flex-start;overflow:auto}
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .hero-fallback h1{font-size:52px}
}
@media (max-width:820px){
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .detail-layout{grid-template-columns:1fr}
  .detail-image{min-height:360px}
  .slide,.hero-fallback{min-height:420px}
  .slide img{height:440px}
  .slide span,.hero-fallback h1{font-size:42px;left:28px}
  .hero-fallback{padding:28px}
  .hero-fallback:before,.hero-fallback:after{opacity:.38}
  .site-footer{flex-direction:column}
  .info-list{grid-template-columns:1fr}
}
@media (max-width:560px){
  .site-header{top:8px;margin-top:8px;width:96vw;padding:8px}
  .page{width:96vw;margin-top:16px}
  .product-grid{grid-template-columns:1fr}
  .price-list{grid-template-columns:1fr}
  .detail-info h1{font-size:36px}
  .content-section,.form-card,.auth-card,.pay-card,.result-card,.verify-card,.detail-card{padding:18px;border-radius:28px}
  .slide,.hero-fallback{min-height:360px;border-radius:30px}
  .slide img{height:380px}
  .slide span,.hero-fallback h1{font-size:34px}
  .hero-fallback p{font-size:16px}
  .btn{width:100%}
  .actions .btn{width:auto}
  .order-card{grid-template-columns:1fr}
  .order-img{width:100%;height:180px}
}
