/* ============ 基础 ============ */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html {
  font-size: calc(min(100vw, 480px) / 7.5);
  -webkit-text-size-adjust: 100%;
  background-color: #fff;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; margin: 0; padding: 0; }
img { border: 0; display: block; }
button { font-family: inherit; }
:root {
  --green: #07c160;
  --green-dark: #06ad56;
  --text: #333;
  --text-2: #444;
  --text-3: #555;
  --text-4: #999;
  --grey-bg: #f5f5f5;
  --page-bg: #eee;
}

#app { max-width: 480px; margin: 0 auto; background: #fff; min-height: 100vh; }

/* 启动 loading */
.boot-loading {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background: #fff; z-index: 9999;
}
.boot-loading.hide { display: none; }
.spinner {
  width: 32px; height: 32px; border: 3px solid #e5e5e5; border-top-color: var(--green);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ 顶部导航 ============ */
.nav-bar {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: 46px; background: #fff; z-index: 100;
  display: flex; align-items: center; padding: 0 16px;
  border-bottom: 1px solid #ebedf0;
}
.nav-bar__left { display: flex; align-items: center; }
.nav-bar__left img { height: 24px; width: auto; border-radius: 2px; display: block; }
.nav-bar__title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 20px; font-weight: 500; color: #323233; white-space: nowrap; line-height: 22px;
}
.nav-bar__right { position: absolute; right: 16px; top: 0; height: 46px; display: flex; align-items: flex-end; }
.nav-btn { display: flex; flex-direction: column; align-items: center; cursor: pointer; min-width: 26px; margin-left: 8px; }
.nav-btn:first-child { margin-left: 0; }
.nav-btn svg { width: 18px; height: 18px; }
.nav-btn img { width: 18px; height: 18px; display: block; object-fit: contain; }
.nav-btn span { font-size: 13px; color: #000; line-height: 22px; white-space: nowrap; }

/* ============ 轮播 ============ */
.banner { position: relative; margin-top: 46px; overflow: hidden; background: #fff; aspect-ratio: 750 / 280; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.banner__track { display: flex; height: 100%; will-change: transform; }
.banner__item { flex: 0 0 100%; height: 100%; }
.banner__item img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.banner__dots {
  position: absolute; bottom: .12rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: .1rem;
}
.banner__dots i {
  width: .1rem; height: .1rem; border-radius: 50%; background: rgba(255,255,255,.55);
}
.banner__dots i.active { background: #fff; }

/* ============ 公告 ============ */
.notice-bar {
  height: .6rem; background: #fff; display: flex; align-items: center;
  padding: 0 .24rem; overflow: hidden;
}
.notice-bar .ico {
  flex: 0 0 auto; width: .26rem; height: .26rem; margin-right: .1rem;
  display: flex; align-items: center; justify-content: center;
}
.notice-bar .ico svg { width: 100%; height: 100%; fill: #ef5151; }
.notice-bar__wrap { flex: 1; height: .6rem; display: flex; align-items: center; overflow: hidden; }
.notice-bar__text {
  display: inline-block; white-space: nowrap; font-size: .24rem; color: #333;
  line-height: .6rem;
  animation: marquee 22s linear infinite;
}
.notice-bar:hover .notice-bar__text { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============ 彩种 tab ============ */
.block-lottery { background: #fff; }
.platform-list {
  overflow: hidden; padding: .1rem .16rem 0; background: var(--grey-bg);
  display: flex; justify-content: space-between; gap: .06rem;
}
.platform-list li { flex: 1; height: .86rem; cursor: pointer; }
.platform-list .item-body {
  height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; background: #fff; border-radius: .16rem .16rem 0 0;
  padding: .1rem 0; transition: background .2s;
}
.platform-list .item-body .title { font-size: .28rem; color: #333; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.platform-list .item-body .time { font-size: .2rem; color: #999; margin-top: .04rem; white-space: nowrap; }
.platform-list .item-body.act { background: var(--green); }
.platform-list .item-body.act .title { color: #fff; }
.platform-list .item-body.act .time { color: rgba(255,255,255,.85); }

/* ============ 开奖卡片 ============ */
.border-ws {
  background: #fff; border: 1px solid var(--green);
  border-radius: 0 0 .08rem .08rem; margin: 0 .16rem;
}
.border-box-body { padding: .2rem .2rem .1rem; }
.border-box-body-hd { font-size: min(.28rem, 3.9vw); color: #333; padding-bottom: .2rem; }
.border-box-body-hd .row {
  display: flex; align-items: center; justify-content: space-between; gap: 0;
}
.border-box-body-hd .row > div { white-space: nowrap; }
.border-box-body-hd .issue-num { color: var(--green); font-weight: 400; }
.border-box-body-hd .cd-box { color: #f00; }
.border-box-body-hd .countdown { font-weight: 400; font-size: .24rem; color: #f00; letter-spacing: .01em; }
.border-box-body-hd .history { color: var(--green); font-size: .26rem; cursor: pointer; padding: .14rem .12rem; margin: -.14rem -.12rem; -webkit-tap-highlight-color: transparent; }

.balls {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: .06rem 0; gap: .04rem;
}
/* 7 个球在小屏要能一起塞进卡片：等分压缩，不换行不溢出 */
.ball { display: flex; flex-direction: column; align-items: center; flex: 1 1 0; min-width: 0; max-width: .82rem; }
.ball__circle {
  width: 100%; max-width: .82rem; height: auto; aspect-ratio: 1 / 1; box-sizing: border-box;
  border-radius: 0; border: none;
  background: transparent center / 100% 100% no-repeat;
  display: flex; align-items: center; justify-content: center;
  font-size: min(.4rem, 4.7vw); font-weight: 700; color: #666; line-height: 1;
}
.ball__circle.red { background-image: url(/img/ball/red.png); }
.ball__circle.blue { background-image: url(/img/ball/blue.png); }
.ball__circle.green { background-image: url(/img/ball/green.png); }
.ball__text { font-size: min(.24rem, 3.2vw); color: #333; margin-top: .02rem; white-space: nowrap; background: #fff; border-radius: .06rem; padding: 0 .02rem; }
.ball__text span { color: #333; }
.ball__circle.pending {
  background: #f7f7f7; border: 1px dashed #d8d8d8; color: #c8c8c8;
  font-weight: 400; border-radius: 50%; box-sizing: border-box;
}
.ball--pending .ball__text { visibility: hidden; }
.balls .plus { flex: 0 0 auto; font-size: min(.34rem, 3.4vw); color: #999; font-weight: 700; padding: 0 .02rem; margin-top: min(.4rem, 5vw); }
.border-box-body-ft {
  text-align: center; font-size: .24rem; color: #e71607; padding: .1rem 0;
}

/* ============ 站点导航 ============ */
.website-body { background: #fff; padding: 0 .12rem .12rem; overflow: hidden; }
.website-item { float: left; width: 25%; text-align: center; padding: .2rem 0 .1rem; }
.website-item > div { padding: 0 .1rem; }
.website-item p {
  background: #f8f8f8; color: #444; font-size: .28rem; height: .6rem; line-height: .6rem;
  border-radius: .08rem; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  transition: background .15s;
}
.website-item p:active { background: #ececec; }

/* ============ 分类图标 ============ */
.category-tr { padding: 0 0 .1rem; background: var(--page-bg); border-top: .1rem solid var(--page-bg); }
.category-icon { display: flex; flex-wrap: wrap; padding: .4rem 0 .2rem; background: #fff; }
.category-icon .col { width: 20%; }
.icon-text { display: flex; flex-direction: column; align-items: center; padding: 0; cursor: pointer; }
.icon-bg {
  width: 1.03rem; height: 1.03rem; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.icon-bg img { width: 100%; height: 100%; object-fit: contain; }
.icon-text .text { font-size: .28rem; color: #555; line-height: 1.15; padding: .2rem 0; text-align: center; }

/* ============ 图库系列 ============ */
.block-series { background: #fff; padding: .06rem 0 .14rem; border-top: .14rem solid var(--page-bg); }
.block-series__hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: .14rem .24rem .1rem; font-size: .3rem; font-weight: 700; color: #333;
}
.block-series__hd .more { font-size: .24rem; font-weight: 400; color: #999; cursor: pointer; }
.series-scroll { display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 .12rem; }
.series-scroll::-webkit-scrollbar { display: none; }
.series-card {
  flex: 0 0 auto; width: 1.5rem; margin-right: .16rem; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
}
.series-card img, .series-card .ph {
  width: 1.16rem; height: 1.16rem; border-radius: .2rem; object-fit: contain;
  background: #f2f4f7; border: 1px solid #eee;
}
.series-card .ph {
  display: flex; align-items: center; justify-content: center;
  font-size: .5rem; color: #9bb0c9; font-weight: 700;
}
.series-name {
  font-size: .26rem; color: #333; padding-top: .12rem; max-width: 1.5rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
}
.series-count { font-size: .22rem; color: #aaa; padding-top: .04rem; }

/* ============ 年份 tab + 瀑布流 ============ */
.body-image { background: #fff; padding-bottom: .2rem; }
.body-image-hd { background: #fff; padding: .1rem 0 .06rem; }
.year-tabs { display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 .08rem; }
.year-tabs::-webkit-scrollbar { display: none; }
.year-tab { flex: 0 0 auto; padding: .04rem .16rem .12rem; }
.year-tab .icon-bg {
  width: .86rem; height: .86rem; margin: 0 auto; background: #20d497;
  display: flex; align-items: center; justify-content: center;
}
.year-tab .icon-bg.gray { background: #d8d8d8; }
.year-tab .icon-bg svg { width: .44rem; height: .44rem; fill: #fff; }
.year-tab__text { font-size: .28rem; color: #555; text-align: center; padding-top: .16rem; white-space: nowrap; }
.year-tab.active .year-tab__text { color: var(--green); font-weight: 700; }
.year-tab.active .icon-bg { background: var(--green); }

.waterfall { padding: .1rem .12rem 0; column-count: 2; column-gap: .12rem; }
.image-item {
  break-inside: avoid; margin-bottom: .2rem; border-radius: 4px;
  box-shadow: 0 .02rem .08rem 0 hsla(0,0%,62.7%,.5); border-top: 1px solid #bbb;
  overflow: hidden; background: #fff; cursor: pointer;
}
.image-item-image { width: 100%; background: #f2f2f2; position: relative; min-height: 1.2rem; }
.image-item-image img { width: 100%; display: block; }
.image-item-title {
  padding: .2rem 0; font-size: .28rem; text-align: center; color: #333;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.list-end { text-align: center; color: #999; font-size: .24rem; padding: .3rem 0 .1rem; }
.list-loading { text-align: center; color: #999; font-size: .24rem; padding: .2rem 0; }

/* ============ 底部导航 ============ */
.layout-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 100;
  background: #fff; box-shadow: 0 -.02rem .08rem 0 hsla(0,0%,62.7%,.35);
  border-top: 1px solid #ebedf0;
}
.tabbar { display: flex; height: .94rem; align-items: flex-end; }
.tabbar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; color: #7d7e80; font-size: .22rem; cursor: pointer; padding-bottom: .06rem;
}
.tabbar-item svg { width: .46rem; height: .46rem; fill: #9aa0a6; margin-bottom: .02rem; }
.tabbar-item.active { color: var(--green); }
.tabbar-item.active svg { fill: var(--green); }
.tabbar-item.mid { position: relative; }
.tabbar-item.mid .mid-icon {
  width: .78rem; height: .78rem; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-top: -.38rem; box-shadow: 0 .04rem .12rem rgba(7,193,96,.4);
}
.tabbar-item.mid .mid-icon svg { width: .44rem; height: .44rem; fill: #fff; margin: 0; }
.tabbar-item.mid span { margin-top: .04rem; }

/* ============ 弹窗通知 ============ */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
}
.tan-pop {
  width: 80%; max-width: 380px; background: #fff; border-radius: .16rem;
  overflow: hidden; animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.t-myheader {
  height: .96rem; line-height: .96rem; text-align: center; color: #fff;
  font-size: .32rem; background: var(--green); font-weight: 500;
}
.tan-body { padding: .2rem; max-height: 55vh; overflow-y: auto; }
.tan-body img { width: 100%; border-radius: .08rem; margin-bottom: .16rem; }
.tan-body .t-content { font-size: .28rem; color: #333; line-height: 1.7; white-space: pre-line; text-align: center; }
.t-footer { display: flex; border-top: 1px solid #ebedf0; }
.t-footer span {
  flex: 1; text-align: center; padding: .28rem 0; font-size: .3rem; cursor: pointer; color: #666;
}
.t-footer span.bindSee { color: var(--green); border-left: 1px solid #ebedf0; }
.tan-dots { display: flex; justify-content: center; gap: .1rem; padding-bottom: .16rem; }
.tan-dots i { width: .1rem; height: .1rem; border-radius: 50%; background: #ddd; }
.tan-dots i.active { background: var(--green); }

/* ============ 通用页面 ============ */
.page { padding-top: 46px; padding-bottom: 1.1rem; background: #fff; min-height: 100vh; }
.page-title {
  height: .88rem; display: flex; align-items: center; justify-content: center;
  font-size: .34rem; font-weight: 500; border-bottom: 1px solid #f2f2f2; background: #fff;
  position: relative;
}
.page-title .back {
  position: absolute; left: .24rem; font-size: .3rem; color: #333; cursor: pointer;
  display: flex; align-items: center; gap: .06rem;
}
.page-title .back svg { width: .32rem; height: .32rem; fill: #333; }
.empty { text-align: center; padding: 1.2rem 0; color: #999; font-size: .28rem; }
.empty svg { width: 1.6rem; height: 1.6rem; fill: #ddd; margin: 0 auto .2rem; }

/* 搜索 */
.search-bar { display: flex; gap: .16rem; padding: .2rem .24rem; background: #fff; }
.search-bar input {
  flex: 1; height: .76rem; border-radius: .38rem; border: none; background: #f5f5f5;
  padding: 0 .3rem; font-size: .28rem; outline: none;
}
.search-bar button {
  height: .76rem; padding: 0 .3rem; border: none; border-radius: .38rem;
  background: var(--green); color: #fff; font-size: .28rem; cursor: pointer;
}

/* 详情 */
.detail-wrap { padding: .2rem; background: #f5f5f5; }
.detail-wrap img { width: 100%; border-radius: .08rem; background: #fff; }
.detail-title { font-size: .32rem; color: #333; text-align: center; padding: .24rem 0; }
.detail-meta { display: flex; justify-content: center; gap: .3rem; color: #999; font-size: .24rem; padding-bottom: .24rem; }
.detail-actions {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; display: flex; background: #fff;
  border-top: 1px solid #ebedf0; z-index: 50;
}
.detail-actions div {
  flex: 1; text-align: center; padding: .26rem 0; font-size: .3rem; cursor: pointer; color: #333;
}
.detail-actions div.primary { background: var(--green); color: #fff; }
.detail-actions div:disabled { color: #ccc; }

/* 我的 */
.mine-header {
  background: linear-gradient(135deg, #07c160, #05a552); padding: .5rem .32rem .6rem;
  color: #fff; display: flex; align-items: center; gap: .24rem;
}
.mine-avatar { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: rgba(255,255,255,.3); overflow: hidden; }
.mine-avatar img { width: 100%; height: 100%; }
.mine-name { font-size: .34rem; font-weight: 500; }
.mine-sub { font-size: .24rem; opacity: .85; margin-top: .06rem; }
.mine-list { background: #fff; }
.mine-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .3rem .32rem; border-bottom: 1px solid #f5f5f5; font-size: .3rem; color: #333;
  cursor: pointer;
}
.mine-row .arrow { color: #c8c9cc; }
.mine-stats { display: flex; background: #fff; padding: .3rem 0; margin-top: -0.3rem;
  border-radius: .16rem .16rem 0 0; }
.mine-stats div { flex: 1; text-align: center; }
.mine-stats b { display: block; font-size: .4rem; color: var(--green); }
.mine-stats span { font-size: .24rem; color: #999; }

/* ================= 发现 ================= */
.find-tabs { display: flex; background: #fff; border-bottom: 1px solid #f0f0f0; }
.find-tab { flex: 1; text-align: center; padding: .22rem 0; font-size: .3rem; color: #333; position: relative; }
.find-tab.active { color: var(--green, #07c160); font-weight: 700; }
.find-tab.active::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: .08rem; width: .5rem; height: .06rem; border-radius: .03rem; background: var(--green, #07c160); }
.find-search { display: flex; gap: .16rem; padding: .2rem .24rem; background: #fff; }
.find-search input { flex: 1; height: .68rem; border: 1px solid #e5e5e5; border-radius: .34rem; padding: 0 .3rem; font-size: .26rem; outline: none; }
.find-search button { width: 1.2rem; height: .68rem; border: none; border-radius: .34rem; background: var(--green, #07c160); color: #fff; font-size: .26rem; }
.find-period { background: #fff; padding: .12rem .24rem .2rem; font-size: .24rem; }
.find-period-row { margin-bottom: .1rem; display: flex; flex-wrap: wrap; gap: .12rem; align-items: center; }
.find-period-year { color: #888; }
.find-period-item { padding: .04rem .18rem; border: 1px solid #e5e5e5; border-radius: .24rem; color: #555; }
.find-period-item.active { border-color: var(--green, #07c160); color: var(--green, #07c160); }
.find-waterfall { column-count: 2; column-gap: .16rem; padding: .16rem .24rem; }
.find-card { break-inside: avoid; margin-bottom: .16rem; background: #fff; border-radius: .12rem; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.find-card__img img { display: block; width: 100%; min-height: 1rem; background: #f6f6f6; }
.find-card__title { font-size: .26rem; padding: .12rem .16rem 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.find-card__ft { display: flex; align-items: center; gap: .1rem; padding: .1rem .16rem .16rem; }
.find-card__avatar { width: .4rem; height: .4rem; border-radius: 50%; object-fit: cover; }
.find-card__name { flex: 1; font-size: .22rem; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.find-card__like { font-size: .22rem; color: #999; }
.find-more { text-align: center; padding: .24rem 0 .4rem; color: #999; font-size: .24rem; }

/* 发现详情 */
.fd-wrap { padding: .24rem; }
.fd-title { font-size: .34rem; font-weight: 700; line-height: 1.4; }
.fd-meta { display: flex; align-items: center; gap: .14rem; margin: .18rem 0; }
.fd-meta img { width: .56rem; height: .56rem; border-radius: 50%; object-fit: cover; }
.fd-name { font-size: .26rem; font-weight: 600; }
.fd-sub { font-size: .22rem; color: #999; }
.fd-img img { width: 100%; border-radius: .12rem; display: block; background: #f6f6f6; min-height: 1rem; }
.fd-actions { display: flex; gap: .5rem; padding: .22rem 0; font-size: .26rem; color: #555; }
.fd-cm-hd { font-size: .28rem; font-weight: 700; padding: .16rem 0; border-top: 1px solid #f0f0f0; }
.fd-cm { display: flex; gap: .16rem; padding: .16rem 0; border-bottom: 1px solid #f7f7f7; }
.fd-cm__avatar { width: .56rem; height: .56rem; border-radius: 50%; object-fit: cover; flex: none; }
.fd-cm__name { font-size: .24rem; color: #2b85e4; }
.fd-cm__txt { font-size: .26rem; margin: .06rem 0; line-height: 1.5; word-break: break-all; }
.fd-cm__ft { display: flex; gap: .3rem; font-size: .2rem; color: #999; }

/* ================= 淘料市场 ================= */
.mk-notice { display: flex; align-items: center; gap: .12rem; background: #fff; padding: .18rem .24rem; color: #e23a3a; font-size: .24rem; }
.mk-notice svg { width: .32rem; height: .32rem; flex: none; }
.mk-notice-txt { flex: 1; overflow: hidden; white-space: nowrap; }
.mk-notice-txt span { display: inline-block; padding-left: 100%; animation: mkmarquee 18s linear infinite; }
@keyframes mkmarquee { to { transform: translateX(-100%); } }
.mk-tips { margin: .16rem .24rem; padding: .2rem .24rem; background: #eefaf3; border: 1px solid #bfe9d2; border-radius: .12rem; font-size: .24rem; color: #444; line-height: 1.6; }
.mk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .12rem; padding: .1rem .24rem .2rem; }
.mk-stat { background: #fff; border-radius: .12rem; padding: .2rem .08rem; text-align: center; }
.mk-stat-ico { width: .82rem; height: .82rem; margin: 0 auto .1rem; display: block; object-fit: contain; }
.mk-stat-name { font-size: .24rem; font-weight: 600; }
.mk-stat-sub { font-size: .18rem; color: #999; margin: .04rem 0; }
.mk-stat-num { font-size: .3rem; font-weight: 700; color: #e23a3a; }
.mk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .16rem; padding: .1rem .24rem .2rem; }
.mk-btn { display: flex; align-items: center; gap: .14rem; background: linear-gradient(135deg, #2fd08c, #0aab68); border-radius: .16rem; padding: .18rem .16rem; color: #fff; }
.mk-btn-ico { width: .72rem; height: .72rem; object-fit: contain; flex: none; }
.mk-btn-tx { flex: 1; min-width: 0; }
.mk-btn b { display: block; font-size: .3rem; }
.mk-btn span { font-size: .22rem; opacity: .9; border: 1px solid rgba(255,255,255,.7); border-radius: .24rem; padding: .02rem .16rem; display: inline-block; margin-top: .08rem; }
.mk-menu { background: #fff; border-radius: .12rem; margin: .1rem .24rem .3rem; overflow: hidden; }
.mk-menu-item { display: flex; justify-content: space-between; align-items: center; padding: .24rem .3rem; font-size: .28rem; border-bottom: 1px solid #f5f5f5; }
.mk-menu-l { display: flex; align-items: center; gap: .2rem; }
.mk-menu-ico { width: .46rem; height: .46rem; object-fit: contain; }
.mk-menu-item:last-child { border-bottom: none; }
.mk-menu-item .arrow { color: #ccc; }

/* ================= 寻宝 ================= */
.tb-top { display: flex; justify-content: center; gap: .6rem; padding: .18rem 0 .06rem; background: var(--green, #07c160); }
.tb-top-tab { color: rgba(255,255,255,.75); font-size: .3rem; padding: .06rem 0 .12rem; position: relative; }
.tb-top-tab.active { color: #fff; font-weight: 700; }
.tb-top-tab.active::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: .6rem; height: .06rem; border-radius: .03rem; background: #fff; }
.tb-lt { display: flex; gap: .1rem; padding: .16rem .24rem; background: #fff; overflow-x: auto; }
.tb-lt-item { flex: none; font-size: .26rem; color: #555; padding: .08rem .22rem; border-radius: .28rem; background: #f5f5f5; }
.tb-lt-item.active { background: var(--green, #07c160); color: #fff; }
.tb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .16rem; padding: .2rem .24rem .4rem; }
.tb-item { background: #fff; border-radius: .12rem; padding: .16rem .1rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.tb-item img { width: 1.2rem; height: 1.2rem; object-fit: contain; border-radius: .1rem; display: block; margin: 0 auto .1rem; background: #f7f7f7; }
.tb-item span { font-size: .22rem; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

/* ================= 我的 ================= */
.mine-hero { display: flex; align-items: center; gap: .3rem; padding: .4rem .3rem; background: linear-gradient(160deg, #2fd08c, #0aa860); }
.mine-hero__logo { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; padding: .08rem; flex: none; }
.mine-hero__logo img { width: 100%; height: 100%; object-fit: contain; }
.mine-hero__btn { border: 2px solid #fff; background: transparent; color: #fff; font-size: .3rem; font-weight: 700; border-radius: .4rem; padding: .14rem .36rem; }
.mine-vip { display: flex; align-items: center; justify-content: space-between; margin: .2rem .24rem; padding: .2rem .28rem; border-radius: .16rem; background: linear-gradient(120deg, #f5d76e, #d9a441); color: #5c3d00; }
.mine-vip__l { display: flex; align-items: center; gap: .2rem; }
.mine-vip__logo { width: .8rem; height: .8rem; border-radius: 50%; object-fit: contain; background: #fff; flex: none; }
.mine-vip b { display: block; font-size: .3rem; }
.mine-vip span { font-size: .22rem; opacity: .8; }
.mine-vip__btn { background: #7a4f00; color: #ffe9b0; font-size: .24rem; border-radius: .3rem; padding: .1rem .28rem; }
.mine-sec { font-size: .3rem; font-weight: 700; padding: .24rem .3rem .12rem; }
.mine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .2rem 0; background: #fff; padding: .2rem 0 .3rem; }
.mine-cell { text-align: center; font-size: .22rem; color: #444; }
.mine-cell__ico { width: .74rem; height: .74rem; margin: 0 auto .1rem; }
.mine-cell__ico img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mine-rank { background: #fff; margin: 0 .24rem .4rem; border-radius: .12rem; overflow: hidden; }
.mine-rank-row { display: flex; align-items: center; gap: .16rem; padding: .18rem .24rem; border-bottom: 1px solid #f5f5f5; }
.mine-rank-row:last-child { border-bottom: none; }
.mine-rank-no { width: .36rem; height: .36rem; border-radius: 50%; background: #eee; color: #888; font-size: .22rem; display: flex; align-items: center; justify-content: center; flex: none; }
.mine-rank-no.top1 { background: #f5a623; color: #fff; }
.mine-rank-no.top2 { background: #b0b7bf; color: #fff; }
.mine-rank-no.top3 { background: #d08a4e; color: #fff; }
.mine-rank-row img { width: .52rem; height: .52rem; border-radius: 50%; object-fit: cover; }
.mine-rank-name { flex: 1; font-size: .26rem; }
.mine-rank-v { font-size: .24rem; color: #e23a3a; }

/* ============ 图片全屏预览（对齐原站 van-image-preview） ============ */
.img-preview {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 0, 0, .7);
  display: flex; align-items: center; justify-content: center;
}
.img-preview__stage {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.img-preview__stage img { width: 100%; height: 100%; object-fit: contain; }
.img-preview__index {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; line-height: 1.2;
}
.img-preview__close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 0, 0, .5); color: #fff;
  font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2008;
}
.img-preview__hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; background: rgba(0, 0, 0, .5);
  padding: 8px 16px; border-radius: 20px; white-space: nowrap;
}
body.preview-open { overflow: hidden; }

/* ============ 寻宝（对齐原站 website-wrap） ============ */
.treasure-page { background: #f8f8f8; padding: 0 0 1rem; }
.website-wrap { min-height: calc(100vh - 1rem); background: #f8f8f8; padding-bottom: .2rem; }
.website-wrap .navcol {
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; font-size: .32rem; line-height: .5rem;
  padding-top: .52rem; padding-bottom: .2rem;
}
.website-wrap .navcol > div { width: 26%; text-align: center; cursor: pointer; }
.website-wrap .navcol .selected { position: relative; font-size: .4rem; font-weight: 700; }
.website-wrap .navcol .selected::after {
  content: ""; position: absolute; bottom: -.16rem; left: 0; right: 0; margin: auto;
  width: .4rem; height: .08rem; border-radius: .08rem; background: #fff;
}
.website-wrap .search-hd { display: flex; align-items: center; gap: .24rem; background: #fff; padding: .12rem .24rem; }
.website-wrap .sh-inner {
  flex: 1; display: flex; align-items: center; gap: .12rem;
  height: .72rem; border-radius: .36rem; background: #fff;
  border: 1px solid #e6e6e6; padding: 0 .24rem; min-width: 0;
}
.website-wrap .sh-inner svg { flex: 0 0 auto; width: .3rem; height: .3rem; }
.website-wrap .sh-inner input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: .28rem; color: #333; -webkit-appearance: none;
}
.website-wrap .sh-btn { color: var(--green); font-weight: 700; font-size: .32rem; cursor: pointer; }
.website-wrap .wz-lt {
  min-height: .94rem; margin-bottom: .2rem; background: #fff;
  display: flex; align-items: flex-start; justify-content: space-around;
  padding: .3rem .24rem .2rem;
}
.website-wrap .wz-lt li { margin-right: .2rem; }
.website-wrap .wz-lt li:last-child { margin-right: 0; }
.website-wrap .wz-lt .item-body { font-size: .36rem; font-weight: 700; color: #333; cursor: pointer; }
.website-wrap .wz-lt .act { position: relative; color: var(--green); }
.website-wrap .wz-lt .act::after {
  content: ""; position: absolute; bottom: -.16rem; left: 0; right: 0; margin: auto;
  width: .4rem; height: .08rem; border-radius: .08rem; background: var(--green);
}
.website-wrap .website-body { background: #fff; padding: 0 .12rem; }
.website-wrap .website-body .website-item { float: left; width: 25%; text-align: center; padding: .2rem 0; cursor: pointer; }
.website-wrap .website-body .website-item > div { padding: 0 .1rem; }
.website-wrap .website-body .website-item img { width: 90%; height: .8rem; border-radius: .08rem; display: block; margin: 0 auto; object-fit: contain; }
.website-wrap .website-body .website-item p {
  color: #444; font-size: .32rem; line-height: .44rem; margin: .08rem 0 0;
  background: transparent; height: auto; border-radius: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.website-wrap .dbptdiv { display: flex; flex-direction: column; width: 6.9rem; max-width: 92%; margin: 0 auto; }
.website-wrap .dbptdiv .item {
  width: 100%; border-radius: .16rem; margin: .3rem 0; overflow: hidden;
  box-shadow: 0 .08rem .08rem rgba(0, 0, 0, .05); background: #fff; cursor: pointer;
}
.website-wrap .dbptdiv .item .imgs { width: 100%; height: 1.64rem; background: #f2f2f2; }
.website-wrap .dbptdiv .item .imgs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.website-wrap .dbptdiv .item .descs { display: flex; align-items: center; padding: 0 .2rem; height: .88rem; }
.website-wrap .dbptdiv .item .descs1 { flex: 1; font-weight: 700; font-size: .32rem; color: #444; }
.website-wrap .dbptdiv .item .jumpurl {
  width: 1.6rem; height: .48rem; border: 1px solid var(--green); color: var(--green);
  border-radius: 2rem; display: flex; align-items: center; justify-content: center; font-size: .28rem;
}
