html,
body {
    min-height: 100%;
    margin: 0;
}

.home-sx-section {
    margin: 12px 0 18px;
    background: #e5e5e5;
}

.home-sx-box {
    width: 100%;
    margin-top: 0;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
}

.home-sx-box + .home-sx-box {
    margin-top: 8px;
}

.home-sx-box th {
    height: 34px;
    font-size: 16px;
    font-weight: 400;
    color: #222;
    background: #f1f1f1;
    border: 1px solid #d8ccb4;
}

.home-sx-box td {
    padding: 0;
    border: 1px solid #d8ccb4;
    background: #fff;
}

.home-sx-box-body {
    padding: 0 !important;
}

.home-sx-zodiac-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 8px 0;
}

.home-sx-zodiac-card {
    width: 33.33%;
    padding: 8px 2px 6px;
    text-align: center;
    box-sizing: border-box;
}

.home-sx-zodiac-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: #111;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.1;
    white-space: nowrap;
}

.home-sx-zodiac-name {
    margin-right: 1px;
}

.home-sx-zodiac-head img {
    width: 34px;
    height: 34px;
    margin: 0 1px 0 0;
    vertical-align: top;
}

.home-sx-zodiac-clash {
    color: #111;
    font-size: 12px;
}

.home-sx-zodiac-nums {
    padding-top: 3px;
}

.home-sx-num-chip {
    display: inline-block;
    min-width: 23px;
    height: 20px;
    margin: 1px 1px 0;
    padding: 0 2px;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    background: #d40000;
}

.home-sx-zodiac-nums .home-sx-num-chip:first-child {
    margin-left: 0;
}

.home-sx-num-chip.is-red {
    background: #d40000;
}

.home-sx-num-chip.is-blue {
    background: #3366ff;
}

.home-sx-num-chip.is-green {
    background: #09913f;
}

.home-sx-table-row {
    display: table;
    width: 100%;
    border-top: 1px solid #ddd;
}

.home-sx-table-row:first-child {
    border-top: 0;
}

.home-sx-table-label {
    display: table-cell;
    width: 52px;
    padding: 8px 4px;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    color: #2457d6;
    background: #fff;
    border-right: 1px solid #ddd;
}

.home-sx-table-content {
    display: table-cell;
    padding: 8px 6px;
    vertical-align: middle;
    background: #fff;
}

.home-sx-text-red {
    color: #d40000;
}

.home-sx-text-blue {
    color: #3366ff;
}

.home-sx-text-green {
    color: #09913f;
}

.home-sx-attrs {
    background: #fff;
}

.home-sx-attr-row {
    padding: 8px 10px;
    border-top: 1px solid #ddd;
    color: #333;
    line-height: 1.7;
    text-align: left;
}

.home-sx-attr-row:first-child {
    border-top: 0;
}

.home-sx-attr-label {
    font-weight: 400;
    color: #2457d6;
}

.home-sx-inline-group {
    display: inline-block;
    margin-right: 8px;
}

@media (max-width: 767px) {
    .home-sx-box th {
        font-size: 14px;
    }

    .home-sx-zodiac-card {
        width: 33.33%;
    }

    .home-sx-zodiac-head {
        font-size: 13px;
    }

    .home-sx-zodiac-head img {
        width: 30px;
        height: 30px;
    }

    .home-sx-table-label {
        width: 50px;
        font-size: 13px;
    }
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    background: #f4f4f4;
    color: #222;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.mobile-page {
    min-height: 100vh;
    padding: 12px 10px 80px;
}

.page-shell {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 30;
}

.notice-modal.is-hidden {
    display: none;
}

.notice-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
}

.notice-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(100% - 96px);
    max-width: 270px;
    padding: 12px 9px 11px;
    border: 4px solid #ff4c57;
    border-radius: 12px;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.notice-header {
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
}

.notice-header span {
    display: inline-block;
    min-width: 118px;
    padding: 6px 14px;
    border-radius: 12px 12px 9px 9px;
    background: linear-gradient(180deg, #ff544f 0%, #ff2a2a 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 4px 10px rgba(255, 74, 74, 0.35);
}

.notice-close {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b8b8b8;
    font-size: 26px;
    line-height: 24px;
    cursor: pointer;
}

.notice-countdown {
    position: absolute;
    right: 28px;
    top: 13px;
    color: #ff3a3a;
    font-size: 18px;
    font-weight: 500;
}

.notice-content {
    margin-top: 10px;
    color: #2f2f2f;
}

.notice-brand {
    margin: 6px 0 8px;
    text-align: center;
}

.notice-brand img {
    width: 74%;
    max-width: 180px;
    margin: 0 auto;
}

.notice-content-inner p {
    max-width: 100%;
}

.notice-content-inner > p:first-child {
    margin-bottom: 6px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 600;
}

.notice-content-inner > p:nth-child(2) span {
    padding: 5px 16px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #8e6f34 0%, #b9964d 100%) !important;
    color: #fff3ce !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.notice-content-inner > p:nth-child(4) span {
    padding: 9px 24px !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #a87d35 0%, #9a6f2c 100%) !important;
    color: #fff12b !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 2px 0 rgba(125,87,22,.18);
}

.notice-content-inner table {
    width: 100% !important;
    table-layout: fixed;
}

.notice-content-inner td {
    word-break: break-word;
    padding: 5px 3px !important;
    border: 1px solid #d7d7d7 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.notice-content-inner table:first-of-type td:nth-child(-n+3) {
    background: #fff !important;
}

.notice-content-inner table:nth-of-type(2) td {
    font-weight: 700 !important;
}

.notice-content-inner table:nth-of-type(2) td:first-child {
    background: #fff141 !important;
}

.notice-content-inner table:nth-of-type(2) span[style*="font-size:26px"] {
    font-size: 17px !important;
}

.notice-content-inner > p:last-child {
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    font-weight: 600;
}

.notice-hide-btn {
    display: block;
    margin: 10px auto 0;
    padding: 6px 16px;
    border: 2px solid #ff5252;
    border-radius: 16px;
    background: #fff;
    color: #ff2b2b;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

.mh-top-bar,
.mh-top-menu,
.mh-blue-banner,
.quick-entry,
.tag-grid,
.feature-panels,
.switch-tabs,
.live-card,
.cta-banner,
.ad-card,
.brand-grid,
.recommend-grid {
    margin-bottom: 10px;
}

.mh-top-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 5px 8px;
    background: #d71314;
    color: #fff;
}

.mh-top-left-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
}

.mh-top-center {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.mh-top-title {
    margin: 0;
    color: #ffe24a;
    font-size: 29px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.22);
}

.mh-top-domain {
    color: #fff;
    font-size: 22px;
    font-style: italic;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.03em;
}

.mh-top-wheel-img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    object-fit: contain;
}

.mh-top-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    color: #fff;
    font-size: 12px;
    line-height: 1.1;
    text-decoration: none;
    text-align: center;
}

.mh-top-home img {
    width: 32px;
    height: 32px;
    margin-bottom: 3px;
    object-fit: contain;
}

.mh-top-home span {
    white-space: nowrap;
}

.mh-top-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #d9d9d9;
    border-left: 1px solid #d9d9d9;
    background: #fff;
}

.mh-top-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 41px;
    border-right: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    color: #2a2323;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

.mh-menu-icon {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    flex-shrink: 0;
    object-fit: contain;
    vertical-align: middle;
}

.mh-blue-banner {
    overflow: hidden;
    background: #245eae;
}

.mh-blue-banner img,
.ad-card img {
    width: 100%;
    display: block;
}

.quick-entry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.entry-btn {
    display: block;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 60px;
    text-align: center;
}

.entry-green {
    background: linear-gradient(180deg, #1fd11d 0%, #10b611 100%);
    color: #fff;
}

.entry-orange {
    color: #ef6615;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
}

.tag-grid a {
    display: block;
    padding: 5px 4px;
    border-radius: 16px;
    background: #9e0000;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.feature-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #dcdcdc;
}

.feature-card {
    position: relative;
    min-height: 80px;
    padding: 14px 10px 10px;
    background: linear-gradient(180deg, #121924 0%, #020202 100%);
    color: #fff;
    text-align: center;
}

.feature-card h3 {
    margin: 8px 0 6px;
    color: #ff1010;
    font-size: 20px;
    font-weight: 900;
}

.feature-card:nth-child(2) h3 {
    color: #12a6ff;
}

.feature-card p {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}

.badge {
    position: absolute;
    left: 6px;
    top: 6px;
    width: 32px;
    height: 21px;
}

.switch-tabs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 4px;
    border: 1px solid #e4e4e4;
    border-radius: 8px 8px 0 0;
    background: #f5f5f5;
}

.switch-tabs a {
    display: block;
    padding: 8px 0;
    border-radius: 6px 6px 0 0;
    color: #333;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: background .22s ease, color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.switch-tabs a.active {
    background: #fff;
    color: #d71920;
    font-weight: 700;
    box-shadow: inset 0 -2px 0 #ff4d64, 0 1px 3px rgba(0, 0, 0, 0.08);
    transform: translateY(1px);
}

.switch-tabs-compact a {
    padding: 9px 0 8px;
    border-right: 0;
    font-size: 14px;
}

.switch-tabs-compact a:last-child {
    border-right: 0;
}

.switch-tabs-compact a.active {
    border-bottom: 0;
    color: #d61d27;
}

.switch-tabs-three {
    grid-template-columns: repeat(3, 1fr);
}

.embedded-kj-panel {
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    border: 1px solid #e1e1e1;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.embedded-kj-panel.is-switching:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.55);
    pointer-events: none;
    animation: kjPanelFade .22s ease both;
}

.embedded-kj-frame {
    display: none;
    width: 100%;
    height: 0;
    border: 0;
    background: #fff;
}

.embedded-kj-frame.active {
    display: block;
    animation: kjFrameIn .24s ease both;
}

@keyframes kjFrameIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kjPanelFade {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.live-card {
    padding: 12px 10px 10px;
    border: 1px solid #dadada;
    background: #fff;
}

.live-card-reference {
    padding: 0;
}

.live-header {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.live-title {
    font-size: 15px;
}

.live-title span,
.live-link {
    color: #cb2626;
}

.live-time {
    font-size: 18px;
    font-weight: 900;
}

.live-link {
    font-size: 14px;
}

.live-header-reference {
    padding: 8px 0 6px;
    margin: 0 0 6px;
}

.live-header-reference .live-title {
    padding-left: 2px;
    font-size: 14px;
    font-weight: 700;
}

.live-time-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    height: 34px;
    border: 2px solid #ff5a61;
    border-radius: 2px;
    background: #fff;
}

.live-header-reference .live-time {
    color: #2d2222;
    font-size: 17px;
    font-weight: 900;
}

.live-header-reference .live-link {
    padding-right: 2px;
    color: #dd3d3d;
}

.ball-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3px;
    margin-bottom: 12px;
}

.ball-item {
    min-width: 0;
    text-align: center;
}

.ball {
    width: 42px;
    height: 42px;
    margin: 0 auto 5px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #232323;
    font-size: 22px;
    font-weight: 900;
    line-height: 42px;
}

.ball-blue {
    background-image: url("../ref-materials/material-17.png");
}

.ball-green {
    background-image: url("../ref-materials/material-4.png");
}

.ball-red {
    background-image: url("../ref-materials/material-8.png");
}

.ball-gold {
    border: 2px solid #ccbb7b;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.ball-text {
    font-size: 11px;
    white-space: nowrap;
}

.ball-row-reference {
    margin-bottom: 8px;
    padding: 0 6px;
}

.ball-row-reference .ball-item {
    min-width: 40px;
}

.ball-row-reference .ball-text {
    color: #202020;
    font-size: 12px;
}

.plus {
    padding-top: 4px;
    color: #f31e26;
    font-size: 30px;
    font-weight: 700;
}

.issue-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.issue-text {
    color: #4d3939;
    font-size: 14px;
}

.countdown-hidden {
    display: none;
}

.js-countdown {
    color: #cb2626;
    font-weight: 900;
}

.refresh-btn {
    display: inline-block;
    min-width: 46px;
    padding: 10px 6px;
    border-radius: 4px;
    background: linear-gradient(180deg, #f3302a 0%, #be0504 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.issue-row-reference {
    padding: 0 2px 0 0;
    align-items: center;
}

.issue-text-reference {
    color: #2f2323;
    font-size: 13px;
    white-space: nowrap;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 55px;
    border-radius: 6px;
    background: linear-gradient(180deg, #5ad3ff 0%, #8d2fe3 100%);
    color: #ffcf9e;
    font-size: 16px;
    font-weight: 900;
}

.cta-hand {
    width: 49px;
    height: 23px;
    flex: none;
}

.ad-card {
    overflow: hidden;
    background: #fff;
}

.brand-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 2px 0 0;
    background: #fff;
}

.brand-item {
    padding: 0 2px 6px;
    text-align: center;
}

.brand-item img {
    width: 100%;
    max-width: 84px;
    margin: 0 auto 4px;
}

.brand-name {
    font-size: 13px;
}

.jump-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    margin-bottom: 10px;
    padding: 8px 14px 10px;
    border: 4px solid #ff4d64;
    border-radius: 4px;
    background: #fff;
}

.jump-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 118px;
    padding: 10px 6px 9px;
    border: 3px solid #fff000;
    background: #000;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.jump-card-frame {
    position: absolute;
    inset: 4px;
    border: 1px dashed #ff1a1a;
    pointer-events: none;
}

.jump-card-title {
    position: relative;
    z-index: 1;
    color: #ffff00;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
}

.jump-card-domain {
    position: relative;
    z-index: 1;
    color: #ff0000;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
}

.jump-card-desc {
    position: relative;
    z-index: 1;
    color: #2348ff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
}

.jump-card-desc-green {
    color: #00d940;
}

.jump-card-cta {
    position: relative;
    z-index: 1;
    color: #ff0000;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
}

.recommend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 4px;
    border: 2px solid #ff5f73;
    background: #fff;
}

.recommend-card {
    display: block;
    overflow: hidden;
    border: 1px dashed #666;
    border-radius: 4px;
    background: #fff;
    text-align: center;
}

.recommend-card-top {
    padding: 7px 8px;
    background: linear-gradient(180deg, #ff2048 0%, #ec002a 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.recommend-card-name {
    padding: 14px 8px 8px;
    color: #f24424;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.recommend-card-link {
    padding: 0 8px 14px;
    color: #7fd2b0;
    font-size: 17px;
    line-height: 1.2;
}

.homepage-plan-section {
    margin-bottom: 10px;
}

.homepage-plan-section .plan-board {
    margin-top: 0;
}

.home-special-plan-section {
    margin-bottom: 10px;
}

.app-promo-card {
    margin-bottom: 10px;
    padding: 10px 10px 8px;
    border: 2px solid #ff6d7f;
    border-radius: 4px;
    background: #fff;
}

.app-promo-card-inline {
    margin-top: -2px;
}

.app-promo-top {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
}

.app-promo-logo img {
    display: block;
    width: 70px;
    height: 70px;
    margin: 0 auto 4px;
    border-radius: 14px;
    object-fit: cover;
}

.app-promo-domain {
    color: #111;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.app-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
}

.app-promo-col {
    min-width: 0;
}

.app-promo-line {
    color: #111;
    font-size: 12px;
    line-height: 1.55;
    white-space: nowrap;
}

.app-promo-key {
    color: #111;
}

.app-promo-value {
    color: #111;
}

.app-promo-stars {
    color: #ffbc1a;
    letter-spacing: 1px;
}

.app-promo-safe {
    margin-top: 8px;
    padding-left: 22px;
    color: #19b26c;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    position: relative;
}

.app-promo-safe:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #21bf73;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 16px;
    text-align: center;
    transform: translateY(-50%);
}

.app-promo-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.app-promo-btn {
    display: block;
    padding: 12px 6px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.app-promo-btn.android {
    background: linear-gradient(180deg, #cf72ff 0%, #8c34ff 100%);
}

.app-promo-btn.iphone {
    background: linear-gradient(180deg, #ff7575 0%, #ff5050 100%);
}

.app-promo-btn.site {
    background: linear-gradient(180deg, #58cc59 0%, #2fab35 100%);
}

.home-special-card {
    margin-bottom: 10px;
    border: 1px solid #ff3b3b;
    background: #fff;
}

.home-special-title-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #970000;
    table-layout: fixed;
}

.home-special-title-table td {
    height: 36px;
    padding: 0;
    border: 4px double #fff;
    outline: 2px solid #8a0000;
    outline-offset: -2px;
    background: #970000;
    vertical-align: middle;
}

.home-special-title-text {
    display: inline-block;
    color: #ffff00;
    font-family: "KaiTi", "STKaiti", "KaiTi_GB2312", serif;
    font-size: 18pt;
    font-weight: 900;
    line-height: 1;
    text-shadow: 1px 1px 0 #5f0000;
}

.home-special-title-brand {
    color: #ffff00;
}

.home-special-body {
    background: #fff;
}

.home-plan-inline-notice {
    margin-bottom: 10px;
    border: 1px solid #111;
    background: #fff;
}

.home-plan-inline-row {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 80px;
    border-bottom: 1px solid #cfcfcf;
}

.home-plan-inline-row:last-child {
    border-bottom: 0;
}

.home-plan-inline-side {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #18bf93;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.18;
    text-align: center;
}

.home-plan-inline-main {
    min-width: 0;
}

.home-plan-inline-top {
    padding: 9px 6px 8px;
    border-bottom: 1px solid #e5e5e5;
    background: #fbff00;
    color: #111;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.home-plan-inline-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 6px 7px;
    background: #fff;
    color: #111;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
    white-space: nowrap;
}

.home-plan-inline-arrow {
    color: #ff2a12;
    font-size: 34px;
    font-weight: 900;
    line-height: 0.7;
}

.home-plan-inline-bottom strong {
    color: #ff1010;
    font-size: 25px;
    font-weight: 900;
}

.home-special-row {
    padding: 4px 8px 3px;
    border-bottom: 1px solid #d9d9d9;
    color: #0a8d11;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.28;
    text-align: center;
}

.home-special-row.is-rich {
    text-align: left;
}

.home-special-row.is-centered-down {
    padding-top: 8px;
    padding-bottom: 6px;
    text-align: center;
}

.home-special-row.is-centered-down .home-special-row-top,
.home-special-row.is-centered-down .home-special-grid-line,
.home-special-row.is-centered-down .home-special-number-line,
.home-special-row.is-centered-down .home-special-domain-line,
.home-special-row.is-centered-down .home-special-wuxing-line {
    text-align: center;
}

.home-special-row.is-centered-down .home-special-row-top {
    margin-bottom: 4px;
}

.home-special-row.is-new-plan {
    background: linear-gradient(180deg, #fffefa 0%, #fff8df 100%);
}

.home-special-row.is-table-row {
    display: grid;
    grid-template-columns: 92px 1fr auto auto;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.home-special-row:last-child {
    border-bottom: 0;
}

.home-special-issue {
    color: #1545ff;
}

.home-special-label {
    color: #0a8d11;
}

.home-special-label-purple {
    color: #1f18ff;
}

.home-special-target {
    color: #ff2222;
    font-weight: 900;
}

.home-special-mark {
    display: inline-block;
    padding: 0 1px;
    background: #fff13b;
    color: #ff2222;
    font-weight: 900;
    line-height: 1.1;
}

.home-special-open {
    color: #ff2222;
    font-weight: 900;
}

.home-special-result {
    margin-left: 2px;
    color: #ff2222;
    font-weight: 900;
}

.home-special-result.is-hit {
    color: #ff2222;
}

.home-special-result.is-pending {
    color: #666;
}

.home-special-row-top {
    color: #111;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.home-special-rich-issue {
    margin-bottom: 2px;
    color: #1d4cff;
    font-size: 14px;
    font-weight: 800;
}

.home-fortune-line {
    color: #111;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.home-fortune-accent {
    color: #ff1f1f;
}

.home-fortune-green,
.home-fortune-target-green {
    color: #11a94c;
}

.home-special-tag-pink {
    display: inline-block;
    padding: 1px 8px;
    background: #ff2c84;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

.home-special-grid-line {
    color: #111;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.home-new-group-line,
.home-new-calc-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px 8px;
    color: #111;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
}

.home-new-group,
.home-new-calc-item {
    color: #111;
}

.home-new-calc-item b {
    color: #ff2222;
    font-weight: 900;
}

.home-special-wave-line {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 2px;
    margin-bottom: 1px;
}

.home-special-wave {
    font-size: 13px;
    font-weight: 900;
}

.home-special-wave.red {
    color: #ff1e1e;
}

.home-special-wave.blue {
    color: #1d63ff;
}

.home-special-number-line {
    color: #1d4cff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    text-align: left;
    word-break: break-all;
}

.home-special-domain-line {
    color: #1aaa39;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
}

.home-special-domain-orange {
    display: inline-block;
    padding: 1px 6px;
    background: #ff7c27;
    color: #111;
}

.home-special-buy-text {
    color: #111;
    font-size: 15px;
    font-weight: 900;
}

.home-special-wuxing-line {
    color: #2d57ff;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
}

.home-special-wuxing-name {
    color: #7e32ff;
}

.home-wuxiao-values {
    margin-top: 3px;
    color: #111;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.home-wuxiao-item {
    display: inline;
    color: #111;
}

.home-wuxiao-item.is-hit {
    background: #fff13b;
    color: #111;
}

.home-special-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px 5px;
    border-top: 1px solid #d9d9d9;
    background: #fff;
    text-align: center;
}

.home-special-ad-icon {
    width: 34px;
    height: auto;
    flex: none;
}

.home-special-ad-text {
    min-width: 0;
    color: #ff1e1e;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.1;
}

.home-special-ad-highlight {
    color: #fff100;
    text-shadow: 1px 1px 0 #008d1f, -1px -1px 0 #008d1f, 1px -1px 0 #008d1f, -1px 1px 0 #008d1f;
}

.home-facai-card {
    margin-bottom: 10px;
    border: 1px solid #111;
    background: #fff;
}

.home-facai-title {
    padding: 8px 8px 7px;
    border: 4px double #fff;
    outline: 2px solid #8a0000;
    outline-offset: -2px;
    background: #970000;
    color: #ffff00;
    font-family: "KaiTi", "STKaiti", "KaiTi_GB2312", serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}

.home-facai-ad {
    padding: 6px 6px 5px;
    border-bottom: 1px solid #111;
    background: #ffff00;
    color: #111;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.home-facai-ad-icon {
    display: inline-block;
    margin-right: 4px;
    color: #b27a00;
    transform: rotate(-18deg);
}

.home-facai-ad strong,
.home-facai-ad .home-special-mark {
    color: #ff0000;
}

.home-facai-row {
    padding: 5px 8px 6px;
    border-bottom: 1px solid #111;
    background: #fff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}

.home-facai-row:last-child {
    border-bottom: 0;
}

.home-facai-line {
    color: #0048ff;
}

.home-facai-issue {
    color: #0048ff;
}

.home-facai-open,
.home-facai-row .home-special-result {
    color: #ff00b8;
}

.home-facai-zodiac {
    color: #078a00;
}

.home-facai-numbers {
    color: #ff0000;
}

.site-domain-panel {
    margin-bottom: 10px;
    border: 3px solid #ff4d64;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
}

.site-domain-panel-head {
    padding: 9px 8px 8px;
    background: #008614;
    color: #ffef22;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.site-domain-panel-body {
    background: #fff;
}

.site-domain-main {
    padding: 10px 8px 8px;
    border-top: 1px solid #d9d9d9;
    color: #111;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.site-domain-main-icon {
    display: inline-block;
    margin-right: 4px;
    color: #ff4f4f;
    font-size: 30px;
    line-height: 0.8;
    vertical-align: middle;
    transform: skewX(-12deg);
}

.site-domain-list {
    display: flex;
    flex-direction: column;
}

.site-domain-link {
    display: block;
    padding: 8px 8px 9px;
    border-top: 1px solid #d9d9d9;
    color: #ff1212;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.site-domain-rule {
    padding: 7px 8px 6px;
    border-top: 1px solid #d9d9d9;
    color: #6f4200;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    text-shadow: 1px 1px 0 #fff;
}

.site-domain-rule mark {
    padding: 0 3px;
    background: #fff200;
    color: #ff0000;
}

.site-domain-rule em {
    color: #ff0000;
    font-style: normal;
    text-decoration: underline;
}

.site-domain-examples {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d9d9d9;
}

.site-domain-example {
    display: block;
    padding: 8px 6px;
    border-right: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    color: #d71919;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}

.site-domain-example:nth-child(2n) {
    border-right: 0;
}

.site-domain-example:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
}

.site-domain-example-prefix {
    color: #00b82f;
}

.site-domain-example-domain {
    color: #d71919;
}

.home-sxbm-section {
    margin-bottom: 10px;
    border: 1px solid #ff4a4a;
    background: #fff;
}

.home-sxbm-title-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #970000;
    table-layout: fixed;
}

.home-sxbm-title-table td {
    height: 36px;
    padding: 0;
    border: 4px double #fff;
    outline: 2px solid #8a0000;
    outline-offset: -2px;
    background: #970000;
    vertical-align: middle;
}

.home-sxbm-title-text {
    display: inline-block;
    color: #ffff00;
    font-family: "KaiTi", "STKaiti", "KaiTi_GB2312", serif;
    font-size: 18pt;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 1px 1px 0 #5f0000;
}

.home-sxbm-title-brand {
    color: #ffff00;
}

.home-sxbm-update-box {
    padding: 4px;
    border-left: 1px solid #ff4a4a;
    border-right: 1px solid #ff4a4a;
    background: #fff;
}

.home-sxbm-update-inner {
    padding: 36px 8px 34px;
    border: 5px double #fff200;
    outline: 2px solid #fff200;
    outline-offset: -7px;
    background: #000;
    color: #fff200;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
}

.home-sxbm-update-title {
    color: #fff200;
}

.home-sxbm-update-line span {
    color: #fff200;
}

.home-sxbm-update-line strong,
.home-sxbm-update-url {
    color: #ff1212;
    font-weight: 900;
}

.home-sxbm-recommend {
    border-left: 7px solid #ff1128;
    border-right: 7px solid #ff1128;
    border-bottom: 7px solid #ff1128;
    background: #fff;
}

.home-sxbm-rec-row {
    display: block;
    padding: 7px 6px 6px;
    border-bottom: 1px solid #ececec;
    color: #4b00d8;
    font-weight: 900;
    text-align: center;
}

.home-sxbm-rec-row:last-child {
    border-bottom: 0;
}

.home-sxbm-rec-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    font-size: 18px;
    line-height: 1.25;
    white-space: nowrap;
}

.home-sxbm-rec-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 26px;
    margin-right: 2px;
    border: 1px solid currentColor;
    border-radius: 3px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-shadow: none;
}

.home-sxbm-rec-badge:before {
    display: inline-block;
    margin-right: 2px;
    font-size: 20px;
    line-height: 1;
}

.home-sxbm-rec-badge.top {
    border-color: #17bc38;
    background: #22b93b;
}

.home-sxbm-rec-badge.top:before {
    content: "✓";
    color: #0ab02a;
    background: #fff;
}

.home-sxbm-rec-badge.horse {
    border-color: #ff1493;
    background: #ff1493;
}

.home-sxbm-rec-badge.horse:before {
    content: "♞";
    color: #fff;
}

.home-sxbm-rec-badge.elite {
    border-color: #004bff;
    background: #fff200;
    color: #004bff;
}

.home-sxbm-rec-badge.elite:before {
    content: "◆";
    color: #004bff;
}

.home-sxbm-rec-name,
.home-sxbm-rec-title,
.home-sxbm-rec-sub {
    color: #4b00d8;
}

.home-sxbm-rec-sub {
    margin-top: 2px;
    font-size: 20px;
    line-height: 1.25;
}

.home-sxbm-rec-view {
    margin-left: 7px;
}

.home-sxbm-rec-view.green {
    color: #16b946;
}

.home-sxbm-rec-view.pink {
    color: #ff00d8;
}

.home-sxbm-body {
    background: #fff;
}

.home-sxbm-row {
    padding: 7px 8px 6px;
    border-bottom: 1px solid #ffb4b4;
    text-align: center;
}

.home-sxbm-row:last-child {
    border-bottom: 0;
}

.home-sxbm-meta {
    color: #111;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.home-sxbm-issue {
    margin-right: 3px;
}

.home-sxbm-type {
    margin-right: 4px;
    color: #8f30ff;
}

.home-sxbm-open {
    color: #ff8d23;
}

.home-sxbm-status {
    margin-left: 2px;
    font-weight: 900;
}

.home-sxbm-status.is-hit {
    color: #ff3030;
}

.home-sxbm-status.is-miss {
    color: #ff3030;
}

.home-sxbm-status.is-pending {
    color: #666;
}

.home-sxbm-groups {
    margin-top: 3px;
    color: #ff2020;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
}

.home-sxbm-chip {
    display: inline-block;
    margin: 0 3px;
}

.home-sxbm-group-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.home-sxbm-group-line + .home-sxbm-group-line {
    margin-top: 1px;
}

.home-sxbm-zodiac.is-hit,
.home-sxbm-num.is-hit {
    background: #fff13b;
}

.home-sxbm-empty {
    padding: 14px 8px;
    color: #666;
    font-size: 14px;
    text-align: center;
}

.home-special-empty {
    margin: 10px 0 14px;
    padding: 14px 8px;
    border: 1px solid #f0d2d2;
    background: #fff;
    color: #666;
    font-size: 14px;
    text-align: center;
}

.home-sxbm-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 8px 4px;
    border-top: 1px solid #ffb4b4;
    background: #fff;
    text-align: center;
}

.home-sxbm-ad-icon {
    width: 34px;
    height: auto;
    flex: none;
}

.home-sxbm-ad-text {
    min-width: 0;
    color: #ff1e1e;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
}

.home-sxbm-ad-highlight {
    color: #fff100;
    text-shadow: 1px 1px 0 #008d1f, -1px -1px 0 #008d1f, 1px -1px 0 #008d1f, -1px 1px 0 #008d1f;
}

.home-open-grid {
    position: relative;
    margin-bottom: 10px;
    border: 2px solid #ff6a7c;
    background: #f7f4ea;
}

.home-open-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 12px 18px 12px 58px;
    border-top: 1px solid #d8c89c;
    border-bottom: 1px solid #d8c89c;
    background: #f8f6eb;
}

.home-open-card:first-child {
    border-top: 0;
}

.home-open-card:last-child {
    border-bottom: 0;
}

.home-open-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
}

.home-open-speaker {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-open-title {
    color: #2e26fa;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.home-open-corner {
    position: absolute;
    top: 3px;
    width: 18px;
    height: 18px;
    border-top: 2px solid #c8ac62;
}

.home-open-corner:before,
.home-open-corner:after {
    content: "";
    position: absolute;
    background: #c8ac62;
}

.home-open-corner:before {
    top: 4px;
    width: 12px;
    height: 2px;
}

.home-open-corner:after {
    top: -2px;
    width: 2px;
    height: 12px;
}

.home-open-corner-left {
    left: 6px;
    border-left: 2px solid #c8ac62;
}

.home-open-corner-left:before {
    left: 4px;
}

.home-open-corner-left:after {
    left: 4px;
}

.home-open-corner-right {
    right: 6px;
    border-right: 2px solid #c8ac62;
}

.home-open-corner-right:before {
    right: 4px;
}

.home-open-corner-right:after {
    right: 4px;
}

.home-open-grid:before {
    content: "";
    position: absolute;
    right: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-align: center;
}

.home-open-grid:before {
    bottom: 66px;
    width: 52px;
    height: 52px;
    border: 4px solid #2f9a70;
    color: #2f9a70;
    font-size: 11px;
    line-height: 1.05;
    content: "推荐";
    background: rgba(255, 255, 255, 0.9);
}

.back-to-top {
    position: fixed;
    right: calc(50% - 205px + 10px);
    bottom: 90px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(180deg, #ff6969 0%, #ff2323 50%, #cf0000 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    box-shadow: 0 10px 24px rgba(175, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, box-shadow .2s ease;
}

.back-to-top:hover {
    box-shadow: 0 12px 28px rgba(175, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.back-to-top-arrow {
    display: block;
    margin-top: -2px;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.back-to-top-text {
    display: block;
    margin-top: -1px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.4px;
}

.back-to-top.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
}

.home-ad-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.home-ad-stack-item {
    display: block;
    line-height: 0;
}

.home-ad-stack-item img {
    display: block;
    width: 100%;
    height: auto;
}

.history-panel {
    background: #fff;
    border: 1px solid #d8d8d8;
}

.history-topbar {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 12px 12px 10px;
    border-bottom: 1px solid #ededed;
    background: #fff;
}

.history-topbar h1 {
    margin: 8px 0 0;
    font-size: 20px;
    text-align: center;
}

.history-back {
    color: #c62727;
    font-size: 14px;
}

.history-item {
    padding: 12px 10px;
    border-bottom: 1px solid #efefef;
}

.history-item:last-child {
    border-bottom: 0;
}

.history-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.history-ball-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3px;
}

.bottom-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 9;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 430px;
    padding: 8px 10px;
    transform: translateX(-50%);
    background: rgba(28, 17, 19, 0.94);
    color: #faf3f3;
}

.close-btn {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #452b2b;
    font-size: 20px;
    line-height: 24px;
    cursor: pointer;
}

.bottom-copy {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
}

.bottom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    white-space: nowrap;
}

.bottom-btn.danger {
    padding: 0 12px;
    border-radius: 4px;
    background: #e31f23;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.bottom-btn.warn img {
    width: 94px;
    height: 38px;
}

@media (min-width: 431px) {
    .page-shell {
        overflow: hidden;
        border-radius: 10px;
    }
}

@media (max-width: 390px) {
    .back-to-top {
        right: 10px;
        bottom: 86px;
        width: 50px;
        height: 50px;
    }

    .notice-dialog {
        width: calc(100% - 64px);
        padding: 12px 8px 11px;
    }

    .notice-header span {
        min-width: 110px;
        font-size: 15px;
    }

    .notice-countdown {
        right: 24px;
        top: 12px;
        font-size: 16px;
    }

    .notice-brand img {
        width: 78%;
    }

    .entry-btn {
        font-size: 21px;
    }

    .tag-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .live-header {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .live-time,
    .live-link {
        justify-self: start;
    }

    .ball {
        width: 38px;
        height: 38px;
        font-size: 20px;
        line-height: 38px;
    }

}
