body.wnlen-editorial-archive {
    --system-ink: #30383d;
    --system-muted: #737d83;
    --system-faint: #9aa2a7;
    --system-accent: #c77d57;
    --system-accent-rgb: 199, 125, 87;
    --system-line: rgba(48, 56, 61, .12);
    --system-paper: rgba(248, 247, 243, .94);
    --system-surface: rgba(255, 255, 255, .82);
    --system-grid: rgba(48, 56, 61, .035);
}

body.dark.wnlen-editorial-archive {
    --system-ink: #e6e2dc;
    --system-muted: #a9afb2;
    --system-faint: #858d91;
    --system-accent: #dfa07a;
    --system-accent-rgb: 223, 160, 122;
    --system-line: rgba(230, 226, 220, .13);
    --system-paper: rgba(28, 31, 33, .96);
    --system-surface: rgba(36, 39, 41, .88);
    --system-grid: rgba(230, 226, 220, .035);
}

body.wnlen-editorial-archive.category-think {
    --system-accent: #5e8588;
    --system-accent-rgb: 94, 133, 136;
}

body.dark.wnlen-editorial-archive.category-think {
    --system-accent: #8db5b7;
    --system-accent-rgb: 141, 181, 183;
}

body.wnlen-editorial-archive.category-principle {
    --system-accent: #a96975;
    --system-accent-rgb: 169, 105, 117;
}

body.dark.wnlen-editorial-archive.category-principle {
    --system-accent: #d2929d;
    --system-accent-rgb: 210, 146, 157;
}

body.wnlen-editorial-archive.category-record {
    --system-accent: #78875e;
    --system-accent-rgb: 120, 135, 94;
}

body.dark.wnlen-editorial-archive.category-record {
    --system-accent: #a7b98b;
    --system-accent-rgb: 167, 185, 139;
}

body.wnlen-editorial-archive #content,
body.wnlen-editorial-archive .site-footer {
    max-width: 960px;
}

body.wnlen-editorial-archive #content {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    background: transparent;
}

body.wnlen-editorial-archive .pattern-center,
body.wnlen-editorial-archive .pattern-center-blank {
    display: none;
}

body.wnlen-editorial-archive #waifu,
body.wnlen-editorial-archive #waifu-toggle,
body.wnlen-editorial-archive .prpr,
body.wnlen-editorial-archive .live2d-tool,
body.wnlen-editorial-archive #aplayer-float .aplayer-lrc {
    display: none !important;
}

.wnlen-system-page {
    width: auto;
    max-width: 100%;
    margin: clamp(42px, 7vw, 84px) auto clamp(70px, 10vw, 120px);
}

.wnlen-system-page .site-main {
    padding: 0;
}

.wnlen-system-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 42px;
    align-items: end;
    overflow: hidden;
    padding: clamp(34px, 5.5vw, 56px);
    border: 1px solid var(--system-line);
    border-radius: 22px;
    color: var(--system-ink);
    background:
        linear-gradient(var(--system-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--system-grid) 1px, transparent 1px),
        radial-gradient(circle at 94% 8%, rgba(var(--system-accent-rgb), .16), transparent 28%),
        var(--system-paper);
    background-size: 32px 32px, 32px 32px, auto, auto;
    box-shadow: 0 24px 70px rgba(44, 51, 55, .09);
}

.wnlen-system-hero::after {
    position: absolute;
    top: -88px;
    right: -78px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(var(--system-accent-rgb), .18);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    box-shadow: 0 0 0 24px rgba(var(--system-accent-rgb), .035), 0 0 0 48px rgba(var(--system-accent-rgb), .025);
}

.wnlen-system-hero-copy,
.wnlen-system-total {
    position: relative;
    z-index: 1;
}

body.wnlen-editorial-archive .wnlen-system-kicker {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 14px;
    color: var(--system-accent);
    font: 700 10px/1.2 "Ubuntu", sans-serif;
    letter-spacing: .22em;
}

.wnlen-system-kicker span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(var(--system-accent-rgb), .1);
}

body.wnlen-editorial-archive .wnlen-system-hero h1 {
    margin: 0;
    color: var(--system-ink);
    font: 500 clamp(42px, 7vw, 68px)/1 Georgia, "Noto Serif SC", serif;
    letter-spacing: -.055em;
}

body.wnlen-editorial-archive .wnlen-system-intro {
    max-width: 560px;
    margin: 18px 0 0;
    color: var(--system-muted);
    font-size: 15px;
    line-height: 1.9;
}

.wnlen-system-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--system-accent);
}

.wnlen-system-total strong {
    font: 400 clamp(52px, 8vw, 82px)/.78 Georgia, serif;
    letter-spacing: -.08em;
}

.wnlen-system-total span {
    margin-top: 16px;
    color: var(--system-muted);
    font: 700 9px/1 "Ubuntu", sans-serif;
    letter-spacing: .28em;
}

.wnlen-system-index {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.wnlen-system-card {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 28px;
    margin: 0;
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid var(--system-line);
    border-radius: 18px;
    color: var(--system-ink);
    background: var(--system-surface);
    box-shadow: 0 10px 34px rgba(44, 51, 55, .045);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.wnlen-system-card::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    border-radius: 18px 0 0 18px;
    content: "";
    background: var(--system-accent);
    opacity: 0;
    transform: scaleY(.45);
    transition: opacity .25s ease, transform .25s ease;
}

.wnlen-system-card:hover {
    border-color: rgba(var(--system-accent-rgb), .35);
    box-shadow: 0 18px 48px rgba(44, 51, 55, .09);
    transform: translateY(-3px);
}

.wnlen-system-card:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.wnlen-system-number {
    padding-top: 2px;
    color: var(--system-accent);
    font: 400 34px/1 Georgia, serif;
    letter-spacing: -.05em;
}

.wnlen-system-number::before {
    display: block;
    margin-bottom: 8px;
    color: var(--system-faint);
    content: "NO.";
    font: 700 8px/1 "Ubuntu", sans-serif;
    letter-spacing: .2em;
}

.wnlen-system-card-body {
    min-width: 0;
}

.wnlen-system-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    color: var(--system-faint);
    font: 500 10px/1.4 "Ubuntu", sans-serif;
    letter-spacing: .1em;
}

body.wnlen-editorial-archive .wnlen-system-card h2 {
    margin: 0;
    color: var(--system-ink);
    font: 500 clamp(20px, 2.5vw, 24px)/1.45 "Noto Serif SC", Georgia, serif;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
    white-space: normal;
}

.wnlen-system-card h2 a {
    color: inherit;
    white-space: normal;
}

.wnlen-system-card h2 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.wnlen-system-card h2 a:focus-visible::after {
    border: 2px solid var(--system-accent);
    border-radius: 18px;
    outline: none;
}

body.wnlen-editorial-archive .wnlen-system-excerpt {
    display: -webkit-box;
    overflow: hidden;
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--system-muted);
    font-size: 15px;
    line-height: 1.85;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wnlen-system-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--system-line);
}

.wnlen-system-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--system-faint);
    font-size: 11px;
}

.wnlen-system-more {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    color: var(--system-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
}

.wnlen-system-more span {
    display: inline-block;
    margin-left: 6px;
    color: var(--system-accent);
    transition: transform .2s ease;
}

.wnlen-system-more:hover,
.wnlen-system-more:focus-visible {
    color: var(--system-accent);
}

.wnlen-system-more:hover span,
.wnlen-system-more:focus-visible span {
    transform: translateX(4px);
}

.wnlen-system-page .navigation.pagination {
    margin: 38px 0 0;
}

.wnlen-system-page .nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.wnlen-system-page .page-numbers {
    display: grid;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    place-items: center;
    border: 1px solid var(--system-line);
    border-radius: 10px;
    color: var(--system-muted);
    background: var(--system-surface);
}

.wnlen-system-page .page-numbers.current,
.wnlen-system-page a.page-numbers:hover {
    border-color: var(--system-accent);
    color: #fff;
    background: var(--system-accent);
}

.wnlen-system-empty {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 22px;
    padding: 34px;
    border: 1px solid var(--system-line);
    border-radius: 18px;
    color: var(--system-muted);
    background: var(--system-surface);
}

.wnlen-system-empty > span {
    color: var(--system-accent);
    font: 400 34px/1 monospace;
}

body.wnlen-editorial-archive .wnlen-system-empty p,
body.wnlen-editorial-archive .wnlen-system-empty h2 {
    margin: 0;
}

body.wnlen-editorial-archive .wnlen-system-empty p {
    color: var(--system-faint);
    font: 700 9px/1.2 "Ubuntu", sans-serif;
    letter-spacing: .2em;
}

body.wnlen-editorial-archive .wnlen-system-empty h2 {
    margin-top: 7px;
    color: var(--system-ink);
    font-size: 20px;
    font-weight: 500;
}

@media (max-width: 720px) {
    body.wnlen-editorial-archive #content {
        padding-right: 0;
        padding-left: 0;
    }

    .wnlen-system-page {
        width: calc(100% - 28px);
        max-width: calc(100% - 28px);
        margin-top: 30px;
        margin-right: auto;
        margin-bottom: 72px;
        margin-left: auto;
    }

    .wnlen-system-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 30px 24px;
        border-radius: 18px;
    }

    body.wnlen-editorial-archive .wnlen-system-hero h1 {
        font-size: 44px;
    }

    .wnlen-system-kicker {
        letter-spacing: .15em;
    }

    .wnlen-system-total {
        flex-direction: row;
        gap: 12px;
        align-items: baseline;
        justify-content: flex-start;
    }

    .wnlen-system-total strong {
        font-size: 34px;
    }

    .wnlen-system-total span {
        margin-top: 0;
    }

    .wnlen-system-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .wnlen-system-card::before {
        border-radius: 16px 0 0 16px;
    }

    .wnlen-system-number {
        display: flex;
        gap: 7px;
        align-items: baseline;
        font-size: 18px;
    }

    .wnlen-system-number::before {
        margin-bottom: 0;
    }

    body.wnlen-editorial-archive .wnlen-system-card h2 {
        font-size: 19px;
        line-height: 1.55;
    }

    body.wnlen-editorial-archive .wnlen-system-excerpt {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.8;
        -webkit-line-clamp: 3;
    }

    .wnlen-system-card-footer {
        align-items: flex-end;
        margin-top: 18px;
        padding-top: 15px;
    }
}

@media (max-width: 420px) {
    .wnlen-system-hero {
        padding: 27px 20px;
    }

    .wnlen-system-intro {
        font-size: 14px;
    }

    .wnlen-system-card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .wnlen-system-more {
        align-self: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wnlen-system-card,
    .wnlen-system-card::before,
    .wnlen-system-more span {
        transition: none;
    }
}
