@layer base, layout, graphics, responsive;

@layer base {
    :root {
        color-scheme: light;
        --paper: #fffcfa;
        --cream: #fff1e7;
        --ink: #2d2029;
        --muted: #66545e;
        --plum: #862959;
        --plum-dark: #622044;
        --edge: #eadadf;
        --sage: #ecf1e3;
        --ring: #9f315e;
        font-family: system-ui, "Microsoft YaHei UI", "PingFang SC", sans-serif;
        color: var(--ink);
        background: var(--paper);
        line-height: 1.65;
        scroll-behavior: smooth;
        scroll-padding-top: 1.25rem;
    }

    *, *::before, *::after { box-sizing: border-box; }
    body, h1, h2, h3, p, figure, blockquote { margin: 0; }
    h2, h3 { line-height: 1.22; text-wrap: balance; }
    h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
    h3 { font-size: 1.17rem; }
    a { color: var(--plum-dark); text-underline-offset: .2em; }
    a, button, summary, input, select { -webkit-tap-highlight-color: transparent; }
    button, select, input { font: inherit; }
    img { display: block; width: 100%; height: 100%; object-fit: cover; }
    [hidden] { display: none !important; }
    :focus-visible { outline: 3px solid var(--ring); outline-offset: 4px; }
    :target { scroll-margin-block: 1rem; }
    ::selection { background: #f1bbbb; color: var(--ink); }

    .wj7b4v40c {
        position: absolute;
        inline-size: 1px;
        block-size: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .yn9zfevmw {
        position: fixed;
        z-index: 10;
        top: .65rem;
        left: .65rem;
        transform: translateY(-160%);
        padding: .65rem 1rem;
        background: white;
    }
    .yn9zfevmw:focus { transform: none; }
}

@layer layout {
    .nnvdwm7ze { width: min(100% - 3rem, 76rem); margin-inline: auto; }

    .u0uexowm9 { border-bottom: 1px solid var(--edge); background: #fffaf7; }
    .fbfezzx2y { min-height: 4.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
    .tje7tlkt6 a { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.35rem; font-weight: 800; text-decoration: none; }
    .qxjvow41p { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.85rem, 3vw, 2.25rem); }
    .qxjvow41p a { color: var(--ink); font-weight: 650; text-decoration: none; font-size: .95rem; padding: .6rem 0; }
    .qxjvow41p a:last-child { color: var(--plum-dark); }
    .qxjvow41p a:hover, .qxjvow41p a:focus-visible { color: var(--plum); text-decoration: underline; }
    .b5q6vvtmj { display: none; position: relative; }

    .rxx8v3fjq { display: grid; grid-template-columns: 1fr minmax(0, 1.35fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
    .x13gtxqc3 { min-width: 0; }
    .x13gtxqc3 h2 { font-size: clamp(2.6rem, 5.5vw, 5rem); line-height: 1.08; letter-spacing: -.055em; }
    .nk4b8w465 { font-size: clamp(1.09rem, 2vw, 1.38rem); font-weight: 720; margin-top: 1.3rem; }
    .dgx71st7u { max-width: 24rem; color: var(--muted); margin-top: .45rem; }
    .oi3jh2awt { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
    .yegky2vji, .k3g5d00ex {
        display: inline-flex;
        min-height: 2.95rem;
        justify-content: center;
        align-items: center;
        padding: .6rem 1.15rem;
        border: 1px solid transparent;
        border-radius: .65rem;
        text-decoration: none;
        font-weight: 730;
        text-align: center;
        transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease;
    }
    .yegky2vji { color: #fff; background: linear-gradient(113deg, #861e59, #a83a46); box-shadow: 0 .45rem .9rem #82224c22; }
    .k3g5d00ex { color: var(--plum-dark); background: #fffcfa; border-color: #dbb9c9; }
    .yegky2vji:hover, .k3g5d00ex:hover { transform: translateY(-2px); box-shadow: 0 .55rem 1.15rem #82224c34; }

    .z37oetkrl { display: grid; grid-template-columns: minmax(9rem, .65fr) minmax(0, 1.75fr); align-items: start; gap: clamp(1.25rem, 4vw, 3.5rem); margin-top: clamp(2.4rem, 6vw, 4.5rem); padding-block: 1.4rem; border-block: 1px solid var(--edge); }
    .z37oetkrl h2 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); }
    .j30xhn0j1 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.65rem; }
    .j30xhn0j1 article + article { border-inline-start: 1px solid var(--edge); padding-inline-start: 1.65rem; }
    .j30xhn0j1 article > p:first-child { color: var(--plum); font-size: .9rem; font-weight: 700; }
    .j30xhn0j1 h3 { margin: .4rem 0 .55rem; font-size: clamp(1.12rem, 2.5vw, 1.45rem); }
    .j30xhn0j1 h3 a { color: var(--ink); }
    .j30xhn0j1 h3 a:hover { color: var(--plum); }

    .j1h6yvv7x { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.25rem; align-items: center; background: var(--sage); border-radius: .85rem; padding: clamp(1.2rem, 3vw, 2.2rem); }
    .j1h6yvv7x h2 { font-size: clamp(1.4rem, 2.48vw, 1.9rem); }
    .j1h6yvv7x p { margin-top: .45rem; color: #4d5947; }
    .j1h6yvv7x ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin: 0; padding-inline-start: 1.4rem; }
    .j1h6yvv7x li { margin-inline-start: .5rem; padding: .25rem 0 .25rem .25rem; border-top: 1px solid #c5d1bc; }
    .j1h6yvv7x li::marker { color: #4d6044; font-weight: 800; }
    .j1h6yvv7x li span { display: block; color: #414d3c; font-size: .9rem; }
    .j1h6yvv7x a { color: #334a2c; font-weight: 730; }

    .nxx1y0vbs { margin-block: clamp(3rem, 7vw, 5.25rem); }
    .pb2r2rnyn { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.3rem; }
    .pb2r2rnyn p, .vbeid5ays > div:first-child p { color: var(--muted); margin-top: .45rem; }
    .ful50z7f3 { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; font-weight: 650; font-size: .94rem; }
    .ful50z7f3 select { min-height: 2.7rem; padding: .4rem .65rem; border: 1px solid #caaebc; border-radius: .45rem; background: #fff; color: var(--ink); }
    .nr0kpdc7p { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .f54v0psqw {
        min-width: 0;
        display: grid;
        grid-template-columns: minmax(5rem, .65fr) minmax(0, 1.35fr);
        align-items: start;
        padding: .9rem;
        gap: .9rem;
        border: 1px solid var(--edge);
        border-radius: .85rem;
        background: white;
        transition: border-color .2s ease, box-shadow .2s ease;
    }
    .f54v0psqw:hover, .f54v0psqw:focus-within, .f54v0psqw:target { border-color: #bc799d; box-shadow: 0 .55rem 1.5rem #4d193d0c; }
    .li1uos7cd { min-width: 0; overflow-wrap: anywhere; }
    .li1uos7cd p { margin-bottom: .36rem; }
    .li1uos7cd h3 { margin-bottom: .28rem; }
    .li1uos7cd a { display: inline-block; padding-block: .22rem; font-size: .89rem; font-weight: 700; }
    .ulu3o5cev, .dy6dxwtom { color: var(--muted); font-size: .88rem; }
    .ulu3o5cev { color: #79234f; font-weight: 730; }
    .z29qijq6f { aspect-ratio: 3 / 4; overflow: hidden; border-radius: .45rem; }

    .p2nondtsl { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
    .w3d8di5c8 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); }
    .gd77ke43c { max-width: 32rem; }
    .gd77ke43c p { margin-block: .85rem; }
    .gd77ke43c a { margin-top: .4rem; }
    .m7273oe96 { width: min(100%, 25rem); justify-self: center; padding: .82rem; }
    .yz87nw0vj, .h07uhtpcb { display: flex; align-items: center; justify-content: space-between; gap: .45rem; }
    .yz87nw0vj { padding: .4rem .25rem .65rem; }
    .yz87nw0vj span { color: #614453; font-size: .86rem; }
    .hjt71d27k { display: grid; gap: .65rem; padding: 0; list-style: none; margin: 0; }
    .hjt71d27k li { min-height: 13.3rem; display: grid; align-content: center; gap: .65rem; padding: clamp(.75rem, 3vw, 1.6rem); }
    .hjt71d27k blockquote { justify-self: end; max-width: 96%; padding: .45rem .65rem; font-weight: 700; }
    .h07uhtpcb { padding: .65rem .12rem .18rem; }
    .h07uhtpcb button { min-height: 2.65rem; padding: .28rem .56rem; }
    .h07uhtpcb output { color: #4e3744; font-size: .9rem; text-align: center; font-variant-numeric: tabular-nums; }

    .ai1d9hhqd { margin-block: clamp(3rem, 7vw, 5.25rem); }
    .val8xmssk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.1rem; }
    .val8xmssk article { background: #fff6f0; border-radius: .6rem; border-top: 3px solid #dca9b7; padding: clamp(1rem, 2.5vw, 1.7rem); }
    .val8xmssk article:nth-child(2) { border-color: #d4ad7d; background: #fff7eb; }
    .val8xmssk article:nth-child(3) { border-color: #a4b59a; background: #f0f4ea; }
    .val8xmssk p { margin-top: .55rem; }

    .rty9keeb9 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); }
    .d19sammyw ol { padding: 0; margin: 1.15rem 0 0; list-style: none; counter-reset: stages; }
    .d19sammyw li { position: relative; counter-increment: stages; padding: 0 0 1.4rem 3.1rem; margin-inline-start: 1rem; border-inline-start: 1px solid #d9b7c8; }
    .d19sammyw li:last-child { border-color: transparent; padding-bottom: 0; }
    .d19sammyw li::before { position: absolute; inset-inline-start: -1rem; inset-block-start: 0; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: #f7dde5; color: var(--plum-dark); content: counter(stages); font-weight: 750; }
    .d19sammyw li p { margin-top: .4rem; }
    .bwtofeqgd > p { color: var(--muted); margin: .4rem 0 .65rem; }
    .bwtofeqgd figure { border-block-start: 1px solid var(--edge); padding-block: .62rem; }
    .bwtofeqgd figcaption { font-size: .87rem; color: var(--muted); margin-top: .2rem; }

    .vbeid5ays { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(1rem, 5vw, 3rem); margin-top: clamp(3rem, 7vw, 5rem); padding-top: 1.75rem; border-top: 1px solid var(--edge); }
    .hq2dct79d details { border-bottom: 1px solid var(--edge); }
    .hq2dct79d summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; min-height: 3.2rem; font-weight: 720; }
    .hq2dct79d summary::-webkit-details-marker, .b5q6vvtmj summary::-webkit-details-marker { display: none; }
    .hq2dct79d summary::after { content: "+"; font-size: 1.42rem; line-height: 1; color: var(--plum-dark); }
    .hq2dct79d details[open] summary::after { content: "−"; }
    .hq2dct79d p { color: var(--muted); padding: 0 1.5rem 1rem 0; }

    .bn6wb8x4j { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-block: clamp(3rem, 7vw, 5rem); padding: clamp(1.25rem, 4vw, 3rem); border-radius: .85rem; background: #fae7ee; }
    .bn6wb8x4j p { margin-top: .45rem; }
    .bn6wb8x4j a { flex: none; }

    .arj63mjts { padding-block: 2.3rem 1.2rem; border-top: 1px solid var(--edge); background: #faf0eb; }
    .mktr66ymo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 4.5rem); }
    .mktr66ymo h2 { font-size: 1.35rem; margin-bottom: .75rem; }
    .mktr66ymo ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .75rem; margin: 0; padding: 0; list-style: none; }
    .pga9s4nxw { margin-top: 1.75rem; padding-top: .85rem; border-top: 1px solid #e2cdd4; color: var(--muted); font-size: .87rem; }
}

@layer graphics {
    .iiop1kbp1 { position: relative; flex: none; width: 1.6rem; height: 1.36rem; margin-top: .22rem; background: #f8b393; border: 2px solid #994469; border-radius: 54% 52% 54% 55%; transform: rotate(-10deg); }
    .iiop1kbp1::before { position: absolute; inset: -.47rem auto auto .65rem; width: .67rem; height: .41rem; content: ""; background: #526447; border-radius: 80% 0 85% 0; transform: rotate(-6deg); }
    .iiop1kbp1::after { position: absolute; inset: .18rem auto .13rem .57rem; width: .35rem; content: ""; border-inline-end: 1px solid #a54b65; border-radius: 50%; }

    .etfsvtxy3 { padding-block: clamp(1.75rem, 5vw, 4.75rem); background: linear-gradient(118deg, #fff2e7, #fffaf6 53%, #f7e7f1); border-bottom: 1px solid #f4e4e7; }
    .qx3w77aln { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem; color: var(--plum-dark); font-weight: 790; }
    .qx3w77aln::before { width: 1.85rem; height: 2px; background: #9e3f68; content: ""; }
    .t1pb39p6q {
        display: grid;
        grid-template-areas: "poster" "options";
        grid-template-columns: minmax(0, 1fr);
        min-inline-size: 0;
        border: 1px solid #e6c9d8;
        padding: .55rem;
        margin: 0;
        background: #fff9f9;
        border-radius: 1.3rem;
        box-shadow: 0 1rem 2.5rem #652d5418;
    }
    .n173t59iy { grid-area: options; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; padding: .55rem .12rem .06rem; }
    .n173t59iy label { display: flex; position: relative; cursor: pointer; min-width: 0; }
    .n173t59iy input { position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); }
    .n173t59iy span { display: grid; place-items: center; width: 100%; min-height: 2.55rem; padding: .23rem .18rem; border: 1px solid transparent; border-radius: .5rem; font-size: .92rem; font-weight: 700; text-align: center; }
    .n173t59iy label:hover span { background: #f7e8ef; }
    .n173t59iy input:checked + span { color: #612343; background: #f4dce8; border-color: #e8c2d4; }
    .n173t59iy input:focus-visible + span { outline: 3px solid var(--ring); outline-offset: 1px; }

    .xyes96ioq { grid-area: poster; display: grid; min-height: clamp(18.5rem, 34vw, 26rem); overflow: hidden; border-radius: .88rem; isolation: isolate; background: #302333; }
    .mkjtuq8d4 {
        grid-area: 1 / 1;
        display: grid;
        align-items: end;
        position: relative;
        isolation: isolate;
        color: #fffaf6;
        background: #303943;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: opacity .45s ease, visibility .45s ease;
    }
    .mkjtuq8d4[data-cover="2"] { background: #4b2b33; }
    .mkjtuq8d4[data-cover="3"] { background: #383348; }
    .t1pb39p6q:has(input[value="1"]:checked) [data-cover="1"],
    .t1pb39p6q:has(input[value="2"]:checked) [data-cover="2"],
    .t1pb39p6q:has(input[value="3"]:checked) [data-cover="3"] { opacity: 1; visibility: visible; }

    .mkjtuq8d4 img { position: absolute; inset: 0 0 0 auto; width: 68%; object-position: 50% 40%; }
    .mkjtuq8d4::after { position: absolute; inset: 0; content: ""; z-index: 0; pointer-events: none; background: linear-gradient(90deg, #241e2cf2 3%, #241e2ccb 31%, #241e2c42 62%, transparent 93%), linear-gradient(0deg, #211527cf, transparent 48%); }
    .mkjtuq8d4 figcaption { position: relative; z-index: 1; padding: clamp(1.1rem, 3.5vw, 2rem); max-width: 78%; }
    .mkjtuq8d4 figcaption span { display: inline-block; padding: .12rem .5rem; border: 1px solid #fff6; border-radius: .3rem; font-size: .86rem; background: #1e14244d; }
    .mkjtuq8d4 strong { display: block; margin-top: .25rem; line-height: 1.14; font-size: clamp(2.1rem, 4vw, 3.6rem); letter-spacing: -.035em; }
    .mkjtuq8d4 p { margin-block: .45rem .65rem; }
    .mkjtuq8d4 a { display: inline-block; color: #fff5e9; font-weight: 750; padding-block: .25rem; }
    .mkjtuq8d4 a:focus-visible { outline-color: #ffdbec; }

    .z29qijq6f img { transition: transform .3s ease; }
    .f54v0psqw:hover .z29qijq6f img { transform: scale(1.045); }
    .f54v0psqw:has(img[data-cover-unavailable]) { grid-template-columns: minmax(0, 1fr); }
    .z29qijq6f:has(img[data-cover-unavailable]) { display: none; }

    .p2nondtsl { background: linear-gradient(109deg, #f8e8ee, #fff4f1 68%, #f4e4ea); border-block: 1px solid #efdae4; }
    .m7273oe96 { background: #fff9f5; border: .35rem solid #432839; border-radius: 1.4rem; box-shadow: .6rem .75rem 0 #e9c9d6; }
    .hjt71d27k li { border: 1px solid #8f788b; border-radius: .5rem; background: linear-gradient(135deg, #f7eee3, #f0deed); }
    .hjt71d27k li:nth-child(2) { background: linear-gradient(135deg, #fff1dc, #eddbc0); }
    .hjt71d27k li:nth-child(3) { background: linear-gradient(135deg, #f0f2e6, #dde9dc); }
    .y8rm0fhr6 { align-self: start; justify-self: start; color: #5b314a; font-weight: 730; font-size: .87rem; padding-bottom: .15rem; border-bottom: 1px solid #905d7a; }
    .hjt71d27k blockquote { border: 1px solid #775368; border-radius: .65rem .65rem .1rem .65rem; background: #fffbf7; }
    .h07uhtpcb button { cursor: pointer; background: #fff; border: 1px solid #bc95a9; border-radius: .4rem; color: var(--plum-dark); font-size: .91rem; font-weight: 700; }
    .h07uhtpcb button:hover[aria-disabled="false"] { background: #f4dae7; }
    .h07uhtpcb button[aria-disabled="true"] { color: #665862; background: #f0e7ea; cursor: default; }

    @keyframes work-arrival {
        from { opacity: .64; transform: translateY(.55rem); }
        to { opacity: 1; transform: translateY(0); }
    }
    [data-entered] { animation: work-arrival .52s ease-out both; }
}

@layer responsive {
    @media (max-width: 66rem) {
        .nr0kpdc7p { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 47rem) {
        .nnvdwm7ze { width: calc(100% - 2rem); }
        .fbfezzx2y { min-height: 4rem; }
        .qxjvow41p { display: none; }
        .b5q6vvtmj { display: block; }
        .b5q6vvtmj summary { list-style: none; cursor: pointer; padding: .4rem .7rem; border: 1px solid #dec1cf; border-radius: .45rem; font-weight: 710; }
        .b5q6vvtmj nav { position: absolute; z-index: 5; right: 0; top: calc(100% + .5rem); width: min(17rem, calc(100vw - 2rem)); max-height: min(28rem, 75dvh); overflow-y: auto; display: grid; padding: .35rem; background: #fff9fa; border: 1px solid var(--edge); border-radius: .7rem; box-shadow: 0 .65rem 1.6rem #4d193d2b; }
        .b5q6vvtmj nav a { display: block; min-height: 2.7rem; padding: .48rem .65rem; text-decoration: none; }
        .b5q6vvtmj nav a:hover, .b5q6vvtmj nav a:focus-visible { background: #f4dce8; outline-offset: -2px; }
        .rxx8v3fjq, .z37oetkrl, .j1h6yvv7x, .vbeid5ays, .w3d8di5c8, .rty9keeb9, .mktr66ymo { grid-template-columns: minmax(0, 1fr); }
        .x13gtxqc3 h2 { font-size: clamp(2.45rem, 9vw, 3.8rem); }
        .x13gtxqc3 h2 br { display: none; }
        .x13gtxqc3 h2 { max-width: 32rem; }
        .nk4b8w465 { margin-top: .8rem; }
        .oi3jh2awt { margin-top: 1.05rem; }
        .xyes96ioq { min-height: clamp(16.5rem, 54vw, 25rem); }
        .mktr66ymo ul { gap: .55rem .65rem; }
        .vbeid5ays { padding-top: 1.15rem; gap: .8rem; }
    }

    @media (max-width: 34rem) {
        .j1h6yvv7x ol { grid-template-columns: minmax(0, 1fr); }
        .pb2r2rnyn, .bn6wb8x4j { align-items: start; flex-direction: column; }
        .nr0kpdc7p, .val8xmssk { grid-template-columns: minmax(0, 1fr); }
        .f54v0psqw { grid-template-columns: minmax(5.3rem, .48fr) minmax(0, 1.52fr); }
        .j30xhn0j1 { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
        .j30xhn0j1 article + article { border-inline-start: 0; border-top: 1px solid var(--edge); padding: .85rem 0 0; }
        .mkjtuq8d4 img { width: 82%; }
        .mkjtuq8d4 figcaption { max-width: 94%; }
    }

    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
        .yegky2vji:hover, .k3g5d00ex:hover, .f54v0psqw:hover .z29qijq6f img { transform: none; }
    }
}
