/* Use the exact supplied wordmark alpha as a colorable mask; the original PNG stays unchanged. */
.material-ui header h1::before {content:none;}
.material-ui header h1 {gap:12px;flex-wrap:wrap;}
.material-ui header h1 .azure-wordmark {color:var(--accent);}
.azure-wordmark {display:inline-block;flex:none;width:126px;height:42px;line-height:0;vertical-align:middle;color:var(--accent);}
.azure-wordmark img {width:100%;height:100%;object-fit:contain;}
:root:not([data-theme="light"]) .azure-wordmark img {filter:brightness(0) invert(1);}
@supports (mask-image:url('azure-wordmark.png')) or (-webkit-mask-image:url('azure-wordmark.png')) {
 .azure-wordmark {background-color:currentColor;-webkit-mask:url('azure-wordmark.png') center/contain no-repeat;mask:url('azure-wordmark.png') center/contain no-repeat;}
 .azure-wordmark img {visibility:hidden;}
}
.material-ui header .sub {margin-left:0;}
.azure-wordmark,.material-ui header h1 span {transition:color 240ms ease,background-color 240ms ease;}
.material-ui,.material-ui header,.material-ui #mainNav,.material-ui .card,.material-ui .admin-module {transition:background-color 240ms ease,color 240ms ease;}
.version-transition {position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;
 background:linear-gradient(120deg,var(--switch-from),var(--switch-to));background-size:180% 180%;color:var(--text);
 --switch-from:#253229;--switch-to:#2b2534;animation:version-wash 360ms cubic-bezier(.2,0,0,1) both;}
:root[data-game="6rr"] .version-transition {--switch-from:#2b2534;--switch-to:#253229;}
:root[data-theme="light"] .version-transition {--switch-from:#e6f2e8;--switch-to:#f0eaf8;}
:root[data-theme="light"][data-game="6rr"] .version-transition {--switch-from:#f0eaf8;--switch-to:#e6f2e8;}
.version-transition .azure-wordmark {width:186px;height:62px;color:var(--accent);}
.version-transition p {margin:0;font-size:16px;color:var(--text-2);}
.version-switch-notice {max-width:1280px;margin:12px auto;padding:14px 20px;border-radius:12px;background:var(--accent-soft);color:var(--text);font-size:14px;line-height:1.8;}
:root[data-version-arrival] body {animation:version-arrive 260ms ease-out both;}
@keyframes version-wash {from {opacity:.35;background-position:0% 50%;}to {opacity:1;background-position:100% 50%;}}
@keyframes version-arrive {from{opacity:.8;}to{opacity:1;}}
@media(max-width:760px){.azure-wordmark{width:108px;height:36px}.material-ui header h1{gap:8px}.version-switch-notice{margin:12px 16px}}
@media(prefers-reduced-motion:reduce){.version-transition,:root[data-version-arrival] body{animation:none!important}.azure-wordmark,.material-ui,.material-ui header{transition:none!important}}
