*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  color: #1a1a1a;
  background: #e6e8ec;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font-family: inherit; font-size: 15px; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
input, textarea, select {
  width: 100%;
  border: 1px solid #e4e6eb;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: #1a1a1a; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

.phone {
  width: min(100vw, 430px);
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #f6f7f8;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
}

#view { flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
.pad { padding-bottom: 84px; }

#tabbar {
  position: relative;
  z-index: 5;
  display: flex;
  height: calc(54px + env(safe-area-inset-bottom));
  padding: 0 4px env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid #e6e8eb;
}
#tabbar[hidden] { display: none !important; }

.tab {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8a9099;
  font-size: 11px;
  letter-spacing: .04em;
}
.tab.on { color: #1a1a1a; font-weight: 600; }
.tab.on::before {
  content: "";
  position: absolute;
  top: 0;
  width: 16px;
  height: 2px;
  background: #1a1a1a;
}
.tab svg { width: 20px; height: 20px; display: block; }
.dot {
  position: absolute;
  top: 6px;
  right: 16px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.fab {
  position: fixed;
  z-index: 6;
  right: 12px;
  bottom: calc(66px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  background: #fff;
}
.fab[hidden] { display: none !important; }
.fab-mark { display: none; }
@media (min-width: 430px) {
  .fab { right: calc(50vw - 215px + 16px); }
}

.searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 12px;
  padding: 0 0 0 12px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #d9dce3;
}
.searchbar input {
  flex: 1;
  width: auto;
  border: 0;
  background: transparent;
  padding: 8px 0;
  border-radius: 0;
}
.searchbar svg { width: 18px; height: 18px; flex: none; color: #b7a89e; }
.iconbtn svg, .osc svg, .feat svg { width: 20px; height: 20px; }
.search-btn {
  flex: none;
  height: 40px;
  padding: 0 16px;
  border-radius: 0 1px 1px 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: .08em;
  background: #1a1a1a;
}

.hero {
  position: relative;
  height: 156px;
  margin: 0 12px;
  border-radius: 2px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #16181d;
}
.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.slide.on { opacity: 1; z-index: 1; }
.slide.b { background: #1c1612; }
.slide.c { background: #12181c; }
.slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #c4a574;
}
.brandmark {
  position: absolute;
  left: 16px;
  top: 28px;
  z-index: 1;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .04);
}
.brandmark b {
  color: #fff;
  font-size: 26px;
  letter-spacing: .12em;
  font-weight: 700;
  line-height: 1;
}
.brandmark span {
  margin-top: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  letter-spacing: .22em;
}
.hero-copy { position: absolute; left: 128px; right: 14px; top: 28px; z-index: 1; }
.hero-copy b {
  display: block;
  color: #fff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero-copy b.y { color: rgba(255, 255, 255, .78); font-size: 13px; margin-top: 6px; font-weight: 500; }
.hero-pill {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}
.dots {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.dots button {
  width: 6px; height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .5);
}
.dots button.on { width: 14px; background: #fff; }

.ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 12px 0;
  color: #6b7280;
  font-size: 12px;
  overflow: hidden;
}
.bell {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 4px;
  display: grid; place-items: center;
  background: #1c1c1e;
  color: #fff;
}
.bell svg { width: 13px; height: 13px; }
.ticker-view { overflow: hidden; flex: 1; }
.ticker-track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 16s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.loginbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px;
  min-height: 72px;
  padding: 8px 10px 8px 8px;
  border-radius: 2px;
  color: #fff;
  background: #1a1a1a;
}
.ava, .me-ava, .sava {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
}
.ava {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #2c2c30;
}
.login-copy { flex: 1; min-width: 0; text-align: left; color: #fff; }
.login-copy b { display: block; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.login-copy small { color: rgba(255, 255, 255, .72); font-size: 11px; }
.member-tag {
  flex: none;
  padding: 2px 6px;
  border: 1px solid rgba(196, 165, 116, .7);
  color: #e6d3ae;
  font-size: 11px;
  letter-spacing: .08em;
}
.go-recharge {
  margin-left: 8px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 2px;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  background: transparent;
}

.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; }
.qcard {
  position: relative;
  overflow: hidden;
  min-height: 84px;
  padding: 14px;
  border-radius: 2px;
  background: #fff;
  text-align: left;
  border: 1px solid #e6e8eb;
}
.qcard b { display: block; font-size: 16px; }
.qcard span { color: #8b909a; font-size: 12px; }
.qico {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f4f5f7;
  color: #1c1c1e;
}
.qico svg { width: 18px; height: 18px; }

.chiprow { display: flex; align-items: center; gap: 8px; padding: 12px; }
.chips {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip, .iconbtn {
  flex: none;
  height: 32px;
  padding: 0 12px;
  border-radius: 2px;
  background: transparent;
  border: 1px solid transparent;
  font-size: 13px;
  color: #5c616a;
}
.chip.on {
  background: #fff;
  border-color: #e6e8eb;
  color: #1a1a1a;
  font-weight: 600;
}
.iconbtn { width: 32px; padding: 0; display: grid; place-items: center; border-color: #e6e8eb; background: #fff; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 12px; }
.goods {
  display: block;
  width: 100%;
  padding: 8px 8px 10px;
  border-radius: 2px;
  background: #fff;
  text-align: left;
  border: 1px solid #e6e8eb;
}
.cover {
  position: relative;
  height: 132px;
  border-radius: 6px;
  overflow: hidden;
  color: #fff;
  background: #17191e;
}
.theme-blue { --accent: #6d93d6; }
.theme-sunset { --accent: #c4a574; }
.theme-ocean { --accent: #2f9e96; }
.theme-metal { --accent: #9aa3af; }
.theme-gold { --accent: #c9a227; }
.theme-night { --accent: #c4525c; }
.cover::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent, #e85d04);
}
.cover::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .45));
  pointer-events: none;
}
.cover-photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-top {
  position: absolute;
  z-index: 2;
  top: 8px; left: 10px; right: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.cover-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; min-width: 0; }
.ribbon, .brand-tag, .rankno, .price-badge { position: static; font-style: normal; }
.ribbon {
  padding: 1px 5px;
  border-radius: 2px;
  background: #8f2d2a;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}
.price-badge {
  flex: none;
  padding: 1px 0 1px 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  background: none;
}
.brand-tag {
  max-width: 108px;
  padding: 1px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  letter-spacing: .04em;
}
.cover-kicker {
  position: absolute;
  z-index: 2;
  left: 12px; right: 10px; bottom: 44px;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  letter-spacing: .04em;
}
.cover-title {
  position: absolute;
  z-index: 2;
  left: 12px; right: 10px; bottom: 12px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gname, .gdesc { display: block; }
.gname {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gdesc {
  margin-top: 4px;
  color: #8b909a;
  font-size: 11px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prow { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 6px; margin-top: 6px; }
.sold { flex: 1 0 100%; text-align: right; }
.price { color: #8f2d2a; font-weight: 600; font-size: 16px; }
.origin { margin-left: 4px; color: #c8b8ae; font-size: 11px; text-decoration: line-through; font-weight: 500; }
.sold { color: #9aa0a8; font-size: 11px; }
.game-mini { color: #c4a574; font-size: 10px; }

.cat-head, .page-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 0; }
.cat-head h1, .page-head h1 { margin: 0; font-size: 22px; }
.page-head p, .intro { margin: 4px 12px 0; color: #8b909a; font-size: 12px; }
.seg {
  display: flex;
  padding: 0;
  border-bottom: 1px solid #e6e8eb;
  background: transparent;
}
.seg button { height: 32px; padding: 0 12px; border-radius: 0; font-weight: 600; font-size: 14px; color: #5c616a; }
.seg button.on { background: transparent; color: #1a1a1a; box-shadow: inset 0 -2px 0 #1a1a1a; }
.pills { display: flex; gap: 8px; padding: 10px 12px; }
.pills button {
  height: 30px;
  padding: 0 12px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #e6e8eb;
  font-size: 13px;
  color: #5c616a;
}
.pills button.on { color: #1a1a1a; font-weight: 600; box-shadow: inset 0 -2px 0 #1a1a1a; }
.cat-layout { display: flex; align-items: flex-start; }
.side { width: 86px; flex: none; padding: 6px 0 24px; }
.side-item {
  display: block;
  width: calc(100% - 12px);
  margin: 4px 6px;
  padding: 10px 4px;
  border-radius: 0;
  border-left: 2px solid transparent;
  color: #5c616a;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
}
.side-item.on { background: #fff; border-left-color: #1a1a1a; color: #1a1a1a; font-weight: 600; }
.cat-main { flex: 1; min-width: 0; }
.cat-main .grid { padding-left: 0; padding-right: 10px; }
.rankno {
  position: static;
  width: 16px; height: 16px;
  border-radius: 2px;
  background: #fff;
  color: #1c1c1e;
  font-size: 10px;
  font-weight: 700;
  display: grid; place-items: center;
}

.staff {
  display: flex;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 0 12px 10px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  border: 1px solid #eceef2;
}
.srank { width: 16px; padding-top: 4px; color: #8b909a; font-weight: 700; flex: none; }
.sava { width: 56px; height: 56px; border-radius: 8px; flex: none; font-size: 18px; }
.sbody { flex: 1; min-width: 0; text-align: left; cursor: pointer; }
.cover.has-rank .ribbon { left: 32px; }
.sname { font-weight: 800; font-size: 15px; }
.sscore { margin: 2px 0; color: #8b909a; font-size: 12px; }
.stags { display: flex; flex-wrap: wrap; gap: 4px; }
.stag { padding: 2px 6px; border-radius: 2px; background: #f4f5f7; color: #3a3a3c; font-size: 10px; }
.sbio { margin-top: 4px; color: #6b7280; font-size: 12px; }
.sfoot { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: #8b909a; font-size: 12px; }
.voice {
  height: 22px;
  padding: 0 8px;
  border-radius: 2px;
  background: #1c1c1e;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.voice.on { background: #8d7344; }
.pick {
  align-self: center;
  flex: none;
  height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  background: #1c1c1e;
  color: #fff;
  font-weight: 600;
}

.mtabs { display: flex; gap: 8px; align-items: center; padding: 16px 12px 8px; }
.mtabs button { height: 34px; padding: 0 14px; border-radius: 4px; color: #5c616a; font-weight: 600; }
.mtabs button.on { background: #1c1c1e; color: #fff; }
.msg {
  display: block;
  width: calc(100% - 24px);
  margin: 8px 12px;
  padding: 14px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #e6e8eb;
  text-align: left;
}
.msg b { display: block; margin-bottom: 4px; }
.msg p { margin: 0; color: #6b7280; font-size: 13px; line-height: 1.5; }
.msg time { display: block; margin-top: 6px; color: #c4b4aa; font-size: 11px; }

.empty { text-align: center; color: #9aa0a8; padding: 36px 24px; }
.empty b { display: block; margin-bottom: 6px; color: #5c616a; font-size: 16px; }
.illu { width: 72px; height: 52px; margin: 8px auto 14px; position: relative; }
.illu i, .illu i::after {
  position: absolute;
  border-radius: 4px;
  background: transparent;
  border: 1.5px solid #d0d4dc;
}
.illu i { width: 48px; height: 32px; left: 0; top: 16px; }
.illu i::after {
  content: "";
  width: 44px; height: 30px;
  left: 18px; top: -14px;
  background: #f4f5f7;
  box-shadow: none;
}

.me-top { display: flex; align-items: center; gap: 12px; padding: 18px 16px 12px; }
.me-ava {
  width: 56px; height: 56px;
  border-radius: 8px;
  font-size: 20px;
  background: #1c1c1e;
}
.me-top b { font-size: 18px; }
.bal-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 12px 12px;
  padding: 16px;
  border-radius: 2px;
  color: #fff;
  background: #1a1a1a;
  border-top: 3px solid #c4a574;
  text-align: left;
  width: calc(100% - 24px);
}
.card {
  margin: 12px;
  padding: 14px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #e6e8eb;
}
.card-h, .h2 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; font-size: 15px; }
.card-h button, .linkish { color: #9aa0a8; font-size: 12px; }
.osc { display: grid; grid-template-columns: repeat(4, 1fr); }
.osc button, .feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #3a3a3c;
}
.osc i, .feat i {
  width: 40px; height: 40px;
  border-radius: 2px;
  display: grid; place-items: center;
  background: #f3f4f6;
  color: #1a1a1a;
  border: 1px solid #e6e8eb;
}
.feat i { width: 36px; height: 36px; background: transparent; }
.promos { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; padding: 0 12px; }
.promo { min-height: 92px; padding: 14px; border-radius: 2px; color: #1a1a1a; text-align: left; background: #fff; border: 1px solid #e6e8eb; }
.promo.orange { border-left: 3px solid #8d7344; }
.promo.black { border-left: 3px solid #1a1a1a; }
.promo b { display: block; font-size: 16px; }
.promo span { display: block; margin-top: 4px; font-size: 12px; opacity: .88; }
.remind { margin: 8px 16px 0; color: #16a34a; font-size: 12px; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 6px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 8px;
  background: rgba(244, 245, 247, .96);
  backdrop-filter: blur(10px);
}
.topbar h1 { flex: 1; margin: 0 36px 0 0; text-align: center; font-size: 16px; }
.back { width: 40px; height: 40px; font-size: 28px; line-height: 1; color: #1c1c1e; }
.subbody { padding-bottom: 110px; }
.muted { color: #8b909a; font-size: 12px; line-height: 1.55; }
.field { display: block; margin-bottom: 10px; }
.field span, .label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  height: 36px;
  padding: 0 12px;
  border-radius: 18px;
  background: #f4f5f7;
  color: #3a3a3c;
  border-radius: 4px;
}
.choice.on { background: #1c1c1c; color: #fff; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 36px; height: 36px;
  border-radius: 2px;
  border: 1px solid #d9dce3;
  background: #fff;
  font-size: 18px;
}
.row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; }
.row b { font-weight: 600; text-align: right; }
.help { margin-top: 6px; }
.minor-strip {
  margin: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f4f5f7;
  color: #3a3a3c;
  border: 1px solid #e4e6eb;
  font-size: 12px;
  line-height: 1.5;
}
.buybar {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -6px 16px rgba(80, 40, 10, .05);
}
.primary {
  display: block;
  width: 100%;
  height: 44px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  background: #1a1a1a;
  border-radius: 2px;
}
.buybar .primary { width: auto; flex: 1; }
.ghost {
  height: 40px;
  padding: 0 14px;
  border-radius: 2px;
  border: 1px solid #d9dce3;
  background: #fff;
  color: #1a1a1a;
  font-weight: 600;
}
.payopt {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid #e4e6eb;
  border-radius: 12px;
  text-align: left;
  background: #fff;
}
.payopt.on { border-color: #1c1c1e; background: #fafafa; }
.payopt small { display: block; color: #8b909a; font-size: 12px; }
.agree { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; font-size: 13px; line-height: 1.5; }
.agree .agree { display: contents; }
.agree input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.agree button { color: #1a1a1a; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.otabs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px; scrollbar-width: none; }
.otabs button {
  flex: none;
  height: 30px;
  padding: 0 12px;
  border-radius: 2px;
  background: transparent;
  font-size: 13px;
  color: #5c616a;
}
.otabs button.on { background: #1c1c1c; color: #fff; }
.ocard { margin: 8px 12px; padding: 14px; border-radius: 10px; background: #fff; border: 1px solid #eceef2; }
.ohead { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.ost { font-size: 13px; font-weight: 800; }
.st-unpaid { color: #8f2d2a; }
.st-wait { color: #2563eb; }
.st-serving { color: #16a34a; }
.st-done, .st-closed { color: #8b909a; }
.st-refunded, .st-refunding { color: #ef4444; }
.oacts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.obtn {
  height: 32px;
  padding: 0 12px;
  border-radius: 2px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.obtn.line { background: #f4f4f4; color: #666; }

.wallet-hero {
  margin: 12px;
  padding: 18px;
  border-radius: 2px;
  color: #fff;
  background: #1a1a1a;
  border-top: 3px solid #c4a574;
}
.wallet-hero strong { display: block; margin: 6px 0; font-size: 32px; }
.buckets { display: flex; gap: 16px; color: rgba(255, 255, 255, .75); font-size: 12px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.bar { height: 8px; border-radius: 4px; background: #f3e6dc; overflow: hidden; }
.bar span { display: block; height: 100%; background: #1c1c1e; }
.ledger { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid #f6eee8; font-size: 13px; }
.plus { color: #16a34a; font-weight: 800; }
.minus { color: #ef4444; font-weight: 800; }

.thread { display: flex; flex-direction: column; gap: 10px; padding: 12px; min-height: 240px; }
.bubble { max-width: 82%; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.bubble.cs { align-self: flex-start; background: #fff; }
.bubble.me { align-self: flex-end; background: #1c1c1e; color: #fff; }
.bubble time { display: block; margin-top: 4px; opacity: .7; font-size: 10px; }
.composer {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
}
.composer input { flex: 1; }
.composer button {
  flex: none;
  height: 44px;
  padding: 0 16px;
  border-radius: 2px;
  background: #1a1a1a;
  color: #fff;
  font-weight: 600;
}
.faqs { display: flex; gap: 8px; overflow-x: auto; padding: 0 12px 8px; }
.faqs button {
  flex: none;
  height: 30px;
  padding: 0 10px;
  border-radius: 2px;
  border: 1px solid #e6e8eb;
  background: #fff;
  font-size: 12px;
}

#sheet { position: fixed; inset: 0; z-index: 30; display: none; }
#sheet.show { display: block; }
#sheet .mask { position: absolute; inset: 0; background: rgba(20, 10, 0, .45); }
#sheet .panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 430px);
  max-height: 82dvh;
  overflow: auto;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 2px 2px 0 0;
  background: #fff;
}
#sheet .panel::before {
  content: "";
  display: block;
  width: 36px; height: 4px;
  margin: 2px auto 12px;
  border-radius: 2px;
  background: #eadfd6;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 108px;
  z-index: 40;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(88vw, 360px);
  pointer-events: none;
}
.toast-item {
  padding: 10px 14px;
  border-radius: 2px;
  background: rgba(26, 26, 26, .92);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.offline {
  margin: 10px 12px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff7e6;
  border: 1px solid #f3e2b8;
  color: #8a5a00;
  font-size: 12px;
  line-height: 1.5;
}
.result-count { padding: 0 14px 8px; color: #8b909a; font-size: 12px; }
.inline { display: flex; gap: 8px; }
.inline .primary, .inline .ghost { flex: 1; }
.notice-item { display: flex; gap: 8px; margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.notice-item em {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #f4f5f7;
  color: #1c1c1e;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .slide, .orb { animation: none !important; transition: none !important; }
}

body { background: #d7e8f8; color: #1c1c1e; }
.phone {
  overflow: hidden;
  background: linear-gradient(180deg, #e8f3ff 0%, #f4f9ff 220px, #e3f0fb 100%);
}
.phone::before, .phone::after { display: none; }
#view { position: relative; z-index: 1; }

#tabbar {
  height: calc(58px + env(safe-area-inset-bottom));
  margin: 0 10px 8px;
  padding: 6px 6px env(safe-area-inset-bottom);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 8px 20px rgba(22, 62, 114, .08);
}
.tab { color: #7d8b9a; transition: color .2s ease; }
.tab.on { color: #1a4f8b; font-weight: 600; }
.tab.on::before {
  display: block;
  top: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #1a4f8b;
}
.tab svg { width: 22px; height: 22px; }
.pad { padding-bottom: 96px; }

.searchbar, .card, .goods, .qcard, .staff, .msg, .ocard, .me-top {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(120, 70, 30, .06);
}
.searchbar {
  margin: 12px;
  padding: 4px 4px 4px 14px;
  border-radius: 999px;
}
.search-btn {
  height: 34px;
  padding: 0 18px;
  border-radius: 8px;
  background: #1a4f8b;
  box-shadow: none;
  letter-spacing: 0;
}
.fab { display: none !important; }

.custom-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 10px 12px 10px 10px;
  text-align: left;
  border: 1px solid #d5e4f4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(22, 62, 114, .06);
}
.custom-mark {
  flex: none;
  width: 78px;
  height: 78px;
  margin: -10px 0;
  object-fit: contain;
  pointer-events: none;
}
.custom-copy { flex: 1; min-width: 0; }
.custom-copy b { display: block; color: #163e72; font-size: 15px; line-height: 1.2; }
.custom-copy small { display: block; margin-top: 3px; color: #5c6b7a; font-size: 12px; }
.custom-entry em { flex: none; font-style: normal; color: #1a4f8b; font-size: 13px; font-weight: 600; }

.hero { height: 176px; border-radius: 12px; box-shadow: 0 10px 22px rgba(22, 62, 114, .16); }
.slide.has-photo { background: #10243f none; }
.slide::before { width: 0; }
.slide.poster::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 24, 48, 0) 42%, rgba(8, 24, 48, .42) 100%);
}
.hero-copy {
  left: 46%;
  right: 14px;
  top: 34px;
  text-shadow: 0 1px 8px rgba(8, 24, 48, .45);
}
.slide.has-photo .hero-copy { display: none; }
.hero-pill:empty { display: none; }
.hero-pill { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }

.loginbar {
  border-radius: 16px;
  background: #10243f url("../images/login-sky.jpg") center / cover no-repeat;
  box-shadow: none;
}
.ava, .me-ava {
  border-radius: 16px;
  background: #1a4f8b;
  box-shadow: none;
  border: 0;
}
.medals { display: flex; align-items: center; }
.medals i {
  width: 26px; height: 26px;
  margin-left: -8px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #d6e6f5;
  color: #1a4f8b;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, .88);
}
.medal-word { margin-left: 6px; color: rgba(255, 255, 255, .82); font-size: 12px; font-weight: 600; }
.go-recharge {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #1a4f8b;
}
.quick .qcard,
.quick .qcard:nth-child(1),
.quick .qcard:nth-child(2) {
  min-height: 92px;
  padding: 18px 62px 18px 16px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background-color: transparent;
  color: #fff;
  overflow: visible;
}
.quick .qcard.sales { background: url("../images/quick-sales.jpg?v=38") center / 100% 100% no-repeat; }
.quick .qcard.cs { background: url("../images/quick-cs.jpg?v=38") center / 100% 100% no-repeat; }
.quick .qcard b { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.quick .qcard span { color: rgba(255, 255, 255, .88); }
.chip, .iconbtn { border-radius: 999px; background: #fff; border: 1px solid #f0e4da; }
.chip.on { background: #1c1c1e; color: #fff; border-color: #1c1c1e; box-shadow: none; }

.cover { border-radius: 12px; background: linear-gradient(160deg, #3d7dff, #163a8a); }
.theme-sunset { background: linear-gradient(160deg, #ff8a2a, #c2410c); }
.theme-ocean { background: linear-gradient(160deg, #2ec4b6, #0f6e74); }
.theme-metal { background: linear-gradient(160deg, #8d97a8, #3d4450); }
.theme-gold { background: linear-gradient(160deg, #f0c14b, #a16207); }
.theme-night { background: linear-gradient(160deg, #7c3aed, #1e1b4b); }
.theme-blue { background: linear-gradient(160deg, #3d7dff, #163a8a); }
.price { color: #1a4f8b; }
.goods:active, .qcard:active, .staff:active, .promo:active, .primary:active { transform: scale(.985); }

.seg {
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: #f3f1ef;
}
.seg button { border-radius: 999px; color: #8b909a; box-shadow: none; }
.seg button { border-radius: 8px; }
.seg button.on { background: #1a4f8b; color: #fff; box-shadow: none; }
.pills button { border-radius: 999px; background: #fff; border: 0; }
.pills button.on { color: #1a4f8b; box-shadow: none; font-weight: 700; }
.side-item { border-radius: 12px; border-left: 0; }
.side-item.on { background: #1c1c1e; color: #fff; border-left-color: transparent; }

.srank {
  width: 22px; height: 22px;
  margin-top: 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #e7f1fb;
  color: #1a4f8b;
  font-size: 12px;
}
.sava { border-radius: 14px; color: #fff; }
.sava.has-photo { padding: 0; overflow: hidden; background: #e7f1fb; }
.sava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who { display: flex; align-items: center; gap: 14px; }
.who-face {
  width: 72px; height: 72px; border-radius: 18px; overflow: hidden; flex: none;
  display: grid; place-items: center; padding: 0;
  background: linear-gradient(160deg, #4f8cff, #12306e); color: #fff;
  font-size: 28px; font-weight: 700;
}
.who-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who .sname { font-size: 18px; }
.text-link { height: auto; margin-top: 4px; padding: 0; color: #1a4f8b; font-size: 13px; font-weight: 700; }
.profile-note { margin: 4px 0 0; color: #6b7785; font-size: 12px; line-height: 1.5; }
.chip-row { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; }
.chip-row > span { width: 36px; flex: none; color: #6b7785; font-size: 13px; font-weight: 600; }
.chip-row .choices { flex: 1; margin: 0; }
.chip-row .choice { height: 32px; }
.stags { margin-top: 12px; }
.face-file { display: none; }
.sscore { color: #5c6b7a; font-weight: 600; }
.pick {
  border-radius: 8px;
  background: #1a4f8b;
  box-shadow: none;
}
.mtabs button { border-radius: 999px; }
.mtabs button { border-radius: 8px; }
.mtabs button.on { background: #1a4f8b; color: #fff; }

.me-top { margin: 12px 12px 0; padding: 16px; }
.bal-card {
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #2a241c, #111);
  box-shadow: 0 10px 20px rgba(20, 12, 6, .16);
}
.bal-card::before { display: none; }
.osc i, .feat i {
  border: 0;
  border-radius: 14px;
  background: #f6f7f9;
  color: #6b7280;
}
.promo {
  position: relative;
  min-height: 118px;
  padding: 16px 14px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  overflow: hidden;
  background-color: #0e2748;
  background-size: cover;
  background-position: center;
  text-shadow: 0 1px 6px rgba(6, 16, 32, .45);
}
.promo.orange {
  background-image:
    linear-gradient(90deg, rgba(8, 22, 44, .78) 0%, rgba(8, 22, 44, .28) 72%),
    url("../images/sxy-welfare.jpg");
}
.promo.black {
  background-image:
    linear-gradient(90deg, rgba(4, 10, 22, .62) 0%, rgba(4, 10, 22, .12) 68%),
    url("../images/sxy-service.jpg");
}
.promo b { font-size: 16px; letter-spacing: .04em; }
.promo span { color: rgba(255, 255, 255, .9); }
.primary, .composer button, .obtn:not(.line) {
  border-radius: 8px;
  background: #1a4f8b;
  box-shadow: none;
}
.choice { border-radius: 8px; background: #e7f1fb; }
.choice.on { background: #1a4f8b; color: #fff; }
.obtn.line, .ghost { border-radius: 8px; background: #fff; color: #3a3a3c; border: 1px solid #d5e2f0; }
.topbar, .buybar {
  background: rgba(236, 245, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.wallet-hero {
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #163e72, #1a4f8b);
}
.toast-item { border-radius: 14px; background: rgba(28, 22, 18, .88); }
#sheet .panel { border-radius: 20px 20px 0 0; }
.illu i, .illu i::after { border-color: #b7cbe4; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes pop {
  from { transform: scale(.8); }
  to { transform: none; }
}
.goods .cover { background: linear-gradient(165deg, rgba(255,255,255,.22), transparent 40%), linear-gradient(160deg, #4f8cff, #12306e); }
.goods .cover.theme-sunset { background: linear-gradient(165deg, rgba(255,255,255,.24), transparent 42%), linear-gradient(160deg, #ff9a3c, #e24b16); }
.goods .cover.theme-ocean { background: linear-gradient(165deg, rgba(255,255,255,.2), transparent 42%), linear-gradient(160deg, #2ec4b6, #0c6b72); }
.goods .cover.theme-metal { background: linear-gradient(165deg, rgba(255,255,255,.2), transparent 42%), linear-gradient(160deg, #9aa3b2, #3c4450); }
.goods .cover.theme-gold { background: linear-gradient(165deg, rgba(255,255,255,.28), transparent 42%), linear-gradient(160deg, #f0c14b, #b45309); }
.goods .cover.theme-night { background: linear-gradient(165deg, rgba(255,255,255,.16), transparent 42%), linear-gradient(160deg, #8b5cf6, #1e1b4b); }
.goods .cover.theme-blue { background: linear-gradient(165deg, rgba(255,255,255,.22), transparent 40%), linear-gradient(160deg, #4f8cff, #12306e); }

.otabs {
  gap: 0;
  margin: 8px 12px 2px;
  padding: 0 4px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(26, 79, 139, .05);
}
.otabs button {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 44px;
  padding: 0 2px;
  border-radius: 0;
  background: transparent;
  color: #6b7785;
  font-size: 13px;
  font-weight: 600;
}
.otabs button.on { background: transparent; color: #1a4f8b; box-shadow: none; }
.otabs button.on::after {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #1a4f8b;
}
.ocard {
  overflow: hidden;
  padding: 0 12px 12px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(26, 79, 139, .06);
}
.ocover {
  position: relative;
  height: 112px;
  margin: 0 -12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #fff;
  overflow: hidden;
}
.ocover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ocover.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 40, .05), rgba(8, 20, 40, .55));
}
.ocover b, .ocover small { position: relative; z-index: 1; }
.ocover b { font-size: 22px; letter-spacing: .12em; line-height: 1.1; }
.ocover small { color: rgba(255, 255, 255, .88); font-size: 12px; }
.ocover .ost {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  font-style: normal;
  font-size: 12px;
}
.ocover.theme-blue { background: linear-gradient(165deg, rgba(255,255,255,.22), transparent 42%), linear-gradient(160deg, #4f8cff, #12306e); }
.ocover.theme-sunset { background: linear-gradient(165deg, rgba(255,255,255,.24), transparent 42%), linear-gradient(160deg, #ff9a3c, #e24b16); }
.ocover.theme-ocean { background: linear-gradient(165deg, rgba(255,255,255,.2), transparent 42%), linear-gradient(160deg, #2ec4b6, #0c6b72); }
.ocover.theme-metal { background: linear-gradient(165deg, rgba(255,255,255,.2), transparent 42%), linear-gradient(160deg, #9aa3b2, #3c4450); }
.ocover.theme-gold { background: linear-gradient(165deg, rgba(255,255,255,.28), transparent 42%), linear-gradient(160deg, #f0c14b, #b45309); }
.ocover.theme-night { background: linear-gradient(165deg, rgba(255,255,255,.16), transparent 42%), linear-gradient(160deg, #8b5cf6, #1e1b4b); }
.oname { display: block; font-size: 15px; line-height: 1.4; }
.oprice { color: #1a4f8b; font-size: 16px; }

.pcard {
  display: flex;
  gap: 12px;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 22px 14px 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 79, 139, .06);
  text-align: left;
}
.pava-wrap, .face-wrap { position: relative; flex: none; overflow: visible; }
.pava-wrap { width: 86px; height: 86px; }
.face-wrap { width: 72px; height: 72px; }
.pava {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.pava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.charm {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 38%;
  width: 108px;
  height: 74px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  pointer-events: none;
}
.face-wrap .charm { width: 92px; height: 62px; bottom: 36%; }
.pbody { flex: 1; min-width: 0; }
.ptop { display: flex; align-items: flex-start; gap: 8px; }
.pname { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 16px; font-weight: 800; color: #1c1c1e; }
.pname b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pprice { margin-left: auto; text-align: right; flex: none; line-height: 1.15; }
.pprice s { display: block; color: #b0b6be; font-size: 11px; font-weight: 500; }
.pprice span { color: #ff4d4f; font-weight: 700; }
.pprice small { color: #9aa0a6; font-size: 11px; font-weight: 500; }
.pprice strong { font-size: 18px; }
.pprice em { font-style: normal; font-size: 12px; }
.ptags { margin-top: 6px; color: #8b909a; font-size: 12px; line-height: 1.5; }
.ptags span { margin-right: 8px; }
.pbio {
  margin: 4px 0 10px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sex { width: 16px; height: 16px; border-radius: 4px; display: inline-grid; place-items: center; flex: none; }
.sex svg { width: 12px; height: 12px; display: block; }
.sex.male { background: #3d8bfd; }
.sex.female { background: #ff5b93; }
.listen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  margin-top: 2px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8d7cff, #6d5efc);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(109, 94, 252, .28);
}
.listen i {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
}
.listen.on { background: #1a4f8b; box-shadow: none; }
.who .listen { margin-top: 8px; }
.voice-row, .card .text-link { margin-right: 12px; }
.qr-row { display: flex; gap: 10px; padding: 12px 12px 0; }
.qr-card {
  flex: 1;
  padding: 14px 12px;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  box-shadow: 0 8px 20px rgba(26, 79, 139, .06);
}
.qr-card b { display: block; color: #1a4f8b; font-size: 15px; }
.qr-card span { display: block; margin-top: 4px; color: #6b7785; font-size: 12px; line-height: 1.4; }
.qr-view { width: 100%; border-radius: 12px; background: #fff; }
.rank-row { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #eef3f8; }
.rank-row i {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e7f1fb; color: #1a4f8b; font-style: normal; font-size: 12px; font-weight: 700;
}
.rank-row span { flex: 1; min-width: 0; font-weight: 700; }
.rank-row b { color: #1a4f8b; font-size: 13px; }
.rank-row small { color: #8b909a; font-size: 12px; }
.mode-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 6px; }
.mode-poster {
  position: relative; height: 148px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 22px rgba(16, 36, 68, .18);
  transform: translateZ(0);
}
.mode-poster img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: mode-drift 7s ease-in-out infinite alternate;
}
.mode-poster .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 28, .05) 18%, rgba(6, 14, 28, .78) 100%);
}
.mode-poster .shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .34) 48%, transparent 64%);
  transform: translateX(-130%);
  animation: mode-shine 5.4s ease-in-out infinite;
}
.mode-poster b {
  position: absolute; left: 8px; right: 8px; bottom: 10px; z-index: 1;
  color: #fff; font-size: 15px; letter-spacing: .06em; text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}
.mode-poster.on {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1a4f8b, 0 16px 28px rgba(26, 79, 139, .34);
}
@keyframes mode-drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(0, -6px, 0); }
}
@keyframes mode-shine {
  0%, 58% { transform: translateX(-130%); }
  82%, 100% { transform: translateX(130%); }
}
.modes { display: flex; flex-direction: column; gap: 16px; margin: 12px 0 4px; }
.mode-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.mode-head b { font-size: 16px; }
.mode-mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1a4f8b; color: #fff; font-style: normal; font-size: 12px; font-weight: 700;
}
.mode-mark.multi { background: #2f6fbf; }
.mode-mark.war { background: #163e6e; }
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lane {
  min-width: 0; padding: 0 0 8px; border-radius: 12px; overflow: hidden; text-align: left; background: #fff;
  box-shadow: 0 6px 16px rgba(26, 79, 139, .06);
}
.lane img, .lane-fallback { display: block; width: 100%; height: 72px; object-fit: cover; }
.lane-fallback { background: linear-gradient(160deg, #1a4f8b, #8eb6de); }
.lane-fallback.multi { background: linear-gradient(160deg, #2f6fbf, #b7d0ee); }
.lane-fallback.war { background: linear-gradient(160deg, #163e6e, #7f9dbe); }
.lane b, .lane small, .lane em { display: block; padding: 0 8px; }
.lane b { margin-top: 6px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane small { color: #8b909a; font-size: 11px; }
.lane em { color: #1a4f8b; font-style: normal; font-weight: 700; font-size: 13px; }
.member-row { display: flex; gap: 10px; margin: 12px 12px 0; }
.member-row button {
  flex: 1; padding: 14px 12px; border-radius: 12px; text-align: left; background: #fff;
  box-shadow: 0 8px 20px rgba(26, 79, 139, .06);
}
.member-row b { display: block; color: #1a4f8b; font-size: 16px; }
.member-row span { display: block; margin-top: 4px; color: #6b7785; font-size: 12px; }
.reward-cover { height: 88px; border-radius: 10px; overflow: hidden; background: #e7f1fb; display: grid; place-items: center; margin-bottom: 8px; }
.reward-cover img { width: 100%; height: 88px; object-fit: cover; }
.notice-pic { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; margin: 8px 0; }

@media (prefers-reduced-motion: reduce) {
  #view > *, .orb, .mode-poster img, .mode-poster .shine { animation: none !important; }
  .goods:active, .primary:active, .mode-poster.on { transform: none; }
}
