/* Normalize the visible artwork, preserving the proportions of the original PNGs. */
.case-branch-nav {display:flex;gap:8px;width:min(100%,1850px);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 230px;align-items:center;justify-content:center;gap:14px;min-height:116px;padding:8px 12px;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:relative;display:block;flex:0 0 100px;width:100px;height:85.714286px;overflow:hidden;pointer-events:none;}
.case-branch-icon img {position:absolute;display:block;width:calc(100% * var(--art-width));height:auto;max-width:none;max-height:none;left:calc(100% * var(--art-left));top:calc(100% * var(--art-top));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;padding:6px;gap:4px;border-radius:14px;}
 .case-branch-link {flex-basis:204px;gap:12px;min-height:90px;padding:8px 10px;}
 .case-branch-icon {flex-basis:76px;width:76px;height:65.142857px;}
 .case-branch-text b {font-size:13px;}
 .case-branch-text small {font-size:10px;}
 .case-section[id^="case-branch-"] {scroll-margin-top:90px;}
}
@media(prefers-reduced-motion:reduce){.case-branch-link{transition:none;}}
