:root{color-scheme:light;--paper:#f7f6f2;--ink:#242923;--muted:#6b7068;--line:#d7d9d0;--accent:#556c59;--stage:#eaede6;--food-stage:#eeebe5;--ink-stage:#eeece5;--overlay:rgba(25,29,25,.65);--serif:Georgia,'Times New Roman','Songti SC','STSong',serif;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif}
:root[data-theme="dark"]{color-scheme:dark;--paper:#191c19;--ink:#e9e8df;--muted:#acb1a6;--line:#3d443b;--accent:#bbcbb7;--stage:#272e28;--food-stage:#2c2b25;--ink-stage:#292c26;--overlay:rgba(5,8,6,.82)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:15px;-webkit-font-smoothing:antialiased}body.modal-open{overflow:hidden}a{color:inherit;text-decoration:none}button,select{font:inherit;color:inherit}button{cursor:pointer}button,select,a{-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.35}button{background:none;border:0}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button::-moz-focus-inner{border:0}img{max-width:100%;display:block}figure,h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}h1,h2,h3{font-family:var(--serif)}[hidden]{display:none!important}::selection{background:var(--accent);color:var(--paper)}
.site-header,main,footer{width:calc(100% - 96px);max-width:1440px;margin-inline:auto}.site-header{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:104px;border-bottom:1px solid var(--line)}.brand{font-family:var(--serif);font-size:23px;letter-spacing:.1em;white-space:nowrap}.site-header nav{display:flex;gap:32px;margin-left:auto}.site-header nav a{font-size:13px;position:relative;padding:14px 0;white-space:nowrap}.site-header nav a::after{content:'';position:absolute;bottom:7px;left:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .2s}.site-header nav a:hover::after,.site-header nav a[aria-current="page"]::after{transform:scaleX(1)}.display-controls{display:flex;align-items:center;flex-shrink:0;gap:6px;margin-left:12px;padding-left:20px;border-left:1px solid var(--line)}
.language-control{position:relative;flex-shrink:0;z-index:20}
.language-toggle{display:flex;align-items:center;justify-content:center;gap:6px;width:56px;min-height:44px;padding:8px 6px;border-radius:6px;font-size:12px;font-weight:500;letter-spacing:.04em;transition:background .16s}
.language-toggle:hover,.language-control[data-open="true"] .language-toggle{background:var(--stage)}
.language-chevron{width:12px;height:12px;flex:none;transition:transform .16s}
.language-control[data-open="true"] .language-chevron{transform:rotate(180deg)}
.language-menu{position:absolute;top:calc(100% + 8px);right:0;width:196px;max-width:calc(100vw - 40px);padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--paper);box-shadow:0 12px 32px rgba(0,0,0,.12);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-5px);transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s}
.language-control[data-open="true"] .language-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition-delay:0s}
.language-menu button{display:grid;grid-template-columns:26px 1fr 14px;align-items:center;gap:10px;width:100%;min-height:44px;padding:9px 10px;border-radius:5px;text-align:left;font-size:12px;transition:background .12s}
.language-option-code{font-size:10px;font-weight:500;letter-spacing:.04em;color:var(--muted)}
.language-menu button:hover,.language-menu button[aria-checked="true"]{background:var(--stage)}
.language-menu button:focus-visible{outline-offset:-2px}
.language-check{width:14px;height:14px;color:var(--accent);opacity:0}
.language-menu button[aria-checked="true"] .language-check{opacity:1}
.theme-toggle svg{width:17px;height:17px;flex:none}
.theme-toggle{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;gap:6px;padding:8px}.theme-toggle #theme-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.sun-icon{display:none}:root[data-theme="dark"] .sun-icon{display:block}:root[data-theme="dark"] .moon-icon{display:none}
.eyebrow{font-family:var(--sans);font-size:10px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;line-height:1.7;color:var(--muted)}.cover{padding-top:68px}.cover-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;padding-bottom:54px}.cover-heading .eyebrow{margin-bottom:21px}.cover h1{font-size:clamp(74px,7.7vw,122px);line-height:.97;letter-spacing:-.055em}.cover h1 span,.cover h1 em{display:block}.cover h1 em{font-weight:400;color:var(--accent)}.cover-note{max-width:255px;line-height:1.9;font-size:14px;color:var(--muted);margin-bottom:8px}.image-button{position:relative;display:flex;align-items:center;justify-content:center;width:100%;padding:0;overflow:hidden;background:var(--stage)}.feature-image{height:clamp(360px,48vw,670px);padding:48px 9%}.feature-image img{width:auto;height:100%;max-width:100%;object-fit:contain;transition:transform .7s cubic-bezier(.2,.7,.3,1)}.image-open{position:absolute;right:18px;bottom:16px;font-size:23px;color:var(--ink);opacity:0;transform:translate(-4px,4px);transition:opacity .2s,transform .2s}.image-button:hover .image-open,.image-button:focus-visible .image-open{opacity:1;transform:none}.feature-image:hover img{transform:scale(1.015)}.feature-caption{display:grid;grid-template-columns:1fr 1fr;gap:64px;padding-top:26px}.feature-caption h2{font-size:29px;letter-spacing:-.02em;margin:7px 0 9px}.feature-meta{font-size:12px;color:var(--muted)}.featured-inspiration{max-width:510px;line-height:1.9;color:var(--muted);font-size:14px;padding-top:4px}.selection-heading{padding-top:126px;padding-bottom:31px;display:flex;justify-content:space-between;align-items:center;gap:25px;border-bottom:1px solid var(--line)}.selection-heading p{font-family:var(--serif);font-size:22px;color:var(--muted)}.selection-section{padding:54px 0 77px;border-bottom:1px solid var(--line)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:42px}.section-heading>div{min-width:0}.section-heading h2{font-size:clamp(40px,4.4vw,65px);line-height:1.1;letter-spacing:-.04em}.text-link{display:inline-flex;align-items:center;gap:18px;font-size:12px;min-height:44px;padding:8px 0;line-height:1.4}.text-link span:first-child{border-bottom:1px solid transparent}.text-link:hover span:first-child{border-color:currentColor}.selected-gallery,.archive-gallery{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px 64px;align-items:start}.work{min-width:0}.work .image-button{height:clamp(300px,35vw,520px);padding:30px}.work .image-button img{width:100%;height:100%;object-fit:contain;transition:transform .5s}.work .image-button:hover img{transform:scale(1.015)}[data-gallery="calligraphy"] .image-button,.archive[data-category="calligraphy"] .image-button{background:var(--ink-stage)}[data-gallery="food"] .image-button,.archive[data-category="food"] .image-button{background:var(--food-stage)}.work figcaption{padding-top:21px}.work-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.work h3{font-size:23px;line-height:1.3;letter-spacing:-.02em}.work time{font-size:11px;color:var(--muted);flex-shrink:0}.work figcaption>p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:12px;max-width:520px}.work figcaption .attribution{font-size:11px;margin-top:7px}
.archive{padding-top:38px;padding-bottom:65px}.archive-back{color:var(--muted)}.archive-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;padding:52px 0}.archive-heading h1{font-size:clamp(62px,7.2vw,105px);line-height:1.1;letter-spacing:-.05em;margin-top:19px;overflow-wrap:anywhere}.archive-heading>p{max-width:260px;line-height:1.8;font-size:14px;color:var(--muted);margin-bottom:9px}.archive-toolbar{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:22px 0 32px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.archive-gallery{row-gap:70px}.pagination{margin-top:70px;border-top:1px solid var(--line);padding-top:24px;display:flex;justify-content:space-between;align-items:center;gap:20px}.pagination>span{font-size:12px;color:var(--muted);text-align:center}.archive h1:focus,main:focus{outline:none}
footer{padding:44px 0 48px;display:grid;grid-template-columns:1fr auto;gap:16px 36px;align-items:center}.footer-name{font-family:var(--serif);font-size:24px;letter-spacing:.08em;display:flex;align-items:center;gap:18px}.footer-seal{font-family:'Songti SC',serif;background:#8b4137;color:#f5efe2;font-size:17px;width:25px;height:27px;text-align:center;line-height:27px;letter-spacing:0;transform:rotate(-4deg)}footer>p{grid-row:2;line-height:1.7;color:var(--muted);font-size:12px}.back-top{grid-row:1/3;grid-column:2;font-size:12px;padding:14px 0}
#art-dialog{border:1px solid var(--line);padding:0;background:var(--paper);color:var(--ink);width:min(1440px,94vw);max-width:none;max-height:94dvh;overflow:auto}#art-dialog::backdrop{background:var(--overlay);backdrop-filter:blur(5px)}.dialog-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:650px}.dialog-image{background:var(--stage);display:flex;justify-content:center;align-items:center;padding:35px}.dialog-image img{max-height:calc(94dvh - 72px);object-fit:contain;width:auto;max-width:100%;height:auto}.dialog-copy{padding:88px 35px 34px;display:flex;flex-direction:column;align-items:flex-start}.dialog-copy h2{font-size:32px;line-height:1.2;letter-spacing:-.03em;margin-top:14px}.dialog-date{color:var(--muted);font-size:11px;line-height:1.8;margin-top:18px}.inspiration-label{display:block;margin-top:48px;font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:var(--muted)}#dialog-inspiration{font-size:14px;line-height:1.9;margin-top:13px;color:var(--muted)}.dialog-controls{display:flex;align-items:center;justify-content:space-between;width:100%;gap:15px;margin-top:auto;padding-top:48px;font-size:12px;color:var(--muted)}.dialog-controls button{border:1px solid var(--line);width:44px;height:44px;font-size:20px;color:var(--ink)}.dialog-close{position:absolute;right:15px;top:12px;z-index:1;width:44px;height:44px;font-size:29px;font-weight:200;background:var(--paper)}
.view-count{position:absolute;left:14px;bottom:14px;padding:7px 10px;background:var(--paper);color:var(--ink);border:1px solid var(--line);font-size:12px;line-height:1;letter-spacing:.02em;pointer-events:none}
.dialog-visual{min-width:0;background:var(--stage);display:flex;flex-direction:column;justify-content:center}
.dialog-visual .dialog-image{min-width:0;min-height:0;flex:1;touch-action:pan-y}
.dialog-visual .dialog-image img{max-height:calc(94dvh - 210px)}
.dialog-views{padding:0 28px 22px;width:100%;min-width:0}
.view-controls{display:flex;align-items:center;justify-content:center;gap:22px;color:var(--muted);font-size:13px;margin-bottom:8px}
.view-controls button{width:44px;height:44px;font-size:22px;color:var(--ink)}
.dialog-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:5px;max-width:100%;scrollbar-width:thin;overscroll-behavior-x:contain}
.view-thumbnail{flex:0 0 76px;width:76px;height:60px;padding:3px;border:1px solid transparent;opacity:.6;transition:border-color .15s,opacity .15s}
.view-thumbnail img{width:100%;height:100%;object-fit:contain}
.view-thumbnail:hover,.view-thumbnail[aria-pressed="true"]{opacity:1;border-color:var(--accent)}
.view-thumbnail:focus-visible{outline-offset:1px}
.dialog-controls span{text-align:center;font-size:12px;line-height:1.6}
@media(max-width:850px){.dialog-visual .dialog-image img{max-height:52dvh}.dialog-views{padding:0 20px 16px}}
@media(max-width:600px){.dialog-visual .dialog-image img{max-height:45dvh}.dialog-views{padding:0 12px 12px}.view-controls{gap:16px;margin-bottom:2px}.view-count{left:11px;bottom:11px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:50;top:8px;left:8px;transform:translateY(-150%);background:var(--paper);padding:14px}.skip-link:focus{transform:none}
:root[lang="zh-CN"]{--serif:'Songti SC','STSong','Noto Serif CJK SC',serif}:root[lang="zh-CN"] .cover h1{font-size:clamp(62px,6.9vw,104px);line-height:1.17;letter-spacing:-.015em}:root[lang="zh-CN"] .cover h1 em{font-style:normal}:root[lang="zh-CN"] .section-heading h2{font-size:clamp(35px,3.5vw,51px);letter-spacing:.02em}:root[lang="nl"] .cover h1,:root[lang="de"] .cover h1{font-size:clamp(65px,6.5vw,102px)}
@media(min-width:1600px){.cover-note{margin-right:72px}.featured-inspiration{margin-left:40px}}
@media(max-width:1100px){.site-header,main,footer{width:calc(100% - 64px)}.site-header{gap:20px}.site-header nav{gap:22px}.display-controls{padding-left:12px;margin-left:0}.brand{font-size:20px}.cover-heading{gap:32px}.cover-note{max-width:220px}.selected-gallery,.archive-gallery{column-gap:36px}.feature-caption{gap:36px}.dialog-layout{grid-template-columns:minmax(0,1fr) 300px}.dialog-copy{padding-inline:25px}}
@media(max-width:850px){.site-header{display:grid;grid-template-columns:1fr auto;gap:8px 20px;padding:20px 0 10px}.site-header nav{grid-row:2;grid-column:1/-1;justify-content:flex-start;margin:0;gap:32px}.display-controls{grid-row:1;grid-column:2;border:0;padding-left:0}.cover{padding-top:45px}.cover-heading{gap:24px}.cover h1{font-size:80px}.cover-note{max-width:185px;font-size:12px}.feature-image{padding:32px}.feature-caption{gap:30px}.work .image-button{height:330px;padding:20px}.work h3{font-size:21px}.selection-heading{padding-top:88px}.section-heading{align-items:flex-start}.section-heading>div{gap:14px}.section-heading h2{font-size:42px}.archive-heading{gap:30px}.archive-heading>p{max-width:210px}.dialog-layout{display:flex;flex-direction:column;min-height:0}.dialog-image{padding:30px}.dialog-image img{max-height:60dvh}.dialog-copy{padding:28px 30px}.dialog-copy h2{font-size:27px}.dialog-close{right:8px;top:8px}.inspiration-label{margin-top:24px}.dialog-controls{padding-top:24px;max-width:260px}.dialog-copy #dialog-inspiration{max-width:650px}.archive-heading h1{font-size:70px}}
@media(max-width:600px){.site-header,main,footer{width:calc(100% - 40px)}.site-header{padding-top:12px;gap:4px 4px}.brand{font-size:18px;letter-spacing:.055em}.site-header nav{gap:28px}.site-header nav a{font-size:12px}.display-controls{gap:0}.theme-toggle{min-width:38px;padding:6px}.cover{padding-top:37px}.cover-heading{display:block;padding-bottom:30px}.cover-heading .eyebrow{font-size:9px;margin-bottom:18px}.cover h1{font-size:clamp(68px,16vw,92px);line-height:.98}.cover-note{margin:24px 0 0;max-width:280px;font-size:12px;line-height:1.8}.feature-image{height:auto;aspect-ratio:1.12;padding:20px}.feature-image img{max-height:100%;width:100%;height:100%;object-fit:contain}.feature-caption{grid-template-columns:1fr;gap:16px;padding-top:23px}.feature-caption h2{font-size:27px}.featured-inspiration{font-size:13px;padding-top:0;line-height:1.85}.selection-heading{padding-top:66px;padding-bottom:23px;align-items:start}.selection-heading p{font-size:16px;max-width:150px;text-align:right;line-height:1.4}.selection-section{padding:30px 0 40px}.section-heading{gap:15px;margin-bottom:25px;align-items:center;flex-wrap:wrap}.section-heading h2{font-size:36px}.text-link{font-size:11px;gap:10px}.selected-gallery,.archive-gallery{grid-template-columns:minmax(0,1fr);gap:36px}.work .image-button{height:auto;aspect-ratio:1.12;padding:25px}.work .image-button img{height:100%;max-height:100%;object-fit:contain}.work figcaption{padding-top:17px}.work h3{font-size:23px}.work figcaption>p{font-size:13px;line-height:1.85;margin-top:9px}.image-open{opacity:1;font-size:20px;right:11px;bottom:9px}.archive{padding-top:22px;padding-bottom:35px}.archive-heading{display:block;padding:29px 0}.archive-heading h1{font-size:clamp(48px,12vw,68px);margin-top:15px}.archive-heading>p{margin-top:18px;max-width:280px;font-size:13px}.archive-toolbar{padding:20px 0 24px;font-size:10px}.pagination{gap:14px;margin-top:38px;padding-top:18px}.pagination .text-link{font-size:10px;gap:7px}.pagination>span{font-size:10px}.pagination .text-link span{max-width:84px}.footer-name{font-size:21px;gap:12px}footer{padding:30px 0 35px;gap:12px 16px}footer>p{font-size:11px}.back-top{font-size:10px}.dialog-image{padding:22px 14px 14px}.dialog-image img{max-height:55dvh}.dialog-copy{padding:22px}.dialog-copy h2{font-size:26px}.dialog-close{width:36px;height:36px;font-size:26px}:root[lang="zh-CN"] .cover h1{font-size:clamp(54px,13.8vw,76px);line-height:1.2}:root[lang="zh-CN"] .section-heading h2{font-size:32px}:root[lang="nl"] .cover h1,:root[lang="de"] .cover h1{font-size:clamp(45px,11.3vw,66px);line-height:1.08}:root[lang="nl"] .section-heading h2{font-size:33px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Personal profile */
.about-page { padding: 65px 0 0; }
.about-heading { margin-bottom: 48px; }
.about-heading h1 { margin-top: 17px; font-size: clamp(76px, 8vw, 122px); line-height: 1; letter-spacing: -.05em; }
.about-heading h1:focus { outline: none; }
.about-tagline { margin-top: 23px; max-width: 860px; color: var(--accent); font: 23px/1.6 var(--serif); text-wrap: pretty; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 8%; align-items: center; }
.about-art .image-button { padding: 30px; aspect-ratio: 1.05; }
.about-art img { width: 100%; height: 100%; object-fit: contain; }
.about-art figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.about-copy { padding-bottom: 28px; }
.about-copy > p { color: var(--muted); font-size: 15px; line-height: 1.95; max-width: 520px; margin-top: 19px; overflow-wrap: break-word; }
.about-copy > p:first-child { margin-top: 0; }
.about-impact { max-width: 520px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0; }
.about-stat { display: flex; flex-direction: column; min-width: 0; }
.about-stat dd { order: -1; margin: 0 0 8px; color: var(--ink); font: 600 32px/1.2 var(--serif); letter-spacing: -.025em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.about-stat dt { color: var(--muted); font: 12px/1.65 var(--sans); overflow-wrap: anywhere; hyphens: auto; }
.about-writing-volume dd { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 7px; row-gap: 5px; }
.about-stat-unit { color: var(--muted); font: 12px/1.65 var(--sans); letter-spacing: normal; }
:root[lang="zh-CN"] .about-stat-unit { display: none; }
.about-recognition { margin-top: 10px; color: var(--muted); font: 12px/1.85 var(--sans); overflow-wrap: break-word; }
.about-link { margin-top: 25px; }
.about-profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 60px; margin-top: 105px; padding: 40px 0 20px; border-top: 1px solid var(--line); }
.about-section-label { min-width: 0; }
.about-section-label h2 { font-size: 27px; line-height: 1.3; }
.profile-row { display: grid; grid-template-columns: minmax(90px, .7fr) minmax(0, 2fr); gap: 24px; padding: 0 0 31px; margin-bottom: 31px; border-bottom: 1px solid var(--line); }
.profile-row:last-child { border-bottom: 0; margin-bottom: 0; }
.profile-row h3 { font: 11px/1.8 var(--sans); color: var(--muted); margin-top: 4px; }
.profile-row h4 { font: 23px/1.4 var(--serif); margin: 0 0 10px; letter-spacing: -.015em; }
.profile-row p { color: var(--muted); font-size: 12px; line-height: 1.9; }
.profile-row .thesis-title { margin-top: 18px; }
.profile-row cite { color: var(--ink); }
.profile-row .text-link { margin-top: 8px; }
:root[lang="zh-CN"] .about-heading h1 { font-family: Georgia, serif; }
:root[lang="zh-CN"] .about-tagline em { font-style: normal; }
@media (max-width: 1000px) {
  .site-header nav { gap: 18px; }
  .about-intro { gap: 40px; }
  .about-stats { column-gap: 18px; }
  .about-stat dd { font-size: clamp(24px, 2.8vw, 30px); }
  .about-profile { grid-template-columns: 1fr; gap: 30px; }
  .profile-row { grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); }
}
@media (max-width: 600px) {
  .site-header nav { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .about-page { padding-top: 38px; }
  .about-heading { margin-bottom: 32px; }
  .about-heading h1 { font-size: clamp(48px, 13.5vw, 68px); }
  .about-intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-copy { grid-row: 1; padding: 0; }
  .about-tagline { margin-top: 18px; font-size: 20px; }
  .about-copy > p { font-size: 15px; line-height: 1.9; }
  .about-impact { margin-top: 24px; padding-top: 20px; }
  .about-stats { column-gap: 18px; }
  .about-stat dd { font-size: clamp(24px, 7vw, 30px); }
  .about-art .image-button { padding: 25px; aspect-ratio: 1.12; }
  .about-profile { margin-top: 55px; padding-top: 28px; gap: 28px; }
  .about-section-label h2 { font-size: 26px; }
  .profile-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 24px; margin-bottom: 24px; }
  .profile-row h4 { font-size: 23px; }
}
@media (min-width: 601px) and (max-width: 760px) {
  .about-intro { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .about-copy { grid-row: 1; padding: 0; }
  .about-copy > p, .about-impact { max-width: none; }
}

.archive-years{position:relative;display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:2px 2px 18px;margin-bottom:4px;white-space:nowrap;font-size:12px;color:var(--muted)}
.year-link{display:inline-flex;flex-shrink:0;align-items:center;min-height:44px;border-bottom:1px solid transparent;transition:color .15s,border-color .15s}
.year-link:hover,.year-link[aria-current]{color:var(--ink);border-bottom-color:var(--ink)}
.year-link:focus-visible{outline-offset:0}
@media(max-width:600px){.archive-years{gap:23px;font-size:11px;padding-bottom:10px}}

/* Keep the author's original line breaks in notes and poems. */
.inspiration-note,#dialog-inspiration,.featured-inspiration{white-space:pre-line;overflow-wrap:break-word}

/* Keep one stable canvas while a matching preview is upgraded to the decoded HD image. */
html{scrollbar-gutter:stable}
.dialog-visual{justify-content:flex-start}
.dialog-visual .dialog-image{position:relative;flex:none;height:clamp(300px,calc(94dvh - 160px),760px);overflow:hidden;contain:layout paint}
.dialog-visual .dialog-image img{width:100%;height:100%;max-height:100%;object-fit:contain}
.image-feedback{position:absolute;inset:auto 16px 10px;text-align:center;pointer-events:none;font-size:11px;line-height:1.5;color:var(--muted)}
#image-status{display:inline-block;padding:5px 9px;background:var(--stage)}
#image-retry{display:block;margin:4px auto 0;min-height:36px;padding:6px 14px;border:1px solid var(--line);background:var(--paper);pointer-events:auto}
.dialog-views{min-height:146px}
.dialog-views[hidden]{display:block!important;visibility:hidden;pointer-events:none}
@media(max-width:850px){.dialog-visual .dialog-image{height:56dvh}.dialog-views{min-height:140px}.dialog-views[hidden]{display:none!important}}
@media(max-width:600px){.dialog-visual .dialog-image{height:49dvh}.dialog-views{min-height:130px}}
