.jb-main { padding-bottom: 8px; }
.jb-hero { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; margin-top: 18px; }
@media (max-width: 760px) { .jb-hero { grid-template-columns: 1fr; } }
.jb-kicker { color: #b91c1c; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; margin: 6px 0 4px; }
.jb-title { font-size: 44px; line-height: 1.05; margin: 0 0 12px; color: #232048; }
.jb-title span { color: #b91c1c; }
.jb-rule { font-size: 19px; line-height: 1.45; color: #33305a; margin: 0 0 10px; }
.jb-sub { color: #5d5980; line-height: 1.5; margin: 0; }
.jb-console { min-width: 0; background: #fef2f2; border: 1px solid #fecaca; border-radius: 16px; padding: 16px; }
.jb-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; color: #7f1d1d; font-size: 15px; }
.jb-stats strong { color: #232048; }
.jb-stage { display: flex; flex-direction: column; justify-content: center; align-items: stretch; min-height: 170px; margin: 0 auto 14px; padding: 20px 14px; border-radius: 14px; background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 60%, #fde68a 100%); overflow: hidden; }
.jb-staff { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.jb-note { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #ffffff; border: 1px solid #d6a419; color: #7c2d12; font-weight: 700; font-size: 17px; }
.jb-note.jb-done { background: #166534; border-color: #166534; color: #ffffff; }
.jb-note.jb-next { background: #b91c1c; border-color: #b91c1c; color: #ffffff; box-shadow: 0 0 0 3px #fecaca; }
.jb-line { width: 100%; text-align: center; font-style: italic; color: #92400e; margin: 14px 0 0; }
.jb-bells { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 4px; }
.jb-bell { font: inherit; font-weight: 700; cursor: pointer; border-radius: 16px; border: 1px solid #b91c1c; background: #ffffff; color: #b91c1c; padding: 12px 0; min-width: 62px; min-height: 64px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.jb-bell:disabled { opacity: .45; cursor: default; }
.jb-bell:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.jb-bell-note { font-size: 22px; line-height: 1; }
.jb-key { font-weight: 400; color: #5d5980; font-size: 13px; }
.jb-bell.jb-wrong { animation: jb-shake .3s ease; }
@keyframes jb-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.jb-controls { display: flex; gap: 10px; margin: 14px 0 12px; flex-wrap: wrap; }
.jb-controls button { font: inherit; font-weight: 700; cursor: pointer; border-radius: 999px; border: 1px solid #b91c1c; background: #ffffff; color: #b91c1c; padding: 10px 18px; }
.jb-controls .jb-primary { background: #b91c1c; border-color: #b91c1c; color: #ffffff; }
.jb-controls button:disabled { opacity: .45; cursor: default; }
.jb-status { color: #5d5980; min-height: 24px; margin: 12px 0 0; }
.jb-hint { color: #5d5980; font-size: 14px; margin: 8px 0 0; }
@media (max-width: 760px) { .jb-console { display: flex; flex-direction: column; } .jb-stats { order: 1; } .jb-controls { order: 2; } .jb-stage { order: 3; } .jb-bells { order: 4; } .jb-status { order: 5; } .jb-hint { order: 6; } }
@media (max-width: 390px) { .jb-title { font-size: 36px; } .jb-console { padding: 12px; } .jb-stage { min-height: 150px; } .jb-note { width: 34px; height: 34px; font-size: 15px; } .jb-bell { min-width: 56px; min-height: 60px; } .jb-stats { font-size: 14px; gap: 12px; } .jb-controls button { padding: 8px 14px; font-size: 15px; } }
@media (max-width: 360px) { .jb-bell { min-width: 48px; } }
