/* ── Live On Stage Custom Styles ── */

/* Override Customify container width */
.customify-container,
.customify-grid,
#site-content .customify-container {
    max-width: 95% !important;
    width: 95% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Homepage layout */
.los-home {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.los-home-grid {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 30px;
    align-items: start;
}

.los-player-area {
    min-width: 0;
}

.los-player-area .fv-player-wrap {
    width: 100% !important;
}

.los-fallback-text {
    text-align: center;
    margin-top: 12px;
    font-size: 0.95rem;
    color: #555;
}

.los-fallback-text a {
    text-decoration: underline;
    font-weight: 600;
}

/* Support buttons row */
.los-support-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.los-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 0 #000, 0 5px 10px rgba(0,0,0,.2);
    transition: transform .1s, box-shadow .1s;
}

.los-btn:hover,
.los-btn:focus {
    color: #fff;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #000, 0 3px 6px rgba(0,0,0,.2);
}

.los-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Sidebar tips */
.los-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.los-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
    font-size: 0.95rem;
    line-height: 1.4;
}

.los-tip img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

/* AirPlay link card */
.los-airplay-link {
    text-align: center;
    padding: 14px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
}

.los-airplay-link p {
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.los-airplay-link img {
    width: 120px;
    height: auto;
    transition: transform .2s;
}

.los-airplay-link a:hover img {
    transform: scale(1.05);
}

/* Tech support line */
.los-tech-support {
    text-align: center;
    font-size: 0.9rem;
    padding: 10px 14px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
}

.los-tech-support a {
    font-weight: 600;
}

/* ── Airplay instructions page ── */
.los-airplay {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
}

.los-airplay h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    text-decoration: underline;
}

.los-airplay .los-step {
    margin: 30px 0;
}

.los-airplay .los-step p {
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.los-airplay .los-step img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.los-airplay .los-step img.los-airplay-icon {
    width: 120px;
}

.los-airplay .los-step img.los-airplay-screenshot {
    max-width: 280px;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}

.los-airplay .los-apple-link {
    margin-top: 30px;
    font-size: 1.05rem;
}

.los-airplay .los-apple-link a {
    font-weight: 600;
    text-decoration: underline;
}

/* ── Hide theme header & page header ── */
#masthead,
.site-header,
#page-cover,
.page-header-cover {
    display: none !important;
}

/* ── Minimal footer ── */
.los-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    text-align: center;
    padding: 8px 20px;
    font-size: 0.75rem;
    color: #999;
    background: #222;
    margin: 0;
    box-sizing: border-box;
}

.los-footer p {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.los-footer a {
    color: #ccc;
    text-decoration: none;
}

.los-footer a:hover {
    color: #fff;
}

#page {
    padding-bottom: 32px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .los-home-grid {
        grid-template-columns: 1fr;
    }

    .los-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .los-tip,
    .los-airplay-link,
    .los-tech-support {
        flex: 1 1 200px;
    }
}

@media (max-width: 500px) {
    .los-support-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .los-btn {
        justify-content: center;
    }

    .los-sidebar {
        flex-direction: column;
    }
}
