/* ==================== 摸鱼专区样式 ==================== */
/* 使用项目已有的 CSS 变量体系 */

/* ====== 全局字体与可读性优化 ====== */
body,
[class^="lg-"],
[class*=" lg-"] {
font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans SC', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ====== Banner 区域 ====== */
.lg-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0;
    padding: 40px 36px;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
}

.lg-banner-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 250px at 15% 50%, rgba(78, 110, 242, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 85% 50%, rgba(97, 77, 232, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.lg-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.lg-banner-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.lg-banner-desc {
    font-size: 0.95rem;
    color: var(--text-mid);
    letter-spacing: 1px;
}



/* ====== Tab 导航 ====== */
.lg-tabs {
    display: flex;
    gap: 6px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 24px;
    position: sticky;
    top: 60px;
    z-index: 50;
    background: var(--bg-deep);
}

.lg-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text-mid);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    letter-spacing: 1px;
}

.lg-tab:hover {
    border-color: rgba(78, 110, 242, 0.25);
    color: var(--ice);
    background: rgba(78, 110, 242, 0.04);
}

.lg-tab.active {
    background: var(--ice);
    color: #fff;
    border-color: var(--ice);
    box-shadow: 0 4px 14px rgba(78, 110, 242, 0.25);
}

.lg-tab-icon {
    font-size: 1.1rem;
}

/* ====== Tab 面板 ====== */
.lg-tab-panel {
    display: none;
    animation: lgFadeIn 0.35s ease;
}

.lg-tab-panel.active {
    display: block;
}

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

/* ====== 通用卡片 ====== */
.lg-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.lg-card:hover {
    box-shadow: var(--card-shadow);
    border-color: rgba(78, 110, 242, 0.12);
}

.lg-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(78, 110, 242, 0.015);
}

.lg-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-bright);
    margin: 0;
    letter-spacing: 1px;
}

.lg-card-badge {
    font-size: 0.9rem;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(78, 110, 242, 0.08);
    color: var(--ice);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lg-card-desc {
    font-size: 0.88rem;
    color: var(--text-dim);
}

.lg-card-body {
    padding: 22px;
}

/* ====== 网格布局 ====== */
.lg-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.lg-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lg-card-full {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lg-card-full .lg-card-body {
    flex: 1;
}

/* ====== 摸鱼计时器 ====== */
.lg-timer-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lg-timer-ring {
    position: relative;
    width: 180px;
    height: 180px;
}

.lg-timer-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.lg-timer-track {
    fill: none;
    stroke: var(--border-subtle);
    stroke-width: 6;
}

.lg-timer-progress {
    fill: none;
    stroke: var(--ice);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 565.48;
    transition: stroke-dashoffset 1s linear;
}

.lg-timer-ring.fishing-active .lg-timer-progress {
    animation: lgTimerPulse 2s ease-in-out infinite;
}

@keyframes lgTimerPulse {
    0%, 100% { stroke: var(--ice); filter: drop-shadow(0 0 4px rgba(78, 110, 242, 0.3)); }
    50% { stroke: #4ecdc4; filter: drop-shadow(0 0 10px rgba(78, 205, 196, 0.5)); }
}

.lg-timer-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lg-timer-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Courier New', 'SF Mono', monospace;
    color: var(--text-bright);
    letter-spacing: 2px;
}

.lg-timer-label {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.lg-timer-stat {
    font-size: 0.9rem;
    color: var(--text-mid);
}

.lg-timer-stat strong {
    color: var(--ice);
    font-weight: 700;
}

.lg-fish-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 280px;
    padding: 13px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #fff;
    font-family: inherit;
    letter-spacing: 1px;
}

.lg-fish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(78, 205, 196, 0.35);
}

.lg-fish-btn.fishing {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.lg-fish-btn.fishing:hover {
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.35);
}

.lg-fish-btn-icon {
    font-size: 1.2rem;
}

.lg-login-hint {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.88rem;
    padding: 8px 0;
    margin: 0;
}

/* ====== 倒计时看板 ====== */
.lg-countdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.countdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-deep);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    transition: all 0.25s;
}

.countdown-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(78, 110, 242, 0.15);
}

.countdown-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 110, 242, 0.06);
    border-radius: 10px;
}

.countdown-info {
    min-width: 0;
    flex: 1;
}

.countdown-label {
    font-size: 0.88rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.countdown-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-bright);
    margin: 2px 0;
}

.countdown-sub {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* ====== 排行榜 ====== */
.lg-ranking {
    min-height: 200px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border-subtle);
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-item:hover {
    background: rgba(78, 110, 242, 0.03);
}

.ranking-item.ranking-top {
    background: rgba(78, 110, 242, 0.03);
}

.ranking-item.ranking-top:first-child {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(255, 215, 0, 0.02));
}

.ranking-pos {
    width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dim);
    flex-shrink: 0;
}

.ranking-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(78, 110, 242, 0.08);
    border: 2px solid rgba(78, 110, 242, 0.15);
    color: var(--ice);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ranking-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-bright);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-time {
    font-size: 0.9rem;
    color: var(--ice);
    font-weight: 700;
    white-space: nowrap;
    background: rgba(78, 110, 242, 0.06);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ====== 匿名树洞 ====== */
.lg-treehole-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lg-treehole-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--input-bg);
    color: var(--text-bright);
    font-size: 0.92rem;
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    line-height: 1.6;
}

.lg-treehole-textarea:focus {
    outline: none;
    border-color: rgba(78, 110, 242, 0.4);
    box-shadow: 0 0 0 3px rgba(78, 110, 242, 0.08);
}

.lg-treehole-textarea::placeholder {
    color: var(--text-dim);
}

.lg-treehole-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.lg-char-count {
    font-size: 0.88rem;
    color: var(--text-dim);
}

.lg-treehole-submit {
    padding: 8px 24px;
    border: none;
    border-radius: 8px;
    background: var(--ice);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    letter-spacing: 1px;
}

.lg-treehole-submit:hover {
    box-shadow: 0 4px 14px rgba(78, 110, 242, 0.3);
    transform: translateY(-1px);
}

.lg-treehole-list-body {
    padding: 0;
}

.lg-treehole-list {
    max-height: 600px;
    overflow-y: auto;
    padding: 0 22px;
}

.treehole-msg {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.treehole-msg:last-child {
    border-bottom: none;
}

.treehole-msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(78, 110, 242, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.treehole-msg-body {
    flex: 1;
    min-width: 0;
}

.treehole-msg-content {
    font-size: 0.92rem;
    color: var(--text-bright);
    line-height: 1.7;
    word-break: break-word;
}

.treehole-msg-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.treehole-msg-time {
    font-size: 0.88rem;
    color: var(--text-dim);
}

.treehole-like-btn {
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.2s;
}

.treehole-like-btn:hover {
    background: rgba(78, 110, 242, 0.06);
    border-color: var(--border-subtle);
}

.treehole-like-btn.liked {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.06);
    border-color: rgba(255, 107, 107, 0.15);
}

.lg-load-more {
    padding: 16px 22px;
}

.lg-more-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px dashed var(--border-subtle);
    border-radius: 10px;
    background: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.2s;
    font-family: inherit;
}

.lg-more-btn:hover {
    border-color: var(--ice);
    color: var(--ice);
    background: rgba(78, 110, 242, 0.03);
}

/* ====== 加载状态 ====== */
.lg-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.88rem;
}

.lg-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--ice);
    border-radius: 50%;
    animation: lgSpin 0.8s linear infinite;
}

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

.empty-hint {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-dim);
    font-size: 0.92rem;
}

/* ====== 响应式 ====== */
@media (max-width: 900px) {
    .lg-grid-2 {
        grid-template-columns: 1fr;
    }

    .food-slots-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lg-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .lg-banner {
        padding: 28px 20px;
    }
}

@media (max-width: 768px) {
    .lg-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding: 12px 0;
    }

    .lg-tabs::-webkit-scrollbar {
        display: none;
    }

    .lg-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .lg-countdown-grid {
        grid-template-columns: 1fr;
    }

    .lg-timer-ring {
        width: 150px;
        height: 150px;
    }

    .lg-timer-value {
        font-size: 1.5rem;
    }

    .lg-banner-title {
        font-size: 1.4rem;
    }

    .lg-card-body {
        padding: 16px;
    }

    .lg-treehole-list {
        padding: 0 16px;
    }

    .food-slots-grid {
        grid-template-columns: 1fr;
    }

    .food-header {
        flex-direction: column;
        align-items: stretch;
    }

    .food-header-actions {
        justify-content: center;
    }

    .food-header-btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .lg-tab-text {
        display: none;
    }

    .lg-tab {
        padding: 10px 16px;
    }

    .lg-tab-icon {
        font-size: 1.3rem;
    }
}

/* ==================== 微信提醒模块 ==================== */
.notify-section {
    animation: fadeInUp 0.4s ease;
}

.notify-intro {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
    margin-bottom: 20px;
}

.notify-intro-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.notify-intro-text h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #333);
}

.notify-intro-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary, #888);
    line-height: 1.5;
}

.notify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.notify-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Token 配置区域 */
.notify-status-badge {
    font-size: 0.88rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.notify-status-off {
    background: rgba(150, 150, 160, 0.1);
    color: var(--text-secondary, #999);
}

.notify-status-on {
    background: rgba(82, 196, 26, 0.1);
    color: #52c41a;
}

.notify-status-paused {
    background: rgba(255, 159, 67, 0.1);
    color: #ff9f43;
}

/* 配置步骤 */
.notify-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.notify-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-mid, #666);
}

.notify-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notify-step strong {
    color: #667eea;
}

/* Token 输入框 */
.notify-token-input-group {
    display: flex;
    gap: 8px;
}

.notify-token-input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid rgba(120, 120, 140, 0.15);
    border-radius: 10px;
    font-size: 0.9rem;
    background: var(--bg-card, #fff);
    color: var(--text-primary, #333);
    outline: none;
    transition: border-color 0.2s;
}

.notify-token-input:focus {
    border-color: #667eea;
}

.notify-token-save-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.notify-token-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 已配置状态 */
.notify-token-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(82, 196, 26, 0.06);
    border: 1px solid rgba(82, 196, 26, 0.15);
    border-radius: 10px;
    margin-bottom: 12px;
}

.notify-token-label {
    font-size: 0.88rem;
    color: var(--text-secondary, #999);
    white-space: nowrap;
}

.notify-token-masked {
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    color: var(--text-primary, #333);
    letter-spacing: 1px;
}

.notify-config-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.notify-action-btn {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.notify-test-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.notify-test-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.notify-toggle-btn {
    background: rgba(255, 159, 67, 0.1);
    color: #ff9f43;
}

.notify-toggle-btn:hover {
    background: rgba(255, 159, 67, 0.18);
}

.notify-resume-btn {
    background: rgba(82, 196, 26, 0.1);
    color: #52c41a;
}

.notify-resume-btn:hover {
    background: rgba(82, 196, 26, 0.18);
}

.notify-unbind-btn {
    background: rgba(255, 77, 79, 0.08);
    color: #ff4d4f;
}

.notify-unbind-btn:hover {
    background: rgba(255, 77, 79, 0.15);
}

/* 提醒任务列表 */
.notify-presets {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: 1px solid rgba(120, 120, 140, 0.08);
    margin-bottom: 12px;
}

.notify-preset-label {
    font-size: 0.88rem;
    color: var(--text-secondary, #999);
    white-space: nowrap;
}

.notify-preset-btn {
    padding: 5px 12px;
    border: 1.5px dashed rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    background: transparent;
    color: #667eea;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.notify-preset-btn:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: #667eea;
    transform: translateY(-1px);
}

.notify-add-task-btn {
    padding: 5px 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.notify-add-task-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 任务卡片 */
.notify-task-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.notify-task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(102, 126, 234, 0.04);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    transition: all 0.2s;
}

.notify-task-item:hover {
    background: rgba(102, 126, 234, 0.08);
}

.notify-task-disabled {
    opacity: 0.5;
}

.notify-task-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notify-task-time {
    font-size: 1.4rem;
    font-weight: 800;
    color: #667eea;
    font-family: 'Courier New', monospace;
    min-width: 60px;
}

.notify-task-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notify-task-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary, #333);
}

.notify-task-repeat {
    font-size: 0.9rem;
    color: var(--text-secondary, #999);
}

.notify-task-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 开关样式 */
.notify-task-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.notify-task-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.notify-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(120, 120, 140, 0.2);
    border-radius: 22px;
    transition: 0.3s;
}

.notify-switch-slider:before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.notify-task-switch input:checked + .notify-switch-slider {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.notify-task-switch input:checked + .notify-switch-slider:before {
    transform: translateX(18px);
}

.notify-task-edit,
.notify-task-delete {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s;
    padding: 4px;
}

.notify-task-edit:hover,
.notify-task-delete:hover {
    opacity: 1;
}

/* 推送日志 */
.notify-refresh-log-btn {
    background: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.notify-refresh-log-btn:hover {
    background: rgba(120, 120, 140, 0.1);
}

.notify-logs {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notify-log-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(120, 120, 140, 0.03);
    border-radius: 8px;
    font-size: 0.88rem;
}

.notify-log-status {
    flex-shrink: 0;
}

.notify-log-title {
    flex: 1;
    color: var(--text-primary, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notify-log-time {
    color: var(--text-secondary, #999);
    font-size: 0.9rem;
    white-space: nowrap;
}

.notify-empty {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary, #999);
    font-size: 0.9rem;
}

/* 新建提醒弹窗 */
.notify-task-modal-card {
    max-width: 480px;
}

.notify-task-form {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.notify-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notify-form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-mid, #666);
}

.notify-form-input,
.notify-form-textarea,
.notify-form-select {
    padding: 10px 14px;
    border: 1.5px solid rgba(120, 120, 140, 0.15);
    border-radius: 10px;
    font-size: 0.9rem;
    background: var(--bg-card, #fff);
    color: var(--text-primary, #333);
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.notify-form-input:focus,
.notify-form-textarea:focus,
.notify-form-select:focus {
    border-color: #667eea;
}

.notify-form-textarea {
    resize: vertical;
    min-height: 70px;
}

.notify-form-row {
    display: flex;
    gap: 12px;
}

.notify-form-half {
    flex: 1;
}

.notify-time-picker {
    display: flex;
    align-items: center;
    gap: 6px;
}

.notify-time-select {
    flex: 1;
    padding: 10px 8px;
    border: 1.5px solid rgba(120, 120, 140, 0.15);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    background: var(--bg-card, #fff);
    color: var(--text-primary, #333);
    outline: none;
    cursor: pointer;
}

.notify-time-select:focus {
    border-color: #667eea;
}

.notify-time-sep {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-mid, #666);
}

/* 自定义星期选择器 */
.notify-weekday-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.notify-weekday-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: 1.5px solid rgba(120, 120, 140, 0.15);
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    background: var(--bg-card, #fff);
    color: var(--text-primary, #333);
}

.notify-weekday-item:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.notify-weekday-item input[type="checkbox"] {
    accent-color: #667eea;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.notify-weekday-item:has(input:checked) {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
    font-weight: 600;
}

.notify-form-submit {
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 4px;
}

.notify-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

/* 响应式 */
@media (max-width: 768px) {
    .notify-grid {
        grid-template-columns: 1fr;
    }

    .notify-intro {
        flex-direction: column;
        text-align: center;
    }

    .notify-config-actions {
        justify-content: center;
    }

    .notify-presets {
        justify-content: center;
    }

    .notify-task-time {
        font-size: 1.1rem;
        min-width: 50px;
    }

    .notify-form-row {
        flex-direction: column;
    }
}
