/* Scoped Levels refinements; retain the approved plum banner, artwork and card grid. */
#jlpt-paths .jlpt-tabs button,
#jlpt-paths .hear-full-phrase,
#jlpt-paths .phrase-word-button,
#jlpt-paths #jlpt-phrase-pagination button,
#jlpt-paths [data-open-jlpt-phrases],
#levels [data-stage-start] {
 min-height:44px;
 min-width:44px;
}
#jlpt-paths [data-open-jlpt-phrases] {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 text-align:center;
}
#jlpt-paths .jlpt-path-card dl {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px 14px;
}
#jlpt-paths .jlpt-path-card dl dd {
 overflow-wrap:anywhere;
}
#jlpt-paths .levels-access-note {
 margin:12px 0 8px;
 font-size:13px;
 font-weight:700;
 color:#fff;
}
#jlpt-paths .levels-collection-summary {
 margin:0 0 20px;
 color:#fff;
 font-size:14px;
 overflow-wrap:anywhere;
}
#jlpt-paths .jlpt-path-card [data-level-prompt-count] dt {
 font-variant-numeric:tabular-nums;
}
#jlpt-paths .jlpt-tabs button:focus-visible,
#jlpt-paths button:focus-visible,
#jlpt-paths a:focus-visible,
#levels [data-stage-start]:focus-visible {
 outline:3px solid #963c62;
 outline-offset:4px;
}
#jlpt-paths .jlpt-tabs button:focus-visible {outline-color:#fff;}

#jlpt-paths a[data-open-jlpt-phrases]:focus-visible,
#jlpt-paths #jlpt-phrase-pagination button:focus-visible {outline-color:#fff;}
html.levels-in-view .back-to-top,
html.levels-in-view #english-back-to-top { display:none !important; }
#levels .levels-stage-link { display:inline-flex; align-items:center; justify-content:center; padding:11px 18px; border:1px solid #efdadd; border-radius:999px; background:#ee7899; color:#34272d; font-weight:800; text-decoration:none; text-align:center; }
#levels .levels-english-access { font-size:13px; margin:12px 0 0; color:#75656c; }
/* Keep intro text readable on the existing plum English Levels banner. */
#levels .section-heading > p { color:#fff; }
#levels .eyebrow { color:#f4c5d8; }
