body {
    margin: 0;
    font-family: Arial, "Microsoft YaHei", sans-serif;
    background: #f4f5f7;
    color: #222;
}

a {
    color: #b30000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    width: 980px;
    margin: 0 auto;
    padding: 16px 0 32px;
}

.hero {
    background: linear-gradient(135deg, #b30000, #ff6b4a);
    color: #fff;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.hero h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.hero p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.hero-meta span {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 14px;
}

.nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.nav a {
    display: inline-block;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #ffd0d0;
    border-radius: 999px;
    font-weight: 700;
}

.panel {
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    margin-top: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.panel h2 {
    margin: 0 0 14px;
    font-size: 22px;
    color: #b30000;
}

.panel h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #8f0000;
}

.panel p,
.panel li {
    line-height: 1.8;
}

.notice-strip {
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff4cc;
    color: #7a4300;
    border: 1px solid #f3d37a;
    font-weight: 700;
}

.notice-strip marquee {
    margin-top: 6px;
    font-weight: 400;
    color: #7a4300;
}

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

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

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.action-card,
.content-card,
.stat-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 18px;
}

.action-card strong,
.stat-card strong {
    display: block;
    margin-bottom: 8px;
    color: #8f0000;
    font-size: 18px;
}

.stat-card ul,
.content-card ul {
    margin: 0;
    padding-left: 18px;
}

.banner-image,
.content-image {
    width: 100%;
    border-radius: 14px;
    display: block;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.iframe-panel {
    padding: 0;
    overflow: hidden;
}

.live-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
}

.frame-box iframe {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: #fff;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    padding: 10px 8px;
    border-radius: 12px;
    background: #fff4f4;
    border: 1px solid #ffd2d2;
    font-weight: 700;
}

.chip .num {
    font-size: 24px;
    color: #b30000;
}

.chip .zodiac {
    margin-top: 4px;
    font-size: 14px;
    color: #444;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
}

.records-table th,
.records-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #ececec;
    vertical-align: top;
    text-align: left;
}

.records-table th {
    background: #fff7f7;
    color: #8f0000;
}

.toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.toolbar select,
.toolbar button {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #d8d8d8;
    font-size: 14px;
}

.toolbar button {
    background: #b30000;
    border-color: #b30000;
    color: #fff;
    cursor: pointer;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gallery-item {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.year-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.year-links a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff4f4;
    border: 1px solid #ffd2d2;
    font-weight: 700;
}

.year-links a.active {
    background: #b30000;
    border-color: #b30000;
    color: #fff;
}

.record-block {
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 16px;
    margin-top: 14px;
}

.record-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 700;
}

.ball-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.ball {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #fff7f7;
}

.ball img {
    width: 32px;
    height: 32px;
}

.plus {
    font-size: 24px;
    color: #b30000;
    font-weight: 700;
}

.date-table,
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.date-table th,
.date-table td,
.info-table th,
.info-table td {
    padding: 12px 10px;
    border: 1px solid #ececec;
    text-align: left;
    vertical-align: top;
}

.date-table th,
.info-table th {
    background: #fff7f7;
    color: #8f0000;
}

.site-footer {
    text-align: center;
    color: #777;
    font-size: 14px;
}

.muted {
    color: #777;
}

.empty {
    padding: 20px 0;
    color: #888;
    text-align: center;
}

@media (max-width: 1000px) {
    .page {
        width: auto;
        padding: 12px;
    }

    .live-grid,
    .gallery,
    .grid-2,
    .grid-3,
    .action-grid {
        grid-template-columns: 1fr;
    }
}
