/* Current BandGames typography, mode cards and purple identity, shared by older games. */
.modern-game .play-heading {padding:clamp(22px,4vw,44px);background:linear-gradient(125deg,#f8f4ff,#fff 72%);border-bottom:1px solid #e9dff7}
.modern-game .play-heading h1 {color:#271738;font-size:clamp(1.8rem,4.2vw,2.7rem);letter-spacing:-.04em;line-height:1.12}
.modern-game .play-heading p {color:#675079}.modern-game .play-heading .eyebrow {color:#764ba9}
.modern-game .heading-symbol {background:#eee4ff;border-radius:24px;color:#713bd4;min-width:80px;text-align:center;padding:16px}
.modern-game .play-body {padding:clamp(18px,3.3vw,36px)}
.modern-steps {display:flex;gap:12px;flex-wrap:wrap;margin:0 0 30px}
.modern-steps button {background:none;border:0;color:#736482;font-weight:700;padding:6px 8px;display:flex;align-items:center;gap:8px;min-height:44px}
.modern-steps span {width:30px;height:30px;border-radius:50%;background:#eee8f5;display:grid;place-items:center}
.modern-steps [aria-current] {color:#6432bb}.modern-steps [aria-current] span {background:#8c52ff;color:white}.modern-steps .complete span {background:#e8f5ed;color:#236443}
.modern-steps button:disabled {opacity:.6}
.modern-stage h2 {font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.035em;margin:7px 0 18px;line-height:1.2}
.modern-stage h2:focus {outline:none}.modern-stage .eyebrow {color:#764ba9}
.modern-modes {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.modern-modes .staff-mode-card {padding:24px 20px;min-height:170px}
.modern-levels {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.modern-levels button {padding:20px 15px;min-height:145px;text-align:left;display:flex;flex-direction:column;gap:7px}
.modern-levels button>span {font-size:1.2rem;color:#6e3ec0}.modern-levels small {font-weight:400;color:#625470}
.modern-game .selected {box-shadow:inset 0 0 0 2px #8c52ff;background:#f3edff}
.modern-hint {color:#625470;line-height:1.65;font-size:.93rem;margin:0 0 18px;max-width:75ch}
.modern-summary {border-left:3px solid #8c52ff;padding:10px 18px;margin:24px 0 8px;background:#faf8fe}
.modern-summary strong {color:#503080}.modern-summary ul {padding-left:20px;margin:8px 0;font-size:.87rem;color:#635171;line-height:1.55;overflow-wrap:anywhere}
.modern-summary li+li {margin-top:4px}
.modern-controls {display:flex;gap:14px;flex-wrap:wrap;margin:12px 0 22px}
.modern-select {display:flex;flex-direction:column;gap:7px;font-size:.86rem;font-weight:700;color:#53425f;flex:1;min-width:min(200px,100%)}
.modern-select select,.modern-select input,.modern-position select {padding:11px 12px;border:1px solid #d7c7e7;border-radius:10px;background:white;min-height:44px;font:inherit;color:#32223e;max-width:100%;width:100%}
.modern-field {border:0;padding:0;margin:22px 0}.modern-field legend {font-size:1rem;font-weight:750;margin-bottom:12px}
.modern-checks {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:8px}
.modern-checks label {display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #e4dbea;border-radius:9px;min-height:44px;line-height:1.35;font-size:.88rem;cursor:pointer;background:white}
.modern-checks label:has(:checked) {background:#f5eeff;border-color:#bda1ea;color:#543186}
.modern-checks input,.modern-toggle input {accent-color:#8c52ff;width:18px;height:18px;flex-shrink:0}
.modern-meter-filters,.modern-toggles {display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px}.modern-toggle {min-height:44px;display:flex;align-items:center;gap:8px;font-size:.9rem}
.modern-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;align-items:center}.modern-actions button {min-height:46px}
.modern-error {color:#a63041;font-weight:650;margin:12px 0}.modern-error:empty {display:none}
.modern-position {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;font-size:.9rem}.modern-position select {width:auto}
.modern-game .feedback {padding:13px 16px;border-radius:10px;min-height:48px;line-height:1.55}.modern-game .feedback.good {background:#edf8f0;color:#256243}.modern-game .feedback.error {background:#fff0f0;color:#94343d}
.modern-game .results h2 {font-size:2rem;letter-spacing:-.035em}.modern-game .ng-staff,.modern-game .staff-frame,.modern-game .measure-frame {border-radius:14px;overflow:hidden}
.modern-game button:focus-visible,.modern-game input:focus-visible,.modern-game select:focus-visible,.modern-game a:focus-visible {outline:3px solid #713bd4;outline-offset:4px}
.modern-game button:hover:not(:disabled) {filter:brightness(.98)}
@media(max-width:800px){.modern-levels{grid-template-columns:repeat(2,minmax(0,1fr))}.modern-modes{grid-template-columns:1fr}.modern-modes .staff-mode-card{min-height:110px;padding:18px}.modern-steps{gap:2px}.modern-steps button{font-size:.82rem;padding:5px}.modern-game .heading-symbol{display:none}.modern-summary{padding:10px 12px}}
@media(max-width:380px){.modern-levels{grid-template-columns:1fr}.modern-levels button{min-height:105px}.modern-actions button{width:100%}.modern-steps button{font-size:.72rem}.modern-steps span{width:25px;height:25px}}
@media(prefers-reduced-motion:reduce){.modern-game *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
