/* ==================== 全局样式 ==================== */
:root {
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", "SimHei", "黑体", "PingFang SC", "Hiragino Sans GB", "Heiti SC", sans-serif;
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-smaller: 13px;
    --font-size-tiny: 12px;
    --line-height-base: 1.6;
    --line-height-tight: 1.4;
    --line-height-normal: 1.6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    background: #faf9f7;
    color: #1a1a1a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar {
    display: none;
}

/* ==================== 起始页样式 ==================== */
.start-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #faf9f7;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

.start-page-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100vw;
    max-height: 100vh;
}

/* ==================== 主容器 ==================== */
.main-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in;
    overflow-y: auto;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================== 卡片样式 ==================== */
.card {
    background: #fff;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.08);
    border: 1px solid #d4c4a4;
}

/* 针对旧版Android的卡片内容修复 */
.card > * {
    max-width: 100%;
    box-sizing: border-box;
}

/* ==================== Logo区域 ==================== */
.logo-section {
    text-align: center;
    margin-bottom: 32px;
    padding: 20px 0;
}

.logo-img {
    width: 100%;
    max-width: 560px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ==================== 表单样式 ==================== */
.form-item {
    margin-bottom: 20px;
}

.form-item label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #5c5550;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    line-height: 1.4;
}

.required {
    color: #dc2626;
}

.form-item input,
.form-item select {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    background: white;
    color: #1a1a1a;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    height: 44px;
    font-family: inherit;
    line-height: normal;
    box-sizing: border-box;
    vertical-align: middle;
}

.form-item input:focus,
.form-item select:focus {
    border-color: #999;
    background: #fafafa;
}

.form-item input::placeholder,
.form-item select:disabled {
    color: #aaa;
    opacity: 0.8;
}

.form-item input::-webkit-input-placeholder {
    color: #aaa;
    opacity: 0.8;
}

.form-item input:-moz-placeholder {
    color: #aaa;
    opacity: 0.8;
}

.form-item input::-moz-placeholder {
    color: #aaa;
    opacity: 0.8;
}

.form-item input:-ms-input-placeholder {
    color: #aaa;
    opacity: 0.8;
}

/* select的选项文字颜色 */
.form-item select option {
    color: #1a1a1a;
}

.form-item select option:disabled {
    color: #aaa;
}

.form-item select option[value=""] {
    color: #aaa;
}

.form-item select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    cursor: pointer;
}

.date-selector {
    display: -webkit-grid;
    display: grid;
    -webkit-grid-template-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    width: 100%;
}

.date-selector select {
    padding: 8px 4px;
    padding-right: 30px;
    font-size: 14px;
    text-align: center;
    text-align-last: center;
    height: 44px;
    width: 100%;
    box-sizing: border-box;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 12px;
    color: #1a1a1a;
}

/* 为农历选择器保留原生样式以确保在 Android 7.1.2 上正常工作 */
#lunarDateGroup .date-selector select {
    -webkit-appearance: menulist;
    -moz-appearance: none;
    appearance: menulist;
    background: white;
    position: relative;
    z-index: 1;
}

/* 专门针对 Android 7.1.2 的下拉框修复 */
#lunarDateGroup .date-selector select option {
    -webkit-appearance: none;
    display: block;
    padding: 8px;
    background: white;
    color: #1a1a1a;
}

.date-selector select:focus {
    border-color: #999;
    background-color: #fafafa;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    cursor: pointer;
    user-select: none;
    gap: 8px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label span:not(.checkbox-dot) {
    font-size: 14px;
    color: #5c5550;
    display: inline;
}

.checkbox-dot {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.25s ease;
    background: white;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-dot {
    background: #e74c3c;
    border-color: #e74c3c;
}

/* ==================== 闰月单选按钮样式 ==================== */
.leap-month-selector {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 0;
}

.radio-label {
    flex: 1;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    padding: 5px 10px;
    transition: all 0.25s ease;
}

.radio-label:hover {
    color: #8B7355;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-dot {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    transition: all 0.25s ease;
    background: white;
    flex-shrink: 0;
}

/* 选中状态 */
.radio-label input[type="radio"]:checked + .radio-dot {
    border-color: #8B7355;
    background: #8B7355;
}

.radio-label input[type="radio"]:checked + .radio-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

/* 选中时的整体样式 */
.radio-label:has(input[type="radio"]:checked) {
    border-color: #8B7355;
    background: #8B7355;
    color: #fff;
}

/* ==================== 日期转换显示 ==================== */
.date-convert-display {
    margin-top: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fff9f0, #fff);
    border-radius: 6px;
    border: 1.5px solid #d4c4a4;
    font-size: 13px;
    color: #8B7355;
    text-align: center;
    transition: all 0.3s ease;
}

.date-convert-display.hidden {
    display: none;
}

.date-convert-display strong {
    color: #DC143C;
    font-weight: 600;
}

/* ==================== 按钮样式 ==================== */
.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.4);
    background: linear-gradient(135deg, #8B0000, #DC143C);
}

.submit-btn:active {
    transform: translateY(0);
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.4);
    background: linear-gradient(135deg, #8B0000, #DC143C);
}

.btn-secondary {
    color: #fff;
    background: #333;
    border: 2px solid #DC143C;
}

.btn-secondary:hover {
    background: #DC143C;
    border-color: #8B0000;
}

/* ==================== 醒目警告横幅 - 全新简约警告风格 ==================== */
.urgent-warning-banner-new {
    position: relative;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #8B0000 100%);
    border: 3px solid #FFD700;
    border-radius: 12px;
    padding: 25px 20px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(220, 20, 60, 0.4);
    animation: urgentWarningPulse 1.5s ease-in-out infinite;
}

@keyframes urgentWarningPulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(220, 20, 60, 0.4);
        border-color: #FFD700;
    }
    50% {
        box-shadow: 0 12px 48px rgba(220, 20, 60, 0.7);
        border-color: #FF0000;
    }
}

/* 红色警告背景 */
.urgent-bg-red {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.1) 0px,
        rgba(255, 0, 0, 0.1) 10px,
        rgba(139, 0, 0, 0.1) 10px,
        rgba(139, 0, 0, 0.1) 20px
    );
    animation: warningStripe 2s linear infinite;
}

@keyframes warningStripe {
    0% { transform: translateX(0); }
    100% { transform: translateX(20px); }
}

/* 简约包装容器 */
.urgent-simple-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 10;
}

/* 左侧警告图标 */
.urgent-warning-icon {
    font-size: 64px;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    animation: warningIconPulse 1s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes warningIconPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 30px rgba(255, 215, 0, 1);
    }
}

/* 中间：五行大字显示 */
.urgent-center-content {
    text-align: center;
    flex-shrink: 0;
}

.urgent-wuxing-char {
    font-size: 80px;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    animation: wuxingCharFlash 1.5s ease-in-out infinite;
    margin-bottom: 5px;
    line-height: 1;
}

@keyframes wuxingCharFlash {
    0%, 100% {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 50px rgba(255, 215, 0, 1);
        transform: scale(1.05);
    }
}

.urgent-wuxing-desc {
    margin-bottom: 8px;
}

.urgent-wuxing-name {
    font-size: 32px;
    font-weight: 900;
    color: #FFD700;
    letter-spacing: 4px;
    margin-right: 8px;
}

.urgent-wuxing-label {
    font-size: 16px;
    color: rgba(255, 215, 0, 0.8);
    font-weight: 700;
}

.urgent-status-text {
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #FFD700;
    border-radius: 20px;
    font-size: 14px;
    color: #FFD700;
    font-weight: 700;
    letter-spacing: 2px;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { background: rgba(255, 215, 0, 0.2); }
    50% { background: rgba(255, 215, 0, 0.4); }
}

/* 右侧：标题文字 */
.urgent-text-content {
    flex: 1;
    text-align: right;
}

.urgent-main-title {
    font-size: 28px;
    font-weight: 900;
    color: #FFD700;
    letter-spacing: 4px;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    animation: titleFlash 2s ease-in-out infinite;
}

@keyframes titleFlash {
    0%, 100% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
    50% { text-shadow: 0 0 25px rgba(255, 215, 0, 1); }
}

.urgent-sub-title {
    font-size: 16px;
    color: #FFF;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 600;
}

.urgent-footer-note {
    font-size: 14px;
    color: #FFD700;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    display: inline-block;
}

/* ==================== 八字展示 ==================== */
.bazi-display {
    margin-bottom: 24px;
}

.bazi-logo-section {
    text-align: center;
    margin-bottom: 20px;
    padding: 0;
}

.bazi-logo {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.bazi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #faf8f5, #f5f0e8);
    border-radius: 12px;
    border: 2px solid #D4AF37;
}

.bazi-column {
    text-align: center;
}

.bazi-label {
    font-size: 12px;
    color: #8B7355;
    margin-bottom: 8px;
}

.bazi-pillars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pillar {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.pillar:hover {
    transform: scale(1.1);
}

.pillar.gan {
    background: linear-gradient(135deg, #8B7355, #D4AF37);
    color: #fff;
}

.pillar.zhi {
    background: linear-gradient(135deg, #2c2825, #5c5550);
    color: #fff;
}

/* ==================== 五行分布 ==================== */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 2px solid #DC143C;
    letter-spacing: 4px;
}

/* ==================== 五行分布 - 全新重写 ==================== */
.wuxing-chart-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: flex-end;
    justify-items: center;
    min-height: 260px;
    padding: 20px 0;
}

.wuxing-bar-item {
    text-align: center;
    width: 100%;
}

.bar-wrapper {
    width: 50px;
    height: 200px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px 4px 0 0;
    position: relative;
    margin: 0 auto 15px;
}

.bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 4px 4px 0 0;
    height: 0%;
    transition: height 0.5s ease-out;
    min-height: 1px;
}

.wood-bar { background: linear-gradient(to top, #228B22, #32CD32); }
.fire-bar { background: linear-gradient(to top, #DC143C, #FF6347); }
.earth-bar { background: linear-gradient(to top, #B8860B, #DAA520); }
.metal-bar { background: linear-gradient(to top, #D4AF37, #FFD700); }
.water-bar { background: linear-gradient(to top, #0064B8, #4682B4); }

.bar-value {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    z-index: 10;
}

.bar-label {
    font-size: 18px;
    font-weight: bold;
    color: #DC143C;
    margin-bottom: 5px;
}

.bar-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #ccc;
    display: inline-block;
    font-weight: 600;
}

.bar-status.missing { background: #DC143C; color: #fff; border-color: #8B0000; }
.bar-status.weak { background: #B8860B; color: #fff; border-color: #8B4513; }
.bar-status.normal { background: #228B22; color: #fff; border-color: #006400; }
.bar-status.strong { background: #0064B8; color: #fff; border-color: #004D40; }

/* ==================== 警告横幅 ==================== */
.warning-banner {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 2px solid #dc2626;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.warning-icon {
    font-size: 32px;
}

.warning-content {
    flex: 1;
}

.warning-title {
    font-size: 16px;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 4px;
}

.warning-subtitle {
    font-size: 14px;
    color: #991b1b;
}

/* ==================== 命理分析 ==================== */
.analysis-section {
    margin-bottom: 24px;
}

.info-banner {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: #faf9f7;
    border-radius: 4px;
    margin-bottom: 16px;
    border: 1px solid #d4c4a4;
}

.additional-info {
    background: #faf9f7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #d4c4a4;
}

.additional-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #5c5550;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #DC143C;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.info-item {
    text-align: center;
}

.info-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.info-value {
    font-size: 16px;
    font-weight: 700;
    color: #DC143C;
}

.detail-cards {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.detail-card {
    background: #faf9f7;
    border-radius: 4px;
    padding: 16px;
    border-left: 4px solid #DC143C;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.1);
}

.detail-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-card-content {
    font-size: 13px;
    line-height: 1.8;
    color: #333;
}

.analysis-content {
    background: #faf9f7;
    padding: 18px;
    border-radius: 4px;
    border: 1px solid #d4c4a4;
    border-left: 4px solid #DC143C;
}

.analysis-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    white-space: pre-line;
}

/* ==================== 缺点说明卡片 ==================== */
.weakness-card {
    background: linear-gradient(135deg, #faf9f7, #fff5f5);
    border: 3px solid #DC143C;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.15);
}

.weakness-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #DC143C;
}

.weakness-icon {
    font-size: 32px;
    color: #DC143C;
    animation: pulse 1.5s infinite;
}

.weakness-title {
    font-size: 20px;
    font-weight: 900;
    color: #DC143C;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 紧急通知 */
.urgent-notice {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.4);
    animation: urgentNoticePulse 2s ease-in-out infinite;
}

@keyframes urgentNoticePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(220, 20, 60, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 24px rgba(220, 20, 60, 0.6);
    }
}

.urgent-notice-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.urgent-notice-content {
    flex: 1;
}

.urgent-notice-title {
    font-size: 18px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.urgent-notice-text {
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
    font-weight: 500;
}

/* 缺陷详情区 */
.defect-section {
    margin-bottom: 24px;
}

.defect-title {
    font-size: 18px;
    font-weight: 800;
    color: #8B0000;
    margin-bottom: 16px;
    padding: 12px;
    background: linear-gradient(90deg, #fee2e2, transparent);
    border-left: 4px solid #DC143C;
    letter-spacing: 1px;
}

.defect-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 2px solid;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.defect-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.defect-item.health-defect {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2, #fff);
}

.defect-item.wealth-defect {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fff);
}

.defect-item.relationship-defect {
    border-color: #ec4899;
    background: linear-gradient(135deg, #fdf2f8, #fff);
}

.defect-item.career-defect {
    border-color: #6366f1;
    background: linear-gradient(135deg, #eef2ff, #fff);
}

.defect-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.defect-content {
    flex: 1;
}

.defect-label {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.defect-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    font-weight: 500;
}

.weakness-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 16px;
    padding: 12px;
    background: #fff;
    border-radius: 2px;
    border-left: 4px solid #DC143C;
}

.weakness-detail-section {
    margin-bottom: 16px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 2px;
    border: 1px solid #e8e6e3;
}

.detail-label {
    font-size: 13px;
    font-weight: 700;
    color: #DC143C;
    min-width: 80px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.detail-value {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

.career-advice-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.career-advice-card {
    padding: 14px;
    border-radius: 4px;
    border: 2px solid;
}

.career-advice-card.suitable {
    background: linear-gradient(135deg, #228B22, #006400);
    border-color: #006400;
    color: #fff;
}

.career-advice-card.avoid {
    background: linear-gradient(135deg, #DC143C, #8B0000);
    border-color: #8B0000;
    color: #fff;
}

.career-advice-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.career-advice-list {
    font-size: 12px;
    line-height: 1.8;
    color: inherit;
}

/* ==================== 补救建议 ==================== */
.remedy-section {
    margin-bottom: 24px;
}

/* 到店购买提醒 */
.shop-notice {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
    animation: shopNoticeGlow 2s ease-in-out infinite;
}

@keyframes shopNoticeGlow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 6px 24px rgba(212, 175, 55, 0.6);
    }
}

.shop-notice-icon {
    font-size: 48px;
    flex-shrink: 0;
    animation: shopIconBounce 1s ease-in-out infinite;
}

@keyframes shopIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.shop-notice-content {
    flex: 1;
}

.shop-notice-title {
    font-size: 20px;
    font-weight: 900;
    color: #8B4513;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.shop-notice-text {
    font-size: 15px;
    color: #5c5550;
    line-height: 1.6;
    font-weight: 600;
}

.remedy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.remedy-card {
    background: linear-gradient(135deg, #faf9f7, #fff);
    padding: 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
    border: 2px solid #d4c4a4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.remedy-card:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.2);
    transform: translateY(-3px);
    border-color: #DC143C;
}

.remedy-symbol {
    font-size: 32px;
    color: #DC143C;
}

.remedy-content {
    flex: 1;
}

.remedy-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.remedy-value {
    font-size: 15px;
    font-weight: 700;
    color: #DC143C;
    line-height: 1.5;
}

.extra-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.extra-info-card {
    background: #faf9f7;
    padding: 14px 10px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #d4c4a4;
    transition: all 0.3s ease;
}

.extra-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.1);
}

.extra-info-symbol {
    font-size: 24px;
    margin-bottom: 6px;
    color: #DC143C;
}

.extra-info-title {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.extra-info-value {
    font-size: 13px;
    font-weight: 700;
    color: #DC143C;
}

/* ==================== 职业建议 ==================== */
.career-section {
    margin-bottom: 24px;
}

.career-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.career-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #faf8f5;
    color: #8B7355;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #e8e4e0;
    transition: all 0.3s ease;
}

.career-tag:hover {
    background: #8B7355;
    color: #fff;
    border-color: #8B7355;
}

/* ==================== 计算动画遮罩层 - 重新设计 ==================== */
.calculation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a1512 0%, #2c2825 50%, #1a1512 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 背景星星 */
.calc-bg-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #D4AF37, transparent),
        radial-gradient(2px 2px at 40px 70px, #D4AF37, transparent),
        radial-gradient(2px 2px at 50px 160px, #D4AF37, transparent),
        radial-gradient(2px 2px at 90px 40px, #D4AF37, transparent),
        radial-gradient(2px 2px at 130px 80px, #D4AF37, transparent);
    background-size: 200px 200px;
    animation: starsMove 20s linear infinite;
}

@keyframes starsMove {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

/* 背景粒子 */
.calc-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(139, 115, 85, 0.1) 0%, transparent 40%);
    animation: particlesFloat 8s ease-in-out infinite;
}

@keyframes particlesFloat {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 背景光晕 */
.calc-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.calculation-content {
    text-align: center;
    color: #D4AF37;
    padding: 40px;
    position: relative;
    z-index: 10;
}

/* 主太极图 */
.main-taiji-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
}

.main-taiji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(90deg, #2c2825 50%, #D4AF37 50%);
    animation: mainTaijiSpin 4s linear infinite;
    overflow: hidden;
}

.taiji-yin {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #2c2825;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.taiji-yang {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #D4AF37;
    border-radius: 50%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.taiji-dot-small {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #2c2825;
    border-radius: 50%;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
}

.taiji-dot-large {
    position: absolute;
    width: 24px;
    height: 24px;
    background: #D4AF37;
    border-radius: 50%;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes mainTaijiSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 太极环 */
.taiji-ring-1,
.taiji-ring-2,
.taiji-ring-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.taiji-ring-1 {
    width: 180px;
    height: 180px;
    animation: ringRotate 6s linear infinite reverse;
}

.taiji-ring-2 {
    width: 200px;
    height: 200px;
    animation: ringRotate 8s linear infinite;
}

.taiji-ring-3 {
    width: 220px;
    height: 220px;
    animation: ringRotate 10s linear infinite reverse;
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 八卦环 */
.bagua-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    animation: baguaRotate 20s linear infinite;
}

@keyframes baguaRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.bagua-item {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 28px;
    color: rgba(212, 175, 55, 0.6);
    transform: translate(-50%, -50%);
}

.bagua-1 { transform: translate(-50%, -50%) translateY(-160px); }
.bagua-2 { transform: translate(-50%, -50%) rotate(45deg) translateY(-160px); }
.bagua-3 { transform: translate(-50%, -50%) rotate(90deg) translateY(-160px); }
.bagua-4 { transform: translate(-50%, -50%) rotate(135deg) translateY(-160px); }
.bagua-5 { transform: translate(-50%, -50%) rotate(180deg) translateY(-160px); }
.bagua-6 { transform: translate(-50%, -50%) rotate(225deg) translateY(-160px); }
.bagua-7 { transform: translate(-50%, -50%) rotate(270deg) translateY(-160px); }
.bagua-8 { transform: translate(-50%, -50%) rotate(315deg) translateY(-160px); }

/* 五行环 */
.wuxing-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    animation: wuxingRotate 15s linear infinite reverse;
}

@keyframes wuxingRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.wuxing-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid rgba(212, 175, 55, 0.4);
}

.wood-item { transform: translate(-50%, -50%) translateY(-190px); color: #228B22; }
.fire-item { transform: translate(-50%, -50%) rotate(72deg) translateY(-190px); color: #DC143C; }
.earth-item { transform: translate(-50%, -50%) rotate(144deg) translateY(-190px); color: #B8860B; }
.metal-item { transform: translate(-50%, -50%) rotate(216deg) translateY(-190px); color: #D4AF37; }
.water-item { transform: translate(-50%, -50%) rotate(288deg) translateY(-190px); color: #0064B8; }

/* 标题 */
.calc-title-main {
    margin-bottom: 40px;
}

.calc-title-text {
    font-size: 32px;
    font-weight: 700;
    color: #D4AF37;
    letter-spacing: 8px;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.calc-title-sub {
    font-size: 14px;
    color: rgba(212, 175, 55, 0.7);
    letter-spacing: 4px;
}

/* 新进度条 */
.calc-progress-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 30px;
    position: relative;
}

.calc-progress-bar-new {
    width: 100%;
    height: 6px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.calc-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8B7355, #D4AF37, #FFD700);
    border-radius: 3px;
    transition: width 0.3s ease;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.5); }
    50% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.8); }
}

.calc-progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    animation: progressWave 2s linear infinite;
}

@keyframes progressWave {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

.calc-progress-percent {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #D4AF37;
    margin-top: 10px;
}

/* 新步骤指示 */
.calc-steps-new {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
}

.calc-step-item {
    display: flex;
    align-items: center;
    opacity: 0.4;
    transition: all 0.5s ease;
}

.calc-step-item.active {
    opacity: 1;
}

.calc-step-item.completed {
    opacity: 0.7;
}

.calc-step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 28px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.calc-step-item.active .calc-step-icon {
    background: linear-gradient(135deg, #8B7355, #D4AF37);
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: stepPulse 1.5s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.calc-step-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #D4AF37;
    white-space: nowrap;
}

.calc-step-line {
    width: 60px;
    height: 2px;
    background: rgba(212, 175, 55, 0.2);
    position: relative;
}

.calc-step-item:last-child .calc-step-line {
    display: none;
}

.calc-step-item.active .calc-step-line,
.calc-step-item.completed .calc-step-line {
    background: linear-gradient(90deg, #D4AF37, rgba(212, 175, 55, 0.3));
}

/* 状态文字 */
.calc-status-text {
    font-size: 16px;
    color: rgba(212, 175, 55, 0.8);
    letter-spacing: 2px;
    animation: textFade 2s ease-in-out infinite;
}

@keyframes textFade {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ==================== 模态弹窗 ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 40, 37, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
    cursor: pointer;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 命中缺五行弹窗 */
.fate-hint-content {
    background: linear-gradient(180deg, #2c2825, #1a1816);
    color: #D4AF37;
    text-align: center;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.fate-corner-tl,
.fate-corner-tr,
.fate-corner-bl,
.fate-corner-br {
    position: absolute;
    font-size: 24px;
    color: rgba(212, 175, 55, 0.5);
}

.fate-corner-tl { top: 12px; left: 12px; }
.fate-corner-tr { top: 12px; right: 12px; }
.fate-corner-bl { bottom: 12px; left: 12px; }
.fate-corner-br { bottom: 12px; right: 12px; }

.fate-border-top,
.fate-border-bottom,
.fate-border-left,
.fate-border-right {
    position: absolute;
    background: rgba(212, 175, 55, 0.3);
}

.fate-border-top { top: 0; left: 30px; right: 30px; height: 2px; }
.fate-border-bottom { bottom: 0; left: 30px; right: 30px; height: 2px; }
.fate-border-left { left: 0; top: 30px; bottom: 30px; width: 2px; }
.fate-border-right { right: 0; top: 30px; bottom: 30px; width: 2px; }

.fate-seal {
    display: inline-block;
    padding: 12px 30px;
    border: 3px solid #D4AF37;
    font-size: 28px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.fate-title {
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.fate-element-display {
    margin: 24px 0;
    font-size: 48px;
    font-weight: 600;
}

.fate-element-name {
    color: #ef4444;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.fate-element-desc {
    color: #D4AF37;
    margin-left: 8px;
}

.fate-notice {
    font-size: 14px;
    color: #fbbf24;
    margin-top: 20px;
}

/* 了解更多弹窗 */
.learn-more-content {
    background: linear-gradient(180deg, #2c2825, #1a1816);
    color: #e6dcca;
    text-align: center;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 30px 24px;
}

.learn-seal {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #D4AF37;
    font-size: 24px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #D4AF37;
    font-weight: bold;
}

.learn-title {
    font-size: 26px;
    margin-bottom: 16px;
    letter-spacing: 2px;
    color: #D4AF37;
    font-weight: bold;
}

.learn-divider {
    width: 80%;
    height: 2px;
    margin: 20px auto;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

.learn-text {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 16px;
    text-align: left;
    padding: 0 10px;
}

/* ==================== 工具类 ==================== */
.hidden {
    display: none !important;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 480px) {
    .main-container {
        padding: 16px;
    }

    .card {
        padding: 20px;
    }

    .bazi-grid {
        gap: 8px;
    }

    .pillar {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
    }

    .wuxing-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }

    .wuxing-bar-wrapper {
        width: 40px;
        height: 140px;
    }

    .wuxing-icon {
        font-size: 22px;
    }

    .wuxing-name {
        font-size: 14px;
    }

    .wuxing-status {
        font-size: 10px;
        padding: 3px 8px;
    }

    .remedy-grid {
        grid-template-columns: 1fr;
    }

    .extra-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .extra-info-icon {
        font-size: 20px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .detail-cards {
        gap: 10px;
    }

    .detail-card {
        padding: 14px;
    }

    .detail-card-title {
        font-size: 14px;
    }

    .detail-card-content {
        font-size: 13px;
    }

    .career-advice-section {
        grid-template-columns: 1fr;
    }

    .detail-row {
        flex-direction: column;
    }

    .detail-label {
        margin-bottom: 6px;
        min-width: auto;
    }

    /* 新动画响应式 */
    .main-taiji-container {
        width: 150px;
        height: 150px;
    }

    .main-taiji {
        width: 120px;
        height: 120px;
    }

    .taiji-ring-1,
    .taiji-ring-2,
    .taiji-ring-3 {
        display: none;
    }

    .bagua-ring {
        width: 240px;
        height: 240px;
    }

    .bagua-item {
        font-size: 20px;
    }

    .wuxing-ring {
        width: 280px;
        height: 280px;
    }

    .wuxing-item {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }

    .calc-title-text {
        font-size: 24px;
        letter-spacing: 4px;
    }

    .calc-title-sub {
        font-size: 12px;
    }

    .calc-step-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 22px;
    }

    .calc-step-line {
        width: 40px;
    }

    /* 新警告横幅响应式 */
    .urgent-warning-banner-new {
        padding: 20px 15px;
    }

    .urgent-simple-wrapper {
        gap: 15px;
    }

    .urgent-warning-icon {
        font-size: 48px;
    }

    .urgent-wuxing-char {
        font-size: 56px;
    }

    .urgent-wuxing-name {
        font-size: 24px;
    }

    .urgent-wuxing-label {
        font-size: 14px;
    }

    .urgent-status-text {
        padding: 6px 16px;
        font-size: 12px;
    }

    .urgent-main-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .urgent-sub-title {
        font-size: 14px;
    }

    .urgent-footer-note {
        font-size: 12px;
        padding: 4px 10px;
    }

    .urgent-text-content {
        text-align: center;
    }

    .urgent-simple-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .urgent-text-content {
        text-align: center;
    }

    .urgent-main-title {
        font-size: 22px;
    }
}

/* ==================== 触摸设备优化 ==================== */
@media (pointer: coarse) {
    .submit-btn,
    .btn-primary,
    .btn-secondary {
        min-height: 48px;
    }

    input,
    select {
        min-height: 48px;
    }
}

/* ==================== 暗色模式支持 ==================== */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a1816;
        color: #e6dcca;
    }

    .card {
        background: #2c2825;
        border-color: #3d3833;
    }

    .form-item input,
    .form-item select {
        background: #2c2825;
        border-color: #3d3833;
        color: #e6dcca;
    }

    .submit-btn {
        background: linear-gradient(135deg, #D4AF37, #fcd34d);
    }
}