* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e8e8e8;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    color: #888;
    font-size: 1.1rem;
}

section {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

section h2 {
    color: #f5af19;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

/* 输入表单 */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.form-row label {
    min-width: 100px;
    color: #aaa;
}

.form-row input,
.form-row select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 1rem;
}

.form-row button {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.form-row button:hover {
    background: rgba(255,255,255,0.2);
}

.primary-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(241, 39, 17, 0.3);
}

.primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 卦象展示 */
.hexagram-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.hexagram-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.trigram-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.trigram-symbol {
    font-size: 2.5rem;
}

.trigram-name {
    color: #aaa;
}

.hexagram-name {
    font-size: 2rem;
    color: #f5af19;
    margin-top: 10px;
}

.hexagram-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
}

.yao-line {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.yao-line.yang .yang-bar {
    width: 120px;
    height: 12px;
    background: linear-gradient(90deg, #f5af19, #f12711);
    border-radius: 6px;
}

.yao-line.yin {
    display: flex;
    gap: 8px;
}

.yao-line.yin .yin-left,
.yao-line.yin .yin-right {
    width: 54px;
    height: 12px;
    background: linear-gradient(90deg, #4a4a6a, #6a6a8a);
    border-radius: 6px;
}

.yao-line.moving .yang-bar,
.yao-line.moving .yin-left,
.yao-line.moving .yin-right {
    box-shadow: 0 0 15px rgba(241, 39, 17, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.moving-label {
    background: #f12711;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.yao-position {
    color: #888;
    font-size: 0.9rem;
    min-width: 50px;
}

/* 详细信息卡片 */
.hexagram-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-card {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid #f5af19;
}

.detail-card h4 {
    color: #f5af19;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.detail-card p {
    color: #ccc;
    font-size: 1rem;
}

/* AI 预测 */
.prediction-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.prediction-card {
    background: rgba(0,0,0,0.2);
    padding: 25px;
    border-radius: 12px;
}

.prediction-card h4 {
    color: #aaa;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fortune-level {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.fortune-level.great { color: #4ade80; }
.fortune-level.good { color: #22d3ee; }
.fortune-level.neutral { color: #fbbf24; }
.fortune-level.bad { color: #fb923c; }
.fortune-level.terrible { color: #f87171; }

.time-window {
    font-size: 1.5rem;
    color: #f5af19;
    margin-bottom: 20px;
}

.probability-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prob-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prob-label {
    min-width: 80px;
    font-size: 0.85rem;
    color: #888;
}

.prob-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.prob-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.prob-fill.great { background: #4ade80; }
.prob-fill.good { background: #22d3ee; }
.prob-fill.neutral { background: #fbbf24; }
.prob-fill.bad { background: #fb923c; }
.prob-fill.terrible { background: #f87171; }
.prob-fill.time { background: #f5af19; }

.prob-value {
    min-width: 50px;
    text-align: right;
    font-size: 0.85rem;
    color: #888;
}

.prediction-note {
    margin-top: 20px;
    padding: 15px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 0.9rem;
}

/* 方向指引框 */
.direction-box {
    margin: 25px 0;
    padding: 25px;
    border-radius: 16px;
    border-left: 5px solid;
}

.direction-box.excellent {
    background: rgba(74, 222, 128, 0.1);
    border-color: #4ade80;
}

.direction-box.good {
    background: rgba(34, 211, 238, 0.1);
    border-color: #22d3ee;
}

.direction-box.neutral {
    background: rgba(251, 191, 36, 0.1);
    border-color: #fbbf24;
}

.direction-box.bad {
    background: rgba(251, 146, 60, 0.1);
    border-color: #fb923c;
}

.direction-box.terrible {
    background: rgba(248, 113, 113, 0.1);
    border-color: #f87171;
}

.direction-box h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.direction-box.excellent h3 { color: #4ade80; }
.direction-box.good h3 { color: #22d3ee; }
.direction-box.neutral h3 { color: #fbbf24; }
.direction-box.bad h3 { color: #fb923c; }
.direction-box.terrible h3 { color: #f87171; }

.direction-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e8e8e8;
}

/* 行动建议 */
.action-guide {
    margin: 25px 0;
    padding: 25px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.action-guide h4 {
    color: #f5af19;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.action-content ul {
    list-style: none;
    padding: 0;
}

.action-content li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.action-content li:last-child {
    border-bottom: none;
}

.action-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #f5af19;
    font-weight: bold;
}

.action-content strong {
    color: #f5af19;
}

/* 解读说明框 */
.prediction-note-box {
    margin-top: 30px;
    padding: 25px;
    background: rgba(100, 100, 150, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.prediction-note-box h4 {
    color: #f5af19;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.prediction-note-box p {
    margin-bottom: 12px;
    color: #aaa;
    line-height: 1.7;
}

.prediction-note-box .highlight {
    color: #f5af19;
    font-weight: bold;
    margin-top: 15px;
    padding: 15px;
    background: rgba(245, 175, 25, 0.1);
    border-radius: 8px;
}

/* 趋势分析 */
.trend-display {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(245, 175, 25, 0.05) 100%);
}

.trend-summary {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.trend-item {
    text-align: center;
}

.trend-label {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.trend-value {
    font-size: 1.5rem;
    font-weight: bold;
}

.trend-value.excellent { color: #4ade80; }
.trend-value.good { color: #22d3ee; }
.trend-value.neutral { color: #fbbf24; }
.trend-value.bad { color: #fb923c; }
.trend-value.terrible { color: #f87171; }

.trend-chart-container {
    margin: 25px 0;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.trend-chart-container h4 {
    color: #f5af19;
    margin-bottom: 20px;
}

.trend-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 150px;
    gap: 5px;
    padding: 10px 0;
}

.trend-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.trend-bar-fill {
    width: 100%;
    min-height: 5px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.trend-bar-time {
    font-size: 0.7rem;
    color: #666;
    margin-top: 5px;
    transform: rotate(-45deg);
    transform-origin: top left;
}

.best-windows {
    margin: 25px 0;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.best-windows h4 {
    color: #f5af19;
    margin-bottom: 15px;
}

.best-window {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(245, 175, 25, 0.1);
    border-radius: 8px;
}

.window-rank {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5af19;
    color: #000;
    font-weight: bold;
    border-radius: 50%;
}

.window-time {
    flex: 1;
    font-weight: bold;
}

.window-duration {
    color: #888;
    font-size: 0.9rem;
}

.no-window {
    color: #888;
    text-align: center;
    padding: 20px;
}

.trend-recommendations {
    margin-top: 25px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.trend-recommendations h4 {
    color: #f5af19;
    margin-bottom: 15px;
}

.trend-recommendation {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    line-height: 1.7;
}

.trend-recommendation:last-child {
    border-bottom: none;
}

/* 相似案例 */
.cases-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.case-card {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.case-header {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.case-id {
    color: #888;
    font-size: 0.85rem;
}

.case-hexagram {
    color: #f5af19;
    font-weight: bold;
}

.case-type {
    background: rgba(245, 175, 25, 0.2);
    color: #f5af19;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.case-body {
    padding: 15px;
}

.case-body p {
    margin-bottom: 8px;
    color: #aaa;
}

.case-body p:last-child {
    margin-bottom: 0;
}

.fortune-great { color: #4ade80; }
.fortune-good { color: #22d3ee; }
.fortune-neutral { color: #fbbf24; }
.fortune-bad { color: #fb923c; }
.fortune-terrible { color: #f87171; }

/* 统计面板 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(0,0,0,0.2);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.stat-card.loading {
    grid-column: 1 / -1;
    color: #888;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f5af19;
    margin-bottom: 5px;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
}

/* 隐藏 */
.hidden {
    display: none !important;
}

/* 八字相关样式 */
.bazi-panel {
    background: linear-gradient(135deg, rgba(245, 175, 25, 0.1) 0%, rgba(241, 39, 17, 0.05) 100%);
}

.secondary-btn {
    width: 100%;
    padding: 12px 30px;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(245, 175, 25, 0.5);
    border-radius: 12px;
    color: #f5af19;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.secondary-btn:hover {
    background: rgba(245, 175, 25, 0.1);
    border-color: #f5af19;
}

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

.checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #f5af19;
}

.bazi-display {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.bazi-pillars {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.pillar-card {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    min-width: 80px;
}

.pillar-card.day-pillar {
    border: 2px solid #f5af19;
    background: rgba(245, 175, 25, 0.1);
}

.pillar-title {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.pillar-gan {
    font-size: 2rem;
    font-weight: bold;
    color: #f5af19;
    margin-bottom: 5px;
}

.pillar-zhi {
    font-size: 1.5rem;
    color: #ccc;
}

.bazi-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bazi-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bazi-info-row .label {
    color: #888;
    min-width: 60px;
}

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

.wuxing-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.wuxing-tag.木 { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.wuxing-tag.火 { background: rgba(251, 146, 60, 0.2); color: #fb923c; }
.wuxing-tag.土 { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.wuxing-tag.金 { background: rgba(192, 192, 192, 0.2); color: #c0c0c0; }
.wuxing-tag.水 { background: rgba(34, 211, 238, 0.2); color: #22d3ee; }

/* 联合分析 */
.combined-display {
    background: linear-gradient(135deg, rgba(245, 175, 25, 0.15) 0%, rgba(241, 39, 17, 0.1) 100%);
}

.combined-result {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.combined-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 16px;
    background: rgba(0,0,0,0.3);
}

.combined-score.excellent { border: 2px solid #4ade80; }
.combined-score.good { border: 2px solid #22d3ee; }
.combined-score.neutral { border: 2px solid #fbbf24; }
.combined-score.bad { border: 2px solid #fb923c; }
.combined-score.terrible { border: 2px solid #f87171; }

.score-value {
    font-size: 4rem;
    font-weight: bold;
    color: #f5af19;
}

.score-level {
    font-size: 1.5rem;
    margin-top: 10px;
}

.combined-judgment {
    font-size: 1.3rem;
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    color: #f5af19;
}

.combined-detail {
    line-height: 1.8;
    color: #ccc;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.combined-advice {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 12px;
}

.combined-advice h4 {
    color: #f5af19;
    margin-bottom: 10px;
}

.combined-advice ul {
    list-style: none;
    padding: 0;
}

.combined-advice li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.combined-advice li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #f5af19;
}

.analysis-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.breakdown-item span:first-child {
    color: #888;
    font-size: 0.9rem;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.badge.强 { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.badge.中 { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.badge.弱 { background: rgba(251, 146, 60, 0.2); color: #fb923c; }
.badge.吉 { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.badge.凶 { background: rgba(248, 113, 113, 0.2); color: #f87171; }
.badge.平 { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }

/* 八字结果展示 */
.bazi-result-display {
    background: rgba(245, 175, 25, 0.05);
}

.bazi-pillars-full {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bazi-pillars-full .pillar {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 15px 25px;
    text-align: center;
}

.bazi-pillars-full .pillar.day {
    border: 2px solid #f5af19;
    background: rgba(245, 175, 25, 0.1);
}

.bazi-pillars-full .label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
}

.bazi-pillars-full .gan {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f5af19;
}

.bazi-pillars-full .zhi {
    font-size: 1.3rem;
    color: #ccc;
    margin-top: 5px;
}

.bazi-info {
    text-align: center;
    color: #aaa;
}

.bazi-info p {
    margin: 10px 0;
}

.dayun-item {
    display: inline-block;
    padding: 4px 10px;
    margin: 2px;
    background: rgba(245, 175, 25, 0.1);
    border-radius: 4px;
    font-size: 0.9rem;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 30px;
    color: #666;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
}

/* 响应式 — 平板 */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    section {
        padding: 20px 15px;
    }

    header {
        padding: 25px 0;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    /* 表单行：垂直堆叠 */
    .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .form-row label {
        min-width: unset;
    }

    .form-row input,
    .form-row select {
        width: 100%;
    }

    .form-row button {
        width: 100%;
        padding: 12px;
    }

    /* 卦象 */
    .hexagram-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hexagram-details {
        grid-template-columns: 1fr 1fr;
    }

    /* AI 预测 */
    .prediction-cards {
        grid-template-columns: 1fr;
    }

    /* 八字四柱 */
    .bazi-pillars,
    .bazi-pillars-full {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    /* 联合分析 */
    .analysis-breakdown {
        grid-template-columns: 1fr 1fr;
    }

    .score-value {
        font-size: 3rem;
    }

    /* 趋势 */
    .trend-summary {
        flex-wrap: wrap;
        gap: 15px;
    }

    .trend-item {
        min-width: 120px;
    }

    .trend-chart {
        height: 120px;
    }
}

/* 响应式 — 手机 */
@media (max-width: 480px) {
    .container {
        padding: 8px;
    }

    section {
        padding: 15px 12px;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    header {
        padding: 20px 0;
        margin-bottom: 16px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }

    /* 按钮触控友好 */
    .primary-btn {
        padding: 14px;
        font-size: 1.1rem;
    }

    .secondary-btn {
        padding: 12px;
        font-size: 0.95rem;
    }

    /* 卦爻线缩小 */
    .yao-line.yang .yang-bar {
        width: 90px;
    }

    .yao-line.yin .yin-left,
    .yao-line.yin .yin-right {
        width: 40px;
    }

    .hexagram-lines {
        padding: 14px;
    }

    .trigram-symbol {
        font-size: 2rem;
    }

    .hexagram-name {
        font-size: 1.5rem;
    }

    /* 详细卡片单列 */
    .hexagram-details {
        grid-template-columns: 1fr;
    }

    /* 吉凶数值缩小 */
    .fortune-level {
        font-size: 2rem;
    }

    .score-value {
        font-size: 2.5rem;
    }

    .combined-score {
        padding: 20px;
    }

    /* 概率条标签截短 */
    .prob-label {
        min-width: 60px;
        font-size: 0.8rem;
    }

    .prob-value {
        min-width: 40px;
        font-size: 0.8rem;
    }

    /* 八字柱 */
    .pillar-card,
    .bazi-pillars-full .pillar {
        padding: 12px 16px;
        min-width: 64px;
    }

    .pillar-gan {
        font-size: 1.6rem;
    }

    .pillar-zhi {
        font-size: 1.2rem;
    }

    .bazi-pillars-full .gan {
        font-size: 1.5rem;
    }

    .bazi-pillars-full .zhi {
        font-size: 1.1rem;
    }

    /* 联合分析 */
    .analysis-breakdown {
        grid-template-columns: 1fr;
    }

    .direction-box,
    .action-guide,
    .prediction-note-box {
        padding: 16px;
    }

    /* 趋势图 */
    .trend-chart {
        height: 100px;
        overflow-x: auto;
    }

    .trend-bar-time {
        font-size: 0.6rem;
    }

    .trend-summary {
        flex-direction: column;
        align-items: center;
    }

    /* 案例列表单列 */
    .cases-list {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 20px;
        font-size: 0.85rem;
    }
}
