:root {
    --hkc-yellow: #FFD700;
    --hkc-dark: #333333;
    --hkc-gray: #666666;
    --hkc-white: #FFFFFF;
}

body {
    padding-bottom: 100px;
    background-color: #f8f8f8;
    color: var(--hkc-dark);
}

.hkc-nav {
    background-color: var(--hkc-dark);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hkc-nav .nav-link {
    color: var(--hkc-white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.hkc-nav .nav-link:hover {
    color: var(--hkc-yellow) !important;
}

#player-bar {
    background: var(--hkc-dark);
    border-top: 3px solid var(--hkc-yellow);
    color: var(--hkc-white);
    padding: 15px 0;
}

#radio-player {
    width: 100%;
    height: 40px;
}

.hkc-btn {
    background-color: var(--hkc-yellow) !important;
    border: none;
    color: var(--hkc-dark) !important;
    font-weight: bold;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.hkc-btn:hover {
    background-color: #ffd900 !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.schedule-container {
    background: var(--hkc-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.day-selector {
    background: var(--hkc-dark);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.day-selector .btn {
    background: transparent;
    color: var(--hkc-white);
    border: 2px solid var(--hkc-yellow);
    margin: 5px;
    transition: all 0.3s ease;
}

.day-selector .btn.active,
.day-selector .btn:hover {
    background: var(--hkc-yellow);
    color: var(--hkc-dark);
}

.schedule-item {
    border-left: 4px solid var(--hkc-yellow);
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f8f8;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hkc-schedule-day-title {
    color: var(--hkc-dark);
    border-bottom: 2px solid var(--hkc-yellow);
    padding-bottom: 0.4rem;
    margin: 1.25rem 0 1rem;
}

.hkc-schedule-refresh-status {
    color: var(--hkc-white);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.35rem;
}

.schedule-item.current-show {
    border-left-width: 7px;
    box-shadow: 0 0 0 2px rgba(255, 213, 0, 0.32), 0 3px 10px rgba(0,0,0,0.12);
}

.hkc-on-air-badge {
    display: inline-block;
    background: var(--hkc-yellow);
    color: var(--hkc-dark);
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.55rem;
    margin-bottom: 0.45rem;
    border-radius: 0.2rem;
}

.admin-panel {
    background: var(--hkc-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.admin-panel h2 {
    color: var(--hkc-dark);
    border-bottom: 3px solid var(--hkc-yellow);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    #player-bar .container {
        max-width: 100%;
    }
    
    #player-bar .row {
        flex-direction: column;
        text-align: center;
    }
    
    #player-bar .col-md-4,
    #player-bar .col-md-6,
    #player-bar .col-md-2 {
        margin-bottom: 10px;
    }
    
    .day-selector {
        overflow-x: auto;
        white-space: nowrap;
        padding: 15px 5px;
    }
}

/* Archive list from archives.hkcradio.com ([hkc_archives], rendered on show pages).
   The embed is unclassed semantic HTML, so style it by its data attribute.
   Added 2026-12-04. */
[data-hkc-archive] { margin-top: 1.5rem; }
[data-hkc-archive] > h2 { font-size: 1.5rem; border-top: 3px solid var(--hkc-yellow); padding-top: 1rem; margin-top: 1rem; }
[data-hkc-archive] fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
[data-hkc-archive] legend { font-size: 1rem; font-weight: 600; float: none; width: auto; margin-bottom: .5rem; }
[data-hkc-archive] button { background: var(--hkc-white); color: var(--hkc-dark); border: 2px solid var(--hkc-yellow); border-radius: .375rem; padding: .3rem .9rem; font-weight: 600; margin-right: .25rem; }
[data-hkc-archive] button[aria-pressed="true"] { background: var(--hkc-yellow); }
[data-hkc-archive] button:focus-visible { outline: 3px solid var(--hkc-dark); outline-offset: 2px; }
[data-hkc-archive] article { padding: .75rem 0; border-bottom: 1px solid #e5e5e5; }
[data-hkc-archive] article h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .25rem; }
[data-hkc-archive] article p { margin: 0; }

/* Standard skip link (2026-12-04): hidden until focused, then pinned top-left above everything. */
.hkc-skip-link:focus, .hkc-skip-link:focus-visible { position:absolute; top:.5rem; left:.5rem; z-index:1100; background:#fff; color:#242628; padding:.75rem 1.25rem; font-weight:600; outline:3px solid #005fcc; outline-offset:2px; }
#main-content:focus { outline:none; }
