.admin-body #mlView, .login-page #mlView { display:contents; }

.brand-sequence {
    display:inline-grid; vertical-align:middle; width:var(--brand-width);
    max-width:100%; min-width:0; aspect-ratio:var(--brand-ratio);
}
.brand-sequence > .brand-image {
    grid-area:1 / 1; display:block; width:100%; height:100%; min-width:0; min-height:0;
    object-fit:contain; opacity:0; transition:opacity .62s ease;
}
.brand-sequence > .brand-image.is-current { opacity:1; }
.site-header .brand-store_header { width:150px; }
.logo-credit > .brand-sequence { flex:none; opacity:.4; filter:grayscale(1) brightness(2); }
.console-credit > .brand-sequence { opacity:.62; filter:grayscale(1); }
.logo-credit:is(:focus-visible,:active,.is-activated) > .brand-sequence { opacity:1; filter:none; }
@media (hover:hover) {
    .logo-credit:hover > .brand-sequence { opacity:1; filter:none; }
}
@media (prefers-reduced-motion:no-preference) {
    .logo-credit > .brand-sequence { transition:opacity .3s ease, filter .3s ease, transform .16s ease; }
    .logo-credit:active > .brand-sequence { transform:scale(.95); }
    .logo-credit.is-activated > .brand-sequence {
        transition-duration:.16s;
        animation:credit-press .28s ease-out;
    }
}
@keyframes credit-press {
    0% { transform:scale(.95); }
    60% { transform:translateY(-1px) scale(1.04); }
    100% { transform:none; }
}
.admin-footer .console-credit > span:first-child, .login-developer.console-credit > span:first-child { color:#566260; }

.login-access-tools { position:absolute; z-index:3; top:28px; right:40px; display:flex; align-items:center; gap:15px; }
.login-access-tools .login-back { position:static; color:#4e5957; }
.admin-header-title, .admin-header-title > div { min-width:0; }
.admin-header-title strong { overflow-wrap:anywhere; }
.ml-radio.console-radio-button {
    display:inline-flex; align-items:center; justify-content:center; gap:7px;
    width:auto; min-width:40px; height:40px; padding:0 10px; border:1px solid #dfe4dd; border-radius:7px;
    color:#243630; background:#fff; font-weight:750; font-size:11px; white-space:nowrap;
}
.console-radio-button .icon { width:16px; height:16px; }
.ml-radio.console-radio-button.is-playing { background:#fff0ae; border-color:#ddc467; color:#524200; }
.console-radio-button:hover { border-color:#9a8650; }

.music-dialog { width:min(480px,calc(100% - 28px)); }
.music-dialog h2 { margin:0; font-size:clamp(31px,6vw,46px); }
.radio-body { padding:20px 24px 26px; display:grid; gap:14px; }
.radio-track { display:grid; grid-template-columns:64px minmax(0,1fr); gap:13px; align-items:center; }
.radio-track img { width:64px; height:64px; object-fit:cover; border-radius:9px; background:#f0eee5; }
.radio-track label { display:grid; min-width:0; gap:6px; margin:0; font-size:13px; font-weight:800; }
.radio-track select { width:100%; min-width:0; margin:0; padding:10px 12px; border-radius:7px; font-size:16px; text-overflow:ellipsis; }
.radio-body #radioSeek { margin:15px 0 0; width:100%; accent-color:#bc8900; padding:0; }
.radio-clock { display:flex; justify-content:space-between; color:#5d635f; font-size:11px; font-variant-numeric:tabular-nums; }
.radio-buttons { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:10px; margin-top:13px; }
.radio-buttons > .icon-button { min-width:40px; min-height:40px; background:#f2f4ef; border-radius:7px; }
.radio-buttons button:disabled { opacity:.45; }

.brand-placement { margin-bottom:20px; }
.brand-admin-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:18px; align-items:start; }
.brand-file-list { display:grid; gap:7px; margin-bottom:20px; }
.brand-file-row {
    display:grid; grid-template-columns:minmax(52px,1fr) minmax(54px,88px) auto; align-items:center;
    gap:12px; padding:8px; background:#f6f8f4; border:1px solid #e3e8df; border-radius:6px;
}
.brand-file-row label { margin:0; min-width:0; }
.brand-file-row input[type=number] { min-width:0; width:100%; padding:7px 8px; margin-top:3px; }
.brand-file-remove { display:flex; align-items:center; gap:5px; white-space:nowrap; }
.brand-file-preview { display:grid; justify-items:center; align-items:center; padding:4px; min-width:0; background:#fff; border-radius:5px; }
.brand-file-preview img { width:88px; height:44px; object-fit:contain; }
.brand-upload { padding:13px 13px 0; background:#f6f8f4; border:1px solid #e3e8df; border-radius:7px; margin-bottom:16px; }
.brand-editor input[type=file] { max-width:100%; }
.brand-seconds input { width:min(100%,130px); }
.brand-preview-surface { display:grid; place-items:center; min-height:130px; padding:15px; border:1px solid #dfe4dc; border-radius:8px; margin-bottom:10px; }
.brand-on-dark { background:#1b211f; }
#mlNavigationStatus:not([hidden]) {
    position:fixed; right:18px; bottom:18px; z-index:150; max-width:min(420px,calc(100% - 36px));
    padding:12px 16px; background:#16221d; color:#fff; border-radius:8px; font-size:12px;
}

@media (max-width:960px) { .site-header .brand-store_header { width:130px; } }
@media (max-width:820px) { .brand-admin-layout { grid-template-columns:minmax(0,1fr); gap:0; } }
@media (max-width:700px) {
    .site-header .brand-store_header, .login-art .brand-login_mark { width:108px; }
    .brand-store_credit { width:93px; }
    .brand-admin_credit { width:95px; }
    .brand-login_credit { width:110px; }
    .login-access-tools { top:12px; right:24px; }
    .login-art { height:auto; min-height:215px; padding-bottom:24px; }
    .login-statement h1 { font-size:clamp(32px,10vw,48px); }
    .login-statement h1 br:nth-child(2) { display:inline; }
    .admin-header-right .console-radio-button > span { display:none; }
    .admin-header-right .console-radio-button { padding:0 7px; min-width:37px; height:37px; }
}
@media (prefers-reduced-motion:reduce) {
    .brand-sequence > .brand-image, .logo-credit > .brand-sequence { transition:none; }
}
