/*
 * One size layer for the whole website (owner's note, October 24, 2026: "the site feels zoomed in, make it smaller;
 * use the space that opens up, but don't let text get too small; phones too").
 *
 * Loaded last on every page. It does not use CSS zoom (zoom shrinks small text too and changes how viewport units and
 * measured sizes behave across browsers); instead the big end of the type scale, the paddings, the buttons and the
 * player come down to roughly 85 to 90 percent, small text stays where it is (body text 16px on computers, 15.5px on
 * phones, nothing below the existing 12px labels), typing fields stay 16px on phones (iPhone zooms in below that), and
 * touch targets keep 44px. On large screens the content gets wider so grids gain a column instead of the margins
 * growing.
 */

/* ---------- Widths: use the space on large screens ---------- */
:root { --dock-width: clamp(340px, 27vw, 440px); }
@media (min-width: 1500px) {
	/* Set on the page root: --room-gutter is worked out there from --room-max. */
	:root { --wrap: 1600px; --room-max: 1640px; }
	html body .club-discovery.re-room .cd-discover .cd-shop-grid { --cols: 5; }
}
@media (min-width: 1800px) {
	:root { --wrap: 1680px; --room-max: 1720px; }
}
html .mk-body { max-width: 1680px; }
/* The maker cards keep the same column count as the Discover cards (4, then 5 from 1500px), so the two Club tabs match
   and a card is never so narrow that its badge runs into its eyebrow. */
html .re-room .mk-shops { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* ---------- Computers and tablets ---------- */
@media (min-width: 761px) {
	html body { font-size: 16px; }

	/* Top bar */
	html .brand { font-size: 16px; }
	html .brand-heart { width: 33px; height: 33px; }

	/* How Club Eshgh works */
	html .cg-title { font-size: clamp(40px, 4.6vw, 60px); }
	html .cg-h2 { font-size: clamp(26px, 2.8vw, 40px); }
	html .cg-story-copy .cg-h2 { font-size: clamp(24px, 2.4vw, 34px); }
	html .cg-sub, html .cg-lede { font-size: clamp(16px, 1.35vw, 18.5px); }
	html .cg-steps h3 { font-size: clamp(18px, 1.4vw, 21px); }
	html .cg-math-step b { font-size: clamp(20px, 1.9vw, 26px); }

	/* Home: the live stage */
	html .stage-heading { font-size: clamp(14px, 2.2vw, 34px); }
	/* The big heart has one size, MAKERS-16's (owner's note, October 30, 2026), whether the chat is open or not. */
	html .logo-player.onair-art { width: min(440px, 100%); }
	html .stage .onair-kicker { font-size: 13px; margin-bottom: 12px; }
	html .stage .onair-title { font-size: clamp(28px, 2.65vw, 46px); }
	html .stage .onair-artist { font-size: clamp(14px, 1.4vw, 22px); margin-top: 10px; }
	html .stage .onair-controls { gap: 14px; margin: 26px 0; }
	html .stage .btn-listen { min-height: 48px; min-width: 172px; padding: 10px 20px 10px 60px; font-size: 15.5px; }
	html .stage .btn-listen svg { width: 48px; height: 48px; padding: 16px; }
	html .stage .btn-hearts { min-width: 80px; min-height: 48px; font-size: 16px; }
	html .stage .btn-hearts > span:first-child { font-size: 21px; }
	html .stage .up-next strong { font-size: clamp(15px, 1.3vw, 20px); }
	html .stage .up-next .muted { font-size: 15px; }
	html .heart-hint { font-size: clamp(14px, 1.3vw, 17px); }
	html .slogan-text { font-size: clamp(24px, 3vw, 42px); }
	html .slide-title { font-size: clamp(22px, 2.3vw, 34px); }
	html .club-gallery-heading h2 { font-size: clamp(30px, 3vw, 44px); }

	/* Live chat panel */
	html .dock-chat { --room-height: min(680px, calc(100dvh - 210px)); --room-padding-top: 24px; padding-inline: 22px; font-size: 15px; gap: 12px; }
	html .chat-head h2 { font-size: 24px; gap: 14px; }
	html .dock-chat .comment-form { min-height: 0; padding-block: 5px; }
	html .comment-name { font-size: 14.5px; }
	html .comment-text { font-size: 15.5px; margin-top: 5px; }
	html .comment-form input { font-size: 15.5px; }

	/* Player */
	html body.re-experience .player-bar .pb-inner { min-height: 70px; padding: 8px 20px; gap: 18px; }
	html body.re-experience .player-bar .pb-heart-wrap { width: 40px; height: 40px; }
	html body.re-experience .player-bar .pb-eqheart { width: 38px; height: 35px; }
	html body.re-experience .player-bar .dock-play-control svg { width: 40px; height: 40px; padding: 12px; }
	html body.re-experience .player-bar .dock-chat-button { font-size: 14.5px; padding: 9px 15px; border-radius: 18px; }

	/* Schedule and Spotlight */
	html .schedule-masthead h1 { font-size: clamp(26px, 2.8vw, 42px); }
	html .spot-ad-copy h2 { font-size: clamp(36px, 4.4vw, 64px); }
	html .spot-ad-empty h2 { font-size: clamp(26px, 3.4vw, 44px); }

	/* Club Eshgh */
	html .club-discovery.re-room .cd-header h1, html .club-discovery .cd-header h1 { font-size: 30px; }
	html .cd-promo-lines b { font-size: 20px; }

	/* Shops (Eshgh Makers and partners) */
	html .re-room .mk-hero h1, html .mk-hero h1 { font-size: clamp(28px, 3vw, 42px); }
	html .re-room[data-mk-shop] .mk-hero { min-height: clamp(460px, 66svh, 680px); }
	html .mk-vitrine { width: min(100%, 560px); }
	html .mk-vit-name { font-size: clamp(21px, 1.9vw, 26px); }
	html .mk-vit-price b { font-size: 23px; }
	html .re-room .mk-section-head h2, html .mk-section-head h2 { font-size: clamp(18px, 1.5vw, 21px); }
	html .mk-drawer-head h2 { font-size: 27px; }
}

/* ---------- Phones (website only; the iPhone app is separate) ---------- */
@media (max-width: 760px) {
	html body { font-size: 15.5px; }
	/* iPhone Safari zooms in when a typing field is smaller than 16px. */
	/* A floor, so it wins over any smaller size set for a field elsewhere (important on purpose). */
	html :is(input:not([type=checkbox], [type=radio], [type=range], [type=color], [type=file], [type=hidden]), textarea, select) { font-size: max(16px, 1em) !important; }

	html .logo-player.onair-art { width: min(180px, 48vw); }
	html .stage .onair-title { font-size: 25px; }
	html .stage .onair-artist { font-size: 13.5px; }
	html .stage .btn-listen { min-height: 46px; min-width: 156px; padding: 10px 18px 10px 56px; font-size: 15px; }
	html .stage .btn-listen svg { width: 46px; height: 46px; padding: 15px; }
	html .stage .btn-hearts { min-width: 76px; min-height: 46px; font-size: 15.5px; }
	html .stage .btn-hearts > span:first-child { font-size: 19px; }
	html .stage .onair-controls { gap: 12px; margin: 20px 0; }
	html .slogan-text { font-size: clamp(17px, 4.6vw, 22px); }
	html .club-gallery-heading h2 { font-size: clamp(28px, 8vw, 38px); }

	/* Menu that opens from the top bar */
	html .nav-list a { font-size: 22px; padding: 8px 0; }

	/* Player: slimmer, buttons keep a 44px touch area */
	html body.re-experience .player-bar .pb-inner { min-height: 60px; padding: 6px 8px; gap: 8px; }
	html body.re-experience .player-bar .pb-heart-wrap { width: 32px; height: 32px; }
	html body.re-experience .player-bar .pb-eqheart { width: 30px; height: 28px; }
	html body.re-experience .player-bar .dock-play-control { min-height: 44px; }
	html body.re-experience .player-bar .dock-chat-button { min-height: 44px; min-width: 44px; padding: 8px 12px; }
	html .dock-chat { --room-height: min(600px, calc(100dvh - 150px)); --room-padding-top: 18px; padding-inline: 16px; font-size: 15px; }
	html .chat-head h2, html .dock-chat .chat-head h2 { font-size: 21px; }

	/* Club Eshgh: the header fits on one line, the tab bar fits at 320 */
	html .club-discovery.re-room .cd-header h1, html .club-discovery .cd-header h1 { font-size: 23px; white-space: nowrap; }
	html .club-discovery.re-room .cd-tabs a { padding: 0 9px; font-size: 12.5px; }

	/* Shops */
	html .re-room .mk-hero h1, html .mk-hero h1, html .re-room[data-mk-shop] .mk-hero h1 { font-size: 23px; }
	html .mk-vit-name { font-size: 19px; }
	html .mk-vit-price b { font-size: 18px; }
	html .re-room .mk-section-head h2, html .mk-section-head h2 { font-size: 18px; }
	html .mk-hero .mk-label { font-size: 12.5px; }
	html .mk-drawer-head h2 { font-size: 24px; }
	html .spot-ad-copy h2 { font-size: clamp(30px, 8.5vw, 38px); }
	html .schedule-masthead h1 { font-size: clamp(26px, 8vw, 34px); }
}
@media (max-width: 360px) {
	html .club-discovery.re-room .cd-header h1, html .club-discovery .cd-header h1 { font-size: 21px; }
	html .club-discovery.re-room .cd-tabs a { padding: 0 6px; font-size: 12px; }
	html body .club-discovery.re-room #club-tab-makers { gap: 5px; }
}

/* ---------- Player and live chat: one joined shape, crisp at any zoom ----------
   The chat room rises out of the player bar as one glass shape with a soft curved joint (owner's note: the joined
   chat and player are part of the look). experience.js draws the outline snapped to the device pixel grid and sets
   the hairline widths to whole device pixels for the current zoom and screen, so the edge never smears or breaks. */
html .dock-outline, html .dock-edge { stroke-width: var(--dock-hair, 1.2px); }
html .dock-iris { stroke-width: var(--dock-iris-hair, 1.4px); }
html .dock-outline path { vector-effect: non-scaling-stroke; }

/* ---------- Chat and player move as one (owner's note) ----------
   Opening or closing the chat is one motion: the stage glide and the chat sliding up or down (at full size, so
   nothing is laid out again per frame) use the same duration and curve (experience.js; --dock-ms / --dock-ease are
   set for that motion). The glass itself never changes (below). The player bar keeps one size (it no longer gets
   smaller on scroll). */
html .dock-chat { height: var(--room-height); padding-top: var(--room-padding-top); padding-bottom: var(--room-padding-bottom); opacity: 1; }
html .dock-chat > * { transform: none; }
/* While the chat moves, no CSS transition on the bar runs (nothing in the bar changes size during the motion). */
html body.re-experience.dock-moving .player-bar :is(.pb-inner, .dock-play-control svg, .pb-heart-wrap, .pb-eqheart, .pb-title, .dock-chat-button) { transition: none !important; }
/* On phones too the open chat is part of the joined shape (it is as wide as the player, so the two make one tall
   rounded shape): the chat has no border, shadow, fill or rounded box of its own that would sit on the bar's line. Its
   frosted glass is the joined shape's one glass layer (below), cut to the shape's rounded top; while it rises or goes
   back down the same clip reveals it (experience.js). */
@media (max-width: 760px) {
	html body [data-live-room] { background: none; border: 0; border-radius: 32px 32px 0 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 699px) {
	html body [data-live-room] { border-radius: 22px 22px 0 0; }
}
/* The chat list is redrawn whenever the room changes (a new message, the show going live, every page change), and
   each redrawn message used to fade and slide in again, so the whole chat blinked at random moments. Only a message
   that has just arrived (.is-arriving) animates now; opening the chat no longer replays the pinned welcome either. */
html [data-live-room] .comment:not(.is-arriving) { animation: none; }

/* ---------- Calm sizing pass (owner's notes, October 24, 2026, evening) ----------
   "Don't make it so big and cramped, give it some space, like apple.com", "these are stretched for nothing" and
   "bulky bubbles still". One primary button per area, slimmer controls, secondary actions as plain text links, quiet
   text instead of decorative pills, nothing stretched across the page with an empty middle. Sizes only: the player and
   chat motion (experience.js) are untouched. Phones keep 44px touch targets and 16px typing fields. */

/* Buttons: sized to their words, 42px tall on computers (44px on phones), calmer type. */
@media (min-width: 761px) {
	html body .btn:not(.btn-listen, .btn-hearts) { min-height: 42px; padding: 10px 18px; font-size: 15px; }
}
@media (max-width: 760px) {
	html body .btn:not(.btn-listen, .btn-hearts) { min-height: 44px; padding: 10px 18px; font-size: 15px; }
}

/* A secondary action that was a pill reads as a text link: brand green, an arrow, a 44px hit area, no box. */
html body :is(.club-discovery .cd-join, .club-discovery .cd-makers-head > .mk-pill) {
	min-height: 44px; padding: 0 2px; border: 0; border-radius: 0; background: none !important; box-shadow: none !important;
	color: var(--tint-deep, #8ff0bf); font-size: 14.5px; font-weight: 600; gap: 6px; white-space: nowrap;
}
html body :is(.club-discovery .cd-join, .club-discovery .cd-makers-head > .mk-pill) .mk-arrow { width: auto; height: auto; padding: 0; background: none; color: inherit; transition: transform .2s ease; }
html body :is(.club-discovery .cd-join, .club-discovery .cd-makers-head > .mk-pill):hover { color: #fff; transform: none; }
html body :is(.club-discovery .cd-join, .club-discovery .cd-makers-head > .mk-pill):hover .mk-arrow { transform: translateX(3px); }
html body :is(.club-discovery .cd-join, .club-discovery .cd-makers-head > .mk-pill):focus-visible { outline: 2px solid #8ff0bf; outline-offset: 3px; border-radius: 6px; }
html body .spot-show .spot-cta .mk-pill { min-height: 36px; font-size: 13.5px; }

/* Club shop cards: no box inside the box. The offer and actions sit on a soft shade at the foot of the photo, one
   light "Order online" button and "Directions" as a text link. */
html body .club-discovery.re-room .cd-discover .cd-shop-card .cd-card-strip { margin: 0; padding: 28px 22px 18px; border-radius: 0; gap: 10px; background: linear-gradient(0deg, rgb(8 13 11 / .94) 0%, rgb(8 13 11 / .78) 62%, rgb(8 13 11 / 0) 100%); box-shadow: none; }
html body .club-discovery.re-room .cd-discover .cd-shop-card .cd-business-actions { gap: 4px 18px; }
html body .club-discovery.re-room .cd-discover .cd-shop-card .cd-business-actions a.cd-order { min-height: 34px; padding: 0 14px; font-size: 13px; }
html body .club-discovery.re-room .cd-discover .cd-shop-card .cd-business-actions a.cd-directions { min-height: 34px; padding: 0 2px; background: none; box-shadow: none; color: rgb(244 238 229 / .82); font-size: 13px; font-weight: 500; }
html body .club-discovery.re-room .cd-discover .cd-shop-card .cd-business-actions a.cd-directions:hover { color: #fff; }
@media (max-width: 760px) {
	html body .club-discovery.re-room .cd-discover .cd-shop-card .cd-business-actions :is(a, a.cd-order, a.cd-directions) { min-height: 44px; }
}

/* My Card: "Older records" and "Account & support" were two full-width bars with nothing in the middle. They are
   now two quiet text links side by side under the card; the one you open spreads into a narrow, readable column. */
html body .club-discovery .cd-card-panel { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 0 28px; }
html body .club-discovery .cd-card-panel > :is([data-club-current-card], noscript) { flex: 1 1 100%; min-width: 0; }
html body .club-discovery .cd-card-panel > .cd-detail { flex: 0 0 auto; margin: 6px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; min-width: 0; }
html body .club-discovery .cd-card-panel > .cd-detail > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 0; padding: 0 2px; list-style: none; font-size: 14px; font-weight: 500; color: rgb(232 244 237 / .72); cursor: pointer; transition: color .2s; }
html body .club-discovery .cd-card-panel > .cd-detail > summary::-webkit-details-marker { display: none; }
html body .club-discovery .cd-card-panel > .cd-detail > summary::before { content: none; }
html body .club-discovery .cd-card-panel > .cd-detail > summary::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
html body .club-discovery .cd-card-panel > .cd-detail > summary:hover { color: #fff; }
html body .club-discovery .cd-card-panel > .cd-detail > summary:focus-visible { outline: 2px solid #8ff0bf; outline-offset: 2px; border-radius: 6px; }
html body .club-discovery .cd-card-panel > .cd-detail[open] { order: 10; flex: 1 1 100%; max-width: 680px; margin: 10px auto 0; padding: 4px 0 20px; border-top: 1px solid rgb(215 255 231 / .1); }
html body .club-discovery .cd-card-panel > .cd-detail[open] > summary { color: #fff; }
html body .club-discovery .cd-card-panel > .cd-detail[open] > summary::after { transform: translateY(1px) rotate(-135deg); }

/* Schedule: slimmer switches, and each show reads left to right (time, picture, name) instead of the name being pushed
   to the far right with an empty band in the middle. */
html body .view-switch { padding: 3px; margin-bottom: 22px; }
html body .view-switch button { min-height: 36px; padding: 0 18px; font-size: 14px; }
html body .day-tabs { padding: 3px; gap: 2px; }
html body .day-tab { min-height: 36px; padding: 0 15px; font-size: 14px; }
html body .slot-row { grid-template-columns: 118px auto minmax(0, 1fr) auto; gap: 20px; padding-block: 16px; }
html body .slot-row .slot-info { padding-left: 0; text-align: start; }
html body .slot-row .slot-side { margin-left: 0; justify-self: end; }
html body .slot-time strong { font-size: 17px; }
html body .slot-info strong { font-size: 17px; }
@media (max-width: 760px) {
	html body .view-switch button, html body .day-tab { min-height: 40px; }
	html body .slot-row { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
	html body .slot-row .slot-side { grid-column: auto; align-self: center; }
	html body .slot-row .slot-art { display: none; }
	html body .slot-time strong, html body .slot-info strong { font-size: 15.5px; white-space: nowrap; }
}

/* Spotlight: a slimmer Partners / Eshgh Makers switch, and "Want to be in Spotlight?" sized to its words instead of a
   full-width bar. */
html body .spot-bar .mk-spot-tabs button { min-height: 36px; padding: 0 16px; font-size: 14px; }
html body .spot-show .spot-cta { width: fit-content; max-width: min(760px, calc(100% - 32px)); gap: 12px 28px; padding: 18px 22px; border-radius: 20px; }
html body .spot-show .spot-cta h3 { font-size: 16px; }
html body .spot-show .spot-cta p { font-size: 14px; }
html body .spot-ad-item { padding: 6px 12px 6px 6px; border-radius: 14px; background: rgb(0 0 0 / .28); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }

/* Sell on Eshgh Makers: the reasons to join are a quiet list with hairlines, not four boxes. */
html body .mk-sell .mk-perks { gap: 0; margin-top: 22px; }
html body .mk-sell .mk-perk { padding: 14px 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid rgb(255 255 255 / .08); }
html body .mk-sell .mk-perk:last-child { border-bottom: 1px solid rgb(255 255 255 / .08); }
html body .mk-sell .mk-perk i { width: 32px; height: 32px; font-size: 13px; }

/* Home: the Club call to action keeps one primary button, slim and sized to its words like the rest of the site. */
html body .club-ctas .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* Header on phones: the round account heart and the menu button stay small to the eye but take a full 44px tap. */
@media (max-width: 833px) {
	html body .nav-toggle::after, html body .header-account-heart::after { content: ""; position: absolute; inset: -4px; }
	html body .header-account-heart { position: relative; overflow: visible; }
}

/* Phones: every control that was slimmed for computers keeps a 44px touch target. */
@media (max-width: 760px) {
	html body .club-discovery #club-tab-card.cd-card-action { min-height: 44px; padding: 0 16px; font-size: 14px; }
	html body .spot-bar .mk-spot-tabs button { min-height: 44px; }
	html body .spot-show .spot-cta .mk-pill, html body .spot-show .mk-pill.is-cream { min-height: 44px; }
	html body .spot-replay { width: 44px; height: 44px; }
}

/* Account panel: "Join us" and "Contact us" were two big outlined pills under the sign-in. They are quiet text links now,
   centered, so Apple, Google and email stay the only buttons. */
html body .account-panel .account-links[data-account-links] { display: flex; justify-content: center; gap: 4px 28px; grid-template-columns: none; }
html body .account-panel .account-links .account-link-btn { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border: 0; border-radius: 0; background: none; box-shadow: none; color: rgb(232 244 237 / .72); font-size: 14px; font-weight: 500; text-decoration: none; }
html body .account-panel .account-links .account-link-btn:hover { color: #fff; box-shadow: none; }

/* Footer: calmer column titles and link sizes, more air above the copyright line. */
html body .site-footer h4 { font-size: 13px; letter-spacing: .01em; margin-bottom: 10px; }
html body .site-footer .footer-links a { font-size: 14px; }
html body .site-footer .footer-bottom { margin-top: 8px; font-size: 12.5px; }
@media (max-width: 760px) {
	html body .site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 36px; }
}

/* ---------- The chat rises out of the player and goes back down into it (owner's notes, October 28 and 29, 2026) ----------
   "Opening and closing the live chat is still not smooth", then "the chat sliding is still broken; you built it right
   once at the beginning" (the MAKERS-16 motion). The chat is revealed by a clip from its top, one 420 ms curve, while
   the joined outline and the glass follow it in every frame, so the chat and the player are one shape at every
   frame. The player bar keeps one size; on Home the stage player glides aside with the chat (below), and nothing
   else on the page moves with it. */
/* ---------- One even glass for the chat and the player (owner's notes, October 30, 2026: "the chat has 3 tones of
   color, fix it", "one even glass: no part of it darker or lighter than anywhere else") ----------
   The joined chat-and-player shape is ONE layer of frosted glass, the dock's own glass layer (.dock-material), which
   experience.js cuts to the joined outline in every frame. It has one flat tint (no sheen gradient, no fade at an
   edge) and one blur, the same from the chat's top to the bar's bottom, so the chat and the bar are the same glass
   with no band and no seam where they meet. The chat has no panel of its own on top of it. The glass looks the same
   with the chat open, moving or shut (nothing switches on or off, and no tint eases, when the chat opens or closes:
   that switch was a flicker). Like iOS: a clearly see-through, blurred and more colorful reflection of the page under
   it, under a dark green tint that keeps the chat's words readable over busy content and pure white (4.5:1 or better;
   tests/live-chat-motion-browser.cjs measures it). Plain blur, saturate and brightness with the -webkit- twin: the
   same glass in Safari and Chrome (no SVG filters; it also wins over the liquid glass script's own frosted values). */
html body .dock-surface .dock-material {
	background: rgb(9 15 12 / .53) !important;
	-webkit-backdrop-filter: blur(26px) saturate(180%) brightness(.6) !important; backdrop-filter: blur(26px) saturate(180%) brightness(.6) !important;
	transition: none !important;
}
/* On the glass the chat's quieter words (names, notes) use a light green white instead of the site's gray, and every
   word keeps a faint shadow, like text on iOS glass: readable over bright pages too. (Only inside the chat.) */
html body [data-live-room] { --ink-2: rgb(222 236 228); --ink-3: rgb(208 226 216); text-shadow: 0 1px 2px rgb(0 0 0 / .3); }
/* Reduce Transparency, and the site's opaque-glass setting: one solid color for the whole shape instead of glass. */
@media (prefers-reduced-transparency: reduce) {
	html body .dock-surface .dock-material { background: rgb(12 19 15) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
html body.opaque-glass .dock-surface .dock-material { background: rgb(12 19 15) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ---------- Only the player and the chat move (owner's notes, October 29 and 30, 2026) ----------
   "This shifting should happen only for the player; don't move the rest. Let its reflection show the things under
   it." No column is kept for the chat anywhere, open or closed: the page, the Home stage and the Just played row use
   their full width at all times, and the open chat sits over them as frosted glass that shows them softly. Opening or
   closing it moves nothing but the stage player. (A column kept on wide Home screens left the stage stopping halfway
   and its title cut with the chat closed: owner's note, October 30, 2026, "this is broken".) Anything under the open
   chat stays reachable: the chat closes with one tap, and while it is open the footer gets extra room at the page's
   end, so the last line can be scrolled above it (experience.js, --re-chat-clearance; taken away once you scroll out
   of it). */
/* The Home stage player glides aside as one piece (owner's notes, October 30, 2026: "the whole stage player must glide
   left together", "like MAKERS-16"). On a computer the heart and the song are one group, centered on the page with the
   chat closed, and exactly as wide as the room beside the open chat: MAKERS-16's open-chat layout (the heart's
   column and the song's column side by side, the heart at its full size in the middle of its column). Opening the
   chat, experience.js slides the heading, the LIVE line and this group left by the same distance, so the group starts
   at the page margin and ends 24 px before the chat (MAKERS-16's open place), with the chat's own clock and curve.
   Nothing is laid out again and nothing changes size, so the heart and the song never jump or shrink. (The group never
   gets narrower than the full heart plus a song column; where even that does not fit beside the chat, the stage
   player stays and the frosted chat sits over it.) The three moving parts keep their own graphics layer all the time,
   so the motion starts and ends without a layer being made or dropped (a flicker). */
@media (min-width: 1100px) {
	html body .stage .onair-main { width: min(100%, max(788px, calc(100% - var(--dock-width) - 24px))); margin-inline: auto; grid-template-columns: minmax(440px, 1fr) minmax(0, 1fr); gap: 8px; }
	html body .stage :is(.stage-heading, .onair-top, .onair-main, .track-atmosphere) { will-change: transform; }
}
/* Song titles are never cut by a mask (owner, October 30, 2026): text-fit.js sizes the stage's title and artist to
   one line; a title still too long wraps, at most two lines, ending in a normal "…". */
html body .stage :is(.onair-title, .onair-artist) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal !important; overflow: hidden; overflow-wrap: anywhere; text-overflow: ellipsis !important; animation: none; text-indent: 0; -webkit-mask-image: none; mask-image: none; }
@media (min-width: 761px) {
	html body .site-footer { padding-bottom: max(24px, var(--re-dock-clearance, 0px), var(--re-chat-clearance, 0px)); }
}

/* ---------- Every layer follows its card's rounded corners (owner's note, October 30, 2026: "this is broken too", a
   lighter square showing past a Club shop card's rounded corner) ----------
   A card clips its photo, light and strip with overflow: hidden and its radius, but Safari lets a layer inside square
   past that rounded corner once the layer is drawn on its own (a picture that zooms on hover, a blurred glow, a
   transform, a filter). So every layer that reaches a rounded corner carries the card's radius itself (inherited down
   from the card), and a layer that sits on one corner only takes that corner. tests/glow-audit.cjs (cornerAudit)
   lists any layer that reaches a rounded corner without it. */
/* Club shop cards (Club page, Discover and the Makers tab): the photo, its picture or default cover, the strip. */
/* (Only the shop card's full-cover photo: the small photos in the business rows keep their own rounded thumbnails.) */
html body .club-discovery.re-room .cd-discover .cd-shop-card > .cd-photo-wrap, html body .club-discovery.re-room .cd-discover .cd-shop-card .cd-photo, html body .club-discovery.re-room .cd-discover .cd-shop-card .cd-photo :is(img, picture) { border-radius: inherit; }
html body .club-discovery.re-room .cd-discover .cd-shop-card .cd-card-strip { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
/* Learn more: the shop row, the cards and their light, the give card, the ticket photos. */
html body .lm-shop-link .lm-shop-photo, html body .lm-shop-link .lm-shop-photo img, html body .lm-card .lm-card-light, html body .lm-give-card .lm-give-light, html body .lm-give-card > img, html body .lm-give-card picture, html body .lm-give-card picture img, html body .lm-ticket-photo :is(img, picture) { border-radius: inherit; }
html body .lm-give-card .lm-give-words { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
/* On Demand: the poster picture zooms on hover inside its rounded frame. */
html body .od-card-art img { border-radius: inherit; }
/* Home slider: the slide's art and its shade. */
html body .slide .slide-media, html body .slide .slide-media > .abstract-art, html body .slide .slide-media > img, html body .slide::after { border-radius: inherit; }
/* Home Club gallery cards: their shade layer. */
html body .club-gallery-card::before { border-radius: inherit; }
/* Just played: each card's blurred art glow reaches past the card's corner on purpose. It fades to nothing before its
   own square edges (a soft oval), so even where Safari does not clip it to the card, no square can show; the card
   keeps its own light and shadow (no clip on the card). */
html body .jp-card .jp-glow { -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); mask-image: radial-gradient(closest-side, #000 55%, transparent 100%); }

/* ---------- Just played sits right under the heart (owner, October 30, 2026) ----------
   The heart is back to its full MAKERS-16 size (440 px, never shrunk). Its square button has empty room under the
   "Tap the heart" line, so on computers the Just played row moves up into that room instead of the heart getting
   smaller: the cards clear the player bar at 1440x900 and taller screens. */
@media (min-width: 1100px) { html body .stage .just-played { margin-top: -30px; } }
@media (min-width: 1100px) and (max-height: 820px) { html body .stage .just-played { margin-top: -52px; } }
