/* ==========================================================================
   怪兽模板（GS）· 1:1 复刻 guaishou h5
   基准 390px，仅在 body.gs-on 下生效
   ========================================================================== */
body.gs-on {
  --gs-bg: #F5F7FA;
  --gs-card: #FFFFFF;
  --gs-ink: #16181D;
  --gs-ink2: #6B7280;
  --gs-ink3: #9AA0AA;
  --gs-line: #EFF1F5;
  --gs-y: #FFD400;
  --gs-y2: #FFC400;
  --gs-red: #FF4132;
  --gs-blue: #4A90E2;
  --gs-pink: #FF5BB0;
  --gs-sh: 0 2px 10px rgba(17, 20, 28, .05);
  background: var(--gs-bg);
}
body.gs-on .phone { background: var(--gs-bg); }

body.gs-on .gs-page {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding: 0 0 calc(88px + env(safe-area-inset-bottom, 0px));
  color: var(--gs-ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(180deg, #FFF7E4 0, #FEF9EE 150px, rgba(245, 247, 250, 0) 330px),
    var(--gs-bg);
}
body.gs-on .gs-page::-webkit-scrollbar { display: none; }
.gs-ic { width: 20px; height: 20px; display: block; flex: none; }

/* ==================== 顶部搜索 ==================== */
.gs-top {
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 0;
}
.gs-search {
  flex: 1; min-width: 0; height: 42px; border-radius: 999px;
  display: flex; align-items: center; gap: 8px; padding: 0 14px;
  background: #fff; box-shadow: 0 2px 10px rgba(31, 25, 10, .05);
  color: var(--gs-ink3); font-size: 13.5px;
}
.gs-search-ic { width: 16px; height: 16px; opacity: .55; flex: none; }
.gs-search span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-hs {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 2px 10px rgba(31, 25, 10, .05);
}
.gs-hs img { width: 22px; height: 22px; display: block; }

/* ==================== 公告条 ==================== */
.gs-notice {
  display: flex; align-items: center; gap: 7px; margin: 12px 14px 0;
  padding: 11px 12px; border-radius: 12px;
  background: linear-gradient(90deg, #FFF8E3, #FFF1CE);
  color: #6F5518; font-size: 12.5px;
}
.gs-notice-ic { color: #FF6B35; }
.gs-notice-ic .gs-ic { width: 17px; height: 17px; }
.gs-notice-tx { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-notice-go {
  flex: none; width: 11px; height: 11px; margin-right: 2px; border-radius: 1px;
  border-right: 1.7px solid #D9A31E; border-top: 1.7px solid #D9A31E;
  transform: rotate(45deg);
}

/* ==================== 通栏广告位（后台装修第一张图） ==================== */
.gs-ad {
  margin: 12px 14px 0; border-radius: 12px; overflow: hidden;
  background: #FFF3D2; box-shadow: var(--gs-sh);
}
.gs-ad img { width: 100%; display: block; max-height: 150px; object-fit: cover; object-position: center; }

/* ==================== banner ==================== */
.gs-banner {
  position: relative; margin: 12px 14px 0; border-radius: 14px; overflow: hidden;
  background: #FFF1CC; box-shadow: var(--gs-sh);
}
.gs-banner-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gs-banner-track::-webkit-scrollbar { display: none; }
.gs-banner-i { flex: 0 0 100%; scroll-snap-align: start; }
.gs-banner-i img { width: 100%; display: block; aspect-ratio: 3.2 / 1; object-fit: cover; }
.gs-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 4px; }
.gs-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .6); }
.gs-dots i.on { width: 14px; background: #fff; }

/* ==================== 限时秒杀 ==================== */
.gs-flash {
  margin: 12px 14px 0; padding: 14px 13px 2px; border-radius: 14px;
  background: #fff; box-shadow: var(--gs-sh);
}
.gs-flash-hd { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; }
.gs-flash-hd b { font-size: 17px; font-weight: 800; letter-spacing: .2px; }
.gs-flash-hd i { font-style: normal; font-size: 11.5px; color: #A8ADB6; }
.gs-flash-row { display: flex; gap: 11px; padding: 10px 0 14px; }
.gs-flash-row + .gs-flash-row { padding-top: 4px; }
.gs-flash-pic {
  width: 74px; height: 74px; border-radius: 10px; overflow: hidden; flex: none;
  background: #F2F3F6;
}
.gs-flash-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-flash-bd { flex: 1; min-width: 0; }
.gs-flash-nm {
  font-size: 15px; font-weight: 700; line-height: 20px; color: var(--gs-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gs-flash-time { font-size: 11.5px; color: #8B909A; margin-top: 5px; }
.gs-flash-time b { color: var(--gs-red); font-weight: 700; letter-spacing: .3px; }
.gs-flash-bar { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.gs-flash-bar b {
  flex: 1; min-width: 0; height: 7px; border-radius: 4px; display: block;
  background: #F1F2F5; overflow: hidden;
}
.gs-flash-bar b i {
  display: block; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, #FFB020, #FF4132);
}
.gs-flash-bar span { flex: none; font-size: 10.5px; font-weight: 600; color: #8B909A; }
.gs-flash-ft { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; }
.gs-flash-price { display: flex; align-items: baseline; gap: 5px; color: var(--gs-red); }
.gs-flash-price i { font-style: normal; font-size: 11px; font-weight: 700; }
.gs-flash-price b { font-size: 20px; font-weight: 800; letter-spacing: -.4px; line-height: 1; }
.gs-flash-price em { font-style: normal; font-size: 11px; color: #B4B8C0; text-decoration: line-through; }
.gs-flash-price u {
  text-decoration: none; font-size: 10.5px; font-weight: 700; color: var(--gs-red);
  border: 1px solid rgba(255, 65, 50, .35); border-radius: 4px; padding: 0 3px; line-height: 15px;
}
.gs-flash-go {
  flex: none; height: 30px; padding: 0 15px; border-radius: 999px;
  display: flex; align-items: center; font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #FF6A4D, #FF3A28);
  box-shadow: 0 3px 10px rgba(255, 65, 50, .28);
}

/* ==================== 大怪兽 / 小怪兽 ==================== */
.gs-switch {
  display: flex; margin: 12px 14px 0; padding: 6px; border-radius: 14px;
  background: #fff; box-shadow: var(--gs-sh);
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gs-switch::-webkit-scrollbar { display: none; }
.gs-switch-i {
  flex: 1 0 auto; min-width: 33.333%; padding: 0 8px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  height: 44px; border-radius: 10px; position: relative; white-space: nowrap;
}
.gs-switch-i span { font-size: 14.5px; font-weight: 700; color: #9AA0AA; }
.gs-switch-i.on span { color: var(--gs-ink); }
.gs-switch-i.on::after {
  content: ''; position: absolute; left: 50%; bottom: 1px; width: 24px; height: 3px;
  margin-left: -12px; border-radius: 2px; background: var(--gs-y2);
}
/* 分类小怪兽头像（纯 CSS，不依赖额外图片） */
.gs-mons {
  width: 20px; height: 20px; border-radius: 6px; flex: none; position: relative;
  background: linear-gradient(180deg, #FFE066, #FFB800);
  box-shadow: 0 1px 3px rgba(255, 180, 0, .3);
}
.gs-mons::before, .gs-mons::after {
  content: ''; position: absolute; top: 7px; width: 3.5px; height: 5px;
  border-radius: 2px; background: #2A2418;
}
.gs-mons::before { left: 4.5px; } .gs-mons::after { right: 4.5px; }
.gs-switch-i:not(.on) .gs-mons { filter: grayscale(1); opacity: .5; }

/* ==================== 分类胶囊 ==================== */
.gs-cats {
  display: flex; align-items: center; gap: 8px; overflow-x: auto;
  margin: 12px 0 0; padding: 0 14px 2px; scrollbar-width: none;
}
.gs-cats::-webkit-scrollbar { display: none; }
.gs-cat-pill {
  flex: none; height: 32px; padding: 0 14px; border-radius: 999px;
  display: flex; align-items: center; font-size: 13px; color: #6B7280;
  background: #fff; box-shadow: var(--gs-sh); white-space: nowrap;
}
.gs-cat-pill.on { background: #16181D; color: #fff; font-weight: 700; }
.gs-cat-more {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center; color: #6B7280;
  box-shadow: var(--gs-sh);
}
.gs-cat-more .gs-ic { width: 17px; height: 17px; }

/* ==================== 商品双列 ==================== */
.gs-goods {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 12px 14px 0;
}
.gs-gcard { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 8px rgba(17, 20, 28, .05); }
.gs-gcard-pic { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #EDEFF3; overflow: hidden; }
.gs-gcard-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-gcard-tag {
  position: absolute; right: 0; top: 0; padding: 3px 8px 4px;
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #FF6A4D, #FF3A28);
  border-radius: 0 11px 0 9px;
}
.gs-gcard-out {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 13px; font-weight: 700; color: #fff; background: rgba(22, 24, 29, .42);
}
.gs-gcard-bd { padding: 9px 10px 10px; }
.gs-gcard-nm {
  font-size: 13.5px; font-weight: 700; line-height: 19px; height: 38px; color: var(--gs-ink);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.gs-gcard-ft { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; }
.gs-gcard-price { display: flex; align-items: baseline; gap: 4px; color: var(--gs-red); min-width: 0; }
.gs-gcard-price i { font-style: normal; font-size: 11px; font-weight: 700; }
.gs-gcard-price b { font-size: 18px; font-weight: 800; letter-spacing: -.4px; line-height: 1; }
.gs-gcard-price em { font-style: normal; font-size: 10px; color: #AEB3BC; }
.gs-gcard-buy {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, #FF6A4D, #FF3A28);
  box-shadow: 0 2px 8px rgba(255, 65, 50, .26);
}
.gs-gcard-buy .gs-ic { width: 15px; height: 15px; }
.gs-gcard-buy.out { background: #E6E8EC; color: #A8ADB6; box-shadow: none; }

/* ==================== 通用块 ==================== */
.gs-title {
  font-size: 22px; font-weight: 800; letter-spacing: .3px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 12px;
}
.gs-seg {
  display: flex; gap: 0; margin: 0 14px; padding: 5px; border-radius: 14px;
  background: #fff; box-shadow: var(--gs-sh);
}
.gs-seg span {
  flex: 1; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: #8A909A;
}
.gs-seg span.on { background: #16181D; color: #fff; font-weight: 700; }

.gs-empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 60px 0 40px; color: var(--gs-ink3); font-size: 13px;
}
.gs-empty .gs-ic { width: 36px; height: 36px; opacity: .5; }
.gs-foot { text-align: center; font-size: 11.5px; color: #B4B8C0; padding: 26px 0 8px; letter-spacing: 1px; }

/* ==================== 分类页 ==================== */
.gs-catpage .gs-seg { margin-top: 2px; }
.gs-catcard {
  margin: 12px 14px 0; padding: 14px 13px 6px; border-radius: 14px;
  background: #fff; box-shadow: var(--gs-sh);
}
.gs-catcard-hd { padding-bottom: 10px; border-bottom: 1px solid var(--gs-line); }
.gs-catcard-hd b { font-size: 16.5px; font-weight: 800; letter-spacing: .2px; }
.gs-cg {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px;
  padding: 14px 0 10px;
}
.gs-cg-i { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; }
.gs-cg-pic {
  position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  background: #EDEFF3;
}
.gs-cg-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-cg-badge {
  position: absolute; right: 0; top: 0; font-style: normal; font-size: 9px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #FF6A4D, #FF3A28);
  padding: 1px 4px; border-radius: 0 0 0 8px;
}
.gs-cg-i b {
  font-size: 12px; font-weight: 500; color: var(--gs-ink2); width: 100%;
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ==================== 打手页 ==================== */
.gs-daren { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.gs-dcard {
  margin: 0 14px 12px; padding: 13px 0 4px; border-radius: 14px;
  background: #fff; box-shadow: var(--gs-sh);
}
.gs-dcard-hd { display: flex; align-items: center; gap: 7px; padding: 0 13px 10px; }
.gs-dcard-hd i { width: 3px; height: 15px; border-radius: 2px; background: var(--gs-y2); }
.gs-dcard-hd b { font-size: 15.5px; font-weight: 800; }
.gs-drow {
  display: flex; gap: 10px; overflow-x: auto; padding: 0 13px 10px;
  scrollbar-width: none;
}
.gs-drow::-webkit-scrollbar { display: none; }
.gs-drow-i { flex: 0 0 96px; width: 96px; }
.gs-drow-pic {
  width: 96px; height: 96px; border-radius: 10px; overflow: hidden; display: block;
  background: #EDEFF3; position: relative;
}
.gs-drow-pic .gs-dava-img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.gs-drow-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-drow-pic .gs-dava {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -1px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .12);
}
.gs-drow-noimg { background: #EDEFF3; }
.gs-drow-i b {
  display: block; font-size: 12px; font-weight: 600; color: var(--gs-ink);
  margin: 6px 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gs-voice {
  display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px;
  border-radius: 5px; background: var(--gs-blue); color: #fff;
  font-size: 9.5px; overflow: hidden;
}
.gs-voice.pink { background: var(--gs-pink); }
.gs-voice.off { background: #E6E8EC; color: #A8ADB6; }
.gs-voice .gs-ic { width: 10px; height: 10px; }
.gs-wave { display: flex; align-items: center; gap: 1.5px; flex: 1; height: 10px; }
.gs-wave u {
  display: block; width: 1.5px; height: 4px; border-radius: 1px; background: rgba(255, 255, 255, .85);
}
.gs-wave u:nth-child(2n) { height: 8px; }
.gs-wave u:nth-child(3n) { height: 6px; }
.gs-wave u:nth-child(5n) { height: 9px; }
.gs-voice em { font-style: normal; font-size: 9px; opacity: .9; }
.gs-more-btn {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin: 2px auto 0; width: 150px; height: 38px; border-radius: 999px;
  background: #16181D; color: #fff; font-size: 13.5px; font-weight: 700;
}
.gs-more-btn .gs-ic { width: 15px; height: 15px; }

/* ==================== 消息页 ==================== */
.gs-msgpage { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.gs-msgbox { display: block; }
.gs-msgcard {
  display: flex; align-items: center; gap: 13px; margin: 14px 14px 0;
  padding: 21px 16px; border-radius: 16px; background: #fff;
  box-shadow: 0 2px 12px rgba(17, 20, 28, .04);
}
.gs-msg-pic { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.gs-msg-pic img { width: 42px; height: 42px; display: block; object-fit: contain; }
.gs-msg-ava {
  border-radius: 12px; background: linear-gradient(135deg, #FFE066, #FFB800);
  color: #3A2E0A; font-size: 17px; font-weight: 800;
}
.gs-msg-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.gs-msg-tx b { font-size: 16.5px; font-weight: 700; letter-spacing: .2px; }
.gs-msg-tx i { font-style: normal; font-size: 13px; color: var(--gs-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-orow { display: flex; align-items: center; gap: 10px; padding: 12px 2px; }
.gs-orow + .gs-orow { border-top: 1px solid var(--gs-line); }
.gs-orow-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gs-orow-tx b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-orow-tx i { font-style: normal; font-size: 11.5px; color: var(--gs-ink3); }
.gs-orow-st { flex: none; font-size: 12px; font-weight: 600; color: var(--gs-red); }

/* ==================== 我的 ==================== */
@font-face { font-family: gsuv; src: url("../images/gs/uvicons.ttf") format("truetype"); font-display: swap; }

.gs-minepage { background: #F5F6F9; }

/* 顶部：双径向暖黄光斑，高 270 溢出叠在下层 */
.gs-mine-top { position: relative; padding: calc(10px + env(safe-area-inset-top, 0px)) 21px 15px; overflow: hidden; }
.gs-mine-glow {
  position: absolute; left: 0; right: 0; top: 0; height: 240px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(68.2% 98.4% at -14.2% -11.5%, rgba(255, 195, 3, .31), rgba(255, 195, 3, 0)),
    radial-gradient(69.3% 99.9% at 89% 10%, rgba(255, 195, 3, .29), rgba(255, 195, 3, 0));
}
.gs-mine-bar { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.gs-gear {
  width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 1px 10px rgba(0, 0, 0, .04); color: #16181D;
}
.gs-gear .gs-ic { width: 18px; height: 18px; }

/* 头像在上，名字/ID 在下，右侧老板按钮与名字行对齐 */
.gs-mine-row { position: relative; z-index: 1; display: flex; align-items: flex-end; margin-top: 1px; }
.gs-mine-left { flex: 1; min-width: 0; }
.gs-mine-av {
  display: block; width: 66px; height: 66px; border-radius: 18.7px; overflow: hidden;
  background: #E8E4DF; border: 2px solid #fff; box-sizing: border-box;
}
.gs-mine-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-mine-nm { display: flex; align-items: center; gap: 6px; margin-top: 6px; height: 27px; }
.gs-mine-nm b {
  font-size: 18.7px; font-weight: 600; color: #090B08; letter-spacing: .2px; line-height: 27px;
  max-width: 62%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gs-lv { display: inline-flex; align-items: center; height: 17px; border-radius: 9px; background: #1C1C1C; padding-right: 8px; }
.gs-lv img { width: 19px; height: 17px; display: block; }
.gs-lv i { font-style: normal; font-size: 10px; font-weight: 400; color: #D7B39A; margin-left: -2px; }
.gs-mine-id { font-size: 11.5px; color: #7B7B7A; margin-top: 7px; line-height: 16px; }
.gs-role {
  flex: none; margin-bottom: 14px; height: 35px; padding: 0 14px; border-radius: 26px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .45); border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .06); color: #090B08; font-size: 12.5px; font-weight: 500;
}
.gs-role img { width: 15px; height: 15px; display: block; }

/* 我的订单：黄色标签凸出卡片左缘 + 折角 */
.gs-order {
  position: relative; margin: 0 13px 0; padding: 6px 17px 18px;
  border-radius: 16.7px;
  background: linear-gradient(rgba(255, 255, 255, .6) 7.45%, #fff 58.5%);
  border: 1px solid #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
}
.gs-order-tag {
  position: absolute; left: -11px; top: 18px; height: 23px; padding: 0 11px;
  border-radius: 4.2px; background: #FFC300;
  font-size: 12.5px; font-weight: 700; color: #090B08;
  display: flex; align-items: center; z-index: 2;
}
.gs-order-tag::after {
  content: ""; position: absolute; left: 3px; bottom: -9px; width: 12px; height: 9px;
  background: url(../images/gs/tail.png) no-repeat center / 100% 100%;
}
.gs-order-all {
  position: absolute; right: 17px; top: 18px; height: 22px; display: flex; align-items: center; gap: 2px;
  font-size: 11.5px; color: #090B08;
}
.gs-order-all img { width: 12px; height: 12px; display: block; opacity: .7; }
.gs-order-grid { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 39px; }
.gs-order-i { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.gs-order-pic { position: relative; width: 37px; height: 37px; display: flex; align-items: center; justify-content: center; }
.gs-order-pic img { width: 25px; height: 25px; object-fit: contain; display: block; }
.gs-order-pic em {
  position: absolute; right: 0; top: 2px; font-style: normal; min-width: 15px; height: 15px;
  padding: 0 4px; border-radius: 8px; background: #F4333C; color: #fff;
  font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.gs-order-i b { font-size: 12.5px; font-weight: 400; color: #333; line-height: 18px; }

/* 余额 / 客服 双卡 */
.gs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 12px 12px 0; }
.gs-bal, .gs-kf {
  border-radius: 16.7px; padding: 16px; height: 77px; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: space-between;
}
.gs-bal { background: linear-gradient(135deg, #1A1A1A, #2D2D2D); }
.gs-bal span { display: flex; align-items: center; gap: 2px; font-size: 10.5px; color: rgba(255, 255, 255, .8); line-height: 15px; }
.gs-bal span img { width: 12px; height: 12px; display: block; opacity: .7; }
.gs-bal b { font-size: 20.8px; font-weight: 700; color: #FFE9BA; line-height: 24px; }
.gs-kf { background: linear-gradient(135deg, #FAAD14, #F5D054); }
.gs-kf span { font-size: 11.5px; color: rgba(0, 0, 0, .6); line-height: 16px; }
.gs-kf b { font-size: 16.7px; font-weight: 700; color: #512C0F; line-height: 24px; }

/* 白卡容器 */
.gs-panel {
  margin: 12px 12px 0; padding: 17px; border-radius: 16.7px;
  background: #fff; box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
}
.gs-panel-hd { display: flex; align-items: center; justify-content: space-between; }
.gs-panel-hd b { font-size: 12.5px; font-weight: 600; color: #090B08; line-height: 18px; }
.gs-moregrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px 0; margin-top: 12px; }
.gs-more-i { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.gs-uv { font-family: gsuv, sans-serif; font-size: 26px; line-height: 26px; color: #60666A; font-style: normal; }
.gs-mimg { display: block; height: 26px; }
.gs-mimg img { width: 26px; height: 26px; display: block; }
.gs-more-i b { font-size: 12.5px; font-weight: 400; color: #666; text-align: center; line-height: 16px; }

/* 平台公告 */
.gs-plat { margin-top: 12px; }
.gs-plat p { font-size: 16px; line-height: 1.55; color: #16181D; font-weight: 700; margin: 0 0 6px; word-break: break-word; }
.gs-plat-lead { text-align: center; }
.gs-plat-lead span { display: inline-block; background: #E03E2D; color: #fff; padding: 1px 8px; font-weight: 700; }

/* ==================== 底部导航 ==================== */
/* 悬浮 + 毛玻璃：导航压在内页内容之上，滚动时能透出模糊背景 */
body.gs-on .tabbar:not(.hidden) {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 40;
  background: transparent; border-top: none;
  padding: 0 0 max(25px, calc(10px + env(safe-area-inset-bottom, 0px)));
  pointer-events: none;
}
body.gs-on .tabbar .gs-tabbar { pointer-events: auto; }
.gs-tabbar {
  width: calc(100% - 39px); margin: 0 auto; height: 57px; box-sizing: border-box;
  display: flex; align-items: center; padding: 0 2px; border-radius: 26px;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 6px 22px rgba(17, 20, 28, .1), inset 0 0 0 1px rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-transform: translateZ(0);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .gs-tabbar { background: rgba(255, 255, 255, .94); }
}
.gs-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  position: relative; color: #ABA9A9;
}
.gs-tab img { width: 23px; height: 23px; display: block; margin-bottom: 1px; }
.gs-tab span { font-size: 12.5px; letter-spacing: 0; line-height: 14px; }
.gs-tab.on span { color: var(--gs-y2); font-weight: 700; }
.gs-tab .gs-badge {
  position: absolute; top: 0; right: 50%; margin-right: -18px;
  min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; font-style: normal;
  font-size: 9.5px; font-weight: 700; color: #fff; background: var(--gs-red);
  display: flex; align-items: center; justify-content: center;
}

/* 灵动岛避让 */
body.gs-on.mth-island-on .gs-page { padding-top: 44px; }

/* 登录/年龄门 */
body.gs-on .sg2-wrap, body.gs-on .swx2-wrap { background: var(--gs-bg); color: var(--gs-ink); }
body.gs-on .sg2-name, body.gs-on .swx2-name { color: var(--gs-ink); }
body.gs-on .swx2-agree, body.gs-on .sg2-agree { color: var(--gs-ink2); }

/* 触摸反馈 */
body.gs-on .gs-gcard, body.gs-on .gs-cg-i, body.gs-on .gs-drow-i,
body.gs-on .gs-cat-pill, body.gs-on .gs-order-i, body.gs-on .gs-more-i,
body.gs-on .gs-msgcard, body.gs-on .gs-switch-i { transition: transform .12s ease; }
body.gs-on .gs-gcard:active, body.gs-on .gs-cg-i:active, body.gs-on .gs-drow-i:active,
body.gs-on .gs-msgcard:active, body.gs-on .gs-switch-i:active { transform: scale(.975); }
body.gs-on .gs-cat-pill:active, body.gs-on .gs-order-i:active, body.gs-on .gs-more-i:active { transform: scale(.94); }
body.gs-on .gs-page, body.gs-on .gs-page * { -webkit-tap-highlight-color: transparent; }
.gs-plat .gs-hl { color: var(--gs-red); font-weight: 700; }

/* 打手页底部说明（轻提示，不抢视觉） */
.gs-daren-tip {
  text-align: center; font-size: 12px; color: #A8ADB6;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom, 0px)); letter-spacing: .2px;
}
