/* Names and exact hexagram diagrams remain live, translated page content. */
html:root #iching-app.fd-app.fd-iching .hexagram-card {aspect-ratio:2/3;max-width:180px;height:auto;}
html:root #iching-app.fd-app.fd-iching .hexagram-card img {display:block;object-fit:cover;}
html:root #iching-app.fd-app.fd-iching .mancy-caption {display:flex;flex-direction:column;align-items:center;gap:7px;margin:12px 0 0;line-height:1.45;text-wrap:balance;}
html:root #iching-app.fd-app.fd-iching .iching-diagram {display:block;width:54px;height:45px;flex:none;color:var(--fd-accent,var(--gold-primary));}
html:root #iching-app.fd-app.fd-iching .card-front img {object-fit:cover;}
@media(max-width:480px){
  html:root #iching-app.fd-app.fd-iching .mancy-caption {font-size:12px;gap:5px;}
  html:root #iching-app.fd-app.fd-iching .iching-diagram {width:44px;height:37px;}
}
/* Keep the burned-in number and hexagram entirely inside every card. */
html:root #iching-app.fd-app.fd-iching .cards-grid .card {aspect-ratio:2/3;}
