/* Phrase A: approved photo-composite masters. Scoped to first Home card. */
#home .block.phrases .phrase-card,
.block.phrases > .phrase-card{
  width:100%;height:auto!important;aspect-ratio:438/233!important;
  position:relative;overflow:hidden;border:0!important;border-radius:0!important;
  background:transparent url('assets/phrase-master-light.png?v=masterA1') center / 100% 100% no-repeat!important;
  box-shadow:none!important;
}
body.dark #home .block.phrases .phrase-card,
body.dark .block.phrases > .phrase-card{
  background-image:url('assets/phrase-master-dark.png?v=masterA1')!important;
}
.block.phrases .phrase-card::before,
.block.phrases .phrase-card::after{display:none!important}
.block.phrases .phrase-card > img,
.block.phrases .phrase-overlay > :not(.phrase-buttons){visibility:hidden!important}
.block.phrases .phrase-overlay{position:absolute!important;inset:0!important;padding:0!important;z-index:3!important;pointer-events:none!important}
.block.phrases .phrase-buttons{position:absolute!important;right:5.8%!important;top:6.4%!important;display:flex!important;gap:1.5%!important;width:16%!important;height:12%!important;z-index:5!important}
.block.phrases .phrase-buttons button{position:relative!important;opacity:0!important;pointer-events:auto!important;flex:1!important;width:auto!important;height:100%!important;padding:0!important;cursor:pointer!important}
.block.phrases .actions{position:absolute!important;left:5.2%!important;right:5.2%!important;top:56%!important;bottom:5%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3.2%!important;z-index:5!important}
.block.phrases .actions button{width:100%!important;height:100%!important;min-width:0!important;opacity:0!important;cursor:pointer!important;pointer-events:auto!important}
.block.phrases .actions button:focus-visible,.block.phrases .phrase-buttons button:focus-visible{opacity:.35!important;outline:3px solid #fff!important}
