/*
 * Material 3 (https://m3.material.io) tokens: the baseline purple color
 * scheme on a white background with softer outlines, the type scale in
 * Roboto and a rounder shape scale. The older names
 * below point at M3 roles so every rule draws from the same palette.
 */
:root {
  --md-primary: #6750a4;
  --md-on-primary: #ffffff;
  --md-primary-container: #eaddff;
  --md-on-primary-container: #4f378b;
  --md-secondary: #625b71;
  --md-secondary-container: #e8def8;
  --md-on-secondary-container: #4a4458;
  --md-tertiary: #7d5260;
  --md-on-tertiary: #ffffff;
  --md-tertiary-container: #ffd8e4;
  --md-on-tertiary-container: #633b48;
  --md-error: #b3261e;
  --md-on-error: #ffffff;
  --md-error-container: #f9dedc;
  --md-surface: #ffffff;
  --md-surface-container-lowest: #ffffff;
  --md-surface-container-low: #f8f6fa;
  --md-surface-container: #f4f2f6;
  --md-surface-container-high: #efedf1;
  --md-surface-container-highest: #e9e7ec;
  --md-on-surface: #1d1b20;
  --md-on-surface-variant: #49454f;
  --md-outline: #c9c5cf;
  --md-outline-variant: #e6e2ea;
  --md-inverse-surface: #322f35;
  --md-inverse-on-surface: #f5eff7;
  --md-inverse-primary: #d0bcff;
  --md-scrim: rgba(0, 0, 0, 0.32);

  --md-font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --md-shape-xs: 12px;
  --md-shape-sm: 16px;
  --md-shape-md: 20px;
  --md-shape-lg: 24px;
  --md-shape-xl: 32px;
  --md-shape-full: 999px;

  --md-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
  --md-elevation-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
  --md-elevation-3: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);

  /* State layers: hover 8%, focus/press 10% of the content color. */
  --md-hover: 0.08;
  --md-press: 0.1;

  --bg: var(--md-surface);
  --bg-raised: var(--md-surface-container);
  --text: var(--md-on-surface);
  --text-dim: var(--md-on-surface-variant);
  --border: var(--md-outline-variant);
  --accent: var(--md-primary);
  --accent-2: var(--md-tertiary);
  --accent-3: var(--md-primary);
  --brand-purple: #8b5cf6;
  --brand-blue: var(--md-primary);
  --brand-turquoise: #22d3ee;
  --brand-gradient: linear-gradient(90deg, var(--brand-purple), #2563eb, var(--brand-turquoise));
  --radius-lg: var(--md-shape-xl);
  --radius-md: var(--md-shape-md);
  --radius-cover: 0; /* book covers keep square corners */
  --shadow: var(--md-elevation-1);
  font-family: var(--md-font);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
}

body {
  padding-bottom: 6rem; /* room for the mini player */
}

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

h1, .brand-mark {
  font-family: "Baloo 2", var(--md-font);
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  padding: 2.6rem 1.5rem 1.2rem;
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.brand-mark {
  font-size: clamp(1.8rem, 8vw, 4.3rem);
  filter: drop-shadow(0 4px 10px rgba(255, 203, 71, 0.35));
}

.brand h1 {
  font-size: clamp(1.8rem, 8vw, 4.68rem);
  font-weight: 800;
  margin: 0;
  white-space: nowrap; /* shrinks to fit a phone instead of breaking */
  letter-spacing: 0.3px;
  /* The wordmark keeps Story Time's own colors. */
  background: linear-gradient(90deg, #ffcb47, #ff6f91 60%, #17a398);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0.5rem 0 0;
  color: var(--md-on-surface-variant);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
}

/* Record in the top corner, with "Ask Baba a question" (Schmooze Time)
   right-aligned underneath it. */
.header-actions {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  z-index: 5;
}

.header-actions .ask-baba-btn { margin-top: 0; }

.record-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 56px;
  border: none;
  /* Same color as "Ask Baba a question". */
  background: var(--md-tertiary);
  color: var(--md-on-tertiary);
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  padding: 0 1.25rem 0 1rem;
  border-radius: var(--md-shape-lg);
  cursor: pointer;
  box-shadow: var(--md-elevation-3);
}


.record-btn-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #ff5449; /* a brighter red that shows up on the dark button */
  flex-shrink: 0;
}

/* ---------- Filters ---------- */
.filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 1.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.search-wrap { position: relative; width: 100%; max-width: 480px; }

/* Story Time's own search bar: white inside a gradient outline, with the
   M3 search bar's height, shape and leading icon. */
#search-input {
  width: 100%;
  height: 56px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2349454f'%3E%3Cpath d='M9.5 3a6.5 6.5 0 0 1 5.18 10.43l5.45 5.44-1.42 1.42-5.44-5.45A6.5 6.5 0 1 1 9.5 3m0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9'/%3E%3C/svg%3E") no-repeat 1rem center / 24px padding-box,
    linear-gradient(#fff, #fff) padding-box,
    var(--brand-gradient) border-box;
  border: 2.5px solid transparent;
  color: var(--md-on-surface);
  padding: 0 1.25rem 0 3.1rem;
  border-radius: var(--md-shape-full);
  font-family: var(--md-font);
  font-size: 1rem;
  letter-spacing: 0.5px;
  outline: none;
  box-shadow: 0 10px 30px rgba(60, 60, 150, 0.16);
  transition: box-shadow 0.15s ease;
}

#search-input:focus { box-shadow: 0 12px 34px rgba(60, 60, 150, 0.26); }
#search-input::placeholder { color: var(--text-dim); }

.search-suggestions {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  background: var(--md-surface-container);
  border-radius: var(--md-shape-xs);
  box-shadow: var(--md-elevation-2);
  padding: 0.5rem 0;
  z-index: 20;
  max-height: 320px;
  overflow-y: auto;
  text-align: left;
}

.search-suggestion {
  display: block;
  width: 100%;
  min-height: 48px;
  text-align: left;
  border: none;
  background: none;
  color: var(--md-on-surface);
  font-family: var(--md-font);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.25px;
  padding: 0 1rem;
  border-radius: 0;
  cursor: pointer;
}

.search-suggestion.is-active { background: var(--md-surface-container-highest); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.filter-pills[hidden] { display: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 32px;
  border: 1px solid var(--md-outline-variant);
  background: transparent;
  color: var(--md-on-surface-variant);
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  padding: 0 1rem;
  border-radius: var(--md-shape-sm);
  cursor: pointer;
}


.pill.active {
  border-color: transparent;
  background: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
  padding-left: 0.5rem;
}

.sort-wrap { position: relative; flex-shrink: 0; }

.sort-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--md-on-surface-variant);
  cursor: pointer;
}

.sort-toggle[aria-expanded="true"] { background: var(--md-secondary-container); color: var(--md-on-secondary-container); }

.sort-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  min-width: 168px;
  background: var(--md-surface-container);
  border-radius: var(--md-shape-xs);
  box-shadow: var(--md-elevation-2);
  padding: 0.5rem 0;
  z-index: 10;
}

.sort-option {
  display: block;
  width: 100%;
  height: 48px;
  text-align: left;
  border: none;
  background: none;
  color: var(--md-on-surface);
  font-family: var(--md-font);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.25px;
  padding: 0 1rem;
  border-radius: 0;
  cursor: pointer;
}


.sort-option.active {
  background: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
}

.sort-option.active::after {
  content: "✓";
  float: right;
  color: inherit;
  font-weight: 500;
}

/* ---------- Catalog grid ---------- */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2rem 1.3rem;
}

.empty-state {
  text-align: center;
  color: var(--text-dim);
  padding: 3rem 1rem;
  font-size: 1.05rem;
}

/* ---------- Story cover card ---------- */
.story-card {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
  border-radius: var(--radius-cover);
  font: inherit;
  color: inherit;
  text-align: left;
  transition: transform 0.18s ease;
  outline-offset: 4px;
}

.story-card:hover { transform: translateY(-4px); }
.story-card:focus-visible { outline: 3px solid var(--accent-3); }

.cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-cover);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.cover:not(.cover--photo):not(.cover--emoji)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.22), rgba(0,0,0,0.08) 100%);
  z-index: 1;
}

.cover-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
}

.cover-icon svg { width: 58%; height: 58%; }

.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Room for a two-line title plus the details line, so every row of covers
   lines up; a one-line title just has the details right under it. */
.cover-title-wrap {
  padding: 0.65rem 0.1rem 0;
  min-height: 4.3rem;
}

.cover-title {
  margin: 0;
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  line-height: 1.25rem;
  color: var(--md-on-surface);
  /* At most two lines, then "…". */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.cover-category {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 1rem;
  color: var(--md-on-surface-variant);
}

/* play overlay button look */
.cover-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(10, 10, 13, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.story-card:hover .cover-play,
.story-card:focus-visible .cover-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.story-card.is-playing .cover-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: var(--md-primary);
  color: var(--md-on-primary);
}

.story-card.is-playing .cover {
  box-shadow: 0 0 0 3px var(--md-primary), var(--shadow);
}

/* little equalizer bars shown while playing, instead of the play triangle */
.eq {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 1.1rem;
}

.story-card.is-playing .eq { display: flex; }
.story-card.is-playing .cover-play svg.play-triangle { display: none; }

.eq span {
  display: block;
  width: 4px;
  background: currentColor;
  border-radius: 2px;
  animation: eq-bounce 0.9s ease-in-out infinite;
}

.eq span:nth-child(1) { animation-delay: -0.6s; }
.eq span:nth-child(2) { animation-delay: -0.3s; }
.eq span:nth-child(3) { animation-delay: 0s; }

@keyframes eq-bounce {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

.sample-badge {
  position: absolute;
  z-index: 3;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--md-primary-container);
  color: var(--md-on-primary-container);
  padding: 0.15rem 0.5rem;
  border-radius: var(--md-shape-full);
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 3rem 1.5rem 2rem;
}

.site-footer code {
  background: var(--md-surface-container-high);
  color: var(--md-on-surface);
  padding: 0.1rem 0.4rem;
  border-radius: var(--md-shape-xs);
}

/* ---------- Mini player ---------- */
.player-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  align-items: center;
  gap: 1rem;
  min-height: 80px;
  padding: 0.75rem 1rem;
  background: var(--md-surface-container);
  box-shadow: var(--md-elevation-2);
  z-index: 50;
}

.player-bar:not([hidden]) { display: flex; }

.player-cover {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-cover);
  flex-shrink: 0;
  background-size: cover;
}

.player-info {
  flex: 1;
  min-width: 0;
}

.player-title {
  margin: 0 0 0.15rem;
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-progress-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-time {
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  color: var(--md-on-surface-variant);
  font-variant-numeric: tabular-nums;
  width: 2.4rem;
  flex-shrink: 0;
}

.player-time:last-child { text-align: right; }

.player-seek {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--md-secondary-container);
  border-radius: var(--md-shape-full);
  outline: none;
  cursor: pointer;
}

.player-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--md-primary);
  border: none;
  cursor: pointer;
}

.player-seek::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--md-primary);
  border: none;
  cursor: pointer;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.icon-btn {
  border: none;
  background: transparent;
  color: var(--md-on-surface-variant);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.icon-btn--main {
  background: var(--md-primary);
  color: var(--md-on-primary);
  width: 48px;
  height: 48px;
}


/* ---------- Record modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--md-scrim);
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 100;
}

.modal-overlay:not([hidden]) { display: flex; }

.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--md-surface-container-lowest);
  color: var(--md-on-surface);
  border-radius: var(--md-shape-xl);
  padding: 1.5rem;
  box-shadow: var(--md-elevation-3);
}

.modal h2 {
  margin: 0 0 1rem;
  padding-right: 2.5rem;
  font-family: var(--md-font);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.field {
  display: block;
  margin-bottom: 1rem;
}

/* .field's display:block would otherwise beat the hidden attribute. */
.field[hidden] { display: none; }

.record-cover-preview:not([hidden]) {
  display: block;
  margin: -0.4rem 0 1rem;
  padding: 0.75rem;
  background: var(--md-surface-container-highest);
  border-radius: var(--md-shape-md);
}

.record-cover-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.record-cover-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.record-cover-option {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-cover);
  background: var(--md-surface-container-lowest);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}


.record-cover-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.record-cover-option.is-selected {
  border-color: var(--md-primary);
  box-shadow: 0 0 0 2px var(--md-primary-container);
}

.record-cover-option--none {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--md-on-surface-variant);
  background: transparent;
  border-style: dashed;
  border-color: var(--md-outline);
}

.record-cover-option--none.is-selected {
  color: var(--brand-blue);
}

.field > span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--md-on-surface-variant);
  margin: 0 0 0.35rem 0.25rem;
}

.field input[type="text"],
.field select,
.field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 56px;
  background: transparent;
  border: 1px solid var(--md-outline);
  color: var(--md-on-surface);
  padding: 1rem;
  border-radius: var(--md-shape-xs);
  font-family: var(--md-font);
  font-size: 1rem;
  letter-spacing: 0.5px;
  outline: none;
}

.field textarea { resize: vertical; line-height: 1.45; }

.field input[type="text"]:hover,
.field select:hover,
.field textarea:hover { border-color: var(--md-on-surface); }

.field input[type="text"]:focus,
.field select:focus,
.field textarea:focus { border-color: var(--md-primary); box-shadow: inset 0 0 0 1px var(--md-primary); }

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 3rem;
  background: no-repeat right 0.75rem center / 24px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2349454f'%3E%3Cpath d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");
}

.radio-row {
  display: flex;
  gap: 1.2rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.radio-option input { accent-color: var(--md-primary); width: 20px; height: 20px; }

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.checkbox-field input { accent-color: var(--md-primary); width: 18px; height: 18px; }

.record-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin: 1.2rem 0;
}

.record-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  padding: 0 1.5rem;
  border-radius: var(--md-shape-full);
  cursor: pointer;
  padding: 0 1.5rem 0 1rem;
  border: 1px solid var(--md-outline);
  background: transparent;
  color: var(--md-primary);
}

.record-toggle-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--md-error);
}

.record-toggle-btn.is-recording {
  border-color: transparent;
  background: var(--md-error-container);
  color: var(--md-error);
}

.record-toggle-btn.is-recording .record-toggle-dot {
  animation: record-pulse 1s ease-in-out infinite;
}

@keyframes record-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.record-timer {
  font-variant-numeric: tabular-nums;
  color: var(--md-on-surface-variant);
  font-weight: 500;
  font-size: 1rem;
}

.record-status {
  font-size: 0.875rem;
  letter-spacing: 0.25px;
  color: var(--md-on-surface-variant);
  min-height: 1.2em;
  margin: 0 0 1.1rem;
  line-height: 1.25rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  padding: 0 1.5rem;
  border-radius: var(--md-shape-full);
  cursor: pointer;
  border: none;
  background: var(--md-primary);
  color: var(--md-on-primary);
}

.btn-primary:disabled {
  background: rgba(29, 27, 32, 0.12);
  color: rgba(29, 27, 32, 0.38);
  opacity: 1;
  cursor: not-allowed;
}

.recording-delete-btn {
  position: absolute;
  z-index: 3;
  top: 0.5rem;
  left: 0.5rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(29, 27, 32, 0.6);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recording-delete-btn:hover { background: var(--md-error); }

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .catalog { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1.5rem 0.9rem; }
  .site-header { padding-top: 2rem; }
  .player-info .player-progress-row { gap: 0.35rem; }
}

.field #record-contributor-other { margin-top: 0.5rem; }

.contributor-filter {
  -webkit-appearance: none;
  appearance: none;
  height: 32px;
  background: transparent no-repeat right 0.5rem center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2349454f'%3E%3Cpath d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");
  border: 1px solid var(--md-outline-variant);
  color: var(--md-on-surface-variant);
  padding: 0 2rem 0 1rem;
  border-radius: var(--md-shape-sm);
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  cursor: pointer;
}

.delete-modal-name { margin: 0 0 0.6rem; font-weight: 700; color: var(--text-dim); }
.delete-modal-actions { gap: 0.7rem; }
.btn-secondary,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  padding: 0 1.5rem;
  border-radius: var(--md-shape-full);
  cursor: pointer;
  border: 1px solid var(--md-outline);
  background: transparent;
  color: var(--md-primary);
}
.btn-danger { background: var(--md-error); border-color: var(--md-error); color: var(--md-on-error); }
.btn-danger:disabled { opacity: 0.5; cursor: wait; }

/* ---------- Stories / recipes toggle ---------- */
.mode-toggle {
  display: inline-flex;
  margin-bottom: 0.2rem;
  border: 1px solid var(--md-outline);
  border-radius: var(--md-shape-full);
  overflow: hidden;
}

.mode-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 40px;
  border: none;
  background: none;
  color: var(--md-on-surface);
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  padding: 0 1.25rem;
  border-radius: 0;
  cursor: pointer;
}


.mode-option.active {
  background: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
}

@media (max-width: 880px) {
  /* Drop the wordmark below the corner buttons so they don't overlap. */
  .site-header { padding-top: 5.5rem; }
  .site-header:has(.ask-baba-btn:not([hidden])) { padding-top: 9.6rem; }
}

/* ---------- Record chooser ---------- */
.chooser-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.chooser-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--md-shape-md);
  background: var(--md-surface-container-low);
  color: var(--md-on-surface);
  cursor: pointer;
}

.chooser-option:hover { border-color: var(--md-outline); }
/* The dialog focuses the first choice when it opens; don't ring it. */
.chooser-option:focus-visible { outline: none; }

.chooser-emoji { font-size: 3.3rem; line-height: 1; }

.chooser-label {
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.15px;
}

/* ---------- Recipe recorder ---------- */
#recipe-modal .modal {
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
}

.record-preview {
  width: 100%;
  margin-bottom: 1rem;
}

#recipe-modal .record-controls { margin: 0 0 0.8rem; }

.recipe-photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.recipe-photo-thumb,
.recipe-photo-add {
  position: relative;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: var(--md-shape-sm);
  flex-shrink: 0;
}

.recipe-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--md-shape-sm);
  display: block;
}

.recipe-photo-remove {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  width: 1.3rem;
  height: 1.3rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-photo-remove:hover { background: var(--md-error); }

.recipe-photo-add:not([hidden]) {
  display: flex;
  padding: 0;
  background: none;
  font-family: var(--md-font);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--md-outline);
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.recipe-photo-add:hover,
.recipe-photo-add:focus-within {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.recipe-photo-add span {
  font-size: 1.3rem;
  line-height: 1;
}

.recipe-photo-add em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
}

/* ---------- Recipe viewer ---------- */
.modal--wide { max-width: 640px; }

#recipe-viewer .modal {
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
}

#recipe-viewer h2 { margin-bottom: 0.2rem; padding-right: 2rem; }

.recipe-viewer-meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.25px;
  color: var(--md-on-surface-variant);
}

.recipe-viewer-photo img {
  display: block;
  width: 100%;
  max-height: 45vh;
  object-fit: contain;
  background: var(--bg-raised);
  border-radius: var(--radius-md);
}

.recipe-viewer-thumbs:not([hidden]) {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

.recipe-viewer-thumb {
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  flex-shrink: 0;
  border: 2.5px solid transparent;
  border-radius: var(--md-shape-sm);
  overflow: hidden;
  cursor: pointer;
  background: none;
}

.recipe-viewer-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-viewer-thumb.is-selected { border-color: var(--brand-blue); }

/* ---------- Recipe camera ---------- */
.recipe-camera:not([hidden]) {
  display: block;
  position: relative;
  margin-top: 0.7rem;
}

.recipe-camera video {
  display: block;
  width: 100%;
  max-height: 45vh;
  object-fit: cover;
  background: #000;
  border-radius: var(--radius-md);
}

.recipe-camera.is-flashing video { animation: camera-flash 0.35s ease-out; }

@keyframes camera-flash {
  0% { filter: brightness(2.2); }
  100% { filter: brightness(1); }
}

.recipe-camera-actions {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

/* ---------- Recipe recordings (form) ---------- */
.recipe-lang-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
}

.recipe-lang-label { color: var(--text-dim); font-weight: 600; }

.recipe-clip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.recipe-clip-list:not(:empty) { margin-bottom: 0.9rem; }

.recipe-clip {
  padding: 0.75rem;
  background: var(--md-surface-container-highest);
  border-radius: var(--md-shape-md);
}

.recipe-clip-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.recipe-clip-length {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
}

.recipe-clip-remove {
  margin-left: auto;
  width: 1.6rem;
  height: 1.6rem;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--text-dim);
  cursor: pointer;
}

.recipe-clip-remove:hover { background: rgba(0, 0, 0, 0.06); color: var(--md-error); }

.recipe-clip audio { width: 100%; height: 2.2rem; margin-bottom: 0.45rem; }

.recipe-clip textarea {
  width: 100%;
  resize: vertical;
  background: var(--md-surface-container-lowest);
  border: 1px solid var(--md-outline);
  border-radius: var(--md-shape-xs);
  padding: 0.75rem;
  font-family: var(--md-font);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
  outline: none;
}

.recipe-clip textarea:focus { border-color: var(--md-primary); box-shadow: inset 0 0 0 1px var(--md-primary); }

#recipe-modal .record-controls { margin: 0; }

.recipe-live-transcript:not([hidden]) {
  display: block;
  margin: 0.6rem 0 0;
  padding: 0.55rem 0.7rem;
  border-left: 3px solid var(--md-error);
  background: var(--md-surface-container-highest);
  border-radius: 0 var(--md-shape-sm) var(--md-shape-sm) 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-style: italic;
  max-height: 6.5rem;
  overflow-y: auto;
}

.record-toggle-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- Schmooze Time: a question asked out loud ---------- */
.ask-record .record-controls { margin: 0; }
.ask-record .record-preview { margin: 0.7rem 0 0; }
.ask-record-remove { margin-left: auto; }

.question-audio:not([hidden]) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
}

.question-audio-text:not([hidden]) {
  flex: 1 1 100%;
  margin: 0;
  font-weight: 400;
  font-style: italic;
}

.question-audio audio {
  flex: 1 1 14rem;
  min-width: 0;
  height: 2.2rem;
}

/* ---------- Recipe viewer recordings ---------- */
.recipe-viewer-recordings:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.recipe-rec {
  padding: 0.75rem 1rem;
  background: var(--md-surface-container-highest);
  border: 2px solid transparent;
  border-radius: var(--md-shape-md);
  transition: border-color 0.15s ease;
}

.recipe-rec.is-playing { border-color: var(--md-primary); }

.recipe-rec-delete { margin-left: auto; font-size: 1rem; }
.recipe-rec-delete:hover { color: var(--md-error); }

/* The "Are you …?" check can open over the recipe viewer. */
#recipe-edit-check { z-index: 110; }

.recipe-rec-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.recipe-rec-play {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--md-primary);
  color: var(--md-on-primary);
  font-size: 0.85rem;
  cursor: pointer;
}

.recipe-rec-length {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.recipe-rec-text {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.recipe-rec-text.is-empty { color: var(--text-dim); font-style: italic; }

.recipe-viewer-transcript-link:not([hidden]) {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--md-primary);
}

/* ---------- Recipe cover pick ---------- */
.recipe-photo-pick {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 2.5px solid transparent;
  border-radius: var(--md-shape-sm);
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.recipe-photo-pick img { border-radius: 0; }

.recipe-photo-thumb.is-cover .recipe-photo-pick {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px var(--md-primary-container);
}

.recipe-photo-cover-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.1rem 0;
  background: var(--md-primary);
  color: var(--md-on-primary);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
}

.recipe-cover-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Editing recipes ---------- */
.recipe-card-edit-btn {
  position: absolute;
  z-index: 3;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(29, 27, 32, 0.6);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-card-edit-btn:hover { background: var(--md-primary); }

.recipe-viewer-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1rem;
}

.recipe-edit-btn { margin-left: auto; font-size: 0.85rem; padding: 0.45rem 1.1rem; }

.recipe-edit-check-note { margin: -0.6rem 0 1.1rem; color: var(--text-dim); font-size: 0.9rem; }

.field select:disabled,
.field input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---------- Schmooze Time ---------- */
.ask-baba-btn:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  padding: 0 1.5rem;
  border-radius: var(--md-shape-full);
  cursor: pointer;
  margin-top: 1rem;
  border: none;
  background: var(--md-tertiary);
  color: var(--md-on-tertiary);
}


/* Bottom-left, clear of the ✕ and ✎ buttons in the top corners. */
.waiting-badge {
  top: auto;
  right: auto;
  bottom: 0.5rem;
  left: 0.5rem;
  background: var(--md-tertiary-container);
  color: var(--md-on-tertiary-container);
}

.recipe-modal-intro {
  margin: -0.6rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.recipe-viewer-footer .recipe-edit-btn[hidden] { display: none; }

@media (max-width: 400px) {
  .chooser-option { padding: 1rem 0.4rem; }
  .chooser-emoji { font-size: 2.7rem; }
}

/* ---------- Emoji covers (js/emoji-covers.js) ---------- */
.cover--emoji {
  background: var(--md-surface-container-lowest);
  border: 1px solid var(--md-outline-variant);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-emoji {
  font-size: clamp(3.2rem, 9vw, 4.6rem);
  line-height: 1;
  user-select: none;
}

.recipe-viewer-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12rem;
  background: var(--md-surface-container-lowest);
  border: 1px solid var(--md-outline-variant);
  border-radius: var(--radius-md);
}

.recipe-viewer-emoji .cover-emoji { font-size: 6rem; }

.player-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
}

/* Baba's typed answer (Schmooze Time) */
.field-optional { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; }

.recipe-viewer-note:not([hidden]) {
  display: block;
  margin: 1.1rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--bg-raised);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Schmooze Time covers: just the emoji, no tile, with the covers' soft shadow. */
.cover--emoji-bare {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.cover--emoji-bare .cover-emoji {
  font-size: clamp(4.2rem, 12vw, 6rem);
  filter: drop-shadow(0 8px 12px rgba(20, 20, 30, 0.22));
}

/* "Answer this" call-out on a waiting question (replaces the play button). */
.cover-play--cta {
  width: auto;
  height: 40px;
  padding: 0 1.5rem;
  border-radius: var(--md-shape-full);
  background: var(--md-primary);
  color: var(--md-on-primary);
  backdrop-filter: none;
}

.cover-cta {
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

/* ---------- Snackbar ---------- */

.snackbar {
  position: fixed;
  left: 50%;
  bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  min-height: 48px;
  max-width: calc(100vw - 32px);
  padding: 0.25rem 0.5rem 0.25rem 1rem;
  border-radius: var(--md-shape-xs);
  background: var(--md-inverse-surface);
  color: var(--md-inverse-on-surface);
  font-size: 0.875rem;
  letter-spacing: 0.25px;
  font-weight: 400;
  box-shadow: var(--md-elevation-3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 1.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.snackbar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.snackbar-action {
  flex: none;
  height: 40px;
  border: 0;
  border-radius: var(--md-shape-full);
  background: none;
  color: var(--md-inverse-primary);
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.1px;
  cursor: pointer;
  padding: 0 0.75rem;
}

/* ---------- Save before closing? ---------- */

.modal-overlay.save-prompt { z-index: 110; }
.save-prompt-text { margin: 0 0 1.2rem; color: var(--text-dim); }
.save-prompt-actions { flex-wrap: wrap; gap: 0.6rem; }
.save-prompt-discard { margin-right: auto; color: var(--md-error); border-color: transparent; }

/* ---------- Pause / parts / finish later ---------- */

.record-pause-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  font-family: var(--md-font);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1px;
  padding: 0 1.5rem;
  border-radius: var(--md-shape-full);
  cursor: pointer;
  border: none;
  background: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
}
.record-pause-btn[hidden] { display: none; }
.record-upload-btn { cursor: pointer; }
.record-upload-btn:focus-within { outline: 3px solid var(--md-primary); outline-offset: 2px; }
.record-pause-btn[aria-pressed="true"] { background: var(--md-primary); color: var(--md-on-primary); }

.record-toggle-btn.is-recording.is-paused .record-toggle-dot {
  animation: none;
  opacity: 0.35;
}

.record-controls { flex-wrap: wrap; }

.record-part-list:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.record-part-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.record-part-length { color: var(--text-dim); font-variant-numeric: tabular-nums; }
.record-part-remove {
  margin-left: auto;
  border: none;
  background: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.9rem;
}
.record-part-list audio { width: 100%; }

.record-actions { gap: 0.6rem; flex-wrap: wrap; }
.record-actions [hidden] { display: none; }
.save-prompt-actions [hidden] { display: none; }

/* ---------- Material 3 extras ---------- */

/* State layers: a tint of the content color over buttons, chips and menu items.
   :where() keeps this at zero specificity so each button's own position wins. */
:where(.btn-primary, .btn-secondary, .btn-danger, .record-btn, .record-toggle-btn, .record-pause-btn,
    .mode-option, .pill, .icon-btn, .sort-toggle, .sort-option, .search-suggestion, .chooser-option,
    .ask-baba-btn, .snackbar-action, .recipe-rec-play) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
:is(.btn-primary, .btn-secondary, .btn-danger, .record-btn, .record-toggle-btn, .record-pause-btn,
    .mode-option, .pill, .icon-btn, .sort-toggle, .sort-option, .search-suggestion, .chooser-option,
    .ask-baba-btn, .snackbar-action, .recipe-rec-play)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: -1;
}
:is(.btn-primary, .btn-secondary, .btn-danger, .record-btn, .record-toggle-btn, .record-pause-btn,
    .mode-option, .pill, .icon-btn, .sort-toggle, .sort-option, .search-suggestion, .chooser-option,
    .ask-baba-btn, .snackbar-action, .recipe-rec-play):not(:disabled):hover::after { opacity: var(--md-hover); }
:is(.btn-primary, .btn-secondary, .btn-danger, .record-btn, .record-toggle-btn, .record-pause-btn,
    .mode-option, .pill, .icon-btn, .sort-toggle, .sort-option, .search-suggestion, .chooser-option,
    .ask-baba-btn, .snackbar-action, .recipe-rec-play):not(:disabled):is(:active, :focus-visible)::after { opacity: var(--md-press); }
:focus-visible { outline: 3px solid var(--md-primary); outline-offset: 2px; }

/* Selected chips and segments: leading check mark. */
.pill.active::before,
.mode-option.active::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mode-option + .mode-option { border-left: 1px solid var(--md-outline); }

.contributor-filter:hover { background-color: rgba(73, 69, 79, 0.08); }
/* A dropdown with something picked reads as a selected chip. */
.contributor-filter.has-value {
  border-color: transparent;
  background-color: var(--md-secondary-container);
  color: var(--md-on-secondary-container);
}
