/* Core Loop Press field guides: one spread, six languages. Layered on top of /assets/css/site.css. */
@font-face { font-family: "EB Garamond"; src: url("fonts/ebgaramond-roman.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("fonts/ebgaramond-italic.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("fonts/librefranklin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Garamond Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 94%; ascent-override: 102%; descent-override: 30%; }

.fg-body {
  --paper: #f4eee2; --paper-2: #ece4d4; --ink: #161412; --ink-2: #3a352f; --ver: #e5482b; --ver-ink: #c23a20;
  --mute: #6f675c; --rule: #cfc5b4; --hdr: 94px;
  --ed-serif: "EB Garamond", "Garamond Fallback", Georgia, serif;
  --ed-sans: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gut: clamp(20px, 4vw, 40px);
  overflow-x: clip;
}
html:lang(zh-Hans) .fg-body { --ed-serif: "EB Garamond", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", serif; }
html:lang(ja) .fg-body { --ed-serif: "EB Garamond", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif CJK JP", "Source Han Serif JP", serif; }
.fg [lang="zh-Hans"] { font-family: "EB Garamond", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif; }
.fg [lang="ja"] { font-family: "EB Garamond", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fg { color: var(--ink); display: block; }
.fg > .fg-langs, .fg > .hero, .fg > .shelf, .fg > .downloads, .fg > .publishers { width: 100vw; margin-inline: calc(50% - 50vw); overflow-x: clip; }
.fg :focus-visible { outline: 3px solid var(--ver); outline-offset: 3px; border-radius: 3px; }
.fg-wrap { width: min(100% - 2 * var(--gut), 1200px); margin-inline: auto; }
.eyebrow-sc { margin: 0 0 14px; font: 600 11.5px/1.3 var(--ed-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ver-ink); }
html:lang(zh-Hans) .eyebrow-sc, html:lang(ja) .eyebrow-sc { letter-spacing: .12em; }

/* language bar */
.fg-langs { border-bottom: 1px solid var(--surface-border); background: var(--background); }
.fg-langs .fg-wrap { height: 42px; align-items: center; display: flex; justify-content: flex-end; gap: clamp(12px, 2.4vw, 26px); padding: 9px 0; overflow-x: auto; scrollbar-width: none; }
.fg-langs a { font: 500 13.5px/1.4 var(--ed-sans); color: var(--mute); text-decoration: none; white-space: nowrap; padding: 2px 0; border-bottom: 1px solid transparent; }
.fg-langs a:hover { color: var(--ink); border-color: var(--rule); }
.fg-langs a[aria-current="page"] { color: var(--ink); border-color: var(--ver); }
.fg-langs a[lang="zh-Hans"], .fg-langs a[lang="ja"] { font-family: "Libre Franklin", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", sans-serif; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; background-color: var(--paper);
  background-image: radial-gradient(rgba(22, 20, 18, .045) 1px, transparent 1.2px); background-size: 4px 4px;
  border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.5fr);
  column-gap: clamp(28px, 4vw, 72px);
  padding-inline: max(var(--gut), calc((100vw - 1320px) / 2));
}
.hero-intro { align-self: start; position: sticky; top: calc(var(--hdr) + 7vh); padding: 7vh 0 6vh; }
.hero h1 { font: 500 clamp(44px, 5.2vw, 76px)/0.98 var(--ed-serif); letter-spacing: -0.012em; margin: 0 0 22px; text-wrap: balance; }
html:lang(zh-Hans) .hero h1, html:lang(ja) .hero h1 { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.22; letter-spacing: 0.02em; font-weight: 600; }
.ph { display: inline-block; }
.dek { font: 400 clamp(18px, 1.45vw, 21px)/1.48 var(--ed-serif); color: var(--ink-2); margin: 0 0 30px; max-width: 34em; text-wrap: pretty; }
html:lang(zh-Hans) .dek, html:lang(ja) .dek { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.85; }
.now { display: grid; gap: 2px; border-top: 1px solid var(--ink); padding-top: 14px; max-width: 360px; }
.now-label, .now-count { font: 600 10.5px/1.4 var(--ed-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
html:lang(zh-Hans) .now-label, html:lang(ja) .now-label, html:lang(zh-Hans) .now-count, html:lang(ja) .now-count { letter-spacing: .08em; }
.now-name { font: italic 500 clamp(40px, 4vw, 58px)/1.05 var(--ed-serif); color: var(--ver); min-height: 1.1em; transition: opacity .25s ease; }
.now-name[lang="zh-Hans"], .now-name[lang="ja"] { font-style: normal; font-weight: 600; }
.auto-note { margin: 14px 0 0; font: 500 13px/1.45 var(--ed-sans); color: var(--mute); }
.auto-note b { color: var(--ink); font-weight: 600; }

.hero-track { position: relative; }
@media (prefers-reduced-motion: no-preference) { .js .hero-track { height: calc(100svh * (1 + (var(--n) - 1) * 0.55)); } .js .hero-track .stage { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); min-height: 520px; } }
.stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 4vh 0 3vh; }

.spread {
  position: relative; width: min(100%, calc((100svh - var(--hdr) - 210px) * var(--k))); aspect-ratio: var(--k);
  min-width: 280px; isolation: isolate;
}
.spread::before { content: ""; position: absolute; inset: 0; z-index: -1; box-shadow: 0 1px 2px rgba(40, 28, 16, .12), 0 18px 50px -12px rgba(40, 28, 16, .35), 0 50px 90px -40px rgba(40, 28, 16, .35); }
.layer { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.layer + .layer {
  --p: -8; --e: 7;
  -webkit-mask-image: linear-gradient(90deg, #000 calc((var(--p) - var(--e)) * 1%), transparent calc((var(--p) + var(--e)) * 1%));
  mask-image: linear-gradient(90deg, #000 calc((var(--p) - var(--e)) * 1%), transparent calc((var(--p) + var(--e)) * 1%));
}
.layer.is-off { visibility: hidden; }
.layer.is-full { -webkit-mask-image: none; mask-image: none; }
.layer .pg, .layer .pg img { display: block; width: 100%; height: 100%; }
.layer .pg img { object-fit: cover; }
.layer .ghost img { filter: grayscale(1) contrast(.7) brightness(1.12); opacity: .28; }
.gutter { position: absolute; top: 0; bottom: 0; left: 50%; width: 9%; transform: translateX(-50%); pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(30, 20, 10, .07) 38%, rgba(30, 20, 10, .2) 49.5%, rgba(255, 255, 255, .18) 50.5%, rgba(30, 20, 10, .06) 62%, transparent); }
.slip {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: min(78%, 360px); translate: -50% -50%; rotate: -2.2deg;
  background: #fffdf8; padding: 26px 28px 22px; display: grid; gap: 6px; text-align: left;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05), 0 14px 34px -10px rgba(40, 28, 16, .35);
  background-image: linear-gradient(var(--ver), var(--ver)), linear-gradient(var(--ver), var(--ver)), linear-gradient(var(--ver), var(--ver)), linear-gradient(var(--ver), var(--ver));
  background-size: 14px 1.5px, 1.5px 14px, 14px 1.5px, 1.5px 14px; background-repeat: no-repeat;
  background-position: 8px 8px, 8px 8px, calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) calc(100% - 8px);
}
.slip-lang { font: 500 clamp(30px, 3.6vw, 48px)/1.05 var(--ed-serif); }
.slip-state { font: 700 11px/1.3 var(--ed-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ver-ink); }
.slip[lang="zh-Hans"] .slip-state, .slip[lang="ja"] .slip-state { letter-spacing: .1em; font-family: "Libre Franklin", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", sans-serif; }
.slip-note { font: italic 400 16px/1.4 var(--ed-serif); color: var(--mute); }
.slip[lang="zh-Hans"] .slip-note, .slip[lang="ja"] .slip-note { font-style: normal; font-size: 14px; }

.scanline { position: absolute; z-index: 4; top: -14px; bottom: -14px; left: 0; width: 100%; pointer-events: none; opacity: var(--so, 0); transform: translateX(calc(var(--sp, 0) * 1%)); will-change: transform; }
.scanline::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--ver); box-shadow: 0 0 0 1px rgba(229, 72, 43, .12), 0 0 18px rgba(229, 72, 43, .45); }
.scanline span { position: absolute; top: -12px; left: 0; translate: calc(var(--sp, 0) * -1%) -100%; white-space: nowrap; background: var(--ver); color: #fff; font: 600 11px/1 var(--ed-sans); letter-spacing: .08em; padding: 6px 8px 5px; border-radius: 3px; }
.caption { margin: 8px 0 0; font: italic 400 15.5px/1.4 var(--ed-serif); color: var(--mute); text-align: center; }
html:lang(zh-Hans) .caption, html:lang(ja) .caption { font-style: normal; font-size: 14px; }

/* dial: a type ruler with a moving needle */
.dial { width: min(100%, 660px); margin-top: 6px; --t: 0; }
.dial-ruler { position: relative; height: 16px; margin: 0 calc(50% / var(--n)); 
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 100%) 0 100% / calc(100% / 25) 5px repeat-x,
              linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat; }
.dial-ruler::before { content: ""; position: absolute; inset: auto 0 0 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 100%) 0 100% / calc(100% / (var(--n) - 1) - 0.01px) 10px repeat-x; }
.needle { position: absolute; bottom: 0; left: 0; width: 100%; height: 22px; pointer-events: none; transform: translateX(calc(var(--t) / (var(--n) - 1) * 100%)); will-change: transform; }
.needle::before { content: ""; position: absolute; left: -1px; bottom: 0; width: 2px; height: 22px; background: var(--ver); }
.needle::after { content: ""; position: absolute; top: -6px; left: 0; translate: -50% 0; border: 5px solid transparent; border-top: 6px solid var(--ver); }
.dial-opts { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.dial-opt {
  appearance: none; border: 0; background: none; color: var(--mute); cursor: pointer; padding: 10px 2px 4px; margin: 0;
  display: grid; justify-items: center; gap: 2px; font: 500 17px/1.2 var(--ed-serif); border-radius: 4px; transition: color .2s ease;
}
.dial-opt:hover { color: var(--ink); }
.dial-opt[aria-checked="true"] { color: var(--ink); }
.dial-opt[aria-checked="true"] .dial-name { box-shadow: inset 0 -1.5px 0 var(--ver); }
.dial-state { font: 600 8.5px/1.2 var(--ed-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); opacity: .8; }
html:lang(zh-Hans) .dial-state, html:lang(ja) .dial-state { letter-spacing: .04em; font-size: 9.5px; }
.hint { margin: 4px 0 0; font: 600 10.5px/1.4 var(--ed-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 8px; }
html:lang(zh-Hans) .hint, html:lang(ja) .hint { letter-spacing: .08em; }
.hint .hint-tap { display: none; }
.hint .hint-scroll::after { content: " \2193"; display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
.no-scroll-morph .hint .hint-scroll { display: none; }
.no-scroll-morph .hint .hint-tap { display: inline; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* ---------------------------------------------------------------- sections */
.sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font: 500 clamp(34px, 3.6vw, 50px)/1.04 var(--ed-serif); margin: 0 0 12px; letter-spacing: -0.01em; }
html:lang(zh-Hans) .sec-head h2, html:lang(ja) .sec-head h2 { font-weight: 600; line-height: 1.25; letter-spacing: .02em; }
.sec-dek { font: 400 19px/1.5 var(--ed-serif); color: var(--ink-2); margin: 0; }
html:lang(zh-Hans) .sec-dek, html:lang(ja) .sec-dek { font-size: 16px; line-height: 1.8; }
.shelf { padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.decks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.deck-card { display: grid; gap: 26px; align-content: start; }
.deck { position: relative; height: clamp(240px, 24vw, 330px); margin-bottom: 18px; --mid: calc((var(--n) - 1) / 2); }
.leaf {
  position: absolute; bottom: 0; left: 50%; height: 100%; aspect-ratio: var(--ar); padding: 0; border: 0; margin: 0; cursor: pointer;
  background: var(--paper); translate: -50% 0; transform-origin: 50% 115%;
  rotate: calc((var(--i) - var(--mid)) * -1.6deg);
  box-shadow: 0 1px 1px rgba(40, 28, 16, .12), 0 10px 26px -10px rgba(40, 28, 16, .4);
  transition: rotate .75s cubic-bezier(.2, .75, .2, 1), translate .75s cubic-bezier(.2, .75, .2, 1), box-shadow .3s ease;
}
.leaf img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deck.is-fanned .leaf, .deck-card:hover .leaf, .deck:focus-within .leaf {
  rotate: calc((var(--i) - var(--mid)) * 6deg);
  translate: calc(-50% + (var(--i) - var(--mid)) * 19%) 0;
}
.deck .leaf:hover, .deck .leaf:focus-visible { translate: calc(-50% + (var(--i) - var(--mid)) * 19%) -16px; box-shadow: 0 1px 1px rgba(40, 28, 16, .12), 0 22px 40px -14px rgba(40, 28, 16, .55); z-index: 9; }
.deck-copy { max-width: 470px; }
.kicker { margin: 0 0 8px; font: 600 11px/1.3 var(--ed-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
html:lang(zh-Hans) .kicker, html:lang(ja) .kicker { letter-spacing: .06em; }
.deck-title { font: 500 clamp(26px, 2.4vw, 32px)/1.12 var(--ed-serif); margin: 0 0 10px; }
.deck-desc { font: 400 17.5px/1.5 var(--ed-serif); color: var(--ink-2); margin: 0 0 20px; }
html:lang(zh-Hans) .deck-desc, html:lang(ja) .deck-desc { font-size: 15.5px; line-height: 1.8; }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: var(--button-radius, 6px); font: 600 14px/1 var(--ed-sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease, transform .2s ease; }
.btn-ink { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn-ink:hover { background: var(--ver-ink); border-color: var(--ver-ink); }
.btn-ink .arrow { transition: transform .25s ease; }
.btn-ink:hover .arrow { transform: translateX(3px); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.link-btn { white-space: nowrap; appearance: none; background: none; border: 0; padding: 6px 2px; color: var(--ink); font: 500 14px/1.2 var(--ed-sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.link-btn:hover { text-decoration-color: var(--ver); }

.downloads { padding: clamp(48px, 6vw, 90px) 0; background: #fffdf9; border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.dl-title { font: 500 24px/1.2 var(--ed-serif); margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.dl-list { list-style: none; margin: 0; padding: 0; }
.dl-list li { display: grid; grid-template-columns: minmax(96px, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); min-height: 64px; }
.dl-list li.is-current { background: linear-gradient(90deg, rgba(229, 72, 43, .07), transparent 70%); box-shadow: inset 2px 0 0 var(--ver); padding-left: 12px; }
.dl-lang { font: 500 20px/1.2 var(--ed-serif); }
.dl-meta { font: 500 13px/1.3 var(--ed-sans); color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl-actions { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.dl-list li[data-status="coming"] .dl-lang { color: var(--mute); }
.dl-list li[data-status="coming"] .dl-meta { font-style: normal; color: var(--ver-ink); letter-spacing: .02em; }
.chip { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ver); display: inline-block; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { background: var(--ver); } }

.publishers { padding: clamp(32px, 4vw, 48px) 0; }
.pub-inner { display: grid; grid-template-columns: 180px 1fr auto; gap: 18px 36px; align-items: baseline; border-top: 1px solid var(--ink); padding-top: 18px; }
.publishers .eyebrow-sc { margin: 0; color: var(--mute); }
.pub-text { margin: 0; font: 400 18px/1.5 var(--ed-serif); color: var(--ink-2); max-width: 46em; }
html:lang(zh-Hans) .pub-text, html:lang(ja) .pub-text { font-size: 15.5px; line-height: 1.8; }
.pub-links { margin: 0; display: flex; gap: 20px; flex-wrap: wrap; font: 500 14px/1.4 var(--ed-sans); }
.pub-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.pub-links a:hover { text-decoration-color: var(--ver); }

/* ---------------------------------------------------------------- reader */
.reader {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; inset: 0;
  background: #1c1a17; color: #f1ebdf; overflow: hidden;
  display: none; grid-template-rows: auto minmax(0, 1fr) auto;
  --ed-serif: "EB Garamond", "Garamond Fallback", Georgia, serif; --ed-sans: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.reader[open] { display: grid; }
.reader::backdrop { background: rgba(10, 9, 8, .6); }
.reader :focus-visible { outline: 3px solid #ff7a5c; outline-offset: 3px; border-radius: 3px; }
.rd-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px 24px; padding: 14px clamp(16px, 3vw, 32px); border-bottom: 1px solid rgba(241, 235, 223, .12); }
.rd-kicker { margin: 0; font: 600 10.5px/1.3 var(--ed-sans); letter-spacing: .2em; text-transform: uppercase; color: #a89f92; }
.rd-title { margin: 2px 0 0; font: 500 21px/1.2 var(--ed-serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-langs { display: flex; gap: 2px; background: rgba(241, 235, 223, .07); border-radius: 999px; padding: 3px; }
.rd-langs button { appearance: none; border: 0; background: none; color: #cfc6b8; font: 500 14px/1 var(--ed-serif); padding: 8px 11px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.rd-langs button[aria-checked="true"] { background: #f1ebdf; color: #161412; }
.rd-langs button[aria-disabled="true"] { opacity: .38; cursor: not-allowed; }
.rd-actions { display: flex; align-items: center; gap: 10px; }
.reader .btn-line { color: #f1ebdf; border-color: rgba(241, 235, 223, .45); }
.reader .btn-line:hover { background: #f1ebdf; color: #161412; }
.rd-close { appearance: none; border: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(241, 235, 223, .1); color: #f1ebdf; font-size: 24px; line-height: 1; cursor: pointer; }
.rd-close:hover { background: rgba(241, 235, 223, .2); }
.rd-stage { position: relative; container-type: size; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.book { position: relative; aspect-ratio: var(--k, 1.5); width: min(100cqw - 140px, (100cqh - 40px) * var(--k, 1.5)); perspective: 2600px; }
.book.single { width: min(100cqw - 32px, (100cqh - 24px) * var(--k, .77)); }
.bk-page { position: absolute; top: 0; bottom: 0; width: 50%; background: #f4eee2; overflow: hidden; }
.bk-page.left { left: 0; box-shadow: -10px 16px 40px -18px rgba(0, 0, 0, .7); }
.bk-page.right { right: 0; box-shadow: 10px 16px 40px -18px rgba(0, 0, 0, .7); }
.bk-page.empty { background: transparent; box-shadow: none; }
.single .bk-page { width: 100%; }
.bk-page img, .bk-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-page.left::after, .bk-page.right::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7%; pointer-events: none; }
.bk-page.left::after { right: 0; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .14)); }
.bk-page.right::after { left: 0; background: linear-gradient(270deg, transparent, rgba(0, 0, 0, .16)); }
.single .bk-page::after { display: none; }
.bk-leaf { position: absolute; top: 0; bottom: 0; width: 50%; transform-style: preserve-3d; z-index: 5; will-change: transform; }
.single .bk-leaf { width: 100%; }
.bk-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #f4eee2; overflow: hidden; }
.bk-face.back { transform: rotateY(180deg); }
.bk-shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.bk-face.front .bk-shade { background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 60%); }
.bk-face.back .bk-shade { background: linear-gradient(270deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 60%); }
.rd-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 8; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(241, 235, 223, .25); background: rgba(28, 26, 23, .6); color: #f1ebdf; font-size: 22px; cursor: pointer; backdrop-filter: blur(6px); }
.rd-nav:hover { background: #f1ebdf; color: #161412; }
.rd-nav:disabled { opacity: .25; cursor: default; }
.rd-prev { left: clamp(10px, 2vw, 28px); }
.rd-next { right: clamp(10px, 2vw, 28px); }
.rd-foot { display: grid; justify-items: center; gap: 8px; padding: 10px 16px 14px; border-top: 1px solid rgba(241, 235, 223, .12); }
.rd-status { margin: 0; font: 500 13px/1.3 var(--ed-sans); color: #cfc6b8; font-variant-numeric: tabular-nums; }
.rd-strip { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; padding: 4px 4px 6px; scrollbar-width: thin; }
.rd-strip button { flex: none; appearance: none; padding: 0; border: 0; background: none; cursor: pointer; opacity: .55; transition: opacity .2s ease, transform .2s ease; border-radius: 2px; }
.rd-strip button:hover { opacity: .9; transform: translateY(-2px); }
.rd-strip button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px #ff7a5c; }
.rd-strip img { height: 52px; width: auto; display: block; }
.rd-hint { margin: 0; font: 400 12px/1.3 var(--ed-sans); color: #8d8478; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 959px) {
  .hero { grid-template-columns: 1fr; }
  .hero-intro { position: static; padding: 40px 0 8px; }
  .now { display: none; }
  .js .hero-track .stage { min-height: 0; padding: 12px 0 10px; }
  .spread { aspect-ratio: var(--k1); width: min(100%, calc((100svh - var(--hdr) - 190px) * var(--k1))); min-width: 0; }
  .layer { grid-template-columns: 1fr; }
  .layer .pg-b, .gutter { display: none; }
  .decks, .dl-grid { grid-template-columns: 1fr; }
  .pub-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .fg-body { --gut: 20px; }
  .fg-langs .fg-wrap { justify-content: flex-start; }
  .hero-intro { padding-top: 28px; }
  .hero h1 { font-size: 42px; margin-bottom: 14px; }
  html:lang(zh-Hans) .hero h1, html:lang(ja) .hero h1 { font-size: 34px; }
  .dek { font-size: 17px; margin-bottom: 4px; }
  .dial-opt { font-size: 14.5px; padding-top: 8px; }
  .dial-state { font-size: 0; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--ver); padding: 0; margin-top: 3px; }
  .caption { font-size: 14px; }
  .deck { height: 230px; }
  .deck.is-fanned .leaf, .deck-card:hover .leaf, .deck:focus-within .leaf { rotate: calc((var(--i) - var(--mid)) * 7deg); translate: calc(-50% + (var(--i) - var(--mid)) * 17%) 0; }
  .deck .leaf:hover, .deck .leaf:focus-visible { translate: calc(-50% + (var(--i) - var(--mid)) * 17%) -10px; }
  .dl-list li { grid-template-columns: 1fr auto; row-gap: 8px; }
  .dl-actions { grid-column: 1 / -1; justify-content: space-between; }
  .dl-list li[data-status="coming"] .dl-actions { display: none; }
  .dl-list li[data-status="coming"] { min-height: 52px; }
  .dl-actions .btn { flex: 1; justify-content: center; }
  .rd-top { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 14px; }
  .rd-langs { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .rd-actions .btn { display: none; }
  .rd-title { font-size: 17px; }
  .rd-nav { width: 44px; height: 44px; top: auto; bottom: 10px; translate: 0 0; }
  .rd-strip img { height: 44px; }
  .rd-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fg *, .reader * { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ---- match the live corelooppress.com chrome (plain paper body, compact mobile nav) ---- */
body.fg-body { background: var(--background); }
.fg-body .site-header { box-shadow: 0 0 0 100vmax rgba(252, 252, 249, .94); clip-path: inset(0 -100vmax); }
@media (max-width: 680px) {
  .fg-body .site-header { position: relative; }
  .fg-body .site-header-inner { gap: .9rem; padding: .9rem 0 .8rem; }
  .fg-body .brand img { height: 3rem; }
  .fg-body .site-nav { gap: .5rem .95rem; flex-wrap: wrap; }
  .fg-body .site-nav a { font-size: .8rem; letter-spacing: .06em; }
  .js .hero-track .stage { justify-content: flex-start; padding-top: 18px; }
}
