/* v2.6.640 — Open Play + Tournament card polish for venue, archive, desktop, and mobile views */
html body:not(.wp-admin) .picklehub-venue-events-source-aligned,
html body:not(.wp-admin) .picklehub-venue-events-direct-render,
html body:not(.wp-admin) [data-picklehub-venue-events-source="1"]{
    width:min(1120px,calc(100vw - 32px))!important;
    max-width:100%!important;
    margin:18px auto!important;
    padding:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
}
html body:not(.wp-admin) .picklehub-venue-events-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
    align-items:start!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
}
html body:not(.wp-admin) .picklehub-venue-event-card,
html body:not(.wp-admin) .picklehub-venue-open-play-card,
html body:not(.wp-admin) .picklehub-venue-tournament-card,
html body:not(.wp-admin) [data-picklehub-direct-open-play-card="1"],
html body:not(.wp-admin) [data-picklehub-direct-tournaments-card="1"]{
    display:block!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:20px!important;
    border:1px solid rgba(15,23,42,.09)!important;
    border-radius:24px!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fffc 100%)!important;
    box-shadow:0 16px 38px rgba(15,43,31,.07)!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
}
html body:not(.wp-admin) .picklehub-venue-event-card::before,
html body:not(.wp-admin) .picklehub-venue-open-play-card::before,
html body:not(.wp-admin) .picklehub-venue-tournament-card::before{
    display:none!important;
    content:none!important;
}
html body:not(.wp-admin) .picklehub-venue-event-card-head,
html body:not(.wp-admin) .picklehub-venue-event-card > h2 + .picklehub-homepage-event-head-link{
    margin-bottom:10px!important;
}
html body:not(.wp-admin) .picklehub-venue-event-card-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
}
html body:not(.wp-admin) .picklehub-venue-event-card-head span,
html body:not(.wp-admin) .picklehub-marketplace-eyebrow{
    display:inline-flex!important;
    width:max-content!important;
    max-width:100%!important;
    padding:6px 10px!important;
    border-radius:999px!important;
    background:#ecfdf5!important;
    color:#047857!important;
    border:1px solid rgba(16,185,129,.18)!important;
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
    line-height:1!important;
}
html body:not(.wp-admin) .picklehub-venue-event-card-head strong{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 34px!important;
    width:34px!important;
    height:34px!important;
    border-radius:999px!important;
    background:#dcfce7!important;
    color:#166534!important;
    font-size:18px!important;
    font-weight:950!important;
}
html body:not(.wp-admin) .picklehub-venue-event-card h2,
html body:not(.wp-admin) .picklehub-venue-event-card .picklehub-venue-event-card-head + h2{
    margin:8px 0 14px!important;
    color:#0f172a!important;
    font-size:clamp(21px,2vw,28px)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
    font-weight:950!important;
}
html body:not(.wp-admin) .picklehub-homepage-event-head-link{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    padding:7px 12px!important;
    border-radius:999px!important;
    background:#f0fdfa!important;
    color:#0f766e!important;
    border:1px solid rgba(20,184,166,.18)!important;
    font-size:12px!important;
    font-weight:900!important;
    text-decoration:none!important;
    box-shadow:none!important;
}
html body:not(.wp-admin) .picklehub-venue-event-list.is-visible,
html body:not(.wp-admin) .picklehub-venue-event-list{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%!important;
    margin-top:12px!important;
    overflow:visible!important;
}
html body:not(.wp-admin) .picklehub-event-status-group{
    display:grid!important;
    gap:12px!important;
    width:100%!important;
    min-width:0!important;
}
html body:not(.wp-admin) .picklehub-event-status-group > h4{
    display:none!important;
}
html body:not(.wp-admin) a.picklehub-venue-event-row,
html body:not(.wp-admin) a[data-picklehub-event-venue-link="1"].picklehub-venue-event-row,
html body:not(.wp-admin) .picklehub-venue-event-row-visible{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    padding:16px!important;
    border:1px solid rgba(15,23,42,.08)!important;
    border-radius:20px!important;
    background:linear-gradient(135deg,#ffffff 0%,#f0fdf4 100%)!important;
    color:#0f172a!important;
    box-shadow:0 10px 24px rgba(15,43,31,.055)!important;
    text-decoration:none!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    transform:none!important;
}
html body:not(.wp-admin) a.picklehub-venue-event-row:hover,
html body:not(.wp-admin) a[data-picklehub-event-venue-link="1"].picklehub-venue-event-row:hover{
    transform:translateY(-1px)!important;
    box-shadow:0 16px 30px rgba(15,43,31,.09)!important;
    border-color:rgba(16,185,129,.28)!important;
}
html body:not(.wp-admin) .picklehub-venue-event-row[data-picklehub-dedicated-join-url="1"]::after,
html body:not(.wp-admin) .picklehub-venue-event-row[data-picklehub-event-join-link="open-play"][data-picklehub-dedicated-join-url="1"]::after,
html body:not(.wp-admin) .picklehub-venue-event-row[data-picklehub-event-join-link="tournament"][data-picklehub-dedicated-join-url="1"]::after,
html body:not(.wp-admin) .picklehub-venue-event-row[data-picklehub-simulation-event="1"]::after,
html body:not(.wp-admin) a[data-picklehub-simulation-event="1"]::after{
    display:none!important;
    content:none!important;
}
html body:not(.wp-admin) .picklehub-venue-event-row-top{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
}
html body:not(.wp-admin) .picklehub-venue-event-row-top strong,
html body:not(.wp-admin) .picklehub-venue-event-row strong{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    color:#0f172a!important;
    font-size:clamp(17px,1.65vw,23px)!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
    font-weight:950!important;
    overflow-wrap:anywhere!important;
}
html body:not(.wp-admin) .picklehub-venue-event-row-top em{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 auto!important;
    max-width:100%!important;
    padding:6px 10px!important;
    border-radius:999px!important;
    background:#dcfce7!important;
    color:#166534!important;
    border:1px solid rgba(34,197,94,.18)!important;
    font-size:12px!important;
    font-style:normal!important;
    font-weight:950!important;
    line-height:1!important;
    white-space:nowrap!important;
}
html body:not(.wp-admin) .picklehub-venue-event-row small{
    display:block!important;
    margin:0!important;
    color:#64748b!important;
    font-size:13.5px!important;
    line-height:1.35!important;
    font-weight:800!important;
}
html body:not(.wp-admin) .picklehub-venue-event-row-meta{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    margin:2px 0 0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
}
html body:not(.wp-admin) .picklehub-venue-event-row-meta b,
html body:not(.wp-admin) .picklehub-event-join-pill{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:32px!important;
    max-width:100%!important;
    padding:7px 12px!important;
    border-radius:999px!important;
    border:1px solid rgba(15,23,42,.08)!important;
    background:#ecfdf5!important;
    color:#166534!important;
    font-size:12.5px!important;
    font-weight:950!important;
    line-height:1!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
}
html body:not(.wp-admin) .picklehub-event-join-pill{
    margin-left:auto!important;
    background:#0f766e!important;
    color:#ffffff!important;
    border-color:#0f766e!important;
    box-shadow:0 10px 20px rgba(15,118,110,.16)!important;
}

html body:not(.wp-admin) .picklelapu-open-play-wrap,
html body:not(.wp-admin) .picklelapu-tournament-wrap{
    width:min(1180px,calc(100vw - 32px))!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
}
html body:not(.wp-admin) .picklelapu-open-play-grid,
html body:not(.wp-admin) .picklelapu-tournament-grid,
html body:not(.wp-admin) .picklehub-tournament-shortcode-card-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;
    gap:18px!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
}
html body:not(.wp-admin) article.picklelapu-session-card,
html body:not(.wp-admin) article.picklehub-tournament-shortcode-card-card,
html body:not(.wp-admin) article.picklelapu-tournament-card,
html body:not(.wp-admin) .picklehub-tournament-shortcode-card{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:20px!important;
    border:1px solid rgba(15,23,42,.09)!important;
    border-radius:24px!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fffc 100%)!important;
    box-shadow:0 16px 38px rgba(15,43,31,.07)!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
}
html body:not(.wp-admin) article.picklelapu-session-card::before,
html body:not(.wp-admin) article.picklehub-tournament-shortcode-card-card::before,
html body:not(.wp-admin) article.picklelapu-tournament-card::before,
html body:not(.wp-admin) .picklehub-tournament-shortcode-card::before{
    display:none!important;
    content:none!important;
}
html body:not(.wp-admin) .picklelapu-session-top{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:12px!important;
    width:100%!important;
}
html body:not(.wp-admin) .picklelapu-session-top > div:first-child,
html body:not(.wp-admin) .picklelapu-session-top h3{
    min-width:0!important;
}
html body:not(.wp-admin) article.picklelapu-session-card h3,
html body:not(.wp-admin) article.picklehub-tournament-shortcode-card-card h3,
html body:not(.wp-admin) article.picklelapu-tournament-card h3,
html body:not(.wp-admin) .picklehub-tournament-shortcode-card h3{
    margin:0!important;
    color:#0f172a!important;
    font-size:clamp(20px,2vw,28px)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
    font-weight:950!important;
    overflow-wrap:anywhere!important;
}
html body:not(.wp-admin) article.picklelapu-session-card p,
html body:not(.wp-admin) article.picklehub-tournament-shortcode-card-card p,
html body:not(.wp-admin) article.picklelapu-tournament-card p,
html body:not(.wp-admin) .picklehub-tournament-shortcode-card p{
    margin:0!important;
    color:#64748b!important;
    font-size:14px!important;
    line-height:1.42!important;
    font-weight:700!important;
}
html body:not(.wp-admin) .picklehub-open-play-badges,
html body:not(.wp-admin) .picklehub-tournament-badges{
    display:flex!important;
    justify-content:flex-end!important;
    align-items:flex-start!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    min-width:0!important;
}
html body:not(.wp-admin) .picklelapu-session-meta,
html body:not(.wp-admin) article.picklehub-tournament-shortcode-card-card .picklelapu-session-meta{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:8px!important;
    margin:0!important;
    padding:10px!important;
    border-radius:18px!important;
    background:#f0fdf4!important;
    border:1px solid rgba(16,185,129,.12)!important;
}
html body:not(.wp-admin) .picklelapu-session-meta .picklelapu-badge,
html body:not(.wp-admin) .picklelapu-session-meta span,
html body:not(.wp-admin) .picklelapu-session-meta b,
html body:not(.wp-admin) .picklelapu-badge,
html body:not(.wp-admin) [class*="picklelapu-badge-"]{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:31px!important;
    padding:7px 11px!important;
    border-radius:999px!important;
    border:1px solid rgba(34,197,94,.18)!important;
    background:#dcfce7!important;
    color:#166534!important;
    font-size:12px!important;
    font-weight:950!important;
    line-height:1!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
}
html body:not(.wp-admin) .picklehub-simulation-badge,
html body:not(.wp-admin) .picklelapu-badge-simulation{
    background:#ccfbf1!important;
    color:#0f766e!important;
    border-color:#99f6e4!important;
}
html body:not(.wp-admin) article.picklelapu-session-card > .picklelapu-button,
html body:not(.wp-admin) article.picklehub-tournament-shortcode-card-card > .picklelapu-button,
html body:not(.wp-admin) article.picklelapu-tournament-card > .picklelapu-button,
html body:not(.wp-admin) .picklehub-tournament-shortcode-card > .picklelapu-button{
    align-self:flex-start!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:44px!important;
    width:auto!important;
    max-width:100%!important;
    margin-top:auto!important;
    padding:10px 18px!important;
    border-radius:999px!important;
    background:#0f766e!important;
    color:#fff!important;
    border:0!important;
    box-shadow:0 12px 24px rgba(15,118,110,.16)!important;
    font-size:14px!important;
    font-weight:950!important;
    text-decoration:none!important;
    white-space:normal!important;
}

@media(max-width:900px){
    html body:not(.wp-admin) .picklehub-venue-events-grid{
        grid-template-columns:1fr!important;
    }
}
@media(max-width:760px){
    html body:not(.wp-admin) .picklehub-venue-events-source-aligned,
    html body:not(.wp-admin) .picklehub-venue-events-direct-render,
    html body:not(.wp-admin) [data-picklehub-venue-events-source="1"],
    html body:not(.wp-admin) .picklelapu-open-play-wrap,
    html body:not(.wp-admin) .picklelapu-tournament-wrap{
        width:calc(100vw - 20px)!important;
        max-width:calc(100vw - 20px)!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }
    html body:not(.wp-admin) .picklehub-venue-event-card,
    html body:not(.wp-admin) .picklehub-venue-open-play-card,
    html body:not(.wp-admin) .picklehub-venue-tournament-card,
    html body:not(.wp-admin) [data-picklehub-direct-open-play-card="1"],
    html body:not(.wp-admin) [data-picklehub-direct-tournaments-card="1"],
    html body:not(.wp-admin) article.picklelapu-session-card,
    html body:not(.wp-admin) article.picklehub-tournament-shortcode-card-card,
    html body:not(.wp-admin) article.picklelapu-tournament-card,
    html body:not(.wp-admin) .picklehub-tournament-shortcode-card{
        padding:14px!important;
        border-radius:18px!important;
        box-shadow:0 10px 22px rgba(15,43,31,.055)!important;
    }
    html body:not(.wp-admin) a.picklehub-venue-event-row,
    html body:not(.wp-admin) a[data-picklehub-event-venue-link="1"].picklehub-venue-event-row,
    html body:not(.wp-admin) .picklehub-venue-event-row-visible{
        padding:13px!important;
        border-radius:16px!important;
        gap:8px!important;
    }
    html body:not(.wp-admin) .picklehub-venue-event-row-top,
    html body:not(.wp-admin) .picklelapu-session-top{
        grid-template-columns:1fr!important;
        gap:8px!important;
    }
    html body:not(.wp-admin) .picklehub-venue-event-row-top em,
    html body:not(.wp-admin) .picklehub-open-play-badges,
    html body:not(.wp-admin) .picklehub-tournament-badges{
        justify-self:start!important;
        justify-content:flex-start!important;
    }
    html body:not(.wp-admin) .picklehub-venue-event-row-top strong,
    html body:not(.wp-admin) .picklehub-venue-event-row strong,
    html body:not(.wp-admin) article.picklelapu-session-card h3,
    html body:not(.wp-admin) article.picklehub-tournament-shortcode-card-card h3,
    html body:not(.wp-admin) article.picklelapu-tournament-card h3,
    html body:not(.wp-admin) .picklehub-tournament-shortcode-card h3{
        font-size:20px!important;
        line-height:1.12!important;
    }
    html body:not(.wp-admin) .picklehub-event-join-pill{
        margin-left:0!important;
        width:100%!important;
        min-height:40px!important;
    }
    html body:not(.wp-admin) article.picklelapu-session-card > .picklelapu-button,
    html body:not(.wp-admin) article.picklehub-tournament-shortcode-card-card > .picklelapu-button,
    html body:not(.wp-admin) article.picklelapu-tournament-card > .picklelapu-button,
    html body:not(.wp-admin) .picklehub-tournament-shortcode-card > .picklelapu-button{
        width:100%!important;
        align-self:stretch!important;
    }
}
@media(max-width:390px){
    html body:not(.wp-admin) .picklehub-venue-events-source-aligned,
    html body:not(.wp-admin) .picklehub-venue-events-direct-render,
    html body:not(.wp-admin) [data-picklehub-venue-events-source="1"],
    html body:not(.wp-admin) .picklelapu-open-play-wrap,
    html body:not(.wp-admin) .picklelapu-tournament-wrap{
        width:calc(100vw - 12px)!important;
        max-width:calc(100vw - 12px)!important;
    }
    html body:not(.wp-admin) .picklehub-venue-event-row-meta b,
    html body:not(.wp-admin) .picklelapu-session-meta span,
    html body:not(.wp-admin) .picklelapu-session-meta b,
    html body:not(.wp-admin) .picklelapu-badge{
        width:100%!important;
        justify-content:center!important;
    }
}
