/* /Views/Home/Index.cshtml.rz.scp.css */
.home-grid[b-10t0mr7516] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.home-main[b-10t0mr7516] {
    min-width: 0;
}

.home-sidebar[b-10t0mr7516] {
    position: sticky;
    top: 24px;
}

.collection-header[b-10t0mr7516] {
    margin-bottom: 32px;
}

.collection-header h2[b-10t0mr7516] {
    margin: 0 0 6px;
    font-size: 28px;
    color: var(--heading-color);
}

.collection-icon[b-10t0mr7516] {
    font-size: 32px;
    margin-right: 8px;
    vertical-align: middle;
}

.collection-desc[b-10t0mr7516] {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}

.collection-group[b-10t0mr7516] {
    margin-bottom: 40px;
}

.collection-group-header[b-10t0mr7516] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.collection-group-header h3[b-10t0mr7516] {
    margin: 0;
    font-size: 20px;
    color: var(--heading-color);
    flex: 1;
}

.more-link[b-10t0mr7516] {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.more-link:hover[b-10t0mr7516] {
    text-decoration: underline;
}

.note-list[b-10t0mr7516] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.note-card[b-10t0mr7516] {
    display: block;
    padding: 20px 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease;
}

.note-card:hover[b-10t0mr7516] {
    border-color: var(--primary-color);
    text-decoration: none;
}

.note-card h3[b-10t0mr7516] {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--heading-color);
}

.note-card p[b-10t0mr7516] {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.note-meta[b-10t0mr7516] {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-dim);
}

.note-mini-list[b-10t0mr7516] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.note-mini[b-10t0mr7516] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
    color: inherit;
    text-decoration: none;
}

.note-mini:last-child[b-10t0mr7516] {
    border-bottom: none;
}

.note-mini:hover[b-10t0mr7516] {
    text-decoration: none;
}

.note-mini:hover .note-mini-title[b-10t0mr7516] {
    color: var(--primary-color);
}

.note-mini-title[b-10t0mr7516] {
    font-size: 15px;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 12px;
    transition: color 0.15s ease;
}

.note-mini-date[b-10t0mr7516] {
    font-size: 13px;
    color: var(--text-dim);
    white-space: nowrap;
}

.empty-hint[b-10t0mr7516] {
    color: var(--text-dim);
    font-size: 15px;
    padding: 24px 0;
    text-align: center;
}

.sidebar-card[b-10t0mr7516] {
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
}

.sidebar-title[b-10t0mr7516] {
    margin: 0 0 16px;
    font-size: 17px;
    color: var(--heading-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.hot-list[b-10t0mr7516] {
    margin: 0;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-list li[b-10t0mr7516] {
    font-size: 15px;
    line-height: 1.5;
}

.hot-list a[b-10t0mr7516] {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.15s ease;
}

.hot-list a:hover[b-10t0mr7516] {
    color: var(--primary-color);
    text-decoration: none;
}

.hot-views[b-10t0mr7516] {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .home-grid[b-10t0mr7516] {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 20px 16px;
    }

    .home-sidebar[b-10t0mr7516] {
        position: static;
    }

    .collection-header h2[b-10t0mr7516] {
        font-size: 22px;
    }

    .collection-group[b-10t0mr7516] {
        margin-bottom: 32px;
    }

    .collection-group-header[b-10t0mr7516] {
        flex-wrap: wrap;
    }

    .collection-group-header h3[b-10t0mr7516] {
        font-size: 18px;
    }

    .note-card[b-10t0mr7516] {
        padding: 16px 18px;
    }

    .note-card h3[b-10t0mr7516] {
        font-size: 16px;
    }

    .note-card p[b-10t0mr7516] {
        font-size: 13px;
    }

    .note-meta[b-10t0mr7516] {
        font-size: 12px;
        gap: 12px;
    }

    .note-mini[b-10t0mr7516] {
        padding: 10px 0;
    }
}
/* /Views/Home/Note.cshtml.rz.scp.css */
.note-layout[b-gqgw12aqha] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 44px;
    align-items: start;
}

.toc-toggle-check[b-gqgw12aqha] {
    display: none;
}

.toc-overlay[b-gqgw12aqha] {
    display: none;
}

.toc-toggle-bar[b-gqgw12aqha] {
    display: none;
}

.note-toc[b-gqgw12aqha] {
    position: sticky;
    top: 24px;
    padding: 18px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    max-height: 100vh;
    overflow-y: auto;
}

.toc-header[b-gqgw12aqha] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.toc-header .toc-title[b-gqgw12aqha] {
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
    padding: 0;
    border: none;
}

.toc-close[b-gqgw12aqha] {
    display: none;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dim);
    cursor: pointer;
    border-radius: var(--radius-sm);
    line-height: 1;
}

.toc-list[b-gqgw12aqha] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list li[b-gqgw12aqha] {
    margin-bottom: 2px;
}

.toc-list a[b-gqgw12aqha] {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toc-list a:hover[b-gqgw12aqha] {
    color: var(--primary-color);
    text-decoration: none;
}

.toc-empty[b-gqgw12aqha] {
    font-size: 14px;
    color: var(--text-dim);
    text-align: center;
    padding: 12px 0;
    margin: 0;
}

.note-content[b-gqgw12aqha] {
    min-width: 0;
}

.note-title[b-gqgw12aqha] {
    margin: 0 0 10px;
    font-size: 30px;
    color: var(--heading-color);
    line-height: 1.4;
}

.note-meta-bar[b-gqgw12aqha] {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-dim);
    padding-bottom: 18px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .note-layout[b-gqgw12aqha] {
        display: block;
        padding: 16px;
    }

    .toc-overlay[b-gqgw12aqha] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 90;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .toc-toggle-check:checked ~ .toc-overlay[b-gqgw12aqha] {
        opacity: 1;
        pointer-events: auto;
    }

    .toc-toggle-bar[b-gqgw12aqha] {
        position: fixed;
        bottom: 20px;
        right: 16px;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        background: var(--primary-color);
        color: #fff;
        border: none;
        border-radius: var(--radius-sm);
        cursor: pointer;
        font-size: 18px;
        user-select: none;
    }

    .toc-btn-icon[b-gqgw12aqha] {
        font-size: 18px;
        line-height: 1;
    }

    .toc-btn-text[b-gqgw12aqha] {
        display: none;
    }

    .toc-close[b-gqgw12aqha] {
        display: flex;
    }

    .toc-close:hover[b-gqgw12aqha] {
        background: var(--border-light);
    }

    .note-toc[b-gqgw12aqha] {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        z-index: 95;
        background: var(--bg-color);
        border-left: 1px solid var(--border-color);
        border-radius: 0;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        display: flex;
        flex-direction: column;
        padding: 20px 18px;
        padding-top: max(20px, env(safe-area-inset-top));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        overflow-y: auto;
    }

    .toc-toggle-check:checked ~ .note-toc[b-gqgw12aqha] {
        transform: translateX(0);
    }

    .toc-header[b-gqgw12aqha] {
        flex-shrink: 0;
    }

    .toc-header .toc-title[b-gqgw12aqha] {
        font-size: 16px;
    }

    .toc-list[b-gqgw12aqha] {
        flex: 1;
    }

    .toc-list a[b-gqgw12aqha] {
        font-size: 15px;
        padding: 7px 0;
    }

    .toc-list a:active[b-gqgw12aqha] {
        color: var(--primary-color);
    }

    .note-title[b-gqgw12aqha] {
        font-size: 24px;
    }

    .note-meta-bar[b-gqgw12aqha] {
        font-size: 13px;
        gap: 12px;
        margin-bottom: 24px;
    }
}
/* /Views/Shared/_Layout.cshtml.rz.scp.css */
.navbar[b-cuq1ehbyhj] {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container[b-cuq1ehbyhj] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-top[b-cuq1ehbyhj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .brand[b-cuq1ehbyhj] {
    text-decoration: none;
    color: var(--heading-color);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar .brand:hover[b-cuq1ehbyhj] {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-toggle-check[b-cuq1ehbyhj] {
    display: none;
}

.nav-toggle-btn[b-cuq1ehbyhj] {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-toggle-btn span[b-cuq1ehbyhj] {
    display: block;
    width: 100%;
    height: 2px;
    background: #555;
    transition: transform 0.2s ease, opacity 0.15s ease;
}

.nav-links[b-cuq1ehbyhj] {
    list-style: none;
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-links a[b-cuq1ehbyhj] {
    display: block;
    text-decoration: none;
    color: var(--text-muted);
    padding: 6px 14px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover[b-cuq1ehbyhj] {
    color: var(--primary-color);
    background-color: var(--primary-light);
    text-decoration: none;
}

.nav-links .active[b-cuq1ehbyhj] {
    color: var(--primary-color);
    font-weight: 500;
    background-color: var(--primary-light);
}

footer[b-cuq1ehbyhj] {
    padding: 24px 0;
    font-size: 13px;
    color: var(--text-dim);
    border-top: 1px solid var(--border-light);
}

footer .container[b-cuq1ehbyhj] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

footer a[b-cuq1ehbyhj] {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.15s ease;
}

footer a:hover[b-cuq1ehbyhj] {
    color: var(--primary-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .navbar[b-cuq1ehbyhj] {
        padding: 12px 16px;
    }

    .navbar .container[b-cuq1ehbyhj] {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-top[b-cuq1ehbyhj] {
        width: 100%;
    }

    .navbar .brand[b-cuq1ehbyhj] {
        font-size: 24px;
    }

    .nav-toggle-btn[b-cuq1ehbyhj] {
        display: flex;
        flex-shrink: 0;
    }

    .nav-toggle-check:checked ~ .nav-top .nav-toggle-btn span:nth-child(1)[b-cuq1ehbyhj] {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle-check:checked ~ .nav-top .nav-toggle-btn span:nth-child(2)[b-cuq1ehbyhj] {
        opacity: 0;
    }

    .nav-toggle-check:checked ~ .nav-top .nav-toggle-btn span:nth-child(3)[b-cuq1ehbyhj] {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links[b-cuq1ehbyhj] {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        gap: 0;
    }

    .nav-toggle-check:checked ~ .nav-links[b-cuq1ehbyhj] {
        max-height: 600px;
    }

    .nav-links a[b-cuq1ehbyhj] {
        display: block;
        padding: 10px 4px;
        font-size: 15px;
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
    }

    .nav-links a:hover[b-cuq1ehbyhj] {
        background-color: transparent;
    }

    .nav-links .active[b-cuq1ehbyhj] {
        background-color: transparent;
    }

    .nav-links li:last-child a[b-cuq1ehbyhj] {
        border-bottom: none;
    }

    footer[b-cuq1ehbyhj] {
        padding: 16px 0;
        font-size: 12px;
    }

    footer .container[b-cuq1ehbyhj] {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }
}
