@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./assets/display-en.woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Noto Display";
  src: url("./assets/display-zh.woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Show CJK";
  src: url("./assets/body-zh.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #242522;
  --muted: #5b5b51;
  --paper: #fcfaf2;
  --yellow: #ffda4c;
  --mono: "IBM Plex Mono", Consolas, "Liberation Mono", monospace;
  --sans: "Inter", "Segoe UI", "Show CJK", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Noto Display", var(--sans);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, input { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #2663ac; outline-offset: 5px; }
::selection { color: var(--ink); background: #ffdf64; }
.wrap { width: min(1240px, 88%); margin-inline: auto; }
.icon-library { width: 0; height: 0; position: absolute; overflow: hidden; }
.icon { display: inline-block; flex: none; width: 20px; height: 20px; }
.icon.external { width: 13px; height: 13px; }
.skip-link { position: absolute; left: 12px; top: -90px; padding: 12px 18px; z-index: 10; background: white; }
.skip-link:focus { top: 6px; }
.masthead { position: relative; z-index: 3; background: #fffdf5; border-bottom: 1.5px solid var(--ink); }
.header-inner { display: flex; align-items: center; min-height: 81px; gap: 40px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; }
.brand img { display: block; width: 100px; height: auto; }
.desktop-nav, .header-actions { display: flex; align-items: center; }
.desktop-nav { margin-left: auto; gap: 33px; }
.desktop-nav a, .mobile-nav a { font-size: 14px; font-weight: 680; }
.desktop-nav a { padding: 9px 0; text-underline-offset: 5px; }
.desktop-nav a:hover, .browse:hover span, .footer-links a:hover, .back-top:hover span { text-decoration: underline; }
.header-actions { gap: 19px; }
.language-switch { display: flex; border: 1.4px solid var(--ink); border-radius: 5px; overflow: hidden; padding: 2px; background: #fffdf5; height: 33px; }
.language-switch button { min-width: 33px; font: bold 12px/1 var(--mono); padding: 0 7px; background: transparent; border: 0; border-radius: 2px; }
.language-switch button[aria-pressed=true] { background: var(--ink); color: white; }
.language-switch button:focus-visible { outline-offset: -3px; outline-width: 2px; }
.language-switch button:hover:not([aria-pressed=true]) { background: #f2eacd; }
.channel-link, .cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 750; }
.channel-link { background: var(--ink); color: #fffdf6; border-radius: 5px; padding: 9px 13px; font-size: 14px; }
.channel-link .icon:first-child { width: 18px; height: 18px; }
.channel-link:hover { background: #43433a; }
.menu-button, .mobile-nav { display: none; }
.hero {
  border-bottom: 1.5px solid var(--ink);
  background-color: #faf7e9;
  background-image: linear-gradient(to right, #b6ac8027 1px, transparent 1px), linear-gradient(to bottom, #b6ac8027 1px, transparent 1px);
  background-size: 24px 24px;
  overflow: clip;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; min-height: clamp(460px, 34vw, 520px); padding-block: 44px 47px; }
.hero-copy { position: relative; z-index: 1; }
.show-label { display: inline-flex; align-items: center; gap: 9px; background: #fffcf3; border: 1.4px solid var(--ink); border-radius: 4px; padding: 5px 10px; font-size: 12px; font-weight: 700; letter-spacing: .07em; line-height: 1.3; box-shadow: 1.5px 1.5px 0 #36362e; }
.record-dot { width: 8px; height: 8px; background: #e8704e; border-radius: 50%; border: 1px solid #61382a; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1 { font-family: var(--display); font-size: clamp(66px, 5.75vw, 86px); font-weight: 900; line-height: 1.075; letter-spacing: -.065em; margin: 15px 0 19px; }
.marker { position: relative; isolation: isolate; }
.marker::after { content: ""; position: absolute; z-index: -1; height: .22em; bottom: .06em; left: -.035em; right: -.085em; background: var(--yellow); transform: rotate(-2deg); clip-path: polygon(0 12%, 95% 0, 100% 18%, 98% 89%, 3% 100%); }
.question { display: inline-block; margin-left: .055em; }
.intro { font-size: clamp(15px, 1.22vw, 17px); line-height: 1.8; letter-spacing: .01em; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 24px; }
.cta { border: 1.8px solid var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); border-radius: 5px; min-height: 47px; padding: 10px 16px; font-size: 15px; transition: transform .15s, box-shadow .15s; }
.cta .icon:first-child { width: 24px; height: 24px; }
.cta .external { margin-left: 5px; }
.cta:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--ink); background: #ffe166; }
.cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.browse { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; padding: 9px 0; text-underline-offset: 4px; }
.browse .icon { width: 15px; height: 15px; }
.testbench { display: block; position: relative; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 18px; background: none; aspect-ratio: 600/365; cursor: pointer; }
.testbench canvas { width: 100%; height: 100%; display: block; transition: transform .22s ease; }
.testbench:hover canvas { transform: translateY(-3px); }
.testbench:active canvas { transform: translateY(1px); }
.bench-note { position: absolute; top: 3%; right: 5.5%; display: flex; flex-direction: column; align-items: flex-start; transform: rotate(8deg); font: 600 13px/1.2 var(--mono), var(--sans); color: #454238; letter-spacing: .05em; }
.bench-note span { border-bottom: 1px solid #706c5c; padding: 0 3px 3px; }
.bench-note svg { width: 39px; height: 31px; margin: 1px 0 0 -14px; }
.episodes-section { background: var(--paper); padding: 41px 0 51px; }
.section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.section-glyph { display: inline-grid; place-items: center; border: 1.6px solid var(--ink); border-radius: 4px; width: 35px; height: 35px; background: var(--yellow); font: 30px/1 Arial, sans-serif; box-shadow: 2px 2px 0 var(--ink); }
.section-heading h2, .about-copy h2 { font-family: var(--display); font-weight: 900; letter-spacing: -.055em; }
.section-heading h2 { font-size: 34px; line-height: 1.3; }
.heading-sub, .count, .episode-no, .status { font-family: var(--mono), var(--sans); }
.heading-sub { color: #68665b; font-size: 12px; letter-spacing: .13em; align-self: center; margin-top: 5px; }
.heading-rule { height: 1px; background: #bcb9a8; flex: 1; margin-inline: 4px; }
.count { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.episode-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.episode { display: grid; grid-template-columns: 35% minmax(0,1fr); border: 1.7px solid var(--ink); border-radius: 9px; background: #fffcf4; box-shadow: 3.5px 4px 0 var(--ink); overflow: hidden; min-height: 230px; }
.thumbnail { position: relative; overflow: hidden; border-right: 1.6px solid var(--ink); }
.thumbnail.first { background: #c4dfcc; }.thumbnail.second { background: #d6cced; }
.thumbnail canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.thumbnail:focus-visible { outline-offset: -5px; z-index: 1; }
.thumb-open { position: absolute; bottom: 10px; right: 10px; width: 24px; height: 24px; display: grid; place-items: center; background: #fffcf1; border: 1px solid var(--ink); border-radius: 50%; transition: transform .15s; }
.thumb-open .icon { width: 11px; height: 11px; }
.thumbnail:hover .thumb-open { transform: translate(1px,-2px); box-shadow: 1px 2px 0 var(--ink); }
.episode-no { position: absolute; left: 12px; top: 12px; font-weight: 700; font-size: 11px; letter-spacing: .06em; line-height: 1.4; padding: 3px 7px; border: 1.3px solid var(--ink); background: #fffaf0; border-radius: 3px; }
.episode-body { display: flex; flex-direction: column; align-items: flex-start; padding: 21px clamp(16px, 1.55vw, 24px) 17px; }
.status { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; line-height: 1.2; border-radius: 20px; padding: 3px 9px; border: 1px solid; }
.verdict { color: #285138; background: #d5ecd8; border-color: #60876b; }
.status .icon { width: 13px; height: 13px; }
.current { color: #6b4225; background: #ffe2b9; border-color: #bc8b55; }
.current i { width: 6px; height: 6px; border-radius: 50%; background: #c78138; }
.episode-body h3 { font: 800 clamp(21px, 1.75vw, 26px)/1.3 var(--display); letter-spacing: -.015em; margin: 10px 0 7px; overflow-wrap: break-word; text-wrap: balance; }
.episode-body p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding-top: 13px; margin-top: auto; }
.card-link, .notes-toggle { display: inline-flex; align-items: center; gap: 5px; }
.card-link { font-weight: 750; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.card-link:hover { text-decoration-thickness: 2px; }
.card-link .icon, .notes-toggle .icon { width: 12px; height: 12px; }
.notes-toggle { background: none; border: 0; padding: 3px 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.notes-toggle:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.about-section { border-top: 1px solid #c3bdab; background: #f1eddd; padding: 56px 0 60px; }
.about-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 12%; }
.about-kicker { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.mini-line { width: 25px; height: 3px; background: var(--ink); }
.about-copy h2 { font-size: clamp(32px, 2.7vw, 43px); margin: 9px 0 13px; }
.about-copy p { color: #4d4b42; font-size: 15px; line-height: 1.9; max-width: 550px; }
.quote-card { position: relative; background: #ffe794; border: 1.5px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); padding: 24px 28px 18px; transform: rotate(-1deg); }
.tape { position: absolute; top: -9px; left: 42%; background: #fbf8d9c9; width: 65px; height: 19px; transform: rotate(-4deg); border: 1px solid #ada787a8; }
.quote-mark { position: absolute; top: 9px; left: 19px; font: 800 43px/1 Georgia, serif; color: #887133; }
.quote-card blockquote { font-size: 22px; font-weight: 750; line-height: 1.55; padding: 7px 0 12px 24px; min-height: 85px; }
.quote-card figcaption, .quote-controls { display: flex; align-items: center; }
.quote-card figcaption { justify-content: space-between; padding-left: 23px; }
.quote-controls { gap: 13px; }
.signature { font: 700 16px/1.2 var(--mono); }
#quote-index { color: #6a5d37; font: 11px/1 var(--mono); }
#next-quote { display: grid; place-items: center; background: #fff6cb; border: 1.3px solid var(--ink); height: 30px; width: 32px; border-radius: 3px; }
#next-quote:hover { background: #fffdf4; }
#next-quote .icon { width: 16px; height: 16px; }
.footer { background: #252621; color: #f9f6e9; border-top: 1.5px solid var(--ink); }
.footer-inner, .footer-links, .footer-links a, .back-top { display: flex; align-items: center; }
.footer-inner { min-height: 108px; gap: 44px; }
.footer .brand img { width: 81px; }
.footer-links { gap: 28px; }
.footer-links a, .back-top { gap: 8px; font-size: 13px; text-underline-offset: 4px; }
.footer-links .icon { width: 16px; height: 16px; }
.footer-links .external { width: 11px; height: 11px; }
.back-top { margin-left: auto; }.back-top .icon { width: 14px; height: 14px; transform: rotate(180deg); }
dialog { width: min(490px, calc(100% - 36px)); max-height: calc(100dvh - 40px); padding: 0; color: var(--ink); background: #fffdf4; border: 2px solid var(--ink); border-radius: 9px; box-shadow: 6px 6px 0 var(--ink); }
dialog::backdrop { background: #24241ed4; }
.dialog-bar, .dialog-actions, .measurements > div { display: flex; align-items: center; justify-content: space-between; }
.dialog-bar { padding: 8px 13px 8px 20px; background: #cfdeca; border-bottom: 1.5px solid var(--ink); font: bold 12px var(--mono),var(--sans); }
.dialog-bar button { display: grid; place-items: center; width: 30px; height: 30px; border: 1.4px solid var(--ink); border-radius: 3px; font: 23px/1 Arial; background: var(--paper); }
.dialog-body { padding: 27px; }
.dialog-body h2 { font: 800 29px/1.25 var(--display); letter-spacing: -.045em; margin: 12px 0 19px; }
.measurements { margin: 0 0 23px; }
.measurements > div { gap: 16px; padding: 12px 0; border-bottom: 1px dashed #b0ac9a; }
.measurements dt { font-size: 14px; }.measurements dd { margin: 0; white-space: nowrap; font: bold 16px var(--mono),var(--sans); }
.dialog-actions { justify-content: flex-start; flex-wrap: wrap; gap: 18px; }
.dialog-actions .cta { font-size: 14px; }
html[lang=en] h1 { line-height: .98; letter-spacing: -.017em; }
html[lang=en] .show-label { font-family: var(--mono); font-size: 11px; letter-spacing: .055em; }
html[lang=en] .episode-body h3 { letter-spacing: -.018em; }
html[lang=en] .cta, html[lang=en] .browse { white-space: nowrap; }
html[lang=en] .heading-sub { display: none; }
@media (min-width:1600px) { .hero-inner { padding-block: 52px 58px; } }
@media (max-width:1100px) {
  .wrap { width: 90%; }.hero-inner { grid-template-columns: 1fr 1fr; min-height: 430px; }
  .episode-grid { gap: 19px; }.episode { grid-template-columns: 32% minmax(0,1fr); }
  .episode-body { padding: 18px 15px 16px; }.episode-body h3 { font-size: 20px; }
  .card-actions { gap: 5px 12px; }.hero-actions { gap: 20px; }.about-inner { gap: 9%; }
}
@media (max-width:850px) {
  .header-inner { min-height: 71px; gap: 25px; }.brand img { width: 85px; }.desktop-nav { gap: 22px; }.header-actions { gap: 13px; }
  .hero-inner { min-height: 395px; padding-block: 34px; }.hero-actions { gap: 16px; }
  h1 { font-size: 61px; }.intro { font-size: 14px; }.cta { font-size: 13px; padding: 9px 11px; }
  .browse { font-size: 13px; }.bench-note { right: 1%; font-size: 11px; }.bench-note svg { height: 24px; }
  .episode-grid { grid-template-columns: 1fr; }.episode { grid-template-columns: 33% minmax(0,1fr); min-height: 180px; }
  .episode-body { padding: 18px 24px; }.episode-body h3 { font-size: 23px; }.episode-body p { font-size: 14px; }
  .about-inner { gap: 6%; }.quote-card { padding: 22px 17px 15px; }.quote-card blockquote { font-size: 19px; }
}
@media (max-width:650px) {
  .wrap { width: calc(100% - 40px); }.header-inner { min-height: 64px; }.brand img { width: 78px; }
  .desktop-nav, .channel-link { display: none; }.header-actions { margin-left: auto; gap: 13px; }
  .menu-button { display: grid; place-items: center; border: 0; background: transparent; width: 34px; height: 39px; padding: 0; }
  .menu-button .icon { width: 24px; height: 24px; }
  .mobile-nav:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; align-items: center; background: #fff7d9; border-top: 1px solid #b4ad94; padding: 12px 16px; }
  .mobile-nav a { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; }.mobile-nav .icon { width: 12px; height: 12px; }
  .hero { background-size: 21px 21px; }.hero-inner { grid-template-columns: 1fr; padding-top: 29px; padding-bottom: 15px; gap: 14px; }
  .show-label { font-size: 10.5px; padding: 4px 8px; }.record-dot { width: 7px; height: 7px; }
  h1 { font-size: clamp(56px, 12.7vw, 72px); line-height: 1.03; margin: 13px 0; }
  .intro { font-size: 14px; line-height: 1.7; }.hero-actions { margin-top: 17px; gap: 23px; }.cta { min-height: 42px; padding: 8px 13px; }
  .testbench { justify-self: center; width: min(100%, 390px); }.bench-note { top: 2%; right: 2%; font-size: 10px; }
  .episodes-section { padding: 28px 0 36px; }.section-heading { gap: 10px; margin-bottom: 19px; }.section-heading h2 { font-size: 27px; }
  .section-glyph { width: 29px; height: 29px; font-size: 24px; }.heading-sub { font-size: 9px; letter-spacing: .07em; }.count { font-size: 11px; }
  .episode-grid { gap: 17px; }.episode { grid-template-columns: 34% minmax(0,1fr); min-height: 184px; }
  .episode-body { padding: 14px 13px; }.episode-body h3 { font-size: 18px; margin-block: 8px 5px; }.episode-body p { font-size: 12px; line-height: 1.6; }
  .episode-no { left: 8px; top: 8px; font-size: 10px; padding: 2px 5px; }.status { font-size: 10px; padding: 3px 7px; }.card-link { font-size: 12px; }
  .notes-toggle { font-size: 11px; }.card-actions { padding-top: 9px; }.about-section { padding: 32px 0 40px; }
  .about-inner { grid-template-columns: 1fr; gap: 29px; }.about-copy p { font-size: 14px; }.about-copy h2 { margin-block: 7px; }
  .quote-card { margin-inline: 3px; }.quote-card blockquote { min-height: 73px; }
  .footer-inner { min-height: 100px; gap: 18px; }.footer .brand img { width: 63px; }.footer-links { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-links a, .back-top { font-size: 11px; }.back-top { gap: 3px; }
  .dialog-body { padding: 21px; }
}
@media (max-width:365px) {
  .wrap { width: calc(100% - 30px); }.episode { grid-template-columns: 30% minmax(0,1fr); }.episode-body { padding-inline: 11px; }
  .hero-actions { gap: 15px; }.heading-sub { display: none; }.footer-inner { gap: 12px; }.card-actions { gap: 5px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
