:root { color-scheme: light; font-family: "Times New Roman", Times, "Songti SC", SimSun, serif; color: #000; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 1px solid; outline-offset: 5px; }
header { padding: 32px 4vw 26px; }
h1 { margin: 0; font-size: clamp(48px, 8.7vw, 148px); font-weight: 400; line-height: .98; letter-spacing: -.06em; }
h1 span { display: block; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: .06em; margin-top: 20px; }
.description { max-width: 610px; font-size: 21px; line-height: 1.25; margin: 30px 0; }
nav { display: flex; flex-wrap: wrap; gap: 14px 28px; font-size: 15px; }
nav a { padding: 5px 0; }
.covers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding-top: 18px; }
.cover { position: relative; min-width: 0; }
.cover:first-child { grid-column: 1 / -1; }
.cover a { display: block; }
.cover figure { margin: 0; }
.cover img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #f4f4f4; }
.cover:first-child img { width: 100%; aspect-ratio: 4 / 5; height: auto; max-height: none; object-fit: cover; object-position: center 40%; }
.cover figcaption { padding: 14px 18px 28px; }
.cover:first-child figcaption { padding: 22px 4vw 36px; }
.caption { display: block; font-size: clamp(22px, 2.4vw, 38px); line-height: 1.08; letter-spacing: -.03em; }
.cover:first-child .caption { max-width: 1050px; font-size: clamp(30px, 4vw, 64px); }
.source { display: block; margin-top: 10px; font-size: 14px; }
.section { padding: 50px 4vw 24px; }
h2 { margin: 0 0 25px; font-size: 19px; font-weight: 400; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 36px; }
article { min-width: 0; }
article h3 { margin: 0 0 14px; font-size: clamp(25px, 2.7vw, 42px); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; overflow-wrap: anywhere; }
article p { font-size: 14px; line-height: 1.4; margin: 6px 0; }
.article-grid article:first-child { grid-column: span 2; }
.article-grid article:first-child h3 { font-size: clamp(32px, 4vw, 64px); }
article img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 18px; }
main { padding-bottom: 70px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.video-card button { display: block; padding: 0; width: 100%; cursor: pointer; background: #f4f4f4; border: 0; position: relative; }
.video-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.video-card button::after { content: '▷'; position: absolute; bottom: 16px; left: 18px; font-size: 50px; color: white; text-shadow: 0 1px 8px #000; }
.video-card h3 { font-size: 25px; margin-top: 16px; }
#tiktok-profile { min-width: 0; overflow: hidden; }
#tiktok-profile blockquote { margin: 0 !important; width: 100%; }
dialog { border: 0; padding: 0; background: #fff; width: min(440px, calc(100vw - 32px)); max-height: 95svh; }
dialog::backdrop { background: #000c; }
.close { display: block; margin-left: auto; border: 0; background: #fff; padding: 4px 16px; font: 32px "Times New Roman", serif; cursor: pointer; }
.player-content iframe { width: 100%; height: min(740px, 80svh); border: 0; display: block; }
@media(max-width:800px) { .article-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media(max-width:560px) {
  header { padding: 24px; } h1 { font-size: 17vw; } h1 span { font-size: 24px; margin-top: 18px; }
  .description { font-size: 18px; margin: 24px 0; } nav { font-size: 14px; gap: 10px 22px; }
  .covers { grid-template-columns: 1fr; }
  .cover:first-child img { aspect-ratio: auto; max-height: none; } .cover figcaption { padding: 12px 12px 22px; }
  .cover:first-child figcaption { padding: 18px 24px 30px; } .caption { font-size: 22px; }
  .section { padding: 35px 24px 20px; } .article-grid { grid-template-columns: 1fr; gap: 34px; }
  .article-grid article:first-child { grid-column: auto; } .article-grid article:first-child h3 { font-size: 34px; }
  .video-grid { gap: 18px; } .video-card h3 { font-size: 21px; } .video-card button::after { font-size: 36px; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior: auto !important; } }

#notes .note-text { font-size: 20px; line-height: 1.7; }
#essays:not(:empty) { margin-bottom: 42px; }

.description a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
footer { padding: 30px 4vw 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 28px; }
footer nav { flex: 1; }
.back-to-top { flex-shrink: 0; padding: 5px 0; font-size: 15px; }
@media(max-width:560px) { footer { padding: 24px; flex-direction: column; } }

.copyright { flex-basis: 100%; margin: 0; font-size: 14px; }

.section > h2 { font-style: italic; }

/* Traditional Chinese uses a consistent serif face and its own text metrics. */
:lang(zh-Hant) { font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif; font-weight: 400; }
nav { align-items: center; }
nav a { white-space: nowrap; }
nav a:lang(zh-Hant) { font-size: .92em; letter-spacing: .025em; line-height: 1.5; }
#notes h3 { letter-spacing: 0; line-height: 1.4; word-break: normal; overflow-wrap: break-word; }
#notes .note-text { letter-spacing: .015em; line-height: 1.85; }
.piano-video { display: block; width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; height: auto; border: 0; }
.section, #covers { scroll-margin-top: 24px; }
.multiverse { position: fixed; right: 20px; top: 45%; z-index: 30; width: auto; }
.multiverse details { position: relative; background: rgba(255,255,255,.95); border: 1px solid #eae7e2; border-radius: 3px; box-shadow: 0 0 18px #ded1eb44, 0 0 8px #eddfc644; }
.multiverse summary { cursor: grab; touch-action: none; user-select: none; padding: 9px 13px; font-size: 16px; line-height: 1.2; font-style: italic; list-style: none; }
.multiverse summary::-webkit-details-marker { display: none; }
.multiverse summary:focus-visible { outline: 1px solid; outline-offset: 4px; }
.multiverse nav { position: absolute; top: 100%; right: -1px; width: 158px; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 9px 12px; font-size: 14px; background: rgba(255,255,255,.97); border: 1px solid #eae7e2; border-radius: 3px; box-shadow: 0 4px 18px #ded1eb44; }
.multiverse nav a { white-space: normal; padding: 7px 0; }
@media(max-width:560px) { .multiverse { right: 12px; } }

.multiverse summary sup { font-size: 10px; margin-left: 3px; font-style: normal; }
.multiverse.is-dragging summary { cursor: grabbing; }
.multiverse nav { max-height: calc(100svh - 60px); overflow-y: auto; }

#subscribe { padding-bottom: 60px; }
#subscribe-form { position: relative; max-width: 540px; }
#subscribe-form label { display: block; font-size: 16px; }
#subscribe-form input { display: block; width: 100%; border: 0; border-bottom: 1px solid #bbb; border-radius: 0; padding: 10px 0; margin: 4px 0 22px; background: transparent; color: #000; font: 18px "Times New Roman", serif; }
#subscribe-form input:focus { outline: 1px solid #555; outline-offset: 4px; }
.subscribe-optional { margin: 24px 0; }
.subscribe-optional summary { cursor: pointer; font-style: italic; }
.subscribe-optional summary span { color: #666; font-size: 14px; }
.subscribe-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding-top: 24px; }
#subscribe-form .subscribe-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.subscribe-consent, #subscribe-status { font-size: 14px; line-height: 1.5; }
#subscribe-form button { border: 1px solid #000; background: #fff; color: #000; font: italic 18px "Times New Roman", serif; padding: 10px 24px; margin-top: 12px; cursor: pointer; }
#subscribe-form button:disabled { opacity: .45; cursor: default; }
@media(max-width:560px) { .subscribe-fields { grid-template-columns: 1fr; } }
