/* Appearance popover must stack above advertisements and iframe creatives. */
html body > header:has(details#appearance[open]) { position:relative!important; z-index:2147483000!important; isolation:isolate!important; overflow:visible!important; transform:none!important; filter:none!important; }
html body > header:has(details#appearance[open]) nav,
html body > header:has(details#appearance[open]) details#appearance { position:relative!important; z-index:2147483001!important; overflow:visible!important; }
html body > header details#appearance[open] > .theme-panel { z-index:2147483002!important; isolation:isolate!important; }
/* Keep the refresh icon visible in both light and dark themes. */
html body .yf-admin-refresh-button { display:inline-flex!important; align-items:center!important; gap:9px!important; }
html body .yf-admin-refresh-button .yf-cache-refresh-symbol { display:inline-block!important; flex:0 0 17px!important; width:17px!important; height:17px!important; min-width:17px!important; min-height:17px!important; opacity:1!important; visibility:visible!important; background:currentColor!important; background-image:none!important; -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 11a8 8 0 0 0-14.9-4M4 4v4h4M4 13a8 8 0 0 0 14.9 4M20 20v-4h-4' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important; mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 11a8 8 0 0 0-14.9-4M4 4v4h4M4 13a8 8 0 0 0 14.9 4M20 20v-4h-4' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important; mask-size:contain!important; -webkit-mask-size:contain!important; mask-repeat:no-repeat!important; -webkit-mask-repeat:no-repeat!important; mask-position:center!important; -webkit-mask-position:center!important; }
html[data-theme="light"] .yf-admin-refresh-button, body[data-theme="light"] .yf-admin-refresh-button { color:#202c50!important; }
html[data-theme="dark"] .yf-admin-refresh-button, body[data-theme="dark"] .yf-admin-refresh-button { color:#f0f3ff!important; }
