/* 专辑落地页，布局对齐 70585-landing-standalone */
@font-face {
    font-family: "Zhuque Fangsong";
    src: url("/static/fonts/zhuque-fangsong.woff2?v=20261111") format("woff2");
    font-display: swap;
}

.album-landing {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px 16px 48px;
    line-height: 1.75;
    color: #222;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #fff;
}

.album-landing h1,
.album-landing h2 {
    font-family: "Zhuque Fangsong", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.album-landing h1 {
    font-size: 25px;
    line-height: 1.4;
    margin: 2px 0 10px;
}

.album-landing h2 {
    font-size: 20px;
    margin-top: 32px;
    border-left: 4px solid #e2574c;
    padding-left: 8px;
    font-weight: 700;
}

.album-landing h2#download {
    scroll-margin-top: 140px;
}

.album-landing p {
    margin: 0 0 12px;
}

.album-landing table {
    border-collapse: collapse;
    width: 100%;
}

.album-landing td,
.album-landing th {
    border: 1px solid #ddd;
    padding: 7px 10px;
    vertical-align: top;
}

.album-landing th {
    background: #f6f6f6;
    text-align: left;
}

.album-landing figure {
    margin: 14px 0;
}

.album-landing figure img {
    max-width: 100%;
}

/* 题目插图按卷面占比收窄，不拉满整栏 */
.album-landing figure.qshot {
    width: min(100%, 26rem);
}

.album-landing figure.qshot.example-shot {
    width: min(100%, 48rem);
}

.album-landing figure.qshot img {
    width: 100%;
    height: auto;
    display: block;
}

.album-landing .samples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 28px;
    align-items: start;
}

.album-landing .samples figure.qshot {
    width: 100%;
    margin: 0;
}

.album-landing figcaption {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}

.album-landing .fmtpre {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.album-landing .fmtpre figure {
    margin: 0;
    flex: 1 1 0;
    width: 0;
    min-width: 0;
}

.album-landing button.zoom {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    font: inherit;
    color: inherit;
    text-align: inherit;
}

.album-landing button.cover-zoom {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 280px;
}

.album-landing .fmtpre button.zoom {
    display: block;
}

.album-landing .fmtpre img {
    width: 100%;
    height: auto;
    aspect-ratio: 210 / 297;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    cursor: zoom-in;
    background: #fff;
}

.album-landing ol.content-list {
    columns: 2;
    column-gap: 36px;
    padding-left: 22px;
}

.album-landing ol.content-list li {
    margin: 3px 0;
    break-inside: avoid;
}

.album-landing .steps {
    padding-left: 22px;
    margin: 8px 0 12px;
}

.album-landing .steps li {
    margin: 4px 0;
}

.album-landing .qa {
    margin: 0 0 14px;
}

.album-landing .qa .q {
    font-weight: bold;
    margin-bottom: 2px;
}

.album-landing .dlbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 16px;
    margin: 14px 0 26px;
}

.album-landing .dlbox b {
    font-size: 16px;
    line-height: 1.5;
}

.album-landing .dlrow {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.album-landing .dlbox a,
.album-landing .dlbox button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.album-landing .vers {
    margin: 14px 0 26px;
}

.album-landing .ver {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
}

.album-landing .ver b {
    font-size: 16px;
    margin-right: 12px;
}

.album-landing .ver .vdesc {
    color: #555;
    font-size: 14px;
    word-break: break-all;
}

.album-landing .vbtns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.album-landing .ver a,
.album-landing .ver button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.album-landing .dlbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #16a34a;
    color: #fff;
    padding: 10px 30px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
}

.album-landing .dlbtn:hover {
    background: #15803d;
}

.album-landing .dlbtn .dl-ico {
    width: 18px;
    height: 18px;
}

.album-landing .dl-member {
    background: #16a34a;
    color: #fff;
    border: none;
}

.album-landing .dl-member:hover {
    background: #15803d;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.album-landing .dl-free {
    background: #fff;
    color: #16a34a;
    border: 1px solid #22c55e;
}

.album-landing .dl-free:hover {
    background: #f0fdf4;
    border-color: #16a34a;
}

.album-landing .dl-answer {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #9ca3af;
}

.album-landing .dl-answer:hover {
    background: #e5e7eb;
    border-color: #6b7280;
}

.album-landing .dl-ico {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.album-landing .dl-crown {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: #fde047;
}

.album-landing .ver em {
    color: #999;
    font-style: normal;
    white-space: nowrap;
}

.album-landing .vthumb {
    width: 150px;
    margin-right: 14px;
    flex-shrink: 0;
}

.album-landing .vtxt {
    flex: 1;
    min-width: 0;
}

.album-landing .revgrid {
    display: flex;
    gap: 12px;
}

.album-landing .rev {
    flex: 1;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 12px;
    position: relative;
    min-width: 0;
}

.album-landing .revimg {
    background: #f6f6f6;
    border: 1px dashed #bbb;
    border-radius: 6px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
    overflow: hidden;
}

.album-landing .revimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-landing .rev p {
    margin: 4px 0;
    font-size: 15px;
}

.album-landing .rev .revmeta {
    color: #777;
    font-size: 13px;
}

.album-landing .rev .ph {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fff3cd;
    color: #856404;
    font-size: 12px;
    padding: 1px 7px;
    border-radius: 4px;
    font-style: normal;
}

.album-landing .relgrid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.album-landing .rel {
    width: calc(25% - 9px);
    text-decoration: none;
    color: #222;
}

.album-landing .rel img {
    width: 100%;
    aspect-ratio: 210 / 297;
    object-fit: contain;
    background: #f6f6f6;
    border: 1px solid #eee;
}

.album-landing .rel b {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 6px;
}

.album-landing .rel span {
    font-size: 13px;
    color: #777;
}

.album-landing .crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #888;
}

.album-landing .crumbs a {
    color: #555;
    text-decoration: none;
}

.album-landing .crumbs a:hover {
    color: #e2574c;
}

.album-landing .crumbs .sep {
    color: #ccc;
}

.album-landing .crumbs [aria-current="page"] {
    color: #222;
}

.album-landing .card {
    display: flex;
    gap: 60px;
    padding: 16px;
    margin-bottom: 20px;
}

.album-landing .coverwrap {
    position: relative;
    width: 33.333%;
    align-self: stretch;
    min-height: 280px;
    flex-shrink: 0;
}

.album-landing .coverwrap::before,
.album-landing .coverwrap::after,
.album-landing .coverwrap .lyr {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    border: 1px solid #d9d9d9;
}

.album-landing .coverwrap::before {
    transform: translate(4px, 4px);
}

.album-landing .coverwrap::after {
    transform: translate(8px, 8px);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.07);
}

.album-landing .coverwrap .lyr {
    transform: translate(12px, 12px);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
}

.album-landing img.cover,
.album-landing .cover-empty {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: top center;
    display: block;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    background: #f3f3f3;
}

.album-landing .pagebadge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    padding: 1px 10px;
    border-radius: 999px;
}

.album-landing .info {
    flex: 1;
    min-width: 0;
}

.album-landing ul.meta {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.album-landing ul.meta li {
    display: flex;
    gap: 8px;
    margin: 4px 0;
    line-height: 1.6;
}

.album-landing ul.meta b {
    flex: 0 0 4.5em;
    color: #555;
    font-weight: normal;
}

.album-landing .tags {
    margin: 6px 0 12px;
}

.album-landing .tag {
    display: inline-block;
    background: #f2f2f2;
    border-radius: 4px;
    padding: 2px 9px;
    font-size: 13px;
    margin: 0 6px 6px 0;
}

.album-landing .hl {
    margin: 2px 0 8px;
}

.album-landing .hlb {
    background: #e2574c;
    color: #fff;
    border-radius: 4px;
    padding: 1px 8px;
    font-size: 13px;
    margin-right: 8px;
}

.album-landing .hlc {
    border: 1px solid #e2574c;
    color: #c93a30;
    border-radius: 4px;
    padding: 1px 8px;
    font-size: 13px;
    margin: 0 6px 6px 0;
    display: inline-block;
}

.album-landing .lead {
    color: #555;
    font-size: 14px;
}

.album-landing .footnote {
    color: #999;
    font-size: 13px;
}

.album-landing .qpage {
    margin-top: 18px;
    padding-top: 4px;
    border-top: 1px solid #eee;
}

.album-landing .qpage h3 {
    font-size: 17px;
    margin: 12px 0 8px;
}

.album-landing .qpage h4 {
    font-size: 15px;
    margin: 14px 0 8px;
    color: #333;
}

.album-landing .qlist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: stretch;
}

.album-landing .qitem {
    flex: 1 1 100%;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 8px 0 10px;
    border-bottom: 1px solid #f2f2f2;
}

.album-landing .qitem.is-short {
    flex: 0 0 auto;
    display: block;
    min-width: 8.5rem;
    padding: 8px 12px;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #f7f7f7;
    text-align: center;
}

.album-landing .qno {
    margin-right: 6px;
    color: #888;
    font-size: 13px;
    font-weight: 600;
}

.album-landing .qtext {
    display: inline;
    white-space: pre-line;
    line-height: 1.7;
}

.album-landing .qitem.is-short .qtext {
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
}

.album-landing .qbox {
    display: inline-block;
    width: 1.7em;
    height: 1.7em;
    margin: 0 3px;
    border: 2px solid #222;
    border-radius: 3px;
    background: #fff;
    vertical-align: -0.35em;
}

.album-landing .qitem img {
    display: block;
    max-width: min(100%, 16rem);
    margin-top: 6px;
}

.album-landing .intro :last-child {
    margin-bottom: 0;
}

.album-landing .source-note {
    margin-top: 14px;
    padding: 10px 14px;
    background: #faf6f4;
    border-radius: 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}

.album-landing .source-note p {
    margin: 0 0 6px;
}

.album-landing .source-note p:last-child {
    margin-bottom: 0;
}

.album-landing .source-note b {
    margin-right: 8px;
    color: #e2574c;
    font-size: 12px;
    font-weight: 600;
}

.album-landing .source-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 28px;
}

@media (max-width: 720px) {
    .album-landing {
        padding: 12px 12px 32px;
    }

    .album-landing h1 {
        font-size: 22px;
    }

    .album-landing .card {
        flex-direction: column;
        gap: 16px;
        padding: 8px 16px 20px 8px;
    }

    .album-landing .coverwrap {
        width: 68%;
        max-width: 260px;
    }

    .album-landing .samples {
        grid-template-columns: 1fr;
    }

    .album-landing .fmtpre,
    .album-landing .revgrid {
        flex-direction: column;
    }

    .album-landing .fmtpre figure {
        width: 100%;
    }

    .album-landing .fmtpre img {
        height: auto;
        width: 100%;
    }

    .album-landing ol.content-list {
        columns: 1;
    }

    .album-landing .rel {
        width: calc(50% - 6px);
    }

    .album-landing .qitem.is-short {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .album-landing .qitem.is-short .qtext {
        white-space: normal;
    }

    .album-landing .dlbox,
    .album-landing .ver {
        flex-wrap: wrap;
    }

    .album-landing .vthumb {
        width: 96px;
    }
}

/* 落地页大图：当前页打开原图，不跳转 */
.llv[hidden] {
    display: none;
}

.llv {
    position: fixed;
    inset: 0;
    z-index: 10060;
}

.llv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.llv-dialog {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 24px 0;
    box-sizing: border-box;
}

.llv-figure {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.llv-figure img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.llv-figure figcaption {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    margin: 0;
    max-width: calc(100vw - 120px);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 4px 12px;
    pointer-events: none;
}

.llv-figure figcaption:empty {
    display: none;
}

.llv-close,
.llv-nav {
    position: fixed;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.llv-close:hover,
.llv-nav:hover {
    background: rgba(255, 255, 255, 0.32);
}

.llv-close svg,
.llv-nav svg {
    width: 22px;
    height: 22px;
}

.llv-close {
    top: 16px;
    right: 16px;
}

.llv-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.llv-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.llv-nav[hidden] {
    display: none;
}

.llv-count {
    position: fixed;
    top: 22px;
    right: 64px;
    margin: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 14px;
}

.llv-count:empty {
    display: none;
}

@media (max-width: 720px) {
    .llv-prev {
        left: 8px;
    }

    .llv-next {
        right: 8px;
    }
}
