﻿        .calendar-page { background: #f5f0e8; padding: 20px 0; min-height: 100vh; }
        .calendar-container { max-width: 800px; margin: 0 auto; padding: 0 15px; }

        /* 查询表单 */
        .search-box {
            background: #fff;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            text-align: center;
        }
        .search-box h3 { color: #8B4513; font-size: 18px; margin-bottom: 12px; }
        .search-form { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
        .search-form select {
            padding: 8px 12px; border: 2px solid #e0d0b0; border-radius: 6px;
            font-size: 14px; color: #8B4513; background: #fff; outline: none;
        }
        .search-form button {
            padding: 8px 20px; background: #c4621a; color: #fff; border: none;
            border-radius: 6px; font-size: 14px; cursor: pointer;
        }
        .search-form .btn-today { background: #8B4513; }

        /* 主黄历卡片 */
        .hl-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .hl-main {
            display: flex;
            border-bottom: 1px solid #f0e6d0;
        }
        .hl-left {
            flex: 1;
            padding: 30px;
            text-align: center;
            border-right: 1px solid #f0e6d0;
        }
        .hl-date-solar {
            font-size: 28px;
            color: #333;
            margin-bottom: 10px;
        }
        .hl-date-lunar {
            font-size: 48px;
            color: #c41e3a;
            font-weight: bold;
            margin: 15px 0;
        }
        .hl-ganzhi {
            font-size: 18px;
            color: #c4621a;
            margin-top: 10px;
        }
        .hl-right {
            width: 200px;
            padding: 20px;
            background: #faf8f3;
        }
        .hl-info-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #f0e6d0;
            font-size: 15px;
        }
        .hl-info-item:last-child { border-bottom: none; }
        .hl-info-label { color: #c4621a; }
        .hl-info-value { color: #333; font-weight: 500; }

        /* 宜忌 */
        .hl-yiji {
            display: flex;
            border-bottom: 1px solid #f0e6d0;
        }
        .hl-yi, .hl-ji {
            flex: 1;
            padding: 25px;
        }
        .hl-yi { border-right: 1px solid #f0e6d0; }
        .hl-yi-title, .hl-ji-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            font-size: 20px;
            font-weight: bold;
        }
        .hl-yi-title { color: #c4621a; }
        .hl-ji-title { color: #c41e3a; }
        .hl-yi-icon, .hl-ji-icon {
            width: 40px; height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #fff;
        }
        .hl-yi-icon { background: #c4621a; }
        .hl-ji-icon { background: #c41e3a; }
        .hl-yi-content, .hl-ji-content {
            font-size: 15px;
            line-height: 2;
            color: #666;
        }

        /* 吉神凶神 */
        .hl-shen {
            padding: 20px;
            border-bottom: 1px solid #f0e6d0;
        }
        .hl-shen-item {
            display: flex;
            margin-bottom: 12px;
            font-size: 15px;
            line-height: 1.8;
        }
        .hl-shen-item:last-child { margin-bottom: 0; }
        .hl-shen-label {
            width: 80px;
            color: #c4621a;
            font-weight: 500;
            flex-shrink: 0;
        }
        .hl-shen-value { color: #666; }

        /* 建除十二神等 */
        .hl-extra {
            display: flex;
            padding: 20px;
            border-bottom: 1px solid #f0e6d0;
            text-align: center;
        }
        .hl-extra-item {
            flex: 1;
            padding: 10px;
        }
        .hl-extra-item:not(:last-child) {
            border-right: 1px solid #f0e6d0;
        }
        .hl-extra-title {
            font-size: 14px;
            color: #c4621a;
            margin-bottom: 8px;
        }
        .hl-extra-value {
            font-size: 16px;
            color: #333;
            font-weight: 500;
        }

        /* 时辰宜忌 */
        .hl-shichen {
            padding: 20px;
        }
        .hl-shichen-title {
            text-align: center;
            font-size: 18px;
            color: #c4621a;
            margin-bottom: 15px;
        }
        .hl-shichen-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 10px;
        }
        .hl-shichen-item {
            text-align: center;
            padding: 10px 5px;
            background: #faf8f3;
            border-radius: 8px;
        }
        .hl-shichen-name {
            font-size: 14px;
            color: #666;
            margin-bottom: 4px;
        }
        .hl-shichen-gz {
            font-size: 13px;
            color: #999;
        }
        .hl-shichen-jx {
            font-size: 14px;
            font-weight: bold;
            margin-top: 4px;
        }
        .hl-shichen-jx.ji { color: #c4621a; }
        .hl-shichen-jx.xiong { color: #c41e3a; }

        /* 佛力加持 */
        .fo-section {
            background: linear-gradient(135deg, #8B4513, #c4621a);
            color: #fff;
            padding: 35px;
            border-radius: 16px;
            text-align: center;
            margin-top: 20px;
            box-shadow: 0 4px 20px rgba(139, 69, 19, 0.3);
        }
        .fo-section h2 {
            color: #FFD700;
            font-size: 24px;
            margin-bottom: 15px;
        }
        .fo-icon { font-size: 50px; color: #FFD700; margin: 10px 0; }
        .fo-year { font-size: 16px; color: #FFD700; margin-bottom: 10px; display: block; }
        .fo-content { font-size: 16px; color: #FFF8DC; line-height: 2; margin: 10px 0; }
        .fo-blessing {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 215, 0, 0.3);
        }
        .fo-blessing p { font-size: 15px; margin: 5px 0; color: #FFF8DC; }

        @media (max-width: 768px) {
            .hl-main { flex-direction: column; }
            .hl-left { border-right: none; border-bottom: 1px solid #f0e6d0; }
            .hl-right { width: auto; }
            .hl-yiji { flex-direction: column; }
            .hl-yi { border-right: none; border-bottom: 1px solid #f0e6d0; }
            .hl-extra { flex-direction: column; }
            .hl-extra-item:not(:last-child) { border-right: none; border-bottom: 1px solid #f0e6d0; }
            .hl-shichen-grid { grid-template-columns: repeat(3, 1fr); }
        }