2026第一学期期末集训总结 - Zecery .navbar-title { font-weight: bold; font-family: Consolas, monospace; font-size: 24px !important; color: #fff !important; text-decoration: none !important; }
    .navbar a {
        text-decoration: none;
        color: inherit;
        font-family: inherit;
        font-size: inherit;
        font-weight: inherit;
    }

    .navbar > a {
        text-decoration: none;
        color: white;
        font-family: Consolas, monospace;
        font-size: 24px;
        font-weight: bold;
    }

    .navbar > a:hover {
        text-decoration: none;
        color: white;
        opacity: 0.9;
    }
    
    :root {
        --bg-primary: #ffffff;
        --bg-secondary: #f8f9fa;
        --bg-card: #ffffff;
        --text-primary: #333333;
        --text-secondary: #666666;
        --accent-color: #1976d2;
        --accent-hover: #1565c0;
        --border-color: #e0e0e0;
        --shadow-color: rgba(0, 0, 0, 0.1);
    }

    [data-theme="dark"] {
        --bg-primary: #121212;
        --bg-secondary: #1e1e1e;
        --bg-card: #1e1e1e;
        --text-primary: #e0e0e0;
        --text-secondary: #aaaaaa;
        --accent-color: #2196f3;
        --accent-hover: #1976d2;
        --border-color: #333333;
        --shadow-color: rgba(0, 0, 0, 0.3);
    }

    body {
        margin: 0;
        padding: 0;
        background-color: var(--bg-primary);
        color: var(--text-primary);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        transition: background-color 0.3s ease, color 0.3s ease;
        line-height: 1.6;
    }

    .navbar {
        width: 100%;
        height: 60px;
        background-color: var(--accent-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #fff;
        font-size: 24px;
        font-family: Consolas, monospace;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .navbar-title {
        font-weight: bold;
    }

    .navbar-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .theme-toggle {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 4px;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .theme-toggle:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .back-btn {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 4px;
        font-size: 16px;
        cursor: pointer;
        text-decoration: none;
        transition: background-color 0.3s;
    }
    .back-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .content {
        margin-top: 80px;
        padding: 20px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-title {
        font-size: 32px;
        margin-bottom: 10px;
        color: var(--text-primary);
        text-align: center;
    }

    .page-subtitle {
        font-size: 18px;
        color: var(--text-secondary);
        text-align: center;
        margin-bottom: 40px;
    }

    .card {
        background-color: var(--bg-card);
        border-radius: 12px;
        box-shadow: 0 4px 12px var(--shadow-color);
        border: 1px solid var(--border-color);
        padding: 30px;
        margin-bottom: 30px;
    }

    .info-section {
        margin-bottom: 30px;
    }

    .info-section:last-child {
        margin-bottom: 0;
    }

    .section-title {
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 15px;
        color: var(--accent-color);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .section-content {
        font-size: 16px;
        color: var(--text-primary);
    }

    .feature-list {
        list-style-type: none;
        padding: 0;
    }

    .feature-list li {
        padding: 8px 0;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .feature-list li:before {
        content: "✓";
        color: var(--accent-color);
        font-weight: bold;
    }

    .day-card {
        background-color: var(--bg-card);
        border-radius: 12px;
        box-shadow: 0 4px 12px var(--shadow-color);
        border: 1px solid var(--border-color);
        padding: 25px;
        margin-bottom: 25px;
        border-left: 4px solid var(--accent-color);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .day-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px var(--shadow-color);
    }

    .day-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .day-title {
        font-size: 20px;
        font-weight: bold;
        color: var(--text-primary);
    }

    .day-tag {
        background-color: var(--accent-color);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: bold;
    }

    .day-content {
        color: var(--text-primary);
        line-height: 1.7;
    }

    .highlight {
        background-color: rgba(25, 118, 210, 0.1);
        padding: 2px 6px;
        border-radius: 4px;
        font-weight: bold;
    }

    .strikethrough {
        text-decoration: line-through;
        opacity: 0.7;
    }

    .problem-count {
        background-color: rgba(33, 150, 243, 0.1);
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: bold;
        color: var(--accent-color);
        margin-left: 10px;
    }

    .status-section {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    .status-item {
        text-align: center;
        flex: 1;
    }

    .status-value {
        font-size: 24px;
        font-weight: bold;
        color: var(--accent-color);
        margin-bottom: 5px;
    }

    .status-label {
        font-size: 14px;
        color: var(--text-secondary);
    }

    .total-problems {
        text-align: center;
        margin-top: 10px;
        font-size: 16px;
        color: var(--text-secondary);
    }

    @media (max-width: 768px) {
        .content {
            margin-top: 70px;
            padding: 15px;
        }
        
        .page-title {
            font-size: 28px;
        }

        .day-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }

        .status-section {
            flex-direction: column;
            gap: 20px;
        }
    }
</style>
<div class="content">
    <h1 class="page-title">2026第一学期期末集训总结</h1>
    <p class="page-subtitle">算法集训学习记录与心得总结</p>

    <div class="day-card">
        <div class="day-header">
            <div class="day-title">day1 动态规划1 <span class="problem-count">1题</span></div>
            <div class="day-tag">动态规划</div>
        </div>
        <div class="day-content">
            我没来啊...
        </div>
    </div>

    <div class="day-card">
        <div class="day-header">
            <div class="day-title">day2 动态规划2 <span class="problem-count">7题</span></div>
            <div class="day-tag">数位DP & 状压DP</div>
        </div>
        <div class="day-content">
            <p>这一天是数位DP和状压DP的部分。</p>
            <p>对于数位DP,学会了用类似<span class="highlight">记忆化搜索的写法</span>来代替<span class="strikethrough">fw垃圾</span>易错的`for`循环写法解决数位DP问题。</p>
            <p>对于状压DP,加深了对枚举子集的状态转移的理解。</p>
            <p>少量难题尚未攻克。</p>
        </div>
    </div>

    <div class="day-card">
        <div class="day-header">
            <div class="day-title">day3 动态规划3 <span class="problem-count">3题</span></div>
            <div class="day-tag">群雄争霸</div>
        </div>
        <div class="day-content">
            <p>群雄争霸这一块。</p>
            <p>学会了一些<span class="strikethrough">猎奇恐怖</span>优美高效的DP思路。</p>
            <p>见识到了DP的险恶......</p>
            <p>许多难题尚未攻克。</p>
        </div>
    </div>

    <div class="day-card">
        <div class="day-header">
            <div class="day-title">day4 字符串1 <span class="problem-count">7题</span></div>
            <div class="day-tag">KMP & Manacher</div>
        </div>
        <div class="day-content">
            <p>KMP算法和Manacher算法。</p>
            <p>学会了Manacher算法和套用方法,部分难题尚未攻克。</p>
        </div>
    </div>

    <div class="day-card">
        <div class="day-header">
            <div class="day-title">day5 字符串2 <span class="problem-count">6题</span></div>
            <div class="day-tag">Trie的世界</div>
        </div>
        <div class="day-content">
            <p>Trie的世界。</p>
            <p>学习了Trie的一堆<span class="strikethrough">炸裂</span>有用的功能,学会用01Trie求异或最小值。</p>
            <p>部分难题尚未攻克。</p>
        </div>
    </div>

    <div class="day-card">
        <div class="day-header">
            <div class="day-title">day6 字符串3 <span class="problem-count">4题</span></div>
            <div class="day-tag">挑战日</div>
        </div>
        <div class="day-content">
            <p>众所周知每一个专题的最后一天肯定是最难的。</p>
            <p>一开始只是普通的分类讨论(T1,T2),后面越来越离谱,代码难度大到爆炸。</p>
            <p>提升了代码能力(模拟?),还有一些算法的变种(KMP自动机虽然还没学会)。</p>
            <p>许多难题尚未攻克。(废话要是全做出来了那不成神了)</p>
        </div>
    </div>

    <div class="card">
        <div class="section-title">
            <span>📊 总结</span>
        </div>
        <div class="section-content">
            <p>DP1,3和String3的提单还需要攻克一下,收获颇丰(?)。</p>
            
            <div class="status-section">
                <div class="status-item">
                    <div class="status-value">6</div>
                    <div class="status-label">学习天数</div>
                </div>
                <div class="status-item">
                    <div class="status-value">2</div>
                    <div class="status-label">专题领域</div>
                </div>
                <div class="status-item">
                    <div class="status-value">28</div>
                    <div class="status-label">期间做题</div>
                </div>
            </div>
            
            <div class="total-problems">
                总计:1 + 7 + 3 + 7 + 6 + 4 = 28题
            </div>
        </div>
    </div>
</div>

<script>
    // -------------------------- 主题切换逻辑 --------------------------
    const themeToggle = document.getElementById('themeToggle');
    const themeIcon = document.getElementById('themeIcon');
    const htmlElement = document.documentElement;

    function initTheme() {
        const savedTheme = localStorage.getItem('theme');
        const systemPrefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
        
        if (savedTheme) {
            htmlElement.setAttribute('data-theme', savedTheme);
        } else if (systemPrefersDark) {
            htmlElement.setAttribute('data-theme', 'dark');
        }
        
        updateThemeIcon();
    }

    function toggleTheme() {
        const currentTheme = htmlElement.getAttribute('data-theme');
        const newTheme = currentTheme === 'dark' ? 'light' : 'dark';
        
        htmlElement.setAttribute('data-theme', newTheme);
        localStorage.setItem('theme', newTheme);
        updateThemeIcon();
    }

    function updateThemeIcon() {
        const currentTheme = htmlElement.getAttribute('data-theme');
        themeIcon.textContent = currentTheme === 'dark' ? '☀️' : '🌙';
    }

    themeToggle.addEventListener('click', toggleTheme);
    initTheme();
</script>