:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --paper-bright: #fbfaf7;
  --ink: #172331;
  --muted: #67727c;
  --line: rgba(23, 35, 49, 0.16);
  --blue: #83acc7;
  --blue-deep: #527f9d;
  --hero-height: min(760px, 78svh);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --latin-serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", "Microsoft YaHei UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 15% 18%, rgba(255,255,255,.9) 0, transparent 32%), radial-gradient(circle at 88% 62%, rgba(209,223,231,.34) 0, transparent 28%), var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.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; }
.opening { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; gap: .5rem; text-align: center; color: #eef2f3; background: #17212a; transition: opacity .7s ease, visibility .7s ease; }
.opening[hidden] { display: none; }
.opening::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.08) 48%, transparent 72%); animation: openingLight 1.35s ease both; }
.opening__grain { position: absolute; inset: 0; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.opening p { position: relative; margin: 0; font: 500 clamp(2rem, 6vw, 5rem)/1 var(--latin-serif); letter-spacing: -.03em; }
.opening span { position: relative; letter-spacing: .35em; color: #b9c9d2; }
.opening.is-finished { opacity: 0; visibility: hidden; }

.site-header { position: fixed; z-index: 50; isolation: isolate; top: 1.25rem; left: 50%; width: min(1180px, calc(100% - 2rem)); display: flex; align-items: center; justify-content: space-between; padding: .18rem; border: 1px solid transparent; border-radius: 999px; transform: translateX(-50%); pointer-events: none; transition: top .48s cubic-bezier(.2,.8,.2,1), padding .48s cubic-bezier(.2,.8,.2,1); }
.site-header::before { content: ""; position: absolute; z-index: -1; inset: 0; border: 1px solid rgba(255,255,255,.78); border-radius: inherit; opacity: 0; background: linear-gradient(120deg, rgba(249,252,253,.86), rgba(214,229,238,.7)); box-shadow: inset 0 1px 0 white, inset 0 -1px 0 rgba(68,101,119,.14), 0 18px 45px rgba(13,30,41,.2); transform: scaleX(.3); transform-origin: right center; -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%); transition: transform .58s cubic-bezier(.16,.8,.2,1), opacity .28s ease; will-change: transform, opacity; }
.brand { pointer-events: auto; color: #eef4f6; font: 500 clamp(1.4rem, 2vw, 2rem)/1 var(--latin-serif); letter-spacing: -.035em; text-shadow: 0 1px 16px rgba(15, 27, 37, .4); transition: color .4s ease, font-size .4s ease, padding .4s ease; }
.glass-nav, .glass-control { border: 1px solid rgba(255,255,255,.55); background: linear-gradient(135deg, rgba(255,255,255,.26), rgba(224,237,244,.12)); box-shadow: inset 0 1px 0 rgba(255,255,255,.72), inset 0 -1px 0 rgba(255,255,255,.15), 0 12px 32px rgba(15,31,44,.14); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
.glass-nav { pointer-events: auto; position: relative; display: flex; align-items: center; gap: .15rem; padding: .35rem; border-radius: 999px; overflow: hidden; transition: padding .45s ease, box-shadow .45s ease, background .45s ease, border-color .45s ease, backdrop-filter .45s ease; }
.glass-nav::before, .glass-filter::before { content: ""; position: absolute; z-index: 0; top: .3rem; bottom: .3rem; left: 0; width: var(--indicator-width, 0); border: 1px solid rgba(170,204,223,.76); border-radius: 999px; opacity: 0; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(213,233,244,.68)); box-shadow: inset 0 1px 1px white, inset 0 -5px 14px rgba(82,127,157,.13), 0 6px 18px rgba(18,44,61,.2); transform: translateX(var(--indicator-x, 0)); transition: width .46s cubic-bezier(.2,.82,.2,1), transform .46s cubic-bezier(.2,.82,.2,1), opacity .2s ease; pointer-events: none; }
.glass-nav.has-indicator::before, .glass-filter.has-indicator::before { opacity: 1; }
.glass-nav a { position: relative; z-index: 1; min-width: 3.85rem; padding: .48rem .78rem; border-radius: 999px; color: #f4f7f8; text-align: center; font-size: .9rem; text-shadow: 0 1px 10px rgba(0,0,0,.28); transition: color .28s ease, background .28s ease, box-shadow .28s ease, transform .28s ease; }
.glass-nav a:hover { color: #1e3545; background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); transform: translateY(-1px); text-shadow: none; }
.glass-nav a.is-active { color: #213949; background: transparent; border-color: transparent; box-shadow: none; transform: translateY(-1px); text-shadow: none; }
.glass-nav a.is-active::before { content: ""; position: absolute; left: 50%; bottom: .2rem; width: .25rem; height: .25rem; transform: translateX(-50%); border-radius: 50%; background: var(--blue-deep); }
.site-header.is-scrolled { top: .6rem; padding: .4rem .45rem .4rem 1.15rem; }
.site-header.is-scrolled::before { opacity: 1; transform: scaleX(1); }
.site-header.is-scrolled .brand { color: var(--ink); font-size: 1.5rem; text-shadow: none; }
.site-header.is-scrolled .glass-nav { padding: .28rem; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.12); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header.is-scrolled .glass-nav a { color: #354552; text-shadow: none; padding-block: .4rem; }

#app { min-height: 100vh; outline: none; }
.home-hero { position: relative; min-height: var(--hero-height); display: flex; align-items: flex-end; overflow: hidden; color: white; background: #526774 var(--hero-image) center/cover no-repeat; }
.home-hero::after { content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"); }
.home-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,23,32,.64) 0%, rgba(17,29,37,.28) 40%, transparent 68%), linear-gradient(0deg, rgba(8,18,25,.35), transparent 45%); }
.home-hero__copy { position: relative; z-index: 3; width: min(1180px, calc(100% - 3rem)); margin: 0 auto 8rem; }
.eyebrow, .section-kicker { margin: 0 0 .75rem; color: var(--blue); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.home-hero h1 { max-width: 700px; margin: 0; opacity: .93; font: 600 clamp(2.65rem, 4.4vw, 4.6rem)/1.1 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.home-hero__copy p { margin: 1.2rem 0 0; color: rgba(255,255,255,.78); font-family: var(--serif); font-size: clamp(1rem, 1.3vw, 1.14rem); letter-spacing: .045em; }
.scroll-cue { position: absolute; z-index: 3; right: max(1.5rem, calc((100% - 1180px)/2)); bottom: 2rem; display: flex; align-items: center; gap: 1rem; padding: .7rem .8rem .7rem 1.2rem; border-radius: 999px; color: white; cursor: pointer; font-size: .86rem; }
.scroll-cue b { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: rgba(255,255,255,.22); }
.scroll-cue:hover { color: #1e3545; border-color: rgba(170,204,223,.76); background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(213,233,244,.68)); box-shadow: inset 0 1px 1px white, inset 0 -5px 14px rgba(82,127,157,.13), 0 6px 18px rgba(18,44,61,.2); transform: translateY(-1px); text-shadow: none; }

.home-editorial { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(190px, .72fr) minmax(360px, 1.35fr) minmax(320px, 1fr); align-items: start; gap: clamp(1rem, 2.2vw, 2rem); width: min(1280px, calc(100% - 3rem)); margin: 3rem auto 5rem; }
.content-cloth, .page-content { border: 1px solid rgba(255,255,255,.94); border-radius: 1.75rem; background: rgba(251,250,247,.88); box-shadow: 0 20px 52px rgba(27,43,54,.09), inset 0 1px 0 white; }
.profile-panel, .latest-notes, .latest-albums { padding: clamp(1.3rem, 2.2vw, 2rem); }
.profile-panel__person { display: flex; align-items: center; gap: 1rem; }
.profile-panel__person img, .avatar-fallback { width: 78px; height: 78px; object-fit: cover; border-radius: 50%; }
.avatar-fallback { display: grid; place-items: center; color: white; background: var(--ink); font: 2rem var(--serif); }
.profile-panel h2 { display: inline; margin: 0; font: 500 1.8rem var(--serif); }
.profile-links { display: flex; flex-wrap: wrap; gap: .35rem .7rem; margin-top: .5rem; }
.profile-link { display: inline-flex; align-items: center; gap: .42rem; color: var(--blue-deep); font-size: .82rem; font-weight: 500; transition: color .25s ease, background .25s ease, transform .25s ease; }
.profile-link:hover, .profile-link:focus-visible { color: #284f69; transform: translateY(-1px); }
.profile-link svg { width: 1.22rem; height: 1.22rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.profile-panel__stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.6rem; border-block: 1px solid var(--line); }
.profile-panel__stats a { display: flex; flex-direction: column; padding: 1rem 0; transition: color .28s ease, background .28s ease, padding-left .28s ease; }
.profile-panel__stats a:hover { color: var(--blue-deep); background: rgba(131,172,199,.08); }
.profile-panel__stats a + a { padding-left: 1rem; border-left: 1px solid var(--line); }
.profile-panel__stats strong { font: 500 1.8rem var(--serif); }
.profile-panel__stats span { color: var(--muted); font-size: .8rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: .5rem; }
.section-heading h2 { margin: 0; font: 500 1.85rem var(--serif); }
.section-heading > a { color: var(--muted); font-size: .78rem; }
.article-row { display: grid; grid-template-columns: 160px 1fr; gap: 1.4rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.article-row--compact { grid-template-columns: 86px 1fr; gap: 1rem; padding: .8rem 0; }
.article-row__cover { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe5e7; }
.article-row__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-row:hover .article-row__cover img { transform: scale(1.035); }
.default-cover { width: 100%; height: 100%; min-height: 72px; display: flex; flex-direction: column; justify-content: space-between; padding: .7rem; color: #eaf0f2; background: linear-gradient(145deg, #708391, #263947); font: 500 1rem var(--serif); }
.default-cover small { font: .68rem var(--sans); letter-spacing: .1em; }
.article-row__meta { display: flex; gap: .7rem; align-items: center; color: var(--muted); font-size: .78rem; }
.article-row__meta time { margin-left: auto; white-space: nowrap; }
.article-row__meta a { color: var(--blue-deep); }
.pin { padding: .05rem .38rem; color: #314b5b; border: 1px solid rgba(82,127,157,.38); background: #e8f0f4; }
.article-row h3 { margin: .28rem 0; font: 500 1.25rem/1.35 var(--serif); }
.article-row h3 a, .album-card h3, .photo-wall-card__copy h2 a, .section-heading > a, .article-adjacent strong, .about-page aside a, .text-link { text-decoration: none; transition: color .28s ease, opacity .28s ease; }
.article-row h3 a:hover, .article-row h3 a:focus-visible, .album-card:hover h3, .photo-wall-card__copy h2 a:hover, .photo-wall-card__copy h2 a:focus-visible, .section-heading > a:hover, .section-heading > a:focus-visible, .article-adjacent a:hover strong, .article-adjacent a:focus-visible strong, .about-page aside a:hover, .text-link:hover { color: var(--blue-deep); }
.article-row--compact h3 { font-size: 1.02rem; }
.article-row p { margin: 0; color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-row--compact p { -webkit-line-clamp: 1; font-size: .82rem; }
.latest-notes__list { display: flex; min-height: 0; flex-direction: column; }
.latest-notes .article-row:first-child { grid-template-columns: 1fr; gap: .9rem; padding-top: 1.15rem; }
.latest-notes .article-row:first-child .article-row__cover { aspect-ratio: 16 / 8.4; border-radius: 1rem; }
.latest-notes .article-row:first-child h3 { margin-top: .45rem; font-size: clamp(1.3rem, 1.8vw, 1.65rem); }
.latest-notes .article-row:first-child p { -webkit-line-clamp: 2; font-size: .86rem; }
.latest-albums__grid { display: grid; gap: 1.2rem; }
.album-card { display: block; padding: .65rem .65rem 1rem; overflow: hidden; border: 1px solid rgba(48,72,87,.16); border-radius: 1.35rem; background: rgba(255,255,255,.54); box-shadow: inset 0 1px 0 white, 0 10px 28px rgba(27,43,54,.06); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.album-card:hover { border-color: rgba(82,127,157,.42); box-shadow: inset 0 1px 0 white, 0 15px 34px rgba(27,43,54,.12); transform: translateY(-2px); }
.album-card__image, .album-card > .default-cover { width: calc(100% - .8rem); aspect-ratio: 16 / 8.6; margin: .4rem auto 0; object-fit: cover; overflow: hidden; border-radius: .9rem; }
.album-card__body { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; }
.album-card h3 { display: flex; flex-direction: column; margin: 0; font: 500 1.25rem var(--serif); }
.album-card h3 span, .album-spread__copy h2 span { color: var(--muted); font: .78rem/1.4 var(--sans); letter-spacing: .14em; }
.album-card h3 strong, .album-spread__copy h2 strong { font: inherit; }
.album-card p { margin: .25rem 0 0; color: var(--muted); font-size: .78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.album-card__body > span { flex: none; color: var(--muted); font-size: .72rem; }
.empty-state { padding: 3rem 0; color: var(--muted); }
.page-shell { width: min(1100px, calc(100% - 3rem)); min-height: 80vh; margin: 0 auto; padding: 10rem 0 5rem; }
.page-shell h1 { font: 500 clamp(2.8rem, 6vw, 5rem)/1 var(--serif); }
.page-intro { position: relative; min-height: var(--hero-height); display: flex; align-items: end; overflow: hidden; padding: 9rem max(1.5rem, calc((100% - 1180px)/2)) 6rem; color: white; background: #526774 var(--page-image) center/cover no-repeat; }
.page-intro::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,24,33,.66), rgba(12,24,33,.12) 65%), linear-gradient(0deg, rgba(8,17,24,.28), transparent 55%); }
.page-intro::after { content: ""; position: absolute; inset: 0; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"); }
.page-intro > div { position: relative; z-index: 1; }
.page-intro h1 { margin: 0; font: 600 clamp(3.1rem, 5.8vw, 5.8rem)/1.05 var(--serif); letter-spacing: -.035em; }
.page-intro p:last-child { margin: 1rem 0 0; color: rgba(255,255,255,.78); font-family: var(--serif); letter-spacing: .08em; }
.page-content { width: min(1120px, calc(100% - 3rem)); margin: 2.6rem auto 5rem; padding: clamp(1.5rem, 3.5vw, 3.2rem); }
.glass-filter { position: relative; z-index: 20; width: max-content; max-width: 100%; display: flex; gap: .2rem; margin: -5.1rem auto 3.8rem; padding: .35rem; overflow-x: auto; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: linear-gradient(135deg, rgba(250,252,252,.82), rgba(214,229,237,.68)); box-shadow: inset 0 1px 0 white, 0 14px 35px rgba(27,47,60,.18); -webkit-backdrop-filter: blur(24px) saturate(175%); backdrop-filter: blur(24px) saturate(175%); }
.glass-filter a { position: relative; z-index: 1; min-width: 4.5rem; padding: .55rem .95rem; border-radius: 999px; text-align: center; color: #4e5c66; font-size: .9rem; white-space: nowrap; transition: color .28s ease, background .28s ease, transform .28s ease; }
.glass-filter a:hover { color: var(--ink); background: rgba(255,255,255,.45); transform: translateY(-1px); }
.glass-filter a.is-active { color: var(--ink); background: transparent; }
.notes-list { border-top: 1px solid var(--line); }
.notes-list .article-row { grid-template-columns: minmax(170px, 24%) 1fr; padding-block: 1.5rem; }
.notes-list .article-row__cover { aspect-ratio: 16/9; }
.notes-list .article-row h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 3rem; }
.pagination .glass-control, .back-link { padding: .62rem 1rem; border-radius: 999px; color: var(--ink); background: rgba(245,249,250,.76); }
.pagination .is-disabled { opacity: .42; }
.article-detail { padding-bottom: 7rem; }
.article-hero { position: relative; width: min(1320px, calc(100% - 2rem)); height: min(68vh, 720px); margin: 0 auto; overflow: hidden; background: #394b58; }
.article-hero__image { width: 100%; height: 100%; object-fit: cover; }
.article-hero__fallback { height: 100%; }
.article-hero__fallback .default-cover { min-height: 100%; padding: clamp(2rem, 5vw, 5rem); font: 500 clamp(3rem, 7vw, 7rem)/1 var(--serif); }
.article-hero .back-link { position: absolute; top: 7.2rem; left: 2rem; }
.article-reading-cloth { position: relative; width: min(900px, calc(100% - 3rem)); margin: -3rem auto 0; padding-bottom: 3rem; }
.article-header { width: auto; margin: 0; padding: 3.2rem 3.5rem 2rem; background: transparent; border-bottom: 1px solid var(--line); }
.article-header__meta { display: flex; align-items: center; gap: 1rem; margin: 0; color: var(--muted); font-size: .82rem; }
.article-header__meta a { color: var(--blue-deep); }
.article-header h1 { margin: 1rem 0 0; font: 600 clamp(2.5rem, 5vw, 4.7rem)/1.12 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.article-body { width: min(720px, calc(100% - 3rem)); margin: 0 auto; color: #2e3840; font-family: var(--serif); font-size: 1.08rem; line-height: 1.95; }
.article-body h2, .article-body h3, .article-body h4 { margin: 2.8em 0 .8em; color: var(--ink); line-height: 1.3; }
.article-body h2 { font-size: 1.8rem; }
.article-body p { margin: 1.45em 0; }
.article-detail .article-body p { text-align: justify; text-justify: inter-ideograph; }
.article-body a { color: var(--blue-deep); text-decoration: none; transition: color .28s ease, opacity .28s ease; }
.article-body a:hover { color: #315f7d; opacity: .78; }
.article-body img { width: min(980px, calc(100vw - 2rem)); max-width: none; margin: 2.5rem 50%; transform: translateX(-50%); }
.article-body blockquote { margin: 2rem 0; padding: .1rem 0 .1rem 1.5rem; border-left: 2px solid var(--blue); color: var(--muted); }
.article-body pre { max-width: 100%; overflow-x: auto; padding: 1.4rem; color: #e9eef0; background: #202b33; font: .9rem/1.7 Consolas, monospace; }
.article-body :not(pre) > code { padding: .12em .35em; background: #e7eaeb; font-family: Consolas, monospace; font-size: .88em; }
.article-adjacent { width: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 5rem 3rem 0; background: var(--line); border-block: 1px solid var(--line); }
.article-adjacent > * { min-height: 130px; padding: 1.5rem; background: var(--paper); }
.article-adjacent a { display: flex; flex-direction: column; }
.article-adjacent a:last-child { text-align: right; align-items: flex-end; }
.article-adjacent span { color: var(--muted); font-size: .75rem; }
.article-adjacent strong { margin-top: .55rem; font: 500 1.2rem var(--serif); }
.article-adjacent__empty { display: grid; place-items: center; }
.photo-index-heading { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); }
.photo-index-heading > p:last-child { color: var(--muted); font-size: .78rem; }
.photo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 6vw, 5rem) clamp(.5rem, 3vw, 2rem) 2rem; }
.photo-wall-card { min-width: 0; text-align: center; }
.photo-stack { position: relative; display: block; aspect-ratio: 16/10; padding: .55rem; border-radius: 1rem; background: #fff; box-shadow: 0 18px 34px rgba(25,39,48,.15); transform: rotate(var(--tilt)); transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .55s ease; }
.photo-stack::before, .photo-stack::after { content: ""; position: absolute; z-index: -1; inset: .2rem; border: 1px solid rgba(42,61,73,.08); border-radius: inherit; background: #f8f8f5; box-shadow: 0 12px 24px rgba(25,39,48,.1); }
.photo-stack::before { transform: rotate(-3.2deg) translate(-.15rem, .35rem); }
.photo-stack::after { transform: rotate(2.4deg) translate(.25rem, .25rem); }
.photo-stack img, .photo-stack .default-cover { width: 100%; height: 100%; object-fit: cover; overflow: hidden; border-radius: .68rem; }
.photo-wall-card:hover .photo-stack { box-shadow: 0 24px 46px rgba(25,39,48,.2); transform: rotate(0) translateY(-4px); }
.photo-wall-card__copy { padding: 1.5rem 1rem 0; }
.photo-wall-card__copy h2 { margin: 0; font: 600 clamp(1.8rem, 3vw, 2.6rem)/1.08 var(--serif); letter-spacing: -.025em; }
.photo-wall-card__copy h2 a { display: flex; flex-direction: column; gap: .18rem; }
.photo-wall-card__copy h2 span { color: var(--muted); font: .78rem/1.4 var(--sans); letter-spacing: .18em; }
.photo-wall-card__copy h2 strong { font: inherit; }
.photo-wall-card__copy p { max-width: 28rem; margin: .65rem auto .35rem; color: var(--muted); font-family: var(--serif); }
.photo-wall-card__copy small { color: var(--muted); }
.gallery-arrow, .pagination a, .scroll-cue { transition: transform .28s ease, background .28s ease, box-shadow .28s ease; }
.pagination a:hover { transform: translateY(-2px); background: rgba(255,255,255,.86); box-shadow: inset 0 1px 0 white, 0 12px 28px rgba(21,42,55,.2); }

.gallery { position: relative; height: 100svh; min-height: 680px; overflow: hidden; color: white; background: #283742; }
.gallery__stage { position: absolute; inset: 0; overflow: hidden; background: #101b24; cursor: grab; touch-action: pan-y; }
.gallery__stage.is-dragging { cursor: grabbing; }
.gallery__current, .gallery__incoming { position: absolute; top: 50%; left: 50%; max-width: none; user-select: none; -webkit-user-drag: none; }
.gallery__current { transform: translate(-50%, -50%) translate3d(var(--photo-x, 0), var(--photo-y, 0), 0) scale(var(--photo-zoom, 1)); transition: opacity .72s ease, transform .18s ease-out; will-change: opacity, transform; }
.gallery__stage.is-dragging .gallery__current { transition: opacity .72s ease; }
.gallery__current.is-departing { opacity: .72; }
.gallery__incoming { z-index: 2; opacity: .68; box-shadow: -18px 0 42px rgba(8,19,27,.2); transition: clip-path .72s cubic-bezier(.18,.78,.18,1), transform .72s cubic-bezier(.18,.78,.18,1), opacity .55s ease; will-change: clip-path, transform, opacity; }
.gallery__incoming--next { clip-path: inset(0 0 0 100%); transform: translate(-43%, -50%) scale(1.008); }
.gallery__incoming--previous { clip-path: inset(0 100% 0 0); transform: translate(-57%, -50%) scale(1.008); box-shadow: 18px 0 42px rgba(8,19,27,.2); }
.gallery__incoming.is-moving { clip-path: inset(0); opacity: 1; transform: translate(-50%, -50%) scale(1); }
.glass-panel { border: 1px solid rgba(255,255,255,.72); background: linear-gradient(145deg, rgba(245,247,245,.78), rgba(213,224,227,.62)); box-shadow: inset 0 1px 0 rgba(255,255,255,.92), inset 0 -1px 0 rgba(70,96,110,.12), 0 24px 60px rgba(14,28,37,.24); -webkit-backdrop-filter: blur(30px) saturate(150%); backdrop-filter: blur(30px) saturate(150%); }
.gallery-info { position: absolute; z-index: 5; top: 6.1rem; bottom: 1.5rem; left: max(1rem, calc((100% - 1420px)/2)); width: min(320px, 27vw); display: flex; flex-direction: column; padding: 1.25rem 1.4rem; overflow: hidden; border-radius: 1.5rem; color: var(--ink); opacity: 0; pointer-events: none; transform: translateX(calc(-100% - 2rem)); transition: transform .52s cubic-bezier(.2,.8,.2,1), opacity .3s ease; }
.gallery.is-info-open .gallery-info { opacity: 1; pointer-events: auto; transform: translateX(0); }
.gallery-info-toggle { position: absolute; z-index: 6; top: 50%; left: 1.5rem; display: grid; width: 3.25rem; height: 3.25rem; place-items: center; border-radius: 50%; color: white; cursor: pointer; transform: translateY(-50%); font: 600 1.05rem var(--latin-serif); transition: left .52s cubic-bezier(.2,.8,.2,1), transform .28s ease, background .28s ease, box-shadow .28s ease; }
.gallery-info-toggle:hover { background: rgba(255,255,255,.38); box-shadow: inset 0 1px 0 white, 0 12px 28px rgba(12,28,38,.24); transform: translateY(-50%) scale(1.06); }
.gallery-music { position: absolute; z-index: 8; top: 5.4rem; right: 1.2rem; display: grid; width: 3.25rem; height: 3.25rem; place-items: center; padding: 0; border-radius: 50%; color: white; cursor: pointer; }
.gallery-music svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transform-origin: center; }
.gallery-music:hover { background: rgba(255,255,255,.38); box-shadow: inset 0 1px 0 white, 0 12px 28px rgba(12,28,38,.24); transform: translateY(-1px) scale(1.04); }
.gallery-music[data-audio-state="pending"]::after { content: ""; position: absolute; right: .28rem; bottom: .28rem; width: .48rem; height: .48rem; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; background: #c89558; }
.gallery-music.is-playing svg { animation: gallery-music-spin 4.8s linear infinite; }
@keyframes gallery-music-spin { to { transform: rotate(360deg); } }
.gallery.is-info-open .gallery-info-toggle { left: calc(max(1rem, (100% - 1420px)/2) + min(320px, 27vw) + 1rem); }
.gallery-info__back { align-self: flex-start; padding: .2rem 0; color: #52606a; background: transparent; font-size: .78rem; transition: color .28s ease; }
.gallery-info__back:hover { color: var(--blue-deep); }
.gallery-info__album { margin-top: 1.6rem; }
.gallery-info__album p { margin: 0; color: var(--muted); letter-spacing: .16em; }
.gallery-info__album h1 { margin: .2rem 0 0; font: 500 2.7rem/1 var(--serif); }
.gallery-info__text { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid rgba(23,35,49,.16); }
.gallery-info__text h2 { margin: 0; font: 500 1.45rem/1.35 var(--serif); }
.gallery-info__text p { margin: .8rem 0 0; color: #55616a; font-family: var(--serif); font-size: .92rem; line-height: 1.75; }
.gallery-info__technical { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid rgba(23,35,49,.16); color: #52606a; font-size: .76rem; line-height: 1.6; }
.gallery-info__technical time, .gallery-info__technical p { display: block; margin: 0 0 .4rem; }
.gallery-arrow { position: absolute; z-index: 6; top: 50%; display: grid; width: 3.25rem; height: 3.25rem; place-items: center; border-radius: 50%; color: white; cursor: pointer; transform: translateY(-50%); }
.gallery-arrow:not(:disabled):hover { background: rgba(255,255,255,.38); box-shadow: inset 0 1px 0 white, 0 12px 28px rgba(12,28,38,.24); transform: translateY(-50%) scale(1.06); }
.gallery-arrow--previous { left: 5.75rem; transition: left .52s cubic-bezier(.2,.8,.2,1), transform .28s ease, background .28s ease, box-shadow .28s ease; }
.gallery.is-info-open .gallery-arrow--previous { left: calc(max(1rem, (100% - 1420px)/2) + min(320px, 27vw) + 5.2rem); }
.gallery-arrow--next { right: 1.5rem; }
.gallery-arrow:disabled { opacity: .28; cursor: default; }
.gallery-progress { position: absolute; z-index: 6; left: calc(50% + 8rem); bottom: 1.6rem; display: flex; gap: .35rem; width: min(380px, 35vw); padding: .65rem .8rem; border-radius: 999px; transform: translateX(-50%); }
.gallery-progress__segment { height: 3px; flex: 1; padding: 0; border: 0; border-radius: 10px; background: rgba(255,255,255,.42); cursor: pointer; transition: background .25s ease, transform .25s ease; }
.gallery-progress__segment.is-active { background: white; transform: scaleY(1.8); }
.gallery-zoom-hint { position: absolute; z-index: 6; right: 1.5rem; bottom: 1.45rem; margin: 0; padding: .42rem .7rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: rgba(255,255,255,.8); background: rgba(17,34,46,.28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: .72rem; pointer-events: none; }
.friends-heading { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.friends-heading > p:last-child { margin: 0; color: var(--muted); font-family: var(--serif); }
.friends-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); border-block: 1px solid var(--line); }
.friend-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.1rem; align-items: center; min-height: 112px; padding: 1.4rem; background: var(--paper); transition: background .3s ease; }
.friend-card:hover { background: var(--paper-bright); }
.friend-card:hover span:not(.friend-card__fallback) { color: var(--blue-deep); }
.friend-card img, .friend-card__fallback { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.friend-card__fallback { display: grid; place-items: center; color: white; background: var(--ink); font: 1.6rem var(--serif); }
.friend-card span:not(.friend-card__fallback) { font: 500 1.2rem var(--serif); transition: color .28s ease; }
.friend-card b { color: var(--blue-deep); font-weight: 400; }
.about-page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(3rem, 9vw, 9rem); }
.about-page aside { border-top: 1px solid var(--line); padding-top: 1rem; }
.about-page aside img, .about-page aside .avatar-fallback { width: min(180px, 100%); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.about-page aside a { display: block; margin-top: 1rem; color: var(--blue-deep); font-size: .78rem; overflow-wrap: anywhere; }
.about-body { width: auto; margin: 0; }
.about-body h1 { margin: 0 0 1.2rem; font: 600 clamp(2.8rem, 5vw, 4.8rem)/1.08 var(--serif); letter-spacing: -.035em; }
.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.8rem max(1.5rem, calc((100% - 1280px)/2)); color: rgba(238,244,247,.72); border-top: 1px solid rgba(255,255,255,.12); background: #172936; font-size: .8rem; letter-spacing: .06em; }
.page-transition { position: fixed; z-index: 90; inset: 0; opacity: 0; pointer-events: none; background: var(--paper); transition: opacity .46s cubic-bezier(.4,0,.2,1); }
.is-transitioning .page-transition { opacity: 1; }
a:focus-visible, button:focus-visible { outline: 2px solid #9bc8e2; outline-offset: 3px; }

@keyframes openingLight { from { transform: translateX(-55%); } to { transform: translateX(55%); } }

@media (max-width: 980px) {
  .site-header { width: calc(100% - 1.5rem); }
  .brand { font-size: 1.35rem; }
  .glass-nav a { min-width: auto; padding-inline: .65rem; }
  .home-editorial { grid-template-columns: 1fr 1.5fr; }
  .latest-albums { grid-column: 1 / -1; }
  .latest-albums__grid { grid-template-columns: 1fr 1fr; }
  .photo-wall { gap: 4rem 2rem; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .site-header, .site-header.is-scrolled { top: .45rem; width: calc(100% - 1rem); max-width: calc(100vw - 1rem); flex-direction: column; align-items: stretch; gap: .25rem; padding: .25rem; }
  .brand, .site-header.is-scrolled .brand { align-self: flex-start; padding: .2rem .35rem; font-size: 1.05rem; color: white; text-shadow: 0 1px 12px rgba(0,0,0,.34); }
  .glass-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; max-width: 100%; gap: 0; padding: .25rem; }
  .glass-nav a, .site-header.is-scrolled .glass-nav a { min-width: 0; padding: .42rem .18rem; font-size: .72rem; }
  .home-hero { min-height: 76svh; }
  .home-hero__copy { margin-bottom: 6.5rem; }
  .home-hero h1 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .scroll-cue span { display: none; }
  .home-editorial { display: block; width: min(100% - 1rem, 560px); margin: 1rem auto 3rem; }
  .profile-panel, .latest-notes, .latest-albums { margin-bottom: 1rem; border-radius: 1.35rem; }
  .latest-albums__grid { grid-template-columns: 1fr; }
  .article-row--compact { grid-template-columns: 82px 1fr; }
  .article-row__meta time { display: none; }
  .site-footer { flex-direction: column; gap: .25rem; }
  .page-intro { min-height: 76svh; padding: 8rem 1rem 5rem; }
  .page-content { width: calc(100% - 1rem); margin: 1rem auto 3rem; padding: 1.25rem; border-radius: 1.35rem; }
  .glass-filter { justify-content: flex-start; width: calc(100vw - 1rem); margin-top: -4.6rem; }
  .notes-list .article-row { grid-template-columns: 1fr; }
  .notes-list .article-row__cover { aspect-ratio: 16/8; }
  .article-hero { width: 100%; height: 54svh; }
  .article-hero .back-link { top: 5.2rem; left: 1rem; }
  .article-reading-cloth { width: calc(100% - 1rem); margin-top: -1.5rem; padding-bottom: 1.5rem; border-radius: 1.35rem; }
  .article-header { padding: 2rem 1.25rem 1.5rem; }
  .article-header h1 { font-size: 2.6rem; }
  .article-body { width: calc(100% - 2rem); }
  .article-adjacent { grid-template-columns: 1fr; margin-inline: 1rem; }
  .photo-wall { grid-template-columns: 1fr; gap: 4rem; padding: 3rem .5rem 1.5rem; }
  .gallery { min-height: 620px; }
  .gallery__stage { bottom: 0; }
  .gallery-info { top: auto; left: .6rem; right: .6rem; bottom: .6rem; width: auto; height: 38%; display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; padding: 1rem; border-radius: 1.25rem; transform: translateY(calc(100% + 1rem)); }
  .gallery.is-info-open .gallery-info { transform: translateY(0); }
  .gallery-info-toggle, .gallery.is-info-open .gallery-info-toggle { top: auto; bottom: 1rem; left: 1rem; width: 2.8rem; height: 2.8rem; transform: none; }
  .gallery-info-toggle:hover { transform: scale(1.06); }
  .gallery.is-info-open .gallery-info-toggle { bottom: calc(38% + 1.2rem); }
  .gallery-info__back { position: static; color: #52606a; background: transparent; }
  .gallery-info__album { margin: 0; }
  .gallery-info__album h1 { font-size: 1.8rem; }
  .gallery-info__text { grid-column: 1 / -1; }
  .gallery-info__text h2 { font-size: 1.2rem; }
  .gallery-info__text p { margin-top: .25rem; font-size: .8rem; }
  .gallery-info__technical { grid-column: 1 / -1; margin-top: .2rem; padding-top: .55rem; }
  .gallery-arrow { top: 34%; width: 2.8rem; height: 2.8rem; }
  .gallery-arrow--previous, .gallery.is-info-open .gallery-arrow--previous { left: .75rem; }
  .gallery-arrow--next { right: .75rem; }
  .gallery-progress { left: 50%; bottom: 1.2rem; width: 52vw; transition: bottom .52s cubic-bezier(.2,.8,.2,1); }
  .gallery.is-info-open .gallery-progress { bottom: calc(38% + 1.2rem); }
  .gallery-zoom-hint { display: none; }
  .friends-heading { display: block; }
  .friends-grid { grid-template-columns: 1fr; }
  .about-page { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-page aside { display: grid; grid-template-columns: 90px 1fr; gap: 0 1rem; align-items: end; }
  .about-page aside .section-kicker { grid-column: 1 / -1; }
  .about-page aside img, .about-page aside .avatar-fallback { width: 90px; grid-row: 2 / 4; }
}

/* Version 4 review: compact profile, inline short notes and editorial reader */
* { scrollbar-width: thin; scrollbar-color: rgba(92,132,157,.58) rgba(225,230,229,.55); }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { border-radius: 999px; background: rgba(225,230,229,.55); }
*::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: linear-gradient(180deg, #91b3c7, #668da6) padding-box; }
*::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #7fa7bf, #4f7994) padding-box; }

.home-sidebar .profile-panel { padding: 1.25rem; text-align: center; }
.home-sidebar .profile-panel__person { display: block; }
.home-sidebar .profile-avatar-frame { width: max-content; margin: 0 auto .7rem; border-radius: 1.35rem; transform: rotate(1.5deg); }
.home-sidebar .profile-avatar-frame:hover { transform: rotate(0) translateY(-2px); }
.home-sidebar .profile-avatar-frame img,
.home-sidebar .profile-avatar-frame .avatar-fallback { width: 82px; height: 82px; border-radius: 1.05rem; }
.home-sidebar .profile-panel__identity h2 { display: block; font-size: 1.55rem; }
.home-sidebar .profile-zodiac { margin: .25rem auto 0; }
.profile-panel__motto { margin: .75rem auto; color: var(--muted); font: 500 .82rem/1.65 var(--serif); }
.home-sidebar .profile-links { display: flex; justify-content: center; gap: .42rem; }
.home-sidebar .profile-link { width: 2.45rem; height: 2.45rem; min-height: 0; display: grid; place-items: center; padding: 0; border-radius: .78rem; }
.home-sidebar .profile-link:hover,
.home-sidebar .profile-link:focus-visible { transform: translateY(-3px); }
.home-sidebar .profile-link svg { width: 1.14rem; height: 1.14rem; }
.home-sidebar .profile-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.home-sidebar .profile-panel__stats { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; border-bottom: 0; }
.home-sidebar .profile-panel__stats a { display: flex; align-items: center; padding: .8rem .25rem 0; }
.home-sidebar .profile-panel__stats a + a { padding-left: .25rem; border-left: 1px solid var(--line); }
.home-sidebar .profile-panel__stats strong { color: var(--blue-deep); font-size: 1.35rem; }
.home-sidebar .profile-panel__stats span { font-size: .72rem; }

.home-media-column .recent-update b { gap: .22rem; color: #638da6; }
.home-media-column .recent-update b svg { width: .88rem; height: .88rem; }
.latest-short-notes { position: relative; overflow: hidden; }
.latest-short-notes::after { content: ""; position: absolute; right: -2.2rem; bottom: -2.8rem; width: 7rem; height: 7rem; border: 1px solid rgba(110,153,179,.12); border-radius: 50%; box-shadow: 0 0 0 1.2rem rgba(110,153,179,.045); pointer-events: none; }
.short-note-preview { grid-template-columns: 4.1rem minmax(0, 1fr) 1rem; padding-block: .95rem; }
.short-note-preview time { display: flex; flex-direction: column; color: var(--blue-deep); line-height: 1.15; }
.short-note-preview time strong { font: 600 1.02rem var(--serif); }
.short-note-preview time span { margin-top: .18rem; color: #7d9aac; font-size: .66rem; letter-spacing: .08em; }
.short-note-preview p { font-size: .98rem; line-height: 1.72; }

.short-note-periods { display: flex; gap: .7rem; margin-top: 1rem; padding: .25rem .1rem .55rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; }
.short-note-periods a { flex: 0 0 auto; min-width: 6.2rem; padding: .68rem 1.15rem; border: 1px solid rgba(103,142,167,.1); border-radius: 999px; color: #506479; background: rgba(255,255,255,.58); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); font: 600 .9rem var(--serif); text-align: center; scroll-snap-align: start; transition: color .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease, transform .24s ease; }
.short-note-periods a:hover,
.short-note-periods a:focus-visible { color: var(--blue-deep); border-color: rgba(95,140,168,.28); transform: translateY(-2px); }
.short-note-periods a.is-active { color: white; border-color: transparent; background: linear-gradient(135deg, #83abc3, #5e88a2); box-shadow: 0 8px 18px rgba(72,111,136,.2), inset 0 1px 0 rgba(255,255,255,.35); }
.short-note-timeline::before { left: 6.8rem; }
.short-note-item { grid-template-columns: 5.6rem 1.5rem minmax(0, 1fr); align-items: start; padding: 1.35rem .55rem; cursor: default; }
.short-note-item:hover { color: var(--ink); background: rgba(131,172,199,.055); transform: none; }
.short-note-item time { padding-top: .2rem; }
.short-note-item time strong { color: var(--blue-deep); font-size: 1.08rem; }
.short-note-item time span { margin-top: .2rem; color: #7895a8; letter-spacing: .08em; }
.short-note-item__content { min-width: 0; padding: .05rem 0 .2rem .35rem; font-size: 1rem; line-height: 1.85; }
.short-note-item__content > :first-child { margin-top: 0; }
.short-note-item__content > :last-child { margin-bottom: 0; }
.short-note-item__content img { width: min(100%, 620px); max-height: 520px; margin-top: .8rem; object-fit: contain; border-radius: 1rem; box-shadow: 0 12px 34px rgba(39,58,69,.12); }
.short-note-item__content img { cursor: zoom-in; }
.short-note-item__content img:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 4px; }
.short-note-image-viewer { position: fixed; z-index: 160; inset: 0; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.short-note-image-viewer[hidden] { display: none; }
.short-note-image-viewer.is-open { opacity: 1; pointer-events: auto; }
.short-note-image-viewer__backdrop { position: absolute; inset: 0; border: 0; background: rgba(8, 21, 34, .78); backdrop-filter: blur(10px); cursor: zoom-out; }
.short-note-image-viewer__frame { position: relative; display: grid; place-items: center; max-width: min(96vw, 1500px); max-height: 94dvh; transform: translateY(18px) scale(.94); transition: transform .34s cubic-bezier(.2,.8,.2,1); }
.short-note-image-viewer.is-open .short-note-image-viewer__frame { transform: translateY(0) scale(1); }
.short-note-image-viewer__frame img { display: block; max-width: min(96vw, 1500px); max-height: 90dvh; object-fit: contain; border-radius: .8rem; box-shadow: 0 20px 70px rgba(0,0,0,.32); }
.short-note-image-viewer__close { position: absolute; top: .75rem; right: .75rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .short-note-image-viewer, .short-note-image-viewer__frame { transition: none; } }

.footprints__layout { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); }
.footprint-list { min-height: 0; display: flex; flex-direction: column; padding: .75rem; border: 1px solid rgba(151,215,240,.15); border-radius: 1.15rem; background: rgba(9,35,51,.7); }
.footprint-list > header { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding: .25rem .35rem .75rem; color: #eef9fd; }
.footprint-list > header span { font: 600 1rem var(--serif); }
.footprint-list > header small { color: rgba(185,219,232,.66); font-size: .65rem; }
.footprint-list__body,
.footprint-list__body.is-open { height: auto; min-height: 0; max-height: 440px; flex: 1; margin: 0; padding: .4rem; overflow-y: auto; opacity: 1; transform: none; pointer-events: auto; }

.article-detail { padding: 7.5rem 0 6rem; }
.article-reading-layout { width: min(1400px, calc(100% - 3rem)); grid-template-columns: minmax(0, 960px) minmax(220px, 280px); gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.article-reading-layout .article-reading-cloth { margin: 0; padding: 0; overflow: hidden; border-radius: 1.8rem; }
.article-reading-cover { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe7e9; }
.article-reading-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-reading-cover .default-cover { min-height: 100%; }
.article-reading-inner { padding: clamp(1.35rem, 4vw, 3.2rem); }
.article-reading-inner > .back-link { width: max-content; display: inline-flex; align-items: center; gap: .42rem; margin-bottom: 1.25rem; padding: .62rem .85rem; }
.article-reading-inner > .back-link svg { width: 1rem; fill: none; stroke: currentColor; }
.article-side-column { position: sticky; top: 6.5rem; display: grid; gap: 1rem; }
.article-author-card { padding: 1.2rem; text-align: center; }
.article-author-card__person { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.article-author-card__person img,
.article-author-card__person .avatar-fallback { width: 58px; height: 58px; object-fit: cover; border: 3px solid rgba(255,255,255,.9); border-radius: 1rem; box-shadow: 0 7px 18px rgba(49,76,91,.14); }
.article-author-card__person div { display: flex; flex-direction: column; align-items: flex-start; }
.article-author-card__person strong { font: 600 1.15rem var(--serif); }
.article-author-card__person span { margin-top: .15rem; color: var(--muted); font-size: .7rem; }
.article-author-card > p { margin: .85rem 0; color: var(--muted); font: .78rem/1.65 var(--serif); }
.article-author-card__links { display: flex; justify-content: center; gap: .35rem; }
.article-author-card__links a { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .65rem; color: var(--muted); background: rgba(255,255,255,.56); transition: color .2s ease, background .2s ease, transform .2s ease; }
.article-author-card__links a:hover { color: var(--blue-deep); background: rgba(224,238,246,.85); transform: translateY(-2px); }
.article-author-card__links svg { width: .92rem; height: .92rem; }
.article-side-column .article-toc { position: relative; top: auto; width: 100%; max-height: calc(100vh - 23rem); margin: 0; }

@media (max-width: 1120px) {
  .article-detail { padding-top: 6.5rem; }
  .article-reading-layout { width: 100%; }
  .article-reading-layout .article-reading-cloth { width: min(960px, calc(100% - 3rem)); margin: 0 auto; }
  .article-side-column { position: static; }
  .article-author-card { display: none; }
}

@media (max-width: 700px) {
  *::-webkit-scrollbar { width: 7px; height: 7px; }
  .home-sidebar .profile-links { display: flex; }
  .home-sidebar .profile-panel__stats { grid-template-columns: repeat(3, 1fr); }
  .short-note-periods { margin-right: -.6rem; padding-right: .6rem; }
  .short-note-periods a { min-width: 5.7rem; padding: .6rem .95rem; font-size: .84rem; }
  .short-note-timeline::before { left: 4.6rem; }
  .short-note-item { grid-template-columns: 3.5rem 1.2rem minmax(0, 1fr); }
  .short-note-item__content { padding-left: .15rem; font-size: .95rem; }
  .footprint-list__body,
  .footprint-list__body.is-open { max-height: 330px; }
  .article-detail { padding-top: 5.6rem; }
  .article-reading-layout .article-reading-cloth { width: calc(100% - 1rem); margin: 0 auto; border-radius: 1.35rem; }
  .article-reading-cover { aspect-ratio: 4 / 3; }
  .article-reading-inner { padding: 1.15rem; }
}

/* Final cascade: confirmed home, article and about layouts */
.home-editorial { grid-template-columns: minmax(270px, .76fr) minmax(360px, 1.24fr) minmax(340px, 1fr); grid-auto-rows: max-content; align-items: start; }
.home-editorial > *, .home-sidebar, .home-media-column, .latest-notes, .latest-albums { height: max-content !important; min-height: 0; align-self: start; }
.home-sidebar, .home-media-column { grid-template-rows: max-content max-content; }
.latest-notes__list, .latest-albums__grid, .latest-short-notes__list { flex: none; }
.latest-albums__grid { grid-template-rows: none; }
.latest-albums .album-card { height: auto !important; }
.latest-short-notes__list { position: relative; }
.latest-short-notes__list::before { left: 4.86rem; }
.short-note-preview { position: relative; grid-template-columns: 4.15rem 1.25rem minmax(0, 1fr); gap: .18rem; padding-right: 1.5rem; }
.short-note-preview > svg { position: absolute; top: 50%; right: .08rem; transform: translateY(-50%); }
.short-note-preview__content { width: 100%; min-width: 0; writing-mode: horizontal-tb; }
.short-note-preview__content p { width: 100%; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }

.article-detail { padding-top: 0; }
.article-hero--editorial { width: min(1180px, calc(100% - 2rem)); height: auto; min-height: 0; margin: 0 auto; overflow: hidden; border-radius: 0 0 1.35rem 1.35rem; }
.article-hero--editorial > img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.article-reading-layout { width: min(1180px, calc(100% - 2rem)); grid-template-columns: minmax(0, 820px) minmax(300px, 330px); align-items: start; }
.article-side-column { position: sticky; top: 6.5rem; align-self: start; display: grid; gap: 1rem; margin-top: 0; }
.article-author-card { padding: 1.5rem; }
.article-author-card__person img, .article-author-card__person .avatar-fallback { width: 76px; height: 76px; }
.article-author-card__links { gap: .42rem; }
.article-author-card__links .profile-link { width: 2.45rem; height: 2.45rem; min-height: 0; padding: 0; border-radius: .78rem; }
.article-author-card__links .profile-link svg { width: 1.14rem; height: 1.14rem; }
.article-author-card__links .profile-link .brand-icon--xhs { width: 1.2rem; height: 1.2rem; }
.article-side-column .article-toc { position: relative; top: auto; width: 100%; max-height: none; margin: 0; padding: 1.45rem 1.45rem 1.8rem; overflow: visible; }
.article-toc header { font-size: 1.08rem; }
.article-toc nav { gap: .28rem; margin-top: .8rem; padding-bottom: .25rem; }
.article-toc a { padding: .52rem .56rem; font-size: .96rem; }
.article-toc a.is-subheading { font-size: .9rem; }

.about-me-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: clamp(1.25rem, 3vw, 2.4rem); align-items: start; }
.about-body { grid-column: 1; grid-row: 1; width: 100%; }
.about-body > h1 { margin-top: 0; }
.about-body > p { margin: .5rem 0; line-height: 1.65; }
.about-avatar-card { grid-column: 2; grid-row: 1; display: grid; place-items: center; min-height: 100%; padding: 1rem; }
.about-avatar-card img, .about-avatar-card .avatar-fallback { display: block; width: clamp(112px, 12vw, 156px); aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(106,145,168,.22); border-radius: 1.5rem; background: rgba(255,255,255,.62); transition: transform .38s cubic-bezier(.2,.8,.2,1), border-color .28s ease; }
.about-avatar-card img:hover, .about-avatar-card img:focus-visible, .about-avatar-card .avatar-fallback:hover { border-color: rgba(83,133,163,.48); transform: translateY(-3px) rotate(.5deg); }
.about-content-section { min-width: 0; }
.about-content-section--blog { grid-column: 1; grid-row: 2; }
.about-me-layout > .about-portrait { position: static; grid-column: 2; grid-row: 2; width: 100%; }
.about-me-layout .about-portrait__frame { position: relative; top: auto; padding: .5rem; overflow: hidden; border: 1px solid rgba(106,145,168,.2); border-radius: 1.25rem; background: rgba(255,255,255,.58); box-shadow: none; transform: none; transition: transform .38s cubic-bezier(.2,.8,.2,1), border-color .28s ease; }
.about-me-layout .about-portrait__frame:hover { border-color: rgba(83,133,163,.48); box-shadow: none; transform: translateY(-3px) rotate(.35deg); }
.about-me-layout .about-portrait__frame::before { content: none; }
.about-me-layout .about-portrait__frame img { display: block; width: 100% !important; height: auto !important; aspect-ratio: auto !important; border-radius: .85rem !important; }
.about-content-section--wide { grid-column: 1 / -1; width: 100%; }
.about-content-section a[href*="jaeps.ewapub.com"] { color: var(--blue-deep); font-weight: 650; background: linear-gradient(transparent 68%, rgba(120,169,197,.2) 0); transition: color .22s ease, background .22s ease; }
.about-content-section a[href*="jaeps.ewapub.com"]:hover, .about-content-section a[href*="jaeps.ewapub.com"]:focus-visible { color: #315f7b; background: linear-gradient(transparent 58%, rgba(120,169,197,.32) 0); }
.about-contact ul { display: flex; flex-wrap: nowrap; gap: .65rem; padding: .2rem 0 .45rem; overflow-x: auto; list-style: none; }
.about-contact li { flex: 0 0 auto; margin: 0; }

@media (max-width: 1120px) {
  .home-editorial { grid-template-columns: minmax(250px, .82fr) minmax(0, 1.35fr); }
  .article-detail { padding-top: 0; }
  .article-reading-layout { width: 100%; display: block; }
  .article-reading-layout .article-reading-cloth { width: min(880px, calc(100% - 3rem)); }
  .article-side-column { position: static; }
  .article-author-card { display: none; }
}
@media (max-width: 760px) {
  .home-editorial { grid-template-columns: 1fr; }
  .article-hero--editorial { width: 100%; border-radius: 0; }
  .about-me-layout { grid-template-columns: minmax(0, 1fr) minmax(92px, 30vw); gap: 1rem; }
  .about-avatar-card { padding: .25rem; }
  .about-avatar-card img, .about-avatar-card .avatar-fallback { width: min(27vw, 120px); border-radius: 1.15rem; }
  .about-content-section--blog, .about-me-layout > .about-portrait { grid-row: 2; }
  .about-content-section--wide { grid-column: 1 / -1; }
}

/* Confirmed home-column placement and unified article rail. */
.home-editorial.home-tools {
  width: min(1280px, calc(100% - 3rem));
  grid-template-columns: minmax(270px, .76fr) minmax(360px, 1.24fr) minmax(340px, 1fr);
  grid-auto-rows: 1fr;
  align-items: stretch;
  margin: 3rem auto 5rem;
}
.home-editorial.home-tools > .home-sidebar,
.home-editorial.home-tools > .home-notes-column,
.home-editorial.home-tools > .home-media-column {
  height: 100% !important;
  min-height: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: clamp(.8rem, 1.5vw, 1.2rem);
}
.home-notes-column .latest-notes { min-height: 0; flex: 1 1 auto; }
.home-notes-column .latest-short-notes { flex: 0 0 auto; }
.home-notes-column .latest-notes__list { flex: none; }
.home-media-column .latest-albums { min-height: 0; flex: 1 1 auto; }
.home-media-column .clock-card { min-height: 158px; flex: 0 0 auto; padding: .85rem; }
.home-media-column .clock-card .clock-card__film { min-height: 140px; padding: 1rem; }
.home-media-column .clock-card strong { font-size: clamp(2.65rem, 4vw, 4rem); }
.home-sidebar .calendar-card { min-height: 0; flex: 1 1 auto; padding: 1rem; }
.home-sidebar .calendar-card header { align-items: flex-start; gap: .5rem; }
.home-sidebar .calendar-card header > div:first-child { min-width: 0; display: block; }
.home-sidebar .calendar-jump { gap: .25rem; margin-top: .4rem; }
.home-sidebar .calendar-picker > button { min-width: 0; height: 2rem; padding: 0 .48rem; font-size: .72rem; }
.home-sidebar .calendar-arrows { padding-top: 1.45rem; }
.home-sidebar .calendar-arrows button { width: 2rem; height: 2rem; }
.home-sidebar .calendar-week { margin-top: .65rem; font-size: .66rem; }
.home-sidebar .calendar-day { min-height: 1.72rem; font-size: .72rem; }
.home-sidebar .calendar-day i { bottom: .08rem; }

.article-hero--editorial { width: min(1280px, calc(100% - 2rem)); }
.article-side-column { position: sticky; top: 6.5rem; align-self: start; }

@media (max-width: 1120px) {
  .home-editorial.home-tools { grid-template-columns: minmax(250px, .82fr) minmax(0, 1.35fr); grid-auto-rows: auto; }
  .home-editorial.home-tools > .home-media-column { grid-column: 1 / -1; height: auto !important; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); }
}
@media (max-width: 760px) {
  .home-editorial.home-tools { width: min(100% - 1rem, 560px); grid-template-columns: 1fr; margin: 1rem auto 3rem; }
  .home-editorial.home-tools > .home-sidebar,
  .home-editorial.home-tools > .home-notes-column,
  .home-editorial.home-tools > .home-media-column { height: auto !important; display: flex; }
  .home-sidebar .calendar-card { flex: none; }
  .home-media-column .clock-card { min-height: 150px; }
}

/* Version 4 confirmed composition refinements */
.home-editorial {
  grid-template-columns: minmax(270px, .76fr) minmax(360px, 1.24fr) minmax(340px, 1fr);
  grid-auto-rows: max-content;
  align-items: start;
}
.home-editorial > *,
.home-sidebar,
.home-media-column,
.latest-notes,
.latest-albums {
  height: max-content !important;
  min-height: 0;
  align-self: start;
}
.home-sidebar,
.home-media-column { grid-template-rows: max-content max-content; }
.latest-notes__list,
.latest-albums__grid,
.latest-short-notes__list { flex: none; }
.latest-albums__grid { grid-template-rows: none; }
.latest-albums .album-card { height: auto !important; }

.latest-short-notes__list { position: relative; }
.latest-short-notes__list::before { left: 4.86rem; }
.short-note-preview {
  position: relative;
  grid-template-columns: 4.15rem 1.25rem minmax(0, 1fr);
  gap: .18rem;
  padding-right: 1.5rem;
}
.short-note-preview > svg {
  position: absolute;
  top: 50%;
  right: .08rem;
  transform: translateY(-50%);
}
.short-note-preview__content {
  width: 100%;
  min-width: 0;
  writing-mode: horizontal-tb;
}
.short-note-preview__content p {
  width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.article-detail { padding-top: 0; }
.article-hero--editorial {
  width: min(1180px, calc(100% - 2rem));
  height: auto;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 1.35rem 1.35rem;
}
.article-hero--editorial > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.article-reading-layout {
  width: min(1180px, calc(100% - 2rem));
  grid-template-columns: minmax(0, 820px) minmax(300px, 330px);
  align-items: start;
}
.article-side-column {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  display: grid;
  gap: 1rem;
  margin-top: 0;
}
.article-author-card { padding: 1.5rem; }
.article-author-card__person img,
.article-author-card__person .avatar-fallback { width: 76px; height: 76px; }
.article-author-card__links { gap: .42rem; }
.article-author-card__links .profile-link {
  width: 2.45rem;
  height: 2.45rem;
  min-height: 0;
  padding: 0;
  border-radius: .78rem;
}
.article-author-card__links .profile-link svg { width: 1.14rem; height: 1.14rem; }
.article-author-card__links .profile-link .brand-icon--xhs { width: 1.2rem; height: 1.2rem; }
.article-side-column .article-toc {
  position: relative;
  top: auto;
  width: 100%;
  max-height: none;
  margin: 0;
  padding: 1.45rem 1.45rem 1.8rem;
  overflow: visible;
}
.article-toc header { font-size: 1.08rem; }
.article-toc nav { gap: .28rem; margin-top: .8rem; padding-bottom: .25rem; }
.article-toc a { padding: .52rem .56rem; font-size: .96rem; }
.article-toc a.is-subheading { font-size: .9rem; }

.about-me-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  gap: clamp(1.25rem, 3vw, 2.4rem);
  align-items: start;
}
.about-body { grid-column: 1; grid-row: 1; width: 100%; }
.about-body > h1 { margin-top: 0; }
.about-body > p { margin: .5rem 0; line-height: 1.65; }
.about-avatar-card {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 1rem;
}
.about-avatar-card img,
.about-avatar-card .avatar-fallback {
  display: block;
  width: clamp(112px, 12vw, 156px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(106,145,168,.22);
  border-radius: 1.5rem;
  background: rgba(255,255,255,.62);
  transition: transform .38s cubic-bezier(.2,.8,.2,1), border-color .28s ease;
}
.about-avatar-card img:hover,
.about-avatar-card img:focus-visible,
.about-avatar-card .avatar-fallback:hover {
  border-color: rgba(83,133,163,.48);
  transform: translateY(-3px) rotate(.5deg);
}
.about-content-section { min-width: 0; }
.about-content-section--blog { grid-column: 1; grid-row: 2; }
.about-me-layout > .about-portrait {
  position: static;
  grid-column: 2;
  grid-row: 2;
  width: 100%;
}
.about-me-layout .about-portrait__frame {
  position: relative;
  top: auto;
  padding: .5rem;
  overflow: hidden;
  border: 1px solid rgba(106,145,168,.2);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.58);
  box-shadow: none;
  transform: none;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), border-color .28s ease;
}
.about-me-layout .about-portrait__frame:hover {
  border-color: rgba(83,133,163,.48);
  box-shadow: none;
  transform: translateY(-3px) rotate(.35deg);
}
.about-me-layout .about-portrait__frame::before { content: none; }
.about-me-layout .about-portrait__frame img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  border-radius: .85rem !important;
}
.about-content-section--wide { grid-column: 1 / -1; width: 100%; }
.about-content-section a[href*="jaeps.ewapub.com"] {
  color: var(--blue-deep);
  font-weight: 650;
  background: linear-gradient(transparent 68%, rgba(120,169,197,.2) 0);
  transition: color .22s ease, background .22s ease;
}
.about-content-section a[href*="jaeps.ewapub.com"]:hover,
.about-content-section a[href*="jaeps.ewapub.com"]:focus-visible {
  color: #315f7b;
  background: linear-gradient(transparent 58%, rgba(120,169,197,.32) 0);
}
.about-contact ul {
  display: flex;
  flex-wrap: nowrap;
  gap: .65rem;
  padding: .2rem 0 .45rem;
  overflow-x: auto;
  list-style: none;
}
.about-contact li { flex: 0 0 auto; margin: 0; }

@media (max-width: 1120px) {
  .home-editorial { grid-template-columns: minmax(250px, .82fr) minmax(0, 1.35fr); }
  .article-detail { padding-top: 0; }
  .article-reading-layout { width: 100%; display: block; }
  .article-reading-layout .article-reading-cloth { width: min(880px, calc(100% - 3rem)); }
  .article-side-column { position: static; }
  .article-author-card { display: none; }
}

@media (max-width: 760px) {
  .home-editorial { grid-template-columns: 1fr; }
  .article-hero--editorial { width: 100%; border-radius: 0; }
  .about-me-layout { grid-template-columns: minmax(0, 1fr) minmax(92px, 30vw); gap: 1rem; }
  .about-avatar-card { padding: .25rem; }
  .about-avatar-card img,
  .about-avatar-card .avatar-fallback { width: min(27vw, 120px); border-radius: 1.15rem; }
  .about-content-section--blog,
  .about-me-layout > .about-portrait { grid-row: 2; }
  .about-content-section--wide { grid-column: 1 / -1; }
}

/* Version 4 article and compact-home refinement */
.home-editorial { align-items: start; }
.home-sidebar,
.home-media-column { height: auto; grid-template-rows: auto auto; }
.latest-notes,
.latest-albums { height: auto; }
.latest-notes__list,
.latest-albums__grid { flex: none; }
.latest-short-notes__list { position: relative; display: block; flex: none; padding-left: .35rem; }
.latest-short-notes__list::before { content: ""; position: absolute; top: 1.1rem; bottom: 1.1rem; left: 3.95rem; width: 1px; background: linear-gradient(transparent, rgba(91,137,165,.42) 15%, rgba(91,137,165,.42) 85%, transparent); }
.short-note-preview { grid-template-columns: 3.8rem minmax(0, 1fr) .9rem; padding: .7rem 0; border-top: 0; }
.short-note-preview + .short-note-preview { border-top: 1px solid var(--line); }
.short-note-preview time { position: relative; }
.short-note-preview time::after { content: ""; position: absolute; z-index: 1; top: 50%; right: -.43rem; width: .5rem; height: .5rem; border: 2px solid rgba(250,250,247,.95); border-radius: 50%; background: #719ab3; box-shadow: 0 0 0 3px rgba(113,154,179,.13); transform: translate(50%,-50%); }
.short-note-preview p { font-size: .92rem; -webkit-line-clamp: 2; }
.latest-albums__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: .7rem; }
.latest-albums .album-card { height: auto; padding: .45rem .45rem .7rem; }
.latest-albums .album-card__image { width: 100%; margin: 0; }
.latest-albums .album-card__body { display: block; padding: .55rem .2rem 0; }
.latest-albums .album-card h3 { font-size: 1rem; }
.latest-albums .album-card p { -webkit-line-clamp: 1; }
.latest-albums .album-card__body > span { display: block; margin-top: .3rem; }

.article-detail { padding-top: 0; }
.article-hero--editorial { width: min(1600px, 100%); height: auto; min-height: 0; max-height: none; margin: 0 auto; overflow: visible; background: #26343e; }
.article-hero--editorial > img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.article-hero--editorial > .default-cover { min-height: min(70svh, 720px); }
.article-hero--editorial .back-link { display: inline-flex; align-items: center; gap: .42rem; color: var(--ink); background: rgba(247,246,242,.76); }
.article-hero--editorial .back-link svg { width: 1rem; fill: none; stroke: currentColor; }
.article-reading-layout { position: relative; z-index: 2; margin-top: -4rem; }
.article-reading-layout .article-reading-cloth { border-radius: 1.8rem; }
.article-reading-inner { padding: clamp(1.5rem, 4vw, 3.2rem); }
.article-reading-inner .article-header { padding: .35rem 0 1.35rem; }
.article-reading-inner .article-header h1 { max-width: 18em; margin-top: .65rem; font-size: clamp(1.9rem, 3.2vw, 3.15rem); line-height: 1.22; letter-spacing: -.025em; text-wrap: balance; }
.article-reading-inner .article-body { width: min(720px, 100%); }
.article-side-column { margin-top: 4.8rem; }
.article-author-card > p { color: #587f98; font: 500 1.35rem/1.55 "STKaiti", "KaiTi", "FangSong", cursive; letter-spacing: .08em; }
.article-side-column--toc-only { margin-top: 4.8rem; }

.about-page:has(.development-logs) { grid-template-columns: 1fr; }
.about-page:has(.development-logs) .about-portrait { display: none; }
.development-logs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.development-logs > header { grid-column: 1 / -1; }
.development-log-card { height: 100%; margin-top: 0; grid-template-rows: auto auto 1fr auto; }
.development-log-card h2 { font-size: 1.25rem; }
.about-portrait { display: flex; flex-direction: column; gap: 1.4rem; }
.about-portrait__identity { display: grid; justify-items: center; gap: .7rem; padding: 1.15rem; border: 1px solid rgba(255,255,255,.88); border-radius: 1.4rem; background: rgba(255,255,255,.42); box-shadow: inset 0 1px 0 white, 0 14px 36px rgba(43,66,80,.09); }
.about-portrait__identity img,
.about-portrait__identity .avatar-fallback { width: 108px; height: 108px; object-fit: cover; border: 4px solid rgba(255,255,255,.92); border-radius: 50%; box-shadow: 0 9px 24px rgba(43,68,84,.17); }
.about-portrait__identity p { margin: 0; color: #577f98; font: 500 1.55rem/1.45 "STKaiti", "KaiTi", "FangSong", cursive; letter-spacing: .12em; text-align: center; }
.about-portrait__frame { position: relative; top: auto; padding: .7rem; border: 1px solid rgba(107,145,168,.2); border-radius: 1.5rem; background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(218,230,235,.5)); box-shadow: inset 0 1px 0 white, 0 22px 55px rgba(38,60,74,.14); transform: rotate(-.65deg); }
.about-portrait__frame img { width: 100% !important; height: auto !important; aspect-ratio: auto !important; border-radius: 1rem !important; object-fit: contain; }
.about-portrait__frame > span { right: -.65rem; bottom: 1.6rem; width: 3.2rem; }

@media (max-width: 1120px) {
  .article-detail { padding-top: 0; }
  .article-reading-layout { margin-top: -3rem; }
  .article-side-column { margin-top: 0; }
}

@media (max-width: 900px) {
  .development-logs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .latest-albums__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .latest-albums .album-card p { display: none; }
  .article-detail { padding-top: 0; }
  .article-hero--editorial .back-link { top: 5.2rem; }
  .article-reading-layout { margin-top: -1.5rem; }
  .article-reading-inner .article-header h1 { font-size: clamp(1.7rem, 8vw, 2.35rem); }
  .development-logs { grid-template-columns: 1fr; }
  .about-portrait__identity img,
  .about-portrait__identity .avatar-fallback { width: 92px; height: 92px; }
  .about-portrait__identity p { font-size: 1.35rem; }
}

/* Version 4 incremental-build review corrections */
.profile-panel__motto,
.article-author-card > p,
.about-portrait__identity p { font-family: "STXingkai", "华文行楷", "FZKai-Z03", "KaiTi", cursive; font-style: normal; }
.profile-panel__motto { color: #577f98; font-size: 1.15rem; line-height: 1.45; letter-spacing: .11em; }
.latest-short-notes__list { padding-left: 0; }
.latest-short-notes__list::before { left: 4.98rem; }
.short-note-preview { grid-template-columns: 4.15rem 1.3rem minmax(0, 1fr) .9rem; gap: .18rem; }
.short-note-preview time { align-items: flex-start; }
.short-note-preview time::after { content: none; }
.short-note-preview__dot { position: relative; z-index: 1; width: .66rem; height: .66rem; place-self: center; border: 2px solid rgba(250,250,247,.96); border-radius: 50%; background: #719ab3; box-shadow: 0 0 0 3px rgba(113,154,179,.15); }
.latest-short-notes { padding-bottom: 1rem; }
.latest-short-notes__list { grid-template-rows: none; }
.latest-albums { padding-bottom: 1rem; }
.latest-albums__grid { align-content: start; }

.article-hero--editorial { width: min(1500px, calc(100% - 3rem)); border-radius: 0 0 1.35rem 1.35rem; }
.article-reading-layout { width: min(1280px, calc(100% - 3rem)); grid-template-columns: minmax(0, 880px) minmax(285px, 340px); }
.article-reading-inner { padding: clamp(1.25rem, 2.2vw, 2rem); }
.article-reading-inner .article-header { width: 100%; padding: .2rem 0 1.1rem; }
.article-reading-inner .article-header h1 { max-width: 100%; }
.article-reading-inner .article-body { width: 100%; margin-inline: 0; }
.article-reading-inner .article-body img { width: 100%; height: auto; max-height: 620px; object-fit: contain; border-radius: .85rem; }
.article-author-card { padding: 1.45rem; }
.article-author-card__person img,
.article-author-card__person .avatar-fallback { width: 72px; height: 72px; }
.article-author-card__person strong { font-size: 1.35rem; }
.article-author-card > p { font-size: 1.55rem; }
.article-author-card__links a { width: 2.35rem; height: 2.35rem; }
.article-author-card__links svg { width: 1.05rem; height: 1.05rem; }
.article-side-column .article-toc { max-height: none; padding: 1.3rem; overflow: visible; }
.article-toc a { font-size: .88rem; }
.article-toc a.is-subheading { font-size: .82rem; }
.reading-size { gap: .35rem; margin-top: 1rem; padding: .38rem; }
.reading-size > span { padding-inline: .7rem; font-size: .82rem; }
.reading-size button { min-width: 2.55rem; height: 2.4rem; font-size: .88rem; }
.reading-size__options::before { width: 2.55rem; height: 2.4rem; }
.article-detail[data-reading-size="medium"] .reading-size__options::before { transform: translateX(calc(100% + .2rem)); }
.article-detail[data-reading-size="large"] .reading-size__options::before { transform: translateX(calc(200% + .4rem)); }

.about-page { display: block; }
.about-me-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 360px); gap: clamp(1.3rem, 3vw, 2.4rem); align-items: start; }
.about-me-primary { min-width: 0; }
.about-me-primary .about-portrait__identity { grid-template-columns: auto minmax(0, 1fr); justify-items: start; width: min(540px, 100%); margin-bottom: 1rem; }
.about-me-primary .about-portrait__identity p { text-align: left; }
.about-me-primary .about-body { width: 100%; }
.about-me-layout > .about-portrait { position: sticky; top: 7rem; display: block; }
.about-me-layout .about-portrait__frame { padding: .45rem; border: 1px solid rgba(255,255,255,.88); border-radius: .7rem; background: rgba(255,255,255,.52); box-shadow: 8px 10px 0 rgba(105,143,165,.12), 0 20px 45px rgba(39,61,74,.12); transform: rotate(.55deg); }
.about-me-layout .about-portrait__frame::before { content: ""; position: absolute; z-index: 2; top: -.42rem; left: 50%; width: 4.2rem; height: .85rem; background: rgba(220,208,183,.68); transform: translateX(-50%) rotate(-2deg); }
.about-me-layout .about-portrait__frame img { display: block; width: 100% !important; height: auto !important; aspect-ratio: auto !important; border-radius: .35rem !important; }
.about-me-layout .about-portrait__frame > span { display: none; }
.about-content-section--wide { grid-column: 1 / -1; width: 100%; }
.about-content-section--wide.about-contact ul { justify-content: space-between; }

@media (max-width: 1120px) {
  .article-reading-layout { width: 100%; }
  .article-reading-layout .article-reading-cloth { width: min(880px, calc(100% - 3rem)); }
}

@media (max-width: 760px) {
  .article-hero--editorial { width: 100%; border-radius: 0; }
  .article-reading-layout .article-reading-cloth { width: calc(100% - 1rem); }
  .article-reading-inner { padding: 1.05rem; }
  .reading-size > span { font-size: .76rem; }
  .reading-size button { min-width: 2.35rem; height: 2.25rem; }
  .reading-size__options::before { width: 2.35rem; height: 2.25rem; }
  .about-me-layout { grid-template-columns: 1fr; }
  .about-me-layout > .about-portrait { position: static; grid-row: 2; width: min(82vw, 360px); margin: 0 auto; }
  .about-content-section--wide { grid-column: auto; }
}

/* Short-note weather and mood labels */
.short-note-preview__content { min-width: 0; }
.short-note-preview__content p { margin: 0; }
.short-note-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .42rem; }
.short-note-tag { display: inline-flex; align-items: center; min-height: 1.55rem; padding: .18rem .48rem; border: 1px solid transparent; border-radius: 999px; font: 600 .66rem/1 var(--sans); letter-spacing: .02em; }
.short-note-tag--weather { color: #587d94; border-color: rgba(98,143,168,.18); background: linear-gradient(135deg, rgba(224,240,247,.9), rgba(244,247,244,.82)); }
.short-note-tag--mood { color: #876d79; border-color: rgba(164,119,139,.14); background: linear-gradient(135deg, rgba(248,232,237,.88), rgba(247,241,231,.82)); }
.short-note-item__content > .short-note-tags { margin: 0 0 .65rem; }
.short-note-item__content > .short-note-tags + p { margin-top: 0; }

/* Version 2: editorial hierarchy, discovery and responsive interaction */
:root { --space-1: .5rem; --space-2: .85rem; --space-3: 1.25rem; --space-4: 1.8rem; --space-5: 2.7rem; --radius-card: 1.75rem; --shadow-cloth: 0 22px 60px rgba(27,43,54,.1), inset 0 1px 0 rgba(255,255,255,.96); }
.progressive-image { background: var(--image-placeholder) center/cover no-repeat; }
.header-search { pointer-events: auto; display: grid; width: 2.8rem; height: 2.8rem; flex: none; place-items: center; margin-left: auto; margin-right: .45rem; padding: 0; border-radius: 50%; color: white; cursor: pointer; transition: color .3s ease, background .3s ease, transform .3s ease; }
.header-search svg, .section-heading svg, .profile-panel__stats svg, .search-field svg, .development-log-card svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.header-search:hover { color: var(--ink); background: rgba(255,255,255,.82); transform: translateY(-1px); }
.site-header.is-scrolled .header-search { color: var(--ink); background: rgba(255,255,255,.22); }
.reading-progress { position: fixed; z-index: 80; top: 0; left: 0; width: 100%; height: 2px; opacity: 0; pointer-events: none; background: rgba(255,255,255,.2); transition: opacity .3s ease; }
.reading-progress.is-visible { opacity: 1; }
.reading-progress span { display: block; width: var(--reading-progress, 0%); height: 100%; background: linear-gradient(90deg, var(--blue-deep), #c8e4f2); box-shadow: 0 0 12px rgba(131,172,199,.65); }
.profile-panel__stats a { position: relative; display: grid; grid-template-columns: 1.35rem auto; align-items: center; gap: .05rem .55rem; }
.profile-panel__stats svg { grid-row: 1 / 3; color: var(--blue-deep); }
.profile-panel__stats strong { line-height: 1; }
.profile-panel__stats span { grid-column: 2; font-size: .82rem; }
.section-heading { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.section-heading .section-kicker { margin-bottom: .3rem; color: var(--muted); }
.section-heading h2 { font-size: clamp(1.65rem, 2.3vw, 2.2rem); }
.section-heading > a { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; }
.section-heading > a svg { width: .95rem; }
.article-row__meta { letter-spacing: .025em; }
.article-row h3 { color: #142737; font-weight: 600; }
.article-row p { color: #5f6c75; line-height: 1.72; }
.content-cloth, .page-content { box-shadow: var(--shadow-cloth); }
.home-discovery { width: min(1280px, calc(100% - 3rem)); margin: -2rem auto 5rem; padding: clamp(1.4rem, 3vw, 2.5rem); }
.discovery-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.discovery-heading h2 { margin: 0; font: 600 clamp(1.7rem, 2.8vw, 2.6rem)/1.2 var(--serif); }
.discovery-heading > p { margin: 0; color: var(--muted); font-size: .82rem; }
.discovery-grid { display: grid; grid-template-columns: .8fr 1.35fr 1fr; gap: 1rem; margin-top: 1rem; }
.clock-card, .calendar-card, .category-card { min-width: 0; border: 1px solid rgba(40,67,83,.12); border-radius: 1.35rem; background: rgba(255,255,255,.46); box-shadow: inset 0 1px 0 white; }
.clock-card { position: relative; display: flex; min-height: 300px; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 1.5rem; color: white; background: linear-gradient(145deg, rgba(27,52,69,.92), rgba(78,120,146,.72)), var(--clock-image) center/cover; }
.clock-card::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.clock-card > * { position: relative; }
.clock-card p { margin: 0 0 auto; font-size: .72rem; letter-spacing: .2em; opacity: .72; }
.clock-card strong { font: 500 clamp(3.5rem, 5vw, 5.4rem)/.95 var(--latin-serif); letter-spacing: -.055em; }
.clock-card span { margin-top: .65rem; font-family: var(--serif); opacity: .8; }
.calendar-card { position: relative; padding: 1.25rem; }
.calendar-card header { display: flex; align-items: center; justify-content: space-between; }
.calendar-card header h3 { margin: 0; font: 600 1.2rem var(--serif); }
.calendar-card header button { width: 2.3rem; height: 2.3rem; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: rgba(131,172,199,.1); cursor: pointer; }
.calendar-week, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .2rem; }
.calendar-week { margin: 1.1rem 0 .4rem; color: var(--muted); text-align: center; font-size: .68rem; }
.calendar-day { position: relative; display: grid; min-width: 0; aspect-ratio: 1; place-items: center; padding: 0; border: 0; border-radius: .7rem; color: #53616b; background: transparent; font-size: .78rem; }
.calendar-day.has-content { color: var(--ink); background: rgba(131,172,199,.12); cursor: pointer; }
.calendar-day.has-content:hover { background: rgba(131,172,199,.24); }
.calendar-day i { position: absolute; bottom: .24rem; width: .22rem; height: .22rem; border-radius: 50%; background: var(--blue-deep); }
.calendar-popover { position: absolute; z-index: 14; top: var(--calendar-popover-top, 50%); right: auto; bottom: auto; left: var(--calendar-popover-left, 50%); width: var(--calendar-popover-width, min(270px, calc(100vw - 2rem))); max-height: 220px; padding: .68rem .75rem; overflow-y: auto; border: 1px solid rgba(255,255,255,.9); border-radius: .9rem; background: rgba(248,250,250,.96); box-shadow: 0 12px 36px rgba(22,42,54,.18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.calendar-popover strong { display: block; margin-bottom: .4rem; font-size: .78rem; }
.calendar-popover a { display: block; padding: .28rem 0; font-family: var(--serif); font-size: .8rem; line-height: 1.45; }
.calendar-popover a span { margin-right: .5rem; color: var(--blue-deep); font-family: var(--sans); font-size: .68rem; }
.category-card { padding: 1.35rem; }
.category-card h3 { margin: 0; font: 600 1.45rem var(--serif); }
.category-overview { margin-top: 1.25rem; border-top: 1px solid var(--line); }
.category-overview a { display: flex; align-items: center; justify-content: space-between; padding: .8rem .2rem; border-bottom: 1px solid var(--line); transition: color .25s ease, padding .25s ease; }
.category-overview a:hover { padding-inline: .55rem; color: var(--blue-deep); }
.category-overview strong { font: 500 1.25rem var(--latin-serif); }
.search-overlay { position: fixed; z-index: 95; inset: 0; opacity: 0; transition: opacity .26s ease; }
.is-search-open { overflow: hidden; }
.is-search-open .search-overlay { opacity: 1; }
.search-overlay__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(23,35,49,.44); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.search-dialog { position: relative; width: min(760px, calc(100% - 2rem)); max-height: min(760px, calc(100svh - 3rem)); margin: 8vh auto 0; padding: 1.3rem; overflow: hidden; border-radius: 1.7rem; color: var(--ink); transform: translateY(16px) scale(.985); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.is-search-open .search-dialog { transform: translateY(0) scale(1); }
.search-dialog > header { display: flex; align-items: center; justify-content: space-between; }
.search-dialog > header p { margin: 0; color: var(--blue-deep); font-size: .68rem; letter-spacing: .2em; }
.search-dialog > header h2 { margin: .1rem 0 0; font: 600 1.8rem var(--serif); }
.search-dialog > header button { width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; color: var(--ink); background: rgba(131,172,199,.12); cursor: pointer; font-size: 1.4rem; }
.search-field { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; margin-top: 1rem; padding: .8rem 1rem; border: 1px solid rgba(41,67,83,.16); border-radius: 1rem; background: rgba(255,255,255,.62); }
.search-field input { min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: 1rem var(--sans); }
.search-field kbd { color: var(--muted); font-size: .65rem; }
.search-results { max-height: min(520px, calc(100svh - 15rem)); overflow-y: auto; padding: .5rem .15rem 0; scrollbar-width: thin; scrollbar-color: rgba(82,127,157,.35) transparent; }
.search-results section h3 { margin: 1rem .6rem .35rem; color: var(--blue-deep); font-size: .72rem; letter-spacing: .14em; }
.search-results section a { display: grid; grid-template-columns: minmax(170px, .72fr) 1fr; gap: 1rem; padding: .85rem .65rem; border-top: 1px solid var(--line); border-radius: .7rem; transition: color .25s ease, background .25s ease; }
.search-results section a:hover { color: var(--blue-deep); background: rgba(131,172,199,.09); }
.search-results a div { display: flex; flex-direction: column; }
.search-results a strong { font: 600 1rem var(--serif); }
.search-results a span, .search-results a p { color: var(--muted); font-size: .76rem; }
.search-results a p { margin: 0; }
.search-results mark { padding: .04em .13em; border-radius: .2em; color: var(--blue-deep); background: rgba(130,181,209,.22); box-decoration-break: clone; }
.search-empty { padding: 3rem 1rem; color: var(--muted); text-align: center; }
.about-tabs { grid-column: 1 / -1; margin: -5.2rem auto 1rem; }
.development-logs > header h1 { margin: 0; font: 600 clamp(2.5rem, 5vw, 4.2rem)/1.1 var(--serif); }
.development-logs > header > p:last-child { color: var(--muted); }
.development-log-card { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; margin-top: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 1.25rem; background: rgba(255,255,255,.45); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.development-log-card:hover { border-color: rgba(82,127,157,.4); box-shadow: 0 16px 34px rgba(28,45,56,.09); transform: translateY(-2px); }
.development-log-card > span { color: var(--blue-deep); font-size: .72rem; letter-spacing: .12em; }
.development-log-card time { justify-self: end; color: var(--muted); font-size: .75rem; }
.development-log-card h2, .development-log-card p, .development-log-card b { grid-column: 1 / -1; }
.development-log-card h2 { margin: .7rem 0 0; font: 600 1.55rem var(--serif); }
.development-log-card p { margin: .3rem 0; color: var(--muted); }
.development-log-card b { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; color: var(--blue-deep); font-size: .76rem; }
.development-log-detail { width: min(900px, calc(100% - 2rem)); margin: -2.5rem auto 5rem; padding: clamp(1.4rem, 4vw, 3.5rem); }
.development-log-detail > header { width: min(720px, 100%); margin: 2rem auto; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.development-log-detail > header p { color: var(--blue-deep); font-size: .78rem; letter-spacing: .1em; }
.development-log-detail > header h1 { margin: .6rem 0 0; font: 600 clamp(2.3rem, 5vw, 4.4rem)/1.15 var(--serif); }
.gallery__current { transform: translate(-50%, -50%) translate3d(calc(var(--photo-x, 0px) + var(--swipe-x, 0px)), var(--photo-y, 0px), 0) scale(var(--photo-zoom, 1)); }
.gallery__stage { touch-action: none; background: #101b24 var(--gallery-placeholder) center/cover no-repeat; }
.gallery-back { position: absolute; z-index: 7; top: 1.2rem; left: 1.2rem; display: flex; align-items: center; gap: .55rem; padding: .65rem .9rem; border-radius: 999px; color: white; }
.gallery-back b { font-size: .76rem; font-weight: 500; }
.gallery-info__album { margin-top: .4rem; }
.gallery-filmstrip { position: absolute; z-index: 7; right: 5.5rem; bottom: 1rem; left: 5.5rem; padding: .42rem; overflow: hidden; border-radius: 1rem; }
.gallery-filmstrip__track { display: flex; gap: .42rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.gallery-filmstrip__track::-webkit-scrollbar { display: none; }
.gallery-thumbnail { position: relative; width: 70px; height: 46px; flex: 0 0 auto; overflow: hidden; padding: 0; border: 1px solid transparent; border-radius: .62rem; opacity: .58; background: rgba(9,20,28,.5); cursor: pointer; transition: width .3s ease, opacity .3s ease, border-color .3s ease, transform .3s ease; }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbnail span { position: absolute; right: .25rem; bottom: .12rem; color: white; font-size: .55rem; text-shadow: 0 1px 4px black; }
.gallery-thumbnail:hover { opacity: .9; transform: translateY(-1px); }
.gallery-thumbnail.is-active { width: 88px; border-color: rgba(255,255,255,.92); opacity: 1; box-shadow: 0 0 0 2px rgba(131,172,199,.55); }

@media (max-width: 980px) {
  .discovery-grid { grid-template-columns: 1fr 1.4fr; }
  .category-card { grid-column: 1 / -1; }
  .category-overview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1rem; }
}

@media (max-width: 700px) {
  .header-search { position: absolute; top: .2rem; right: .2rem; width: 2.2rem; height: 2.2rem; margin: 0; }
  .home-discovery { width: calc(100% - 1rem); margin: -1.8rem auto 3rem; padding: 1rem; border-radius: 1.35rem; }
  .discovery-heading { display: block; }
  .discovery-heading > p { margin-top: .45rem; }
  .discovery-grid { grid-template-columns: 1fr; }
  .clock-card { min-height: 220px; }
  .category-card { grid-column: auto; }
  .category-overview { grid-template-columns: 1fr; }
  .search-overlay { will-change: opacity; transition-duration: .24s; }
  .search-overlay__backdrop { background: rgba(23,35,49,.5); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .search-dialog { width: calc(100% - 1rem); max-height: calc(100svh - 1rem); margin-top: .5rem; padding: 1rem; border-radius: 1.25rem; clip-path: none; opacity: 0; transform: translate3d(0, -.65rem, 0) scale(.985); transform-origin: center top; transition: opacity .24s ease, transform .3s cubic-bezier(.2,.8,.2,1); will-change: opacity, transform; }
  .is-search-open .search-dialog { clip-path: none; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  .search-results { max-height: calc(100svh - 12rem); }
  .search-results section a { grid-template-columns: 1fr; gap: .25rem; }
  .about-tabs { margin-top: -4.6rem; }
  .about-page:has(.development-logs) aside { display: none; }
  .gallery-back { top: .7rem; left: .7rem; width: 2.8rem; height: 2.8rem; justify-content: center; padding: 0; border-radius: 50%; }
  .gallery-back b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .gallery-filmstrip { right: 3.8rem; bottom: .65rem; left: 3.8rem; }
  .gallery-thumbnail { width: 58px; height: 40px; }
  .gallery-thumbnail.is-active { width: 70px; }
  .gallery-zoom-hint { display: none; }
}

/* Version 2 review refinements */
html, body { max-width: 100%; overflow-x: hidden; }
.site-header { transition: top .48s cubic-bezier(.2,.8,.2,1), padding .48s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.22,.8,.2,1), opacity .32s ease; will-change: transform, opacity; }
.site-header.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, calc(-100% - 2rem)); }
.site-header.is-hidden * { pointer-events: none; }
.back-to-top svg, .gallery-back svg, .random-article svg { width: 1.4rem; height: 1.4rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.header-search svg { width: 1.28rem; height: 1.28rem; }
.profile-panel__stats svg { width: 1.3rem; height: 1.3rem; }
.section-heading > a svg { width: 1.08rem; height: 1.08rem; }
.section-kicker, .section-heading .section-kicker { margin: 0 0 .45rem; color: var(--blue-deep); font-size: .8rem; font-weight: 600; letter-spacing: .16em; line-height: 1.4; }
.calendar-jump { display: flex; align-items: center; gap: .35rem; }
.calendar-jump select { min-height: 2.3rem; padding: .35rem 1.8rem .35rem .65rem; border: 1px solid rgba(56,82,98,.12); border-radius: 999px; color: var(--ink); outline: 0; background: rgba(255,255,255,.64); font: 500 .82rem var(--sans); cursor: pointer; }
.calendar-jump select:focus-visible { outline: 2px solid #9bc8e2; outline-offset: 2px; }
.home-extras { width: min(1280px, calc(100% - 3rem)); display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: -3rem auto 5rem; padding: 0; overflow: hidden; background: var(--line); }
.home-extras article { min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); background: rgba(250,250,247,.9); }
.home-extras a { display: block; }
.home-extras a > span { color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
.home-extras h2 { margin: .55rem 0 .4rem; font: 600 clamp(1.45rem, 2.5vw, 2.2rem)/1.25 var(--serif); }
.home-extras a > p { margin: .5rem 0; color: var(--muted); line-height: 1.7; }
.home-extras b { display: inline-flex; align-items: center; gap: .45rem; margin-top: .8rem; color: var(--blue-deep); font-size: .82rem; }
.home-extras b svg { width: 1.1rem; height: 1.1rem; }
.photo-index-heading, .friends-heading { padding-bottom: 1.1rem; }
.photo-index-heading > p:first-child, .friends-heading > p:first-child { margin: 0; color: var(--ink); font: 600 clamp(1.35rem, 2vw, 1.8rem)/1.3 var(--serif); letter-spacing: 0; }
.photo-index-heading > p:last-child, .friends-heading > p:last-child { margin: 0; color: #66737c; font: 500 .92rem/1.5 var(--sans); }
.pagination { width: fit-content; margin-inline: auto; padding: .45rem; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; background: rgba(219,229,234,.76); box-shadow: inset 0 1px 0 white, 0 14px 32px rgba(29,48,60,.12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.pagination .glass-control { min-width: 7rem; text-align: center; border: 1px solid rgba(82,127,157,.18); background: rgba(255,255,255,.72); box-shadow: inset 0 1px 0 white; }
.pagination > span:not(.glass-control) { min-width: 3.4rem; color: var(--ink); text-align: center; font: 600 1rem var(--latin-serif); }
.pagination .is-disabled { color: #7d8991; background: rgba(255,255,255,.35); }
.about-tabs { display: flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .35rem; }
.about-tabs a { display: grid; min-height: 2.5rem; place-items: center; line-height: 1; }
.about-body { display: grid; gap: 1rem; }
.about-body > h1, .about-body > p { margin-inline: 0; }
.about-content-section { padding: clamp(1.2rem, 3vw, 1.8rem); border: 1px solid rgba(55,78,92,.1); border-radius: 1.2rem; background: rgba(255,255,255,.45); box-shadow: inset 0 1px 0 white; }
.about-content-section h2 { margin: 0 0 .6rem; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.about-content-section p { margin: .5rem 0 0; }
.about-contact ul { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.about-contact li { margin: 0; }
.about-contact .profile-link { min-height: 2.65rem; padding: .55rem .85rem; border: 1px solid rgba(82,127,157,.18); border-radius: 999px; background: rgba(255,255,255,.62); box-shadow: inset 0 1px 0 white; }
.about-contact .profile-link:hover, .about-contact .profile-link:focus-visible { border-color: rgba(82,127,157,.38); background: rgba(233,242,247,.86); box-shadow: inset 0 1px 0 white, 0 8px 20px rgba(34,57,71,.1); }
.back-to-top { position: fixed; z-index: 20; right: max(1rem, calc((100% - 1180px)/2)); bottom: 1.25rem; display: grid; width: 3rem; height: 3rem; place-items: center; padding: 0; border-radius: 50%; color: var(--ink); opacity: 0; pointer-events: none; cursor: pointer; transform: translateY(.6rem); transition: opacity .3s ease, transform .3s ease, background .3s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.search-overlay__backdrop { opacity: 0; transition: opacity .34s ease; }
.is-search-open .search-overlay__backdrop { opacity: 1; }
.search-dialog { clip-path: inset(0 0 calc(100% - 3.1rem) calc(100% - 3.1rem) round 999px); opacity: .25; transform: translate(0, -2rem) scale(.4); transform-origin: right top; transition: clip-path .52s cubic-bezier(.18,.82,.2,1), transform .52s cubic-bezier(.18,.82,.2,1), opacity .28s ease; }
.is-search-open .search-dialog { clip-path: inset(0 round 1.7rem); opacity: 1; transform: translate(0, 0) scale(1); }
.gallery__current { transform: translate(-50%, -50%) translate3d(var(--photo-x, 0px), var(--photo-y, 0px), 0) scale(var(--photo-zoom, 1)); }
.gallery-back { top: 5.4rem; width: 3.25rem; height: 3.25rem; justify-content: center; padding: 0; }
.gallery-back svg { width: 1.35rem; height: 1.35rem; }
.gallery-filmstrip { padding-right: 5.6rem; }
.gallery-filmstrip::after { content: ""; position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: 6.5rem; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(25,42,54,.78) 45%); }
.gallery-filmstrip__track { position: relative; z-index: 1; cursor: grab; touch-action: pan-x; user-select: none; }
.gallery-filmstrip__track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.gallery-filmstrip__hint { position: absolute; z-index: 3; top: 50%; right: .75rem; color: rgba(255,255,255,.88); transform: translateY(-50%); font-size: .68rem; pointer-events: none; }

@media (max-width: 700px) {
  .site-header, .site-header.is-scrolled { display: grid; min-width: 0; width: calc(100% - 1rem); max-width: calc(100% - 1rem); grid-template-columns: minmax(0, 1fr) 2.45rem; align-items: center; gap: .2rem .4rem; padding: .3rem; }
  .site-header > * { min-width: 0; }
  .site-header.is-hidden { transform: translate(-50%, calc(-100% - 1rem)); }
  .brand, .site-header.is-scrolled .brand { grid-column: 1; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-search { position: static; grid-column: 2; grid-row: 1; width: 2.45rem; height: 2.45rem; margin: 0; justify-self: end; border: 1px solid rgba(255,255,255,.48); background: rgba(255,255,255,.13); }
  .glass-nav { grid-column: 1 / -1; grid-row: 2; width: auto; min-width: 0; }
  .glass-nav a, .site-header.is-scrolled .glass-nav a { min-height: 2.35rem; display: grid; place-items: center; padding: .35rem .12rem; font-size: .78rem; }
  .page-intro { padding-top: 7.5rem; }
  .home-hero__copy { max-width: calc(100% - 2rem); }
  .profile-panel__person { align-items: flex-start; }
  .profile-link span { font-size: .8rem; }
  .discovery-heading > p { font-size: .88rem; }
  .calendar-card { padding: 1rem; }
  .calendar-jump { gap: .2rem; }
  .calendar-jump select { min-height: 2.15rem; padding-inline: .48rem 1.45rem; font-size: .76rem; }
  .home-extras { width: calc(100% - 1rem); grid-template-columns: 1fr; margin: -2rem auto 3rem; border-radius: 1.35rem; }
  .photo-index-heading, .friends-heading { display: block; }
  .photo-index-heading > p:last-child, .friends-heading > p:last-child { margin-top: .35rem; font-size: .88rem; }
  .pagination { width: 100%; gap: .35rem; padding: .35rem; }
  .pagination .glass-control { min-width: 0; flex: 1; padding-inline: .45rem; font-size: .78rem; }
  .pagination > span:not(.glass-control) { min-width: 2.8rem; font-size: .88rem; }
  .about-tabs { width: min(calc(100vw - 2rem), 22rem); margin-inline: auto; }
  .about-tabs a { min-width: 7rem; }
  .about-page { gap: 1.4rem; }
  .about-body { width: 100%; }
  .about-content-section { padding: 1rem; }
  .back-to-top { right: .8rem; bottom: .8rem; width: 2.8rem; height: 2.8rem; }
  .search-dialog { transform-origin: right top; }
  .gallery-back { top: 6.9rem; left: .7rem; }
  .gallery-arrow { top: 50%; }
  .gallery-filmstrip { right: .65rem; left: 3.8rem; padding-right: 4.7rem; }
  .gallery-filmstrip::after { width: 5.4rem; }
  .gallery-filmstrip__hint { right: .45rem; max-width: 3.7rem; text-align: center; line-height: 1.2; }
  .gallery-info { max-height: min(42svh, 330px); overflow-y: auto; scrollbar-width: thin; }
}

@media (max-width: 390px) {
  .site-header, .site-header.is-scrolled { width: calc(100% - .5rem); }
  .brand, .site-header.is-scrolled .brand { font-size: .98rem; }
  .glass-nav a, .site-header.is-scrolled .glass-nav a { font-size: .72rem; }
  .page-content { padding-inline: 1rem; }
  .calendar-jump select { max-width: 5.6rem; }
  .gallery-filmstrip { left: 3.55rem; }
}

/* Version 2 second review: coordinated navigation, compact tools and gallery controls */
.site-header.is-hidden::before {
  opacity: 0;
  transform: scaleX(.72);
  transition-duration: .28s;
}

.scroll-cue b svg {
  width: 1.28rem;
  height: 1.28rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-editorial { align-items: stretch; }
.home-sidebar {
  display: grid;
  min-width: 0;
  height: 100%;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: clamp(.8rem, 1.5vw, 1.2rem);
}
.home-sidebar > * { min-width: 0; padding: clamp(1.15rem, 1.8vw, 1.55rem); }
.home-sidebar .profile-panel { padding: clamp(1.15rem, 1.8vw, 1.55rem); }
.home-sidebar .profile-panel__person { display: block; }
.home-sidebar .profile-panel__person img,
.home-sidebar .avatar-fallback { width: 64px; height: 64px; margin-bottom: .7rem; }
.home-sidebar .profile-panel__person h2 { display: block; }
.home-sidebar .profile-links { margin-left: 0; }
.home-sidebar .profile-panel__stats { margin-top: 1rem; }
.home-sidebar .profile-panel__stats a { padding-block: .8rem; }
.home-sidebar .profile-panel__stats strong { font-size: 1.5rem; }
.home-sidebar .recent-update a,
.home-sidebar .random-article a { display: block; }
.home-sidebar .recent-update a > span,
.home-sidebar .random-article a > span { color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
.home-sidebar h2 { margin: .45rem 0 .3rem; font: 600 clamp(1.12rem, 1.5vw, 1.4rem)/1.3 var(--serif); }
.home-sidebar .random-article { display: flex; flex-direction: column; }
.home-sidebar .random-article a { display: flex; min-height: 0; flex: 1; flex-direction: column; }
.home-sidebar .random-article a > p { margin: .45rem 0; color: var(--muted); font-size: .78rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-sidebar b { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .65rem; color: var(--blue-deep); font-size: .76rem; }
.home-sidebar b svg { width: 1rem; height: 1rem; }
.latest-notes,
.latest-albums { height: 100%; }
.latest-albums { display: flex; flex-direction: column; }
.latest-albums__grid { flex: 1; }

.home-tools {
  width: min(1280px, calc(100% - 3rem));
  display: grid;
  grid-template-columns: minmax(250px, .65fr) minmax(500px, 1.35fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  margin: -2rem auto 5rem;
}
.home-tools .clock-card {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(251,250,247,.94), rgba(221,233,239,.82));
}
.home-tools .clock-card::before { display: none; }
.home-tools .clock-card p { margin: 0 0 .25rem; color: var(--blue-deep); opacity: 1; }
.home-tools .clock-card span { margin: 0; color: var(--muted); font: .78rem/1.5 var(--sans); }
.home-tools .clock-card strong { font: 500 clamp(2.5rem, 4vw, 4rem)/1 var(--latin-serif); letter-spacing: -.055em; white-space: nowrap; }
.home-tools .calendar-card { min-width: 0; padding: 1.2rem 1.35rem; }
.home-tools .calendar-card header > div:first-child { display: flex; align-items: center; gap: 1rem; }
.calendar-arrows { display: flex; gap: .35rem; }
.home-tools .calendar-week { margin-top: .8rem; }
.home-tools .calendar-day { min-height: 2rem; aspect-ratio: auto; font-size: .86rem; }
.home-tools .calendar-day i { bottom: .12rem; }

/* Version 3: unified editorial home and interactive image footprints */
.brand-icon--xhs rect { fill: currentColor; stroke: none; }
.brand-icon--xhs text { fill: var(--paper, #f7f5ef); stroke: none; font: 700 4.25px var(--sans); letter-spacing: -.25px; }
.latest-notes .article-row:first-child,
.latest-notes .article-row,
.latest-notes .article-row--compact { grid-template-columns: minmax(104px, 31%) 1fr; gap: 1rem; padding: 1rem 0; }
.latest-notes .article-row:first-child .article-row__cover,
.latest-notes .article-row .article-row__cover { aspect-ratio: 4 / 3; border-radius: .9rem; }
.latest-notes .article-row:first-child h3,
.latest-notes .article-row h3 { margin-top: .32rem; font-size: clamp(1rem, 1.25vw, 1.18rem); }
.latest-notes .article-row:first-child p,
.latest-notes .article-row p { font-size: .8rem; -webkit-line-clamp: 2; }
.latest-albums__grid { align-content: start; gap: .9rem; }
.latest-albums .album-card__image { aspect-ratio: 16 / 9; }

.footprints { width: min(1280px, calc(100% - 3rem)); margin: -2rem auto 5rem; padding: clamp(1.35rem, 2.8vw, 2.4rem); overflow: hidden; }
.footprints__heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.footprints__heading h2 { margin: .28rem 0 0; font: 600 clamp(1.5rem, 2.5vw, 2.3rem)/1.2 var(--serif); letter-spacing: -.025em; }
.footprints__heading > p { margin: 0; color: var(--muted); font-size: .84rem; text-align: right; }
.footprints__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: 1.2rem; min-height: 510px; padding-top: 1.1rem; }
.globe-shell { position: relative; min-width: 0; min-height: 500px; overflow: hidden; border: 1px solid rgba(91,119,135,.16); border-radius: 1.35rem; background: radial-gradient(circle at 42% 42%, rgba(202,222,230,.34), transparent 34%), linear-gradient(145deg, rgba(239,241,237,.94), rgba(220,228,230,.66)); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.globe-shell::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .08; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.globe-shell canvas { position: absolute; z-index: 1; inset: 0; display: block; touch-action: none; cursor: grab; }
.globe-shell canvas:active { cursor: grabbing; }
.globe-reset { position: absolute; z-index: 4; top: 1rem; right: 1rem; display: grid; width: 2.8rem; height: 2.8rem; place-items: center; padding: 0; border-radius: 50%; color: var(--ink); cursor: pointer; }
.globe-reset svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.globe-reset:hover { color: var(--blue-deep); transform: translateY(-1px) rotate(-10deg); }
.globe-hint { position: absolute; z-index: 3; bottom: 1rem; left: 1.1rem; margin: 0; color: var(--muted); font-size: .72rem; letter-spacing: .04em; pointer-events: none; }
.globe-card { position: absolute; z-index: 6; top: var(--card-y); left: var(--card-x); width: min(280px, calc(100% - 24px)); padding: .95rem; border-radius: 1.15rem; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .22s ease, transform .3s cubic-bezier(.2,.8,.2,1); }
.globe-card.is-open { opacity: 1; transform: translateY(0) scale(1); }
.globe-card__close { position: absolute; top: .45rem; right: .45rem; width: 1.8rem; height: 1.8rem; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: rgba(255,255,255,.5); cursor: pointer; }
.globe-card p { margin: 0; color: var(--muted); font-size: .67rem; letter-spacing: .12em; }
.globe-card h3 { margin: .15rem 0; font: 600 1.45rem var(--serif); }
.globe-card span { color: var(--muted); font-size: .75rem; }
.globe-card__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-top: .75rem; }
.globe-card__photos:has(img:only-child) { grid-template-columns: 1fr; }
.globe-card__photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .65rem; }
.globe-card__view { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; padding: 0; border: 0; color: var(--blue-deep); background: none; cursor: pointer; font: 600 .76rem var(--sans); }
.globe-card__view svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; }
.footprint-list { align-self: stretch; min-width: 0; }
.footprint-list__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-radius: 1rem; color: var(--ink); cursor: pointer; }
.footprint-list__toggle svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; transition: transform .28s ease; }
.footprint-list__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.footprint-list__body { max-height: 430px; margin-top: .7rem; padding: .65rem; overflow: auto; border: 1px solid var(--line); border-radius: 1rem; opacity: 0; background: rgba(255,255,255,.46); transform: translateY(-6px); transition: opacity .25s ease, transform .3s ease; scrollbar-width: thin; }
.footprint-list__body.is-open { opacity: 1; transform: none; }
.footprint-list__body section + section { margin-top: .8rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.footprint-list__body h3 { margin: 0 0 .3rem; color: var(--muted); font-size: .68rem; letter-spacing: .12em; }
.footprint-list__body button { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: .65rem .55rem; border: 0; border-radius: .65rem; color: var(--ink); background: transparent; cursor: pointer; text-align: left; transition: color .2s ease, background .2s ease, transform .2s ease; }
.footprint-list__body button:hover { color: var(--blue-deep); background: rgba(131,172,199,.13); transform: translateX(2px); }
.footprint-list__body b { color: var(--muted); font-size: .68rem; font-weight: 500; }
.photo-wall-card.is-location-match { position: relative; }
.photo-wall-card.is-location-match::before { content: "影像足迹定位"; position: absolute; z-index: 5; top: -.7rem; left: 50%; padding: .38rem .7rem; border: 1px solid rgba(112,159,187,.45); border-radius: 999px; color: var(--blue-deep); background: rgba(244,249,250,.92); box-shadow: 0 8px 24px rgba(35,64,80,.12); transform: translateX(-50%); font-size: .68rem; letter-spacing: .06em; }
.photo-wall-card.is-location-match .photo-stack { box-shadow: 0 0 0 3px rgba(132,182,210,.4), 0 26px 54px rgba(25,39,48,.2); }
.reading-size { width: fit-content; display: inline-flex; align-items: center; gap: .2rem; margin-top: 1.35rem; padding: .28rem; border-radius: 999px; color: var(--muted); }
.reading-size > span { padding: 0 .55rem; font-size: .7rem; letter-spacing: .08em; }
.reading-size button { min-width: 2.1rem; height: 2rem; padding: 0; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font: 500 .76rem var(--sans); transition: color .2s ease, background .25s ease, box-shadow .25s ease, transform .2s ease; }
.reading-size button:hover { color: var(--blue-deep); transform: translateY(-1px); }
.reading-size button[aria-pressed="true"] { color: var(--ink); background: rgba(255,255,255,.76); box-shadow: inset 0 1px 0 white, 0 5px 15px rgba(38,62,76,.11); }
.article-detail[data-reading-size="small"] .article-body { font-size: .98rem; line-height: 1.9; }
.article-detail[data-reading-size="medium"] .article-body { font-size: 1.08rem; line-height: 1.95; }
.article-detail[data-reading-size="large"] .article-body { font-size: 1.2rem; line-height: 2; }

@media (max-width: 900px) {
  .footprints__layout { grid-template-columns: 1fr; min-height: 0; }
  .globe-shell { min-height: 430px; }
  .footprint-list__body { max-height: 280px; }
}

@media (max-width: 700px) {
  .latest-notes .article-row:first-child,
  .latest-notes .article-row,
  .latest-notes .article-row--compact { grid-template-columns: 104px 1fr; }
  .footprints { width: calc(100% - 1rem); margin: -2rem auto 3rem; padding: 1rem; border-radius: 1.35rem; }
  .footprints__heading { display: block; }
  .footprints__heading > p { margin-top: .65rem; text-align: left; line-height: 1.6; }
  .globe-shell { min-height: 360px; }
  .globe-hint { font-size: .66rem; }
  .globe-card { width: min(250px, calc(100% - 24px)); }
  .gallery-music { top: 6.9rem; right: .7rem; width: 2.7rem; height: 2.7rem; }
  .gallery-music svg { width: 1.08rem; height: 1.08rem; }
}

/* Version 3 refinement: independent navigation glass and smoother reading controls */
.site-header.is-scrolled { padding: .18rem; }
.site-header.is-scrolled::before { opacity: 0; transform: scale(.92); }
.site-header.is-scrolled .glass-nav { padding: .32rem; border-color: rgba(255,255,255,.72); background: linear-gradient(120deg, rgba(247,251,252,.78), rgba(211,228,238,.62)); box-shadow: inset 0 1px 0 white, 0 12px 30px rgba(21,42,55,.14); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.site-header.is-scrolled .header-search { border-color: rgba(255,255,255,.76); background: linear-gradient(135deg, rgba(247,251,252,.82), rgba(210,228,239,.68)); box-shadow: inset 0 1px 0 white, 0 10px 26px rgba(21,42,55,.14); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }

.profile-links { gap: .55rem .9rem; margin-top: .72rem; }
.profile-link { gap: .52rem; min-height: 2rem; font-size: .94rem; }
.profile-link svg { width: 1.46rem; height: 1.46rem; }
.home-sidebar .profile-links { margin-top: .72rem; }
.about-contact .profile-link { min-height: 3rem; padding: .68rem 1rem; font-size: .94rem; }
.about-contact .profile-link svg { width: 1.48rem; height: 1.48rem; }

.article-body { transition: font-size .34s cubic-bezier(.2,.8,.2,1), line-height .34s cubic-bezier(.2,.8,.2,1); }
.article-body p,
.article-body li,
.article-body blockquote { transition: margin .34s cubic-bezier(.2,.8,.2,1); }
.reading-size { isolation: isolate; overflow: hidden; }
.reading-size__options { position: relative; display: inline-flex; gap: .2rem; padding: 0; }
.reading-size__options::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; width: 2.1rem; height: 2rem; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: inset 0 1px 0 white, 0 5px 15px rgba(38,62,76,.11); transform: translateX(0); transition: transform .34s cubic-bezier(.2,.8,.2,1); }
.article-detail[data-reading-size="medium"] .reading-size__options::before { transform: translateX(calc(100% + .2rem)); }
.article-detail[data-reading-size="large"] .reading-size__options::before { transform: translateX(calc(200% + .4rem)); }
.reading-size button[aria-pressed="true"] { background: transparent; box-shadow: none; }
.development-log-reader .article-header__meta span { color: var(--blue-deep); letter-spacing: .08em; }

@media (max-width: 700px) {
  .site-header.is-scrolled { padding: .3rem; }
  .site-header.is-scrolled::before { opacity: 0; }
  .profile-link { font-size: .9rem; }
  .profile-link span { font-size: .9rem; }
  .profile-link svg { width: 1.38rem; height: 1.38rem; }
  .reading-size { max-width: 100%; }
  .reading-size > span { padding-inline: .4rem; }
}

.gallery-thumbnail img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
.gallery-filmstrip__track { touch-action: none; overscroll-behavior-x: contain; }
.gallery-back {
  z-index: 60;
  top: 1rem;
  left: max(12.5rem, calc((100% - 1180px) / 2 + 12.5rem));
}

@media (max-width: 980px) {
  .home-editorial { grid-template-columns: 1fr; }
  .home-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
  .home-tools { grid-template-columns: minmax(220px, .7fr) minmax(430px, 1.3fr); }
}

@media (max-width: 700px) {
  .site-header.is-hidden::before { opacity: 0; transform: scale(.92); }
  .home-editorial { display: grid; }
  .home-sidebar { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: .8rem; margin-bottom: 1rem; }
  .home-sidebar .profile-panel__person { display: flex; align-items: center; }
  .home-sidebar .profile-panel__person img,
  .home-sidebar .avatar-fallback { margin-bottom: 0; }
  .home-tools { width: calc(100% - 1rem); grid-template-columns: 1fr; gap: .8rem; margin: -2rem auto 3rem; }
  .home-tools .clock-card { min-height: 0; padding: 1rem 1.15rem; }
  .home-tools .clock-card strong { font-size: clamp(2.3rem, 12vw, 3.2rem); }
  .home-tools .calendar-card { padding: 1rem; }
  .home-tools .calendar-card header > div:first-child { display: block; }
  .home-tools .calendar-jump { margin-top: .35rem; }
  .home-tools .calendar-day { min-height: 2rem; font-size: .82rem; }
  .about-tabs.glass-filter { width: min(calc(100vw - 2rem), 22rem); min-width: 0; overflow: hidden; }
  .about-tabs.glass-filter a { min-width: 0; flex: 1 1 0; }
  .gallery-back { top: .45rem; left: 7.25rem; width: 2.55rem; height: 2.55rem; }
  .gallery-info-toggle,
  .gallery.is-info-open .gallery-info-toggle { top: auto; right: auto; bottom: .65rem; left: .65rem; width: 2.75rem; height: 2.75rem; transform: none; }
  .gallery-info { top: auto; right: .6rem; bottom: 4.4rem; left: .6rem; width: auto; height: auto; max-height: min(36svh, 300px); }
  .gallery.is-info-open .gallery-info { transform: translateY(0); }
  .gallery-filmstrip { right: .65rem; bottom: .65rem; left: 4.05rem; padding-right: 4.7rem; }
  .gallery-arrow--previous,
  .gallery.is-info-open .gallery-arrow--previous { left: .65rem; }
  .gallery-arrow--next { right: .65rem; }
}

@media (max-width: 390px) {
  .gallery-back { left: 6.65rem; }
  .gallery-filmstrip { left: 3.85rem; }
  .home-tools .calendar-arrows button { width: 2.1rem; height: 2.1rem; }
}

/* Version 2 third review: animated calendar, weather-ready clock and gallery alignment */
.home-sidebar .profile-panel__person img,
.home-sidebar .avatar-fallback { width: 86px; height: 86px; }

.section-heading h2,
.home-sidebar h2 { color: var(--ink); font: 600 clamp(1.35rem, 1.8vw, 1.6rem)/1.3 var(--serif); }
.section-heading > a,
.home-sidebar b,
.profile-link { color: var(--blue-deep); font-size: .86rem; font-weight: 500; }
.home-sidebar .recent-update a > span,
.home-sidebar .random-article a > span,
.album-card__body > span { color: var(--muted); font-size: .78rem; }

.home-tools .clock-card {
  min-height: 190px;
  padding: .65rem;
  color: white;
  background: #536f80 var(--clock-weather-image) center/cover no-repeat;
  box-shadow: 0 20px 52px rgba(27,43,54,.14), inset 0 1px 0 rgba(255,255,255,.7);
}
.home-tools .clock-card::before {
  display: block;
  opacity: 1;
  background: linear-gradient(105deg, rgba(11,27,38,.58), rgba(22,47,62,.18) 62%, rgba(250,221,165,.08));
}
.clock-card__film {
  position: relative;
  width: 100%;
  min-height: 176px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 1rem;
  background: linear-gradient(120deg, rgba(20,43,57,.24), rgba(231,241,245,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(5px) saturate(115%);
  backdrop-filter: blur(5px) saturate(115%);
}
.home-tools .clock-card p { color: rgba(255,255,255,.96); font-size: .92rem; text-shadow: 0 1px 12px rgba(3,20,31,.38); }
.home-tools .clock-card span { color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 500; text-shadow: 0 1px 12px rgba(3,20,31,.45); }
.home-tools .clock-card strong { color: white; font-size: clamp(3.4rem, 5vw, 5.2rem); text-shadow: 0 3px 24px rgba(3,20,31,.42); }

.calendar-jump { position: relative; }
.calendar-picker { position: relative; }
.calendar-card .calendar-picker > button {
  width: auto;
  min-width: 5.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem;
  padding: .4rem .7rem;
  border: 1px solid rgba(56,82,98,.16);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.66);
  box-shadow: inset 0 1px 0 white;
  cursor: pointer;
  font-size: .86rem;
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.calendar-card .calendar-picker > button:hover,
.calendar-card .calendar-picker.is-open > button { color: var(--blue-deep); border-color: rgba(82,127,157,.42); background: rgba(255,255,255,.92); box-shadow: inset 0 1px 0 white, 0 8px 20px rgba(34,57,71,.12); }
.calendar-card .calendar-picker > button svg { width: .95rem; height: .95rem; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .28s ease; }
.calendar-picker.is-open > button svg { transform: rotate(180deg); }
.calendar-picker__menu {
  position: absolute;
  z-index: 12;
  top: calc(100% + .45rem);
  left: 0;
  width: max-content;
  min-width: 100%;
  max-height: 15rem;
  padding: .35rem;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: .9rem;
  opacity: 0;
  visibility: hidden;
  background: rgba(246,249,249,.94);
  box-shadow: 0 16px 38px rgba(22,42,54,.2), inset 0 1px 0 white;
  transform: translateY(-.45rem) scale(.97);
  transform-origin: top left;
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  transition: opacity .24s ease, visibility .24s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.calendar-picker.is-open .calendar-picker__menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.calendar-card .calendar-picker__menu button {
  width: 100%;
  height: auto;
  display: block;
  padding: .5rem .75rem;
  border: 0;
  border-radius: .6rem;
  color: var(--ink);
  background: transparent;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  font-size: .84rem;
  transition: color .2s ease, background .2s ease;
}
.calendar-card .calendar-picker__menu button:hover,
.calendar-card .calendar-picker__menu button[aria-selected="true"] { color: var(--blue-deep); background: rgba(131,172,199,.16); }

.calendar-arrows button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(82,127,157,.2);
  background: rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 white, 0 5px 14px rgba(34,57,71,.08);
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.calendar-arrows button svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.calendar-arrows button:hover { color: var(--blue-deep); border-color: rgba(82,127,157,.42); background: white; box-shadow: inset 0 1px 0 white, 0 8px 20px rgba(34,57,71,.14); transform: translateY(-1px); }

.calendar-popover {
  opacity: 0;
  visibility: hidden;
  transform: translateY(.7rem) scale(.98);
  transform-origin: bottom center;
  transition: opacity .24s ease, visibility .24s ease, transform .32s cubic-bezier(.2,.8,.2,1), top .28s cubic-bezier(.2,.8,.2,1), left .28s cubic-bezier(.2,.8,.2,1), width .28s ease;
}
.calendar-popover.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.calendar-popover header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .3rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.calendar-popover header strong { margin: 0; font-size: .86rem; }
.calendar-popover header button { width: 2rem; height: 2rem; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: rgba(131,172,199,.12); cursor: pointer; font-size: 1.2rem; transition: color .2s ease, background .2s ease, transform .2s ease; }
.calendar-popover header button:hover { color: var(--blue-deep); background: rgba(131,172,199,.24); transform: rotate(6deg); }
.calendar-popover a { font-size: .86rem; }

.gallery-back,
.gallery-info-toggle,
.gallery.is-info-open .gallery-info-toggle {
  left: max(.75rem, calc((100% - 1180px) / 2 - 4rem));
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
}
.gallery-back { top: 1rem; }
.gallery-zoom-hint { right: 1rem; bottom: 5.35rem; }

@media (max-width: 700px) {
  .glass-nav { min-width: 0; overflow: hidden; }
  .glass-nav a,
  .site-header.is-scrolled .glass-nav a { min-width: 0; }
  body:has(.gallery) .brand { margin-left: 3rem; }
  .gallery-back { top: .45rem; left: .55rem; width: 2.55rem; height: 2.55rem; }
  .gallery-info-toggle,
  .gallery.is-info-open .gallery-info-toggle { left: .55rem; width: 2.75rem; height: 2.75rem; }
  .clock-card__film { min-height: 158px; padding: 1rem; }
  .home-tools .clock-card { min-height: 172px; }
  .home-tools .clock-card strong { font-size: clamp(3rem, 15vw, 4.2rem); }
  .home-tools .clock-card p,
  .home-tools .clock-card span { font-size: .86rem; }
  .calendar-card header { align-items: flex-start; gap: .5rem; }
  .calendar-card .calendar-picker > button { min-width: 4.8rem; padding-inline: .55rem; }
  .calendar-popover { right: auto; bottom: auto; width: var(--calendar-popover-width, min(250px, calc(100vw - 2rem))); }
}

/* Version 2 fourth review: interaction feedback and layout polish */
.clock-card__film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  align-items: end;
}
.home-tools .clock-card .section-kicker {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: start;
  margin: 0;
}
.home-tools .clock-card strong {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
}
.home-tools .clock-card span {
  grid-column: 2;
  grid-row: 3;
  align-self: end;
  padding-bottom: .42rem;
  text-align: right;
  white-space: nowrap;
}

.calendar-grid { overflow: hidden; will-change: transform, opacity; }

.gallery-back,
.gallery-info-toggle {
  left: max(.75rem, calc((100% - 1180px) / 2 - 4rem));
}
.gallery-arrow--previous { left: max(5rem, calc((100% - 1180px) / 2 + .25rem)); }
.gallery.is-info-open .gallery-info-toggle {
  left: calc(max(1rem, (100% - 1420px) / 2) + min(320px, 27vw) + 1rem);
}
.gallery.is-info-open .gallery-arrow--previous {
  left: calc(max(1rem, (100% - 1420px) / 2) + min(320px, 27vw) + 5.2rem);
}

.gallery-back {
  transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.gallery-back:hover,
.gallery-back:focus-visible {
  color: var(--ink);
  border-color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 white, 0 12px 28px rgba(12,28,38,.24);
  transform: translateY(-1px) scale(1.05);
}
.home-sidebar .recent-update > a,
.home-sidebar .random-article > a {
  border-radius: .75rem;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.home-sidebar .recent-update > a:hover,
.home-sidebar .recent-update > a:focus-visible,
.home-sidebar .random-article > a:hover,
.home-sidebar .random-article > a:focus-visible {
  color: var(--blue-deep);
  background: rgba(131,172,199,.08);
  box-shadow: 0 0 0 .45rem rgba(131,172,199,.08);
  transform: translateY(-1px);
}
.home-sidebar .recent-update > a:hover h2,
.home-sidebar .recent-update > a:focus-visible h2,
.home-sidebar .random-article > a:hover h2,
.home-sidebar .random-article > a:focus-visible h2 { color: var(--blue-deep); }

@media (max-width: 700px) {
  .brand,
  .site-header.is-scrolled .brand {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    margin-left: 0;
    padding-inline: 3rem;
    text-align: center;
  }
  .site-header.is-scrolled .brand { color: var(--ink); text-shadow: none; }
  .header-search { position: relative; z-index: 2; grid-column: 2; grid-row: 1; }
  body:has(.gallery) .brand { margin-left: 0; }
  .gallery-info-toggle { left: .55rem; }
  .gallery-arrow--previous { left: .55rem; }
  .gallery.is-info-open .gallery-info-toggle {
    bottom: calc(min(36svh, 300px) + 5rem);
    left: .55rem;
  }
  .gallery.is-info-open .gallery-arrow--previous {
    top: auto;
    bottom: calc(min(36svh, 300px) + 9rem);
    left: .55rem;
  }
  .home-tools .clock-card span { padding-bottom: .3rem; white-space: normal; }
}

@media (max-width: 430px) {
  .clock-card__film { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto auto; }
  .home-tools .clock-card strong { grid-column: 1; grid-row: 3; }
  .home-tools .clock-card span { grid-column: 1; grid-row: 4; margin-top: .25rem; padding: 0; text-align: left; }
}

/* Version 3 precision globe and final refinement overrides */
.site-header.is-scrolled { padding: .18rem; }
.site-header.is-scrolled::before { opacity: 0; transform: scale(.92); }
.site-header.is-scrolled .glass-nav { padding: .32rem; border-color: rgba(255,255,255,.72); background: linear-gradient(120deg, rgba(247,251,252,.78), rgba(211,228,238,.62)); box-shadow: inset 0 1px 0 white, 0 12px 30px rgba(21,42,55,.14); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.site-header.is-scrolled .header-search { border-color: rgba(255,255,255,.76); background: linear-gradient(135deg, rgba(247,251,252,.82), rgba(210,228,239,.68)); box-shadow: inset 0 1px 0 white, 0 10px 26px rgba(21,42,55,.14); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }

.profile-links { gap: .55rem .9rem; margin-top: .72rem; }
.profile-link { gap: .52rem; min-height: 2rem; font-size: .94rem; }
.profile-link span { font-size: .94rem; }
.profile-link svg { width: 1.46rem; height: 1.46rem; }
.about-contact .profile-link { min-height: 3rem; padding: .68rem 1rem; font-size: .94rem; }
.about-contact .profile-link svg { width: 1.48rem; height: 1.48rem; }

.article-body { transition: font-size .34s cubic-bezier(.2,.8,.2,1), line-height .34s cubic-bezier(.2,.8,.2,1); }
.reading-size { isolation: isolate; overflow: hidden; }
.reading-size__options { position: relative; display: inline-flex; gap: .2rem; }
.reading-size__options::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; width: 2.1rem; height: 2rem; border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: inset 0 1px 0 white, 0 5px 15px rgba(38,62,76,.11); transform: translateX(0); transition: transform .34s cubic-bezier(.16,.82,.2,1); }
.article-detail[data-reading-size="medium"] .reading-size__options::before { transform: translateX(calc(100% + .2rem)); }
.article-detail[data-reading-size="large"] .reading-size__options::before { transform: translateX(calc(200% + .4rem)); }
.reading-size button[aria-pressed="true"] { background: transparent; box-shadow: none; }
.development-log-reader .article-header__meta span { color: var(--blue-deep); letter-spacing: .08em; }

.globe-shell { contain: layout paint; background: radial-gradient(circle at 50% 48%, rgba(180,215,227,.3), transparent 43%), linear-gradient(145deg, rgba(238,242,239,.97), rgba(205,219,224,.72)); }
.globe-shell::before { content: ""; position: absolute; z-index: 0; inset: -35%; pointer-events: none; opacity: .24; background: conic-gradient(from 12deg, transparent 0 18%, rgba(118,185,212,.18) 22%, transparent 28% 68%, rgba(255,255,255,.24) 72%, transparent 78%); animation: globe-ambient-scan 18s linear infinite; }
@keyframes globe-ambient-scan { to { transform: rotate(360deg); } }
.globe-shell canvas { z-index: 2; }
.globe-point-layer { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.globe-point-layer button { position: absolute; left: var(--point-x); top: var(--point-y); width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: 50%; opacity: .96; background: transparent; cursor: pointer; pointer-events: auto; transform: translate(-50%, -50%) scale(var(--point-depth, 1)); transition: opacity .22s ease, transform .28s cubic-bezier(.2,.8,.2,1); }
.globe-point-layer button::before { content: ""; position: absolute; inset: .2rem; border: 1px solid rgba(229,248,255,.72); border-radius: 50%; opacity: .55; animation: globe-point-breathe 2.6s ease-in-out infinite; }
.globe-point-layer button span { position: absolute; inset: .7rem; border: 1px solid rgba(255,255,255,.95); border-radius: 50%; background: #e7f7fc; box-shadow: 0 0 10px rgba(179,229,248,.95), 0 0 25px rgba(116,197,229,.72); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.globe-point-layer button:hover,
.globe-point-layer button:focus-visible,
.globe-point-layer button.is-pinned { z-index: 2; transform: translate(-50%, -50%) scale(calc(var(--point-depth, 1) * 1.22)); }
.globe-point-layer button:hover span,
.globe-point-layer button:focus-visible span,
.globe-point-layer button.is-pinned span { background: white; box-shadow: 0 0 12px white, 0 0 34px rgba(112,202,237,.95); transform: scale(1.18); }
@keyframes globe-point-breathe { 50% { opacity: .15; transform: scale(1.65); } }
.globe-card { top: var(--card-y); left: var(--card-x); border-color: rgba(255,255,255,.82); background: linear-gradient(145deg, rgba(248,252,252,.88), rgba(211,229,237,.76)); box-shadow: inset 0 1px 0 white, 0 18px 48px rgba(23,49,64,.22); -webkit-backdrop-filter: blur(22px) saturate(155%); backdrop-filter: blur(22px) saturate(155%); transition: opacity .24s ease, visibility .24s ease, transform .34s cubic-bezier(.16,.82,.2,1), top .42s cubic-bezier(.16,.82,.2,1), left .42s cubic-bezier(.16,.82,.2,1), width .3s ease; }
.globe-card:not(.is-open) { visibility: hidden; pointer-events: none; }
.globe-card__photos img { box-shadow: inset 0 0 0 1px rgba(255,255,255,.65); }
.footprint-list__body { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .site-header.is-scrolled { padding: .3rem; }
  .site-header.is-scrolled::before { opacity: 0; }
  .site-header,
  .site-header.is-scrolled { grid-template-columns: minmax(0, 1fr); overflow: visible; }
  .brand,
  .site-header.is-scrolled .brand { grid-column: 1; width: calc(100% - 6rem); margin-inline: auto; padding-inline: 0; }
  .header-search,
  .site-header.is-scrolled .header-search { position: absolute; z-index: 3; top: .3rem; right: .3rem; }
  .glass-nav,
  .site-header.is-scrolled .glass-nav { grid-column: 1; width: 100%; max-width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; overflow: hidden; }
  .glass-nav a,
  .site-header.is-scrolled .glass-nav a { width: 100%; min-width: 0; padding-inline: .08rem; }
  .profile-link,
  .profile-link span { font-size: .9rem; }
  .profile-link svg { width: 1.38rem; height: 1.38rem; }
  .globe-shell::before { opacity: .16; animation-duration: 24s; }
  .globe-point-layer button { width: 2.2rem; height: 2.2rem; }
}

/* Version 3 cinematic globe, media controls and mobile header refinement */
.site-header.is-scrolled .brand {
  padding: .46rem .8rem;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(249,252,253,.84), rgba(210,228,239,.68));
  box-shadow: inset 0 1px 0 white, 0 10px 28px rgba(21,42,55,.14);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}

.scroll-cue {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  padding: 0;
}
.scroll-cue span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.scroll-cue b { width: 100%; height: 100%; background: transparent; }
.scroll-cue b svg { width: 1.3rem; height: 1.3rem; }

.footprints__layout {
  padding: 1rem;
  border: 1px solid rgba(117,190,222,.2);
  border-radius: 1.5rem;
  background: radial-gradient(circle at 28% 42%, rgba(27,83,112,.48), transparent 34%), linear-gradient(145deg, #061727, #0a2336 56%, #122c3e);
  box-shadow: inset 0 1px 0 rgba(212,242,255,.14), 0 18px 46px rgba(19,43,58,.18);
}
.globe-shell {
  border-color: rgba(126,207,238,.16);
  background: radial-gradient(circle at 50% 48%, rgba(31,96,126,.26), transparent 48%), radial-gradient(circle at 46% 52%, #09253a, #03111f 70%);
  box-shadow: inset 0 0 80px rgba(0,8,18,.78), inset 0 1px 0 rgba(190,232,248,.12);
}
.globe-shell::before {
  opacity: .34;
  background: conic-gradient(from 12deg, transparent 0 18%, rgba(57,185,230,.17) 22%, transparent 28% 68%, rgba(137,224,255,.16) 72%, transparent 78%);
}
.globe-shell::after { opacity: .12; mix-blend-mode: screen; }
.globe-reset { color: #d8f3ff; border-color: rgba(164,224,246,.3); background: rgba(12,43,61,.64); }
.globe-reset:hover { color: white; background: rgba(53,119,149,.72); }
.globe-hint { color: rgba(210,236,247,.7); }
.globe-card {
  color: #eaf7fc;
  border-color: rgba(164,224,246,.32);
  background: linear-gradient(145deg, rgba(18,52,70,.9), rgba(7,29,44,.84));
  box-shadow: inset 0 1px 0 rgba(226,248,255,.18), 0 18px 48px rgba(0,7,15,.46);
}
.globe-card p,
.globe-card span { color: rgba(207,232,242,.72); }
.globe-card__close { color: rgba(226,244,251,.8); background: rgba(170,220,240,.12); }
.globe-card__view { color: #8edbf7; }
.footprint-list { color: #eaf7fc; }
.footprint-list__toggle { color: #eaf7fc; border-color: rgba(164,224,246,.28); background: rgba(16,48,65,.72); }
.footprint-list__body {
  max-height: 0;
  margin-top: 0;
  padding: 0 .65rem;
  overflow: hidden;
  border-color: rgba(151,215,240,.2);
  opacity: 0;
  background: linear-gradient(145deg, rgba(19,52,69,.78), rgba(7,27,41,.72));
  transform: translateY(-8px);
  transition: max-height .5s cubic-bezier(.2,.8,.2,1), margin-top .4s ease, padding .4s ease, opacity .28s ease, transform .42s cubic-bezier(.2,.8,.2,1);
}
.footprint-list__body.is-open {
  max-height: 430px;
  margin-top: .7rem;
  padding: .65rem;
  overflow: auto;
  opacity: 1;
  transform: none;
}
.footprint-list__body h3,
.footprint-list__body b { color: rgba(185,219,232,.7); }
.footprint-list__body button { color: #e9f7fc; }
.footprint-list__body button:hover { color: white; background: rgba(82,173,207,.18); }
.footprint-list__body section + section { border-color: rgba(151,215,240,.14); }

.development-log-reader .article-hero__image { object-position: center 54%; filter: saturate(.9) contrast(1.03); }

.gallery-music {
  top: 1rem;
  transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .32s cubic-bezier(.2,.8,.2,1);
}
.gallery-music::before {
  content: "";
  position: absolute;
  width: 1.65rem;
  height: 2px;
  border-radius: 2px;
  opacity: 0;
  background: currentColor;
  box-shadow: 0 0 5px rgba(255,255,255,.35);
  transform: rotate(-45deg) scaleX(.35);
  transition: opacity .22s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.gallery-music[data-audio-state="paused"]::before {
  opacity: .9;
  transform: rotate(-45deg) scaleX(1);
}
.gallery-music[data-audio-state="paused"] svg { opacity: .62; transform: scale(.92); }
.gallery-music[data-audio-state="playing"] { color: #f5fcff; background: rgba(166,216,239,.28); }
.gallery-music:active { transform: scale(.92); }

@media (max-width: 900px) {
  .footprint-list__body.is-open { max-height: 280px; }
}

@media (max-width: 700px) {
  .site-header,
  .site-header.is-scrolled { grid-template-rows: 2.7rem auto; padding-top: .25rem; }
  .brand,
  .site-header.is-scrolled .brand { grid-row: 1; justify-self: center; }
  .site-header.is-scrolled .brand { width: auto; padding: .4rem .72rem; }
  .header-search,
  .site-header.is-scrolled .header-search { top: .25rem; right: .25rem; }
  .glass-nav,
  .site-header.is-scrolled .glass-nav { grid-row: 2; margin-top: .2rem; }
  .home-hero { min-height: max(620px, 76svh); }
  .footprints__layout { padding: .65rem; border-radius: 1.2rem; }
  .gallery-music { top: .45rem; right: .55rem; }
  .scroll-cue { right: 1rem; bottom: 1rem; width: 3rem; height: 3rem; }
}

/* Version 3 mobile performance and control-layout fixes */
.brand {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: blur(0) saturate(100%);
  backdrop-filter: blur(0) saturate(100%);
  transition: color .48s ease, font-size .48s ease, padding .48s cubic-bezier(.2,.8,.2,1), border-color .42s ease, background .48s ease, box-shadow .48s ease, backdrop-filter .48s ease;
}
.site-header.is-scrolled .brand {
  border-color: rgba(255,255,255,.74);
  background: linear-gradient(135deg, rgba(249,252,253,.84), rgba(210,228,239,.68));
  box-shadow: inset 0 1px 0 white, 0 10px 28px rgba(21,42,55,.14);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
.footprints__layout { background: #071b2b; }
.globe-shell { background: #061827; }
.globe-shell::before { display: none; animation: none; }
.globe-shell::after { display: none; }

@media (max-width: 700px) {
  .brand,
  .glass-nav,
  .header-search,
  .site-header.is-scrolled .brand,
  .site-header.is-scrolled .glass-nav,
  .site-header.is-scrolled .header-search {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header.is-scrolled .brand {
    background: rgba(231,241,246,.94);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px rgba(19,42,56,.12);
  }
  .site-header.is-scrolled .glass-nav,
  .site-header.is-scrolled .header-search {
    background: rgba(225,238,245,.94);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px rgba(19,42,56,.12);
  }
  body:has(.gallery) .site-header,
  body:has(.gallery) .site-header.is-scrolled {
    display: block;
    top: 0;
    width: 100%;
    height: 3.45rem;
    padding: 0;
  }
  body:has(.gallery) .glass-nav,
  body:has(.gallery) .header-search { display: none; }
  body:has(.gallery) .brand,
body:has(.gallery) .site-header.is-scrolled .brand {
    position: absolute;
    top: 1rem;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 8rem);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: white;
    background: transparent;
    box-shadow: none;
    text-overflow: ellipsis;
    text-shadow: 0 1px 12px rgba(0,0,0,.38);
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

/* Version 3 album refresh: stable wireframe globe and interaction polish */
.home-editorial { align-items: stretch; }
.latest-notes,
.latest-albums { height: 100%; }
.latest-notes,
.latest-albums { display: flex; flex-direction: column; }
.latest-notes__list,
.latest-albums__grid { flex: 1; }
.latest-albums__grid { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.latest-albums .album-card { height: 100%; display: flex; flex-direction: column; }
.latest-albums .album-card__body { flex: 1; }

.photo-wall {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.4rem, 4vw, 4.25rem) clamp(1.25rem, 2.8vw, 2.5rem);
}
.photo-wall-card__copy h2 { font-size: clamp(1.55rem, 2.2vw, 2.15rem); }

.profile-link svg { width: 1.55rem; height: 1.55rem; }
.profile-link .brand-icon--xhs { width: 1.66rem; height: 1.66rem; }
.profile-panel__stats a { align-items: flex-start; }
.profile-panel__stats svg {
  width: 1.48rem;
  height: 1.48rem;
  margin-bottom: .35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
}

.footprints__layout {
  background-color: #071b2b;
  background-image:
    radial-gradient(circle at 7% 13%, rgba(205,240,255,.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 18% 72%, rgba(205,240,255,.5) 0 1px, transparent 1.4px),
    radial-gradient(circle at 34% 25%, rgba(205,240,255,.42) 0 1px, transparent 1.4px),
    radial-gradient(circle at 51% 83%, rgba(205,240,255,.58) 0 1px, transparent 1.5px),
    radial-gradient(circle at 67% 16%, rgba(205,240,255,.48) 0 1px, transparent 1.4px),
    radial-gradient(circle at 79% 62%, rgba(205,240,255,.65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 93% 31%, rgba(205,240,255,.42) 0 1px, transparent 1.4px);
}
.globe-shell {
  background-color: #061827;
  background-image:
    radial-gradient(circle at 12% 21%, rgba(211,242,255,.5) 0 1px, transparent 1.5px),
    radial-gradient(circle at 29% 79%, rgba(211,242,255,.34) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 18%, rgba(211,242,255,.42) 0 1px, transparent 1.5px),
    radial-gradient(circle at 87% 74%, rgba(211,242,255,.52) 0 1px, transparent 1.5px);
}
.globe-shell::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: block;
  width: min(74%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(91,203,239,.24);
  border-radius: 50%;
  opacity: .72;
  background: transparent;
  box-shadow: 0 0 16px rgba(81,196,235,.28), 0 0 38px rgba(54,157,200,.2), 0 0 72px rgba(34,113,154,.13);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: globe-atmosphere 5.8s ease-in-out infinite;
}
.globe-shell::after { display: none; animation: none; }
@keyframes globe-atmosphere {
  0%, 100% { opacity: .58; filter: brightness(.92); box-shadow: 0 0 14px rgba(81,196,235,.24), 0 0 34px rgba(54,157,200,.17), 0 0 66px rgba(34,113,154,.1); }
  50% { opacity: .86; filter: brightness(1.16); box-shadow: 0 0 20px rgba(107,219,250,.34), 0 0 48px rgba(54,157,200,.25), 0 0 84px rgba(34,113,154,.16); }
}
.globe-card__close {
  transition: color .24s ease, background .24s ease, transform .3s cubic-bezier(.2,.8,.2,1), opacity .24s ease;
}
.globe-card__close:hover,
.globe-card__close:focus-visible { color: white; background: rgba(164,224,246,.24); transform: rotate(8deg) scale(1.08); }

.back-link {
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .3s cubic-bezier(.2,.8,.2,1);
}
.back-link:hover,
.back-link:focus-visible {
  color: var(--blue-deep);
  border-color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 white, 0 12px 28px rgba(12,28,38,.2);
  transform: translateY(-2px);
}

.site-header,
.site-header .brand,
.site-header .glass-nav,
.site-header .header-search {
  transition-duration: .48s;
  transition-timing-function: cubic-bezier(.2,.75,.2,1);
}
.site-header:not(.is-scrolled) .brand {
  border-color: transparent;
  background: rgba(231,241,246,0);
  box-shadow: none;
}

.gallery-info-toggle,
.gallery-arrow--previous {
  transition: left .52s cubic-bezier(.2,.8,.2,1), bottom .52s cubic-bezier(.2,.8,.2,1), transform .28s ease, background .28s ease, box-shadow .28s ease, opacity .28s ease;
}
.calendar-popover header button:active { transform: rotate(10deg) scale(.88); }

@media (max-width: 980px) {
  .photo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .site-header,
  .site-header.is-scrolled { grid-template-columns: minmax(0, 1fr); }
  .brand,
  .site-header.is-scrolled .brand {
    width: max-content;
    max-width: calc(100% - 7rem);
    padding: .4rem .72rem;
  }
  .site-header:not(.is-scrolled) .brand { padding-inline: .72rem; }
  .article-hero .back-link { top: 7.35rem; left: 1rem; }
  .photo-wall { grid-template-columns: 1fr; }
  .gallery-info-toggle,
  .gallery.is-info-open .gallery-info-toggle {
    top: auto;
    bottom: .65rem;
    left: .55rem;
    transform: translateZ(0);
  }
  .gallery-arrow--previous,
  .gallery.is-info-open .gallery-arrow--previous {
    top: auto;
    bottom: 5rem;
    left: .55rem;
    transform: translateZ(0);
  }
  .gallery.is-info-open .gallery-info-toggle { bottom: calc(min(36svh, 300px) + 5rem); }
  .gallery.is-info-open .gallery-arrow--previous { bottom: calc(min(36svh, 300px) + 9rem); }
  .gallery-info-toggle:hover { transform: scale(1.04); }
  .gallery-arrow--previous:hover { transform: scale(1.04); }
  .calendar-popover header button {
    transition: color .22s ease, background .22s ease, transform .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
  }
  .globe-shell::before { width: 74%; animation-duration: 7.2s; }
  .globe-point-layer button { width: 1.6rem; height: 1.6rem; }
  .globe-point-layer button::before { inset: .22rem; }
  .globe-point-layer button span { inset: .56rem; }
  .gallery-arrow { display: none; }
}

/* Version 4: compact editorial layout, short notes and reading outline */
.home-sidebar { grid-template-rows: auto minmax(0, 1fr); }
.home-media-column { display: grid; min-width: 0; height: 100%; grid-template-rows: auto minmax(0, 1fr); gap: clamp(.8rem, 1.5vw, 1.2rem); }
.home-media-column .recent-update { padding: clamp(1.15rem, 1.8vw, 1.55rem); }
.home-media-column .recent-update > a { display: block; border-radius: .8rem; transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease; }
.home-media-column .recent-update > a:hover,
.home-media-column .recent-update > a:focus-visible { color: var(--blue-deep); background: rgba(131,172,199,.08); box-shadow: 0 0 0 .45rem rgba(131,172,199,.08); transform: translateY(-1px); }
.home-media-column .recent-update > a > span { color: var(--muted); font-size: .76rem; }
.home-media-column .recent-update h2 { margin: .42rem 0; font: 600 clamp(1.08rem, 1.35vw, 1.35rem)/1.35 var(--serif); transition: color .24s ease; }
.home-media-column .recent-update b { display: inline-flex; align-items: center; gap: .45rem; color: var(--blue-deep); font-size: .8rem; }
.home-media-column .recent-update b svg { width: 1.05rem; height: 1.05rem; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.home-media-column .recent-update a:hover b svg { transform: translateX(4px); }
.profile-panel__person { align-items: flex-start; }
.profile-avatar-frame { position: relative; flex: none; padding: .28rem; border: 1px solid rgba(255,255,255,.95); border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(184,210,226,.55)); box-shadow: inset 0 1px 0 white, 0 10px 28px rgba(35,62,79,.16); }
.home-sidebar .profile-avatar-frame img,
.home-sidebar .profile-avatar-frame .avatar-fallback { width: 92px; height: 92px; margin: 0; }
.profile-avatar-frame > span { position: absolute; right: .18rem; bottom: .45rem; width: 1rem; height: 1rem; border: 2px solid #f8faf9; border-radius: 50%; background: #91b4c9; box-shadow: 0 3px 10px rgba(35,68,88,.25); }
.profile-panel__identity { min-width: 0; flex: 1; }
.profile-zodiac { width: max-content; margin: .25rem 0 .75rem; padding: .28rem .55rem; border: 1px solid rgba(102,145,172,.18); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.58); font-size: .74rem; letter-spacing: .04em; }
.home-sidebar .profile-links { display: grid; grid-template-columns: 1fr; gap: .38rem; margin-top: 0; }
.home-sidebar .profile-link { min-height: 2.45rem; padding: .38rem .62rem; border: 1px solid rgba(91,132,158,.14); border-radius: .7rem; background: rgba(255,255,255,.5); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.home-sidebar .profile-link:hover,
.home-sidebar .profile-link:focus-visible { border-color: rgba(91,132,158,.3); background: rgba(230,241,247,.88); box-shadow: 0 8px 20px rgba(43,73,91,.1); transform: translateX(3px); }
.latest-short-notes { display: flex; min-height: 0; flex-direction: column; padding: clamp(1.15rem, 1.8vw, 1.55rem); }
.latest-short-notes .section-heading { margin-bottom: .5rem; }
.latest-short-notes .section-heading > a { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.54); }
.latest-short-notes__list { display: grid; min-height: 0; flex: 1; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.short-note-preview { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 1.1rem; gap: .65rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--line); transition: color .24s ease, transform .24s ease; }
.short-note-preview time { color: var(--muted); font-size: .74rem; }
.short-note-preview p { margin: 0; overflow: hidden; font-family: var(--serif); font-size: .88rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.short-note-preview svg { width: 1rem; fill: none; stroke: currentColor; transition: transform .24s ease; }
.short-note-preview:hover,
.short-note-preview:focus-visible { color: var(--blue-deep); transform: translateX(2px); }
.short-note-preview:hover > svg { transform: translateX(3px); }

.short-notes-board,
.long-notes-board { padding: clamp(1.25rem, 2.4vw, 2.2rem); border: 1px solid rgba(255,255,255,.9); border-radius: 1.75rem; background: rgba(250,249,245,.86); box-shadow: inset 0 1px 0 white, 0 20px 60px rgba(50,61,66,.08); }
.long-notes-board { margin-top: 1.5rem; }
.short-note-filters { display: flex; gap: .65rem; }
.short-note-filters label { position: relative; }
.short-note-filters label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.short-note-filters select { min-height: 2.55rem; padding: 0 2.1rem 0 .9rem; border: 1px solid rgba(98,136,160,.2); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.72); font: 500 .78rem var(--sans); cursor: pointer; }
.short-note-timeline { position: relative; margin-top: 1rem; }
.short-note-timeline::before { content: ""; position: absolute; top: 1rem; bottom: 1rem; left: 6.8rem; width: 1px; background: linear-gradient(transparent, rgba(94,137,164,.4) 12%, rgba(94,137,164,.4) 88%, transparent); }
.short-note-item { position: relative; width: 100%; display: grid; grid-template-columns: 5.6rem 1.5rem minmax(0, 1fr) 1.5rem; gap: .45rem; align-items: center; padding: 1rem .55rem; border: 0; border-radius: 1rem; color: var(--ink); background: transparent; cursor: pointer; text-align: left; transition: color .25s ease, background .25s ease, transform .25s ease; }
.short-note-item:hover,
.short-note-item:focus-visible { color: var(--blue-deep); background: rgba(131,172,199,.1); transform: translateX(3px); }
.short-note-item time { display: flex; flex-direction: column; align-items: flex-end; }
.short-note-item time strong { font: 500 1rem var(--serif); }
.short-note-item time span { color: var(--muted); font-size: .68rem; }
.short-note-item__dot { position: relative; z-index: 1; width: .62rem; height: .62rem; justify-self: center; border: 2px solid #f9faf7; border-radius: 50%; background: #7ca7c0; box-shadow: 0 0 0 3px rgba(124,167,192,.16); }
.short-note-item__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: center; font-family: var(--serif); line-height: 1.75; }
.short-note-item__body > span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.short-note-item__body img { width: 72px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .7rem; }
.short-note-item > svg { width: 1rem; fill: none; stroke: currentColor; }
.short-note-pagination { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: .8rem; }
.short-note-pagination .glass-control { width: 2.45rem; height: 2.45rem; display: grid; place-items: center; }
.short-note-pagination svg { width: 1rem; fill: none; stroke: currentColor; }
.short-note-pagination .is-disabled { opacity: .35; pointer-events: none; }
.short-note-dialog { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.short-note-dialog[hidden] { display: none; }
.short-note-dialog.is-open { opacity: 1; pointer-events: auto; }
.short-note-dialog__backdrop { position: absolute; inset: 0; border: 0; background: rgba(35,44,49,.24); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.short-note-dialog__card { position: relative; width: min(680px, calc(100vw - 2rem)); max-height: min(78vh, 760px); padding: clamp(1.25rem, 3vw, 2rem); overflow-y: auto; border-radius: 1.5rem; opacity: 0; transform: translate(calc(var(--note-origin-x, 50vw) - 50vw), calc(var(--note-origin-y, 50vh) - 50vh)) scale(.7); transform-origin: center; transition: opacity .28s ease, transform .42s cubic-bezier(.2,.8,.2,1); }
.short-note-dialog.is-open .short-note-dialog__card { opacity: 1; transform: translate(0, 0) scale(1); }
.short-note-dialog.is-closing .short-note-dialog__card { opacity: 0; transform: translateY(12px) scale(.97); }
.short-note-dialog__card > header { display: flex; align-items: center; justify-content: space-between; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.short-note-dialog__card > header time { font: 500 1.2rem var(--serif); }
.short-note-dialog__card > header button { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; }
.short-note-dialog__card > header svg,
.short-note-dialog__card nav svg { width: 1rem; fill: none; stroke: currentColor; }
.short-note-dialog__content { width: 100%; }
.short-note-dialog__card nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.short-note-dialog__card nav button { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .7rem; border: 0; border-radius: .7rem; color: var(--blue-deep); background: rgba(131,172,199,.1); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.short-note-dialog__card nav button:hover { background: rgba(131,172,199,.2); transform: translateY(-1px); }
.short-note-dialog__card nav button:disabled { opacity: .3; pointer-events: none; }

.article-reading-layout { position: relative; width: min(1240px, calc(100% - 2rem)); display: grid; grid-template-columns: minmax(0, 900px) 230px; gap: clamp(1rem, 2.5vw, 2rem); align-items: start; justify-content: center; margin: 0 auto; }
.article-reading-layout .article-reading-cloth { width: 100%; margin: -3rem 0 0; }
.article-toc { position: sticky; z-index: 5; top: 7rem; width: 230px; max-height: calc(100vh - 9rem); margin: 1rem 0 0; padding: 1rem; overflow-y: auto; }
.article-toc header { display: flex; align-items: center; justify-content: space-between; padding-bottom: .65rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.article-toc header button { display: none; }
.article-toc nav { display: grid; gap: .15rem; margin-top: .6rem; }
.article-toc a { padding: .45rem .5rem; border-radius: .55rem; color: var(--muted); font-size: .78rem; line-height: 1.45; transition: color .2s ease, background .2s ease, transform .2s ease; }
.article-toc a.is-subheading { padding-left: 1.25rem; font-size: .73rem; }
.article-toc a:hover,
.article-toc a.is-active { color: var(--blue-deep); background: rgba(131,172,199,.12); transform: translateX(2px); }
.article-toc-toggle { display: none; }
.article-body h2,
.article-body h3 { scroll-margin-top: 7rem; }

.about-page { grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); }
.about-portrait { position: relative; }
.about-portrait__frame { position: sticky; top: 7rem; padding: .55rem; border: 1px solid rgba(255,255,255,.92); border-radius: 45% 45% 1.4rem 1.4rem; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(199,218,229,.5)); box-shadow: inset 0 1px 0 white, 0 24px 60px rgba(38,60,74,.16); transform: rotate(-1.2deg); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease; }
.about-portrait__frame:hover { box-shadow: inset 0 1px 0 white, 0 30px 70px rgba(38,60,74,.2); transform: rotate(0) translateY(-4px); }
.about-portrait__frame img { width: 100% !important; aspect-ratio: 4 / 5.4 !important; border-radius: 44% 44% 1rem 1rem !important; object-position: center; }
.about-portrait__frame > span { position: absolute; right: -1rem; bottom: 2rem; width: 4rem; height: 1px; background: var(--blue); transform: rotate(-20deg); }
.about-portrait > p { position: sticky; top: calc(7rem + min(56vw, 450px)); margin: 1.1rem 0 0; color: var(--muted); font: 500 .78rem/1.8 var(--serif); letter-spacing: .15em; }
.about-portrait__avatar img { width: 150px !important; border-radius: 50% !important; }
.about-contact ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding: 0; list-style: none; }
.about-contact li { margin: 0; }
.about-contact .profile-link { margin: 0; }

.calendar-popover section + section { margin-top: .45rem; padding-top: .45rem; border-top: 1px solid var(--line); }
.calendar-popover h4 { margin: 0 0 .2rem; color: var(--blue-deep); font-size: .68rem; letter-spacing: .08em; }
.calendar-popover header button svg { width: .9rem; fill: none; stroke: currentColor; }

.footprint-list__body { height: 0; max-height: none; margin-top: 0; padding-block: 0; contain: layout paint; opacity: 0; transform: translate3d(0,-8px,0); transition: opacity .24s ease, transform .34s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.footprint-list__body.is-open { height: min(430px, 52vh); max-height: none; margin-top: .7rem; padding-block: .65rem; opacity: 1; transform: translate3d(0,0,0); pointer-events: auto; }

@media (max-width: 1120px) {
  .home-editorial { grid-template-columns: minmax(250px, .82fr) minmax(0, 1.35fr); }
  .home-media-column { grid-column: 1 / -1; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); grid-template-rows: 1fr; }
  .article-reading-layout { width: 100%; display: block; }
  .article-reading-layout .article-reading-cloth { width: min(900px, calc(100% - 3rem)); margin: -3rem auto 0; }
  .article-toc { position: fixed; z-index: 91; top: 0; right: 0; width: min(340px, calc(100vw - 2rem)); height: 100dvh; max-height: none; margin: 0; padding: 5.5rem 1.2rem 1.2rem; border-radius: 1.2rem 0 0 1.2rem; opacity: 0; transform: translateX(105%); transition: opacity .28s ease, transform .42s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
  .article-toc.is-open { opacity: 1; transform: translateX(0); pointer-events: auto; }
  .article-toc header button { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; }
  .article-toc header svg { width: .95rem; fill: none; stroke: currentColor; }
  .article-toc-toggle { position: fixed; z-index: 89; right: 1rem; bottom: 5.5rem; width: 3rem; height: 3rem; display: grid; place-items: center; }
  .article-toc-toggle svg { width: 1.15rem; fill: none; stroke: currentColor; }
}

@media (max-width: 700px) {
  .home-media-column { display: grid; grid-template-columns: 1fr; }
  .home-sidebar .profile-panel__person { align-items: flex-start; }
  .home-sidebar .profile-avatar-frame img,
  .home-sidebar .profile-avatar-frame .avatar-fallback { width: 84px; height: 84px; }
  .profile-panel__identity { width: 100%; }
  .home-sidebar .profile-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .short-note-filters { width: 100%; margin-top: .8rem; }
  .short-note-filters label { flex: 1; }
  .short-note-filters select { width: 100%; }
  .short-notes-board .section-heading { display: block; }
  .short-note-timeline::before { left: 4.6rem; }
  .short-note-item { grid-template-columns: 3.5rem 1.2rem minmax(0, 1fr); padding-inline: .25rem; }
  .short-note-item > svg { display: none; }
  .short-note-item__body img { width: 58px; }
  .short-note-dialog { padding: .5rem; }
  .short-note-dialog__card { width: calc(100vw - 1rem); max-height: 86dvh; border-radius: 1.25rem; }
  .article-toc-toggle { right: .8rem; bottom: 5rem; }
  .article-reading-layout .article-reading-cloth { width: calc(100% - 1rem); margin-top: -1.5rem; }
  .about-page { grid-template-columns: 1fr; gap: 1.2rem; }
  .about-page .about-portrait { display: block; border: 0; padding: 0; }
  .about-portrait__frame { position: relative; top: auto; width: min(72vw, 300px); margin: 0 auto; }
  .about-portrait > p { position: static; margin-left: calc(14vw - .5rem); }
  .about-contact ul { grid-template-columns: 1fr; }
  .footprint-list__body.is-open { height: min(300px, 45vh); }
}

/* Final review overrides */
.home-sidebar .profile-panel { padding: 1.25rem; text-align: center; }
.home-sidebar .profile-panel__person { display: block; }
.home-sidebar .profile-avatar-frame { width: max-content; margin: 0 auto .7rem; border-radius: 1.35rem; transform: rotate(1.5deg); }
.home-sidebar .profile-avatar-frame img,
.home-sidebar .profile-avatar-frame .avatar-fallback { width: 82px; height: 82px; border-radius: 1.05rem; }
.home-sidebar .profile-panel__identity h2 { display: block; font-size: 1.55rem; }
.home-sidebar .profile-zodiac { margin: .25rem auto 0; }
.profile-panel__motto { margin: .75rem auto; color: var(--muted); font: 500 .82rem/1.65 var(--serif); }
.home-sidebar .profile-links { display: flex; justify-content: center; gap: .42rem; margin-top: 0; }
.home-sidebar .profile-link { width: 2.45rem; height: 2.45rem; min-height: 0; display: grid; place-items: center; padding: 0; border-radius: .78rem; }
.home-sidebar .profile-link:hover,
.home-sidebar .profile-link:focus-visible { transform: translateY(-3px); }
.home-sidebar .profile-link svg { width: 1.14rem; height: 1.14rem; }
.home-sidebar .profile-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.home-sidebar .profile-panel__stats { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; border-bottom: 0; }
.home-sidebar .profile-panel__stats a { display: flex; align-items: center; padding: .8rem .25rem 0; }
.home-sidebar .profile-panel__stats a + a { padding-left: .25rem; border-left: 1px solid var(--line); }
.home-sidebar .profile-panel__stats strong { color: var(--blue-deep); font-size: 1.35rem; }
.home-sidebar .profile-panel__stats span { font-size: .72rem; }
.home-media-column .recent-update b { gap: .22rem; color: #638da6; }
.home-media-column .recent-update b svg { width: .88rem; height: .88rem; }
.latest-short-notes { position: relative; overflow: hidden; }
.latest-short-notes::after { content: ""; position: absolute; right: -2.2rem; bottom: -2.8rem; width: 7rem; height: 7rem; border: 1px solid rgba(110,153,179,.12); border-radius: 50%; box-shadow: 0 0 0 1.2rem rgba(110,153,179,.045); pointer-events: none; }
.short-note-preview { grid-template-columns: 4.1rem minmax(0, 1fr) 1rem; padding-block: .95rem; }
.short-note-preview time { display: flex; flex-direction: column; color: var(--blue-deep); line-height: 1.15; }
.short-note-preview time strong { font: 600 1.02rem var(--serif); }
.short-note-preview time span { margin-top: .18rem; color: #7d9aac; font-size: .66rem; letter-spacing: .08em; }
.short-note-preview p { font-size: .98rem; line-height: 1.72; }
.short-note-periods { display: flex; gap: .7rem; margin-top: 1rem; padding: .25rem .1rem .55rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; }
.short-note-periods a { flex: 0 0 auto; min-width: 6.2rem; padding: .68rem 1.15rem; border: 1px solid rgba(103,142,167,.1); border-radius: 999px; color: #506479; background: rgba(255,255,255,.58); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); font: 600 .9rem var(--serif); text-align: center; scroll-snap-align: start; transition: color .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease, transform .24s ease; }
.short-note-periods a:hover,
.short-note-periods a:focus-visible { color: var(--blue-deep); border-color: rgba(95,140,168,.28); transform: translateY(-2px); }
.short-note-periods a.is-active { color: white; border-color: transparent; background: linear-gradient(135deg, #83abc3, #5e88a2); box-shadow: 0 8px 18px rgba(72,111,136,.2), inset 0 1px 0 rgba(255,255,255,.35); }
.short-note-timeline::before { left: 6.8rem; }
.short-note-item { grid-template-columns: 5.6rem 1.5rem minmax(0, 1fr); align-items: start; padding: 1.35rem .55rem; cursor: default; }
.short-note-item:hover { color: var(--ink); background: rgba(131,172,199,.055); transform: none; }
.short-note-item time { padding-top: .2rem; }
.short-note-item time strong { color: var(--blue-deep); font-size: 1.08rem; }
.short-note-item time span { margin-top: .2rem; color: #7895a8; letter-spacing: .08em; }
.short-note-item__content { min-width: 0; padding: .05rem 0 .2rem .35rem; font-size: 1rem; line-height: 1.85; }
.short-note-item__content > :first-child { margin-top: 0; }
.short-note-item__content > :last-child { margin-bottom: 0; }
.short-note-item__content img { width: min(100%, 620px); max-height: 520px; margin-top: .8rem; object-fit: contain; border-radius: 1rem; box-shadow: 0 12px 34px rgba(39,58,69,.12); }
.footprints__layout { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); }
.footprint-list { min-height: 0; display: flex; flex-direction: column; padding: .75rem; border: 1px solid rgba(151,215,240,.15); border-radius: 1.15rem; background: rgba(9,35,51,.7); }
.footprint-list > header { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding: .25rem .35rem .75rem; color: #eef9fd; }
.footprint-list > header span { font: 600 1rem var(--serif); }
.footprint-list > header small { color: rgba(185,219,232,.66); font-size: .65rem; }
.footprint-list__body,
.footprint-list__body.is-open { height: auto; min-height: 0; max-height: 440px; flex: 1; margin: 0; padding: .4rem; overflow-y: auto; opacity: 1; transform: none; pointer-events: auto; }
.article-detail { padding: 7.5rem 0 6rem; }
.article-reading-layout { width: min(1400px, calc(100% - 3rem)); grid-template-columns: minmax(0, 960px) minmax(220px, 280px); gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.article-reading-layout .article-reading-cloth { width: 100%; margin: 0; padding: 0; overflow: hidden; border-radius: 1.8rem; }
.article-reading-cover { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #dfe7e9; }
.article-reading-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-reading-cover .default-cover { min-height: 100%; }
.article-reading-inner { padding: clamp(1.35rem, 4vw, 3.2rem); }
.article-reading-inner > .back-link { width: max-content; display: inline-flex; align-items: center; gap: .42rem; margin-bottom: 1.25rem; padding: .62rem .85rem; }
.article-reading-inner > .back-link svg { width: 1rem; fill: none; stroke: currentColor; }
.article-side-column { position: sticky; top: 6.5rem; display: grid; gap: 1rem; }
.article-author-card { padding: 1.2rem; text-align: center; }
.article-author-card__person { display: flex; align-items: center; justify-content: center; gap: .75rem; }
.article-author-card__person img,
.article-author-card__person .avatar-fallback { width: 58px; height: 58px; object-fit: cover; border: 3px solid rgba(255,255,255,.9); border-radius: 1rem; box-shadow: 0 7px 18px rgba(49,76,91,.14); }
.article-author-card__person div { display: flex; flex-direction: column; align-items: flex-start; }
.article-author-card__person strong { font: 600 1.15rem var(--serif); }
.article-author-card__person span { margin-top: .15rem; color: var(--muted); font-size: .7rem; }
.article-author-card > p { margin: .85rem 0; color: var(--muted); font: .78rem/1.65 var(--serif); }
.article-author-card__links { display: flex; justify-content: center; gap: .35rem; }
.article-author-card__links a { width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid var(--line); border-radius: .65rem; color: var(--muted); background: rgba(255,255,255,.56); transition: color .2s ease, background .2s ease, transform .2s ease; }
.article-author-card__links a:hover { color: var(--blue-deep); background: rgba(224,238,246,.85); transform: translateY(-2px); }
.article-author-card__links svg { width: .92rem; height: .92rem; }
.article-side-column .article-toc { position: relative; top: auto; width: 100%; max-height: calc(100vh - 23rem); margin: 0; }
@media (max-width: 1120px) {
  .article-detail { padding-top: 6.5rem; }
  .article-reading-layout { width: 100%; display: block; }
  .article-reading-layout .article-reading-cloth { width: min(960px, calc(100% - 3rem)); margin: 0 auto; }
  .article-side-column { position: static; }
  .article-author-card { display: none; }
}
@media (max-width: 700px) {
  .home-sidebar .profile-panel__person { display: block; }
  .home-sidebar .profile-links { display: flex; }
  .short-note-periods { margin-right: -.6rem; padding-right: .6rem; }
  .short-note-periods a { min-width: 5.7rem; padding: .6rem .95rem; font-size: .84rem; }
  .short-note-timeline::before { left: 4.6rem; }
  .short-note-item { grid-template-columns: 3.5rem 1.2rem minmax(0, 1fr); }
  .short-note-item__content { padding-left: .15rem; font-size: .95rem; }
  .footprint-list__body,
  .footprint-list__body.is-open { height: auto; max-height: 330px; }
  .article-detail { padding-top: 5.6rem; }
  .article-reading-layout .article-reading-cloth { width: calc(100% - 1rem); margin: 0 auto; border-radius: 1.35rem; }
  .article-reading-cover { aspect-ratio: 4 / 3; }
  .article-reading-inner { padding: 1.15rem; }
}

/* Confirmed v4 layout — keep this final so legacy rules cannot override it. */
.home-editorial { grid-template-columns: minmax(270px, .76fr) minmax(360px, 1.24fr) minmax(340px, 1fr); grid-auto-rows: max-content; align-items: start; }
.home-editorial > *, .home-sidebar, .home-media-column, .latest-notes, .latest-albums { height: max-content !important; min-height: 0; align-self: start; }
.home-sidebar, .home-media-column { grid-template-rows: max-content max-content; }
.latest-notes__list, .latest-albums__grid, .latest-short-notes__list { flex: none; }
.latest-albums__grid { grid-template-rows: none; }
.latest-albums .album-card { height: auto !important; }
.latest-short-notes__list { position: relative; }
.latest-short-notes__list::before { left: 4.86rem; }
.short-note-preview { position: relative; grid-template-columns: 4.15rem 1.25rem minmax(0, 1fr); gap: .18rem; padding-right: 1.5rem; }
.short-note-preview > svg { position: absolute; top: 50%; right: .08rem; transform: translateY(-50%); }
.short-note-preview__content { width: 100%; min-width: 0; writing-mode: horizontal-tb; }
.short-note-preview__content p { width: 100%; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
.article-detail { padding-top: 0; }
.article-hero--editorial { width: min(1180px, calc(100% - 2rem)); height: auto; min-height: 0; margin: 0 auto; overflow: hidden; border-radius: 0 0 1.35rem 1.35rem; }
.article-hero--editorial > img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.article-reading-layout { width: min(1180px, calc(100% - 2rem)); grid-template-columns: minmax(0, 820px) minmax(300px, 330px); align-items: start; }
.article-side-column { position: sticky; top: 6.5rem; align-self: start; display: grid; gap: 1rem; margin-top: 0; }
.article-author-card { padding: 1.5rem; }
.article-author-card__person img, .article-author-card__person .avatar-fallback { width: 76px; height: 76px; }
.article-author-card__links { gap: .42rem; }
.article-author-card__links .profile-link { width: 2.45rem; height: 2.45rem; min-height: 0; padding: 0; border-radius: .78rem; }
.article-author-card__links .profile-link svg { width: 1.14rem; height: 1.14rem; }
.article-author-card__links .profile-link .brand-icon--xhs { width: 1.2rem; height: 1.2rem; }
.article-side-column .article-toc { position: relative; top: auto; width: 100%; max-height: none; margin: 0; padding: 1.45rem 1.45rem 1.8rem; overflow: visible; }
.article-toc header { font-size: 1.08rem; }
.article-toc nav { gap: .28rem; margin-top: .8rem; padding-bottom: .25rem; }
.article-toc a { padding: .52rem .56rem; font-size: .96rem; }
.article-toc a.is-subheading { font-size: .9rem; }
.about-me-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: clamp(1.25rem, 3vw, 2.4rem); align-items: start; }
.about-body { grid-column: 1; grid-row: 1; width: 100%; }
.about-body > h1 { margin-top: 0; }
.about-body > p { margin: .5rem 0; line-height: 1.65; }
.about-avatar-card { grid-column: 2; grid-row: 1; display: grid; place-items: center; min-height: 100%; padding: 1rem; }
.about-avatar-card img, .about-avatar-card .avatar-fallback { display: block; width: clamp(112px, 12vw, 156px); aspect-ratio: 1; object-fit: cover; border: 1px solid rgba(106,145,168,.22); border-radius: 1.5rem; background: rgba(255,255,255,.62); transition: transform .38s cubic-bezier(.2,.8,.2,1), border-color .28s ease; }
.about-avatar-card img:hover, .about-avatar-card img:focus-visible, .about-avatar-card .avatar-fallback:hover { border-color: rgba(83,133,163,.48); transform: translateY(-3px) rotate(.5deg); }
.about-content-section { min-width: 0; }
.about-content-section--blog { grid-column: 1; grid-row: 2; }
.about-me-layout > .about-portrait { position: static; grid-column: 2; grid-row: 2; width: 100%; }
.about-me-layout .about-portrait__frame { position: relative; top: auto; padding: .5rem; overflow: hidden; border: 1px solid rgba(106,145,168,.2); border-radius: 1.25rem; background: rgba(255,255,255,.58); box-shadow: none; transform: none; transition: transform .38s cubic-bezier(.2,.8,.2,1), border-color .28s ease; }
.about-me-layout .about-portrait__frame:hover { border-color: rgba(83,133,163,.48); box-shadow: none; transform: translateY(-3px) rotate(.35deg); }
.about-me-layout .about-portrait__frame::before { content: none; }
.about-me-layout .about-portrait__frame img { display: block; width: 100% !important; height: auto !important; aspect-ratio: auto !important; border-radius: .85rem !important; }
.about-content-section--wide { grid-column: 1 / -1; width: 100%; }
.about-content-section a[href*="jaeps.ewapub.com"] { color: var(--blue-deep); font-weight: 650; background: linear-gradient(transparent 68%, rgba(120,169,197,.2) 0); transition: color .22s ease, background .22s ease; }
.about-content-section a[href*="jaeps.ewapub.com"]:hover, .about-content-section a[href*="jaeps.ewapub.com"]:focus-visible { color: #315f7b; background: linear-gradient(transparent 58%, rgba(120,169,197,.32) 0); }
.about-contact ul { display: flex; flex-wrap: nowrap; gap: .65rem; padding: .2rem 0 .45rem; overflow-x: auto; list-style: none; }
.about-contact li { flex: 0 0 auto; margin: 0; }
@media (max-width: 1120px) {
  .home-editorial { grid-template-columns: minmax(250px, .82fr) minmax(0, 1.35fr); }
  .article-detail { padding-top: 0; }
  .article-reading-layout { width: 100%; display: block; }
  .article-reading-layout .article-reading-cloth { width: min(880px, calc(100% - 3rem)); }
  .article-side-column { position: static; }
  .article-author-card { display: none; }
}
@media (max-width: 760px) {
  .home-editorial { grid-template-columns: 1fr; }
  .article-hero--editorial { width: 100%; border-radius: 0; }
  .about-me-layout { grid-template-columns: minmax(0, 1fr) minmax(92px, 30vw); gap: 1rem; }
  .about-avatar-card { padding: .25rem; }
  .about-avatar-card img, .about-avatar-card .avatar-fallback { width: min(27vw, 120px); border-radius: 1.15rem; }
  .about-content-section--blog, .about-me-layout > .about-portrait { grid-row: 2; }
  .about-content-section--wide { grid-column: 1 / -1; }
}
