.bs-target-card {
    position: relative;
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: var(--r);
    background: var(--surface);
    padding: 20px 16px;
    text-align: center;
    margin-top: 16px;
}
.bs-corner { position: absolute; top: 14px; left: 18px; color: var(--accent); font-size: 12px; }
.bs-corner.right { left: auto; right: 18px; }
.bs-target-num { font-family: var(--mono); font-weight: 800; font-size: 56px; color: var(--ink); line-height: 1; margin-top: 8px; }
.bs-target-num sub { font-size: 16px; font-weight: 700; color: var(--muted); }

.bs-bits {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    margin-top: 18px;
}
.bs-bit {
    border: 1px solid var(--border-strong);
    border-radius: var(--r);
    background: var(--surface-2);
    padding: 10px 4px 8px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bs-bit .w { font-family: var(--mono); font-size: 12px; color: var(--muted); position: relative; }
.bs-bit .w .dot { position: absolute; top: -2px; right: 2px; color: var(--accent); font-size: 10px; }
.bs-bit .d { font-family: var(--mono); font-size: 28px; font-weight: 800; color: var(--text); margin: 4px 0; }
.bs-bit .u { height: 3px; border-radius: 2px; background: var(--border-strong); }
.bs-bit .p { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--muted); background: var(--surface); border-radius: 6px; padding: 2px 0; margin-top: 4px; }
.bs-bit.on { background: #0f2a63; border-color: #0f2a63; }
.bs-bit.on .w { color: #b9c7ef; }
.bs-bit.on .d { color: #ffffff; }
.bs-bit.on .u { background: var(--accent); }
.bs-bit.on .p { background: var(--accent-bg); color: #8a6a2a; }
.bs-bit:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.bs-sum-row {
    margin-top: 18px;
    padding: 14px 16px;
    background: var(--surface-2);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.bs-sum-value { font-family: var(--mono); font-weight: 800; font-size: 26px; color: var(--ink); }
.bs-sum-detail { flex: 1 1 auto; min-width: 160px; }

.bs-timer-wrap { margin-top: 16px; }
.bs-timer-track { height: 8px; border-radius: 5px; background: var(--border); margin-top: 6px; overflow: hidden; }
.bs-timer-fill { height: 100%; background: var(--primary); width: 100%; transition: width 0.1s linear; }
.bs-timer-fill.warn { background: var(--accent); }
.bs-timer-fill.danger { background: var(--danger); }

@media (max-width: 640px) {
    .bs-bits { grid-template-columns: repeat(4, 1fr); }
    .bs-target-num { font-size: 42px; }
    .bs-bit { min-height: 76px; }
    .bs-bit .d { font-size: 22px; }
}
