:root{
    --bg:#f5f5f3;
    --surface:#fff;
    --ink:#111;
    --muted:#6d6d68;
    --line:#e8e8e4;
    --gold:#c7a45a;
    --gold2:#ead7a4;
    --dark:#0d0d0d;
    --success:#208052;
    --shadow:0 18px 50px rgba(0,0,0,.08)
}
*{
    box-sizing:border-box
}
html{
    scroll-behavior:smooth
}
body{
    margin:0;
    font-family:Inter,Arial,sans-serif;
    color:var(--ink);
    background:var(--bg)
}
button,input{
    font:inherit
}
.auth-body{
    min-height:100vh;
    background:#0c0c0c
}
.auth-shell{
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(460px,.92fr)
}
.auth-brand-panel{
    padding:48px 7vw 54px;
    position:relative;
    overflow:hidden;
    color:#fff;
    background:radial-gradient(circle at 80% 25%,rgba(199,164,90,.22),transparent 30%),linear-gradient(145deg,#050505,#17140e 72%,#080808);
    display:flex;
    flex-direction:column;
    justify-content:space-between
}
.auth-brand-panel:after{
    content:"";
    position:absolute;
    width:520px;
    height:520px;
    border:1px solid rgba(199,164,90,.17);
    border-radius:50%;
    right:-220px;
    bottom:-200px;
    box-shadow:0 0 0 80px rgba(199,164,90,.03),0 0 0 160px rgba(199,164,90,.02)
}
.brand-wrap{
    display:flex;
    align-items:center;
    gap:18px;
    position:relative;
    z-index:2
}
.brand-logo,.side-logo img{
    width:145px;
    height:auto;
    object-fit:contain
}
.portal-pill{
    font-size:10px;
    font-weight:800;
    letter-spacing:1.6px;
    border:1px solid rgba(255,255,255,.22);
    padding:8px 10px;
    border-radius:999px
}
.auth-copy{
    position:relative;
    z-index:2;
    max-width:680px
}
.eyebrow,.kicker,.card-label{
    margin:0 0 10px;
    color:var(--gold);
    font-size:11px;
    font-weight:800;
    letter-spacing:1.6px
}
.auth-copy h1{
    font-size:clamp(38px,4vw,68px);
    line-height:1.03;
    margin:0 0 22px;
    letter-spacing:-2.7px
}
.auth-copy>p:last-child{
    font-size:17px;
    line-height:1.7;
    color:#bdbdb7;
    max-width:590px
}
.auth-feature-row{
    display:flex;
    gap:28px;
    flex-wrap:wrap;
    color:#aaa;
    font-size:12px;
    position:relative;
    z-index:2
}
.auth-card-wrap{
    background:#f2f2ef;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:48px
}
.auth-card{
    width:min(100%,470px);
    background:#fff;
    border:1px solid #e8e7e2;
    border-radius:24px;
    padding:42px;
    box-shadow:var(--shadow)
}
.mobile-logo{
    display:none;
    width:130px;
    margin-bottom:36px
}
.auth-card h2{
    font-size:30px;
    letter-spacing:-1px;
    margin:0 0 9px
}
.muted{
    color:var(--muted);
    font-size:14px;
    line-height:1.6;
    margin:0 0 30px
}
.auth-card label{
    display:block;
    font-weight:700;
    font-size:12px;
    margin:0 0 9px
}
.phone-field{
    display:flex;
    align-items:center;
    border:1px solid #d9d9d4;
    border-radius:12px;
    overflow:hidden;
    background:#fff
}
.phone-field:focus-within{
    border-color:#a98948;
    box-shadow:0 0 0 3px rgba(199,164,90,.12)
}
.phone-field span{
    padding:0 13px;
    border-right:1px solid #e7e7e2;
    color:#555;
    font-weight:700
}
.phone-field input,.otp-input{
    width:100%;
    border:0;
    outline:0;
    padding:15px 14px;
    font-size:16px;
    background:transparent
}
.otp-input{
    border:1px solid #d9d9d4;
    border-radius:12px;
    text-align:center;
    letter-spacing:12px;
    font-size:24px;
    font-weight:800
}
.primary-btn{
    width:100%;
    border:0;
    background:#111;
    color:#fff;
    border-radius:12px;
    padding:15px 18px;
    margin-top:14px;
    font-weight:800;
    display:flex;
    justify-content:center;
    gap:14px;
    cursor:pointer
}
.primary-btn:hover{
    background:#28251e
}
.primary-btn:disabled{
    opacity:.55;
    cursor:wait
}
.eligibility-note{
    margin-top:22px;
    background:#f8f6f0;
    border:1px solid #eee8d8;
    border-radius:12px;
    padding:14px;
    color:#666257;
    font-size:12px;
    line-height:1.55
}
.eligibility-note strong{
    color:#26241e
}
.text-btn,.resend-btn{
    border:0;
    background:none;
    padding:0;
    color:#6b624e;
    font-size:12px;
    font-weight:700;
    cursor:pointer
}
.text-btn{
    margin-bottom:24px
}
.resend-btn{
    display:block;
    margin:18px auto 0
}
.form-message{
    margin-top:16px;
    border-radius:10px;
    padding:11px 13px;
    font-size:12px;
    line-height:1.45;
    background:#fff0f0;
    color:#a22
}
.form-message.success{
    background:#eef9f2;
    color:#226c43
}
 .dashboard-body{
    background:#f4f4f1
}
.dashboard-shell{
    min-height:100vh
}
.sidebar{
    position:fixed;
    inset:0 auto 0 0;
    width:260px;
    background:#0c0c0c;
    color:#fff;
    padding:28px 20px;
    display:flex;
    flex-direction:column;
    z-index:20
}
.side-logo{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:0 10px 30px;
    border-bottom:1px solid #242424
}
.side-logo img{
    width:128px
}
.side-logo span{
    font-size:9px;
    letter-spacing:1.8px;
    color:#82775f;
    font-weight:800
}
.sidebar nav{
    padding:24px 0
}
.sidebar nav a{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    color:#8f8f8c;
    padding:12px 14px;
    border-radius:10px;
    margin:4px 0;
    font-size:13px;
    font-weight:600
}
.sidebar nav a span{
    width:22px;
    text-align:center
}
.sidebar nav a:hover,.sidebar nav a.active{
    background:#1a1916;
    color:#fff
}
.side-bottom{
    margin-top:auto;
    border-top:1px solid #242424;
    padding-top:20px
}
.mini-profile{
    display:flex;
    gap:10px;
    align-items:center
}
.mini-profile strong,.mini-profile small{
    display:block;
    font-size:11px
}
.mini-profile small{
    color:#777;
    margin-top:3px
}
.avatar{
    width:38px;
    height:38px;
    border-radius:50%;
    background:#e9ddbd;
    color:#443718;
    display:grid;
    place-items:center;
    font-weight:800;
    font-size:12px
}
.avatar.small{
    width:34px;
    height:34px;
    font-size:10px
}
.logout{
    display:block;
    margin-top:14px;
    color:#777;
    text-decoration:none;
    font-size:11px
}
.main-content{
    margin-left:260px;
    padding:40px 44px 100px;
    max-width:1540px
}
.mobile-header{
    display:none
}
.welcome{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:28px
}
.welcome h1{
    font-size:34px;
    letter-spacing:-1.4px;
    margin:0 0 6px
}
.welcome>div>p:last-child{
    margin:0;
    color:var(--muted);
    font-size:13px
}
.confirmed-badge{
    font-size:11px;
    font-weight:700;
    color:var(--success);
    background:#eaf7f0;
    border:1px solid #caead9;
    border-radius:999px;
    padding:8px 12px
}
.summary-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-bottom:14px
}
.summary-card,.panel{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:16px
}
.summary-card{
    padding:20px;
    min-height:132px;
    display:flex;
    flex-direction:column
}
.summary-card.team-highlight{
    background:linear-gradient(135deg,#17150f,#0b0b0b);
    color:#fff;
    border-color:#201d16
}
.summary-card strong{
    font-size:18px;
    letter-spacing:-.4px;
    margin-top:auto
}
.summary-card small{
    display:block;
    color:#888;
    margin-top:7px;
    font-size:11px
}
.mini-progress{
    height:4px;
    background:#ecece8;
    border-radius:9px;
    overflow:hidden;
    margin-top:11px
}
.mini-progress i,.big-progress i{
    display:block;
    height:100%;
    background:linear-gradient(90deg,#d8bd7d,#a98439);
    border-radius:inherit
}
.content-grid{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);
    gap:14px
}
.right-stack{
    display:grid;
    gap:14px;
    align-content:start
}
.panel{
    padding:22px
}
.panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px
}
.panel h2{
    margin:0;
    font-size:20px;
    letter-spacing:-.6px
}
.count-pill,.you-pill{
    font-size:10px;
    font-weight:800;
    background:#f3efe4;
    color:#856923;
    border-radius:999px;
    padding:7px 10px
}
.role-list{
    display:grid;
    gap:17px
}
.role-title{
    display:flex;
    justify-content:space-between;
    margin-bottom:7px
}
.role-title span{
    font-size:11px;
    font-weight:800;
    color:#4c4c49
}
.role-title small{
    font-size:10px;
    color:#999
}
.role-members{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px
}
.member-row{
    min-height:56px;
    border:1px solid #ecece8;
    border-radius:11px;
    padding:9px 10px;
    display:flex;
    align-items:center;
    gap:10px
}
.member-row.you{
    border-color:#d7c28d;
    background:#fcfaf4
}
.member-row.waiting{
    border-style:dashed;
    background:#fafaf8
}
.member-row strong,.member-row small{
    display:block;
    font-size:11px
}
.member-row small{
    font-size:9px;
    color:#8b8b87;
    margin-top:3px
}
.member-row .you-pill,.assigned-dot{
    margin-left:auto
}
.assigned-dot{
    font-size:9px;
    color:#6b8d79
}
.waiting .avatar{
    background:#f1f1ed;
    color:#aaa
}
.empty-state{
    text-align:center;
    padding:50px 20px
}
.empty-state.compact{
    padding:30px 10px
}
.empty-icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#f3efe4;
    color:#9b7b32;
    margin:0 auto 14px;
    font-size:20px
}
.empty-state h3{
    font-size:14px;
    margin:0 0 8px
}
.empty-state p{
    font-size:11px;
    line-height:1.6;
    color:#858581;
    margin:auto;
    max-width:310px
}
.match-date{
    display:flex;
    align-items:center;
    gap:10px;
    margin:4px 0 18px
}
.match-date strong{
    font-size:38px;
    line-height:1
}
.match-date span{
    font-size:11px;
    line-height:1.35;
    color:#777;
    font-weight:800
}
.match-panel h3{
    font-size:15px;
    margin:0 0 18px
}
.match-panel h3 span{
    color:#aaa;
    font-weight:400;
    padding:0 5px
}
.match-meta{
    display:grid;
    grid-template-columns:1fr 1fr;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:14px 0;
    margin-bottom:14px
}
.match-meta small,.venue small,.profile-grid small{
    display:block;
    font-size:9px;
    color:#999;
    font-weight:700;
    margin-bottom:5px
}
.match-meta strong,.venue strong{
    font-size:11px
}
.venue span{
    display:block;
    color:#888;
    font-size:10px;
    margin-top:4px
}
.big-progress{
    height:8px;
    background:#eee;
    border-radius:999px;
    overflow:hidden
}
.formation-panel>p{
    font-size:10px;
    color:#888
}
.formation-panel>p strong{
    color:#222
}
.formation-panel>p span{
    margin:0 5px
}
.capacity-list{
    margin-top:16px;
    border-top:1px solid var(--line);
    padding-top:10px
}
.capacity-list div{
    display:flex;
    justify-content:space-between;
    padding:6px 0;
    font-size:10px;
    color:#666
}
.capacity-list b{
    font-size:10px;
    color:#777
}
.capacity-list b.done{
    color:var(--success)
}
.profile-panel{
    margin-top:14px
}
.profile-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px
}
.profile-grid strong{
    display:block;
    font-size:12px
}
.bottom-nav{
    display:none
}
 @media(max-width:1120px){
    .summary-grid{
        grid-template-columns:repeat(2,1fr)
    }
    .content-grid{
        grid-template-columns:1fr
    }
    .right-stack{
        grid-template-columns:1fr 1fr
    }
    .profile-grid{
        grid-template-columns:repeat(2,1fr)
    }
}
 @media(max-width:850px){
    .auth-shell{
        grid-template-columns:1fr
    }
    .auth-brand-panel{
        display:none
    }
    .auth-card-wrap{
        min-height:100vh;
        padding:24px
    }
    .mobile-logo{
        display:block
    }
    .sidebar{
        display:none
    }
    .main-content{
        margin-left:0;
        padding:0 18px 95px
    }
    .mobile-header{
        height:68px;
        margin:0 -18px 24px;
        padding:0 18px;
        background:#0d0d0d;
        display:flex;
        align-items:center;
        justify-content:space-between;
        position:sticky;
        top:0;
        z-index:15
    }
    .mobile-header img{
        width:110px
    }
    .mobile-header a{
        color:#aaa;
        font-size:11px;
        text-decoration:none
    }
    .welcome{
        align-items:flex-start
    }
    .confirmed-badge{
        display:none
    }
    .bottom-nav{
        position:fixed;
        bottom:0;
        left:0;
        right:0;
        height:70px;
        background:rgba(12,12,12,.97);
        display:grid;
        grid-template-columns:repeat(4,1fr);
        z-index:25;
        padding-bottom:env(safe-area-inset-bottom)
    }
    .bottom-nav a{
        color:#777;
        text-decoration:none;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:4px;
        font-size:14px
    }
    .bottom-nav a span{
        font-size:9px
    }
    .bottom-nav a.active{
        color:#d9bf7c
    }
}
 @media(max-width:600px){
    .auth-card-wrap{
        padding:0;
        background:#fff;
        align-items:flex-start
    }
    .auth-card{
        min-height:100vh;
        border:0;
        border-radius:0;
        padding:34px 22px;
        box-shadow:none
    }
    .auth-card h2{
        font-size:27px
    }
    .welcome{
        margin-bottom:20px
    }
    .welcome h1{
        font-size:27px
    }
    .summary-grid{
        grid-template-columns:1fr 1fr;
        gap:9px
    }
    .summary-card{
        min-height:118px;
        padding:15px
    }
    .summary-card strong{
        font-size:14px
    }
    .summary-card small{
        font-size:9px
    }
    .panel{
        padding:17px;
        border-radius:14px
    }
    .right-stack{
        grid-template-columns:1fr
    }
    .role-members{
        grid-template-columns:1fr
    }
    .profile-grid{
        grid-template-columns:1fr 1fr
    }
    .member-row{
        min-height:54px
    }
    .panel-head{
        margin-bottom:15px
    }
    .panel h2{
        font-size:18px
    }
}
 @media(max-width:380px){
    .summary-grid{
        grid-template-columns:1fr
    }
    .profile-grid{
        grid-template-columns:1fr
    }
}
/* Player portal UI refinement v2 */
 .logo-surface{
    background:#fff;
    border:1px solid rgba(17,17,17,.08);
    border-radius:12px;
    padding:9px 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 5px 18px rgba(0,0,0,.08)
}
 .auth-logo-surface{
    padding:10px 14px;
    border-radius:14px
}
.auth-logo-surface .brand-logo{
    display:block
}
 .mobile-auth-logo{
    display:none;
    width:max-content;
    margin-bottom:34px
}
.mobile-auth-logo .mobile-logo{
    display:block;
    margin:0;
    width:142px
}
 .side-logo{
    padding-left:6px;
    padding-right:6px
}
.side-logo .logo-surface{
    width:100%;
    padding:10px 12px;
    border-radius:12px
}
.side-logo img{
    width:156px;
    display:block
}
.side-logo span{
    font-size:11px;
    letter-spacing:2px;
    margin:2px 4px 0
}
 .sidebar{
    width:286px;
    padding:26px 20px
}
.main-content{
    margin-left:286px
}
 .sidebar nav{
    padding:26px 0
}
.sidebar nav a{
    gap:14px;
    padding:14px 16px;
    margin:5px 0;
    font-size:16px;
    line-height:1.2;
    border-radius:12px
}
.sidebar nav a i{
    width:24px;
    font-size:20px;
    text-align:center;
    font-weight:400
}
 .mini-profile strong{
    font-size:14px;
    line-height:1.3
}
.mini-profile small{
    font-size:12px;
    line-height:1.4
}
.logout{
    font-size:14px;
    display:flex;
    align-items:center;
    gap:8px
}
.logout i{
    font-size:17px
}
 .welcome h1{
    font-size:40px
}
.welcome>div>p:last-child{
    font-size:15px
}
.eyebrow,.kicker,.card-label{
    font-size:12px;
    letter-spacing:1.7px
}
.confirmed-badge{
    font-size:13px;
    padding:9px 14px
}
 .summary-card{
    min-height:148px;
    padding:24px
}
.summary-card strong{
    font-size:21px;
    line-height:1.25
}
.summary-card small{
    font-size:13px;
    line-height:1.45
}
 .panel{
    padding:26px
}
.panel h2{
    font-size:24px
}
.count-pill,.you-pill{
    font-size:12px;
    padding:8px 11px
}
.role-list{
    gap:20px
}
.role-title{
    margin-bottom:9px
}
.role-title span{
    font-size:14px
}
.role-title small{
    font-size:12px
}
.role-members{
    gap:10px
}
.member-row{
    min-height:68px;
    padding:11px 13px;
    gap:12px
}
.member-row strong{
    font-size:14px;
    line-height:1.35
}
.member-row small{
    font-size:12px;
    line-height:1.35
}
.avatar.small{
    width:40px;
    height:40px;
    font-size:12px
}
.assigned-dot{
    font-size:11px
}
.waiting-icon i{
    font-size:17px
}
 .empty-icon{
    font-size:24px
}
.empty-state h3{
    font-size:18px
}
.empty-state p{
    font-size:13px;
    max-width:360px
}
.match-panel h3{
    font-size:18px
}
.match-date span{
    font-size:13px
}
.match-meta small,.venue small,.profile-grid small{
    font-size:11px
}
.match-meta strong,.venue strong{
    font-size:14px
}
.venue span{
    font-size:12px
}
.formation-panel>p{
    font-size:13px
}
.capacity-list div,.capacity-list b{
    font-size:12px
}
.profile-grid strong{
    font-size:14px
}
 .mobile-header .mobile-logo-surface{
    padding:1px 9px;
    border-radius:9px
}
.mobile-header .mobile-logo-surface img{
    width:124px;
    display:block
}
.mobile-header a{
    display:flex;
    align-items:center;
    gap:6px
}
.mobile-header a i{
    font-size:18px
}
 .bottom-nav a i{
    font-size:22px;
    line-height:1
}
.bottom-nav a span{
    font-size:11px;
    font-weight:600
}
 @media(max-width:850px){
     .mobile-auth-logo{
        display:inline-flex
    }
    .mobile-logo{
        display:block
    }
     .main-content{
        margin-left:0;
        padding:0 20px 100px
    }
     .mobile-header{
        height:78px;
        margin:0 -20px 26px;
        padding:0 20px;
        background:#111
    }
     .mobile-header a{
        font-size:13px
    }
     .welcome h1{
        font-size:34px
    }
    .welcome>div>p:last-child{
        font-size:14px;
        line-height:1.5
    }
     .bottom-nav{
        height:76px
    }
    .bottom-nav a{
        gap:6px
    }
}
 @media(max-width:600px){
     .auth-card{
        padding:32px 22px
    }
    .mobile-auth-logo{
        margin-bottom:28px
    }
    .mobile-auth-logo .mobile-logo{
        width:150px
    }
     .welcome h1{
        font-size:32px;
        line-height:1.08
    }
    .eyebrow,.kicker,.card-label{
        font-size:11px
    }
    .summary-grid{
        grid-template-columns:1fr 1fr;
        gap:10px
    }
    .summary-card{
        min-height:130px;
        padding:17px
    }
    .summary-card strong{
        font-size:17px
    }
    .summary-card small{
        font-size:12px
    }
    .panel{
        padding:19px
    }
    .panel h2{
        font-size:21px
    }
    .role-title span{
        font-size:13px
    }
    .role-title small{
        font-size:12px
    }
    .member-row{
        min-height:66px
    }
    .member-row strong{
        font-size:14px
    }
    .member-row small{
        font-size:12px
    }
    .profile-grid{
        gap:16px
    }
    .profile-grid strong{
        font-size:13px
    }
    .empty-state h3{
        font-size:17px
    }
    .empty-state p{
        font-size:13px
    }
    .capacity-list div,.capacity-list b{
        font-size:12px
    }
}
/* Player portal UI refinement v3 — responsive dashboard */
 :root{
    --portal-gold:#c9a651;
    --portal-gold-dark:#967225;
    --portal-ink:#11110f
}
 .main-content{
    max-width:none
}
.dashboard-wrap{
    max-width:1500px;
    margin:0 auto
}
 .summary-card,.panel{
    box-shadow:0 8px 28px rgba(18,18,15,.035)
}
 .summary-card{
    transition:transform .2s ease,box-shadow .2s ease
}
.summary-card:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 34px rgba(18,18,15,.06)
}
 .member-row{
    transition:border-color .2s ease,background .2s ease
}
.member-row:hover{
    border-color:#ddd3b9
}
 .mobile-header .mobile-logo-surface{
    background:#fff;
    border:0;
    box-shadow:none
}
 @media(max-width:850px){
     .mobile-header{
        height:72px;
        margin:0 -20px 22px;
        padding:0 16px 0 20px;
        box-shadow:0 1px 0 rgba(255,255,255,.08)
    }
     .mobile-header .mobile-logo-surface{
        padding:5px 8px;
        border-radius:8px
    }
     .mobile-header .mobile-logo-surface img{
        width:108px;
        height:auto
    }
     .main-content{
        padding:0 16px 104px;
        background:#f7f6f2
    }
     .welcome{
        margin-bottom:20px
    }
    .welcome h1{
        font-size:32px;
        letter-spacing:-1.1px
    }
    .welcome>div>p:last-child{
        font-size:14px;
        max-width:520px
    }
     .summary-grid{
        gap:10px;
        margin-bottom:12px
    }
    .summary-card{
        border-radius:18px;
        padding:17px;
        min-height:132px
    }
    .summary-card strong{
        font-size:18px
    }
    .summary-card small{
        font-size:12px
    }
     .content-grid{
        gap:12px
    }
    .panel{
        border-radius:18px;
        padding:20px
    }
    .panel h2{
        font-size:22px
    }
    .role-list{
        gap:20px
    }
     .member-row{
        border-radius:14px;
        min-height:66px
    }
    .bottom-nav{
        height:78px;
        border-top:1px solid rgba(255,255,255,.08);
        padding-left:6px;
        padding-right:6px
    }
    .bottom-nav a{
        font-size:12px
    }
    .bottom-nav a i{
        font-size:23px
    }
    .bottom-nav a span{
        font-size:11px
    }
}
 @media(max-width:600px){
     .main-content{
        padding-left:14px;
        padding-right:14px;
        padding-bottom:108px
    }
     .mobile-header{
        margin-left:-14px;
        margin-right:-14px;
        padding-left:14px;
        padding-right:14px
    }
     .welcome h1{
        font-size:30px
    }
    .welcome>div>p:last-child{
        font-size:14px;
        line-height:1.55
    }
     .summary-grid{
        grid-template-columns:1fr 1fr;
        gap:9px
    }
    .summary-card{
        min-height:126px;
        padding:16px
    }
    .summary-card strong{
        font-size:16px
    }
    .card-label{
        font-size:10px;
        letter-spacing:1.45px
    }
     .panel{
        padding:17px
    }
    .panel-head{
        gap:10px
    }
    .panel h2{
        font-size:21px
    }
    .count-pill{
        white-space:nowrap
    }
    .role-members{
        grid-template-columns:1fr
    }
    .role-title span{
        font-size:14px
    }
    .member-row strong{
        font-size:14px
    }
    .member-row small{
        font-size:12px
    }
     .profile-grid{
        grid-template-columns:1fr 1fr
    }
    .right-stack{
        gap:12px
    }
    .bottom-nav a span{
        font-size:10px
    }
}
 @media(max-width:420px){
     .summary-grid{
        grid-template-columns:1fr
    }
    .summary-card{
        min-height:112px
    }
    .summary-card strong{
        font-size:18px
    }
    .summary-card.team-highlight{
        min-height:124px
    }
     .welcome h1{
        font-size:28px
    }
    .profile-grid{
        grid-template-columns:1fr
    }
}
/* Player portal UI refinement v4 — premium navigation refresh */
 :root{
     --portal-sidebar:#080808;
     --portal-sidebar-2:#12110e;
     --portal-nav-text:#97938a;
     --portal-nav-active:#fff8e8;
     --portal-nav-active-bg:linear-gradient(135deg,rgba(201,166,81,.22),rgba(255,255,255,.06));
}
 .dashboard-shell{
     background:linear-gradient(180deg,#f7f5ef 0%,#f4f3ef 100%);
}
 .sidebar{
     width:300px;
     padding:24px 18px 20px;
     background: radial-gradient(circle at top right,rgba(201,166,81,.12),transparent 28%), linear-gradient(180deg,var(--portal-sidebar),var(--portal-sidebar-2));
     box-shadow:12px 0 40px rgba(0,0,0,.12);
}
 .main-content{
    margin-left:300px
}
 .side-logo{
     border-bottom:1px solid rgba(255,255,255,.08);
     padding:0 6px 22px;
     gap:14px;
}
 .side-logo .logo-surface{
     width:auto;
     align-self:flex-start;
     padding:0px 16px;
     border-radius:8px;
     box-shadow:0 16px 30px rgba(0,0,0,.18);
}
 .side-logo img{
    width:148px
}
 .side-logo-copy{
    display:flex;
    flex-direction:column;
    gap:4px
}
 .side-logo-copy span{
     margin:0;
     font-size:13px;
     letter-spacing:2.2px;
     color:#d0b16a;
}
 .side-logo-copy small{
     color:rgba(255,255,255,.46);
     font-size:12px;
     line-height:1.5;
}
 .sidebar nav{
    padding:22px 0 18px
}
 .sidebar nav a{
     position:relative;
     color:var(--portal-nav-text);
     border:1px solid transparent;
     background:transparent;
     padding:14px 16px;
     border-radius:16px;
     margin:8px 0;
     font-size:15px;
     font-weight:700;
}
 .sidebar nav a i{
     width:42px;
     height:42px;
     display:grid;
     place-items:center;
     font-size:20px;
     border-radius:12px;
     background:rgba(255,255,255,.03);
     color:#d2cec5;
     transition:.2s ease;
}
 .sidebar nav a:hover, .sidebar nav a.active{
     color:var(--portal-nav-active);
     background:var(--portal-nav-active-bg);
     border-color:rgba(201,166,81,.18);
     box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 14px 24px rgba(0,0,0,.16);
}
 .sidebar nav a:hover i, .sidebar nav a.active i{
     background:linear-gradient(135deg,#d8bf81,#9e7a34);
     color:#18140c;
     box-shadow:0 10px 18px rgba(201,166,81,.22);
}
 .side-bottom{
     padding-top:18px;
     border-top:1px solid rgba(255,255,255,.08);
}
 .mini-profile-card{
     padding:14px;
     border-radius:18px;
     border:1px solid rgba(255,255,255,.06);
     background:rgba(255,255,255,.03);
     backdrop-filter:blur(6px);
}
 .mini-profile{
    gap:12px
}
 .avatar{
     width:44px;
     height:44px;
     font-size:14px;
     box-shadow:0 8px 18px rgba(201,166,81,.15);
}
 .mini-profile strong{
    font-size:16px;
    color:#fff
}
 .mini-profile small{
    font-size:12px;
    color:rgba(255,255,255,.54)
}
 .logout{
     margin-top:16px;
     color:#d0cbc0;
     justify-content:flex-start;
     padding:12px 14px;
     border-radius:12px;
     background:rgba(255,255,255,.04);
     border:1px solid rgba(255,255,255,.06);
}
 .logout:hover{
    background:rgba(255,255,255,.07);
    color:#fff
}
 .mobile-header{
     display:none;
     position:sticky;
     top:0;
     z-index:18;
     height:76px;
     align-items:center;
     justify-content:space-between;
     gap:14px;
     background:rgba(7,7,7,.96);
     backdrop-filter:blur(10px);
}
 .mobile-brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0
}
 .mobile-header .mobile-logo-surface{
     padding:2px 10px;
     border-radius:14px;
     background:#fff;
     border:1px solid rgba(255,255,255,.08);
     box-shadow:0 8px 18px rgba(0,0,0,.16);
}
 .mobile-header .mobile-logo-surface img{
    width:92px;
    height:auto
}
 .mobile-brand-copy{
    min-width:0
}
 .mobile-brand-copy small{
     display:block;
     color:#bca161;
     text-transform:uppercase;
     letter-spacing:1.8px;
     font-weight:800;
     font-size:10px;
     margin-bottom:2px;
}
 .mobile-brand-copy strong{
     display:block;
     color:#fff;
     font-size:15px;
     font-weight:700;
     white-space:nowrap;
     overflow:hidden;
     text-overflow:ellipsis;
     max-width:120px;
}
 .mobile-logout-btn{
     width:42px;
     height:42px;
     display:grid;
     place-items:center;
     flex:0 0 auto;
     border-radius:14px;
     color:#fff !important;
     border:1px solid rgba(255,255,255,.08);
     background:rgba(255,255,255,.04);
     text-decoration:none;
}
 .mobile-logout-btn i{
    font-size:20px
}
 .bottom-nav{
     position:fixed;
     left:14px;
     right:14px;
     bottom:12px;
     width:auto;
     height:72px;
     border-radius:24px;
     background:rgba(11,11,11,.96);
     backdrop-filter:blur(18px);
     border:1px solid rgba(255,255,255,.08);
     box-shadow:0 22px 40px rgba(0,0,0,.22);
     padding:0 8px env(safe-area-inset-bottom);
     gap:4px;
}
 .bottom-nav a{
     position:relative;
     color:#9d988d;
     border-radius:18px;
     margin:8px 4px;
     min-height:54px;
     justify-content:center;
     gap:4px;
}
 .bottom-nav a i{
    font-size:21px
}
 .bottom-nav a span{
    font-size:11px;
    font-weight:700;
    letter-spacing:.1px
}
 .bottom-nav a.active{
     color:#fff;
     background:linear-gradient(180deg,rgba(201,166,81,.24),rgba(201,166,81,.10));
     border:1px solid rgba(201,166,81,.14);
}
 .bottom-nav a.active:before{
     content:"";
     position:absolute;
     top:7px;
     display: none;
     left:50%;
     transform:translateX(-50%);
     width:28px;
     height:3px;
     border-radius:999px;
     background:#d3b46b;
}
 @media(max-width:850px){
     .sidebar{
        display:none
    }
     .main-content{
        margin-left:0;
        padding:0 16px 112px;
        background:#f7f6f2
    }
     .mobile-header{
        display:flex;
        margin:0 -16px 22px;
        padding:0 16px
    }
     .welcome{
        padding-top:2px
    }
}
 @media(max-width:600px){
     .main-content{
        padding:0 14px 118px
    }
     .mobile-header{
        margin:0 -14px 18px;
        padding:0 14px;
        height:72px
    }
     .mobile-header .mobile-logo-surface{
        padding:1px 9px;
        border-radius:12px
    }
     .mobile-header .mobile-logo-surface img{
        width:84px
    }
     .mobile-brand-copy strong{
        max-width:104px;
        font-size:14px
    }
     .mobile-brand-copy small{
        font-size:9px;
        letter-spacing:1.5px
    }
     .mobile-logout-btn{
        width:40px;
        height:40px;
        border-radius:12px
    }
     .bottom-nav{
        left:10px;
        right:10px;
        bottom:10px;
        height:68px;
        border-radius:22px
    }
     .bottom-nav a{
        margin:7px 3px;
        min-height:50px
    }
     .bottom-nav a i{
        font-size:20px
    }
     .bottom-nav a span{
        font-size:10px
    }
}
 @media(max-width:420px){
     .mobile-header .mobile-logo-surface img{
        width:78px
    }
     .mobile-brand{
        gap:10px
    }
     .mobile-brand-copy strong{
        max-width:90px;
        font-size:13px
    }
}
 \n\n/* Mobile navigation active-state fix v5 */\n@media(max-width:850px){\n    .bottom-nav a{\n        overflow:visible;\n        transition:color .2s ease, background .2s ease, border-color .2s ease;\n    }\n    .bottom-nav a i{\n        position:relative;\n        z-index:2;\n        transition:color .2s ease, transform .2s ease;\n    }\n    .bottom-nav a span{\n        position:relative;\n        z-index:2;\n        transition:color .2s ease;\n    }\n    .bottom-nav a.active{\n        color:#fff7e5;\n        background:linear-gradient(180deg,rgba(201,166,81,.22),rgba(201,166,81,.08));\n        border-color:rgba(201,166,81,.22);\n    }\n    .bottom-nav a.active i{\n        color:#d8ba71;\n        transform:translateY(1px);\n    }\n    .bottom-nav a.active span{\n        color:#fff7e5;\n    }\n    .bottom-nav a.active:before{\n        top:-1px;\n        width:22px;\n        height:3px;\n        z-index:3;\n        box-shadow:0 2px 8px rgba(211,180,107,.28);\n    }\n}\n
/* Mobile bottom nav: remove active indicator line above the icon */
@media (max-width: 850px) {
    .bottom-nav a.active::before {
        display: none !important;
        content: none !important;
    }
}
