/* =================================
   组件专用样式
   ================================= */

/* =================================
   认知跃迁 内部子 Tab
   ================================= */
.cognition-inner-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.6rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.cog-inner-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    color: #64748b;
    padding: 0.6rem 1.6rem;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cog-inner-tab-btn:hover {
    color: #e2e8f0;
    background: rgba(255,255,255,0.03);
}

.cog-inner-tab-btn.active {
    color: #fbbf24;
    border-bottom-color: #fbbf24;
    font-weight: 600;
    background: transparent;
}

.cog-inner-tab-btn .tab-count {
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #475569;
    font-weight: 500;
}

.cog-inner-tab-btn.active .tab-count {
    background: rgba(251,191,36,0.15);
    color: #fbbf24;
}

.cog-inner-panel {
    display: none;
}

.cog-inner-panel.active {
    display: block;
    animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =================================
   雷达图容器
   ================================= */
.radar-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin: 2rem 0;
}

#radar-chart {
    max-width: 100%;
    height: auto;
}

/* =================================
   能力评分条
   ================================= */
.ability-scores {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.score-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score-label {
    min-width: 120px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.score-bar {
    flex: 1;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-gold));
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.score-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.score-value {
    min-width: 50px;
    text-align: right;
    font-family: var(--font-heading);
    color: var(--color-accent-cyan);
    font-weight: bold;
    font-size: 1.2rem;
}

/* =================================
   数据统计卡片网格
   ================================= */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    font-family: var(--font-heading);
    color: var(--color-accent-cyan);
}

.stat-name {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* =================================
   总经验值卡片
   ================================= */
.total-exp {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.total-exp h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

.exp-value {
    font-size: 3rem;
    font-weight: bold;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.exp-bar {
    width: 100%;
    max-width: 500px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    margin: 1rem auto;
    position: relative;
}

.exp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-gold));
    border-radius: 15px;
    position: relative;
    animation: exp-pulse 2s ease-in-out infinite;
}

@keyframes exp-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.exp-hint {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* =================================
   时间轴样式
   ================================= */
.timeline-container {
    position: relative;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
        var(--color-accent-cyan), 
        var(--color-accent-gold)
    );
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.version-badge {
    background: linear-gradient(135deg, #00d9ff, #00a8cc);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-family: var(--font-heading);
    box-shadow: var(--glow-cyan);
}

.timeline-content {
    width: 50%;
    padding: 1.5rem;
}

.timeline-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent-cyan);
    font-family: var(--font-heading);
}

.timeline-date {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-desc {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* =================================
   使用方式样式
   ================================= */
.usage-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.usage-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-gold));
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
    box-shadow: var(--glow-cyan);
}

.usage-step h3 {
    font-size: 1.5rem;
    color: var(--color-accent-cyan);
    margin-bottom: 0.5rem;
}

.usage-step p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.usage-examples {
    margin-top: 3rem;
}

.usage-examples h3 {
    font-size: 1.8rem;
    text-align: center;
    color: var(--color-accent-cyan);
    margin-bottom: 2rem;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.example-card {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--color-accent-cyan);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.example-card:hover {
    background: rgba(0, 217, 255, 0.2);
    transform: translateY(-5px);
}

.example-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.example-card h4 {
    font-size: 1.2rem;
    color: var(--color-accent-cyan);
    margin-bottom: 0.5rem;
}

.example-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* =================================
   成就墙样式
   ================================= */
.achievements-header {
    text-align: center;
    margin-bottom: 2rem;
}

.achievements-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.achievement-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.achievement-stat .stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
    color: var(--color-accent-gold);
}

.achievement-stat .stat-label {
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.achievement-card {
    text-align: center;
    padding: 2rem;
    transition: all var(--transition-normal);
}

.achievement-card.unlocked {
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.achievement-card.locked {
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 0.6;
}

.achievement-card.locked:hover {
    opacity: 0.8;
}

.achievement-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.achievement-name {
    font-size: 1.5rem;
    color: var(--color-accent-cyan);
    margin-bottom: 0.5rem;
}

.achievement-card.unlocked .achievement-name {
    color: var(--color-accent-gold);
}

.achievement-desc {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.unlock-date {
    display: inline-block;
    color: var(--color-accent-gold);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.achievement-progress {
    margin-top: 1rem;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-gold));
    border-radius: 5px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
}

/* =================================
   霍格沃茨成就墙 V2.0 (魔法主题)
   ================================= */

/* 学院得分榜容器 */
.house-points-container {
    margin: 1.5rem 0;
    padding: 0;
    background: none;
    border: none;
}

.house-points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.house-points-title {
    font-size: 1.25rem;
    color: var(--color-accent-gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.house-points-total {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.house-points-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.house-points-card {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all var(--transition-normal);
}

/* 学院特定样式 */
.house-points-card.gryffindor {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(139, 0, 0, 0.1));
}

.house-points-card.gryffindor:hover {
    border-color: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.house-points-card.hufflepuff {
    border-color: #FFB347;
    background: linear-gradient(135deg, rgba(255, 179, 71, 0.15), rgba(139, 69, 0, 0.1));
}

.house-points-card.hufflepuff:hover {
    border-color: #FF8C00;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 179, 71, 0.3);
}

.house-points-card.ravenclaw {
    border-color: #9370DB;
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.15), rgba(75, 0, 130, 0.1));
}

.house-points-card.ravenclaw:hover {
    border-color: #7B68EE;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(147, 112, 219, 0.3);
}

.house-points-card.slytherin {
    border-color: #228B22;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.15), rgba(0, 100, 0, 0.1));
}

.house-points-card.slytherin:hover {
    border-color: #00FF00;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.3);
}

.house-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.house-icon {
    font-size: 1.5rem;
}

.house-name {
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.house-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    margin-bottom: 0.25rem;
}

.house-achievements {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* 霍格沃茨风格成就卡片 */
.wizard-card {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.wizard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.wizard-card:hover::before {
    opacity: 1;
}

.wizard-card.unlocked {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.wizard-card.unlocked:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.25);
}

.wizard-card.locked {
    border-color: rgba(255, 255, 255, 0.15);
    border-style: dashed;
    opacity: 0.7;
}

.wizard-card.locked:hover {
    border-color: rgba(255, 255, 255, 0.3);
    opacity: 0.9;
}

/* 传奇成就特殊样式 */
.wizard-card.legendary {
    border-color: rgba(255, 215, 0, 0.8);
    animation: legendary-pulse 3s ease-in-out infinite;
}

@keyframes legendary-pulse {
    0%, 100% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
    }
}

.wizard-card.rare {
    border-color: rgba(192, 192, 192, 0.6);
}

.wizard-card.prestige {
    border-color: rgba(255, 140, 0, 0.6);
}

/* 成就图标包装器 */
.achievement-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(34, 139, 34, 0.1));
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.achievement-icon {
    font-size: 3rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

/* 学院徽章 */
.college-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 特殊徽章标记 */
.legendary-badge {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 107, 0, 0.2));
    color: #FFD700;
    font-size: 0.75rem;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.rare-badge {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.3), rgba(128, 128, 128, 0.2));
    color: #C0C0C0;
    font-size: 0.75rem;
    font-weight: 700;
}

.prestige-badge {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.3), rgba(255, 69, 0, 0.2));
    color: #FF8C00;
    font-size: 0.75rem;
    font-weight: 700;
}

/* 成就名称 */
.achievement-name {
    font-size: 1.3rem;
    color: var(--color-text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wizard-card.unlocked .achievement-name {
    color: var(--color-accent-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 成就描述 */
.achievement-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    min-height: 3rem;
}

/* 成就类型标签 */
.achievement-type {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(34, 139, 34, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #D4AF37;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 学院积分信息 */
.house-points-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(34, 139, 34, 0.05));
    border-radius: 8px;
    font-size: 0.85rem;
}

.points-icon {
    font-size: 1rem;
}

.points-value {
    color: var(--color-accent-gold);
    font-weight: 700;
}

/* 魔法等级 */
.magic-level {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(15, 15, 20, 0.8);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.magic-icon {
    font-size: 1rem;
}

.level-text {
    color: var(--color-accent-gold);
    font-weight: 600;
}

/* 魔法进度条 */
.wizard-progress {
    margin-top: 1rem;
}

.wizard-progress .progress-container {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.wizard-progress .progress-bar {
    height: 100%;
    background: transparent;
    border-radius: 4px;
}

.wizard-progress .progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 5px currentColor;
}

.wizard-progress .progress-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.progress-current {
    font-weight: 700;
    color: var(--color-text-primary);
}

.progress-separator {
    color: var(--color-text-secondary);
}

.progress-target {
    color: var(--color-text-secondary);
}

.progress-percent {
    font-weight: 700;
    color: var(--color-accent-gold);
}

/* 解锁信息 */
.unlocked-info {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.unlock-icon {
    font-size: 1rem;
}

.unlock-date {
    color: var(--color-accent-gold);
    font-weight: 600;
}

/* 解锁标记 */
.wizard-unlocked-mark {
    display: block;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(16, 185, 129, 0.8));
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .house-points-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .house-points-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .house-points-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .house-points-card {
        padding: 0.75rem;
    }
    
    .house-score {
        font-size: 1.2rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════════════════
   模法速递模块样式
   ══════════════════════════════════════════════════════ */

/* 日报子 Tab 导航 */
.daily-sub-tabs {
    display: flex;
    gap: 8px;
    padding: 16px 0 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.daily-sub-tab-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.daily-sub-tab-btn:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
}

.daily-sub-tab-btn.active {
    background: rgba(212,175,55,0.15);
    border-color: rgba(212,175,55,0.4);
    color: #d4af37;
    font-weight: 600;
}

.daily-sub-content {
    display: none;
}

.daily-sub-content.active {
    display: block;
}

/* 模法速递 头部 */
.mofasudi-header {
    margin-bottom: 20px;
}

.mofasudi-main-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4af37;
    margin: 0 0 6px;
}

.mofasudi-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* 模法速递 列表 */
.mofasudi-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 文章卡片 */
.mofasudi-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px 20px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.mofasudi-card:hover {
    border-color: rgba(212,175,55,0.35);
    background: rgba(212,175,55,0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.mofasudi-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.mofasudi-date {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-family: monospace;
}

.mofasudi-weekday {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
}

.mofasudi-count {
    font-size: 0.72rem;
    color: #d4af37;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 10px;
    padding: 1px 8px;
    margin-left: auto;
}

.mofasudi-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    line-height: 1.4;
}

.mofasudi-card-summary {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mofasudi-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.mofasudi-tag {
    font-size: 0.7rem;
    color: rgba(96,165,250,0.85);
    background: rgba(96,165,250,0.08);
    border: 1px solid rgba(96,165,250,0.2);
    border-radius: 8px;
    padding: 2px 8px;
}

.mofasudi-card-footer {
    display: flex;
    justify-content: flex-end;
}

.mofasudi-read-btn {
    font-size: 0.78rem;
    color: #d4af37;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mofasudi-card:hover .mofasudi-read-btn {
    opacity: 1;
}

/* 空状态 */
.mofasudi-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    gap: 10px;
}

.mofasudi-empty-icon {
    font-size: 2rem;
    opacity: 0.5;
}

.mofasudi-empty-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* 详情页 —— 灰白色阅读风格 */
.mofasudi-detail {
    max-width: 100%;
    background: #f5f5f0;
    border-radius: 16px;
    padding: 28px 32px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.mofasudi-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid #d0cdc8;
    background: #eceae5;
    color: #555;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 22px;
    font-family: inherit;
}

.mofasudi-back-btn:hover {
    background: #e0ddd7;
    border-color: #bbb;
    color: #333;
}

/* 详情正文 Markdown 渲染 —— 灰白阅读色调 */
.mofasudi-detail-body {
    color: #2c2c2c;
    font-size: 0.92rem;
    line-height: 1.85;
}

.mofasudi-detail-body h1 {
    font-size: 1.45rem;
    color: #1a1a1a;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
    margin: 0 0 18px;
    font-weight: 800;
}

.mofasudi-detail-body h2 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 26px 0 12px;
    padding-left: 12px;
    border-left: 3px solid #d4af37;
    font-weight: 700;
}

.mofasudi-detail-body h3 {
    font-size: 0.97rem;
    color: #2a2a2a;
    margin: 18px 0 8px;
    font-weight: 700;
}

.mofasudi-detail-body h4 {
    font-size: 0.88rem;
    color: #444;
    margin: 12px 0 6px;
    font-weight: 600;
}

.mofasudi-detail-body p {
    margin: 8px 0;
    color: #333;
}

.mofasudi-detail-body hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 22px 0;
}

.mofasudi-detail-body blockquote {
    border-left: 3px solid #d4af37;
    background: #faf8f2;
    padding: 10px 16px;
    margin: 14px 0;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-style: italic;
}

.mofasudi-detail-body ul {
    margin: 8px 0;
    padding-left: 22px;
}

.mofasudi-detail-body li {
    margin: 5px 0;
    color: #333;
}

.mofasudi-detail-body strong {
    color: #111;
    font-weight: 700;
}

.mofasudi-detail-body em {
    color: #8b6914;
}

.mofasudi-detail-body code {
    background: #ebebeb;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    padding: 1px 5px;
    font-family: monospace;
    font-size: 0.82em;
    color: #c0392b;
}

.mofasudi-detail-body a {
    color: #2563eb;
    text-decoration: none;
}

.mofasudi-detail-body a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}
