/* Instructional hero: scoped to the rules page. */
.learn-hero{margin:24px 0 28px;padding:22px 24px;background:#f7f1e7;border:1px solid #e5d9c8;border-radius:16px}
.learn-hero-demo{display:grid;grid-template-columns:minmax(0,1fr) 96px minmax(0,1fr);gap:14px;align-items:center}
.learn-hero-label{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600;color:#605749;margin-bottom:8px}
.learn-hero-points{color:#9a3d12;font-size:12px}
.learn-hero-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:#b9ad9f;padding:7px;border-radius:9px}
.learn-hero-row>span{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:#eee4cf;color:#443c32;border-radius:5px;font-size:clamp(22px,2.5vw,30px);font-weight:750;line-height:1}
.learn-hero-row>.empty{background:#d0c5b7}
.learn-hero-row>.merge-source{background:#fff2de;box-shadow:inset 0 0 0 2px #cf8b52}
.learn-hero-row>.merge-result{background:#bd4812;color:#fff}
.learn-hero-direction{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px;font-weight:600;color:#9a3d12;padding-top:20px}
.learn-hero-direction>span{font-size:32px;line-height:1}
.learn-hero figcaption{margin-top:18px;text-align:center}
.learn-hero figcaption strong{display:block;font-size:17px;line-height:1.4;color:#292720}
.learn-hero figcaption>span{display:block;font-size:13px;line-height:1.5;color:#605749;margin-top:5px}
@media(max-width:600px){.learn-hero{padding:18px;margin-top:20px}.learn-hero-demo{grid-template-columns:minmax(0,1fr);gap:12px;max-width:330px;margin:auto}.learn-hero-direction{flex-direction:row;justify-content:center;padding:0;gap:8px}.learn-hero-row>span{font-size:27px}.learn-hero figcaption strong{font-size:16px}}
