/**
 * presentation.css — the single source of truth for the presentation engine's
 * rendered look (the .wb-* classes produced by presentation.js).
 *
 * Loaded by BOTH the landing page (index.html) and the local builder
 * (builder.html) so the live preview can never drift from production.
 *
 * The mobile layout applies two ways:
 *   • @media (max-width: 860px)  — real viewport (landing page on a phone)
 *   • .wb-mobile on the mount     — forced (builder's mobile preview toggle),
 *                                   since a scaled fixed-width canvas doesn't
 *                                   trip viewport media queries.
 *
 * Design tokens are a subset copied from shared/core/src/styles/mdb-tokens.css
 * so the section speaks the same vocabulary as the portal / mdb-deck chrome.
 * Scoped to #workbench + .wb-root so global values don't leak. When this
 * graduates into a workbench tool, @import the shared token file wholesale.
 */

/* Section background (manifest glow + per-slide tint) eases on change. */
#workbench, .wb-root { transition: background 0.5s ease; }

#workbench, .wb-root, .wb-lightbox {
  /* radius scale */
  --mdb-radius-xs: 0.125rem;  /* 2px */
  --mdb-radius-sm: 0.25rem;   /* 4px */
  --mdb-radius-md: 0.375rem;  /* 6px */
  --mdb-radius-lg: 0.5rem;    /* 8px */
  --mdb-radius-full: 9999px;
  /* spacing scale */
  --mdb-space-1: 0.25rem; --mdb-space-2: 0.5rem; --mdb-space-3: 0.75rem;
  --mdb-space-4: 1rem;    --mdb-space-5: 1.25rem; --mdb-space-6: 1.5rem;
  /* type + weight */
  --mdb-text-xs: 0.75rem; --mdb-text-sm: 0.875rem; --mdb-text-base: 1rem;
  --mdb-font-normal: 400; --mdb-font-medium: 500; --mdb-font-semibold: 600; --mdb-font-bold: 700;
  --mdb-leading-normal: 1.5; --mdb-leading-relaxed: 1.625;
  /* neutrals used by the presentation */
  --mdb-color-text: #1a1a1a;
  --mdb-color-text-secondary: #5c5b5b;
  --mdb-color-text-muted: #6b6b6b;
  --mdb-color-text-subtle: #8a8a8a;
  /* transitions */
  --mdb-transition-normal: 150ms ease;
  --mdb-transition-slow: 250ms ease;
  /* Slide COPY fades slower than the controls — 250ms read as abrupt next to
     the hero tagline's 550ms. Kept just under the 500ms JS swap delay in
     _render so the text is fully faded before it is replaced. Controls (dots,
     tabs, play) stay on --mdb-transition-slow: they should feel immediate. */
  --wb-copy-fade: 450ms cubic-bezier(0.2, 0.8, 0.2, 1);

  /* ── Presentation brand layer (on top of the shared tokens) ── */
  --wb-accent: #d64a3a;                 /* thesis red */
  --wb-font-display: 'Inter', sans-serif;
  --wb-font-serif: 'Crimson Pro', Georgia, serif;
  /* mono track — copied from the portal's mdb-tokens.css (--mdb-font-mono). */
  --mdb-font-mono: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  --wb-mono-bg: rgba(0, 0, 0, 0.05);
  /* Emphasis colour — the portal's --mdb-color-emph token, overridden here to
     the landing brand value. Colours mono text, the doc icon, and the "Find
     out more" label. */
  --mdb-color-emph: #3f89b5;
  --wb-image-radius: var(--mdb-radius-xs);
}

.wb-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.4fr;
  gap: 3.5rem;
  align-items: stretch;                 /* columns share height so the paper link
                                           can bottom-align with the caption */
}
/* Left column — flex column so the paper link pins to the bottom, level with
   the caption in the right column, giving the body copy room to breathe. */
.wb-left { text-align: left; display: flex; flex-direction: column; }
.wb-paper { margin-top: auto; }         /* push to bottom of the left column */
.wb-wordmark {
  font-family: var(--wb-font-display);
  /* 900 (black), and the font import now actually LOADS 900 — before, only
     300/700 were loaded so 800 fell back to a synthesised, washy 700. */
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  color: var(--mdb-color-text);
  display: inline-block;
  margin-bottom: 0.6rem;
}
/* The one wordmark (WGM, 2026-10-21): "thesis" Inter italic black (900),
   ".workbench" plain (400) at the same size, all lowercase, the dot on the
   tail. Tighter kerning on the lead only. */
.wb-wordmark .wb-wordmark-lead { font-style: italic; font-weight: 900; letter-spacing: -0.035em; }
.wb-wordmark .wb-wordmark-tail { color: #eeebeb; font-weight: 400; }
.wb-heading {
  font-family: var(--wb-font-serif);
  font-weight: 200;
  font-size: clamp(2.1rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--mdb-color-text);
  margin: 0 0 var(--mdb-space-6);
  transition: opacity var(--wb-copy-fade);
}
.wb-body {
  font-family: var(--wb-font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 1.9vw, 1.5rem);
  line-height: 1.25;
  color: var(--mdb-color-text-muted);
  margin: 0 0 2rem;
  max-width: 24rem;
  min-height: 4.2em;                   /* stabilise height across rotations */
  transition: opacity var(--wb-copy-fade);
}
.wb-paper {
  /* The TEXT aligns to the column's left edge; the icon hangs left into the
     gutter (negative indent = icon width + gap). */
  --wb-paper-gap: 0.7rem;
  --wb-paper-icon: 1.4rem;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: var(--wb-paper-gap);
  margin-left: calc(-1 * (var(--wb-paper-icon) + var(--wb-paper-gap)));
  padding-bottom: 0.3rem;
  text-decoration: none;
  color: var(--mdb-color-text);
  transition: opacity var(--wb-copy-fade);
}
.wb-paper .material-symbols-outlined { font-size: var(--wb-paper-icon); color: var(--mdb-color-emph); flex: 0 0 auto; }
/* "Find out more" matches the doc icon colour. */
.wb-paper-lead { font-size: 0.7rem; color: var(--mdb-color-emph); display: block; line-height: 1.2; }
.wb-paper-label { font-family: var(--wb-font-display); font-weight: var(--mdb-font-bold); font-size: 0.9rem; color: var(--mdb-color-text-secondary); }
.wb-fading { opacity: 0; }
/* Right column */
.wb-right { display: flex; flex-direction: column; }
.wb-tabs {                             /* plain text tabs on the page bg (per mockup) */
  display: inline-flex;
  align-self: flex-start;
  position: relative;
  gap: 2.4rem;
  padding: 0 0 0.6rem;
  margin-bottom: 0.4rem;
  max-width: 90vw;
  overflow-x: auto;
  scrollbar-width: none;
  /* pan-x alone forbids vertical panning, so a vertical swipe starting on the
     tab strip would die here rather than scrolling the page. Allow both axes
     and let the browser choose by gesture direction. */
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  overflow-y: clip;   /* else overflow-x:auto silently computes overflow-y:auto */
}
.wb-tabs::-webkit-scrollbar { display: none; }
.wb-tab {
  position: relative;
  background: none; border: none;
  font-family: var(--wb-font-display);
  font-weight: var(--mdb-font-semibold);
  font-size: var(--mdb-text-base);
  color: #f6f6f6;
  cursor: pointer;
  padding: 0.2rem 0.1rem;
  white-space: nowrap;
  transition: color var(--mdb-transition-normal);
}
.wb-tab:hover { color: #6a6a6a; }
.wb-tab.active { color: var(--mdb-color-text); font-weight: 800; }
.wb-tab-indicator { display: none; }   /* no underline; active tab = bold black only */
.wb-stage {                            /* image sits flat on the page bg — no card */
  position: relative;
  border-radius: var(--mdb-radius-lg);
}
/* Crossfade between two stacked layers; the wrap never empties, so no white flash. */
.wb-image-wrap {
  position: relative;
  display: grid;                        /* stack layers in one cell */
  min-height: 40px;
}
.wb-image-layer {
  grid-area: 1 / 1;
  width: 100%; height: auto; display: block;
  border-radius: var(--wb-image-radius);
  /* soft drop shadow, wide even spread from every edge (no offset), ~85% transparent */
  box-shadow: 0 0 60px 8px rgba(0, 0, 0, 0.15);
  opacity: 1;
  cursor: zoom-in;
  transition: opacity 0.45s ease;
  will-change: opacity;
}
.wb-image-layer.wb-layer-out { opacity: 0; }
/* placeholder state when a slide has no image (src removed) */
.wb-image-layer.wb-image-ph-mode {
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.05);
  border: 1px dashed rgba(0,0,0,0.15);
}
.wb-caption {
  font-family: var(--wb-font-serif);
  font-style: italic;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--mdb-color-text-secondary);
  margin: 0.8rem 0 0;
  max-width: 36rem;
  text-align: left;
  transition: opacity var(--wb-copy-fade);
}

/* Rich-text output: body and caption now hold <p>/<ul>/<li> (from newlines,
   <br>, and "- " bullets). Keep the typography flowing from the parent and
   tidy default browser spacing between blocks. */
.wb-body > p, .wb-caption > p { margin: 0 0 0.6em; }
.wb-body > p:last-child, .wb-caption > p:last-child,
.wb-body > ul:last-child, .wb-caption > ul:last-child { margin-bottom: 0; }
.wb-body .wb-list, .wb-caption .wb-list {
  list-style: none;
  margin: 0 0 0.6em;
  padding: 0;
}
.wb-body .wb-list li, .wb-caption .wb-list li {
  position: relative;
  padding-left: 1.1em;
  margin: 0.15em 0;
}
.wb-body .wb-list li::before, .wb-caption .wb-list li::before {
  content: '–';                        /* en-dash bullet marker */
  position: absolute;
  left: 0;
  opacity: 0.6;
}

/* Inline `mono` spans — monospace with a faint tint, like inline code. Not
   italic (the body/caption are italic serif; mono should read as code). */
.wb-mono {
  font-family: var(--mdb-font-mono);
  font-style: normal;
  font-size: 0.75em;
  color: var(--mdb-color-emph);
  background: var(--wb-mono-bg);
  padding: 0.08em 0.35em;
  border-radius: var(--mdb-radius-sm, 0.25rem);
  white-space: pre-wrap;
}
/* Markdown emphasis. The body and caption are set in italic serif already, so
   an <em> inside them cannot lean any further — it un-slants instead, which
   reads as the emphasis it is. Elsewhere (headings, upright text) it italicises
   normally. Bold leans on the serif's own weight rather than a synthesised one. */
.wb-strong { font-weight: 700; }
.wb-em { font-style: italic; }
.wb-body .wb-em,
.wb-caption .wb-em { font-style: normal; }
.wb-body .wb-strong em.wb-em,
.wb-caption .wb-strong em.wb-em { font-style: normal; }

/* Inline links in body/caption copy. Underlined on a subtle offset so they read
   as links against the italic serif without shouting; the underline thickens on
   hover rather than changing colour, keeping the palette calm. */
.wb-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color var(--mdb-transition-normal, 200ms ease);
}
.wb-link:hover,
.wb-link:focus-visible { text-decoration-color: currentColor; }

/* Per-tab sign-off, on the tab's final slide: a line of copy and/or one CTA.
   Sits under the body/paper link, separated by a hairline so it reads as the
   end of the sequence rather than more body copy.

   HIDDEN FOR NOW (2026-08-31) — the mechanism works but the design needs more
   work before it sits well; parked rather than reverted. The `close` data stays
   in workbench.json and the renderer keeps building it, so deleting this one
   rule brings it all back. */
.wb-close {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.wb-close-text {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.35;
  opacity: 0.85;
}
.wb-close-text > p { margin: 0 0 0.4em; }
.wb-close-text > p:last-child { margin-bottom: 0; }
.wb-close-cta {
  display: inline-block;
  padding: 0.55em 1.15em;
  border: 1px solid currentColor;
  border-radius: var(--mdb-radius-sm, 0.25rem);
  font-family: var(--mdb-font-sans, inherit);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: inherit;
  transition: background-color var(--mdb-transition-normal, 200ms ease),
              color var(--mdb-transition-normal, 200ms ease);
}
/* Invert on hover. Both properties are set from tokens rather than
   currentColor: assigning `color` would redefine what currentColor resolves to,
   so a currentColor background would follow the text and never fill. */
.wb-close-cta:hover,
.wb-close-cta:focus-visible {
  background: var(--wb-cta-hover-bg, #1a1a1a);
  color: var(--wb-cta-hover-ink, #fff);
}

/* PARKED (2026-08-31): the close block is hidden until its design is worked
   through. Placed after the rules above so it wins on source order — deleting
   this single rule restores it, data and renderer untouched. */
.wb-close { display: none !important; }

/* DESKTOP — the controls occupy the right-hand gutter, spanning the image
   height: dots at the TOP, play control at the BOTTOM, both centred in the
   gutter column. (.wb-stage is position:relative, image-height.) */
.wb-controls {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;                           /* just past the image's right edge */
  margin-left: 0.4rem;                  /* into the column gutter */
  width: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;       /* dots top, control bottom */
}
.wb-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.5rem;
}
.wb-dot {
  width: 8px; height: 8px; border-radius: var(--mdb-radius-full, 9999px);
  border: none; padding: 0; cursor: pointer;
  background: rgba(0,0,0,0.25);
  transition: background var(--mdb-transition-slow), transform var(--mdb-transition-slow);
}
.wb-dot.active { background: var(--wb-accent); transform: scale(1.3); }

/* Play/pause — a material play_circle/pause_circle glyph. */
.wb-playpause {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  color: var(--wb-accent);
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--mdb-transition-slow), transform var(--mdb-transition-slow);
}
.wb-playpause:hover { opacity: 1; transform: scale(1.08); }
/* Never a ring. `border: none` above does not cover this — what shows on click
   is the UA focus OUTLINE, a separate property. Keyboard users still get the
   hover treatment via :focus-visible, so the control is not left unindicated. */
.wb-playpause:focus,
.wb-playpause:focus-visible { outline: none; box-shadow: none; }
.wb-playpause:focus-visible { opacity: 1; transform: scale(1.08); }
/* Material glyphs — rendered small, so a slightly heavier weight reads better. */
.wb-playpause .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-size: 1.5rem;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}
.wb-pp-pause { display: none; }
.wb-playpause.is-playing .wb-pp-play  { display: none; }
.wb-playpause.is-playing .wb-pp-pause { display: inline-block; }

.wb-error, .wb-loading { color: var(--mdb-color-text-muted); font-family: var(--wb-font-display); padding: 2rem 0; }

/* ── Lightbox (Apple-style frosted underlay) ──────────────────────────── */
.wb-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--mdb-z-sticky, 200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  /* Keep the image clear of the notch / Android gesture pill. */
  padding: max(4vmin, env(safe-area-inset-top))
           max(4vmin, env(safe-area-inset-right))
           max(4vmin, env(safe-area-inset-bottom))
           max(4vmin, env(safe-area-inset-left));
  cursor: zoom-out;
  /* Apple-style frosted off-white underlay: bright, softly saturated, slight
     lift. Always light (the product is a light page) — no dark-mode flip. */
  background: rgba(250, 250, 248, 0.62);
  -webkit-backdrop-filter: blur(40px) saturate(1.9) contrast(1.03) brightness(1.06);
  backdrop-filter: blur(40px) saturate(1.9) contrast(1.03) brightness(1.06);
  opacity: 0;
  transition: opacity 0.28s ease;
  /* A fling inside the lightbox must not bleed to the page beneath. */
  overscroll-behavior: contain;
}
/* Without backdrop-filter (Firefox Android, low-end devices) the 0.62 alpha
   leaves the page legible through the image. Fall back to a near-opaque tint
   of the same off-white — still light, per the no-dark-flip rule above. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .wb-lightbox { background: rgba(250, 250, 248, 0.95); }
}
.wb-lightbox.wb-lightbox-in { opacity: 1; }
/* Frame clips zoom/pan to the image's own box. Sized to the image, so the
   frosted backdrop still shows around it. */
.wb-lightbox-frame {
  max-width: min(1280px, 94vw);
  /* Static vh is the *large* viewport on mobile and doesn't track dynamic
     browser chrome — the rotation mis-sizing bug. dvh follows it; the vh line
     is the fallback for browsers without dvh. */
  max-height: 90vh;
  max-height: 90dvh;
  overflow: hidden;
  border-radius: 6px;
  line-height: 0;                 /* no descender gap under the img */
  cursor: zoom-in;
}
/* Caption pins to the foot of the LIGHTBOX and stays there while the image
   zooms and pans beneath it. Anchored to the backdrop rather than the frame:
   the frame is sized to the image, so a caption inside it rides up with a
   portrait image instead of holding the bottom of the screen. Gradient scrim
   rather than a solid bar, so the image still reads through at the edges. */
.wb-lightbox-caption {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  /* The lightbox pads itself off the notch/gesture pill; the caption spans the
     full width beneath that, so it carries its own safe-area inset. */
  padding: 2.4rem 1.4rem calc(0.9rem + env(safe-area-inset-bottom)) 1.4rem;
  text-align: center;
  max-width: none;
  font-family: var(--wb-font-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #fff;
  background: linear-gradient(to top,
              rgba(0, 0, 0, 0.72) 0%,
              rgba(0, 0, 0, 0.55) 45%,
              rgba(0, 0, 0, 0) 100%);
  cursor: default;
  /* Fades in with the lightbox rather than snapping. */
  opacity: 0;
  transition: opacity 0.28s ease 0.1s;
}
.wb-lightbox.wb-lightbox-in .wb-lightbox-caption { opacity: 1; }
.wb-lightbox-caption > p { margin: 0 0 0.35em; }
.wb-lightbox-caption > p:last-child { margin-bottom: 0; }
/* Mono and links stay legible on the dark scrim. */
.wb-lightbox-caption .wb-mono { background: rgba(255, 255, 255, 0.16); color: #fff; }
.wb-lightbox-caption .wb-link { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .wb-lightbox-caption { transition: none; }
}
.wb-lightbox img {
  /* Kill the browser's native image drag — it hijacks the pan gesture and
     shows a ghost thumbnail with a no-entry cursor. */
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  max-width: min(1280px, 94vw);
  max-height: 90vh;
  max-height: 90dvh;
  width: auto; height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.45), 0 8px 24px -8px rgba(0,0,0,0.3);
  transform: scale(0.96);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}
.wb-lightbox.wb-lightbox-in img { transform: scale(1); }
/* Once the reader starts zooming, the transform belongs to attachZoomPan's
   inline style. Only the TRANSITION is cleared here — the 0.28s entry ease
   would otherwise lag every pinch and pan frame. Setting `transform` here too
   fought the gesture's own inline transform and killed panning. */
.wb-lightbox.is-zooming img { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .wb-lightbox, .wb-lightbox img { transition: none; }
}

/* ── Mobile layout ─────────────────────────────────────────────────────
   Single centred column, interleaving both former columns' children via
   `display: contents` + `order`:
     Wordmark (centred) → Tabs (centred) → Heading → Image → Copy (centred) → Paper
   (caption hidden; dots as a centred row under the image).
   Applied by real viewport width AND by a forced .wb-mobile class (builder
   mobile preview, where the scaled canvas doesn't trip viewport queries).
   Declarations are duplicated for @media and for .wb-mobile (builder toggle). */
@media (max-width: 860px) {
  #workbench { padding: 3.5rem 1.5rem 4rem; }
  .wb-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
  /* dissolve the two columns so their children order in one flow */
  .wb-left, .wb-right { display: contents; }

  /* The wordmark is redundant on a phone — the page header already carries the
     brand, and the slide's own heading is the more useful thing in that space. */
  .wb-wordmark { display: none; }
  .wb-tabs     { order: 2; align-self: center; justify-content: center; gap: 1rem; padding: 0; margin-bottom: 0.4rem; }
  .wb-tab      { font-size: 0.95rem; }
  /* text-align is set explicitly: .wb-left carries text-align:left and
     `display: contents` drops its BOX from layout but not its inherited
     styles, so the grid's centring alone does not reach the heading. */
  .wb-heading  { display: block; order: 3; margin: 0 0 1.1rem; padding: 0.4rem 0 0.4em; text-align: center; font-size: clamp(1.9rem, 9.5vw, 2.8rem); }
  .wb-stage    { order: 4; padding: 0; align-self: stretch; }
  .wb-body     { order: 5; min-height: 0; max-width: none; margin: 0.8rem 0 1.2rem; text-align: center; }
  .wb-paper    { order: 6; margin: 0 auto; }        /* centred; drop the icon-gutter indent */
  .wb-caption  { display: none; }
  /* MOBILE — controls become a row UNDER the image: dots left, play control
     right, vertically centred. */
  .wb-controls {
    order: 4; position: static; inset: auto; margin: 0.3rem 0.7rem 0; padding-top: 0.4rem;
    width: 100%; align-self: stretch;
    flex-direction: row; align-items: center; justify-content: space-between;
  }
  .wb-dots { flex-direction: row; justify-content: flex-start; padding-top: 0; }
  .wb-playpause { width: 1.9rem; height: 1.9rem; }
  .wb-playpause .material-symbols-outlined { padding-right: 1.2rem; }
}

/* Forced-mobile equivalent (builder toggle) — identical declarations. */
.wb-mobile .wb-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.wb-mobile .wb-left, .wb-mobile .wb-right { display: contents; }
.wb-mobile .wb-wordmark { display: none; }
.wb-mobile .wb-tabs { order: 2; align-self: center; justify-content: center; gap: 1rem; padding: 0; margin-bottom: 0.4rem; }
.wb-mobile .wb-tab { font-size: 0.95rem; }
.wb-mobile .wb-heading { display: block; order: 3; margin: 0 0 1.1rem; padding: 0.4rem 0 0.4em; text-align: center; font-size: clamp(1.9rem, 9.5vw, 2.8rem); }
.wb-mobile .wb-stage { order: 4; padding: 0; align-self: stretch; }
.wb-mobile .wb-body { order: 5; min-height: 0; max-width: none; margin: 0.8rem 0 1.2rem; text-align: center; }
.wb-mobile .wb-paper { order: 6; margin: 0 auto; }
.wb-mobile .wb-caption { display: none; }
.wb-mobile .wb-controls {
  order: 4; position: static; inset: auto; margin: 0.3rem 0.7rem 0; padding-top: 0.4rem;
  width: 100%; align-self: stretch;
  flex-direction: row; align-items: center; justify-content: space-between;
}
.wb-mobile .wb-dots { flex-direction: row; justify-content: flex-start; padding-top: 0; }
.wb-mobile .wb-playpause { width: 1.9rem; height: 1.9rem; }
.wb-mobile .wb-playpause .material-symbols-outlined { padding-right: 1.2rem; }
.wb-mobile .wb-playpause {
  order: 5; position: static; left: auto; bottom: auto;
  margin: 0.9rem auto 0; align-self: center;
  width: 1.9rem; height: 1.9rem;
}
