/* cuckoo.day home: a magazine in eleven spreads. Every spread covers the whole
   window: the artboard is sized to the window's aspect (never letterboxed)
   and its content block is laid out once for a 1440×900 (or 390×844) core,
   widening with the window. System typefaces only. */
:root { --paper: #F1F0EA; --ink: #151515; --ink2: #2C2B28; --ink3: #6B6964; --rule: rgba(21,21,21,.22); --hair: rgba(21,21,21,.1); --tone2: #5C5B57; --tone3: #9C9A94; --tone4: #C9C7C0; --zhu: #C2331E; --slip: #FAF9F5; --slip-ink: #1E1E1C; --slip-ink2: #64625D; --tape: rgba(255,255,255,.55); --shadow: 0 1px 1px rgba(0,0,0,.08), 0 10px 18px -12px rgba(0,0,0,.28); --zh: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif; --latin: "Didot", "Bodoni 72", "Baskerville", "Iowan Old Style", Georgia, serif; --body: "Iowan Old Style", "Songti SC", "STSong", Georgia, serif; --mono: "SF Mono", ui-monospace, Menlo, monospace; --s: 1; --W: 1440; --H: 900; --px: 96; --bw: 1248; --bt: 120; color-scheme: light dark; }
/* English pages set the same newspaper in Latin type */
html[lang="en"] { --zh: "Iowan Old Style", "Baskerville", "Palatino", Georgia, serif; --body: "Iowan Old Style", "Baskerville", Georgia, serif; }
html[lang="en"] .ink { font-family: var(--zh); font-weight: 900; color: var(--ink); letter-spacing: .01em; font-feature-settings: "palt"; word-break: keep-all; text-wrap: balance; }
html[lang="en"] .fn-title { font-size: 50px; }
html[lang="en"] .gh-title { font-size: 30px; }
html[lang="en"].portrait .fn-title { font-size: 26px; }
html[lang="en"].portrait .fn-left .deck, html[lang="en"].portrait .tr-col .deck { font-size: 12.5px; line-height: 1.6; }
html[lang="en"].portrait .fn-right { top: 196px; }
html[lang="en"].portrait .tr-title { font-size: 28px; }
html[lang="en"].portrait .tr-right { top: 222px; }
html[lang="en"].portrait .of-title { font-size: 21px; }
html[lang="en"].portrait .of-story h3 { font-size: 16px; }
html[lang="en"].portrait .cols { font-size: 12.5px; line-height: 1.6; }
html[lang="en"].portrait .of-side { margin-top: 12px; }
html[lang="en"].portrait .files li:nth-child(3) { display: none; }
html[lang="en"].portrait .gh-title { font-size: 22px; }
html[lang="en"].portrait .pr h3 { font-size: 15.5px; }
html[lang="en"].portrait .review li:nth-child(3) { display: none; }
html[lang="en"].portrait .review li { font-size: 12.5px; }
html[lang="en"].portrait .prs li:nth-child(3) { display: none; }
html[lang="en"].portrait .gh-title br { display: none; }
html[lang="en"].portrait .stamp { top: 40px; }
@media (prefers-color-scheme: dark) { :root { --paper: #131416; --ink: #ECEAE4; --ink2: #D3D0C9; --ink3: #8F8C86; --rule: rgba(236,234,228,.2); --hair: rgba(236,234,228,.09); --tone2: #B5B2AB; --tone3: #77756F; --tone4: #45443F; --zhu: #E5573E; --slip: #222326; --slip-ink: #ECEAE4; --slip-ink2: #A3A09A; --tape: rgba(255,255,255,.12); --shadow: 0 0 0 .5px rgba(255,255,255,.06), 0 12px 22px -14px rgba(0,0,0,.8); } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-snap-type: y mandatory; background: var(--paper); -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; text-align: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }
.num { font-family: var(--latin); font-weight: 400; font-variant-numeric: lining-nums; }
.minus { display: inline-block; width: .3em; height: .055em; margin-right: .05em; vertical-align: .3em; background: currentColor; overflow: hidden; text-indent: 1em; }

/* Page = one screen of newsprint */
.page { position: relative; height: 100svh; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.page::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .4  0 0 0 0 .35  0 0 0 0 .3  0 0 0 .08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@media (prefers-color-scheme: dark) { .page::before { mix-blend-mode: screen; opacity: .35; } }
.page + .page { border-top: 1px solid var(--hair); }
.art { position: absolute; left: 0; top: 0; width: calc(var(--W) * 1px); height: calc(var(--H) * 1px); transform: scale(var(--s)); transform-origin: 0 0; }
.body { position: absolute; left: calc(var(--px) * 1px); top: calc(var(--bt) * 1px); width: calc(var(--bw) * 1px); height: 740px; }

/* Folio + double rule */
.folio { position: absolute; left: calc(var(--px) * 1px); right: calc(var(--px) * 1px); top: 34px; display: flex; align-items: baseline; justify-content: space-between; font: 500 13px var(--zh); color: var(--ink3); }
.brand { position: relative; font: 900 22px var(--zh); color: var(--ink); letter-spacing: .06em; }

.pg { display: inline-flex; align-items: center; gap: 10px; }
.reset { display: inline-grid; place-items: center; width: 28px; height: 28px; margin: -8px -6px -8px 0; border-radius: 50%; color: var(--ink3); opacity: .55; transition: opacity .2s, transform .5s cubic-bezier(.3,1.3,.5,1); }
.reset svg { width: 15px; height: 15px; }
.reset:hover { opacity: 1; }
.reset.spin { transform: rotate(-360deg); }
.rule2 { position: absolute; left: calc(var(--px) * 1px); right: calc(var(--px) * 1px); top: 76px; height: 6px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }

/* Shared type */
.label { display: block; font: 700 15px var(--zh); color: var(--ink); }

.ink { font-family: var(--zh); font-weight: 900; color: var(--ink); letter-spacing: .01em; font-feature-settings: "palt"; }
.src { font: 500 13px var(--zh); color: var(--ink3); }

.drop { float: left; font: 900 58px/1 var(--zh); color: var(--ink); margin: 6px 10px 0 0; }
figcaption { margin-top: 10px; font: 500 12px var(--zh); color: var(--ink3); letter-spacing: .04em; }

.cover-body { display: grid; grid-template-columns: 440px 1fr; gap: 0 48px; align-items: stretch; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 26px; background: var(--ink); color: var(--paper); font: 600 15px var(--zh); letter-spacing: .02em; }
.btn svg { width: 16px; height: 19px; fill: currentColor; }
@media (prefers-color-scheme: dark) {
  .pass-band, .leaf-band, .stub-band { color: var(--paper); }
}

.life-body { display: grid; grid-template-columns: minmax(600px, 1fr) 544px; gap: 64px; }
.life-photo img { width: 100%; height: 700px; object-fit: cover; filter: saturate(.85) contrast(1.02); }
.life-title { font-size: 34px; line-height: 1.32; margin: 16px 0 26px; }
.wx-head { display: flex; align-items: center; justify-content: space-between; }
.wx-pick { display: flex; gap: 2px; }
.wx-pick button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink3); opacity: .6; transition: opacity .2s, color .2s, background .2s; }
.wx-pick button:hover { opacity: 1; }
.wx-pick button[aria-pressed="true"] { color: var(--ink); opacity: 1; background: var(--hair); }
.wx-pick svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wx-row { display: flex; align-items: center; gap: 26px; margin-top: 4px; }
.wx-fig { position: relative; padding: 4px 8px 0 0; }
.wx-fig .num { position: relative; display: block; font-size: 124px; line-height: 1; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; transition: color .6s; }
.wx-row p { font: 400 17px/1.7 var(--zh); color: var(--ink2); }
.swp { animation: swp .5s ease both; }
@keyframes swp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; } }

/* weather effects live inside the figure's box; overflow is clipped so they
   never reach neighbouring copy */
.fx { position: absolute; inset: -14px -24px -8px -18px; overflow: hidden; pointer-events: none; }
.fx > * { position: absolute; opacity: 0; transition: opacity .8s ease; }
.fx-sun { left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; background: radial-gradient(circle, var(--tone4) 0 30%, transparent 70%); }
.fx-sun b { position: absolute; inset: -18px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, var(--ink) 0 1.2deg, transparent 1.2deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 0 46%, #000 47% 62%, transparent 64%); mask: radial-gradient(circle, transparent 0 46%, #000 47% 62%, transparent 64%); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fx-cloud { top: 18px; width: 150px; height: 70px; border-radius: 40px; background: radial-gradient(ellipse at 40% 60%, var(--tone3), transparent 72%); filter: blur(4px); }
.fx-cloud.a { left: 10px; } .fx-cloud.b { left: 120px; top: 34px; width: 130px; }
.fx-rain { inset: 0; background: repeating-linear-gradient(105deg, transparent 0 13px, var(--tone3) 13px 14px, transparent 14px 26px); background-size: 52px 52px; animation: rain .5s linear infinite; }
@keyframes rain { to { background-position: -14px 52px; } }
.fx-ripple { left: 40%; bottom: 6px; width: 60px; height: 10px; border: 1.2px solid rgba(31,89,102,.5); border-radius: 50%; }
[data-wx="rain"] .fx-ripple { animation: ripple 1.6s ease-out infinite; }
[data-wx="rain"] .fx-ripple.r2 { left: 64%; animation-delay: .8s; }
@keyframes ripple { from { transform: scale(.2); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
.fx-snow { inset: 0; background-image: radial-gradient(circle, var(--tone3) 0 1.6px, transparent 2px), radial-gradient(circle, var(--tone3) 0 1.2px, transparent 1.6px);
  background-size: 34px 34px, 22px 22px; background-position: 0 0, 11px 7px; animation: snow 4s linear infinite; }
@keyframes snow { to { background-position: 8px 34px, 15px 51px; } }
.fx-frost { inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; }
.fx-frost use { transform-box: fill-box; transform-origin: center; }
.fx-frost g { transform-box: fill-box; transform-origin: center; opacity: 0; }
.fx-rain, .fx-snow { -webkit-mask: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 72%); mask: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 72%); }
[data-wx="sun"] .fx-sun, [data-wx="clear"] .fx-sun, [data-wx="clear"] .fx-cloud, [data-wx="rain"] .fx-rain, [data-wx="rain"] .fx-ripple,
[data-wx="snow"] .fx-snow, [data-wx="frost"] .fx-frost { opacity: 1; }
[data-wx="clear"] .fx-sun { opacity: 0; animation: clearsun 2.6s ease .6s forwards; }
@keyframes clearsun { to { opacity: 1; } }
[data-wx="clear"] .fx-cloud.a { animation: drift-l 2.8s cubic-bezier(.4,0,.2,1) .2s forwards; }
[data-wx="clear"] .fx-cloud.b { animation: drift-r 2.8s cubic-bezier(.4,0,.2,1) .2s forwards; }
@keyframes drift-l { to { transform: translateX(-90px); opacity: .25; } }
@keyframes drift-r { to { transform: translateX(110px); opacity: .25; } }
[data-wx="frost"] .fx-frost g { animation: xtal 1.6s cubic-bezier(.3,1.2,.4,1) both; animation-delay: calc(var(--k) * .35s + .3s); }
@keyframes xtal { from { opacity: 0; scale: .2; rotate: -40deg; } to { opacity: 1; } }

.wx:hover .fx-frost use { animation: xtal-spin 6s linear infinite; }
@keyframes xtal-spin { to { rotate: 60deg; } }

.wx:hover .fx-sun b { animation-duration: 12s; }

.sched { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); }
.sched ol { list-style: none; margin-top: 8px; }
.sched li { display: flex; align-items: baseline; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--hair); font: 400 18px var(--zh); }
.sched time { font: 500 15px var(--zh); color: var(--ink3); width: 52px; font-variant-numeric: tabular-nums; }
.sched li span { flex: 1; }
.sched em { font: 700 13px var(--zh); font-style: normal; color: var(--zhu); }

.pull { position: relative; margin-top: 28px; padding-left: 40px; }
.pull::before { content: "\201C"; position: absolute; left: -4px; top: -22px; font: 400 84px/1 var(--latin); color: var(--ink); }
.pull p { font: 700 22px/1.6 var(--zh); text-wrap: balance; }
.pull cite { display: block; margin-top: 8px; font: 500 13px var(--zh); font-style: normal; color: var(--ink3); letter-spacing: .06em; }

.egg-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(.92); transition: opacity .7s ease, transform .9s cubic-bezier(.3,1.2,.4,1); }
@keyframes eggin { from { opacity: 0; transform: scale(.4) rotate(-30deg); } }

.travel-body { display: grid; grid-template-columns: 460px 1fr; gap: 64px; }
.tr-title { font-size: 62px; line-height: 1.16; margin: 18px 0 18px; }
.tr-col .deck { font-size: 17px; }
.tr-bottom { display: flex; align-items: flex-end; gap: 34px; margin-top: 34px; }
.leafs { position: relative; width: 210px; height: 290px; perspective: 900px; margin-left: 8px; }
.leaf { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 26px 0 18px; background: var(--slip); color: var(--slip-ink); text-align: center; box-shadow: var(--shadow); border-radius: 3px; transform-origin: 50% 0; transition: transform .7s cubic-bezier(.5,0,.3,1), opacity .7s; }
.leaf.next { box-shadow: 0 1px 1px rgba(60,45,30,.08); }
.holes { position: absolute; top: 9px; left: 50%; width: 92px; height: 8px; transform: translateX(-50%); background: radial-gradient(circle, var(--paper) 0 3.5px, transparent 4px) 0 0 / 23px 8px repeat-x; }
.leaf-band { align-self: stretch; margin: 0 12px; padding: 6px 0; background: var(--ink); color: #FBF6EE; font: 700 12px var(--zh); letter-spacing: .26em; }
.leaf-day { position: relative; display: inline-block; margin-top: 10px; }
.leaf-day .num { display: block; font-size: 112px; line-height: 1; letter-spacing: -.03em; }
.ring { position: absolute; left: 50%; top: 52%; width: 150px; height: 118px; transform: translate(-50%, -50%) rotate(-8deg); border: 3px solid var(--zhu); border-radius: 50%; opacity: .85; mix-blend-mode: multiply; box-shadow: 1px 1px 0 -1px var(--zhu), inset 2px -1px 0 -1px var(--zhu); }
@media (prefers-color-scheme: dark) { .ring { mix-blend-mode: normal; } }
.leaf-week { font: 600 14px var(--zh); color: var(--slip-ink2); letter-spacing: .2em; margin-top: 4px; }
.leaf-event { margin: 12px 18px 0; padding-top: 10px; border-top: 1px dashed var(--rule); font: 600 13px/1.6 var(--mono); }
.curl { position: absolute; right: 0; bottom: 0; width: 0; height: 0; background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.12) 50%, var(--paper) 62%); border-radius: 0 0 3px 0; transition: width .3s ease, height .3s ease; }
.leaf.top:hover .curl { width: 30px; height: 30px; }
.leafs.flipped .leaf.top { transform: rotateX(-110deg); opacity: 0; pointer-events: none; }
.change .label { margin-bottom: 8px; }
.change s { display: block; font-size: 38px; line-height: 1.1; color: var(--ink3); text-decoration-color: var(--zhu); text-decoration-thickness: 2px; }
.change b { display: block; font-size: 86px; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.change p { margin-top: 10px; font: 500 14px var(--zh); color: var(--ink2); }
.tr-photo figcaption { position: absolute; right: 14px; top: 12px; margin: 0; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.pass { position: absolute; left: 44px; top: 370px; width: min(660px, calc(100% - 88px)); display: flex; }
.pass-main { position: relative; flex: 1; background: var(--slip); color: var(--slip-ink); border-radius: 10px 0 0 10px; box-shadow: var(--shadow); }
.pass-main::before { content: ""; position: absolute; top: -10px; left: 12%; width: 86px; height: 22px; background: var(--tape); transform: rotate(-3deg); }
.pass-band { display: flex; justify-content: space-between; align-items: center; padding: 9px 20px; background: var(--ink); color: var(--paper); border-radius: 10px 0 0 0; font: 600 12px var(--zh); letter-spacing: .2em; }
.pass-band b { font: 600 14px var(--mono); letter-spacing: .06em; }
.pass-in { padding: 18px 24px 16px; }
.pass-route { display: flex; align-items: center; gap: 22px; }
.pass-route div { display: flex; flex-direction: column; }
.pass-route .num { font-size: 58px; line-height: 1; letter-spacing: .01em; }
.pass-route span { font: 500 13px var(--zh); color: var(--slip-ink2); margin-top: 4px; }
.pass-route svg { width: 44px; color: var(--slip-ink2); margin-top: -18px; }
.pass-fields { display: flex; gap: 22px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); }
.pass-fields dt { font: 600 10px var(--zh); letter-spacing: .16em; color: var(--slip-ink2); }
.pass-fields dd { font: 600 16px var(--mono); margin-top: 3px; font-variant-numeric: tabular-nums; }
.pass-name { margin-top: 12px; font: 500 12px var(--zh); color: var(--slip-ink2); letter-spacing: .1em; }
/* the stub hangs off the perforation: hover lifts it a little, a drag or a
   click tears it along the dashes */
.pass-stub { position: relative; width: 132px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 16px; background: var(--slip); color: var(--slip-ink); border-radius: 0 10px 10px 0; box-shadow: var(--shadow); font: 600 14px var(--mono);
  background-image: linear-gradient(var(--rule), var(--rule)); background-size: 1.5px 8px; background-repeat: repeat-y; background-position: 0 0;
  transform-origin: 0 100%; transition: transform .35s cubic-bezier(.3,1.3,.5,1); touch-action: none; }
.pass-stub::before, .pass-stub::after { content: ""; position: absolute; left: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); z-index: 1; }
.pass-stub::before { top: -8px; } .pass-stub::after { bottom: -8px; }
.stub-band { align-self: stretch; height: 34px; background: var(--ink); border-radius: 0 10px 0 0; }
.stub-seat { font-size: 20px; }
.barcode { width: 72px; height: 76px; background: repeating-linear-gradient(90deg, var(--slip-ink) 0 2px, transparent 2px 4px, var(--slip-ink) 4px 5px, transparent 5px 8px, var(--slip-ink) 8px 11px, transparent 11px 12px); opacity: .85; }
.stub-stamp { position: absolute; left: 50%; top: 46%; padding: 3px 10px; transform: translate(-50%, -50%) rotate(-14deg) scale(1.8); border: 2.5px double var(--zhu); border-radius: 5px; color: var(--zhu); font: 900 17px var(--zh); letter-spacing: .14em; opacity: 0; transition: opacity .3s .35s, transform .4s cubic-bezier(.3,1.5,.5,1) .35s; background: color-mix(in srgb, var(--slip) 70%, transparent); }
.pass:not(.torn) .pass-stub:hover { transform: rotate(2.2deg) translateX(3px); }
.pass.torn .pass-stub, .pass.torn .pass-main { -webkit-mask: none; }
.pass.torn .pass-main { border-radius: 10px 0 0 10px; clip-path: polygon(0 0, 100% 0, 99.2% 6%, 100% 12%, 99% 19%, 100% 26%, 99.3% 33%, 100% 40%, 99% 47%, 100% 54%, 99.2% 61%, 100% 68%, 99% 75%, 100% 82%, 99.3% 89%, 100% 95%, 99.4% 100%, 0 100%, 0 0); }
.pass.torn .pass-stub { transition: transform .8s cubic-bezier(.2,.8,.3,1); transform: translate(46px, 70px) rotate(11deg); clip-path: polygon(1.4% 0, 100% 0, 100% 100%, 1.5% 100%, 0 95%, 2.4% 89%, 0 82%, 2.6% 75%, 0 68%, 2% 61%, 0 54%, 2.6% 47%, 0 40%, 2% 33%, 0 26%, 2.6% 19%, 0 12%, 2% 6%); }
.pass.torn .stub-stamp { opacity: .9; transform: translate(-50%, -50%) rotate(-14deg); }
.pass-hint { position: absolute; right: 8px; bottom: -32px; transition: opacity .3s; }
.pass.torn .pass-hint { opacity: 0; }

.bills-body { display: grid; grid-template-columns: 620px 1fr; gap: 70px; }
.fn-title { font-size: 58px; line-height: 1.18; margin: 18px 0 16px; }
.fn-left .deck { font-size: 17px; width: 520px; }
.slips { position: relative; height: 350px; margin-top: 34px; }
.slip { position: absolute; top: 0; display: block; background: var(--slip); color: var(--slip-ink); padding: 22px 20px 18px; box-shadow: var(--shadow); font: 13px/1.6 var(--mono); }
.slip > * { display: block; }
.slip hr, .slip .hr { border: 0; border-top: 1.5px dashed var(--rule); margin: 10px 0; }
.slip-kind { font: 700 11px var(--mono); color: var(--slip-ink2); }
.slip-head { font: 800 18px var(--zh); letter-spacing: .04em; }
.slip-sub, .slip-foot { font-size: 11.5px; color: var(--slip-ink2); }
.slip-foot { margin-top: 8px; }
.kv { display: flex !important; justify-content: space-between; gap: 16px; color: var(--slip-ink2); } .kv b { color: var(--slip-ink); font-weight: 500; }
.kv.total { align-items: baseline; color: var(--slip-ink); font-weight: 600; } .kv.total b { font: 600 22px var(--mono); }
.receipt { left: 0; width: 250px; transform-origin: 50% 0; transition: transform .45s cubic-bezier(.3,1.3,.5,1);
  --m: conic-gradient(from 135deg at top,#0000,#000 1deg 89deg,#0000 90deg) top/11px 51% repeat-x, conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/11px 51% repeat-x; -webkit-mask: var(--m); mask: var(--m); }
.receipt .slip-head, .receipt .slip-sub { text-align: center; }
.page.in .receipt:hover { transform: rotate(-3deg) perspective(600px) rotateX(9deg) translateY(-3px); }
.statement { left: 290px; width: 300px; border-radius: 4px; text-align: left; }
.stamp { position: absolute; right: 16px; top: 26px; padding: 4px 14px; transform: rotate(-10deg); border: 3px double var(--zhu); border-radius: 6px; color: var(--zhu); font: 900 22px/1.2 var(--zh); letter-spacing: .18em; opacity: .9; }
.statement.thump { animation: thump .45s ease; }
.statement.thump .stamp { animation: stamp .5s cubic-bezier(.3,1.5,.5,1) both !important; }
@keyframes thump { 30% { transform: rotate(2deg) translateY(3px) scale(.99); } 60% { transform: rotate(2.4deg) translateY(-1px); } }
.stamp-hint { position: absolute; left: 304px; top: 300px; }
.fn-right { padding-top: 6px; }
.month { padding-bottom: 20px; border-bottom: 3px double var(--ink); }
.month .total { display: flex; align-items: baseline; margin-top: 6px; }
.month .total b { font-size: 108px; line-height: 1; letter-spacing: -.03em; }
.month .total small { font: 400 40px var(--latin); color: var(--ink3); }
.month .sub { margin-top: 6px; font: 400 16px var(--zh); color: var(--ink2); }
.share { margin-top: 24px; }
.share .bar { display: flex; height: 12px; gap: 3px; }
.share .bar i { width: var(--w); background: var(--c); transform-origin: left; }
.page.in .share .bar i { animation: grow 1s cubic-bezier(.3,.8,.3,1) both; animation-delay: calc(var(--i, 0) * 100ms + .9s); }
.share .bar i:nth-child(2) { --i: 1; } .share .bar i:nth-child(3) { --i: 2; } .share .bar i:nth-child(4) { --i: 3; }
@keyframes grow { from { transform: scaleX(0); } }
table { width: 100%; border-collapse: collapse; }
.share table { margin-top: 10px; }
.share td, .watch td, .fx-rates td { padding: 9px 0; border-bottom: 1px solid var(--hair); font: 400 16px var(--zh); }
.share td i { display: inline-block; width: 10px; height: 10px; margin-right: 12px; background: var(--c); }
.share td:nth-child(2) { text-align: right; font: 500 15px var(--zh); color: var(--ink2); width: 90px; font-variant-numeric: tabular-nums; }
.share td:nth-child(3) { text-align: right; font: 500 15px var(--zh); width: 140px; font-variant-numeric: tabular-nums; }
.daily { margin-top: 30px; }
.daily-bars i, .wk-bars i, .hr-bars i { flex: 1; height: var(--h); background: var(--ink); transform-origin: bottom; }
.daily-bars i.we { background: var(--ink3); opacity: .55; }
.page.in .daily-bars i, .page.in .wk-bars i, .page.in .hr-bars i { animation: rise .8s cubic-bezier(.3,.8,.3,1) both; animation-delay: calc(var(--i) * 18ms + 1s); }
@keyframes rise { from { transform: scaleY(0); } }
.daily-axis, .wk-axis, .hr-axis, .chart-axis { display: flex; justify-content: space-between; margin-top: 8px; font: 500 13px var(--zh); color: var(--ink3); font-variant-numeric: tabular-nums; }

.markets-body { display: grid; grid-template-columns: 1fr 440px; gap: 64px; }
.mk-title { font-size: 36px; line-height: 1.3; margin: 18px 0 30px; }
.chart { position: relative; }
.chart-head { display: flex; justify-content: space-between; align-items: flex-end; }
.chart-head p { display: flex; align-items: baseline; gap: 14px; margin-top: 6px; }
.chart-head b { font-size: 64px; line-height: 1; }
.chart-head em { font: 600 18px var(--zh); font-style: normal; font-variant-numeric: tabular-nums; }
.chart-at { font: 500 13px var(--zh); color: var(--ink3); font-variant-numeric: tabular-nums; }
.chart-svg .grid path { stroke: var(--hair); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-svg .s0 { stop-color: var(--tone4); stop-opacity: .35; } .chart-svg .s1 { stop-color: var(--tone4); stop-opacity: 0; }
.chart-svg .cross { opacity: 0; transition: opacity .15s; }
.chart-svg .cx { stroke: var(--ink3); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.chart-svg .cd { fill: var(--paper); stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart.hovering .cross { opacity: 1; }
.chart-hint { position: absolute; right: 0; bottom: -26px; }
.js .page:not(.in) .chart-svg .line { stroke-dashoffset: var(--len); }
.chart-svg .line { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: var(--len) var(--len); transition: stroke-dashoffset 2s cubic-bezier(.4,.1,.2,1) .9s; }
.chart-svg .area { fill: var(--tone4); transition: opacity 1s ease 2.1s; opacity: .35; }
.js .page:not(.in) .chart-svg .area { opacity: 0; }
.watch td:nth-child(2), .fx-rates td:nth-child(2) { width: 90px; padding: 0 14px; }
.watch td:nth-child(3), .fx-rates td:nth-child(3) { text-align: right; font: 500 15px var(--zh); font-variant-numeric: tabular-nums; }
.watch td:nth-child(4), .fx-rates td:nth-child(4) { text-align: right; font: 500 14px var(--zh); width: 70px; font-variant-numeric: tabular-nums; }
.spark { display: block; width: 76px; height: 24px; overflow: visible; }
.spark path { fill: none; stroke-width: 1.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.watch table, .fx-rates table { margin-top: 10px; border-top: 3px double var(--ink); }
.fx-rates { margin-top: 36px; }
.fx-note { margin-top: 14px; font: 500 15px var(--zh); color: var(--ink2); }

.st-head { grid-column: 1 / -1; }
.st-title { font-size: 46px; line-height: 1.25; margin-top: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.clip, .excerpt, .notes { margin-top: 32px; }
.clip h3 { font: 900 28px/1.35 var(--zh); margin: 10px 0 14px; }
.clip p + p { margin-top: .7em; }
.excerpt { padding: 0 0 0 0; }
.excerpt mark { color: inherit; background: linear-gradient(transparent 58%, var(--tone4) 58% 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size 1.1s cubic-bezier(.4,.1,.2,1); }
.excerpt mark + mark { transition-delay: .9s; }
.page.in .excerpt mark { background-size: 100% 100%; transition-delay: 1.1s; }
.page.in .excerpt mark + mark { transition-delay: 2s; }
@media (prefers-color-scheme: dark) { .excerpt mark { background-image: linear-gradient(transparent 58%, rgba(211,167,90,.35) 58% 92%, transparent 92%); } }
.notes ul { list-style: none; margin-top: 10px; border-top: 3px double var(--ink); }
.notes b { font: 500 15px var(--zh); }
.notes span { grid-column: 1; font: 400 14px var(--zh); color: var(--ink2); }
.notes time { grid-column: 2; grid-row: 1; font: 500 12px var(--zh); color: var(--ink3); }

.work-body { display: grid; grid-template-columns: 1fr 394px; grid-template-rows: auto 1fr; gap: 0 64px; }
.of-head { grid-column: 1 / -1; }
.of-title { font-size: 46px; line-height: 1.25; margin-top: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.of-story { margin-top: 34px; }
.of-story h3 { font: 900 30px/1.3 var(--zh); margin: 10px 0 16px; }
.cols { columns: 2; column-gap: 40px; column-rule: 1px solid var(--hair); font: 400 18.5px/1.9 var(--zh); color: var(--ink2); }
.cols p + p { margin-top: .8em; }
.of-side { margin-top: 34px; padding-left: 32px; border-left: 1px solid var(--rule); }
.agenda .label { display: flex; justify-content: space-between; }
.agenda ul, .files ul { list-style: none; margin-top: 12px; }
.agenda li { border-bottom: 1px solid var(--hair); }
.agenda li button { display: flex; gap: 14px; width: 100%; padding: 12px 0; }
.agenda li i { position: relative; flex: none; width: 18px; height: 18px; margin-top: 3px; border: 1.5px solid var(--ink); border-radius: 3px; transition: background .25s, border-color .25s; }
.agenda li button:hover i { transform: scale(1.08); }
.agenda li i::after { content: ""; position: absolute; left: 4px; top: 0; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg) scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1) .05s; }
.agenda li.done i { background: var(--ink); border-color: var(--ink); }
.agenda li.done i::after { transform: rotate(45deg) scale(1); }
.agenda b { display: block; font: 700 17px var(--zh); background: linear-gradient(var(--ink3), var(--ink3)) no-repeat 0 55% / 0 1.5px; transition: background-size .45s ease, color .3s; }
.agenda li.done b { color: var(--ink3); background-size: 100% 1.5px; }
.agenda span, .files span { font: 500 12.5px var(--zh); color: var(--ink3); }
.files { margin-top: 34px; }
.files li { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.files b { font: 500 15px var(--zh); }

.gh-body { display: grid; grid-template-columns: 1fr 420px; gap: 72px; }
.gh-title { font-size: 52px; line-height: 1.2; margin: 18px 0 28px; }
.pr h3 { font: 900 30px/1.3 var(--zh); margin: 10px 0 20px; }
.pr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 16px 0 18px; border-top: 3px double var(--ink); border-bottom: 1px solid var(--rule); }
.pr-stats p { margin-top: 6px; font: 500 17px var(--zh); }
.pr-stats p .num { font-size: 34px; margin-right: 2px; }
.add { color: var(--ink); font: 700 17px var(--zh); font-variant-numeric: tabular-nums; } .del { color: var(--ink3); font: 700 17px var(--zh); font-variant-numeric: tabular-nums; }
.ticks { display: flex; gap: 6px; margin-top: 10px; }
.ticks i { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); position: relative; }
.ticks i::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 3.5px; height: 7px; border: solid var(--paper); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.page.in .ticks i { animation: tick .35s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i) * 70ms + 1s); }
@keyframes tick { from { transform: scale(0); opacity: 0; } }
.diffbar { display: flex; gap: 3px; height: 10px; margin-top: 14px; }
.diffbar i { width: var(--w); transform-origin: left; } .diffbar .a { background: var(--ink); } .diffbar .d { background: var(--tone3); }
.page.in .diffbar i { animation: grow 1s cubic-bezier(.3,.8,.3,1) 1.05s both; }
.review { margin-top: 22px; }
.review ul { margin-top: 10px; padding-left: 1.1em; }
.review li { font: 400 17px/1.8 var(--zh); color: var(--ink2); }
.prs ul { list-style: none; margin-top: 10px; border-top: 3px double var(--ink); }
.prs li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.prs b { display: block; font: 700 17px var(--zh); }
.prs span { font: 500 12.5px var(--zh); color: var(--ink3); }
.st { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; }
.st.ok { background: var(--ink3); } .st.fail { background: var(--ink); } .st.wait { border: 1.5px solid var(--ink3); }
.commits { margin-top: 40px; }
.wk-bars { height: 110px; gap: 10px; }
.wk-bars i { background: var(--ink); } .wk-bars i:nth-child(6), .wk-bars i:nth-child(7) { background: var(--tone3); }

.ag-body { display: grid; grid-template-columns: 1fr 420px; gap: 72px; }
.ag-title { font-size: 40px; line-height: 1.32; margin: 18px 0 28px; }
.ag-table table { border-top: 3px double var(--ink); }
.ag-table th { padding: 10px 0; text-align: left; font: 600 11px var(--zh); letter-spacing: .16em; color: var(--ink3); border-bottom: 1px solid var(--rule); }
.ag-table td:first-child { font: 700 17px var(--zh); }
.ag-table th:not(:first-child), .ag-table td:not(:first-child) { text-align: right; }
.ag-table tr.warn td:nth-child(3) { color: var(--zhu); }
.meter { display: inline-block; width: 70px; height: 6px; margin-right: 10px; background: var(--hair); vertical-align: middle; position: relative; }
.meter::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 2.2); max-width: 100%; background: var(--ink); transform-origin: left; }
.page.in .meter::after { animation: grow 1s cubic-bezier(.3,.8,.3,1) 1s both; }
.hours { margin-top: 30px; }
.hr-bars { height: 120px; gap: 5px; }
.hr-bars i { background: var(--ink); }
.callout .num { flex: none; width: 92px; font-size: 64px; line-height: 1; color: var(--zhu); }
.callout p { font: 400 17px/1.75 var(--zh); color: var(--ink); }
.flags .label { padding-bottom: 6px; border-bottom: 3px double var(--ink); }

.ab-body { display: block; }
.ab { width: 100%; text-align: center; }
.ab-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 70px; text-align: left; }
.ab-points div { padding-top: 16px; border-top: 3px solid var(--ink); }
.ab-points b { font: 900 22px var(--zh); }
.ab-points p { margin-top: 10px; font: 400 17px/1.8 var(--zh); color: var(--ink2); text-wrap: balance; }
.ab .cta { justify-content: center; margin-top: 70px; }
.fine a { text-decoration: none; border-bottom: 1px solid var(--rule); }

.portrait .folio { top: 18px; font-size: 11px; }
.portrait .folio .date { display: none; }
.portrait .brand { font-size: 18px; } .portrait .brand small { font-size: 8.5px; margin-left: 7px; }
.portrait .rule2 { top: 50px; }
.portrait .body { height: 754px; display: block; }

.portrait .cover-copy .deck { width: auto; }
.portrait .cta { margin-top: 20px; gap: 12px; } .portrait .btn { height: 46px; padding: 0 20px; font-size: 14px; } .portrait .cta-note { font-size: 11px; }

.portrait .life-photo img { height: 186px; }
.portrait .life-photo figcaption { position: absolute; right: 8px; top: 156px; margin: 0; color: rgba(255,255,255,.88); text-shadow: 0 1px 2px rgba(0,0,0,.4); font-size: 10px; }
.portrait .life-col { display: contents; }
.portrait .life-body { display: flex; flex-direction: column; gap: 0; }
.portrait .wx-row { gap: 16px; } .portrait .wx-fig .num { font-size: 76px; } .portrait .wx-row p { font-size: 13.5px; }
.portrait .wx-pick button { width: 26px; height: 26px; } .portrait .wx-pick svg { width: 15px; height: 15px; }
.portrait .fx { inset: -8px -14px -6px -10px; }
.portrait .fx-sun { width: 100px; height: 100px; margin: -50px 0 0 -50px; }
.portrait .sched { margin-top: 14px; padding-top: 10px; }
.portrait .sched li { padding: 7px 0; font-size: 15px; gap: 14px; } .portrait .sched time { font-size: 13px; width: 44px; }
.portrait .pull { margin-top: 18px; padding-left: 30px; }
.portrait .pull::before { font-size: 60px; top: -14px; }
.portrait .pull p { font-size: 16px; }

.portrait .season-body { display: flex; flex-direction: column; }
.portrait .fest { width: 100%; align-self: stretch; text-align: left; }
.portrait .fest-count { justify-content: flex-start; }
.portrait .wheel { order: -1; flex: none; width: 346px; height: 346px; margin: 0 auto 10px; }
.portrait .wh-tl { font-size: 11px; }
.portrait .wh-fl { font-size: 12px; }
.portrait .wh-dot { width: 10px; height: 10px; transform: translate(-50%, -50%) scale(.6); }
.portrait .wh-art { width: 110px; height: 110px; }
.portrait .fest-count { margin: 10px 0 6px; gap: 8px; }
.portrait .fest-count .num { font-size: 56px; }
.portrait .fest-count.today .num { font-size: 44px; }
.portrait .fest-count .unit { font-size: 15px; }
.portrait .fest-when { font-size: 14px; }
.portrait .fest-line { font-size: 14px; max-width: none; margin-top: 6px; }
.portrait .days { margin-top: 16px; padding-top: 10px; max-width: none; }
.portrait .days li { padding: 7px 0; font-size: 15px; gap: 14px; }
.portrait .days time { width: 56px; font-size: 13px; }

.portrait .tr-title { font-size: 36px; margin: 10px 0 8px; --ink-pad: 8 8 3 8; }
.portrait .tr-photo { --ink-pad: 3 8 8 8; }
.portrait .tr-col .deck { font-size: 13.5px; }
.portrait .travel-body { position: relative; }
.portrait .tr-photo img { height: 150px; }
.portrait .tr-photo figcaption { top: 6px; right: 8px; font-size: 10px; }
.portrait .pass { left: 6px; top: 104px; width: calc(100% - 12px); }
.portrait .pass-band { padding: 6px 12px; font-size: 9.5px; } .portrait .pass-band b { font-size: 11px; }
.portrait .pass-in { padding: 10px 12px; }
.portrait .pass-route { gap: 10px; } .portrait .pass-route .num { font-size: 32px; } .portrait .pass-route span { font-size: 10px; } .portrait .pass-route svg { width: 26px; margin-top: -10px; }
.portrait .pass-fields { gap: 8px; margin-top: 8px; padding-top: 7px; } .portrait .pass-fields dt { font-size: 7.5px; letter-spacing: .08em; } .portrait .pass-fields dd { font-size: 11px; }
.portrait .pass-name { display: none; }
.portrait .pass-stub { width: 70px; padding-bottom: 10px; gap: 6px; font-size: 10px; } .portrait .stub-band { height: 25px; } .portrait .stub-seat { font-size: 13px; } .portrait .barcode { width: 40px; height: 42px; }
.portrait .stub-stamp { font-size: 11px; padding: 2px 6px; }
.portrait .pass-main::before { width: 54px; height: 16px; top: -7px; }
.portrait .pass-hint { bottom: -24px; }
.portrait .pass.torn .pass-stub { transform: translate(14px, 40px) rotate(9deg); }
.portrait .tr-bottom { position: absolute; left: 0; right: 0; top: 520px; gap: 22px; margin: 0; }
.portrait .leaf { padding: 20px 0 12px; }
.portrait .leaf-band { font-size: 9.5px; padding: 4px 0; margin: 0 9px; }
.portrait .leaf-day .num { font-size: 76px; } .portrait .ring { width: 104px; height: 82px; }
.portrait .leaf-week { font-size: 11px; } .portrait .leaf-event { font-size: 10.5px; margin: 8px 10px 0; padding-top: 7px; }
.portrait .change s { font-size: 26px; } .portrait .change b { font-size: 56px; } .portrait .change p { font-size: 12px; }

.portrait .fn-title { font-size: 34px; margin: 10px 0 8px; }
.portrait .fn-left .deck { width: auto; font-size: 13.5px; }
.portrait .bills-body { position: relative; }
.portrait .fn-right { position: absolute; left: 0; right: 0; top: 206px; padding: 0; }
.portrait .month { padding-bottom: 10px; }
.portrait .month .total b { font-size: 60px; } .portrait .month .total small { font-size: 24px; } .portrait .month .sub { font-size: 13px; }
.portrait .share { margin-top: 14px; }
.portrait .share td { padding: 6px 0; font-size: 13.5px; } .portrait .share td:nth-child(2), .portrait .share td:nth-child(3) { font-size: 12.5px; }
.portrait .daily { display: none; }
.portrait .slips { position: absolute; left: 0; right: 0; top: 498px; height: 250px; margin: 0; }
.portrait .slip { padding: 14px 12px 12px; font-size: 10px; margin-left: 4px; }
.portrait .slip-head { font-size: 14px; } .portrait .slip-sub, .portrait .slip-foot { font-size: 9px; } .portrait .slip hr, .portrait .slip .hr { margin: 6px 0; }
.portrait .kv { gap: 8px; } .portrait .kv.total b { font-size: 15px; }
.portrait .receipt { width: 160px; } .portrait .statement { left: 176px; width: 170px; }
.portrait .stamp { font-size: 13px; top: 14px; right: 6px; padding: 2px 8px; border-width: 2.5px; }
.portrait .stamp-hint { left: 180px; top: 226px; }

.portrait .mk-title { font-size: 22px; margin: 10px 0 18px; }
.portrait .chart-head b { font-size: 40px; } .portrait .chart-head em { font-size: 14px; } .portrait .chart-at { font-size: 10.5px; }
.portrait .chart-axis { font-size: 9.5px; }
.portrait .chart-hint { display: none; }
.portrait .mk-side { margin-top: 22px; }
.portrait .watch { display: none; }
.portrait .fx-rates { margin-top: 0; }
.portrait .fx-rates td { padding: 7px 0; font-size: 13.5px; } .portrait .fx-rates td:nth-child(3) { font-size: 13px; } .portrait .fx-rates td:nth-child(4) { font-size: 12px; width: 54px; }
.portrait .fx-rates td:nth-child(2) { width: 70px; padding: 0 8px; } .portrait .spark { width: 56px; }
.portrait .fx-note { font-size: 13px; }

.portrait .st-title { font-size: 25px; margin-top: 10px; padding-bottom: 12px; }
.portrait .clip, .portrait .excerpt, .portrait .notes { margin-top: 16px; }
.portrait .clip h3 { font-size: 18px; margin: 6px 0 6px; }
.portrait .clip p:not(.src) { font-size: 13.5px; line-height: 1.7; }
.portrait .clip p + p { display: none; }
.portrait .drop { font-size: 40px; margin: 4px 8px 0 0; }
.portrait .src { font-size: 10px; }
.portrait .excerpt blockquote { font-size: 17px; margin: 8px 0 6px; }
.portrait .notes li { padding: 7px 0; } .portrait .notes b { font-size: 12.5px; } .portrait .notes span { font-size: 12px; }
.portrait .notes li:nth-child(4) { display: none; }

.portrait .of-title { font-size: 25px; margin-top: 10px; padding-bottom: 12px; }
.portrait .of-story { margin-top: 16px; }
.portrait .of-story h3 { font-size: 19px; margin: 6px 0 8px; }
.portrait .cols { columns: 1; font-size: 14px; line-height: 1.75; }
.portrait .of-side { margin-top: 18px; padding: 0; border: 0; }
.portrait .agenda li button { padding: 7px 0; gap: 10px; } .portrait .agenda b { font-size: 14.5px; } .portrait .agenda span, .portrait .files span { font-size: 11px; }

.portrait .gh-title { font-size: 30px; margin: 10px 0 14px; }
.portrait .pr h3 { font-size: 19px; margin: 6px 0 12px; }
.portrait .pr-stats { gap: 18px; padding: 10px 0 12px; }
.portrait .pr-stats p { font-size: 13px; } .portrait .pr-stats p .num { font-size: 24px; } .portrait .add, .portrait .del { font-size: 13px; }
.portrait .ticks { gap: 3px; } .portrait .ticks i { width: 10px; height: 10px; } .portrait .ticks i::after { left: 3px; top: 1.2px; width: 2.6px; height: 5px; border-width: 0 1.3px 1.3px 0; }
.portrait .review { margin-top: 12px; } .portrait .review li { font-size: 13.5px; line-height: 1.65; }
.portrait .review li:nth-child(2) { display: none; }
.portrait .gh-side { margin-top: 18px; }
.portrait .prs li { padding: 8px 0; } .portrait .prs b { font-size: 14px; } .portrait .prs span { font-size: 11px; }
.portrait .commits { display: none; }

.portrait .ag-title { font-size: 22px; margin: 10px 0 16px; }
.portrait .ag-table th { font-size: 9px; letter-spacing: .08em; } .portrait .ag-table td { padding: 8px 0; font-size: 12.5px; } .portrait .ag-table td:first-child { font-size: 13px; }
.portrait .meter { display: none; }
.portrait .hours { display: none; }
.portrait .ag-side { margin-top: 20px; }
.portrait .callout { gap: 12px; padding: 12px 0; } .portrait .callout .num { width: 62px; font-size: 40px; } .portrait .callout p { font-size: 14px; }

.portrait .ab-title { font-size: 30px; }
.portrait .ab-points { grid-template-columns: 1fr; gap: 18px; margin-top: 34px; }
.portrait .ab-points div { padding-top: 10px; border-top-width: 2px; }
.portrait .ab-points b { font-size: 17px; } .portrait .ab-points p { font-size: 14px; margin-top: 4px; }
.portrait .ab .cta { margin-top: 34px; flex-direction: column; }
.portrait .fine { margin-top: 24px; font-size: 11px; }
.pbr { display: none; } .portrait .pbr { display: inline; }

/* ---------- Ink condensing + settling ----------
   Headlines and photos carry data-ink: home.js covers them with a paper-
   coloured canvas (an "ink veil") whose per-pixel alpha is driven by two
   arrival-time fields, so the crisp DOM content underneath appears in
   organic blots — paper, then a light wash, then full ink. */
[data-ink] { --ink-pad: 8; --ink-dur: 1100; --ink-grain: 40; }
.product, .life-photo, .tr-photo { --ink-dur: 1300; --ink-grain: 110; }
.ink-veil { position: absolute; pointer-events: none; z-index: 10; }
.js [data-ink]:not(.ink-on) { opacity: 0; }
.js .page:not(.in) .rv, .js .page:not(.in) .paste { opacity: 0; }
.js .page.in .rv { animation: fade .45s ease-out both; animation-delay: calc(var(--d, 0ms) * .5); }
@keyframes fade { from { opacity: 0; } }
.paste { transform: rotate(var(--r, 0deg)); }
.js .page.in .paste { animation: paste .6s cubic-bezier(.3,1.35,.5,1) both; animation-delay: calc(var(--d, 0ms) * .5); }
@keyframes paste {
  from { opacity: 0; transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 2.5deg)); }
  to { opacity: 1; transform: rotate(var(--r, 0deg)); }
}
.js .page:not(.in) .stamp { opacity: 0; }
.js .page.in .stamp { animation: stamp .5s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--d, 0ms) * .5 + .35s); }
@keyframes stamp { from { opacity: 0; transform: rotate(-10deg) scale(1.9); } to { opacity: .9; transform: rotate(-10deg); } }
.js .page:not(.in) .ring { opacity: 0; }
.js .page.in .ring { animation: ring .6s cubic-bezier(.3,1.4,.5,1) 1.15s both; }
@keyframes ring { from { opacity: 0; transform: translate(-50%, -50%) rotate(-8deg) scale(1.5); } to { opacity: .85; transform: translate(-50%, -50%) rotate(-8deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: y proximity; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

.mast-mid { position: relative; }
html[lang="en"] .nameplate { font: 700 120px/1 var(--latin); letter-spacing: .02em; }
.egg { position: absolute; left: calc(100% + 14px); top: 50%; transform: translateY(-50%); width: 72px; height: 80px; display: none; pointer-events: auto; }
.egg.on { display: block; }
.egg .egg-art { opacity: 1; transform: none; animation: eggin 1.4s cubic-bezier(.3,1.3,.5,1) 1s both; width: 100%; height: 100%; }
#cover .rule2 { position: static; margin: 18px calc(var(--px) * 1px) 0; }
#cover .body { position: absolute; top: 312px; bottom: 36px; left: calc(var(--px) * 1px); right: calc(var(--px) * 1px); margin: 0; height: auto; }
.cover-title { font-size: 64px; line-height: 1.22; margin: 0 0 18px; }
.cover-copy { display: flex; flex-direction: column; justify-content: center; }
.cta { align-items: center; gap: 18px; display: block; margin-top: 24px; }
.cta .btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: var(--ink); color: var(--paper); font: 600 15px var(--zh); border-radius: 0; }
.cta .btn svg { width: 14px; height: 17px; fill: currentColor; }
.cta .btn[href] { text-decoration: none; cursor: pointer; }
.cta-note { letter-spacing: .08em; display: block; margin-top: 8px; font: 500 13px var(--zh); color: var(--ink3); }
.cta-alt { margin-top: 14px; }
.alt-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; font: 500 14px var(--zh); color: var(--ink); text-decoration: none; }
.alt-row + .alt-row { border-top: 1px solid var(--hair); }
.alt-row svg { width: 15px; height: 15px; flex: none; }
.alt-row i { margin-left: auto; font: 400 13px var(--zh); font-style: normal; color: var(--ink3); }
.alt-row[href] i { color: var(--ink); }
.product { position: relative; align-self: center; justify-self: center; width: 100%; max-width: 760px; height: 552px; --ink-pad: 12 44 72 44; }
.product .mac { position: absolute; left: 0; top: 0; right: 110px; border-radius: 11px; box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 30px 60px -18px rgba(0,0,0,.38); background: var(--paper); overflow: hidden; }
.product .mac-bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #f6f5ee; border-bottom: 1px solid rgba(0,0,0,.08); }
.product .mac-bar i { width: 11px; height: 11px; border-radius: 50%; }
.product .mac-bar i:nth-child(1) { background: #FF5F57; }
.product .mac-bar i:nth-child(2) { background: #FEBC2E; }
.product .mac-bar i:nth-child(3) { background: #28C840; }
.product .mac img { display: block; width: 100%; height: auto; object-fit: cover; object-position: top; }
.iphone { position: absolute; right: 0; bottom: 0; width: 240px; aspect-ratio: 168/352; background: #0d0d0f; border-radius: 40px; padding: 11px; box-shadow: 0 0 0 .5px rgba(0,0,0,.3), 0 24px 50px -14px rgba(0,0,0,.45); }
.iphone::before { content: ""; position: absolute; left: -2px; top: 96px; width: 3px; height: 34px; border-radius: 2px; background: #2a2a2d; box-shadow: 0 58px 0 #2a2a2d; }
.iphone::after { content: ""; position: absolute; right: -2px; top: 120px; width: 3px; height: 58px; border-radius: 2px; background: #2a2a2d; }
.iscreen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #f6f5ee; }
.iscreen::before { content: ""; position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 70px; height: 19px; border-radius: 10px; background: #0d0d0f; z-index: 2; }
.iscreen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (prefers-color-scheme: dark) {
  .product .mac-bar { background: #1c1b20; border-bottom-color: rgba(255,255,255,.06); } .iscreen { background: #1c1b20; }
  .product .mac { box-shadow: 0 0 0 .5px rgba(255,255,255,.12), 0 30px 60px -18px rgba(0,0,0,.7); }
  .iphone { box-shadow: 0 0 0 .5px rgba(255,255,255,.14), 0 24px 50px -14px rgba(0,0,0,.75); }
}

/* the seasons spread: countdown column left, the coming year as a wheel right */
.season-body { display: grid; grid-template-columns: minmax(0, 1fr) 640px; gap: 0 64px; align-items: center; }
.fest-name { display: block; letter-spacing: .04em; font: 900 72px/1.15 var(--zh); }
.fest-count { display: flex; align-items: baseline; gap: 12px; margin: 20px 0 10px; }
.fest-count .num { font: 400 132px/1 var(--latin); font-variant-numeric: lining-nums; letter-spacing: -.04em; color: var(--ink); }
.fest-count.today .num { font-family: var(--zh); font-weight: 400; font-size: 96px; }
html[lang="en"] .fest-count.today .num { font-family: var(--latin); }
.fest-count .unit { font: 500 26px var(--zh); color: var(--ink2); }
.fest-when { font: 500 17px var(--zh); color: var(--ink3); }
.fest-line { font: 400 20px/1.7 var(--zh); color: var(--ink2); max-width: 420px; margin-top: 8px; }
.days { list-style: none; margin: 26px 0 0; padding: 16px 0 0; border-top: 1px solid var(--rule); max-width: 480px; }
.days li { display: flex; align-items: baseline; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--hair); font: 400 18px var(--zh); }
.days time { width: 64px; flex: none; font: 500 15px var(--zh); color: var(--ink3); font-variant-numeric: tabular-nums; }
.days b { flex: 1; font-weight: 700; }
.days li span { margin-left: auto; font: 500 13px var(--zh); color: var(--ink3); }
.wheel { position: relative; width: 640px; height: 640px; justify-self: center; }
.wh-g, .wh-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wh-svg { display: block; pointer-events: none; }
.wh-rim { fill: none; stroke: var(--ink); stroke-width: 3; }
.wh-rim2 { fill: none; stroke: var(--ink); stroke-width: 1; }
.wheel:not(.on) .wh-rim, .wheel:not(.on) .wh-rim2 { stroke-dashoffset: var(--c); }
.wheel.on .wh-rim { transition: stroke-dashoffset 1.1s cubic-bezier(.65, 0, .35, 1) .15s; stroke-dashoffset: 0; }
.wheel.on .wh-rim2 { transition: stroke-dashoffset 1.1s cubic-bezier(.65, 0, .35, 1) .27s; stroke-dashoffset: 0; }
.wh-tick { stroke: var(--rule); stroke-width: 1; }
.wheel:not(.on) .wh-tick, .wheel:not(.on) .wh-tl, .wheel:not(.on) .wh-fl, .wheel:not(.on) .wh-today, .wheel:not(.on) .wh-ripple { opacity: 0; }
.wheel:not(.on) .wh-tl { transform: translate(-50%, -50%) translate(var(--dx), var(--dy)); }
.wheel.on .wh-tick { transition: opacity .38s ease-out var(--ad); }
.wheel.on .wh-tl { transition: opacity .38s ease-out var(--ad), transform .38s ease-out var(--ad); }
.wheel.on .wh-fl { transition: opacity .3s ease var(--ad); }
.wh-today { fill: var(--paper); stroke: var(--zhu); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.wheel:not(.on) .wh-today { transform: scale(0); }
.wheel.on .wh-today { transition: transform .4s ease-out 1.3s; opacity: 1; }
.wh-ripple { fill: none; stroke: var(--zhu); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.wheel.on .wh-ripple { animation: ripple 1s ease-out 1.3s; }
.wh-arc { stroke: var(--zhu); stroke-width: 3; stroke-linecap: round; fill: none; }
.wh-prev { stroke: var(--zhu); stroke-width: 1.5; fill: none; stroke-dasharray: 2 5; opacity: 0; transition: opacity .2s; }
.wh-prev.on { opacity: .45; }
.wh-tl { position: absolute; transform: translate(-50%, -50%); font: 500 14px var(--zh); color: var(--ink3); white-space: nowrap; }
.wh-tl.hot { color: var(--ink); }
.wh-tf { color: var(--zhu); }
.wh-tf:hover { color: var(--ink); }
.wh-tf[aria-pressed="true"] { font-weight: 700; }
.wh-fl { position: absolute; transform: translate(-50%, -50%); font: 600 15px var(--zh); color: var(--zhu); white-space: nowrap; }
.wh-fl:hover { color: var(--ink); }
.wh-fl[aria-pressed="true"] { font-weight: 700; }
.wh-dot { position: absolute; width: 14px; height: 14px; padding: 0; border-radius: 50%; background: var(--zhu); --ds: .64; transform: translate(-50%, -50%) scale(var(--ds)); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.wh-dot::before { content: ""; position: absolute; inset: -7px; }
.wheel:not(.on) .wh-dot { --ds: 0; }
.wheel.on .wh-dot { animation: whpop .42s ease-out var(--ad) backwards; }
.wheel.done .wh-dot { animation: none; }
.wh-dot[aria-pressed="true"] { --ds: 1; box-shadow: 0 0 0 2px var(--paper); }
@keyframes whpop { 0% { transform: translate(-50%, -50%) scale(0); } 65% { transform: translate(-50%, -50%) scale(calc(var(--ds, .64) * 1.18)); } 100% { transform: translate(-50%, -50%) scale(var(--ds, .64)); } }
.seal { display: inline-block; margin-left: 16px; margin-bottom: 14px; padding: 3px 9px; border: 3px double var(--zhu); border-radius: 3px; color: var(--zhu); font: 700 19px var(--zh); letter-spacing: .06em; white-space: nowrap; transform: rotate(-10deg); opacity: .9; }
.js .page:not(.in) .seal { opacity: 0; }
.js .page.in .seal { animation: sealIn .55s cubic-bezier(.3, 1.6, .4, 1) var(--sd, 0ms) backwards; }
@keyframes sealIn { from { transform: rotate(-10deg) scale(1.8); opacity: 0; } }
.wh-art { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; transform: translate(-50%, -50%); }
.wh-art .egg-art { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.wheel.egg-in[data-show="spring"] .egg-spring, .wheel.egg-in[data-show="lantern"] .egg-lantern, .wheel.egg-in[data-show="qingming"] .egg-qingming, .wheel.egg-in[data-show="dragonboat"] .egg-dragonboat, .wheel.egg-in[data-show="qixi"] .egg-qixi, .wheel.egg-in[data-show="midautumn"] .egg-midautumn, .wheel.egg-in[data-show="chongyang"] .egg-chongyang, .wheel.egg-in[data-show="dongzhi"] .egg-dongzhi, .wheel.egg-in[data-show="newyear"] .egg-newyear, .wheel.egg-in[data-show="valentine"] .egg-valentine, .wheel.egg-in[data-show="easter"] .egg-easter, .wheel.egg-in[data-show="halloween"] .egg-halloween, .wheel.egg-in[data-show="thanksgiving"] .egg-thanksgiving, .wheel.egg-in[data-show="xmas"] .egg-xmas { opacity: 1; }
.wh-art .egg-art *, .egg .egg-art * { fill: none !important; stroke: var(--ink) !important; stroke-width: 3.4 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
.wh-art .egg-art text, .egg .egg-art text { fill: var(--ink) !important; stroke: none !important; }
.wh-art .egg-art text.acc, .egg .egg-art text.acc { fill: var(--zhu) !important; }
.wh-art .egg-art .det, .egg .egg-art .det { stroke-width: 2 !important; }
.wh-art .egg-art .acc, .egg .egg-art .acc { stroke: var(--zhu) !important; stroke-width: 2.6 !important; }
@keyframes eggbob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
.wh-art:hover .egg-art, .egg.on:hover .egg-art { animation: eggbob .8s ease-in-out infinite alternate; }

html[lang^="zh"] .ink .cl { white-space: nowrap; }

.ab-title { font-size: 56px; line-height: 1.18; margin: 0 0 26px; }
.ab-cols p { break-inside: avoid; margin: 0 0 1em; }
.ab-cols b { color: var(--ink); font-weight: 700; }
.fine { font: 400 13px/1.8 var(--zh); color: var(--ink3); margin-top: 26px; }
.links { font: 500 13px var(--zh); color: var(--ink3); margin-top: 8px; }
.links a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hair); }

.portrait .label { font-size: 12.5px; }
.portrait .ink { font-size: 22px; }
.portrait .cover-title, .portrait .ab-title, .portrait .fest-name { font-size: 30px; }
html[lang="en"].portrait .cover-title { font-size: 26px; }
html[lang="en"].portrait .nameplate { font-size: 72px; }
html[lang="en"].portrait .colophon { font-size: 44px; letter-spacing: .04em; display: inline-block; width: auto; }
.portrait #cover .body { position: static; margin-top: 20px; margin-left: calc(var(--px) * 1px); margin-right: calc(var(--px) * 1px); }
.portrait .cover-body { display: flex; flex-direction: column; gap: 0; }
.portrait .cover-title { margin: 14px 0 14px; font-size: 34px; }
.portrait .product { width: 100%; margin: 24px 0 0; position: relative; height: 240px; margin-top: 20px; }
.portrait .product .mac { display: block; position: absolute; left: 0; top: 0; right: 26px; bottom: auto; }
.portrait .iphone { width: 108px; border-radius: 26px; padding: 8px; }
.portrait .iscreen { border-radius: 19px; }
.portrait .deck { font-size: 14px; line-height: 1.6; }
.label, .src { margin: 0; }
.body > .ink { font-size: 44px; line-height: 1.18; margin: 0; }
.deck { font: 400 18px/1.75 var(--zh); color: var(--ink2); text-wrap: pretty; margin: 14px 0 0; font-size: 20px; line-height: 1.7; }
.chart-svg { display: block; width: 100%; margin-top: 18px; overflow: visible; cursor: crosshair; height: 400px; }
.daily-bars, .wk-bars, .hr-bars { display: flex; align-items: flex-end; gap: 4px; margin-top: 14px; border-bottom: 1px solid var(--ink); height: 160px; }
.tr-photo { height: 460px; position: relative; }
.tr-photo img { width: 100%; object-fit: cover; height: 100%; }
.tr-right { position: relative; }
.tr-right .pass { position: absolute; left: 0; right: 0; bottom: 0; }
.clip p:not(.src) { font: 400 17px/1.85 var(--zh); color: var(--ink2); font-size: 18px; line-height: 1.95; }
.excerpt blockquote { margin: 18px 0 14px; font: 700 26px/1.65 var(--zh); font-size: 28px; }
.notes li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; border-bottom: 1px solid var(--hair); padding: 15px 0; font-size: 15.5px; }
.agenda li, .files li, .prs li { padding: 14px 0; }
.ag-table td { border-bottom: 1px solid var(--hair); font: 500 16px var(--zh); font-variant-numeric: tabular-nums; padding: 18px 12px; }
.callout { display: flex; gap: 18px; align-items: baseline; border-bottom: 1px solid var(--hair); padding: 20px 0; }
.of-story .cols { font-size: 18px; line-height: 1.9; }
.study-body { display: grid; grid-template-columns: 1fr 340px 400px; gap: 0 48px; grid-template-rows: auto minmax(0, 1fr); }
.season-body, .life-body, .tr-body, .fn-body, .mk-body, .study-body, .work-body, .gh-body, .ag-body, .ab-body { gap: 0 48px; }

.portrait .life-body, .portrait .tr-body, .portrait .fn-body, .portrait .mk-body, .portrait .study-body, .portrait .work-body, .portrait .gh-body, .portrait .ag-body, .portrait .ab-body { display: flex; flex-direction: column; }
.portrait .clip p:not(.src) + p { display: none; }
.portrait .files { margin-top: 16px; } .portrait .files li { padding: 7px 0; } .portrait .files b { font-size: 12.5px; display: none; }
.portrait .chart-svg { margin-top: 10px; height: 220px; }
.nameplate { width: fit-content; margin: 0 auto; font: 900 150px/1 var(--zh); letter-spacing: .08em; color: var(--ink); display: block; }
.ab-body > * + * { margin-top: 26px; }
.ab-cols { font: 400 18px/1.85 var(--zh); color: var(--ink2); columns: 3; column-gap: 44px; column-rule: 1px solid var(--rule); }
.portrait .ab-cols { columns: 1; }
.colophon { display: block; color: var(--ink); font: 900 110px/1.1 var(--zh); letter-spacing: .35em; width: fit-content; margin: 40px auto 0; text-indent: .35em; }
html[lang="en"] .colophon { font: 700 96px/1.1 var(--latin); letter-spacing: .14em; }
.portrait .fn-body { display: flex; flex-direction: column; }
.portrait .fn-body > *:first-child { order: -1; }
.portrait .tr-photo { height: 300px; position: relative; }
.portrait .tr-right { left: 0; right: 0; top: 214px; position: static; margin-top: -4px; }
html[lang="en"] .fest-name { line-height: 1.18; font-size: 60px; }
html[lang="en"] .ag-body .ink { font-size: 38px; }
.portrait .body > .ink { font-size: 22px; }
html[lang="en"].portrait .ink { font-size: 20px; }
html[lang="en"].portrait .ag-body .ink { font-size: 16px; }
html[lang="en"].portrait .life-title { font-size: 22px; }
html[lang="en"].portrait .fest-name { font-size: 30px; }
.portrait .life-photo { position: static; margin-top: 28px; }
html[lang="en"] .body > .ink { font-size: 36px; }
html[lang="en"] .cover-title { font-size: 44px; }

.portrait .colophon { margin-top: 14px; letter-spacing: 0; text-indent: 0; font-size: 22px; display: inline-block; width: auto; }

html[lang="en"] .tr-body > .ink, html[lang="en"] .gh-body > .ink, html[lang="en"] .mk-body > .ink, html[lang="en"] .ag-body > .ink { font-size: 30px; }
.mast { display: flex; justify-content: center; align-items: flex-start; position: relative; height: 196px; margin-top: 56px; padding-top: 8px; box-sizing: border-box; }
.portrait .life-title { font-size: 22px; margin: 10px 0 0; order: 1; } .portrait .life-body .deck { order: 2; } .portrait .life-photo { order: 3; } .portrait .wx { order: 4; margin-top: 16px; } .portrait .sched { order: 5; } .portrait .pull { order: 1; } .portrait .life-body .deck { order: 2; } .portrait .life-photo { order: 3; font-size: 22px; }
.portrait .mast { height: auto; margin-top: 36px; padding-top: 0; }
.portrait .nameplate { font-size: 72px; --ink-pad: 2 8 8 8; }
.portrait .leafs { width: 150px; height: 208px; margin-top: 20px; }
.portrait .tr-right .pass { left: auto; right: auto; bottom: auto; z-index: 2; margin-top: 4px; position: static; margin: 10px 8px 0; }

html[lang="en"] .tr-title { font-size: 26px; }
.portrait .product .mac img { object-fit: cover; object-position: top; width: 100%; height: auto; display: block; }
.portrait .iphone::before { top: 60px; height: 20px; box-shadow: 0 34px 0 #2a2a2d; }
.portrait .iphone::after { top: 80px; height: 34px; }
.portrait .iscreen::before { width: 30px; height: 9px; border-radius: 5px; top: 5px; }
.portrait .fn-body .slip { transform: rotate(var(--r, -2deg)); margin-left: -8px; margin-right: 8px; width: calc(100% - 16px); margin: 0 auto; }
.product .mac, .portrait .product .mac { width: auto; }
.portrait .slips .slip + .slip { margin-left: -14px; }
.portrait .ab-body { text-align: center; }
