:root {
    --bg-color: #FFFBF0;
    --primary-color: #FF9F8C;
    --text-main: #333;
    --text-sub: #999;
    --card-radius: 16px;
    --shadow-soft: 0 8px 24px rgba(149, 157, 165, 0.08);
}

body {
    background-color: var(--bg-color);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Roboto, sans-serif;
    padding-bottom: 80px;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    color: var(--text-main);
}

[v-cloak] {
    display: none !important;
}

/* === 通用组件 === */
.van-calendar__body {
    -webkit-overflow-scrolling: touch;
}

.van-popup,
.van-overlay,
.van-action-sheet {
    z-index: 9999 !important;
}

.header-box {
    padding: 20px 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 22px;
    font-weight: 800;
    color: #333;
    letter-spacing: -0.5px;
}

/* 锁定屏幕 */
.lock-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f7f8fa;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 200px;
    box-sizing: border-box;
}

.pin-container {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: transparent;
    transition: all 0.2s;
}

.pin-dot.filled {
    background: #333;
    border-color: #333;
}

/* === Tab 0: 记录页样式 === */
.date-picker-btn {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    background: white;
    padding: 8px 16px;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.status-grid {
    display: flex;
    gap: 12px;
    padding: 0 16px;
    margin-top: 10px;
}

.status-card {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    transition: transform 0.1s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.status-card:active {
    transform: scale(0.98);
}

.card-feed {
    background: linear-gradient(135deg, #eef7ff 0%, #e0f2fe 100%);
    color: #0284c7;
}

.card-diaper {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    color: #e11d48;
}

.status-content {
    flex: 1;
}

.status-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
    font-weight: 600;
}

.status-time {
    font-size: 20px;
    font-weight: 800;
    font-family: "SF Mono", "Roboto Mono", monospace;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.status-today {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.6);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.status-icon {
    font-size: 28px;
    opacity: 0.9;
    margin-left: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.quick-actions {
    display: flex;
    justify-content: space-between;
    padding: 20px 16px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    cursor: pointer;
}

.action-btn:active .icon-circle {
    transform: scale(0.9);
    background: #f0f0f0;
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: white;
    margin-bottom: 8px;
}

.action-text {
    font-size: 12px;
    color: #555;
    font-weight: 500;
}

.c-feed {
    color: #0ea5e9;
    border-bottom: 3px solid #e0f2fe;
}

.c-diaper {
    color: #f43f5e;
    border-bottom: 3px solid #ffe4e6;
}

.c-sleep {
    color: #10b981;
    border-bottom: 3px solid #d1fae5;
}

.c-growth {
    color: #f59e0b;
    border-bottom: 3px solid #fef3c7;
}

.timeline-container {
    padding: 0 16px;
}

.log-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    position: relative;
}

.log-card:active {
    background-color: #fafafa;
}

.log-icon {
    font-size: 24px;
    margin-right: 16px;
    background: #f8f9fa;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.log-content {
    flex: 1;
}

.log-time {
    font-size: 15px;
    color: #222;
    margin-bottom: 4px;
    font-weight: 800;
    font-family: "SF Mono", monospace;
}

.log-title {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.log-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 8px;
    font-weight: 600;
    background: #f0f2f5;
    color: #666;
}

.log-detail {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-top: 6px;
    line-height: 1.4;
}

.log-note {
    font-size: 13px;
    color: #777;
    margin-top: 8px;
    background: #f9fafb;
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.5;
}

.log-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid #eee;
}

/* === Tab 1: 统计页样式 === */
.chart-wrapper {
    background: white;
    border-radius: var(--card-radius);
    padding: 20px 15px;
    margin: 16px;
    box-shadow: var(--shadow-soft);
}

.chart-header {
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
}

.chart-header::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-right: 8px;
}

.chart-box {
    height: 260px;
}

/* === Tab 2: AI 页样式 === */
.ai-config-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 20px;
    margin: 0 16px;
    box-shadow: var(--shadow-soft);
}

.ai-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.ai-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.ai-option-item {
    background: #f5f6f7;
    border-radius: 12px;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.ai-option-item.active {
    background: #fff0ed;
    border-color: #FF9F8C;
    color: #e65100;
}

.ai-opt-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.ai-opt-text {
    font-size: 12px;
    font-weight: 600;
}

.ai-btn-area {
    margin-top: 24px;
}

.ai-report-container {
    margin: 20px 16px;
    padding: 20px;
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    min-height: 200px;
    position: relative;
}

.markdown-body {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.markdown-body h3 {
    font-size: 17px;
    margin: 16px 0 8px;
    color: #111;
}

.markdown-body ul {
    padding-left: 20px;
    margin: 8px 0;
    color: #444;
}

.ai-loading-box {
    text-align: center;
    padding: 40px 0;
    color: #999;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #FF9F8C;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
    margin: 0 2px;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* === Tab 3: 更多页 - 优化后的样式 === */

/* 1. 极简个人信息卡 (不含时间) */
.info-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, #fff3e0 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.info-left {
    margin-right: 16px;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    background: #ffe4ba;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.2);
    border: 2px solid white;
}

.info-mid {
    flex: 1;
}

.baby-name {
    font-size: 22px;
    font-weight: 800;
    color: #333;
    margin-bottom: 6px;
}

.baby-detail {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zodiac-tag {
    background: #f0f2f5;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    color: #666;
    font-weight: 600;
}

/* 2. 时光仪表盘卡片 (新增) */
.time-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.time-main-display {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px dashed #eee;
    margin-bottom: 16px;
}

.time-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.time-big-num {
    font-size: 18px;
    font-weight: 800;
    color: #FF9F8C;
    font-family: "SF Mono", monospace;
    letter-spacing: -0.5px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    text-align: center;
}

.cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fafafa;
    padding: 10px 4px;
    border-radius: 12px;
}

.cd-title {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.cd-days {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    font-family: monospace;
}

.cd-unit {
    font-size: 10px;
    color: #aaa;
    font-weight: normal;
    margin-left: 2px;
}

/* 倒计时颜色区分 */
.cd-birth .cd-days {
    color: #f43f5e;
}

.cd-school .cd-days {
    color: #0ea5e9;
}

.cd-exam .cd-days {
    color: #f59e0b;
}

/* 3. 数据网格 */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card {
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.metric-card.m-feed {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.metric-card.m-sleep {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.metric-card.m-growth {
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}

.metric-card.m-next {
    background: linear-gradient(180deg, #ffffff 0%, #fff1f2 100%);
}

.metric-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.metric-title {
    font-size: 12px;
    font-weight: 600;
    color: #888;
}

.metric-icon {
    font-size: 16px;
    opacity: 0.5;
}

.metric-value {
    font-size: 22px;
    font-weight: 800;
    color: #333;
    font-family: "SF Mono", monospace;
    letter-spacing: -1px;
}

.metric-unit {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    margin-left: 2px;
}

.metric-sub {
    font-size: 11px;
    color: #aaa;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.detail-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.detail-card h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
}

.tips-list li {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
    padding-left: 0;
    list-style: none;
    position: relative;
    padding-left: 16px;
}

.tips-list li::before {
    content: "•";
    color: #FF9F8C;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 16px;
    line-height: 16px;
    top: 2px;
}

/* 表单样式 */
.feed-group {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px dashed #ddd;
}

.feed-group-title {
    font-size: 13px;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

/* Music Player Styles */
.sticky-player-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--bg-color);
    /* Ensure background is solid when sticky */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* Add subtle shadow for distinction */
}

.music-player-container {
    padding: 20px 16px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    margin: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.player-artwork img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: spin 8s linear infinite paused;
}

.player-artwork img.playing {
    animation-play-state: running;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.player-info {
    margin-top: 20px;
}

.player-info .song-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.player-info .song-artist {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
}

.music-playlist {
    margin: 0 16px;
    padding-bottom: 60px;
    /* For tabbar */
}

.song-item {
    display: flex;
    align-items: center;
}

.song-index {
    font-size: 14px;
    color: #999;
    width: 25px;
    text-align: right;
    margin-right: 15px;
    flex-shrink: 0;
}

.song-title-text {
    font-size: 16px;
    color: #333;
}

.van-cell.song-active .song-title-text {
    color: #FF9F8C;
    font-weight: bold;
}

.music-bars {
    display: flex;
    align-items: center;
    width: 28px;
    overflow: hidden;
    justify-content: center;
}

.music-bars span {
    display: block;
    width: 2px;
    height: 100%;
    margin: 0 1px;
    background-color: var(--primary-color);
    animation-name: music-wave;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    border-radius: 1px;
}

.music-bars span:nth-child(2) {
    animation-delay: -0.2s;
}

.music-bars span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes music-wave {
    from {
        transform: scaleY(0.3);
    }

    to {
        transform: scaleY(1);
    }
}

/* Custom Music Player UI */
.custom-player {
    margin-top: 20px;
    width: 100%;
}

.progress-bar-wrapper {
    width: 100%;
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-sub);
    font-family: "SF Mono", monospace;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: #555;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn.play-pause {
    font-size: 44px;
    color: var(--primary-color);
    margin: 0 20px;
}

.control-btn-small {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    /* fixed width for alignment */
    text-align: center;
}

.control-btn-small .van-icon {
    vertical-align: middle;
}

.playback-rate {
    font-size: 14px;
    font-weight: 600;
    font-family: "SF Mono", monospace;
    color: var(--primary-color);
}

/* Mini Player Scroll Animation Styles */
.sticky-player-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--bg-color);
    /* Ensure background is solid when sticky */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* Add subtle shadow for distinction */
    height: auto;
    /* Default to auto, will be adjusted by mini-mode class */
    overflow: hidden;
    /* Important for hiding content when height shrinks */
    transition: height 0.4s ease-in-out;
}

.sticky-player-header.mini-mode {
    height: 60px;
    /* Height for mini player */
}

.music-player-container {
    padding: 20px 16px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    margin: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    will-change: opacity, transform;
    opacity: 1;
    /* Initial state for normal view */
    transform: translateY(0);
    /* Initial state for normal view */
    pointer-events: auto;
    /* Initial state for normal view */
}

.music-player-container.hidden-by-scroll {
    opacity: 0;
    transform: translateY(-50px);
    pointer-events: none;
}

.mini-player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    /* Mini player height */
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;

    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    will-change: opacity, transform;
}

.mini-player-container.visible-by-scroll {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mini-artwork {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
    animation: spin 8s linear infinite paused;
}

.mini-artwork.playing {
    animation-play-state: running;
}

.mini-song-title {
    flex-grow: 1;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-control-btn {
    background: none;
    border: none;
    color: #555;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    margin-left: 8px;
    flex-shrink: 0;
}

/* 深度分析卡片容器 */
.insight-section {
    padding: 0 16px;
    margin-bottom: 20px;
}

.insight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* 单个分析卡片 */
.insight-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 卡片装饰背景 */
.insight-card::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.card-feed-insight {
    border-bottom: 3px solid #e0f2fe;
}

.card-feed-insight::after {
    background: #0ea5e9;
}

.card-diaper-insight {
    border-bottom: 3px solid #ffe4e6;
}

.card-diaper-insight::after {
    background: #f43f5e;
}

/* 卡片内容排版 */
.insight-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    position: relative;
    z-index: 1;
}

.insight-icon {
    margin-right: 6px;
    font-size: 16px;
}

.insight-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.insight-label {
    font-size: 11px;
    color: #999;
}

.insight-val {
    font-size: 15px;
    font-weight: 800;
    font-family: "SF Mono", monospace;
    color: #333;
}

.insight-val.highlight {
    color: #FF9F8C;
    font-size: 16px;
}

.insight-unit {
    font-size: 10px;
    color: #aaa;
    font-weight: normal;
    margin-left: 2px;
}

/* 预测栏 */
.prediction-box {
    background: #f9fafb;
    border-radius: 8px;
    padding: 8px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pred-label {
    font-size: 10px;
    color: #888;
    font-weight: 600;
}

.pred-time {
    font-size: 13px;
    color: #333;
    font-weight: 800;
}
/* 星座运势卡片 */
.horoscope-card {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 16px;
    padding: 16px;
    margin: 0 16px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 1px solid #fff;
}

.horoscope-icon {
    font-size: 32px;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.horoscope-content {
    flex: 1;
}

.horoscope-title {
    font-size: 14px;
    font-weight: 800;
    color: #333;
    margin-bottom: 4px;
}

.horoscope-desc {
    font-size: 12px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制2行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* 详情弹窗 */
.fortune-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.fortune-item {
    background: #f9f9f9;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}

.fortune-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.fortune-val {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.fortune-summary {
    padding: 0 16px 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}