html { overflow-x: hidden; }
/* ============================================
   福来阁 - 中国风全局样式
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;600&display=swap');

:root {
    --zh-red: #B8321E;
    --zh-red-dark: #8B2516;
    --zh-red-light: #D1432F;
    --zh-gold: #E8C878;
    --zh-gold-light: #F5D78E;
    --zh-cream: #FAF3E8;
    --zh-paper: #E8E0D0;
    --zh-paper-dark: #D8CDB8;
    --zh-ink: #2B2B2B;
    --zh-ink-light: #5A4A3A;
    --zh-seal: #C84848;
    --zh-cloud: #D8CDB8;
    --zh-brown: #8B6914;
    --zh-white: #FFFFFF;
    
    --score-high: #4A7C59;
    --score-mid: #B8860B;
    --score-low: #B8321E;
    
    --radius: 16px;
    --radius-sm: 8px;
    --radius-pill: 999px;
}

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

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--zh-cream);
    color: var(--zh-ink);
    min-height: 100vh;
    line-height: 1.6;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* 宣纸纹理 */
.paper-texture {
    background: var(--zh-paper);
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.04' numOctaves='5'/%3E%3CfeDiffuseLighting lighting-color='%23f5f0e8' surfaceScale='2'%3E%3CfeDistantLight azimuth='45' elevation='60'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paper)' opacity='0.4'/%3E%3C/svg%3E");
}

/* Header - 朱砂红背景 */
.header {
    background: linear-gradient(180deg, var(--zh-red-light) 0%, var(--zh-red) 100%);
    padding: 16px 20px;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 80 Q30 60 50 70 Q70 80 80 60 Q85 50 75 40 Q65 30 50 35 Q35 30 25 40 Q15 50 20 80Z' fill='%23ffffff' opacity='0.08'/%3E%3Ccircle cx='30' cy='30' r='3' fill='%23ffffff' opacity='0.15'/%3E%3Ccircle cx='70' cy='25' r='2' fill='%23ffffff' opacity='0.1'/%3E%3Ccircle cx='80' cy='50' r='2.5' fill='%23ffffff' opacity='0.12'/%3E%3C/svg%3E") no-repeat;
    background-size: contain;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 Q360 0 720 20 Q1080 40 1440 15 L1440 40 Z' fill='%23FAF3E8'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: 100% 100%;
}

.brand {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 28px;
    font-weight: 400;
    color: var(--zh-gold);
    letter-spacing: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

/* Main */
.main {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 32px 0 24px;
    position: relative;
}

.hero h1 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 6px;
    color: var(--zh-red);
    text-shadow: 2px 2px 0 rgba(184, 50, 30, 0.1);
}

.subtitle {
    color: var(--zh-ink-light);
    font-size: 15px;
    margin-bottom: 20px;
    font-family: 'Noto Serif SC', serif;
}

.features {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.tag {
    background: rgba(184, 50, 30, 0.08);
    color: var(--zh-red);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid rgba(184, 50, 30, 0.2);
    font-family: 'Noto Serif SC', serif;
}

/* 云纹分隔线 */
.cloud-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--zh-red);
    font-size: 14px;
    font-family: 'Noto Serif SC', serif;
}

.cloud-divider::before,
.cloud-divider::after {
    content: '';
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--zh-red), transparent);
}

/* Form Card */
.form-card {
    background: var(--zh-white);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
    position: relative;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(184, 50, 30, 0.1);
    border-radius: calc(var(--radius) - 4px);
    pointer-events: none;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--zh-paper-dark);
    font-size: 16px;
    color: var(--zh-red);
    font-family: 'Noto Serif SC', serif;
    font-weight: 600;
}

.form-icon { font-size: 20px; }

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--zh-ink-light);
    font-family: 'Noto Serif SC', serif;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="tel"],
input[type="password"],
select {
    width: 100%;
    padding: 12px 14px;
    background: var(--zh-cream);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius-sm);
    color: var(--zh-ink);
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
    /* -webkit-/* appearance: none; removed for mobile native picker */ removed for mobile native picker */
    /* appearance: none; removed for mobile native picker */
    cursor: pointer;
    font-family: 'Noto Sans SC', sans-serif;
}

input:focus, select:focus {
    border-color: var(--zh-red);
    box-shadow: 0 0 0 3px rgba(184, 50, 30, 0.1);
}

input::placeholder {
    color: #BBBBBB;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B6914' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.calendar-inline {
    display: inline-block;
    width: auto;
    min-width: 70px;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 13px;
    vertical-align: middle;
}

.date-row {
    display: flex;
    gap: 10px;
}

.date-row select {
    flex: 1;
    min-width: 0;
    height: 46px;
}

/* Radio */
.radio-group {
    display: flex;
    gap: 12px;
}

.radio-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: var(--zh-cream);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.radio-item input { display: none; }

.radio-item:has(input:checked) {
    border-color: var(--zh-red);
    background: rgba(184, 50, 30, 0.06);
    color: var(--zh-red);
}

/* Checkbox */
.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
    font-size: 13px;
    color: var(--zh-ink-light);
    cursor: pointer;
}

.checkbox-item input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--zh-red);
}

/* Privacy Notice */
.privacy-notice {
    background: var(--zh-cream);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--zh-ink-light);
    line-height: 1.7;
}

.privacy-notice a {
    color: var(--zh-red);
    text-decoration: none;
}

.hint {
    font-size: 12px;
    color: #9E9E9E;
    margin-top: 4px;
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(180deg, var(--zh-red-light) 0%, var(--zh-red) 100%);
    color: var(--zh-white);
    border: none;
    border-radius: var(--radius-pill);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(184, 50, 30, 0.35);
    font-family: 'Noto Serif SC', serif;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--zh-red) 0%, var(--zh-red-dark) 100%);
    box-shadow: 0 6px 20px rgba(184, 50, 30, 0.45);
    transform: translateY(-1px);
}

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

.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--zh-red);
    color: var(--zh-red);
    border-radius: var(--radius-sm);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Serif SC', serif;
}

.btn-secondary:hover {
    background: rgba(184, 50, 30, 0.08);
}

/* Loading */
.loading-card {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--zh-paper-dark);
    border-top-color: var(--zh-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error */
.error-card {
    text-align: center;
    padding: 60px 20px;
    background: var(--zh-white);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius);
    margin-top: 20px;
}

.error-icon { font-size: 48px; margin-bottom: 16px; }
.error-card h3 { margin-bottom: 8px; font-family: 'Noto Serif SC', serif; }
.error-card p { color: var(--zh-ink-light); margin-bottom: 24px; }

/* Score Card */
.score-card {
    background: var(--zh-white);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.08);
}

.score-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
}

.score-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: var(--zh-paper-dark);
    stroke-width: 8;
}

.ring-fill {
    fill: none;
    stroke: var(--zh-red);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 1.5s ease-out;
}

.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    font-weight: 700;
    color: var(--zh-red);
    font-family: 'Ma Shan Zheng', cursive;
}

.score-label {
    position: absolute;
    top: 68%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--zh-ink-light);
    font-family: 'Noto Serif SC', serif;
}

.score-info .score-tier {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Noto Serif SC', serif;
}

.score-tier.high { background: rgba(74, 124, 89, 0.12); color: var(--score-high); border: 1px solid rgba(74, 124, 89, 0.3); }
.score-tier.mid { background: rgba(184, 134, 11, 0.12); color: var(--score-mid); border: 1px solid rgba(184, 134, 11, 0.3); }
.score-tier.low { background: rgba(184, 50, 30, 0.12); color: var(--score-low); border: 1px solid rgba(184, 50, 30, 0.3); }

.score-info h2 {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Noto Serif SC', serif;
}

.score-info p {
    color: var(--zh-ink-light);
    font-size: 14px;
    line-height: 1.7;
}

/* Section Card */
.section-card {
    background: var(--zh-white);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(139, 69, 19, 0.06);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--zh-paper-dark);
    font-family: 'Noto Serif SC', serif;
    color: var(--zh-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--zh-red);
    border-radius: 2px;
}

/* Dimension List */
.dimension-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dimension-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dimension-name {
    width: 70px;
    font-size: 14px;
    color: var(--zh-ink-light);
    flex-shrink: 0;
    font-family: 'Noto Serif SC', serif;
}

.dimension-bar-wrap {
    flex: 1;
    height: 8px;
    background: var(--zh-cream);
    border-radius: 4px;
    overflow: hidden;
}

.dimension-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-out;
}

.dimension-bar.high { background: var(--score-high); }
.dimension-bar.mid { background: var(--score-mid); }
.dimension-bar.low { background: var(--score-low); }

.dimension-score {
    width: 36px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    font-family: 'Ma Shan Zheng', cursive;
}

/* Bazi Grid */
.bazi-grid {
    display: grid;
    grid-template-columns: 60px repeat(4, 1fr);
    gap: 8px;
    text-align: center;
}

.bazi-header {
    font-size: 12px;
    color: #9E9E9E;
    padding: 8px 0;
    font-family: 'Noto Serif SC', serif;
}

.bazi-label {
    font-size: 12px;
    color: var(--zh-ink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif SC', serif;
}

.bazi-cell {
    padding: 12px;
    background: var(--zh-cream);
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 600;
    font-family: 'Ma Shan Zheng', cursive;
}

/* Wuxing colors */
.wx-mu { color: #4A7C59; }
.wx-huo { color: #B8321E; }
.wx-tu { color: #A68B5B; }
.wx-jin { color: #B8860B; }
.wx-shui { color: #4A7C9B; }

/* Fortune Text */
.fortune-text {
    font-size: 14px;
    color: var(--zh-ink-light);
    line-height: 1.8;
    white-space: pre-wrap;
    font-family: 'Noto Serif SC', serif;
}

/* Ad Card */
.ad-card {
    background: var(--zh-cream);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
}

.ad-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(184, 50, 30, 0.12);
    color: var(--zh-red);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-family: 'Noto Serif SC', serif;
}

.ad-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    background: var(--zh-cream);
}

.ad-content h4 {
    font-size: 16px;
    margin-bottom: 6px;
    font-family: 'Noto Serif SC', serif;
}

.ad-content p {
    font-size: 14px;
    color: var(--zh-ink-light);
    margin-bottom: 14px;
    line-height: 1.6;
}

.ad-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(180deg, var(--zh-red-light) 0%, var(--zh-red) 100%);
    color: var(--zh-white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    font-family: 'Noto Serif SC', serif;
}

.ad-btn:hover {
    background: linear-gradient(180deg, var(--zh-red) 0%, var(--zh-red-dark) 100%);
}

/* Consult Banner */
.consult-banner {
    background: var(--zh-white);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    box-shadow: 0 2px 12px rgba(139, 69, 19, 0.06);
}

.consult-content h4 {
    font-size: 15px;
    margin-bottom: 4px;
    font-family: 'Noto Serif SC', serif;
}

.consult-content p {
    font-size: 13px;
    color: var(--zh-ink-light);
}

.consult-btn {
    padding: 10px 20px;
    background: linear-gradient(180deg, var(--zh-red-light) 0%, var(--zh-red) 100%);
    color: var(--zh-white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: 'Noto Serif SC', serif;
}

.consult-btn:hover {
    background: linear-gradient(180deg, var(--zh-red) 0%, var(--zh-red-dark) 100%);
}

/* Share */
.share-section {
    text-align: center;
    padding: 20px 0;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--zh-ink);
    color: var(--zh-white);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease-out;
    z-index: 1000;
    pointer-events: none;
    font-family: 'Noto Sans SC', sans-serif;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   用户认证弹窗
   ============================================ */

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.btn-login-small {
    padding: 6px 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid var(--zh-gold);
    color: var(--zh-gold);
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    font-family: 'Noto Serif SC', serif;
    transition: all 0.2s;
}

.btn-login-small:hover {
    background: rgba(255,255,255,0.25);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--zh-gold);
}

.user-info .btn-text {
    color: var(--zh-gold);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Noto Serif SC', serif;
    transition: opacity 0.2s;
}

.user-info .btn-text:hover {
    opacity: 0.8;
}

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(43, 30, 20, 0.6);
}

.modal-box {
    position: relative;
    background: var(--zh-cream);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius);
    padding: 24px;
    width: 90%;
    max-width: 380px;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.2);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Ma Shan Zheng', cursive;
    color: var(--zh-red);
    letter-spacing: 2px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--zh-ink-light);
    font-size: 24px;
    cursor: pointer;
}

.modal-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--zh-ink-light);
    font-family: 'Noto Serif SC', serif;
}

.modal-switch a {
    color: var(--zh-red);
    text-decoration: none;
}

.code-row {
    display: flex;
    gap: 10px;
}

.code-row input {
    flex: 1;
}

.btn-code {
    padding: 12px 14px;
    background: var(--zh-cream);
    border: 1px solid var(--zh-red);
    border-radius: var(--radius-sm);
    color: var(--zh-red);
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    min-width: 100px;
    font-family: 'Noto Serif SC', serif;
    transition: all 0.2s;
}

.btn-code:hover {
    background: rgba(184, 50, 30, 0.08);
}

.btn-code:disabled {
    color: #BBBBBB;
    border-color: #DDDDDD;
    cursor: not-allowed;
}

/* Records Page */
.page-title {
    margin-bottom: 20px;
}

.btn-back {
    background: none;
    border: none;
    color: var(--zh-red);
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 12px;
    padding: 0;
    font-family: 'Noto Serif SC', serif;
}

.page-title h2 {
    font-size: 22px;
    font-weight: 600;
    font-family: 'Ma Shan Zheng', cursive;
    color: var(--zh-red);
    letter-spacing: 2px;
}

.records-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.record-card {
    background: var(--zh-white);
    border: 1px solid var(--zh-paper-dark);
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.06);
}

.record-card .record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.record-card .record-name {
    font-weight: 600;
    font-size: 15px;
    font-family: 'Noto Serif SC', serif;
}

.record-card .record-score {
    font-size: 20px;
    font-weight: 700;
    color: var(--zh-red);
    font-family: 'Ma Shan Zheng', cursive;
}

.record-card .record-meta {
    font-size: 13px;
    color: var(--zh-ink-light);
    margin-bottom: 4px;
    font-family: 'Noto Serif SC', serif;
}

.record-card .record-date {
    font-size: 12px;
    color: #9E9E9E;
}

.records-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--zh-ink-light);
}

/* 印章效果 */
.seal-stamp {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid var(--zh-seal);
    border-radius: 4px;
    color: var(--zh-seal);
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 16px;
    transform: rotate(-3deg);
    opacity: 0.9;
}

/* 竖排文字 */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: 'Ma Shan Zheng', cursive;
    letter-spacing: 4px;
}

/* Responsive */
@media (max-width: 480px) {
    .main { padding: 0 16px 32px; }
    .hero h1 { font-size: 34px; }
    .score-number { font-size: 36px; }
    .consult-banner { flex-direction: column; text-align: center; }
    .brand { font-size: 24px; }
}
