/* Shared Opera black/gold scrollbars. Keep OS high-contrast preferences usable. */
:root{scrollbar-color:#b99a36 #171713;scrollbar-width:thin}
*{scrollbar-color:#b99a36 #171713;scrollbar-width:thin}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:#171713}
::-webkit-scrollbar-thumb{background:#b99a36;border:2px solid #171713;border-radius:8px}
::-webkit-scrollbar-thumb:hover{background:#e0bf55}
::-webkit-scrollbar-corner{background:#171713}
html:has(dialog[open]),body:has(dialog[open]){overflow:hidden}
/* Hide popup chrome, but retain scrolling for zoomed text and small screens. */
.trailer-dialog{scrollbar-width:none;overflow-x:hidden}
.trailer-dialog::-webkit-scrollbar{display:none;width:0;height:0}
.trailer-dialog .trailer-player:has(iframe){width:100%;height:min(56.25vw,562px,calc(90dvh - 150px));min-height:100px;aspect-ratio:auto}
@media(forced-colors:active){*{scrollbar-color:auto}}
.sidebar-nav{scrollbar-color:#b99a36 #171713}.sidebar-nav::-webkit-scrollbar-thumb{background:#b99a36}.sidebar-nav::-webkit-scrollbar-track{background:#171713}
