/* Single-match presentation only. Locked ad selectors and artwork geometry
   are deliberately outside this stylesheet's scope. */
html body.page-home main.page-wrapper #result-box.ma-one-match {
  box-sizing: border-box !important;
  border-radius: 24px !important;
  padding: 24px !important;
  margin-inline: auto !important;
  color: var(--theme-text, #faf6ff) !important;
  background: var(--theme-surface, #180f28) !important;
  border: 1px solid var(--theme-border, #806238) !important;
}
html body.page-home #result-box.ma-one-match #res-title {
  color: var(--theme-text, #faf6ff) !important;
  -webkit-text-fill-color: currentColor !important;
  overflow-wrap: anywhere;
}
html body.page-home #result-box.ma-one-match .res-poster-col {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.page-home #result-box.ma-one-match .ma-result-trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-block-size: 84px;
  margin: 12px 0;
  text-align: center;
  color: var(--theme-text, #e9dfef);
}
html body.page-home #result-box.ma-one-match .ma-result-trust__state {
  grid-area: 1 / 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  visibility: hidden;
}
html body.page-home #result-box.ma-one-match .ma-result-trust__state.is-active { visibility: visible; }
html body.page-home #result-box.ma-one-match .ma-result-trust__label {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html body.page-home #result-box.ma-one-match .ma-result-trust__icon {
  flex: 0 0 20px;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--theme-text, #e9dfef);
  background: rgba(153, 131, 177, .15);
  line-height: 1;
}
html body.page-home #result-box.ma-one-match .ma-result-trust__state--verified .ma-result-trust__icon {
  background: #b9f1cf;
  color: #155631;
}
html body.page-home #result-box.ma-one-match .ma-result-trust__detail {
  display: block;
  max-inline-size: 100%;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--theme-muted, #c7bdd4);
  overflow-wrap: anywhere;
}
html body.page-home #result-box.ma-one-match #res-direct-link.ma-result-primary {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 60px !important;
  margin: 0 0 20px !important;
  padding: 16px !important;
  border: 1px solid rgba(229, 193, 88, .7) !important;
  border-radius: 16px !important;
  background: var(--ma-result-cta-bg, #e5c158) !important;
  color: var(--ma-result-cta-ink, #25193a) !important;
  -webkit-text-fill-color: currentColor !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16) !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-shadow: none !important;
  animation: none !important;
  transition: filter .16s ease !important;
  touch-action: manipulation;
}
html body.page-home #result-box.ma-one-match #res-direct-link.ma-result-primary:hover { filter: brightness(1.07) !important; }
/* The legacy off-screen gold shimmer can expand RTL scroll geometry even
   while visually clipped. Celebration already belongs to the reveal. */
html body.page-home #result-box.ma-one-match #res-direct-link.ma-result-primary::before,
html body.page-home #result-box.ma-one-match #res-direct-link.ma-result-primary::after { content: none !important; }
html body.page-home #result-box.ma-one-match #res-direct-link.ma-result-primary:focus-visible {
  outline: 3px solid var(--theme-accent, #ffe49b) !important;
  outline-offset: 4px !important;
}
html body.page-home #result-box.ma-one-match .res-action-grid { gap: 12px !important; }
html body.page-home #result-box.ma-one-match :is(.res-action-grid > button, .rematch-btn) {
  min-height: 48px !important;
  border-width: 1px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-transform: none !important;
  box-shadow: none !important;
}
html body.page-home #result-box.ma-one-match .match-fun-share {
  padding: 16px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--theme-border, rgba(220,188,253,.2)) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body.page-home #result-box.ma-one-match .match-fun-share__copy strong { color: var(--theme-text, #faf6ff); }
html body.page-home #result-box.ma-one-match .match-fun-share__copy span,
html body.page-home #result-box.ma-one-match .rematch-text small { color: var(--theme-muted, #c7bdd4); }
html[data-theme="sunrise"] body.page-home #result-box.ma-one-match .res-action-grid > button {
  color: var(--theme-text) !important;
}
html body.page-home #result-box.ma-one-match .match-fun-share .share-cta:not(.share-restricted),
html body.page-home #result-box.ma-one-match .rematch-btn {
  min-height: 48px !important;
  padding: 12px !important;
  background: transparent !important;
  border: 1px solid var(--theme-border, rgba(220,188,253,.35)) !important;
  border-radius: 14px !important;
  color: var(--theme-text, #e9dfef) !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-transform: none !important;
  text-shadow: none !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
  transition: border-color .16s ease !important;
}
html body.page-home #result-box.ma-one-match :is(.share-cta,.rematch-btn):focus-visible {
  outline: 3px solid var(--theme-accent, #ffe49b) !important;
  outline-offset: 3px !important;
}
html body.page-home #result-box.ma-one-match .rematch-grid { gap: 12px !important; }
/* The separate reading result retains every source, paid-link disclosure,
   cover, verified audio edition and delegated click target in its own DOM. */
html body.ebook-page #ebook-matcher-root [data-ebook-result] {
  box-sizing: border-box;
  border-radius: 24px !important;
  background: var(--theme-surface, #180f28);
  color: var(--theme-text, #faf6ff);
}
html body.ebook-page #ebook-matcher-root [data-ebook-result] > .ebook-result-grid { padding: 24px; gap: 24px; }
html body.ebook-page #ebook-matcher-root [data-ebook-result] .ebook-provider-row { gap: 10px; }
html body.ebook-page #ebook-matcher-root [data-ebook-result] :is(.ebook-provider,.ebook-preview-link) {
  box-sizing: border-box;
  min-height: 48px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
}
html body.ebook-page #ebook-matcher-root [data-ebook-result] .ebook-audio-verified {
  width: 100%;
  min-height: 56px !important;
  padding: 16px !important;
  border-radius: 16px !important;
  font-size: 16px;
  font-weight: 800;
  background: #e5c158;
  color: #25193a;
}
html body.ebook-page #ebook-matcher-root [data-ebook-result] .ebook-audio-verified[data-ebook-provider="Apple Books"] {
  background: #F68B1E;
  color: #21140B;
}
html body.ebook-page #ebook-matcher-root [data-ebook-result] .ebook-result-actions { gap: 12px; }
html body.ebook-page #ebook-matcher-root [data-ebook-result] .ebook-result-actions button {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  background: transparent;
  font-size: 13px;
  line-height: 1.5;
}
@media (min-width: 768px) {
  html body.page-home main.page-wrapper #result-box.ma-one-match { padding: 32px !important; }
  html body.ebook-page #ebook-matcher-root [data-ebook-result] > .ebook-result-grid { padding: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html body.page-home #result-box.ma-one-match :is(.ma-result-primary,.share-cta,.rematch-btn) { transition: none !important; }
}
html.reduce-motion body.page-home #result-box.ma-one-match :is(.ma-result-primary,.share-cta,.rematch-btn) { transition: none !important; }
@media (forced-colors: active) {
  html body.page-home #result-box.ma-one-match .ma-result-trust__icon { border: 1px solid CanvasText; }
  html body.page-home #result-box.ma-one-match #res-direct-link.ma-result-primary { border: 2px solid ButtonText !important; }
}
