:root {
    color-scheme: light;
    --paper: #f5f4ef;
    --white: #fffefa;
    --ink: #182b24;
    --muted: #526159;
    --line: #d9dfd4;
    --green: #20483d;
    --lime: #e1edbb;
    --radius: 21px;
    font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    line-height: 1.65;
    background: var(--paper);
    color: var(--ink);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, p, figure, blockquote, dl, dd {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
}

img {
    max-width: 100%;
}

button {
    font: inherit;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid #bc5529;
    outline-offset: 4px;
}

[id] {
    scroll-margin-top: 24px;
}


.wrap {
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linejoin: round;
    stroke-linecap: round;
    flex: none;
}

.skip {
    position: absolute;
    left: 20px;
    top: -100px;
    padding: 10px 18px;
    background: white;
    z-index: 4;
}

.skip:focus {
    top: 10px;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 1.05rem;
    font-weight: 800;
    flex: none;
}

.wordmark img {
    flex: none;
}

.site-header ul {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.site-header nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 650;
    border-radius: 10px;
}

.site-header nav a:hover {
    background: #edf1e5;
    color: var(--green);
}

.site-header nav a[aria-current] {
    color: var(--green);
    background: var(--lime);
}


.home-main {
    padding-block: 38px 55px;
}

.hero {
    min-height: 470px;
    display: grid;
    grid-template-columns: 1.13fr 1fr;
    align-items: center;
    gap: 34px;
    padding: clamp(32px, 5.1vw, 72px);
    border-radius: 30px;
    background: #e9eddd;
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 9em;
    font-size: clamp(2.3rem, 5.6vw, 4.8rem);
    letter-spacing: -.065em;
    line-height: 1.11;
    font-weight: 900;
}

.hero h1 a:hover {
    color: var(--green);
}

.hero p {
    max-width: 31em;
    margin-top: 20px;
    color: #3d5146;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
}

.hero .actions {
    margin-top: 27px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 9px 16px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-weight: 750;
    font-size: .9375rem;
    cursor: pointer;
    line-height: 1.45;
}

.button.primary {
    background: var(--green);
    color: #fff;
}

.button.primary:hover {
    background: #12362b;
}

.button.secondary {
    background: var(--white);
    color: var(--green);
    border-color: #b9c6b9;
}

.button.secondary:hover {
    background: #eef2e7;
    border-color: var(--green);
}

.data-grid {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 410px;
}

.data-grid div {
    padding: 12px 11px 10px;
    border-top: 1px solid #b8c6b3;
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.data-grid dt {
    font-size: .875rem;
    color: var(--muted);
}

.data-grid dd {
    font-weight: 850;
    letter-spacing: -.045em;
    font-size: 1.8rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.collage {
    isolation: isolate;
    position: relative;
    width: 100%;
    aspect-ratio: 1.05;
    min-width: 0;
}

.collage::before {
    content: "";
    position: absolute;
    inset: 6% 7% 8% 4%;
    border-radius: 48% 52% 50% 50%;
    background: repeating-linear-gradient(-35deg, #d0dcc3 0 1px, transparent 1px 10px);
    transform: rotate(15deg);
}

.collage .art {
    position: absolute;
    width: 45%;
    border: 5px solid #fffefa;
    border-radius: 17px;
    box-shadow: 0 12px 24px #203b3550;
}

.collage .art:nth-child(1) {
    left: 1%;
    top: 22%;
    transform: rotate(-14deg);
}

.collage .art:nth-child(2) {
    right: 2%;
    top: 12%;
    transform: rotate(13deg);
}

.collage .art:nth-child(3) {
    left: 28%;
    top: 9%;
    width: 46%;
    transform: rotate(-3deg);
}

.art {
    position: relative;
    isolation: isolate;
    display: block;
    overflow: hidden;
    min-width: 0;
    background: var(--art-dark, #214e45);
}

.art::before, .art::after {
    position: absolute;
    z-index: -1;
    content: "";
}

.art::before {
    width: 74%;
    aspect-ratio: 1;
    border-radius: 50%;
    top: 7%;
    right: -12%;
    background: var(--art-light, #bcd8ae);
}

.art::after {
    inset: 43% -14% -20% -14%;
    transform: rotate(-16deg);
    background: repeating-linear-gradient(90deg, #fff2 0 2px, transparent 2px 17px), var(--art-mid, #396b5d);
    border-top: 2px solid #fff5;
}

.art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    color: #fff;
    font-size: .85rem;
}

.art img.unavailable {
    opacity: 0;
}

.jade {
    --art-dark: #214c42;
    --art-light: #abce9f;
    --art-mid: #448178;
}

.lilac {
    --art-dark: #43365a;
    --art-light: #cdb9ed;
    --art-mid: #746796;
}

.sky {
    --art-dark: #273c59;
    --art-light: #acc4e4;
    --art-mid: #567799;
}

.amber {
    --art-dark: #653829;
    --art-light: #f2b886;
    --art-mid: #9f6147;
}

.cover {
    aspect-ratio: 3 / 4;
}


.home-section, .column-section {
    margin-top: 55px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    margin-bottom: 18px;
}

.section-head h2, .subscription h2, .reader-note h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 850;
    line-height: 1.24;
}

.section-head h2, .subscription h2 {
    font-size: clamp(1.45rem, 3vw, 2.13rem);
    letter-spacing: -.035em;
}

.section-head h2 .icon, .reader-note .icon {
    color: var(--green);
}

.section-head p {
    color: var(--muted);
    margin-top: 8px;
}

.text-link {
    color: var(--green);
    font-size: .9375rem;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-color: #8ba49a;
    text-underline-offset: 4px;
}

.section-head > .text-link {
    flex: none;
    margin-top: 6px;
}

.text-link:hover {
    text-decoration-color: currentColor;
}

.update-list {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding-inline: clamp(13px, 2.5vw, 25px);
}

.update-row {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content 42px;
    gap: clamp(8px, 3vw, 32px);
    align-items: center;
    padding-block: 11px;
}

.update-row + .update-row {
    border-top: 1px solid var(--line);
}

.update-label {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 15px;
}

.update-label span, .update-row time {
    color: var(--muted);
    font-size: .875rem;
}

.update-row a {
    justify-self: end;
}

.day-group + .day-group {
    margin-top: 22px;
}

.day-group h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}


.tile {
    min-width: 0;
    min-height: 0;
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.tile-art {
    display: block;
    position: relative;
}

.tile-art:focus-visible {
    outline-offset: -5px;
}

.tile-art .art {
    transition: filter .2s ease;
}

.tile-art:hover .art {
    filter: brightness(1.1);
}

.tile-body {
    padding: clamp(14px, 2vw, 26px);
}

.meta {
    color: var(--muted);
    font-size: .875rem;
    font-weight: 650;
}

.tile h3, .trial-grid h3, .one-shot h3 {
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    line-height: 1.32;
    margin-block: 5px 8px;
}

.tile h3 a:hover, .ranking-list h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tile-body p:last-child, .ranking-list p, .trial-grid p:last-of-type {
    color: var(--muted);
}

.editorial {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 14px;
}

.editorial .art {
    aspect-ratio: 1.55;
}

.editorial .tile:first-child {
    display: flex;
    flex-direction: column;
    background: var(--green);
    color: white;
}

.editorial .tile:first-child .tile-art {
    flex: 1;
    min-height: 152px;
}

.editorial .tile:first-child .art {
    height: 100%;
    min-height: 152px;
    aspect-ratio: auto;
}

.editorial .tile:first-child p {
    color: #e1ebdd;
}

.podium, .tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.podium .art, .tiles .art {
    aspect-ratio: 1.74;
}

.rank-tag {
    position: absolute;
    top: 13px;
    left: 13px;
    min-width: 40px;
    padding: 3px 7px;
    border-radius: 8px;
    background: var(--lime);
    color: var(--ink);
    font-weight: 900;
    text-align: center;
}

.ranking-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.ranking-list h3 {
    font-size: 1rem;
}

.ranking-list p {
    margin-top: 4px;
    font-size: .9rem;
}

.rank-num {
    font-weight: 850;
    color: var(--green);
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
}

.status {
    margin-top: 3px;
    padding: 1px 6px;
    border-radius: 6px;
    background: #e9eee3;
    color: var(--green);
    font-size: .875rem;
    white-space: nowrap;
}

.genre-links {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
}

.genre-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 64px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
    font-weight: 750;
}

.genre-links .icon {
    color: var(--green);
}

.genre-links a:hover {
    background: var(--lime);
}

.genre-group {
    margin-top: 34px;
}

.genre-group .section-head h2 {
    font-size: 1.34rem;
}

.guoman-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 14px;
}

.guoman-grid .art {
    aspect-ratio: 2;
}

.manga-shelf {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 16px;
    background: #e9edf0;
    border-radius: var(--radius);
}

.manga-shelf .tile {
    display: grid;
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    align-items: center;
}

.manga-shelf .tile-art, .manga-shelf .art {
    height: 100%;
    min-height: 156px;
}

.manhwa-feature {
    display: grid;
    gap: 13px;
}

.manhwa-feature .tile {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    align-items: center;
}

.manhwa-feature .art {
    aspect-ratio: 2.6;
}

.manhwa-feature .tile:nth-child(2) .tile-art {
    order: 2;
}

.trial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.trial-grid article {
    padding: clamp(16px, 3vw, 28px);
    background: #eaeee1;
    border-radius: var(--radius);
}

.trial-grid article .button {
    margin-top: 15px;
}

.archive-list {
    border-top: 1px solid var(--line);
}

.archive-list > li {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: 12px 4px;
}

.archive-list h3 {
    font-size: 1rem;
}

.archive-list p {
    font-size: .875rem;
    color: var(--muted);
    margin-top: 3px;
}

.archive-list ol {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.archive-list a {
    display: inline-block;
    border: 1px solid var(--line);
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--green);
    font-size: .875rem;
    background: var(--white);
}

.archive-list a:hover {
    background: var(--lime);
}

.one-shot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #e7e9f0;
    border-radius: var(--radius);
    overflow: hidden;
    align-items: center;
}

.one-shot .art {
    aspect-ratio: 1.74;
}

.one-shot > div {
    padding: clamp(20px, 4vw, 45px);
}

.one-shot blockquote {
    border-left: 2px solid #7b81a0;
    padding-left: 13px;
    margin-block: 12px 20px;
    color: #3d4755;
}

.subscription {
    margin-top: 55px;
    display: grid;
    grid-template-columns: minmax(95px, 145px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(17px, 4vw, 45px);
    padding: clamp(23px, 5vw, 53px);
    border-radius: 26px;
    background: var(--green);
    color: white;
}

.subscription > img {
    padding: 3px;
    border: 1px solid #88a797;
    border-radius: 27px;
    background: #dceac0;
}

.subscription p {
    margin-top: 11px;
    max-width: 43em;
    color: #edf5e4;
}

.subscription .actions {
    margin-top: 18px;
}

.subscription .primary {
    background: var(--lime);
    color: var(--ink);
}

.subscription .primary:hover {
    background: #f4f9df;
}

.subscription .secondary {
    border-color: #8aac97;
    background: transparent;
    color: white;
}

.subscription .secondary:hover {
    background: #386253;
}

.copy-result {
    font-size: .875rem;
}


.inner-main {
    padding-block: 26px 56px;
}

.crumbs {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: .875rem;
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    align-items: baseline;
}

.crumbs li + li::before {
    content: "›";
    color: #738075;
    margin-right: 9px;
}

.crumbs a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.collection-hero {
    display: flex;
    align-items: center;
    gap: clamp(12px, 3vw, 26px);
    padding: clamp(22px, 5vw, 52px);
    background: #e9eddd;
    border-radius: 24px;
}

.section-emblem {
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #e9f1d6;
    background: var(--green);
    width: clamp(46px, 10vw, 82px);
    aspect-ratio: 1;
    flex: none;
}

.section-emblem .icon {
    width: 53%;
    height: 53%;
}

.collection-hero h1, .reader h1 {
    line-height: 1.17;
    font-weight: 900;
    letter-spacing: -.045em;
    font-size: clamp(2rem, 5vw, 3.65rem);
    overflow-wrap: anywhere;
}

.collection-hero p {
    margin-top: 7px;
}

.collection-hero .meta {
    margin-top: 11px;
}

.reader {
    width: min(100%, 744px);
    margin-inline: auto;
}

.reader-head {
    border-radius: 24px;
    background: #e9eddd;
    padding: clamp(22px, 5vw, 45px);
}

.reader-series {
    color: var(--green);
    font-weight: 800;
    margin-bottom: 6px;
}

.reader-meta {
    display: flex;
    gap: 9px 16px;
    flex-wrap: wrap;
    margin-top: 14px;
    color: var(--muted);
    font-size: .875rem;
}

.reader-meta a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reader-note {
    border-left: 3px solid #91ab80;
    background: var(--white);
    border-radius: 0 13px 13px 0;
    margin-top: 20px;
    padding: 15px 19px;
}

.reader-note h2 {
    font-size: 1rem;
}

.reader-note p {
    margin-top: 6px;
    color: var(--muted);
}

.comic-beat {
    margin-top: 30px;
}

.comic-beat > p {
    font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
    line-height: 1.95;
    margin-bottom: 14px;
    padding-inline: 4px;
}

.comic-beat figure {
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--white);
    overflow: hidden;
}

.panel {
    aspect-ratio: 16 / 10;
}

.panel img {
    object-fit: contain;
    background: #23302a;
}

.comic-beat figcaption {
    color: var(--muted);
    font-size: .875rem;
    padding: 8px 13px;
}

.reader-end {
    margin-top: 34px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
}

.reader-end h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--white);
}

.footer-inner {
    min-height: 100px;
    padding-block: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-inner > p, .footer-inner > a:last-child {
    font-size: .875rem;
    color: var(--muted);
}

.footer-inner > a:last-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.footer-inner > a:last-child:hover {
    text-decoration: underline;
}


@media (max-width: 1050px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 6px 16px;
        justify-content: flex-start;
        padding-block: 12px 9px;
    }

    .site-header nav {
        width: 100%;
    }

    .site-header ul {
        justify-content: space-between;
    }

}

@media (max-width: 800px) {
    .wrap {
        width: calc(100% - 40px);
    }

    .hero {
        gap: 18px;
        padding: 29px;
        min-height: 0;
    }

    .hero .data-grid {
        margin-top: 24px;
    }

    .genre-links {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .editorial {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .editorial .tile:first-child {
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .editorial .tile:first-child .tile-art {
        flex: 0 0 44%;
    }

}

@media (max-width: 570px) {
    .wrap {
        width: calc(100% - 28px);
    }

    .header-inner {
        padding-block: 9px 7px;
    }

    .wordmark img {
        width: 34px;
        height: 34px;
    }

    .site-header ul {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .site-header nav a {
        padding: 4px 2px;
        gap: 4px;
        font-size: .875rem;
        white-space: nowrap;
    }

    .site-header .icon {
        width: .94em;
        height: .94em;
    }

    .home-main {
        padding-block: 20px 35px;
    }

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

    .hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .hero p {
        margin-top: 12px;
    }

    .hero .actions {
        margin-top: 18px;
        gap: 7px;
    }

    .button {
        padding-inline: 11px;
    }

    .hero .data-grid {
        margin-top: 20px;
    }

    .data-grid div {
        padding-inline: 3px;
    }

    .collage {
        width: min(100%, 335px);
        aspect-ratio: 1.3;
        justify-self: center;
    }

    .collage .art {
        width: 40%;
        border-width: 4px;
    }

    .collage .art:nth-child(1) {
        left: 7%;
        top: 20%;
    }

    .collage .art:nth-child(2) {
        right: 8%;
        top: 18%;
    }

    .collage .art:nth-child(3) {
        width: 42%;
        left: 29%;
        top: 10%;
    }

    .home-section, .column-section, .subscription {
        margin-top: 36px;
    }

    .section-head {
        margin-bottom: 12px;
        gap: 8px;
    }

    .update-row {
        grid-template-columns: minmax(0, 1fr) auto 31px;
        gap: 7px;
    }

    .update-label {
        display: grid;
        gap: 0;
    }

    .editorial .tile:first-child {
        flex-direction: column;
    }

    .editorial .tile:first-child .art {
        aspect-ratio: 2.1;
    }

    .editorial .tile:not(:first-child) .tile-body {
        padding: 10px;
    }

    .editorial .tile:not(:first-child) .tile-body p:last-child {
        font-size: .9375rem;
    }

    .podium {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .podium .tile {
        display: grid;
        grid-template-columns: 35% minmax(0, 1fr);
        align-items: stretch;
    }

    .podium .art {
        height: 100%;
    }

    .ranking-list, .guoman-grid, .manga-shelf, .trial-grid, .one-shot {
        grid-template-columns: 1fr;
    }

    .genre-links {
        gap: 5px;
    }

    .genre-links a {
        min-height: 46px;
        gap: 4px;
        font-size: .875rem;
    }

    .tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .tiles .tile-body {
        padding: 10px;
    }

    .manga-shelf {
        padding: 9px;
    }

    .manhwa-feature .tile {
        grid-template-columns: 35% minmax(0, 1fr);
        align-items: stretch;
    }

    .manhwa-feature .art {
        aspect-ratio: auto;
        height: 100%;
    }

    .subscription {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .subscription > img {
        width: 58px;
        height: 58px;
        border-radius: 15px;
    }

    .footer-inner {
        display: grid;
        justify-content: start;
        gap: 8px;
    }

    .footer-inner > a:last-child {
        min-height: 35px;
    }

}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
    }

}
