.topbar .top-play { display: none; }
@media (min-width: 1024px) { .topbar .top-play { display: inline-flex; } }
.topbar { min-width: 0; }
.topbar .brand { min-width: 0; overflow: hidden; }
.ar.ar.is-over { position: fixed; inset: 0; z-index: 70; margin: 0; overflow-y: auto; }
html:has(.ar.is-over) { overflow: hidden; }
#guides, #stats { scroll-margin-top: 80px; }
.m-gold { background: linear-gradient(160deg, #fff0bf, #ffd25e); }
.hero-img { width: 100%; height: auto; margin: 0 0 18px; }
.card img { width: 100%; height: auto; }
.card .art { margin: -6px -6px 6px; }
.art { display: grid; place-items: center; aspect-ratio: 16 / 7; border-radius: 20px; }
.art .ic { width: 34%; height: auto; max-height: 72%; aspect-ratio: 1; }
.art-pink { background: #ffb3c1; } .art-blue { background: #a9d6ff; } .art-green { background: #bfe77e; } .art-gold { background: #ffe08a; } .art-violet { background: #cdbcff; }

.ar-classmatch .ar-cta, .ar-classmatch .ar-promise, .ar-classmatch [data-again] { display: none; }
.ar.ar-classmatch:not(.is-playing, .is-over) .ar-stage { display: none; }
.cm-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 8px 0 14px; text-align: center; }
.cm-score b { display: block; font: 800 clamp(2.4rem, 8vw, 4rem)/1 var(--font-display); }
.cm-score span { font-weight: 700; overflow-wrap: anywhere; }
.cm-round { color: var(--a-muted); font: 800 .95rem/1.2 var(--font-display); }
.cm-two { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cm-two input { box-sizing: border-box; width: 100%; min-height: 46px; padding: 0 12px; border: 2px solid var(--a-line); border-radius: 13px; background: var(--a-bg); color: var(--a-text); font: 500 16px/1.2 var(--font-body); }
.cm-missed { margin: 12px 0 0; padding-left: 20px; }
@media (max-width: 620px) { .cm-two { grid-template-columns: minmax(0, 1fr); } }

.bt { display: grid; gap: 12px; margin: 16px 0 22px; padding: 0; list-style: none; }
.bt > li { padding: 16px; border-radius: 18px; background: var(--a-bg); }
.bt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bt-head strong { font: 800 1.08rem/1.2 var(--display); }
.bt-pill { flex: none; padding: 5px 11px; border-radius: 999px; background: #e1e5f7; color: #3d4066; font: 800 .8rem/1 var(--display); }
.bt-pill.ok { background: #bff0cd; color: #115c2c; }
.bt-pill.bad { background: #ffd9cf; color: #8c2610; }
.bt p { margin: 6px 0 10px; color: #2c3060; }
.bt-pads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bt-pads button { min-height: 130px; border: 4px solid transparent; border-radius: 18px; font: 800 1.1rem/1.1 var(--display); touch-action: none; user-select: none; -webkit-user-select: none; cursor: pointer; }
.bt-pads button:first-child { background: #ff5233; color: #11122b; }
.bt-pads button:last-child { background: #1b46f5; color: #fff; }
.bt-pads button.is-on { border-color: #ffd60a; }
.bt-keys { display: flex; gap: 10px; }
.bt-keys kbd { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 14px; background: #fff; box-shadow: var(--a-shadow); color: var(--a-text); font: 800 1.5rem/1 var(--display); }
.bt-keys kbd.is-on { background: #bff0cd; }
.bt-btn { min-height: 46px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--a-blue); color: #fff; font: 800 .95rem/1 var(--display); cursor: pointer; }
.bt-done { padding: 16px; border-radius: 18px; background: #fff4d1; }
.bt-done p { margin: 0 0 10px; font-weight: 700; color: var(--a-text); }
