/* johnnyscore.com - mobile.css */

/* Everything in this file is mobile-only unless stated otherwise */

/* Hide side ad columns on mobile */
@media (max-width: 768px) {
    [class*="ad-col"] { display: none !important; }
}

/* Zero out old mobile menu padding */
@media (max-width: 768px) {
    #nnMobileMenu, .nn-mobile-menu { padding-top: 0 !important; }
}

/* Hide bottom tab bar everywhere */
.nn-bottom-tab-bar { display: none !important; }

/* ---- TOP BAR (mobile only) ---- */
.nn-mob-bar  { display: none; }
.nn-mob-drop { display: none; }
.nn-mob-ov   { display: none; }

@media (max-width: 768px) {
    body { padding-top: 52px !important; }

    .nn-mob-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0; left: 0; right: 0;
        height: 52px;
        background: #0d0d0d;
        border-bottom: 1px solid #222;
        z-index: 9000;
        padding: 0 14px;
        box-sizing: border-box;
    }
    .nn-mob-bar__logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    .nn-mob-bar__logo img {
        height: 28px;
        width: auto;
    }
    .nn-mob-bar__title {
        font-family: Arial, sans-serif;
        font-size: 13px;
        font-weight: 600;
        color: #ccc;
        text-transform: uppercase;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        pointer-events: none;
        white-space: nowrap;
    }
    .nn-mob-bar__burger {
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 9001;
    }
    .nn-mob-bar__burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #f5c842;
        border-radius: 2px;
        transition: all 0.25s ease;
    }
    .nn-mob-bar__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nn-mob-bar__burger.is-open span:nth-child(2) { opacity: 0; }
    .nn-mob-bar__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Dropdown */
    .nn-mob-drop {
        display: block;
        position: fixed;
        top: 52px; left: 0; right: 0;
        background: #111;
        border-bottom: 1px solid #333;
        z-index: 8999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nn-mob-drop.is-open { max-height: 400px; }
    .nn-mob-drop ul { list-style: none; margin: 0; padding: 8px 0; }
    .nn-mob-drop ul li a {
        display: block;
        padding: 13px 20px;
        font-family: Arial, sans-serif;
        font-size: 15px;
        font-weight: 600;
        color: #eee;
        text-decoration: none;
        border-bottom: 1px solid #1e1e1e;
        transition: background 0.15s;
    }
    .nn-mob-drop ul li:last-child a { border-bottom: none; }
    .nn-mob-drop ul li a:hover, .nn-mob-drop ul li a:active { background: #1a1a1a; color: #fff; }
    .nn-mob-drop ul li a.is-current { color: #e8171f; }
    .nn-mob-drop ul li a.is-mylist  { color: #f5c842; }

    /* Overlay */
    .nn-mob-ov {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 8998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }
    .nn-mob-ov.is-open { opacity: 1; pointer-events: all; }

    /* Calendar fixed elements - shift down 52px */
    .top-shield   { top: 52px  !important; }
    .top-bar      { top: 147px !important; }
    .watchlist-fixed { top: 164px !important; }
    .week-bar     { top: 213px !important; }
    .cal-date-header { top: 271px !important; }
}

/* ----------------------------------------------------------
   Artist circles — correct square + round on mobile
   ---------------------------------------------------------- */
@media (max-width: 768px) {
    .ap-card {
        width: 110px !important;
        flex-shrink: 0 !important;
    }
    .ap-img-wrap {
        width: 110px !important;
        height: 110px !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        display: block !important;
    }
    .ap-img,
    .ap-ph {
        width: 110px !important;
        height: 110px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        display: block !important;
    }
    .ap-name {
        width: 110px !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
    }
}
