/* ===========================================================
   惠生活通 H5 样式
   视觉定调：中国商业传统审美 —— 稳重、克制、不花哨
   主色 #E8443C ｜ 暖橙辅助 #FF7A45 #FFA940 ｜ 背景 #F5F6F8 ｜ 文字 #333
   移动端优先，最大宽度 480px 居中，圆角卡片 + 充足留白
   =========================================================== */
:root {
  --red: #E8443C;
  --orange: #FF7A45;
  --orange-l: #FFA940;
  --bg: #F5F6F8;
  --text: #333;
  --text-sub: #888;
  --line: #ECECEC;
  --card: #fff;
  --green: #2BA471;
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* 内联 SVG 兜底：未显式上色时继承文字色（currentColor），防止渲染成默认黑色大块；
   各处更具体的 fill 规则（如 .grid-6 .ico svg）优先级更高，仍会正常覆盖。 */
svg { flex-shrink: 0; fill: currentColor; }

html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #e9eaee;
  font-size: 14px;
  line-height: 1.5;
}

/* 居中的手机视口 */
#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 24px rgba(0,0,0,.06);
  overflow: hidden;
}

/* ---------- 顶部标题栏 ---------- */
.topbar {
  height: 48px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  flex-shrink: 0;
}
.topbar .back {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: none; align-items: center; justify-content: center;
  cursor: pointer;
}
.topbar.with-back .back { display: flex; }
.topbar .back svg { width: 24px; height: 24px; }

/* ---------- 内容滚动区 ---------- */
#views {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 64px;
}
.view { display: none; }
.view.active { display: block; }

/* ---------- 底部 Tab ---------- */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 56px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 30;
}
.tabbar .tab {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; cursor: pointer; color: var(--text-sub);
  font-size: 11px;
}
.tabbar .tab svg { width: 24px; height: 24px; fill: #b5b5b5; }
.tabbar .tab.active { color: var(--red); }
.tabbar .tab.active svg { fill: var(--red); }

/* ---------- 通用卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  margin: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.section-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; margin: 4px 0 10px;
}
.section-title .bar { width: 3px; height: 14px; background: var(--red); border-radius: 2px; }

/* =========================================================
   首页
   ========================================================= */
.home-red {
  background: linear-gradient(180deg, var(--red) 0%, var(--red) 64%, var(--bg) 64%);
  padding-bottom: 8px;
}
.search-box {
  margin: 12px;
  background: #fff;
  border-radius: 22px;
  height: 40px;
  display: flex; align-items: center;
  padding: 0 14px; gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.search-box svg { width: 18px; height: 18px; fill: var(--text-sub); }
.search-box input { border: 0; outline: 0; flex: 1; font-size: 14px; background: transparent; color: var(--text); }
.search-box input::placeholder { color: #bbb; }

/* 轮播 */
.banner {
  margin: 0 12px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 130px;
}
.banner .slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; padding: 0 18px;
  color: #fff; font-size: 16px; font-weight: 600; line-height: 1.4;
  opacity: 0; transition: opacity .5s ease;
}
.banner .slide.on { opacity: 1; }
.banner .dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.banner .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.banner .dots i.on { background: #fff; width: 14px; border-radius: 4px; }

/* 商城头条 */
.notice {
  margin: 12px;
  background: #fff;
  border-radius: var(--radius);
  height: 42px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px;
  overflow: hidden;
}
/* 喇叭图标：显式指定红色 + 20px，避免默认黑块 */
.notice .horn { width: 20px; height: 20px; fill: var(--red); flex-shrink: 0; display: block; }
.notice .track { flex: 1; overflow: hidden; white-space: nowrap; }
.notice .track span {
  display: inline-block; padding-left: 100%; animation: marquee 14s linear infinite;
  color: #666; font-size: 13px;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
.notice .arrow { color: #C9CBD0; font-size: 18px; }

/* 六宫格 */
.grid-6 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px;
  margin: 12px;
}
.grid-6 .item { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.grid-6 .ico {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.grid-6 .ico svg { width: 26px; height: 26px; fill: #fff; }
.grid-6 .label { font-size: 13px; color: var(--text); }

/* =========================================================
   魅力中国城 —— 4 页横向轮播（scroll-snap + 3s 自动）
   ========================================================= */
.china-swiper { margin: 12px; position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.china-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.china-track::-webkit-scrollbar { display: none; }
.china-slide {
  flex: 0 0 100%; scroll-snap-align: center; position: relative;
  background: linear-gradient(135deg, #7a1f1a 0%, #b5342c 60%, #d6543c 100%);
  color: #f7e6c8; padding: 18px 16px; min-height: 108px; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center;
}
.china-slide h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: 3px; color: #f9ecd2; }
.china-slide p { margin: 0; font-size: 13px; opacity: .9; padding-right: 66px; }
.china-slide .seal {
  position: absolute; right: 16px; top: 14px;
  width: 46px; height: 46px; border: 2px solid #f3d9a8; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #f3d9a8; font-size: 13px; font-weight: 700; transform: rotate(-6deg);
  letter-spacing: 1px;
}
.china-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.china-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.china-dots i.on { background: #fff; width: 14px; border-radius: 4px; }

/* =========================================================
   精选推荐（首页两列卡片）
   ========================================================= */
.rec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rec-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.04); cursor: pointer; }
.rec-card .cover { position: relative; height: 92px; display: flex; align-items: flex-end; }
.rec-card .cover .ph { width: 100%; text-align: center; color: #fff; font-size: 13px; padding-bottom: 10px; }
.rec-card .cover .tag {
  position: absolute; left: 8px; bottom: 8px;
  background: var(--red); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px;
}
.rec-card .body { padding: 10px; }
.rec-card .nm { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-card .addr {
  font-size: 12px; color: var(--text-sub); margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stars { font-size: 13px; margin-top: 6px; }
.stars .on { color: #FFA940; }
.stars .off { color: #DDD; }

/* =========================================================
   精选推荐 · 详情子页
   ========================================================= */
.rd-swiper { position: relative; overflow: hidden; background: #000; }
.rd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rd-track::-webkit-scrollbar { display: none; }
.rd-slide { flex: 0 0 100%; scroll-snap-align: center; height: 200px; }
.rd-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.rd-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); }
.rd-dots i.on { background: #fff; width: 14px; border-radius: 4px; }

.rd-info .rd-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rd-info .rd-name { font-size: 18px; font-weight: 700; }
.rd-info .rd-distance { color: var(--red); font-size: 13px; flex-shrink: 0; }
.rd-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 13px; border-top: 1px solid var(--line); }
.rd-row > span:first-child { color: var(--text-sub); flex-shrink: 0; }
.rd-row .rd-addr { flex: 1; min-width: 0; color: var(--text); }
.rd-ops { display: flex; gap: 8px; flex-shrink: 0; }
.rd-nav { background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; flex-shrink: 0; }
.rd-copy { background: #fff; color: var(--red); border: 1px solid var(--red); border-radius: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; flex-shrink: 0; }
.rd-phone { color: var(--red); text-decoration: none; }
.rd-price { color: var(--orange); font-weight: 700; font-size: 15px; }
.rd-block-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.rd-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.rd-thumb { width: 76px; height: 76px; border-radius: 8px; flex-shrink: 0; }
.rd-video { margin-bottom: 12px; }
.rd-video video { width: 100%; border-radius: 8px; background: #000; }
.rd-video .vt { font-size: 13px; margin-top: 6px; }
.rd-para { font-size: 13px; line-height: 1.7; color: var(--text); margin-bottom: 8px; }
.rd-para:last-child { margin-bottom: 0; }
.rd-footer { position: sticky; bottom: 0; padding: 10px 12px 16px; background: #fff; }
.rd-book {
  width: 100%; height: 48px; border: 0; border-radius: 24px; background: var(--red);
  color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}

/* =========================================================
   出行页
   ========================================================= */
.travel-hero { background: var(--red); color: #fff; padding: 16px 12px 20px; text-align: center; }
.travel-hero h2 { margin: 0 0 4px; font-size: 18px; }
.travel-hero p { margin: 0; font-size: 12px; opacity: .85; }

.qr-card {
  margin: -16px 12px 12px;
  background: #fff; border-radius: var(--radius);
  padding: 16px; text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.qr-canvas { width: 160px; height: 160px; margin: 6px auto; display: block; image-rendering: pixelated; background: #fff; }
.qr-no { font-size: 13px; color: var(--text); letter-spacing: 1px; margin-top: 4px; }
.qr-sub { font-size: 12px; color: var(--text-sub); margin-top: 2px; }

.btn-row { display: flex; gap: 12px; margin: 12px; }
.btn {
  flex: 1; height: 50px; border-radius: var(--radius);
  border: 0; font-size: 15px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; background: var(--orange);
}
.btn svg { width: 20px; height: 20px; fill: #fff; }
.btn.primary { background: var(--red); }
.btn.ghost { background: #fff; color: var(--red); border: 1px solid var(--red); }

/* 核验结果卡片 */
.result-card {
  margin: 12px; border-radius: var(--radius); padding: 14px;
  display: flex; align-items: center; gap: 12px; color: #fff;
}
.result-card.ok { background: var(--green); }
.result-card.used { background: var(--orange-l); }
.result-card.bad { background: var(--red); }
.result-card .r-ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.result-card .r-text b { font-size: 15px; }
.result-card .r-text p { margin: 2px 0 0; font-size: 12px; opacity: .92; }

/* =========================================================
   我的页
   ========================================================= */
.mine-head {
  background: var(--red); color: #fff; padding: 24px 16px 28px;
  display: flex; align-items: center; gap: 14px;
}
.mine-head .avatar {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mine-head .avatar svg { width: 34px; height: 34px; fill: #fff; }
.mine-head .uinfo b { font-size: 17px; }
.mine-head .uinfo p { margin: 3px 0 0; font-size: 12px; opacity: .9; }
.mine-head .login-link { margin-left: auto; font-size: 13px; text-decoration: underline; cursor: pointer; }

.order-row { display: flex; }
.order-row .oitem { flex: 1; text-align: center; cursor: pointer; }
.order-row .oitem .num { font-size: 17px; font-weight: 700; color: var(--red); }
.order-row .oitem .lab { font-size: 12px; color: var(--text-sub); margin-top: 4px; }

.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 4px; }
.svc-grid .sitem { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; }
.svc-grid .sico {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; background: #FDEEEC;
}
.svc-grid .sico svg { width: 22px; height: 22px; fill: var(--red); }
.svc-grid .slab { font-size: 11px; color: var(--text); text-align: center; }

/* =========================================================
   子页面（景点列表 / 核销记录 / 占位 / 人脸）
   ========================================================= */
.subpage {
  position: absolute; inset: 0; background: var(--bg);
  display: none; flex-direction: column; z-index: 40;
}
.subpage.active { display: flex; }
.subpage .sub-body { flex: 1; overflow-y: auto; padding-bottom: 16px; }

/* 景点卡片 */
.scenic-card { display: flex; gap: 12px; align-items: center; }
.scenic-card .pic { width: 84px; height: 84px; border-radius: 12px; flex-shrink: 0; }
.scenic-card .meta { flex: 1; min-width: 0; }
.scenic-card .meta .nm { font-size: 14px; font-weight: 600; }
.scenic-card .meta .tags { margin: 6px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.scenic-card .meta .tag { font-size: 11px; color: var(--red); border: 1px solid #f3c9c6; background: #fdf0ef; border-radius: 4px; padding: 1px 6px; }
.scenic-card .meta .sold { font-size: 12px; color: var(--text-sub); }
.scenic-card .price { color: var(--red); font-weight: 700; font-size: 16px; text-align: right; }
.scenic-card .price small { font-size: 11px; font-weight: 400; }

/* 核销记录 */
.rec-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rec-item:last-child { border-bottom: 0; }
.rec-item .lt .no { font-size: 13px; font-weight: 600; }
.rec-item .lt .tm { font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.rec-item .rt { text-align: right; }
.rec-item .rt .st { font-size: 13px; font-weight: 600; }
.rec-item .rt .st.ok { color: var(--green); }
.rec-item .rt .st.used { color: var(--orange-l); }
.rec-item .rt .sc { font-size: 12px; color: var(--text-sub); margin-top: 2px; }

/* 占位页 */
.placeholder-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-sub); padding: 40px; text-align: center; }
.placeholder-body .big { width: 72px; height: 72px; border-radius: 18px; background: #FDEEEC; display: flex; align-items: center; justify-content: center; }
.placeholder-body .big svg { width: 40px; height: 40px; fill: var(--red); }
.placeholder-body h3 { color: var(--text); margin: 0; }
.placeholder-body p { margin: 0; font-size: 13px; }

/* =========================================================
   人脸识别页
   ========================================================= */
.face-wrap { padding: 16px; }
.face-tip { background: #fff7e6; border: 1px solid #ffe7ba; color: #ad6800; font-size: 12px; padding: 10px 12px; border-radius: 10px; margin-bottom: 14px; line-height: 1.5; }
.face-frame {
  width: 220px; height: 220px; margin: 0 auto 16px; position: relative;
  border-radius: 50%; overflow: hidden; background: #000;
  border: 3px solid var(--red);
}
.face-frame video, .face-frame img { width: 100%; height: 100%; object-fit: cover; }
.face-frame .guide {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.6);
  pointer-events: none;
}
.face-frame .guide::after {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 96px; height: 120px; border: 2px dashed rgba(255,255,255,.5); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.face-status { text-align: center; margin: 10px 0; font-size: 14px; }
.face-score { text-align: center; font-size: 15px; color: var(--green); font-weight: 700; }

/* =========================================================
   弹窗 / Toast
   ========================================================= */
.modal-mask {
  position: absolute; inset: 0; background: rgba(0,0,0,.45);
  display: none; align-items: center; justify-content: center; z-index: 60; padding: 24px;
}
.modal-mask.active { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius); width: 100%; max-width: 320px;
  padding: 18px; animation: pop .2s ease;
}
@keyframes pop { from { transform: scale(.92); opacity: .6; } to { transform: scale(1); opacity: 1; } }
.modal h3 { margin: 0 0 14px; font-size: 16px; text-align: center; }
.modal .field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; height: 44px; margin-bottom: 12px; }
.modal .field input { border: 0; outline: 0; flex: 1; font-size: 14px; background: transparent; }
.modal .field .code-btn {
  border: 0; background: transparent; color: var(--red); font-size: 13px;
  white-space: nowrap; cursor: pointer; padding-left: 10px; border-left: 1px solid var(--line);
}
.modal .field .code-btn:disabled { color: var(--text-sub); }
.modal .test-tag { font-size: 12px; color: var(--orange); text-align: center; margin: -4px 0 12px; }
.modal .modal-btn { width: 100%; height: 44px; border: 0; border-radius: 10px; background: var(--red); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.modal .modal-close { text-align: center; color: var(--text-sub); font-size: 13px; margin-top: 12px; cursor: pointer; }

.notice-list .ni { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.notice-list .ni:last-child { border-bottom: 0; }

#toast {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: rgba(0,0,0,.8); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 13px; z-index: 99; display: none; max-width: 80%; text-align: center;
}
#toast.show { display: block; }

.empty { text-align: center; color: var(--text-sub); padding: 40px 0; font-size: 13px; }

/* =========================================================
   限时拼团（首页板块）
   ========================================================= */
.gb-list { display: flex; flex-direction: column; gap: 12px; }
.gb-card { display: flex; gap: 12px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 6px rgba(0,0,0,.04); cursor: pointer; }
.gb-card .gb-cover { width: 96px; height: 96px; flex-shrink: 0; position: relative; }
.gb-card .gb-cover .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; padding: 8px; text-align: center; }
.gb-card .gb-tag { position: absolute; left: 0; top: 0; background: var(--red); color: #fff; font-size: 11px; padding: 2px 8px; border-bottom-right-radius: 8px; }
.gb-card .gb-body { flex: 1; min-width: 0; padding: 10px 12px 10px 0; display: flex; flex-direction: column; }
.gb-card .gb-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-card .gb-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.gb-card .gb-cur { color: var(--red); font-size: 13px; font-weight: 700; }
.gb-card .gb-cur b { font-size: 19px; }
.gb-card .gb-base { color: var(--text-sub); font-size: 12px; text-decoration: line-through; }
.gb-card .gb-saved { color: var(--orange); font-size: 11px; margin-left: auto; }
.gb-card .gb-progress { height: 6px; border-radius: 3px; background: #F0E2DF; overflow: hidden; margin-top: 8px; }
.gb-card .gb-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red) 0%, var(--orange) 100%); }
.gb-card .gb-meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--text-sub); }
.gb-card .gb-floor.on { color: var(--orange); }

/* 团购详情子页 */
.gbd-cover { height: 160px; border-radius: 12px; position: relative; }
.gbd-cover .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; padding: 16px; text-align: center; }
.gbd-cover .gbd-tag { position: absolute; left: 0; top: 0; background: var(--red); color: #fff; font-size: 12px; padding: 3px 10px; border-bottom-right-radius: 8px; }
.gbd-title { font-size: 18px; font-weight: 700; margin: 14px 0 6px; }
.gbd-desc { font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.gbd-price-row { display: flex; align-items: baseline; gap: 10px; margin: 12px 0; }
.gbd-cur { color: var(--red); font-size: 16px; font-weight: 700; }
.gbd-cur b { font-size: 26px; }
.gbd-base { color: var(--text-sub); font-size: 13px; text-decoration: line-through; }
.gbd-saved { color: var(--orange); font-size: 12px; margin-left: auto; }
.gbd-progress { height: 8px; border-radius: 4px; background: #F0E2DF; overflow: hidden; margin: 6px 0; }
.gbd-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red) 0%, var(--orange) 100%); }
.gbd-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-sub); }
.gbd-meta .on { color: var(--orange); }
.gbd-state { font-size: 13px; color: var(--text); margin-bottom: 10px; }
.gbd-state.ok { color: var(--green); font-weight: 600; }
.gbd-btn {
  width: 100%; height: 48px; border: 0; border-radius: 24px; background: var(--red);
  color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}
.gbd-btn:disabled { background: #ccc; color: #fff; }
.gbd-note { font-size: 12px; color: var(--text-sub); margin-top: 8px; text-align: center; }
