/* =========================================================
   冠恩书屋 · 首页
   Vintage Editorial Poster / Editorial Bookstore
   ========================================================= */

   :root {
    --poster-paper: #eadbb6;
    --poster-paper-dark: #d8c89f;
    --poster-ink: #40316B;
    --poster-ink-soft: rgba(64, 49, 107, .62);
    --poster-ink-faint: rgba(64, 49, 107, .42);
    --poster-faint: rgba(64, 49, 107, .34);
    --poster-soft: rgba(64, 49, 107, .08);
    --poster-green: #29463D;
    --poster-ease: cubic-bezier(.22, 1, .36, 1);
}


/* =========================================================
   01. 页面基础
   ========================================================= */

html:has(body.poster-home) {
    --paper-a: var(--poster-paper);
    --paper-b: var(--poster-paper);
    --paper-c: var(--poster-paper);
    --paper-d: var(--poster-paper);
    --paper-e: var(--poster-paper);
    --paper-f: var(--poster-paper);
    --home-paper: var(--poster-paper);
    background: var(--poster-paper);
}

body.poster-home {
    --paper-a: var(--poster-paper);
    --paper-b: var(--poster-paper);
    --paper-c: var(--poster-paper);
    --paper-d: var(--poster-paper);
    --paper-e: var(--poster-paper);
    --paper-f: var(--poster-paper);
    --home-paper: var(--poster-paper);
    background: var(--poster-paper) !important;
    color: var(--poster-ink);
    isolation: isolate;
}

body.poster-home::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .15;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}


/* =========================================================
   02. 顶部导航
   ========================================================= */

body.poster-home .main-header {
    position: relative;
    width: 100%;
    min-height: 58px;

    padding: 10px 0;

    background: var(--poster-paper);
    border: 0;
    box-shadow: none;

    color: var(--poster-ink);
    align-items: center;
}

body.poster-home .header-brand {
    margin: 0;
    align-items: center;
    gap: 26px;
}

body.poster-home .header-brand .logo,
body.poster-home #logoBox {
    width: 88px;
    height: 74px;
    flex-shrink: 0;
    overflow: visible;
}

body.poster-home .rotating-logo-wrapper {
    width: 72px !important;
    height: 72px !important;
    transform: translateX(1px);
    transition: transform .5s var(--poster-ease);
}

body.poster-home .rotating-logo-wrapper:hover {
    transform: translateX(1px) scale(1.05);
}

body.poster-home .rotating-text-arc {
    width: 64px !important;
    height: 64px !important;
    margin-top: -32px !important;
    margin-left: -32px !important;
}

body.poster-home .text-arc-char {
    color: var(--poster-ink) !important;
    font-weight: 500 !important;
    opacity: .78;
}

body.poster-home .header-brand-mark {
    position: relative;
    z-index: 1;

    font:
        500 clamp(.5rem, .72vw, .68rem)/1
        Georgia,
        serif;

    letter-spacing: .2em;
    white-space: nowrap;
    color: var(--poster-ink-soft);
}

body.poster-home .header-nav,
body.poster-home .nav-section--utils {
    align-items: center;
}

body.poster-home .main-header .logo-img {
    border-color: var(--poster-ink);
}

body.poster-home .main-header .logo-img img {
    filter:
        grayscale(1)
        sepia(.3)
        hue-rotate(210deg)
        saturate(.65);
}

body.poster-home .main-header .nav-section-toggle,
body.poster-home .main-header .menu-btn,
body.poster-home .main-header .logo-article {
    color: var(--poster-ink);
    font-weight: 500;
    opacity: .88;
}

body.poster-home .main-header .nav-section-toggle:hover,
body.poster-home .main-header .menu-btn:hover,
body.poster-home .main-header .logo-article:hover {
    color: var(--poster-ink);
    opacity: .58;
}

body.poster-home .main-header .nav-section-toggle,
body.poster-home .main-header .nav-section--utils .menu-btn {
    display: inline-flex;
    align-items: center;

    height: 36px;
    padding: 0 12px;

    line-height: 1;
    letter-spacing: .04em;
}

/* 用户中心 / 登录：默认与阅读、发现、EN/中同一视觉重量 */
body.poster-home .main-header .nav-section--utils .menu-btn,
body.poster-home .main-header.is-over-light .nav-section--utils .menu-btn,
body.poster-home .main-header.is-over-light .nav-section--utils .menu-btn:hover {
    color: var(--poster-ink);
    font-weight: 500;
}

body.poster-home .main-header #loginBtn {
    font-weight: 500;
    opacity: .88;
}

body.poster-home .main-header #loginBtn:hover {
    opacity: .58;
}


/* =========================================================
   03. 隐藏旧首页首屏
   ========================================================= */

body.poster-home .poster-topline,
body.poster-home .poster-edition,
body.poster-home .poster-data {
    display: none;
}

body.poster-home .page-content {
    position: relative;
    background: transparent;
}

body.poster-home .page-content > .lantern-box,
body.poster-home .page-content > #topSection {
    display: none !important;
}

body.poster-home #toBottomBtnFixed {
    display: none !important;
}


/* =========================================================
   04. 海报主体
   ========================================================= */

.bookstore-poster {
    --poster-pad-top: clamp(54px, 6vw, 84px);

    position: relative;
    isolation: isolate;

    width: 100%;
    margin: 0;

    padding:
        var(--poster-pad-top)
        clamp(28px, 6vw, 100px)
        clamp(34px, 4vw, 64px);

    overflow: hidden;

    background-color: transparent;

    border: 0;

    box-shadow: none;

    font-family:
        'Noto Serif SC',
        'Songti SC',
        serif;
}


/* 外框 */

.bookstore-poster::before,
.bookstore-poster::after {
    content: none;
}


/* =========================================================
   05. 纸张纹理
   ========================================================= */

.poster-grain {
    position: absolute;
    z-index: -2;

    inset: 0;

    opacity: .15;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");

    mix-blend-mode: multiply;
    pointer-events: none;
}


/* =========================================================
   06. 顶部出版物信息
   ========================================================= */

.poster-topline {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding:
        0
        4px
        13px;

    border-bottom: 1px solid var(--poster-faint);

    font:
        600 clamp(.52rem, .72vw, .7rem)/1.3
        Georgia,
        serif;

    letter-spacing: .18em;
}


/* =========================================================
   07. 主标题
   ========================================================= */

.poster-masthead {
    position: relative;

    /* 首屏只露出标题：撑满视口剩余高度，介绍区要往下滚才看见 */
    min-height: calc(100vh - var(--poster-pad-top, 72px) + 32px);
    min-height: calc(100svh - var(--poster-pad-top, 72px) + 32px);

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    padding:
        40px 10% 48px;

    text-align: center;
}

.poster-title-wrap {
    transform: translateY(-6vh);
}

/* =========================================================
   07-A. 主标题 SVG 手写动画
   ---------------------------------------------------------
   入场：Eyebrow 淡入 → SVG 逐字书写 → 中文副标题淡入。
   等页面真正露出后再加 .is-writing，避免开屏阶段就把字写完。
   ========================================================= */

.poster-title-wrap,
.poster-masthead h1 {
    overflow: visible;
}

.poster-kicker,
.poster-subtitle {
    opacity: 0;
    transform: translateY(8px);
}

/* Eyebrow：最先轻柔淡入 */
.poster-masthead.is-writing .poster-kicker {
    animation:
        poster-fade-rise .78s var(--poster-ease) 0s forwards;
}

/* 中文副标题：主标题大半写出后跟上 */
.poster-masthead.is-writing .poster-subtitle {
    animation:
        poster-fade-rise .65s var(--poster-ease) 1.45s forwards;
}

.poster-masthead.is-written .poster-subtitle {
    animation: none;
    opacity: 1;
    transform: none;
}

@keyframes poster-fade-rise {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes poster-subtitle-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SVG 手写标题 */
.poster-title-heading {
    margin: 0;
    line-height: 0;
}

.poster-title-handwriting {
    --poster-title-ink: #3e2c78;
    --poster-draw-time: 0.42s;

    display: block;
    width: min(92vw, 820px);
    height: auto;
    margin: 0 auto;
    overflow: visible;
}

.poster-title-handwriting .letter {
    fill: var(--poster-title-ink);
}

.poster-title-handwriting .ink-stroke {
    fill: none;
    stroke: var(--poster-title-ink);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.poster-title-handwriting .ink-fill {
    fill: var(--poster-title-ink);
    opacity: 0;
    transform-origin: center;
}

.poster-title-handwriting .letter:nth-of-type(1)  { --delay: 0.00s; }
.poster-title-handwriting .letter:nth-of-type(2)  { --delay: 0.34s; }
.poster-title-handwriting .letter:nth-of-type(3)  { --delay: 0.68s; }
.poster-title-handwriting .letter:nth-of-type(4)  { --delay: 1.02s; }
.poster-title-handwriting .letter:nth-of-type(5)  { --delay: 1.36s; }
.poster-title-handwriting .letter:nth-of-type(6)  { --delay: 1.70s; }
.poster-title-handwriting .letter:nth-of-type(7)  { --delay: 2.15s; }
.poster-title-handwriting .letter:nth-of-type(8)  { --delay: 2.49s; }
.poster-title-handwriting .letter:nth-of-type(9)  { --delay: 2.83s; }
.poster-title-handwriting .letter:nth-of-type(10) { --delay: 3.17s; }
.poster-title-handwriting .letter:nth-of-type(11) { --delay: 3.51s; }
.poster-title-handwriting .letter:nth-of-type(12) { --delay: 3.85s; }
.poster-title-handwriting .letter:nth-of-type(13) { --delay: 4.19s; }
.poster-title-handwriting .letter:nth-of-type(14) { --delay: 4.53s; }
.poster-title-handwriting .letter:nth-of-type(15) { --delay: 4.87s; }

.poster-masthead.is-writing .poster-title-handwriting .ink-stroke {
    animation: poster-handwriting-stroke var(--poster-draw-time) linear forwards;
    animation-delay: var(--delay);
}

.poster-masthead.is-writing .poster-title-handwriting .ink-fill {
    animation: poster-handwriting-fill 0.18s ease-out forwards;
    animation-delay: calc(var(--delay) + 0.28s);
}

.poster-masthead.is-written .poster-title-handwriting .ink-stroke {
    animation: none;
    stroke-dashoffset: 0;
}

.poster-masthead.is-written .poster-title-handwriting .ink-fill {
    animation: none;
    opacity: 1;
}

@keyframes poster-handwriting-stroke {
    to { stroke-dashoffset: 0; }
}

@keyframes poster-handwriting-fill {
    to { opacity: 1; }
}

/* 如果用户系统开启了“减少动态效果”，直接显示完整标题 */
@media (prefers-reduced-motion: reduce) {

    .poster-kicker,
    .poster-subtitle,
    .poster-title-handwriting .ink-stroke,
    .poster-title-handwriting .ink-fill {
        animation: none;
        opacity: 1;
        transform: none;
        stroke-dashoffset: 0;
    }
}


/* 小标题 / eyebrow */

.poster-kicker {
    margin: 0 0 72px;

    font:
        500 clamp(.68rem, .72vw, .82rem)/1.35
        Georgia,
        serif;

    letter-spacing: .32em;
    text-transform: uppercase;
    color: rgba(64, 49, 107, .58);
}


/* 主标题 */

.poster-masthead h1,
.poster-title-heading {
    margin: 0;
    color: var(--poster-ink);
}


/* 中文副标题 */

.poster-subtitle {
    margin: 88px 0 0;

    font-size: clamp(.68rem, .92vw, .88rem);
    font-weight: 400;

    letter-spacing: .26em;
    color: rgba(64, 49, 107, .58);
}


/* =========================================================
   08. 主标题旁的小型出版信息
   ========================================================= */

.poster-edition {
    position: absolute;

    right: 3px;
    top: 30px;

    margin: 0;

    text-align: right;

    font:
        .65rem/1.6
        Georgia,
        serif;

    letter-spacing: .15em;
}

.poster-edition strong {
    display: block;

    margin-bottom: 2px;

    font-size: 1.15rem;

    letter-spacing: .08em;
}


/* =========================================================
   09. 简洁介绍
   ========================================================= */

.poster-intro {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: clamp(20px, 4vw, 70px);

    max-width: 1100px;

    margin: 0 auto;

    padding:
        28px 4%;
}

.poster-intro > p {
    margin: 0;
    min-width: 0;

    font-size: clamp(.68rem, .95vw, .88rem);

    line-height: 1.9;

    letter-spacing: .08em;

    overflow-wrap: break-word;
}

.poster-intro-en {
    text-align: right;

    font-family: Georgia, serif;

    font-style: italic;

    letter-spacing: .06em !important;
}


/* =========================================================
   10. 漂流地图区域
   ========================================================= */

.poster-map-area {
    display: grid;

    grid-template-columns:
        minmax(120px, .7fr)
        minmax(320px, 1.8fr)
        minmax(120px, .7fr);

    align-items: center;

    gap: clamp(25px, 5vw, 80px);

    max-width: 1250px;

    min-height: 560px;

    margin: 0 auto;

    padding:
        clamp(50px, 6vw, 80px)
        2%
        clamp(40px, 5vw, 65px);
}


/* =========================================================
   11. 左侧数据
   ========================================================= */

.poster-data,
.poster-aside {
    display: flex;

    flex-direction: column;

    justify-content: center;
}


/* 单项数据 */

.poster-stat {
    display: block;

    margin: 14px 0;

    padding-bottom: 13px;

    border-bottom: 1px solid rgba(73, 51, 101, .3);
}

.poster-stat span {
    display: block;

    margin-bottom: 8px;

    font-size: .66rem;

    letter-spacing: .12em;
}

.poster-stat strong {
    display: inline-block;

    font:
        clamp(2.1rem, 3.6vw, 3.7rem)/.9
        Georgia,
        serif;
}

.poster-stat small {
    margin-left: 4px;

    font:
        .48rem
        Georgia,
        serif;

    letter-spacing: .1em;
}


/* 数据下方链接 */

.poster-link {
    display: inline-flex;

    justify-content: space-between;
    align-items: center;

    gap: 14px;

    margin-top: 18px;

    padding: 9px 0;

    color: inherit;

    border-top: 1px solid var(--poster-ink);
    border-bottom: 1px solid var(--poster-ink);

    text-decoration: none;

    font-size: .68rem;

    letter-spacing: .12em;

    transition:
        background .2s ease,
        padding .2s ease;
}

.poster-link:hover {
    padding-inline: 6px;

    background: var(--poster-soft);
}

.poster-link b {
    font-size: 1.05rem;
}


/* =========================================================
   12. 地图
   ========================================================= */

.reading-map {
    position: relative;

    display: grid;

    place-content: center;

    min-width: 0;

    text-align: center;
}


/* 地图标题 */

.map-caption {
    margin: 0 0 -18px;

    font:
        700 clamp(.72rem, 1.2vw, 1rem)
        Georgia,
        serif;

    letter-spacing: .28em;
}


/* SVG */

.reading-map svg {
    display: block;

    width: 100%;

    max-height: 430px;

    overflow: visible;
}


/* 中国地图 */

.map-outline {
    fill: rgba(73, 51, 101, .055);

    stroke: var(--poster-ink);

    stroke-width: 5;

    stroke-linejoin: round;
}


/* 书页 */

.map-page {
    fill: rgba(234, 219, 182, .34);

    stroke: var(--poster-ink);

    stroke-width: 3;
}

.map-page-a {
    transform: rotate(-3deg);

    transform-origin: center;
}

.map-page-c {
    transform: rotate(3deg);

    transform-origin: center;
}


/* 漂流路线 */

.map-route {
    fill: none;

    stroke: var(--poster-ink);

    stroke-width: 3;

    stroke-dasharray: 8 8;
}


/* 地图节点 */

.map-dots circle {
    fill: var(--poster-ink);
}


/* 地图辅助线 */

.map-lines {
    fill: none;

    stroke: var(--poster-ink);

    stroke-width: 1.6;

    opacity: .65;
}


/* 地图文字 */

.reading-map text {
    fill: var(--poster-ink);

    font:
        13px
        Georgia,
        serif;

    letter-spacing: 2px;
}


/* 地图旁边的小标签 */

.map-callout {
    position: absolute;

    left: 2%;
    top: 43%;

    padding:
        9px 15px;

    color: var(--poster-ink);

    border:
        1.5px solid
        var(--poster-ink);

    border-radius: 999px;

    background: var(--poster-paper);

    text-decoration: none;

    font-size: clamp(.62rem, .9vw, .78rem);

    letter-spacing: .1em;

    transform: rotate(-8deg);

    transition:
        transform .2s ease;
}

.map-callout:hover {
    transform:
        rotate(-5deg)
        scale(1.04);
}

.map-callout small {
    font:
        .5rem
        Georgia,
        serif;
}


/* =========================================================
   13. 右侧一句话
   ========================================================= */

.poster-aside {
    align-items: center;

    text-align: center;
}

.tiny-compass {
    position: relative;

    width: 58px;
    height: 58px;

    margin: 0 auto 24px;

    border:
        1px solid
        var(--poster-ink);

    border-radius: 50%;
}

.tiny-compass span {
    position: absolute;

    top: -15px;
    left: 50%;

    transform: translateX(-50%);

    font:
        .58rem
        Georgia,
        serif;
}

.tiny-compass i::before,
.tiny-compass i::after {
    content: '';

    position: absolute;

    top: 7px;
    bottom: 7px;

    left: 50%;

    width: 1px;

    background: var(--poster-ink);
}

.tiny-compass i::after {
    transform: rotate(90deg);
}

.tiny-compass b {
    position: absolute;

    top: 50%;
    left: 50%;

    font-size: 1rem;

    transform:
        translate(-50%, -50%);
}


.poster-aside blockquote {
    margin: 0;

    max-width: 210px;

    font-size: clamp(.78rem, 1vw, .92rem);

    line-height: 2;

    letter-spacing: .09em;
}

.poster-aside > p {
    margin: 17px 0 0;

    max-width: 190px;

    font:
        .48rem/1.8
        Georgia,
        serif;

    letter-spacing: .11em;
}

.poster-link--right {
    width: 100%;

    margin-top: 20px;
}


/* =========================================================
   14. 底部两个入口
   ========================================================= */

.poster-bottom {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: clamp(18px, 3vw, 45px);

    max-width: 1000px;

    margin: 0 auto;

    padding:
        45px 2% 38px;

    border-top: 1px solid var(--poster-faint);
}


/* 项目卡片 */

.poster-photo {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    min-height: 214px;

    padding: 16px 18px 16px;

    overflow: hidden;

    color: var(--poster-ink);

    border:
        1.5px solid
        var(--poster-ink);

    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.poster-photo:hover {
    transform:
        translateY(-5px)
        rotate(-.5deg);

    box-shadow:
        6px 6px 0
        rgba(73, 51, 101, .6);
}

.poster-photo > span {
    position: absolute;

    top: 11px;
    right: 13px;

    font:
        .62rem
        Georgia,
        serif;
}

.poster-photo strong,
.poster-photo small {
    position: relative;

    z-index: 1;

    display: block;
}

.poster-photo strong {
    margin-top: 0;
    padding-top: 12px;

    font-size: .92rem;

    letter-spacing: .13em;
}

.poster-photo small {
    margin-top: 5px;

    font:
        .48rem
        Georgia,
        serif;

    letter-spacing: .14em;
}


/* =========================================================
   14-A. 进入视口后上浮渐显
   ========================================================= */

.poster-rise {
    opacity: 0;
    translate: 0 1.55rem;
}

.poster-rise.is-in {
    opacity: 1;
    translate: 0 0;
    transition:
        opacity 1.35s ease var(--rise-delay, 0s),
        translate 1.5s cubic-bezier(.22, .68, .28, 1) var(--rise-delay, 0s);
}

.poster-intro > p.poster-rise:nth-of-type(1) { --rise-delay: 0s; }
.poster-intro > p.poster-rise:nth-of-type(2) { --rise-delay: .24s; }

.reading-map .map-caption.poster-rise { --rise-delay: 0s; }
.reading-map svg.poster-rise { --rise-delay: .18s; }
.reading-map .map-callout.poster-rise { --rise-delay: .4s; }

.poster-aside .tiny-compass.poster-rise { --rise-delay: 0s; }
.poster-aside blockquote.poster-rise { --rise-delay: .2s; }
.poster-aside > p.poster-rise { --rise-delay: .38s; }
.poster-aside .poster-link.poster-rise { --rise-delay: .54s; }

.poster-photo--left.poster-rise { --rise-delay: 0s; }
.poster-photo--right.poster-rise { --rise-delay: .22s; }


/* =========================================================
   15. 书架简笔画
   ========================================================= */

.shelf-sketch {
    position: absolute;

    inset:
        20px
        18px
        72px;

    border-bottom:
        3px solid
        var(--poster-ink);
}

.shelf-sketch i {
    position: absolute;

    bottom: 2px;

    width: 15px;

    border:
        2px solid
        var(--poster-ink);

    border-bottom: 0;
}

.shelf-sketch i:nth-child(1) {
    left: 12%;
    height: 47px;
    transform: rotate(-7deg);
}

.shelf-sketch i:nth-child(2) {
    left: 29%;
    height: 63px;
    transform: rotate(3deg);
}

.shelf-sketch i:nth-child(3) {
    left: 46%;
    height: 39px;
    transform: rotate(-3deg);
}

.shelf-sketch i:nth-child(4) {
    left: 63%;
    height: 55px;
    transform: rotate(7deg);
}

.shelf-sketch b {
    position: absolute;

    width: 65%;
    height: 30px;

    top: 4px;
    left: 11%;

    border:
        2px solid
        var(--poster-ink);

    transform: rotate(7deg);
}


/* =========================================================
   16. 书屋简笔画
   ========================================================= */

.shop-sketch {
    position: absolute;

    inset:
        20px
        18px
        72px;

    border:
        2px solid
        var(--poster-ink);

    border-bottom-width: 3px;
}

.shop-sketch i {
    position: absolute;

    top: -14px;

    width: 24%;
    height: 30px;

    border:
        2px solid
        var(--poster-ink);

    border-bottom: 0;
}

.shop-sketch i:nth-child(1) {
    left: 0;
}

.shop-sketch i:nth-child(2) {
    left: 25%;
}

.shop-sketch i:nth-child(3) {
    left: 50%;
}

.shop-sketch b {
    position: absolute;

    bottom: 0;
    left: 18%;

    width: 28%;
    height: 54%;

    border:
        2px solid
        var(--poster-ink);

    border-bottom: 0;
}


/* =========================================================
   17. 底部说明
   ========================================================= */

.poster-route {
    display: none;
}


/* =========================================================
   18. Footer
   ========================================================= */

.poster-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding:
        12px 2px 0;

    border-top:
        1px solid
        var(--poster-ink);

    font:
        .55rem
        Georgia,
        serif;

    letter-spacing: .15em;
}

.poster-footer i {
    font-style: normal;

    font-size: .85rem;
}


/* =========================================================
   19. 平板
   ========================================================= */

@media (max-width: 900px) {

    .bookstore-poster {
        padding-left: 35px;
        padding-right: 35px;
    }

    .poster-map-area {
        grid-template-columns:
            .8fr
            1.6fr
            .8fr;

        gap: 25px;
    }

    .poster-title-handwriting {
        width: min(94vw, 680px);
    }
}


/* =========================================================
   20. 手机端
   ========================================================= */

@media (max-width: 760px) {

    /* Header */

    body.poster-home .main-header {
        min-height: 54px;
    }

    body.poster-home .header-brand-mark {
        display: none;
    }


    /* 海报 */

    .bookstore-poster {
        --poster-pad-top: 52px;

        width: 100%;

        margin-bottom: 7px;

        padding:
            var(--poster-pad-top)
            22px
            28px;
    }


    /* 顶部信息 */

    .poster-topline {
        font-size: .44rem;
        letter-spacing: .1em;
    }


    /* 主标题 */

    .poster-masthead {
        min-height: calc(100vh - var(--poster-pad-top, 52px) + 20px);
        min-height: calc(100svh - var(--poster-pad-top, 52px) + 20px);

        padding:
            28px
            12px
            36px;
    }

    .poster-title-wrap {
        transform: translateY(-5vh);
    }

    .poster-kicker {
        margin-bottom: 52px;

        font-size: .7rem;
        font-weight: 500;

        letter-spacing: .28em;
    }

    .poster-title-handwriting {
        width: min(96vw, 520px);
    }

    .poster-subtitle {
        margin-top: 64px;

        font-size: .56rem;

        letter-spacing: .2em;
    }

    .poster-edition {
        top: 16px;
        right: 2px;

        font-size: .43rem;
    }

    .poster-edition strong {
        font-size: .82rem;
    }


    /* Intro */

    .poster-intro {
        grid-template-columns: 1fr 1fr;

        align-items: center;

        gap: 14px 16px;

        width: 88%;

        max-width: 520px;

        margin-top: 20px;
        margin-bottom: 8px;
        margin-left: auto;
        margin-right: auto;

        padding:
            18px
            0;
    }

    .poster-intro > p {
        font-size: .58rem;

        line-height: 1.75;
    }

    .poster-intro-en {
        text-align: right;
    }


    /* 地图区域 */

    .poster-map-area {
        display: flex;

        flex-direction: column;

        gap: 16px;

        width: 90%;

        min-height: auto;

        margin-left: auto;
        margin-right: auto;

        padding:
            24px
            0
            18px;
    }


    /* 数据 */

    .poster-data {
        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 10px;
    }

    .poster-stat {
        margin: 0;

        padding:
            0
            8px
            10px;

        border-bottom:
            1px solid
            rgba(73, 51, 101, .3);
    }

    .poster-stat span {
        margin-bottom: 5px;

        font-size: .46rem;
    }

    .poster-stat strong {
        font-size:
            clamp(
                1.65rem,
                8vw,
                2.2rem
            );
    }

    .poster-stat small {
        font-size: .4rem;
    }

    .poster-data .poster-link {
        display: none;
    }


    /* 地图 */

    .reading-map {
        order: 2;

        width: 100%;
    }

    .map-caption {
        margin-bottom: -12px;

        font-size: .7rem;

        letter-spacing: .22em;
    }

    .reading-map svg {
        display: block;

        width: 92%;
        max-height: 210px;

        margin: 0 auto;
    }

    .map-callout {
        left: 2%;

        top: 42%;

        padding:
            7px
            11px;

        font-size: .55rem;
    }


    /* 右侧文字 */

    .poster-aside {
        order: 3;

        width: 92%;

        display: grid;

        grid-template-columns:
            48px
            1fr;

        align-items: center;

        column-gap: 14px;

        text-align: left;

        margin-left: auto;
        margin-right: auto;

        padding:
            8px 2%;
    }

    .tiny-compass {
        width: 44px;
        height: 44px;

        margin: 0;

        grid-row: span 2;
    }

    .tiny-compass i::before {
        top: 5px;
        bottom: 5px;
    }

    .poster-aside blockquote {
        max-width: none;

        font-size: .67rem;

        line-height: 1.8;
    }

    .poster-aside > p {
        display: none;
    }

    .poster-link--right {
        width: auto;

        margin:
            5px 0
            0;
    }


    /* 底部入口：手机改为上下排列，避免双列挤扁插画 */
    .poster-bottom {
        grid-template-columns: 1fr;

        gap: 16px;

        width: 72%;

        max-width: 260px;

        margin-left: auto;
        margin-right: auto;

        padding:
            20px 0
            18px;
    }

    .poster-photo {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;

        min-height: 168px;
        min-width: 0;
        aspect-ratio: 5 / 4;

        padding: 14px 16px 14px;
    }

    .poster-photo strong {
        margin-top: 0;
        padding-top: 10px;

        font-size: .72rem;
        letter-spacing: .1em;
    }

    .poster-photo small {
        font-size: .42rem;
    }

    .poster-photo > span {
        font-size: .5rem;
    }

    .shelf-sketch,
    .shop-sketch {
        inset:
            24px
            18px
            58px;
    }

    .shelf-sketch i:nth-child(1) { height: 42px; }
    .shelf-sketch i:nth-child(2) { height: 56px; }
    .shelf-sketch i:nth-child(3) { height: 36px; }
    .shelf-sketch i:nth-child(4) { height: 50px; }

    .shelf-sketch b {
        height: 26px;
    }

    .shop-sketch i {
        top: -12px;
        height: 26px;
    }


    /* Footer */

    .poster-footer {
        font-size: .4rem;

        letter-spacing: .06em;
    }

    .poster-footer i {
        font-size: .7rem;
    }
}


/* =========================================================
   21. 超小屏幕
   ========================================================= */

@media (max-width: 420px) {

    .bookstore-poster {
        padding-left: 18px;
        padding-right: 18px;
    }

    .poster-title-handwriting {
        width: min(98vw, 420px);
    }

    .poster-intro {
        width: 86%;
        gap: 10px 12px;
        padding: 16px 0;
    }

    .poster-intro > p {
        font-size: .54rem;
        line-height: 1.7;
    }

    .poster-map-area {
        width: 86%;
        padding: 18px 0 14px;
    }

    .reading-map svg {
        max-height: 180px;
    }

    .poster-bottom {
        width: 78%;
        max-width: 240px;
        gap: 14px;
    }

    .poster-photo {
        min-height: 156px;
        padding: 12px 14px 12px;
    }

    .poster-data {
        gap: 5px;
    }

    .poster-stat strong {
        font-size: 1.5rem;
    }

    .poster-stat span {
        font-size: .41rem;
    }

    .poster-photo strong {
        font-size: .62rem;
    }
}


@media (max-height: 520px) and (orientation: landscape) {
    .poster-masthead {
        min-height: calc(100vh - var(--poster-pad-top, 52px));
        min-height: calc(100svh - var(--poster-pad-top, 52px));
        padding: 16px 8% 20px;
    }

    .poster-title-handwriting {
        width: min(88vw, 560px);
        max-height: 42vh;
    }

    .poster-kicker {
        margin-bottom: 36px;
    }

    .poster-subtitle {
        margin-top: 44px;
    }

    .poster-title-wrap {
        transform: translateY(-2vh);
    }
}


/* =========================================================
   22. 海报 → 金句：回形针 / 胶带粘合
   ========================================================= */

body.poster-home .bookstore-poster {
    padding-bottom: clamp(48px, 5.6vw, 80px);
}

body.poster-home .quote-section.narrative-chapter {
    margin-top: -22px;
    padding-top: clamp(96px, 12vw, 128px);
    overflow: visible;
    z-index: 2;
}

body.poster-home .quote-section.narrative-chapter > .narrative-soft-edge:not(.narrative-soft-edge--bottom) {
    display: none;
}

body.poster-home .paper-seam {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0;
    z-index: 8;
    pointer-events: none;
}

body.poster-home .paper-seam::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 18px;
    transform: translateY(-70%);
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(73, 51, 101, .045) 55%,
        transparent 100%
    );
}

body.poster-home .paper-seam__clip,
body.poster-home .paper-seam__tape {
    position: absolute;
    top: 0;
    display: block;
}

body.poster-home .paper-seam__clip {
    width: 26px;
    transform: translate(-50%, -46%);
}

body.poster-home .paper-seam__clip svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

body.poster-home .paper-seam__clip--left {
    left: 11%;
    width: 24px;
    transform: translate(-50%, -46%) rotate(-17deg);
}

body.poster-home .paper-seam__clip--right {
    left: 87%;
    width: 28px;
    transform: translate(-50%, -48%) rotate(13deg) scaleX(-1);
}

body.poster-home .paper-seam__tape {
    height: 30px;
    mix-blend-mode: multiply;
    transform-origin: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 36' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M1.4 7.1 3.8 1.6 7.4 5.4 10.8.8 14.6 5 18.2 1.4 21.6 4.6 78.4 4.2 82 .9 85.6 5.2 89.4.7 92.8 5.4 96.4 1.8 98.6 7.2v21.6l-2.2 5.4-3.6-3.6-3.4 4.6-3.8-4.2-3.6 4.8-3.6-3.4-56.8.4-3.4 3.2-3.6-3.8-3.8 4.4-3.4-4.6-3.6 3.6-2.2-5.4z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 36' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M1.4 7.1 3.8 1.6 7.4 5.4 10.8.8 14.6 5 18.2 1.4 21.6 4.6 78.4 4.2 82 .9 85.6 5.2 89.4.7 92.8 5.4 96.4 1.8 98.6 7.2v21.6l-2.2 5.4-3.6-3.6-3.4 4.6-3.8-4.2-3.6 4.8-3.6-3.4-56.8.4-3.4 3.2-3.6-3.8-3.8 4.4-3.4-4.6-3.6 3.6-2.2-5.4z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
}

body.poster-home .paper-seam__tape::before,
body.poster-home .paper-seam__tape::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

body.poster-home .paper-seam__tape::before {
    background:
        linear-gradient(
            180deg,
            rgba(255, 248, 232, .38) 0%,
            transparent 34%,
            transparent 68%,
            rgba(90, 62, 28, .12) 100%
        );
}

body.poster-home .paper-seam__tape::after {
    opacity: .22;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 80 36' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='80' height='36' filter='url(%23t)' opacity='.55'/%3E%3C/svg%3E");
}

body.poster-home .paper-seam__tape--kraft {
    left: 29%;
    width: 86px;
    height: 32px;
    background: linear-gradient(
        180deg,
        rgba(232, 208, 162, .78) 0%,
        rgba(201, 164, 108, .64) 46%,
        rgba(176, 136, 82, .7) 100%
    );
    box-shadow:
        0 1px 3px rgba(73, 51, 101, .12),
        inset 0 1px 0 rgba(255, 246, 224, .28);
    transform: translate(-50%, -50%) rotate(-10deg);
}

body.poster-home .paper-seam__tape--washi {
    left: 58%;
    width: 74px;
    height: 28px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(73, 51, 101, .16) 0 1.4px,
            rgba(244, 232, 206, .58) 1.4px 8px
        );
    box-shadow:
        0 1px 3px rgba(73, 51, 101, .1),
        inset 0 1px 0 rgba(255, 255, 248, .3);
    transform: translate(-50%, -50%) rotate(8deg);
}

@media (max-width: 900px) {
    body.poster-home .paper-seam__clip--left {
        left: 13%;
        width: 22px;
    }

    body.poster-home .paper-seam__clip--right {
        left: 86%;
        width: 24px;
    }

    body.poster-home .paper-seam__tape--kraft {
        left: 32%;
        width: 72px;
        height: 28px;
    }

    body.poster-home .paper-seam__tape--washi {
        left: 60%;
        width: 62px;
        height: 24px;
    }
}

body.poster-home .main-header,
body.poster-home .main-header.is-over-light {
    background: color-mix(in srgb, var(--poster-paper) 88%, transparent);
    border-bottom-color: var(--poster-soft);
    box-shadow: none;
}

body.poster-home #loading-ink {
    background: var(--poster-paper);
}

body.poster-home .narrative-atmosphere {
    background:
        radial-gradient(
            ellipse 70% 45% at 18% calc(12% + var(--flow) * 68%),
            rgba(73, 51, 101, .04),
            transparent 58%
        ),
        radial-gradient(
            ellipse 65% 40% at 82% calc(88% - var(--flow) * 70%),
            rgba(73, 51, 101, .035),
            transparent 55%
        );
}

body.poster-home .bookstore-poster,
body.poster-home .quote-section.narrative-chapter,
body.poster-home .bg-background,
body.poster-home .bg-background.narrative-chapter,
body.poster-home .bc-journey-section,
body.poster-home .bc-journey-section.narrative-chapter,
body.poster-home .horizontal-scroll-section.narrative-chapter,
body.poster-home .center-text-section.narrative-chapter,
body.poster-home #pageFooter {
    --seam-from: var(--poster-paper);
    --seam-to: var(--poster-paper);
    background: transparent;
}

body.poster-home .poster-grain {
    display: none;
}

body.poster-home .bc-journey-section.narrative-chapter::before,
body.poster-home .quote-section.narrative-chapter > .narrative-soft-edge,
body.poster-home .narrative-soft-edge {
    background: none;
}

body.poster-home #pageFooter {
    border-top-color: var(--poster-soft);
    color: color-mix(in srgb, var(--poster-ink) 78%, #eadbb6);
}

body.poster-home .bg-background.narrative-chapter .testimonial-item {
    background: color-mix(in srgb, var(--poster-paper) 82%, #fff);
    border-color: var(--poster-soft);
}

body.poster-home .bg-background.narrative-chapter .testimonial-item:hover {
    background: color-mix(in srgb, var(--poster-paper) 70%, #fff);
    border-color: var(--poster-faint);
}

body.poster-home .horizontal-scroll-section.narrative-chapter .photo-item {
    background: color-mix(in srgb, var(--poster-paper) 78%, #fff);
    width: 420px;
    height: 280px;
}

body.poster-home .horizontal-scroll-section .scroll-content {
    gap: 24px;
}

body.poster-home .narrative-thread-layer {
    display: none;
}


@media (max-width: 1024px) {
    body.poster-home .horizontal-scroll-section .photo-item {
        width: 350px;
        height: 245px;
    }
}

@media (max-width: 768px) {
    body.poster-home .main-header.is-over-light {
        background: color-mix(in srgb, var(--poster-paper) 92%, transparent);
    }

    /* 第二～四模块：收窄内容，四周留纸边 */
    body.poster-home .quote-section.narrative-chapter {
        margin-top: -12px;
        padding: 76px 28px 32px;
    }

    body.poster-home .quote-section .quote-container {
        max-width: 34em;
        margin: 0 auto;
        padding: 0 4px;
    }

    body.poster-home .highlight-quote {
        font-size: 1.08rem;
        line-height: 1.9;
        letter-spacing: 0.04em;
    }

    body.poster-home .bg-background.narrative-chapter {
        padding: 20px 0 14px;
    }

    body.poster-home .bg-background .container {
        padding-left: 0;
        padding-right: 0;
        max-width: none;
    }

    body.poster-home .testimonials-wrapper {
        height: auto !important;
        max-height: none;
        margin: 0;
        padding: 10px 0 !important;
        overflow-x: hidden !important;
    }

    body.poster-home .testimonials-grid-container {
        gap: 12px !important;
        padding: 0 32px !important;
    }

    body.poster-home .testimonial-row {
        gap: 12px !important;
    }

    body.poster-home .testimonial-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        box-sizing: border-box;
        width: 168px !important;
        min-width: 168px !important;
        max-width: 168px !important;
        min-height: 0;
        padding: 12px 12px 10px !important;
        border-radius: 8px;
    }

    body.poster-home .testimonial-text {
        font-size: 0.72rem;
        line-height: 1.65;
        margin-bottom: 8px;
    }

    body.poster-home .testimonial-name {
        font-size: 0.78rem;
    }

    body.poster-home .testimonial-role {
        font-size: 0.68rem;
    }

    body.poster-home .testimonial-button-container {
        margin-top: 14px !important;
        margin-bottom: 6px !important;
    }

    /* 漂流：两侧留白 + 字号收一档 */
    body.poster-home .bc-journey-section,
    body.poster-home .bc-journey-section.narrative-chapter {
        padding: 28px 28px 36px;
    }

    body.poster-home .bc-journey-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    body.poster-home .bc-journey-head {
        margin-bottom: 18px;
    }

    body.poster-home .bc-journey-title {
        font-size: 1.12rem;
        line-height: 1.4;
    }

    body.poster-home .bc-journey-title::after {
        width: 56px;
        margin-top: 12px;
    }

    body.poster-home .bc-journey-lead {
        margin-top: 10px;
        font-size: 0.78rem;
        line-height: 1.7;
    }

    body.poster-home .bc-journey-summary {
        font-size: 0.8rem !important;
        line-height: 1.65 !important;
        margin-bottom: 16px !important;
        padding-left: 12px !important;
    }

    body.poster-home .bc-journey-trail {
        padding-left: 14px;
        margin-left: 10px;
    }

    body.poster-home .bc-trail-item {
        padding-bottom: 18px;
    }

    body.poster-home .bc-trail-marker {
        left: -18px;
        width: 8px;
        height: 8px;
    }

    body.poster-home .bc-trail-meta {
        font-size: 0.68rem;
    }

    body.poster-home .bc-trail-title {
        font-size: 0.9rem;
    }

    body.poster-home .bc-trail-desc {
        font-size: 0.76rem;
        line-height: 1.55;
    }

    body.poster-home .bc-journey-stat-name {
        font-size: 0.8rem;
    }

    body.poster-home .bc-journey-stat-hint {
        font-size: 0.68rem;
    }

    body.poster-home .bc-journey-stat-num {
        font-size: 0.88rem;
    }

    body.poster-home .bc-journey-stat {
        padding: 12px 0;
    }

    body.poster-home .bc-journey-foot {
        margin-top: 28px;
    }

    body.poster-home .bc-journey-link {
        width: auto;
        min-width: 0;
        min-height: 42px;
        padding: 8px 18px;
        font-size: 0.82rem;
    }

    body.poster-home .bc-journey-updated {
        font-size: 0.7rem;
    }

    /* 照片墙：覆盖全局 a/img 的 inline-flex、height:auto，避免塌缩变形 */
    body.poster-home .horizontal-scroll-section {
        padding: 32px 0 28px;
    }

    body.poster-home .horizontal-scroll-section .scroll-title {
        margin-bottom: 16px !important;
        padding: 0 28px;
        font-size: 1.22rem !important;
        line-height: 1.45;
    }

    body.poster-home .horizontal-scroll-section .horizontal-scroll {
        padding: 10px 0;
    }

    body.poster-home .horizontal-scroll-section .scroll-content {
        padding: 0 24px !important;
        gap: 14px !important;
        align-items: center;
    }

    body.poster-home .horizontal-scroll-section .photo-item,
    body.poster-home .horizontal-scroll-section.narrative-chapter .photo-item {
        display: block !important;
        position: relative;
        flex: 0 0 auto;
        align-items: stretch;
        justify-content: stretch;
        width: 210px;
        height: 148px !important;
        min-width: 210px !important;
        min-height: 148px !important;
        overflow: hidden;
        border-radius: 8px;
        transform: none;
    }

    body.poster-home .horizontal-scroll-section .photo-item img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        max-width: none;
        height: 100% !important;
        object-fit: cover;
        object-position: center;
        transform: none;
    }

    body.poster-home .horizontal-scroll-section .photo-item:hover,
    body.poster-home .horizontal-scroll-section .photo-item:active,
    body.poster-home .horizontal-scroll-section .photo-item:hover img {
        transform: none;
    }

    body.poster-home .horizontal-scroll-section .photo-item::after {
        opacity: 0;
        height: 42%;
        background: linear-gradient(to top, rgba(33, 24, 18, 0.62) 0%, transparent 100%);
    }

    body.poster-home .horizontal-scroll-section .photo-item:active::after,
    body.poster-home .horizontal-scroll-section .photo-item:hover::after {
        opacity: 1;
    }

    body.poster-home .horizontal-scroll-section .photo-caption {
        transform: translateY(100%);
        padding: 10px 12px;
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    body.poster-home .horizontal-scroll-section .photo-item:active .photo-caption,
    body.poster-home .horizontal-scroll-section .photo-item:hover .photo-caption {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    body.poster-home .quote-section.narrative-chapter {
        padding: 72px 22px 28px;
    }

    body.poster-home .highlight-quote {
        font-size: 0.98rem;
        line-height: 1.85;
    }

    body.poster-home .bg-background.narrative-chapter {
        padding: 14px 0 8px;
    }

    body.poster-home .testimonials-grid-container {
        padding: 0 26px !important;
        gap: 10px !important;
    }

    body.poster-home .testimonial-row {
        gap: 10px !important;
    }

    body.poster-home .testimonial-item {
        width: 152px !important;
        min-width: 152px !important;
        max-width: 152px !important;
        padding: 10px 10px 8px !important;
    }

    body.poster-home .testimonial-text {
        font-size: 0.68rem;
        line-height: 1.6;
    }

    body.poster-home .bc-journey-section,
    body.poster-home .bc-journey-section.narrative-chapter {
        padding: 24px 26px 32px;
    }

    body.poster-home .bc-journey-title {
        font-size: 1.04rem;
    }

    body.poster-home .bc-journey-lead {
        font-size: 0.74rem;
    }

    body.poster-home .bc-journey-summary {
        font-size: 0.76rem !important;
    }

    body.poster-home .bc-trail-title {
        font-size: 0.84rem;
    }

    body.poster-home .bc-trail-desc {
        font-size: 0.72rem;
    }

    body.poster-home .horizontal-scroll-section .scroll-title {
        font-size: 1.08rem !important;
        padding: 0 22px;
    }

    body.poster-home .horizontal-scroll-section .photo-item,
    body.poster-home .horizontal-scroll-section.narrative-chapter .photo-item {
        width: 188px;
        height: 132px !important;
        min-width: 188px !important;
        min-height: 132px !important;
    }
}

@media (max-width: 360px) {
    body.poster-home .horizontal-scroll-section .photo-item,
    body.poster-home .horizontal-scroll-section.narrative-chapter .photo-item {
        width: 172px;
        height: 120px !important;
        min-width: 172px !important;
        min-height: 120px !important;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    body.poster-home .horizontal-scroll-section .photo-item,
    body.poster-home .horizontal-scroll-section.narrative-chapter .photo-item {
        width: 168px;
        height: 118px !important;
        min-width: 168px !important;
        min-height: 118px !important;
    }
}

@media (max-width: 640px) {
    body.poster-home .quote-section.narrative-chapter {
        margin-top: -16px;
        padding-top: 80px;
    }

    body.poster-home .paper-seam__clip--left {
        left: 14%;
        width: 20px;
        transform: translate(-50%, -46%) rotate(-14deg);
    }

    body.poster-home .paper-seam__clip--right {
        left: 84%;
        width: 22px;
        transform: translate(-50%, -48%) rotate(11deg) scaleX(-1);
    }

    body.poster-home .paper-seam__tape--kraft {
        left: 48%;
        width: 68px;
        height: 26px;
        transform: translate(-50%, -50%) rotate(-7deg);
    }

    body.poster-home .paper-seam__tape--washi {
        display: none;
    }
}


/* =========================================================
   23. 减少动画模式
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .poster-photo,
    .map-callout,
    .poster-link {
        transition: none;
    }

    .poster-rise,
    .poster-rise.is-in {
        opacity: 1;
        translate: none;
        transition: none;
    }
}


/* =========================================================
   24. Section Navigation · 编辑式进度轨
   ========================================================= */

body.poster-home .narrative-rail {
    right: 52px;
    gap: 0;
}

body.poster-home .narrative-rail-track {
    right: 4px;
    width: 1px;
    background: rgba(64, 49, 107, .12);
}

body.poster-home .narrative-rail-progress {
    background: rgba(64, 49, 107, .42);
}

body.poster-home .narrative-rail-list {
    gap: 16px;
    align-items: flex-end;
}

body.poster-home .narrative-rail-item {
    position: relative;
    min-height: 18px;
    gap: 8px;
}

body.poster-home .narrative-rail-index {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .58rem;
    letter-spacing: .12em;
    color: var(--poster-ink-soft);
    opacity: 0;
    transform: translateX(4px);
    transition:
        opacity .35s var(--poster-ease),
        transform .35s var(--poster-ease),
        color .35s ease;
    pointer-events: none;
}

body.poster-home .narrative-rail-label {
    font-size: .62rem;
    letter-spacing: .16em;
    color: var(--poster-ink-faint);
    opacity: 0;
    transform: translateX(6px);
    transition:
        opacity .35s var(--poster-ease),
        transform .35s var(--poster-ease),
        color .35s ease;
}

/* 默认只显示圆点；当前章节显示序号；单项 hover 显示名称 */
body.poster-home .narrative-rail:hover .narrative-rail-label {
    opacity: 0;
    transform: translateX(6px);
}

body.poster-home .narrative-rail-item.is-active .narrative-rail-index {
    opacity: .9;
    transform: translateX(0);
    color: var(--poster-ink);
}

body.poster-home .narrative-rail-item:hover .narrative-rail-label {
    opacity: .88;
    transform: translateX(0);
    color: var(--poster-ink-soft);
}

body.poster-home .narrative-rail-item.is-active .narrative-rail-label {
    opacity: 0;
}

body.poster-home .narrative-rail-item.is-active:hover .narrative-rail-label {
    opacity: .9;
    color: var(--poster-ink);
}

body.poster-home .narrative-rail-dot {
    width: 7px;
    height: 7px;
    border: 1px solid rgba(64, 49, 107, .28);
    background: rgba(234, 219, 182, .55);
    opacity: .5;
    box-shadow: none;
    transition:
        transform .4s var(--poster-ease),
        background .4s ease,
        border-color .4s ease,
        opacity .4s ease;
}

body.poster-home .narrative-rail-item.is-active .narrative-rail-dot {
    background: var(--poster-ink);
    border-color: var(--poster-ink);
    opacity: 1;
    transform: scale(1.18);
    box-shadow: none;
}

body.poster-home .narrative-rail-item.is-passed .narrative-rail-dot {
    background: rgba(64, 49, 107, .38);
    border-color: rgba(64, 49, 107, .38);
    opacity: .72;
}

body.poster-home .narrative-rail-item:hover .narrative-rail-dot {
    opacity: .85;
}

/* 首屏同样保持深紫墨色轨，不做高对比反白 */
html.narrative-on-hero body.poster-home .narrative-rail-track {
    background: rgba(64, 49, 107, .12);
}

html.narrative-on-hero body.poster-home .narrative-rail-progress {
    background: rgba(64, 49, 107, .42);
}

html.narrative-on-hero body.poster-home .narrative-rail-dot {
    border-color: rgba(64, 49, 107, .28);
    background: rgba(234, 219, 182, .55);
}

html.narrative-on-hero body.poster-home .narrative-rail-item.is-active .narrative-rail-dot,
html.narrative-on-hero body.poster-home .narrative-rail-item.is-passed .narrative-rail-dot {
    background: var(--poster-ink);
    border-color: var(--poster-ink);
}

html.narrative-on-hero body.poster-home .narrative-rail-label,
html.narrative-on-hero body.poster-home .narrative-rail-item.is-active .narrative-rail-label {
    color: var(--poster-ink-soft);
}


/* =========================================================
   25. 左下角聊天按钮 · 品牌化
   ========================================================= */

body.poster-home .chat-widget.minimized {
    width: 54px;
    height: 54px;
    bottom: 28px;
    left: 28px;
    background: rgba(247, 242, 222, .9) !important;
    border: 1px solid rgba(64, 49, 107, .14) !important;
    box-shadow: 0 6px 18px rgba(64, 49, 107, .08) !important;
    transform: scale(1) translateY(0);
    transition:
        transform .5s var(--poster-ease),
        box-shadow .5s var(--poster-ease),
        background .5s ease,
        border-color .5s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

body.poster-home .chat-widget.minimized .bubble-icon {
    color: var(--poster-ink) !important;
    font-size: 20px;
    text-shadow: none;
    transition: opacity .4s var(--poster-ease), transform .4s var(--poster-ease);
}

body.poster-home .chat-widget.minimized::after {
    content: 'Contact';
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(4px);
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(247, 242, 222, .94);
    border: 1px solid rgba(64, 49, 107, .12);
    color: var(--poster-ink);
    font:
        500 .62rem/1
        Georgia,
        'Noto Serif SC',
        serif;
    letter-spacing: .14em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(64, 49, 107, .06);
    transition:
        opacity .45s var(--poster-ease),
        transform .45s var(--poster-ease);
}

body.poster-home .chat-widget.minimized:hover {
    transform: scale(1.05) translateY(-2px);
    background: rgba(247, 242, 222, .98) !important;
    border-color: rgba(64, 49, 107, .22) !important;
    box-shadow: 0 10px 24px rgba(64, 49, 107, .12) !important;
}

body.poster-home .chat-widget.minimized:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 760px) {
    body.poster-home .narrative-rail {
        display: none;
    }

    body.poster-home .header-brand {
        gap: 14px;
    }

    body.poster-home .header-brand .logo,
    body.poster-home #logoBox {
        width: 72px;
        height: 60px;
    }

    body.poster-home .chat-widget.minimized {
        width: 48px;
        height: 48px;
        bottom: 20px;
        left: 18px;
    }

    body.poster-home .chat-widget.minimized::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.poster-home .chat-widget.minimized,
    body.poster-home .chat-widget.minimized::after,
    body.poster-home .narrative-rail-dot,
    body.poster-home .narrative-rail-index,
    body.poster-home .narrative-rail-label {
        transition: none;
    }
}