:root {
  --cream: #faf4ee;
  --paper: #fffaf4;
  --ink: #2a241f;
  --ink-soft: #4b433b;
  --muted: #847a6f;
  --line: #a79e92;
  --line-soft: #d8cfc3;
  --chip: #e8e1d7;
  --olive: #928c70;
  --olive-deep: #7f7a5f;
  --night: #1b1510;
  --on-dark: #fbf6ef;

  --latin: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --cjk: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  /* viewport-fit=cover: stay clear of the notch / rounded corners in landscape */
  --gutter-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --gutter-r: max(var(--gutter), env(safe-area-inset-right, 0px));
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--cjk);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3 { margin: 0; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.latin { font-family: var(--latin); letter-spacing: .06em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 8px 14px; background: var(--cream); color: var(--ink);
  text-decoration: none; letter-spacing: .1em;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter-r) 0 var(--gutter-l);
}

/* ---------- header ---------- */

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 22px var(--gutter-r) 22px var(--gutter-l);
  color: var(--on-dark);
}

.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; margin: -6px 0 -6px -6px; }
.brand-name { font-size: 17px; letter-spacing: .42em; font-weight: 400; }

.menu-btn {
  display: grid; place-items: center;
  width: 52px; height: 40px; padding: 0; margin-left: auto;
  background: none; border: 0; cursor: pointer;
}
.menu-btn svg { width: 42px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.menu-btn:hover svg path:last-child { transform: translateX(-3px); }
.menu-btn svg path { transition: transform .3s var(--ease); }

/* full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgb(27 21 16 / .97);
  color: var(--on-dark);
  opacity: 0; transition: opacity .3s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu-inner {
  height: 100%; overflow: auto;
  display: flex; flex-direction: column; justify-content: center;
  max-width: var(--wrap); margin: 0 auto; padding: 80px var(--gutter-r) calc(40px + var(--safe-b)) var(--gutter-l);
}
.menu-close {
  position: absolute; top: 22px; right: var(--gutter-r);
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.menu-close svg, .dlg-close svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.menu-nav { display: grid; gap: 8px; }
.menu-nav a {
  display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap;
  padding: 14px 0; border-bottom: 1px solid rgb(251 246 239 / .18);
  text-decoration: none; font-size: 18px; letter-spacing: .3em;
}
.menu-nav .en {
  font-family: var(--latin); font-weight: 200; letter-spacing: 0;
  font-size: clamp(34px, 6vw, 56px); line-height: 1.1; min-width: 6.2em;
}
.menu-nav a:hover .en { font-style: italic; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; }
/* first glyph's left edge = nav text edge: link is 32px wide around an 18px glyph, so pull it back by 7px */
.menu-platforms { display: flex; gap: 0 4px; margin-left: -7px; }
.menu-platforms a {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  color: var(--on-dark); opacity: .7; text-decoration: none; transition: opacity .2s var(--ease);
}
.menu-platforms a:focus-visible { opacity: 1; }
.menu-platforms svg { width: 18px; height: 18px; fill: currentColor; }
.menu-admin {
  width: 36px; height: 36px; margin-right: -8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--on-dark); opacity: .45; transition: opacity .2s var(--ease);
}
.menu-admin svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.menu-admin:hover, .menu-admin:focus-visible { opacity: .85; }

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate;
  height: clamp(460px, 34vw, 660px);
  background: var(--night);
  color: var(--on-dark);
  overflow: hidden;
}
.hero picture, .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-img {
  object-fit: cover; object-position: 50% 40%;
  animation: hero-in 2.4s var(--ease) both;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(20 14 10 / .55) 0%, rgb(20 14 10 / 0) 22%),
    linear-gradient(90deg, rgb(20 14 10 / .35) 0%, rgb(20 14 10 / 0) 30%, rgb(20 14 10 / 0) 60%, rgb(20 14 10 / .35) 100%);
}
@keyframes hero-in {
  from { transform: scale(1.06); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.hero-copy {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 var(--gutter-r) clamp(28px, 3.2vw, 44px) var(--gutter-l);
}
.hero-tagline {
  position: relative; padding-left: 22px; margin-bottom: clamp(4px, 1.2vw, 18px);
  font-size: clamp(13px, 1.15vw, 16px); line-height: 1.75; letter-spacing: .42em;
  animation: rise 1.2s .5s var(--ease) both;
}
.hero-tagline::before {
  content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 1.5px;
  background: currentColor;
}
.hero-title {
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--latin); font-weight: 100;
  font-size: clamp(64px, 9vw, 150px); line-height: 1; letter-spacing: -.01em;
  text-shadow: 0 2px 24px rgb(20 14 10 / .35);
  margin-right: -.04em;
}
.hero-go { animation: rise 1.2s .2s var(--ease) both; }
.hero-sh { animation: rise 1.2s .35s var(--ease) both; }
@keyframes rise {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* ---------- section heads ---------- */

.section-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 34px;
}
.section-title { display: flex; align-items: center; flex-wrap: wrap; gap: 0 26px; font-weight: 400; }
.section-title > span { white-space: nowrap; }
.section-title .en {
  font-family: var(--latin); font-weight: 200;
  font-size: clamp(36px, 4vw, 46px); line-height: 1; letter-spacing: -.005em;
}
.section-title .bar { width: 1.5px; height: 28px; background: var(--ink); }
.section-title .zh { font-size: clamp(18px, 1.9vw, 22px); letter-spacing: .26em; font-weight: 500; }
.section-title .slash { font-family: var(--latin); font-weight: 300; font-size: 22px; margin: 0 -6px; }

.lede { font-size: 13px; letter-spacing: .3em; color: var(--ink-soft); }
.tag {
  margin-left: auto; padding: 4px 12px;
  background: var(--chip); color: var(--ink-soft);
  font-size: 11px; letter-spacing: .14em;
}

/* ---------- living voices ---------- */

.voices { padding-top: clamp(28px, 3vw, 40px); padding-bottom: 34px; }

.room { position: relative; margin-top: 18px; aspect-ratio: 960 / 300; }
.room-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.room-art path, .room-art use {
  fill: none; stroke: #6f665b; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.room-art .fill { fill: var(--cream); }
.room-art .faint { stroke: #a79e92; }
.room-art .floor { stroke: #b8afa2; }
.room-art .buds circle { fill: #6f665b; }
/* one voice at a time: its thread draws in from the chair, then the bubble settles */
.room-art .thread {
  stroke: var(--line); stroke-width: 1;
  stroke-dasharray: 700; stroke-dashoffset: 700;
  transition: stroke-dashoffset .3s var(--ease);
}
.room-art .thread.is-active { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) .1s; }

.bubble {
  position: absolute;
  padding: 12px 26px 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.bubble.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .45s var(--ease) .4s, transform .45s var(--ease) .4s, visibility 0s;
}
.bubble.slot-0 { left: 20.2%; top: 3.3%; width: 34%; }
.bubble.slot-1 { left: 58.3%; top: 3.3%; width: 40%; }
.bubble.slot-2 { left: 52.2%; top: 48.3%; width: 33%; }

.bubble::before {
  content: "\201C"; display: block; height: 15px;
  font-family: Georgia, "Times New Roman", serif; font-size: 34px; line-height: 1; color: var(--ink);
}
.bubble-text { font-size: clamp(14px, 1.35vw, 15px); line-height: 1.65; letter-spacing: .12em; white-space: pre-line; text-wrap: pretty; }
.bubble.is-long .bubble-text { font-size: 13.5px; line-height: 1.6; letter-spacing: .08em; }
.bubble-from {
  display: flex; align-items: center; gap: 12px; margin-top: 5px;
  font-size: 11px; letter-spacing: .14em; color: var(--ink-soft);
}
.bubble-from::before { content: ""; width: 26px; height: 1px; background: var(--ink-soft); }

.leave-note { position: absolute; right: 0; bottom: 0; text-align: right; }
.leave-link {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 0 0 4px; background: none; border: 0; border-bottom: 1px solid var(--ink); cursor: pointer;
  font-size: 16px; letter-spacing: .3em; font-weight: 500; text-decoration: none;
}
.leave-link .plus { font-family: var(--latin); font-weight: 300; font-size: 22px; line-height: 1; transition: transform .35s var(--ease); }
.leave-link:hover .plus { transform: rotate(90deg); }

/* ---------- episodes ---------- */

.episodes { padding-top: 22px; padding-bottom: 84px; }
.episodes-head {
  justify-content: space-between;
  padding: 18px 0 16px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.tabs { display: flex; gap: 4px 40px; }
.tab {
  position: relative; padding: 6px 0; background: none; border: 0; cursor: pointer;
  font-size: 15px; letter-spacing: .2em; font-weight: 500; color: var(--ink-soft);
}
.tab::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: -2px; height: 2px;
  background: var(--ink); transform: scaleX(0); transition: transform .35s var(--ease);
}
.tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after, .tab:hover::after { transform: scaleX(1); }
.tab:hover:not([aria-selected="true"])::after { background: var(--line); }

.ep-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px; margin-top: 22px;
}

.season-banner {
  grid-column: 1 / -1; margin: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.season-banner img { display: block; width: 100%; height: auto; }
.season-banner.is-entering { opacity: 0; transform: translateY(10px); }

.ep-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 18px 28px 0;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .5s var(--ease), opacity .5s var(--ease);
}
.ep-card:hover { background: var(--paper); border-color: var(--ink-soft); }
.ep-card.is-entering { opacity: 0; transform: translateY(10px); }

.ep-main {
  display: grid; flex: 1;
  grid-template-columns: 138px minmax(0, 1fr); grid-template-rows: auto 1fr;
  grid-template-areas: "cover head" "cover excerpt";
  column-gap: 30px;
}
.ep-cover { grid-area: cover; width: 138px; height: 138px; object-fit: cover; background: var(--chip); }
.ep-head { grid-area: head; }
.ep-code { font-family: var(--latin); font-size: 13px; letter-spacing: .24em; color: var(--ink-soft); }
.ep-title { margin-top: 4px; font-size: 21px; line-height: 1.45; letter-spacing: .14em; font-weight: 500; }
.ep-sub { margin-top: 8px; font-size: 14.5px; line-height: 1.65; letter-spacing: .12em; color: var(--ink-soft); }
.ep-guest { font-family: var(--latin); letter-spacing: .06em; white-space: nowrap; }
.ep-excerpt {
  grid-area: excerpt; margin-top: 14px; font-size: 12.5px; line-height: 1.85; letter-spacing: .1em; color: var(--ink-soft);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}

.ep-actions {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  margin-top: 18px; border-top: 1px solid var(--line-soft);
}
.ep-actions::before { content: ""; grid-column: 2; grid-row: 1; width: 1px; height: 22px; background: var(--line); }
.ep-btn {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 14px 24px; background: none; border: 0; cursor: pointer; text-decoration: none;
  font-size: 14px; letter-spacing: .22em;
}
.ep-btn .ico { font-family: var(--latin); font-size: 18px; font-weight: 300; line-height: 1; letter-spacing: 0; transition: transform .35s var(--ease); }
.ep-more { grid-column: 1; grid-row: 1; }
.ep-listen { grid-column: 3; grid-row: 1; }
.ep-more:hover .ico { transform: rotate(90deg); }
.ep-listen:hover .ico { transform: translate(2px, -2px); }

/* 錄音現場 inside the episode dialog */
.dlg-media { margin-top: 30px; }

/* on a 6-column grid: thirds by default, halves for 2 / 4 (and the first two of 5), one big + five for 6 */
.photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 701px) {
  .photos .ph { grid-column: span 2; }
  .photos.n-1 .ph { grid-column: span 6; aspect-ratio: 16 / 9; }
  .photos.n-2 .ph, .photos.n-4 .ph, .photos.n-5 .ph:nth-child(-n+2) { grid-column: span 3; }
  .photos.n-6 .ph:first-child { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
}
.ph {
  position: relative; display: block; aspect-ratio: 3 / 2; padding: 0;
  border: 0; background: var(--chip); cursor: zoom-in; overflow: hidden;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph-play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-dark); }
.ph-play .play-ico {
  width: 46px; height: 46px; padding: 13px 11px 13px 15px;
  border: 1px solid rgb(251 246 239 / .8); border-radius: 50%; background: rgb(20 14 10 / .35); fill: currentColor;
}
.ph-more {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgb(20 14 10 / .55); color: var(--on-dark);
  font-family: var(--latin); font-size: 24px; font-weight: 300; letter-spacing: .06em;
}

/* full-screen photo viewer */
.photo-dialog {
  width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgb(20 14 10 / .97); color: var(--on-dark);
}
.photo-dialog::backdrop { background: transparent; }
.photo-dialog[open] { animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.pv-stage {
  height: 100%; display: grid; place-items: center;
  padding: calc(64px + var(--safe-t)) calc(88px + env(safe-area-inset-right, 0px)) calc(28px + var(--safe-b)) calc(88px + env(safe-area-inset-left, 0px));
}
.pv-figure { margin: 0; display: grid; justify-items: center; gap: 14px; }
.pv-img, .pv-video { max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px - var(--safe-t) - var(--safe-b)); object-fit: contain; }
.pv-video { width: min(100%, 1280px); background: #000; }
.pv-bar { display: flex; gap: 22px; align-items: baseline; font-size: 13.5px; letter-spacing: .16em; }
.pv-count { font-family: var(--latin); font-size: 12.5px; opacity: .75; }
.pv-nav {
  position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px;
  border: 1px solid rgb(251 246 239 / .45); border-radius: 50%; background: none; color: inherit; cursor: pointer;
  font-family: var(--latin); font-size: 19px; font-weight: 300;
  transition: background-color .3s var(--ease);
}
.pv-prev { left: calc(20px + env(safe-area-inset-left, 0px)); }
.pv-next { right: calc(20px + env(safe-area-inset-right, 0px)); }
.photo-dialog.is-single .pv-nav { display: none; }
.photo-dialog .dlg-close { position: absolute; top: calc(14px + var(--safe-t)); right: calc(14px + env(safe-area-inset-right, 0px)); }

/* ---------- footer ---------- */

.site-footer { background: var(--olive); color: var(--on-dark); padding: 26px 0 18px; }
.footer-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 24px 46px; padding-bottom: 20px; border-bottom: 1px solid rgb(251 246 239 / .45);
}
.footer-title { font-size: 20px; letter-spacing: .42em; font-weight: 400; padding-right: 46px; border-right: 1px solid rgb(251 246 239 / .7); line-height: 2.4; }
.footer-about p { font-size: 12.5px; line-height: 1.8; letter-spacing: .1em; }
.footer-about p + p { margin-top: .7em; }
.footer-about .hosts { opacity: .85; }
.footer-listen { padding-left: 46px; border-left: 1px solid rgb(251 246 239 / .7); }
.footer-listen .label { font-size: 12px; letter-spacing: .3em; margin-bottom: 6px; }
.platforms { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 30px; }
.platforms a, .footer-bottom a {
  font-family: var(--latin); font-size: 13.5px; letter-spacing: .08em;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.platforms a:hover, .footer-bottom a:hover { text-decoration-thickness: 2px; }
.footer-bottom {
  padding-bottom: var(--safe-b);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 12px; font-size: 11.5px; letter-spacing: .16em;
}
.footer-bottom a { font-family: var(--cjk); font-size: 11.5px; text-underline-offset: 4px; }

/* ---------- leave-a-note dialog ---------- */

.note-dialog {
  width: min(520px, calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))); padding: 0;
  border: 1px solid var(--line); background: var(--cream); color: var(--ink);
}
.note-dialog::backdrop { background: rgb(27 21 16 / .6); }
.note-dialog[open] { animation: rise .45s var(--ease); }
.note-form { position: relative; padding: 34px 38px 32px; }
.note-title { font-size: 22px; letter-spacing: .26em; font-weight: 500; }
.note-lede { margin-top: 6px; font-size: 13px; letter-spacing: .2em; color: var(--ink-soft); }
.field { position: relative; display: block; margin-top: 22px; }
.field-label { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .26em; color: var(--ink-soft); }
.field textarea, .field input {
  display: block; width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.7; letter-spacing: .08em;
}
.field textarea { resize: vertical; min-height: 96px; }
.field textarea:focus, .field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field-count { position: absolute; right: 0; top: 2px; font-family: var(--latin); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note-hint { margin-top: 14px; font-size: 12px; line-height: 1.7; letter-spacing: .1em; color: var(--muted); }
.note-status { min-height: 1.7em; margin-top: 10px; font-size: 13.5px; letter-spacing: .1em; }
.note-status.is-error { color: #9b3b2a; }
.note-status.is-ok { color: var(--olive-deep); font-weight: 500; }
.note-actions { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-top: 8px; }
.note-mail { font-size: 12.5px; line-height: 1.75; letter-spacing: .08em; color: var(--ink-soft); }
.note-mail a { font-family: var(--latin); letter-spacing: .04em; color: var(--ink); text-underline-offset: 4px; }
.note-submit {
  padding: 12px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); cursor: pointer;
  font-size: 14px; letter-spacing: .3em;
  transition: background-color .3s var(--ease), color .3s var(--ease), opacity .3s;
}
.note-submit:hover { background: var(--cream); color: var(--ink); }
.note-submit:disabled { opacity: .5; cursor: progress; }

/* ---------- episode dialog ---------- */

.ep-dialog {
  width: min(760px, calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  max-height: min(86vh, 900px); max-height: min(86dvh, 900px);
  padding: 0; border: 1px solid var(--line); background: var(--cream); color: var(--ink);
}
.ep-dialog::backdrop { background: rgb(27 21 16 / .6); }
.ep-dialog[open] { animation: rise .45s var(--ease); }
.dlg-inner { position: relative; padding: 36px 40px 40px; }
.dlg-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; padding: 11px;
  background: none; border: 0; cursor: pointer;
}
.dlg-head { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; align-items: start; padding-right: 30px; }
.dlg-cover { width: 150px; height: 150px; object-fit: cover; background: var(--chip); }
.dlg-meta { font-family: var(--latin); font-size: 13px; letter-spacing: .2em; color: var(--ink-soft); }
.dlg-title:focus { outline: none; }
.dlg-title { margin-top: 4px; font-size: 24px; line-height: 1.4; letter-spacing: .14em; font-weight: 500; }
.dlg-sub { margin-top: 6px; font-size: 15px; letter-spacing: .1em; color: var(--ink-soft); }
/* the episode's audio: a play button and a hairline */
.dlg-play { display: flex; align-items: center; gap: 14px; max-width: 440px; margin-top: 16px; }
.dlg-play[hidden] { display: none; }
.play-btn {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--ink); border-radius: 50%; background: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.play-btn svg { width: 12px; height: 12px; fill: currentColor; }
.play-btn .i-play { margin-left: 2px; }
.play-btn .i-pause, .dlg-play.is-playing .i-play { display: none; }
.dlg-play.is-playing .i-pause { display: block; }
.play-line { position: relative; flex: 1; min-width: 40px; height: 18px; cursor: pointer; }
.play-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.play-fill { position: absolute; left: 0; top: 50%; width: 0; height: 2px; margin-top: -.5px; background: var(--ink); }
.play-time { flex: none; font-family: var(--latin); font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.dlg-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
.dlg-platforms { display: flex; align-items: center; gap: 12px; }
.dlg-platforms a { display: block; color: var(--ink-soft); opacity: .7; transition: opacity .3s var(--ease), color .3s var(--ease); }
.dlg-platforms a:focus-visible { color: var(--ink); opacity: 1; }
.dlg-platforms svg { display: block; width: 15px; height: 15px; fill: currentColor; }
.dlg-body { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 14.5px; line-height: 1.95; letter-spacing: .06em; }
.dlg-body p + p { margin-top: 1em; }
.h4-date { margin-left: -9px; font-family: var(--latin); letter-spacing: .12em; }
.dlg-body h4, .dlg-media h4 {
  margin: 26px 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .3em; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.dlg-body h4::after, .dlg-media h4::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.dlg-body ul { display: grid; gap: 8px; }
.dlg-body li { position: relative; padding-left: 22px; white-space: pre-line; }
.dlg-body li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 9px; height: 1px; background: var(--ink); }
.dlg-body a { word-break: break-all; text-underline-offset: 3px; }
.dlg-body .more { color: var(--ink-soft); }
/* side notes: links / 補充 in an outlined box, the hosts' mur on grey */
.dlg-body .info, .dlg-body .mur {
  margin-top: 1.4em; padding: 14px 20px 15px;
  color: var(--ink-soft); font-size: 13px; line-height: 1.85;
}
.dlg-body .info { border: 1px solid var(--line); }
.dlg-body .mur { background: rgb(42 36 31 / .05); }
.dlg-body .info:first-child { margin-top: 0; }
.dlg-body .info + p { margin-top: 1.4em; }
.dlg-body .info p + p, .dlg-body .mur p + p { margin-top: .8em; }
.dlg-body .mur-title { font-weight: 500; }
.dlg-body .mur .mur-title + p { margin-top: 2px; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .room { aspect-ratio: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .room-art { position: relative; width: min(100%, 420px); height: auto; aspect-ratio: 470 / 182; margin: 6px auto 4px; }
  .room-art .thread { display: none; }
  .bubbles { display: grid; grid-template-columns: minmax(0, 1fr); }
  .bubble { position: static; grid-area: 1 / 1; width: auto !important; }
  .leave-note { position: static; margin-top: 6px; }
  .tag { margin-left: 0; }
}

@media (max-width: 860px) {
  .ep-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-row { grid-template-columns: minmax(0, 1fr); }
  .footer-title { border-right: 0; padding-right: 0; line-height: 1.6; }
  .footer-listen { border-left: 0; padding-left: 0; }
  .platforms { display: flex; flex-wrap: wrap; gap: 8px 26px; }
}

@media (max-width: 700px) {
  .brand { gap: 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 15px; letter-spacing: .32em; }

  .hero { height: clamp(440px, 62svh, 540px); }
  .hero-img { object-position: 42% 30%; }
  .hero::after {
    background:
      linear-gradient(180deg, rgb(20 14 10 / .55) 0%, rgb(20 14 10 / 0) 22%, rgb(20 14 10 / 0) 50%, rgb(20 14 10 / .72) 100%);
  }
  .hero-copy { flex-direction: column-reverse; align-items: stretch; justify-content: flex-start; gap: 18px; padding-top: 0; }
  .hero-copy { justify-content: flex-start; }
  .hero-title { font-size: clamp(60px, 19vw, 104px); }
  .hero-tagline { align-self: flex-start; margin-bottom: 0; letter-spacing: .32em; }

  .section-head { gap: 10px 20px; }
  .section-title { gap: 0 16px; }
  .section-title .en { font-size: clamp(28px, 8.4vw, 40px); }
  .lede { letter-spacing: .18em; }

  .episodes-head { flex-direction: column; align-items: flex-start; }
  .tabs { gap: 4px 28px; }
  .ep-card { padding: 16px 18px 0; }
  .ep-main { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "cover head" "excerpt excerpt"; column-gap: 18px; }
  .ep-cover { width: 96px; height: 96px; }
  .ep-title { font-size: 18px; letter-spacing: .1em; }
  .ep-sub { font-size: 13.5px; letter-spacing: .08em; }
  .ep-excerpt { margin-top: 12px; }
  .ep-btn { padding: 13px 10px; letter-spacing: .16em; }

  .dlg-inner { padding: 28px 20px 30px; }
  .note-form { padding: 28px 20px 26px; }
  .note-actions { flex-direction: column-reverse; align-items: stretch; gap: 16px; }
  .note-submit { width: 100%; }
  .dlg-head { grid-template-columns: 96px minmax(0, 1fr); gap: 0 18px; padding-right: 28px; }
  /* phones: the code・minutes・icons line runs across the top and the player across the bottom */
  .dlg-info { display: contents; }
  .dlg-meta-row { grid-column: 1 / -1; gap: 6px 16px; margin: 0 16px 12px 0; } /* clear of the close button */
  .dlg-platforms { gap: 10px; }
  .dlg-cover { grid-row: 2 / span 2; }
  .dlg-title, .dlg-sub { grid-column: 2; }
  .dlg-play { grid-column: 1 / -1; max-width: none; margin-top: 16px; }
  .dlg-cover { width: 96px; height: 96px; }
  .dlg-title { font-size: 19px; }

  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .photos.n-1 .ph, .photos.n-3 .ph:first-child, .photos.n-5 .ph:first-child { grid-column: span 2; }
  .pv-stage { padding: calc(60px + var(--safe-t)) 12px calc(92px + var(--safe-b)); }
  .pv-img, .pv-video { max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px - var(--safe-t) - var(--safe-b)); }
  .pv-nav { top: auto; bottom: calc(22px + var(--safe-b)); margin-top: 0; }
  .pv-prev { left: calc(50% - 64px); }
  .pv-next { right: calc(50% - 64px); }
}

/* touch screens keep :hover after a tap, so these only react to a real pointer */
@media (hover: hover) {
  .ph:hover img { transform: scale(1.04); }
  .pv-nav:hover { background: rgb(251 246 239 / .1); }
  .play-btn:hover { background: var(--ink); color: var(--cream); }
  .dlg-platforms a:hover { color: var(--ink); opacity: 1; }
  .menu-platforms a:hover { opacity: 1; }
}

@media (max-width: 420px) {
  .ep-btn { gap: 10px; }
}

/* the narrowest phones (e.g. a Galaxy Z Fold cover screen) */
@media (max-width: 359px) {
  .dlg-meta { letter-spacing: .12em; }
  .dlg-meta-row { gap: 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
