/* Radio Brodo — all styles.
   Look: dark broth green with faint doodles, gold (pastina) and cream (panna) shapes drawn with a wobbly
   marker edge (the SVG filters at the top of every page), print grain, the Brodino display face.
   Layout: a top bar on wide screens and a short header on phones, both outside #app-frame so the player
   and the chat keep going between pages. The home page has the hero with the bowl, the chequered strip,
   this week's schedule beside the about text on the gold band, and the latest sets. */

/* ---------- fonts (all served from this site) ---------- */
@font-face { font-family: "Brodino 2"; src: url(fonts/brodino-2.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Brodino 2 Color"; src: url(fonts/brodino-2-color.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/bricolage-grotesque-variable.woff2) format("woff2-variations"), url(fonts/bricolage-grotesque-variable.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url(fonts/dm-mono-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url(fonts/dm-mono-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-palette-values --gold { font-family: "Brodino 2 Color"; override-colors: 0 #67766d, 1 #9b7009, 2 #c49420, 3 #e6b94e, 4 rgba(176, 128, 16, .75), 5 rgba(252, 222, 152, .85), 6 rgba(255, 243, 214, .95); }

/* ---------- tokens ---------- */
:root {
  --pentola: #17422f;
  --pentola-deep: #0f2e21;
  --pentola-light: #1e5039;
  --broth-ring: #1a4934;
  --broth-deep: #133a28;
  --pastina: #e6b94e;
  --pastina-light: #fcde98;
  --crosta: #c49420;
  --panna: #fbf0d6;
  --pomodoro: #c8381f;
  --ink: #0f2e21;
  --ink-soft: #b4c4ac;
  --ink-cream: #4e6a58;
  --fondo-ink: #7d5a07;
  --shadow: rgba(10, 30, 20, .45);
  --broth-lip: rgba(10, 30, 20, .35);
  --line-gold: rgba(230, 185, 78, .6);
  --line-ink: rgba(23, 66, 47, .55);
  --hover-ink: rgba(23, 66, 47, .12);
  --rule-ink: rgba(23, 66, 47, .2);
  --bubble: rgba(252, 222, 152, .65);
  --doodle: rgba(230, 185, 78, .12);
  --steam: rgba(251, 240, 214, .5);
  --now-fill: rgba(230, 185, 78, .38);
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .98 0 0 0 0 .94 0 0 0 0 .84 7 0 0 0 -4.3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.16'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='12' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .18 0 0 0 0 .13 0 7 0 0 -4.3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='.2'/%3E%3C/svg%3E");
  --f-display: "Brodino 2", "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1392px;
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { background: var(--pentola); }
body { margin: 0; background: var(--grain-light), var(--pentola); color: var(--panna); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; padding-top: env(safe-area-inset-top, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--pentola-deep); }
html[data-dock] body { padding-bottom: 96px; }
html.menu-open body { overflow: hidden; }
img { max-width: 100%; }
a { color: var(--pastina); text-underline-offset: .18em; }
a:hover { color: var(--pastina-light); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pastina); outline-offset: 4px; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 84px; }
#app-frame:focus { outline: none; }
.fx { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 40; padding: 8px 16px; border-radius: 999px; background: var(--pastina); color: var(--pentola); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* the page ground: faint broth doodles over the green */
.site { position: relative; isolation: isolate; min-height: 100vh; }
.site::before, .sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--doodle); -webkit-mask: url(pictures/doodles.svg) 0 0 / 760px 760px repeat; mask: url(pictures/doodles.svg) 0 0 / 760px 760px repeat; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.grow { flex: 1 1 auto; }

/* ---------- state switches ----------
   <html data-live="true|false"> is set by the script once it knows the schedule; until then
   neither the on-air nor the off-air parts show. <html data-playing> is set while the stream plays. */
html:not([data-live="true"]) .when-live, html:not([data-live="false"]) .when-off { display: none !important; }
:is([data-listen], [data-key], [data-latest]) .i-pause, :is([data-listen], [data-key], [data-latest]) .l-pause { display: none; }
:is([data-listen], [data-key], [data-latest])[aria-pressed="true"] :is(.i-play, .l-play) { display: none; }
:is([data-listen], [data-key], [data-latest])[aria-pressed="true"] .i-pause { display: block; }
:is([data-listen], [data-key], [data-latest])[aria-pressed="true"] .l-pause { display: inline; }

/* ---------- hand-drawn shapes ----------
   Fill, ink line and shadow live on two background layers that get the wobble filter. Every shape
   starts blank, so a shape inside another never picks up its parent's fill or line. */
.rb, .btn, .pill, .disc { position: relative; isolation: isolate; --rb-fill: transparent; --rb-ink: transparent; --rb-bw: 0px; --rb-shadow: transparent; --rb-grain: none; --rb-tilt: 0deg; --rb-sx: 3px; --rb-sy: 4px; }
:is(.rb, .btn, .pill, .disc)::before,
:is(.rb, .btn, .pill, .disc)::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
:is(.rb, .btn, .pill, .disc)::before { z-index: -1; background: var(--rb-grain), var(--rb-fill); box-shadow: inset 0 0 0 var(--rb-bw) var(--rb-ink); transform: rotate(var(--rb-tilt)); filter: url(#rough-sm); }
:is(.rb, .btn, .pill, .disc)::after { z-index: -2; background: var(--rb-shadow); transform: translate(var(--rb-sx), var(--rb-sy)) rotate(var(--rb-tilt)); filter: url(#rough-sm); }
.rb-lg::before, .rb-lg::after { filter: url(#rough-md); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 26px; border: 0; border-radius: 999px; background: none; font-weight: 650; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; --rb-sx: 2px; --rb-sy: 3px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { color: var(--pentola); --rb-fill: var(--pastina); --rb-bw: 2.5px; --rb-ink: var(--ink); --rb-shadow: var(--shadow); }
.btn-gold:is([data-listen], [data-latest]) { padding-left: 20px; }
.btn-gold:hover { color: var(--pentola); --rb-fill: var(--pastina-light); }
.btn-gold:active { transform: translate(2px, 3px); }
.btn-gold:active::after { opacity: 0; }
.btn-line { color: var(--pastina); --rb-bw: 2.5px; --rb-ink: var(--line-gold); }
.btn-line:hover, .btn-line[aria-expanded="true"] { color: var(--pastina); --rb-fill: var(--pentola-light); --rb-ink: var(--pastina); }
.btn-ink { color: var(--pentola); --rb-bw: 2.5px; --rb-ink: var(--line-ink); }
.btn-ink:hover { color: var(--pentola); --rb-fill: var(--hover-ink); --rb-ink: var(--pentola); }
.btn-sm { padding: 10px 22px; font-size: 16px; }
.btn-xs { gap: 7px; padding: 6px 15px; font-size: 15px; --rb-bw: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.more { display: none; margin-top: 30px; width: 100%; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; white-space: nowrap; --rb-sx: 0px; --rb-sy: 0px; }
.pill-live { color: var(--panna); --rb-fill: var(--pomodoro); }
.pill-off { color: var(--ink-soft); --rb-bw: 1.5px; --rb-ink: var(--line-gold); }
.pill-next { color: var(--pentola); --rb-fill: var(--pastina); --rb-bw: 1.5px; --rb-ink: var(--pentola); }
.pill-rep { color: var(--pentola); --rb-fill: var(--pastina); }
.pill-sm { gap: 6px; padding: 2px 10px 2px 8px; font-size: 12px; line-height: 1.4; }
.tilt-l { --rb-tilt: -1.5deg; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-live .dot { animation: simmer 1.4s ease-in-out infinite; }
.pill-sm .dot { width: 7px; height: 7px; }

/* round play buttons */
.disc { display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--pentola); cursor: pointer; --rb-fill: var(--pastina); --rb-bw: 2.5px; --rb-ink: var(--ink); --rb-shadow: var(--shadow); --rb-sx: 2px; --rb-sy: 3px; }
.disc:hover { --rb-fill: var(--pastina-light); }
.disc svg { width: 42%; height: 42%; }

.ibtn { flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--pastina); cursor: pointer; }
.ibtn:hover { color: var(--pastina-light); }
.ibtn svg { width: 24px; height: 24px; }

/* faces of the selectors */
.ava { flex: none; display: block; width: 48px; height: 48px; object-fit: cover; border-radius: 50%; border: 3px solid var(--panna); box-shadow: 0 0 0 2px var(--crosta); filter: url(#rough-img); }
.faces { flex: none; display: flex; }
.faces .ava + .ava { margin-left: -20px; }

/* wavy, torn edges for bands */
.bar::after, .phead::after, .site-footer::before, .mc-dock::before,
.menuabout::before, .menuabout::after, .about-col::before, .about-col::after, .goldband::before, .goldband::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; -webkit-mask: url(pictures/wave.svg) 0 0 / 480px 22px repeat-x; mask: url(pictures/wave.svg) 0 0 / 480px 22px repeat-x; }
.bar::after, .phead::after { top: 100%; margin-top: -1px; height: 12px; background: var(--grain-light), var(--pentola-deep); -webkit-mask-size: 320px 12px; mask-size: 320px 12px; transform: scaleY(-1); }
.site-footer::before, .mc-dock::before { bottom: 100%; margin-bottom: -1px; height: 22px; background: var(--grain-light), var(--pentola-deep); }
.menuabout::before, .about-col::before, .goldband::before { bottom: 100%; margin-bottom: -1px; height: 22px; background: var(--grain-dark), var(--pastina); }
.menuabout::after, .about-col::after, .goldband::after { top: 100%; margin-top: -1px; height: 22px; background: var(--grain-dark), var(--pastina); transform: scaleY(-1); }

/* hand-drawn underlines */
.scribble, .site-nav a[aria-current] { position: relative; }
.scribble::after, .site-nav a[aria-current]::after { content: ""; position: absolute; left: -4px; right: -10px; bottom: -12px; height: 13px; background: var(--scribble, var(--crosta)); -webkit-mask: url(pictures/scribble.svg) 0 0 / 100% 100% no-repeat; mask: url(pictures/scribble.svg) 0 0 / 100% 100% no-repeat; pointer-events: none; }

/* ---------- wide screens: top bar ---------- */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: var(--grain-light), var(--pentola-deep); }
.bar-in { min-height: 64px; display: flex; align-items: center; gap: 16px; }
.bar-logo { flex: none; display: block; line-height: 0; }
.bar-logo img { display: block; width: 56px; height: auto; }
.bar .disc { flex: none; width: 38px; height: 38px; }
.bar-title { flex: 1 1 auto; min-width: 0; font-family: var(--f-display); font-size: 20px; line-height: 1.2; color: var(--pastina); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-title small { font-family: var(--f-body); font-size: 15px; color: var(--ink-soft); }
.bar .site-nav { flex: none; margin-left: 8px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-family: var(--f-display); font-size: 20px; line-height: 1.3; }
.site-nav a { color: var(--panna); text-decoration: none; }
.site-nav a:hover { color: var(--pastina); }
.site-nav a[aria-current] { color: var(--pastina); --scribble: var(--pastina); }
.site-nav a[aria-current]::after { left: -3px; right: -6px; bottom: -10px; height: 10px; }

/* ---------- narrow screens: header and navigation sheet ---------- */
.phead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: var(--grain-light), var(--pentola-deep); }
.phead-in { display: flex; align-items: center; gap: 8px; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.phead-in > a { display: block; line-height: 0; }
.phead-in > a img { display: block; width: 62px; height: auto; }
.phead .ibtn:last-child { margin-right: -8px; }
.phead .disc { flex: none; width: 36px; height: 36px; margin-right: 2px; --rb-bw: 2px; --rb-sx: 2px; --rb-sy: 2px; }
.sheet { position: fixed; inset: 0; z-index: 35; isolation: isolate; overflow-y: auto; background: var(--grain-light), var(--pentola-deep); display: flex; flex-direction: column; gap: 32px; padding: calc(env(safe-area-inset-top, 0px) + 8px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 28px) max(16px, env(safe-area-inset-left, 0px)); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; }
.sheet-top img { display: block; width: 62px; height: auto; }
.sheet .site-nav ul { flex-direction: column; gap: 4px; font-size: 42px; line-height: 1.25; }
.sheet .site-nav a[aria-current]::after { bottom: -6px; height: 12px; }
.sheet .btn { align-self: flex-start; }

/* ---------- home, wide screens: the hero ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 76px 72px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; min-width: 0; }
.hero-logo { margin: 0 0 6px; line-height: 0; }
.hero-logo img { display: block; width: 220px; height: auto; }
.tagline { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.25rem, 1.5rem + 3.5vw, 5rem); line-height: 1; color: var(--panna); }
.hero-sub { font-size: 21px; line-height: 1.5; color: var(--ink-soft); }
.hero-copy .btn-row { margin-top: 4px; }
.bowl-col { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; min-width: 0; }
.steam { position: absolute; top: -70px; left: 50%; width: 92px; height: 82px; margin-left: -46px; overflow: visible; fill: none; stroke: var(--steam); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.bowl { position: relative; width: 380px; max-width: 100%; aspect-ratio: 1; container-type: inline-size; }
.bowl-shadow { position: absolute; inset: 0; border-radius: 50%; background: var(--shadow); transform: translate(6px, 8px); filter: url(#rough-md); }
.broth { position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle, var(--pentola-light) 0 34%, var(--broth-ring) 34.5% 56%, var(--pentola) 56.5% 76%, var(--broth-deep) 76.5%); box-shadow: inset 0 16px 0 var(--broth-lip); }
.rim { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 0 36px var(--panna), inset 0 0 0 39px var(--crosta), 0 0 0 3px var(--ink); box-shadow: inset 0 0 0 9.6cqi var(--panna), inset 0 0 0 calc(9.6cqi + 3px) var(--crosta), 0 0 0 3px var(--ink); filter: url(#rough-md); }
.letter { position: absolute; font-family: "Brodino 2 Color", "Brodino 2", sans-serif; font-palette: --gold; line-height: 1; color: var(--panna); transform: translate(-50%, -50%) rotate(var(--r)); }
.letter.float { animation: float 7s ease-in-out infinite alternate; }
.bowl .disc { position: absolute; left: 50%; top: 50%; width: 28%; height: 28%; transform: translate(-50%, -50%); --rb-bw: 3px; --rb-sx: 4px; --rb-sy: 6px; }
.bowl .disc:active { transform: translate(-50%, -50%) scale(.96); }
.bowl-info { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.bowl-info .show { font-family: var(--f-display); font-size: 28px; line-height: 1.15; color: var(--pastina); }
.bowl-info .meta { font-family: var(--f-mono); font-size: 14px; color: var(--ink-soft); }
.bowl-info .meta:empty { display: none; }
.bubble { position: absolute; border-radius: 50%; background: var(--bubble); opacity: 0; pointer-events: none; }
html[data-playing] .bubble { animation: rise 3.2s ease-in infinite; }
html[data-playing] :is(.steam, .steam-sm) path { animation: waft 2.6s ease-in-out infinite alternate; }
:is(.steam, .steam-sm) path:nth-child(2) { animation-delay: -.9s; }
:is(.steam, .steam-sm) path:nth-child(3) { animation-delay: -1.8s; }

/* ---------- home, narrow screens: the on-air card ---------- */
.pwrap { max-width: 640px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.ponair { padding-block: 34px 18px; }
.oncard { border-radius: 26px; padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 14px; --rb-grain: var(--grain-light); --rb-fill: var(--pentola-light); --rb-bw: 2.5px; --rb-ink: var(--line-gold); --rb-shadow: var(--shadow); --rb-sx: 5px; --rb-sy: 7px; --rb-tilt: .3deg; }
.oncard-top { display: flex; align-items: center; gap: 18px; }
.pbowl { position: relative; flex: none; width: 128px; }
.pbowl .prim { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--panna); padding: 6px; box-shadow: inset 0 0 0 2px var(--crosta), 0 0 0 2.5px var(--ink), 3px 5px 0 var(--shadow); filter: url(#rough-img); }
.pbowl .prim img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pbowl .prim img.is-logo { object-fit: contain; padding: 14px; background: var(--pentola); }
.pbowl .disc { position: absolute; left: -6px; bottom: -2px; width: 48px; height: 48px; }
.steam-sm { position: absolute; top: -38px; left: 50%; width: 54px; height: 48px; margin-left: -27px; overflow: visible; fill: none; stroke: var(--steam); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.oncard-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.oncard-meta .date { font-family: var(--f-mono); font-size: 13px; line-height: 1.4; color: var(--ink-soft); white-space: pre-line; }
.oncard-h { margin: 4px 0 0; font-family: var(--f-display); font-weight: 400; font-size: 44px; line-height: .98; color: var(--pastina); overflow-wrap: anywhere; }
.oncard .with { font-size: 18px; line-height: 1.4; color: var(--panna); }
.oncard .with:empty { display: none; }
.oncard .btn-row { gap: 12px; margin-top: 4px; }

/* ---------- the chequered strip ---------- */
.checks { position: relative; height: 96px; background: var(--pentola); }
.checks::before { content: ""; position: absolute; inset: 0; background: var(--grain-dark), var(--pastina); -webkit-mask: url(pictures/checks-h.png) 0 50% / auto 100% repeat-x; mask: url(pictures/checks-h.png) 0 50% / auto 100% repeat-x; }
.checks-a { margin-bottom: 56px; }

/* ---------- this week's schedule and about, on the gold band ---------- */
.menuabout, .goldband { position: relative; background: var(--grain-dark), var(--pastina); color: var(--pentola); }
.menuabout > .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 96px; }
.menu-col, .about-col { min-width: 0; }
.menu-card, .paper { border-radius: 30px; padding: 34px 40px 30px; color: var(--pentola); --rb-grain: var(--grain-dark); --rb-fill: var(--panna); --rb-bw: 3px; --rb-ink: var(--pentola); --rb-shadow: var(--shadow); --rb-sx: 7px; --rb-sy: 9px; --rb-tilt: -.4deg; }
.menu-card h2, .paper h2 { display: inline-block; margin: 0 0 16px; font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1.1; --scribble: var(--pastina); }
.menu-card h2::after, .paper h2::after { bottom: -10px; }
:is(.menu-card, .paper) a { color: var(--fondo-ink); }
:is(.menu-card, .paper) a:hover { color: var(--pentola); }
.range { margin-bottom: 10px; font-family: var(--f-mono); font-size: 13px; color: var(--ink-cream); }
.range:empty { display: none; }
.day { margin: 18px 0 2px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--ink-cream); }
.empty { padding: 12px 0 4px; font-size: 16px; color: var(--ink-cream); }
.slots { list-style: none; margin: 0 -12px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.slot { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 18px; --rb-tilt: -.4deg; --rb-sx: 0px; --rb-sy: 0px; }
.slot.is-now, .slot.is-next { --rb-fill: var(--now-fill); }
.slot-txt { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.slot-what { font-weight: 700; font-size: 17px; }
.slot-by { font-size: 14.5px; color: var(--ink-cream); }
.slot-by a { color: inherit; }
.slot.is-past .slot-what, .slot.is-past .when { color: var(--ink-cream); }
.slot .when { font-family: var(--f-mono); font-size: 15px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.about-col { position: relative; }
.about-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.about-inner img { display: block; width: 100%; max-width: 470px; height: auto; }
.about-inner p { max-width: 31em; font-size: 20px; line-height: 1.55; color: var(--pentola); }
.about-inner .btn { margin-top: -4px; }

/* ---------- fresh from the pot, and every grid of sets ---------- */
.fresh .wrap { padding-block: 104px 120px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 44px; }
.sec-head h2 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1.1; color: var(--pastina); }
.sec-head .count { font-family: var(--f-mono); font-size: 15px; color: var(--ink-soft); vertical-align: middle; }
.shows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; }
.shows > p { grid-column: 1 / -1; color: var(--ink-soft); }
.show { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.show:nth-child(odd) { --tilt: -.6deg; }
.show:nth-child(even) { --tilt: .5deg; }
.cover { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.cover img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 5px solid var(--panna); border-radius: 18px; background: var(--pentola-light); box-shadow: 5px 7px 0 var(--shadow); filter: url(#rough-img); transform: rotate(var(--tilt, 0deg)); transition: transform .2s ease; }
.show:hover .cover img { transform: rotate(calc(var(--tilt, 0deg) * -1.5)); }
.cover .disc { position: absolute; left: 14px; bottom: 14px; width: 52px; height: 52px; }
.cover:hover .disc { --rb-fill: var(--pastina-light); }
.show h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.15; color: var(--pastina); overflow-wrap: anywhere; }
.show .by { font-size: 15px; color: var(--ink-soft); }
.show .by a { color: var(--panna); }
.show .by a:hover { color: var(--pastina); }
.show .when { font-family: var(--f-mono); font-size: 13px; color: var(--ink-soft); }
.load-more { display: flex; width: fit-content; margin: 56px auto 0; }

/* ---------- other pages: the page head ---------- */
.page-head .wrap { padding-block: 72px 56px; }
.page-title { display: inline-block; margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(3rem, 1.6rem + 3.4vw, 4.75rem); line-height: 1; color: var(--panna); --scribble: var(--pastina); }
.page-title::after { bottom: -16px; height: 16px; }
.page-intro { max-width: 36em; margin-top: 34px; font-size: 21px; line-height: 1.5; color: var(--ink-soft); }
.page-intro a { color: var(--pastina); }
.page-body .wrap { padding-bottom: 120px; }

/* residents */
.residents-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 28px; }
.resident { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-decoration: none; }
.resident:nth-child(odd) { --tilt: -.7deg; }
.resident:nth-child(even) { --tilt: .6deg; }
.resident-frame { display: block; margin-bottom: 14px; }
.resident-frame img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 5px solid var(--panna); border-radius: 20px; background: var(--pentola-light); box-shadow: 5px 7px 0 var(--shadow); filter: url(#rough-img); transform: rotate(var(--tilt, 0deg)); transition: transform .2s ease; }
.resident:hover .resident-frame img { transform: rotate(calc(var(--tilt, 0deg) * -1.5)); }
.resident-name { font-family: var(--f-display); font-size: 26px; line-height: 1.15; color: var(--pastina); overflow-wrap: anywhere; }
.resident:hover .resident-name { color: var(--pastina-light); }
.resident-place { font-family: var(--f-mono); font-size: 14px; color: var(--ink-soft); }

/* one resident */
.resident-head .wrap { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: 72px 80px; }
.resident-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid var(--panna); border-radius: 24px; background: var(--pentola-light); box-shadow: 7px 9px 0 var(--shadow); filter: url(#rough-img); transform: rotate(-1.2deg); }
.resident-head-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.resident-photo[hidden] + .resident-head-text { grid-column: 1 / -1; }
.resident-head-text > .btn-xs { margin-bottom: 8px; }
.resident-head-text .page-title { overflow-wrap: anywhere; }
.resident-info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 18px; }
.resident-city, .resident-genres { font-family: var(--f-mono); font-size: 15px; color: var(--ink-soft); }
.resident-bio { max-width: 34em; font-size: 19px; line-height: 1.55; color: var(--panna); }
.resident-links { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 6px 0 0; padding: 0; }
.resident-shows .wrap { padding-bottom: 120px; }

/* about */
.goldband .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 96px; }
.about-text { display: flex; flex-direction: column; gap: 20px; max-width: 34em; font-size: 20px; line-height: 1.55; }
.about-text .lead { font-family: var(--f-display); font-size: 34px; line-height: 1.15; }
.goldband img { display: block; width: 100%; max-width: 520px; height: auto; justify-self: center; }
.contact .wrap { padding-block: 110px 120px; }
.contact .paper { max-width: 760px; margin-inline: auto; }
.contact .paper p { font-size: 19px; line-height: 1.55; }
.contact-email { display: inline-block; margin-top: 14px; font-family: var(--f-display); font-size: clamp(26px, 1rem + 2vw, 40px); line-height: 1.15; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--grain-light), var(--pentola-deep); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px 56px; padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-id { display: flex; align-items: center; gap: 24px; min-width: 0; }
.foot-id img { flex: none; display: block; width: 96px; height: auto; }
.foot-id p { font-size: 16px; color: var(--ink-soft); }
.foot-id .credit { margin-top: 4px; font-family: var(--f-mono); font-size: 13px; }
.foot-links { display: flex; flex-direction: column; gap: 10px; }
.foot-links ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; font-weight: 650; }
.foot-links .mail { font-family: var(--f-mono); font-size: 13px; color: var(--ink-soft); }
.foot-links .mail a { color: inherit; }

/* ---------- the archive player, docked at the bottom ---------- */
.mc-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--grain-light), var(--pentola-deep); padding-bottom: env(safe-area-inset-bottom, 0px); }
.mc-dock-inner { display: flex; align-items: center; gap: 12px 20px; padding-block: 10px; }
.mc-dock-title { flex: 0 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--panna); white-space: nowrap; }
.mc-dock-title b { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 650; }
.mc-dock-player { flex: 1 1 320px; min-width: 0; height: 60px; }
.mc-dock iframe { display: block; width: 100%; height: 60px; border: 0; border-radius: 10px; }
.mc-dock-link { flex: none; font-size: 14px; font-weight: 650; white-space: nowrap; }

/* ---------- live chat drawer ---------- */
#chat-drawer { position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(380px, 100vw); z-index: 30; transform: translateX(100%); transition: transform .25s ease-in-out; display: flex; flex-direction: column; background: var(--grain-dark), var(--panna); color: var(--pentola); box-shadow: -3px 0 0 var(--ink), -10px 0 0 var(--shadow); visibility: hidden; }
#chat-drawer.open { transform: translateX(0); visibility: visible; }
#chat-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: env(safe-area-inset-top, 0px) 14px 0 22px; background: var(--grain-light), var(--pentola-deep); color: var(--pastina); }
#chat-title { font-family: var(--f-display); font-size: 22px; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#chat-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--pastina); cursor: pointer; }
#chat-close svg { width: 22px; height: 22px; }
#chat-close:hover { color: var(--pastina-light); }
#chat-status { padding: 8px 22px; font-family: var(--f-mono); font-size: 13px; color: var(--ink-cream); text-align: center; }
#chat-status.is-hidden { display: none; }
#chat-log { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.chat-msg { overflow-wrap: anywhere; }
.chat-msg-time { margin-right: .5em; font-family: var(--f-mono); font-size: 12px; color: var(--ink-cream); font-variant-numeric: tabular-nums; }
.chat-msg-nick { margin-right: .4em; font-weight: 700; color: var(--fondo-ink); }
.chat-msg-nick--me { color: var(--pentola); text-decoration: underline; text-decoration-color: var(--pastina); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.chat-msg--system { font-family: var(--f-mono); font-size: 13px; color: var(--ink-cream); text-align: center; }
#chat-form, #chat-nick-gate { padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 2px solid var(--rule-ink); }
#chat-input, #chat-nick-input { width: 100%; padding: 11px 16px; border: 2.5px solid var(--line-ink); border-radius: 999px; font-family: var(--f-body); font-size: 16px; color: var(--pentola); background: #fffaf0; }
#chat-input::placeholder, #chat-nick-input::placeholder { color: var(--ink-cream); }
#chat-input:focus, #chat-nick-input:focus { outline: none; border-color: var(--pentola); }
#chat-nick-gate label { display: block; margin-bottom: 10px; font-family: var(--f-display); font-size: 22px; line-height: 1.2; }
#chat-nick-gate button { width: 100%; margin-top: 12px; }
.chat-hint { margin-top: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-cream); text-align: center; }
#chat-nick-gate { display: none; }
#chat-drawer.needs-nick #chat-form { display: none; }
#chat-drawer.needs-nick #chat-nick-gate { display: block; }

/* ---------- motion ---------- */
@keyframes float { to { transform: translate(calc(-50% + 5px), calc(-50% - 6px)) rotate(calc(var(--r) + 9deg)); } }
@keyframes rise { 0% { transform: translateY(0) scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-40px) scale(1); opacity: 0; } }
@keyframes simmer { 50% { transform: scale(.55); opacity: .5; } }
@keyframes waft { from { transform: translateY(3px); opacity: .6; } to { transform: translateY(-7px); opacity: 1; } }

/* ---------- breakpoints ---------- */
@media (min-width: 900px) {
  .only-narrow { display: none !important; }
  .about-col::before, .about-col::after { display: none; }
}
@media (max-width: 1239.98px) {
  .site-nav ul { gap: 20px; font-size: 18px; }
  .bar-in { gap: 12px; }
  .residents-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1059.98px) {
  .bar-in { gap: 10px; }
  .bar-logo img { width: 48px; }
  .site-nav ul { gap: 16px; font-size: 17px; }
  .bar .btn-xs { padding: 6px 10px; }
  .chat-label { display: none; }
}
@media (max-width: 899.98px) {
  .only-wide { display: none !important; }
  body { font-size: 16px; line-height: 1.55; }
  html[data-dock] body { padding-bottom: 128px; }
  .checks { height: 60px; }
  .checks-a { margin: 18px 0 34px; }
  .menuabout { background: none; }
  .menuabout::before, .menuabout::after { display: none; }
  .menuabout > .wrap { display: block; max-width: none; padding: 0; }
  .menu-col { padding: 8px max(16px, env(safe-area-inset-right, 0px)) 72px max(16px, env(safe-area-inset-left, 0px)); }
  .menu-card, .paper { max-width: 608px; margin-inline: auto; border-radius: 26px; padding: 24px 20px 20px; --rb-sx: 5px; --rb-sy: 7px; --rb-tilt: -.3deg; }
  .menu-card h2, .paper h2 { font-size: 30px; margin-bottom: 14px; }
  .range { margin-bottom: 6px; font-size: 12px; }
  .day { margin-top: 14px; font-size: 12px; }
  .slots { margin: 0 -10px; }
  .slot { gap: 12px; padding: 9px 10px; }
  .slot .ava { width: 42px; height: 42px; }
  .slot-what { font-size: 16px; }
  .slot-by { font-size: 13.5px; }
  .slot .when { font-size: 14px; }
  .about-col { background: var(--grain-dark), var(--pastina); padding: 44px max(20px, env(safe-area-inset-right, 0px)) 52px max(20px, env(safe-area-inset-left, 0px)); }
  .about-inner { max-width: 600px; margin-inline: auto; gap: 22px; }
  .about-inner p { font-size: 17px; line-height: 1.6; }
  .fresh .wrap { padding-block: 68px 76px; }
  .sec-head { margin-bottom: 34px; }
  .sec-head h2 { font-size: 32px; }
  .sec-head .btn { display: none; }
  .more { display: flex; }
  .shows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .cover { margin-bottom: 12px; }
  .cover img { border-width: 4px; border-radius: 16px; box-shadow: 4px 6px 0 var(--shadow); }
  .cover .disc { left: 10px; bottom: 10px; width: 44px; height: 44px; }
  .show h3 { font-size: 19px; }
  .show .by { font-size: 14px; }
  .show .when { font-size: 12px; }
  .load-more { width: 100%; margin-top: 40px; }
  .page-head .wrap { padding-block: 44px 40px; }
  .page-intro { margin-top: 28px; font-size: 18px; }
  .page-body .wrap, .resident-shows .wrap { padding-bottom: 80px; }
  .residents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; }
  .resident-frame { margin-bottom: 10px; }
  .resident-frame img { border-width: 4px; border-radius: 16px; box-shadow: 4px 6px 0 var(--shadow); }
  .resident-name { font-size: 21px; }
  .resident-place { font-size: 12.5px; }
  .resident-head .wrap { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 40px 56px; }
  .resident-photo { max-width: 300px; border-width: 5px; }
  .resident-bio { font-size: 17px; }
  .goldband .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 56px 64px; }
  .about-text { font-size: 17px; }
  .about-text .lead { font-size: 26px; }
  .contact .wrap { padding-block: 72px 80px; }
  .contact .paper p { font-size: 17px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 36px calc(34px + env(safe-area-inset-bottom, 0px)); }
  .foot-id { gap: 16px; }
  .foot-id img { width: 78px; }
  .foot-id p { font-size: 14px; }
  .foot-links ul { gap: 8px 22px; font-size: 15px; }
  .mc-dock-inner { flex-wrap: wrap; gap: 6px 12px; padding-block: 8px; }
  .mc-dock-title { flex: 1 1 0; font-size: 14px; }
  .mc-dock-link { display: none; }
  .mc-dock-player { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .letter.float, .pill-live .dot, html[data-playing] .bubble, html[data-playing] :is(.steam, .steam-sm) path { animation: none; }
  :is(.cover, .resident-frame) img { transition: none; }
  .show:hover .cover img, .resident:hover .resident-frame img { transform: rotate(var(--tilt, 0deg)); }
  #chat-drawer { transition: none; }
}
