* { box-sizing: border-box; }

:root{
  --blue:#5877e3;
  --text:#1f2328;
  --muted:#6b7280;
  --bg:#f3f6fb;
  --card:#ffffff;
  --border:#e5e7eb;
  --shadow:0 10px 30px rgba(28, 40, 60, .08);
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display:block; }
a { color: inherit; text-decoration: none; }

.top-banner{
  background: var(--blue);
  color: #fff;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
}
.top-banner__icon{ width:18px; height:18px; flex:0 0 auto; }
.top-banner__text{ font-size:13px; font-weight:500; line-height:1.3; }

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
}
.header__logo img{ height:34px; width:auto; }
.header__menu{
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:10px;
  cursor:pointer;
}
.header__menu span{
  height:2px;
  background:#1f2328;
  border-radius:2px;
}

.drawer{
  position: fixed;
  top: 0;
  left: 0;
  width: min(84vw, 360px);
  height: 100vh;
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  z-index: 60;
  transform: translateX(-105%);
  transition: transform .18s ease;
  display:flex;
  flex-direction:column;
  padding:10px 0;
}
.drawer.is-open{ transform: translateX(0); }
.drawer__close{
  border:0;
  background:transparent;
  text-align:left;
  padding:12px 16px;
  font-size:14px;
  color:#2d49c6;
  cursor:pointer;
  border-bottom:1px solid var(--border);
}
.drawer__item{
  padding:14px 16px;
  font-size:16px;
  border-bottom:1px solid var(--border);
}
.drawer__item:active{ background:#f6f7fb; }
.backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.38);
  z-index: 55;
}

.main{
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 12px 28px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
  margin: 14px 0;
}

.title{
  margin: 0;
  font-size: 22px;
  text-align:center;
}
.subtitle{
  margin: 8px 0 0;
  text-align:center;
  color: var(--muted);
  font-size: 13px;
}

.actions{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:stretch;
}

.btn{
  width:100%;
  border:0;
  border-radius: 999px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  cursor:pointer;
  text-align:center;
}
.btn--primary{
  color:#fff;
  background: linear-gradient(49deg, rgb(46,163,201) 0%, rgb(58,51,207) 36%, rgb(50,6,133) 100%);
  box-shadow: 0 6px 16px rgba(52,20,157,.25);
}
.btn--primary:disabled{
  opacity:.45;
  cursor:not-allowed;
  box-shadow:none;
}
.btn--ghost{
  background: linear-gradient(49deg, rgba(46,163,201,.12) 0%, rgba(58,51,207,.12) 36%, rgba(50,6,133,.12) 100%);
  color:#374ace;
  border: 1px solid rgba(55,74,206,.25);
  cursor:not-allowed;
}

.link{
  font-size: 12px;
  color: #2d49c6;
  text-align:center;
}

.notice{
  margin-top: 14px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(208,2,27,.25);
  background: rgba(208,2,27,.06);
}
.notice__badge{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgb(208,2,27);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  flex:0 0 auto;
  margin-top: 1px;
}
.notice__text{
  font-size: 13px;
  line-height: 1.55;
}

.qr{
  margin-top: 14px;
  text-align: center;
}
.qr img{
  width: 160px;
  height: auto;
  margin: 0 auto 6px;
}
.qr__text{
  font-size: 12px;
  color: var(--muted);
}

.h2{
  margin:0 0 12px;
  font-size: 18px;
  text-align:center;
}

.checklist{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.checklist__item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 10px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.checklist__item input{
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.checklist__item label{
  font-size: 14px;
  line-height: 1.55;
}

.confirm{
  margin-top: 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.hint{
  font-size: 12px;
  text-align:center;
  color: var(--muted);
}

.steps{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.steps__item{
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow:hidden;
  background:#fff;
}
.steps__text{
  padding: 12px 12px;
  font-size: 13px;
  line-height: 1.55;
  color:#374151;
}
.steps__img{ width:100%; }
.em{ color: rgb(208,2,27); font-weight:700; }

.footer{
  margin: 18px 0 8px;
  display:flex;
  justify-content:center;
  gap:12px;
  color: #6b7280;
  font-size: 12px;
}
.footer a{ color:#6b7280; text-decoration: underline; }

@media (min-width: 769px){
  .header{ padding: 14px 16px; }
  .main{ padding: 22px 12px 40px; }
  .title{ font-size: 26px; }
  .card{ padding: 22px; }
}

