/* 首页关闭时的公开伪装页：教程资源整理站样式，不引用 MPAY 主题。 */
.cover-page {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #1f2933;
    background:
        radial-gradient(ellipse 70% 42% at 12% -8%, #dcecff 0%, transparent 50%),
        radial-gradient(ellipse 55% 36% at 92% 0%, #e7f4ef 0%, transparent 46%),
        linear-gradient(180deg, #f4f7fb 0%, #eef2f6 48%, #e9eef4 100%);
    line-height: 1.65;
}

.cover-page a {
    color: inherit;
    text-decoration: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cover-wrap {
    box-sizing: border-box;
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
}

.cover-header {
    border-bottom: 1px solid #d8e0ea;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 2;
}

.cover-header-inner {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cover-brand {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a365d;
}

.cover-header nav {
    display: flex;
    gap: 22px;
    font-size: 14px;
    color: #52606d;
}

.cover-header nav a:hover {
    color: #1a365d;
}

.cover-hero {
    padding: 48px 0 28px;
}

.cover-kicker {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3b6ea5;
}

.cover-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4.4vw, 40px);
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #102a43;
}

.cover-lead {
    margin: 0;
    max-width: 42em;
    font-size: 17px;
    color: #486581;
}

.cover-search {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    max-width: 560px;
}

.cover-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #cdd7e3;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    color: #243b53;
    outline: none;
}

.cover-search input:focus {
    border-color: #7aa2d4;
    box-shadow: 0 0 0 3px #d6e6f8;
}

.cover-search button {
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #1f4e79;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: default;
}

.cover-hot-tags {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cover-hot-tags a {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8f0fa;
    color: #334e68;
    font-size: 13px;
}

.cover-hot-tags a:hover {
    background: #d9e8f8;
    color: #1a365d;
}

.cover-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.cover-stats div {
    padding: 16px 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    text-align: center;
}

.cover-stats strong {
    display: block;
    font-size: 22px;
    color: #102a43;
    letter-spacing: -0.02em;
}

.cover-stats span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #627d98;
}

.cover-section {
    padding: 28px 0 12px;
}

.cover-section-head {
    margin-bottom: 18px;
}

.cover-section h2 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #102a43;
}

.cover-section-desc {
    margin: 0;
    color: #627d98;
    font-size: 15px;
    max-width: 48em;
}

.cover-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cover-path {
    padding: 18px 16px 16px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
}

.cover-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #1f4e79;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.cover-badge-soft {
    background: #e8f0fa;
    color: #1f4e79;
}

.cover-path h3 {
    margin: 0 0 12px;
    font-size: 17px;
    color: #243b53;
}

.cover-path ol {
    margin: 0;
    padding-left: 1.15em;
    color: #486581;
    font-size: 14px;
}

.cover-path li + li {
    margin-top: 6px;
}

.cover-meta {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    color: #829ab1;
}

.cover-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: start;
}

.cover-main-col {
    display: grid;
    gap: 14px;
}

.cover-res-group {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    overflow: hidden;
}

.cover-res-group > header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e6edf5;
    background: #f8fafc;
}

.cover-res-group > header h3 {
    margin: 0;
    font-size: 16px;
    color: #243b53;
}

.cover-res-group > header span {
    font-size: 12px;
    color: #829ab1;
}

.cover-res-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cover-res-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 14px 16px;
    border-top: 1px solid #eef2f6;
}

.cover-res-list li:first-child {
    border-top: 0;
}

.cover-res-list a {
    font-weight: 600;
    color: #1a365d;
}

.cover-res-list a:hover {
    color: #0b6e99;
}

.cover-res-list p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #627d98;
}

.cover-res-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    font-size: 12px;
    color: #829ab1;
    white-space: nowrap;
}

.cover-tag {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    background: #edf2f7;
    color: #486581;
    font-weight: 600;
}

.cover-side {
    display: grid;
    gap: 12px;
}

.cover-side-card {
    padding: 14px 14px 12px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
}

.cover-side-card h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #243b53;
}

.cover-side-list {
    margin: 0;
    padding-left: 1.15em;
    font-size: 13px;
    color: #486581;
}

.cover-side-list li + li {
    margin-top: 8px;
}

.cover-side-list a:hover {
    color: #1a365d;
}

.cover-chip-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cover-chip-list a {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f0f4f8;
    font-size: 12px;
    color: #486581;
}

.cover-chip-list a:hover {
    background: #e2eaf3;
}

.cover-changelog {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #486581;
}

.cover-changelog li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 8px;
}

.cover-changelog li + li {
    margin-top: 8px;
}

.cover-changelog time {
    color: #829ab1;
    font-variant-numeric: tabular-nums;
}

.cover-side-tip p {
    margin: 0;
    font-size: 13px;
    color: #627d98;
}

.cover-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cover-tool-card {
    display: block;
    padding: 16px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cover-tool-card:hover {
    border-color: #9fb3c8;
    box-shadow: 0 6px 18px rgba(16, 42, 67, 0.06);
}

.cover-tool-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #243b53;
}

.cover-tool-card:hover h3 {
    color: #0b6e99;
}

.cover-tool-card p {
    margin: 0;
    font-size: 13px;
    color: #627d98;
}

.cover-res-list a::after,
.cover-side-list a::after,
.cover-hot-tags a::after,
.cover-tool-card h3::after {
    content: " ↗";
    font-size: 0.85em;
    color: #829ab1;
    font-weight: 500;
}

.cover-faq {
    display: grid;
    gap: 10px;
}

.cover-faq details {
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
}

.cover-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: #243b53;
    list-style: none;
}

.cover-faq summary::-webkit-details-marker {
    display: none;
}

.cover-faq summary::before {
    content: "+";
    display: inline-block;
    width: 1.1em;
    margin-right: 6px;
    color: #3b6ea5;
    font-weight: 700;
}

.cover-faq details[open] summary::before {
    content: "–";
}

.cover-faq p {
    margin: 10px 0 2px;
    font-size: 14px;
    color: #486581;
}

.cover-footer {
    margin-top: 36px;
    padding: 28px 0 40px;
    border-top: 1px solid #d8e0ea;
    background: rgba(255, 255, 255, 0.55);
    color: #829ab1;
    font-size: 13px;
}

.cover-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.cover-footer strong {
    display: block;
    margin-bottom: 6px;
    color: #486581;
}

.cover-footer p {
    margin: 0;
    max-width: 36em;
}

.cover-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cover-footer nav a:hover {
    color: #486581;
}

@media (max-width: 900px) {
    .cover-layout,
    .cover-path-grid,
    .cover-tool-grid {
        grid-template-columns: 1fr;
    }

    .cover-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .cover-header-inner {
        height: auto;
        padding: 14px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .cover-header nav {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .cover-hero {
        padding-top: 32px;
    }

    .cover-search {
        flex-direction: column;
    }

    .cover-res-list li {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cover-res-meta {
        flex-direction: row;
        align-items: center;
    }

    .cover-footer-inner {
        flex-direction: column;
    }
}
