/* ===== 基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --header-h: 56px;
    --dock-w: 192px;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --bg: #eef1f6;
    --card: #fff;
    --text: #2c3e50;
    --muted: #8a94a6;
    --line: #e8ecf1;
    --dock-bg: #ffffff;
    --dock-text: #334155;
    --dock-muted: #64748b;
    --dock-border: #e2e8f0;
    --dock-hover: #f1f5f9;
    --dock-group-bg: #f8fafc;
}

html { scroll-behavior: smooth; }

body.site-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { opacity: .88; }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }

.site-main .container { max-width: none; padding: 0; }

/* ===== 顶栏 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    height: var(--header-h);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav { display: flex; gap: 4px; }

.nav-item {
    color: rgba(255,255,255,.92);
    padding: 8px 14px;
    border-radius: 6px;
    font-size: .88rem;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}

/* ===== 页面骨架 ===== */
.site-shell {
    position: relative;
    min-height: calc(100vh - var(--header-h));
}

.site-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 0;
}

.main-content { min-height: 50vh; }

/* ===== 左侧漂浮彩种导航 ===== */
.lottery-dock {
    display: none;
}

.dock-overlay { display: none; }
.dock-fab { display: none; }

@media (min-width: 992px) {
    .lottery-dock {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: var(--dock-w);
        max-height: calc(100vh - var(--header-h) - 32px);
        background: var(--dock-bg);
        border-radius: 14px;
        box-shadow: 0 8px 32px rgba(0,0,0,.14);
        border: 1px solid var(--dock-border);
        z-index: 200;
        overflow: hidden;
    }

    .site-main {
        padding-left: calc(var(--dock-w) + 36px);
        padding-right: 20px;
    }
}

.dock-head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
}

.dock-title { font-size: .88rem; font-weight: 700; letter-spacing: .5px; }
.dock-close { display: none; background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; }

.dock-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0 10px;
    background: var(--dock-bg);
    color: var(--dock-text);
}

.dock-group { border-bottom: 1px solid var(--dock-border); }

.dock-group:last-of-type { border-bottom: none; }

.dock-group summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 14px 8px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--dock-muted);
    letter-spacing: .6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dock-group-bg);
}

.dock-group summary::-webkit-details-marker { display: none; }

.dock-group summary em {
    font-style: normal;
    background: var(--dock-hover);
    color: var(--primary);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: .68rem;
}

.dock-list { padding: 0 8px 8px; background: var(--dock-bg); }

.dock-link {
    display: block;
    padding: 8px 10px;
    margin-bottom: 2px;
    border-radius: 8px;
    font-size: .82rem;
    color: var(--dock-text);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dock-link:hover {
    background: var(--dock-hover);
    color: var(--primary);
    opacity: 1;
}

.dock-link.active {
    background: var(--dock-active-bg, rgba(196,30,58,.1));
    color: var(--primary);
    font-weight: 600;
}

.dock-all {
    display: block;
    margin: 6px 10px 4px;
    padding: 10px;
    text-align: center;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--dock-hover);
    border-radius: 8px;
}

/* 移动端抽屉 */
@media (max-width: 991px) {
    .lottery-dock {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        top: 0;
        transform: none;
        width: min(300px, 88vw);
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        z-index: 400;
        translate: -100% 0;
        transition: translate .25s ease;
        background: var(--dock-bg);
        border-right: 1px solid var(--dock-border);
        box-shadow: 4px 0 24px rgba(0,0,0,.25);
    }

    .lottery-dock.open { translate: 0 0; }

    .dock-close { display: block; }

    .dock-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.45);
        z-index: 350;
    }

    .dock-overlay.open { display: block; backdrop-filter: blur(2px); }

    .dock-head { box-shadow: 0 2px 8px rgba(0,0,0,.15); }

    .dock-fab {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 14px;
        bottom: 22px;
        z-index: 280;
        width: 46px;
        height: 46px;
        border: none;
        border-radius: 50%;
        background: var(--primary);
        color: #fff;
        font-size: 1.1rem;
        box-shadow: 0 4px 16px rgba(0,0,0,.22);
        cursor: pointer;
    }

    .site-main { padding: 16px 12px 0; }
}

/* ===== 首页 ===== */
.home-page { width: 100%; }

.home-quick {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    overflow: hidden;
}

.home-quick-inner {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.quick-tag {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .82rem;
    color: #5a6578;
    background: #f3f5f9;
}

.quick-tag:hover, .quick-tag.active {
    background: var(--primary);
    color: #fff;
}

.home-columns {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 16px;
    align-items: start;
}

.home-content {
    min-width: 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px;
}

.section-head h1 {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}

.section-head span { font-size: .78rem; color: var(--muted); }

.lotto-block {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 14px;
    overflow: hidden;
}

.lotto-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: #fafbfc;
    border-bottom: 1px solid var(--line);
}

.lotto-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary);
}

.lotto-meta {
    margin-left: 8px;
    font-size: .74rem;
    color: var(--muted);
}

.lotto-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .8rem;
    color: var(--muted);
}

.lotto-links b { color: var(--primary); font-weight: 600; }
.lotto-links a { color: #5a6578; }
.lotto-links a:hover { color: var(--primary); }

.table-scroll { overflow-x: auto; }

.lotto-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .84rem;
}

.lotto-table th {
    padding: 9px 16px;
    text-align: left;
    font-size: .72rem;
    font-weight: 600;
    color: var(--muted);
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.lotto-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #f3f5f9;
    vertical-align: middle;
}

.lotto-table tbody tr:last-child td { border-bottom: none; }
.lotto-table tbody tr:hover { background: #fafcff; }

.td-expect { font-weight: 600; white-space: nowrap; }
.td-time { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.td-link { text-align: right; white-space: nowrap; }
.td-link a {
    font-size: .78rem;
    padding: 3px 10px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    color: var(--primary);
}

.td-link a:hover { background: var(--primary); color: #fff; opacity: 1; }

.home-sidebar { display: flex; flex-direction: column; gap: 14px; }

.side-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px 16px;
}

.side-card h3 {
    font-size: .92rem;
    color: var(--primary);
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.side-list, .side-news { list-style: none; }

.side-list li a {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--line);
    font-size: .84rem;
    color: #4a5568;
}

.side-list li:last-child a { border-bottom: none; }
.side-list small { color: var(--muted); font-size: .7rem; white-space: nowrap; }

.side-news li a {
    display: block;
    padding: 7px 0;
    font-size: .84rem;
    color: #4a5568;
    border-bottom: 1px dashed var(--line);
    line-height: 1.45;
}

.side-more {
    display: block;
    margin-top: 8px;
    font-size: .78rem;
    text-align: right;
    color: var(--primary);
}

.empty-box {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 48px 24px;
    text-align: center;
}

.empty-box p { font-size: 1rem; color: #666; margin-bottom: 8px; }
.empty-box small { font-size: .82rem; color: var(--muted); }

.ad-section { margin: 14px 0; text-align: center; }
.ad-link img { border-radius: var(--radius); margin: 0 auto; }

/* ===== 号码球 ===== */
.balls-row { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }

.ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
}

.balls-row.compact .ball { width: 24px; height: 24px; font-size: .72rem; }

.ball-red { background: linear-gradient(135deg,#e74c3c,#c0392b); }
.ball-blue { background: linear-gradient(135deg,#3498db,#2980b9); }
.ball-green { background: linear-gradient(135deg,#27ae60,#1e8449); }
.ball-default { background: linear-gradient(135deg,var(--primary),var(--secondary)); }

.pk10-ball { border-radius: 5px; width: 26px; height: 26px; font-size: .75rem; }

.ball-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; }
.ball-wrap.special { padding-top: 4px; margin-right: 2px; }

.special-tag {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #222;
    font-size: 8px;
    line-height: 1.1;
    padding: 0 3px;
    border-radius: 2px;
    font-weight: 700;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
}

.theme-dark .special-tag { color: #111; }

.balls-row.compact .ball-wrap.special { padding-top: 3px; }
.balls-row.compact .special-tag { font-size: 7px; padding: 0 2px; top: -1px; }

.ball-meta { font-size: .62rem; color: var(--muted); }

/* ===== 彩种内页 ===== */
.lottery-hero { text-align: center; padding: 20px 0 8px; }
.lottery-hero h1 { font-size: 1.5rem; color: var(--primary); }
.draw-desc { color: var(--muted); font-size: .88rem; margin-top: 4px; }

.countdown-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: var(--radius);
    padding: 18px;
    text-align: center;
    margin: 14px 0;
}

.countdown-label { font-size: .88rem; opacity: .9; }
.countdown-time { font-size: 1.7rem; font-weight: 700; margin-top: 6px; }

.sub-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.sub-nav a {
    padding: 7px 14px;
    background: var(--card);
    border-radius: 20px;
    font-size: .82rem;
    color: #5a6578;
    box-shadow: var(--shadow);
}

.sub-nav a.active, .sub-nav a:hover {
    background: var(--primary);
    color: #fff;
    opacity: 1;
}

.rules-box, .draw-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    margin: 12px 0;
    box-shadow: var(--shadow);
}

.draw-card-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: .88rem;
}

.draw-card-foot {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: .82rem;
    color: var(--muted);
    align-items: center;
}

/* ===== 走势分析 ===== */
.stats-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    background: var(--card);
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stats-tab {
    padding: 7px 14px;
    border-radius: 20px;
    font-size: .82rem;
    background: #f3f5f9;
    color: #5a6578;
}

.stats-tab.active, .stats-tab:hover {
    background: var(--primary);
    color: #fff;
    opacity: 1;
}

.stats-page {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.stats-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.stats-desc {
    background: #edf4fb;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: .84rem;
    color: #555;
    margin-bottom: 14px;
}

.stats-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--muted);
}

.stats-empty p { margin-bottom: 8px; font-size: .95rem; }
.stats-empty a { color: var(--primary); font-weight: 600; }

.hotcold-table, .trend-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}

.hotcold-table th, .trend-table th {
    background: #f5f7fa;
    padding: 9px;
    text-align: center;
    font-weight: 600;
}

.hotcold-table td, .trend-table td {
    padding: 7px;
    border: 1px solid var(--line);
    text-align: center;
    vertical-align: middle;
}

.rank-label { font-weight: 600; white-space: nowrap; }

.num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    border-radius: 6px;
    margin: 2px;
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
}

.num-badge.hot { background: #e74c3c; }
.num-badge.warm { background: #f39c12; }
.num-badge.cold { background: #3498db; }
.num-badge small.cnt { font-size: .62rem; margin-left: 2px; }

.highlight-num {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.hit-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #3498db;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

.hit-circle.hit-primary { background: var(--primary); }

.omit-num { font-size: .68rem; color: #c0c8d4; }
.omit-cell { min-width: 22px; }

.cell-big { background: #ffeaea; color: #c0392b; font-weight: 600; }
.cell-small { background: #eaf4ff; color: #2980b9; font-weight: 600; }
.cell-a { color: #c0392b; font-weight: 600; }
.cell-b { color: #2980b9; font-weight: 600; }

.trend-升 { color: #e74c3c; }
.trend-降 { color: #3498db; }
.trend-平 { color: #999; }

.trend-table-wrap { overflow-x: auto; }

.pattern-chart {
    margin: 14px 0;
    padding: 14px;
    background: #fafbfc;
    border-radius: 8px;
}

.desktop-only-wide { display: block; }

@media (max-width: 768px) {
    .desktop-only-wide { overflow-x: auto; }
    .attr-trend-table { min-width: 520px; }
}

.chart-title { font-size: .84rem; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.stats-subtitle { margin: 16px 0 8px; font-size: .95rem; }

.shape-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

.shape-tag {
    background: #f3f5f9;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: .82rem;
    color: #555;
}

.shape-tag strong { color: var(--primary); margin-left: 4px; }

.shape-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    background: #fff3e0;
    color: #e65100;
    font-weight: 600;
    font-size: .82rem;
}

.omit-matrix-wrap { max-height: 480px; overflow: auto; }

.omit-matrix .sticky-col {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
    min-width: 68px;
    font-weight: 600;
    box-shadow: 2px 0 4px rgba(0,0,0,.04);
}

.omit-matrix thead .sticky-col { background: #f5f7fa; }

.attr-matrix .hit-circle { min-width: 22px; padding: 0 2px; border-radius: 4px; font-size: .68rem; }

.grid-trend-table .cell-odd, .grid-trend-table .cell-a { color: #c0392b; font-weight: 700; }
.grid-trend-table .cell-even, .grid-trend-table .cell-b { color: #2980b9; font-weight: 700; }

/* 主题：移动端浮窗对比度增强 */
.theme-classic_red { --dock-active-bg: rgba(196,30,58,.12); }
.theme-deep_blue { --dock-active-bg: rgba(26,82,118,.18); }
.theme-dark_night { --dock-active-bg: rgba(233,69,96,.15); }
.theme-emerald { --dock-active-bg: rgba(30,132,73,.15); }
.theme-royal_gold { --dock-active-bg: rgba(183,149,11,.15); }


@media (max-width: 991px) {
    .dock-overlay.open { backdrop-filter: blur(2px); }
    .dock-head { box-shadow: 0 2px 8px rgba(0,0,0,.15); }
}

.filter-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filter-form label { font-size: .84rem; color: var(--muted); }
.filter-form select {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: .84rem;
}

.checkbox-label {
    font-size: .84rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.codes-cell { white-space: nowrap; font-size: .78rem; }

/* ===== 列表/详情/历史 ===== */
.page-title-bar { margin-bottom: 20px; }
.page-title-bar h1 { font-size: 1.5rem; color: var(--primary); }
.page-title-bar p { color: var(--muted); margin-top: 4px; }

.list-group-title {
    font-size: 1.05rem;
    margin: 18px 0 10px;
    padding-left: 10px;
    border-left: 3px solid var(--primary);
}

.lottery-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.lottery-list-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.llc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
}

.llc-name { color: #fff; font-weight: 600; }
.llc-badge { font-size: .68rem; background: rgba(255,255,255,.2); padding: 2px 8px; border-radius: 10px; }
.llc-body { padding: 14px; }
.llc-meta { display: flex; justify-content: space-between; font-size: .84rem; color: var(--muted); margin-bottom: 8px; }

.llc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f8f9fb;
    border-top: 1px solid var(--line);
    font-size: .82rem;
}

.llc-links { display: flex; gap: 10px; }

.detail-page h1 { font-size: 1.15rem; line-height: 1.5; margin-bottom: 8px; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }

.detail-box {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.detail-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; font-size: .88rem; }
.detail-stats { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }

.stat-item {
    background: #f8f9fb;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
}

.stat-item label { display: block; font-size: .72rem; color: var(--muted); }
.stat-item span { font-size: 1.1rem; font-weight: 700; color: var(--primary); }

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table th, .data-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: .84rem;
}

.data-table th { background: var(--secondary); color: #fff; }

.history-table-wrap { overflow-x: auto; margin: 14px 0; }

.pagination { display: flex; gap: 4px; margin: 14px 0; justify-content: center; flex-wrap: wrap; }
.pagination a { padding: 6px 12px; background: var(--card); border-radius: 4px; font-size: .84rem; box-shadow: var(--shadow); }
.pagination a.active { background: var(--primary); color: #fff; }

.about-page, .article-detail {
    background: var(--card);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.article-content { line-height: 1.8; margin-top: 16px; }
.back-link { display: inline-block; margin-top: 16px; color: var(--primary); }

/* ===== 页脚 / 浮动 ===== */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,.85);
    padding: 22px 0;
    text-align: center;
    margin-top: 32px;
}

.footer-note { font-size: .78rem; opacity: .75; margin-top: 4px; }

.telegram-float {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 250;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,136,204,.35);
}

.tg-btn-2 { background: #229ED9; }

/* ===== 响应式 ===== */
@media (max-width: 991px) {
    .home-columns { grid-template-columns: 1fr; }
    .home-sidebar { order: -1; }
    .lotto-table .td-time { display: none; }
    .lotto-table th:nth-child(2) { display: none; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 8px 12px 12px;
    }
    .main-nav.open { display: flex; }
    .site-header .container { position: relative; flex-wrap: wrap; }
    .lottery-list-grid { grid-template-columns: 1fr; }
    .lotto-block-head { flex-direction: column; align-items: flex-start; }
}
