/*
Theme Name: ONESPORT UI
Theme URI: https://onesport.id
Author: ONESPORT.ID
Description: Production member-facing UI for ONESPORT.ID, integrated with ONESPORT Core.
Version: 1.7.02
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: onesport-ui
*/

:root{
    --primary:#0b74de;
    --primary-dark:#075bb2;
    --primary-soft:#eaf4ff;
    --navy:#071a33;
    --ink:#10243e;
    --muted:#64748b;
    --line:#e5edf5;
    --surface:#ffffff;
    --soft:#f5f9fd;
    --success:#0f9d72;
    --warning:#f59e0b;
    --danger:#e05252;
    --shadow:0 18px 50px rgba(15,45,80,.10);
    --radius:20px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--ink);background:var(--surface);line-height:1.6;
}
body.modal-open{overflow:hidden}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
button{cursor:pointer}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.topbar{
    background:var(--navy);color:#dbeafe;font-size:13px;padding:9px 20px;
    text-align:center;letter-spacing:.1px;
}
.topbar strong{color:#fff}
header{
    position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);
    backdrop-filter:blur(16px);border-bottom:1px solid rgba(229,237,245,.9);
}
.nav{
    height:76px;display:flex;align-items:center;justify-content:space-between;gap:30px;
}
.logo{font-size:25px;font-weight:900;letter-spacing:-1.2px;color:var(--navy)}
.logo span{color:var(--primary)}
.nav-links{display:flex;align-items:center;gap:28px;color:#53657a;font-weight:700;font-size:14px}
.nav-links a{position:relative;padding:28px 0}
.nav-links a:hover,.nav-links a.active{color:var(--primary)}
.nav-links a.active:after{content:"";position:absolute;left:0;right:0;bottom:18px;height:2px;background:var(--primary);border-radius:2px}
.nav-actions{display:flex;gap:9px;align-items:center}
.btn{
    border:0;border-radius:11px;padding:11px 17px;font-weight:800;font-size:14px;
    transition:.22s ease;display:inline-flex;align-items:center;justify-content:center;gap:8px;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--primary);color:white;box-shadow:0 8px 20px rgba(11,116,222,.22)}
.btn-primary:hover{background:var(--primary-dark)}
.btn-outline{background:#fff;color:var(--primary);border:1px solid #bcd8f5}
.btn-outline:hover{background:var(--primary-soft)}
.btn-light{background:#fff;color:var(--navy)}
.btn-ghost{background:transparent;color:#53657a}
.btn-ghost:hover{background:var(--soft);color:var(--primary)}

.hero{
    min-height:650px;display:flex;align-items:center;position:relative;overflow:hidden;color:var(--ink);
    background:
      linear-gradient(90deg,rgba(248,251,255,.985) 0%,rgba(248,251,255,.95) 34%,rgba(248,251,255,.58) 57%,rgba(248,251,255,.06) 82%),
      url("assets/onesport-hero-community-sports-v2.jpg") right center/cover no-repeat;
}
.hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-130px;bottom:-180px;background:rgba(38,135,232,.18);filter:blur(2px)}
.hero-content{position:relative;z-index:2;max-width:760px;padding:88px 0}
.hero .eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-weight:800;font-size:13px;margin-bottom:17px}.hero .eyebrow:before{background:var(--primary)}
.eyebrow:before{content:"";width:28px;height:2px;background:#6fb6ff}
.hero h1{font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-3px;margin-bottom:22px;font-weight:950;color:var(--navy)}
.hero h1 span{color:var(--primary)}
.hero p{max-width:680px;color:#60738c;font-size:18px;line-height:1.7}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.hero-actions .btn{padding:14px 21px;border-radius:12px}
.hero-stats{display:flex;flex-wrap:wrap;gap:28px;margin-top:44px}
.hero-stat strong{display:block;font-size:25px;color:var(--navy)}
.hero-stat span{font-size:12px;color:#6f8095}

.section{padding:92px 0}
.section-soft{background:var(--soft)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:36px}
.section-head .eyebrow{color:var(--primary);margin-bottom:8px}
.section-head .eyebrow:before{background:var(--primary)}
.section-head h2{font-size:clamp(28px,4vw,42px);line-height:1.15;letter-spacing:-1.4px}
.section-head p{color:var(--muted);max-width:620px;margin-top:9px}
.section-link{color:var(--primary);font-weight:800;font-size:14px;white-space:nowrap}

.sport-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.sport-card{
    position:relative;overflow:hidden;min-height:190px;border-radius:18px;color:#fff;
    background-size:cover;background-position:center;box-shadow:var(--shadow);transition:.25s;
}
.sport-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 20%,rgba(4,18,36,.88))}
.sport-card:hover{transform:translateY(-5px)}
.sport-card-content{position:absolute;z-index:2;left:18px;right:18px;bottom:17px}
.sport-card h3{font-size:20px}
.sport-card p{font-size:12px;color:#d8e6f3}
.soccer{background-image:url("https://images.unsplash.com/photo-1553778263-73a83bab9b0c?auto=format&fit=crop&w=800&q=85")}
.futsal{background-image:url("https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=800&q=85")}
.badminton{background-image:url("https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?auto=format&fit=crop&w=800&q=85")}
.{background-image:url("https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?auto=format&fit=crop&w=800&q=85")}

.schedule-toolbar{
    display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px;
    padding:14px;background:#fff;border:1px solid var(--line);border-radius:15px;
}
.filters{display:flex;gap:8px;flex-wrap:wrap}
.pill{border:1px solid var(--line);background:#fff;color:#64748b;padding:9px 15px;border-radius:999px;font-weight:800;font-size:13px}
.pill.active,.pill:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.search-box{position:relative}
.search-box input{width:230px;border:1px solid var(--line);border-radius:10px;padding:10px 12px 10px 36px;outline:none}
.search-box input:focus{border-color:#86bff4;box-shadow:0 0 0 3px var(--primary-soft)}
.search-box span{position:absolute;left:12px;top:8px;color:#94a3b8}

.match-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.match-card{
    background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;
    box-shadow:0 8px 30px rgba(22,55,90,.06);transition:.25s;
}
.match-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.match-img{height:215px;background-size:cover;background-position:center;position:relative}
.match-img:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 25%,rgba(4,18,36,.82))}
.match-img-content{position:absolute;z-index:2;left:17px;right:17px;bottom:16px;color:#fff}
.match-img-content h3{font-size:19px;letter-spacing:-.3px}
.match-img-content p{font-size:12px;color:#d7e5f1}
.date-badge{
    position:absolute;z-index:3;right:14px;top:14px;background:#fff;color:var(--navy);
    min-width:54px;text-align:center;border-radius:11px;padding:7px 8px;font-weight:900;line-height:1.05;
}
.date-badge small{display:block;color:var(--primary);font-size:10px;text-transform:uppercase}
.date-badge strong{font-size:22px;display:block}
.match-body{padding:19px}
.price-row{display:flex;justify-content:space-between;padding-bottom:15px;margin-bottom:14px;border-bottom:1px dashed var(--line)}
.price-item span{font-size:11px;color:var(--muted);display:block;font-weight:700}
.price-item strong{font-size:18px;color:var(--primary)}
.tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}
.tag{font-size:11px;background:var(--soft);color:#5d7186;padding:5px 8px;border-radius:7px}
.progress-meta{display:flex;justify-content:space-between;font-size:11px;font-weight:800;margin-bottom:6px}
.progress{height:7px;background:#edf3f8;border-radius:10px;overflow:hidden;margin-bottom:17px}
.progress span{display:block;height:100%;background:var(--primary);border-radius:10px}
.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.card-actions .btn{width:100%;padding:10px}
.empty{display:none;text-align:center;padding:55px 20px;color:var(--muted);grid-column:1/-1}

.event-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}
.event-feature{
    min-height:410px;border-radius:22px;overflow:hidden;padding:34px;color:#fff;display:flex;flex-direction:column;justify-content:end;
    background:linear-gradient(90deg,rgba(4,20,40,.9),rgba(4,20,40,.2)),url("https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=1200&q=88") center/cover;
}
.badge{display:inline-flex;width:max-content;background:#dceeff;color:#075bb2;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900;margin-bottom:12px}
.event-feature h3{font-size:32px;line-height:1.1;margin-bottom:8px}
.event-feature p{color:#d8e6f3}
.event-feature .btn{width:max-content;margin-top:20px}
.event-side{display:grid;gap:14px}
.event-mini{border:1px solid var(--line);border-radius:17px;padding:20px;background:#fff;display:flex;gap:15px;align-items:center}
.event-date{min-width:58px;text-align:center;border-radius:12px;background:var(--primary-soft);color:var(--primary);padding:8px;font-weight:900}
.event-date strong{display:block;font-size:24px;line-height:1}
.event-mini h4{font-size:15px}
.event-mini p{font-size:12px;color:var(--muted)}

.store-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:.25s;box-shadow:0 8px 28px rgba(19,55,96,.06)}.product:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(19,55,96,.12)}.product.is-soldout{opacity:.78}.product-img{height:270px;background-size:cover;background-position:center;background-color:#eef4fa;position:relative}.product-category,.product-stock{position:absolute;top:14px;border:1px solid rgba(255,255,255,.72);background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900;letter-spacing:.04em}.product-category{left:14px;color:var(--primary)}.product-stock{right:14px;color:#16864c}.product-stock.soldout{color:#b42318}.product-info{padding:20px}.product-info h3{font-size:18px;line-height:1.25;margin:0 0 7px}.product-info p{font-size:13px;line-height:1.55;color:var(--muted);margin:0 0 12px;min-height:40px}.product-meta-row{margin-bottom:16px}.product-member-benefit{display:inline-flex;padding:6px 9px;border-radius:999px;background:#fff7e8;color:#9a5b00;border:1px solid #f2d49a;font-size:10px;font-weight:900}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-price{font-weight:900;color:var(--primary);font-size:20px}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.news-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.25s}
.news-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.news-img{height:190px;background-size:cover;background-position:center}
.news-body{padding:18px}
.news-body small{color:var(--primary);font-weight:800}
.news-body h3{font-size:17px;line-height:1.35;margin:7px 0}
.news-body p{font-size:13px;color:var(--muted)}

.cta{padding:70px 0}
.cta-box{background:var(--primary-soft);border:1px solid #cce4fb;border-radius:24px;padding:45px;text-align:center}
.cta-box h2{font-size:32px}
.cta-box p{color:var(--muted);margin:8px auto 20px;max-width:620px}

footer{background:var(--navy);color:#fff;padding:60px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:45px;padding-bottom:45px}
footer .logo{color:#fff}
.footer-copy{color:#9db0c5;font-size:13px;max-width:370px;margin-top:12px}
.footer-col h4{font-size:13px;margin-bottom:13px}
.footer-col a{display:block;color:#9db0c5;font-size:13px;margin:8px 0}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;color:#71869d;font-size:12px;display:flex;justify-content:space-between}


/* MEMBER AUTH */
.auth-modal-card{
    width:min(480px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;
    position:relative;box-shadow:0 30px 90px rgba(0,0,0,.28);padding:28px 26px 24px;
}
.auth-close{
    position:absolute;right:15px;top:14px;width:38px;height:38px;border:0;background:transparent;
    color:#111;font-size:28px;line-height:1;border-radius:50%;
}
.auth-close:hover{background:#f3f6f9}
.auth-header{text-align:center;margin-bottom:22px}
.auth-header h2{font-size:25px;line-height:1.2;color:#090909;letter-spacing:-.7px}
.auth-header p{font-size:14px;color:#53657a;margin-top:5px}
.auth-form{display:grid;gap:0}
.auth-group{margin-bottom:7px}
.auth-group label{display:block;font-size:12px;font-weight:700;color:#151515;margin-bottom:5px}
.auth-field{position:relative}
.auth-field input{
    width:100%;height:50px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;
    padding:0 40px;color:#182337;outline:none;font-size:15px;transition:.2s;
}
.auth-field input::placeholder{color:#a4adbd}
.auth-field input:focus{border-color:#3f86ed;box-shadow:0 0 0 3px rgba(63,134,237,.11)}
.auth-icon{
    position:absolute;left:13px;top:50%;transform:translateY(-50%);width:16px;height:16px;
    color:#111;pointer-events:none;
}
.auth-toggle{
    position:absolute;right:11px;top:50%;transform:translateY(-50%);border:0;background:transparent;
    color:#111;padding:5px;font-size:15px;
}
.member-option{
    display:flex;align-items:center;gap:11px;border:2px solid #e1e5eb;border-radius:12px;
    padding:12px 13px;margin:9px 0 16px;cursor:pointer;
}
.member-option:hover{border-color:#b9d5f6;background:#fbfdff}
.member-option input{appearance:none;width:20px;height:20px;border:2px solid #d7dde5;border-radius:4px;flex:none;position:relative}
.member-option input:checked{background:var(--primary);border-color:var(--primary)}
.member-option input:checked:after{content:"✓";position:absolute;color:#fff;font-size:13px;font-weight:900;left:3px;top:-1px}
.member-copy{line-height:1.25}
.member-title{font-size:14px;color:#111;font-weight:700}
.member-title .crown{color:#f59e0b;margin-right:5px}
.member-title strong{color:#f07c00;font-size:12px;margin-left:4px}
.member-copy small{display:block;font-size:11px;color:#333;margin-top:3px}
.auth-submit{
    width:100%;height:49px;border-radius:10px;border:0;background:#3f82ed;color:#fff;
    font-weight:800;font-size:15px;box-shadow:0 5px 12px rgba(63,130,237,.25);transition:.2s;
}
.auth-submit:hover{background:#2e71dd;transform:translateY(-1px)}
.auth-switch{text-align:center;color:#5b6575;font-size:14px;margin-top:25px}
.auth-switch button{border:0;background:transparent;color:#286ce0;font-weight:800;padding:0}
.auth-terms{text-align:center;color:#333;font-size:11px;margin-top:17px}
.auth-terms a{color:#111;text-decoration:underline}
.auth-error,.auth-success{
    display:none;border-radius:8px;padding:9px 11px;font-size:12px;margin-bottom:9px
}
.auth-error{background:#fff0f0;color:#a53b3b}
.auth-success{background:#eaf8f1;color:#087657}
.member-pill{
    display:none;align-items:center;gap:8px;border:1px solid #cfe1f6;background:#f5faff;
    color:var(--primary);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800;
}
.member-pill.show{display:flex}
.auth-tabs{display:flex;background:#f4f7fa;border-radius:9px;padding:3px;margin-bottom:20px}
.auth-tab{flex:1;border:0;background:transparent;border-radius:7px;padding:9px;font-size:13px;font-weight:800;color:#64748b}
.auth-tab.active{background:#fff;color:var(--primary);box-shadow:0 1px 5px rgba(20,50,80,.08)}
.modal{
    display:none;position:fixed;inset:0;background:rgba(2,14,29,.74);z-index:5000;
    align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(5px)
}
.modal.show{display:flex}
.modal-card{background:#fff;border-radius:22px;width:min(920px,100%);max-height:90vh;overflow:auto;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.3)}
.modal-close{position:absolute;right:15px;top:15px;z-index:5;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.92);font-size:24px;color:var(--navy)}
.detail-cover{height:280px;background:center/cover;position:relative;color:#fff;padding:28px;display:flex;align-items:end}
.detail-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(4,18,36,.9))}
.detail-title{position:relative;z-index:2}
.detail-title h2{font-size:32px}
.detail-title p{font-size:13px;color:#d7e5f1}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:17px;border-bottom:1px solid var(--line)}
.stat{background:var(--soft);border-radius:12px;text-align:center;padding:13px}
.stat strong{display:block;font-size:19px;color:var(--primary)}
.stat small{color:var(--muted);font-size:10px}
.tabs{display:flex;border-bottom:1px solid var(--line);overflow:auto}
.tab{padding:14px 19px;border:0;background:#fff;color:var(--muted);font-weight:800;white-space:nowrap;border-bottom:2px solid transparent}
.tab.active{color:var(--primary);border-bottom-color:var(--primary)}
.tab-panel{display:none;padding:25px;background:#fff}
.tab-panel.active{display:block}
.tab-panel ul{margin:12px 0 0 20px;color:var(--muted)}
.checkout{padding:30px}
.checkout-grid{display:grid;grid-template-columns:1.3fr .8fr;gap:30px}
.form-group{margin-bottom:15px}
.form-group label{display:block;font-size:12px;font-weight:800;margin-bottom:6px}
.form-group input,.form-group select{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:9px;outline:none}
.form-group input:focus,.form-group select:focus{border-color:#8bbff0;box-shadow:0 0 0 3px var(--primary-soft)}
.summary{background:var(--soft);border-radius:15px;padding:18px;height:max-content}
.summary-row{display:flex;justify-content:space-between;font-size:13px;margin:9px 0}
.summary-total{border-top:1px solid var(--line);margin-top:14px;padding-top:14px;display:flex;justify-content:space-between;font-weight:900}
.toast{
    position:fixed;right:22px;bottom:22px;z-index:9000;background:var(--navy);color:#fff;
    padding:13px 17px;border-radius:12px;box-shadow:var(--shadow);opacity:0;transform:translateY(15px);pointer-events:none;transition:.25s;font-size:13px
}
.toast.show{opacity:1;transform:translateY(0)}

@media(max-width:980px){
    .nav{gap:15px}
    .nav-links{gap:18px;font-size:13px}
    .nav-links a{padding:28px 0}
    .nav-actions{gap:6px}
    .nav-actions .btn{padding:9px 12px;font-size:13px}
    .member-pill{display:none!important}
    .sport-grid{grid-template-columns:repeat(3,1fr)}
    .match-grid,.store-grid,.news-grid{grid-template-columns:repeat(2,1fr)}
    .event-layout,.payment{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1.4fr 1fr 1fr}
}
@media(max-width:680px){
    .container{width:min(100% - 28px,1180px)}
    .topbar{font-size:11px}
    .nav{height:68px;gap:10px;overflow:hidden}
    .logo{font-size:21px;flex:none}
    .nav-links{order:3;position:absolute;left:0;right:0;top:68px;height:44px;padding:0 14px;
        display:flex;overflow-x:auto;gap:22px;background:#fff;border-top:1px solid var(--line);
        border-bottom:1px solid var(--line);scrollbar-width:none;white-space:nowrap}
    .nav-links::-webkit-scrollbar{display:none}
    .nav-links a{padding:11px 0;font-size:12px}
    .nav-links a.active:after{bottom:5px}
    .nav-actions .btn{padding:8px 10px;font-size:12px}
    .hero{padding-top:44px}
    .hero{min-height:620px}
    .hero-content{padding:70px 0}.hero h1{letter-spacing:-2px}
    .hero p{font-size:15px}
    .hero-stats{gap:18px}
    .section{padding:65px 0}
    .section-head{display:block}.section-link{display:inline-block;margin-top:14px}
    .sport-grid{grid-template-columns:repeat(2,1fr)}
    .sport-card{min-height:165px}
    .schedule-toolbar{display:block}
    .search-box{margin-top:12px}.search-box input{width:100%}
    .match-grid,.store-grid,.news-grid{grid-template-columns:1fr}
    .event-feature{min-height:380px;padding:25px}.event-feature h3{font-size:27px}
    .payment{padding:28px 20px;border-radius:20px}
    .payment h2{font-size:28px}.input-row{display:block}.input-row .btn{width:100%;margin-top:8px}
    .cta-box{padding:30px 20px}.cta-box h2{font-size:27px}
    .footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-grid > div:first-child{grid-column:span 2}
    .footer-bottom{display:block}.footer-bottom span{display:block;margin-top:5px}
    .stats{grid-template-columns:repeat(2,1fr)}
    .checkout{padding:22px 18px}.checkout-grid{grid-template-columns:1fr}
    .detail-cover{height:250px}.detail-title h2{font-size:25px}
}

.venue-filter{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.venue-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.venue-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(22,55,90,.05);transition:.25s}
.venue-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.venue-card-top{min-height:175px;padding:20px;color:#fff;display:flex;flex-direction:column;justify-content:end;background-size:cover;background-position:center;position:relative}
.venue-card-top:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 15%,rgba(4,18,36,.88))}
.venue-card-top>*{position:relative;z-index:2}
.venue-card-top h3{font-size:19px;line-height:1.2;margin:5px 0}
.venue-card-top p{font-size:12px;color:#d9e7f3}
.venue-type{font-size:10px;font-weight:900;letter-spacing:.8px;color:#bfe0ff}
.venue-mini{background-image:url("https://images.unsplash.com/photo-1553778263-73a83bab9b0c?auto=format&fit=crop&w=900&q=85")}
.venue-mini2{background-image:url("https://images.unsplash.com/photo-1553778263-73a83bab9b0c?auto=format&fit=crop&w=900&q=85")}
.venue-mini3{background-image:url("https://images.unsplash.com/photo-1553778263-73a83bab9b0c?auto=format&fit=crop&w=900&q=85")}
.venue-futsal{background-image:url("https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=900&q=85")}
.venue-futsal2{background-image:url("https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=900&q=85")}
.venue-futsal3{background-image:url("https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=900&q=85")}
.venue-badminton{background-image:url("https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?auto=format&fit=crop&w=900&q=85")}
.venue-badminton2{background-image:url("https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?auto=format&fit=crop&w=900&q=85")}
.venue-badminton3{background-image:url("https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?auto=format&fit=crop&w=900&q=85")}
.venue-card-body{padding:13px 15px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:var(--muted);font-weight:800}
.venue-card-body .btn{padding:8px 10px;font-size:11px;white-space:nowrap}
@media(max-width:980px){.venue-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.venue-grid{grid-template-columns:1fr}}


/* ================= JADWAL EXPERIENCE / CALENDAR ================= */
.schedule-page{background:#f5f9fd}
.calendar-panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 8px 28px rgba(22,55,90,.05);margin-bottom:22px}
.calendar-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}
.calendar-title{font-weight:900;color:var(--ink);display:flex;align-items:center;gap:8px}
.calendar-controls{display:flex;gap:7px}
.calendar-arrow{width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--muted);font-weight:900}
.calendar-arrow:hover{border-color:#9cc7ef;color:var(--primary);background:var(--primary-soft)}
.calendar-days{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}
.calendar-day{position:relative;border:1px solid #dce7f2;border-radius:11px;background:#fff;padding:12px 6px;text-align:center;min-height:86px;cursor:pointer;transition:.2s}
.calendar-day:hover{border-color:#8abcf0;transform:translateY(-2px)}
.calendar-day.active{border:2px solid var(--primary);background:#eef6ff;box-shadow:0 4px 12px rgba(11,116,222,.12)}
.calendar-day .day-name{font-size:11px;color:#52677e;font-weight:800}
.calendar-day .day-num{display:block;font-size:23px;font-weight:950;line-height:1.15;color:var(--navy);margin:3px 0}
.calendar-day.active .day-num,.calendar-day.active .day-name{color:var(--primary)}
.calendar-day .month{font-size:10px;color:#8091a4}
.calendar-count{position:absolute;right:-4px;top:-7px;min-width:20px;height:20px;border-radius:50%;background:#ef5350;color:#fff;font-size:10px;font-weight:900;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.calendar-count.zero{background:#cbd5e1}
.active-filter-row{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin-top:16px;padding-top:14px;font-size:13px;color:#51657b}
.active-date-chip{display:inline-flex;align-items:center;gap:7px;background:#dbeafe;color:#075bb2;border-radius:8px;padding:7px 10px;font-weight:800}
.schedule-result-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0 13px;color:#52677e;font-size:13px}
.schedule-result-head strong{color:var(--navy)}
.schedule-date-banner{background:linear-gradient(110deg,#3b82f6,#2161df);color:#fff;border-radius:16px;padding:18px;display:flex;align-items:center;gap:15px;margin-bottom:20px;box-shadow:0 10px 25px rgba(37,99,235,.18)}
.schedule-date-box{background:rgba(255,255,255,.18);border-radius:10px;min-width:68px;padding:8px;text-align:center}
.schedule-date-box strong{font-size:29px;display:block;line-height:1}
.schedule-date-box small{font-size:11px;color:#dbeafe}
.schedule-date-banner h3{font-size:24px;line-height:1.1}.schedule-date-banner p{font-size:12px;color:#dbeafe;margin-top:4px}
.availability{color:#16a06f;font-weight:800}
.match-card.list-card{display:grid;grid-template-columns:192px 1fr;min-height:245px}
.match-card.list-card .match-img{height:auto;min-height:245px}
.match-card.list-card .match-body{padding:21px}
.match-card.list-card .match-img-content{display:none}
.match-card.list-card .date-badge{display:none}
.match-card.list-card .match-title-row{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.match-card.list-card .match-title-row h3{font-size:19px;color:var(--navy);margin-bottom:6px}
.match-type{display:inline-flex;align-items:center;background:#eef5ff;color:var(--primary);font-size:11px;font-weight:900;padding:5px 8px;border-radius:6px}
.match-meta-line{display:flex;flex-wrap:wrap;gap:8px;color:#53677d;font-size:12px;margin:9px 0}
.match-meta-line strong{color:#145ed0}
.match-provider{font-size:12px;font-weight:900;color:#4d6074;white-space:nowrap}
.match-divider{height:1px;background:var(--line);margin:15px 0}
.match-bottom{display:flex;justify-content:space-between;align-items:end;gap:15px}
.match-price small{display:block;color:var(--muted);font-size:11px}.match-price strong{font-size:23px;color:var(--primary)}.match-price span{font-size:11px;color:var(--muted)}
.match-actions{display:flex;gap:8px}
.match-actions .btn{min-width:92px}
.no-results{display:none;background:#fff;border:1px dashed #cbd8e5;border-radius:16px;padding:45px;text-align:center;color:var(--muted)}
.detail-modal-card{width:min(1120px,100%);background:#f6fbff}
.detail-hero{height:310px;background-size:cover;background-position:center;position:relative;color:#fff;display:flex;align-items:end;padding:28px}
.detail-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 25%,rgba(4,18,36,.88))}
.detail-hero-content{position:relative;z-index:2}.detail-hero-content h2{font-size:38px;line-height:1.05;margin:8px 0}.detail-hero-content p{font-size:13px;color:#d9e7f3}
.detail-badges{display:flex;gap:7px;flex-wrap:wrap}.detail-badge{padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;background:rgba(255,255,255,.9);color:#17466f}
.detail-badge.blue{background:#2f7ef2;color:#fff}.detail-badge.green{background:#d8f7ea;color:#087657}
.detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;padding:20px;background:#fff}
.detail-stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px;text-align:center;box-shadow:0 5px 16px rgba(22,55,90,.05)}
.detail-stat strong{display:block;font-size:22px;color:var(--navy)}.detail-stat small{color:var(--muted)}
.detail-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 20px}
.detail-tab{padding:16px;border:0;background:#fff;color:#607286;font-weight:800;border-bottom:2px solid transparent}
.detail-tab.active{color:var(--primary);border-bottom-color:var(--primary)}
.detail-tab-panel{display:none;padding:24px;background:#fff;min-height:220px}.detail-tab-panel.active{display:block}
.detail-info-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.info-card{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}.info-card h3{font-size:17px;margin-bottom:12px}
.info-list{list-style:none;display:grid;gap:10px;color:#53677d;font-size:13px}.info-list li{display:flex;gap:10px}.info-list b{color:var(--navy);min-width:90px}
.lineup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.player-chip{padding:13px;border:1px solid var(--line);border-radius:11px;background:var(--soft)}.player-chip strong{display:block;font-size:13px}.player-chip span{font-size:11px;color:var(--muted)}
.detail-quick-action{padding:18px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:flex-end}
.detail-quick-action .btn{min-width:190px}
.booking-modal-card{width:min(1100px,100%);background:#f4f8fd}
.booking-header{text-align:center;padding:28px 25px 15px}.booking-header .eyebrow{justify-content:center}.booking-header h2{font-size:31px;color:#2461df}.booking-header p{color:#607286}
.booking-shell{display:grid;grid-template-columns:1.45fr .75fr;gap:20px;padding:15px 24px 28px}
.booking-main,.booking-summary{background:#fff;border:1px solid #cfe0f3;border-radius:20px;box-shadow:0 8px 28px rgba(22,55,90,.05)}
.booking-main{padding:20px}
.booking-type{display:grid;grid-template-columns:1fr 1fr;border:1px solid #bdd7f5;border-radius:17px;padding:7px;margin-bottom:22px}.booking-type button{border:0;background:#fff;padding:14px;border-radius:12px;font-weight:800;color:#54677c}.booking-type button.active{background:#2868e8;color:#fff;box-shadow:0 4px 10px rgba(37,99,235,.18)}
.booking-section-title{color:#2461df;font-size:15px;margin-bottom:13px}.booking-section-title span{color:var(--muted);font-weight:500}
.profile-field{margin-bottom:13px}.profile-field label{display:block;font-size:13px;color:#40556c;margin-bottom:6px}.profile-field .field{background:#f1f3f6;border:1px solid #e0e5eb;border-radius:13px;padding:12px 14px;color:#152a43;display:flex;align-items:center;gap:10px}.profile-note{font-size:10px;color:#7c8da0;margin-top:3px}
.slot-card{background:#eef6ff;border:1px solid #cfe3ff;border-radius:16px;padding:15px;margin-top:12px}.slot-head{display:flex;align-items:center;gap:8px;font-weight:900;font-size:13px}.slot-badge{font-size:10px;background:#dbeafe;color:#2461df;padding:4px 7px;border-radius:999px}.slot-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.slot-option{background:#fff;border:2px solid #c9def7;border-radius:12px;padding:11px;cursor:pointer}.slot-option.selected{border-color:#2868e8;background:#e8f1ff;box-shadow:0 3px 10px rgba(37,99,235,.12)}.slot-option strong{display:block;font-size:12px}.slot-option span{font-size:10px;color:var(--muted)}
.slot-add{width:100%;margin-top:10px;border:1px dashed #6eafff;background:#fff;border-radius:12px;padding:11px;color:#2461df;font-weight:800}.slot-added{margin-top:10px;background:#e9fbf2;color:#087657;border:1px solid #b9efd3;border-radius:11px;padding:9px;font-size:11px}
.booking-summary{padding:22px;height:max-content}.summary-heading{color:#2461df;font-size:15px;margin-bottom:20px}.summary-match{padding-bottom:17px;border-bottom:1px solid var(--line);margin-bottom:16px}.summary-match strong{font-size:14px}.summary-match p{font-size:12px;color:#5c6f83;margin-top:7px;line-height:1.6}.voucher-title{font-size:13px;font-weight:800;color:#53677d}.voucher-row{display:flex;gap:7px;margin:9px 0 16px}.voucher-row input{flex:1;padding:11px;border:1px solid #b9d6f7;background:#eff6ff;border-radius:10px;outline:none}.voucher-row button{padding:10px 14px}.summary-line{display:flex;justify-content:space-between;font-size:13px;margin:10px 0}.summary-line.muted{color:#5e7185}.summary-total{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:14px 0;display:flex;justify-content:space-between;font-size:17px;font-weight:950}.balance{display:flex;justify-content:space-between;align-items:center;color:#53677d;font-size:13px;margin-bottom:10px}.balance strong{color:#2868e8}.switch{width:48px;height:27px;border-radius:30px;background:#e4eaf1;padding:3px;border:0}.switch span{display:block;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.12);transition:.2s}.switch.on{background:#2868e8}.switch.on span{transform:translateX(21px)}.balance-warning{font-size:10px;color:#ef4444;margin-bottom:12px}.pay-button{width:100%;padding:14px}.secure-pay{text-align:center;color:#78899a;font-size:11px;margin-top:12px}
@media(max-width:900px){.calendar-days{grid-template-columns:repeat(4,1fr)}.booking-shell,.detail-info-grid{grid-template-columns:1fr}.booking-summary{order:-1}.detail-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.calendar-days{grid-template-columns:repeat(4,1fr)}.calendar-day:nth-child(n+5){display:none}.schedule-date-banner{padding:14px}.schedule-date-banner h3{font-size:20px}.match-card.list-card{grid-template-columns:1fr}.match-card.list-card .match-img{min-height:190px;height:190px}.match-title-row{display:block!important}.match-provider{display:block;margin-top:7px}.match-bottom{display:block}.match-actions{margin-top:13px}.match-actions .btn{flex:1}.detail-hero{height:250px;padding:20px}.detail-hero-content h2{font-size:28px}.detail-tabs{padding:0 8px}.detail-tab{font-size:11px;padding:14px 5px}.lineup-grid{grid-template-columns:1fr}.booking-shell{padding:10px 12px 20px}.booking-header h2{font-size:26px}.slot-grid{grid-template-columns:1fr}}


.auth-label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}
.auth-label-row label{margin-bottom:0}
.forgot-link{border:0;background:transparent;color:#286ce0;font-size:11px;font-weight:700;padding:0;cursor:pointer}
.auth-hint{display:block;color:#6b7a8c;font-size:10px;margin-top:5px;min-height:12px}
.forgot-card{max-width:460px}
@media(max-width:560px){.auth-modal-card{max-height:calc(100vh - 24px);overflow:auto}.auth-modal-card .auth-header{margin-bottom:15px}.auth-group{margin-bottom:9px}}


/* ================= ONESPORT MEMBER DASHBOARD ================= */
.member-dashboard{background:linear-gradient(135deg,#071a33 0%,#123b83 48%,#0b74de 100%);min-height:calc(100vh - 78px);padding:28px 0 60px}
.dashboard-shell{max-width:1150px;margin:0 auto;padding:0 22px}
.dashboard-membership{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:26px 30px;border-radius:20px;background:linear-gradient(100deg,#7c2be8,#b842a7 52%,#f0b900);color:#fff;box-shadow:0 20px 55px rgba(0,0,0,.18);margin-bottom:28px}
.membership-kicker{font-weight:900;font-size:13px;letter-spacing:.4px;margin-bottom:5px}
.dashboard-membership h2{font-size:28px;line-height:1.15;margin:0 0 5px}
.dashboard-membership p{margin:0 0 13px;font-size:14px;opacity:.95}
.membership-benefits{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;font-weight:700}
.dashboard-upgrade{border:0;border-radius:13px;background:#3982ed;color:#fff;padding:17px 28px;font-weight:900;font-size:14px;min-width:220px;box-shadow:0 10px 22px rgba(15,53,150,.22);cursor:pointer}
.dashboard-card{background:#fff;border-radius:18px;box-shadow:0 12px 35px rgba(5,28,69,.12);margin-bottom:26px;overflow:hidden}
.dashboard-welcome{padding:28px 30px;display:grid;grid-template-columns:1fr auto auto;gap:24px;align-items:center}
.welcome-main{display:flex;align-items:center;gap:15px}
.avatar-gradient{width:58px;height:58px;border-radius:14px;background:linear-gradient(135deg,#3e8df1,#15bca9);display:grid;place-items:center;color:#fff;font-size:20px;font-weight:900}
.dashboard-label{font-size:12px;color:#64748b;margin-bottom:2px}
.dashboard-welcome h1{font-size:28px;line-height:1.1;margin:0 0 7px;color:#111c2f}
.player-badge{display:inline-flex;background:#e4efff;color:#2868d9;padding:5px 12px;border-radius:999px;font-size:11px;font-weight:900}
.welcome-actions{display:flex;gap:10px}
.points-box{text-align:right;white-space:nowrap}
.points-box span{display:block;font-size:12px;color:#475569}
.points-box strong{display:inline-block;background:#f7bd0b;color:#1c2530;padding:10px 15px;border-radius:999px;margin-top:5px;font-size:13px}
.pay-card{padding:25px 28px}
.dash-card-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}
.dash-card-head h2{font-size:18px;margin:0;color:#182337}
.dash-refresh{border:0;background:transparent;font-weight:700;cursor:pointer;color:#374151}
.balance-banner{background:linear-gradient(100deg,#3e86ed,#16b9a9);color:#fff;border-radius:9px;padding:17px 20px;margin-bottom:15px}
.balance-banner span{display:block;font-size:12px;opacity:.9}.balance-banner strong{font-size:25px;line-height:1.1}
.wallet-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:18px}
.wallet-tab{border:0;background:#fff;padding:10px;border-radius:8px;font-size:13px;color:#667085;cursor:pointer}.wallet-tab.active{color:#1d2d49;background:#f3f6fa;font-weight:800}
.wallet-content label{display:block;font-size:12px;color:#475569;margin-bottom:6px}.wallet-input{width:100%;border:1px solid #dbe4ee;border-radius:8px;padding:12px;font-size:14px;outline:none}
.amount-chips{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 13px}.amount-chips button{border:1px solid #d4dce7;background:#fff;border-radius:8px;padding:7px 11px;font-size:12px;cursor:pointer;color:#4b5563}.amount-chips button:hover{border-color:#2f7bf0;color:#2169d4}
.wallet-submit{width:100%}.empty-wallet{padding:18px;border:1px dashed #d5dfeb;border-radius:10px;color:#718096;font-size:13px;text-align:center}
.dashboard-two-col{display:grid;grid-template-columns:1fr 1.7fr;gap:26px}.voucher-card,.booking-history-card{padding:25px 28px}
.voucher-lock{background:linear-gradient(145deg,#2e66dc,#2052bb);color:#fff;border-radius:14px;padding:25px;text-align:center;min-height:225px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 15px 30px rgba(33,82,187,.25)}
.voucher-lock-icon{width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:21px;margin-bottom:10px}.voucher-lock h3{font-size:17px;margin:0 0 6px}.voucher-lock p{font-size:12px;line-height:1.5;opacity:.9;max-width:260px;margin-bottom:15px}
.booking-history-item{border:1px solid #e4d8f7;background:#fcf8ff;border-radius:10px;padding:15px}.booking-history-item>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:start}.booking-history-item strong{display:block;color:#6d2bd4;font-size:13px}.booking-history-item small{display:block;color:#7c4bb3;margin-top:3px}.status-paid{background:#ffe0e0;color:#dc4444;padding:5px 9px;border-radius:999px;font-size:9px;font-weight:900}
.history-meta{display:flex;gap:16px;flex-wrap:wrap;border-top:1px solid #eadff7;border-bottom:1px solid #eadff7;margin-top:10px;padding:10px 0;font-size:11px;color:#6d2bd4}.history-date{font-size:10px;color:#9a73bf;margin-top:8px}.history-hidden{margin-top:12px;border:1px solid #d9e4f2;border-radius:10px;padding:15px;text-align:center}.history-hidden strong{font-size:14px}.history-hidden p{font-size:12px;color:#64748b;margin-top:3px}
.quick-actions{padding:24px 28px}.quick-actions h2{font-size:17px;margin-bottom:16px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.quick-grid button{border:2px solid #a9d0ff;background:#fff;color:#46556a;border-radius:999px;padding:13px;font-weight:800;cursor:pointer}.quick-grid .quick-primary{background:#3f86ed;color:#fff;border-color:#3f86ed}
.profile-summary{padding:23px 28px}.small-btn{padding:8px 12px;font-size:11px}.profile-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.profile-summary-grid div{background:#f7f9fc;border:1px solid #e8edf4;border-radius:10px;padding:12px}.profile-summary-grid span{display:block;color:#718096;font-size:10px}.profile-summary-grid strong{display:block;color:#1e293b;font-size:13px;margin-top:3px}
@media(max-width:900px){.dashboard-membership{flex-direction:column;align-items:flex-start}.dashboard-welcome{grid-template-columns:1fr}.points-box{text-align:left}.dashboard-two-col{grid-template-columns:1fr}.profile-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.dashboard-shell{padding:0 12px}.dashboard-membership{padding:21px}.dashboard-membership h2{font-size:23px}.dashboard-upgrade{width:100%}.dashboard-welcome{padding:20px}.welcome-actions{flex-wrap:wrap}.quick-grid{grid-template-columns:1fr}.profile-summary-grid{grid-template-columns:1fr}.wallet-tabs{font-size:11px}.wallet-tab{padding:8px 4px}}


.gallery-toolbar{display:grid;grid-template-columns:1fr 260px;gap:12px;margin:0 0 20px}
.gallery-search{height:48px;border:1px solid var(--line);background:#fff;border-radius:12px;display:flex;align-items:center;padding:0 14px;gap:10px}
.gallery-search span{font-size:20px;color:#789}
.gallery-search input,.gallery-toolbar select{border:0;outline:0;width:100%;font:inherit;color:var(--text);background:transparent}
.gallery-toolbar select{height:48px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 14px}
.gallery-list{display:grid;gap:14px}
.gallery-item{display:grid;grid-template-columns:58px 1fr auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(20,50,90,.04)}
.gallery-icon{width:58px;height:58px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#3f82ef,#1f5fe7);color:#fff;font-size:27px}
.gallery-info h3{margin:0 0 7px;font-size:17px}
.gallery-meta{font-size:12px;color:var(--muted);margin-bottom:9px}
.gallery-tags{display:flex;gap:7px;flex-wrap:wrap}
.gallery-tags span{font-size:11px;padding:5px 9px;border-radius:999px;border:1px solid #ccefdc;color:#16864c;background:#f1fff6}
.gallery-tags span+span{border-color:#e2d2ff;color:#7a36d6;background:#faf6ff}
.gallery-info p{margin:10px 0 0;color:var(--muted);font-size:12px;font-style:italic}
.gallery-actions{display:flex;flex-direction:column;gap:9px;min-width:125px}
.gallery-btn{display:flex;justify-content:center;align-items:center;height:38px;padding:0 14px;border-radius:999px;text-decoration:none;font-size:12px;font-weight:800;border:1px solid #bdeccf}
.gallery-btn.photo{color:#16864c;background:#fff}
.gallery-btn.video{color:#7a36d6;border-color:#dfc8ff;background:#fff}
.gallery-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(30,80,150,.1)}
.gallery-empty{text-align:center;padding:30px;color:var(--muted);background:#fff;border:1px dashed var(--line);border-radius:14px}
@media(max-width:760px){.gallery-toolbar{grid-template-columns:1fr}.gallery-item{grid-template-columns:48px 1fr}.gallery-icon{width:48px;height:48px}.gallery-actions{grid-column:2;flex-direction:row;min-width:0}.gallery-btn{flex:1}.gallery-info p{display:none}}


/* =========================================================
   ONESPORT V14 — ORIGINAL UI SYSTEM
   Visual direction: Cianjur Sports Club / modern sports-tech
   No lime / purple / gold. Blue + navy + neutral only.
   ========================================================= */
:root{
  --primary:#1769e8;
  --primary-dark:#0e4fbd;
  --primary-soft:#eaf2ff;
  --navy:#0b2144;
  --ink:#12233d;
  --muted:#66768c;
  --line:#dfe8f2;
  --surface:#ffffff;
  --soft:#f4f7fb;
  --blue-50:#f2f7ff;
  --blue-100:#e4efff;
  --blue-200:#c9ddff;
  --blue-300:#9fc3ff;
  --shadow:0 16px 45px rgba(17,54,96,.08);
  --shadow-lg:0 25px 70px rgba(17,54,96,.12);
  --radius:22px;
}

/* Global */
body{
  background:#f7f9fc;
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
::selection{background:#cfe1ff;color:#0b2144}
.container{width:min(1220px,calc(100% - 44px))}

/* Top information rail */
.topbar{
  background:#0b2144;
  color:#cfe0f5;
  padding:8px 20px;
  font-size:11px;
  letter-spacing:.25px;
}
.topbar strong{color:#fff}

/* Header: pill-navigation instead of Blax-like centered links */
header{
  background:rgba(255,255,255,.90);
  border-bottom:1px solid #e4ebf3;
  box-shadow:0 5px 25px rgba(14,43,76,.05);
}
.nav{height:74px;gap:22px}
.logo{
  display:inline-flex;
  align-items:center;
  font-size:27px;
  letter-spacing:-1.8px;
  color:#0b2144;
}
.logo:before{
  content:"";
  width:9px;height:28px;border-radius:6px;
  background:linear-gradient(180deg,#4e91f4,#1769e8);
  margin-right:9px;
}
.logo span{color:#1769e8}
.nav-links{
  gap:3px;
  padding:5px;
  background:#f4f7fb;
  border:1px solid #e6edf5;
  border-radius:14px;
  font-size:13px;
}
.nav-links a{
  padding:9px 14px;
  border-radius:10px;
  transition:.2s ease;
}
.nav-links a:after{display:none}
.nav-links a:hover{
  background:#e7f0ff;
  color:#1769e8;
}
.nav-links a.active{
  background:#fff;
  color:#1769e8;
  box-shadow:0 3px 12px rgba(19,70,130,.08);
}
.nav-actions{gap:8px}
.nav-actions .btn{border-radius:12px}
.member-pill{
  background:#eef4ff !important;
  color:#175bc8 !important;
  border:1px solid #d2e3ff !important;
  padding:8px 11px !important;
  border-radius:12px !important;
  font-size:12px !important;
}

/* Buttons */
.btn{
  border-radius:12px;
  padding:10px 16px;
  font-size:13px;
}
.btn-primary{
  background:linear-gradient(135deg,#2b7cf0,#1769e8);
  box-shadow:0 9px 22px rgba(23,105,232,.20);
}
.btn-primary:hover{background:linear-gradient(135deg,#1769e8,#0e4fbd)}
.btn-outline{
  border:1px solid #c5daf7;
  color:#1769e8;
  background:#fff;
}
.btn-outline:hover{background:#f1f6ff}

/* Hero: split editorial composition, deliberately different from Blax */
.hero{
  min-height:650px;
  color:var(--ink);
  background:#f7f9fc !important;
  position:relative;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute;
  right:0;top:0;bottom:0;
  width:48%;
  background:
    linear-gradient(90deg,rgba(247,249,252,1) 0%,rgba(247,249,252,.08) 30%,rgba(247,249,252,0) 100%),
    linear-gradient(160deg,rgba(23,105,232,.10),rgba(11,33,68,.10)),
    var(--onesport-hero-right-bg, none) center/cover;
  clip-path:polygon(17% 0,100% 0,100% 100%,0 100%);
}
.hero:after{
  width:260px;height:260px;
  right:34%;bottom:-110px;
  background:rgba(23,105,232,.10);
  filter:blur(4px);
}
.hero-content{
  padding:96px 0 100px;
  max-width:720px;
}
.hero .eyebrow{
  color:#1769e8;
  font-size:12px;
  letter-spacing:.8px;
}
.hero .eyebrow:before{background:#1769e8}
.hero h1{
  color:#0b2144;
  font-size:clamp(44px,6vw,78px);
  letter-spacing:-4px;
  line-height:.98;
  margin-bottom:24px;
}
.hero h1 span{color:#1769e8}
.hero p{
  color:#5f7188;
  max-width:600px;
  font-size:17px;
}
.hero p strong{color:#1769e8}
.hero-actions .btn{padding:13px 19px}
.hero-stats{gap:0;margin-top:42px}
.hero-stat{
  min-width:145px;
  padding:0 22px;
  border-left:1px solid #d7e1ec;
}
.hero-stat:first-child{padding-left:0;border-left:0}
.hero-stat strong{color:#0b2144;font-size:27px}
.hero-stat span{color:#718197}

/* Section system */
.section{padding:82px 0}
.section-soft{background:#f4f7fb}
.section-head{margin-bottom:30px}
.section-head .eyebrow{color:#1769e8}
.section-head h2{
  color:#0b2144;
  font-size:clamp(29px,4vw,40px);
  letter-spacing:-1.7px;
}
.section-head p{color:#6a7b90}
.section-link{color:#1769e8}

/* Sport cards: clean, compact, no heavy shadow */
.sport-grid{gap:18px}
.sport-card{
  min-height:220px;
  border-radius:22px;
  box-shadow:none;
  border:1px solid rgba(255,255,255,.35);
}
.sport-card:after{
  background:linear-gradient(180deg,rgba(7,29,60,.05),rgba(5,25,53,.88));
}
.sport-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 38px rgba(12,51,93,.13);
}
.sport-card-content{left:22px;right:22px;bottom:20px}
.sport-card-content h3{font-size:25px}
.sport-card-content p{color:#d8e7f7}

/* Venue cards */
.venue-grid{gap:18px}
.venue-card{
  border-radius:20px;
  border:1px solid #e2eaf3;
  box-shadow:0 8px 28px rgba(20,50,90,.045);
}
.venue-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}
.venue-card-top{min-height:185px}
.venue-card-body{padding:14px 16px}
.venue-filter .pill{
  border:1px solid #d6e2f0;
  background:#fff;
  color:#5c6e83;
}
.venue-filter .pill.active{
  background:#eaf2ff;
  color:#1769e8;
  border-color:#bfd7ff;
}

/* Schedule: more app-like */
.schedule-page{background:#f4f7fb}
.calendar-panel{
  border-radius:20px;
  border:1px solid #e1e9f2;
  box-shadow:none;
}
.calendar-date{
  border-radius:14px !important;
}
.calendar-date.active{
  background:#1769e8 !important;
  border-color:#1769e8 !important;
  box-shadow:0 8px 18px rgba(23,105,232,.18);
}
.match-card{
  border-radius:20px !important;
  border:1px solid #e0e8f1 !important;
  box-shadow:0 9px 28px rgba(20,50,90,.055) !important;
}
.match-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 36px rgba(20,50,90,.10) !important;
}

/* Gallery: original magazine/list look */
.gallery-item{
  border-radius:20px;
  border:1px solid #dfe8f2;
  box-shadow:0 8px 28px rgba(20,50,90,.045);
}
.gallery-icon{
  background:linear-gradient(145deg,#0b2144,#1769e8);
  border-radius:16px;
}
.gallery-btn.photo,.gallery-btn.video{
  color:#1769e8;
  border-color:#c8dcf7;
  background:#f8fbff;
}
.gallery-btn.video{color:#0b4fb8}
.gallery-tags span,.gallery-tags span+span{
  color:#1769e8;
  border-color:#c9ddff;
  background:#f1f6ff;
}

/* =========================================================
   MEMBER DASHBOARD — new original composition
   ========================================================= */
.member-dashboard{
  background:
    radial-gradient(circle at 85% 0%,rgba(23,105,232,.08),transparent 30%),
    #f4f7fb;
  min-height:calc(100vh - 74px);
  padding:34px 0 70px;
}
.dashboard-shell{
  max-width:1220px;
  padding:0 22px;
}

/* Membership becomes a clean blue utility banner */
.dashboard-membership{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  padding:23px 27px;
  margin-bottom:18px;
  border-radius:20px;
  background:#0b2144;
  border:1px solid #173a6b;
  box-shadow:0 14px 35px rgba(11,33,68,.12);
}
.dashboard-membership:after{
  content:"";
  position:absolute;
  right:-60px;top:-100px;
  width:270px;height:270px;
  border:42px solid rgba(71,143,245,.12);
  border-radius:50%;
}
.membership-kicker{
  color:#8fc0ff;
  font-size:11px;
  letter-spacing:1px;
}
.dashboard-membership h2{font-size:22px;color:#fff}
.dashboard-membership p{color:#bdcde0;font-size:13px}
.membership-benefits{color:#d8e7f7;gap:15px}
.dashboard-upgrade{
  position:relative;z-index:2;
  background:#fff;
  color:#1769e8;
  border-radius:12px;
  padding:13px 20px;
  min-width:185px;
  box-shadow:none;
}
.dashboard-upgrade:hover{background:#edf5ff}

/* Welcome = blue identity panel */
.dashboard-welcome{
  padding:0;
  display:grid;
  grid-template-columns:1fr auto;
  gap:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #e0e8f1;
  border-radius:22px;
  box-shadow:var(--shadow);
}
.welcome-main{
  padding:28px 30px;
}
.avatar-gradient{
  width:66px;height:66px;
  border-radius:18px;
  background:#eaf2ff;
  color:#1769e8;
  border:1px solid #cfe0fb;
  box-shadow:none;
}
.dashboard-label{
  color:#7a8a9e;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:10px;
  font-weight:800;
}
.dashboard-welcome h1{
  font-size:30px;
  color:#0b2144;
  letter-spacing:-1.3px;
}
.player-badge{
  background:#eaf2ff;
  color:#1769e8;
  border:1px solid #cfe0fb;
}
.welcome-actions{
  padding:28px 28px 28px 0;
  align-items:center;
}
.points-box{
  grid-column:1/-1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:13px 30px;
  border-top:1px solid #e7edf4;
  background:#fbfcfe;
  text-align:left;
}
.points-box span{color:#74849a}
.points-box strong{
  background:#eaf2ff;
  color:#1769e8;
  border:1px solid #cfe0fb;
  margin:0;
  padding:7px 13px;
}

/* Wallet */
.dashboard-card{
  border:1px solid #e0e8f1;
  border-radius:22px;
  box-shadow:var(--shadow);
}
.pay-card{
  padding:26px 28px;
}
.dash-card-head h2{color:#0b2144}
.dash-refresh{color:#1769e8}
.balance-banner{
  background:linear-gradient(135deg,#1769e8,#2f8cf2);
  border-radius:16px;
  padding:20px 22px;
  box-shadow:0 12px 25px rgba(23,105,232,.16);
}
.balance-banner strong{font-size:30px}
.wallet-tabs{
  background:#f5f8fc;
  border-radius:12px;
  padding:4px;
  gap:4px;
}
.wallet-tab{
  border-radius:9px;
}
.wallet-tab.active{
  background:#fff;
  color:#1769e8;
  box-shadow:0 2px 8px rgba(30,70,120,.07);
}
.amount-chips button{
  border-radius:9px;
}
.amount-chips button:hover{
  background:#eef5ff;
  border-color:#a8c9f7;
}
.wallet-submit{
  border-radius:11px;
}

/* Lower dashboard */
.dashboard-two-col{
  grid-template-columns:.85fr 1.55fr;
  gap:18px;
}
.voucher-card,.booking-history-card{padding:24px 26px}
.voucher-lock{
  background:linear-gradient(145deg,#0b2144,#1769e8);
  border-radius:18px;
  min-height:235px;
  box-shadow:none;
}
.voucher-lock-icon{
  background:rgba(255,255,255,.13);
}
.booking-history-item{
  border:1px solid #dce8f8;
  background:#f8fbff;
  border-radius:15px;
}
.booking-history-item strong{
  color:#0b4fb8;
}
.status-paid{
  background:#eaf2ff;
  color:#1769e8;
}
.history-meta{
  color:#315d94;
  border-color:#e1ebf7;
}

/* Quick actions become individual action tiles */
.quick-actions{padding:24px 26px}
.quick-grid{grid-template-columns:repeat(3,1fr);gap:12px}
.quick-grid button{
  border:1px solid #d7e3f0;
  border-radius:14px;
  background:#fff;
  padding:15px 13px;
  color:#2d4868;
  transition:.2s ease;
}
.quick-grid button:hover{
  border-color:#a9c8ef;
  background:#f5f9ff;
  transform:translateY(-2px);
}
.quick-grid .quick-primary{
  background:#1769e8;
  border-color:#1769e8;
  color:#fff;
  box-shadow:0 9px 20px rgba(23,105,232,.16);
}

/* Profile summary */
.profile-summary{padding:24px 26px}
.profile-summary-grid{gap:10px}
.profile-summary-grid div{
  background:#f7f9fc;
  border:1px solid #e5ebf2;
  border-radius:13px;
  padding:13px;
}
.profile-summary-grid span{
  text-transform:uppercase;
  letter-spacing:.5px;
}
.profile-summary-grid strong{color:#172b46}

/* Auth modals: cleaner premium cards */
.auth-modal-card{
  border-radius:24px;
  border:1px solid #dce6f1;
  box-shadow:0 35px 90px rgba(9,34,65,.25);
  padding:30px 28px 25px;
}
.auth-header h2{
  color:#0b2144;
  letter-spacing:-1px;
}
.auth-header p{color:#718197}
.auth-field{
  border-color:#d7e2ee !important;
  border-radius:12px !important;
  background:#fbfdff !important;
}
.auth-field:focus-within{
  border-color:#78a9ec !important;
  box-shadow:0 0 0 3px #eaf2ff !important;
}
.auth-submit{
  background:linear-gradient(135deg,#2b7cf0,#1769e8) !important;
  border-radius:12px !important;
}

/* Mobile */
@media(max-width:1000px){
  .nav-links{gap:0}
  .nav-links a{padding:9px 10px}
  .dashboard-welcome{grid-template-columns:1fr}
  .welcome-actions{padding:0 30px 20px}
  .points-box{grid-column:auto}
}
@media(max-width:760px){
  .container{width:min(100% - 28px,1220px)}
  .topbar{white-space:nowrap;overflow:hidden}
  .nav{height:auto;min-height:70px;flex-wrap:wrap;padding:10px 0}
  .nav-links{
    order:3;width:100%;overflow-x:auto;justify-content:flex-start;
    scrollbar-width:none;
  }
  .nav-links::-webkit-scrollbar{display:none}
  .nav-actions{margin-left:auto}
  .member-pill{display:none}
  .hero{min-height:650px}
  .hero:before{width:100%;opacity:.22;clip-path:none}
  .hero-content{padding:75px 0}
  .hero h1{font-size:48px;letter-spacing:-2.8px}
  .hero-stats{gap:0}
  .hero-stat{min-width:33%;padding:0 12px}
  .hero-stat strong{font-size:22px}
  .dashboard-membership{padding:21px;flex-direction:column;align-items:flex-start}
  .dashboard-upgrade{width:100%}
  .welcome-main{padding:23px}
  .welcome-actions{padding:0 23px 20px;flex-wrap:wrap}
  .points-box{padding:12px 23px}
  .dashboard-two-col{grid-template-columns:1fr}
  .quick-grid{grid-template-columns:1fr}
  .gallery-item{grid-template-columns:48px 1fr}
  .gallery-actions{grid-column:2}
}


/* =========================================================
   ONESPORT V15 — SCHEDULE CARD RESPONSIVE FIX
   Prevent schedule information/button clipping at browser
   zoom levels and medium-width preview panes.
   ========================================================= */
#jadwal .match-grid{
  grid-template-columns:1fr;
  width:100%;
}
#jadwal .match-card.list-card{
  width:100%;
  min-width:0;
  overflow:hidden;
}
#jadwal .match-card.list-card .match-body{
  min-width:0;
  overflow:hidden;
}
#jadwal .match-card.list-card .match-title-row{
  min-width:0;
}
#jadwal .match-card.list-card .match-title-row > div:first-child{
  min-width:0;
}
#jadwal .match-card.list-card .match-title-row h3{
  overflow-wrap:anywhere;
}
#jadwal .match-provider{
  flex:0 0 auto;
  max-width:180px;
  overflow:hidden;
  text-overflow:ellipsis;
}
#jadwal .match-bottom{
  min-width:0;
  flex-wrap:wrap;
}
#jadwal .match-price{
  min-width:150px;
}
#jadwal .match-actions{
  margin-left:auto;
  flex:0 0 auto;
  flex-wrap:wrap;
}
#jadwal .match-actions .btn{
  min-width:105px;
  white-space:nowrap;
}

/* At medium widths, stack the image above the content instead of
   forcing a 192px image + narrow content into a small pane. */
@media(max-width:820px){
  #jadwal .match-card.list-card{
    grid-template-columns:150px minmax(0,1fr);
  }
  #jadwal .match-card.list-card .match-img{
    min-height:230px;
  }
  #jadwal .match-card.list-card .match-body{
    padding:18px;
  }
  #jadwal .match-title-row{
    gap:10px;
  }
  #jadwal .match-provider{
    max-width:110px;
  }
}

@media(max-width:680px){
  #jadwal .match-card.list-card{
    grid-template-columns:1fr;
  }
  #jadwal .match-card.list-card .match-img{
    min-height:190px;
    height:190px;
  }
  #jadwal .match-card.list-card .match-body{
    padding:18px;
  }
  #jadwal .match-bottom{
    display:block;
  }
  #jadwal .match-price{
    min-width:0;
  }
  #jadwal .match-actions{
    margin-top:14px;
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
  }
  #jadwal .match-actions .btn{
    width:100%;
    min-width:0;
  }
}


/* V16 — Booking interaction & responsive modal hardening */
.modal{z-index:1000;align-items:flex-start;padding:24px 16px;overflow-y:auto}
.modal.show{display:flex}
.booking-modal-card{max-height:calc(100vh - 48px);overflow:auto;margin:auto}
.booking-shell{min-width:0}
.booking-main,.booking-summary{min-width:0}
.booking-summary{position:sticky;top:0}
.profile-field .field{min-width:0;overflow-wrap:anywhere}
.slot-card{min-width:0}
.match-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;min-width:210px}
.match-actions .btn{white-space:nowrap}
.detail-quick-action{position:sticky;bottom:0;z-index:4;background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}
@media(max-width:900px){
  .booking-summary{position:static}
  .booking-modal-card{max-height:calc(100vh - 24px)}
}
@media(max-width:680px){
  .modal{padding:8px}
  .booking-modal-card{max-height:calc(100vh - 16px);border-radius:18px}
  .match-actions{width:100%;min-width:0;justify-content:stretch}
  .match-actions .btn{flex:1;min-width:0}
}


/* V17 booking status */
.status-pending{background:#fff4d8;color:#a66a00;padding:5px 9px;border-radius:999px;font-size:9px;font-weight:900}
#bookingHistoryList{display:grid;gap:10px}
#bookingHistoryList .booking-history-item{position:relative}

/* V21 direct booking form + payment */
.profile-field .field input{flex:1;border:0;outline:0;background:transparent;color:#15233b;font:inherit;min-width:0;padding:0}
.profile-field .field input::placeholder{color:#9aa7b8}
.booking-auth-note{background:#f5f9ff;border:1px solid #d7e7fb;border-radius:12px;padding:11px 13px;font-size:11px;color:#5d6f85;margin-top:12px}
.payment-modal-card{width:min(520px,calc(100vw - 28px));border-radius:20px;background:#fff;padding:28px;box-shadow:0 24px 80px rgba(15,35,70,.22)}
.payment-head{text-align:center}.payment-head .payment-icon{width:58px;height:58px;border-radius:16px;background:#eaf3ff;color:#1f6bea;display:grid;place-items:center;margin:0 auto 12px;font-size:25px}.payment-head h2{margin:0 0 6px;font-size:23px}.payment-head p{margin:0;color:#718096;font-size:12px;line-height:1.55}.payment-order{margin:20px 0;padding:15px;border:1px solid #dbe7f5;border-radius:14px;background:#f8fbff}.payment-order strong{display:block;color:#17243a;font-size:14px;margin-bottom:8px}.payment-line{display:flex;justify-content:space-between;gap:15px;padding:6px 0;font-size:12px;color:#5f6f83}.payment-line.total{border-top:1px solid #dbe7f5;margin-top:7px;padding-top:12px;color:#17243a;font-weight:900;font-size:15px}.payment-method{display:flex;align-items:center;gap:10px;border:1px solid #cfe0f5;border-radius:12px;padding:12px;margin-bottom:14px}.payment-method-badge{font-weight:900;color:#1d69e8}.payment-confirm{width:100%;height:46px;border:0;border-radius:12px;background:#286ee8;color:#fff;font-weight:900;cursor:pointer}.payment-cancel{width:100%;margin-top:8px;border:0;background:transparent;color:#65758a;padding:9px;cursor:pointer}



/* V23: keep the Booking close button visible while the long form scrolls */
.booking-modal-card{
  overflow:hidden !important;
  max-height:90vh;
}
.booking-modal-card > .modal-close{
  position:absolute !important;
  top:14px !important;
  right:14px !important;
  z-index:100 !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  cursor:pointer !important;
  pointer-events:auto !important;
  background:#ffffff !important;
  border:1px solid #d7e3f0 !important;
  box-shadow:0 5px 16px rgba(11,33,68,.14);
}
.booking-modal-card .booking-header{
  position:relative;
  z-index:2;
}
.booking-modal-card .booking-shell{
  overflow-y:auto;
  overflow-x:hidden;
  max-height:calc(90vh - 150px);
  overscroll-behavior:contain;
}
@media(max-width:760px){
  .booking-modal-card{max-height:94vh;}
  .booking-modal-card .booking-shell{max-height:calc(94vh - 145px);}
}


/* ONESPORT UI production integration overrides */
.os-loading{display:flex;align-items:center;justify-content:center;padding:48px;color:#64748b}
.os-alert{padding:12px 14px;border-radius:12px;margin:12px 0;font-size:13px}
.os-alert.error{background:#fff0f0;color:#a53b3b;border:1px solid #f2cccc}
.os-alert.success{background:#eaf8f1;color:#087657;border:1px solid #c5ead9}
.os-alert.info{background:#eef6ff;color:#175bc8;border:1px solid #d3e5fb}
.os-event-meta{display:flex;flex-wrap:wrap;gap:8px;color:#53677d;font-size:12px;margin:9px 0}
.os-facility-list{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}
.os-facility-item{padding:10px 12px;background:#f6f9fc;border:1px solid #e2eaf3;border-radius:10px;font-size:12px;color:#53677d}
.os-booking-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900}
.os-booking-status.pending{background:#fff4d8;color:#a66a00}
.os-booking-status.confirmed{background:#d8f7ea;color:#087657}
.os-booking-status.cancelled{background:#fff0f0;color:#a53b3b}
.os-auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f4f7fb;border-radius:10px;padding:4px;margin-bottom:18px}
.os-auth-tabs button{border:0;background:transparent;padding:9px;border-radius:8px;font-weight:800;color:#64748b}
.os-auth-tabs button.active{background:#fff;color:#1769e8;box-shadow:0 2px 10px rgba(20,50,80,.08)}
.os-dashboard-section{padding:30px 0 60px}
.os-dashboard-card{background:#fff;border-radius:18px;box-shadow:0 12px 35px rgba(5,28,69,.08);padding:22px;margin-bottom:20px}
.os-dashboard-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}
.os-history-list{display:grid;gap:10px}
.os-history-item{border:1px solid #e4eaf2;border-radius:12px;padding:13px;background:#fbfdff}
.os-history-item strong{font-size:13px;color:#182337}
.os-history-meta{display:flex;flex-wrap:wrap;gap:12px;color:#64748b;font-size:11px;margin-top:6px}
.os-empty{text-align:center;padding:30px;border:1px dashed #cbd8e5;border-radius:14px;color:#64748b}
.os-payment-note{background:#fff7df;border:1px solid #f3df9f;color:#8a6100;border-radius:12px;padding:11px 13px;font-size:11px;line-height:1.5}
.os-member-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.os-member-nav button{border:1px solid #dbe6f2;background:#fff;border-radius:10px;padding:9px 12px;font-weight:800;color:#53677d}
.os-member-nav button.active{background:#1769e8;color:#fff;border-color:#1769e8}
@media(max-width:760px){
  .os-facility-list{grid-template-columns:1fr}
  .os-dashboard-grid{grid-template-columns:1fr}
}

.hidden{display:none!important;}

.password-toggle-wrap{position:relative;display:flex;align-items:center}
.password-toggle-wrap input{padding-right:44px!important;width:100%}
.password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#51657d;cursor:pointer;font-size:17px;line-height:1;padding:4px}
.password-toggle:hover{color:#1769e8}

.member-upgrade-banner{background:linear-gradient(110deg,#08285c,#123e86);color:#fff;border-radius:18px;padding:26px 30px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 18px 38px rgba(5,36,84,.16);margin-bottom:20px}
.member-upgrade-banner h2{margin:4px 0 5px;font-size:24px}
.member-upgrade-banner p{margin:0 0 12px;color:#d8e7ff;font-size:13px}
.member-upgrade-banner .eyebrow{color:#c7dbff}
.member-benefits{display:flex;flex-wrap:wrap;gap:14px;font-size:11px;font-weight:800;color:#eaf3ff}
.member-welcome-card,.member-dashboard-card{background:#fff;border-radius:18px;border:1px solid #e1e9f3;box-shadow:0 12px 32px rgba(19,48,79,.07);padding:22px;margin-bottom:20px}
.member-welcome-card{display:grid;grid-template-columns:1fr auto;gap:12px 20px}
.member-welcome-main{display:flex;align-items:center;gap:14px}
.member-avatar{width:60px;height:60px;border-radius:16px;background:#edf4ff;border:1px solid #cfe0fb;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:900;color:#1769e8}
.member-welcome-main h2{margin:4px 0 6px;font-size:28px;color:#0e2449}
.member-role{display:inline-flex;padding:5px 10px;border-radius:999px;background:#eef5ff;color:#1769e8;font-size:10px;font-weight:900}
.member-welcome-actions{display:flex;align-items:center;gap:8px}
.member-point-row{grid-column:1/-1;border-top:1px solid #edf1f6;padding-top:14px;display:flex;justify-content:space-between;color:#66778c;font-size:12px}
.member-point-row strong{color:#1769e8;background:#eef5ff;border-radius:999px;padding:7px 11px}
.member-grid-top{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}
.dash-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.dash-card-head h3{margin:0;color:#12284c;font-size:17px}
.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.os-lineup-list{display:grid;gap:10px}
.os-lineup-item{border:1px solid #e2e9f2;border-radius:13px;padding:13px;background:#fbfdff}
.os-lineup-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.os-lineup-top h4{margin:0;font-size:14px;color:#132b50}
.os-lineup-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;color:#66778c;font-size:11px}
.os-lineup-badge{font-size:9px;font-weight:900;border-radius:999px;padding:5px 8px;background:#eef5ff;color:#1769e8}
.os-lineup-players{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.os-player-chip{padding:5px 8px;background:#f1f5f9;border-radius:999px;font-size:10px;color:#4c5f74;font-weight:700}
.next-schedule-card{min-height:150px;display:flex;align-items:center}
.next-schedule-item{width:100%;border-radius:14px;background:#f7faff;border:1px solid #dce8f7;padding:16px}
.next-schedule-date{font-size:11px;color:#1769e8;font-weight:900}
.next-schedule-item h4{margin:5px 0;font-size:18px;color:#102849}
.next-schedule-item p{margin:0;color:#66778c;font-size:12px}
.profile-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.profile-summary-grid>div{background:#f7f9fc;border:1px solid #e5ebf3;border-radius:12px;padding:12px}
.profile-summary-grid span{display:block;font-size:9px;color:#7890a8;text-transform:uppercase;letter-spacing:.7px;margin-bottom:5px}
.profile-summary-grid strong{font-size:12px;color:#12284c;word-break:break-word}
.member-dashboard-card .text-button{font-size:11px}
@media(max-width:900px){.member-grid-top{grid-template-columns:1fr}.member-welcome-card{grid-template-columns:1fr}.member-welcome-actions{justify-content:flex-start}.profile-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.member-upgrade-banner{padding:20px;align-items:flex-start;flex-direction:column}.quick-actions{grid-template-columns:1fr}.profile-summary-grid{grid-template-columns:1fr}}

.job-select-row{display:flex;gap:8px;align-items:center}
.job-select-row select{flex:1}

/* ONESPORT 1.0.9 — clean auth fields */
.auth-field{position:relative!important}
.auth-field input{box-sizing:border-box!important;padding-right:48px!important}
.password-toggle{
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:30px!important;
  height:30px!important;
  border:0!important;
  background:transparent!important;
  color:#687c94!important;
  cursor:pointer!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  z-index:10!important;
}
.password-toggle:hover{color:#1769e8!important}
.job-example{margin:5px 0 0!important;font-size:11px!important;color:#9aa8b8!important;line-height:1.4!important}

/* ONESPORT 1.1.0 — registration UX */
.auth-modal-card{max-width:560px!important}
.register-membership-row{display:flex;align-items:flex-start;gap:10px;border:1px solid #dce5ef;border-radius:12px;padding:12px 14px;background:#fff;margin-top:2px}
.register-membership-row input[type="checkbox"]{margin-top:3px;width:18px;height:18px;accent-color:#1769e8}
.register-membership-copy{flex:1}
.register-membership-copy strong{display:inline-block;font-size:13px;color:#10284d}
.register-membership-price{color:#ff7a00;font-weight:900;margin-left:3px}
.register-membership-copy small{display:block;color:#6f8196;font-size:10px;line-height:1.4;margin-top:2px}
.password-toggle{
  font-size:0!important;
}
.password-toggle::before{
  content:'';
  width:15px;height:15px;display:block;
  border:1.7px solid currentColor;border-radius:10px/7px;
  box-sizing:border-box;
}
.password-toggle::after{
  content:'';
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:4px;height:4px;border-radius:50%;background:currentColor;
}
.password-toggle.is-visible::before{border-radius:50%;width:16px;height:10px}
.password-toggle.is-visible::after{width:10px;height:1.5px;border-radius:0;transform:translate(-50%,-50%) rotate(45deg)}

/* =========================================================
   ONESPORT 1.1.1 — AUTH MODAL FINAL LAYOUT
   Reference-aligned + functional
   ========================================================= */
.auth-modal-card{
  width:min(535px,calc(100vw - 28px))!important;
  max-height:calc(100vh - 28px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#fff!important;
  border:1px solid #d9e3ef!important;
  border-radius:24px!important;
  padding:30px 32px 22px!important;
  box-sizing:border-box!important;
}
.auth-header{margin-bottom:20px!important}
.auth-header h2{
  margin:0!important;
  color:#0b2144!important;
  font-size:25px!important;
  line-height:1.15!important;
  letter-spacing:-.8px!important;
}
.auth-header p{margin:6px 0 0!important;color:#718197!important;font-size:13px!important}

.auth-form{display:block!important}
.auth-group{margin-bottom:11px!important}
.auth-group label{
  display:block!important;
  margin:0 0 6px!important;
  color:#111827!important;
  font-size:12px!important;
  font-weight:800!important;
}

.auth-field{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  height:50px!important;
  min-height:50px!important;
  box-sizing:border-box!important;
  border:1px solid #cbd8e7!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.auth-field:focus-within{
  border-color:#78a9ec!important;
  box-shadow:0 0 0 3px #eaf2ff!important;
}
.auth-field input{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#203047!important;
  font-size:14px!important;
  padding:0 46px 0 42px!important;
  box-shadow:none!important;
}
.auth-field input::placeholder{color:#9aa9bb!important;opacity:1!important}
.auth-field input:focus{border:0!important;box-shadow:none!important}

.field-icon{
  position:absolute!important;
  left:13px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:18px!important;
  height:18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#111827!important;
  font-size:15px!important;
  line-height:1!important;
  pointer-events:none!important;
  z-index:2!important;
}

.password-toggle{
  position:absolute!important;
  right:9px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:30px!important;
  height:30px!important;
  border:0!important;
  border-radius:8px!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  color:#111827!important;
  cursor:pointer!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  z-index:3!important;
  font-size:0!important;
}
.password-toggle:hover{background:#f2f6fb!important}
.password-toggle::before{
  content:''!important;
  width:15px!important;
  height:10px!important;
  border:1.6px solid currentColor!important;
  border-radius:50% / 65%!important;
  display:block!important;
  box-sizing:border-box!important;
}
.password-toggle::after{
  content:''!important;
  width:4px!important;
  height:4px!important;
  border-radius:50%!important;
  background:currentColor!important;
  position:absolute!important;
}
.password-toggle.is-visible::before{
  width:16px!important;
  height:11px!important;
}
.password-toggle.is-visible::after{
  width:13px!important;
  height:1.5px!important;
  border-radius:2px!important;
  transform:rotate(45deg)!important;
}

.register-membership-row{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:14px 0 16px!important;
  padding:12px 13px!important;
  border:1px solid #d7e1ec!important;
  border-radius:12px!important;
  background:#fff!important;
}
.register-membership-row input[type="checkbox"]{
  width:20px!important;
  height:20px!important;
  margin:0!important;
  flex:0 0 20px!important;
  accent-color:#2b7cf0!important;
}
.register-membership-copy{min-width:0!important}
.register-membership-copy strong{
  display:block!important;
  font-size:13px!important;
  line-height:1.2!important;
  color:#111827!important;
}
.register-membership-price{
  color:#f17b00!important;
  font-weight:900!important;
  margin-left:3px!important;
}
.register-membership-copy small{
  display:block!important;
  margin-top:3px!important;
  font-size:10px!important;
  line-height:1.35!important;
  color:#6c7d90!important;
}

.auth-submit{
  width:100%!important;
  min-height:50px!important;
  border:0!important;
  border-radius:11px!important;
  font-size:14px!important;
  font-weight:900!important;
  background:linear-gradient(135deg,#2b7cf0,#1769e8)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(23,105,232,.18)!important;
}
.auth-submit:hover{filter:brightness(1.02)!important}
.auth-switch{
  text-align:center!important;
  margin-top:14px!important;
  font-size:13px!important;
  color:#6f8094!important;
}
.auth-switch button{
  border:0!important;
  background:transparent!important;
  color:#1769e8!important;
  font-weight:900!important;
  cursor:pointer!important;
  padding:0!important;
}
.auth-error{
  min-height:0!important;
  margin:0 0 10px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  font-size:12px!important;
}
.auth-error:empty{display:none!important}

@media(max-width:560px){
  .auth-modal-card{
    width:calc(100vw - 16px)!important;
    max-height:calc(100vh - 16px)!important;
    padding:26px 22px 20px!important;
    border-radius:22px!important;
  }
}

/* ONESPORT 1.1.9 — member dashboard visibility */
.os-dashboard-section.hidden{display:none!important}
.os-dashboard-section{width:100%}

/* ONESPORT UI 1.2.5 — dashboard cross-navigation */
.dashboard-line-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.dashboard-inline-action{
  min-height:38px;
}

/* ONESPORT 1.2.6 booking-flow refinement */
.booking-event-highlight{
  padding:16px 18px;
  margin-bottom:15px;
  border:1px solid #dbe6f5;
  border-radius:14px;
  background:#f7faff;
}
.booking-event-label{
  display:block;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  color:#6d88ad;
  margin-bottom:4px;
}
.booking-event-highlight h3{
  margin:0 0 5px;
  font-size:20px;
}
.booking-member-note{
  font-size:12px;
  color:var(--muted,#65738a);
}
.booking-number-field input{
  width:100%;
}
.field-help{
  display:block;
  margin-top:6px;
  color:#6c7890;
  font-size:11px;
}
#bookingNotes{
  width:100%;
  min-height:84px;
  resize:vertical;
}
.booking-summary .summary-line + .summary-line{
  margin-top:10px;
}
.booking-summary .secure-pay{
  margin-top:18px;
}
.booking-summary .secure-pay p{
  margin:5px 0 0;
  color:#66758c;
  font-size:11px;
  line-height:1.5;
}

/* ONESPORT 1.2.6 — sport-aware booking form */
.booking-sport-modal .booking-header{
  text-align:center;
  padding-bottom:12px;
}
.booking-sport-modal .booking-shell{
  align-items:flex-start;
}
.booking-section-heading{
  margin:20px 0 10px;
  font-size:14px;
  font-weight:800;
  color:#245fd1;
}
.booking-account-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.booking-account-grid .full{
  grid-column:1/-1;
}
.booking-account-grid input[readonly]{
  background:#f0f4f9;
  color:#5c6f88;
}
.booking-sport-hint{
  margin-top:8px;
  font-size:12px;
  color:#657891;
}
.booking-player-card,
.booking-friend-card{
  border:1px solid #d6e1f1;
  border-radius:14px;
  background:#f7fbff;
  padding:14px;
  margin-bottom:10px;
}
.booking-player-head,
.booking-friend-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.booking-player-head > div,
.booking-friend-head > div{
  display:flex;
  align-items:center;
  gap:7px;
}
.booking-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:3px 7px;
  font-size:10px;
  font-weight:800;
  background:#e7f0ff;
  color:#2464d7;
}
.booking-slot-label{
  color:#60718a;
  font-size:12px;
}
.booking-main-extra,
.booking-friend-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.booking-friend-grid .profile-field:first-child{
  grid-column:1/-1;
}
.booking-friends-list:empty{
  display:none;
}
.add-friend-btn{
  width:100%;
  margin:8px 0 14px;
}
.booking-notes-field{
  margin-top:8px;
}
@media(max-width:760px){
  .booking-account-grid,
  .booking-main-extra,
  .booking-friend-grid{
    grid-template-columns:1fr;
  }
  .booking-account-grid .full,
  .booking-friend-grid .profile-field:first-child{
    grid-column:auto;
  }
}

/* 1.2.6 pending booking flow */
.booking-continue-note{
  margin-top:10px;
  padding:9px 12px;
  border-radius:10px;
  background:#eef5ff;
  color:#345f9f;
  font-size:12px;
  line-height:1.45;
}

/* 1.2.6 — booking resume note */
.booking-continue-note{
  margin:0 0 12px;
  padding:10px 13px;
  border-radius:11px;
  background:#eef6ff;
  color:#2a5fa8;
  font-size:12px;
  line-height:1.45;
}

/* Booking form: catatan removed per finalized booking flow. */

.booking-role-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.booking-role-card{appearance:none;border:1.5px solid #d9e4f2;background:#fff;border-radius:16px;padding:14px 15px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;transition:.18s ease;min-height:76px;box-shadow:0 4px 12px rgba(21,61,120,.05)}
.booking-role-card:hover{transform:translateY(-1px);border-color:#7fb0ff;box-shadow:0 8px 18px rgba(33,99,220,.10)}
.booking-role-card.selected{border-color:#2d73e8;background:linear-gradient(135deg,#eef5ff,#f8fbff);box-shadow:0 8px 20px rgba(33,99,220,.14)}
.booking-role-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf4ff;font-size:21px;flex:0 0 auto}
.booking-role-info{display:flex;flex-direction:column;gap:4px;min-width:0}.booking-role-info strong{font-size:14px;color:#15325e}.booking-role-info small{font-size:12px;color:#5e718c}
.booking-role-check{margin-left:auto;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#2d73e8;font-weight:900;background:#e7f0ff}
.booking-role-summary{padding:9px 0 11px;color:#61738c;font-size:12px;border-top:1px solid #e4ebf4;border-bottom:1px solid #e4ebf4}
@media(max-width:760px){.booking-role-options{grid-template-columns:1fr}}

/* Final booking layout cleanup */
.booking-sport-modal .booking-shell{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);
  gap:18px;
  align-items:start;
}
.booking-sport-modal .booking-main,
.booking-sport-modal .booking-summary{
  min-width:0;
}
.booking-sport-modal .booking-summary{
  position:sticky;
  top:12px;
  align-self:start;
  background:#fff;
  border:1px solid #d9e5f4;
  border-radius:16px;
  padding:20px;
  box-shadow:0 12px 28px rgba(20,54,100,.08);
}
.booking-sport-modal .summary-heading{
  font-weight:800;
  font-size:18px;
  color:#17335f;
  margin-bottom:16px;
}
.booking-sport-modal .summary-match{
  padding-bottom:14px;
  margin-bottom:14px;
  border-bottom:1px solid #e4ebf4;
}
.booking-sport-modal .summary-match strong{
  display:block;
  font-size:15px;
  line-height:1.35;
}
.booking-sport-modal .summary-match p{
  margin:6px 0 0;
  color:#6b7c94;
  font-size:12px;
  line-height:1.45;
}
.booking-sport-modal .summary-line{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:9px 0;
  font-size:13px;
}
.booking-sport-modal .summary-total{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-top:4px;
  padding:16px 0;
  border-top:1px solid #dce7f4;
  border-bottom:1px solid #dce7f4;
  font-size:18px;
  font-weight:800;
}
.booking-sport-modal .secure-pay{
  margin-top:16px;
  padding:12px;
  border-radius:12px;
  background:#f4f8fd;
}
.booking-sport-modal .secure-pay p{
  margin:5px 0 0;
  color:#6b7c94;
  font-size:11px;
  line-height:1.5;
}
.booking-slot-counter{font-weight:400;color:#60718a}
.booking-section-note{margin:-4px 0 12px;color:#64768e;font-size:12px}
.add-friend-btn{width:100%;margin:12px 0}
.add-friend-cap{font-weight:600;opacity:.75}
@media(max-width:900px){
  .booking-sport-modal .booking-shell{grid-template-columns:1fr}
  .booking-sport-modal .booking-summary{position:static}
}

/* Jersey size picker — visual cards inspired by the provided OneSport reference */
.booking-size-options{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:6px;
}
.booking-size-card{
  position:relative;
  appearance:none;
  border:1.5px solid #cfe0f5;
  background:#fff;
  border-radius:12px;
  min-height:62px;
  padding:9px 8px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  cursor:pointer;
  color:#17335f;
  transition:all .18s ease;
}
.booking-size-card:hover{
  transform:translateY(-1px);
  border-color:#78adff;
  box-shadow:0 6px 14px rgba(30,104,220,.10);
}
.booking-size-card.selected{
  border-color:#2c73e8;
  background:#eef5ff;
  box-shadow:0 0 0 1px rgba(44,115,232,.10),0 7px 16px rgba(44,115,232,.12);
}
.booking-size-icon{
  font-size:16px;
  line-height:1;
  filter:grayscale(.15);
}
.booking-size-label{
  font-size:13px;
  font-weight:800;
}
.booking-size-check{
  position:absolute;
  top:5px;
  right:6px;
  min-width:17px;
  height:17px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:10px;
  font-weight:900;
  color:#fff;
  background:#2c73e8;
}
.booking-size-card:not(.selected) .booking-size-check{display:none}
@media(max-width:520px){
  .booking-size-options{grid-template-columns:repeat(2,minmax(0,1fr));}
}

.active-filter-row{display:flex;align-items:center;gap:10px;padding-top:14px;margin-top:14px;border-top:1px solid #e3ebf4;color:var(--muted);font-size:12px}
.date-chip{border:0;background:#eaf3ff;color:var(--primary);border-radius:9px;padding:8px 10px;font-weight:800;cursor:pointer}
.gallery-toolbar{display:grid;grid-template-columns:1fr 260px;gap:12px;margin:0 0 20px}
.gallery-search{height:48px;border:1px solid var(--line);background:#fff;border-radius:12px;display:flex;align-items:center;padding:0 14px;gap:10px}.gallery-search input,.gallery-toolbar select{border:0;outline:0;width:100%;font:inherit;color:var(--text);background:transparent}.gallery-toolbar select{height:48px;border:1px solid var(--line);border-radius:12px;padding:0 14px}
.gallery-list{display:grid;gap:14px}.gallery-item{display:grid;grid-template-columns:58px 1fr auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.gallery-icon{width:58px;height:58px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#3f82ef,#1f5fe7);color:#fff;font-size:27px}.gallery-info h3{margin:0 0 7px;font-size:17px}.gallery-meta{font-size:12px;color:var(--muted);margin-bottom:9px}.gallery-tags{display:flex;gap:7px;flex-wrap:wrap}.gallery-tags span{font-size:11px;padding:5px 9px;border-radius:999px;border:1px solid #ccefdc;color:#16864c;background:#f1fff6}.gallery-tags span+span{border-color:#e2d2ff;color:#7a36d6;background:#faf6ff}.gallery-info p{margin:10px 0 0;color:var(--muted);font-size:12px}.gallery-actions{display:flex;flex-direction:column;gap:9px;min-width:125px}.gallery-btn{display:flex;justify-content:center;align-items:center;height:38px;padding:0 14px;border-radius:999px;text-decoration:none;font-size:12px;font-weight:800;border:1px solid #bdeccf}.gallery-btn.photo{color:#16864c;background:#fff}.gallery-btn.video{color:#7a36d6;border-color:#dfc8ff;background:#fff}
.store-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.25s}.product:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-img{height:250px;background-size:cover;background-position:center;background-color:#eef4fa}.product-info{padding:18px}.product-info h3{font-size:16px}.product-info p{font-size:12px;color:var(--muted);margin:4px 0 14px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-price{font-weight:900;color:var(--primary);font-size:18px}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.news-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.25s}.news-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.news-img{height:190px;background-size:cover;background-position:center;background-color:#eef4fa}.news-body{padding:18px}.news-body small{color:var(--primary);font-weight:800}.news-body h3{font-size:17px;line-height:1.35;margin:7px 0}.news-body p{font-size:13px;color:var(--muted)}
@media(max-width:900px){.store-grid,.news-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.calendar-days{grid-template-columns:repeat(4,1fr)}.calendar-day:nth-child(n+5){display:none}.gallery-toolbar{grid-template-columns:1fr}.gallery-item{grid-template-columns:1fr}.gallery-actions{flex-direction:row}.gallery-btn{flex:1}.store-grid,.news-grid{grid-template-columns:1fr}}

/* Home 1.2.8 refinement */
.hero .hero-content{max-width:760px;padding:92px 0}
.hero .hero-stats{background:rgba(255,255,255,.78);backdrop-filter:blur(12px);border:1px solid rgba(216,227,241,.85);border-radius:18px;padding:18px 22px;box-shadow:0 12px 32px rgba(24,62,105,.08);width:min(760px,100%)}
.hero .hero-stat{min-width:150px}
section[id]{scroll-margin-top:92px}
.nav-links{gap:24px}
.nav-links a{padding:28px 2px}
@media(max-width:900px){
  .hero{min-height:620px;background-position:64% center}
  .hero .hero-content{padding:72px 0}
}

section[id]{scroll-margin-top:92px}
.nav-links{gap:24px}
.nav-links a{padding:28px 2px}

.gallery-event-type{font-size:11px;font-weight:800;color:var(--primary);letter-spacing:.2px;margin-bottom:4px}
.gallery-tags .pending{border-color:#e5e9ef;color:#7b8797;background:#f7f9fb}
.gallery-tags .video-tag{border-color:#e2d2ff;color:#7a36d6;background:#faf6ff}
.gallery-btn.disabled{display:flex;justify-content:center;align-items:center;height:38px;padding:0 14px;border-radius:999px;font-size:12px;font-weight:800;color:#99a4b4;background:#f5f7fa;border:1px dashed #d7dee8;cursor:default}

/* 1.6.68 — Premium schedule highlight */
.schedule-highlight{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(330px,.85fr);
  gap:20px;
  margin:0 0 24px;
}
.schedule-highlight-main{
  position:relative;
  min-height:420px;
  border-radius:24px;
  overflow:hidden;
  background:#0d315e;
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 20px 50px rgba(15,52,100,.16);
}
.schedule-highlight-main .event-feature-image{position:absolute;inset:0;background-position:center;background-size:cover;background-repeat:no-repeat;background-color:#12345e;transition:background-image .2s ease}
.schedule-highlight-main .event-feature-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:30px 32px;background:linear-gradient(180deg,transparent 26%,rgba(4,18,38,.24) 45%,rgba(4,18,38,.82) 100%)}
.event-feature-kicker{font-size:11px;letter-spacing:.8px;font-weight:900;color:#cfe4ff;margin-bottom:8px;text-transform:uppercase}
.schedule-highlight-main .event-feature-overlay h3{font-size:clamp(28px,3vw,42px);line-height:1.04;letter-spacing:-1.2px;margin:0 0 9px;max-width:760px;color:#fff}
.schedule-highlight-main .event-feature-meta{font-size:13px;color:#e0ebf8;margin:0 0 17px}
.schedule-highlight-main .event-status{width:max-content;margin-bottom:10px;background:rgba(255,255,255,.94);color:#1769e8}
.event-feature-stats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.event-stat-pill{display:inline-flex;align-items:baseline;gap:5px;padding:8px 11px;border-radius:10px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.20);backdrop-filter:blur(8px);color:#fff;font-size:12px}
.event-stat-pill b{font-size:12px}.event-stat-pill small{font-size:10px;color:#dbe9f7}.event-stat-facilities{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.event-feature-actions{display:flex;flex-wrap:wrap;gap:9px}.event-feature-actions .btn{min-height:42px}.event-book-btn{background:#1769e8;color:#fff;border-color:#1769e8}.event-book-btn:hover{background:#0d5bcf}
.schedule-highlight-side{background:#fff;border:1px solid #dce7f4;border-radius:24px;padding:22px;box-shadow:0 12px 34px rgba(20,50,90,.06);min-width:0}
.schedule-highlight-side-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.schedule-highlight-side-head .eyebrow{margin-bottom:3px;font-size:10px}.schedule-highlight-side-head h3{margin:0;color:#15355f;font-size:21px}.schedule-all-btn{border:0;background:transparent;color:#1769e8;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap;padding:6px 0}.schedule-highlight-side .event-upcoming{gap:10px}.schedule-highlight-side .event-upcoming-card{padding:13px 12px;border-radius:15px;box-shadow:none}.schedule-highlight-side .event-date-box{width:50px;height:58px;border-radius:11px}.schedule-highlight-side .event-date-box strong{font-size:23px}.event-upcoming-kicker{font-size:9px;font-weight:900;color:#3b78d8;letter-spacing:.35px;text-transform:uppercase}.schedule-highlight-side .event-upcoming-copy{gap:4px}.schedule-highlight-side .event-upcoming-copy strong{font-size:13px}.schedule-highlight-side .event-upcoming-copy small{font-size:10px}.event-upcoming-slot{margin-left:auto;flex:0 0 auto;min-width:40px;text-align:right;font-weight:900;color:#1769e8;font-size:15px}.event-upcoming-slot small{display:block;color:#8090a3;font-size:8px;font-weight:700}
@media(max-width:980px){.schedule-highlight{grid-template-columns:1fr}.schedule-highlight-side{padding:18px}.schedule-highlight-side .event-upcoming{display:grid;grid-template-columns:1fr 1fr}.schedule-highlight-side .event-upcoming-empty{grid-column:1/-1}}
@media(max-width:600px){.schedule-highlight-main{min-height:470px;border-radius:20px}.schedule-highlight-main .event-feature-overlay{padding:22px 18px}.schedule-highlight-main .event-feature-overlay h3{font-size:29px}.event-stat-pill{padding:7px 9px}.event-stat-facilities{display:none}.event-feature-actions{display:grid;grid-template-columns:1fr 1fr}.event-feature-actions .btn{width:100%;padding:10px 9px;font-size:11px}.schedule-highlight-side{border-radius:20px;padding:15px}.schedule-highlight-side .event-upcoming{display:flex}.schedule-highlight-side .event-upcoming-card{padding:13px 10px}.schedule-all-btn{font-size:10px}}

/* Event & Tournament section */
.event-section-head{align-items:end}
.event-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.85fr);gap:22px}
.event-feature{position:relative;min-height:410px;border-radius:22px;overflow:hidden;background:#12345e;box-shadow:0 18px 45px rgba(15,52,100,.16);border:1px solid rgba(255,255,255,.45)}
.event-feature-image{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,23,46,.92),rgba(6,23,46,.38)),center/cover no-repeat;background-color:#163b67}
.event-feature-overlay{position:absolute;left:0;right:0;bottom:0;padding:28px;color:#fff}
.event-status{display:inline-flex;padding:7px 11px;border-radius:999px;background:#e9f4ff;color:#1764d4;font-size:11px;font-weight:900;margin-bottom:12px}
.event-feature-overlay h3{font-size:30px;line-height:1.08;margin:0 0 10px;max-width:680px}
.event-feature-meta{font-size:13px;color:#dce9f7;margin-bottom:20px}
.event-detail-btn{background:#fff;color:#17345e;border:none}
.event-detail-btn:hover{background:#f4f8fe}
.event-upcoming{display:flex;flex-direction:column;gap:14px}
.event-upcoming-card{display:flex;align-items:center;gap:16px;width:100%;text-align:left;background:#fff;border:1px solid #dce7f4;border-radius:18px;padding:18px 16px;cursor:pointer;transition:.18s ease;box-shadow:0 8px 20px rgba(20,50,90,.04)}
.event-upcoming-card:hover{transform:translateY(-2px);border-color:#8ebcff;box-shadow:0 12px 26px rgba(20,80,180,.09)}
.event-date-box{width:58px;height:68px;border-radius:13px;background:#edf4ff;color:#246fe2;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto}
.event-date-box b{font-size:11px}.event-date-box strong{font-size:27px;line-height:1}
.event-upcoming-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.event-upcoming-copy strong{font-size:15px;color:#16345f;line-height:1.3}.event-upcoming-copy small{color:#6b7b91;font-size:11px;white-space:normal}
.event-upcoming-empty,.event-upcoming-loading{background:#fff;border:1px dashed #cbd9e8;border-radius:18px;padding:24px;color:#6b7b91;font-size:13px}
@media(max-width:900px){.event-layout{grid-template-columns:1fr}.event-feature{min-height:360px}}

/* Gallery event detail cards */
.gallery-event-list{display:grid;gap:18px}
.gallery-event-card{display:grid;grid-template-columns:320px minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid #dce7f4;border-radius:20px;box-shadow:0 10px 28px rgba(19,56,98,.05)}
.gallery-event-cover{min-height:245px;background-position:center;background-size:cover;position:relative;padding:16px;display:flex;flex-direction:column;justify-content:space-between}
.gallery-event-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,28,56,.05),rgba(5,28,56,.36))}
.gallery-sport-badge,.gallery-media-state{position:relative;z-index:1;align-self:flex-start;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.3px}
.gallery-sport-badge{background:#fff;color:#1766d4}.gallery-media-state{background:rgba(255,255,255,.9);color:#66758a}
.gallery-event-body{padding:24px 26px;display:flex;flex-direction:column;justify-content:center}
.gallery-event-kicker{font-size:11px;font-weight:900;letter-spacing:.55px;color:#2771e2;margin-bottom:5px}
.gallery-event-body h3{font-size:24px;line-height:1.2;margin:0 0 11px;color:#122f56}
.gallery-event-meta{display:flex;flex-wrap:wrap;gap:12px;color:#66788f;font-size:12px}
.gallery-event-divider{height:1px;background:#e5edf5;margin:16px 0}
.gallery-event-desc{margin:0 0 18px;color:#65768b;font-size:12px;line-height:1.65}
.gallery-event-media{display:flex;gap:10px;flex-wrap:wrap}
.gallery-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 16px;border-radius:999px;text-decoration:none;font-size:12px;font-weight:900;border:1px solid #cdddf2;background:#fff}
.gallery-action.photo{color:#1768d8}.gallery-action.video{color:#7b35d6;border-color:#dfcef8}.gallery-action.disabled{color:#9aa7b7;background:#f6f8fb;border-style:dashed;cursor:default}
.gallery-event-card.awaiting-media .gallery-event-cover{filter:saturate(.82)}
@media(max-width:820px){.gallery-event-card{grid-template-columns:1fr}.gallery-event-cover{min-height:190px}.gallery-event-body{padding:20px}.gallery-event-body h3{font-size:20px}}

/* Event detail tabs: force real interactivity above modal content */
#detailModal .detail-tabs{position:relative;z-index:50;pointer-events:auto}
#detailModal .detail-tab{position:relative;z-index:51;display:block;cursor:pointer;pointer-events:auto;user-select:none}
#detailModal .detail-tab.active{color:var(--primary);background:#fff;border-bottom-color:var(--primary)}
#detailModal .detail-tab:hover{color:var(--primary);background:#f7fbff}
#detailModal .detail-tab-panel{position:relative;z-index:1}
.detail-lineup{min-height:220px}
.lineup-heading,.lineup-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.lineup-heading h3,.lineup-card-head h4{margin:0;color:var(--navy);font-size:18px}
.detail-lineup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lineup-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.lineup-team-card{border:1px solid var(--line);border-radius:16px;background:#fff;padding:18px}
.lineup-card-head span{font-size:11px;font-weight:800;padding:6px 9px;border-radius:999px;border:1px solid #cfe0f5;color:#2a6fd8;background:#f5f9ff}
.lineup-list{display:grid;gap:9px}
.lineup-player{display:flex;align-items:center;gap:12px;border:1px solid #dfe8f3;background:#f9fbfd;border-radius:12px;padding:12px}
.lineup-number{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#eaf2ff;color:#256bdc;font-weight:900;font-size:12px}
.lineup-player div{display:flex;flex-direction:column;gap:3px}
.lineup-player strong{color:#19365e;font-size:13px}
.lineup-player small{color:#74849a;font-size:10px;font-weight:700}
.keeper-card{border-top:3px solid #f0c84b}
.player-card{border-top:3px solid #5791f3}
@media(max-width:720px){.lineup-columns,.detail-lineup-grid{grid-template-columns:1fr}}

.lineup-locked-card{display:flex;align-items:center;gap:16px;margin-top:18px;padding:18px 20px;border:1px dashed #cfdbea;border-radius:16px;background:linear-gradient(180deg,#fbfdff,#f5f8fc)}
.lineup-locked-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf3ff;font-size:19px;flex:0 0 auto}
.lineup-locked-card h4{margin:0 0 5px;color:var(--navy);font-size:15px}
.lineup-locked-card p{margin:0;color:#6b7c91;font-size:12px;line-height:1.6}

/* 1.2.22 — premium Mini Soccer fixture UI */
.match-schedule-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  margin:4px 2px 16px;
}
.match-schedule-head .eyebrow{font-size:10px;letter-spacing:.7px;color:#2a70e3;font-weight:900;margin-bottom:5px}
.match-schedule-head h3{margin:0;color:#112d55;font-size:24px;line-height:1.15}
.match-schedule-head p{margin:6px 0 0;color:#708199;font-size:12px}
.match-duration-badge{
  white-space:nowrap;padding:10px 13px;border-radius:999px;
  border:1px solid #d7e5f7;background:#f4f8ff;color:#1767d7;font-size:11px;font-weight:900;
}
.match-schedule-grid{display:grid;gap:11px;margin-bottom:20px}
.match-fixture-card{
  display:grid;grid-template-columns:40px minmax(165px,1fr) 54px minmax(165px,1fr) 112px;
  align-items:center;gap:14px;
  padding:14px 16px;border:1px solid #e0e9f4;border-radius:16px;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 7px 20px rgba(28,67,114,.045);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.match-fixture-card:hover{transform:translateY(-2px);border-color:#a7c8f6;box-shadow:0 12px 28px rgba(29,88,174,.10)}
.match-fixture-number{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(135deg,#1f6fe8,#2f83ef);color:#fff;font-size:14px;font-weight:950;
  box-shadow:0 7px 14px rgba(32,109,227,.18);
}
.match-team{display:flex;align-items:center;gap:12px;min-width:0}
.match-team>div{display:flex;flex-direction:column;gap:2px}
.match-team strong{font-size:15px;color:#142e55;letter-spacing:.15px}
.match-team small{font-size:10px;color:#8694a8;font-weight:700}
.team-jersey{
  width:34px;height:36px;border-radius:8px 8px 10px 10px;display:block;position:relative;flex:0 0 auto;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.09),0 4px 10px rgba(17,43,82,.08);
  clip-path:polygon(18% 8%,37% 0,63% 0,82% 8%,100% 20%,86% 37%,78% 28%,78% 100%,22% 100%,22% 28%,14% 37%,0 20%);
  background:#3d7ff0;
}
.team-jersey:before{content:"";position:absolute;left:50%;top:5px;transform:translateX(-50%);width:11px;height:8px;border-radius:0 0 7px 7px;background:rgba(255,255,255,.55)}
.team-putih .team-jersey{background:#f7f8fa;border:1px solid #dfe5ee;box-shadow:inset 0 -2px 0 rgba(70,90,110,.06),0 4px 10px rgba(17,43,82,.06)}
.team-biru .team-jersey{background:#2d75ee}.team-biru-muda .team-jersey{background:#4ecce6}
.team-kuning .team-jersey{background:#f6c431}.team-merah .team-jersey{background:#ef5252}
.match-vs{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:#f4f7fb;color:#7d8ba0;font-size:12px;font-weight:900;border:1px solid #e4eaf2;
}
.match-time{
  min-height:56px;border-left:1px solid #e8eef6;padding-left:13px;
  display:flex;flex-direction:column;justify-content:center;gap:2px;text-align:left;
}
.match-time span{font-size:14px;color:#6d7f96}.match-time strong{font-size:12px;color:#1b66d7}.match-time small{font-size:10px;color:#8a98aa}
.lineup-locked-card{
  display:flex;align-items:center;gap:18px;margin-top:16px;padding:18px 20px;
  border:1px solid #cfe0f5;border-radius:17px;
  background:linear-gradient(135deg,#f8fbff 0%,#f2f7ff 100%);
  box-shadow:0 7px 20px rgba(38,94,169,.06);
}
.lineup-locked-icon{
  width:48px;height:48px;border-radius:14px;display:grid;place-items:center;
  background:#e8f1ff;color:#1b69d9;font-size:21px;flex:0 0 auto;
}
.lineup-locked-label{font-size:9px;letter-spacing:.65px;color:#2c73dd;font-weight:900;margin-bottom:3px}
.lineup-locked-card h4{margin:0 0 5px;color:#123159;font-size:16px}
.lineup-locked-card p{margin:0;color:#6c7c91;font-size:12px;line-height:1.6}
.lineup-locked-card p strong{color:#1a69d8}
.lineup-locked-status{margin-left:auto;white-space:nowrap;padding:7px 10px;border-radius:999px;background:#fff;color:#7e8ca1;border:1px solid #dce5ef;font-size:10px;font-weight:800}
@media(max-width:880px){
  .match-fixture-card{grid-template-columns:38px 1fr 44px 1fr}
  .match-time{grid-column:2 / -1;border-left:0;border-top:1px solid #edf2f7;padding:9px 0 0;margin-top:2px;flex-direction:row;align-items:center;gap:7px}
  .match-time small{margin-left:auto}
}
@media(max-width:620px){
  .match-schedule-head{align-items:flex-start;flex-direction:column}
  .match-fixture-card{grid-template-columns:34px 1fr 36px 1fr;gap:8px;padding:12px}
  .match-fixture-number{width:34px;height:34px}
  .match-team strong{font-size:12px}
  .team-jersey{width:29px;height:31px}
  .match-vs{width:36px;height:36px;font-size:10px}
  .lineup-locked-card{align-items:flex-start;flex-wrap:wrap}
  .lineup-locked-status{margin-left:66px}
}

/* 1.2.23 — Facilities split: Venue master + fixed Event facilities */
.facilities-group{border:1px solid #dfe8f2;border-radius:18px;background:#fff;padding:20px 20px 18px;margin-bottom:16px;box-shadow:0 7px 20px rgba(26,67,112,.045)}
.facilities-group-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:5px}
.facilities-eyebrow{display:block;font-size:9px;letter-spacing:.75px;font-weight:900;color:#2c73db;margin-bottom:3px}
.facilities-group-head h3{margin:0;color:#17345d;font-size:19px}
.facilities-source{white-space:nowrap;border:1px solid #dbe5ef;background:#f7f9fc;color:#748298;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800}
.facilities-source.fixed{color:#1767d8;border-color:#d2e2fb;background:#f1f7ff}
.facilities-help{margin:7px 0 15px;color:#708197;font-size:11px;line-height:1.55}
.facility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.facility-chip{display:flex;align-items:center;gap:8px;border-radius:12px;padding:11px 13px;font-size:12px;font-weight:700;border:1px solid}
.facility-chip span{font-weight:900}
.venue-chip{background:#f6f9fd;border-color:#dfe8f2;color:#54708f}
.venue-chip span{color:#2171d9}
.event-chip{background:#edf9f4;border-color:#b9ead6;color:#157b5e}
.event-chip span{color:#0bb27d}
.facility-empty{padding:12px;border:1px dashed #d7e0eb;border-radius:12px;color:#8493a6;background:#fafbfd;font-size:11px}
@media(max-width:700px){.facility-grid{grid-template-columns:1fr}.facilities-group-head{flex-direction:column;gap:7px}.facilities-source{white-space:normal}}

.facilities-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.facilities-group{border:1px solid #dfe8f2;border-radius:18px;background:#fff;padding:18px;box-shadow:0 7px 20px rgba(26,67,112,.045)}
.facilities-group-head{margin:0 0 13px}
.facilities-eyebrow{display:block;font-size:9px;letter-spacing:.8px;font-weight:900;color:#2c73db;margin-bottom:4px}
.facilities-group-head h3{margin:0;color:#17345d;font-size:18px}
.event-facilities-group{border-color:#cfe9df;background:linear-gradient(180deg,#fff,#fbfffd)}
.facility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
@media(max-width:700px){.facilities-layout{grid-template-columns:1fr}.facility-grid{grid-template-columns:1fr}}

/* 1.2.25 — Facilities vertical layout */
#detailModal .facilities-layout{
  display:flex;
  flex-direction:column;
  gap:14px;
}
#detailModal .facilities-group{
  width:100%;
  box-sizing:border-box;
}
#detailModal .facilities-group .facility-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
#detailModal .event-facilities-group .facility-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media(max-width:900px){
  #detailModal .facilities-group .facility-grid,
  #detailModal .event-facilities-group .facility-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:560px){
  #detailModal .facilities-group .facility-grid,
  #detailModal .event-facilities-group .facility-grid{
    grid-template-columns:1fr;
  }
}

/* 1.2.26 — Full-width Facilities rows */
#detailModal .facilities-layout{
  display:flex;
  flex-direction:column;
  gap:16px;
  width:100%;
  max-width:none;
}

#detailModal .facilities-group{
  width:100%;
  max-width:none;
  box-sizing:border-box;
  padding:20px 22px;
}

#detailModal .facilities-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  margin-bottom:15px;
}

#detailModal .facilities-group-head h3{
  font-size:20px;
}

#detailModal .facilities-group .facility-grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}

#detailModal .facility-chip{
  width:100%;
  min-height:46px;
  box-sizing:border-box;
  justify-content:flex-start;
}

#detailModal .event-facilities-group .facility-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

@media(max-width:900px){
  #detailModal .facilities-group .facility-grid,
  #detailModal .event-facilities-group .facility-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:560px){
  #detailModal .facilities-group{
    padding:16px;
  }
  #detailModal .facilities-group .facility-grid,
  #detailModal .event-facilities-group .facility-grid{
    grid-template-columns:1fr;
  }
}

/* 1.2.27 — Schedule cards: category, sport and value-adding facilities */
.schedule-category-row{display:flex;align-items:center;gap:7px;margin-bottom:5px}
.schedule-category{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#eaf2ff;color:#1e69d7;font-size:10px;font-weight:900;letter-spacing:.15px}
.schedule-dot{color:#9aa9bb;font-size:10px}
.schedule-sport{font-size:10px;font-weight:900;letter-spacing:.25px;color:#60748d;text-transform:uppercase}
.schedule-facilities-block{margin:13px 0 3px;display:grid;gap:8px}
.schedule-facility-row{display:flex;align-items:flex-start;gap:10px}
.schedule-facility-label{flex:0 0 48px;padding-top:6px;font-size:9px;font-weight:900;letter-spacing:.7px}
.venue-label{color:#3972ba}.event-label{color:#148666}
.schedule-facility-tags{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.schedule-facility-chip,.schedule-facility-more{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border-radius:8px;border:1px solid #dce7f2;background:#f8fbff;color:#5b718c;font-size:10px;font-weight:700}
.schedule-facility-chip:before{content:"✓";margin-right:5px;color:#2875dc;font-weight:900}
.schedule-facility-chip.event-chip{background:#edf9f4;border-color:#c8ecdf;color:#157b61}
.schedule-facility-chip.event-chip:before{color:#0eac79}
.schedule-facility-more{background:#fff;color:#7b8a9c;border-style:dashed}
@media(max-width:720px){
  .schedule-facility-label{flex-basis:44px}
  .schedule-facility-chip,.schedule-facility-more{font-size:9px}
}

/* 1.2.28 — Premium full-width Facilities cards */
#detailModal .facilities-layout{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:18px;
}

#detailModal .facilities-group{
  width:100%;
  max-width:none;
  min-height:170px;
  box-sizing:border-box;
  position:relative;
  overflow:hidden;
  padding:24px 26px 24px 26px;
  border:1px solid #d8e4f2;
  border-radius:22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(55,126,237,.08), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 12px 30px rgba(25,67,116,.07);
}

#detailModal .facilities-group::after{
  content:"";
  position:absolute;
  right:-55px;
  bottom:-75px;
  width:250px;
  height:150px;
  border-radius:50%;
  background:rgba(39,112,231,.055);
  pointer-events:none;
}

#detailModal .event-facilities-group{
  border-color:#cde9de;
  background:
    radial-gradient(circle at 92% 12%, rgba(16,171,121,.09), transparent 28%),
    linear-gradient(180deg,#ffffff 0%,#f8fffc 100%);
}

#detailModal .facilities-group-head{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
  margin:0 0 18px;
}

#detailModal .facilities-group-head>div{
  min-width:0;
}

#detailModal .facilities-eyebrow{
  margin:0 0 4px;
  font-size:9px;
  letter-spacing:1px;
  font-weight:900;
  color:#2b71d8;
}

#detailModal .event-facilities-group .facilities-eyebrow{
  color:#0a9b70;
}

#detailModal .facilities-group-head h3{
  margin:0;
  font-size:22px;
  line-height:1.15;
  color:#142f56;
}

#detailModal .facility-grid{
  position:relative;
  z-index:2;
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

#detailModal .facility-chip{
  width:100%;
  min-height:58px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:9px;
  padding:13px 15px;
  border-radius:14px;
  font-size:12px;
  font-weight:750;
  line-height:1.35;
  transition:transform .15s ease,box-shadow .15s ease;
}

#detailModal .facility-chip:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(27,72,121,.08);
}

#detailModal .venue-chip{
  background:linear-gradient(180deg,#f8fbff,#f2f7fd);
  border-color:#d9e6f4;
  color:#506a88;
}

#detailModal .event-chip{
  background:linear-gradient(180deg,#f2fcf8,#ebf9f3);
  border-color:#bfe7d7;
  color:#14765d;
}

#detailModal .facility-chip span{
  flex:0 0 auto;
  width:24px;
  height:24px;
  border-radius:8px;
  display:grid;
  place-items:center;
  background:#eaf3ff;
  color:#2b73dc;
  font-size:12px;
  font-weight:900;
}

#detailModal .event-chip span{
  background:#dcf6eb;
  color:#0ba976;
}

@media(max-width:900px){
  #detailModal .facility-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:560px){
  #detailModal .facilities-group{
    min-height:auto;
    padding:20px 16px;
    border-radius:18px;
  }
  #detailModal .facilities-group-head h3{font-size:19px}
  #detailModal .facility-grid{
    grid-template-columns:1fr;
  }
}

/* 1.2.29 — Facilities split left/right */
#detailModal .facilities-layout{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  align-items:stretch;
}

#detailModal .facilities-group{
  width:100%;
  max-width:none;
  min-height:195px;
  box-sizing:border-box;
  padding:22px 22px 20px;
  border-radius:20px;
}

#detailModal .facilities-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}

#detailModal .facility-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  width:100%;
}

#detailModal .facility-chip{
  width:100%;
  min-height:54px;
  box-sizing:border-box;
}

#detailModal .event-facilities-group{
  height:100%;
}

@media(max-width:800px){
  #detailModal .facilities-layout{
    grid-template-columns:1fr;
  }
}

@media(max-width:560px){
  #detailModal .facility-grid{
    grid-template-columns:1fr;
  }
}

/* 1.2.30 — Release the Facilities container from legacy 2-column grid */
#detailModal #detailFacilities.os-facility-list{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin-top:12px !important;
  grid-template-columns:none !important;
}

#detailModal #detailFacilities .facilities-layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  width:100% !important;
  max-width:none !important;
  gap:18px !important;
  align-items:stretch !important;
}

#detailModal #detailFacilities .facilities-group{
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

#detailModal #detailFacilities .facility-grid{
  width:100% !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

@media(max-width:800px){
  #detailModal #detailFacilities .facilities-layout{
    grid-template-columns:1fr !important;
  }
}
\n/* 1.3.1 — Real court photos */\n.court-photo-card.full-width{grid-column:1/-1;margin-top:16px}\n.court-photo-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.court-photo-head h3{margin:0 0 4px}.court-photo-head p{margin:0;color:var(--muted);font-size:12px}\n.court-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.court-photo-item{overflow:hidden;border:1px solid #dce6f2;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(25,67,116,.06)}.court-photo-item img,.court-photo-placeholder{width:100%;height:180px;display:block;object-fit:cover;background:linear-gradient(135deg,#edf4fb,#f8fbff);color:#7c8da3}.court-photo-placeholder{display:grid;place-items:center;font-size:12px}.court-photo-info{padding:11px 13px;display:flex;flex-direction:column;gap:4px}.court-photo-info strong{color:#173457}.court-photo-info small{color:var(--muted);font-size:11px}.court-photo-empty{padding:20px;border:1px dashed #cad8e8;border-radius:14px;color:var(--muted);text-align:center}\n@media(max-width:800px){.court-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.court-photo-grid{grid-template-columns:1fr}.court-photo-head{align-items:flex-start;flex-direction:column}}\n
.gallery-media-summary{display:flex;gap:8px;margin:10px 0;color:#4f6b88;font-size:11px;font-weight:800}.gallery-media-summary span{padding:6px 9px;background:#f5f8fc;border:1px solid #dce6f0;border-radius:999px}.gallery-event-media{display:flex;flex-wrap:wrap;gap:7px}

/* 1.6.2 — Badminton lineup framework */
.badminton-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 22px}
.badminton-summary-grid>div{padding:14px 16px;border:1px solid #dce7f2;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbff);display:flex;flex-direction:column;gap:3px}
.badminton-summary-grid strong{font-size:18px;color:#17345d}.badminton-summary-grid span{font-size:10px;color:#72849a}
.badminton-round-section{margin:0 0 22px}.badminton-round-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:10px}.badminton-round-head h4{margin:0;color:#17345d;font-size:17px}.badminton-round-head>span{font-size:10px;color:#718399}
.badminton-round-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.badminton-match-card{border:1px solid #dbe6f1;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 7px 18px rgba(31,73,117,.05)}
.badminton-match-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:11px 12px;background:#f7faff;border-bottom:1px solid #e8eef5}
.badminton-round-pill,.badminton-court-pill,.badminton-format-pill{font-size:9px;font-weight:900;border-radius:999px;padding:5px 8px}
.badminton-round-pill{background:#e8f1ff;color:#246cda}.badminton-court-pill{background:#edf9f4;color:#157b60}.badminton-format-pill{background:#fff5df;color:#8a6200}
.badminton-match-body{display:grid;grid-template-columns:1fr 34px 1fr;gap:8px;align-items:center;padding:15px 13px}
.badminton-pair{display:flex;align-items:center;gap:8px;min-width:0}.badminton-pair strong{font-size:12px;color:#17345d;line-height:1.4}.badminton-player-dot{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#edf3ff;color:#2c70dc;font-size:10px;font-weight:900;flex:0 0 auto}
.badminton-vs{text-align:center;font-size:10px;font-weight:950;color:#8291a4}
.badminton-match-foot{display:flex;align-items:center;gap:5px;padding:9px 13px;border-top:1px solid #edf2f7;color:#71849a;font-size:9px}
@media(max-width:1000px){.badminton-round-grid{grid-template-columns:1fr 1fr}.badminton-summary-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.badminton-round-grid{grid-template-columns:1fr}.badminton-summary-grid{grid-template-columns:1fr 1fr}.badminton-match-body{grid-template-columns:1fr 28px 1fr}}


/* 1.6.5 — Event Builder dashboard/history */
.ons-builder-dashboard{margin:18px 0 24px;background:#fff;border:1px solid #dfe7ef;border-radius:12px;padding:18px;box-shadow:0 1px 3px rgba(0,0,0,.03)}
.ons-builder-dashboard-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:14px}.ons-builder-dashboard-head h2{margin:3px 0 6px}.ons-builder-dashboard-head p{margin:0;color:#6b7785}
.ons-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:800;color:#2271b1}.ons-status-ok,.ons-status-wait{display:inline-block;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800}.ons-status-ok{background:#e8f8ef;color:#18794e}.ons-status-wait{background:#fff4df;color:#8c6400}
@media(max-width:850px){.ons-builder-dashboard-head{flex-direction:column;align-items:flex-start}.ons-builder-history-table{overflow:auto}.ons-builder-history-table table{min-width:950px}}

/* 1.6.7 — One-step Event Builder creation */
.ons-builder-create-card{background:#fff;border:1px solid #dfe7ef;border-radius:14px;padding:22px;box-shadow:0 2px 8px rgba(15,35,60,.04);max-width:1180px}
.ons-builder-create-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}
.ons-builder-create-head h2{margin:5px 0 7px;font-size:24px}.ons-builder-create-head p{max-width:760px;color:#66788d;margin:0;line-height:1.6}
.ob-auto-badge{display:inline-block;margin-left:6px;padding:4px 8px;border-radius:999px;background:#eaf4ff;color:#1768ca;font-size:10px;font-weight:800}
.ons-builder-sport-preview{margin-top:16px;padding:14px 16px;background:#f7fbff;border:1px solid #d9e7f6;border-radius:10px;color:#24476b}
@media(max-width:800px){.ons-builder-create-head{flex-direction:column}}

.detail-rules-card{border:1px solid #dbe5ef;border-radius:16px;padding:20px;background:linear-gradient(180deg,#f9fbff,#fff)}
.detail-rules-card-single{width:100%;box-sizing:border-box}
.detail-rules-card h4{margin:4px 0 12px;font-size:18px;color:#17345d}
.detail-rules-eyebrow{font-size:10px;font-weight:900;letter-spacing:.12em;color:#2874d8}
.ons-rule-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ons-rule-editor-block{padding:16px;border:1px solid #dce6f0;border-radius:12px;background:#fbfdff}
.ons-rule-editor-block:nth-child(2){background:#f8fdfa}
.ons-rule-editor-block small{display:block;color:#697d94;margin-top:4px}
@media(max-width:800px){.ons-rule-editor-grid{grid-template-columns:1fr}}

/* 1.6.13 — Public Rules UI cleanup + future event homepage counter */
.detail-rules-card-single h4{margin-top:0}

.payment-cancel{width:100%;margin-top:8px;border:1px solid #d7e2ef;background:#fff;color:#27415f;border-radius:11px;padding:12px 16px;font-weight:800}

/* 1.6.18 — Booking confirmation + QRIS-ready UI */
.payment-confirmation-card{max-width:560px!important}
.payment-confirmation-card .payment-method{margin-top:14px}
.qris-card{max-width:520px!important;text-align:center}
.qris-frame{margin:18px auto;padding:22px;border:1px solid #dbe6f0;border-radius:18px;background:#fff;min-height:280px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}
.qris-frame img{max-width:260px;width:100%;height:auto;display:block}
.qris-raw{font-size:11px;word-break:break-all;color:#64748b;max-width:100%;display:none}
.qris-pending{font-size:13px;color:#64748b;line-height:1.6}
.pay-button.is-loading{opacity:.72;cursor:wait;transform:none!important}

/* 1.6.19 — Full Payment Page based on OneSport prototype */
.payment-page-modal{padding:14px;background:rgba(12,24,43,.84);align-items:stretch;justify-content:center;overflow:auto}
.payment-page-shell{position:relative;width:min(1180px,100%);min-height:calc(100vh - 28px);margin:auto;background:#f7fbff;border-radius:24px;padding:28px 30px 34px;box-sizing:border-box;box-shadow:0 30px 100px rgba(0,0,0,.3);overflow:auto}
.payment-page-close{position:absolute;top:16px;right:16px;z-index:4;width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid #d9e5f2;color:#17345d;font-size:24px;box-shadow:0 8px 24px rgba(17,49,85,.13)}
.payment-page-header{text-align:center;padding:4px 60px 26px}
.payment-page-brand{font-size:12px;font-weight:800;letter-spacing:.12em;color:#405a77;margin-bottom:8px}
.payment-page-header h2{margin:0;color:#286be8;font-size:32px;line-height:1.2;letter-spacing:-.5px}
.payment-page-header p{margin:8px 0 0;color:#647990;font-size:14px;line-height:1.55}
.payment-page-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:24px;align-items:start}
.payment-column{min-width:0}
.payment-panel{background:#fff;border:1px solid #cddff2;border-radius:20px;padding:28px;box-shadow:0 10px 28px rgba(27,83,132,.07)}
.payment-section-title{font-size:19px;font-weight:900;color:#286be8;margin-bottom:6px}
.payment-section-title.centered{text-align:center}
.payment-section-subtitle{text-align:center;color:#50657b;font-size:15px;margin-bottom:20px}
.payment-expiry-box{display:flex;justify-content:center;align-items:center;gap:10px;background:#eff6ff;border:1px solid #c2daf8;border-radius:16px;padding:14px;margin-bottom:20px;color:#286be8}
.payment-expiry-box small{display:block;color:#5d6f84;font-size:12px}
.payment-expiry-box strong{display:block;font-size:20px;line-height:1.1}
.payment-expiry-icon{font-size:24px}
#paymentExpiryTimer.urgent{color:#e55353}
.qris-frame-large{min-height:320px;border:2px solid #c1daf9;border-radius:22px;background:#edf5ff;padding:28px;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.qris-frame-large img{max-width:min(300px,90%);max-height:300px;display:block;background:#fff;border-radius:14px;padding:14px;box-sizing:border-box;box-shadow:0 8px 20px rgba(24,70,120,.07)}
.qris-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;color:#67809b}
.qris-empty strong{font-size:17px;color:#2d4864}.qris-empty span{font-size:13px;max-width:310px;line-height:1.5}
.qris-placeholder-icon{width:72px;height:72px;border-radius:18px;background:#fff;border:1px solid #d4e3f2;display:grid;place-items:center;font-size:34px;color:#2b71e7;box-shadow:0 8px 20px rgba(39,101,175,.08)}
.qris-caption{text-align:center;font-size:15px;color:#334d68;margin:14px 0 18px}
.payment-refresh-btn{width:100%;height:48px;border:2px solid #2c6ef0;background:#fff;color:#286be8;border-radius:13px;font-weight:900;font-size:15px;cursor:pointer}
.payment-breakdown-card{background:#3478e7;color:#fff;border-radius:16px;padding:18px;margin-top:16px;box-shadow:0 14px 28px rgba(46,112,224,.18)}
.payment-breakdown-title{font-size:14px;font-weight:900;margin-bottom:10px}
.payment-breakdown-row,.payment-breakdown-total{display:flex;justify-content:space-between;gap:18px;padding:7px 0;font-size:13px}
.payment-breakdown-total{border-top:1px solid rgba(255,255,255,.28);margin-top:7px;padding-top:12px;font-weight:900;font-size:16px}
.payment-detail-group{margin-top:18px}.payment-detail-group>span{display:block;color:#647990;font-size:12px;margin-bottom:7px}
.payment-detail-group>strong{display:block;color:#18283c;font-size:15px;line-height:1.45}
.payment-detail-group>small{display:block;color:#71859a;font-size:11px;margin-top:5px}
.payment-booking-code-row{display:flex;gap:8px;align-items:center}
.payment-booking-code-row strong{flex:1;background:#f5f8fb;border:1px solid #d7e2ed;border-radius:10px;padding:12px 12px;font-size:15px;letter-spacing:.04em}
.payment-copy-btn{height:44px;padding:0 14px;border:1px solid #e3c73b;background:#fffbe5;color:#6c5d0d;border-radius:10px;font-weight:900;cursor:pointer}
.payment-detail-split{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.payment-total-divider{border-top:1px solid #dbe6f0;margin:22px 0 16px}
.payment-final-row{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:17px;color:#19293e;font-weight:900}
.payment-final-row strong{color:#286be8;font-size:20px}
.payment-howto{margin-top:18px}
.payment-step{display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start;margin-top:18px}
.payment-step>span{width:32px;height:32px;background:#2c6ef0;color:#fff;border-radius:50%;display:grid;place-items:center;font-weight:900}
.payment-step strong{display:block;color:#18283c;font-size:15px}.payment-step small{display:block;color:#647990;font-size:13px;line-height:1.45;margin-top:4px}
.payment-auto-note{margin-top:20px;background:#edf6ff;border:1px solid #c4ddfb;border-radius:15px;padding:14px;text-align:center;color:#5f7388;font-size:12px;line-height:1.5}
.payment-support-btn,.payment-gateway-btn{width:100%;height:48px;border:0;border-radius:14px;background:#2e6fe9;color:#fff;font-weight:900;font-size:15px;cursor:pointer;margin-top:18px;box-shadow:0 10px 24px rgba(47,110,233,.18)}
.payment-gateway-btn{background:#173c70}
.payment-status-banner{margin-top:12px;border-radius:13px;padding:11px 13px;text-align:center;font-size:12px;line-height:1.45}
.payment-status-banner.info{background:#edf6ff;color:#356188;border:1px solid #c8e0f9}
.payment-status-banner.success{background:#eaf9f1;color:#087657;border:1px solid #b8e7d0}
.payment-status-banner.expired,.payment-status-banner.error{background:#fff0f0;color:#a53b3b;border:1px solid #f1c5c5}
@media(max-width:900px){
 .payment-page-shell{padding:22px 18px 28px;border-radius:18px}
 .payment-page-header{padding-left:30px;padding-right:30px}.payment-page-header h2{font-size:28px}
 .payment-page-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
 .payment-page-modal{padding:0}.payment-page-shell{min-height:100vh;border-radius:0}
 .payment-page-header{padding:6px 10px 22px}.payment-page-header h2{font-size:24px}
 .payment-panel{padding:18px}.payment-detail-split{grid-template-columns:1fr;gap:0}
 .payment-page-close{top:10px;right:10px}
}

.event-leaderboard{display:grid;gap:10px;margin-top:16px}.leaderboard-row{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:14px;padding:14px 16px;border:1px solid #dbe6f0;border-radius:14px;background:#fff}.leaderboard-row.locked{background:linear-gradient(90deg,#f7faff,#fff)}.leaderboard-rank{font-size:22px;font-weight:900;text-align:center}.leaderboard-player strong{display:block;color:#17345d}.leaderboard-player small{display:block;color:#71839a;font-size:11px;margin-top:3px}.leaderboard-score{font-weight:900;color:#2a6ee7}.leaderboard-cta{margin-top:16px;padding:16px;border:1px dashed #72a2ef;border-radius:14px;background:#eef6ff;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.leaderboard-cta span{flex:1;min-width:220px;color:#5e748d;font-size:13px}.leaderboard-cta a{padding:10px 14px;border-radius:10px;background:#2d70eb;color:#fff;text-decoration:none;font-weight:900}

/* 1.6.21 — Leaderboard visible in Event Detail */
.leaderboard-panel-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}
.leaderboard-eyebrow{font-size:10px;font-weight:900;letter-spacing:.13em;color:#2b70e8}.leaderboard-panel-head h3{margin:3px 0;color:#17345d}.leaderboard-panel-head p{margin:0;color:#74879b;font-size:12px}
.leaderboard-cta{margin-top:16px;padding:16px;border:1px dashed #72a2ef;border-radius:14px;background:#eef6ff;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.leaderboard-cta>div{display:flex;flex-direction:column;gap:4px}.leaderboard-cta strong{color:#1f5fc7}.leaderboard-cta span{color:#5e748d;font-size:12px}.leaderboard-cta button{border:0;background:#2d70eb;color:#fff;padding:10px 14px;border-radius:10px;font-weight:900;cursor:pointer}

/* 1.6.22 — Detail Event tabs: always one row (5 items) */
#detailModal .detail-tabs{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
}
#detailModal .detail-tabs::-webkit-scrollbar{display:none}
#detailModal .detail-tab{
  min-width:0;
  white-space:nowrap;
  text-align:center;
}
@media(max-width:700px){
  #detailModal .detail-tabs{
    grid-template-columns:repeat(5,minmax(112px,1fr));
  }
}

/* 1.6.23 — release sync */
#detailModal .detail-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
#detailModal .detail-tabs::-webkit-scrollbar{display:none}
#detailModal .detail-tab{min-width:0;white-space:nowrap;text-align:center}
@media(max-width:700px){#detailModal .detail-tabs{grid-template-columns:repeat(5,minmax(112px,1fr))}}

/* 1.6.24 — Match Result Engine UI */
.match-results-head{margin-bottom:16px}.match-results-eyebrow{font-size:10px;font-weight:900;letter-spacing:.13em;color:#2b70e8}.match-results-head h3{margin:4px 0;color:#17345d}.match-results-head p{margin:0;color:#73869a;font-size:12px}
.event-match-results{display:grid;gap:12px}.match-result-card{border:1px solid #dbe6ef;border-radius:16px;padding:16px;background:#fff}.match-result-meta{display:flex;justify-content:space-between;gap:12px;color:#72859a;font-size:11px}.match-result-score{display:grid;grid-template-columns:1fr auto auto auto 1fr;align-items:center;gap:10px;margin-top:14px;color:#17345d}.match-result-score strong:first-child{text-align:right}.match-result-score strong:last-child{text-align:left}.match-result-score b{font-size:24px;color:#286be8}.match-result-score em{font-style:normal;color:#7b8da1}.match-result-winner{margin-top:12px;padding-top:10px;border-top:1px solid #e2eaf2;color:#0a7957;font-weight:900}.match-results-empty,.match-results-loading{padding:18px;border:1px dashed #cbd9e8;border-radius:14px;color:#71869b;text-align:center}
@media(max-width:680px){.match-result-score{grid-template-columns:1fr auto auto auto 1fr;gap:6px}.match-result-score strong{font-size:12px}.match-result-score b{font-size:20px}}

/* 1.6.25 — Event Builder fixtures are the public Match Schedule source */
.event-fixture-schedule{margin-bottom:24px}.detail-fixture-schedule{display:grid;gap:12px}.fixture-round-card{border:1px solid #dbe6ef;border-radius:16px;padding:14px;background:#fbfdff}.fixture-round-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#24415f}.fixture-round-head span{font-size:11px;color:#73869b}.fixture-round-grid{display:grid;gap:10px}.fixture-match-card{border:1px solid #d7e3ee;border-radius:13px;background:#fff;padding:14px 16px}.fixture-match-card.team{display:grid;grid-template-columns:88px 1fr 170px;align-items:center;gap:16px}.fixture-match-number{font-size:11px;font-weight:900;color:#2a6fe8;letter-spacing:.06em}.fixture-team-line{display:flex;justify-content:center;align-items:center;gap:14px}.fixture-team-line strong{font-size:15px;color:#17345d}.fixture-team-line span,.fixture-pairs em{font-style:normal;color:#8a9aad;font-weight:800}.fixture-match-bottom{display:flex;justify-content:space-between;gap:10px;color:#71859a;font-size:11px;margin-top:8px}.fixture-match-bottom b{color:#1f65cd}.fixture-match-card.badminton{display:block}.fixture-match-top{display:flex;justify-content:space-between;color:#61778f;font-size:11px}.fixture-pairs{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:13px 0}.fixture-pairs strong:first-child{text-align:right}.fixture-pairs strong:last-child{text-align:left}.fixture-loading,.fixture-empty{padding:18px;border:1px dashed #cbd9e8;border-radius:14px;color:#70859b;text-align:center;background:#fff}
@media(max-width:820px){.fixture-match-card.team{grid-template-columns:1fr}.fixture-match-number{text-align:center}.fixture-team-line{justify-content:space-between}}

/* 1.6.26 — Badminton deuce scoring rule */
.fixture-scoring-note{margin:0 0 12px;padding:10px 13px;border:1px solid #d9e5f1;border-radius:12px;background:#f7fbff;color:#58708a;font-size:12px}
.fixture-scoring-note strong{color:#1e5fc7}

/* 1.6.28 — Match results visible in Detail Event */
.fixture-result-winner{margin-top:8px;padding:8px 10px;background:#edf9f4;border:1px solid #c9eadc;border-radius:9px;color:#087756;font-size:12px;font-weight:800}

/* 1.6.29 — Single source of truth: only #detailFixtureSchedule renders public match schedule */
#detailModal .lineup-fixture-card,
#detailModal .fixture-lineup-card,
#detailModal .lineup-fixture-summary{display:none!important}
#detailModal .event-fixture-schedule{margin-bottom:20px}

/* 1.6.34 — Premium Team Standings */
.public-standings-card{margin:0 0 20px;border:1px solid #dbe6ef;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);box-shadow:0 10px 30px rgba(20,60,100,.08);overflow:hidden}.public-standings-header{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding:18px 20px 12px}.public-standings-eyebrow{font-size:10px;font-weight:900;letter-spacing:.14em;color:#2a6fe8}.public-standings-header h3{margin:4px 0 3px;font-size:18px;color:#16365e}.public-standings-header p{margin:0;font-size:11px;color:#71859a}.public-standings-note{padding:7px 10px;border-radius:999px;background:#eef5ff;border:1px solid #d6e6fb;color:#2a68b5;font-weight:800;font-size:11px}.public-standings-scroll{overflow-x:auto}.public-standings-table{width:100%;min-width:720px;border-collapse:collapse;font-size:12px}.public-standings-table th{padding:10px 12px;text-align:center;background:#f5f8fc;color:#6d8197;font-size:10px;letter-spacing:.04em;border-top:1px solid #e2eaf2;border-bottom:1px solid #e2eaf2}.public-standings-table th:nth-child(2){text-align:left}.public-standings-table td{padding:12px;border-bottom:1px solid #edf2f7;text-align:center;color:#334e6c}.public-standings-table td:nth-child(2){text-align:left}.public-standings-table tr:last-child td{border-bottom:0}.public-standings-table tr:nth-child(1){background:linear-gradient(90deg,#fff9df,#fffdf5)}.public-standings-table tr:nth-child(2){background:#fbfdff}.public-standings-table tr:nth-child(3){background:#fcfcfd}.standing-rank{font-size:16px;font-weight:900}.standing-team{font-weight:900;color:#173a64}.standing-points{font-weight:900;color:#1f66cf;font-size:14px}


/* 1.6.66 — Premium Member Pro frontend, responsive */
.membership-section{position:relative;overflow:hidden}
.membership-section:before{content:"";position:absolute;inset:0 0 auto;height:360px;background:radial-gradient(circle at 12% 20%,rgba(42,111,231,.10),transparent 42%),radial-gradient(circle at 90% 10%,rgba(8,179,164,.08),transparent 34%);pointer-events:none}
.membership-section>.container{position:relative;z-index:1}
.membership-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}
.membership-head-copy{max-width:780px}
.membership-head-copy h2{font-size:clamp(30px,4vw,46px);letter-spacing:-1.8px;line-height:1.08;margin:4px 0 12px;color:#102b4e}
.membership-head-copy p{color:#647a91;line-height:1.7;max-width:760px}
.membership-price-badge{min-width:205px;text-align:right}
.membership-price-badge span{display:block;color:#2b70e8;font-size:10px;font-weight:900;letter-spacing:.16em;margin-bottom:5px}
.membership-price-badge strong{display:inline-block;color:#123d78;font-size:28px;letter-spacing:-.8px}
.membership-price-badge small{display:block;color:#7890a8;font-size:12px;font-weight:800}

.membership-premium-card{border:1px solid #cfe0f1;border-radius:28px;background:linear-gradient(135deg,#ffffff 0%,#f7fbff 58%,#eef6ff 100%);box-shadow:0 22px 60px rgba(20,61,104,.12);padding:34px;margin-bottom:24px;overflow:hidden}
.membership-premium-top{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:30px;align-items:center;padding-bottom:28px;border-bottom:1px solid #dce8f3}
.membership-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:#e8f2ff;border:1px solid #cfe2fa;color:#2168cf;font-size:10px;font-weight:900;letter-spacing:.09em}
.membership-premium-top h3{font-size:clamp(24px,3vw,34px);line-height:1.15;letter-spacing:-1px;color:#17375e;margin:14px 0 8px;max-width:680px}
.membership-premium-top>div>p{color:#687f96;line-height:1.65;max-width:720px}
.membership-cta-box{background:#123b73;color:#fff;border-radius:20px;padding:22px;box-shadow:0 16px 35px rgba(18,59,115,.20)}
.membership-cta-box>span{display:block;color:#bcd7f7;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.membership-cta-box strong{display:block;font-size:25px;margin:4px 0 0;letter-spacing:-.5px}
.membership-cta-box small{display:block;color:#bdd0e4;font-size:11px;margin-bottom:14px}
.membership-main-cta{width:100%;display:flex;justify-content:center;align-items:center;gap:8px}
.membership-main-cta span{font-size:18px;line-height:1}

.membership-benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:22px}
.membership-benefit-card{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid #dce8f2;border-radius:16px;background:rgba(255,255,255,.78);min-height:105px;transition:.2s}
.membership-benefit-card:hover{transform:translateY(-2px);border-color:#bcd6f3;box-shadow:0 10px 25px rgba(27,80,135,.07)}
.membership-benefit-icon{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#edf5ff;font-size:19px}
.membership-benefit-card h4{font-size:14px;color:#17385e;margin:1px 0 5px;line-height:1.3}
.membership-benefit-card p{font-size:11px;color:#70859a;line-height:1.5;margin:0}

.membership-compare{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;align-items:stretch}
.membership-compare-intro{padding:24px 8px 24px 2px}
.membership-compare-intro h3{font-size:24px;line-height:1.15;color:#17375e;margin:5px 0 8px}
.membership-compare-intro p{font-size:13px;line-height:1.6;color:#70859a}
.membership-compare-card{border:1px solid #dce6ef;border-radius:20px;padding:22px;background:#fff}
.membership-compare-card.pro{border-color:#a9cdf3;background:linear-gradient(180deg,#f7fbff,#fff);box-shadow:0 12px 30px rgba(31,96,167,.08)}
.membership-compare-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}
.membership-compare-title span{font-size:9px;letter-spacing:.11em;font-weight:900;color:#68819a}
.membership-compare-card.pro .membership-compare-title span{color:#2b70e8}
.membership-compare-title b{font-size:10px;color:#234d7c;white-space:nowrap}
.membership-compare-card h4{font-size:18px;color:#17375e;margin:0 0 6px}
.membership-compare-card p{font-size:12px;line-height:1.55;color:#70859a;min-height:58px}
.membership-compare-card ul{list-style:none;padding:0;margin:15px 0 0;border-top:1px solid #edf2f7}
.membership-compare-card li{padding:8px 0;border-bottom:1px solid #edf2f7;font-size:11px;color:#526b84}
.membership-compare-card.pro li{color:#365c82}
.membership-trust-note{display:flex;gap:12px;align-items:flex-start;margin-top:18px;padding:14px 17px;border:1px solid #dce8f3;border-radius:14px;background:#f7fbff;color:#5f768d}
.membership-trust-note>span{font-size:17px}
.membership-trust-note strong{display:block;font-size:12px;color:#355b80;margin-bottom:3px}
.membership-trust-note small{display:block;font-size:11px;line-height:1.5}

@media(max-width:1050px){
 .membership-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .membership-compare{grid-template-columns:1fr 1fr}
 .membership-compare-intro{grid-column:1/-1;padding:8px 0 0}
}
@media(max-width:760px){
 .membership-head{display:block}
 .membership-price-badge{text-align:left;margin-top:16px}
 .membership-price-badge strong{font-size:25px}
 .membership-premium-card{padding:20px;border-radius:22px}
 .membership-premium-top{grid-template-columns:1fr;gap:18px}
 .membership-premium-top h3{font-size:25px}
 .membership-benefit-grid{grid-template-columns:1fr;gap:10px}
 .membership-benefit-card{min-height:0;padding:14px}
 .membership-compare{grid-template-columns:1fr}
 .membership-compare-intro{padding:5px 0 2px}
 .membership-compare-card{padding:18px}
 .membership-compare-card p{min-height:0}
 .membership-trust-note{margin-bottom:0}
}
@media(max-width:430px){
 .membership-head-copy h2{font-size:31px}
 .membership-price-badge strong{font-size:23px}
 .membership-cta-box{padding:18px}
 .membership-cta-box strong{font-size:23px}
 .membership-premium-top h3{font-size:23px}
 .membership-benefit-card h4{font-size:13px}
}


/* Public information pages — concise and payment-review friendly */
.os-page-main{background:linear-gradient(180deg,#f7fbff 0%,#fff 34%);min-height:65vh;padding:54px 0 76px}
.os-page-wrap{max-width:900px}
.os-info-page{background:#fff;border:1px solid #e1ebf4;border-radius:24px;padding:42px 48px;box-shadow:0 16px 45px rgba(15,45,80,.07)}
.os-info-page .eyebrow{color:var(--primary);font-weight:900;font-size:12px;letter-spacing:.08em;margin-bottom:9px}
.os-info-page h1{font-size:38px;line-height:1.15;letter-spacing:-1px;color:var(--navy);margin:0 0 14px}
.os-info-page .lead{font-size:16px;color:#60758c;line-height:1.75;margin:0 0 28px}
.os-info-page h2{font-size:18px;color:#17385e;margin:28px 0 8px}
.os-info-page p{font-size:14px;color:#5f7388;line-height:1.75;margin:0 0 12px}
.os-contact-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:22px 0 8px}
.os-contact-list a{display:flex;flex-direction:column;gap:2px;padding:17px 18px;border:1px solid #dce8f2;border-radius:15px;background:#f8fbff}
.os-contact-list a:hover{border-color:#a9cdf3;background:#f3f9ff}
.os-contact-list strong{font-size:13px;color:#17385e}
.os-contact-list span{font-size:13px;color:#668098}
@media(max-width:680px){.os-page-main{padding:30px 0 50px}.os-info-page{padding:27px 21px;border-radius:18px}.os-info-page h1{font-size:30px}.os-info-page .lead{font-size:14px}.os-contact-list{grid-template-columns:1fr}}


/* ONESPORT 1.6.73 — auth success + membership registration clarity */
.auth-success-card{max-width:430px!important;text-align:center!important;padding:34px 28px!important}
.auth-success-icon{width:58px;height:58px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#eaf4ff,#f2f8ff);border:1px solid #cfe2fb;color:#1769e8;font-size:30px;font-weight:900;box-shadow:0 10px 26px rgba(23,105,232,.12)}
.auth-success-card .auth-header{margin-bottom:12px}
.auth-success-card .auth-header h2{margin-bottom:6px}
.auth-success-note{padding:12px 14px;border-radius:12px;background:#f7faff;border:1px solid #e1eaf5;color:#587089;font-size:13px;line-height:1.5}

/* =========================================================
   ONESPORT 1.6.74 — PREMIUM MEMBER DASHBOARD
   Navy / white / blue with restrained orange accents.
   ========================================================= */
.os-dashboard-section{width:100%;background:linear-gradient(180deg,#f4f7fb 0%,#f8fafc 100%);min-height:calc(100vh - 74px);padding:30px 0 70px}
.os-dashboard-section.hidden{display:none!important}
.dashboard-shell{width:min(1220px,calc(100% - 44px));margin:0 auto}
.member-dashboard-header{position:relative;margin-bottom:18px}
.dashboard-identity{display:flex;align-items:center;gap:18px}
.dashboard-welcome-copy{margin:14px 0 0 84px;color:#66788f;max-width:760px;font-size:13px;line-height:1.65}
.dashboard-badges{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}
.member-status-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef8f2;color:#16744a;border:1px solid #ccebd9;font-size:10px;font-weight:900;letter-spacing:.3px}
.dashboard-welcome h1{margin:0;color:#0b2144;font-size:30px;letter-spacing:-1.4px}
.dashboard-welcome h1 span{color:#1769e8}
.dashboard-welcome .avatar-gradient{flex:0 0 auto}
.welcome-actions{display:flex;gap:9px}
.points-box{display:flex;justify-content:space-between;align-items:center;gap:20px}
.points-box div{display:flex;flex-direction:column;gap:3px}
.points-box small{font-size:10px;color:#8a99aa;max-width:600px}
.points-box strong{font-size:15px!important;white-space:nowrap}
.member-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.member-stat-card{background:#fff;border:1px solid #e0e8f1;border-radius:18px;padding:18px 19px;box-shadow:0 9px 28px rgba(20,50,90,.045);min-width:0}
.member-stat-card span{display:block;color:#73849a;font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:800}
.member-stat-card strong{display:block;color:#0b2144;font-size:24px;letter-spacing:-.8px;margin:7px 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-stat-card small{display:block;color:#8796a8;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-stat-highlight{border-color:#c9ddff;background:linear-gradient(180deg,#fff,#f6faff)}
.dashboard-membership-pro{margin-bottom:18px;display:flex;justify-content:space-between;gap:28px;align-items:center;padding:25px 28px;border-radius:20px}
.membership-summary-copy{min-width:0}
.membership-summary-copy h2{color:#fff;font-size:23px;letter-spacing:-.8px;margin:4px 0 7px}
.membership-summary-copy p{color:#c7d7e9;max-width:730px;font-size:12px;line-height:1.6;margin:0}
.membership-benefits{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.membership-benefits span{font-size:10px;font-weight:800;color:#d9e8f8;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);padding:7px 9px;border-radius:999px}
.membership-summary-action{position:relative;z-index:2;min-width:215px;padding:16px 18px;background:#fff;border-radius:16px;box-shadow:0 15px 35px rgba(5,27,57,.16)}
.membership-price-label{font-size:18px;font-weight:900;color:#0b2144}
.membership-expiry{font-size:10px;color:#718197;margin:5px 0 12px}
.membership-summary-action .dashboard-upgrade{width:100%;justify-content:center;background:#1769e8;color:#fff;box-shadow:0 8px 18px rgba(23,105,232,.18)}
.membership-summary-action .dashboard-upgrade:hover{background:#0e4fbd;color:#fff}
.dashboard-primary-grid{display:grid;grid-template-columns:1.35fr .9fr;gap:18px;margin-bottom:18px}
.dashboard-card{background:#fff;border:1px solid #e0e8f1;border-radius:20px;box-shadow:0 10px 30px rgba(20,50,90,.05);min-width:0}
.dash-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:22px 24px 14px}
.dash-card-head h2{margin:3px 0 0;font-size:19px;letter-spacing:-.5px}
.dash-card-subtitle{margin:5px 0 0;color:#718197;font-size:11px}
.dashboard-eyebrow{display:block;color:#1769e8;font-size:9px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.dash-text-btn{border:0;background:transparent;color:#1769e8;font-size:11px;font-weight:800;padding:4px;cursor:pointer;white-space:nowrap}
.next-schedule-content{padding:0 24px 24px}
.next-game-feature{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:16px;padding:17px;border:1px solid #dbe8f8;background:#f7faff;border-radius:16px}
.next-game-date{width:68px;height:76px;border-radius:14px;background:#1769e8;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.next-game-date strong{font-size:27px}.next-game-date span{font-size:9px;margin-top:7px;text-transform:uppercase;opacity:.85}
.next-game-kicker{font-size:9px;color:#1769e8;font-weight:900;text-transform:uppercase;letter-spacing:.6px}
.next-game-info h3{margin:4px 0 6px;font-size:16px;color:#0b2144}
.next-game-info p{margin:0 0 8px;color:#718197;font-size:11px}
.next-game-status,.history-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.4px}
.next-game-status.paid,.history-status.paid{background:#eaf8f1;color:#177349;border:1px solid #ccebd9}
.next-game-status.pending,.history-status.pending{background:#fff7e6;color:#9a6700;border:1px solid #f4dfae}
.next-game-status.cancelled,.history-status.cancelled{background:#fff0f0;color:#a23b3b;border:1px solid #f1cccc}
.next-game-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.next-game-actions .btn{font-size:10px;padding:9px 11px}
.member-access-panel{min-width:0}
.member-access-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 24px 24px}
.member-access-item{position:relative;display:flex;align-items:center;gap:9px;min-width:0;padding:11px;border:1px solid #e0e8f1;border-radius:13px;background:#fbfcfe}
.member-access-icon{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#edf4ff;display:grid;place-items:center;font-size:16px}
.member-access-item strong{display:block;font-size:11px;color:#0b2144}.member-access-item span{display:block;font-size:9px;color:#718197;margin-top:2px;line-height:1.35}
.member-access-item b{position:absolute;right:7px;top:7px;font-size:7px;color:#1769e8;background:#eaf2ff;padding:3px 5px;border-radius:999px}
.member-access-item.is-locked{background:#fafbfd}.member-access-item.is-locked .member-access-icon{filter:grayscale(1);opacity:.65}
.member-lower-grid{grid-template-columns:1.35fr .9fr!important;gap:18px;margin-bottom:18px}
.booking-history-card,.points-card,.profile-summary{padding:0}
.booking-history-card .dash-card-head,.points-card .dash-card-head,.profile-summary .dash-card-head{padding-bottom:14px}
#bookingHistoryList{padding:0 24px 24px;max-height:520px;overflow:auto}
.booking-history-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px;border:1px solid #e2e9f2;background:#fbfcfe;border-radius:13px;margin-bottom:8px}
.history-date{width:46px;height:46px;border-radius:11px;background:#eaf2ff;color:#1769e8;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.history-date strong{font-size:18px}.history-date span{font-size:8px;margin-top:4px;text-transform:uppercase}
.history-title-row{display:flex;align-items:center;gap:8px;justify-content:space-between}.history-title-row>strong{font-size:11px;color:#0b2144;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.history-main p{margin:5px 0;color:#718197;font-size:9px}.history-main small{color:#91a0b0;font-size:8px}
.history-actions .btn{font-size:9px;padding:7px 9px}
.point-balance-pill{padding:6px 10px;border-radius:999px;background:#eaf2ff;color:#1769e8;border:1px solid #cfe0fb;font-size:10px;font-weight:900}
#pointActivityContent{padding:0 24px 24px}
.point-progress{padding:13px;border-radius:13px;background:#f7faff;border:1px solid #dce9f8}.point-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#62758c}.point-progress strong{color:#0b2144}.point-progress-bar{height:7px;background:#e3ebf5;border-radius:999px;margin:9px 0;overflow:hidden}.point-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,#1769e8,#4e91f4);border-radius:999px}.point-progress p{font-size:9px;color:#718197;margin:0;line-height:1.45}
.point-actions{margin:10px 0}.point-next{font-size:9px;color:#718197}.point-history-list{display:grid;gap:6px;max-height:210px;overflow:auto}.point-row{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:9px;border-bottom:1px solid #edf1f5}.point-row>span{font-size:14px}.point-row strong{display:block;font-size:9px;color:#263a55}.point-row small{display:block;font-size:8px;color:#8a98a9;margin-top:2px}.point-row>b{font-size:10px;color:#177349}.point-row.redeem>b{color:#a36a00}.member-empty-mini{padding:16px;text-align:center;color:#8a98a9;font-size:10px}
.feature-lock-card{display:flex;align-items:center;gap:14px;padding:16px;border:1px dashed #cbd9ea;background:#f8fbff;border-radius:15px}.feature-lock-card.large{margin:0 24px 24px;padding:22px}.lock-icon{width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:#edf4ff;display:grid;place-items:center;font-size:19px}.feature-lock-card strong{display:block;color:#0b2144;font-size:12px}.feature-lock-card h3{margin:3px 0;color:#0b2144;font-size:16px}.feature-lock-card p{margin:5px 0 10px;color:#718197;font-size:10px;line-height:1.5}.lock-kicker{font-size:8px;color:#1769e8;font-weight:900;letter-spacing:1px}.feature-lock-card .btn{font-size:10px;padding:8px 11px}
.pro-access-section{margin-bottom:18px}.pro-only-pill{font-size:8px;color:#1769e8;background:#eaf2ff;border:1px solid #cfe0fb;border-radius:999px;padding:6px 9px;font-weight:900;white-space:nowrap}
.lineup-dashboard-list{padding:0 24px 24px}.pro-event-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:15px;border:1px solid #e0e8f1;background:#fbfcfe;border-radius:15px;margin-bottom:8px}.pro-event-row h3{margin:3px 0 5px;color:#0b2144;font-size:14px}.pro-event-row p{margin:0;color:#718197;font-size:9px}.pro-player-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.os-player-chip{display:inline-flex;padding:5px 7px;border-radius:999px;background:#edf4ff;color:#245b9e;font-size:8px;border:1px solid #d5e5fa}.pro-event-actions{display:flex;align-items:center}.pro-event-actions .btn{font-size:9px;padding:8px 10px}
.member-empty-state{display:flex;align-items:center;gap:13px;padding:18px;border:1px dashed #d3deeb;border-radius:14px;background:#fbfdff}.member-empty-state.compact{margin-bottom:0}.empty-icon{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#edf4ff;display:grid;place-items:center;font-size:17px}.member-empty-state strong{font-size:11px;color:#0b2144}.member-empty-state p{margin:4px 0 9px;font-size:9px;color:#718197;line-height:1.5}
.profile-summary{margin-bottom:18px}.profile-summary-grid{padding:0 24px 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.profile-summary-grid div{background:#f8fafc;border:1px solid #e4eaf1;border-radius:12px;padding:11px}.profile-summary-grid span{display:block;color:#8796a8;font-size:8px;text-transform:uppercase;letter-spacing:.5px}.profile-summary-grid strong{display:block;color:#213651;font-size:10px;margin-top:5px;overflow-wrap:anywhere}
.dashboard-footer-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:2px}.dashboard-footer-actions .btn{font-size:10px}
@media(max-width:900px){.member-stat-grid{grid-template-columns:1fr 1fr}.dashboard-primary-grid,.member-lower-grid{grid-template-columns:1fr!important}.dashboard-membership-pro{align-items:stretch}.membership-summary-action{min-width:190px}.profile-summary-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.dashboard-shell{width:min(100% - 28px,1220px)}.os-dashboard-section{padding-top:18px}.dashboard-welcome{display:block}.dashboard-welcome-copy{margin:13px 0 0}.welcome-actions{padding:16px 23px 0;justify-content:stretch}.welcome-actions .btn{flex:1}.points-box{margin-top:18px}.member-stat-grid{grid-template-columns:1fr 1fr}.member-stat-card{padding:14px}.member-stat-card strong{font-size:20px}.dashboard-membership-pro{display:block;padding:20px}.membership-summary-action{margin-top:15px}.next-game-feature{grid-template-columns:54px 1fr}.next-game-date{width:54px;height:62px}.next-game-date strong{font-size:22px}.next-game-actions{grid-column:1/-1;justify-content:stretch}.next-game-actions .btn{flex:1}.member-access-grid{grid-template-columns:1fr}.booking-history-item{grid-template-columns:42px minmax(0,1fr)}.history-actions{grid-column:2}.history-actions .btn{width:100%}.profile-summary-grid{grid-template-columns:1fr}.dashboard-footer-actions{display:grid;grid-template-columns:1fr}.pro-event-row{grid-template-columns:1fr}.pro-event-actions .btn{width:100%}.feature-lock-card{align-items:flex-start}.feature-lock-card.large{margin:0 18px 18px}}


/* 1.6.75 — Member Dashboard Action & closed-event history */
.member-access-clickable{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.member-access-clickable:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(8,40,80,.08);border-color:#9fc5ff}
.member-access-clickable:focus-visible{outline:3px solid rgba(37,112,242,.22);outline-offset:2px}
.history-detail-disabled{opacity:.55;cursor:not-allowed!important;white-space:nowrap}

/* 1.6.76 — editable homepage hero + sport cards */
.hero:before{background-image:
  linear-gradient(90deg,rgba(247,249,252,1) 0%,rgba(247,249,252,.18) 35%,rgba(247,249,252,0) 100%),
  linear-gradient(160deg,rgba(23,105,232,.08),rgba(11,33,68,.10)),
  var(--onesport-hero-right-bg, none);
  background-position:center; background-size:cover; background-repeat:no-repeat;}
.sport-card{background-size:cover!important;background-position:center!important;min-height:220px;position:relative;overflow:hidden;}
.sport-card-content{position:relative;z-index:2;}
.sport-card-kicker{display:block;font-size:10px;font-weight:900;letter-spacing:.8px;color:#dceaff;margin-bottom:8px;}
.sport-card-link{display:inline-block;margin-top:12px;font-size:12px;font-weight:800;color:#fff;opacity:.92;}
.sport-card:hover .sport-card-link{transform:translateX(3px);transition:.2s ease;}
@media(max-width:680px){.sport-card{min-height:190px;}}


/* =========================================================
   ONESPORT 1.6.77 — MOBILE APP-LIKE EXPERIENCE
   Inspired by the clarity of modern sports booking apps,
   while retaining ONESPORT navy / white / blue identity.
   ========================================================= */
.mobile-menu-toggle{display:none;border:1px solid #dbe6f3;background:#fff;width:42px;height:42px;border-radius:12px;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer;box-shadow:0 5px 15px rgba(20,50,90,.06)}
.mobile-menu-toggle span{width:18px;height:2px;border-radius:3px;background:#15355f;transition:.2s}

@media(max-width:680px){
  body{overflow-x:hidden;background:#f4f7fb}
  .topbar{height:34px;display:flex;align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;padding:0 12px;font-size:10px;letter-spacing:.05px;text-overflow:clip}
  header{position:sticky;top:0;z-index:800;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 6px 20px rgba(20,50,90,.07)}
  .nav{height:62px!important;width:100%!important;padding:0 16px!important;display:grid!important;grid-template-columns:1fr auto auto;gap:9px!important;overflow:visible!important}
  .logo{font-size:21px!important;justify-self:start}
  .mobile-menu-toggle{display:flex;justify-self:end}
  .nav-actions{justify-self:end!important}
  .nav-actions .btn{padding:8px 11px!important;font-size:11px!important;border-radius:10px!important}
  .nav-actions #osAuthGuest{gap:5px!important}
  .nav-actions #osAuthGuest .btn-ghost{display:none}
  .nav-actions #osAuthMember .member-pill{display:none!important}
  .nav-actions #osAuthMember .btn{font-size:11px!important}
  .nav-links{position:absolute!important;left:12px!important;right:12px!important;top:70px!important;height:auto!important;display:none!important;overflow:visible!important;padding:8px!important;background:#fff!important;border:1px solid #dce7f3!important;border-radius:16px!important;box-shadow:0 18px 45px rgba(15,45,85,.16)!important;gap:2px!important;white-space:normal!important}
  .nav-links.mobile-open{display:grid!important;grid-template-columns:1fr 1fr!important}
  .nav-links a{display:flex!important;align-items:center!important;min-height:43px!important;padding:10px 12px!important;border-radius:10px!important;font-size:12px!important;color:#46617e!important}
  .nav-links a:hover,.nav-links a.active{background:#edf5ff!important;color:#1769e8!important}
  .nav-links a.active:after{display:none!important}
  body.os-mobile-menu-open header{box-shadow:0 8px 25px rgba(20,50,90,.12)}

  /* Hero: less empty space, stronger hierarchy on narrow screens. */
  .hero{min-height:520px!important;padding-top:0!important;background-position:68% center!important}
  .hero:before{opacity:.34!important}
  .hero .hero-content{padding:54px 0 28px!important;max-width:100%!important}
  .hero .eyebrow{font-size:9px!important;letter-spacing:.65px!important}
  .hero h1{font-size:39px!important;line-height:.98!important;letter-spacing:-2px!important;margin:12px 0 14px!important}
  .hero h1 strong{display:block}
  .hero p{font-size:13px!important;line-height:1.65!important;max-width:330px!important}
  .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:18px!important}
  .hero-actions .btn{width:100%!important;min-height:42px!important;padding:10px 8px!important;font-size:11px!important}
  .hero .hero-stats{width:100%!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;padding:13px 8px!important;margin-top:20px!important;border-radius:15px!important}
  .hero .hero-stat{min-width:0!important;padding:0 5px!important}
  .hero .hero-stat strong{font-size:18px!important}
  .hero .hero-stat span{font-size:8px!important;line-height:1.25!important}

  /* Section rhythm */
  .section{padding:42px 0!important}
  .section-head{margin-bottom:18px!important}
  .section-head h2{font-size:27px!important;line-height:1.1!important;letter-spacing:-.7px!important}
  .section-head p{font-size:12px!important;line-height:1.6!important}

  /* Sport selector: compact horizontal cards, still fully functional. */
  #olahraga .sport-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  #olahraga .sport-card{min-height:155px!important;border-radius:16px!important;padding:14px!important}
  #olahraga .sport-card h3{font-size:18px!important;line-height:1.05!important;margin-bottom:5px!important}
  #olahraga .sport-card p{font-size:9px!important;line-height:1.45!important;max-width:145px!important}
  #olahraga .sport-card-kicker{font-size:8px!important;margin-bottom:6px!important}
  #olahraga .sport-card-link{font-size:9px!important;margin-top:8px!important}

  /* Schedule follows a clear mobile order: filter -> date -> event list. */
  #jadwal .section-head{margin-bottom:16px!important}
  #jadwal .schedule-highlight{display:none!important}
  #jadwal .calendar-panel{margin-bottom:12px!important;padding:14px!important;border-radius:17px!important;background:#fff!important}
  #jadwal .calendar-top{margin-bottom:10px!important}
  #jadwal .calendar-title{font-size:13px!important;font-weight:900!important}
  #jadwal .calendar-days{grid-template-columns:repeat(3,1fr)!important;gap:7px!important}
  #jadwal .calendar-day{min-height:76px!important;border-radius:13px!important;padding:9px 5px!important}
  #jadwal .calendar-day .day-name{font-size:10px!important}
  #jadwal .calendar-day .day-num{font-size:24px!important;line-height:1!important;margin:3px 0!important}
  #jadwal .calendar-day .month{font-size:9px!important}
  #jadwal .calendar-day .calendar-count{font-size:8px!important;min-width:17px!important;height:17px!important;line-height:17px!important}
  #jadwal .calendar-day:nth-child(n+4){display:none!important}
  #jadwal .active-filter-row{margin-top:9px!important;font-size:10px!important}
  #jadwal .date-chip{font-size:9px!important;padding:6px 9px!important}

  #jadwal .schedule-toolbar{display:block!important;background:#fff!important;border:1px solid #dfe8f2!important;border-radius:16px!important;padding:11px!important;margin-bottom:12px!important}
  #jadwal .filters{display:flex!important;gap:7px!important;overflow-x:auto!important;padding-bottom:2px!important;scrollbar-width:none!important;white-space:nowrap!important}
  #jadwal .filters::-webkit-scrollbar{display:none!important}
  #jadwal .filters .pill{flex:0 0 auto!important;min-height:32px!important;padding:7px 12px!important;border-radius:999px!important;font-size:10px!important}
  #jadwal .search-box{margin-top:9px!important;width:100%!important}
  #jadwal .search-box input{width:100%!important;min-height:38px!important;font-size:11px!important}
  #jadwal .schedule-result-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;margin:10px 2px 12px!important;font-size:10px!important}
  #jadwal .schedule-result-head .availability{font-size:9px!important}

  /* BLAX-like vertical event cards, but ONESPORT styling/content. */
  #jadwal .match-grid{display:grid!important;grid-template-columns:1fr!important;gap:13px!important}
  #jadwal .match-card.list-card{display:block!important;border-radius:18px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 7px 22px rgba(20,50,90,.065)!important}
  #jadwal .match-card.list-card .match-img{height:190px!important;min-height:190px!important;background-position:center!important}
  #jadwal .match-card.list-card .match-body{padding:16px!important;overflow:visible!important}
  #jadwal .match-card.list-card .match-title-row{display:block!important;margin-bottom:9px!important}
  #jadwal .match-card.list-card .match-title-row h3{font-size:21px!important;line-height:1.12!important;letter-spacing:-.4px!important;margin:6px 0 0!important;overflow-wrap:normal!important}
  #jadwal .match-card.list-card .match-type{display:inline-flex!important;padding:6px 9px!important;border-radius:8px!important;background:#edf5ff!important;color:#236cda!important;font-size:9px!important;font-weight:900!important}
  #jadwal .match-provider{display:none!important}
  #jadwal .match-meta-line{font-size:11px!important;line-height:1.5!important;margin-top:6px!important;color:#65788e!important}
  #jadwal .match-meta-line strong{color:#1769e8!important}
  #jadwal .tags{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:12px!important}
  #jadwal .tags .tag{font-size:9px!important;padding:6px 9px!important;border-radius:8px!important;background:#f8fbff!important;border:1px solid #dce7f2!important;color:#5c7087!important}
  #jadwal .match-divider{margin:14px 0!important}
  #jadwal .match-bottom{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:10px!important}
  #jadwal .match-price{min-width:0!important}
  #jadwal .match-price small{font-size:9px!important;color:#7b8ca0!important}
  #jadwal .match-price strong{display:block!important;font-size:22px!important;line-height:1.1!important;color:#1769e8!important;margin-top:3px!important}
  #jadwal .match-actions{display:grid!important;grid-template-columns:44px minmax(105px,1fr)!important;gap:8px!important;margin:0!important;width:auto!important;min-width:150px!important}
  #jadwal .match-actions .btn{min-width:0!important;width:100%!important;min-height:42px!important;padding:8px 10px!important;border-radius:999px!important;font-size:10px!important}
  #jadwal .match-actions .btn:first-child{font-size:0!important;padding:8px!important}
  #jadwal .match-actions .btn:first-child::before{content:'◉';font-size:13px!important}

  /* Venue cards and gallery remain comfortable on small screens. */
  .venue-grid{grid-template-columns:1fr!important;gap:12px!important}
  .venue-card{border-radius:17px!important}
  .gallery-event-card{border-radius:17px!important}
}

@media(max-width:380px){
  .nav{padding:0 11px!important}
  .logo{font-size:19px!important}
  .mobile-menu-toggle{width:38px;height:38px}
  .nav-actions .btn{padding:7px 9px!important}
  .hero h1{font-size:34px!important}
  #olahraga .sport-grid{grid-template-columns:1fr!important}
  #jadwal .match-bottom{display:block!important}
  #jadwal .match-actions{margin-top:12px!important;width:100%!important;min-width:0!important}
}

/* =========================================================
   ONESPORT 1.6.78 — MOBILE HEADER NAVIGATION RESTORE
   Keep the full ONESPORT navigation visible on mobile.
   No hamburger menu. The navigation remains a compact,
   horizontally scrollable second row below the main header.
   ========================================================= */
@media(max-width:680px){
  header{position:sticky!important;top:0!important;z-index:800!important}
  .nav{
    height:auto!important;
    min-height:106px!important;
    width:100%!important;
    padding:8px 14px 0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:56px 44px!important;
    gap:0!important;
    overflow:visible!important;
    align-items:center!important;
  }
  .logo{font-size:21px!important;justify-self:start!important;align-self:center!important}
  .mobile-menu-toggle{display:none!important}
  .nav-actions{grid-column:2!important;grid-row:1!important;justify-self:end!important;margin-left:0!important}
  .nav-actions .btn{padding:8px 10px!important;font-size:11px!important;border-radius:10px!important}
  .nav-actions #osAuthGuest{display:flex!important;gap:5px!important}
  .nav-actions #osAuthGuest .btn-ghost{display:inline-flex!important}
  .nav-actions #osAuthMember{display:flex!important;gap:5px!important}
  .nav-actions #osAuthMember .member-pill{display:inline-flex!important;font-size:10px!important;padding:8px 9px!important;max-width:125px!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
  .nav-links,
  .nav-links.mobile-open{
    position:static!important;
    grid-column:1/-1!important;
    grid-row:2!important;
    width:100%!important;
    height:44px!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    padding:4px!important;
    margin:0!important;
    background:#f4f7fb!important;
    border:1px solid #e2eaf4!important;
    border-radius:13px 13px 0 0!important;
    box-shadow:none!important;
    gap:2px!important;
    scrollbar-width:none!important;
  }
  .nav-links::-webkit-scrollbar{display:none!important}
  .nav-links a{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    padding:7px 12px!important;
    border-radius:9px!important;
    font-size:11px!important;
    color:#53657a!important;
  }
  .nav-links a:hover,.nav-links a.active{background:#fff!important;color:#1769e8!important;box-shadow:0 2px 7px rgba(19,70,130,.07)!important}
  .nav-links a.active:after{display:none!important}
  body.os-mobile-menu-open header{box-shadow:0 6px 20px rgba(20,50,90,.07)!important}
}
@media(max-width:380px){
  .nav{padding-left:10px!important;padding-right:10px!important;min-height:104px!important;grid-template-rows:54px 44px!important}
  .logo{font-size:19px!important}
  .nav-actions .btn{padding:7px 8px!important;font-size:10px!important}
  .nav-links a{padding-left:10px!important;padding-right:10px!important;font-size:10px!important}
}

/* =========================================================
   1.6.79 — UNIFIED SCHEDULE UX
   Same event information on desktop + mobile, responsive layout.
   ========================================================= */
#jadwal .schedule-unified-card{display:grid!important;grid-template-columns:330px minmax(0,1fr)!important;min-height:0!important;overflow:hidden!important}
#jadwal .schedule-unified-card .match-img{height:auto!important;min-height:430px!important;background-position:center!important;position:relative!important}
#jadwal .schedule-unified-card .match-img:after{background:linear-gradient(180deg,rgba(4,18,36,.08) 0%,rgba(4,18,36,.05) 35%,rgba(4,18,36,.88) 100%)!important}
.schedule-image-top{position:absolute;z-index:3;left:16px;right:16px;top:16px;display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.schedule-rank{display:inline-flex;align-items:center;gap:5px;padding:8px 12px;border-radius:999px;background:#ff9f1c;color:#fff;font-size:11px;font-weight:900;box-shadow:0 7px 18px rgba(0,0,0,.14)}
.schedule-date-badge{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:92px;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.96);color:#102b50;box-shadow:0 10px 24px rgba(0,0,0,.12);text-align:center}
.schedule-date-badge b{font-size:11px;color:#1769e8}.schedule-date-badge strong{font-size:34px;line-height:1.05;margin:2px 0}.schedule-date-badge small{font-size:10px;color:#667b92}
.schedule-image-info{position:absolute;z-index:3;left:20px;right:92px;bottom:22px;color:#fff}
.schedule-sport-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(10,34,69,.74);border:1px solid rgba(255,255,255,.24);font-size:9px;font-weight:900;letter-spacing:.04em}
.schedule-image-info h3{margin:9px 0 8px;font-size:24px;line-height:1.06;color:#fff;letter-spacing:-.5px}.schedule-image-info p{margin:4px 0;font-size:12px;color:#fff;font-weight:700}
.schedule-slot-badge{position:absolute;z-index:4;right:16px;bottom:22px;min-width:78px;padding:12px 10px;border-radius:16px;background:rgba(255,255,255,.96);text-align:center;color:#18375e;box-shadow:0 10px 24px rgba(0,0,0,.13)}
.schedule-slot-badge b{display:block;font-size:17px;color:#1769e8}.schedule-slot-badge small{font-size:9px;color:#70849a}
#jadwal .schedule-unified-card .match-body{padding:22px 24px!important;overflow:visible!important}
.schedule-community{display:flex;align-items:center;gap:10px;padding-bottom:14px;border-bottom:1px solid #e3ebf3;margin-bottom:14px}.schedule-community-logo{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#0b2144,#1769e8);display:grid;place-items:center;color:#fff;font-weight:1000;font-size:20px}.schedule-community small{display:block;color:#91a2b4;font-size:9px;letter-spacing:.08em}.schedule-community strong{display:block;color:#102f58;font-size:15px;margin-top:2px}
.schedule-content-heading h3{margin:6px 0 0;font-size:24px;line-height:1.1;color:#102f58;letter-spacing:-.5px}.schedule-category{display:inline-flex;color:#1769e8;background:#edf5ff;border-radius:7px;padding:6px 9px;font-size:9px;font-weight:900}.schedule-sport{font-size:9px;font-weight:900;color:#63788e}.schedule-dot{padding:0 5px;color:#a5b4c3}
.schedule-key-info{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0;color:#5e7389;font-size:12px}.schedule-key-info span:last-child{grid-column:1/-1}.schedule-key-info b{color:#1769e8}
.schedule-facility-row{display:flex;gap:12px;align-items:flex-start}.schedule-facility-label{flex:0 0 auto;font-size:9px;font-weight:900;color:#60758b;padding-top:7px}.schedule-facility-tags{display:flex;flex-wrap:wrap;gap:6px}.schedule-facility-chip,.schedule-facility-more{font-size:9px;padding:6px 9px;border:1px solid #dce7f2;border-radius:8px;background:#f8fbff;color:#536a81}.schedule-facility-chip.event-chip{background:#f1fbf7;border-color:#c9eadb;color:#197d5a}
.schedule-fee-row{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-top:18px;padding-top:15px;border-top:1px solid #e5edf5}.match-price small{display:block;color:#7c8fa3;font-size:9px;font-weight:800}.match-price strong{font-size:25px;color:#1769e8;line-height:1.1}.match-price span{font-size:10px;color:#73869a;margin-left:3px}.schedule-fee-role{display:flex;gap:8px;margin-top:5px}.schedule-fee-role span{display:flex;flex-direction:column;padding:8px 11px;border-radius:10px;background:#eef6ff;border:1px solid #cde1fa;color:#1769e8;font-size:9px;font-weight:800}.schedule-fee-role span:last-child{background:#effbf6;border-color:#c7ebda;color:#16825c}.schedule-fee-role b{font-size:16px;margin-top:2px}
.schedule-capacity-box{text-align:right}.schedule-capacity-box b{display:block;font-size:25px;color:#1769e8}.schedule-capacity-box span{font-size:10px;color:#7c8fa3}
.schedule-progress{margin-top:14px}.schedule-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#64798e;font-weight:800}.schedule-progress>div:first-child strong{color:#1769e8}.schedule-progress-track{height:9px;background:#edf2f7;border-radius:99px;overflow:hidden;margin:7px 0 5px}.schedule-progress-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#1769e8,#3186f3)}.schedule-progress small{font-size:9px;color:#8191a2}
.schedule-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:16px!important;width:100%!important}.schedule-actions .btn{min-height:44px;border-radius:999px!important}.schedule-actions .btn-disabled,.schedule-actions .btn:disabled{background:#b8c8df!important;border-color:#b8c8df!important;color:#fff!important;cursor:not-allowed!important;box-shadow:none!important}
#jadwal .schedule-unified-card.is-full .schedule-progress-track i{background:#8ca9d2!important}.schedule-unified-card.is-full .schedule-rank{background:#7c91aa}
@media(min-width:821px){#jadwal .match-grid{grid-template-columns:1fr!important;gap:18px!important}}
@media(max-width:820px){#jadwal .schedule-unified-card{grid-template-columns:1fr!important}.schedule-unified-card .match-img{min-height:360px!important;height:360px!important}.schedule-image-info{left:16px;right:16px;bottom:20px}.schedule-image-info h3{font-size:22px}.schedule-slot-badge{right:16px;bottom:20px}.schedule-community{margin-bottom:13px}}
@media(max-width:680px){
  #jadwal .schedule-unified-card .match-img{height:310px!important;min-height:310px!important}
  .schedule-image-top{left:12px;right:12px;top:12px}.schedule-rank{font-size:9px;padding:7px 10px}.schedule-date-badge{min-width:84px;padding:8px 9px;border-radius:13px}.schedule-date-badge strong{font-size:30px}.schedule-date-badge small{font-size:9px}
  .schedule-image-info{left:15px;right:90px;bottom:17px}.schedule-image-info h3{font-size:20px;margin:7px 0 6px}.schedule-image-info p{font-size:10px}.schedule-sport-badge{font-size:8px;padding:5px 8px}.schedule-slot-badge{right:12px;bottom:17px;min-width:70px;padding:10px 8px}.schedule-slot-badge b{font-size:15px}
  #jadwal .schedule-unified-card .match-body{padding:15px!important}.schedule-community-logo{width:36px;height:36px;font-size:18px}.schedule-community strong{font-size:14px}
  .schedule-content-heading h3{font-size:20px}.schedule-key-info{grid-template-columns:1fr;gap:6px;margin:13px 0}.schedule-key-info span:last-child{grid-column:auto}.schedule-facility-row{display:block}.schedule-facility-label{display:block;margin-bottom:6px}.schedule-fee-row{margin-top:15px;padding-top:13px}.match-price strong{font-size:22px}.schedule-fee-role b{font-size:14px}.schedule-capacity-box b{font-size:22px}
  .schedule-actions{grid-template-columns:1fr 1.35fr!important}.schedule-actions .btn{min-height:46px;font-size:11px}
}


/* =========================================================
   ONESPORT 1.6.80 — MOBILE SCHEDULE ACTIONS FIX
   Keep Detail + Booking actions equally visible on mobile.
   Previous responsive rules intentionally reduced Detail to
   an icon-only circular button; that behavior is removed.
   ========================================================= */
@media(max-width:680px){
  #jadwal .schedule-unified-card .schedule-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
    margin-top:16px!important;
  }
  #jadwal .schedule-unified-card .schedule-actions .btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    padding:10px 12px!important;
    border-radius:999px!important;
    font-size:11px!important;
    line-height:1.15!important;
    white-space:normal!important;
    text-align:center!important;
  }
  /* Override the legacy mobile rule that hides the first button text. */
  #jadwal .schedule-unified-card .schedule-actions .btn:first-child{
    font-size:11px!important;
    padding:10px 12px!important;
  }
  #jadwal .schedule-unified-card .schedule-actions .btn:first-child::before{
    content:'◉'!important;
    display:inline-block!important;
    font-size:10px!important;
    margin-right:6px!important;
  }
  #jadwal .schedule-unified-card .schedule-actions .btn:disabled{
    opacity:1!important;
  }
}
@media(max-width:380px){
  #jadwal .schedule-unified-card .schedule-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;gap:7px!important}
  #jadwal .schedule-unified-card .schedule-actions .btn,
  #jadwal .schedule-unified-card .schedule-actions .btn:first-child{font-size:10px!important;padding-left:8px!important;padding-right:8px!important}
  #jadwal .schedule-unified-card .schedule-actions .btn:first-child::before{font-size:9px!important;margin-right:4px!important}
}

/* =========================================================
   ONESPORT 1.6.80 — STANDALONE SCHEDULE PAGE
   Schedule navigation is a dedicated page-like experience,
   inspired by modern sports schedule UX while keeping
   ONESPORT visual language and the same live event data.
   ========================================================= */
.schedule-standalone-page{background:#f5f8fc;min-height:calc(100vh - 120px)}
.schedule-standalone{padding-top:46px!important}
.schedule-standalone-hero{text-align:center;max-width:760px;margin:0 auto 30px}
.schedule-standalone-icon{width:64px;height:64px;margin:0 auto 18px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#1769e8,#16b889);color:#fff;font-size:27px;box-shadow:0 12px 28px rgba(23,105,232,.18)}
.schedule-standalone-hero h1{margin:0;color:#102d53;font-size:38px;line-height:1.08;letter-spacing:-1.2px}
.schedule-standalone-hero p{margin:12px auto 0;color:#647a91;font-size:16px;line-height:1.6;max-width:680px}
.schedule-community-strip{display:flex;justify-content:center;gap:10px;margin:0 auto 18px;overflow-x:auto;padding:3px 2px 8px}
.schedule-community-filter{display:flex;align-items:center;gap:10px;min-width:190px;padding:12px 18px;border:1px solid #d5e1ef;background:#fff;border-radius:14px;color:#16375f;cursor:pointer;box-shadow:0 5px 18px rgba(20,50,90,.04)}
.schedule-community-filter.active{border-color:#8db7f5;box-shadow:0 7px 20px rgba(23,105,232,.09)}
.community-mini-logo{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#0a2b58,#1769e8);color:#fff;font-weight:1000}
.schedule-community-filter small{display:block;color:#8a9aad;font-size:8px;letter-spacing:.08em;text-align:left}.schedule-community-filter strong{display:block;font-size:14px;margin-top:2px;text-align:left}
.schedule-filter-panel{background:#fff;border:1px solid #dce6f1;border-radius:16px;padding:16px;margin-bottom:18px;box-shadow:0 7px 24px rgba(20,50,90,.045)}
.schedule-filter-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}
.schedule-select-wrap{display:block}.schedule-select-wrap>span{display:block;font-size:9px;font-weight:900;color:#667c93;text-transform:uppercase;letter-spacing:.06em;margin:0 0 6px}.schedule-select-wrap select{width:100%;height:44px;border:1px solid #cfdcea;border-radius:10px;background:#fff;color:#203c60;padding:0 12px;font:inherit;font-size:12px;outline:none}.schedule-select-wrap select:focus{border-color:#4a8cf0;box-shadow:0 0 0 3px rgba(23,105,232,.08)}
.schedule-view-toggle{display:flex;gap:4px;background:#f1f5fa;border-radius:11px;padding:4px;height:44px}.schedule-view-toggle button{border:0;background:transparent;border-radius:8px;padding:0 14px;color:#5b7088;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.schedule-view-toggle button.active{background:#fff;color:#1769e8;box-shadow:0 2px 8px rgba(20,50,90,.08)}
.schedule-search-row{display:flex;gap:10px;margin-top:12px}.schedule-page-search{flex:1;margin:0!important}.schedule-page-search input{min-height:42px}.schedule-reset-btn{border:1px solid #d6e2ee;background:#fff;color:#1769e8;border-radius:10px;padding:0 18px;font-size:11px;font-weight:900;cursor:pointer}.schedule-reset-btn:hover{background:#edf5ff}
.schedule-calendar-standalone{margin-bottom:20px!important}
.schedule-available-dates{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:12px 0 2px;scrollbar-width:none}.schedule-available-dates::-webkit-scrollbar{display:none}.available-date-label{flex:0 0 auto;color:#7b8da0;font-size:9px;font-weight:900;text-transform:uppercase;margin-right:2px}.available-date-chip{flex:0 0 auto;min-width:68px;border:1px solid #d9e4ef;background:#fff;border-radius:10px;padding:6px 8px;text-align:center;color:#567087;cursor:pointer}.available-date-chip b{display:block;font-size:16px;color:#183b66;line-height:1}.available-date-chip span{display:block;font-size:9px;margin-top:2px}.available-date-chip small{display:block;font-size:7px;color:#94a2b2;margin-top:2px}.available-date-chip.active{border-color:#4387ed;background:#edf5ff;box-shadow:0 4px 12px rgba(23,105,232,.1)}.available-date-chip.active b,.available-date-chip.active span{color:#1769e8}
.schedule-standalone-result{margin:4px 0 12px!important}.schedule-selected-day{display:flex;align-items:center;gap:18px;background:linear-gradient(105deg,#2875ec,#1769e8);border-radius:15px;padding:15px 18px;margin-bottom:18px;color:#fff;box-shadow:0 8px 20px rgba(23,105,232,.13)}.schedule-selected-day-date{flex:0 0 auto;min-width:92px;padding:8px 12px;border-radius:9px;background:rgba(255,255,255,.18);font-size:10px;font-weight:900;text-align:center}.schedule-selected-day strong{display:block;font-size:20px}.schedule-selected-day small{display:block;margin-top:2px;font-size:10px;color:#dceaff}
.schedule-standalone-grid{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}
.schedule-standalone-grid .schedule-unified-card{border:1px solid #d9e4ef;box-shadow:0 8px 24px rgba(20,50,90,.055)}

@media(max-width:820px){
  .schedule-standalone{padding-top:28px!important}
  .schedule-standalone-hero{margin-bottom:20px}.schedule-standalone-hero h1{font-size:30px}.schedule-standalone-hero p{font-size:13px}
  .schedule-filter-row{grid-template-columns:1fr 1fr}.schedule-view-toggle{grid-column:1/-1}.schedule-view-toggle button{flex:1}
  .schedule-selected-day{padding:12px;gap:10px}.schedule-selected-day-date{min-width:76px;font-size:8px}.schedule-selected-day strong{font-size:16px}
}
@media(max-width:680px){
  .schedule-standalone{padding:25px 0 42px!important}.schedule-standalone .container{width:100%!important;padding:0 12px!important}.schedule-standalone-hero{padding:0 8px}.schedule-standalone-icon{width:52px;height:52px;border-radius:15px;font-size:22px;margin-bottom:13px}.schedule-standalone-hero h1{font-size:27px;letter-spacing:-.8px}.schedule-standalone-hero p{font-size:12px;line-height:1.55}
  .schedule-community-strip{justify-content:flex-start;margin-bottom:12px}.schedule-community-filter{min-width:170px;padding:10px 14px}.community-mini-logo{width:30px;height:30px}.schedule-community-filter strong{font-size:12px}
  .schedule-filter-panel{padding:11px;border-radius:14px}.schedule-filter-row{grid-template-columns:1fr;gap:8px}.schedule-view-toggle{height:40px}.schedule-view-toggle button{font-size:10px}.schedule-search-row{display:grid;grid-template-columns:1fr;gap:8px}.schedule-reset-btn{min-height:40px}
  .schedule-calendar-standalone{padding:12px!important;border-radius:15px!important}.schedule-available-dates{margin-top:2px}.schedule-selected-day{margin-bottom:12px;border-radius:13px;padding:10px}.schedule-selected-day-date{min-width:72px;padding:7px 6px}.schedule-selected-day strong{font-size:14px}.schedule-selected-day small{font-size:8px}
  .schedule-standalone-grid{gap:13px!important}
}

/* 1.6.89 — current-user booking state inside Event > Lineup */
.lineup-user-booking-note{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:0 0 16px;padding:13px 16px;border:1px solid #bfe6d2;background:#effbf5;border-radius:12px;color:#087957;font-size:13px}
.lineup-user-booking-note strong{font-weight:800}.lineup-user-booking-note span{color:#587089}
@media(max-width:680px){.lineup-user-booking-note{display:block}.lineup-user-booking-note span{display:block;margin-top:4px}}

/* Member Pro event-card actions: lineup access + fresh booking entry. */
.schedule-actions-pro{grid-template-columns:1fr 1fr 1.15fr!important}
.schedule-actions-pro .btn{white-space:nowrap}
@media(max-width:760px){
  .schedule-actions-pro{grid-template-columns:1fr 1fr!important}
  .schedule-actions-pro .btn:last-child{grid-column:1/-1}
}
