/* ================= 基础 ================= */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: clamp(13.65px, 4.2667vw, 20.48px); touch-action: manipulation; }
body {
  background: #ededed; color: #333;
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
#app { max-width: 30rem; min-width: 20rem; margin: 0 auto; min-height: 100vh; background: #ededed; position: relative; color: #333; }
ul, ol, li { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; border: none; background: none; cursor: pointer; }
input, select, textarea { font: inherit; outline: none; }
[data-act], [data-period], [data-aspect], [data-tip], [data-tab], [data-cat], [data-week], [data-month], [data-g] { cursor: pointer; }

/* ================= 底部导航 ================= */
.tab-bar-list {
  position: fixed; bottom: 0; left: 50%; transform: translate(-50%); background: #fff;
  width: 100%; max-width: 30rem; z-index: 9; display: flex; justify-content: space-between; align-items: center;
  padding: 0 1.875rem; border-top: 1px solid #eee; height: 3.75rem; border-radius: 1.5625rem 1.5625rem 0 0;
}
.tab-bar-item { display: flex; flex-direction: column; align-items: center; padding: 0 .625rem; }
.tab-bar-item img { height: 1.5313rem; width: auto; margin-bottom: 5px; }
.tab-bar-item span { font-size: .75rem; color: #333; }

/* ================= 首页 ================= */
.shopsite-page { background: #ededed; padding: .75rem 0 7.5rem; min-height: 100vh; }

.banner-carousel { overflow: hidden; margin-bottom: .8125rem; min-height: 8.2813rem; position: relative; touch-action: pan-y; }
.bc-track { display: flex; will-change: transform; }
.bc-slide { flex: 0 0 100%; }
.banner-carousel-item { margin: 0 auto; display: flex; justify-content: center; }
.banner-carousel-item img { display: block; border-radius: .625rem; width: 90%; aspect-ratio: 674 / 264; object-fit: cover; transition: transform .35s, opacity .35s; -webkit-user-drag: none; user-select: none; }
.banner-carousel .item-sm img { transform: scale(.85); opacity: .5; }
.bc-dots { position: absolute; left: 0; right: 0; bottom: .55rem; display: flex; justify-content: center; }
.adm-page-indicator-dot { width: .4375rem; height: .4375rem; border-radius: 50%; margin-right: .3125rem; background-color: #ccc; transition: background-color .3s; }
.adm-page-indicator-dot-active { background-color: #ffe55d; }

.entry { margin-bottom: .625rem; }
.entry-list { display: flex; justify-content: space-between; width: 92%; margin: 0 auto; }
.entry-list-item { width: 31%; height: 6.6875rem; background: #fff; border-radius: .625rem; padding: 0 .625rem; text-align: center; display: block; }
.entry-list-item > img { width: 3.125rem; margin: .5625rem auto .4375rem; }
.entry-list-item .svga-dom0 { margin: .5625rem auto .4375rem; height: 3.125rem; width: 3.125rem; }
.entry-list-item .svga-dom1 { margin: .3125rem auto 2px; height: 3.75rem; width: 3.75rem; }
.entry-list-item [class^=svga-dom] { overflow: hidden; position: relative; }
.entry-list-item [class^=svga-dom] canvas { display: block; }
.entry-list-item [class^=svga-dom] svg { height: 100%; width: auto; display: block; margin: 0 auto; }
.entry-list-item .info p:first-child { font-size: .75rem; color: #666; margin-bottom: .3125rem; }
.entry-list-item .info p:last-child { font-size: .9375rem; font-weight: 700; color: #333; }
.circle-progress { position: relative; width: 3.125rem; height: 3.125rem; margin: .5rem auto .375rem; }
.circle-progress svg { display: block; }
.circle-progress-value { position: absolute; inset: 0; font-size: 1.1875rem; font-weight: 700; color: #e6b476; text-align: center; line-height: 3.125rem; }
.art-peach .swing { transform-origin: 50px 8px; animation: swing 2.4s ease-in-out infinite; }
.art-hourglass .tilt { transform-origin: 50px 51px; animation: tilt 3s ease-in-out infinite; }
.art-hourglass .sand-flow { stroke-dasharray: 3 3; animation: flow .6s linear infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes tilt { 0%, 70%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } }
@keyframes flow { to { stroke-dashoffset: -6; } }

.hot-box { margin: .625rem .4688rem; background: #fff; border-radius: .625rem; padding: 1.25rem .9375rem .9375rem; font-weight: 700; color: #333; }
.hot-box-title { font-size: .9375rem; margin-bottom: 1.0625rem; }
.hot-box-content { display: flex; justify-content: space-around; }
.hot-box-content-item { display: block; }
.hot-box-content-item img { width: 4.25rem; height: 4.25rem; margin-bottom: .5625rem; border-radius: .625rem; }
.hot-box-content-item p { width: 4.25rem; font-size: .8125rem; text-align: center; line-height: 1.15; }

.festival { margin: 0 .625rem .625rem; border-radius: .625rem; background: linear-gradient(to bottom, #d74e33, #ffb9a3); padding-bottom: .375rem; overflow: hidden; }
.festival img { pointer-events: none; width: 100%; }
.festival-header { position: relative; }
.festival-countdown { height: 1.125rem; background: #ff8a00; border-radius: .5625rem; width: 8.75rem; text-align: center; line-height: 1.125rem; font-size: .75rem; color: #fff; position: absolute; left: .75rem; bottom: .625rem; }
.festival-countdown span { color: #ffec78; }
.festival-body { background: no-repeat center / 100% 100%; margin: 0 .4688rem; position: relative; padding: 2.75rem 0 .875rem; text-align: center; }
.festival-body .festival-title { width: 13.9063rem; height: 2.7188rem; position: absolute; top: -.3125rem; left: 50%; transform: translate(-50%); }
.festival-list { display: flex; margin-bottom: .75rem; }
.festival-item { width: 25%; }
.festival-item a { display: flex; flex-direction: column; align-items: center; }
.festival-item-info { position: relative; margin-bottom: .625rem; }
.festival-item-icon { width: 3.9063rem; height: 3.9063rem; border-radius: .625rem; }
.festival-item-title { width: 4.6875rem; color: #333; font-size: .875rem; line-height: 1.125rem; }
.festival-more { font-size: .8125rem; color: #e2423d; text-align: center; text-decoration: underline; display: block; }

.shopsite-goods-wrap { padding: 0 .375rem .625rem; font-size: .875rem; }
.goods-collection { background: #fff; border-radius: .625rem; padding: .625rem .5rem; position: relative; }
.type-tab { display: flex; justify-content: center; position: sticky; top: 0; z-index: 3; background: #fff; margin: -.625rem -.5rem 1.2188rem; padding: .625rem 0 .9375rem; border-radius: .625rem .625rem 0 0; }
.type-tab.stuck { border-radius: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .05); }
.type-tab .tab-item { font-size: 1.3125rem; color: #333; font-weight: 700; position: relative; }
.type-tab .tab-item:first-child { margin-right: 1.6875rem; }
.type-tab .active { color: #e4ab64; }
.type-tab .active:after { content: ""; width: 1.625rem; height: 4px; background: #e4ab64; border-radius: 2px; position: absolute; bottom: -.625rem; left: 50%; transform: translate(-50%); }
.more-goods { position: absolute; top: 1.2rem; right: 1.125rem; color: #ff4200; font-size: .875rem; z-index: 4; }
.goods-item { display: block; background-color: #fff; box-shadow: 0 1px .7188rem .1875rem #cbb06e6b; border-radius: .625rem; padding-bottom: .875rem; margin-bottom: .9375rem; }
.goods-item-banner { border-radius: .625rem .625rem 0 0; width: 100%; aspect-ratio: 674 / 264; object-fit: cover; }
.goods-item-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: .75rem; }
.goods-item-content { padding-left: .5625rem; min-width: 0; }
.goods-item-content .title { font-size: 1.125rem; color: #333; padding-bottom: .5625rem; }
.goods-item-content .info { font-size: .8125rem; color: #7e7e7e; padding-bottom: .5625rem; line-height: 1.45; }
.goods-item-content .number { display: flex; color: #a9a9a9; font-size: .75rem; }
.goods-item-content .number li { display: flex; align-items: center; white-space: nowrap; }
.goods-item-content .number li:first-child { padding-right: .9375rem; }
.goods-item-content .number img { width: .9063rem; height: .9063rem; margin-right: .5rem; flex-shrink: 0; }
.goods-item-btn { flex-shrink: 0; width: 5.3125rem; height: 2rem; background: linear-gradient(31deg, #ff4200, #ff6c2b); box-shadow: 1px .4375rem .4063rem #ff460547; border-radius: 1.0313rem; font-size: .875rem; color: #fff; font-weight: 700; line-height: 2rem; text-align: center; margin-right: .3125rem; }
.load-more { color: #999; font-size: .75rem; text-align: center; }

/* 红包弹窗 */
.pop-discount-mask { position: fixed; inset: 0; z-index: 10; background: #00000080; }
.pop-discount-wrap { position: fixed; inset: 0; z-index: 11; display: flex; justify-content: center; align-items: center; }
.pop-discount-main { background: url(/assets/08261026fe1ba8dd9d1a-pop_bg.c64d33fd.png) no-repeat; background-size: 100% 100%; width: 17.9688rem; height: 22.5938rem; animation: scaleAnimate .2s linear; overflow: hidden; }
.pop-discount-main .unreceive-title { width: 10.8438rem; height: 3.1875rem; display: block; margin: .75rem auto; }
.pop-discount-main .unreceive-amount { font-size: 2.0313rem; color: #ff1335; font-weight: 700; text-align: center; margin-bottom: .75rem; }
.pop-discount-main .unreceive-condition { width: 11.25rem; height: 1.75rem; text-align: center; line-height: 1.75rem; color: #b44d00; font-size: 1rem; border-radius: .875rem; border: solid 1px #b44d00; margin: 0 auto 5rem; }
.pop-discount-countdown { display: flex; justify-content: center; align-items: center; color: #f3d8b1; font-size: .875rem; margin-bottom: 1.25rem; }
.timer { display: flex; align-items: center; }
.timer span { display: inline-block; width: 1.75rem; height: 1.75rem; background-color: #ad0000; box-shadow: inset 0 -2px .25rem #98000080; border-radius: .3125rem; text-align: center; line-height: 1.75rem; margin: 0 .625rem; color: #fff; font-variant-numeric: tabular-nums; }
.timer span:first-child { margin-left: 0; }
.pop-discount-btn { width: 10.25rem; height: 2.5rem; background-image: linear-gradient(0deg, #ecc081, #f7e7ce); box-shadow: 0 .2188rem #e68900; border-radius: 1.1563rem; margin: 0 auto .75rem; font-size: 1.125rem; font-weight: 700; color: #cd560d; text-align: center; line-height: 2.5rem; cursor: pointer; }
.pop-discount-tips { color: #f3d8b1; font-size: .8125rem; text-align: center; }
@keyframes scaleAnimate { 0% { transform: scale(.2); } to { transform: scale(1); } }

.time-bar { background: #f35e4c; height: 2.75rem; width: 100%; max-width: 30rem; min-width: 20rem; z-index: 3; position: fixed; left: 0; right: 0; bottom: 3.75rem; margin: 0 auto; }
.time-bar-content { height: 2.75rem; display: flex; align-items: center; justify-content: center; color: #f3d8b1; font-size: .875rem; }
.time-bar-amount { font-size: 1.125rem; }
.time-bar .timer { margin: 0 .3125rem; }
.time-bar .timer span { margin: 0 .3125rem; }
.time-bar-btn { width: 4.5rem; height: 1.75rem; background-image: linear-gradient(0deg, #ecc081, #f7e7ce); box-shadow: 0 .2188rem #e68900; border-radius: .875rem; color: #cd560d; font-size: .8125rem; font-weight: 700; text-align: center; line-height: 1.75rem; margin-left: .4375rem; }

.fixed-red { position: fixed; width: 3.7813rem; height: auto; z-index: 2; top: 40%; cursor: pointer; }
.ban-fixed-red { animation: redstopAnimate .2s; right: calc(50% - min(50%, 15rem) - .625rem); }
.anime-fixed-red { animation: redshowAnimate .2s; right: calc(50% - min(50%, 15rem) - 1.5625rem); opacity: .4; }
@keyframes redshowAnimate { 0% { transform: translateX(-.9375rem); opacity: 1; } 50% { transform: translateX(-.4688rem); opacity: .7; } to { transform: translateX(0); opacity: .4; } }
@keyframes redstopAnimate { 0% { transform: translateX(.9375rem); opacity: .4; } 50% { transform: translateX(.4688rem); opacity: .7; } to { transform: translateX(0); opacity: 1; } }

/* ================= 分类查找 ================= */
.sort-page { min-height: 100vh; background: #ededed; padding-bottom: 3.75rem; overflow: hidden; }
.sort-goods-wrap { background: #fff; border-radius: .625rem; margin: .8125rem .4688rem .9375rem; font-size: .875rem; color: #777; }
.sort-goods-wrap .goods-main { display: flex; height: 34.375rem; }
.sort-goods-wrap .goods-sort { padding: 0 5px; text-align: center; width: 5.625rem; border-right: 1px solid #d5d5d5; flex-shrink: 0; overflow-y: auto; }
.sort-goods-wrap .goods-sort-item { padding: .9375rem 0; position: relative; }
.sort-goods-wrap .goods-sort .active { color: #b08148; }
.sort-goods-wrap .goods-sort .active:after { content: ""; position: absolute; top: 50%; right: -5px; transform: translateY(-50%); width: 3px; height: 1.125rem; background: #dab58b; }
.sort-goods-wrap .goods-list { margin-top: .625rem; flex: auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sort-goods-wrap .goods-item { padding: .625rem; display: flex; align-items: center; box-shadow: none; border-radius: 0; margin: 0; border-top: none; }
.sort-goods-wrap li + li > .goods-item { border-top: 1px solid #e2e2e2; }
.sort-goods-wrap .goods-item-banner { width: 4.75rem; height: 4.75rem; border-radius: .625rem; margin-right: .5rem; flex-shrink: 0; aspect-ratio: auto; }
.sort-goods-wrap .goods-item-content { flex: auto; padding: 0; }
.sort-goods-wrap .goods-item-title { font-size: .9375rem; color: #333; line-height: 1.3125rem; padding-bottom: .375rem; }
.sort-goods-wrap .goods-item-dec { font-size: .8125rem; color: #7d7d7d; line-height: 1.125rem; margin-bottom: .75rem; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.sort-goods-wrap .goods-item-num { font-size: .75rem; color: #a9a9a9; display: flex; justify-content: space-between; }
.sort-goods-wrap .load-tips { font-size: .75rem; color: #666; text-align: center; padding: .625rem 0 .3125rem; }
.sort-goods-wrap .down_arrow { width: 6%; margin: 0 auto; padding: .625rem 0; cursor: pointer; }
.sort-goods-wrap .down_arrow img { width: 100%; }

/* ================= 今日运程 ================= */
.yunshi-page { padding: .625rem .4688rem 4.375rem; min-height: 100vh; background: #eee; }
.overhead-banner { min-height: 5.9375rem; margin-bottom: .625rem; }
.overhead-banner-box { min-width: 20rem; max-width: 30rem; position: fixed; top: 0; left: 0; right: 0; margin: 0 auto; background-color: #fff; z-index: 10; padding: .625rem; }
.overhead-banner-content { max-width: 29rem; display: flex; align-items: center; background: no-repeat; background-size: 100% 100%; border-radius: .625rem; padding: .3125rem 0; }
.overhead-banner .icon[data-act] { cursor: pointer; }
.overhead-banner .text { flex: 1; line-height: .9375rem; }
.overhead-banner .text .title { color: #b52929; font-size: .7813rem; margin-bottom: 5px; }
.overhead-banner .text .content { color: #93620c; font-size: .75rem; word-break: break-all; }
.overhead-banner .icon { width: 4.6875rem; height: 4.6875rem; flex-shrink: 0; display: block; }
.welfare-btn { flex-shrink: 0; }

.result-user-wrap { background: #fff; border-radius: .625rem; margin-bottom: .625rem; padding: .4688rem .625rem .9375rem; font-size: .875rem; position: relative; }
.result-user-wrap .user-info-main { display: flex; justify-content: space-between; padding-bottom: 1.25rem; }
.result-user-wrap .left-part { display: flex; align-items: center; }
.result-user-wrap .left-part .content { color: #4e4e4e; padding-left: .75rem; }
.result-user-wrap .left-part .content p:nth-of-type(2) { font-size: .8125rem; color: #919191; padding-top: .3125rem; }
.result-user-wrap .icon-user { width: 1.5313rem; height: 1.9063rem; flex: none; }
.result-user-wrap .right-part { display: flex; align-items: center; }
.result-user-wrap .info1 { font-size: 2.3125rem; color: #e4ab64; padding-right: .625rem; }
.result-user-wrap .info2 { font-size: .8125rem; color: #4e4e4e; line-height: 1.2; }
.result-user-wrap .user-info-tips { display: flex; align-items: center; justify-content: center; }
.result-user-wrap .user-info-tips p { color: #333; font-weight: 700; }
.result-user-wrap .user-info-tips p span { font-size: .9375rem; color: #e4ab64; }
.result-user-wrap .user-info-btn { flex-shrink: 0; width: 6.3438rem; height: 1.4375rem; background: linear-gradient(31deg, #ff4200, #ff6c2b); box-shadow: 1px .4375rem .4063rem #ff460547; border-radius: .7188rem; color: #fff; font-size: .8125rem; font-weight: 700; text-align: center; line-height: 1.4375rem; letter-spacing: .2em; margin-left: .7813rem; }

.wechat-guide { background: #fff; border-radius: .625rem; padding: .9375rem .625rem; margin-bottom: .9375rem; display: flex; justify-content: space-between; align-items: center; }
.wechat-guide-left { min-width: 0; }
.wechat-guide-left p:nth-of-type(1) { font-size: .875rem; color: #4e4e4e; padding-bottom: .4375rem; white-space: nowrap; }
.wechat-guide-left p:nth-of-type(2) { font-size: .75rem; color: #999; }
.wechat-guide-right { display: flex; align-items: center; flex-shrink: 0; border: 1px solid #bfbfbf; border-radius: .3125rem; height: 2.1875rem; overflow: hidden; font-size: .875rem; margin-left: .5rem; }
.wechat-guide-right span { padding: 0 .5rem; max-width: 6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wechat-guide-right .wx-copy-btn { background: #dab58b; border: none; border-radius: .3125rem; font-size: .875rem; color: #fff; height: 100%; padding: 0 .4rem; white-space: nowrap; }
.yunshi-example { text-align: center; font-size: .875rem; color: #929292; padding-bottom: .625rem; }

.day-resource { display: flex; justify-content: center; margin-bottom: .625rem; }
.day-resource-item { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: .625rem; }
.day-resource-item1 { padding: .5rem .625rem; width: 49%; }
.day-resource-item1 + .day-resource-item1 { margin-left: 2%; }
.day-resource-item2 { padding: .625rem .3125rem; }
.day-resource-item3 { flex: 1 1; background: #fff3f3; padding: .4688rem 1.125rem; }
.day-resource-item3 .yinyuan-pic, .day-resource-item3 img { width: 6.5625rem; height: auto; border-radius: .3125rem; display: block; }
.day-resource-item-name { font-size: .9375rem; font-weight: 700; color: #333; }
.day-resource-item-name3 { font-weight: 700; font-size: .9375rem; color: #b01220; }
.day-resource-item-desc { font-size: .75rem; color: #666; margin-top: .5rem; }
.day-resource-item-desc3 { color: #62383c; font-size: .8125rem; margin-top: .6875rem; }
.day-resource-item-icon1 { width: 2.8125rem; height: 2.8125rem; border-radius: 50%; flex-shrink: 0; }
.day-resource-item-icon2 { width: 2.1875rem; height: 2.1875rem; margin-right: .3125rem; }

.yunshi-tab { background: #f8f8f8; border-radius: .625rem; overflow: hidden; margin-bottom: .625rem; }
.yunshi-tab-main { background-color: #fff; }
.yunshi-tab-header { width: 100%; background: #fff; z-index: 3; border-radius: .625rem .625rem 0 0; }
.yunshi-tab-nav-list { display: flex; justify-content: space-around; font-size: .9375rem; }
.yunshi-tab-nav-list li { color: #999; padding: .875rem 0; position: relative; }
.yunshi-tab-nav-list .selected { color: #e6b476; font-weight: 700; }
.yunshi-tab-nav-list .selected:after { content: ""; width: 1.9375rem; height: 2px; background-color: #e6b476; border-radius: 2px; position: absolute; bottom: 0; left: 50%; transform: translate(-50%); }
#ysBody { background: #fff; }

.calendar { margin: 0 auto; background: #fff; }
.calendar-week { display: flex; }
.calendar-week span { display: inline-block; width: calc(100% / 7); height: 2.5rem; text-align: center; line-height: 2.5rem; font-size: .6875rem; font-weight: 700; color: #666; }
.calendar-list { display: flex; flex-wrap: wrap; }
.calendar-list-item { flex-shrink: 0; width: calc(100% / 7); height: 2.5rem; text-align: center; font-size: .75rem; font-weight: 700; color: #aeadac; margin-bottom: 1.25rem; }
.calendar-list-item > div:nth-child(1) { margin-bottom: .3125rem; height: 1.7188rem; line-height: 1.7188rem; }
.calendar-list-item > div:nth-child(2) { white-space: nowrap; }
.calendar-list-item.other { opacity: .4; }
.calendar-list-item > .checked { display: block; position: relative; text-align: center; margin-bottom: .3125rem; height: 1.7188rem; }
.calendar-list-item > .checked > div img { width: auto; height: 1.7188rem; display: inline-block; vertical-align: top; }
.calendar-list-item > .checked > div p { position: absolute; width: .9375rem; height: .9375rem; left: 50%; top: 50%; transform: translate(-50%, -50%); background-color: #fff; border-radius: 50%; text-align: center; line-height: .9375rem; }
.calendar-arrow { display: block; width: .9375rem; height: auto; margin: 0 auto; padding-bottom: .4688rem; box-sizing: content-box; cursor: pointer; }

.yunshi-day { padding: .625rem .9375rem; background: #fff; margin-bottom: .625rem; border-radius: .625rem; }
.yunshi-day-node { display: flex; justify-content: space-between; }
.yunshi-day-node-item { color: #333; display: flex; margin-top: .625rem; font-size: .875rem; align-items: center; }
.yunshi-day-node-item .tag { flex-shrink: 0; width: 1.125rem; height: 1.125rem; margin-right: .3125rem; }
.yunshi-day-title { font-size: 1.1875rem; font-weight: 700; margin: .9375rem 0; color: #2f2c29; }
.yunshi-day-title .tips { margin-top: .4688rem; font-size: .875rem; color: #dab58b; }
.canvas-box svg { display: block; width: 100%; height: auto; }
.yunshi-day-comment-item .title { display: inline-block; font-size: .875rem; font-weight: 600; padding: .25rem .4688rem; border-radius: .6563rem .6563rem .6563rem 0; color: #fff; margin: 1.25rem 0 .5625rem; }
.title-zheng { background: #596ad7; }
.title-fu { background: #e43e3f; }
.title-zhonghe { background: #59493f; }
.yunshi-day-comment-item .content { font-size: .875rem; font-weight: 400; line-height: 1.4375rem; color: #2f2c29; }
.line-chart .yunshi-tab-nav-list li { padding: .875rem 0; }
.line-chart .yunshi-tab-nav-list .selected { color: #dab58b; }
.line-chart .yunshi-tab-nav-list .selected:after { background: #dab58b; }
.yunshi-day-tips-tab { display: flex; flex-direction: row; }
.yunshi-day-tips-tab-btn { flex: 1 1; text-align: center; background: #fff; border-radius: .4375rem .4375rem 0 0; }
.yunshi-day-tips-tab-btn .value { display: flex; justify-content: center; align-items: center; width: 1.875rem; height: 1.875rem; margin: .625rem auto; font-weight: 500; font-size: .75rem; line-height: 1; overflow: hidden; color: #333; border-radius: .25rem; box-shadow: 0 2px 0 rgba(0, 0, 0, .08); text-align: center; }
.yunshi-day-tips-tab-btn .value { background: no-repeat; background-size: 100%; box-shadow: none; border-radius: 0; }
.yunshi-day-tips-tab-btn .title { font-size: .75rem; padding-bottom: .625rem; color: #aeadac; }
.yunshi-day-tips-content { padding: .9375rem 1.125rem 1.875rem; font-size: .875rem; color: #666; line-height: 1.3125rem; border-radius: 0 0 .4375rem .4375rem; }
.yunshi-day-tips .selected0 { background: #fffaf3; }
.yunshi-day-tips .selected1 { background: #f0f5f9; }
.yunshi-day-tips .selected2 { background: #fef4f4; }
.yunshi-day-tips .selected3 { background: #f5f6ff; }
.yunshi-day-tips .selected4 { background: #f8fffb; }

/* 周运 / 月运 / 年运 */
.yunshi-week-date { display: flex; justify-content: space-between; gap: .4rem; background: #f8f8f8; padding: .625rem .5rem; }
.yunshi-week-date span { flex: 1; border-radius: .3125rem; background: #e8e8e8; color: #aeadac; font-size: .6875rem; line-height: 1.35; text-align: center; padding: .3rem 0; }
.yunshi-week-date span.active { background: #f1bc7b; color: #fff; }
.yunshi-month-date { display: flex; align-items: center; gap: .55rem; background: #f8f8f8; padding: .625rem .9375rem; overflow-x: auto; scrollbar-width: none; }
.yunshi-month-date::-webkit-scrollbar { display: none; }
.yunshi-month-date span { display: inline-block; flex-shrink: 0; width: 1.5625rem; height: 1.5625rem; background: #e8e8e8; border-radius: 50%; font-size: .75rem; color: #aeadac; text-align: center; line-height: 1.5625rem; }
.yunshi-month-date .active { width: 1.875rem; height: 1.875rem; line-height: 1.875rem; font-size: .875rem; font-weight: 500; color: #fff; background: #f1bc7b; }
.yunshi-month { padding: .625rem .9375rem; background: #fff; margin-bottom: .625rem; }
.yunshi-month:last-child { border-radius: 0 0 .625rem .625rem; }
.yunshi-month-title { font-size: 1.1875rem; font-weight: 700; margin: .9375rem 0; color: #2f2c29; }
.yunshi-month-title .tips { margin-top: .4688rem; font-size: .875rem; color: #dab58b; }
.yunshi-month-jieduan { padding: .75rem; background: #f8f8f8; border-radius: .4375rem; position: relative; margin-bottom: .75rem; }
.yunshi-month-jieduan-title { font-size: 1rem; font-weight: 600; color: #2f2c29; margin-bottom: .75rem; padding-right: 4.5rem; }
.yunshi-month-jieduan-content { font-size: .875rem; color: #666; line-height: 1.4375rem; }
.yunshi-month-jieduan-tip { position: absolute; padding: 2px .55rem; text-align: center; border-radius: .5625rem 0 0 .5625rem; right: 0; top: .75rem; font-size: .8125rem; font-weight: 500; color: #fff; }
.yunshi-month-jieduan-tip-1 { background: #596ad7; }
.yunshi-month-jieduan-tip-2 { background: #f6b537; }
.yunshi-month-jieduan-tip-3 { background: #e43e3f; }
.week-aspect { font-size: 1rem; font-weight: 700; color: #2f2c29; margin: 1rem 0 .6rem; }
.unlock { padding-bottom: .9375rem; }
.unlock-month { position: relative; padding: .5rem 0 3rem; }
.unlock-blur { filter: blur(3px); color: #888; font-size: .875rem; line-height: 1.6; user-select: none; max-height: 7rem; overflow: hidden; }
.unlock-lock { position: absolute; left: 50%; top: 2.6rem; transform: translateX(-50%); width: 1.4rem; height: 1.6rem; }
.unlock-btn { position: absolute; left: 50%; transform: translate(-50%); bottom: .5rem; width: 12.5313rem; height: 2.0313rem; background: linear-gradient(31deg, #ff4200, #ff6c2b); box-shadow: 1px .4375rem .4063rem #ff460547; border-radius: 1.0313rem; color: #fff; font-size: .875rem; text-align: center; line-height: 2.0313rem; display: block; }
.unlock-year-wrap { padding: .9375rem .625rem; background: #fff; }
.unlock-year-card { background: #fff; border-radius: .625rem; box-shadow: 0 1px .6rem rgba(0, 0, 0, .08); padding: .5rem 1.25rem 1.25rem; }
.unlock-year-row { display: flex; align-items: center; padding: .75rem 0; }
.unlock-year-icon { width: 4.375rem; height: 4.375rem; flex-shrink: 0; margin-right: 1rem; }
.unlock-year-row h4 { font-size: 1rem; color: #333; margin-bottom: .3rem; }
.unlock-year-row p { font-size: .8125rem; color: #666; line-height: 1.45; }
.unlock-year-row b { color: #333; }
.unlock-year-card .unlock-btn { position: relative; left: auto; bottom: auto; transform: none; margin: .5rem auto 0; width: 11.5rem; }

.recommend { background: #fff; border-radius: .625rem; padding: .9375rem; }
.recommend-title { color: gray; font-size: .9375rem; position: relative; padding-left: .75rem; margin-bottom: .75rem; }
.recommend-title:before { content: ""; background: var(--arrow) no-repeat; background-size: 100% 100%; width: .5625rem; height: .9063rem; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }

/* 资源位 / 曲线最佳最差 / 加载提示 */
.day-resource-item4 { flex: 1 1; padding: .625rem 1.125rem; }
.year-banner { display: block; margin: 0 .625rem .625rem; }
.year-banner img { width: 100%; border-radius: .3125rem; }
.unlock-year-wrap + .year-banner { margin-top: .625rem; }
.day-resource-item-icon4 { width: 2.8125rem; height: 2.8125rem; border-radius: .5rem; flex-shrink: 0; margin-left: .5rem; }
.day-resource-item2 + .day-resource-item2 { margin-left: .5rem; }
.yunshi-day-figures { margin-top: .9375rem; }
.yunshi-day-figures-box { padding: .625rem .7188rem; border-radius: .4375rem; margin-bottom: .9375rem; }
.yunshi-day-figures-box-best { background: #f3f4f8; }
.yunshi-day-figures-box-worst { background: #fbf7f7; }
.yunshi-day-figures-box .title { font-size: 1rem; margin-bottom: .75rem; font-weight: 700; }
.yunshi-day-figures-box .title-best { color: #596ad7; }
.yunshi-day-figures-box .title-worst { color: #e43e3f; }
.yunshi-day-figures-box .tip { font-size: .875rem; line-height: 1.4375rem; }
.yunshi-day-figures-box .tip-best { color: #747a9b; }
.yunshi-day-figures-box .tip-worst { color: #a68080; }
.adm-toast { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.adm-toast-main { background: rgba(0, 0, 0, .7); color: #fff; border-radius: .5rem; padding: .9rem 1.2rem; display: flex; flex-direction: column; align-items: center; font-size: .9375rem; min-width: 7rem; }
.adm-spin { width: 1.9rem; height: 1.9rem; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; margin-bottom: .5rem; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.recommend-item { display: flex; align-items: center; padding: .75rem 0; border-bottom: 1px solid #e5e5e5; }
.recommend-list li:last-child .recommend-item { border-bottom: none; }
.recommend-item-left { flex: 1 1; display: flex; align-items: center; min-width: 0; }
.recommend-item-content { padding-right: .3125rem; min-width: 0; }
.recommend-item-content .title { font-size: .9375rem; color: #333; font-weight: 700; padding-bottom: .4688rem; }
.recommend-item-content .info { font-size: .75rem; color: #7d7d7d; padding-bottom: .8438rem; }
.recommend-item-content .num { font-size: .75rem; color: #a9a9a9; white-space: nowrap; }
.recommend-item-content .num span:nth-of-type(1) { margin-right: .625rem; }
.recommend-item-icon { width: 4.75rem; height: 4.75rem; flex-shrink: 0; border-radius: .9375rem; margin-right: .3125rem; }
.recommend-item-btn { flex-shrink: 0; width: 5.3125rem; height: 2.0313rem; background: linear-gradient(31deg, #ff4200, #ff6c2b); box-shadow: 1px .4375rem .4063rem #ff460547; border-radius: 1.0313rem; text-align: center; font-size: .875rem; font-weight: 700; color: #fff; line-height: 2.0313rem; text-shadow: 0 4px 5px rgba(218, 0, 0, .68); }

/* 资料弹层（参照原站 userinfo-form） */
.userinfo-form h3 { text-align: center; font-size: 1.125rem; color: #313333; margin-bottom: 1.2rem; }
.userinfo-form .user-form-item { height: 2.375rem; margin-bottom: .6875rem; display: flex; align-items: center; padding: 0 .25rem; color: #333; line-height: 2.375rem; font-size: .9375rem; }
.userinfo-form .user-form-item .label { display: inline-block; width: 3.75rem; flex-shrink: 0; }
.userinfo-form .user-form-item .label .hidden { visibility: hidden; font-style: normal; }
.userinfo-form .user-form-item input[type=text] { flex: 1; min-width: 0; height: 100%; border: none; border-bottom: 1px solid #ccc; background: none; }
.userinfo-form .gender-list { display: flex; }
.userinfo-form .gender-item { width: 1.625rem; height: 1.625rem; border-radius: 50%; background-color: #fff; border: 1px solid #cacaca; text-align: center; line-height: 1.625rem; margin-right: 1.0938rem; color: #a9a9a9; }
.userinfo-form .gender-item.active { color: #fff; border: none; background: #e6b476; }
.userinfo-form .birh-wrap { flex: 1; border-bottom: 1px solid #ccc; overflow: hidden; }
.userinfo-form .birh-wrap input, .userinfo-form .birh-wrap select { width: 100%; border: none; background: none; height: 2.2rem; color: #333; }
.userinfo-form-btn { width: 15.625rem; max-width: 100%; height: 2.5rem; background: linear-gradient(31deg, #e6b476, #eeb166); box-shadow: 1px .4375rem .4063rem #e6b47647; border-radius: 1.25rem; color: #fff; font-size: .9375rem; text-align: center; line-height: 2.5rem; margin: 1.4rem auto 0; cursor: pointer; }
.pop-phone-tips { font-size: .75rem; color: #999; line-height: 1rem; text-align: center; margin-top: 1rem; }

/* ================= 通用弹层 / toast ================= */
.modal { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; }
.modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.modal-box { position: relative; width: 19.6875rem; max-width: 92vw; background: #fff; border-radius: .625rem; padding: 1.25rem .9375rem .9375rem; animation: scaleAnimate .18s ease-out; max-height: 88vh; overflow-y: auto; }
.modal-box > h3 { text-align: center; font-size: 1.0625rem; margin-bottom: .8rem; color: #333; }
.modal-box > p { font-size: .875rem; color: #666; line-height: 1.7; }
.modal-btns { display: flex; gap: .6rem; margin-top: 1.1rem; }
.modal-btns button { flex: 1; height: 2.4rem; border-radius: 1.2rem; font-size: .9375rem; background: #f3f3f3; color: #666; }
.modal-btns button.primary { background: linear-gradient(31deg, #e6b476, #eeb166); color: #fff; font-weight: 700; }
.toast { position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%); background: rgba(0, 0, 0, .75); color: #fff; font-size: .875rem; padding: .6rem 1rem; border-radius: .5rem; z-index: 30; max-width: 80vw; text-align: center; pointer-events: none; animation: fadeIn .15s; }
@keyframes fadeIn { from { opacity: 0; } }

.ys-line-path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s ease-out forwards; }
.canvas-box rect.bar { transform-box: fill-box; transform-origin: 50% 100%; animation: grow .6s ease-out; }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .ys-line-path { stroke-dashoffset: 0; }
}
