:root {
  --paper: #FAFAF7;
  --card: #FFFFFF;
  --stage: #EFEDE7;
  --ink: #0A0A0A;
  --rule: #1A1A1A;
  --border: rgba(26, 26, 26, 0.13);
  --border-strong: rgba(26, 26, 26, 0.24);
  --mute: #64635D;
  --highlight: #FFE600;
  --danger: #C53030;
  --font-serif: 'Newsreader', 'Amiri', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', 'Noto Naskh Arabic', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--highlight);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

/* Header with subtle double broadsheet rule (distinct from original) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 60px;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 3px double var(--border-strong);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--mute);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 140ms ease-out;
}

.nav-links a:hover {
  color: var(--ink);
}

.lang-btn {
  min-height: 36px;
  padding: 0 12px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, transform 60ms ease-out;
}

.lang-btn:hover {
  border-color: var(--ink);
  background: var(--highlight);
}

.lang-btn:active {
  transform: scale(0.97);
}

/* Hero */
.hero {
  max-width: 820px;
  padding-top: 48px;
  padding-bottom: 28px;
}

.h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 6.2vw, 68px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.03;
  color: var(--ink);
}

html[dir="rtl"] .h1 {
  font-family: var(--font-arabic);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.24;
}

.hero-mark {
  background: linear-gradient(transparent 60%, var(--highlight) 60% 96%, transparent 96%);
  color: inherit;
  padding: 0 4px;
}

.hero-sub {
  margin: 16px 0 26px;
  font-size: 17px;
  color: var(--mute);
  max-width: 60ch;
}

.hero-form {
  max-width: 640px;
}

.input-wrap {
  position: relative;
}

.input-wrap input {
  width: 100%;
  height: 56px;
  padding: 0 56px 0 18px;
  background: var(--card);
  color: var(--ink);
  caret-color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  outline: none;
  transition: border-color 140ms ease-out, box-shadow 140ms ease-out;
}

html[dir="rtl"] .input-wrap input {
  padding: 0 18px 0 56px;
}

.input-wrap input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--highlight);
}

.input-wrap.has-error input {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.16);
}

.kbd-hint {
  position: absolute;
  right: 14px;
  top: 28px;
  transform: translateY(-50%);
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 6px;
  pointer-events: none;
  transition: opacity 120ms ease-out;
}

html[dir="rtl"] .kbd-hint {
  right: auto;
  left: 14px;
}

.input-wrap input:focus ~ .kbd-hint,
.input-wrap.has-value .kbd-hint {
  opacity: 0;
}

.char-count {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-size: 12px;
  color: var(--mute);
}

html[dir="rtl"] .char-count {
  text-align: left;
}

.char-count.is-low {
  color: var(--danger);
  font-weight: 600;
}

.btn-primary {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: opacity 140ms ease-out, transform 60ms ease-out, box-shadow 140ms ease-out;
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.9;
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

.hero-cta {
  margin-top: 4px;
}

html[dir="rtl"] .dir-arrow {
  transform: scaleX(-1);
}

.form-error {
  margin: 10px 2px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--danger);
}

.form-error[hidden] {
  display: none;
}

.quick-chips {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  min-height: 38px;
  padding: 5px 14px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-arabic);
  font-size: 17px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, transform 60ms ease-out;
}

.chip-btn:hover {
  background: var(--highlight);
  border-color: var(--ink);
}

.chip-btn:active {
  transform: scale(0.97);
}

.ad-disclosure {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--mute);
  max-width: 54ch;
}

/* Studio Card */
.studio-section {
  padding-top: 8px;
  padding-bottom: 36px;
}

.studio-section[hidden] {
  display: none;
}

.tmc-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 324px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(10, 10, 10, 0.06);
}

.stage-pane {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 14px;
  border-right: 1px solid var(--border);
}

html[dir="rtl"] .stage-pane {
  border-right: none;
  border-left: 1px solid var(--border);
}

.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ratio-group {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--stage);
  border-radius: 11px;
}

.ratio-btn {
  min-height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--mute);
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}

.ratio-btn.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(10, 10, 10, 0.1);
}

.stage-hint {
  font-size: 13px;
  color: var(--mute);
}

.btn-pill {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 140ms ease-out, background-color 140ms ease-out, transform 60ms ease-out;
}

.btn-pill:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.btn-pill:active {
  transform: scale(0.97);
}

.play-icon {
  display: inline-flex;
  align-items: center;
}

/* Dot-grid Editorial Preview Stage */
.stage-viewport {
  flex: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-radius: 10px;
  background-color: var(--stage);
  background-image: radial-gradient(rgba(26, 26, 26, 0.08) 1px, transparent 1px);
  background-size: 16px 16px;
}

.canvas-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 420px;
}

#previewCanvas {
  display: block;
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 8px 26px rgba(10, 10, 10, 0.14);
  cursor: pointer;
}

.canvas-overlay {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.76);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.canvas-overlay[hidden] {
  display: none;
}

/* Download & Regenerate Bar */
.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.download-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.download-split {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.download-main {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px 0 0 10px;
  font-size: 14px;
}

.download-gear {
  min-height: 46px;
  min-width: 46px;
  padding: 0;
  border-radius: 0 10px 10px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

html[dir="rtl"] .download-main {
  border-radius: 0 10px 10px 0;
}

html[dir="rtl"] .download-gear {
  border-radius: 10px 0 0 10px;
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

/* Signature yellow ring when settings changed & require ad-gated Regenerate */
.download-main.needs-regen {
  box-shadow: 0 0 0 3px var(--highlight);
}

.regen-hint {
  font-size: 13px;
  color: var(--mute);
}

.regen-hint[hidden] {
  display: none;
}

.format-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 224px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(10, 10, 10, 0.14);
  z-index: 20;
}

html[dir="rtl"] .format-popover {
  right: auto;
  left: 0;
}

.format-option {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.format-option:hover:not(:disabled) {
  background: var(--paper);
}

.format-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.format-check {
  width: 16px;
  font-weight: 700;
  opacity: 0;
}

.format-option[aria-checked="true"] .format-check {
  opacity: 1;
}

.format-badge {
  margin-left: auto;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  background: var(--highlight);
  color: var(--ink);
  border-radius: 999px;
}

html[dir="rtl"] .format-badge {
  margin-left: 0;
  margin-right: auto;
}

.export-status {
  font-size: 13px;
  color: var(--mute);
}

/* Settings Pane */
.settings-pane {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.setting-block,
.slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setting-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.sound-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.select-input {
  flex: 1;
  height: 44px;
  padding: 0 12px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, transform 60ms ease-out;
}

.icon-btn:hover {
  border-color: var(--ink);
  background: var(--highlight);
}

.icon-btn:active {
  transform: scale(0.97);
}

.pane-divider {
  height: 1px;
  background: var(--border);
}

.slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.slider-readout {
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  background: rgba(26, 26, 26, 0.16);
  border-radius: 999px;
}

input[type="range"]::-moz-range-track {
  height: 5px;
  background: rgba(26, 26, 26, 0.16);
  border-radius: 999px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7.5px;
  border-radius: 50%;
  background: var(--ink);
  border: 2.5px solid var(--card);
  box-shadow: 0 1px 4px rgba(10, 10, 10, 0.3);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 2.5px solid var(--card);
  box-shadow: 0 1px 4px rgba(10, 10, 10, 0.3);
}

/* Display Ad Slots */
.ad-banner-wrap {
  padding-top: 10px;
  padding-bottom: 18px;
}

.ad-slot {
  position: relative;
  width: 100%;
  min-height: 92px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--stage);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  color: var(--mute);
  text-align: center;
}

.ad-tag {
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  background: var(--card);
  color: var(--mute);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.ad-placeholder-text {
  font-size: 13px;
}

/* Examples & How It Works (clean sequential editorial rows — distinct from 3-card template) */
.info-section {
  padding: 36px 20px;
  border-top: 1px solid var(--border);
}

.h2 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

html[dir="rtl"] .h2 {
  font-family: var(--font-arabic);
  font-weight: 700;
  letter-spacing: 0;
}

.examples-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.example-row {
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.example-snippet {
  margin: 0;
  font-family: var(--font-arabic);
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
}

.example-snippet mark {
  background: var(--highlight);
  color: var(--ink);
  padding: 0 4px;
}

.btn-outline {
  min-height: 40px;
  padding: 0 16px;
  flex-shrink: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, transform 60ms ease-out;
}

.btn-outline:hover {
  background: var(--highlight);
  border-color: var(--ink);
}

.btn-outline:active {
  transform: scale(0.97);
}

.how-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.how-list li {
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.how-list strong {
  font-size: 16px;
}

.how-list span {
  font-size: 14px;
  color: var(--mute);
}

/* Rewarded Ad Gate Modal */
.ad-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.56);
  backdrop-filter: blur(4px);
}

.ad-modal-backdrop[hidden] {
  display: none;
}

.ad-modal {
  width: 100%;
  max-width: 480px;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 10, 10, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ad-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ad-modal-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

html[dir="rtl"] .ad-modal-title {
  font-family: var(--font-arabic);
}

.ad-modal-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--mute);
}

.ad-countdown {
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 600;
  background: var(--highlight);
  color: var(--ink);
  border-radius: 999px;
  flex-shrink: 0;
}

.ad-modal-slot {
  min-height: 220px;
  padding: 20px;
  background: var(--stage);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.ad-slot-copy {
  margin: 0;
  font-size: 13px;
  color: var(--mute);
  max-width: 34ch;
}

.ad-progress-track {
  height: 5px;
  background: var(--stage);
  border-radius: 999px;
  overflow: hidden;
}

.ad-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--ink);
  transition: width 100ms linear;
}

.ad-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ad-modal-status {
  font-size: 13px;
  color: var(--mute);
}

/* Footer */
.site-footer {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding: 22px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo .logo-text {
  font-size: 20px;
}

.footer-note {
  font-size: 13px;
  color: var(--mute);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--mute);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* FAQ & Policy Pages */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item summary {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--mute);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--mute);
  max-width: 68ch;
}

.legal-page {
  max-width: 720px;
  padding-top: 44px;
  padding-bottom: 56px;
}

.legal-meta {
  margin: 8px 0 28px;
  font-size: 14px;
  color: var(--mute);
}

.legal-page h2 {
  margin: 28px 0 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

.legal-page p {
  margin: 0 0 14px;
  color: #2B2A27;
  max-width: 68ch;
}

.legal-page a {
  color: var(--ink);
  text-decoration: underline;
}

@media (pointer: coarse) {
  .ratio-btn,
  .chip-btn,
  .lang-btn,
  .btn-pill,
  .btn-outline {
    min-height: 44px;
  }

  input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    margin-top: -9.5px;
  }

  input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .hero-cta {
    width: 100%;
  }

  .tmc-studio {
    grid-template-columns: 1fr;
  }

  .stage-pane {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--border);
  }

  .stage-viewport {
    min-height: 310px;
    padding: 14px;
  }

  .stage-hint {
    display: none;
  }

  .download-block,
  .download-split {
    width: 100%;
  }

  .download-main {
    flex: 1;
  }

  .example-row {
    flex-direction: column;
    align-items: stretch;
  }

  .how-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-links a {
    display: none;
  }

  .stage-topbar {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .ratio-btn {
    padding: 0 9px;
    font-size: 12px;
    gap: 4px;
  }

  .btn-pill {
    min-width: 44px;
    padding: 0 12px;
    justify-content: center;
  }

  .btn-pill .play-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
