:root {
  --accent: #6366f1;
  --accent2: #8b5cf6;
  --accent3: #ec4899;
  --accent-grad: linear-gradient(135deg, #6366f1, #8b5cf6 55%, #ec4899);
  --accent-grad-soft: linear-gradient(135deg, #818cf8, #a78bfa);
  --bg: #eef1f8;
  --panel: #ffffff;
  --border: #eaeaef;
  --text: #1f2430;
  --muted: #8a93a6;
  --danger: #ef4444;
  --shadow: 0 18px 50px rgba(31, 38, 64, .12);
  --shadow-sm: 0 6px 18px rgba(31, 38, 64, .08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
/* 动态渐变光斑背景 */
body::before, body::after {
  content: ""; position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(90px); opacity: .55; pointer-events: none;
}
body::before {
  width: 60vw; height: 60vw; top: -18vw; left: -10vw;
  background: radial-gradient(circle at 30% 30%, #c4b5fd, #a5b4fc 60%, transparent 70%);
  animation: drift1 18s ease-in-out infinite alternate;
}
body::after {
  width: 55vw; height: 55vw; bottom: -20vw; right: -12vw;
  background: radial-gradient(circle at 70% 70%, #f9a8d4, #c4b5fd 55%, transparent 70%);
  animation: drift2 22s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(8vw,6vw) scale(1.12); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-7vw,-5vw) scale(1.1); } }

.hidden { display: none !important; }
.muted { color: var(--muted); font-size: 13px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(255,255,255,.7); color: var(--text); cursor: pointer;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: .2s; backdrop-filter: blur(6px);
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn.primary { background: var(--accent-grad); border: none; color: #fff; box-shadow: 0 8px 22px rgba(124,58,237,.38); }
.btn.primary:hover { color: #fff; filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124,58,237,.45); }
.btn.sm { padding: 7px 13px; font-size: 13px; border-radius: 10px; }
.btn.muted { opacity: .55; filter: grayscale(.5); } /* 来消息提醒已静音时弱化显示 */
.btn.danger { color: var(--danger); border-color: #f4c9c9; background: #fff5f5; }
.btn.danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

/* ---------- 落地页 ---------- */
.landing {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px;
}
.landing-card {
  position: relative;
  background: rgba(255,255,255,.72); backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255,255,255,.7); border-radius: 26px; padding: 40px 38px;
  width: 460px; max-width: 100%; box-shadow: var(--shadow);
  animation: cardIn .6s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.landing-card h1 {
  margin: 0 0 6px; font-size: 32px; font-weight: 800; letter-spacing: .5px; line-height: 1.2;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.landing-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.landing-actions { display: flex; gap: 12px; margin: 0 0 4px; }
.landing-actions .btn { flex: 1; padding: 13px; font-size: 15px; }

/* 创建房间表单 */
.create-box {
  background: rgba(248,249,255,.8); border: 1px solid var(--border); border-radius: 18px;
  padding: 20px; margin: 18px 0; animation: expand .3s ease both;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
@keyframes expand { from { opacity: 0; transform: scaleY(.9); } to { opacity: 1; transform: none; } }
.create-box input {
  width: 100%; padding: 12px 14px; margin-bottom: 12px; border: 1px solid var(--border);
  border-radius: 12px; font-size: 14px; background: #fff; transition: .18s;
}
.create-box input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.create-box .btn.primary { width: 100%; }
.chk { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 16px; color: var(--muted); cursor: pointer; }
.chk input { width: auto; margin: 0; accent-color: var(--accent); }

/* 公开房间列表 */
.room-section-title { display: flex; align-items: center; gap: 8px; margin: 26px 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .4px; }
.room-section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }
.room-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.room-list li { margin: 0; border: none; padding: 0; }
.room-list a {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  background: rgba(255,255,255,.6); border: 1px solid var(--border); border-radius: 14px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; transition: .2s;
}
.room-list a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--accent); background: #fff; }
.room-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent-grad); flex: 0 0 11px; box-shadow: 0 0 0 4px rgba(124,58,237,.14); }
.room-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-go { font-size: 18px; opacity: .4; transition: .2s; }
.room-list a:hover .room-go { opacity: 1; transform: translateX(3px); }

/* ---------- 聊天页 ---------- */
.chat { display: flex; flex-direction: column; height: 100vh; height: 100dvh; max-width: 1320px; margin: 0 auto; }
.topbar {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.6); z-index: 5;
}
.room-info { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; }
.room-info::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-grad); box-shadow: 0 0 0 4px rgba(99,102,241,.18); }
.tag { background: linear-gradient(135deg,#fde68a,#fbbf24); color: #7c4a03; font-size: 11px; padding: 3px 9px; border-radius: 20px; font-weight: 700; }
.status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.dot.off { background: var(--danger); box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.online-pill { background: #eef2ff; color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.top-actions { margin-left: auto; display: flex; gap: 8px; }

.main { flex: 1; display: flex; min-height: 0; }
.messages {
  flex: 1; order: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 18px;
  background:
    radial-gradient(circle at 1px 1px, rgba(124,58,237,.06) 1px, transparent 0) 0 0 / 26px 26px,
    linear-gradient(180deg, #fbfcff 0%, #f3f4fb 100%);
}
.messages::-webkit-scrollbar { width: 9px; }
.messages::-webkit-scrollbar-thumb { background: #d7dbe2; border-radius: 8px; }

/* 单条消息 */
.msg { display: flex; gap: 12px; align-items: flex-end; max-width: 82%; animation: pop .28s cubic-bezier(.2,.8,.2,1) both; }
.msg.me { flex-direction: row-reverse; align-self: flex-end; -webkit-touch-callout: none; }
.avatar {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px; user-select: none;
  box-shadow: 0 4px 12px rgba(31,38,64,.18);
}
.msg-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; width: 100%; }
.msg.me .msg-body { align-items: flex-end; }
.msg-head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.who { font-weight: 700; font-size: 13px; color: #444b5a; }
.time { font-size: 11px; color: var(--muted); }
/* 撤回：占位提示与「撤回」按钮 */
.recalled-note { text-align: center; color: var(--muted); font-size: 12.5px; padding: 4px 0; line-height: 1.6; }
.msg.recalled { max-width: 100%; }
.msg.recalled .avatar { display: none; }
.msg.recalled .msg-body { align-items: center; }
/* 微信式「撤回」底部菜单（action sheet） */
.sheet { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; }
.sheet.hidden { display: none; }
.sheet-mask { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.sheet-menu { position: relative; width: 100%; max-width: 440px; margin: 0 10px 10px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.2); }
.sheet-item { display: block; width: 100%; padding: 15px; text-align: center; font-size: 16px; background: #fff; border: none; cursor: pointer; color: #111; -webkit-tap-highlight-color: transparent; }
.sheet-item + .sheet-item { border-top: 1px solid #ececec; }
.sheet-item.danger { color: #e64340; font-weight: 600; } /* 微信红 */
.sheet-item:active { background: #f2f2f2; }
.msg-text {
  background: var(--panel); border: 1px solid var(--border); padding: 11px 15px;
  border-radius: 18px 18px 18px 6px; line-height: 1.6; word-break: break-word; overflow-wrap: anywhere;
  box-shadow: 0 2px 6px rgba(31,38,64,.05); width: fit-content; max-width: min(560px, 100%); white-space: pre-wrap; font-size: 14.5px;
}
.msg.me .msg-text {
  background: var(--accent-grad); color: #fff; border: none;
  border-radius: 18px 18px 6px 18px; box-shadow: 0 8px 20px rgba(124,58,237,.3);
}
/* 媒体缩略图：用 flex wrap（替代 grid），iOS WebKit 兼容性更好，避免网格被压成空白 */
.msg-media-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; max-width: 460px; min-width: 0; width: 100%; }
/* 语音条独立容器：不放进上面的缩略图网格，规避移动端 WebKit 网格排版异常导致语音条不显示 */
.msg-voices { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; max-width: 460px; align-items: flex-start; }
.msg-voices .voice-bar { width: auto; max-width: 100%; }
.media-cell { position: relative; width: 84px; height: 84px; flex: 0 0 84px; border-radius: 12px; overflow: hidden; cursor: pointer; background: #e9ecf3; box-shadow: var(--shadow-sm); transition: transform .16s, box-shadow .16s; }
.media-cell:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(31,38,64,.18); }
.media-cell .media-thumb { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.play-badge {
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(10,12,22,.55); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; pointer-events: none; backdrop-filter: blur(2px);
}
.badge { position: absolute; right: 6px; bottom: 6px; font-size: 10px; padding: 2px 7px; border-radius: 8px; color: #fff; pointer-events: none; font-weight: 600; }
.badge.image { background: rgba(0,0,0,.55); }
.badge.video { background: var(--accent); }

/* 右侧素材库 */
.gallery {
  width: 290px; flex: 0 0 290px; order: 2; border-left: 1px solid rgba(255,255,255,.6); border-right: none;
  background: rgba(255,255,255,.55); backdrop-filter: blur(16px) saturate(140%); overflow-y: auto; padding: 16px;
}
.gallery h3 { margin: 6px 0 16px; font-size: 14px; color: var(--muted); font-weight: 700; letter-spacing: .4px; }
.gallery-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gal-item { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; background: #eef1f6; aspect-ratio: 1; box-shadow: 0 2px 8px rgba(31,38,64,.06); transition: .2s; }
.gal-item:hover { transform: scale(1.05); box-shadow: var(--shadow-sm); }
.gal-item .media-thumb { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.gal-item .play-badge { width: 32px; height: 32px; font-size: 13px; }

/* ---------- 微信风格语音条（区别于视频） ---------- */
/* 语音条已独立到 .msg-voices 容器，不再占用缩略图网格 */
.gal-item.audio { grid-column: 1 / -1; aspect-ratio: auto; height: auto; background: transparent; box-shadow: none; padding: 4px; }
.gal-item.audio:hover { transform: none; }
.voice-bar {
  display: inline-flex; align-items: center; gap: 10px; box-sizing: border-box;
  width: auto; min-width: 120px; max-width: 100%; justify-self: start;
  padding: 10px 14px; border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #eef2ff);
  color: #1f2640; cursor: pointer; user-select: none;
  box-shadow: 0 1px 4px rgba(31,38,64,.10); transition: background .15s, transform .1s;
}
.voice-bar:hover { background: linear-gradient(135deg, #ffffff, #e3ebff); }
.voice-bar:active { transform: scale(.985); }
/* 自己发出的语音条用强调渐变（类似微信右侧气泡） */
.msg.me .voice-bar { background: var(--accent-grad); color: #fff; box-shadow: 0 4px 14px rgba(124,58,237,.28); }
.msg.me .voice-bar:hover { filter: brightness(1.05); }
.voice-bar .v-ico { flex: 0 0 auto; font-size: 13px; line-height: 1; opacity: .92; }
.voice-bar.playing .v-ico { font-size: 11px; }
.voice-bar .v-wave { flex: 1 1 auto; display: flex; align-items: center; gap: 3px; height: 18px; }
.voice-bar .v-wave i { display: block; width: 3px; height: 6px; border-radius: 3px; background: currentColor; opacity: .5; transform-origin: center; }
.voice-bar.playing .v-wave i { opacity: 1; animation: vwave .9s ease-in-out infinite; }
.voice-bar .v-wave i:nth-child(1) { animation-delay: 0s; }
.voice-bar .v-wave i:nth-child(2) { animation-delay: .12s; }
.voice-bar .v-wave i:nth-child(3) { animation-delay: .24s; }
.voice-bar .v-wave i:nth-child(4) { animation-delay: .36s; }
.voice-bar .v-wave i:nth-child(5) { animation-delay: .18s; }
.voice-bar .v-wave i:nth-child(6) { animation-delay: .30s; }
.voice-bar .v-dur { flex: 0 0 auto; margin-left: 2px; font-size: 12px; opacity: .8; font-variant-numeric: tabular-nums; }
@keyframes vwave { 0%,100% { height: 5px; } 50% { height: 18px; } }


.voice-preview { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin: 0 12px 8px; background: var(--card, #fff); border: 1px solid var(--line, #eef2f9); border-radius: 14px; box-shadow: var(--shadow-sm, 0 2px 8px rgba(31,38,64,.06)); }
.voice-preview audio { flex: 1; height: 36px; outline: none; min-width: 0; }
.voice-dur { font-size: 12px; color: #8a93a6; min-width: 34px; text-align: center; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; flex: 0 0 auto; animation: recPulse 1s infinite; }
@keyframes recPulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
#micBtn.recording { color: #ef4444; animation: recPulse 1s infinite; }
.gallery-empty { font-size: 12.5px; color: var(--muted); text-align: center; padding: 20px 4px; line-height: 1.6; }

/* 输入区 */
.composer {
  position: relative; display: flex; align-items: center; flex-wrap: nowrap; gap: 9px; padding: 16px 20px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid rgba(255,255,255,.6);
}
#sendBtn { flex-shrink: 0; white-space: nowrap; }
.icon-btn {
  border: none; background: transparent; font-size: 22px; cursor: pointer;
  width: 42px; height: 42px; border-radius: 12px; transition: .18s; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: #eef0ff; transform: translateY(-1px); }
#msgInput {
  flex: 1; min-width: 0; padding: 13px 18px; border: 1px solid var(--border); border-radius: 26px;
  font-size: 14.5px; background: #fff; transition: .18s;
}
#msgInput:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,58,237,.13); }
.emoji-panel {
  position: absolute; bottom: 76px; left: 20px; background: var(--panel);
  border: 1px solid var(--border); border-radius: 16px; padding: 12px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; width: 280px; box-shadow: var(--shadow); z-index: 10;
}
.emoji { font-size: 22px; text-align: center; cursor: pointer; padding: 5px; border-radius: 9px; transition: .12s; }
.emoji:hover { background: #eef0ff; transform: scale(1.18); }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; background: rgba(20,24,40,.5); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 50; animation: fade .2s ease; }
.modal-card { background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-radius: 20px; padding: 28px; width: 360px; max-width: 92%; box-shadow: var(--shadow); animation: cardIn .3s ease both; }
.modal-card h3 { margin: 0 0 16px; font-size: 19px; }
.modal-card input { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; font-size: 14px; background: #fff; }
.modal-card input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,58,237,.14); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
#mediaModal { background: rgba(10,12,22,.88); }
.modal-backdrop { position: absolute; inset: 0; }
#mediaContent { position: relative; max-width: 90vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; }
.media-stage { display: flex; align-items: center; justify-content: center; max-width: 90vw; max-height: 90vh; }
#mediaVideo { max-width: 90vw; max-height: 90vh; border-radius: 12px; display: block; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.media-toolbar {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; background: rgba(20,24,40,.72);
  padding: 7px 12px; border-radius: 30px; z-index: 60; color: #fff; backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.mt-btn {
  border: none; background: rgba(255,255,255,.16); color: #fff; cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: .15s;
}
.mt-btn:hover { background: rgba(255,255,255,.32); }
#zoomLabel { font-size: 12px; min-width: 44px; text-align: center; user-select: none; }
#mediaImg { max-width: 90vw; max-height: 90vh; border-radius: 12px; display: block; transform-origin: center; transition: transform .12s ease; cursor: zoom-in; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ---------- Toast 提示 ---------- */
.toast-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  pointer-events: auto; min-width: 220px; max-width: 90vw; padding: 12px 18px; border-radius: 14px;
  font-size: 14px; font-weight: 600; color: #fff; box-shadow: 0 12px 30px rgba(31,38,64,.25);
  background: rgba(40,44,60,.92); backdrop-filter: blur(8px); animation: toastIn .3s cubic-bezier(.2,.8,.2,1) both;
  display: flex; align-items: center; gap: 9px;
}
.toast.ok { background: linear-gradient(135deg,#10b981,#059669); }
.toast.err { background: linear-gradient(135deg,#f43f5e,#e11d48); }
.toast.info { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.toast .t-ic { font-size: 16px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
.toast.hide { animation: toastOut .3s ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.97); } }

@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 760px) {
  .chat { max-width: 100%; }
  .gallery { display: none; }
  .msg { max-width: 92%; }
  .messages { padding: 16px; gap: 14px; }

  /* 顶栏：允许换行，避免一行挤爆按钮 */
  .topbar { flex-wrap: wrap; gap: 8px 12px; padding: 10px 14px; }
  .top-actions { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 6px; }
  .top-actions .btn.sm { padding: 6px 10px; font-size: 12px; }
  .status { font-size: 12px; gap: 6px; }
  .online-pill { padding: 3px 10px; font-size: 12px; }

  /* 输入区：缩小按钮与间距，保证手机一行放得下 */
  .composer { gap: 6px; padding: 10px 12px; }
  .icon-btn { width: 38px; height: 38px; font-size: 20px; }
  #msgInput { padding: 11px 14px; font-size: 14px; border-radius: 22px; }
  #sendBtn { padding: 9px 14px; font-size: 13px; }
  .emoji-panel { width: 92vw; max-width: 320px; left: 12px; }
  .emoji { font-size: 20px; }

  /* 语音预览条允许换行，按钮不溢出 */
  .voice-preview { flex-wrap: wrap; gap: 8px; }
  .voice-preview audio { flex: 1 1 100%; order: 3; height: 38px; }
  #voiceSend, #voiceCancel { flex: 1 1 auto; }

  /* 落地页 */
  .landing-card { padding: 30px 24px; }
  .landing-card h1 { font-size: 27px; }
  .landing-actions { flex-direction: column; gap: 10px; }
  .landing-actions .btn { width: 100%; }
  .create-box input, .create-box .btn { width: 100%; box-sizing: border-box; }

  /* 弹窗 */
  .modal-card { padding: 22px; }
}
