/* ============ 摸鱼日常 · 我的修仙档案 ============ */
.daily-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* ---- 战报统计卡 ---- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 34px 0 18px;
}
.stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px 12px 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
    transition: transform .25s, box-shadow .25s;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(253, 113, 97, .14);
}
.stat-card i { font-style: normal; font-size: 26px; }
.stat-card b {
    display: block;
    font-size: 28px;
    margin: 6px 0 2px;
    color: #fd7161;
    font-family: "ZCOOL KuaiLe", "楷体", 黑体, sans-serif;
}
.stat-card span { font-size: 12px; color: #b3a89a; letter-spacing: 1px; }

/* 战报统计专属图标 */
.stat-img {
    height: 30px;
    object-fit: contain;
    display: block;
    margin: 0 auto 2px;
}
.stat-img.muyu { width: 42px; }
.stat-img.fish { width: 52px; }

/* ---- 修为走势 ---- */
.chart-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 26px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
    margin-bottom: 18px;
}
.chart-card h4,
.achv-wall-card h4,
.cal-card h4,
.book-mini-card h4,
.ledger-card h4 {
    margin: 0 0 16px;
    font-size: 15px;
    color: #4a3a28;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chart-card h4::before,
.achv-wall-card h4::before,
.cal-card h4::before,
.book-mini-card h4::before,
.ledger-card h4::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: linear-gradient(to bottom, #fd7161, #fdc33f);
    flex-shrink: 0;
}
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 140px;
}
.bar-col {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}
.bar-col i {
    width: 100%;
    max-width: 46px;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(to top, #ffe3c4, #f7c58a);
    transition: height .6s ease-out;
}
.bar-col.today i {
    background: linear-gradient(to top, #fd7161, #fdc33f);
    box-shadow: 0 4px 12px rgba(253, 113, 97, .35);
}
.bar-val { font-size: 11px; color: #e09a2f; font-weight: bold; }
.bar-label { font-size: 11px; color: #b3a89a; }
.chart-tip { margin: 12px 0 0; font-size: 11px; color: #c9bba7; text-align: center; }

/* ---- 成就墙 ---- */
.achv-wall-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 26px 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
    margin-bottom: 18px;
}
.wall-count {
    margin-left: auto;
    font-size: 13px;
    color: #e09a2f;
    background: #fdf6f0;
    padding: 3px 12px;
    border-radius: 14px;
    letter-spacing: 1px;
}
.achv-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.wall-achv {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fdf9f3;
    border: 1px solid #f0e4d4;
    border-radius: 12px;
    padding: 10px 12px;
    cursor: default;
}
.wall-achv i { font-style: normal; font-size: 20px; }
.wall-achv b { font-size: 13px; color: #8a7f74; font-weight: normal; flex: 1; }
.wall-achv span { font-size: 11px; color: #c9bba7; }
.wall-achv.got {
    background: linear-gradient(135deg, #fffbf2, #fdf1dc);
    border-color: #f0cf9a;
}
.wall-achv.got b { color: #4a3a28; }
.wall-achv.got span { color: #3f9d63; }

/* ---- 双栏：打卡日历 + 图鉴概览 ---- */
.daily-duo {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.cal-card,
.book-mini-card,
.ledger-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px 26px 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.cal-wd {
    text-align: center;
    font-size: 11px;
    color: #c9bba7;
    padding-bottom: 4px;
}
.cal-pad { }
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #8a7f74;
    border-radius: 10px;
    background: #fdf9f3;
}
.cal-day.future { opacity: .45; }
.cal-day.on {
    background: linear-gradient(135deg, #fd7161, #f0906a);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(253, 113, 97, .3);
}
.cal-day.today { outline: 2px dashed #e09a2f; outline-offset: 2px; }
.cal-tip { margin: 14px 0 0; font-size: 12px; color: #b3a89a; text-align: center; }

.book-mini-total { font-size: 14px; color: #5d564d; margin-bottom: 14px; }
.book-mini-total b { font-size: 22px; color: #e09a2f; font-family: "ZCOOL KuaiLe", "楷体", sans-serif; }
.bm-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 12px; color: #5d564d; }
.bm-row b { width: 36px; text-align: right; flex-shrink: 0; font-weight: normal; }
.bm-row span { width: 62px; color: #b3a89a; flex-shrink: 0; }
.bm-bar { flex: 1; height: 8px; border-radius: 4px; background: #f3ece3; overflow: hidden; }
.bm-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #9aa8b5, #5b8fd9); transition: width .5s; }
.bm-row.r2 .bm-bar i { background: linear-gradient(90deg, #9b59b6, #c39bd3); }
.bm-row.r3 .bm-bar i { background: linear-gradient(90deg, #e07b2f, #f4a960); }
.bm-row.r4 .bm-bar i { background: linear-gradient(90deg, #d94a5b, #f0b13d); }
.bm-row.r5 .bm-bar i { background: linear-gradient(90deg, #e04b3a, #f7b733); }
.book-link {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    text-decoration: none;
    font-size: 13px;
    padding: 9px 26px;
}

/* ---- 鱼币账本 ---- */
.ledger-card { margin-bottom: 18px; }
.ledger-bal {
    margin-left: auto;
    font-size: 13px;
    color: #e09a2f;
    background: #fdf6f0;
    padding: 3px 12px;
    border-radius: 14px;
    letter-spacing: 1px;
}
.ledger-list { max-height: 320px; overflow-y: auto; }
.ledger-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    border-bottom: 1px dashed #f0e4d4;
    font-size: 13px;
    color: #5d564d;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row em { font-style: normal; font-size: 11px; color: #c9bba7; margin-left: auto; flex-shrink: 0; }
.ledger-row b { flex-shrink: 0; font-size: 14px; }
.ledger-row.in b { color: #3f9d63; }
.ledger-row.out b { color: #d1553f; }
.ledger-empty { font-size: 13px; color: #b3a89a; text-align: center; padding: 20px 0; }

/* ---- 响应式 ---- */
@media (max-width: 800px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .chart-bars { gap: 6px; }
    .bar-val { display: none; }
    .daily-duo { grid-template-columns: 1fr; }
    .achv-wall-grid { grid-template-columns: 1fr 1fr; }
}
