/* MIX-ED Quick Fire — 60-second music quizzes (quickfire.html, assets/js/quickfire.js).
   Built on dj-games.css (colours, fonts, nav, buttons, medals). */
@font-face { font-family: "Bravura"; font-display: block; src: url("../fonts/Bravura.woff2") format("woff2"); }

/* ---------- home ---------- */
.qf-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: center; padding: 34px 0 10px; }
.qf-hero h1 { font-size: clamp(64px, 11vw, 110px); margin: 6px 0 10px; }
.neon { color: #fff; text-shadow: 0 0 6px #fff, 0 0 16px var(--cyan), 0 0 34px var(--cyan), 0 0 60px var(--cyan); }
.qf-hero p { color: var(--dim); margin: 0; max-width: 540px; }
@media (max-width: 820px) { .qf-hero { grid-template-columns: 1fr; padding-top: 22px; } }
.qf-me { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; }
.qf-me .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qf-me small { color: var(--muted); font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; font-size: 11px; }
.qf-me b.big { font-family: var(--display); font-weight: 400; font-size: 34px; display: block; line-height: 1.1; }
.qf-me .who { font-size: 13px; color: var(--dim); margin-top: 10px; }
.qf-me .who a { font-weight: 700; }
.qf-days { display: flex; gap: 6px; margin-top: 8px; }
.qf-days i { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); }
.qf-days i.on { background: linear-gradient(90deg, var(--pink), var(--gold)); box-shadow: 0 0 10px rgba(255,61,127,.45); }

.qf-world { margin-top: 26px; }
.qf-whead { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.qf-whead h2 { font-family: var(--display); font-weight: 400; font-size: 34px; margin: 0; letter-spacing: .5px; }
.qf-whead p { margin: 0; color: var(--muted); font-size: 14px; }
.qf-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.qf-topic { background: #16132b; border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.qf-art { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-family: Bravura; font-size: 46px; line-height: 1; color: #fff; background: radial-gradient(circle at 30% 25%, var(--pink), var(--violet)); box-shadow: 0 10px 30px rgba(139,92,255,.3); }
.qf-art.t2 { background: radial-gradient(circle at 30% 25%, var(--cyan), #2b6cff); }
.qf-topic h3 { margin: 0; font-size: 18px; }
.qf-topic p { margin: 2px 0 8px; color: var(--muted); font-size: 13px; }
.qf-tiers { display: flex; gap: 6px; flex-wrap: wrap; }
.qf-tier { border: 0; font-weight: 800; font-size: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.07); color: var(--dim); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.qf-tier:hover { background: rgba(255,255,255,.14); color: #fff; }
.qf-tier.now { background: var(--pink); color: #fff; box-shadow: 0 0 16px rgba(255,61,127,.45); }
.qf-tier.locked { opacity: .45; cursor: default; }
.qf-tier .m { width: 10px; height: 10px; border-radius: 50%; }
.qf-tier .m.bronze { background: #cd7f32; } .qf-tier .m.silver { background: #dfe3e8; } .qf-tier .m.gold { background: #ffd86b; box-shadow: 0 0 6px #ffd86b; }
.qf-more { color: var(--muted); font-size: 14px; margin: 28px 0 50px; }

/* ---------- playing ---------- */
.qf-play { margin: 18px 0 30px; background: linear-gradient(180deg, #1a1534, #0f0c1f); border: 1px solid var(--line); border-radius: 28px; padding: 20px 22px 16px; position: relative; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.qf-play.fever { border-color: rgba(255,61,127,.7); box-shadow: 0 0 0 2px rgba(255,61,127,.25), 0 0 60px rgba(255,61,127,.35) inset; }
.qf-play.fever::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(255,61,127,.25), transparent 60%); pointer-events: none; animation: fever-glow 1s ease-in-out infinite; }
@keyframes fever-glow { 50% { opacity: .5; } }
.qf-hud { display: flex; align-items: center; gap: 16px; position: relative; }
.qf-ring { width: 74px; height: 74px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: conic-gradient(var(--cyan) 0 100%, rgba(255,255,255,.08) 0); }
.qf-ring b { width: 60px; height: 60px; border-radius: 50%; background: #15122a; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 400; font-size: 26px; }
.qf-ring.low { background: conic-gradient(var(--red) 0 var(--p, 100%), rgba(255,255,255,.08) 0) !important; }
.qf-q { font-size: 13px; color: var(--muted); font-weight: 700; min-width: 0; }
.qf-q b { display: block; color: var(--ink); font-size: 19px; }
.qf-num { text-align: right; } .qf-streak { margin-left: auto; }
.qf-num small { display: block; font-size: 11px; color: var(--muted); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.qf-num b { font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; display: inline-block; }
.qf-streak b { color: var(--gold); text-shadow: 0 0 20px rgba(255,216,107,.55); }
.qf-num b.bump { animation: bump .25s ease-out; }
@keyframes bump { 40% { transform: scale(1.25); } }
.qf-fever { height: 10px; border-radius: 5px; background: rgba(255,255,255,.07); margin: 16px 0 4px; overflow: hidden; position: relative; }
.qf-fever i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--violet), var(--pink), var(--gold)); box-shadow: 0 0 18px rgba(255,61,127,.7); transition: width .25s; }
.qf-fev-l { font-size: 11px; color: var(--muted); font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; display: flex; justify-content: space-between; }
.qf-play.fever #qf-fev-name { color: var(--pink); text-shadow: 0 0 12px rgba(255,61,127,.8); }

.qf-stage { margin: 14px auto 6px; max-width: 660px; min-height: 230px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(ellipse at center, rgba(51,225,255,.11), transparent 70%); }
.qf-stage svg { width: 100%; max-width: 640px; height: auto; display: block; }
.qf-stage .note { fill: var(--cyan); filter: drop-shadow(0 0 9px rgba(51,225,255,.9)); }
.qf-stage .stem { stroke: var(--cyan); filter: drop-shadow(0 0 6px rgba(51,225,255,.8)); }
.qf-stage.right .note, .qf-stage.right .glyph { fill: var(--green); color: var(--green); filter: drop-shadow(0 0 12px rgba(61,255,154,.9)); }
.qf-stage.right .stem { stroke: var(--green); }
.qf-stage.wrong .note, .qf-stage.wrong .glyph { fill: var(--red); color: var(--red); filter: drop-shadow(0 0 12px rgba(255,90,90,.9)); }
.qf-stage.wrong .stem { stroke: var(--red); }
.qf-stage .glyph { font-family: Bravura; font-size: 150px; line-height: 1.25; color: var(--cyan); text-shadow: 0 0 22px rgba(51,225,255,.7); }
.qf-stage .ask { color: var(--dim); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.qf-play.shake .qf-stage { animation: shake .3s; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }

.qf-pads { display: grid; gap: 10px; max-width: 760px; margin: 10px auto 0; grid-template-columns: repeat(var(--cols, 7), 1fr); }
.qf-pad { min-height: 74px; border-radius: 16px; border: 2px solid rgba(255,255,255,.12); background: linear-gradient(180deg, #241f42, #181430); color: var(--ink); font-family: var(--display); font-size: 34px; line-height: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: 0 6px 0 #0b0916; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; transition: transform .05s, box-shadow .05s; padding: 6px 4px; }
.qf-pad small { font-family: var(--font); font-weight: 700; font-size: 12px; color: var(--muted); }
.qf-pad.word { font-family: var(--font); font-weight: 800; font-size: 17px; }
.qf-pad:hover { border-color: rgba(51,225,255,.5); }
.qf-pad:active { transform: translateY(4px); box-shadow: 0 2px 0 #0b0916; }
.qf-pad.hit { border-color: var(--green); background: linear-gradient(180deg, #1f6b47, #12402a); box-shadow: 0 0 28px rgba(61,255,154,.55), 0 6px 0 #0b0916; }
.qf-pad.miss { border-color: var(--red); background: linear-gradient(180deg, #6b1f2c, #40121a); }
.qf-pad.was { border-color: var(--green); box-shadow: 0 0 18px rgba(61,255,154,.5), 0 6px 0 #0b0916; }
.qf-pad .k { position: absolute; }
@media (max-width: 640px) {
  .qf-play { padding: 14px 12px; border-radius: 20px; }
  .qf-ring { width: 58px; height: 58px; } .qf-ring b { width: 46px; height: 46px; font-size: 21px; }
  .qf-num b { font-size: 32px; } .qf-q b { font-size: 16px; }
  .qf-pads { gap: 6px; } .qf-pad { min-height: 60px; font-size: 26px; border-radius: 12px; }
  .qf-pad.word { font-size: 14px; }
  .qf-stage { min-height: 170px; } .qf-stage .glyph { font-size: 110px; }
  .qf-pads.cols12 { --cols: 6 !important; }
}
.qf-tip { max-width: 760px; margin: 14px auto 0; border-radius: 14px; padding: 10px 14px; background: rgba(255,90,90,.1); border: 1px solid rgba(255,90,90,.35); color: var(--dim); font-size: 14.5px; }
.qf-tip b { color: #ff8a8a; }
.qf-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; color: var(--muted); font-size: 13px; gap: 10px; flex-wrap: wrap; }
.qf-pop-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.qf-pop { position: absolute; font-family: var(--display); font-size: 40px; color: var(--green); text-shadow: 0 0 20px rgba(61,255,154,.8); animation: pop-up .9s ease-out forwards; white-space: nowrap; }
.qf-pop small { display: block; font-size: 17px; color: var(--gold); text-align: center; }
.qf-pop.fev { color: var(--pink); text-shadow: 0 0 22px rgba(255,61,127,.9); }
@keyframes pop-up { 0% { opacity: 0; transform: translateY(10px) scale(.8) rotate(-6deg); } 20% { opacity: 1; transform: translateY(0) scale(1.1) rotate(-6deg); } 100% { opacity: 0; transform: translateY(-50px) scale(1) rotate(-6deg); } }

/* ---------- start card ---------- */
.qf-startcard h3 { font-size: 44px; margin: 0 0 4px; }
.qf-startcard .sub { color: var(--dim); margin: 0 0 14px; }
.qf-startcard ul { text-align: left; color: var(--dim); font-size: 14.5px; margin: 0 auto 18px; max-width: 380px; padding-left: 18px; }
.qf-startcard ul li { margin: 5px 0; }
.qf-startcard .note-who { font-size: 13px; color: var(--muted); margin-top: 12px; }
.qf-go { font-size: 20px; padding: 16px 40px; }

/* ---------- result ---------- */
.qf-res { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; margin: 22px 0 40px; }
@media (max-width: 820px) { .qf-res { grid-template-columns: 1fr; } }
.qf-r1 { background: radial-gradient(circle at 50% 0%, rgba(255,216,107,.16), transparent 60%), #16132b; border: 1px solid var(--line); border-radius: 24px; padding: 24px; text-align: center; }
.qf-medal { width: 120px; height: 120px; margin: 4px auto 12px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 34px; letter-spacing: 1px; animation: medal-in .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes medal-in { 0% { transform: scale(0) rotate(-30deg); } 100% { transform: scale(1) rotate(0); } }
.qf-medal.gold { background: radial-gradient(circle at 35% 30%, #fff1a8, #d4a017); box-shadow: 0 0 50px rgba(255,216,107,.6); color: #3d2a00; }
.qf-medal.silver { background: radial-gradient(circle at 35% 30%, #ffffff, #9aa3ad); box-shadow: 0 0 40px rgba(220,225,230,.5); color: #2a2f36; }
.qf-medal.bronze { background: radial-gradient(circle at 35% 30%, #f0b27a, #a0522d); box-shadow: 0 0 40px rgba(205,127,50,.5); color: #3a1d08; }
.qf-medal.none { background: rgba(255,255,255,.06); border: 2px dashed rgba(255,255,255,.2); color: var(--muted); font-size: 18px; animation: none; }
.qf-r1 h2 { font-family: var(--display); font-weight: 400; font-size: 44px; margin: 0; line-height: 1.05; }
.qf-r1 .sub { color: var(--dim); margin-top: 4px; }
.qf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.qf-stats div { background: rgba(255,255,255,.05); border-radius: 12px; padding: 10px 4px; }
.qf-stats b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; }
.qf-stats span { font-size: 10.5px; color: var(--muted); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.qf-saved { margin-top: 14px; font-size: 13px; color: var(--muted); }
.qf-saved b { color: var(--green); }
.qf-r2 { background: #16132b; border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.qf-r2 h3 { margin: 0 0 4px; font-size: 18px; }
.qf-r2 > p { color: var(--muted); margin: 0 0 12px; font-size: 13.5px; }
.qf-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.qf-item { border-radius: 12px; padding: 10px 4px 8px; text-align: center; font-family: var(--display); font-size: 26px; line-height: 1.05; }
.qf-item .gl { font-family: Bravura; font-size: 34px; line-height: 1.3; display: block; }
.qf-item small { display: block; font-family: var(--font); font-size: 11px; font-weight: 800; margin-top: 2px; }
.qf-item em { display: block; font-family: var(--font); font-style: normal; font-size: 10px; color: var(--muted); font-weight: 700; }
.qf-item.good { background: rgba(61,255,154,.13); color: var(--green); }
.qf-item.ok { background: rgba(255,216,107,.13); color: var(--gold); }
.qf-item.bad { background: rgba(255,90,90,.15); color: #ff8a8a; }
.qf-next { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.qf-chip { border: 1px solid rgba(51,225,255,.4); background: rgba(51,225,255,.12); color: var(--cyan); padding: 10px 14px; border-radius: 12px; font-weight: 800; font-size: 14px; cursor: pointer; }
.qf-chip:hover { background: rgba(51,225,255,.22); }
.qf-chip.main { background: linear-gradient(135deg, var(--pink), var(--violet)); color: #fff; border: 0; }

/* the "Still you, …?" check from identity.js (styles.css isn't loaded here) */
.stale-banner { background: linear-gradient(90deg, #3b2a8a, #7a2a6b); color: #fff; padding: 9px 16px; }
.stale-banner .stale-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.stale-banner .stale-q { margin-right: auto; }
.stale-banner button { border: 0; border-radius: 10px; padding: 7px 12px; font-weight: 800; font-size: 13px; cursor: pointer; }
.stale-banner .stale-yes { background: #fff; color: #3b2a8a; }
.stale-banner .stale-no { background: rgba(255,255,255,.15); color: #fff; }

/* sharp / flat pads: both names the same size, with a line between (Tier 3) */
.qf-pad.dual { font-size: 24px; gap: 0; padding: 4px 2px; }
.qf-pad.dual span { display: block; line-height: 1.05; }
.qf-pad.dual span + span { border-top: 1px solid rgba(255,255,255,.18); padding-top: 3px; margin-top: 3px; width: 70%; text-align: center; }
@media (max-width: 640px) { .qf-pad.dual { font-size: 19px; } }

/* ---------- the note highway (Treble Clef) ---------- */
.qf-stage.hw-stage { max-width: none; min-height: 0; background: none; margin: 8px 0 4px; }
.qf-stage svg.hw { max-width: none; }
.hw-hit { fill: var(--cyan); filter: drop-shadow(0 0 10px rgba(51,225,255,.9)); }
.qf-play.fever .hw-hit { fill: var(--pink); filter: drop-shadow(0 0 14px rgba(255,61,127,1)); }
.qf-play.fever .hw-n.live .note { fill: #ff7aa8; filter: drop-shadow(0 0 10px rgba(255,61,127,.9)); }
.qf-play.fever .hw-n.live .stem { stroke: #ff7aa8; }
.hw-n.hit .note { fill: var(--green); filter: drop-shadow(0 0 14px rgba(61,255,154,1)); } .hw-n.hit .stem { stroke: var(--green); }
.hw-n.miss .note { fill: var(--red); filter: drop-shadow(0 0 12px rgba(255,90,90,.9)); } .hw-n.miss .stem { stroke: var(--red); }
.qf-fevbtn { display: block; margin: 8px auto 0; border: 2px solid rgba(255,61,127,.35); background: rgba(255,61,127,.08); color: var(--muted); font-weight: 800; letter-spacing: 1px; border-radius: 999px; padding: 9px 22px; font-size: 14px; cursor: pointer; }
.qf-fevbtn.ready { color: #fff; border-color: var(--pink); background: linear-gradient(135deg, var(--pink), var(--violet)); box-shadow: 0 0 30px rgba(255,61,127,.6); animation: next-flash 0.8s ease-in-out infinite; }
.qf-fevbtn:disabled:not(.ready) { cursor: default; }
/* the keyboard */
.qf-pads.kb-wrap { display: block; max-width: 900px; margin-top: 6px; }
.kb { position: relative; height: 170px; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.kb-w, .kb-b { position: absolute; top: 0; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.kb-w { height: 100%; background: linear-gradient(180deg, #f3f0ff, #d8d3ee); border: 1px solid #2a2547; border-radius: 0 0 10px 10px; box-shadow: inset 0 -6px 0 rgba(0,0,0,.12); z-index: 1; }
.kb-b { height: 60%; background: linear-gradient(180deg, #2b2650, #120f22); border-radius: 0 0 7px 7px; z-index: 2; box-shadow: inset 0 -5px 0 rgba(255,255,255,.06), 0 3px 6px rgba(0,0,0,.5); }
.kb-l { font-family: var(--display); font-size: 22px; color: #3b3366; padding-bottom: 8px; line-height: 1; }
.kb-b .kb-l { font-family: var(--font); font-weight: 800; font-size: 12px; color: #fff; padding-bottom: 7px; }
.kb-w em { position: absolute; bottom: -20px; font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.kb-w.hit { background: linear-gradient(180deg, #b9ffd9, #3dff9a); box-shadow: 0 0 24px rgba(61,255,154,.7); }
.kb-b.hit { background: linear-gradient(180deg, #2fd980, #0f6b3c); box-shadow: 0 0 20px rgba(61,255,154,.7); }
.kb-w.miss { background: linear-gradient(180deg, #ffd0d0, #ff5a5a); } .kb-b.miss { background: linear-gradient(180deg, #ff7a7a, #8a1c1c); }
.kb-w.was { box-shadow: 0 0 0 3px var(--green), 0 0 26px rgba(61,255,154,.8); } .kb-b.was { box-shadow: 0 0 0 3px var(--green), 0 0 22px rgba(61,255,154,.8); }
.qf-play.is-hw .qf-bottom { margin-top: 30px; }
@media (max-width: 640px) { .kb { height: 130px; } .kb-l { font-size: 15px; padding-bottom: 5px; } .kb-b .kb-l { font-size: 9px; } .kb-w em { font-size: 9px; } }

/* the trail from a note to its key */
.qf-trail { position: absolute; left: 0; top: 0; pointer-events: none; animation: trail-fade .6s ease-out forwards; overflow: visible; }
.qf-trail line { stroke: var(--green); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(61,255,154,.9)); }
.qf-trail circle { fill: var(--green); filter: drop-shadow(0 0 10px rgba(61,255,154,1)); }
.qf-trail.fev line { stroke: var(--pink); filter: drop-shadow(0 0 8px rgba(255,61,127,.9)); } .qf-trail.fev circle { fill: var(--pink); }
@keyframes trail-fade { 0% { opacity: 1; } 60% { opacity: .85; } 100% { opacity: 0; } }

/* the right key fills green (not just an outline) */
.kb-w.was { background: linear-gradient(180deg, #b9ffd9, #3dff9a); box-shadow: 0 0 0 3px var(--green), 0 0 26px rgba(61,255,154,.8); }
.kb-b.was { background: linear-gradient(180deg, #2fd980, #0f6b3c); box-shadow: 0 0 0 3px var(--green), 0 0 22px rgba(61,255,154,.8); }
/* middle C stands out: gold key letter, a gold dot and a label under it */
.kb-w.mid-c { background: linear-gradient(180deg, #fff8dc, #f1e3a6); }
.kb-w.mid-c .kb-l { color: #8a6400; }
.kb-w .mc-dot { position: absolute; bottom: 38px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(255,216,107,.9); }
.kb-w em { bottom: -24px; font-size: 12px; letter-spacing: 1px; background: var(--gold); color: #1a1300; padding: 2px 8px; border-radius: 6px; }
.kb-w.mid-c.was, .kb-w.mid-c.hit { background: linear-gradient(180deg, #b9ffd9, #3dff9a); }
@media (max-width: 640px) { .kb-w .mc-dot { bottom: 26px; width: 9px; height: 9px; } .kb-w em { font-size: 9px; padding: 1px 5px; bottom: -20px; } }

/* the rule for the tier + 3-2-1 before the notes start */
.qf-intro { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; background: rgba(10,8,22,.78); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: intro-in .25s ease-out; }
.qf-intro.out { opacity: 0; transition: opacity .25s; }
@keyframes intro-in { from { opacity: 0; } }
.qf-intro-card { text-align: center; max-width: 520px; padding: 20px; }
.qf-intro-card .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #1a1300; background: var(--gold); border-radius: 8px; padding: 4px 12px; }
.qf-intro-card .big { font-size: clamp(40px, 7vw, 64px); margin: 12px 0 6px; color: #fff; text-shadow: 0 0 6px #fff, 0 0 18px var(--pink), 0 0 36px var(--pink); }
.qf-intro-card p { color: var(--dim); font-size: 16px; margin: 0 0 14px; }
.qf-intro-card .count { font-family: var(--display); font-size: 80px; line-height: 1; color: var(--cyan); text-shadow: 0 0 24px rgba(51,225,255,.8); }
.qf-intro-card .count.tick { animation: bump .35s ease-out; }

/* a plain press (and a MIDI key held down) dips the key without turning it green */
.kb-w:active, .kb-w.press, .kb-w.down { background: linear-gradient(180deg, #e9e6f7, #c4bfdc); }
.kb-b:active, .kb-b.press, .kb-b.down { background: linear-gradient(180deg, #4a4470, #2a2545); }
.qf-midi { display: inline-block; margin-left: 12px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--green); background: rgba(61,255,154,.12); border: 1px solid rgba(61,255,154,.35); }
