/* 参考站首页与全站外框；业务数据、品牌及交易操作继续使用本站。 */
:root { --reference-blue: #2874bf; --reference-navy: #13294b; }
:root:not([data-theme="dark"]) { --bg: #eff5fc; }
.header { border-bottom: 0; }
.header .head-auth { display: none; }
.marquee { background: transparent; border: 0; color: inherit; }
.ref-notice-wrap { padding-top: 8px; padding-bottom: 8px; }
.ref-notice { width: 100%; height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid #f3d7a7; border-radius: 11px; background: linear-gradient(100deg, #fff4d9, #fff9ed); color: #9b4e25; font-size: 13px; font-weight: 600; overflow: hidden; box-shadow: 0 2px 8px #d0a15d0c; }
.ref-notice > svg { flex: none; }
.ref-notice .mq { width: 100%; }
.ref-nav-wrap { display: none; }
.head-icons { margin-left: auto; }
.home .home-top { gap: 12px; }
.home .carousel { order: 0; border-radius: 10px; box-shadow: none; min-height: 0; aspect-ratio: 2.15 / 1; background: #ddd2ff; }
.home .home-menu { order: 1; background: var(--card); padding: 12px 4px; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 4px 15px #18365f06; }
.home .user-card { display: none; }
.home-menu .hm-icon { width: 43px; height: 43px; background: transparent; border-radius: 0; }
.home-menu .hm-icon img { width: 100%; height: 100%; object-fit: contain; }
.home-menu .hm-text b { font-size: 11px; white-space: nowrap; }
.home-menu a:nth-child(3) { order: 5; }
.home-menu a:nth-child(4) { order: 3; }
.home-menu a:nth-child(5) { order: 4; }
.home .slide { padding: 28px; }
.home .slide-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home .slide.has-image, .home .slide.checkin-slide { background: #ded3fd; padding: 0; }
.home .slide-text > small { display: block; margin-bottom: 12px; opacity: .7; font-size: 11px; letter-spacing: 2px; }
.home .slide h2 { font-size: 25px; }
.home .slide p { font-size: 12px; }
.home .slide-mark { width: 180px; height: 180px; opacity: .16; }
.home .slide-cta { display: inline-flex; align-items: center; gap: 8px; border-radius: 5px; }
.carousel-prev, .carousel-next { position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; color: #fff; background: #18283c2e; display: grid; place-items: center; z-index: 2; cursor: pointer; opacity: 0; transition: opacity .2s; }
.carousel-prev { left: 8px; }
.carousel-prev svg { transform: rotate(180deg); }
.carousel-next { right: 8px; }
.carousel:hover .carousel-prev, .carousel:hover .carousel-next { opacity: 1; }
.home .dots { bottom: 10px; gap: 5px; }
.home .dots button { width: 5px; height: 5px; border-radius: 10px; background: #ffffff80; }
.home .dots button.active { width: 16px; background: #fff; }
.home .sec { margin-top: 14px; background: var(--card); padding: 12px 10px; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 5px 18px #15345505; }
.home .sec-head { align-items: center; gap: 8px; margin-bottom: 12px; }
.home .sec-head h2 { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 17px; font-weight: 800; }
.home .sec-head h2 > img { width: 24px; height: 27px; object-fit: contain; }
.home .sec-head > .muted { display: none; }
.home .sec-head > a { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--reference-blue); }
.home-layout-tools { margin-left: auto; display: flex; }
.home-layout-tools button { display: grid; place-items: center; padding: 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--card); color: var(--text-2); cursor: pointer; }
.home .sec-head .home-layout-tools + a { margin-left: 0; }
.home-products { display: grid; grid-template-columns: 1fr; gap: 12px; }
.home .section-more { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 16px auto 0; padding: 8px 16px; max-width: 210px; font-size: 12px; color: var(--reference-blue); border: 1px solid var(--line); border-radius: 7px; }
.home .pcard { padding: 7px 7px 0; border-radius: 11px; box-shadow: 0 2px 8px #18395b06; border: 1px solid #e9edf3; }
.home .pc-img { border-radius: 8px; aspect-ratio: 2.15 / 1; }
.home .pc-disc { top: 8px; left: 0; padding: 2px 8px; border-radius: 0 5px 5px 0; background: #2779c7; font-size: 11px; color: #fff; box-shadow: none; }
.home .pc-login { right: 6px; bottom: 6px; font-size: 10px; }
.home .pc-strip { margin: 7px 2px 0; padding: 6px 8px; border: 0; border-radius: 7px; background: linear-gradient(110deg,#edf8ff,#e1f2ff); color: #2a70b1; min-height: 30px; gap: 4px; }
.home .pc-strip b { font-size: 12px; }
.home .pc-strip > span { font-size: 9px; color: #7192ad; }
.home .pc-strip > svg { flex: none; }
.home .pc-strip > svg:last-child { margin-left: auto; }
.home .pc-strip em { padding: 1px 3px; font-size: 9px; }
.home .pc-body { padding: 11px 6px 12px; gap: 8px; }
.pcard .pc-title > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.home .pc-title { font-size: 15px; line-height: 1.4; }
.home .pc-skins { gap: 4px; }
.home .pc-skins span { border-radius: 999px; padding: 1px 8px; font-size: 10px; }
.home .pc-skins .skin-knife { color: #2b81c7; border-color: #bfddf4; background: #edf7ff; }
.home .pc-skins .skin-weapon { color: #c04d61; border-color: #efc6ce; background: #fff1f5; }
.home .pc-skins .skin-operator { color: #bd8916; border-color: #ecd697; background: #fff8e7; }
.pc-seller { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 11px; }
.pc-seller > span { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc-seller > small { font-size: 10px; flex: none; }
.home .pc-stats { border-radius: 7px; padding: 8px 3px; }
.home .pc-stats span { font-size: 10px; }
.home .pc-stats b { font-size: 12px; color: var(--reference-navy); }
.home .pc-foot { border-top: 1px solid var(--line); padding-top: 10px; gap: 6px; }
.home .pc-price .price { color: var(--reference-navy); font-size: 21px; }
.home .pc-price s { font-size: 10px; color: var(--muted); }
.home .pc-foot .btn { min-height: 29px; padding: 5px 8px; border-radius: 6px; font-size: 11px; }
.home .pc-foot .outline-gold { color: #586681; border-color: #cdd8e8; background: var(--card); }
.home .pc-foot .dark { background: var(--reference-navy); border-color: var(--reference-navy); border-radius: 7px 0 10px; }
.ann-reference.wide { max-width: 620px; padding: 16px 18px 34px; border-radius: 17px; background: var(--card); border: 1px solid #ffffffb3; }
.ann-reference .modal-close { display: none; }
.ann-reference .ann-head { margin: 0 -2px 16px; padding: 19px 20px; border-radius: 0; min-height: 84px; background: linear-gradient(110deg,#112443,#213b61 76%,#3b4b60); }
.ann-reference .ann-head .brand-mark { width: 48px; height: 48px; padding: 4px; border: 1px solid #ffffff29; border-radius: 12px; background: #ffffff08; }
.ann-reference .ann-head b { font-size: 17px; font-weight: 750; line-height: 1.5; }
.ann-reference .ann-head small { display: block; margin-top: 3px; color: #d2d9e4; font-size: 12px; }
.ann-reference .ann-head .tag { align-self: flex-start; margin-left: 4px; border: 1px solid #e6d67b80; background: #dcca6220; color: #f7e69d; padding: 5px 8px; border-radius: 6px; font-size: 11px; white-space: nowrap; }
.ann-reference .modal-body { padding: 0 18px; }
.ann-reference .ann-body { min-height: 200px; max-height: 48vh; overflow-y: auto; padding: 23px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg-2); font-size: 14px; line-height: 1.9; color: var(--text-2); box-shadow: inset 0 1px 3px #17345002; }
.ann-reference .modal-actions { margin: 17px 18px 0; }
.ann-reference .modal-actions .btn { min-height: 44px; font-size: 14px; font-weight: 700; border-radius: 10px; background: linear-gradient(110deg,#142644,#1c365e); border: 0; box-shadow: 0 5px 12px #1a31572e; }
.tabbar a.active { color: #2372bd; }
.tabbar a.active > svg { color: #2372bd; }
.tabbar .center-btn { color: #fff; background: linear-gradient(135deg,#f8d47a,#dca64c); border: 4px solid var(--card); box-shadow: 0 4px 13px #ca982b40; }
[data-theme="dark"] .ref-notice { border-color: #5a4730; background: linear-gradient(110deg,#30291d,#25251e); color: #efd19a; }
[data-theme="dark"] .home .pc-stats b, [data-theme="dark"] .home .pc-price .price { color: #dce8fc; }
[data-theme="dark"] .home .pcard { border-color: var(--line); }
[data-theme="dark"] .home .pc-strip { background: #17374e; color: #8bcaff; }
[data-theme="dark"] .home .pc-skins .skin-knife { background: #16354b; border-color: #2c5471; color: #91ceff; }
[data-theme="dark"] .home .pc-skins .skin-weapon { background: #422533; border-color: #6e3d4f; color: #f2a6b5; }
[data-theme="dark"] .home .pc-skins .skin-operator { background: #3a3222; border-color: #665537; color: #e5c17d; }
@media (max-width: 899px) {
  .header .wrap-inner { height: 56px; gap: 8px; }
  .header .brand-mark { width: 33px; height: 33px; }
  .header .brand-text b { font-size: 15px; }
  .header .brand-text small { font-size: 8px; }
  .header .head-icons { gap: 0; }
  .header .head-icons .icon-btn { width: 32px; height: 34px; }
  .ref-notice-wrap { padding: 0; }
  .ref-notice { height: 30px; border-radius: 0; border-width: 1px 0; font-size: 11px; gap: 8px; padding: 0 12px; }
  body[data-page="home"] #app { max-width: 760px; }
  .page.home { padding: 0 10px 18px; }
  .home .home-top { gap: 0; margin: 0 -10px; }
  .home .carousel { width: 100%; border-radius: 0; aspect-ratio: 2.3/1; }
  .home .home-menu { border: 0; border-radius: 0 0 13px 13px; box-shadow: none; padding: 12px 8px; }
  .home .home-menu a { gap: 6px; padding: 2px 0; }
  .home .home-menu .hm-icon { width: 40px; height: 40px; }
  .home .sec { margin-top: 12px; }
  .home .sec-head h2 > svg { width: 21px; }
  .home .pcard:not(.empty-shop) { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: 7px; padding: 7px; min-width: 0; }
  .home .pcard:hover { transform: none; }
  .home .pc-visual { min-width: 0; padding-top: 0; display: flex; flex-direction: column; }
  .home .pc-img { aspect-ratio: 1.42/1; border-radius: 7px; }
  .home .pc-img img { object-fit: cover; }
  .home .pc-login { right: 3px; bottom: 3px; padding: 1px 4px; font-size: 8px; }
  .home .pc-disc { top: 5px; font-size: 9px; padding: 2px 5px; }
  .home .pc-strip { margin: 6px 0 0; padding: 5px; min-height: 30px; gap: 3px; justify-content: center; }
  .home .pc-strip > span, .home .pc-strip em, .home .pc-strip > svg:last-child { display: none; }
  .home .pc-strip b { font-size: 12px; }
  .home .pc-strip > svg { width: 13px; }
  .home .pc-body { min-width: 0; padding: 1px 0 0; gap: 5px; }
  .home .pc-title { font-size: 12px; line-height: 16px; gap: 4px; }
  .home .pc-title > span { white-space: nowrap; }
  .home .dot { width: 6px; height: 6px; }
  .home .dot.on { box-shadow: none; }
  .home .pc-remark, .home .pc-seller { display: none; }
  .home .pc-skins { max-height: 22px; flex-wrap: nowrap; }
  .home .pc-skins span { flex: none; height: 20px; line-height: 16px; font-size: 9px; padding: 1px 6px; }
  .home .pc-stats { display: grid; grid-template-columns: 1fr 1fr; padding: 0; border-radius: 6px; }
  .home .pc-stats > div { display: flex; flex-direction: column; min-height: 28px; justify-content: center; padding: 4px 6px; border: 0; }
  .home .pc-stats > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .home .pc-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .home .pc-stats span { font-size: 9px; line-height: 11px; }
  .home .pc-stats b { font-size: 11px; line-height: 14px; }
  .home .pc-foot { margin-top: 0; padding-top: 2px; border: 0; gap: 4px; flex-wrap: wrap; }
  .home .pc-price { flex: 0 0 100%; display: flex; flex-wrap: nowrap; gap: 4px; align-items: baseline; }
  .home .pc-price .price { font-size: 16px; line-height: 19px; }
  .home .pc-price .price small { font-size: 10px; }
  .home .pc-price s { font-size: 9px; }
  .home .pc-foot .btn { min-height: 24px; flex: 1; padding: 3px 4px; font-size: 9px; line-height: 16px; white-space: nowrap; }
  .home .pc-foot .btn svg { width: 11px; height: 11px; }
  .home .home-latest .grid { grid-template-columns: 1fr; }
  .home.classic-cards .pcard { display: flex; }
  .home.classic-cards .pc-img { aspect-ratio: 2.15/1; }
  .home.classic-cards .pc-body { padding: 8px 3px 4px; gap: 8px; }
  .home.classic-cards .pc-title { font-size: 14px; }
  .home.classic-cards .pc-stats { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home.classic-cards .pc-stats > div { border-bottom: 0; border-right: 1px solid var(--line); }
  .home.classic-cards .pc-stats > div:last-child { border-right: 0; }
  .home.classic-cards .pc-foot { flex-wrap: nowrap; }
  .home.classic-cards .pc-price { flex: 1; }
  .home.classic-cards .pc-foot .btn { flex: none; padding: 4px 10px; }
  .ann-reference.wide { padding: 10px 10px 20px; border-radius: 14px; }
  .ann-reference .ann-head { margin: 0 0 12px; padding: 15px 12px; min-height: 80px; gap: 10px; }
  .ann-reference .ann-head .brand-mark { width: 38px; height: 38px; flex: none; }
  .ann-reference .ann-head b { font-size: 14px; }
  .ann-reference .ann-head small { font-size: 10px; }
  .ann-reference .ann-head .tag { display: none; }
  .ann-reference .modal-body { padding: 0 7px; }
  .ann-reference .ann-body { padding: 16px 12px; font-size: 12px; min-height: 160px; max-height: 50vh; }
  .ann-reference .modal-actions { margin: 13px 7px 0; }
  .ann-reference .modal-actions .btn { min-height: 40px; font-size: 13px; }
}
@media (min-width: 428px) and (max-width: 899px) {
  .home .pc-img { aspect-ratio: 1.5/1; }
  .home .pc-body { gap: 6px; }
  .home .pc-foot { flex-wrap: nowrap; }
  .home .pc-price { flex: 0 0 auto; }
  .home .pc-price s { display: none; }
  .home .pc-foot .btn { font-size: 10px; min-height: 29px; }
}
@media (min-width: 900px) {
  .wrap-inner, #app { max-width: 1370px; }
  .wrap-inner { padding-left: clamp(24px, 3vw, 38px); padding-right: clamp(24px, 3vw, 38px); }
  .header { position: relative; }
  .header .ref-brandbar { height: 68px; }
  .header .brand-mark { width: 46px; height: 46px; }
  .header .brand-text b { font-size: 21px; }
  .topstrip { font-size: 12px; border-bottom: 1px solid #e8edf5; }
  .topstrip .wrap-inner { height: 36px; gap: 16px; }
  .topstrip .strip-divider { font-size: 10px; color: #d5dce6; }
  .theme-btn { border-color: #dbe6f8; background: #eff6ff; color: #4a7fbd; font-size: 12px; }
  .header .head-auth { display: flex; gap: 12px; align-items: center; }
  .header .head-auth > .btn { min-width: 76px; min-height: 36px; border-radius: 8px; font-size: 14px; }
  .head-auth .head-login { background: #fff; border: 1px solid #e3e6eb; color: #22334b; }
  .head-auth .head-register { background: linear-gradient(135deg,#f4d071,#e7b13c); border: 1px solid #e9bd5b; color: #45320c; }
  .header .head-auth .publish-btn { display: none; }
  .head-user { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
  .head-user .avatar { width: 34px; height: 34px; background: #eff4fb; border: 1px solid var(--line); color: #bd982f; }
  .ref-notice-wrap { height: 48px; padding-top: 8px; padding-bottom: 4px; }
  .ref-notice { height: 36px; }
  .ref-nav-wrap { display: block; padding-top: 6px; }
  .ref-nav-wrap .mainnav { display: flex; width: 100%; margin-left: 0; gap: 0; background: var(--card); box-shadow: 0 2px 8px #14315103; border-radius: 6px; border-bottom: 1px solid var(--line); }
  .ref-nav-wrap .mainnav > a { flex: 1; display: flex; justify-content: center; align-items: center; gap: 4px; height: 58px; padding: 0 5px; text-align: center; font-size: 16px; font-weight: 700; color: var(--text-2); }
  .ref-nav-wrap .mainnav > a.active { color: var(--reference-blue); background: linear-gradient(0deg,#e6f1fc80,transparent); }
  .ref-nav-wrap .mainnav > a.active::after { left: 0; right: 0; height: 3px; background: #3783c3; }
  .nav-new { margin-top: -13px; padding: 0 4px; font-size: 8px; font-style: normal; line-height: 13px; color: #fff; background: #f25547; border-radius: 4px 4px 4px 0; }
  .page.home { padding: 14px clamp(24px, 3vw, 38px) 24px; }
  .home .home-top { grid-template-columns: minmax(220px, 310px) minmax(0, 1fr) minmax(230px, 310px); gap: 18px; min-height: 390px; }
  .home .home-menu { order: 0; grid-template-columns: 1fr; grid-template-rows: repeat(5,1fr); padding: 6px 0; border-radius: 8px; overflow: hidden; }
  .home .home-menu a { order: initial; padding: 10px 20px; gap: 16px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .home .home-menu a:last-child { border: 0; }
  .home-menu .hm-icon { width: 52px; height: 52px; flex: none; }
  .home-menu .hm-text { min-width: 0; }
  .home-menu .hm-text b { font-size: 16px; font-weight: 750; }
  .home-menu .hm-text small { font-size: 10px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
  .home-menu .chev { color: #9aa8b8; margin-left: auto; }
  .home .carousel { order: 1; height: 100%; aspect-ratio: auto; border-radius: 8px; background: #e6d9ff; }
  .home .slide-image { object-fit: cover; }
  .home .slide { padding: 34px 28px; }
  .home .slide h2 { font-size: clamp(25px,2.5vw,36px); line-height: 1.3; }
  .home .slide p { font-size: 14px; }
  .home .slide-mark { width: 260px; height: 260px; bottom: -30px; right: -15px; }
  .home .dots { bottom: 16px; }
  .home .dots button { width: 6px; height: 6px; }
  .home .dots button.active { width: 22px; }
  .home .user-card { order: 2; display: flex; gap: 0; padding: 16px 14px 14px; border: 1px solid #dce7f5; border-radius: 13px; background: linear-gradient(145deg,var(--card),var(--bg-2)); box-shadow: 0 8px 22px #19395f0b; }
  .uc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
  .uc-head .avatar { width: 52px; height: 52px; padding: 0; background: #fff; border: 3px solid #fff; box-shadow: 0 4px 12px #203e672b; color: #c1a543; }
  .uc-head .avatar > svg { width: 100%; height: 100%; }
  .uc-head > div { flex: 1; min-width: 0; }
  .uc-head b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 800; }
  .uc-head small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
  .uc-member { flex: none; padding: 3px 6px; background: #eef5ff; border: 1px solid #d6e6fb; border-radius: 999px; color: #2b7ccb; font-size: 9px; }
  .uc-rows { display: flex; flex-direction: column; gap: 8px; }
  .uc-rows a { display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: 0 3px 9px #203e6708; }
  .uc-rows a > img { width: 30px; height: 30px; object-fit: contain; }
  .uc-rows a > div { flex: 1; }
  .uc-rows a span { display: block; font-size: 11px; color: var(--muted); }
  .uc-rows a b { display: block; font-size: 15px; color: var(--text); line-height: 1.2; margin-top: 3px; }
  .uc-rows a > svg { color: #a5b1c3; }
  .uc-login { display: flex; align-items: center; justify-content: center; gap: 9px; height: 38px; padding: 5px; min-height: 38px; margin-top: 10px; border: 0; border-radius: 8px; background: linear-gradient(120deg,#152b50,#09172e); box-shadow: 0 4px 10px #0f274425; font-size: 14px; }
  .uc-go { gap: 8px; margin-top: 11px; flex: 1; align-items: stretch; }
  .uc-go a { display: flex; align-items: center; justify-content: center; gap: 1px; padding: 5px 4px 8px; min-height: 115px; border-radius: 15px; border: 1px solid #ffffffc2; box-shadow: 0 5px 12px #3d468514; text-align: center; overflow: hidden; }
  .uc-go a > img { width: 54px; height: 48px; object-fit: contain; }
  .uc-go a b { font-size: 18px; font-weight: 850; color: #343841; line-height: 1.35; }
  .uc-go a > span { align-self: center; display: inline-flex; align-items: center; gap: 1px; min-width: 54px; padding: 1px 7px 1px 10px; margin-top: 3px; line-height: 19px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 800; }
  .uc-go .go-rent { background: radial-gradient(circle at 50% 0%,#ffffffed,transparent 46%),linear-gradient(145deg,#f4efff,#e9dfff); }
  .uc-go .go-lease { background: radial-gradient(circle at 50% 0%,#ffffffed,transparent 46%),linear-gradient(145deg,#fff5ed,#ffe5d0); }
  .uc-go .go-rent > span { background: linear-gradient(135deg,#a075ff,#7448e6); }
  .uc-go .go-lease > span { background: linear-gradient(135deg,#ff9d43,#ff7b1e); }
  .home .sec { margin-top: 20px; padding: 28px 30px; border-radius: 15px; }
  .home .sec-head { gap: 10px; margin-bottom: 22px; }
  .home .sec-head h2 { font-size: 23px; gap: 8px; }
  .home .sec-head h2 > img { width: 28px; height: 31px; }
  .home .sec-head > .muted { display: block; font-size: 12px; }
  .home .sec-head > a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: 12px; }
  .home-layout-tools { display: none; }
  .home-products { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  .home .home-latest .grid { gap: 24px; }
  .home .section-more { margin-top: 24px; }
  .floatbar { display: flex; flex-direction: column; position: fixed; right: 0; top: calc(50% - 182px); transform: none; width: 80px; z-index: 35; background: var(--card); border-radius: 14px 0 0 14px; box-shadow: 0 5px 22px #172d4826; overflow: visible; }
  .floatbar .fb-head { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 2px; background: #10213e; color: #fff; border-radius: 14px 0 0 0; }
  .floatbar .fb-head b { font-size: 11px; }
  .floatbar .fb-head small { font-size: 8px; color: #f2d077; letter-spacing: 1px; }
  .floatbar > a:not(.lottery-float) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 6px 3px; height: 59px; border-bottom: 1px solid var(--line); text-align: center; position: relative; color: var(--text); }
  .floatbar > a:not(.lottery-float):hover { background: var(--bg-2); }
  .floatbar > a > svg { color: #1b2d43; }
  .floatbar > a b { font-size: 10px; font-weight: 700; }
  .floatbar > a small { font-size: 8px; color: var(--muted); }
  .floatbar .badge { top: 4px; left: auto; right: 11px; }
  .floatbar > a.fb-svc { height: 60px; margin: 4px; padding: 7px 1px; border-radius: 9px 0 0 9px; background: #112341; color: #fff; border: 1px solid #cbb054; }
  .floatbar > a.fb-svc > svg { color: #efd181; }
  .floatbar > a.fb-svc:hover { background: #223b61; }
  .floatbar > .lottery-float { position: fixed; left: 20px; top: 55%; width: 108px; height: 123px; padding: 0; border: 0; background: transparent; z-index: 36; }
  .lottery-float > img { width: 108px; height: 123px; object-fit: contain; filter: drop-shadow(0 6px 8px #43327826); animation: gift-bob 3.5s ease-in-out infinite; }
  .lottery-float > span { position: absolute; right: 2px; bottom: 31px; border-radius: 9px 9px 9px 0; background: linear-gradient(135deg,#ffba54,#ff7654); color: #fff; padding: 0 4px; font-size: 9px; font-weight: 850; transform: rotate(13deg); }
  [data-theme="dark"] .uc-go a b { color: #e6ddff; }
  [data-theme="dark"] .uc-go .go-rent { background: linear-gradient(140deg,#332b55,#282447); }
  [data-theme="dark"] .uc-go .go-lease { background: linear-gradient(140deg,#493326,#392b27); }
  [data-theme="dark"] .uc-head .avatar { border-color: #2a3850; background: #1b2940; }
  [data-theme="dark"] .uc-member { background: #203650; border-color: #324e72; color: #9dcaff; }
  [data-theme="dark"] .floatbar > a > svg { color: #c1d3ef; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .home .home-top { grid-template-columns: 220px minmax(0,1fr) 250px; gap: 12px; min-height: 370px; }
  .home .home-menu a { padding-left: 12px; padding-right: 12px; gap: 10px; }
  .home-menu .hm-icon { width: 42px; height: 42px; }
  .home-menu .hm-text b { font-size: 14px; }
  .home-menu .hm-text small { font-size: 8px; }
  .home .sec { padding: 22px 20px; }
  .home-products { gap: 16px; }
  .home .pc-foot .btn { font-size: 9px; padding: 5px; }
  .floatbar { width: 70px; }
}
@media (prefers-reduced-motion: reduce) { .lottery-float > img { animation: none; } }
@keyframes gift-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
/* 原始插画顶部的第三方活动日期不属于本站活动，裁去日期带。 */
.home .checkin-slide .local-banner { top: -30%; bottom: auto; height: 130%; object-fit: cover; object-position: center; }
/* 覆盖原滚动条对所有 wrap-inner 的固定高度，保留独立主导航行。 */
@media (min-width: 900px) {
  .header .ref-brandbar { height: 64px; }
  .marquee .ref-notice-wrap { height: 48px; overflow: visible; }
  .marquee .ref-nav-wrap { height: 60px; overflow: visible; padding-top: 0; }
}
@media (max-width: 899px) {
  .marquee .ref-notice-wrap { height: 30px; padding: 0; }
}
/* 用本站活动文案覆盖插画的烘焙文字，保留右侧人物和礼盒。 */
.home .checkin-slide .local-banner { object-position: right center; }
.home .checkin-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#eeebff 0%,#eeebfffa 25%,#eeebffdc 46%,#eeebff30 73%,transparent); }
.home .checkin-copy { position: relative; z-index: 2; color: #7051da; margin: auto 0; padding: 25px; }
.home .checkin-copy h2 { font-size: 33px; line-height: 1.3; margin: 0 0 9px; color: #7960e8; font-weight: 900; letter-spacing: 2px; }
.home .checkin-copy p { color: #8a73bd; font-size: 11px; }
.home .checkin-copy .slide-cta { margin-top: 16px; border: 0; background: #8d74ee; color: #fff; padding: 7px 14px; font-size: 12px; }
@media (max-width: 899px) {
  .home .checkin-copy { padding: 20px; }
  .home .checkin-copy > small { display: none; }
  .home .checkin-copy h2 { font-size: 27px; line-height: 1.15; margin: 0 0 6px; }
  .home .checkin-copy p { font-size: 10px; margin: 0; }
  .home .checkin-copy .slide-cta { padding: 4px 10px; font-size: 10px; margin-top: 10px; }
}
@media (min-width: 900px) {
  .home .checkin-copy { padding: 35px 28px; }
  .home .checkin-copy h2 { font-size: clamp(30px,3vw,41px); }
}
