.case-branch-nav {
    display: flex;
    gap: 8px;
    width: min(100%, 1540px);
    margin: 0 auto 30px;
    padding: 10px;
    border: 1px solid rgba(var(--accent-rgb, 34,197,94), .18);
    border-radius: 18px;
    background: linear-gradient(110deg, rgba(var(--accent-rgb, 34,197,94), .08), rgba(10,16,24,.95));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--accent-rgb, 34,197,94), .35) transparent;
}
.case-branch-link {
    position: relative;
    display: flex;
    flex: 1 0 220px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 78px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #e9edf3;
    text-decoration: none;
    transition: background .18s, border-color .18s;
}
.case-branch-link:hover, .case-branch-link.is-active {
    background: linear-gradient(135deg, rgba(var(--accent-rgb, 34,197,94), .24), rgba(var(--accent-rgb, 34,197,94), .08));
    border-color: rgba(var(--accent-rgb, 34,197,94), .45);
}
.case-branch-link:focus-visible { outline: 2px solid var(--accent, #22c55e); outline-offset: -2px; }
.case-branch-icon { position: absolute; left: 6px; display: grid; place-items: center; width: 72px; height: 72px; }
.case-branch-icon img { width: 100%; height: 100%; object-fit: contain; }
.case-branch-text { display: grid; gap: 4px; white-space: nowrap; text-align: center; }
.case-branch-text b { font-size: 14px; font-weight: 900; }
.case-branch-text small { color: #8893a3; font-size: 11px; font-weight: 600; }
.case-section[id^="case-branch-"] { scroll-margin-top: 24px; }
@media (max-width: 768px) {
    .case-branch-nav { margin-bottom: 22px; border-radius: 14px; padding: 6px; gap: 4px; }
    .case-branch-link { flex-basis: 200px; min-height: 66px; padding: 8px 12px; }
    .case-branch-icon { left: 4px; width: 56px; height: 56px; }
    .case-section[id^="case-branch-"] { scroll-margin-top: 90px; }
}
@media (prefers-reduced-motion: reduce) { .case-branch-link { transition: none; } }
