/*
Theme Name: ZBY Editorial
Theme URI: https://www.zhengbuyuan.com/
Author: Buyuan Zheng
Author URI: https://www.zhengbuyuan.com/
Template: zby-origin-2026
Description: Editorial redesign for zhengbuyuan.com. Child theme of ZBY Origin 2026: keeps the parent\'s photo/talk data APIs and replaces the frontend presentation with a paper-and-ink editorial layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zby-editorial
*/

*{box-sizing:border-box} :root{--paper:#f5f3ec;--ink:#25271f;--muted:#6b6f64;--line:#d2d3c9;--blue:#224cce}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Songti SC","STSong","Noto Serif SC","Source Han Serif SC","SimSun",serif;-webkit-font-smoothing:antialiased}.site-frame{width:1296px;margin:0 auto;max-width:calc(100% - 40px)}a{color:inherit;text-decoration:none}header{height:112px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ink)}.brand{font:44px Georgia,serif;letter-spacing:-2px}.brand span{color:var(--blue)}nav{display:flex;gap:44px;font:17px Georgia}nav a{position:relative;padding:16px 0}nav sup{font:10px Menlo,"SF Mono",Consolas,"Courier New",monospace;vertical-align:super;margin-right:7px;color:var(--muted)}nav .active{color:var(--blue)}nav .active:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:var(--blue)}.mono{font-family:Menlo,"SF Mono",Consolas,"Courier New",monospace;font-size:11px;letter-spacing:1px}.blue{color:var(--blue)}.kicker{display:flex;justify-content:space-between;color:var(--muted);margin:34px 0 22px;text-transform:uppercase}h1,h2,h3,p{margin:0;font-weight:400}h1{font:152px/.98 Georgia,serif;letter-spacing:-8px}h2{font:58px/1.1 Georgia,serif;letter-spacing:-2px}.cn{font-family:"Songti SC","STSong","Noto Serif SC","Source Han Serif SC","SimSun",serif}figure{margin:0}img{width:100%;height:auto;display:block}[hidden]{display:none!important}figcaption{display:flex;gap:14px;margin-top:12px;font-size:14px;line-height:1.65;color:#66695f}figcaption .mono{padding-top:3px;flex-shrink:0}.section-title{display:flex;align-items:baseline;justify-content:space-between;border-top:1px solid var(--ink);padding-top:22px;margin-top:74px;margin-bottom:30px}.section-title span,.section-title a{font-size:15px}footer{height:115px;border-top:1px solid var(--ink);display:flex;align-items:center;justify-content:space-between;font:11px Menlo,"SF Mono",Consolas,"Courier New",monospace;letter-spacing:.3px;color:var(--muted);margin-top:80px}.page-title{display:flex;justify-content:space-between;align-items:end;margin:44px 0 45px}.page-title .intro{font-size:19px;line-height:1.9;padding-bottom:6px;width:270px}.index-tag{font:12px Menlo,"SF Mono",Consolas,"Courier New",monospace;color:var(--blue)}
.home-heading{padding:20px 0 35px}.home-heading h1{font-size:160px;letter-spacing:-9px}.home-sub{display:flex;justify-content:space-between;margin-top:28px;align-items:center}.home-sub p{font-size:21px;letter-spacing:2px}.hero{display:grid;grid-template-columns:2.18fr 1fr;gap:54px;align-items:start}.hero .main-photo img{height:550px;object-fit:contain}.hero aside{padding-top:42px}.hero aside .small-title{font:italic 50px/1.14 Georgia;margin:14px 0 32px}.hero aside figure{width:230px;margin-left:auto}.hero aside img{max-height:308px;object-fit:contain}.home-grid{display:grid;grid-template-columns:1.6fr .85fr 1.1fr;gap:36px;align-items:start}.home-grid figure:nth-child(2){margin-top:76px}.home-grid figure:nth-child(3){margin-top:30px}.home-grid img{max-height:360px;object-fit:contain}.latest{display:grid;grid-template-columns:1fr 2.1fr;gap:54px;border-top:1px solid var(--line);padding:26px 0 6px}.latest blockquote{font-size:30px;line-height:1.7;margin:0}.latest .mono{color:var(--muted);margin-top:12px}
.archive-layout{display:grid;grid-template-columns:130px 1fr;gap:58px}.years{border-top:1px solid var(--ink);padding-top:20px}.years .label{font-size:12px;color:var(--muted);margin-bottom:24px}.years .year{display:block;font:17px Menlo,"SF Mono",Consolas,"Courier New",monospace;margin:22px 0}.years .chosen{color:var(--blue)}.archive-head{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--ink);padding:19px 0 25px}.archive-head h2{font-size:36px}.archive-head span{font-size:13px;color:var(--muted)}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:27px}.archive-grid .col{display:flex;flex-direction:column;gap:40px}.archive-grid .col:nth-child(2){padding-top:75px}.archive-grid .col:nth-child(3){padding-top:28px}.archive-grid img{max-height:367px;object-fit:contain}.archive-grid figcaption{font-size:13px;gap:8px}.archive-end{border-top:1px solid var(--line);margin-top:45px;padding-top:22px;display:flex;justify-content:space-between;font-size:15px}
.talk-layout{display:grid;grid-template-columns:260px 1fr;gap:95px;margin-top:60px}.talk-aside{border-top:1px solid var(--ink);padding-top:22px}.talk-aside .year-display{font:83px Georgia;margin:25px 0 20px}.talk-aside p{font-size:17px;line-height:1.9;color:var(--muted)}.talk-aside .years{border-top:0;padding-top:0;margin-top:26px}.talk-entry{border-top:1px solid var(--line);padding:28px 0 50px}.talk-entry:first-child{border-top:1px solid var(--ink)}.talk-meta{display:flex;justify-content:space-between;color:var(--muted);font:12px Menlo,"SF Mono",Consolas,"Courier New",monospace;letter-spacing:1px}.talk-entry p{font-size:26px;line-height:2;margin-top:30px;max-width:800px}.talk-entry:first-child p{font-size:42px;line-height:1.7;max-width:630px;margin:45px 0 15px}.talk-bottom{padding:25px 0 70px;color:var(--muted);font-size:14px}.asterisk{font:96px Georgia;color:var(--blue);line-height:1;margin-top:50px}
.contact-top{display:grid;grid-template-columns:1.2fr 1fr;gap:130px;margin-top:55px}.identity{border-top:1px solid var(--ink);padding-top:24px}.identity h2{font:76px Georgia;letter-spacing:-3px;margin:42px 0 5px}.identity .name-cn{font-size:44px;letter-spacing:8px;margin:12px 0 38px}.identity .details{font:18px Menlo,"SF Mono",Consolas,"Courier New",monospace;line-height:2;color:var(--muted)}.contact-photo{width:345px;margin:0 0 0 auto}.contact-photo img{height:450px;object-fit:contain}.identity .note{margin-top:55px;padding-top:20px;border-top:1px solid var(--line);font-size:16px;line-height:1.9;color:var(--muted)}.contact-links{margin-top:70px;border-top:1px solid var(--ink);padding-top:24px;display:grid;grid-template-columns:1fr 2fr;gap:65px}.contact-links h2{font-size:48px}.email{font:43px Georgia;letter-spacing:-1px;padding:8px 0 30px;border-bottom:1px solid var(--line);color:var(--blue)}.social{display:grid;grid-template-columns:1fr 1fr;margin-top:28px;gap:30px}.social p{font:23px Georgia;margin-top:12px}.contact-strip{margin-top:65px;display:flex;gap:36px;align-items:end}.contact-strip figure{width:185px}.contact-strip .closing{font:italic 38px Georgia;margin-bottom:35px;color:var(--muted)}

/* WordPress-specific additions */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--ink);color:var(--paper);padding:10px 16px;z-index:100;font:13px Menlo,"SF Mono",Consolas,"Courier New",monospace}
.skip-link:focus{left:12px;top:12px}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.photo-link{display:block}
.standard-content{max-width:760px;font-size:19px;line-height:2}
.standard-content h2{font-size:36px;letter-spacing:-1px;margin:50px 0 20px}
.standard-content p{margin:0 0 26px}
.standard-content a{color:var(--blue);border-bottom:1px solid var(--line)}
.standard-content img{max-width:100%}

/* --- Responsive: tablets and small laptops ------------------------------- */
@media (max-width:1100px){
h1{font-size:104px;letter-spacing:-5px}
.home-heading h1{font-size:112px;letter-spacing:-6px}
.hero{gap:30px}
.contact-top{gap:60px}
.email{font-size:32px}
}

/* --- Responsive: phones -------------------------------------------------- */
@media (max-width:768px){
.site-frame{max-width:calc(100% - 28px)}
header{height:auto;padding:14px 0;flex-wrap:wrap;row-gap:10px}
.brand{font-size:34px;letter-spacing:-1px}
nav{gap:18px;font-size:13px;flex-wrap:wrap}
nav sup{margin-right:3px}
nav a{padding:14px 0}
.kicker{flex-direction:column;gap:6px;margin:20px 0 14px;font-size:10px}
h1{font-size:clamp(52px,16vw,84px);letter-spacing:-2px}
h2{font-size:32px;letter-spacing:-1px}
.page-title{flex-direction:column;align-items:flex-start;gap:12px;margin:24px 0 28px}
.page-title .intro{width:auto;font-size:15px;padding-bottom:0}
.section-title{margin-top:46px;padding-top:16px;margin-bottom:20px}
footer{height:auto;padding:16px 0;flex-wrap:wrap;gap:8px 18px;font-size:10px;margin-top:56px}
figcaption{font-size:12px;gap:8px}

/* home */
.home-heading{padding:12px 0 20px}
.home-heading h1{font-size:clamp(56px,17.5vw,92px);letter-spacing:-3px}
.home-sub{flex-direction:column;align-items:flex-start;gap:6px;margin-top:16px}
.home-sub p{font-size:14px}
.hero{grid-template-columns:1fr;gap:26px}
.hero .main-photo img{height:auto;max-height:60vh;width:100%}
.hero aside{padding-top:0}
.hero aside .small-title{font-size:32px;margin:10px 0 18px}
.hero aside figure{width:100%;margin:0}
.hero aside img{max-height:40vh}
.home-grid{grid-template-columns:1fr;gap:22px}
.home-grid figure:nth-child(2),.home-grid figure:nth-child(3){margin-top:0}
.home-grid img{max-height:46vh}
.latest{grid-template-columns:1fr;gap:10px;padding:20px 0 4px}
.latest blockquote{font-size:19px;line-height:1.8}

/* collection */
.archive-layout{grid-template-columns:1fr;gap:18px}
.years{display:flex;align-items:baseline;gap:20px;overflow-x:auto;padding:14px 0 10px;-webkit-overflow-scrolling:touch}
.years .label{margin-bottom:0;flex-shrink:0}
.years .year{margin:0;flex-shrink:0;font-size:15px;padding:13px 2px}
.archive-head{padding:14px 0 18px}
.archive-head h2{font-size:26px}
.archive-grid{grid-template-columns:repeat(2,1fr);gap:16px}
.archive-grid .col{gap:22px}
.archive-grid .col:nth-child(2),.archive-grid .col:nth-child(3){padding-top:0}
.archive-grid img{max-height:none}
.archive-end{font-size:13px;margin-top:30px;padding-top:16px}

/* talk */
.talk-layout{grid-template-columns:1fr;gap:20px;margin-top:26px}
.talk-aside{padding-top:16px}
.talk-aside .years{margin-top:14px;padding-top:14px}
.talk-aside .year-display{font-size:44px;margin:12px 0 8px}
.talk-aside p{font-size:14px}
.talk-meta{font-size:10px}
.talk-entry{padding:20px 0 32px}
.talk-entry p{font-size:18px;line-height:1.9;margin-top:18px}
.talk-entry:first-child p{font-size:24px;line-height:1.8;margin:24px 0 8px}
.talk-bottom{padding:18px 0 40px}
.asterisk{font-size:52px;margin-top:26px}

/* contact */
.contact-top{grid-template-columns:1fr;gap:30px;margin-top:26px}
.identity{padding-top:16px}
.identity h2{font-size:42px;letter-spacing:-1.5px;margin:22px 0 4px}
.identity .name-cn{font-size:24px;letter-spacing:4px;margin:8px 0 20px}
.identity .details{font-size:13px}
.identity .note{margin-top:28px;font-size:14px}
.contact-photo{width:100%;margin:0}
.contact-photo img{height:auto;max-height:52vh}
.contact-links{grid-template-columns:1fr;gap:16px;margin-top:40px;padding-top:16px}
.contact-links h2{font-size:30px}
.email{font-size:22px;padding:6px 0 18px;word-break:break-all}
.social{margin-top:20px;gap:20px}
.social p{font-size:16px}
.contact-strip{margin-top:40px;flex-wrap:wrap;gap:20px;align-items:start}
.contact-strip figure{width:42%}
.contact-strip .closing{font-size:24px;margin-bottom:0}

/* standard pages */
.standard-content{font-size:16px}
}

/* lightbox (click-to-zoom) */
body.lb-lock{overflow:hidden}
.lb-overlay{position:fixed;inset:0;z-index:1000;background:rgba(245,243,236,.97);display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .25s ease-out}
.lb-overlay.open{opacity:1;pointer-events:auto}
.lb-image{max-width:92vw;max-height:84vh;width:auto;height:auto;object-fit:contain;cursor:zoom-out;transform:scale(.94);transition:transform .25s ease-out}
.lb-overlay.open .lb-image{transform:scale(1)}
.lb-caption{position:absolute;top:20px;left:26px;display:flex;gap:12px;font-size:14px;line-height:1.7;color:var(--ink);max-width:72vw}
.lb-close{position:absolute;top:12px;right:18px;background:none;border:0;padding:10px;font:30px/1 Georgia,serif;color:var(--ink);cursor:pointer}
@media(hover:hover) and (pointer:fine){.lb-close:hover{color:var(--blue)}}
@media (max-width:768px){
.lb-caption{top:14px;left:16px;font-size:12px;max-width:66vw}
.lb-close{top:6px;right:8px;font-size:26px}
.lb-image{max-width:96vw;max-height:80vh}
}

/* lightbox caption: left of the image, larger type */
.lb-overlay{gap:42px}
.lb-caption{position:static;max-width:240px;flex-direction:column;gap:10px;font-size:19px;line-height:1.9;flex-shrink:0}
.lb-image{max-width:70vw}
@media (max-width:768px){
.lb-overlay{gap:0}
.lb-caption{position:absolute;top:14px;left:16px;max-width:66vw;flex-direction:row;gap:8px;font-size:14px;line-height:1.7}
.lb-image{max-width:96vw}
}

/* home: entry links — serif label with circular arrow badge (SVG, no emoji) */
.hero-cta-row{margin-top:26px}
a.cta-link{display:flex;align-items:center;gap:12px;width:100%;padding:13px 2px;border-top:1px solid var(--ink);color:var(--ink);text-align:left;background:none;margin:0;font-size:19px;line-height:1.3}
a.cta-link .zh{letter-spacing:1px}
a.cta-link .sep{color:var(--muted);margin:0 9px;font-family:Georgia,serif}
a.cta-link em{font-family:Georgia,serif;font-style:italic}
a.cta-link .cta-arrow{margin-left:auto;flex-shrink:0;width:31px;height:31px;border-radius:50%;background:var(--blue);display:inline-flex;align-items:center;justify-content:center;transition:transform .22s ease,background .22s ease}
a.cta-link .cta-arrow svg{width:13px;height:13px;color:#fff;display:block}
a.cta-link:hover{color:var(--blue)}
a.cta-link:hover .sep{color:var(--blue)}
@media(hover:hover) and (pointer:fine){a.cta-link:hover .cta-arrow{transform:translate(3px,-3px);background:#1a3bb0}}
a.cta-link.flat{border-top:0;padding:0}
.talk-cta-row{margin-top:30px}
@media (max-width:768px){
.hero-cta-row{margin-top:18px}
a.cta-link{font-size:16px;padding:11px 2px}
a.cta-link .cta-label{margin-left:auto}
a.cta-link .cta-arrow{margin-left:0;width:27px;height:27px}
a.cta-link .cta-arrow svg{width:11px;height:11px}
}

/* mobile: right-align nav, hide gray kicker line */
@media (max-width:768px){
nav{margin-left:auto}
.kicker{display:none}
}

/* mobile contact: drop the first photo */
@media (max-width:768px){.contact-photo{display:none}}

/* mobile collection: JS distributes photos into two masonry columns (.mcol);
   fallback without JS is a plain two-column grid */
@media (max-width:768px){
.years,.archive-content{min-width:0}
.archive-grid.masonry-on{display:flex;align-items:flex-start;gap:16px}
.archive-grid .mcol{flex:1;min-width:0;display:flex;flex-direction:column;gap:22px}
}

/* mobile collection: year bar stays pinned while scrolling the photos */
@media (max-width:768px){
.archive-layout{display:block}
.archive-layout .years{position:sticky;top:0;z-index:50;background:var(--paper);padding-top:10px}
}

/* home: main photo removed — hero aside centered as a content-width block */
.hero{display:block}
.hero aside{width:fit-content;max-width:100%;margin:0 auto}
@media (max-width:768px){.hero aside{width:auto}}

/* home: enlarge the centered hero block at normal zoom (desktop only) */
@media (min-width:769px){
.hero aside .small-title{font-size:72px}
.hero aside figure{width:400px}
.hero aside img{max-height:520px}
}

/* home: first screen = sticky nav + vertically centered giant title */
body.view-home header{position:sticky;top:0;z-index:60;background:var(--paper)}
body.view-home .home-heading{min-height:calc(100vh - 112px);min-height:calc(100svh - 112px);display:flex;align-items:center;padding:0}
body.view-home .hero{margin-top:32px}
@media (max-width:768px){
body.view-home .home-heading{min-height:calc(100vh - 60px);min-height:calc(100svh - 60px)}
}

/* home: hero as left-right layout (text index left, photo right), echoing On my mind */
.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:stretch}
.hero aside{width:auto;max-width:none;margin:0;padding-top:0;display:flex;flex-direction:column}
.hero aside .small-title{margin-top:14px}
.hero-cta-row{margin-top:auto;padding-top:40px}
.hero .hero-photo{width:100%;margin:0}
.hero .hero-photo img{max-height:72vh;object-fit:contain;object-position:top right}
@media (max-width:768px){
.hero{display:flex;flex-direction:column;gap:26px}
.hero aside{display:contents}
.hero .hero-photo{order:3}
.hero-cta-row{order:4;margin-top:0;padding-top:0}
.hero .hero-photo img{max-height:52vh;object-position:center}
}

/* home: hero stacked — SELECTED MEMORY text above the photo, CTA below it */
.hero{display:block}
.hero aside{display:block;width:auto;max-width:none;margin:0}
.hero aside .small-title{margin:14px 0 32px}
.hero .hero-photo img{max-height:72vh;object-position:top left}
.hero-cta-row{margin-top:26px;padding-top:0}
@media (max-width:768px){
.hero aside .small-title{margin:10px 0 18px}
.hero .hero-photo img{max-height:52vh}
.hero-cta-row{margin-top:18px}
}

/* home: hero title + CTA aligned to the right */
.hero aside .small-title{text-align:right}
.hero-cta-row a.cta-link .cta-label{margin-left:auto}
.hero-cta-row a.cta-link .cta-arrow{margin-left:0}

/* home: Talk CTA right-aligned too — apply right alignment to all cta-links */
a.cta-link .cta-label{margin-left:auto}
a.cta-link .cta-arrow{margin-left:0}

/* home: hero — label row on top, photo left with title beside it, CTA below (desktop) */
@media (min-width:769px){
.hero{display:grid;grid-template-columns:1fr 1fr;column-gap:64px;row-gap:26px;align-items:center}
.hero aside{display:contents}
.hero #memory-year{grid-row:1;grid-column:1/-1}
.hero aside .small-title{grid-row:2;grid-column:2;text-align:left;margin:0}
.hero .hero-photo{grid-row:2;grid-column:1}
.hero-cta-row{grid-row:3;grid-column:1/-1;margin-top:0}
}

/* all pages: sticky header while scrolling */
header{position:sticky;top:0;z-index:60;background:var(--paper)}
@media (max-width:768px){
.archive-layout .years{top:var(--site-header-height,67px)}
}

/* home: "I'm" prefix + rotating multilingual hello line */
.hello-line{margin:30px 0 0;font:italic 38px/1.25 Georgia,serif;letter-spacing:-.5px}
.hello-word{display:inline-block;margin-right:4px;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s ease-out}
.hello-word.out{transform:translateY(-110%);opacity:0}
.hello-word.pre{transition:none;transform:translateY(110%);opacity:0}
@media (max-width:768px){.hello-line{font-size:25px;margin-top:20px}}

/* home: hello line at the same size as the giant title */
.home-heading .hello-line{font-size:160px;line-height:.98;letter-spacing:-9px;margin-top:34px}
@media (max-width:1100px){.home-heading .hello-line{font-size:112px;letter-spacing:-6px}}
@media (max-width:768px){.home-heading .hello-line{font-size:clamp(56px,17.5vw,92px);letter-spacing:-3px;margin-top:20px}}

/* home: keep a small gap between the rotating word and the blue "!" */
#hello-word{margin-right:6px}

/* page titles: blue heart in place of the trailing period */
.heart-dot{margin-left:.04em}
.heart-dot svg{width:.16em;height:.16em;display:inline-block;vertical-align:-.03em}

/* collection: sticky year selector on desktop too, below the sticky header */
@media (min-width:769px){
.archive-layout .years{position:sticky;top:132px;align-self:start}
}

/* talk: latest entry uses the same text size as all other entries */
.talk-entry:first-child p{font-size:26px;line-height:2;max-width:800px;margin:30px 0 0}
@media (max-width:768px){.talk-entry:first-child p{font-size:18px;line-height:1.9;margin:18px 0 0}}

/* lightbox: equal aspect ratios have equal display sizes, including small files.
   Reserve space for the desktop caption; preserve the full photo without cropping. */
.lb-image{width:min(70vw,calc(100vw - 320px),calc(84vh * var(--photo-ratio,1)));height:auto;flex-shrink:0}
@media (max-width:768px){
.lb-image{width:min(96vw,calc(80vh * var(--photo-ratio,1)))}
}

/* home: align the On my mind heading with the right edge of the content. */
.view-home .section-title{justify-content:flex-end;text-align:right}

/* home: fixed hero photo frame + caption height — rotation no longer shifts layout */
.hero .hero-photo .photo-link{display:block;width:100%;height:min(60vh,600px)}
.hero .hero-photo img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}
.hero .hero-photo figcaption{min-height:3.3em}
@media (max-width:768px){
.hero .hero-photo .photo-link{height:48vh}
.hero .hero-photo figcaption{min-height:3.4em}
}

/* home: photo frame is a positioning context for the crossfade ghost */
.hero .hero-photo .photo-link{position:relative}

/* contact: external-link arrows as crisp SVG instead of the emoji-prone ↗ char */
.ext-arrow{display:inline-flex;margin-left:.22em;vertical-align:baseline}
.ext-arrow svg{width:.5em;height:.5em;display:block}
.social .mono .ext-arrow svg{width:9px;height:9px}

/* home: hello line moved above the giant title — spacing flips to margin-bottom */
.home-heading .hello-line{margin:0 0 34px}
@media (max-width:768px){.home-heading .hello-line{margin:0 0 20px}}

/* Mobile lightbox: horizontal browsing while retaining vertical pan and pinch zoom. */
.lb-navigation{display:none}
@media (max-width:768px){
  .lb-overlay{touch-action:pan-y pinch-zoom}
  .lb-overlay.has-timeline .lb-navigation{display:block;position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:16px;right:16px;text-align:center;font-size:12px;line-height:1.6;color:var(--muted);pointer-events:none}
}

/* Home anniversary: original white pen paths follow the contained photo; no fonts or glow. */
.hero .hero-photo .photo-link{isolation:isolate;overflow:visible}
.memory-ink{position:absolute;display:block;visibility:hidden;pointer-events:none;user-select:none;color:#fff;z-index:2;--ink-en-size:44px;--ink-zh-size:36px;--ink-overhang:10px;font-family:inherit;filter:none;text-shadow:none}
.memory-ink.is-positioned{visibility:visible}
.memory-ink[hidden],.hero-photo-error[hidden]{display:none!important}
.memory-ink-en,.memory-ink-zh{position:absolute;display:block;white-space:nowrap;font-family:inherit;font-weight:400;line-height:0;letter-spacing:0;transform:rotate(20deg);filter:none;text-shadow:none}
.memory-ink-en{font-size:var(--ink-en-size);width:calc(var(--ink-en-size) * 6.1);height:auto;right:calc(-.5 * var(--ink-overhang));top:calc(var(--ink-en-size) * 1.65);transform-origin:right center}
.memory-ink-zh{font-size:var(--ink-zh-size);width:calc(var(--ink-zh-size) * 4.7);height:auto;left:calc(-.5 * var(--ink-overhang));bottom:calc(var(--ink-zh-size) * 1.35);transform-origin:left center}
.memory-ink svg{display:block;width:100%;height:auto;overflow:visible}
.hero .hero-photo img.memory-ghost{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none;z-index:3}
.memory-ink.memory-ghost-ink{z-index:4}
.hero-photo-error{position:absolute;inset:0;display:grid;place-items:center;font-size:14px;color:var(--muted);pointer-events:none}
@media (max-width:768px){
  .memory-ink{--ink-en-size:32px;--ink-zh-size:28px;--ink-overhang:6px}
}

/* Desktop lightbox: fixed edge arrows share the mobile timeline without covering the photo. */
.lb-arrow{display:none}
@media (min-width:769px){
  .lb-overlay{padding:0 80px;box-sizing:border-box}
  .lb-caption{overflow-wrap:anywhere}
  .lb-image{width:min(70vw,calc(100vw - 442px),calc(84vh * var(--photo-ratio,1)))}
  .lb-overlay.has-timeline .lb-arrow:not([hidden]){display:flex;align-items:center;justify-content:center;position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;padding:6px;background:none;border:0;color:var(--ink);cursor:pointer;z-index:2}
  .lb-prev{left:18px}
  .lb-next{right:18px}
  .lb-arrow svg{display:block;width:24px;height:32px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
  @media(hover:hover) and (pointer:fine){.lb-arrow:hover{color:var(--blue)}}
  .lb-arrow[aria-disabled="true"]{opacity:.3;cursor:default}
  .lb-arrow:focus-visible,.lb-close:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
  .lb-overlay.has-timeline .lb-navigation:not(:empty){display:block;position:absolute;bottom:18px;left:80px;right:80px;text-align:center;font-size:12px;line-height:1.6;color:var(--muted);pointer-events:none}
}

/* Home: pair the Talk heading with the same blue index label as Selected Memory. */
.view-home .home-talk-title{justify-content:space-between;gap:24px}
.view-home .home-talk-title>.mono{font-size:11px;flex-shrink:0;text-align:left}

/* Preview: original dry-marker silhouettes; scale artwork, never stretch the lettering. */
.view-home .marker-title-art{display:block;line-height:0;color:var(--ink);filter:none;text-shadow:none}
.view-home .marker-title-art>svg{display:block;width:100%;height:auto;overflow:visible}
.view-home .hero aside .marker-somewhere{min-width:0;width:100%;max-width:580px;font-style:normal;letter-spacing:normal}
.view-home .home-talk-title .marker-mind{position:relative;min-width:0;width:360px;max-width:calc(100% - 60px);font-style:normal;letter-spacing:normal}
.view-home .home-talk-title .marker-title-art{display:inline-block;vertical-align:baseline;width:100%}
.view-home .home-talk-title .marker-mind>.marker-title-art{vertical-align:-.19em}
@media (max-width:768px){
  .view-home .hero aside .marker-somewhere{width:85%;max-width:360px;margin-left:auto}
  .view-home .home-talk-title .marker-mind{width:62%;max-width:240px}
  .view-home .marker-art .marker-detail{display:none}
  .view-home .marker-art .marker-simple{display:inline}
}

/* Keep the drawn Talk baseline aligned with its blue label, including the y descender. */
.view-home .marker-title-art{font-size:inherit}
.view-home .home-talk-title .marker-mind>.marker-title-art{vertical-align:-.65em}
.view-home .memory-ink .marker-fallback{display:block;font:inherit;line-height:1.15;white-space:normal}

/* home: hero rebalance — smaller marker title, larger photo (2026-09-17) */
@media (min-width:769px){
.hero{grid-template-columns:1.55fr 1fr}
.view-home .hero aside .marker-somewhere{max-width:340px;margin-left:64px}
}
@media (max-width:768px){
.view-home .hero aside .marker-somewhere{width:62%;max-width:280px}
.hero .hero-photo img{max-height:66vh}
}

/* home: hero — centered photo, one-line marker title at photo top-right (2026-09-17) */
.hero{display:block}
.hero aside{display:block}
.hero .hero-stage{position:relative;width:fit-content;max-width:100%;margin:0 auto}
.hero .hero-photo{margin:0}
.view-home .hero .marker-somewhere{position:absolute;top:14px;right:-40px;width:340px;max-width:48vw;z-index:2;text-align:left;margin:0}
@media (min-width:769px){
.hero .hero-photo img{max-height:72vh;width:100%;object-fit:contain;object-position:center}
}
@media (max-width:768px){
.hero .hero-photo img{max-height:66vh;width:100%;object-fit:contain}
.view-home .hero .marker-somewhere{top:8px;right:-6px;width:min(230px,58vw)}
.hero-cta-row{margin-top:18px}
}

/* home: hero — SELECTED MEMORY and the one-line marker title share a row above the photo (2026-09-17) */
body.view-home .hero{margin-top:16px}
.hero aside{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:24px}
.view-home .hero .marker-somewhere{position:static;width:340px;max-width:48vw;z-index:auto;margin:0;text-align:left;flex-shrink:0}
@media (max-width:768px){
.hero aside{gap:12px}
.view-home .hero .marker-somewhere{width:min(200px,52vw)}
}

/* Home: a full greeting followed by a compact, scroll-linked photo section. */
body.view-home{--home-header-height:112px;--home-section-gap:24px}
body.view-home.has-home-transition{overflow-anchor:none}
body.view-home .home-heading{position:relative;min-height:calc(100vh - var(--home-header-height));min-height:calc(100svh - var(--home-header-height))}
.view-home .home-heading .hh-text{opacity:var(--home-intro-opacity,1)}
body.view-home .hero{position:relative;z-index:1;background:var(--paper);margin-top:var(--home-section-gap)}
body.view-home.has-home-transition .hero{margin-top:var(--home-section-gap);margin-bottom:calc(-1 * var(--home-intro-distance,0px));transform:translate3d(0,calc(-1 * var(--home-intro-shift,0px)),0);will-change:transform}
.view-home .hero .hero-stage{width:100%;margin-top:16px}
.view-home .hero .hero-photo img,.view-home .hero .hero-photo img.memory-ghost{object-position:center top}
.view-home .hero .hero-photo figcaption{max-width:720px;margin-left:auto;margin-right:auto;justify-content:center}
.view-home #memory-year{scroll-margin-top:calc(var(--home-header-height) + var(--home-section-gap))}
@media (max-width:768px){
  body.view-home{--home-header-height:67px;--home-section-gap:16px}
  .view-home .hero .hero-stage{margin-top:12px}
}
@media (max-height:550px){
  .view-home .home-heading h1,.view-home .home-heading .hello-line{font-size:clamp(42px,13svh,72px);letter-spacing:-2px}
  .view-home .home-heading .hello-line{margin-bottom:20px}
}
@media (prefers-reduced-motion:reduce){
  body.view-home.has-home-transition .hero{margin-top:var(--home-section-gap);transform:none}
  .view-home .home-heading .hh-text{opacity:1}
}

/* Home: the photo gets its own viewport before Talk enters the page. */
body.view-home .hero{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:calc(100vh - var(--home-header-height) - var(--home-section-gap));min-height:calc(100dvh - var(--home-header-height) - var(--home-section-gap))}
.view-home .hero>aside,.view-home .hero>.hero-cta-row{flex:0 0 auto}
.view-home .hero .hero-stage{display:flex;flex-direction:column;flex:1 0 auto}
.view-home .hero .hero-photo{display:flex;flex-direction:column;flex:1 0 auto}
.view-home .hero .hero-photo .photo-link{flex:0 0 auto;height:var(--home-photo-height,min(60vh,600px));min-height:180px}
.view-home .hero .hero-photo img{max-height:none}
.view-home .hero .hero-photo figcaption{flex:0 0 auto;width:100%}

/* Mobile entry: the greeting covers the visible viewport below navigation. */
@media (max-width:768px){
  body.view-home .home-heading{min-height:calc(var(--home-mobile-viewport,100vh) - var(--home-header-height));min-height:calc(var(--home-mobile-viewport,100dvh) - var(--home-header-height))}
}

/* Keep an eligible mobile entry on its greeting while footer scripts arrive.
   The head bootstrap releases this on the first input, without blocking it. */
@media (max-width:768px){
  html.home-entry-pending .view-home #content>:not(.home-heading),html.home-entry-pending .view-home footer{opacity:0;pointer-events:none}
  html.home-entry-pending .view-home .home-heading .hh-text{position:fixed;left:14px;right:14px;top:calc(50vh + var(--home-header-height) / 2);top:calc(50dvh + var(--home-header-height) / 2);transform:translateY(-50%);opacity:1}
}

/* Home: equal lettering scale, with the shorter Talk title naturally narrower. */
body.view-home{--home-marker-width:340px}
.view-home .hero aside .marker-somewhere{width:var(--home-marker-width)}
.view-home .home-talk-title{align-items:center}
.view-home .home-talk-title .marker-mind{width:calc(var(--home-marker-width) * .453125);max-width:calc(100% - 60px);line-height:0;flex-shrink:0}
.view-home .home-talk-title .marker-mind>.marker-title-art{display:block;vertical-align:baseline}
@media (max-width:768px){
  body.view-home{--home-marker-width:min(280px,62%)}
}

/* Mobile home: center the actual photo and caption together in the second screen. */
@media (max-width:768px){
  .view-home .hero .hero-stage{min-height:var(--home-stage-height,0px)}
  .view-home .hero .hero-photo{position:relative;justify-content:center}
  .view-home .hero .hero-photo .photo-link{height:var(--home-mobile-photo-height,var(--home-photo-height,48vh));min-height:0}
  .view-home .hero .hero-photo figcaption{min-height:0;margin-top:12px}
  .view-home .hero .hero-photo>.photo-link,.view-home .hero .hero-photo>figcaption{position:relative;z-index:6}
  .view-home .hero .memory-ghost-group{position:absolute;display:flex;flex-direction:column;pointer-events:none;user-select:none;z-index:5}
  .view-home .hero .memory-ghost-photo{position:relative;display:block;flex:none;width:100%}
}

/* Shared footer: location first, original dry-marker copyright signature second. */
footer .footer-copyright{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;flex-shrink:0}
footer .footer-signature{display:inline-block;width:112px;color:var(--ink);letter-spacing:normal}
footer .footer-signature .marker-title-art{display:block;line-height:0}
footer .footer-signature svg{display:block;width:100%;height:auto;overflow:visible}
@media (max-width:768px){
  footer{flex-wrap:nowrap;gap:0 10px;font-size:9px;padding:14px 0}
  footer .footer-signature{width:70px}
  footer .footer-signature .marker-detail{display:none}
  footer .footer-signature .marker-simple{display:inline}
}

/* Mobile viewport stability: transform paint, never the scrolling document flow. */
.home-follow-frame,.home-follow-content{display:contents}
.home-viewport-probe{position:fixed;left:0;top:0;width:0;height:100vh;height:100svh;visibility:hidden;pointer-events:none;contain:strict}
.home-viewport-probe--large{height:100vh;height:100lvh}
html.home-at-top .view-home .home-follow-frame,html.home-at-top .view-home footer{visibility:hidden}
html.home-at-top .view-home .home-follow-frame *,html.home-at-top .view-home footer *{visibility:hidden!important}
body.view-home.has-mobile-home{overflow-anchor:none}
body.view-home.has-mobile-home .home-heading{min-height:var(--mobile-intro-height,calc(100svh - var(--home-header-height)))}
.view-home.has-mobile-home .home-follow-frame{display:flow-root;overflow:clip;overflow-clip-margin:12px;margin-top:calc(var(--home-section-gap) - var(--mobile-overlap,0px))}
.view-home.has-mobile-home .home-follow-content{display:flow-root;transform:translate3d(0,var(--mobile-overlap,0px),0)}
body.view-home.has-mobile-home .hero{margin-top:0;min-height:var(--mobile-photo-screen,calc(100svh - var(--home-header-height) - var(--home-section-gap)))}
.view-home.has-mobile-home .hero .hero-stage{min-height:var(--home-stage-height,0px)}
body.view-home.has-mobile-home footer{margin-top:32px;padding-bottom:calc(14px + var(--home-runway,0px))}
.view-home.has-mobile-home .hero .hero-photo{position:relative;justify-content:center}
.view-home.has-mobile-home .hero .hero-photo .photo-link{height:var(--home-mobile-photo-height,var(--home-photo-height,48vh));min-height:0}
.view-home.has-mobile-home .hero .hero-photo figcaption{min-height:0;margin-top:12px}
.view-home.has-mobile-home .hero .hero-photo>.photo-link,.view-home.has-mobile-home .hero .hero-photo>figcaption{position:relative;z-index:6}
.view-home.has-mobile-home .hero .memory-ghost-group{position:absolute;display:flex;flex-direction:column;pointer-events:none;user-select:none;z-index:5}
.view-home.has-mobile-home .hero .memory-ghost-photo{position:relative;display:block;flex:none;width:100%}
@media(prefers-reduced-motion:reduce){
  .view-home.has-mobile-home .home-follow-content{transform:none}
}

/* Native scroll-driven intro: rise and fade run on the compositor, in sync with
   the scroll position instead of chasing it from rAF. Applied only when the JS
   support check adds .css-scroll-anim; older engines keep the rAF fallback. */
@keyframes home-follow-rise{from{transform:translate3d(0,var(--mobile-overlap,0px),0)}to{transform:translate3d(0,0,0)}}
@keyframes home-intro-fade{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:no-preference){
  body.view-home.has-mobile-home.css-scroll-anim .home-follow-content{animation:home-follow-rise linear both;animation-timeline:scroll(root block)}
  body.view-home.has-mobile-home.css-scroll-anim .home-heading .hh-text{animation:home-intro-fade linear both;animation-timeline:scroll(root block)}
}

/* Lightbox "view original" button: bilingual pill, bottom-center on every viewport.
   On mobile the swipe hint occupies the bottom line, so the button floats above it. */
.lb-full{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:2;display:flex;align-items:baseline;gap:6px;padding:7px 16px;border:1px solid var(--ink);border-radius:999px;background:rgba(245,243,236,.92);color:var(--ink);font-size:12px;line-height:1.4;letter-spacing:.02em;white-space:nowrap;cursor:pointer}
.lb-full .sep{opacity:.35}
.lb-full em{font-style:italic}
.lb-full:focus-visible{color:var(--blue);border-color:var(--blue)}
@media(hover:hover) and (pointer:fine){.lb-full:hover:not(:disabled){color:var(--blue);border-color:var(--blue)}}
.lb-full:disabled{cursor:default;opacity:.7}
@media(max-width:768px){
  .lb-overlay.has-timeline .lb-full{bottom:calc(max(18px,env(safe-area-inset-bottom)) + 34px)}
}

/* collection: dry-marker "Across the years" heading, same artwork treatment as home (2026-09-20) */
.view-collection .archive-head .marker-years{line-height:0}
.view-collection .archive-head .marker-title-art{display:block;line-height:0;color:var(--ink);filter:none;text-shadow:none;width:280px;max-width:100%}
.view-collection .archive-head .marker-title-art>svg{display:block;width:100%;height:auto;overflow:visible}
@media (max-width:768px){
  .view-collection .archive-head .marker-title-art{width:198px}
  .view-collection .marker-art .marker-detail{display:none}
  .view-collection .marker-art .marker-simple{display:inline}
}

/* Press feedback, focus & selection polish (2026-09-20, emil-design-eng review).
   Every press is acknowledged: button-like elements scale, text links dim.
   Photo zoom is gated to precise pointers; reduced motion keeps everything instant. */
a,button{-webkit-tap-highlight-color:transparent}
::selection{background:var(--blue);color:var(--paper)}
a:focus-visible,button:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
a.brand,nav a,.years a.year,.note a,.email a,.social a{transition:opacity .16s ease-out}
a.brand:active,nav a:active,.years a.year:active,.note a:active,.email a:active,.social a:active{opacity:.55}
a.cta-link .cta-arrow{transition:transform .16s ease-out,background .22s ease}
a.cta-link:active .cta-arrow{transform:scale(.94)}
.lb-full{transition:transform .16s ease-out,color .22s ease,border-color .22s ease}
.lb-full:active:not(:disabled){transform:translateX(-50%) scale(.96)}
.lb-close,.lb-arrow{transition:transform .16s ease-out,color .22s ease}
.lb-close:active{transform:scale(.92)}
.lb-arrow:active:not([aria-disabled="true"]){transform:translateY(-50%) scale(.92)}
.archive-grid a.photo-link{display:block;overflow:hidden}
.archive-grid a.photo-link img{transition:transform .2s ease-out}
.archive-grid a.photo-link:active img{transform:scale(.98)}
@media(hover:hover) and (pointer:fine){
  .archive-grid a.photo-link:hover img{transform:scale(1.02)}
}
@media (prefers-reduced-motion: reduce){
  a.brand,nav a,.years a.year,.note a,.email a,.social a,a.cta-link .cta-arrow,.lb-full,.lb-close,.lb-arrow,.archive-grid a.photo-link img,.hello-word{transition:none}
}

/* --- 2026-09-20 audit fixes (see AGENTS.md) -------------------------------- */

/* Home crossfade: photo + caption fade as one group on desktop too (mobile
   already had this; the ghost needs the figure as positioning context). */
.view-home .hero .hero-photo{position:relative}
.view-home .hero .hero-photo>.photo-link,.view-home .hero .hero-photo>figcaption{position:relative;z-index:6}
.view-home .hero .memory-ghost-group{position:absolute;display:flex;flex-direction:column;pointer-events:none;user-select:none;z-index:5}
.view-home .hero .memory-ghost-photo{position:relative;display:block;flex:none;width:100%}

/* Landscape phones: caption / photo / actions each get their own row, so text
   and buttons never cover the photo. Long captions scroll within their row. */
@media (max-width:900px) and (max-height:550px){
  .lb-overlay{flex-direction:column;justify-content:flex-start;align-items:center;gap:8px;padding:0 0 max(8px,env(safe-area-inset-bottom))}
  .lb-caption{position:static;align-self:stretch;max-width:none;box-sizing:border-box;padding:10px 62px 2px 16px;max-height:34svh;overflow-y:auto;-webkit-overflow-scrolling:touch;flex-direction:row;gap:8px;font-size:12px;line-height:1.55;flex-shrink:0}
  .lb-image{flex:0 1 auto;min-height:0;width:auto;max-width:min(92vw,calc((100svh - 128px) * var(--photo-ratio,1)));max-height:calc(100svh - 128px)}
  .lb-overlay .lb-full{position:static;transform:none;flex-shrink:0;margin:0}
  .lb-overlay .lb-full:active:not(:disabled){transform:scale(.96)}
  .lb-overlay.has-timeline .lb-navigation{position:static;flex-shrink:0;padding:0 16px;font-size:11px}
}

/* Mobile lightbox: bring the "view original" pill up to a 44px touch target. */
@media (max-width:768px){
  .lb-full{padding:13px 18px}
}

/* Collection captions on narrow columns: number above the text, calmer measure. */
@media (max-width:420px){
  .archive-grid figcaption{flex-direction:column;gap:2px;font-size:14px;line-height:1.65}
  .archive-grid figcaption .mono{padding-top:0}
}

/* Home hero photo: prevent selection, dragging and the iOS image callout while
   preserving the photo link used to open the lightbox. */
.view-home .hero .hero-photo .photo-link,
.view-home .hero .hero-photo .photo-link img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
.view-home .hero .hero-photo .photo-link img{-webkit-touch-callout:none}

/* Footer signature easter egg: the trigger remains visually identical until
   its third activation; the existing focus ring still serves keyboard users. */
footer .footer-easter-trigger{appearance:none;-webkit-appearance:none;border:0;padding:0;margin:0;background:none;font:inherit;text-align:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
.lb-overlay.easter-egg{gap:0;padding:clamp(14px,3vw,42px)}
.lb-overlay.easter-egg .lb-caption,.lb-overlay.easter-egg .lb-arrow,.lb-overlay.easter-egg .lb-full,.lb-overlay.easter-egg .lb-navigation{display:none!important}
.lb-overlay.easter-egg .lb-image{width:auto;max-width:min(92vw,calc(84vh * .8002853));max-height:84vh;object-fit:contain}
.lb-easter-status{position:absolute;inset:0;display:grid;place-items:center;padding:70px 24px;color:var(--ink);font-size:14px;line-height:1.7;text-align:center;pointer-events:none}
.lb-easter-status[hidden]{display:none!important}
@media(max-width:768px){
  .lb-overlay.easter-egg{padding:12px}
  .lb-overlay.easter-egg .lb-image{max-width:96vw;max-height:82svh}
}

/* Heart triple-click: keep the original ink footprint, expand only the hit area. */
.page-title .heart-easter-trigger{position:relative;display:inline-flex;width:.16em;height:.16em;vertical-align:-.03em;align-items:center;justify-content:center;appearance:none;-webkit-appearance:none;border:0;padding:0;margin:0 0 0 .04em;background:none;color:var(--blue);font:inherit;line-height:1;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;transition:none}
.page-title .heart-easter-trigger svg{display:block;width:100%;height:100%;vertical-align:baseline}
.heart-easter-trigger::after{content:"";position:absolute;width:44px;height:44px;left:50%;top:50%;transform:translate(-50%,-50%)}
.heart-easter-trigger:hover,.heart-easter-trigger:active{color:var(--blue);background:none;opacity:1;transform:none}
.heart-easter-trigger:focus:not(:focus-visible){outline:none}

/* Pure-black reading interlude: opacity only, including the whole exit. */
.lb-overlay.heart-egg{background:#000;color:#fff;padding:64px 24px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;transition:opacity .2s cubic-bezier(.23,1,.32,1);overscroll-behavior:contain;touch-action:none}
.lb-overlay.heart-egg .lb-image,.lb-overlay.heart-egg .lb-caption,.lb-overlay.heart-egg .lb-arrow,.lb-overlay.heart-egg .lb-full,.lb-overlay.heart-egg .lb-navigation,.lb-overlay.heart-egg .lb-easter-status{display:none!important}
.lb-overlay.heart-egg .lb-close{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:48px;height:48px;padding:0;color:#fff;z-index:2}
.lb-overlay.heart-egg .lb-close:focus-visible{outline-color:#fff}
.lb-heart-message{max-width:100%;color:#fff;font-size:clamp(24px,3.4vw,44px);line-height:1.5;text-align:center;user-select:none;-webkit-user-select:none}
.heart-message-art{display:flex;align-items:center;justify-content:center;gap:.12em}
.heart-message-line{display:block;white-space:nowrap}
.heart-message-line svg{display:block;width:auto;height:1.3em;max-width:100%;overflow:visible}
@media(max-width:768px){
  .lb-heart-message{font-size:clamp(24px,8vw,30px)}
  .heart-message-art{flex-direction:column;gap:.65em}
  .lb-heart-message .marker-detail{display:none}
  .lb-heart-message .marker-simple{display:inline}
}
@media(prefers-reduced-motion:reduce){
  .lb-overlay.heart-egg{transition:none}
}
