.learning-shortcuts { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 1rem; }
.learning-shortcuts > * { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid currentColor; background: #fffdf5; color: #204397; font: inherit; font-weight: 700; text-decoration: none; padding: .4rem .85rem; text-align: center; }
.learning-shortcuts > *:hover { background: #e5edff; }
.learning-shortcuts > *:focus-visible, .character-practice :focus-visible { outline: 3px solid #2455d6; outline-offset: 3px; }
.character-practice { grid-column: 1/-1; min-width: 0; width: 100%; }
.character-practice summary { min-height: 44px; display: list-item; cursor: pointer; padding: .6rem 0; color: #204397; font-size: 1rem; font-weight: 700; }
.character-practice a { display: block; margin-block: .45rem; color: #204397; font-size: .9rem; }
.character-practice iframe { display: block; width: min(100%, 320px); height: 525px; border: 1px solid #adb9d2; margin: .6rem auto; background: #fff; }
.bank-chars:has(.character-practice[open]) { align-items: start; }
.bank-chars > .char-card:has(.character-practice[open]) { grid-column: 1/-1; }
@media (max-width: 35rem) {
  .learning-shortcuts { display: grid; grid-template-columns: 1fr 1fr; }
}
