* { margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html { font-size: 16px; }
html, body { width: 100%; height: 100%; }
body {
  overflow-x: hidden;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: #1f2329;
  background: #e9ebef;
  -webkit-user-select: none;
  user-select: none;
}
.app-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background: #f5f6fa;
  box-shadow: 0 0 30px rgba(0, 0, 0, .08);
  overflow: hidden;
}
.page-wrap { min-height: 100vh; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
img { display: block; }

/* 首页 */
.home { min-height: 100vh; padding-bottom: .75rem; background-color: #f5f6fa; }
.hero { position: relative; display: flex; align-items: center; justify-content: space-between; margin: .5rem .75rem 0; padding: .75rem .875rem; border-radius: .875rem; overflow: hidden; background: linear-gradient(140deg, #4a91ff, #2b7fff 42%, #1a66e0); box-shadow: 0 .3125rem .75rem rgba(43, 127, 255, .24); }
.hero__deco { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%); }
.hero__deco--a { width: 8.125rem; height: 8.125rem; top: -4.6875rem; right: -2.8125rem; }
.hero__deco--b { width: 5.625rem; height: 5.625rem; bottom: -3.4375rem; left: -2.1875rem; opacity: .7; }
.hero__main { position: relative; flex: 1; overflow: hidden; margin-right: .5rem; }
.hero__hello { font-size: 1rem; font-weight: 700; color: #fff; }
.hero__sub { margin-top: .1875rem; font-size: .6875rem; color: rgba(255,255,255,.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__pill { position: relative; flex-shrink: 0; display: flex; align-items: center; padding: .25rem .5625rem; border-radius: .9375rem; background-color: rgba(255,255,255,.18); border: .03125rem solid rgba(255,255,255,.28); }
.hero__pill-text { font-size: .6875rem; color: #fff; white-space: nowrap; }
.hero__pill-num { margin: 0 .1875rem; font-size: 1rem; font-weight: 700; line-height: 1.1; color: #ffd166; }
.hero__pill-arrow { margin-left: .1875rem; font-size: .75rem; color: rgba(255,255,255,.85); }

.banner { position: relative; width: 100%; margin-top: .5rem; height: 11.4375rem; background-color: #e6ebf2; overflow: hidden; }
.banner__track { display: flex; width: 100%; height: 100%; transition: transform .45s ease; }
.banner__slide { position: relative; width: 100%; height: 100%; flex: 0 0 100%; }
.banner__img { width: 100%; height: 100%; object-fit: contain; background: #e6ebf2; }
.banner__title { position: absolute; left: 0; right: 0; bottom: 0; padding: .375rem .75rem; font-size: .8125rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.banner__dots { position: absolute; left: 0; right: 0; bottom: .3125rem; display: flex; justify-content: center; gap: .25rem; }
.banner__dot { width: .375rem; height: .375rem; border-radius: 50%; background: rgba(255,255,255,.5); }
.banner__dot.is-active { background: #fff; }

.quick { display: flex; margin: .75rem; padding: .9375rem 0; background-color: #fff; border-radius: .75rem; box-shadow: 0 .125rem .5rem rgba(0,0,0,.04); }
.quick__item { flex: 1; display: flex; flex-direction: column; align-items: center; }
.quick__icon { width: 2.75rem; height: 2.75rem; border-radius: .75rem; color: #fff; font-size: 1.0625rem; display: flex; align-items: center; justify-content: center; }
.quick__label { margin-top: .4375rem; font-size: .75rem; color: #646a73; }

.msg-card { margin: 0 .75rem .75rem; padding: .5rem .625rem; background-color: #fff8e9; border-radius: .75rem; }
.msg-card__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .1875rem; }
.msg-card__title-wrap { display: flex; align-items: center; }
.msg-card__icon { font-size: .75rem; margin-right: .25rem; }
.msg-card__title { font-size: .8125rem; font-weight: 600; color: #a86b16; }
.msg-card__badge { margin-left: .3125rem; min-width: .875rem; height: .875rem; padding: 0 .25rem; border-radius: .4375rem; background-color: #ff4d4f; color: #fff; font-size: .5625rem; line-height: .875rem; text-align: center; }
.msg-card__more { font-size: .6875rem; color: #a86b16; }
.msg-card__item { display: flex; align-items: center; justify-content: space-between; padding: .25rem 0; }
.msg-card__text { flex: 1; font-size: .75rem; color: #1f2329; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: .5rem; }
.msg-card__time { flex-shrink: 0; font-size: .625rem; color: #a8abb2; }

.ending-row { display: flex; align-items: stretch; margin: 0 .75rem .75rem; }
.ending-row__main { flex: 1; min-width: 0; padding: .625rem; background-color: #fff; border-radius: .75rem; box-shadow: 0 .125rem .5rem rgba(0,0,0,.04); }
.ending-row__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .3125rem; }
.ending-row__title { font-size: .875rem; font-weight: 600; color: #1f2329; }
.ending-row__more { font-size: .6875rem; color: #2b7fff; }
.ending-row__list { display: flex; flex-direction: column; }
.ending-row__side { flex-shrink: 0; width: 6.25rem; margin-left: .5rem; display: flex; flex-direction: column; justify-content: space-between; }
.ending-item { display: flex; align-items: center; padding: .25rem 0; }
.ending-item + .ending-item { border-top: .03125rem solid #f5f6fa; }
.ending-item__title { flex: 1; min-width: 0; font-size: .75rem; line-height: 1.35; color: #1f2329; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ending-item__date { flex-shrink: 0; margin-left: .375rem; font-size: .625rem; color: #ff4d4f; }
.ending-item__empty { font-size: .6875rem; color: #a8abb2; }
.promo-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .5rem .25rem; border-radius: .75rem; background: linear-gradient(135deg, #4a91ff, #2b7fff); box-shadow: 0 .1875rem .5rem rgba(43,127,255,.2); }
.promo-btn + .promo-btn { margin-top: .5rem; }
.promo-btn--group { background: linear-gradient(135deg, #ffb35c, #ff8a1f); box-shadow: 0 .1875rem .5rem rgba(255,138,31,.2); }
.promo-btn__icon { width: 1.75rem; height: 1.75rem; border-radius: 50%; background-color: rgba(255,255,255,.24); color: #fff; font-size: .8125rem; text-align: center; line-height: 1.75rem; }
.promo-btn__text { margin-top: .25rem; font-size: .6875rem; color: #fff; }

.section { margin: 0 .75rem 1rem; }
.section__header { display: flex; align-items: center; justify-content: space-between; padding: .3125rem .125rem .625rem; }
.section__title { font-size: 1rem; font-weight: 600; color: #1f2329; }
.section__more { font-size: .75rem; color: #2b7fff; }
.list { background-color: #fff; border-radius: .75rem; overflow: hidden; }
.bank-list { background-color: #fff; border-radius: .75rem; overflow: hidden; }
.bank-item { display: flex; align-items: center; padding: .625rem; }
.bank-item + .bank-item { border-top: .03125rem solid #ebedf0; }
.bank-item__cover { width: 3.125rem; height: 3.125rem; flex-shrink: 0; border-radius: .375rem; background-color: #f5f6fa; object-fit: cover; }
.bank-item__cover--empty { display: flex; align-items: center; justify-content: center; font-size: .75rem; color: #fff; background-image: linear-gradient(135deg, #6ea8ff, #2b7fff); }
.bank-item__body { flex: 1; min-width: 0; margin-left: .625rem; }
.bank-item__title { font-size: .9375rem; font-weight: 600; color: #1f2329; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bank-item__meta { display: flex; align-items: center; margin-top: .3125rem; font-size: .6875rem; color: #646a73; }
.bank-item__badge { margin-right: .3125rem; padding: .0625rem .375rem; font-size: .625rem; line-height: .9375rem; color: #fff; background-color: #2b7fff; border-radius: .1875rem; }
.bank-item__badge--top { background-color: #ff4d4f; }
.bank-item__count { flex-shrink: 0; }
.bank-item__price { flex-shrink: 0; margin-left: .5rem; font-size: .9375rem; font-weight: 600; color: #ff4d4f; }
.video-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.video-card { width: calc((100% - 1rem) / 3); overflow: hidden; background-color: #fff; border-radius: .75rem; box-shadow: 0 .125rem .5rem rgba(0,0,0,.04); }
.video-card__media { position: relative; }
.video-card__cover { display: block; width: 100%; height: 3.4375rem; background-color: #f5f6fa; object-fit: cover; }
.video-card__cover--empty { display: flex; align-items: center; justify-content: center; background-image: linear-gradient(135deg, #a855f7, #6d28d9); }
.video-card__play { font-size: 1rem; color: rgba(255,255,255,.9); }
.video-card__badge { position: absolute; top: .25rem; right: 0; padding: .0625rem .3125rem; font-size: .5rem; line-height: .75rem; color: #fff; background-color: rgba(0,0,0,.55); border-radius: .375rem 0 0 .375rem; }
.video-card__body { padding: .25rem .375rem .375rem; }
.video-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 1.875rem; font-size: .75rem; line-height: .9375rem; font-weight: 600; color: #1f2329; }

/* 赛事卡片 */
.event-card { display: flex; padding: .75rem; background-color: #fff; border-bottom: .03125rem solid #ebedf0; }
.event-card__cover { width: 5.3125rem; height: 5.3125rem; border-radius: .375rem; flex-shrink: 0; background-color: #f5f6fa; object-fit: cover; }
.event-card__body { flex: 1; min-width: 0; margin-left: .625rem; display: flex; flex-direction: column; }
.event-card__title { font-size: .9375rem; font-weight: 600; color: #1f2329; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.event-card__labels { display: flex; flex-wrap: wrap; align-items: center; margin-top: .375rem; }
.event-card__time { margin-top: auto; padding-top: .375rem; font-size: .6875rem; color: #646a73; }
.badge { margin: 0 .3125rem .1875rem 0; padding: .0625rem .4375rem; font-size: .625rem; color: #fff; border-radius: .1875rem; white-space: nowrap; }
.badge--status { color: #f06a1d; background-color: rgba(240,106,29,.12); }

/* 通用列表页 */
.page { min-height: 100vh; background-color: #f5f6fa; }
.search { display: flex; align-items: center; padding: .625rem .75rem; background-color: #fff; }
.search__input { flex: 1; height: 2.125rem; padding: 0 .75rem; background-color: #f5f6fa; border: 0; outline: 0; border-radius: 1.0625rem; font-size: .8125rem; color: #1f2329; }
.search__input::placeholder { color: #a8abb2; }
.search__btn { margin-left: .5rem; font-size: .8125rem; color: #2b7fff; }
.toolbar { display: flex; align-items: center; padding: .625rem .75rem; background-color: #fff; }
.toolbar__link { margin-left: .625rem; flex-shrink: 0; font-size: .8125rem; color: #2b7fff; }
.search--round { flex: 1; display: flex; align-items: center; height: 2rem; padding: 0 .625rem; background-color: #f5f6fa; border-radius: 1rem; }
.search--round .search__input { flex: 1; height: 2rem; padding: 0; background: transparent; }
.search__clear { flex-shrink: 0; width: 1.25rem; text-align: center; font-size: 1.0625rem; line-height: 1; color: #a8abb2; }
.list-page { padding: 0 0 .75rem; }
.list-card { background-color: #fff; }
.load-more { text-align: center; font-size: .75rem; color: #a8abb2; padding: .625rem 0; }
.empty { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .375rem; padding: 3rem 1rem; text-align: center; font-size: .8125rem; color: #a8abb2; }
.empty__desc { font-size: .75rem; color: #c4c7cd; }
.empty__icon { width: 4rem; height: 4rem; border-radius: 50%; background: #e9edf4; display: flex; align-items: center; justify-content: center; color: #b6bcc6; font-size: 1.5rem; }

/* 排序筛选栏 */
.sfb { position: relative; background-color: #fff; }
.sfb__bar { position: relative; z-index: 3; display: flex; align-items: center; height: 2.5rem; padding: 0 .75rem; background-color: #fff; border-bottom: .03125rem solid #ebedf0; overflow-x: auto; }
.sfb__bar::-webkit-scrollbar { display: none; }
.sfb__tab { display: flex; align-items: center; margin-right: 1.25rem; font-size: .8125rem; color: #646a73; white-space: nowrap; flex-shrink: 0; }
.sfb__tab:last-child { margin-right: 0; }
.sfb__tab.is-active { color: #2b7fff; font-weight: 600; }
.sfb__arrow { margin-left: .1875rem; font-size: .625rem; color: #a8abb2; transition: transform .2s; }
.sfb__arrow.is-open { transform: rotate(180deg); }
.sfb__mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background-color: rgba(0,0,0,.4); }
.app-shell .sfb__mask { left: 50%; transform: translateX(-50%); max-width: 480px; }
.sfb__panel { position: absolute; top: 2.5rem; left: 0; right: 0; z-index: 2; background-color: #fff; border-radius: 0 0 .75rem .75rem; box-shadow: 0 .375rem .75rem rgba(0,0,0,.08); }
.sfb__scroll { max-height: 50vh; overflow-y: auto; padding-bottom: .25rem; }
.sfb__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.sfb__chips--pad, .sfb__group { padding: .75rem .75rem 0; }
.sfb__group-label { margin-bottom: .5625rem; font-size: .75rem; color: #a8abb2; }
.sfb__chip { padding: .3125rem .9375rem; font-size: .75rem; color: #646a73; background-color: #f5f6fa; border-radius: .875rem; }
.sfb__chip.is-active { color: #2b7fff; font-weight: 600; background-color: rgba(43,127,255,.12); }
.sfb__btns { display: flex; margin-top: .875rem; border-top: .03125rem solid #ebedf0; }
.sfb__btn { flex: 1; height: 2.875rem; font-size: .875rem; line-height: 2.875rem; text-align: center; }
.sfb__btn--plain { color: #646a73; background-color: #fff; }
.sfb__btn--main { color: #fff; background-color: #2b7fff; }

/* 题库列表 */
.bank-list-page { padding: .75rem .75rem 0; }
.bank { position: relative; display: flex; padding: .75rem; margin-bottom: .75rem; background-color: #fff; border-radius: .75rem; }
.bank__cover { width: 5rem; height: 5rem; flex-shrink: 0; border-radius: .5rem; background-color: #eef2f8; object-fit: cover; }
.bank__cover--empty { display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 600; color: #fff; background-image: linear-gradient(135deg, #6ea8ff, #2b7fff); }
.bank__body { flex: 1; min-width: 0; margin-left: .75rem; display: flex; flex-direction: column; justify-content: space-between; }
.bank__title { font-size: .9375rem; font-weight: 600; line-height: 1.4; color: #1f2329; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bank__meta { display: flex; align-items: center; margin-top: .3125rem; font-size: .6875rem; color: #a8abb2; }
.bank__cate { max-width: 60%; margin-right: .375rem; padding: .0625rem .3125rem; font-size: .625rem; color: #2b7fff; background-color: rgba(43,127,255,.1); border-radius: .1875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bank__top { flex-shrink: 0; margin-right: .375rem; padding: .0625rem .3125rem; font-size: .625rem; line-height: 1.4; color: #fff; background-color: #ff4d4f; border-radius: .1875rem; }
.bank__count { flex-shrink: 0; }
.bank__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .4375rem; }
.bank__price { font-size: .9375rem; font-weight: 600; color: #ff4d4f; }
.bank__price.is-free { color: #52c41a; }
.bank__btn { flex-shrink: 0; padding: .1875rem .75rem; font-size: .75rem; color: #fff; background-color: #2b7fff; border-radius: .75rem; }
.bank__btn.is-open { background-color: #52c41a; }
.bank__badge { position: absolute; top: 0; right: 0; padding: .125rem .5rem; font-size: .625rem; color: #fff; background-color: #52c41a; border-radius: 0 .75rem 0 .5rem; }

/* 视频列表 */
.video-list-page { padding: .75rem .75rem 0; }
.video { position: relative; display: flex; padding: .75rem; margin-bottom: .75rem; background-color: #fff; border-radius: .75rem; }
.video__cover-wrap { position: relative; width: 7.5rem; height: 4.6875rem; flex-shrink: 0; }
.video__cover { width: 7.5rem; height: 4.6875rem; border-radius: .5rem; background-color: #eef2f8; object-fit: cover; }
.video__cover--empty { display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 600; color: #fff; background-image: linear-gradient(135deg, #6ea8ff, #2b7fff); }
.video__play { position: absolute; top: 50%; left: 50%; width: 1.75rem; height: 1.75rem; margin: -.875rem 0 0 -.875rem; border-radius: 50%; background-color: rgba(0,0,0,.45); color: #fff; font-size: .75rem; line-height: 1.75rem; text-align: center; }
.video__duration { position: absolute; right: .25rem; bottom: .25rem; padding: .0625rem .3125rem; font-size: .625rem; color: #fff; background-color: rgba(0,0,0,.55); border-radius: .1875rem; }
.video__body { flex: 1; min-width: 0; margin-left: .75rem; display: flex; flex-direction: column; justify-content: space-between; }
.video__title { font-size: .9375rem; font-weight: 600; line-height: 1.4; color: #1f2329; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video__meta { display: flex; align-items: center; margin-top: .3125rem; font-size: .6875rem; color: #a8abb2; }
.video__cate { max-width: 100%; padding: .0625rem .3125rem; font-size: .625rem; color: #2b7fff; background-color: rgba(43,127,255,.1); border-radius: .1875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video__foot { display: flex; align-items: center; justify-content: flex-end; margin-top: .4375rem; }
.video__btn { flex-shrink: 0; padding: .1875rem .75rem; font-size: .75rem; color: #fff; background-color: #2b7fff; border-radius: .75rem; }
.video__btn.is-open { background-color: #52c41a; }
.video__badge { position: absolute; top: 0; right: 0; padding: .125rem .5rem; font-size: .625rem; color: #fff; background-color: #52c41a; border-radius: 0 .75rem 0 .5rem; }

/* 我的 */
.mine-page { min-height: 100vh; background-color: #f5f6fa; padding-bottom: 1.25rem; }
.header { background-color: #fff; padding: .625rem .75rem 1rem; }
.header__topbar { display: flex; justify-content: flex-end; }
.header__notice { display: flex; align-items: center; padding: .3125rem .75rem; border-radius: 1rem; background-color: #f2f3f5; }
.header__notice-text { font-size: .8125rem; color: #1f2329; }
.header__notice-dot { width: .4375rem; height: .4375rem; margin-left: .3125rem; border-radius: 50%; background-color: #ff4d4f; }
.header__profile { display: flex; align-items: center; margin-top: .375rem; }
.header__avatar-wrap { position: relative; width: 3.75rem; height: 3.75rem; flex-shrink: 0; }
.header__avatar { width: 3.75rem; height: 3.75rem; border-radius: 50%; background-color: #e8eaed; object-fit: cover; }
.header__info { flex: 1; margin-left: .625rem; min-width: 0; }
.header__name-row { display: flex; align-items: center; }
.header__name { font-size: 1.125rem; font-weight: 600; color: #1f2329; }
.header__tag { margin-left: .375rem; padding: .0625rem .4375rem; font-size: .625rem; color: #fff; background-color: #52c41a; border-radius: .625rem; }
.header__sub { margin-top: .25rem; font-size: .75rem; color: #646a73; }
.header__arrow { margin-left: .25rem; font-size: 1.25rem; color: #a8abb2; }
.promo { position: relative; display: block; width: auto; margin: .75rem .75rem 0; border-radius: .75rem; overflow: hidden; background-color: #fff; }
.promo__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.grid { display: flex; flex-wrap: wrap; margin: .75rem .75rem 0; padding: 1rem 0 .125rem; background-color: #fff; border-radius: .75rem; }
.grid__item { width: 25%; display: flex; flex-direction: column; align-items: center; margin-bottom: .875rem; }
.grid__icon { width: 2.75rem; height: 2.75rem; border-radius: 1.375rem; display: flex; align-items: center; justify-content: center; font-size: 1.0625rem; color: #fff; }
.grid__label { margin-top: .375rem; font-size: .75rem; color: #646a73; }
.extra { margin: .75rem .75rem 0; background-color: #fff; border-radius: .75rem; overflow: hidden; }
.extra__item { display: flex; align-items: center; justify-content: space-between; padding: .875rem .75rem; border-bottom: .03125rem solid #ebedf0; }
.extra__item:last-child { border-bottom: none; }
.extra__label { font-size: .875rem; color: #1f2329; }
.extra__arrow { font-size: 1.0625rem; color: #a8abb2; }

/* 弹窗 */
.popup { position: fixed; inset: 0; z-index: 999; display: flex; align-items: center; justify-content: center; padding: 0 1.875rem; background-color: rgba(0,0,0,.5); }
.app-shell .popup { left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; }
.popup__panel { width: 100%; padding: 1.125rem 1rem .75rem; background-color: #fff; border-radius: .75rem; display: flex; flex-direction: column; align-items: center; }
.popup__title { font-size: 1rem; font-weight: 600; color: #1f2329; }
.popup__tip { margin-top: .5rem; font-size: .8125rem; line-height: 1.5; color: #646a73; text-align: center; }
.popup__content { width: 100%; max-height: 50vh; margin: .875rem 0 1rem; overflow-y: auto; text-align: left; font-size: .8125rem; line-height: 1.7; color: #1f2329; word-break: break-all; }
.popup__content div { margin-bottom: .25rem; }
.popup__qr { width: 11.25rem; margin-top: .75rem; border-radius: .5rem; }
.popup__hint { margin-top: .375rem; font-size: .6875rem; color: #a8abb2; text-align: center; }
.popup__fallback { width: 100%; margin-top: .75rem; padding: .625rem; background-color: #f5f6fa; border-radius: .5rem; font-size: .75rem; line-height: 1.5; color: #646a73; text-align: center; }
.popup__fee { margin-top: .75rem; font-size: 1.25rem; font-weight: 700; color: #ff4d4f; }
.popup__btn { margin-top: .875rem; width: 100%; height: 2.5rem; line-height: 2.5rem; border-radius: 1.25rem; background-color: #2b7fff; color: #fff; font-size: .875rem; text-align: center; }
.popup__btn--plain { margin-top: .5rem; background-color: #f5f6fa; color: #646a73; }

/* 轻提示 */
.toast { position: fixed; left: 50%; top: 45%; z-index: 1200; transform: translate(-50%, -50%); max-width: 70%; padding: .625rem 1rem; border-radius: .375rem; background: rgba(0,0,0,.75); color: #fff; font-size: .8125rem; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.is-show { opacity: 1; }

/* 底部导航 */
.uni-tabbar { display: flex; z-index: 998; box-sizing: border-box; }
.uni-tabbar-bottom { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; max-width: 480px; background: #fff; padding-bottom: env(safe-area-inset-bottom); }
.uni-tabbar__item { display: flex; justify-content: center; align-items: center; flex-direction: column; flex: 1; font-size: 0; text-align: center; }
.uni-tabbar__bd { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 60px !important; cursor: pointer; }
.uni-tabbar__icon { position: relative; display: inline-block; margin-top: 5px; }
.uni-tabbar__img { width: 30px !important; height: 30px !important; }
.uni-tabbar__label { position: relative; text-align: center; font-size: 14px !important; line-height: 20px !important; margin-top: 2px !important; color: #8a8a8a; }
.uni-tabbar__item.is-active .uni-tabbar__label { color: #2b7fff; }
.uni-tabbar-border { position: absolute; left: 0; top: 0; width: 100%; height: 1px; transform: scaleY(.5); background: #d9d9d9; }

/* ========== 电脑端宽屏布局 ========== */
.desktop-header { display: none; }

@media (min-width: 769px) {
  body { background: #eef0f4; padding: 0; }
  .app-shell { max-width: 1200px; overflow: visible; box-shadow: 0 0 40px rgba(0,0,0,.06); }

  .desktop-header { display: block; position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid #ebedf0; }
  .desktop-header__inner { max-width: 1200px; height: 72px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 40px; }
  .brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #1f2329; white-space: nowrap; }
  .brand__mark { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; background: linear-gradient(135deg, #4a91ff, #2b7fff); box-shadow: 0 4px 10px rgba(43,127,255,.25); }
  .desktop-nav { display: flex; align-items: center; gap: 8px; flex: 1; }
  .desktop-nav__item { padding: 10px 18px; border-radius: 8px; font-size: 15px; color: #646a73; cursor: pointer; text-decoration: none; transition: background .15s, color .15s; }
  .desktop-nav__item:hover { background: #f5f6fa; }
  .desktop-nav__item.is-active { color: #2b7fff; background: rgba(43,127,255,.1); font-weight: 600; }
  .desktop-header__slogan { font-size: 14px; color: #a8abb2; white-space: nowrap; }

  .uni-tabbar-bottom { display: none; }
  .page-wrap { padding-bottom: 0; }
  .home, .page, .mine-page { padding-bottom: 48px; }

  /* 首页宽屏双栏 */
  .home { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr); gap: 20px; align-items: start; padding: 24px 0 48px; }
  .hero, .banner, .quick { grid-column: 1 / -1; margin: 0; }
  .hero { min-height: 112px; padding: 24px 28px; border-radius: 14px; }
  .hero__hello { font-size: 22px; }
  .hero__sub { margin-top: 6px; font-size: 14px; }
  .hero__pill { padding: 8px 16px; }
  .hero__pill-text { font-size: 14px; }
  .hero__pill-num { font-size: 20px; }
  .hero__pill-arrow { font-size: 18px; }
  .banner { max-width: 780px; height: 300px; margin: 0 auto; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.08); }
  .banner__img { object-fit: cover; }
  .quick { padding: 24px 0; border-radius: 12px; }
  .quick__icon { width: 52px; height: 52px; border-radius: 14px; font-size: 20px; }
  .quick__label { margin-top: 10px; font-size: 14px; }

  .msg-card, .ending-row, .section { margin: 0; }
  .msg-card { grid-column: 2; grid-row: 4; padding: 16px; border-radius: 12px; }
  .msg-card__title { font-size: 15px; }
  .msg-card__text { font-size: 13px; }
  .msg-card__time { font-size: 12px; }
  .ending-row { grid-column: 1; grid-row: 4; }
  .ending-row__main { padding: 18px; border-radius: 12px; }
  .ending-row__title { font-size: 16px; }
  .ending-item__title { font-size: 13px; }
  .ending-row__side { width: 180px; }
  .promo-btn { padding: 16px; border-radius: 12px; }
  .promo-btn__text { font-size: 13px; }

  .section--events { grid-column: 1; grid-row: 5; }
  /* 分类板块不能都挤在 row5，否则与热门赛事标题重叠成重影；改为在第1列自动向下流式排列 */
  .section--cat { grid-column: 1; grid-row: auto; }
  .section--banks { grid-column: 2; grid-row: 5; }
  .section--videos { grid-column: 2; grid-row: 6; }
  .section__header { padding: 0 0 14px; }
  .section__title { font-size: 18px; }
  .section__more { font-size: 14px; }
  .section--events .list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; background: transparent; border-radius: 0; }
  .section--events .event-card { border: 1px solid #ebedf0; border-radius: 12px; background: #fff; }
  .section--events .event-card__cover { width: 100px; height: 100px; }
  .section--banks .bank-list { display: grid; grid-template-columns: 1fr; gap: 12px; background: transparent; border-radius: 0; }
  .section--banks .bank-item { border: 1px solid #ebedf0; border-radius: 12px; background: #fff; }
  .section--banks .bank-item + .bank-item { border-top: 1px solid #ebedf0; }
  .section--videos .video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .section--videos .video-card { border-radius: 12px; }

  /* 列表页宽屏 */
  .search, .toolbar { max-width: 1200px; margin: 0 auto; padding: 20px 0; background: transparent; }
  .search__input { height: 44px; padding: 0 18px; border-radius: 22px; font-size: 15px; }
  .search__btn, .toolbar__link { font-size: 15px; }
  .search--round { height: 44px; padding: 0 16px; border-radius: 22px; }
  .search--round .search__input { height: 44px; }
  .sfb { max-width: 1200px; margin: 0 auto; }
  .sfb__bar { padding: 0 24px; height: 52px; }
  .sfb__tab { font-size: 15px; margin-right: 28px; }
  .sfb__panel { border-radius: 0 0 12px 12px; }
  .sfb__chip { font-size: 14px; padding: 8px 18px; }

  .list-page { max-width: 1200px; margin: 0 auto; padding: 24px 0; }
  .list-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: transparent; }
  .list-card .event-card { border: 1px solid #ebedf0; border-radius: 12px; background: #fff; }
  .list-card .event-card__cover { width: 104px; height: 104px; }
  .load-more { grid-column: 1 / -1; padding: 20px 0; font-size: 14px; }

  .bank-list-page, .video-list-page { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 24px 0; }
  .bank, .video { margin: 0; border: 1px solid #ebedf0; border-radius: 12px; }
  .bank__title, .video__title { font-size: 15px; }
  .bank__cover { width: 88px; height: 88px; }
  .video__cover-wrap, .video__cover { width: 100%; height: 110px; }
  .empty { grid-column: 1 / -1; background: #fff; border-radius: 12px; padding: 60px 20px; }

  /* 我的页宽屏 */
  .header { max-width: 1200px; margin: 24px auto 0; padding: 24px; border-radius: 12px; }
  .header__notice { padding: 8px 16px; }
  .header__notice-text { font-size: 14px; }
  .header__profile { margin-top: 16px; }
  .header__avatar-wrap, .header__avatar { width: 72px; height: 72px; }
  .header__name { font-size: 22px; }
  .header__sub { font-size: 14px; margin-top: 6px; }
  .header__arrow { font-size: 24px; }
  .promo { max-width: 1200px; margin: 20px auto 0; height: 260px; border-radius: 12px; }
  .grid { max-width: 1200px; margin: 20px auto 0; padding: 28px 0 12px; border-radius: 12px; }
  .grid__item { width: 14.285%; margin-bottom: 24px; }
  .grid__icon { width: 56px; height: 56px; border-radius: 16px; font-size: 20px; }
  .grid__label { margin-top: 10px; font-size: 14px; }
  .extra { max-width: 1200px; margin: 20px auto 0; border-radius: 12px; }
  .extra__item { padding: 18px 24px; }
  .extra__label { font-size: 15px; }

  .popup__panel { max-width: 420px; }
}

/* ---------- 赛事详情页 ---------- */
.detail-page { min-height: 100vh; padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); background: #f5f6fa; }
.detail-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: 2.75rem; padding: 0 .875rem; background: #fff; border-bottom: 1px solid #eceef2; }
.detail-nav__back { width: 1.5rem; font-size: 1.75rem; line-height: 1; color: #1f2329; cursor: pointer; }
.detail-nav__title { flex: 1; text-align: center; font-size: .9375rem; font-weight: 600; color: #1f2329; }
.detail-nav__space { width: 1.5rem; }
.detail-banner { position: relative; width: 100%; height: 11.5rem; background: #4a91ff; overflow: hidden; }
.detail-banner__img { width: 100%; height: 100%; object-fit: cover; }
.detail-banner__shade { position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.35)); }
.detail-banner__bottom { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; display: flex; align-items: center; justify-content: space-between; }
.detail-status { display: inline-block; padding: .25rem .625rem; border-radius: .9375rem; background: rgba(255,255,255,.92); color: #2b7fff; font-size: .75rem; font-weight: 500; }
.detail-region { display: inline-block; padding: .25rem .625rem; border-radius: .25rem; background: rgba(0,0,0,.35); color: #fff; font-size: .75rem; }
.detail-main { padding: .75rem; }
.detail-card { margin-bottom: .75rem; padding: 1rem; background: #fff; border-radius: .75rem; box-shadow: 0 .125rem .5rem rgba(0,0,0,.04); }
.detail-title { font-size: 1.125rem; font-weight: 700; line-height: 1.4; color: #1f2329; }
.detail-labels { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.dlabel { padding: .25rem .5rem; border-radius: .25rem; background: #f2f4f7; color: #6b7280; font-size: .75rem; }
.detail-meta { margin-top: .875rem; }
.dmeta { display: flex; align-items: flex-start; padding: .625rem 0; border-bottom: 1px solid #f2f4f7; }
.dmeta:last-child { border-bottom: none; }
.dmeta__k { flex: 0 0 5rem; color: #8a9099; font-size: .8125rem; }
.dmeta__v { flex: 1; color: #1f2329; font-size: .8125rem; line-height: 1.5; }
.dmeta__fee { color: #f56c6c; font-weight: 600; }
.detail-section-title { font-size: 1rem; font-weight: 700; color: #1f2329; margin-bottom: .75rem; }
.detail-banks { display: flex; flex-direction: column; gap: .75rem; }
.dbank { display: flex; align-items: center; gap: .75rem; }
.dbank__cover { width: 4.5rem; height: 3rem; border-radius: .375rem; overflow: hidden; background: #e6ebf2; flex-shrink: 0; }
.dbank__cover img { width: 100%; height: 100%; object-fit: cover; }
.dbank__info { flex: 1; min-width: 0; }
.dbank__title { font-size: .875rem; color: #1f2329; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dbank__tags { display: flex; gap: .5rem; margin-top: .375rem; }
.dtag { display: inline-block; padding: .125rem .375rem; border-radius: .25rem; background: #eaf3ff; color: #2b7fff; font-size: .6875rem; }
.detail-content { font-size: .875rem; line-height: 1.9; color: #444; overflow-x: hidden; }
.detail-content img { max-width: 100% !important; height: auto !important; border-radius: .5rem; }
.detail-content section { display: block; }
.detail-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eceef2; box-shadow: 0 -.125rem .5rem rgba(0,0,0,.05); }
.detail-footer__share { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 3rem; color: #6b7280; font-size: .6875rem; cursor: pointer; }
.df-share__icon { font-size: 1.25rem; line-height: 1; }
.detail-footer__service { flex: 1; padding: .625rem 0; border: 1px solid #2b7fff; border-radius: 1.25rem; text-align: center; color: #2b7fff; font-size: .875rem; font-weight: 500; cursor: pointer; }
.detail-footer__reg { flex: 1; padding: .75rem 0; border-radius: 1.25rem; text-align: center; background: #2b7fff; color: #fff; font-size: .875rem; font-weight: 600; cursor: pointer; }
.detail-footer__reg.is-disabled { background: #c8cdd4; }
.detail-empty { padding: 3rem; text-align: center; color: #8a9099; }
.svc-box { padding: 1rem 0; text-align: center; }
.svc-wechat { font-size: .9375rem; color: #1f2329; }
.svc-time { margin-top: .5rem; font-size: .8125rem; color: #8a9099; }
.svc-qr { margin: .75rem auto 0; width: 9rem; height: 9rem; object-fit: contain; }

@media (min-width: 769px) {
  .detail-page { max-width: 960px; margin: 0 auto; }
  .detail-banner { height: 18rem; border-radius: 12px; margin-top: 16px; }
  .detail-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px 0; }
  .detail-card { margin-bottom: 0; padding: 24px; }
  .detail-title { font-size: 26px; }
  .dmeta__k { flex-basis: 110px; font-size: 14px; }
  .dmeta__v { font-size: 14px; }
  .detail-footer { position: sticky; max-width: 960px; margin: 0 auto; bottom: 0; }
}

/* ---------- 加微信弹窗 ---------- */
.wx-card { width: 100%; margin-top: .875rem; padding: .875rem; background-color: #f5f8ff; border: 1px solid #dbe8ff; border-radius: .625rem; box-sizing: border-box; }
.wx-card__label { font-size: .75rem; color: #646a73; text-align: center; }
.wx-card__id { margin: .5rem 0 .25rem; display: flex; align-items: center; justify-content: center; gap: .625rem; }
.wx-card__id span#wx-id-text { font-size: 1.375rem; font-weight: 700; color: #2b7fff; letter-spacing: .0625rem; user-select: all; }
.wx-card__copy { padding: .25rem .625rem; border-radius: .9375rem; background-color: #2b7fff; color: #fff; font-size: .75rem; cursor: pointer; }
.wx-card .popup__qr { display: block; width: 10rem; margin: .625rem auto 0; background: #fff; padding: .25rem; box-sizing: border-box; }

/* ===== 答题系统 ===== */
.exam-page { min-height: 100vh; background: #f5f7fa; padding-bottom: 5rem; }
.exam-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 2.75rem; padding: 0 1rem; background: #fff; border-bottom: 1px solid #eef0f3; }
.exam-back { font-size: .875rem; color: #2b7fff; cursor: pointer; }
.exam-top__title { font-size: .9375rem; font-weight: 600; color: #1d2129; }
.exam-top__done { font-size: .8125rem; color: #86909c; }
.exam-hidden-tip { padding: .375rem 1rem; background: #fff7e8; color: #d46b08; font-size: .75rem; text-align: center; }
/* 模拟考试倒计时条 */
.exam-timer-bar { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .5rem 1rem; background: #fff7e8; color: #d46b08; font-size: .8125rem; }
.exam-timer-bar__label { color: #a85c00; }
.exam-timer-bar__time { font-size: 1rem; font-weight: 700; color: #d46b08; font-variant-numeric: tabular-nums; letter-spacing: .05rem; }
.exam-timer-bar__time.is-urgent { color: #ff4d4f; animation: exam-timer-blink 1s infinite; }
.exam-timer-bar__note { color: #b07a35; font-size: .75rem; }
/* 自由练习正计时条（绿色系，与倒计时区分） */
.exam-timer-bar--elapsed { background: #e8fff5; color: #00a870; }
.exam-timer-bar--elapsed .exam-timer-bar__label { color: #00875a; }
.exam-timer-bar--elapsed .exam-timer-bar__time { color: #00a870; }
.exam-timer-bar--elapsed .exam-timer-bar__note { color: #3a9e7e; }
@keyframes exam-timer-blink { 50% { opacity: .45; } }
.exam-intro { padding: 1.25rem 1rem; }
.exam-intro__cover { width: 4rem; height: 4rem; border-radius: 1rem; background: linear-gradient(135deg,#2b7fff,#7c5cff); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.exam-intro__icon { font-size: 1.75rem; color: #fff; font-weight: 700; }
.exam-intro__title { font-size: 1.125rem; font-weight: 600; color: #1d2129; text-align: center; margin: 0 0 .375rem; }
.exam-intro__meta { font-size: .8125rem; color: #86909c; text-align: center; margin-bottom: 1.5rem; }
.exam-intro__tip { font-size: .8125rem; color: #4e5969; margin-bottom: .75rem; padding-left: .25rem; }
.mode-card { width: 100%; display: flex; align-items: center; gap: .875rem; padding: 1rem; margin-bottom: .75rem; border: 1px solid #e5e8ef; border-radius: .75rem; background: #fff; text-align: left; cursor: pointer; }
.mode-card:active { background: #f7f9fc; }
.mode-card__icon { width: 2.75rem; height: 2.75rem; border-radius: .625rem; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex: none; }
.mode-card--timed .mode-card__icon { background: #e8f3ff; color: #2b7fff; }
.mode-card--daily .mode-card__icon { background: #fff3e8; color: #ff7d00; }
.mode-card--wrong .mode-card__icon { background: #ffece8; color: #ff4d4f; }
.mode-card--practice .mode-card__icon { background: #e8fff5; color: #00b578; }
/* 题库信息块：题数/价格/有效期/介绍 */
.bankinfo { margin: .5rem 0 1.25rem; }
.bankinfo__count { font-size: .75rem; color: #86909c; margin-bottom: .5rem; }
.bankinfo__row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .625rem .75rem; background: #fff7f7; border: 1px solid #ffe0e0; border-radius: .5rem; font-size: .75rem; }
.bankinfo__price { font-size: 1.0625rem; color: #ff4d4f; font-weight: 700; }
.bankinfo__valid { color: #d46b08; background: #fff3e0; border-radius: .25rem; padding: .1rem .4rem; }
.bankinfo__note { color: #86909c; }
.bankinfo__intro { margin-top: .75rem; padding: .75rem; background: #f7f9fc; border-radius: .5rem; text-align: left; }
.bankinfo__intro b { display: block; font-size: .8125rem; color: #1d2129; margin-bottom: .25rem; }
.bankinfo__intro p { margin: 0; font-size: .75rem; line-height: 1.7; color: #4e5969; }
.exam-intro__service { margin-top: 1rem; padding: .625rem .75rem; background: #f7f9fc; border-radius: .5rem; font-size: .6875rem; line-height: 1.6; color: #86909c; text-align: left; }
.popup-bankinfo { margin: .25rem 0 .75rem; }
.popup-bankinfo .bankinfo__intro { background: #f7f9fc; }
.mode-card__body { flex: 1; display: flex; flex-direction: column; gap: .25rem; }
.mode-card__body b { font-size: .9375rem; color: #1d2129; }
.mode-card__body small { font-size: .75rem; color: #86909c; line-height: 1.5; }
.mode-card__arrow { font-size: 1.25rem; color: #c9cdd4; }
.exam-quiz { padding: 1rem; }
.exam-quiz__type { display: inline-block; font-size: .75rem; color: #2b7fff; background: #e8f3ff; padding: .2rem .625rem; border-radius: 1rem; margin-bottom: .75rem; }
.exam-quiz__stem { font-size: 1rem; line-height: 1.7; color: #1d2129; font-weight: 500; margin-bottom: 1.25rem; }
.exam-opts { display: flex; flex-direction: column; gap: .625rem; }
.exam-opt { width: 100%; display: flex; align-items: flex-start; gap: .75rem; padding: .875rem 1rem; border: 1px solid #e5e8ef; border-radius: .625rem; background: #fff; text-align: left; cursor: pointer; }
.exam-opt.is-on { border-color: #2b7fff; background: #f0f7ff; }
.exam-opt__key { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #f2f3f5; color: #4e5969; display: flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 600; flex: none; }
.exam-opt.is-on .exam-opt__key { background: #2b7fff; color: #fff; }
.exam-opt__text { flex: 1; font-size: .9375rem; line-height: 1.6; color: #1d2129; }
.exam-opt__check { color: #2b7fff; font-weight: 700; }
.exam-feedback { margin-top: 1rem; padding: .875rem 1rem; border-radius: .625rem; font-size: .875rem; line-height: 1.7; }
.exam-feedback.is-right { background: #e8fff5; color: #0a8055; }
.exam-feedback.is-wrong { background: #fff0f0; color: #c92a2a; }
.exam-feedback__hd { font-weight: 600; margin-bottom: .25rem; }
.exam-feedback__ans b { font-weight: 700; }
.exam-feedback__ex { margin-top: .375rem; color: #4e5969; }
.exam-foot { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; gap: .5rem; padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eef0f3; }
.exam-foot__btn { flex: 1; padding: .625rem 0; border: 1px solid #e5e8ef; border-radius: .5rem; background: #fff; color: #4e5969; font-size: .8125rem; cursor: pointer; }
.exam-foot__btn:disabled { opacity: .45; cursor: not-allowed; }
.exam-foot__btn--primary { background: #2b7fff; border-color: #2b7fff; color: #fff; }
.exam-foot__btn--submit { background: #00b578; border-color: #00b578; color: #fff; font-weight: 600; }
.exam-card { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.4); display: flex; flex-direction: column; justify-content: flex-end; }
.exam-card__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem; background: #fff; border-radius: 1rem 1rem 0 0; }
.exam-card__head b { font-size: .9375rem; }
.exam-card__head span { font-size: .8125rem; color: #86909c; }
.exam-card__close { font-size: 1.25rem !important; cursor: pointer; }
.exam-card__grid { display: grid; grid-template-columns: repeat(5,1fr); gap: .625rem; padding: 1rem; background: #fff; }
.exam-card__num { padding: .625rem 0; border: 1px solid #e5e8ef; border-radius: .5rem; background: #fff; color: #4e5969; font-size: .875rem; cursor: pointer; }
.exam-card__num.is-done { background: #e8f3ff; color: #2b7fff; border-color: #2b7fff; }
.exam-card__num.is-cur { background: #2b7fff; color: #fff; border-color: #2b7fff; }
.exam-card .btn--block { margin: 0 1rem 1rem; }
.exam-card .btn--submit, .btn.btn--submit { background: #00b578; border-color: #00b578; color: #fff; }
.result-page { padding: 1rem; }
.result-hero { background: linear-gradient(135deg,#2b7fff,#7c5cff); border-radius: .75rem; padding: 1.75rem 1rem; text-align: center; color: #fff; }
.result-hero__score { font-size: 3rem; font-weight: 700; line-height: 1; }
.result-hero__score small { font-size: 1rem; margin-left: .25rem; }
.result-hero__sub { font-size: .8125rem; opacity: .9; margin-top: .625rem; }
.result-stats { display: flex; gap: .75rem; margin: .75rem 0 1.25rem; }
.result-stats > div { flex: 1; background: #fff; border-radius: .625rem; padding: .875rem; text-align: center; }
.result-stats b { display: block; font-size: 1.25rem; color: #1d2129; }
.result-stats span { font-size: .75rem; color: #86909c; }
.result-section-title { font-size: .9375rem; font-weight: 600; color: #1d2129; margin-bottom: .625rem; }
.result-wrongs { display: flex; flex-direction: column; gap: .625rem; }
.result-wrong { background: #fff; border-radius: .625rem; padding: .875rem; }
.result-wrong__q { font-size: .875rem; line-height: 1.6; color: #1d2129; margin-bottom: .5rem; }
.result-wrong__row { display: flex; gap: 1rem; font-size: .8125rem; color: #86909c; }
.result-wrong .is-wrong { color: #c92a2a; }
.result-wrong .is-right { color: #0a8055; }
.result-empty { text-align: center; padding: 2rem; color: #86909c; font-size: .875rem; }
.result-actions { display: flex; gap: .75rem; margin-top: 1.25rem; }
.result-actions .btn { flex: 1; }
.redeem { padding: 1rem; }
.redeem__hint { font-size: .8125rem; color: #4e5969; line-height: 1.6; margin-bottom: .875rem; }
.redeem__input { width: 100%; padding: .75rem; border: 1px solid #e5e8ef; border-radius: .5rem; font-size: .9375rem; box-sizing: border-box; letter-spacing: .0625rem; text-transform: uppercase; }
.redeem__my { font-size: .8125rem; color: #4e5969; margin: 1.25rem 0 .625rem; }
.redeem__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.redeem__tag { font-size: .75rem; color: #0a8055; background: #e8fff5; padding: .375rem .625rem; border-radius: 1rem; }
.redeem__none { font-size: .8125rem; color: #86909c; }
.redeem__foot { margin-top: 1.25rem; font-size: .8125rem; color: #86909c; text-align: center; }
.redeem__foot span { color: #2b7fff; cursor: pointer; }
/* 题库列表页顶部兑换引导横幅 */
.redeem-banner { display: flex; align-items: center; gap: .75rem; margin: .75rem; padding: .875rem 1rem; border-radius: .75rem; background: linear-gradient(135deg,#fff7e8,#fff1f0); border: 1px solid #ffe0b8; cursor: pointer; }
.redeem-banner:active { opacity: .8; }
.redeem-banner__icon { width: 2.5rem; height: 2.5rem; flex: none; border-radius: .625rem; background: #ff7d00; color: #fff; font-size: 1.125rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.redeem-banner__text { flex: 1; display: flex; flex-direction: column; gap: .125rem; }
.redeem-banner__text b { font-size: .9375rem; color: #a33a00; }
.redeem-banner__text small { font-size: .75rem; color: #b0662b; }
.redeem-banner__arrow { font-size: 1.5rem; color: #ff7d00; }
/* 客服弹窗内兑换引导 */
.popup__exchange { width: 100%; margin-top: .875rem; padding: .75rem .875rem; border-radius: .5rem; background: #fff7e8; display: flex; flex-direction: column; align-items: center; gap: .25rem; font-size: .8125rem; color: #86501e; }
.popup__exchange b { font-size: .875rem; color: #d26900; cursor: pointer; }
.popup__exchange b:active { opacity: .7; }
/* 答题首页兑换卡片 */
.mode-card--redeem .mode-card__icon { background: #fff3e8; color: #ff7d00; }
.rec-list { padding: .5rem 1rem 1rem; max-height: 60vh; overflow-y: auto; }
.rec-item { padding: .75rem 0; border-bottom: 1px solid #f2f3f5; }
.rec-item__hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.rec-item__hd b { font-size: .875rem; color: #1d2129; }
.rec-item__hd span { font-size: .75rem; color: #86909c; }
.rec-item__bd { display: flex; gap: 1rem; font-size: .8125rem; color: #4e5969; }
.rec-item__bd .is-primary { color: #2b7fff; }
.rec-item__bd .is-right { color: #0a8055; }
.rec-item__time { font-size: .75rem; color: #c9cdd4; margin-top: .375rem; }
.rec-item__q { font-size: .8125rem; line-height: 1.6; color: #1d2129; margin-bottom: .375rem; }
.rec-empty { text-align: center; padding: 2rem 1rem; color: #86909c; font-size: .875rem; }
@media (min-width: 769px) {
  .exam-page { max-width: 46rem; margin: 0 auto; padding-bottom: 5rem; }
  .exam-foot, .exam-top { left: 50%; transform: translateX(-50%); max-width: 46rem; }
  .exam-card { left: 50%; transform: translateX(-50%); max-width: 46rem; }
}

/* 网站底部 ICP 备案号（合规必须显示） */
.site-footer { padding: 14px 12px calc(74px + env(safe-area-inset-bottom)); text-align: center; background: #f5f6fa; }
.site-footer a { font-size: 12px; color: #9aa1ac; text-decoration: none; }
.site-footer a:hover { color: #6b7280; }
@media (min-width: 769px) {
  .site-footer { padding: 18px 12px 24px; background: transparent; }
  .site-footer a { font-size: 13px; }
}
