* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }
[hidden] { display: none !important; }
:root { --site-width: 820px; }
html { overflow-y: scroll; scrollbar-gutter: stable both-edges; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { background: #232323; }
body.wide-home { background: #fff; min-width: 840px; overflow-x: hidden; visibility: visible; }
body.wide-home.ui-ready { visibility: visible; }
.container { max-width: 600px; margin: 0 auto; background: #fff; padding: 10px; box-shadow: 0 0 24px rgba(0,0,0,0.35); }
.wide-home .container { width: var(--site-width); min-width: var(--site-width); max-width: var(--site-width); box-shadow: none; }
.wide-home .container { padding-top: 312px; }
.wide-home .top-fixed-shell { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: min(100%, var(--site-width)); max-width: var(--site-width); height: 302px; overflow: hidden; z-index: 1000; background: #fff; padding: 10px 10px 0; }
body.wide-home.has-header-right-image .container { padding-top: 328px; }
body.wide-home.history-page.has-header-right-image .container,
body.wide-home.insider-page.has-header-right-image .container { padding-top: 10px; }
body.wide-home.has-header-right-image .top-fixed-shell { height: 318px; }
header { display: flex; justify-content: center; align-items: center; border-bottom: 2px solid #fde7e7; padding-bottom: 10px; margin-bottom: 10px; }
.logo { font-size: 28px; font-weight: bold; font-style: italic; background: linear-gradient(135deg, #ff5252, #ffd54f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 2px 6px rgba(230,0,18,0.25); }
.wide-home .logo { font-size: 36px; background: linear-gradient(135deg, #1e88e5, #0d47a1); -webkit-background-clip: text; background-clip: text; text-shadow: none; }
.wide-home header { justify-content: flex-start; align-items: center; gap: 12px; background: #1e88e5; border-bottom: none; padding: 14px 18px; border-radius: 5px; }
.wide-home .logo-split { flex: 0 0 auto; background: none; -webkit-text-fill-color: initial; font-size: 42px; line-height: 1; letter-spacing: 0; -webkit-text-stroke: 0.6px rgba(255,255,255,0.72); text-shadow: 0 1px 1px rgba(255,255,255,0.55); }
.wide-home .logo-red { color: #e60012; }
.wide-home .logo-blue,
.wide-home .logo-title { color: #0d47a1; }
.wide-home .header-date { flex: 1 1 auto; min-width: 0; color: #fff; font-size: 20px; font-weight: 900; line-height: 1.25; text-align: right; white-space: nowrap; text-shadow: 0 1px 1px rgba(0,0,0,0.22); }
.wide-home .header-right-link { flex: 0 0 auto; display: block; margin-right: -10px; }
.wide-home .header-right-link .header-right-image { margin-right: 0; }
.wide-home .header-right-image { flex: 0 0 auto; width: 94px; height: 58px; object-fit: contain; display: block; margin-right: -10px; }

body.wide-home[data-page-platform="macau"] { background: #fff; }
body.wide-home[data-page-platform="macau"] .container { background: #fff; }
body.wide-home[data-page-platform="macau"] .top-fixed-shell { background: #fff; }
body.wide-home[data-page-platform="macau"] header { background: #1e88e5; }
body.wide-home[data-page-platform="macau"] .logo-red { color: #e60012; }
body.wide-home[data-page-platform="macau"] .logo-blue,
body.wide-home[data-page-platform="macau"] .logo-title { color: #0d47a1; }
body.wide-home[data-page-platform="macau"] .tabs a { background: #e60012; }
body.wide-home[data-page-platform="macau"] .tabs a:hover { background: #c40010; }
body.wide-home[data-page-platform="macau"] .tabs a.active { background: #a8000d; outline-color: #ff9aa2; box-shadow: inset 0 -4px 0 #ffd54f; }
body.wide-home[data-page-platform="macau"] .notice-bar { background: linear-gradient(135deg, #1e88e5, #0d47a1); }
body.wide-home[data-page-platform="macau"] .lottery-card .card-header { background: linear-gradient(to bottom, #b3e5fc, #e3f2fd); border-bottom-color: #90caf9; }
body.wide-home[data-page-platform="macau"] .top-fixed-lottery { background: #fff; border-color: #1e88e5; }
body.wide-home[data-page-platform="macau"] .official-station { background: linear-gradient(135deg, #ffb300, #ff8f00); }
body.wide-home[data-page-platform="macau"] .nav-grid { background: linear-gradient(135deg, #42a5f5, #1565c0); }
body.wide-home[data-page-platform="macau"] .record-frame { border-color: #1e88e5; }
body.wide-home[data-page-platform="macau"] .history { color: #d97706; }
body.wide-home[data-page-platform="macau"] .period-no { color: #e60012; }

body.wide-home[data-page-platform="kl8"] { background: linear-gradient(180deg, #fff7ea 0%, #fffdf8 100%); }
body.wide-home[data-page-platform="kl8"] .container { background: #fffdf8; }
body.wide-home[data-page-platform="kl8"] .top-fixed-shell { background: linear-gradient(180deg, #fff1d6 0%, #fffdf8 100%); }
body.wide-home[data-page-platform="kl8"] header { background: linear-gradient(135deg, #b71c1c 0%, #f57c00 100%); }
body.wide-home[data-page-platform="kl8"] .logo-red { color: #fff176; }
body.wide-home[data-page-platform="kl8"] .logo-blue,
body.wide-home[data-page-platform="kl8"] .logo-title { color: #fff; }
body.wide-home[data-page-platform="kl8"] .tabs a { background: linear-gradient(135deg, #c62828 0%, #ef6c00 100%); }
body.wide-home[data-page-platform="kl8"] .tabs a:hover { background: linear-gradient(135deg, #ad1457 0%, #e65100 100%); }
body.wide-home[data-page-platform="kl8"] .tabs a.active { background: linear-gradient(135deg, #8e1b1b 0%, #f9a825 100%); outline-color: #ffe082; box-shadow: inset 0 -4px 0 #fff176; }
body.wide-home[data-page-platform="kl8"] .notice-bar { background: linear-gradient(135deg, #c62828 0%, #ff8f00 100%); }
body.wide-home[data-page-platform="kl8"] .lottery-card .card-header { background: linear-gradient(to bottom, #ffe0b2 0%, #fff3e0 100%); border-bottom-color: #ffb74d; }
body.wide-home[data-page-platform="kl8"] .top-fixed-lottery { background: #fff7ec; border-color: #f6c177; }
body.wide-home[data-page-platform="kl8"] .official-station { background: linear-gradient(135deg, #ffb300 0%, #e65100 100%); }
body.wide-home[data-page-platform="kl8"] .nav-grid { background: linear-gradient(135deg, #f57c00 0%, #b71c1c 100%); }
body.wide-home[data-page-platform="kl8"] .record-frame { border-color: #f57c00; }
body.wide-home[data-page-platform="kl8"] .history { color: #b45309; }
body.wide-home[data-page-platform="kl8"] .period-no { color: #c62828; }

body.wide-home[data-page-platform="hk"] { background: linear-gradient(180deg, #eefbf7 0%, #fbfeff 100%); }
body.wide-home[data-page-platform="hk"] .container { background: #fbfffd; }
body.wide-home[data-page-platform="hk"] .top-fixed-shell { background: linear-gradient(180deg, #e3fff4 0%, #fbfffd 100%); }
body.wide-home[data-page-platform="hk"] header { background: linear-gradient(135deg, #0f766e 0%, #1d4ed8 100%); }
body.wide-home[data-page-platform="hk"] .logo-red { color: #67e8f9; }
body.wide-home[data-page-platform="hk"] .logo-blue,
body.wide-home[data-page-platform="hk"] .logo-title { color: #fff; }
body.wide-home[data-page-platform="hk"] .tabs a { background: linear-gradient(135deg, #0f766e 0%, #0ea5e9 100%); }
body.wide-home[data-page-platform="hk"] .tabs a:hover { background: linear-gradient(135deg, #115e59 0%, #0284c7 100%); }
body.wide-home[data-page-platform="hk"] .tabs a.active { background: linear-gradient(135deg, #115e59 0%, #22c55e 100%); outline-color: #99f6e4; box-shadow: inset 0 -4px 0 #67e8f9; }
body.wide-home[data-page-platform="hk"] .notice-bar { background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%); }
body.wide-home[data-page-platform="hk"] .lottery-card .card-header { background: linear-gradient(to bottom, #dffbf0 0%, #eefbf7 100%); border-bottom-color: #5eead4; }
body.wide-home[data-page-platform="hk"] .top-fixed-lottery { background: #f2fffb; border-color: #9eead5; }
body.wide-home[data-page-platform="hk"] .official-station { background: linear-gradient(135deg, #059669 0%, #0f766e 100%); }
body.wide-home[data-page-platform="hk"] .nav-grid { background: linear-gradient(135deg, #0ea5e9 0%, #0f766e 100%); }
body.wide-home[data-page-platform="hk"] .record-frame { border-color: #0f766e; }
body.wide-home[data-page-platform="hk"] .history { color: #0f766e; }
body.wide-home[data-page-platform="hk"] .period-no { color: #047857; }

@media (max-width: 560px) {
    :root { --site-width: 100vw; }
    body.wide-home.has-header-right-image .container { padding-top: clamp(122px, calc(12.5vh + 6px), 140px); }
    body.wide-home.has-header-right-image .top-fixed-shell { height: clamp(116px, 12.5vh, 136px); }
    .wide-home .top-fixed-shell { height: clamp(112px, 12.5vh, 132px); padding: 1px 4px 0; overflow: visible; }
    .wide-home .container { padding-left: 6px; padding-right: 6px; padding-top: clamp(118px, calc(12.5vh + 4px), 138px); }
    .wide-home header { flex-wrap: nowrap; gap: 1px 3px; padding: 2px 5px; }
    .wide-home .logo-split { font-size: 16px; }
    .wide-home .header-date { flex-basis: auto; font-size: 7px; text-align: right; }
    .wide-home .header-right-link { margin-right: -4px; }
    .wide-home .header-right-image { width: 54px; height: 34px; margin-right: -4px; }
    .wide-home .tabs { gap: 2px; margin: 1px 0; }
    .wide-home .tabs a { height: 14px; min-height: 14px; border-radius: 4px; font-size: 6px; padding: 0 1px; gap: 1px; }
    .wide-home .tabs .tab-icon { width: 8px; height: 8px; }
    .wide-home .top-fixed-lottery { padding: 1px; flex-shrink: 0; overflow: visible; }
    .wide-home .top-fixed-lottery .card-header { min-height: 16px; padding-left: 22px; padding-right: 24px; margin-bottom: 0; }
    .wide-home .top-fixed-lottery .card-header h3 { font-size: 7px; white-space: nowrap; }
    .wide-home .top-fixed-lottery .refresh-btn { min-width: 22px; height: 13px; padding: 0 1px; font-size: 6px; line-height: 13px; }
    .wide-home .top-fixed-lottery .balls-container { justify-content: center; gap: 1px; }
    .wide-home .top-fixed-lottery .ball,
    .wide-home .top-fixed-lottery .special { width: 32px; height: 32px; border-radius: 4px; color: #fff; padding: 1px 0; box-sizing: border-box; line-height: .9; border: 1px solid rgba(0,0,0,.16); }
    .wide-home .top-fixed-lottery .red { background: #d32f2f; }
    .wide-home .top-fixed-lottery .blue { background: #1565c0; }
    .wide-home .top-fixed-lottery .green { background: #1b8f3a; }
    .wide-home .top-fixed-lottery .ball .num,
    .wide-home .top-fixed-lottery .special .num { font-size: 13px; line-height: 1; color: #fff; }
    .wide-home .top-fixed-lottery .ball .zodiac,
    .wide-home .top-fixed-lottery .special .zodiac { font-size: 8px; line-height: 1; color: #fff; }
    .wide-home .top-fixed-lottery .plus { margin: 0; font-size: 10px; }
    .wide-home main .lottery-card .card-header h3 { font-size: 9px; }
    .wide-home main .lottery-card .balls-container { gap: 2px; }
    .wide-home main .lottery-card .ball,
    .wide-home main .lottery-card .special {
        width: 36px;
        height: 36px;
        border-radius: 5px;
        color: #fff;
        padding: 1px 0;
        box-sizing: border-box;
        line-height: .9;
        border: 1px solid rgba(0,0,0,.16);
        box-shadow: none;
        text-shadow: none;
    }
    .wide-home main .lottery-card .ball .num,
    .wide-home main .lottery-card .special .num { font-size: 13px; line-height: 1; color: #fff; }
    .wide-home main .lottery-card .ball .zodiac,
    .wide-home main .lottery-card .special .zodiac { font-size: 8px; line-height: 1; color: #fff; }
    .wide-home main .lottery-card .plus { margin: 0; font-size: 10px; }
    .wide-home .notice-bar { padding: 4px 5px; font-size: 10px; }
    .wide-home .notice-bar strong { font-size: 12px; }
}

.tabs { text-align: center; margin: 12px 0; }
.tabs a { text-decoration: none; margin: 0 8px; padding: 4px 12px; color: #555; font-weight: bold; cursor: pointer; border-radius: 15px; transition: all .2s; }
.tabs a:hover { color: #e60012; }
.tabs a.active { color: #fff; background: linear-gradient(135deg, #ff3d3d, #e60012); box-shadow: 0 2px 6px rgba(230,0,18,0.4); }
.wide-home .tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.wide-home .tabs a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; min-height: 44px; margin: 0; padding: 8px 8px; color: #fff; background: #e60012; border-radius: 16px; font-size: 18px; line-height: 1; text-align: center; white-space: nowrap; overflow: hidden; }
.wide-home .tabs .tab-icon { width: 26px; height: 26px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.wide-home .tabs .tab-icon-empty { display: block; visibility: hidden; }
.wide-home .tabs a:hover { color: #fff; background: #c40010; box-shadow: none; }
.wide-home .tabs a.active { color: #fff; background: #a8000d; box-shadow: inset 0 -4px 0 #ffd54f; outline: 2px solid #ff9aa2; outline-offset: -2px; }
.wide-home .top-fixed-lottery { margin-bottom: 0; padding: 8px; }
.wide-home .top-fixed-lottery .card-header { margin-bottom: 8px; padding-bottom: 5px; }
.wide-home .top-fixed-lottery .card-header h3 { font-size: 20px; }
.wide-home .top-fixed-lottery .balls-container { margin-bottom: 0; gap: 6px; }
.wide-home .top-fixed-lottery .ball .num,
.wide-home .top-fixed-lottery .special .num { font-size: 24px; }
.wide-home .top-fixed-lottery .ball .zodiac,
.wide-home .top-fixed-lottery .special .zodiac { font-size: 16px; }
.wide-home .record-frame { border: 2px solid #1e88e5; border-radius: 8px; padding: 10px; margin: 10px 0 15px; background: #fff; }
.wide-home .record-frame main { margin: 0; }
.notice-bar { background: linear-gradient(135deg, #ff3d3d, #e60012); color: #fff; text-align: center; padding: 10px; border-radius: 5px; margin-bottom: 10px; box-shadow: 0 2px 6px rgba(230,0,18,0.3); }
.wide-home .notice-bar { background: linear-gradient(135deg, #1e88e5, #0d47a1); padding: 14px 10px; font-size: 20px; line-height: 1.45; box-shadow: none; }
.wide-home .notice-bar strong { display: block; font-size: 22px; }
.banner { margin-bottom: 20px; }
.banner img { width: 100%; height: 160px; object-fit: cover; display: block; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.banner-ad img { height: 360px; object-fit: cover; object-position: center; background: #fff; }
.material-ad-slot { margin: 10px 0; }
.material-ad-slot img { height: 220px; object-fit: cover; object-position: center; }
@media (max-width: 560px) {
    .banner-ad img { height: 260px; }
    .material-ad-slot img { height: 180px; }
}
.lottery-card { border: 1px solid #f0f0f0; margin-bottom: 15px; padding: 12px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.card-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #fde7e7; padding-bottom: 6px; margin-bottom: 10px; }
.wide-home .card-header { justify-content: center; gap: 16px; }
.wide-home .lottery-card .card-header { background: linear-gradient(to bottom, #b3e5fc, #e3f2fd); border-bottom: 1px solid #90caf9; border-radius: 6px 6px 0 0; padding: 8px 10px; margin: -12px -12px 10px; }
.card-header h3 { color: #d32f2f; font-size: 22px; }
.wide-home .record-frame .card-header h3 { color: #222; }
.wide-home .period-no { color: #e60012; }
.time { color: #0d47a1; font-size: 18px; font-weight: 900; }
.history { color: #e60012; text-decoration: none; font-size: 18px; font-weight: 900; }
.wide-home .history { color: #d97706; }
.wide-home .record-frame .card-header { justify-content: flex-start; }
.wide-home .record-frame .history { margin-left: auto; text-align: right; }
.wide-home main .card-header { justify-content: flex-start; }
.wide-home main .history { margin-left: auto; text-align: right; }
.wide-home .top-fixed-lottery .card-header { justify-content: center; min-height: 40px; }
.wide-home .top-fixed-lottery .balls-container { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 0; width: 100%; margin-bottom: 10px; }
.wide-home .top-fixed-lottery .top-lottery-balls { gap: 0; }
.wide-home .top-fixed-lottery .refresh-btn {
    min-width: 42px;
    height: 24px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 24px;
    border-radius: 12px;
    margin-left: 0;
    justify-self: center;
}
.balls-container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.ball { width: 52px; height: 52px; border-radius: 50%; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; font-weight: bold; line-height: 1; box-shadow: 0 2px 5px rgba(0,0,0,0.25), inset 0 -2px 3px rgba(0,0,0,0.2); text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.ball .num { font-size: 20px; }
.ball .zodiac { font-size: 12px; font-weight: normal; }
.green { background: linear-gradient(135deg, #4caf50, #1b5e20); }
.red { background: linear-gradient(135deg, #ff5252, #c62828); }
.blue { background: linear-gradient(135deg, #42a5f5, #1565c0); }
.ball.placeholder {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 24%, rgba(255,255,255,0.95), rgba(255,255,255,0.2) 32%, transparent 34%),
        linear-gradient(135deg, #fff8df 0%, #ffd166 44%, #ff9f1c 100%);
    color: #7a3b00;
    border: 1px solid rgba(255, 183, 3, 0.85);
    box-shadow: 0 4px 10px rgba(255,159,28,0.35), inset 0 -3px 5px rgba(148,77,0,0.22), inset 0 2px 4px rgba(255,255,255,0.7);
    text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}
.ball.placeholder::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    border: 1px dashed rgba(122,59,0,0.28);
    pointer-events: none;
}
.ball.placeholder .num { font-size: 23px; font-weight: 900; }
.ball.placeholder .zodiac { min-height: 14px; }
@keyframes ball-reveal {
    0% { transform: translateY(-12px) rotateX(85deg) scale(0.72); opacity: 0; filter: blur(3px); }
    45% { transform: translateY(3px) rotateX(0) scale(1.16); opacity: 1; filter: blur(0); }
    70% { transform: translateY(-2px) scale(0.95); }
    100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
}
.lottery-revealing .ball.ball-reveal {
    transform-origin: center bottom;
    animation: ball-reveal 0.72s cubic-bezier(0.2, 0.9, 0.25, 1.2) both;
    will-change: transform, opacity, filter;
}
.lottery-revealing .ball.ball-reveal.special {
    animation-name: ball-reveal-special;
}
@keyframes ball-reveal-special {
    0% { transform: translateY(-18px) rotateX(90deg) scale(0.68); opacity: 0; filter: blur(4px); }
    42% { transform: translateY(4px) rotateX(0) scale(1.24); opacity: 1; filter: blur(0); box-shadow: 0 0 0 0 rgba(255, 238, 0, 0); }
    72% { transform: translateY(-3px) scale(0.92); box-shadow: 0 0 0 8px rgba(255, 238, 0, 0.28); }
    100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
}
.special { width: 58px; height: 58px; }
.special .num { font-size: 22px; }
.special .zodiac { font-size: 13px; }
.ball.hit {
    outline: 3px solid #ffff00;
    outline-offset: -3px;
    box-shadow: 0 0 0 2px rgba(255, 255, 0, 0.6), 0 2px 5px rgba(0,0,0,0.25), inset 0 -2px 3px rgba(0,0,0,0.2);
}
.plus { font-size: 24px; font-weight: bold; margin: 0 5px; color: #e60012; }
.next-info { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #666; }
.refresh-btn { background: linear-gradient(135deg, #ffb300, #ff8f00); border: none; padding: 5px 12px; color: #fff; cursor: pointer; border-radius: 15px; font-weight: bold; box-shadow: 0 2px 5px rgba(255,143,0,0.4); }

.wide-home .balls-container {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
}
.wide-home .ball,
.wide-home .special {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    box-shadow: none;
    text-shadow: none;
}
.wide-home .ball .num,
.wide-home .special .num {
    font-size: 28px;
}
.wide-home .ball .zodiac,
.wide-home .special .zodiac {
    font-size: 18px;
}
.wide-home .plus {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 32px;
}
.wide-home .red { background: #b91c1c; }
.wide-home .blue { background: #1d4ed8; }
.wide-home .green { background: #15803d; }

@media (max-width: 840px) {
    body.wide-home { min-width: 0; }
    .wide-home .container {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .wide-home .top-fixed-shell {
        left: 0;
        transform: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    body.wide-home.has-header-right-image .container { padding-top: clamp(126px, calc(12.5vh + 8px), 146px); }
    body.wide-home.has-header-right-image .top-fixed-shell { height: clamp(120px, 12.5vh, 140px); }
    .wide-home .top-fixed-shell { height: clamp(116px, 12.5vh, 136px); padding: 1px 4px 0; overflow: visible; }
    .wide-home .container { padding-left: 6px; padding-right: 6px; padding-top: clamp(122px, calc(12.5vh + 6px), 142px); }
    .wide-home header { gap: 2px 4px; padding: 3px 6px; }
    .wide-home .logo-split { font-size: 18px; }
    .wide-home .header-date { font-size: 8px; }
    .wide-home .header-right-image { width: 58px; height: 36px; }
    .wide-home .tabs { gap: 2px; margin: 1px 0; }
    .wide-home .tabs a { height: 15px; min-height: 15px; border-radius: 4px; font-size: 7px; padding: 0 1px; gap: 2px; }
    .wide-home .tabs .tab-icon { width: 9px; height: 9px; }
    .wide-home .top-fixed-lottery { margin-bottom: 0; padding: 1px; flex-shrink: 0; overflow: visible; }
    .wide-home .top-fixed-lottery .card-header { min-height: 18px; padding: 0 24px; margin: 0 0 1px; }
    .wide-home .top-fixed-lottery .card-header h3 { font-size: 8px; }
    .wide-home .top-fixed-lottery .refresh-btn { min-width: 24px; height: 14px; padding: 0 1px; font-size: 6px; line-height: 14px; right: 4px; }
    .wide-home .top-fixed-lottery .balls-container { gap: 0; width: 100%; }
    .wide-home .top-fixed-lottery .top-lottery-balls { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 0; width: 100%; }
    .wide-home .top-fixed-lottery .ball,
    .wide-home .top-fixed-lottery .special { width: 34px; height: 34px; padding: 2px 0; border-radius: 4px; }
    .wide-home .top-fixed-lottery .ball .num,
    .wide-home .top-fixed-lottery .special .num { font-size: 14px; }
    .wide-home .top-fixed-lottery .ball .zodiac,
    .wide-home .top-fixed-lottery .special .zodiac { font-size: 9px; }
    .wide-home .top-fixed-lottery .ball.placeholder .num { font-size: 16px; }
    .wide-home .top-fixed-lottery .ball.placeholder::after { inset: 3px; }
    .wide-home .top-fixed-lottery .plus { font-size: 12px; }
    .wide-home .top-fixed-lottery .top-lottery-balls .refresh-btn { justify-self: center; margin-left: 0; }
    .wide-home .notice-bar { padding: 5px; font-size: 11px; }
    .wide-home .notice-bar strong { font-size: 13px; }
}

.wide-home :is(.s5-title, .s6-title, .s8-top-title, .s9-top-title, .s10-top-title, .s11-top-title, .s12-top-title, .s14-top-title, .s15-top-title, .s16-top-title, .s18-top-title, .s19-top-title) {
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wide-home :is(.message-item, .green-row, .s5-green-row) {
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wide-home :is(.s15-list-row, .s16-list-row, .s18-row) {
    height: 50px;
    min-height: 50px;
    max-height: 50px;
    overflow: hidden;
}

.wide-home :is(.s15-list-row span, .s16-list-row span, .s18-row span, .message-item, .green-row, .s5-green-row) {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wide-home .s15-list-row,
.wide-home .s16-list-row {
    flex-wrap: nowrap;
}

.wide-home .s6-green-banner {
    height: 58px;
    min-height: 58px;
    max-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
}

.wide-home .s6-data-row,
.wide-home .s8-row,
.wide-home .s9-cell,
.wide-home .s10-row,
.wide-home .s11-data-row,
.wide-home .s12-cell {
    overflow: hidden;
}

.wide-home .s6-data-row { height: 76px; min-height: 76px; max-height: 76px; }
.wide-home .s8-row { min-height: 54px; }
.wide-home .s12-cell { min-height: 54px; height: auto; max-height: none; }
.wide-home .s9-cell { height: 64px; min-height: 64px; max-height: 64px; }
.wide-home .s10-row { height: 44px; min-height: 44px; max-height: 44px; }
.wide-home .s11-data-row { height: 84px; min-height: 84px; max-height: 84px; }

.wide-home :is(.s6-left, .s6-right, .s8-col-right, .s9-slogan, .s10-row, .s11-row-header, .s11-row-numbers, .s12-col-numbers, .s14-mid-line, .s18-number-title, .s18-note, .s19-sub-text, .s19-mini-note) {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ===== 以下为 2.html 合并内容（配色统一为红金样板） ===== */
.wide-home .disclaimer { background: #e8f5e9; color: #1b5e20; font-size: 18px; text-align: center; padding: 12px 10px; line-height: 1.6; border-radius: 5px; margin-bottom: 10px; font-weight: 700; }
.site-disclaimer { margin: 14px 0 0; border: 1px solid #bbf7d0; border-radius: 8px; background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%); color: #166534; overflow: hidden; }
.site-disclaimer-title { min-height: 42px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; background: #dcfce7; border-bottom: 1px solid #bbf7d0; font-size: 20px; font-weight: 900; text-align: center; }
.site-disclaimer-body { padding: 10px 12px 12px; text-align: center; font-size: 16px; font-weight: 700; line-height: 1.65; }
.site-disclaimer-body p { margin: 0; overflow-wrap: anywhere; }
.site-disclaimer-body p + p { margin-top: 4px; }
.official-station { background: linear-gradient(135deg, #ffb300, #ff8f00); color: #fff; text-align: center; padding: 10px; font-size: 16px; font-weight: bold; margin-bottom: 5px; border-radius: 5px; }
.wide-home .official-station { padding: 14px 10px; font-size: 22px; line-height: 1.45; margin-bottom: 12px; }
.wide-home .official-url-line { display: block; font-size: 20px; }
.official-link { background: #ffd54f; text-align: center; padding: 8px; font-size: 14px; color: #d32f2f; margin-bottom: 12px; border-radius: 5px; }
.divider { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: #d32f2f; font-weight: bold; }
.divider::before, .divider::after { content: ''; flex: 1; height: 2px; background: linear-gradient(to right, transparent, #e60012); }
.divider::after { background: linear-gradient(to left, transparent, #e60012); }
.nav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 5px; background: linear-gradient(135deg, #42a5f5, #1565c0); border-radius: 8px; margin-bottom: 10px; }
.nav-item { background: linear-gradient(135deg, #fff3e0, #ffd54f); border-radius: 8px; overflow: hidden; text-align: center; cursor: pointer; transition: transform 0.2s; }
.nav-item:hover { transform: translateY(-2px); }
.nav-item-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.nav-img { width: 100%; aspect-ratio: 1 / 1; background-color: #ccc; background-size: cover; background-position: center; border-bottom: 2px solid #fff; }
.nav-text { font-size: 22px; font-weight: 900; color: #d32f2f; padding: 12px 0; }
.img-1 { background-color: #d4a373; }
.img-2 { background-color: #e0e1dd; }
.img-3 { background-color: #f4a261; }
.img-4 { background-color: #e9c46a; }
.img-5 { background-color: #2a9d8f; }
.img-6 { background-color: #264653; }
.img-7 { background-color: #e76f51; }
.site-img-01 { background-image: url('../image/nav-sites/site-01.webp'); }
.site-img-02 { background-image: url('../image/nav-sites/site-02.webp'); }
.site-img-03 { background-image: url('../image/nav-sites/site-03.webp'); }
.site-img-04 { background-image: url('../image/nav-sites/site-04.webp'); }
.site-img-05 { background-image: url('../image/nav-sites/site-05.webp'); }
.site-img-06 { background-image: url('../image/nav-sites/site-06.webp'); }
.site-img-07 { background-image: url('../image/nav-sites/site-07.webp'); }
.site-img-08 { background-image: url('../image/nav-sites/site-08.webp'); }
.site-img-09 { background-image: url('../image/nav-sites/site-09.webp'); }
.site-img-10 { background-image: url('../image/nav-sites/site-10.webp'); }
.site-img-11 { background-image: url('../image/nav-sites/site-11.webp'); }
.site-img-12 { background-image: url('../image/nav-sites/site-12.webp'); }
.site-img-13 { background-image: url('../image/nav-sites/site-13.webp'); }
.site-img-14 { background-image: url('../image/nav-sites/site-14.webp'); }
.site-img-15 { background-image: url('../image/nav-sites/site-15.webp'); }
.site-img-16 { background-image: url('../image/nav-sites/site-16.webp'); }
.site-img-17 { background-image: url('../image/nav-sites/site-17.webp'); }
.site-img-18 { background-image: url('../image/nav-sites/site-18.webp'); }
.site-img-19 { background-image: url('../image/nav-sites/site-19.webp'); }
.site-img-20 { background-image: url('../image/nav-sites/site-20.webp'); }
.footer-nav { background: linear-gradient(135deg, #ff3d3d, #e60012); color: #fff; font-weight: 900; text-align: center; padding: 14px 10px; font-size: 22px; line-height: 1.25; border-radius: 5px; margin-bottom: 10px; }
.rules-list { border: 2px solid #f0f0f0; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); overflow: hidden; }
.rule-row { display: grid; grid-template-columns: 1.35fr auto auto; gap: 10px; justify-content: space-between; align-items: center; padding: 14px 12px; border-bottom: 1px solid #eee; font-size: 22px; line-height: 1.25; color: #333; font-weight: 900; }
.rule-row .zodiac { color: #d32f2f; font-weight: 900; font-size: 26px; white-space: nowrap; }
.rule-row .status { font-weight: 900; color: #ff8f00; font-size: 22px; white-space: nowrap; }
.rule-row:last-child { border-bottom: none; }

@media (max-width: 520px) {
    .footer-nav { font-size: 19px; padding: 12px 8px; }
    .site-disclaimer-title { min-height: 38px; font-size: 18px; }
    .site-disclaimer-body { padding: 9px 10px 11px; font-size: 14px; line-height: 1.55; }
    .rule-row { grid-template-columns: 1fr; gap: 4px; text-align: center; font-size: 19px; padding: 12px 8px; }
    .rule-row .zodiac { font-size: 23px; }
    .rule-row .status { font-size: 19px; }
}

/* ===== 以下为 4.html 合并内容（绿色样式） ===== */
.message-list { background: linear-gradient(135deg, #00c853, #00a651); border-top: 3px solid #fff; border-bottom: 3px solid #fff; padding: 2px; border-radius: 8px; margin-bottom: 10px; }
.message-item { color: #000; text-align: center; font-size: 18px; font-weight: 900; padding: 8px 0; border-bottom: 2px solid #fff; letter-spacing: 1px; }
.message-item:last-child { border-bottom: none; }
.message-arrow { font-weight: normal; margin: 0 5px; }
.message-circle { display: inline-block; width: 18px; height: 18px; line-height: 16px; text-align: center; border: 2px solid #000; border-radius: 50%; font-size: 12px; font-weight: bold; vertical-align: middle; }

/* ===== 以下为 5.html 合并内容 ===== */
.s5-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 10px; text-align: center; font-size: 22px; font-weight: 900; border: 2px solid #007bff; border-bottom: none; }
.s5-title .s5-red { color: #d90000; }
.s5-title .s5-blue { color: #0000ff; }
.s5-title .s5-black { color: #000; }
.s5-data { border: 2px solid #007bff; padding: 0; }
.s5-row { padding: 12px 5px; text-align: center; border-bottom: 1px solid #ccc; }
.s5-row:last-child { border-bottom: none; }
.s5-green-text { color: #008000; font-size: 18px; font-weight: bold; }
.s5-blue-text { color: #0000ff; font-weight: bold; }
.s5-black-text { color: #333; font-weight: bold; }
.s5-red-numbers { display: block; font-size: 28px; font-weight: 900; color: #ff0000; margin-top: 5px; letter-spacing: 1px; }
.s5-highlight { background-color: #ffff00; padding: 0 3px; }
.s5-green-section { margin-top: 10px; border: 3px solid #00b050; }
.s5-green-row { background: #00ff00; color: #000; font-size: 16px; font-weight: bold; text-align: center; padding: 10px 0; border-bottom: 1px solid #fff; }
.s5-green-row:last-child { border-bottom: none; }
.s5-g-yellow { color: #ffff00; text-shadow: 1px 1px 0 #000; }
.s5-g-red { color: #ff0000; text-shadow: 1px 1px 0 #000; }
.s5-g-white { color: #ffffff; text-shadow: 1px 1px 0 #000; }
.s5-g-normal { color: #000; }
.s5-circle { display: inline-block; width: 20px; height: 20px; line-height: 20px; border: 1px solid #000; border-radius: 50%; font-size: 12px; text-align: center; background: #fff; color: #000; margin: 0 2px; }

/* ===== 以下为 6.html 合并内容 ===== */
.s6-container { border: 2px solid #007bff; margin-bottom: 10px; }
.s6-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 10px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; }
.s6-red { color: #d90000; }
.s6-green { color: #008000; }
.s6-black { color: #000; }
.s6-blue-text { color: #0000ff; }
.s6-green-banner { background: #d4f5c0; padding: 12px 10px; text-align: center; font-size: 24px; font-weight: bold; border-bottom: 1px solid #ccc; }
.s6-green-banner .s6-red { font-size: 29px; }
.s6-data-row { display: flex; align-items: center; padding: 16px 10px; border-bottom: 1px solid #eeeeee; }
.s6-data-row:last-child { border-bottom: none; }
.s6-left { width: 50%; font-size: 26px; font-weight: 900; white-space: nowrap; }
.s6-left .s6-blue-text { font-size: 22px; }
.s6-left .s6-red { font-size: 34px; }
.s6-right { width: 50%; font-size: 29px; font-weight: 900; color: #ff0000; text-align: left; display: flex; align-items: center; }
.s6-circle { display: inline-block; width: 32px; height: 32px; line-height: 28px; border: 2px solid #0000ff; border-radius: 50%; font-size: 19px; text-align: center; color: #0000ff; margin-right: 6px; font-weight: 900; }
.s6-pink-banner { background: #f5c9e6; padding: 17px 10px; text-align: center; font-size: 26px; font-weight: 900; border-top: 2px solid #fff; }
.s6-pink-banner .s6-red { font-size: 31px; text-shadow: 1px 1px 0 #fff; }

/* ===== 以下为 7.html 合并内容 ===== */
.top-alert { background: #222222; color: #ffff00; text-align: center; padding: 12px 0; font-size: 20px; font-weight: bold; margin-bottom: 5px; border-radius: 3px; }
.cyan-text { color: #00ffff; font-size: 28px; font-weight: 900; margin: 0 5px; text-shadow: 1px 1px 0 #000; }
.green-section { border: 2px solid #00b050; }
.green-row { background: #00ff00; color: #000; font-size: 16px; font-weight: bold; text-align: center; padding: 12px 0; border-bottom: 1px solid #ffffff; }
.green-row:last-child { border-bottom: none; }
.circle-yellow { display: inline-block; width: 20px; height: 20px; line-height: 18px; border: 1px solid #000; background-color: #ffff00; border-radius: 50%; font-size: 12px; text-align: center; margin: 0 2px; color: #000; font-weight: 900; }

/* ===== 以下为 8.html 合并内容 ===== */
.s8-top-title { background: #f8fafc; padding: 10px 12px; text-align: center; font-size: 20px; font-weight: 900; border-bottom: 1px solid #d1d5db; }
.s8-red { color: #d90000; }
.s8-green { color: #008000; }
.s8-black { color: #000; }
.s8-data-list { padding: 0; }
.s8-row { display: grid; grid-template-columns: 22% 1fr 20%; align-items: stretch; border-bottom: 1px solid #d1d5db; }
.s8-row:last-child { border-bottom: none; }
.s8-col-left, .s8-col-right, .s8-col-result { display: flex; align-items: center; justify-content: center; padding: 10px 8px; font-weight: 900; line-height: 1.35; }
.s8-col-left { text-align: center; font-size: 15px; color: #222; border-right: 1px solid #d1d5db; white-space: nowrap; }
.s8-col-right { text-align: center; justify-content: center; letter-spacing: 0; overflow-wrap: anywhere; word-break: break-all; }
.s8-col-result { color: #d90000; border-left: 1px solid #d1d5db; font-size: 15px; text-align: center; }
.wide-home .s8-col-right { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.45; overflow-wrap: anywhere; word-break: break-all; }
.s8-number-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; border-top: 1px solid #d1d5db; border-left: 1px solid #d1d5db; }
.s8-number-chip { display: flex; align-items: center; justify-content: center; min-height: 28px; padding: 3px 4px; border-right: 1px solid #d1d5db; border-bottom: 1px solid #d1d5db; line-height: 1; }
.s8-num-blue { color: #111; font-size: 14px; }
.s8-num-red { color: #d90000; font-size: 14px; }
.s8-highlight-yellow { background-color: #ffff00; color: #d90000; padding: 0 2px; border-radius: 0; margin: 0 1px; }
.s8-final-row { border-bottom: none; }

/* ===== 以下为 9.html 合并内容 ===== */
.s9-top-title { background: #f8fafc; padding: 10px 12px; text-align: center; font-size: 18px; font-weight: 900; border-bottom: 1px solid #d1d5db; }
.s9-red { color: #d90000; }
.s9-green { color: #008000; }
.s9-black { color: #000; }
.s9-blue-text { color: #0d47a1; }
.s9-data-table { display: grid; grid-template-columns: 22% 1fr 20%; }
.s9-cell { padding: 12px 8px; border-bottom: 1px solid #d1d5db; display: flex; justify-content: center; align-items: center; font-size: 16px; font-weight: 900; }
.s9-data-table > .s9-cell:nth-last-child(-n+3) { border-bottom: none; }
.s9-col-date { color: #222; border-right: 1px solid #d1d5db; }
.s9-col-predict { text-align: center; border-right: 1px solid #d1d5db; }
.s9-col-result { color: #d90000; }
.s9-predict-zodiac { background-color: #ffff00; color: #d90000; padding: 0 3px; border: 0; font-weight: 900; font-size: 16px; margin-right: 8px; }
.s9-slogan { color: #333; font-size: 14px; text-align: left; flex-grow: 1; }

/* ===== 以下为 10.html 合并内容 ===== */
.s10-top-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 12px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; }
.s10-red { color: #d90000; }
.s10-green { color: #008000; }
.s10-black { color: #000; }
.s10-blue-text { color: #0000ff; }
.s10-data-list { padding: 5px 10px; }
.s10-row { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #ccc; font-size: 18px; font-weight: 900; }
.s10-row:last-child { border-bottom: none; }
.s10-date-part { color: #800080; font-size: 20px; }
.s10-wave-part { display: flex; align-items: center; gap: 5px; }
.s10-wave-item { color: #111; padding: 0; border-radius: 0; background: transparent; }
.s10-wave-item.hit { background-color: #ffff00; color: #ff0000; padding: 2px 4px; border-radius: 2px; }
.s10-wave-blue,
.s10-wave-green { color: inherit; }
.s10-result-part { color: #ff00ff; }

/* ===== 以下为 11.html 合并内容 ===== */
.s11-top-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 12px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; }
.s11-red { color: #d90000; }
.s11-green-title { color: #008000; }
.s11-black { color: #000; }
.s11-blue-text { color: #0000ff; }
.s11-top-description { padding: 10px 15px; font-size: 15px; font-weight: bold; color: #333; border-bottom: 1px solid #ccc; line-height: 1.5; }
.s11-data-row { padding: 15px 5px; text-align: center; border-bottom: 1px solid #ccc; }
.s11-data-row:last-child { border-bottom: none; }
.s11-row-header { font-size: 20px; font-weight: 900; color: #008000; }
.s11-row-header .s11-black-text { color: #333; }
.s11-row-header .s11-blue-text { color: #0000ff; }
.s11-row-numbers { display: block; font-size: 28px; font-weight: 900; color: #ff0000; margin-top: 8px; letter-spacing: 1px; }
.s11-highlight-yellow { background-color: #ffff00; padding: 0 2px; border-radius: 2px; }
.s11-circle-yellow { display: inline-block; width: 24px; height: 24px; line-height: 20px; border: 1px solid #d90000; background-color: #ffffff; border-radius: 50%; font-size: 16px; text-align: center; color: #000; margin: 0 2px; vertical-align: middle; }

.s11-stable-eight-title {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    height: auto;
    min-height: 72px;
    max-height: none;
    padding: 16px 12px;
    overflow: visible;
    white-space: normal;
    background: linear-gradient(135deg, #fff7ed 0%, #ffe08a 46%, #fee2e2 100%);
    border: 2px solid #f59e0b;
    border-left: none;
    border-right: none;
    box-shadow: inset 0 -3px 0 rgba(217, 119, 6, 0.18);
}
.s11-stable-eight-title .s11-blue-text {
    color: #d90000;
    font-size: 40px;
    line-height: 1;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.75);
}
.s11-stable-eight-row {
    height: auto;
    min-height: 104px;
    max-height: none;
    padding: 16px 10px 18px;
    overflow: visible;
    background: linear-gradient(180deg, #fff 0%, #fff9e8 100%);
}
.s11-stable-eight-row .s11-row-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 23px;
    line-height: 1.15;
}
.s11-stable-eight-row .s11-row-header .s11-black-text {
    color: #b91c1c;
    font-size: 26px;
}
.s11-stable-eight-row .s11-row-header .s11-blue-text {
    color: #0000ff;
    font-size: 30px;
    line-height: 1;
}
.s11-stable-eight-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    color: #d90000;
    font-size: 31px;
    line-height: 1.05;
    letter-spacing: 0;
    overflow: visible;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}
.s11-stable-eight-numbers span {
    display: inline;
    min-width: 0;
    min-height: 0;
    padding: 0 1px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.s11-stable-eight-numbers .s11-highlight-yellow {
    padding: 0 3px;
    border: 0;
    border-radius: 2px;
    background: #ffff00;
    color: #ff0000;
}

@media (max-width: 520px) {
    .s11-stable-eight-title {
        padding: 14px 8px;
        font-size: 23px;
    }
    .s11-stable-eight-title .s11-blue-text {
        font-size: 31px;
    }
    .s11-stable-eight-row {
        padding: 14px 7px 16px;
    }
    .s11-stable-eight-row .s11-row-header {
        gap: 6px 8px;
        font-size: 19px;
    }
    .s11-stable-eight-row .s11-row-header .s11-black-text {
        font-size: 22px;
    }
    .s11-stable-eight-row .s11-row-header .s11-blue-text {
        font-size: 25px;
    }
    .s11-stable-eight-numbers {
        gap: 7px;
        font-size: 25px;
    }
    .s11-stable-eight-numbers span {
        min-width: 0;
        min-height: 0;
        padding: 0 1px;
    }
}

/* ===== 以下为 12.html 合并内容 ===== */
.s12-top-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 12px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; }
.s12-red { color: #d90000; }
.s12-green-title { color: #008000; }
.s12-black { color: #000; }
.s12-blue-text { color: #0000ff; }
.s12-data-list { display: block; border-collapse: collapse; }
.s12-record { display: grid; grid-template-columns: 110px minmax(0, 1fr) 110px; border-top: 1px solid #ccc; }
.s12-record:first-child { border-top: none; }
.s12-cell { display: flex; align-items: center; justify-content: center; min-width: 0; font-size: 18px; font-weight: 900; line-height: 1.2; }
.s12-col-date { color: #333; border-right: 1px solid #ccc; padding: 6px 4px; text-align: center; }
.s12-col-numbers { flex-direction: column; align-items: stretch; gap: 0; color: #0000ff; text-align: center; padding: 0; border-right: 1px solid #ccc; overflow: hidden; }
.s12-col-result { color: #d90000; text-align: center; padding: 6px 4px; word-break: keep-all; }
.s12-number-line { padding: 6px 8px; border-top: 1px dashed #d1d5db; overflow-wrap: anywhere; }
.s12-number-line:first-child { border-top: none; }
.s12-num-blue { color: #0000ff; }
.s12-span-2-rows { grid-row: span 2; }
.s12-highlight-yellow { background-color: #ffff00; color: #ff0000; padding: 0 2px; border-radius: 2px; }
.s12-data-list > .s12-cell:nth-child(-n+2) { border-top: none; }

/* ===== 以下为 13.html 合并内容 ===== */
.s13-result-strip { display: flex; align-items: stretch; background: #fff; border: 1px solid #f0f0f0; padding: 10px; margin-bottom: 8px; border-radius: 8px; box-shadow: none; gap: 6px; }
.s13-left-info { width: 96px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid #f0f0f0; padding: 5px; background: #fff; border-radius: 8px; }
.s13-period-text { font-size: 17px; font-weight: bold; color: #d32f2f; }
.s13-record-btn { font-size: 14px; font-weight: bold; color: #e60012; background-color: transparent; padding: 2px 5px; margin-top: 3px; border-radius: 3px; }
.s13-numbers-area { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; flex: 1; }
.s13-num-box { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; }
.s13-num { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 28px; border-radius: 16px; }
.s13-zodiac { font-weight: bold; font-size: 18px; color: #333; width: 100%; text-align: center; padding-top: 5px; }
.s13-bg-green { background-color: #15803d; }
.s13-bg-blue { background-color: #1d4ed8; }
.s13-bg-red { background-color: #b91c1c; }
.s13-refresh-area { width: 46px; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; font-size: 14px; cursor: pointer; background: linear-gradient(135deg, #ffb300, #ff8f00); border-radius: 15px; align-self: center; padding: 6px 0; }
.s13-date-banner { background: linear-gradient(135deg, #ff3d3d, #e60012); color: #ffffff; text-align: center; padding: 9px 10px; font-size: 18px; font-weight: bold; border-radius: 5px; margin-bottom: 12px; }
.wide-home .s13-lottery-card .balls-container { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.wide-home .s13-lottery-card .date-banner { display: block; width: 100%; background: linear-gradient(135deg, #1e88e5, #1565c0); color: #fff; text-align: center; padding: 10px; margin: 10px 0; font-size: 22px; font-weight: 900; border-radius: 5px; }
.wide-home .s13-lottery-card .next-info { justify-content: flex-end; }

/* ===== 以下为 14.html 合并内容 ===== */
.s14-container { border: 2px solid #007bff; background: #fff; margin-bottom: 10px; }
.s14-top-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 12px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; }
.s14-red { color: #d90000; }
.s14-green-title { color: #008000; }
.s14-black { color: #000; }
.s14-blue-text { color: #0000ff; }
.s14-content-row { display: grid; grid-template-columns: 130px 1fr 130px; align-items: stretch; }
.s14-col-left,
.s14-col-mid,
.s14-col-right { display: flex; flex-direction: column; justify-content: center; align-items: center; font-weight: 900; padding: 12px 8px; }
.s14-col-left { color: #333; font-size: 22px; line-height: 1.9; border-right: 1px solid #ccc; }
.s14-col-mid { color: #0000ff; font-size: 26px; line-height: 1.75; border-right: 1px solid #ccc; text-align: center; }
.s14-col-right { color: #ff0000; font-size: 22px; line-height: 1.9; }
.s14-mid-line { width: 100%; overflow-wrap: anywhere; }
.s14-red-text { color: #ff0000; }
.s14-blue-num { color: #0000ff; }

@media (max-width: 520px) {
    .s14-top-title { font-size: 22px; padding: 10px 6px; }
    .s14-content-row { grid-template-columns: 72px 1fr 74px; }
    .s14-col-left,
    .s14-col-right { font-size: 17px; padding: 8px 4px; }
    .s14-col-mid { font-size: 18px; padding: 8px 4px; }
}

/* ===== 以下为 15.html 合并内容 ===== */
.s15-container { border: 2px solid #007bff; background: #fff; margin-bottom: 10px; }
.s15-top-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 12px 8px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; color: #111; }
.s15-arrows { font-size: 20px; color: #d90000; }
.s15-circle-dot { display: inline-block; width: 12px; height: 12px; border: 2px solid #555; border-radius: 50%; margin: 0 6px; vertical-align: middle; }
.s15-data-list { background: #fff; }
.s15-list-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; padding: 12px 10px; font-size: 18px; font-weight: 900; border-bottom: 1px solid #d7e8ff; text-align: center; }
.s15-list-row[data-link] { cursor: pointer; }
.s15-list-row[data-link]:hover { background: #fff7d6; }
.s15-list-row:nth-child(even) { background: #f8fbff; }
.s15-list-row:nth-child(even)[data-link]:hover { background: #fff1bd; }
.s15-list-row:last-child { border-bottom: none; }
.s15-text-black { color: #333; }
.s15-text-blue { color: #0000ff; }
.s15-text-red { color: #ff0000; }
.s15-circle-yellow { display: inline-block; width: 22px; height: 22px; line-height: 20px; border: 1px solid #000; background: #ffff00; border-radius: 50%; font-size: 13px; text-align: center; color: #000; font-weight: 900; vertical-align: middle; }

@media (max-width: 520px) {
    .s15-top-title { font-size: 22px; line-height: 1.35; }
    .s15-list-row { font-size: 16px; padding: 10px 6px; }
}

/* ===== 以下为 16.html 合并内容 ===== */
.s16-container { border: 2px solid #007bff; background: #fff; margin-bottom: 10px; }
.s16-top-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 12px 8px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; }
.s16-red { color: #d90000; }
.s16-green-title { color: #008000; }
.s16-black { color: #000; }
.s16-blue-text { color: #0000ff; }
.s16-data-list { background: #fff; }
.s16-list-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 12px 8px; border-bottom: 1px solid #ccc; font-size: 20px; font-weight: 900; text-align: center; }
.s16-list-row:last-child { border-bottom: none; }
.s16-left-info { color: #008000; }
.s16-pick-group { display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
.s16-highlight-box { background: #ffff00; color: #ff0000; padding: 2px 5px; border-radius: 2px; }
.s16-plus-sign { color: #ff0000; font-size: 24px; line-height: 1; }
.s16-right-result { color: #ff0000; }

@media (max-width: 520px) {
    .s16-top-title { font-size: 22px; }
    .s16-list-row { font-size: 17px; gap: 7px; padding: 10px 6px; }
}

/* ===== 18.html 扩展资料模块 ===== */
.s18-container { border: 2px solid #007bff; background: #fff; margin-bottom: 10px; }
.s18-top-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 12px 8px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; }
.s18-red { color: #d90000; }
.s18-green { color: #008000; }
.s18-black { color: #000; }
.s18-blue { color: #0000ff; }
.s18-list { background: #fff; }
.s18-row { display: grid; grid-template-columns: 76px 1.2fr 1fr 90px; align-items: center; gap: 8px; padding: 12px 10px; border-bottom: 1px solid #d7e8ff; font-size: 18px; font-weight: 900; text-align: center; cursor: pointer; }
.s18-row:nth-child(even) { background: #f8fbff; }
.s18-row:hover { background: #fff7d6; }
.s18-row:last-child { border-bottom: none; }
.s18-period { color: #d90000; white-space: nowrap; }
.s18-name { color: #0000ff; }
.s18-pick { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.s18-zodiac { color: #111; font-size: 22px; }
.s18-code { width: 42px; height: 42px; border-radius: 10px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; line-height: 1; }
.s18-red-bg { background: #b91c1c; }
.s18-blue-bg { background: #1d4ed8; }
.s18-green-bg { background: #15803d; }
.s18-result { color: #ff0000; white-space: nowrap; }
.s18-text { color: #333; overflow-wrap: anywhere; }
.s18-row.s18-compact-row { display: block; padding: 0; }
.s18-compact-line { min-height: 58px; display: grid; grid-template-columns: 82px 118px minmax(0, 1fr) 122px; align-items: stretch; gap: 0; padding: 0; line-height: 1.25; }
.s18-compact-line > span { min-width: 0; min-height: 58px; display: flex; align-items: center; justify-content: center; padding: 10px 8px; border-right: 1px solid #d7e8ff; }
.s18-compact-line > span:last-child { border-right: none; }
.s18-compact-row .s18-period { background: #f0fdf4; color: #008000; font-size: 20px; }
.s18-compact-row .s18-name { background: #eff6ff; color: #0000ff; font-size: 21px; }
.s18-compact-items { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px; color: #d90000; font-size: 22px; font-weight: 900; }
.s18-compact-item { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; color: #d90000; }
.s18-compact-item + .s18-compact-item::before { content: "、"; color: #111; margin-right: 2px; }
.s18-compact-item.hit,
.s18-result.hit { background: #ffff00; color: #ff0000; border-radius: 4px; padding: 2px 7px; }
.s18-result.attention { background: #e0f2fe; color: #0d47a1; border-radius: 4px; padding: 2px 8px; }
.s18-result.pending { background: #fff7ed; color: #d90000; }
.s18-result.miss { color: #666; }
.s18-compact-row .s18-result { font-size: 21px; font-weight: 900; }
.s18-compact-row .s18-result:not(.hit):not(.attention):not(.pending) { background: #fff7ed; }
.s18-compact-empty { color: #999; font-size: 18px; }
.wide-home .s18-row.s18-compact-row { height: auto; min-height: 58px; max-height: none; display: block; overflow: visible; }
.wide-home .s18-row.s18-compact-row span { white-space: normal; overflow: visible; text-overflow: clip; }
.s18-number-panel { padding: 12px 10px; text-align: center; background: #fff; }
.s18-number-title { color: #111; font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.s18-number-grid { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
.s18-number-grid .s18-code { width: auto; height: auto; aspect-ratio: auto; min-width: 0; padding: 0; border-radius: 0; background: transparent; color: #d90000; box-shadow: none; text-shadow: none; font-size: 24px; }
.s18-number-grid .s18-code + .s18-code::before { content: "、"; color: #111; margin-right: 10px; font-weight: 700; }
.s18-note { color: #333; background: transparent; margin-top: 8px; padding: 0; border-radius: 0; font-size: 16px; font-weight: 700; }

.backend-materials { display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; }
.backend-material-module[data-backend-module="cc-material-week8"] + .backend-material-module[data-backend-module="cc-material-extra-eight"],
.backend-material-module[data-backend-module="cc-material-extra-eight"] + .backend-material-module[data-backend-module="cc-material-week8"] { margin-top: 22px; }
.backend-material-module { border: 1px solid #d7e8ff; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); content-visibility: auto; contain-intrinsic-size: 280px; }
.backend-material-card { padding: 12px 12px 14px; }
.backend-material-title { background: linear-gradient(to right, #87ceeb, #f0f8ff); padding: 10px 12px; text-align: left; font-size: 18px; font-weight: 900; color: #0d47a1; border-bottom: 1px solid #d2e6ff; }
.backend-material-subtitle { margin-top: 3px; color: #345; font-size: 14px; font-weight: 700; }
.backend-material-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.backend-material-tag { background: rgba(255,255,255,0.85); border: 1px solid #90caf9; color: #0d47a1; padding: 2px 7px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.backend-row-wrap { margin: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 5px rgba(15, 23, 42, 0.06); }
.backend-material-row { padding: 12px 4px 10px; border-bottom: 1px dashed #d9e8f8; text-align: center; }
.backend-material-row:last-child { border-bottom: none; }
.backend-material-head { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; color: #0b6b2c; font-size: 18px; font-weight: 900; }
.backend-material-result { color: #d32f2f; }
.backend-material-items { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; min-height: 34px; color: #ff0000; font-size: 18px; font-weight: 900; }
.backend-material-item { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 3px 9px; background: #fff; border: 1px solid #dbeafe; border-radius: 8px; line-height: 1.2; }
.backend-material-item.hit { background: #ffff00; border-color: #f59e0b; color: #ff0000; }
.backend-material-item.muted { color: #999; background: #f5f5f5; padding: 0 8px; border-radius: 999px; font-size: 16px; }
.backend-material-skeleton { display: grid; grid-template-columns: 72px 1fr 72px; gap: 6px; padding: 12px 8px 4px; color: #607d8b; font-size: 14px; font-weight: 900; text-align: center; }
.backend-material-skeleton span { background: #eef6fb; border: 1px dashed #b3d4ef; border-radius: 8px; padding: 8px 4px; }
.backend-material-note { padding: 8px 10px 12px; color: #455a64; font-size: 14px; line-height: 1.5; text-align: center; }
.backend-record-meta { display: inline-flex; align-items: center; gap: 8px; color: #334155; font-size: 15px; font-weight: 900; }
.backend-record-meta span:first-child { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; padding: 4px 10px; color: #1d4ed8; }

body.wide-home[data-page-platform="kl8"] .backend-material-module { border-color: #f57c00; }
body.wide-home[data-page-platform="kl8"] .backend-material-module:nth-child(6n + 1) .backend-material-title { background: linear-gradient(135deg, #ffe3b8, #fff7ed); color: #b45309; }
body.wide-home[data-page-platform="kl8"] .backend-material-module:nth-child(6n + 2) .backend-material-title { background: linear-gradient(135deg, #e0f2fe, #eff6ff); color: #1d4ed8; }
body.wide-home[data-page-platform="kl8"] .backend-material-module:nth-child(6n + 3) .backend-material-title { background: linear-gradient(135deg, #dcfce7, #f0fdf4); color: #166534; }
body.wide-home[data-page-platform="kl8"] .backend-material-module:nth-child(6n + 4) .backend-material-title { background: linear-gradient(135deg, #fce7f3, #fff1f2); color: #be185d; }
body.wide-home[data-page-platform="kl8"] .backend-material-module:nth-child(6n + 5) .backend-material-title { background: linear-gradient(135deg, #ede9fe, #f5f3ff); color: #6d28d9; }
body.wide-home[data-page-platform="kl8"] .backend-material-module:nth-child(6n) .backend-material-title { background: linear-gradient(135deg, #cffafe, #ecfeff); color: #0f766e; }

.backend-type-image .backend-material-card { padding-top: 14px; }
.backend-type-image .backend-material-image-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.backend-type-image .backend-material-title-line { font-size: 16px; font-weight: 900; color: #d32f2f; }
.backend-type-image .backend-material-subtitle { margin-top: 2px; font-size: 14px; }
.backend-type-image .backend-material-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 72px; padding: 12px; background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); border: 1px solid #e0eefb; border-radius: 10px; }
.backend-type-image .backend-material-item { min-height: 54px; background: linear-gradient(180deg, #fff7ed, #fff); border-color: #fed7aa; color: #b91c1c; border-radius: 12px; }

.backend-type-sixiang .backend-material-card { padding: 10px 0 0; }
.backend-type-sixiang .sixiang-card { border: 2px solid #2f80ed; border-radius: 8px; overflow: hidden; background: #fff; }
.backend-type-sixiang .sixiang-stage { position: relative; padding: 0 0 10px; background: linear-gradient(180deg, #fff, #fff); }
.backend-type-sixiang .sixiang-top { display: flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(180deg, #d8ebff, #f6fbff); border-bottom: 1px solid #8bb8ef; padding: 6px 10px; font-weight: 900; }
.backend-type-sixiang .sixiang-issue { font-size: 16px; color: #d32f2f; }
.backend-type-sixiang .sixiang-result { font-size: 16px; color: #111; }
.backend-type-sixiang .sixiang-image-wrap { position: relative; padding: 10px; }
.backend-type-sixiang .sixiang-image { width: 100%; display: block; border: 1px solid #e5e7eb; border-radius: 2px; background: #fff; object-fit: cover; }
.backend-type-sixiang .sixiang-fallback { min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: #b91c1c; font-size: 22px; font-weight: 900; background: linear-gradient(180deg, #fff, #fff8f0); }
.backend-type-sixiang .sixiang-fallback em { font-style: normal; font-size: 16px; color: #666; font-weight: 700; }
.backend-type-sixiang .sixiang-side { position: absolute; top: 120px; bottom: 70px; width: 62px; background: #cf1010; color: #ffef33; writing-mode: vertical-rl; text-orientation: upright; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 900; letter-spacing: 0; padding: 8px 0; border: 2px solid #8a0d0d; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.12); }
.backend-type-sixiang .sixiang-left { left: 10px; }
.backend-type-sixiang .sixiang-right { right: 10px; }
.backend-type-sixiang .sixiang-footer { text-align: center; font-size: 18px; font-weight: 900; color: #222; padding: 6px 10px 12px; }

.backend-type-buy .backend-material-buy-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.backend-type-buy .buy-title { font-size: 16px; font-weight: 900; color: #0f766e; }
.backend-type-buy .buy-sub { font-size: 14px; color: #475569; }
.backend-classic-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 10px 8px; text-align: center; font-size: 19px; font-weight: 900; border: 2px solid #4a90e2; border-bottom: none; border-radius: 10px 10px 0 0; }
.backend-classic-title .classic-red { color: #ff0000; }
.backend-classic-title .classic-blue { color: #0d47a1; }
.backend-classic-title .classic-black { color: #000; }
.backend-classic-title .classic-bracket { color: #111; }
.backend-classic-title .classic-extra { color: #000; }
.backend-classic-table { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 10px 10px; overflow: hidden; }
.backend-material-table-row { display: grid; grid-template-columns: 290px 1fr 240px; align-items: stretch; border-top: 1px solid #c8c8c8; min-height: 56px; background: #fff; }
.backend-material-table-row:first-child { border-top: 1px solid #4a90e2; }
.backend-material-table-row:nth-child(odd) { background: #fff; }
.backend-material-table-row:nth-child(even) { background: #fafafa; }
.table-period,
.table-main,
.table-result { display: flex; align-items: center; justify-content: center; padding: 6px 10px; font-weight: 900; }
.table-period { font-size: 18px; color: #000; border-right: 1px solid #c8c8c8; }
.table-main { font-size: 19px; color: #0d47a1; border-right: 1px solid #c8c8c8; background: #fff; }
.table-hit { display: inline-block; padding: 2px 8px; background: #ffff00; color: #d90000; border: 1px solid #eab308; border-radius: 2px; }
.table-result.table-pending { color: #6b7280; }
.table-result.table-right { color: #008000; }
.table-result.table-wrong { color: #d90000; }
.table-result { font-size: 18px; color: #e60012; }
.special-head-list { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.special-head-row { padding: 8px 10px 6px; border-top: 1px solid #c8c8c8; text-align: center; background: #fff; }
.special-head-row:first-child { border-top: 1px solid #4a90e2; }
.special-head-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.special-head-period { color: #008000; }
.special-head-title { color: #1f2937; }
.special-head-status { color: #0000ff; }
.special-head-numbers { margin-top: 4px; color: #ff0000; font-size: 26px; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; }
.special-head-hit { background: #ffff00; color: #ff0000; padding: 0 3px; border-radius: 2px; }
.weekly-must-list { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.weekly-must-row { padding: 10px 10px 8px; border-top: 1px solid #c8c8c8; text-align: center; background: #fff; }
.weekly-must-row:first-child { border-top: 1px solid #4a90e2; }
.weekly-must-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.weekly-must-period { color: #008000; }
.weekly-must-title { color: #1f2937; }
.weekly-must-status { color: #0000ff; }
.weekly-must-items { margin-top: 5px; color: #ff0000; font-size: 24px; font-weight: 900; line-height: 1.18; overflow-wrap: anywhere; }
.weekly-must-hit { background: #ffff00; color: #ff0000; padding: 0 3px; border-radius: 2px; }
.yin-yang-legend { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 10px; border: 2px solid #4a90e2; border-top: none; border-bottom: 1px solid #c8c8c8; background: #f8fbff; text-align: center; font-size: 18px; font-weight: 900; line-height: 1.2; }
.yin-yang-legend span { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 4px 10px; border-radius: 999px; }
.yin-yang-legend-yang { background: #fff1f2; color: #b91c1c; }
.yin-yang-legend-yin { background: #eff6ff; color: #1d4ed8; }
.yin-yang-list { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.yin-yang-row { padding: 10px 10px 8px; border-top: 1px solid #c8c8c8; text-align: center; background: #fff; }
.yin-yang-row:first-child { border-top: 1px solid #4a90e2; }
.yin-yang-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.yin-yang-period { color: #008000; }
.yin-yang-title { color: #1f2937; }
.yin-yang-title-yang { color: #b91c1c; }
.yin-yang-title-yin { color: #1d4ed8; }
.yin-yang-status { color: #0000ff; overflow-wrap: anywhere; }
.yin-yang-status.hit { background: #ffff00; color: #d90000; padding: 0 3px; border-radius: 2px; }
.yin-yang-status.miss { color: #d90000; }
.yin-yang-status.pending { color: #6b7280; }
.yin-yang-items { margin-top: 5px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; color: #0d47a1; font-size: 22px; font-weight: 900; line-height: 1.18; overflow-wrap: anywhere; }
.yin-yang-chip { min-width: 42px; min-height: 32px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; padding: 4px 9px; font-size: 18px; font-weight: 900; line-height: 1; }
.yin-yang-yang { background: #fff1f2; color: #b91c1c; }
.yin-yang-yin { background: #eff6ff; color: #1d4ed8; }
.yin-yang-chip.hit { background: #ffff00; color: #d90000; box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.35); }
.gender-zodiac-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid #4a90e2; border-top: none; background: #fff; text-align: center; font-size: 19px; font-weight: 900; line-height: 1.25; }
.gender-zodiac-legend span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 7px 10px; }
.gender-zodiac-legend-female { border-right: 1px solid #c8c8c8; color: #b91c1c; background: #fff7ed; }
.gender-zodiac-legend-male { color: #0d47a1; background: #eff6ff; }
.gender-zodiac-list { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.gender-zodiac-row { padding: 9px 10px 8px; border-top: 1px solid #c8c8c8; text-align: center; background: #fff; }
.gender-zodiac-row:first-child { border-top: 1px solid #4a90e2; }
.gender-zodiac-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.gender-zodiac-period { color: #008000; }
.gender-zodiac-open { color: #ff0000; }
.gender-zodiac-pick { display: inline-flex; align-items: center; justify-content: center; min-width: 100px; min-height: 36px; padding: 2px 12px; border-radius: 4px; border: 1px solid #bfdbfe; background: #eff6ff; color: #0d47a1; }
.gender-zodiac-pick-female { border-color: #fecdd3; background: #fff1f2; color: #b91c1c; }
.gender-zodiac-pick-male { border-color: #bfdbfe; background: #eff6ff; color: #0d47a1; }
.gender-zodiac-pick.hit { background: #ffff00; border-color: #eab308; color: #d90000; box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.35); }
.gender-zodiac-pick.miss { background: #f8fafc; border-color: #cbd5e1; color: #475569; }
.gender-zodiac-pick.pending { box-shadow: none; }
.gender-zodiac-status { color: #0000ff; overflow-wrap: anywhere; }
.gender-zodiac-status.hit { background: #ffff00; color: #d90000; padding: 0 4px; border-radius: 2px; }
.gender-zodiac-status.miss { color: #d90000; }
.gender-zodiac-status.pending { color: #6b7280; }
.backend-type-heaven-earth .backend-classic-title { border-color: var(--heaven-earth-border, #4a90e2); background: linear-gradient(to bottom, var(--heaven-earth-title-bg, #e0f2fe), #fff7ed); }
.backend-type-heaven-earth .backend-classic-title .classic-bracket { color: var(--heaven-earth-title-text, #0d47a1); }
.heaven-earth-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--heaven-earth-border, #4a90e2); border-top: none; background: #fff; text-align: center; font-size: 19px; font-weight: 900; line-height: 1.25; }
.heaven-earth-legend span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 7px 10px; }
.heaven-earth-legend-heaven { border-right: 1px solid #c8c8c8; color: var(--heaven-earth-heaven-text, #0d47a1); background: var(--heaven-earth-heaven-bg, #eff6ff); }
.heaven-earth-legend-earth { color: var(--heaven-earth-earth-text, #166534); background: var(--heaven-earth-earth-bg, #f0fdf4); }
.heaven-earth-list { border: 2px solid var(--heaven-earth-border, #4a90e2); border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.heaven-earth-row { padding: 9px 10px 8px; border-top: 1px solid #c8c8c8; text-align: center; background: var(--heaven-earth-row-bg, #fff); }
.heaven-earth-row:first-child { border-top: 1px solid var(--heaven-earth-border, #4a90e2); }
.heaven-earth-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.heaven-earth-period { color: #008000; }
.heaven-earth-open { color: #ff0000; }
.heaven-earth-pick { display: inline-flex; align-items: center; justify-content: center; min-width: 100px; min-height: 36px; padding: 2px 12px; border-radius: 4px; border: 1px solid #bfdbfe; background: #eff6ff; color: #0d47a1; }
.heaven-earth-pick-heaven { border-color: #bfdbfe; background: var(--heaven-earth-heaven-bg, #eff6ff); color: var(--heaven-earth-heaven-text, #0d47a1); }
.heaven-earth-pick-earth { border-color: #bbf7d0; background: var(--heaven-earth-earth-bg, #f0fdf4); color: var(--heaven-earth-earth-text, #166534); }
.heaven-earth-pick.hit { background: var(--heaven-earth-hit-bg, #ffff00); border-color: #eab308; color: var(--heaven-earth-hit-text, #d90000); box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.35); }
.heaven-earth-pick.miss { background: #f8fafc; border-color: #cbd5e1; color: #475569; }
.heaven-earth-status { color: #0000ff; overflow-wrap: anywhere; }
.heaven-earth-status.hit { background: var(--heaven-earth-hit-bg, #ffff00); color: var(--heaven-earth-hit-text, #d90000); padding: 0 4px; border-radius: 2px; }
.heaven-earth-status.miss { color: #d90000; }
.heaven-earth-status.pending { color: #6b7280; }
.backend-type-five-element .backend-classic-title { border-color: var(--five-element-border, #4a90e2); background: linear-gradient(to bottom, var(--five-element-title-bg, #dff7e8), #f8fbff); }
.backend-type-five-element .backend-classic-title .classic-bracket { color: var(--five-element-title-text, #166534); }
.five-element-list { border: 2px solid var(--five-element-border, #4a90e2); border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.five-element-row { padding: 10px 12px 12px; border-top: 1px solid #c8c8c8; text-align: center; background: var(--five-element-row-bg, #fff); }
.five-element-row:first-child { border-top: 1px solid var(--five-element-border, #4a90e2); }
.five-element-head { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px 12px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.five-element-period { color: var(--five-element-period-text, #008000); }
.five-element-result { color: var(--five-element-result-text, #ff0000); }
.five-element-status { color: var(--five-element-status-text, #0000ff); }
.five-element-status.hit { background: var(--five-element-hit-bg, #ffff00); color: var(--five-element-hit-text, #d90000); padding: 0 4px; border-radius: 2px; }
.five-element-status.miss { color: #d90000; }
.five-element-status.pending { color: #6b7280; }
.five-element-picks { margin-top: 9px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.five-element-chip { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 3px 8px; border: 2px solid var(--five-element-item-border, #bfdbfe); border-radius: 8px; background: var(--five-element-item-bg, #fff); color: var(--five-element-item-text, #111827); font-size: 23px; font-weight: 900; line-height: 1; }
.five-element-金 { border-color: #f59e0b; background: #fffbeb; color: #b45309; }
.five-element-木 { border-color: #86efac; background: #f0fdf4; color: #15803d; }
.five-element-水 { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; }
.five-element-火 { border-color: #fca5a5; background: #fff1f2; color: #b91c1c; }
.five-element-土 { border-color: #d6d3d1; background: #fafaf9; color: #57534e; }
.five-element-chip.hit { border-color: #f59e0b; background: var(--five-element-hit-bg, #ffff00); color: var(--five-element-hit-text, #ff0000); box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.3); }
.five-element-empty { grid-column: 1 / -1; min-height: 42px; display: flex; align-items: center; justify-content: center; border: 1px dashed #bfdbfe; border-radius: 8px; background: #f8fbff; color: #6b7280; font-size: 18px; font-weight: 900; }
.backend-type-insider-seven .backend-classic-title { border-color: var(--insider-seven-border, #4a90e2); background: linear-gradient(to bottom, var(--insider-seven-title-bg, #ffe8a3), #fffdf2); }
.backend-type-insider-seven .backend-classic-title .classic-bracket { color: var(--insider-seven-title-text, #b91c1c); }
.insider-seven-list { border: 2px solid var(--insider-seven-border, #4a90e2); border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.insider-seven-row { padding: 10px 12px 12px; border-top: 1px solid #c8c8c8; text-align: center; background: var(--insider-seven-row-bg, #fff); }
.insider-seven-row:first-child { border-top: 1px solid var(--insider-seven-border, #4a90e2); }
.insider-seven-head { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px; font-size: 22px; font-weight: 900; line-height: 1.15; }
.insider-seven-period { color: var(--insider-seven-period-text, #008000); }
.insider-seven-result { color: var(--insider-seven-result-text, #ff0000); }
.insider-seven-numbers { margin-top: 8px; display: block; text-align: center; color: var(--insider-seven-number-text, #111); font-size: 27px; font-weight: 900; line-height: 1.18; overflow-wrap: anywhere; }
.insider-seven-number { min-width: 0; min-height: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0 1px; border: none; border-radius: 2px; background: transparent; color: var(--insider-seven-number-text, #111); font-size: inherit; font-weight: inherit; line-height: inherit; }
.insider-seven-red,
.insider-seven-blue,
.insider-seven-green { border-color: var(--insider-seven-number-border, #d1d5db); color: var(--insider-seven-number-text, #111); }
.insider-seven-number.hit { background: var(--insider-seven-hit-bg, #ffff00); color: var(--insider-seven-hit-text, #ff0000); box-shadow: none; }
.insider-seven-empty { grid-column: 1 / -1; min-height: 42px; display: flex; align-items: center; justify-content: center; border: 1px dashed #bfdbfe; border-radius: 8px; background: #f8fbff; color: #6b7280; font-size: 18px; font-weight: 900; }
.kill-tail-list { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.kill-tail-row { padding: 10px 10px 8px; border-top: 1px solid #c8c8c8; text-align: center; background: #fff; }
.kill-tail-row:first-child { border-top: 1px solid #4a90e2; }
.kill-tail-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.kill-tail-period { color: #008000; }
.kill-tail-title { color: #1f2937; }
.kill-tail-status { color: #0000ff; overflow-wrap: anywhere; }
.kill-tail-status.hit { background: #ffff00; color: #d90000; padding: 0 5px; border-radius: 2px; }
.kill-tail-status.miss { color: #475569; }
.kill-tail-status.pending { color: #6b7280; }
.kill-tail-main { margin-top: 5px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; color: #0d47a1; font-size: 24px; font-weight: 900; line-height: 1.18; }
.kill-tail-prefix { color: #0000ff; }
.kill-tail-chip { min-width: 58px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 3px 12px; border: 1px solid #bfdbfe; border-radius: 6px; background: #eff6ff; color: #1d4ed8; line-height: 1; }
.kill-tail-chip.hit { background: #ffff00; border-color: #eab308; color: #d90000; box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.32); }
.kill-tail-chip.miss { background: #f8fafc; border-color: #cbd5e1; color: #475569; }
.kill-tail-chip.pending { background: #f3f4f6; border-color: #d1d5db; color: #6b7280; }
.kill-tail-open { color: #ff0000; font-size: 18px; }
.three-tail-list { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.three-tail-row { padding: 10px 10px 8px; border-top: 1px solid #c8c8c8; text-align: center; background: #fff; }
.three-tail-row:first-child { border-top: 1px solid #4a90e2; }
.three-tail-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.three-tail-period { color: #008000; }
.three-tail-title { color: #1f2937; }
.three-tail-status { color: #0000ff; overflow-wrap: anywhere; }
.three-tail-status.hit { background: #ffff00; color: #d90000; padding: 0 5px; border-radius: 2px; }
.three-tail-status.miss { color: #d90000; }
.three-tail-status.pending { color: #6b7280; }
.three-tail-main { margin-top: 5px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; color: #0d47a1; font-size: 24px; font-weight: 900; line-height: 1.18; }
.three-tail-prefix { color: #0000ff; }
.three-tail-picks { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; }
.three-tail-chip { min-width: 58px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 3px 12px; border: 1px solid #bfdbfe; border-radius: 6px; background: #eff6ff; color: #1d4ed8; line-height: 1; }
.three-tail-chip.hit { background: #ffff00; border-color: #eab308; color: #d90000; box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.32); }
.three-tail-open { color: #ff0000; font-size: 18px; }
.sum-parity-list { border: 2px solid var(--sum-parity-border, #4a90e2); border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: var(--sum-parity-row-bg, #fff); }
.sum-parity-row { padding: 10px 10px 8px; border-top: 1px solid #c8c8c8; text-align: center; background: var(--sum-parity-row-bg, #fff); }
.sum-parity-row:first-child { border-top: 1px solid var(--sum-parity-border, #4a90e2); }
.sum-parity-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.sum-parity-period { color: var(--sum-parity-period, #008000); }
.sum-parity-title { color: var(--sum-parity-title, #1f2937); }
.sum-parity-status { color: #0000ff; overflow-wrap: anywhere; }
.sum-parity-status.hit { background: var(--sum-parity-hit-bg, #ffff00); color: var(--sum-parity-hit-text, #d90000); padding: 0 5px; border-radius: 2px; }
.sum-parity-status.miss { color: var(--sum-parity-miss-text, #d90000); }
.sum-parity-status.pending { color: #6b7280; }
.sum-parity-main { margin-top: 5px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; color: #0d47a1; font-size: 24px; font-weight: 900; line-height: 1.18; }
.sum-parity-prefix { color: var(--sum-parity-prefix, #0000ff); }
.sum-parity-chip { min-width: 70px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 3px 14px; border: 1px solid #bfdbfe; border-radius: 6px; background: var(--sum-parity-chip-bg, #f8fafc); color: var(--sum-parity-chip-text, #64748b); line-height: 1; }
.sum-parity-chip.selected { background: var(--sum-parity-selected-bg, #eff6ff); color: var(--sum-parity-selected-text, #1d4ed8); border-color: var(--sum-parity-selected-border, #60a5fa); }
.sum-parity-chip.hit { background: var(--sum-parity-hit-bg, #ffff00); border-color: #eab308; color: var(--sum-parity-hit-text, #d90000); box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.32); }
.sum-parity-open { color: var(--sum-parity-open, #ff0000); font-size: 18px; }
.backend-type-combo-pick .backend-classic-title { border-color: #d1d5db; background: #f8fafc; }
.backend-type-combo-pick .backend-classic-title .classic-bracket { color: var(--combo-pick-title-text, #0d47a1); }
.combo-pick-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 10px; padding: 8px 10px; border: 1px solid #d1d5db; border-top: none; background: #f8fafc; color: #111; font-size: 18px; font-weight: 900; line-height: 1.25; text-align: center; }
.combo-pick-list { border: 1px solid #d1d5db; border-top: none; border-radius: 0; overflow: hidden; background: var(--combo-pick-row-bg, #fff); }
.combo-pick-row { padding: 10px 10px 9px; border-top: 1px solid #d1d5db; text-align: center; background: var(--combo-pick-row-bg, #fff); }
.combo-pick-row:first-child { border-top: 1px solid #d1d5db; }
.combo-pick-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px 10px; font-size: 19px; font-weight: 900; line-height: 1.15; }
.combo-pick-period { color: var(--combo-pick-period-text, #008000); }
.combo-pick-name { color: var(--combo-pick-name-text, #1f2937); }
.combo-pick-open { color: var(--combo-pick-open-text, #ff0000); }
.combo-pick-status { color: var(--combo-pick-status-text, #0000ff); overflow-wrap: anywhere; }
.combo-pick-status.hit { background: var(--combo-pick-hit-bg, #ffff00); color: var(--combo-pick-hit-text, #d90000); padding: 0 3px; border-radius: 0; }
.combo-pick-status.miss { color: var(--combo-pick-miss-text, #d90000); }
.combo-pick-status.pending { color: #6b7280; }
.combo-pick-main { margin-top: 8px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 10px; color: var(--combo-pick-chip-text, #111); font-size: 22px; font-weight: 900; line-height: 1.2; }
.combo-pick-group { min-width: 0; display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px 6px; }
.combo-pick-group-label { color: var(--combo-pick-label-text, #0000ff); }
.combo-pick-group-note { color: var(--combo-pick-note-text, #0d47a1); font-size: 17px; }
.combo-pick-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 2px; border-radius: 0; background: transparent; color: var(--combo-pick-chip-text, #111); line-height: 1.05; }
.combo-pick-token-text { color: #0d47a1; line-height: 1.3; }
.combo-pick-chip.hit { background: var(--combo-pick-hit-bg, #ffff00); color: var(--combo-pick-hit-text, #ff0000); box-shadow: none; }
.combo-pick-empty { min-height: 30px; display: inline-flex; align-items: center; justify-content: center; padding: 2px 8px; border: 1px dashed #d1d5db; border-radius: 0; background: transparent; color: #6b7280; font-size: 15px; font-weight: 900; }
.combo-pick-note { margin-top: 6px; color: var(--combo-pick-note-text, #0d47a1); font-size: 15px; font-weight: 900; line-height: 1.2; }
.combo-pick-row-stacked .combo-pick-meta { padding-bottom: 7px; border-bottom: 1px dashed #d1d5db; }
.combo-pick-row-stacked .combo-pick-main { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 7px; margin-top: 10px; }
.combo-pick-row-stacked .combo-pick-group { width: 100%; display: flex; align-items: center; justify-content: center; gap: 3px 8px; }
.combo-pick-row-stacked .combo-pick-group-label { flex: 0 0 auto; }
.combo-pick-row-split .combo-pick-meta { justify-content: center; padding-bottom: 8px; border-bottom: 1px dashed #9ca3af; }
.combo-pick-row-split .combo-pick-main { margin-top: 8px; padding-bottom: 8px; border-bottom: 1px dashed #9ca3af; }
.combo-pick-row-split .combo-pick-open-row { margin-top: 8px; display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px 12px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.backend-material-module[data-backend-module="cc-material-four-line-seven-tail"] .combo-pick-meta,
.backend-material-module[data-backend-module="cc-material-seven-tail-special"] .combo-pick-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "period name" "open status"; justify-items: center; align-items: center; gap: 5px 14px; padding-bottom: 10px; }
.backend-material-module[data-backend-module="cc-material-four-line-seven-tail"] .combo-pick-period,
.backend-material-module[data-backend-module="cc-material-seven-tail-special"] .combo-pick-period { grid-area: period; }
.backend-material-module[data-backend-module="cc-material-four-line-seven-tail"] .combo-pick-name,
.backend-material-module[data-backend-module="cc-material-seven-tail-special"] .combo-pick-name { grid-area: name; }
.backend-material-module[data-backend-module="cc-material-four-line-seven-tail"] .combo-pick-open,
.backend-material-module[data-backend-module="cc-material-seven-tail-special"] .combo-pick-open { grid-area: open; }
.backend-material-module[data-backend-module="cc-material-four-line-seven-tail"] .combo-pick-status,
.backend-material-module[data-backend-module="cc-material-seven-tail-special"] .combo-pick-status { grid-area: status; }
.food-zodiac-table { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.food-zodiac-row { display: grid; grid-template-columns: 280px 1fr 220px; min-height: 38px; border-top: 1px solid #c8c8c8; background: #fff; }
.food-zodiac-row:first-child { border-top: 1px solid #4a90e2; }
.food-period,
.food-main,
.food-result { display: flex; align-items: center; justify-content: center; padding: 4px 8px; border-right: 1px solid #c8c8c8; font-weight: 900; line-height: 1.12; }
.food-period { color: #222; font-size: 20px; }
.food-main { color: #0000ff; font-size: 20px; }
.food-result { border-right: none; color: #222; font-size: 20px; }
.food-hit { background: #ffff00; color: #0000ff; padding: 0 2px; }
.food-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; min-height: 36px; padding: 5px 8px; border-top: 1px solid #c8c8c8; font-size: 19px; font-weight: 900; line-height: 1.15; background: #fff; }
.food-footer-green { color: #008080; }
.food-footer-red { color: #ff0000; }
.food-footer-blue { color: #0000ff; }
.home-wild-table { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.home-wild-row { padding: 8px 10px 6px; border-top: 1px solid #c8c8c8; text-align: center; background: #fff; }
.home-wild-row:first-child { border-top: 1px solid #4a90e2; }
.home-wild-line { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 22px; font-weight: 900; line-height: 1.16; }
.home-wild-second { margin-top: 4px; gap: 12px; }
.home-wild-range { color: #008000; }
.home-wild-title { color: #222; }
.home-wild-result-period { color: #008000; }
.home-wild-result-open { color: #ff0000; }
.home-wild-pick { color: #ff0000; }
.home-wild-pick.hit { background: #ffff00; padding: 0 4px; }
.home-wild-note { color: #0000ff; }
.trend-table { border: 2px solid #4a90e2; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.trend-header,
.trend-row { display: grid; grid-template-columns: 130px repeat(4, minmax(0, 1fr)); }
.trend-header { min-height: 40px; background: #d8e9fb; color: #0000ff; font-size: 18px; font-weight: 900; }
.trend-row { min-height: 42px; border-top: 1px solid #c8c8c8; }
.trend-cell,
.trend-header div { display: flex; align-items: center; justify-content: center; padding: 6px 8px; border-left: 1px solid #c8c8c8; font-weight: 900; line-height: 1.12; text-align: center; }
.trend-cell:first-child,
.trend-header div:first-child { border-left: none; }
.trend-cell { color: #ff0000; font-size: 18px; }
.trend-row:nth-child(odd) .trend-cell { background: #fff; }
.trend-row:nth-child(even) .trend-cell { background: #fafafa; }
.trend-period { color: #000; }
.trend-parity { color: #0000ff; }
.trend-wave { color: #222; }
.trend-wave-red { color: #d90000; }
.trend-wave-blue { color: #0000ff; }
.trend-wave-green { color: #008000; }
.trend-size { color: #222; }
.trend-size-big { color: #d90000; }
.trend-size-small { color: #111; }
.trend-number { color: #222; }
.backend-type-buy .backend-classic-title { border-color: #2f80ed; }
.backend-type-buy .table-period { color: #1d4ed8; background: linear-gradient(180deg, #f8fbff, #eef6ff); }
.backend-type-buy .table-main { background: #fff; color: #0f766e; }
.backend-type-buy .table-result { color: #e11d48; background: linear-gradient(180deg, #fff, #fff7f7); }
.backend-type-buy .backend-classic-table .backend-material-table-row:last-child,
.backend-type-frontBack .backend-classic-table .backend-material-table-row:last-child { border-bottom: none; }
.backend-type-buy .backend-material-buy-grid { display: grid; grid-template-columns: 1fr 12px 1fr; gap: 10px; align-items: stretch; }
.backend-type-buy .buy-divider { background: linear-gradient(180deg, transparent, #cbd5e1, transparent); border-radius: 999px; }
.backend-type-buy .buy-col { background: #fbfdff; border: 1px solid #d9e8f8; border-radius: 10px; padding: 10px; }
.backend-type-buy .buy-items { min-height: 48px; }
.backend-type-buy .backend-material-buy-row .table-main { font-size: 18px; }
.backend-type-buy .backend-material-buy-row .table-main span { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.backend-type-frontBack .backend-classic-title { border-color: var(--frontback-border, #2f80ed); }
.backend-type-frontBack .backend-classic-table { border-color: var(--frontback-border, #2f80ed); background: var(--frontback-row-bg, #fff); }
.frontback-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px; background: var(--frontback-panel-bg, #fff); border-top: 1px solid var(--frontback-border, #2f80ed); border-bottom: 1px solid var(--frontback-panel-border, #d6e4f5); }
.frontback-legend-row { min-width: 0; display: grid; grid-template-columns: 62px 1fr; align-items: center; border: 1px solid var(--frontback-panel-border, #d9e8f8); border-radius: 6px; overflow: hidden; }
.frontback-legend-front { background: var(--frontback-front-bg, #fff7f7); }
.frontback-legend-back { background: var(--frontback-back-bg, #f8fbff); }
.frontback-legend-row b { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 42px; color: var(--frontback-label, #1d4ed8); border-right: 1px solid var(--frontback-panel-border, #d9e8f8); font-size: 18px; font-weight: 900; }
.frontback-legend-row .frontback-zodiacs { padding: 6px 8px; }
.frontback-row { border-top: 1px solid var(--frontback-panel-border, #c8c8c8); background: var(--frontback-row-bg, #fff); }
.frontback-row:first-child { border-top-color: var(--frontback-border, #2f80ed); }
.frontback-summary { display: grid; grid-template-columns: 116px 1fr 112px 76px; align-items: center; min-height: 44px; background: var(--frontback-header-bg, #f8fbff); border-bottom: 1px solid var(--frontback-panel-border, #d6e4f5); text-align: center; font-weight: 900; color: var(--frontback-header-text, #111); }
.frontback-summary span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 8px; border-left: 1px solid var(--frontback-panel-border, #d6e4f5); line-height: 1.15; }
.frontback-summary span:first-child { border-left: none; }
.frontback-period { color: #0d47a1; font-size: 19px; }
.frontback-pick { color: var(--frontback-pick-text, #d90000); background: var(--frontback-pick-bg, #fff); font-size: 18px; }
.frontback-pick.hit { background: var(--frontback-hit-bg, #ffff00); color: var(--frontback-hit-text, #d90000); }
.frontback-open { color: #111; font-size: 18px; }
.frontback-status { font-size: 18px; }
.frontback-status.pending { color: #6b7280; }
.frontback-status.right { color: #008000; }
.frontback-status.wrong { color: #d90000; }
.frontback-result-hit { background: var(--frontback-hit-bg, #ffff00); color: var(--frontback-hit-text, #d90000); padding: 0 2px; }
.frontback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px; background: var(--frontback-panel-bg, #fff); }
.frontback-pane { min-width: 0; border: 1px solid var(--frontback-panel-border, #d9e8f8); border-radius: 6px; overflow: hidden; background: #fff; }
.frontback-front { background: var(--frontback-front-bg, #fff7f7); }
.frontback-back { background: var(--frontback-back-bg, #f8fbff); }
.frontback-pane.selected { border-color: var(--frontback-selected-border, #2f80ed); box-shadow: inset 0 0 0 1px var(--frontback-selected-border, #2f80ed); }
.frontback-pane.opened { outline: 2px solid var(--frontback-opened-border, #ffb300); outline-offset: -2px; }
.frontback-pane-title { display: grid; grid-template-columns: 58px 1fr; align-items: center; min-height: 34px; border-bottom: 1px solid var(--frontback-panel-border, #d9e8f8); font-weight: 900; }
.frontback-pane-title b { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--frontback-label, #1d4ed8); font-size: 17px; border-right: 1px solid var(--frontback-panel-border, #d9e8f8); }
.frontback-pane-title span { padding: 6px 8px; color: var(--frontback-text, #d90000); font-size: 18px; line-height: 1.15; overflow-wrap: anywhere; }
.frontback-zodiacs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; padding: 8px; }
.frontback-zodiac { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; border: 1px solid rgba(47, 128, 237, 0.28); border-radius: 3px; background: rgba(255, 255, 255, 0.82); color: var(--frontback-text, #d90000); font-size: 17px; font-weight: 900; line-height: 1; }
.frontback-zodiac.hit { background: var(--frontback-hit-bg, #ffff00); color: var(--frontback-hit-text, #d90000); border-color: #eab308; }

.backend-door-table { border-color: #2f80ed; }
.backend-door-row { min-height: 0; padding: 10px 8px 12px; border-top: 1px solid #c8c8c8; background: #fff; text-align: center; }
.backend-door-row:nth-child(even) { background: #fafcff; }
.backend-door-row:first-child { border-top-color: #2f80ed; }
.door-period,
.door-main,
.door-result { display: flex; align-items: center; justify-content: center; padding: 0; font-weight: 900; line-height: 1.12; }
.door-period { font-size: 22px; color: #008000; }
.door-main { flex-direction: column; gap: 7px; margin-top: 6px; background: linear-gradient(180deg, #fff, #f7fbff); }
.door-main-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; text-align: center; }
.door-label { color: #1d4ed8; font-size: 22px; font-weight: 900; }
.door-desc { color: #c026d3; font-size: 20px; font-weight: 900; }
.door-picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.door-chip { min-height: 38px; padding: 3px 12px; border-radius: 4px; border: 1px solid #7db4f7; color: #1d4ed8; background: #eaf4ff; font-size: 22px; font-weight: 900; line-height: 1; }
.door-chip.door-hit { background: #ffef33; border-color: #f4b400; color: #d32f2f; }
.door-result { margin-top: 7px; color: #e60012; font-size: 22px; }
.door-result-text.door-result-hit { background: #ffff00; color: #ff0000; padding: 0 4px; border-radius: 2px; }
.door-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 12px 8px 14px; border: 2px solid #2f80ed; border-top: none; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #fff, #f3f9ff); margin-bottom: 10px; }
.door-legend span { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 4px 6px; border: 1px solid #bfdbfe; border-radius: 6px; background: #eff6ff; text-align: center; font-size: 18px; font-weight: 900; color: #0d47a1; white-space: nowrap; }

.backend-poem-table { border: 2px solid #2f80ed; border-top: none; border-radius: 0 0 10px 10px; overflow: hidden; margin-bottom: 10px; background: #fff; }
.backend-poem-row { border-top: 1px solid #c8c8c8; background: #fff; padding: 8px 10px 10px; text-align: center; }
.backend-poem-row:first-child { border-top-color: #2f80ed; }
.poem-head-line { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px; font-weight: 900; line-height: 1.15; }
.poem-period { color: #222; font-size: 18px; }
.poem-name { color: #ff00ff; font-size: 19px; }
.poem-result { color: #222; font-size: 18px; }
.poem-main-line { margin-top: 6px; color: #0d47a1; font-size: 19px; font-weight: 900; line-height: 1.35; }
.poem-hit { display: inline-block; padding: 0 4px; background: #ffef33; color: #d32f2f; border-radius: 2px; }
.poem-stamp { border-top: 1px solid #c8c8c8; padding: 8px 10px 10px; color: #999; font-size: 18px; font-weight: 900; text-align: center; background: #fff; }
.backend-material-module[data-backend-module="cc-material-06"] .backend-classic-title {
    border-color: #6d28d9;
    background: linear-gradient(180deg, #f5f3ff, #ddd6fe);
    box-shadow: inset 0 -2px 0 rgba(109,40,217,0.14);
}
.backend-material-module[data-backend-module="cc-material-06"] .classic-bracket {
    color: #6d28d9;
}
.backend-material-module[data-backend-module="cc-material-06"] .backend-poem-table {
    border: 2px solid #6d28d9;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: #f8fafc;
}
.backend-material-module[data-backend-module="cc-material-06"] .backend-poem-row {
    padding: 10px 12px 12px;
    border: 1px solid #d8b4fe;
    border-radius: 8px;
    background: linear-gradient(90deg, #f8f5ff 0, #fff 24%);
    box-shadow: 0 1px 3px rgba(31,41,55,0.08);
    overflow: hidden;
    text-align: left;
}
.backend-material-module[data-backend-module="cc-material-06"] .poem-head-line {
    justify-content: space-between;
    gap: 6px;
    text-align: left;
}
.backend-material-module[data-backend-module="cc-material-06"] .poem-period {
    color: #6d28d9;
    font-size: 20px;
}
.backend-material-module[data-backend-module="cc-material-06"] .poem-name {
    padding: 0;
    color: #9333ea;
    font-size: 18px;
}
.backend-material-module[data-backend-module="cc-material-06"] .poem-main-line {
    margin: 0;
    padding: 6px 0 0;
    color: #111827;
    font-size: 23px;
    line-height: 1.35;
    text-align: center;
}
.backend-material-module[data-backend-module="cc-material-06"] .poem-result {
    padding: 0;
    color: #d90000;
    font-size: 20px;
}
.backend-material-module[data-backend-module="cc-material-06"] .poem-hit {
    padding: 0 5px;
    background: #ffff00;
    color: #d90000;
    border: 1px solid #eab308;
    border-radius: 4px;
}
.backend-material-module[data-backend-module="cc-material-06"] .poem-stamp {
    border: 1px solid #d8b4fe;
    border-radius: 8px;
    background: #312e81;
    color: #fff;
    font-size: 19px;
}
.backend-material-module[data-backend-module="cc-material-08"] .backend-classic-title {
    border-color: #b91c1c;
    background: linear-gradient(180deg, #fff7d6, #ffe08a);
    box-shadow: inset 0 -2px 0 rgba(185,28,28,0.16);
}
.backend-material-module[data-backend-module="cc-material-08"] .classic-bracket {
    color: #b91c1c;
    text-shadow: 0 1px 0 #fff;
}
.backend-material-module[data-backend-module="cc-material-08"] .backend-poem-table {
    border-color: #b91c1c;
    border-radius: 0 0 8px 8px;
    background: #fffaf0;
}
.backend-material-module[data-backend-module="cc-material-08"] .backend-poem-row {
    position: relative;
    display: grid;
    grid-template-columns: 132px 1fr 118px;
    align-items: stretch;
    min-height: 58px;
    padding: 0;
    border-top-color: #f3c86f;
    background: linear-gradient(90deg, #fff8db 0 132px, #fff 132px calc(100% - 118px), #fff3f3 calc(100% - 118px));
}
.backend-material-module[data-backend-module="cc-material-08"] .backend-poem-row:first-child {
    border-top-color: #b91c1c;
}
.backend-material-module[data-backend-module="cc-material-08"] .poem-head-line {
    display: contents;
}
.backend-material-module[data-backend-module="cc-material-08"] .poem-period,
.backend-material-module[data-backend-module="cc-material-08"] .poem-name,
.backend-material-module[data-backend-module="cc-material-08"] .poem-result {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 8px;
    line-height: 1.15;
}
.backend-material-module[data-backend-module="cc-material-08"] .poem-period {
    grid-column: 1;
    grid-row: 1 / span 2;
    color: #7f1d1d;
    font-size: 22px;
    border-right: 1px solid #f0c66a;
}
.backend-material-module[data-backend-module="cc-material-08"] .poem-name {
    grid-column: 2;
    color: #111827;
    font-size: 20px;
    letter-spacing: 0;
}
.backend-material-module[data-backend-module="cc-material-08"] .poem-result {
    grid-column: 3;
    grid-row: 1 / span 2;
    color: #d90000;
    font-size: 20px;
    border-left: 1px solid #f0c66a;
}
.backend-material-module[data-backend-module="cc-material-08"] .poem-main-line {
    grid-column: 2;
    margin: 0;
    padding: 0 12px 10px;
    color: #0f3f8c;
    font-size: 22px;
    line-height: 1.35;
    text-align: center;
}
.backend-material-module[data-backend-module="cc-material-08"] .poem-hit {
    min-width: 26px;
    padding: 0 5px;
    border: 1px solid #d90000;
    background: #ffff00;
    color: #d90000;
    border-radius: 50%;
    box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}
.backend-material-module[data-backend-module="cc-material-08"] .poem-stamp {
    border-top-color: #f3c86f;
    background: #7f1d1d;
    color: #fff7b8;
    font-size: 20px;
    letter-spacing: 0;
}

.backend-lose-table { border: 2px solid #2f80ed; border-top: none; background: #fff; }
.backend-lose-row { display: grid; grid-template-columns: 170px 1fr 200px; min-height: 48px; border-top: 1px solid #bdbdbd; background: #fff; }
.backend-lose-row:first-child { border-top-color: #2f80ed; }
.lose-period,
.lose-main,
.lose-result { display: flex; align-items: center; justify-content: center; padding: 4px 10px; font-weight: 900; line-height: 1.15; }
.lose-period { border-right: 1px solid #bdbdbd; color: #00008b; font-size: 18px; }
.lose-main { border-right: 1px solid #bdbdbd; color: #ff0000; font-size: 18px; }
.lose-result { color: #ff0000; font-size: 18px; }
.backend-type-loseLight .poem-hit { color: #ff0000; background: #ffff00; padding: 0 2px; }
.lose-footer { border: 2px solid #2f80ed; border-top: none; border-radius: 0 0 6px 6px; overflow: hidden; background: #fff; margin-bottom: 10px; }
.lose-app { display: flex; justify-content: center; align-items: center; min-height: 48px; border-top: 1px solid #bdbdbd; color: #0000ff; font-size: 19px; font-weight: 900; line-height: 1.15; text-align: center; }
.lose-app span { display: inline-block; background: #ffff00; padding: 0 4px; }

.backend-three-table { border: 2px solid #2f80ed; border-top: none; background: #fff; }
.backend-three-row { display: grid; grid-template-columns: 1fr 210px; min-height: 48px; border-top: 1px solid #bdbdbd; background: #fff; }
.backend-three-row:first-child { border-top-color: #2f80ed; }
.three-main,
.three-result { display: flex; align-items: center; justify-content: center; padding: 5px 10px; font-weight: 900; line-height: 1.12; }
.three-main { border-right: 1px solid #bdbdbd; gap: 8px; flex-wrap: wrap; }
.three-period { color: #222; font-size: 22px; }
.three-title { color: #8b0000; font-size: 22px; }
.three-picks { color: #0000ff; font-size: 24px; }
.three-result { color: #ff0000; font-size: 22px; }
.three-muted { color: #999; }
.three-hit { background: #ffff00; color: #ff0000; padding: 0 2px; }
.three-elements { border: 2px solid #2f80ed; border-top: none; border-radius: 0 0 6px 6px; padding: 4px 10px 8px; background: #fff; margin-bottom: 10px; }
.three-element-row { display: flex; align-items: flex-start; gap: 6px; color: #008000; font-size: 22px; font-weight: 900; line-height: 1.25; }
.three-element-name { flex: 0 0 auto; }
.three-element-numbers { overflow-wrap: anywhere; }

.backend-blast-table { border: 2px solid #2f80ed; border-top: none; border-radius: 0 0 6px 6px; overflow: hidden; background: #fff; margin-bottom: 10px; }
.backend-blast-row { display: grid; grid-template-columns: 240px 1fr 210px; min-height: 48px; border-top: 1px solid #bdbdbd; background: #fff; }
.backend-blast-row:first-child { border-top-color: #2f80ed; }
.blast-period,
.blast-main,
.blast-result { display: flex; align-items: center; justify-content: center; padding: 5px 10px; font-weight: 900; line-height: 1.12; }
.blast-period { border-right: 1px solid #bdbdbd; color: #222; font-size: 18px; }
.blast-main { border-right: 1px solid #bdbdbd; color: #0000ff; font-size: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blast-domain { color: #999; }
.blast-result { color: #ff0000; font-size: 18px; }
.backend-type-blastLine .poem-hit { display: inline; color: #ff0000; background: #ffff00; padding: 0 2px; border-radius: 0; white-space: nowrap; }

.backend-size-table { border: 2px solid #2f80ed; border-top: none; border-radius: 0 0 6px 6px; overflow: hidden; background: #fff; margin-bottom: 10px; }
.backend-size-row { min-height: 0; padding: 10px 8px 12px; border-top: 1px solid #bdbdbd; background: #fff; text-align: center; }
.backend-size-row:first-child { border-top-color: #2f80ed; }
.size-period,
.size-main,
.size-result { display: flex; align-items: center; justify-content: center; padding: 0; font-weight: 900; line-height: 1.1; }
.size-period { color: #008000; font-size: 22px; }
.size-main { flex-wrap: wrap; gap: 0 10px; margin-top: 6px; color: #0000ff; font-size: 26px; background: #fff; }
.size-chip { display: inline; padding: 0 1px; line-height: 1.1; }
.size-chip.hit,
.size-main .poem-hit,
.backend-type-bigSmall .poem-hit { background: #ffff00; color: #ff0000; padding: 0 3px; border-radius: 2px; }
.size-chip.muted { color: #999; }
.size-result { margin-top: 6px; color: #ff0000; font-size: 22px; }
.size-result-text.hit { background: #ffff00; color: #ff0000; padding: 0 4px; border-radius: 2px; }

.backend-six-table { border: 2px solid #2f80ed; border-top: none; border-radius: 0 0 6px 6px; overflow: hidden; background: #fff; margin-bottom: 10px; }
.backend-six-row { display: grid; grid-template-columns: 210px 1fr 145px; align-items: stretch; min-height: 36px; border-top: 1px solid #fff; background: #f7f7f7; }
.backend-six-row:first-child { border-top-color: #2f80ed; }
.six-period,
.six-values,
.six-result { display: flex; align-items: center; justify-content: center; padding: 5px 7px; border-right: 1px solid #bdbdbd; font-weight: 900; line-height: 1.15; }
.six-result { border-right: none; }
.six-period,
.six-result { background: #d8e9fb; color: #000; font-size: 21px; }
.six-values { color: #ff0000; font-size: 24px; letter-spacing: 0; overflow-wrap: anywhere; }
.six-hit { background: #ffff00; color: #ff0000; padding: 0 2px; }

.six-code-six-table { border: 2px solid var(--six-code-border, #007bff); border-top: none; border-radius: 0 0 6px 6px; overflow: hidden; background: var(--six-code-row-bg, #fff); margin-bottom: 10px; }
.six-code-six-group { border-bottom: 1px solid var(--six-code-row-border, #d8d8d8); }
.six-code-six-group:last-child { border-bottom: none; }
.six-code-six-banner { background: var(--six-code-banner-bg, #d4f5c0); padding: 11px 10px; text-align: center; color: var(--six-code-banner-text, #000); font-size: 19px; font-weight: 900; border-top: 1px solid var(--six-code-banner-border, #bde8a8); border-bottom: 1px solid var(--six-code-row-border, #cfcfcf); line-height: 1.2; }
.six-code-six-banner span { color: var(--six-code-banner-domain, #ff0000); font-size: 23px; }
.six-code-six-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 62px; border-bottom: 1px solid var(--six-code-row-border, #eeeeee); background: var(--six-code-row-bg, #fff); }
.six-code-six-row:last-child { border-bottom: none; }
.six-code-six-left,
.six-code-six-right { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; padding: 11px 12px; font-weight: 900; line-height: 1.15; }
.six-code-six-left { color: var(--six-code-text, #ff0000); font-size: 25px; overflow-wrap: anywhere; border-right: 1px solid var(--six-code-row-border, #eeeeee); }
.six-code-six-left > span:first-child { flex: 0 0 auto; color: var(--six-code-label, #0000ff); font-size: 18px; margin-right: 3px; }
.six-code-six-right { color: var(--six-code-text, #ff0000); font-size: 23px; justify-content: flex-start; overflow-wrap: anywhere; }
.six-code-six-right i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 32px; height: 32px; margin-right: 7px; border: 2px solid var(--six-code-circle, #0000ff); border-radius: 50%; color: var(--six-code-circle, #0000ff); font-size: 19px; font-style: normal; line-height: 1; }
.six-code-six-hit { background: var(--six-code-hit-bg, #ffff00); color: var(--six-code-hit-text, #ff0000); padding: 0 3px; border-radius: 2px; }
.six-code-six-footer { background: var(--six-code-footer-bg, #f5c9e6); padding: 16px 10px; text-align: center; color: var(--six-code-footer-text, #0000ff); font-size: 21px; font-weight: 900; border-top: 1px solid #fff; line-height: 1.25; }

.backend-type-verse .verse-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.backend-type-verse .verse-head span { font-size: 16px; font-weight: 900; color: #7c3aed; }
.backend-type-verse .verse-head small { color: #64748b; font-weight: 700; }
.backend-type-verse .verse-main { padding: 14px 12px; background: linear-gradient(135deg, #fff7ed, #fff); border: 1px dashed #f59e0b; border-radius: 12px; font-size: 18px; line-height: 1.8; color: #1f2937; }
.backend-type-verse .verse-footer { margin-top: 10px; }

.backend-type-trend .trend-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.backend-type-trend .trend-head span { font-size: 16px; font-weight: 900; color: #0f766e; }
.backend-type-trend .trend-head i { font-style: normal; color: #475569; }
.backend-type-trend .trend-items { min-height: 54px; background: linear-gradient(180deg, #f0fdfa, #fff); border: 1px solid #ccfbf1; border-radius: 12px; padding: 12px; }

.backend-type-split .split-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.backend-type-split .split-head span:first-child { font-size: 16px; font-weight: 900; color: #be185d; }
.backend-type-split .split-head span:last-child { color: #64748b; font-size: 13px; }
.backend-type-split .split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.backend-type-split .split-box { border-radius: 10px; padding: 10px; border: 1px solid #e2e8f0; }
.backend-type-split .split-a { background: linear-gradient(180deg, #fff1f2, #fff); }
.backend-type-split .split-b { background: linear-gradient(180deg, #eff6ff, #fff); }

.hot-cold-list { border: 2px solid var(--hot-cold-border, #4a90e2); border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: var(--hot-cold-row-bg, #fff); }
.hot-cold-row { padding: 10px; border-top: 1px solid #c8c8c8; text-align: center; background: var(--hot-cold-row-bg, #fff); }
.hot-cold-row:first-child { border-top: 1px solid var(--hot-cold-border, #4a90e2); }
.hot-cold-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.hot-cold-period { color: #008000; }
.hot-cold-title { color: #1f2937; }
.hot-cold-status { color: var(--hot-cold-status-text, #0000ff); overflow-wrap: anywhere; }
.hot-cold-status.hit { background: var(--hot-cold-hit-bg, #ffff00); color: var(--hot-cold-hit-text, #d90000); padding: 0 5px; border-radius: 2px; }
.hot-cold-status.miss { color: #d90000; }
.hot-cold-status.pending { color: #6b7280; }
.hot-cold-result { margin-top: 5px; color: #ff0000; font-size: 18px; font-weight: 900; line-height: 1.15; }
.hot-cold-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 10px; margin-top: 8px; }
.hot-cold-box { border: 2px solid #d7e8ff; border-radius: 8px; padding: 12px 10px; }
.hot-cold-hot { background: var(--hot-cold-hot-bg, #fff7ed); }
.hot-cold-cold { background: var(--hot-cold-cold-bg, #eff6ff); }
.hot-cold-box-title { margin-bottom: 9px; font-size: 19px; font-weight: 900; line-height: 1.1; }
.hot-cold-hot .hot-cold-box-title { color: var(--hot-cold-hot-title, #d90000); }
.hot-cold-cold .hot-cold-box-title { color: var(--hot-cold-cold-title, #0d47a1); }
.hot-cold-chip-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hot-cold-hot .hot-cold-chip-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hot-cold-chip { min-height: 46px; border-radius: 10px; background: var(--hot-cold-hot-chip-bg, #0d47a1); color: var(--hot-cold-chip-text, #fff); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 900; line-height: 1; }
.hot-cold-cold .hot-cold-chip { background: var(--hot-cold-cold-chip-bg, #2563eb); }
.hot-cold-chip.hit { background: var(--hot-cold-hit-bg, #ffff00); color: var(--hot-cold-hit-text, #d90000); box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.32); }
.hot-cold-note { margin-top: 8px; color: #1b5e20; font-size: 18px; font-weight: 900; line-height: 1.2; }

.backend-type-category-pick .backend-classic-title { border-color: var(--category-pick-border, #4a90e2); background: linear-gradient(to bottom, var(--category-pick-title-bg, #dff7ff), #fff7ed); }
.backend-type-category-pick .backend-classic-title .classic-bracket { color: var(--category-pick-title-text, #0d47a1); }
.category-pick-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 0; border: 2px solid var(--category-pick-border, #4a90e2); border-top: none; background: var(--category-pick-legend-bg, #f8fbff); color: var(--category-pick-legend-text, #1f2937); text-align: center; font-size: 17px; font-weight: 900; line-height: 1.2; }
.category-pick-legend span { display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 8px; border-left: 1px solid #d8e5f5; overflow-wrap: anywhere; }
.category-pick-legend span:first-child { border-left: none; }
.category-pick-list { border: 2px solid var(--category-pick-border, #4a90e2); border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: var(--category-pick-row-bg, #fff); }
.category-pick-row { padding: 10px 12px 12px; border-top: 1px solid #c8c8c8; text-align: center; background: var(--category-pick-row-bg, #fff); }
.category-pick-row:first-child { border-top: 1px solid var(--category-pick-border, #4a90e2); }
.category-pick-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 8px 12px; font-size: 21px; font-weight: 900; line-height: 1.15; }
.category-pick-period { color: var(--category-pick-period-text, #008000); }
.category-pick-name { color: var(--category-pick-name-text, #1f2937); }
.category-pick-open { color: var(--category-pick-result-text, #ff0000); }
.category-pick-status { color: var(--category-pick-status-text, #0000ff); overflow-wrap: anywhere; }
.category-pick-status.hit { background: var(--category-pick-hit-bg, #ffff00); color: var(--category-pick-hit-text, #d90000); padding: 0 5px; border-radius: 2px; }
.category-pick-status.miss { color: var(--category-pick-miss-text, #d90000); }
.category-pick-status.pending { color: #6b7280; }
.category-pick-main { margin-top: 8px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; color: #0d47a1; font-size: 26px; font-weight: 900; line-height: 1.12; }
.category-pick-chip { min-width: 56px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 3px 13px; border: 1px solid var(--category-pick-chip-border, #bfdbfe); border-radius: 6px; background: var(--category-pick-chip-bg, #eff6ff); color: var(--category-pick-chip-text, #1d4ed8); line-height: 1; }
.category-pick-chip-group { min-width: 88px; background: var(--category-pick-group-bg, #fff7ed); color: var(--category-pick-group-text, #b91c1c); border-color: #fed7aa; }
.category-pick-wind { background: #f0fdf4; border-color: #86efac; color: #15803d; }
.category-pick-rain { background: #eff6ff; border-color: #93c5fd; color: #1d4ed8; }
.category-pick-thunder { background: #fff1f2; border-color: #fca5a5; color: #b91c1c; }
.category-pick-lightning { background: #fffbeb; border-color: #facc15; color: #b45309; }
.category-pick-beauty { background: #fff1f2; border-color: #fecdd3; color: #be123c; }
.category-pick-ugly { background: #f8fafc; border-color: #cbd5e1; color: #475569; }
.category-pick-east { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.category-pick-south { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.category-pick-west { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.category-pick-north { background: #f5f3ff; border-color: #ddd6fe; color: #6d28d9; }
.category-pick-chip.hit { background: var(--category-pick-hit-bg, #ffff00); border-color: #eab308; color: var(--category-pick-hit-text, #ff0000); box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.32); }
.category-pick-empty { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; border: 1px dashed #bfdbfe; border-radius: 6px; background: #f8fbff; color: #6b7280; font-size: 16px; font-weight: 900; }
.backend-type-category-pick .category-pick-row-weather .category-pick-period,
.backend-type-category-pick .category-pick-row-weather .category-pick-name,
.backend-type-category-pick .category-pick-row-weather .category-pick-open,
.backend-type-category-pick .category-pick-row-weather .category-pick-status {
    color: #111;
    background: transparent;
}
.backend-type-category-pick .category-pick-row-weather .category-pick-status.pending,
.backend-type-category-pick .category-pick-row-weather .category-pick-status.miss {
    color: #111;
}
.backend-type-category-pick .category-pick-row-weather .category-pick-main,
.backend-type-category-pick .category-pick-row-beauty .category-pick-main,
.backend-type-category-pick .category-pick-row-direction .category-pick-main {
    gap: 0;
}
.backend-type-category-pick .category-pick-row-weather .category-pick-chip {
    min-width: 0;
    min-height: 0;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    box-shadow: none;
}
.backend-type-category-pick .category-pick-row-weather .category-pick-chip.hit {
    padding: 0 4px;
    background: #ffff00;
    border: 0;
    border-radius: 2px;
    color: #ff0000;
    box-shadow: none;
}
.backend-type-category-pick .category-pick-row-beauty .category-pick-period,
.backend-type-category-pick .category-pick-row-beauty .category-pick-name,
.backend-type-category-pick .category-pick-row-beauty .category-pick-open,
.backend-type-category-pick .category-pick-row-beauty .category-pick-status,
.backend-type-category-pick .category-pick-row-direction .category-pick-period,
.backend-type-category-pick .category-pick-row-direction .category-pick-name,
.backend-type-category-pick .category-pick-row-direction .category-pick-open,
.backend-type-category-pick .category-pick-row-direction .category-pick-status {
    color: #111;
    background: transparent;
}
.backend-type-category-pick .category-pick-row-beauty .category-pick-status.pending,
.backend-type-category-pick .category-pick-row-beauty .category-pick-status.miss,
.backend-type-category-pick .category-pick-row-direction .category-pick-status.pending,
.backend-type-category-pick .category-pick-row-direction .category-pick-status.miss {
    color: #111;
}
.backend-type-category-pick .category-pick-row-beauty .category-pick-chip,
.backend-type-category-pick .category-pick-row-direction .category-pick-chip {
    min-width: 0;
    min-height: 0;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    box-shadow: none;
}
.backend-type-category-pick .category-pick-row-beauty .category-pick-chip.hit,
.backend-type-category-pick .category-pick-row-direction .category-pick-chip.hit {
    padding: 0 4px;
    background: #ffff00;
    border: 0;
    border-radius: 2px;
    color: #ff0000;
    box-shadow: none;
}
.backend-type-category-pick .category-pick-row-direction .category-pick-period {
    color: var(--category-pick-period-text, #008000);
}
.backend-type-category-pick .category-pick-row-direction .category-pick-open {
    color: var(--category-pick-result-text, #ff0000);
}
.backend-type-category-pick .category-pick-row-direction .category-pick-status {
    color: #111;
}

.backend-type-zodiac .zodiac-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.backend-type-zodiac .zodiac-head span { font-size: 16px; font-weight: 900; color: #0f172a; }
.backend-type-zodiac .zodiac-head small { color: #475569; }
.backend-type-zodiac .zodiac-body { padding: 10px; background: linear-gradient(180deg, #fafafa, #fff); border: 1px solid #e2e8f0; border-radius: 12px; }
.backend-material-module[data-backend-module="cc-material-wuxiao"] .backend-material-title { text-align: center; }
.backend-material-module[data-backend-module="cc-material-wuxiao"] .zodiac-head { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; }
.backend-material-module[data-backend-module="cc-material-wuxiao"] .zodiac-head small { color: #0000ff; font-size: 21px; font-weight: 900; line-height: 1; }
.backend-material-module[data-backend-module="cc-material-wuxiao"] .backend-material-items { justify-content: center; gap: 2px 8px; margin-top: 0; }
.backend-material-module[data-backend-module="cc-material-wuxiao"] .backend-material-item { min-height: auto; padding: 0 2px; background: transparent; border: 0; border-radius: 0; }
.backend-material-module[data-backend-module="cc-material-wuxiao"] .backend-material-item.hit { padding: 0 4px; background: #ffff00; border: 0; border-radius: 2px; color: #ff0000; }
.backend-material-module[data-backend-module="cc-material-42"] .backend-material-title { text-align: center; }
.backend-material-module[data-backend-module="cc-material-42"] .zodiac-card { padding: 0; }
.backend-material-module[data-backend-module="cc-material-42"] .zodiac-head { display: flex; width: 100%; flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 8px; padding: 10px 8px 8px; margin-bottom: 0; text-align: center; background: #f8fbff; border-bottom: 1px dashed #bfdbfe; }
.backend-material-module[data-backend-module="cc-material-42"] .zodiac-head span { color: #008000; font-size: 23px; font-weight: 900; line-height: 1.05; }
.backend-material-module[data-backend-module="cc-material-42"] .zodiac-head small { color: #0000ff; font-size: 23px; font-weight: 900; line-height: 1.05; }
.backend-material-module[data-backend-module="cc-material-42"] .zodiac-body { padding: 10px 6px 12px; background: #fff; border: 0; border-radius: 0; }
.backend-material-module[data-backend-module="cc-material-42"] .backend-material-items { justify-content: center; gap: 0 12px; margin-top: 0; color: #ff0000; font-size: 26px; line-height: 1.08; letter-spacing: 0; }
.backend-material-module[data-backend-module="cc-material-42"] .backend-material-item { min-height: auto; padding: 0; background: transparent; border: 0; border-radius: 0; }
.backend-material-module[data-backend-module="cc-material-42"] .backend-material-item.hit { padding: 0 3px; background: #ffff00; border: 0; border-radius: 2px; color: #ff0000; }
.quick-links-list { border: 2px solid #2f80ed; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; background: #fff; }
.quick-link-row { display: grid; grid-template-columns: 112px 1fr 118px; align-items: stretch; min-height: 48px; border-top: 1px solid #d1d5db; background: #fff; cursor: pointer; }
.quick-link-row:nth-child(even) { background: #f8fbff; }
.quick-link-row:first-child { border-top-color: #2f80ed; }
.quick-link-meta,
.quick-link-main,
.quick-link-result { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 8px 10px; font-weight: 900; line-height: 1.15; }
.quick-link-meta { border-right: 1px solid #d1d5db; color: #0d47a1; font-size: 19px; white-space: nowrap; }
.quick-link-main { flex-wrap: wrap; gap: 6px 8px; border-right: 1px solid #d1d5db; color: #111827; text-align: center; }
.quick-link-label { color: #1f2937; font-size: 18px; }
.quick-link-main strong { color: #d90000; font-size: 17px; }
.quick-link-result { color: #0d47a1; font-size: 18px; text-align: center; }
.quick-link-badges { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; }
.quick-link-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; padding: 2px 7px; border: 1px solid #bfdbfe; border-radius: 4px; background: #eff6ff; color: #1d4ed8; font-size: 16px; font-weight: 900; line-height: 1; }
.quick-link-badge.hit { background: #ffff00; border-color: #f59e0b; color: #d90000; }

@media (max-width: 560px) {
    .backend-materials { gap: 10px; }
    .backend-material-title { font-size: 16px; }
    .backend-material-items { font-size: 16px; }
    .backend-row-wrap { margin: 10px; }
    .backend-material-module[data-backend-module="cc-material-42"] .zodiac-head span { font-size: 19px; }
    .backend-material-module[data-backend-module="cc-material-42"] .zodiac-head small { font-size: 19px; }
    .backend-material-module[data-backend-module="cc-material-42"] .backend-material-items { font-size: 21px; }
    .backend-type-image .backend-material-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .backend-classic-title { font-size: 16px; padding: 9px 6px; }
    .backend-material-table-row { grid-template-columns: 96px 1fr 84px; min-height: 50px; }
    .table-period { font-size: 18px; }
    .table-main { font-size: 18px; }
    .table-result { font-size: 16px; }
    .special-head-row { padding: 8px 6px 6px; }
    .special-head-meta { gap: 5px 8px; font-size: 16px; }
    .special-head-numbers { font-size: 19px; }
    .weekly-must-row { padding: 8px 6px 6px; }
    .weekly-must-meta { gap: 5px 8px; font-size: 16px; }
    .weekly-must-items { font-size: 18px; }
    .yin-yang-legend { padding: 6px 6px 5px; font-size: 15px; gap: 5px 8px; }
    .yin-yang-row { padding: 8px 6px 6px; }
    .yin-yang-meta { gap: 5px 8px; font-size: 16px; }
    .yin-yang-items { font-size: 18px; }
    .yin-yang-chip { min-width: 36px; min-height: 30px; padding: 3px 7px; font-size: 16px; }
    .gender-zodiac-legend { grid-template-columns: 1fr; font-size: 15px; }
    .gender-zodiac-legend-female { border-right: none; border-bottom: 1px solid #c8c8c8; }
    .gender-zodiac-row { padding: 8px 6px 6px; }
    .gender-zodiac-meta { gap: 5px 8px; font-size: 16px; }
    .gender-zodiac-pick { min-width: 78px; min-height: 31px; padding: 2px 8px; }
    .heaven-earth-legend { grid-template-columns: 1fr; font-size: 15px; }
    .heaven-earth-legend-heaven { border-right: none; border-bottom: 1px solid #c8c8c8; }
    .heaven-earth-row { padding: 8px 6px 6px; }
    .heaven-earth-meta { gap: 5px 8px; font-size: 16px; }
    .heaven-earth-pick { min-width: 78px; min-height: 31px; padding: 2px 8px; }
    .five-element-row { padding: 8px 6px 9px; }
    .five-element-head { gap: 5px 8px; font-size: 16px; }
    .five-element-picks { gap: 7px; }
    .five-element-chip { min-height: 40px; font-size: 19px; border-radius: 7px; }
    .insider-seven-row { padding: 8px 6px 9px; }
    .insider-seven-head { font-size: 16px; }
    .insider-seven-numbers { font-size: 20px; }
    .insider-seven-number { border-radius: 2px; }
    .kill-tail-row { padding: 8px 6px 6px; }
    .kill-tail-meta { gap: 5px 8px; font-size: 16px; }
    .kill-tail-main { gap: 5px 7px; font-size: 18px; }
    .kill-tail-chip { min-width: 48px; min-height: 31px; padding: 3px 9px; }
    .kill-tail-open { font-size: 17px; }
    .three-tail-row { padding: 8px 6px 6px; }
    .three-tail-meta { gap: 5px 8px; font-size: 16px; }
    .three-tail-main { gap: 5px 7px; font-size: 18px; }
    .three-tail-chip { min-width: 48px; min-height: 31px; padding: 3px 9px; }
    .three-tail-open { font-size: 17px; }
    .sum-parity-row { padding: 8px 6px 6px; }
    .sum-parity-meta { gap: 5px 8px; font-size: 16px; }
    .sum-parity-main { gap: 5px 7px; font-size: 18px; }
    .sum-parity-chip { min-width: 56px; min-height: 31px; padding: 3px 10px; }
    .sum-parity-open { font-size: 17px; }
    .combo-pick-legend { gap: 5px 8px; padding: 7px 6px; font-size: 15px; }
    .combo-pick-row { padding: 8px 6px 7px; }
    .combo-pick-meta { gap: 5px 8px; font-size: 16px; }
    .combo-pick-open-row { gap: 5px 10px; font-size: 16px; }
    .combo-pick-main { gap: 5px 9px; font-size: 18px; }
    .combo-pick-group { gap: 1px 5px; }
    .combo-pick-group-note { font-size: 17px; }
    .combo-pick-chip { min-height: 28px; padding: 0 2px; }
    .combo-pick-empty { min-height: 32px; font-size: 16px; }
    .combo-pick-note { font-size: 16px; }
    .food-zodiac-row { grid-template-columns: 1fr; min-height: 0; }
    .food-period,
    .food-main,
    .food-result { min-height: 32px; border-right: none; border-bottom: 1px solid #ececec; font-size: 16px; }
    .food-zodiac-row:last-of-type .food-result { border-bottom: none; }
    .food-footer { font-size: 18px; }
    .home-wild-row { padding: 7px 6px 6px; }
    .home-wild-line { gap: 5px 8px; font-size: 16px; }
    .home-wild-second { gap: 8px; }
    .trend-header { min-height: 34px; font-size: 16px; }
    .trend-row { min-height: 36px; }
    .trend-header,
    .trend-row { grid-template-columns: 62px repeat(4, minmax(0, 1fr)); }
    .trend-cell,
    .trend-header div { padding: 5px 3px; }
    .trend-cell { font-size: 15px; }
    .backend-type-buy .backend-material-buy-grid,
    .backend-type-split .split-grid { grid-template-columns: 1fr; }
    .hot-cold-row { padding: 8px 6px 6px; }
    .hot-cold-meta { gap: 5px 8px; font-size: 16px; }
    .hot-cold-result { font-size: 17px; }
    .hot-cold-grid { grid-template-columns: 1fr; gap: 7px; margin-top: 7px; }
    .hot-cold-box { padding: 9px 7px; }
    .hot-cold-box-title { font-size: 16px; margin-bottom: 7px; }
    .hot-cold-hot .hot-cold-chip-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hot-cold-chip { min-height: 34px; border-radius: 8px; font-size: 18px; }
    .hot-cold-note { font-size: 15px; }
    .category-pick-legend { grid-template-columns: 1fr 1fr; font-size: 14px; }
    .category-pick-legend span { min-height: 32px; padding: 5px 6px; }
    .category-pick-row { padding: 8px 6px 8px; }
    .category-pick-meta { gap: 5px 8px; font-size: 16px; }
    .category-pick-main { gap: 6px; font-size: 19px; }
    .category-pick-chip { min-width: 46px; min-height: 34px; padding: 3px 9px; border-radius: 5px; }
    .category-pick-chip-group { min-width: 70px; }
    .category-pick-empty { min-height: 32px; font-size: 16px; }
    .backend-type-buy .buy-divider { display: none; }
    .backend-type-image .backend-material-image-top,
    .backend-type-buy .backend-material-buy-head,
    .backend-type-verse .verse-head,
    .backend-type-trend .trend-head,
    .backend-type-split .split-head,
    .backend-type-zodiac .zodiac-head { flex-direction: column; align-items: flex-start; }
    .quick-link-row { grid-template-columns: 72px 1fr 74px; min-height: 42px; }
    .quick-link-meta,
    .quick-link-main,
    .quick-link-result { padding: 6px 5px; }
    .quick-link-meta { font-size: 15px; }
    .quick-link-label { font-size: 14px; }
    .quick-link-main strong { font-size: 16px; }
    .quick-link-result { font-size: 14px; }
    .quick-link-badge { min-height: 23px; padding: 2px 5px; font-size: 13px; }
    .frontback-summary { grid-template-columns: 70px 1fr 76px 54px; min-height: 36px; }
    .frontback-summary span { min-height: 36px; padding: 5px 3px; }
    .frontback-period { font-size: 15px; }
    .frontback-pick { font-size: 17px; }
    .frontback-open,
    .frontback-status { font-size: 14px; }
    .frontback-legend,
    .frontback-grid { grid-template-columns: 1fr; gap: 6px; padding: 7px; }
    .frontback-legend-row { grid-template-columns: 50px 1fr; }
    .frontback-legend-row b { min-height: 34px; font-size: 15px; }
    .frontback-pane-title { grid-template-columns: 50px 1fr; min-height: 31px; }
    .frontback-pane-title b { font-size: 15px; }
    .frontback-pane-title span { font-size: 15px; padding: 5px 6px; }
    .frontback-zodiacs { gap: 4px; padding: 6px; }
    .frontback-zodiac { min-height: 26px; font-size: 15px; }
    .backend-type-sixiang .sixiang-side { width: 42px; top: 74px; bottom: 54px; font-size: 15px; }
    .backend-type-sixiang .sixiang-issue,
    .backend-type-sixiang .sixiang-result { font-size: 16px; }
    .backend-type-sixiang .sixiang-fallback { min-height: 260px; font-size: 16px; }
    .backend-type-sixiang .sixiang-footer { font-size: 15px; }
    .backend-door-row { min-height: 0; padding: 8px 6px 10px; }
    .door-period { font-size: 19px; }
    .door-main { gap: 6px; margin-top: 5px; padding-left: 0; padding-right: 0; }
    .door-label { font-size: 18px; }
    .door-desc { font-size: 17px; }
    .door-picks { gap: 7px; }
    .door-chip { font-size: 19px; min-height: 34px; padding: 3px 10px; }
    .door-result { font-size: 19px; }
    .door-legend { grid-template-columns: 1fr; gap: 6px; padding: 9px 8px 11px; }
    .door-legend span { min-height: 34px; font-size: 16px; }
    .poem-period { font-size: 17px; }
    .poem-name { font-size: 19px; }
    .poem-result { font-size: 17px; }
    .poem-main-line { font-size: 18px; }
    .poem-stamp { font-size: 17px; }
    .backend-material-module[data-backend-module="cc-material-06"] .poem-period {
        font-size: 15px;
    }
    .backend-material-module[data-backend-module="cc-material-06"] .poem-name {
        font-size: 14px;
    }
    .backend-material-module[data-backend-module="cc-material-06"] .poem-main-line {
        font-size: 17px;
    }
    .backend-material-module[data-backend-module="cc-material-06"] .poem-result {
        font-size: 15px;
    }
    .backend-lose-row { grid-template-columns: 66px 1fr 76px; min-height: 42px; }
    .lose-period,
    .lose-main,
    .lose-result { padding: 4px 5px; }
    .lose-period { font-size: 16px; }
    .lose-main { font-size: 16px; }
    .lose-result { font-size: 15px; }
    .lose-app { min-height: 40px; font-size: 17px; }
    .backend-three-row { grid-template-columns: 1fr 74px; min-height: 42px; }
    .three-main,
    .three-result { padding: 4px 5px; gap: 4px; }
    .three-period,
    .three-title { font-size: 16px; }
    .three-picks { font-size: 17px; }
    .three-result { font-size: 15px; }
    .three-elements { padding: 4px 6px 7px; }
    .three-element-row { font-size: 16px; gap: 4px; }
    .backend-blast-row { grid-template-columns: 82px 1fr 74px; min-height: 42px; }
    .blast-period,
    .blast-main,
    .blast-result { padding: 4px 5px; }
    .blast-period { font-size: 15px; }
    .blast-main { font-size: 17px; }
    .blast-result { font-size: 15px; }
    .backend-size-row { min-height: 0; padding: 8px 6px 10px; }
    .size-period,
    .size-main,
    .size-result { padding: 0; }
    .size-period { font-size: 19px; }
    .size-main { gap: 0 7px; font-size: 22px; background: #fff; }
    .size-result { font-size: 19px; }
    .backend-six-row { grid-template-columns: 96px 1fr 72px; }
    .backend-six-row { min-height: 48px; }
    .six-period,
    .six-values,
    .six-result { padding: 4px 3px; }
    .six-period,
    .six-result { font-size: 16px; }
    .six-values { font-size: 16px; }
    .six-code-six-banner { font-size: 19px; padding: 8px 6px; }
    .six-code-six-banner span { font-size: 18px; }
    .six-code-six-row { grid-template-columns: 1fr; min-height: 0; }
    .six-code-six-left,
    .six-code-six-right { padding: 8px 9px; }
    .six-code-six-left { font-size: 19px; border-right: none; }
    .six-code-six-left > span:first-child { font-size: 17px; }
    .six-code-six-right { font-size: 18px; border-top: 1px solid var(--six-code-row-border, #f0f0f0); }
    .six-code-six-right i { width: 26px; height: 26px; font-size: 15px; }
    .six-code-six-footer { font-size: 16px; padding: 12px 6px; }
    .s18-top-title { font-size: 22px; }
    .s18-row { grid-template-columns: 68px 1fr; font-size: 16px; padding: 10px 6px; }
    .s18-pick,
    .s18-text,
    .s18-result { grid-column: span 1; }
    .s18-code { width: 36px; height: 36px; font-size: 19px; }
    .s18-zodiac { font-size: 20px; }
    .s18-compact-line { min-height: 0; grid-template-columns: 72px minmax(0, 1fr); gap: 0; padding: 0; }
    .s18-compact-line > span { min-height: 44px; padding: 8px 6px; border-right: 1px solid #d7e8ff; border-bottom: 1px solid #d7e8ff; }
    .s18-compact-line > span:nth-child(2n) { border-right: none; }
    .s18-compact-line .s18-compact-items,
    .s18-compact-line .s18-result { grid-column: 1 / -1; border-right: none; }
    .s18-compact-line .s18-result { border-bottom: none; }
    .s18-compact-row .s18-period,
    .s18-compact-row .s18-name,
    .s18-compact-row .s18-result { font-size: 18px; }
    .s18-compact-items { font-size: 19px; }
    .s18-compact-item { min-width: 20px; }
    .s18-number-title { font-size: 20px; }
    .s18-number-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .s18-note { font-size: 17px; }
}

/* ===== 跑狗图模块 ===== */
.paogou-module { border: 2px solid #007bff; border-radius: 8px; overflow: hidden; background: #fff; margin-bottom: 10px; }
.paogou-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 12px 8px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; }
.paogou-red { color: #d90000; }
.paogou-green { color: #008000; }
.paogou-black { color: #000; }
.paogou-blue { color: #0000ff; }
.paogou-body { display: grid; grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr); gap: 10px; padding: 12px; background: #fffaf0; }
.paogou-visual { min-height: 258px; aspect-ratio: 4 / 3; border: 2px solid #f6c177; border-radius: 8px; overflow: hidden; background: #fff; }
.paogou-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.daily-image-fallback { width: 100%; height: 100%; min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; text-align: center; background: linear-gradient(135deg, #fff7d6 0%, #fff 55%, #e8f5ff 100%); color: #b71c1c; }
.daily-image-fallback strong { display: block; font-size: 30px; font-weight: 900; line-height: 1.15; }
.daily-image-fallback span { display: block; color: #475569; font-size: 17px; font-weight: 900; }
.paogou-generated { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 14px; text-align: center; background: linear-gradient(135deg, #fff7d6 0%, #ffffff 46%, #e8f5ff 100%); }
.paogou-visual-period { position: absolute; top: 10px; left: 10px; background: #d90000; color: #fff; border-radius: 6px; padding: 5px 10px; font-size: 18px; font-weight: 900; }
.paogou-visual-title { color: #b71c1c; font-size: 46px; font-weight: 900; line-height: 1.05; }
.paogou-visual-headline { margin-top: 10px; color: #0d47a1; font-size: 24px; font-weight: 900; line-height: 1.2; }
.paogou-visual-lines { display: grid; gap: 6px; margin-top: 14px; color: #1b5e20; font-size: 20px; font-weight: 900; line-height: 1.25; }
.paogou-visual-seal { position: absolute; right: 12px; bottom: 12px; width: 58px; height: 58px; border-radius: 50%; background: #d90000; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18); }
.paogou-info { display: flex; flex-direction: column; min-width: 0; gap: 10px; }
.paogou-meta { display: grid; grid-template-columns: 78px minmax(0, 1fr) 84px; align-items: center; gap: 8px; }
.paogou-meta span,
.paogou-meta em { min-height: 42px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-style: normal; font-weight: 900; }
.paogou-meta span { background: #d90000; color: #fff; }
.paogou-meta strong { min-height: 42px; border: 1px solid #c7ddff; border-radius: 6px; background: #f8fbff; color: #0d47a1; display: flex; align-items: center; justify-content: center; padding: 4px 8px; font-size: 20px; font-weight: 900; text-align: center; overflow-wrap: anywhere; }
.paogou-meta em { background: #fff176; color: #a80000; }
.paogou-verse { border: 1px solid #ffd6d6; border-radius: 8px; background: #fff; padding: 10px 12px; }
.paogou-verse p { margin: 0; color: #d90000; font-size: 21px; font-weight: 900; line-height: 1.45; text-align: center; overflow-wrap: anywhere; }
.paogou-rows { display: grid; gap: 8px; }
.paogou-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; align-items: stretch; }
.paogou-row-label { border-radius: 6px; background: #0d47a1; color: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; font-size: 18px; font-weight: 900; text-align: center; }
.paogou-row-main { min-height: 44px; border: 1px solid #d7e8ff; border-radius: 6px; background: #fff; display: flex; align-items: center; gap: 6px; padding: 7px; flex-wrap: wrap; min-width: 0; }
.paogou-chip { min-width: 42px; min-height: 32px; border-radius: 6px; background: #e3f2fd; color: #0d47a1; display: inline-flex; align-items: center; justify-content: center; padding: 4px 9px; font-size: 18px; font-weight: 900; line-height: 1; }
.paogou-hit { background: #ffff00; color: #d90000; box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.35); }
.paogou-text-value { color: #0d47a1; font-size: 18px; font-weight: 900; line-height: 1.35; overflow-wrap: anywhere; }
.paogou-note { min-height: 36px; border-radius: 6px; background: #f8fafc; color: #475569; display: flex; align-items: center; justify-content: center; padding: 6px 8px; font-size: 16px; font-weight: 900; text-align: center; overflow-wrap: anywhere; }

/* ===== 挂牌图模块 ===== */
.guapai-module { border: 2px solid #007bff; border-radius: 8px; overflow: hidden; background: #fff; margin-bottom: 10px; }
.guapai-title { background: linear-gradient(to bottom, #fff176, #fffde7); padding: 12px 8px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #f59e0b; }
.guapai-red { color: #d90000; }
.guapai-green { color: #008000; }
.guapai-black { color: #000; }
.guapai-blue { color: #0000ff; }
.guapai-body { display: grid; grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr); gap: 10px; padding: 12px; background: #f8fbff; }
.guapai-visual { min-height: 248px; aspect-ratio: 4 / 3; border: 2px solid #d90000; border-radius: 8px; overflow: hidden; background: #fff; }
.guapai-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guapai-generated { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px 14px; text-align: center; background: linear-gradient(180deg, #d90000 0%, #d90000 24%, #fff8db 24%, #ffffff 100%); }
.guapai-visual-period { position: absolute; top: 10px; left: 10px; border-radius: 999px; background: #fff176; color: #a80000; padding: 5px 11px; font-size: 18px; font-weight: 900; }
.guapai-plate { width: min(100%, 230px); border: 3px solid #a80000; border-radius: 8px; background: #fff; box-shadow: 0 8px 0 rgba(168, 0, 0, 0.16); overflow: hidden; }
.guapai-plate span { display: block; background: #fff176; color: #a80000; font-size: 20px; font-weight: 900; padding: 5px 8px; }
.guapai-plate strong { display: block; color: #d90000; font-size: 44px; font-weight: 900; line-height: 1.08; padding: 15px 8px 18px; }
.guapai-headline { color: #0d47a1; font-size: 23px; font-weight: 900; line-height: 1.2; overflow-wrap: anywhere; }
.guapai-lines { display: grid; gap: 5px; color: #1b5e20; font-size: 19px; font-weight: 900; line-height: 1.25; }
.guapai-info { display: flex; flex-direction: column; min-width: 0; gap: 10px; }
.guapai-meta { display: grid; grid-template-columns: 78px minmax(0, 1fr) 84px; align-items: center; gap: 8px; }
.guapai-meta span,
.guapai-meta em { min-height: 42px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-style: normal; font-weight: 900; }
.guapai-meta span { background: #d90000; color: #fff; }
.guapai-meta strong { min-height: 42px; border: 1px solid #fed7aa; border-radius: 6px; background: #fff7ed; color: #a80000; display: flex; align-items: center; justify-content: center; padding: 4px 8px; font-size: 20px; font-weight: 900; text-align: center; overflow-wrap: anywhere; }
.guapai-meta em { background: #fff176; color: #a80000; }
.guapai-summary { border: 1px solid #d7e8ff; border-radius: 8px; background: #fff; color: #0d47a1; padding: 10px 12px; font-size: 21px; font-weight: 900; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.guapai-rows { display: grid; gap: 8px; }
.guapai-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; align-items: stretch; }
.guapai-row-label { border-radius: 6px; background: #a80000; color: #fff; display: flex; align-items: center; justify-content: center; padding: 6px; font-size: 18px; font-weight: 900; text-align: center; }
.guapai-row-main { min-height: 44px; border: 1px solid #fed7aa; border-radius: 6px; background: #fff; display: flex; align-items: center; gap: 6px; padding: 7px; flex-wrap: wrap; min-width: 0; }
.guapai-chip { min-width: 42px; min-height: 32px; border-radius: 6px; background: #fff7ed; color: #a80000; display: inline-flex; align-items: center; justify-content: center; padding: 4px 9px; font-size: 18px; font-weight: 900; line-height: 1; }
.guapai-hit { background: #fff176; color: #d90000; box-shadow: inset 0 -3px 0 rgba(245, 158, 11, 0.35); }
.guapai-text-value { color: #0d47a1; font-size: 18px; font-weight: 900; line-height: 1.35; overflow-wrap: anywhere; }
.guapai-note { min-height: 36px; border-radius: 6px; background: #f8fafc; color: #475569; display: flex; align-items: center; justify-content: center; padding: 6px 8px; font-size: 16px; font-weight: 900; text-align: center; overflow-wrap: anywhere; }

/* ===== 19.html 大模块专区 ===== */
.s19-container { border: 2px solid #007bff; background: #fff; margin-bottom: 10px; }
.s19-top-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 12px 8px; text-align: center; font-size: 26px; font-weight: 900; border-bottom: 2px solid #007bff; }
.s19-red { color: #d90000; }
.s19-green { color: #008000; }
.s19-black { color: #000; }
.s19-blue { color: #0000ff; }
.s19-hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; padding: 12px; }
.s19-hero-main,
.s19-side-card,
.s19-split-box,
.s19-tail-card { cursor: pointer; }
.s19-hero-main { min-height: 190px; border: 1px solid #d7e8ff; border-radius: 8px; background: #f8fbff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 10px; text-align: center; }
.s19-badge { color: #d90000; font-size: 14px; font-weight: 900; margin-bottom: 8px; }
.s19-big-name { color: #0d47a1; font-size: 22px; font-weight: 900; line-height: 1.15; margin-bottom: 10px; }
.s19-zodiac-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; }
.s19-zodiac-line span { color: #d90000; font-size: 20px; font-weight: 900; }
.s19-sub-text { color: #1b5e20; font-size: 14px; font-weight: 700; margin-top: 8px; }
.s19-hero-side { display: grid; gap: 8px; }
.s19-side-card { border: 1px solid #d7e8ff; border-radius: 8px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 8px; text-align: center; }
.s19-side-card strong { color: #d90000; font-size: 15px; margin-bottom: 4px; }
.s19-side-card span { color: #0000ff; font-size: 16px; font-weight: 900; overflow-wrap: anywhere; }
.s19-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.s19-split-box { border-radius: 8px; padding: 14px 10px; text-align: center; border: 2px solid #d7e8ff; }
.s19-split-box.hot { background: #fff7ed; }
.s19-split-box.cold { background: #eff6ff; }
.s19-split-title { color: #d90000; font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.s19-chip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s19-chip-row span { min-height: 46px; border-radius: 12px; background: #0d47a1; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; }
.s19-mini-note { color: #1b5e20; font-size: 18px; font-weight: 900; margin-top: 10px; }
.s19-tail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; }
.s19-tail-card { border: 2px solid #d7e8ff; border-radius: 8px; padding: 12px 10px; background: #f8fbff; text-align: center; }
.s19-tail-card strong { display: block; color: #d90000; font-size: 28px; line-height: 1.1; margin-bottom: 8px; }
.s19-tail-card span { color: #0000ff; font-size: 20px; font-weight: 900; line-height: 1.45; overflow-wrap: anywhere; }
.s19-hero-main:hover,
.s19-side-card:hover,
.s19-split-box:hover,
.s19-tail-card:hover { background: #fff7d6; }

/* ===== 17.html 生肖对照动态模块 ===== */
.s17-container { width: 100%; background: #fff; border: 2px solid #007bff; margin-bottom: 10px; }
.s17-top-title { background: linear-gradient(to bottom, #87ceeb, #f0f8ff); padding: 14px 10px; text-align: center; font-size: 24px; font-weight: 900; border-bottom: 2px solid #007bff; }
.s17-top-title .s17-red { color: #d90000; }
.s17-top-title .s17-blue { color: #0000ff; }
.s17-zodiac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 18px; }
.s17-card { display: flex; flex-direction: column; align-items: center; }
.s17-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 22px; font-weight: 900; color: #333; }
.s17-card-header span { font-size: 16px; font-weight: 700; color: #555; }
.s17-zodiac-badge { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #1e88e5, #0d47a1); color: #fff; font-size: 15px; font-weight: 900; box-shadow: 0 1px 2px rgba(0,0,0,0.18); }
.s17-card-header .s17-zodiac-badge { color: #fff; }
.s17-number-row { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.s17-num-ball { width: 28px; height: 28px; display: flex; justify-content: center; align-items: center; color: #fff; font-weight: 900; font-size: 14px; border-radius: 3px; }
.s17-red-bg { background: #ff0000; }
.s17-blue-bg { background: #0070c0; }
.s17-green-bg { background: #00b050; }
.s17-section { border-top: 1px solid #d9d9d9; padding: 18px 20px; }
.s17-section-title { display: block; padding: 10px; border: 2px solid #007bff; background: linear-gradient(to bottom, #87ceeb, #f0f8ff); color: #0000ff; font-size: 22px; font-weight: 900; text-align: center; margin-bottom: 12px; }
.s17-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee; }
.s17-row:last-child { border-bottom: none; }
.s17-label,
.s17-wave-label { width: 92px; flex: 0 0 auto; font-size: 20px; font-weight: 900; line-height: 1.4; }
.s17-label { color: #333; }
.s17-content { flex: 1; display: flex; flex-wrap: wrap; gap: 4px; }
.s17-property-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.s17-property-item { border: 1px solid #e0e0e0; border-radius: 6px; padding: 10px 12px; font-size: 17px; line-height: 1.6; color: #333; }
.s17-property-item strong { color: #0d47a1; font-size: 18px; }

/* ===== 香港页面尺寸基准：桌面端强制统一节奏 ===== */
@media (min-width: 841px) {
    .wide-home :is(.s5-title, .s6-title, .s8-top-title, .s9-top-title, .s10-top-title, .s11-top-title, .s12-top-title, .s14-top-title, .s15-top-title, .s16-top-title, .s17-top-title, .s18-top-title, .s19-top-title, .paogou-title, .guapai-title) {
        height: 56px;
        min-height: 56px;
        max-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .wide-home :is(.message-item, .green-row, .s5-green-row) {
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .wide-home :is(.s15-list-row, .s16-list-row) {
        height: 50px;
        min-height: 50px;
        max-height: 50px;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .wide-home .s18-row {
        height: auto;
        min-height: 50px;
        max-height: none;
        display: grid;
        overflow: visible;
    }

    .wide-home .s18-row.s18-compact-row {
        height: auto;
        min-height: 58px;
        max-height: none;
        display: block;
        overflow: visible;
    }

    .wide-home .s18-row.s18-compact-row span {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .wide-home :is(.s15-list-row span, .s16-list-row span, .s18-row span, .message-item, .green-row, .s5-green-row) {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wide-home .s6-green-banner {
        height: 58px;
        min-height: 58px;
        max-height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        white-space: nowrap;
    }

    .wide-home .s6-data-row {
        height: 76px;
        min-height: 76px;
        max-height: 76px;
        overflow: hidden;
    }

    .wide-home .s6-left,
    .wide-home .s6-right {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .wide-home .s8-row {
        height: 54px;
        min-height: 54px;
        max-height: 54px;
        overflow: hidden;
    }

    .wide-home .s8-col-right,
    .wide-home .s12-col-numbers,
    .wide-home .s14-mid-line {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .wide-home .s9-cell {
        height: 64px;
        min-height: 64px;
        max-height: 64px;
        overflow: hidden;
    }

    .wide-home .s9-slogan,
    .wide-home .s10-row,
    .wide-home .s11-row-header {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .wide-home .s10-row {
        height: 44px;
        min-height: 44px;
        max-height: 44px;
    }

.wide-home .s11-data-row {
    height: auto;
    min-height: 84px;
    max-height: none;
    padding: 10px 8px;
    overflow: hidden;
}

.wide-home .s11-row-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    line-height: 1.15;
}

.wide-home .s11-row-numbers {
    display: block;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: 0;
    margin-top: 6px;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

    .wide-home .s11-stable-eight-title {
        height: auto;
        min-height: 72px;
        max-height: none;
        overflow: visible;
        white-space: normal;
    }

    .wide-home .s11-stable-eight-title .s11-blue-text {
        font-size: 40px;
    }

    .wide-home .s11-stable-eight-row {
        height: auto;
        min-height: 104px;
        max-height: none;
        padding: 16px 10px 18px;
        overflow: visible;
    }

    .wide-home .s11-stable-eight-row .s11-row-header {
        overflow: visible;
        white-space: normal;
        text-overflow: clip;
    }

    .wide-home .s11-stable-eight-numbers {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
        font-size: 31px;
        line-height: 1.05;
        overflow: visible;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
        text-overflow: clip;
    }

    .wide-home .s12-cell {
        height: 54px;
        min-height: 54px;
        max-height: 54px;
        overflow: hidden;
    }

    .wide-home .s18-number-title,
    .wide-home .s18-note,
    .wide-home .s19-sub-text,
    .wide-home .s19-mini-note,
    .wide-home .paogou-note,
    .wide-home .guapai-note {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

@media (max-width: 560px) {
    .s17-zodiac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 16px; }
    .s17-row { flex-direction: column; gap: 6px; }
    .s17-label,
    .s17-wave-label { width: auto; font-size: 18px; }
    .s17-property-grid { grid-template-columns: 1fr; }
    .s17-top-title { font-size: 20px; }
    .s17-card-header { font-size: 18px; }
    .s17-section-title { font-size: 18px; }
    .s17-property-item { font-size: 15px; }
    .paogou-title { font-size: 22px; }
    .paogou-body { grid-template-columns: 1fr; padding: 10px; }
    .paogou-visual { min-height: 218px; }
    .paogou-visual-title { font-size: 38px; }
    .paogou-visual-headline { font-size: 21px; }
    .paogou-visual-lines { font-size: 18px; }
    .paogou-meta { grid-template-columns: 68px 1fr; }
    .paogou-meta em { grid-column: 1 / -1; }
    .paogou-row { grid-template-columns: 78px minmax(0, 1fr); }
    .paogou-row-label,
    .paogou-chip { font-size: 16px; }
    .paogou-verse p { font-size: 19px; }
    .guapai-title { font-size: 22px; }
    .guapai-body { grid-template-columns: 1fr; padding: 10px; }
    .guapai-visual { min-height: 218px; }
    .guapai-plate strong { font-size: 36px; }
    .guapai-headline { font-size: 20px; }
    .guapai-lines { font-size: 17px; }
    .guapai-meta { grid-template-columns: 68px 1fr; }
    .guapai-meta em { grid-column: 1 / -1; }
    .guapai-row { grid-template-columns: 78px minmax(0, 1fr); }
    .guapai-row-label,
    .guapai-chip { font-size: 16px; }
    .guapai-summary { font-size: 19px; }
    .s19-top-title { font-size: 22px; }
    .s19-hero-grid,
    .s19-split-grid,
    .s19-tail-grid { grid-template-columns: 1fr; padding: 10px; }
    .s19-hero-main { min-height: 168px; }
    .s19-big-name { font-size: 30px; }
    .s19-zodiac-line span { min-height: 48px; font-size: 24px; }
    .s19-side-card strong,
    .s19-split-title { font-size: 22px; }
    .s19-side-card span { font-size: 21px; }
    .s19-chip-row { grid-template-columns: repeat(2, 1fr); }
    .s19-tail-card strong { font-size: 24px; }
    .s19-tail-card span { font-size: 18px; }
}

/* 本轮资料模块统一修正：字号、红错、分隔线、简化冷热 */
.week-eight-period { white-space: nowrap; }
.week-eight-row { grid-template-columns: 320px 1fr 210px; }
.s8-col-left,
.s8-col-result { font-size: 14px; }
.s8-number-list { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.s8-number-chip,
.s8-num-blue,
.s8-num-red { font-size: 13px; }
.table-result.table-wrong,
.combo-pick-status.miss,
.hot-cold-status.miss,
.sum-parity-status.miss,
.three-tail-status.miss,
.category-pick-status.miss,
.frontback-status.wrong,
.miss,
.wrong { color: #d90000 !important; background: transparent; }
.s12-cell { font-size: 18px; line-height: 1.2; }
.s12-col-result { padding: 6px 4px; font-size: 18px; }
.s12-number-line { font-size: 18px; }
.s11-row-header { font-size: 17px; }
.s11-row-numbers { font-size: 22px; line-height: 1.15; }
.backend-material-module[data-backend-module="cc-material-08"] .poem-period { font-size: 17px; }
.backend-material-module[data-backend-module="cc-material-08"] .poem-name,
.backend-material-module[data-backend-module="cc-material-08"] .poem-result { font-size: 16px; }
.backend-material-module[data-backend-module="cc-material-08"] .poem-main-line { font-size: 17px; }
.backend-blast-row { grid-template-columns: 180px minmax(0, 1fr) 160px; }
.blast-period,
.blast-result { font-size: 15px; }
.blast-main { font-size: 16px; min-width: 0; }
.hot-cold-list { border: 1px solid #d1d5db; border-top: none; border-radius: 0; background: #fff; }
.hot-cold-row { padding: 8px 10px; border-top: 1px solid #d1d5db; background: #fff; }
.hot-cold-row:first-child { border-top: 1px solid #d1d5db; }
.hot-cold-meta { font-size: 18px; gap: 6px 10px; }
.hot-cold-grid { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 7px; border: 1px solid #d1d5db; }
.hot-cold-box { border: none; border-radius: 0; padding: 8px; background: #fff; }
.hot-cold-box + .hot-cold-box { border-left: 1px solid #d1d5db; }
.hot-cold-box-title { margin-bottom: 6px; font-size: 17px; }
.hot-cold-chip-row,
.hot-cold-hot .hot-cold-chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.hot-cold-chip { min-height: 0; padding: 3px 8px; border-right: 1px solid #d1d5db; border-radius: 0; background: #fff; color: #111; font-size: 17px; box-shadow: none; }
.hot-cold-chip:last-child { border-right: none; }
.hot-cold-cold .hot-cold-chip { background: #fff; color: #111; }
.hot-cold-chip.hit { background: #ffff00; color: #d90000; box-shadow: none; }
.hot-cold-note { margin-top: 6px; font-size: 16px; }
.s18-row { grid-template-columns: 76px minmax(74px, 1fr) minmax(94px, 1fr) 82px; gap: 0; padding: 0; border-bottom: 1px solid #d1d5db; background: #fff; overflow: visible; }
.s18-row:nth-child(even),
.s18-row:hover { background: #fff; }
.s18-row > span,
.s18-row .s18-pick { min-height: 42px; display: flex; align-items: center; justify-content: center; padding: 5px 4px; border-right: 1px solid #d1d5db; overflow: visible; white-space: normal; text-overflow: clip; }
.s18-row > span:last-child { border-right: none; }
.s18-pick { gap: 3px; }
.s18-zodiac { font-size: 18px; }
.s18-code { width: auto; height: auto; min-width: 28px; padding: 0 3px; border-radius: 0; box-shadow: none; font-size: 18px; }
.s18-result { font-size: 16px; }
.s18-pick.hit,
.s18-result.hit { background: #ffff00; color: #d90000; }
.s18-result.miss { color: #d90000; }
.s18-result.pending { color: #6b7280; }
.s18-number-panel { background: #fff; border-top: 1px solid #d1d5db; padding: 0; }
.s18-number-title { font-size: 18px; }
.s18-number-history { padding: 0; }
.s18-number-row { display: grid; grid-template-columns: 86px 1fr 96px; align-items: stretch; border-bottom: 1px solid #d1d5db; }
.s18-number-row:last-child { border-bottom: none; }
.s18-number-period,
.s18-number-result { display: flex; align-items: center; justify-content: center; padding: 6px 8px; font-size: 16px; font-weight: 900; white-space: nowrap; }
.s18-number-period { color: #d90000; border-right: 1px solid #d1d5db; }
.s18-number-result { color: #d90000; border-left: 1px solid #d1d5db; }
.s18-number-result.pending { color: #6b7280; }
.s18-number-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; border: none; }
.s18-number-grid .s18-code,
.s18-number-item,
.s18-zodiac-item { min-height: 36px; padding: 6px 8px; border-right: 1px solid #d1d5db; background: #fff; color: #d90000; font-size: 18px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.s18-number-grid .s18-code:last-child,
.s18-number-item:last-child,
.s18-zodiac-item:last-child { border-right: none; }
.s18-number-item.hit,
.s18-zodiac-item.hit,
.s18-number-grid .s18-code.hit { background: #ffff00; color: #d90000; }
.s18-note:empty { display: none; }
.frontback-grid { gap: 0; padding: 0; border-top: 1px solid var(--frontback-panel-border, #d1d5db); }
.frontback-pane { border-radius: 0; border-width: 0; }
.frontback-pane + .frontback-pane { border-left: 1px solid var(--frontback-panel-border, #d1d5db); }
.frontback-zodiacs { gap: 0; padding: 0; border-top: 1px solid var(--frontback-panel-border, #d1d5db); }
.frontback-zodiac { min-height: 32px; border: none; border-right: 1px solid var(--frontback-panel-border, #d1d5db); border-bottom: 1px solid var(--frontback-panel-border, #d1d5db); border-radius: 0; background: #fff; }
.frontback-pane.selected,
.frontback-pane.opened { box-shadow: none; outline: none; }
.backend-material-module[data-backend-module="cc-material-four-tail-eight-code"] .combo-pick-group,
.backend-material-module[data-backend-module="cc-material-four-line-seven-tail"] .combo-pick-group { padding: 4px 8px; border-right: 1px solid #d1d5db; }
.backend-material-module[data-backend-module="cc-material-four-tail-eight-code"] .combo-pick-group:last-child,
.backend-material-module[data-backend-module="cc-material-four-line-seven-tail"] .combo-pick-group:last-child { border-right: none; }
.backend-material-module[data-backend-module="cc-material-four-tail-eight-code"] .combo-pick-chip,
.backend-material-module[data-backend-module="cc-material-four-line-seven-tail"] .combo-pick-chip { padding: 0 6px; border-right: 1px solid #d1d5db; }
.backend-material-module[data-backend-module="cc-material-four-tail-eight-code"] .combo-pick-chip:last-child,
.backend-material-module[data-backend-module="cc-material-four-line-seven-tail"] .combo-pick-chip:last-child { border-right: none; }

@media (max-width: 560px) {
    .week-eight-row { grid-template-columns: 112px 1fr 72px; }
    .s8-number-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .s8-number-chip { min-height: 24px; padding: 3px 2px; font-size: 12px; }
    .s12-record { grid-template-columns: 64px minmax(0, 1fr) 58px; }
    .s12-cell, .s12-col-result, .s12-number-line { font-size: 13px; }
    .s12-col-date,
    .s12-col-result { padding: 4px 2px; }
    .s12-number-line { padding: 4px 2px; }
    .s11-row-header { font-size: 14px; }
    .s11-row-numbers { font-size: 18px; }
    .backend-material-module[data-backend-module="cc-material-08"] .backend-poem-row { grid-template-columns: 82px 1fr 72px; }
    .backend-material-module[data-backend-module="cc-material-08"] .poem-period,
    .backend-material-module[data-backend-module="cc-material-08"] .poem-name,
    .backend-material-module[data-backend-module="cc-material-08"] .poem-result,
    .backend-material-module[data-backend-module="cc-material-08"] .poem-main-line { font-size: 15px; }
    .backend-blast-row { grid-template-columns: 60px minmax(0, 1fr) 58px; }
    .blast-period, .blast-result { font-size: 13px; }
    .blast-main { font-size: 14px; min-width: 0; }
    .hot-cold-grid { grid-template-columns: 1fr; }
    .hot-cold-box + .hot-cold-box { border-left: none; border-top: 1px solid #d1d5db; }
    .s18-number-row { grid-template-columns: 58px 1fr 62px; }
    .s18-number-period,
    .s18-number-result { padding: 4px 2px; font-size: 13px; }
    .s18-number-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .s18-number-item,
    .s18-zodiac-item,
    .s18-number-grid .s18-code { min-height: 30px; padding: 4px 2px; font-size: 14px; }
    .s18-row { grid-template-columns: 56px minmax(52px, 1fr) minmax(74px, 1fr) 58px; }
    .s18-row > span,
    .s18-row .s18-pick { min-height: 34px; padding: 4px 2px; font-size: 13px; }
    .s18-zodiac,
    .s18-code { font-size: 14px; }
    .s18-code { min-width: 22px; padding: 0 2px; }
    .s18-result { font-size: 13px; }
}

/* html/1.html 模块边框 */
.wide-home .s8-top-title,
.wide-home .s9-top-title,
.wide-home .s10-top-title,
.wide-home .s11-top-title,
.wide-home .s12-top-title {
    border: 1px solid #d1d5db;
    border-bottom: none;
}

.wide-home .s8-data-list,
.wide-home .s9-data-table,
.wide-home .s10-data-list,
.wide-home .s12-data-list {
    border: 1px solid #d1d5db;
    border-top: none;
    margin-bottom: 10px;
}

.wide-home .s11-top-description,
.wide-home .s11-data-row {
    border-left: 2px solid #007bff;
    border-right: 2px solid #007bff;
}

/* ===== 模块之间的间隙 ===== */
.s5-title, .s6-container, .top-alert, .s8-top-title, .s9-top-title, .s10-top-title, .s11-top-title, .s12-top-title, .s13-result-strip, .green-section {
    margin-top: 10px;
}

/* ===== 历史开奖记录页面 ===== */
.history-page { background: linear-gradient(180deg, #edf6ff 0%, #fff7ed 100%); }
.history-page .container { padding: 10px; background: #f8fbff; }
.history-page .history-top { justify-content: center; background: linear-gradient(135deg, #1565c0 0%, #e53935 100%); border-bottom: none; padding: 16px 18px; border-radius: 8px; margin-bottom: 10px; box-shadow: 0 6px 18px rgba(21, 101, 192, 0.18); }
.history-page .history-top .logo-split { font-size: 44px; }
.history-home-link { color: #fff; background: #d97706; border-radius: 16px; padding: 8px 14px; font-size: 18px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.history-title-bar { background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 48%, #fff7ed 100%); border: 2px solid #1e88e5; border-radius: 8px; padding: 16px 12px; margin-bottom: 10px; text-align: center; box-shadow: 0 4px 14px rgba(30, 136, 229, 0.12); }
.history-title-bar h1 { color: #d90000; font-size: 34px; line-height: 1.15; margin-bottom: 8px; }
.history-date { color: #0d47a1; font-size: 19px; font-weight: 900; }
.history-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: #fff; border: 2px solid #d7e8ff; border-radius: 8px; padding: 8px; margin-bottom: 10px; }
.history-tabs a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 6px; background: linear-gradient(180deg, #f8fbff 0%, #e3f2fd 100%); color: #0d47a1; border: 1px solid #c7ddff; font-size: 20px; font-weight: 900; text-decoration: none; }
.history-tabs a.active { background: linear-gradient(135deg, #e60012 0%, #ff8f00 100%); color: #fff; border-color: #e60012; box-shadow: inset 0 -4px 0 #fff176; }
.history-filter-panel { background: #fff; border: 2px solid #d7e8ff; border-radius: 8px; padding: 10px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08); }
.history-filter-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.history-filter-head strong { color: #d90000; font-size: 22px; line-height: 1.2; }
.history-filter-head span { color: #0d47a1; font-size: 16px; font-weight: 900; text-align: right; }
.history-filter-group { display: grid; grid-template-columns: 58px repeat(12, minmax(0, 1fr)); gap: 6px; margin-top: 6px; align-items: center; }
.history-filter-compact { grid-template-columns: 58px repeat(3, minmax(0, 1fr)); }
.history-filter-label,
.history-filter-number label { color: #334155; font-size: 16px; font-weight: 900; text-align: center; }
.history-filter-group button,
.history-filter-number button { min-height: 38px; border: 1px solid #c7ddff; border-radius: 6px; background: #f8fbff; color: #0d47a1; font-size: 16px; font-weight: 900; cursor: pointer; }
.history-filter-group button.active { background: linear-gradient(135deg, #e60012 0%, #ff8f00 100%); color: #fff; border-color: #e60012; box-shadow: inset 0 -3px 0 #fff176; }
.history-filter-group .wave-red { color: #d90000; }
.history-filter-group .wave-blue { color: #1d4ed8; }
.history-filter-group .wave-green { color: #15803d; }
.history-filter-number { display: grid; grid-template-columns: 58px 1fr 82px; gap: 6px; align-items: center; margin-top: 6px; }
.history-filter-number input { width: 100%; min-height: 38px; border: 1px solid #c7ddff; border-radius: 6px; padding: 6px 10px; color: #0d47a1; font-size: 18px; font-weight: 900; text-align: center; outline: none; }
.history-filter-number input:focus { border-color: #1e88e5; box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.16); }
.history-filter-number button { background: #fff7ed; color: #d90000; border-color: #fed7aa; }
.history-section[hidden] { display: none; }
.history-section { border: 2px solid #1e88e5; border-radius: 8px; overflow: hidden; margin-bottom: 12px; background: #fff; box-shadow: 0 5px 18px rgba(15, 23, 42, 0.1); }
.history-section-title { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(to bottom, #87ceeb, #f0f8ff); border-bottom: 2px solid #1e88e5; padding: 12px 14px; }
.history-section-title h2 { color: #0000ff; font-size: 28px; line-height: 1.15; }
.history-section-title span { color: #d90000; font-size: 18px; font-weight: 900; background: #fff; border: 1px solid #ffd6d6; border-radius: 999px; padding: 4px 10px; }
.history-list { display: flex; flex-direction: column; gap: 8px; padding: 8px; background: #f5f9ff; }
.history-row { display: grid; grid-template-columns: 104px 1fr 128px; gap: 10px; align-items: center; padding: 10px; border: 1px solid #d7e8ff; border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06); }
.history-row:first-child { border-color: #f59e0b; background: linear-gradient(135deg, #fff 0%, #fff8db 100%); }
.history-period { color: #d90000; font-size: 22px; font-weight: 900; text-align: center; white-space: nowrap; background: #fff4f4; border: 1px solid #ffd6d6; border-radius: 6px; padding: 8px 4px; }
.history-row:first-child .history-period { background: #fff176; border-color: #f59e0b; color: #a80000; }
.history-balls { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; align-items: center; }
.history-ball { aspect-ratio: 1 / 1; border-radius: 12px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 22px; font-weight: 900; line-height: 1; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16), 0 2px 7px rgba(0, 0, 0, 0.12); }
.history-ball.red { background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%); }
.history-ball.blue { background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%); }
.history-ball.green { background: linear-gradient(180deg, #22c55e 0%, #15803d 100%); }
.history-ball em { display: block; margin-top: 4px; font-size: 13px; font-style: normal; font-weight: 900; opacity: 0.96; }
.history-ball.special { outline: 3px solid #ffd54f; outline-offset: -3px; }
.history-ball.hit { outline: 3px solid #ffff00; outline-offset: -3px; box-shadow: 0 0 0 2px rgba(255, 255, 0, 0.5); }
.history-ball.history-filter-match { outline: 4px solid #fff176; outline-offset: -4px; transform: translateY(-1px); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28), inset 0 -4px 0 rgba(0, 0, 0, 0.16); }
.history-ball.history-filter-dim { opacity: 0.28; filter: grayscale(0.35); }
.history-row-filtered { border-color: #f59e0b; background: #fffdf0; }
.history-empty { margin-bottom: 12px; padding: 22px 10px; border: 2px dashed #f59e0b; border-radius: 8px; background: #fffdf0; color: #d90000; font-size: 22px; font-weight: 900; text-align: center; }
.history-plus { color: #e60012; font-size: 30px; font-weight: 900; text-align: center; line-height: 1; }
.history-time { color: #475569; font-size: 16px; font-weight: 900; text-align: center; white-space: nowrap; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 8px 4px; }

@media (max-width: 640px) {
    .history-page .container { padding: 8px; }
    .history-page .history-top { flex-wrap: wrap; gap: 8px; padding: 12px; }
    .history-page .history-top .logo-split { font-size: 36px; }
    .history-home-link { font-size: 16px; padding: 7px 12px; }
    .history-title-bar { padding: 14px 8px; }
    .history-title-bar h1 { font-size: 28px; }
    .history-date { font-size: 15px; }
    .history-tabs { gap: 6px; padding: 6px; }
    .history-tabs a { min-height: 40px; font-size: 17px; }
    .history-filter-head { align-items: flex-start; flex-direction: column; }
    .history-filter-head strong { font-size: 20px; }
    .history-filter-head span { text-align: left; }
    .history-filter-group { grid-template-columns: 44px repeat(6, minmax(0, 1fr)); gap: 5px; }
    .history-filter-compact { grid-template-columns: 44px repeat(3, minmax(0, 1fr)); }
    .history-filter-label,
    .history-filter-number label { font-size: 14px; }
    .history-filter-group button,
    .history-filter-number button { min-height: 34px; font-size: 14px; }
    .history-filter-number { grid-template-columns: 44px 1fr 68px; }
    .history-filter-number input { min-height: 34px; font-size: 16px; }
    .history-section-title { align-items: flex-start; gap: 6px; flex-direction: column; }
    .history-section-title h2 { font-size: 24px; }
    .history-row { grid-template-columns: 1fr; gap: 8px; padding: 8px; }
    .history-period,
    .history-time { text-align: left; }
    .history-balls { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .history-ball { border-radius: 9px; font-size: 16px; }
    .history-ball em { font-size: 11px; }
    .history-plus { font-size: 22px; }
}

/* ===== 独家内幕页面 ===== */
.insider-page .container { padding-top: 10px; }
.insider-hero {
    background: linear-gradient(to bottom, #87ceeb, #f0f8ff);
    border: 2px solid #007bff;
    margin-bottom: 10px;
    padding: 14px 10px;
    text-align: center;
}
.insider-hero h1 {
    color: #d90000;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 6px;
}
.insider-panel {
    border: 2px solid #007bff;
    background: #fff;
    margin-bottom: 10px;
}
.insider-title {
    background: linear-gradient(to bottom, #87ceeb, #f0f8ff);
    border-bottom: 2px solid #007bff;
    padding: 12px 10px;
    text-align: center;
    font-size: 26px;
    font-weight: 900;
}
.insider-title span { color: #d90000; }
.insider-title strong { color: #0000ff; }
.insider-feature {
    display: grid;
    grid-template-columns: 110px 1fr 110px;
    align-items: stretch;
}
.insider-period,
.insider-result {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    font-size: 24px;
    font-weight: 900;
}
.insider-period {
    color: #008000;
    border-right: 1px solid #ccc;
}
.insider-result {
    color: #ff0000;
    border-left: 1px solid #ccc;
}
.insider-main {
    padding: 12px 10px;
    text-align: center;
}
.insider-main-title {
    color: #333;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 10px;
}
.insider-loading {
    grid-column: 1 / -1;
    padding: 28px 10px;
    color: #0d47a1;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
}
.insider-pick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}
.insider-pick-chip {
    min-height: 46px;
    border-radius: 12px;
    background: #0d47a1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
}
.insider-number-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 388px;
    margin: 0 auto;
}
.insider-ball {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}
.insider-ball em {
    margin-top: 5px;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
}
.insider-list { background: #fff; }
.insider-row {
    display: grid;
    grid-template-columns: 86px 120px 1fr 118px;
    align-items: center;
    gap: 8px;
    padding: 12px 10px;
    border-bottom: 1px solid #d7e8ff;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
}
.insider-row:last-child { border-bottom: none; }
.insider-row-period { color: #008000; }
.insider-row-name { color: #0000ff; }
.insider-row-content { color: #333; }
.insider-row-result { color: #ff0000; }
.insider-note-list {
    padding: 12px 10px;
    color: #1b5e20;
    background: #e8f5e9;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 640px) {
    .insider-hero h1 { font-size: 28px; }
    .insider-title { font-size: 22px; }
    .insider-feature { grid-template-columns: 1fr; }
    .insider-period,
    .insider-result { border: none; border-bottom: 1px solid #ccc; }
    .insider-result { border-top: 1px solid #ccc; }
    .insider-pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .insider-pick-chip { font-size: 20px; }
    .insider-number-grid { max-width: 322px; gap: 7px; }
    .insider-ball { width: 56px; height: 56px; flex-basis: 56px; font-size: 22px; }
    .insider-row { grid-template-columns: 1fr 1fr; font-size: 16px; }
    .insider-row-content,
    .insider-row-result { grid-column: span 1; }
    .insider-note-list { font-size: 17px; }
}

/* 手机端：下面三个开奖栏统一缩小标题，开奖框改成比固定栏稍大的方框 */
@media (max-width: 560px) {
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .card-header h3 {
        font-size: 10px;
        line-height: 1.15;
    }
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .card-header {
        padding: 5px 6px;
        margin-bottom: 6px;
    }
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .balls-container {
        gap: 3px;
        justify-items: center;
    }
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .ball,
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .special {
        width: 38px;
        height: 38px;
        aspect-ratio: auto;
        border-radius: 5px;
        padding: 2px 0;
        box-shadow: none;
        text-shadow: none;
        color: #fff;
        line-height: .9;
        border: 1px solid rgba(0,0,0,.16);
    }
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .ball .num,
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .special .num {
        font-size: 15px;
        line-height: 1;
        color: #fff;
    }
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .ball .zodiac,
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .special .zodiac {
        font-size: 10px;
        line-height: 1;
        color: #fff;
    }
    body.wide-home main .lottery-card:not(.top-fixed-lottery) .plus {
        margin: 0;
        font-size: 13px;
    }
}
