/* =========================================================   历史上的今天 - 独立页面   DuckWow   主色：#00aa90   ========================================================= *//* =========================================================   页面基础   ========================================================= */.wwl-history-page {    --wwl-primary: #00aa90;    --wwl-primary-light: rgba(0, 170, 144, .10);    --wwl-bg: #f6f8f8;    --wwl-card: #ffffff;    --wwl-text: #303438;    --wwl-text-secondary: #737980;    --wwl-border: #e8ebeb;    --wwl-shadow: 0 8px 30px rgba(0, 0, 0, .06);    width: 100% !important;    max-width: none !important;    margin-left: auto !important;    margin-right: auto !important;    margin: 0 auto;    color: var(--wwl-text);    font-size: 15px;    line-height: 1.8;    box-sizing: border-box;}.wwl-history-page *,.wwl-history-page *::before,.wwl-history-page *::after {    box-sizing: border-box;}/* =========================================================   顶部 Hero   ========================================================= */.wwl-history-hero {    position: relative;    overflow: hidden;    margin-bottom: 24px;    padding: 36px 30px;    border-radius: 18px;    background:        radial-gradient(            circle at 90% 10%,            rgba(0,170,144,.18),            transparent 35%        ),        linear-gradient(            135deg,            #ffffff,            #f1f8f7        );    border: 1px solid var(--wwl-border);    box-shadow: var(--wwl-shadow);    text-align: center;}.wwl-history-hero::after {    content: "";    position: absolute;    width: 180px;    height: 180px;    right: -70px;    bottom: -100px;    border-radius: 50%;    background: rgba(0,170,144,.08);    pointer-events: none;}/* =========================================================   顶部图标   ========================================================= */.wwl-history-icon {    position: relative;    z-index: 1;    display: inline-flex !important;    align-items: center;    justify-content: center;    width: 58px;    height: 58px;    margin: 0 0 12px !important;    padding: 0 !important;    border-radius: 16px;    background: var(--wwl-primary-light);    color: var(--wwl-primary);    font-size: 28px;    line-height: 1;    text-align: center;}/* =========================================================   标题   ========================================================= */.wwl-history-title {    position: relative;    z-index: 1;    margin: 0 !important;    padding: 0 !important;    color: var(--wwl-text);    font-size: 30px;    font-weight: 700;    line-height: 1.3;}.wwl-history-subtitle {    position: relative;    z-index: 1;    margin: 8px 0 0 !important;    padding: 0 !important;    color: var(--wwl-text-secondary);    font-size: 14px;    line-height: 1.7;}/* =========================================================   日期操作   ========================================================= */.wwl-history-actions {    display: flex !important;    align-items: center;    justify-content: center;    flex-wrap: wrap;    gap: 10px;    margin-top: 18px;}.wwl-history-btn {    appearance: none !important;    -webkit-appearance: none !important;    display: inline-flex !important;    align-items: center !important;    justify-content: center !important;    width: auto !important;    min-width: 0 !important;    height: auto !important;    margin: 0 !important;    padding: 9px 17px !important;    border: 1px solid var(--wwl-border) !important;    border-radius: 9px !important;    background: var(--wwl-card) !important;    color: var(--wwl-text) !important;    font-family: inherit;    font-size: 14px !important;    font-weight: 400;    line-height: 1.4 !important;    text-align: center !important;    white-space: nowrap;    cursor: pointer;    box-shadow: none !important;    transition:        background .2s ease,        border-color .2s ease,        color .2s ease,        transform .2s ease;}.wwl-history-btn:hover {    border-color: var(--wwl-primary) !important;    color: var(--wwl-primary) !important;    transform: translateY(-1px);}.wwl-history-btn-primary {    border-color: var(--wwl-primary) !important;    background: var(--wwl-primary) !important;    color: #fff !important;}.wwl-history-btn-primary:hover {    background: var(--wwl-primary) !important;    color: #fff !important;    opacity: .9;}/* =========================================================   日期选择器   ========================================================= */.wwl-history-date-input {    display: inline-block !important;    width: auto !important;    height: 40px !important;    margin: 0 !important;    padding: 0 12px !important;    border: 1px solid var(--wwl-border) !important;    border-radius: 9px !important;    background: var(--wwl-card) !important;    color: var(--wwl-text) !important;    font-family: inherit;    font-size: 14px !important;    line-height: 40px !important;    outline: none !important;}.wwl-history-date-input:focus {    border-color: var(--wwl-primary) !important;}/* =========================================================   月份快速导航外框   ========================================================= */.wwl-history-months {    display: block !important;    width: 100% !important;    max-width: none !important;    margin: 20px 0 0 !important;    padding: 18px !important;    border-radius: 14px !important;    background: var(--wwl-card) !important;    border: 1px solid var(--wwl-border) !important;    box-sizing: border-box !important;}/* =========================================================   月份标题   ========================================================= */.wwl-history-months-title {    display: block !important;    width: 100% !important;    margin: 0 0 12px !important;    padding: 0 !important;    color: var(--wwl-text-secondary);    font-size: 13px;    line-height: 1.5;}/* =========================================================   月份容器   不再使用 Grid   强制 Flex 横向排列   ========================================================= */.wwl-history-page .wwl-history-month-grid {    display: flex !important;    flex-direction: row !important;    flex-wrap: nowrap !important;    align-items: stretch !important;    justify-content: flex-start !important;    width: 100% !important;    max-width: none !important;    height: auto !important;    min-height: 36px !important;    margin: 0 !important;    padding: 0 !important;    gap: 7px !important;    float: none !important;    clear: both !important;    position: static !important;    overflow: visible !important;    white-space: normal !important;    box-sizing: border-box !important;}/* =========================================================   月份按钮   12 个按钮严格平均分配   ========================================================= */.wwl-history-page .wwl-history-month-grid > .wwl-history-month {    display: flex !important;    flex: 1 1 0 !important;    flex-grow: 1 !important;    flex-shrink: 1 !important;    flex-basis: 0 !important;    align-items: center !important;    justify-content: center !important;    width: 0 !important;    min-width: 0 !important;    max-width: none !important;    height: 36px !important;    min-height: 36px !important;    max-height: 36px !important;    margin: 0 !important;    padding: 0 3px !important;    float: none !important;    clear: none !important;    position: static !important;    border: 1px solid var(--wwl-border) !important;    border-radius: 7px !important;    background: transparent !important;    color: var(--wwl-text-secondary) !important;    font-family: inherit !important;    font-size: 13px !important;    font-weight: 400 !important;    line-height: 36px !important;    text-align: center !important;    white-space: nowrap !important;    cursor: pointer !important;    box-shadow: none !important;    box-sizing: border-box !important;    transform: none !important;    transition:        background .2s ease,        border-color .2s ease,        color .2s ease,        transform .2s ease;}/* =========================================================   月份 Hover   ========================================================= */.wwl-history-page .wwl-history-month-grid > .wwl-history-month:hover {    border-color: var(--wwl-primary) !important;    background: var(--wwl-primary-light) !important;    color: var(--wwl-primary) !important;    transform: translateY(-1px) !important;}/* =========================================================   内容区域   ========================================================= */.wwl-history-content {    display: block;    width: 100%;    margin-top: 24px;    padding: 28px 30px;    border-radius: 18px;    background: var(--wwl-card);    border: 1px solid var(--wwl-border);    box-shadow: var(--wwl-shadow);}.wwl-history-content-head {    display: flex;    align-items: center;    gap: 10px;    margin: 0 0 25px;    padding: 0;    color: var(--wwl-text);    font-size: 21px;    font-weight: 700;    line-height: 1.4;}/* * 兼容你当前 HTML： * * <span class="wwl-history-content-title-icon">📜</span> * 历史上的今天 */.wwl-history-content-title-icon {    display: inline-flex !important;    align-items: center;    justify-content: center;    flex: 0 0 auto;    width: 34px;    height: 34px;    margin: 0 !important;    padding: 0 !important;    border-radius: 9px;    background: var(--wwl-primary-light);    color: var(--wwl-primary);    font-size: 17px;    line-height: 1;}/* =========================================================   时间轴   ========================================================= */.wwl-history-timeline {    position: relative;    width: 100%;    margin: 0;    padding: 0;}/* =========================================================   单条历史事件 - 桌面   ========================================================= */.wwl-history-item {    position: relative;    display: grid !important;    grid-template-columns: 90px 1fr !important;    column-gap: 22px !important;    width: 100% !important;    min-width: 0 !important;    margin: 0 !important;    padding: 0 0 27px !important;}.wwl-history-item:last-child {    padding-bottom: 0 !important;}/* =========================================================   年份   ========================================================= */.wwl-history-year {    position: relative;    z-index: 2;    display: block;    min-width: 0;    margin: 0;    padding: 2px 0 0;    color: var(--wwl-primary);    font-size: 21px;    font-weight: 700;    line-height: 1.4;    text-align: right;    white-space: nowrap;}/* =========================================================   时间轴圆点   ========================================================= */.wwl-history-dot {    position: absolute;    z-index: 3;    top: 7px;    left: 101px;    width: 11px;    height: 11px;    margin: 0;    padding: 0;    border: 3px solid var(--wwl-card);    border-radius: 50%;    background: var(--wwl-primary);    box-shadow:        0 0 0 1px rgba(0,170,144,.25);    pointer-events: none;}/* =========================================================   时间轴竖线   ========================================================= */.wwl-history-item:not(:last-child)::before {    content: "";    position: absolute;    top: 18px;    bottom: 0;    left: 105px;    width: 1px;    background: var(--wwl-border);    pointer-events: none;}/* =========================================================   事件卡片   ========================================================= */.wwl-history-event {    display: block;    width: 100%;    min-width: 0;    margin: 0;    padding: 17px 19px;    border: 1px solid var(--wwl-border);    border-radius: 12px;    background: var(--wwl-bg);    color: var(--wwl-text);    overflow-wrap: anywhere;    word-break: break-word;    transition:        border-color .2s ease,        transform .2s ease,        box-shadow .2s ease;}.wwl-history-event:hover {    border-color: rgba(0,170,144,.35);    transform: translateY(-1px);    box-shadow:        0 6px 20px rgba(0,0,0,.05);}.wwl-history-event p {    margin: 0 0 8px;    padding: 0;}.wwl-history-event p:last-child {    margin-bottom: 0;}.wwl-history-event strong {    color: var(--wwl-text);}/* =========================================================   加载   ========================================================= */.wwl-history-loading {    display: block;    width: 100%;    padding: 60px 20px;    color: var(--wwl-text-secondary);    text-align: center;}.wwl-history-loading-spinner {    width: 28px;    height: 28px;    margin: 0 auto 12px;    border: 3px solid var(--wwl-border);    border-top-color: var(--wwl-primary);    border-radius: 50%;    animation:        wwl-history-spin .8s linear infinite;}@keyframes wwl-history-spin {    to {        transform: rotate(360deg);    }}/* =========================================================   空内容   ========================================================= */.wwl-history-empty {    width: 100%;    padding: 55px 20px;    color: var(--wwl-text-secondary);    text-align: center;}.wwl-history-empty-icon {    margin-bottom: 10px;    font-size: 38px;    opacity: .7;}/* =========================================================   深色模式   ========================================================= */html.dark .wwl-history-page,body.dark .wwl-history-page,html.night .wwl-history-page,body.night .wwl-history-page,html[data-theme="dark"] .wwl-history-page,body[data-theme="dark"] .wwl-history-page,html.dark-mode .wwl-history-page,body.dark-mode .wwl-history-page {    --wwl-bg: #242627;    --wwl-card: #2d2e2f;    --wwl-text: #b4b8bf;    --wwl-text-secondary: #858b94;    --wwl-border: #3a3c3e;    --wwl-shadow:        0 8px 30px rgba(0,0,0,.18);}html.dark .wwl-history-hero,body.dark .wwl-history-hero,html.night .wwl-history-hero,body.night .wwl-history-hero,html[data-theme="dark"] .wwl-history-hero,body[data-theme="dark"] .wwl-history-hero,html.dark-mode .wwl-history-hero,body.dark-mode .wwl-history-hero {    background:        radial-gradient(            circle at 90% 10%,            rgba(0,170,144,.12),            transparent 35%        ),        linear-gradient(            135deg,            #2d2e2f,            #292a2b        );}/* =========================================================   平板   ========================================================= */@media (max-width: 768px) {    .wwl-history-page {        width: 100%;        font-size: 14px;    }    /* Hero */    .wwl-history-hero {        padding: 28px 18px;        border-radius: 14px;    }    .wwl-history-title {        font-size: 25px;    }    /* 内容 */    .wwl-history-content {        padding: 22px 16px;        border-radius: 14px;    }    /* 日期 */    .wwl-history-date {        font-size: 24px;    }    /* =====================================================       平板月份：6 个一行       ===================================================== */    .wwl-history-page    .wwl-history-months    .wwl-history-month-grid {        grid-template-columns:            repeat(6, minmax(0, 1fr)) !important;        gap: 7px !important;    }    /* =====================================================       手机 / 平板事件       彻底取消年份列       ===================================================== */    .wwl-history-page    .wwl-history-item {        display: block !important;        width: 100% !important;        margin: 0 !important;        padding: 0 0 18px !important;    }    /* 隐藏年份 */    .wwl-history-page    .wwl-history-year {        display: none !important;    }    /* =====================================================       手机彻底取消圆点       ===================================================== */    .wwl-history-page    .wwl-history-dot {        display: none !important;    }    /* =====================================================       手机彻底取消竖线       ===================================================== */    .wwl-history-page    .wwl-history-item:not(:last-child)::before {        display: none !important;        content: none !important;    }    /* =====================================================       事件卡片       直接占满整个内容区域       不留任何左侧空白       ===================================================== */    .wwl-history-page    .wwl-history-event {        display: block !important;        width: 100% !important;        max-width: 100% !important;        min-width: 0 !important;        margin: 0 !important;        padding: 14px !important;        border-radius: 11px !important;        text-align: left !important;        font-size: 14px !important;        line-height: 1.75 !important;        overflow-wrap: anywhere !important;        word-break: break-word !important;    }    /* 防止主题给正文增加左边距 */    .wwl-history-page    .wwl-history-event p {        margin: 0 0 8px !important;        padding: 0 !important;    }    .wwl-history-page    .wwl-history-event p:last-child {        margin-bottom: 0 !important;    }    .wwl-history-page    .wwl-history-event div,    .wwl-history-page    .wwl-history-event span {        margin-left: 0 !important;        padding-left: 0 !important;    }}/* =========================================================   手机   ========================================================= */@media (max-width: 480px) {    /* =====================================================       日期按钮       ===================================================== */    .wwl-history-actions {        display: grid !important;        grid-template-columns:            1fr 1fr !important;        gap: 9px !important;    }    .wwl-history-actions    .wwl-history-btn {        width: 100% !important;        min-width: 0 !important;    }    .wwl-history-actions    .wwl-history-btn-primary {        grid-column: 1 / -1 !important;    }    .wwl-history-date-input {        display: block !important;        width: 100% !important;        grid-column: 1 / -1 !important;    }    /* =====================================================       手机月份：4 个一行       ===================================================== */    .wwl-history-page    .wwl-history-months    .wwl-history-month-grid {        grid-template-columns:            repeat(4, minmax(0, 1fr)) !important;        gap: 7px !important;    }    .wwl-history-page    .wwl-history-months    .wwl-history-month {        width: auto !important;        height: 36px !important;        min-height: 36px !important;        margin: 0 !important;        padding: 0 2px !important;        font-size: 13px !important;    }    /* =====================================================       内容区域进一步缩小内边距       ===================================================== */    .wwl-history-content {        padding: 20px 12px !important;        border-radius: 14px !important;    }    /* =====================================================       月份容器       ===================================================== */    .wwl-history-months {        padding: 14px !important;        border-radius: 12px !important;    }    /* =====================================================       手机事件       再次确保没有任何左侧空白       ===================================================== */    .wwl-history-page    .wwl-history-event {        width: 100% !important;        max-width: 100% !important;        margin: 0 !important;        padding: 14px !important;    }}/* =========================================================   超小屏   ========================================================= */@media (max-width: 360px) {    .wwl-history-page    .wwl-history-months    .wwl-history-month-grid {        grid-template-columns:            repeat(3, minmax(0, 1fr)) !important;        gap: 7px !important;    }    .wwl-history-page    .wwl-history-months {        padding: 12px !important;    }    .wwl-history-page    .wwl-history-content {        padding-left: 10px !important;        padding-right: 10px !important;    }}