:root {
    --paper: #fff8ea;
    --paper-2: #fffdf6;
    --ink: #1b1714;
    --muted: #756c64;
    --line: rgba(27, 23, 20, .12);
    --red: #f02525;
    --green: #00a6a6;
    --yellow: #ffd13d;
    --pink: #ff4f91;
    --shadow: 0 24px 60px rgba(64, 35, 18, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    overflow-x: hidden;
    background:
        linear-gradient(120deg, rgba(240, 37, 37, .13), transparent 34%),
        linear-gradient(220deg, rgba(0, 166, 166, .12), transparent 36%),
        linear-gradient(135deg, #fff8ea 0%, #fff3f7 48%, #f3fff8 100%);
    text-align: left;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(27, 23, 20, .035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(27, 23, 20, .035) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .42;
    pointer-events: none;
}

a {
    color: inherit;
}

.mutouyang-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 54px;
}

.back-link {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 22px;
    color: #4b433d;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.kicker {
    margin: 0 0 10px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(27, 23, 20, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #302923;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(64, 35, 18, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(64, 35, 18, .13);
}

.btn.primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--red), #ff7b54 50%, var(--yellow));
    color: #fff;
    box-shadow: 0 18px 34px rgba(240, 37, 37, .22);
}

.mutouyang-hero {
    display: grid;
    grid-template-columns: 1.02fr minmax(290px, .98fr);
    gap: 18px;
    align-items: stretch;
}

.mutouyang-hero__copy,
.mutouyang-hero__board {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 22px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--shadow);
}

.mutouyang-hero__copy {
    min-height: 430px;
    padding: clamp(24px, 4vw, 46px);
}

.mutouyang-hero__copy::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 79, 145, .17), transparent 32%),
        radial-gradient(circle at 82% 24%, rgba(0, 166, 166, .14), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 248, 234, .52));
    pointer-events: none;
}

.mutouyang-hero__copy > * {
    position: relative;
    z-index: 1;
}

.mutouyang-hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(48px, 8vw, 92px);
    line-height: .94;
    font-weight: 950;
    letter-spacing: 0;
}

.mutouyang-hero__summary {
    max-width: 660px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.8vw, 21px);
    line-height: 1.75;
}

.mutouyang-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.mutouyang-hero__board {
    display: grid;
    align-content: space-between;
    min-height: 430px;
    padding: clamp(20px, 3vw, 34px);
    background:
        linear-gradient(90deg, rgba(27, 23, 20, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(27, 23, 20, .045) 1px, transparent 1px),
        linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 248, 234, .72));
    background-size: 34px 34px, 34px 34px, auto;
}

.hero-note {
    max-width: 310px;
    padding: 18px;
    border: 1px dashed rgba(27, 23, 20, .18);
    border-radius: 16px;
    background:
        linear-gradient(180deg, transparent 0 31px, rgba(27, 23, 20, .08) 32px),
        #fff8d8;
    background-size: 100% 32px;
    color: #302923;
    box-shadow: 0 16px 28px rgba(64, 35, 18, .12);
    transform: rotate(2deg);
}

.hero-note p {
    margin: 0 0 10px;
    color: #7a6f66;
    font-size: 13px;
    font-weight: 900;
}

.hero-note strong {
    display: block;
    font-size: 20px;
    line-height: 1.42;
    font-weight: 950;
}

.board-meter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.board-meter span {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    background: rgba(255, 255, 255, .64);
    color: #4b433d;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.36;
    box-shadow: 0 12px 24px rgba(64, 35, 18, .08);
}

.board-meter span:nth-child(2) {
    background: rgba(255, 232, 240, .78);
}

.board-meter span:nth-child(3) {
    background: rgba(223, 247, 237, .78);
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin: 26px 0 14px;
}

.section-title__copy {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.16;
    font-weight: 950;
}

.section-title__copy p {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.mutouyang-wall {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 86px;
    gap: 14px;
    min-height: 760px;
    padding: clamp(16px, 2.5vw, 28px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(27, 23, 20, .045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(27, 23, 20, .045) 1px, transparent 1px),
        linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 248, 234, .72));
    background-size: 34px 34px, 34px 34px, auto;
    box-shadow: var(--shadow);
}

.mutouyang-wall::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 16% 12%, rgba(255, 79, 145, .12), transparent 26%),
        radial-gradient(circle at 82% 8%, rgba(0, 166, 166, .12), transparent 28%),
        radial-gradient(circle at 68% 88%, rgba(255, 209, 61, .16), transparent 30%);
    pointer-events: none;
}

.mutouyang-card {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    min-height: 100%;
    padding: 16px;
    overflow: hidden;
    border: 8px solid #fff;
    border-bottom-width: 34px;
    border-radius: 12px;
    background: var(--sticker-bg, linear-gradient(135deg, #ffd8e8, #fff6df 54%, #dff7ed));
    box-shadow: 0 18px 34px rgba(64, 35, 18, .18);
    cursor: zoom-in;
    transform: rotate(var(--tilt, -1deg));
    transition: transform .18s ease, box-shadow .18s ease;
}

.mutouyang-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 2;
    width: 52px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    box-shadow: 0 2px 8px rgba(64, 35, 18, .12);
    transform: translateX(-50%) rotate(-2deg);
    pointer-events: none;
}

.mutouyang-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(27, 23, 20, .54) 100%);
    pointer-events: none;
}

.mutouyang-card:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 24px 44px rgba(64, 35, 18, .22);
}

.mutouyang-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mutouyang-card span {
    position: relative;
    z-index: 3;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    color: #4b433d;
    font-size: 12px;
    font-weight: 950;
}

.mutouyang-card.feature {
    grid-column: span 5;
    grid-row: span 4;
    --tilt: -1.8deg;
}

.mutouyang-card.tall {
    grid-column: span 3;
    grid-row: span 4;
    --tilt: 1.6deg;
}

.mutouyang-card.wide {
    grid-column: span 4;
    grid-row: span 3;
    --tilt: -.8deg;
}

.mutouyang-card.small {
    grid-column: span 3;
    grid-row: span 3;
    --tilt: 1deg;
}

.mutouyang-card:nth-child(2) {
    --sticker-bg: linear-gradient(135deg, #e8f6ff, #ffe7f0);
}

.mutouyang-card:nth-child(3) {
    --sticker-bg: linear-gradient(135deg, #fff0c9, #dff7ed);
}

.mutouyang-card:nth-child(4) {
    --sticker-bg: linear-gradient(135deg, #ffe1ef, #eef7ff);
}

.mutouyang-card:nth-child(5) {
    --sticker-bg: linear-gradient(135deg, #e6fff6, #fff1cf);
}

.mutouyang-card:nth-child(6) {
    --sticker-bg: linear-gradient(135deg, #fff4f4, #e4f6ff);
}

.mutouyang-card:nth-child(7) {
    --sticker-bg: linear-gradient(135deg, #ffe6f0, #fff8dc);
}

.mutouyang-empty {
    grid-column: 1 / -1;
    grid-row: span 3;
    place-content: center;
    padding: 30px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    color: var(--muted);
    text-align: center;
}

.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(24, 19, 15, .56);
    backdrop-filter: blur(8px);
}

.quote-modal.is-open {
    display: grid;
}

.quote-modal__dialog {
    display: grid;
    gap: 12px;
    width: min(940px, 100%);
    max-height: calc(100vh - 48px);
}

.quote-modal__media {
    display: grid;
    place-items: center;
    overflow: auto;
    max-height: calc(100vh - 112px);
    border: 10px solid #fff;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
}

.quote-modal__media img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 132px);
    object-fit: contain;
}

.quote-modal__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.quote-modal__actions .btn {
    background: rgba(255, 255, 255, .92);
}

.quote-modal__actions .btn.primary {
    border-color: #18130f;
    background: #18130f;
    color: #fff;
    box-shadow: 0 14px 28px rgba(24, 19, 15, .22);
}

@media (max-width: 900px) {
    .site-topbar {
        width: min(100% - 24px, 680px);
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
        gap: 7px;
    }

    .site-nav a {
        min-height: 38px;
        padding: 0 12px;
        font-size: .8rem;
    }

    .mutouyang-hero,
    .mutouyang-wall {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: 78px;
    }

    .mutouyang-hero {
        display: grid;
    }

    .mutouyang-hero__copy,
    .mutouyang-hero__board {
        grid-column: 1 / -1;
    }

    .section-title {
        display: grid;
    }

    .section-title__copy {
        justify-items: start;
    }

    .mutouyang-card.feature,
    .mutouyang-card.tall,
    .mutouyang-card.wide,
    .mutouyang-card.small {
        grid-column: span 3;
        grid-row: span 3;
    }
}

@media (max-width: 620px) {
    .mutouyang-shell {
        width: min(100% - 24px, 1180px);
    }

    .mutouyang-hero {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .mutouyang-hero__copy,
    .mutouyang-hero__board,
    .mutouyang-wall {
        border-radius: 18px;
    }

    .mutouyang-hero__copy,
    .mutouyang-hero__board {
        min-height: 0;
    }

    .mutouyang-hero h1 {
        font-size: clamp(38px, 15vw, 58px);
    }

    .hero-note {
        transform: none;
    }

    .board-meter {
        grid-template-columns: 1fr;
    }

    .board-meter span {
        min-height: 58px;
    }

    .mutouyang-wall {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        min-height: 0;
    }

    .mutouyang-card.feature,
    .mutouyang-card.tall,
    .mutouyang-card.wide,
    .mutouyang-card.small {
        grid-column: auto;
        grid-row: auto;
        min-height: 260px;
        transform: none;
    }

    .mutouyang-card img {
        object-fit: contain;
        background: #fff;
    }
}
