.bs-main { padding-bottom: 8px; }
.bs-hero { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; margin-top: 18px; }
@media (max-width: 760px) { .bs-hero { grid-template-columns: 1fr; } }
.bs-kicker { color: #0369a1; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; margin: 6px 0 4px; }
.bs-title { font-size: 44px; line-height: 1.05; margin: 0 0 12px; color: #232048; }
.bs-title span { color: #0369a1; }
.bs-rule { font-size: 19px; line-height: 1.45; color: #33305a; margin: 0 0 10px; }
.bs-note { color: #5d5980; line-height: 1.5; margin: 0; }
.bs-console { min-width: 0; background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 16px; padding: 16px; }
.bs-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; color: #075985; font-size: 15px; }
.bs-stats strong { color: #232048; }
.bs-tray { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; background: #ffffff; border: 1px solid #bae6fd; border-radius: 12px; padding: 16px; margin-bottom: 12px; min-height: 132px; }
.bs-button { width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer; padding: 0; color: rgba(255, 255, 255, .95); font-size: 22px; font-weight: 700; transition: transform .12s ease, opacity .12s ease; }
.bs-button:disabled { cursor: default; }
.bs-button.bs-sorted { transform: scale(.4); opacity: 0; pointer-events: none; }
.bs-red { background: #dc2626; }
.bs-blue { background: #2563eb; }
.bs-green { background: #16a34a; }
.bs-gold { background: #d97706; }
.bs-jars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.bs-jar { display: flex; flex-direction: column; align-items: center; gap: 2px; background: #ffffff; border: 2px solid #bae6fd; border-radius: 12px; padding: 10px 4px 8px; color: #33305a; }
.bs-jar-dot { font-size: 20px; line-height: 1; }
.bs-jar-red .bs-jar-dot { color: #dc2626; }
.bs-jar-blue .bs-jar-dot { color: #2563eb; }
.bs-jar-green .bs-jar-dot { color: #16a34a; }
.bs-jar-gold .bs-jar-dot { color: #d97706; }
.bs-jar-label { font-size: 13px; font-weight: 700; }
.bs-jar-count { font-size: 13px; color: #5d5980; }
.bs-controls { display: flex; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.bs-controls button { font: inherit; font-weight: 700; cursor: pointer; border-radius: 999px; border: 1px solid #0369a1; background: #ffffff; color: #0369a1; padding: 10px 18px; }
.bs-controls .bs-primary { background: #0369a1; border-color: #0369a1; color: #ffffff; }
.bs-controls button:disabled { opacity: .45; cursor: default; }
.bs-status { color: #5d5980; min-height: 24px; margin: 12px 0 0; }
.bs-hint { color: #5d5980; font-size: 14px; margin: 8px 0 0; }
@media (max-width: 760px) { .bs-console { display: flex; flex-direction: column; } .bs-stats { order: 1; } .bs-tray { order: 2; } .bs-jars { order: 3; } .bs-controls { order: 4; } .bs-status { order: 5; } .bs-hint { order: 6; } }
@media (max-width: 390px) { .bs-title { font-size: 36px; } .bs-console { padding: 12px; } .bs-button { width: 48px; height: 48px; font-size: 19px; } .bs-tray { min-height: 116px; padding: 12px; gap: 8px; } .bs-jar-label { font-size: 12px; } }
