.platform-header {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px; align-items: center; background: #080808;
    border-color: rgba(212, 175, 55, .35);
}
.platform-header .platform-brand { grid-column: 1 / -1; text-align: center; min-width: 0; }
.platform-brand h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.15; letter-spacing: .1em; color: #e6c65c; }
.platform-brand p { margin: 8px 0 4px; color: #bcb7a8; font-size: clamp(.8rem, 2vw, 1rem); line-height: 1.5; }
.platform-header > nav { min-width: 0; justify-content: center; }
.platform-header > .account-btn { justify-self: end; }
.platform-header .lang-options { max-width: calc(100vw - 32px); }
.platform-nav-links, .platform-nav-utilities { display: contents; }
.platform-nav-links { order: 0; }
.platform-nav-links .partner-radio-menu-link { display: none; }
.platform-header #langSwitch { order: 1; }
.platform-header #admin-system-link { order: 2; }
.platform-header #account-link { order: 3; }
.mobile-menu-toggle { display: none; }
@media (max-width: 599px), (orientation: landscape) and (max-height: 500px) {
    .platform-nav-links .partner-radio-menu-link { display: inline-flex; align-items: center; }
}
img[aria-haspopup="dialog"] { cursor: zoom-in; }
#catalog-view { color: #f3f0e7; }
.catalog-artist-card .artist-card-news { color: #e6c65c; font-size: .85rem; padding: .4rem 0; }
#catalog-view h1, #catalog-view h2, #catalog .track-card h3 { color: #e6c65c; }
#catalog-view input, #catalog-sort {
    max-width: 100%; color: #f3f0e7; background: #111; border: 1px solid #8c7436;
    border-radius: 8px; padding: 10px 12px; min-height: 44px;
}
.catalog-sort-label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 12px 16px; }
#catalog .track-card {
    background: linear-gradient(150deg, #17150f, #090909); border-color: rgba(212, 175, 55, .4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
#catalog .track-card p, #catalog-count { color: #bcb7a8; }
#catalog .track-card img { border: 1px solid rgba(212, 175, 55, .3); }
#catalog-view button {
    color: #e6c65c; background: #15130e; border: 1px solid #8c7436; border-radius: 8px;
}
#catalog-view button:hover:not(:disabled) { background: #292212; border-color: #e6c65c; }
#catalog-view :is(button, input, select):focus-visible { outline: 2px solid #e6c65c; outline-offset: 3px; }
@media (max-width: 599px) {
    .catalog-sort-label { display: flex; margin-inline-start: 0; }
}
img[aria-haspopup="dialog"]:focus-visible { outline: 2px solid #e6c65c; outline-offset: 3px; }
.catalog-card-art img[aria-haspopup="dialog"] { position: relative; z-index: 2; }
.artwork-viewer {
    position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh;
    max-width: 100vw; max-height: 100vh; max-height: 100dvh;
    margin: 0; padding: 64px 16px 16px; border: 0; background: rgba(0, 0, 0, .94); color: #eee;
    overflow: hidden;
}
.artwork-viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 8px; }
.artwork-viewer::backdrop { background: rgba(0, 0, 0, .85); }
.artwork-viewer > img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; min-height: 0; }
.artwork-viewer > img[hidden], .artwork-viewer > p[hidden] { display: none; }
.artwork-viewer-close {
    position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right));
    min-height: 44px; max-width: calc(100% - 32px); padding: 8px 16px;
    color: #e6c65c; background: #15130e; border: 1px solid #b69539; border-radius: 8px; cursor: pointer;
}
@media (max-width: 599px) {
    .platform-header {
        grid-template-columns: 44px 44px minmax(0, 1fr) auto;
        grid-template-areas: "menu language brand account";
        gap: 8px;
        padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    }
    .platform-header .platform-brand {
        position: absolute;
        top: 34px;
        left: 50%;
        grid-column: auto;
        grid-row: auto;
        width: max-content;
        max-width: calc(100% - 148px);
        transform: translate(-50%, -50%);
    }
    .platform-brand h1 { font-size: 1.65rem; }
    .platform-brand p { display: none; }
    .mobile-menu-toggle {
        grid-area: menu;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-height: 44px;
        padding: 0;
        font-size: 1.4rem;
    }
    .platform-header > nav { display: contents; }
    .platform-nav-utilities { display: contents; }
    .platform-nav-links {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 8px;
        border: 1px solid rgba(212, 175, 55, .35);
        border-radius: 12px;
        background: #15130e;
    }
    .platform-header.mobile-menu-open .platform-nav-links { display: flex; }
    .platform-nav-links a { width: 100%; min-height: 44px; }
    .platform-header .lang-switch { grid-area: language; position: static; }
    .platform-header .lang-main-btn {
        min-width: 44px;
        width: 44px;
        justify-content: center;
        padding: 0;
    }
    .platform-header #langMainLabel { display: none; }
    .platform-header #account-link {
        grid-area: account;
        justify-self: auto;
        margin-inline-start: 0;
        min-height: 44px;
        padding-inline: 10px;
    }
    .platform-header .lang-options {
        right: max(12px, env(safe-area-inset-right));
        max-width: calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right));
    }
}
.schedule-intro { max-width: 900px; margin: 8px auto 24px; text-align: center; }
.schedule-intro h1 {
    margin: 0 0 10px; color: #e6c65c; font-size: clamp(1.7rem, 3vw, 2.6rem);
    text-shadow: 0 0 18px rgba(212, 175, 55, .16);
}
.schedule-intro > p { margin: 0; color: #bcb7a8; line-height: 1.6; }
.schedule-date-box {
    display: inline-grid; gap: 4px; margin-top: 16px; padding: 10px 16px;
    border: 1px solid rgba(212, 175, 55, .35); border-radius: 10px; background: #15130e;
    color: #bcb7a8; font-size: .9rem;
}
.schedule-date-box time { color: #e6c65c; font-weight: 800; }
#schedule-live-status { min-height: 1.5em; text-align: center; color: #e6c65c; }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.schedule-tile {
    position: relative; display: block; width: 100%; min-height: 190px; padding: 24px;
    border: 1px solid rgba(212, 175, 55, .35); border-radius: 12px;
    background: linear-gradient(145deg, #15130e, #090909);
    color: #f3f0e7; text-align: left; cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.schedule-tile:hover { transform: translateY(-3px); border-color: #e6c65c; }
.schedule-tile .schedule-time { display: block; margin-bottom: 12px; color: #e6c65c; font-weight: 800; letter-spacing: .05em; }
.schedule-tile h2 { margin: 0 0 12px; color: #f3f0e7; font-size: 1.25rem; text-transform: uppercase; }
.schedule-description { margin: 0; color: #bcb7a8; font-size: .95rem; line-height: 1.55; }
.schedule-tile.is-on-air {
    border: 2px solid #e6c65c;
    animation: schedule-on-air-border 2.8s ease-in-out infinite;
}
.schedule-on-air {
    position: absolute; top: 15px; right: 15px; padding: 4px 8px;
    border: 1px solid #e6c65c; border-radius: 999px;
    background: #15130e; color: #e6c65c;
    font-size: .7rem; font-weight: 900; letter-spacing: .08em;
}
.schedule-on-air[hidden] { display: none; }
.schedule-special-label { display: block; margin-top: 16px; color: #e6c65c; font-size: .75rem; font-weight: 900; letter-spacing: .1em; }
.schedule-home { display: flex; justify-content: center; margin: 30px 0 12px; }
.schedule-home button, .schedule-detail-nav button {
    min-height: 44px; padding: 12px 18px; border: 1px solid rgba(212, 175, 55, .35);
    border-radius: 8px; background: #15130e; color: #e6c65c; font-weight: 800;
}
.schedule-detail { max-width: 900px; margin: 0 auto; }
.schedule-detail-nav { margin-bottom: 20px; }
.schedule-detail-heading {
    padding: 30px; border: 1px solid rgba(212, 175, 55, .35); border-radius: 12px;
    background: #15130e; text-align: center;
}
.schedule-detail-heading .schedule-time { color: #e6c65c; font-weight: 800; }
.schedule-detail-heading h1 { margin: 10px 0 12px; text-transform: uppercase; }
.schedule-detail-heading p { margin: 0; color: #bcb7a8; line-height: 1.6; }
.schedule-playlist-section h2 { margin: 28px 0 12px; color: #e6c65c; text-align: center; }
.schedule-playlist {
    list-style: none; margin: 0; padding: 0; overflow: hidden;
    border: 1px solid rgba(212, 175, 55, .35); border-radius: 12px; background: #15130e;
}
.schedule-playlist li { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 13px 16px; border-bottom: 1px solid rgba(212, 175, 55, .16); line-height: 1.35; }
.schedule-playlist li:last-child { border-bottom: 0; }
.schedule-playlist strong { color: #e6c65c; }
.schedule-empty { padding: 22px; border: 1px solid rgba(212, 175, 55, .35); border-radius: 12px; background: #15130e; color: #bcb7a8; text-align: center; }
.schedule-error { color: #ffb4a8; border-color: #ffb4a8; }
@keyframes schedule-on-air-border {
    0%, 100% { box-shadow: 0 0 0 1px rgba(212, 175, 55, .85), 0 0 12px rgba(212, 175, 55, .2); }
    50% { box-shadow: 0 0 0 2px rgba(212, 175, 55, 1), 0 0 20px rgba(212, 175, 55, .38); }
}
@media (max-width: 700px) {
    .schedule-grid { grid-template-columns: 1fr; }
    .schedule-tile { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .schedule-tile.is-on-air { animation: none; }
}
