.book-top{flex-wrap:wrap;gap:12px}.collection{display:grid;grid-template-columns:repeat(5,26px);gap:7px}.collection span{width:100%;height:26px;font-size:17px}
.finish-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;max-width:460px}.finish-cards button{width:100%;min-height:98px}
@media(max-width:680px){.collection{gap:5px}.collection span{height:24px;font-size:16px}.finish-cards{gap:8px}.finish-cards button{min-height:82px;font-size:34px}.finish-cards .review-pinyin{font-size:14px}.sample-brand small{font-size:11px}}
@media(max-width:360px){.glyph-toggle{top:4px;right:4px;width:44px;height:48px;padding:3px}.glyph-toggle img{width:36px;height:40px}}
.finish-mark{height:160px;display:grid;place-items:center;margin-bottom:18px}
.finish:not([hidden]) .finish-mark{animation:round-success .5s .16s ease-out both}
.round-fireworks{position:fixed;inset:0;z-index:20;pointer-events:none;overflow:hidden;--spread:clamp(62px,18vw,70px)}
.round-firework{position:absolute;width:0;height:0;color:var(--color)}
.round-firework::before{content:"";position:absolute;left:-1.5px;top:-14px;width:3px;height:18px;border-radius:50%;background:linear-gradient(transparent,currentColor);animation:firework-launch .22s var(--delay) ease-out both}
.round-firework::after{content:"";position:absolute;left:-14px;top:-14px;width:28px;height:28px;border:2px solid currentColor;border-radius:50%;box-shadow:0 0 0 5px #ffdc7122;animation:firework-ring .4s calc(var(--delay) + .16s) ease-out both}
.round-firework i{position:absolute;left:0;top:-1.5px;width:18px;height:3px;transform-origin:0 50%;background:linear-gradient(90deg,transparent,currentColor 65%);border-radius:99px;animation:firework-bloom 1.15s calc(var(--delay) + .16s) cubic-bezier(.12,.62,.18,1) both}
.round-firework i::after{content:"";position:absolute;right:0;top:-.5px;width:4px;height:4px;border-radius:50%;background:currentColor;box-shadow:0 0 4px #ffd56b88}
@keyframes round-success{0%{transform:scale(.7) rotate(-10deg)}55%{transform:scale(1.2) rotate(5deg)}100%{transform:scale(1) rotate(0)}}
@keyframes firework-launch{0%{opacity:0;transform:translateY(75px) scaleY(1.3)}30%{opacity:1}100%{opacity:0;transform:translateY(0) scaleY(.4)}}
@keyframes firework-ring{0%{opacity:1;transform:scale(.15)}100%{opacity:0;transform:scale(2.4)}}
@keyframes firework-bloom{0%{opacity:0;transform:translate(0,0) rotate(var(--angle)) scaleX(.2)}12%{opacity:1;transform:translate(calc(var(--dx)*var(--spread)*.5),calc(var(--dy)*var(--spread)*.5)) rotate(var(--angle)) scaleX(1.2)}45%{opacity:1;transform:translate(calc(var(--dx)*var(--spread)),calc(var(--dy)*var(--spread))) rotate(var(--angle)) scaleX(1)}70%{opacity:.85;transform:translate(calc(var(--dx)*var(--spread)*1.1),calc(var(--dy)*var(--spread)*1.1)) rotate(var(--angle)) scaleX(.6)}100%{opacity:0;transform:translate(calc(var(--dx)*var(--spread)*1.18),calc(var(--dy)*var(--spread)*1.18)) rotate(var(--angle)) scaleX(0)}}
@media(prefers-reduced-motion:reduce){.round-firework::before,.round-firework::after{display:none}.round-firework i{opacity:.8;transform:translate(calc(var(--dx)*var(--spread)),calc(var(--dy)*var(--spread))) rotate(var(--angle))}}
