.laga-account,.laga-account-panel{max-width:1232px;margin:16px auto;padding:20px;background:#07162c;border:1px solid #175675;border-radius:16px;color:#e8f1ff}.laga-account{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.laga-account>div{flex:1;min-width:190px}.laga-account button,.laga-account a,.laga-account-panel button,.laga-wallet-link{display:inline-block;padding:12px 18px;border:1px solid #247c9a;border-radius:8px;background:#0c2d40;color:#62e8ff;font-weight:700;font-size:13px}.laga-account-panel h2{font:700 30px 'Barlow Condensed',sans-serif}.laga-account-panel p{margin:10px 0;color:#a8bed5}.laga-account-panel form{display:grid;gap:16px;margin-top:18px}.laga-account-panel label{display:grid;gap:6px}.laga-account-panel input:not([type=checkbox]),.laga-account-panel select,#lagaSlot{width:100%;padding:12px;background:#071021;color:#e8f1ff;border:1px solid #315376;border-radius:8px;min-width:0}.laga-account-panel [type=checkbox]{width:18px;height:18px}.laga-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.laga-two fieldset{border:1px solid #28516a;padding:16px;display:grid;gap:12px;min-width:0}.laga-booking{padding:14px 0;border-bottom:1px solid #294157;overflow-wrap:anywhere}.laga-booking p{font-size:13px}.laga-wallet-link{margin:16px 0}#lagaWalletBalance{font-size:20px;color:#62e8ff;margin:14px 0}[hidden]{display:none!important}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:640px){.laga-account,.laga-account-panel{margin:10px 12px;padding:16px}.laga-two{grid-template-columns:1fr}.laga-account a,.laga-account button{font-size:11px;padding:10px}}
.laga-team-logo{width:72px;height:72px;object-fit:contain;border-radius:12px;background:#061124;border:1px solid #24536c;padding:5px}.laga-paid-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:20px}.laga-paid-team{display:flex;gap:14px;align-items:center;padding:16px;background:#0b1e35;border:1px solid #20516c;border-radius:12px;overflow-wrap:anywhere}.laga-paid-team strong{font-size:18px}.laga-paid-team p{font-size:12px;color:#61e9b4}.laga-booking .laga-team-logo{float:left;margin-right:12px;width:48px;height:48px}.laga-booking{min-height:80px}

/* Compact account strip; keep the hero close to navigation. */
.laga-account{margin:6px auto;padding:6px 20px;gap:8px;background:transparent;border:0;border-radius:0;font-size:12px;min-height:36px}.laga-account>div{min-width:0}.laga-account button{padding:7px 10px;font-size:10px;border-radius:6px}.laga-account-panel{scroll-margin-top:90px}@media(max-width:640px){.laga-account{margin:2px 12px;padding:5px 4px;font-size:11px}.laga-account button{padding:7px 9px;font-size:10px}}

.laga-slot-controls{margin:18px 0;padding:16px;border:1px solid #28516a;border-radius:10px;display:grid;gap:12px}#lagaSlotBadge[data-open="true"]{color:#86efac;border-color:#4ade8066;background:#22c55e33}#lagaSlotBadge[data-open="false"],#lagaClosedNotice{color:#fca5a5;border-color:#f8717166;background:#ef444422}#lagaClosedNotice{padding:12px;border-radius:8px}

@media(max-width:767px){body.laga-giveaway-theme .bottom-app-nav{z-index:120}body.laga-giveaway-theme .modal-panel{padding-bottom:110px}}

.laga-profile-heading{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.laga-profile-heading>div{flex:1;min-width:150px}.laga-profile-heading small{color:#55dfff;font-size:11px;letter-spacing:1px}.laga-profile-logo{width:96px;height:96px;border-radius:20px;border:1px solid #267793;background:#041020;object-fit:contain;padding:6px}.laga-profile-wallet{margin:24px 0;padding:24px;border-radius:18px;background:linear-gradient(115deg,#09314a,#0e4872);border:1px solid #23809d;display:flex;align-items:center;justify-content:space-between}.laga-profile-wallet small{color:#70eaff;font-weight:800;letter-spacing:2px}.laga-profile-wallet h3{font-size:32px;font-weight:900}.laga-profile-wallet a{display:grid;place-items:center;background:#40dafa;color:#001929;border-radius:50%;width:44px;height:44px;font-size:30px}.laga-roster{margin-top:28px}.laga-roster h3{font-size:26px;font-weight:800}.laga-roster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.laga-player-card{padding:18px;border:1px solid #244b69;border-radius:14px;background:#061124}.laga-player-card h4{font-size:12px;color:#6adaff;font-weight:800;letter-spacing:1px}.player-ign{font-size:20px;overflow-wrap:anywhere}.player-actions{display:flex;gap:8px}.player-actions button{flex:1;padding:10px;font-size:11px}.player-status{font-size:12px;min-height:20px}@media(max-width:800px){.laga-roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.laga-roster-grid{grid-template-columns:1fr}.laga-profile-logo{width:72px;height:72px}.laga-profile-heading{gap:12px}.laga-profile-wallet{padding:18px}}

/* Profile is its own view, with a compact roster summary. */
body.laga-profile-view #top,body.laga-profile-view #join,body.laga-profile-view>footer{display:none}
.laga-roster-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.laga-account-panel .laga-player-card{margin:0;padding:10px 12px;display:block;border-radius:10px}
.player-summary{display:flex;align-items:center;gap:10px;min-height:38px}.player-number{display:grid;place-items:center;width:28px;height:28px;flex:none;background:#103147;color:#70eaff;border-radius:8px;font-size:12px;font-weight:800}.player-identity{flex:1;min-width:0}.player-identity .player-ign{display:block;font-size:13px;line-height:1.35}.player-id{display:block;color:#95abc3;font-size:11px;margin-top:3px;overflow-wrap:anywhere}.laga-account-panel .player-edit{padding:7px 10px;font-size:10px;flex:none}.player-editor{margin-top:12px;display:grid;gap:10px;border-top:1px solid #203d58;padding-top:12px}.player-editor .player-status{margin:0;min-height:0}.laga-roster h3{font-size:20px}.laga-roster>p{font-size:12px}.laga-profile-view{min-height:100vh}@media(max-width:640px){.laga-roster-grid{grid-template-columns:1fr}.laga-roster{margin-top:18px}}

#lagaTeamPanel.is-editing-team>.laga-profile-heading,#lagaTeamPanel.is-editing-team>.laga-profile-wallet,#lagaTeamPanel.is-editing-team>.laga-roster{display:none}.laga-account-panel .laga-team-edit-card{margin:0;max-width:640px;padding:22px;border:1px solid #275573;border-radius:14px;background:#061124}.laga-team-edit-heading{display:flex;align-items:center;gap:18px}.laga-team-edit-heading h2{font-size:26px}.laga-team-edit-card>p{font-size:13px}#lagaTeamPanel.is-editing-team{background:transparent;border-color:transparent;padding-top:8px}@media(max-width:640px){.laga-account-panel .laga-team-edit-card{padding:16px}.laga-team-edit-heading{gap:12px}.laga-team-edit-heading h2{font-size:23px}}

.laga-team-name-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.laga-team-name-row h2{min-width:0;overflow-wrap:anywhere;line-height:1.15}.laga-account-panel .laga-edit-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:6px;border-radius:8px}.laga-profile-heading>div{min-width:0}.laga-profile-wallet{margin:14px 0;padding:12px 16px;border-radius:12px;gap:12px}.laga-profile-wallet small{font-size:10px;letter-spacing:1.3px}.laga-profile-wallet h3{font-size:24px;line-height:1.2;margin-top:3px}.laga-profile-wallet p{margin:3px 0 0;font-size:11px;line-height:1.4}.laga-profile-wallet a{width:32px;height:32px;flex:0 0 32px;font-size:23px}@media(max-width:500px){.laga-profile-wallet{padding:10px 12px;margin:12px 0}.laga-profile-wallet h3{font-size:22px}.laga-team-name-row h2{font-size:25px}}

.laga-manual-fields{display:grid;gap:12px;padding-top:12px;border-top:1px solid #244b69}#lagaManualToggle{justify-self:start;font-size:11px;padding:9px 14px}

@media(min-width:768px){.laga-giveaway-theme .nav-shell{z-index:120}.laga-giveaway-theme .modal-view{top:76px}.laga-giveaway-theme .laga-desktop-nav .is-active{color:#65e8ff;background:#0b3049;border-color:#2289a6}.laga-giveaway-theme #top{scroll-margin-top:76px}}

.laga-checkout-wallet{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px}.laga-checkout-wallet #lagaWalletBalance{margin:5px 0 0;font-size:25px;font-weight:800;line-height:1.25}.laga-wallet-add{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#40dafa;color:#001929;font:700 24px Inter,sans-serif}.laga-profile-bookings{margin:12px 0}.laga-profile-bookings h3{font-size:18px}#lagaTeamPanel.is-editing-team>.laga-profile-bookings{display:none}

.laga-wallet-guest-note{font-size:11px;line-height:1.5;color:#91a9c3;margin:0;grid-column:1/-1}.laga-booking-login{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #247c9a;border-radius:7px;background:#0c2d40;color:#62e8ff;font-size:11px;font-weight:700;line-height:1.2}#lagaBookingTeam{font-size:12px;line-height:1.5;color:#a8bed5}
#lagaWalletGuestNote:not([hidden])+#lagaRegisterForm{grid-column:1/-1}

#register .modal-panel{max-width:600px;height:auto;max-height:calc(100dvh - 116px);padding-bottom:0}#register .laga-checkout-content{padding:20px}#register .laga-checkout-header{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:12px;padding:0 48px 14px 0;border-bottom:1px solid #203d58;margin-bottom:14px}#register .laga-checkout-header>p{grid-column:1/-1;font:800 9px Inter,sans-serif;letter-spacing:1.8px;color:#52d9ff;margin:0 0 4px}#register .laga-checkout-header h2{font-size:32px;line-height:1;margin:0}#register .laga-checkout-header>span{font-size:10px;color:#a8bdd3;text-align:right}#register .laga-checkout-body{display:grid;gap:12px}#register .laga-checkout-wallet{padding:10px 12px;border-radius:10px}#register .laga-checkout-wallet>div{display:flex;align-items:center;gap:14px}#register .laga-checkout-wallet>div>p:first-child{font-size:9px;letter-spacing:1px}#register #lagaWalletBalance{font-size:20px;margin:0}#register .laga-wallet-add{width:28px;height:28px;flex-basis:28px;font-size:20px}#register #lagaRegisterForm{padding:14px;border-radius:10px}#register #lagaRegisterForm>div+div{margin-top:12px}#register #lagaRegisterForm label{font-size:10px;margin-bottom:6px}#register #lagaRegisterForm .form-input{padding:10px 12px;font-size:14px}#register .laga-checkout-note{font-size:11px;color:#95abc3;line-height:1.5}#register #registerSubmitBtn{min-height:42px;padding:10px 14px;font-size:15px}#register #registerStatus:empty{display:none}@media(max-width:767px){#register .modal-panel{width:calc(100% - 20px);margin:10px auto;border:1px solid #245879;border-radius:14px;max-height:calc(100dvh - 112px)}#register .laga-checkout-content{padding:16px}#register .laga-checkout-header h2{font-size:29px}#register .laga-checkout-header>span{grid-column:1/-1;text-align:left;margin-top:6px}#register .modal-close{width:34px;height:34px;margin-top:10px;margin-right:10px}}

#lagaConfirmPayment{margin:auto;width:min(420px,calc(100% - 32px));padding:24px;border:1px solid #267493;border-radius:16px;background:#07162c;color:#e8f1ff;box-shadow:0 24px 80px #0009}#lagaConfirmPayment::backdrop{background:#010713cc;backdrop-filter:blur(5px)}#lagaConfirmPayment h2{font:800 30px 'Barlow Condensed',sans-serif;margin:6px 0 20px}#lagaConfirmPayment>p{font-size:12px;color:#9bb3cc}#lagaConfirmPayment .laga-confirm-eyebrow{font-size:10px;color:#59e2ff;letter-spacing:1.5px}#lagaConfirmTeam{display:block;font-size:22px;margin:4px 0 18px;overflow-wrap:anywhere}.laga-confirm-total{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-block:1px solid #244b69}.laga-confirm-total strong{font-size:24px;color:#62e8ff}.laga-confirm-note{margin:14px 0;line-height:1.6}.laga-confirm-actions{display:flex;gap:10px;margin-top:20px}.laga-confirm-actions button{flex:1;padding:12px;border:1px solid #286582;border-radius:8px;font-size:12px;font-weight:800;background:#0b2c43;color:#bfefff}#lagaConfirmPay{background:#29c9ed;color:#021529}

.laga-admin-heading small{font-size:9px;letter-spacing:1.5px;color:#56dfff}.laga-admin-heading h2{font-size:27px}#lagaAdminPanel{max-width:940px;padding:18px}#lagaAdminPanel>p{font-size:12px;line-height:1.5;margin:8px 0 14px}#lagaAdminPanel .laga-slot-controls{margin:12px 0;padding:10px 12px;gap:8px;font-size:12px}#lagaAdminPanel .laga-slot-controls button{padding:8px 12px;font-size:10px}#lagaSlotAdminMessage:empty{display:none}#lagaAdminForm{gap:12px;margin-top:14px}#lagaAdminForm label{font-size:12px;gap:5px}#lagaAdminPanel input:not([type=checkbox]),#lagaAdminPanel select{padding:9px 10px;font-size:13px}#lagaAdminPanel fieldset{padding:12px;gap:10px}#lagaAdminPanel legend{font-size:13px;font-weight:700}#lagaAdminSave{padding:11px;font-size:12px}#lagaPaidPanel{max-width:940px;padding:18px}#lagaPaidPanel h2{font-size:28px}#lagaPaidPanel>p{font-size:12px}.laga-admin-paid-list{display:grid;gap:8px;margin-top:14px}.laga-admin-paid-list .laga-booking{padding:12px;border:1px solid #244b69;border-radius:10px;background:#061124;font-size:13px}.laga-admin-paid-list .laga-booking p{font-size:11px;margin:5px 0}.laga-is-admin .bottom-nav-item{font-size:9px}@media(max-width:640px){#lagaAdminPanel,#lagaPaidPanel{padding:14px}.laga-is-admin .bottom-app-nav{gap:1px;padding-inline:5px}.laga-is-admin .bottom-nav-item svg{width:20px;height:20px}}
/* Tier shares the compact navy/cyan Laga panels. */
#tier .tier-card{background:#07162b;border:1px solid #194762;border-radius:14px;padding:16px;box-shadow:none}
#tier .tier-card::before,#tier .tier-team::before,#tier .tier-team::after{display:none}
#tier .tier-team{background:#030d1c;border:1px solid #17394f;border-radius:9px;clip-path:none;box-shadow:none;padding:10px;min-height:54px;gap:9px;transform:none}
#tier .tier-team>span{width:28px;height:28px;flex-shrink:0;border-radius:7px;font-size:11px;background:#0b293d;box-shadow:none}
#tier .tier-team-name{font:600 12px Inter,sans-serif;min-width:0;overflow-wrap:anywhere}
#tier .tier-chip{font-size:10px;padding:4px 6px;box-shadow:none;background:#0b2536;border-radius:6px}
#tier .tier-label{font-size:13px;letter-spacing:2px;color:#33d7ff}
#tier .tier-team-list{gap:8px;margin-top:12px}
#tier .tier-meta{gap:4px;flex-wrap:wrap}
#tier .tier-empty{padding:12px;font-size:12px;border:0}
#tier .tier-search-wrap{margin-top:14px}
#lagaTierEdit{width:36px;height:36px;float:right;margin-top:-48px;font-size:23px}
#tier button,#tier select,#tier input{border:1px solid #24546d;background:#061427;color:#dceeff;border-radius:8px}
#tier button{padding:8px 12px;color:#48e0ff;font-size:11px;font-weight:700;cursor:pointer}
#tier button:disabled{opacity:.5;cursor:wait}
#tier input,#tier select{padding:9px;width:100%;min-width:0;font-size:13px}
#lagaTierEditor{padding:16px;background:#07162b;border:1px solid #194762;border-radius:14px}
#lagaTierEditor label{display:block;font-size:11px;color:#9bb5cd}
#lagaTierEditor h3{font-size:26px}
.tier-editor-head,.tier-editor-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.tier-editor-actions{margin-top:14px;margin-bottom:0}
.tier-edit-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr auto;gap:8px;padding:12px 0;border-bottom:1px solid #17394f;align-items:end}
#lagaTierMessage{font-size:12px;color:#7ce6ff;margin-top:12px}
#tier [hidden]{display:none!important}
@media(max-width:640px){.tier-edit-row{grid-template-columns:1fr 1fr 1fr}.tier-edit-name{grid-column:1/-1}#tier .tier-grid{gap:12px}#tier .tier-card{padding:12px}#tier .tier-team{display:flex;flex-wrap:wrap}#tier .tier-team-name{flex:1}#tier .tier-meta{margin-left:auto}#tier .tier-search-wrap input{padding:12px;font-size:14px}}
/* Admin editor only; result poster design stays unchanged. */
#lagaHistoryEdit{float:right;margin-top:-48px;width:36px;height:36px;border:1px solid #24546d;border-radius:8px;background:#061427;color:#48e0ff;font-size:23px;cursor:pointer}
#lagaHistoryEditor{background:#07162b;border:1px solid #194762;border-radius:14px;padding:16px;margin-bottom:20px}
#lagaHistoryEditor label{display:block;font-size:12px;color:#a7bdd4;margin:10px 0}
#lagaHistoryEditor input,#lagaHistoryEditor select{display:block;width:100%;min-width:0;padding:10px;background:#030d1c;border:1px solid #24546d;border-radius:8px;color:#e5f3ff;font-size:13px;margin-top:4px}
#lagaHistoryEditor button{padding:9px 12px;background:#0b2c40;color:#48e0ff;border:1px solid #24546d;border-radius:8px;font-size:11px;font-weight:700;cursor:pointer}
#lagaHistoryEditor button:disabled{opacity:.5;cursor:wait}
.history-editor-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.history-editor-head h3{font-size:26px}
.history-editor-teams{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}
.history-editor-teams fieldset{padding:12px;border:1px solid #194762;border-radius:10px;min-width:0}
.history-editor-teams legend{font-size:13px;color:#48e0ff}
.history-editor-logo{width:48px;height:48px;object-fit:contain}
#lagaHistoryMessage{font-size:12px;color:#7ce6ff;margin-top:10px}
#history [hidden]{display:none!important}
@media(max-width:560px){.history-editor-teams{grid-template-columns:1fr}}
/* Account access follows the GNEX Chat welcome / form layout. */
.laga-account-panel.laga-auth{max-width:940px;display:grid;grid-template-columns:.8fr 1.2fr;padding:0;overflow:hidden;margin-bottom:12px}
.laga-auth-welcome{padding:40px 28px;background:linear-gradient(145deg,#06485b,#082339);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px}
.laga-auth-welcome img{width:150px;max-width:100%;height:auto}.laga-auth-welcome small{font-size:10px;letter-spacing:2px;color:#73e8ef}.laga-auth-welcome h2{font-size:38px}.laga-auth-welcome p{font-size:14px;line-height:1.7}
.laga-auth-content{padding:28px;min-width:0}.laga-auth-content>h2{margin-bottom:18px}.laga-google-recommend{padding:16px;background:#073b43;border:1px solid #2a9e9b;border-radius:12px}.laga-google-recommend>strong{font-size:11px;letter-spacing:1px;color:#84f5d9}.laga-google-recommend p{font-size:13px;line-height:1.6;color:#d4e9ed}.laga-google-recommend #lagaGoogle{min-height:44px;font-size:12px;line-height:1.6;max-width:100%}
.laga-auth-content .laga-auth-divider{font-size:10px;letter-spacing:1.5px;text-align:center;margin:20px 0;color:#9cb5c8}.laga-auth-tabs{display:flex;gap:8px}.laga-auth-tabs button{flex:1}.laga-auth-tabs button[aria-pressed=true]{background:#54e4d0;color:#032b31;border-color:#54e4d0}.laga-auth-content label{font-size:13px}.laga-auth-content input,.laga-auth-content select{font-size:16px}.laga-auth-content form>button[type=submit]{background:#54e4d0;color:#032b31;border-color:#54e4d0}.laga-auth-content a{font-size:12px;text-decoration:underline;color:#8ceee1}.laga-auth-content form>p,.laga-auth-content form>span{font-size:12px;margin:0;line-height:1.6}.laga-auth-content h3{font-size:24px;font-weight:700}.laga-auth-content .topup-register-game-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.laga-auth-content .topup-password-field{display:flex;gap:8px}.laga-auth-content .topup-password-field input{flex:1}.laga-auth-content .topup-register-security{display:grid;gap:6px;font-size:11px;line-height:1.6;color:#a8bed5}.laga-auth-content .topup-register-security strong{color:#d4e9ed}.laga-auth-content #lagaLoginStatus{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.laga-auth-content #lagaLoginStatus:empty{display:none}
@media(max-width:640px){.laga-account-panel.laga-auth{grid-template-columns:1fr}.laga-auth-welcome{padding:22px;gap:8px}.laga-auth-welcome img{width:110px}.laga-auth-welcome h2{font-size:28px}.laga-auth-welcome p{margin:0;font-size:12px}.laga-auth-content{padding:20px}.laga-auth-content>h2{font-size:26px}.laga-auth-content .topup-register-game-grid{grid-template-columns:1fr}}

.laga-admin-cash{margin-bottom:22px;padding:20px;border:1px solid #23809d;border-radius:16px;background:linear-gradient(115deg,#09314a,#0e4872)}.laga-admin-cash>small{color:#70eaff;font-size:11px;font-weight:800;letter-spacing:1px}.laga-cash-total{display:flex;align-items:center;justify-content:space-between;gap:12px}.laga-cash-total h2{font-size:34px;margin:8px 0;overflow-wrap:anywhere}.laga-cash-total>div{display:flex;gap:8px}.laga-account-panel .laga-cash-total button{width:44px;height:44px;padding:0;font-size:26px;border-radius:50%}.laga-admin-cash p{font-size:12px}.laga-admin-cash summary{cursor:pointer;font-size:12px;color:#70eaff}.laga-admin-cash article{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid #23809d}.laga-admin-cash article span{font-size:12px;overflow-wrap:anywhere}.laga-admin-cash article small{font-size:10px;color:#a7c5d8}.laga-cash-dialog{width:min(420px,calc(100% - 32px));padding:22px;border:1px solid #23809d;border-radius:16px;background:#061124;color:#fff}.laga-cash-dialog::backdrop{background:#000a}.laga-cash-dialog form{display:grid;gap:14px}.laga-cash-dialog h3{font-size:23px}.laga-cash-dialog form>div{display:flex;gap:10px}.laga-cash-dialog #lagaCashError{font-size:12px;color:#ffb6b6}

/* Compact login and registration, with touch-friendly fields. */
.laga-account-panel.laga-auth{max-width:780px;border-radius:12px;grid-template-columns:.7fr 1.3fr}
.laga-auth-welcome{padding:26px 22px;gap:10px}
.laga-auth-welcome img{width:112px}
.laga-auth-welcome small{font-size:9px;letter-spacing:1.4px}
.laga-auth-welcome h2{font-size:30px;line-height:1.1}
.laga-auth-welcome p{font-size:12px;line-height:1.5;margin:0}
.laga-auth-content{padding:20px}
.laga-auth-content>h2{font-size:25px;margin:0 0 12px}
.laga-google-recommend{padding:12px;border-radius:9px}
.laga-google-recommend>strong{font-size:10px;letter-spacing:.7px}
.laga-google-recommend p{font-size:11px;line-height:1.5;margin:7px 0}
.laga-auth-content .laga-auth-divider{font-size:9px;margin:12px 0;letter-spacing:1px}
.laga-auth-tabs{gap:6px}
.laga-auth-content button{padding:9px 12px;min-height:44px;font-size:11px;border-radius:8px}
.laga-auth-content form{gap:10px;margin-top:12px}
.laga-auth-content label{gap:4px;font-size:11px}
.laga-auth-content label small{font-size:11px}
.laga-account-panel .laga-auth-content input,.laga-account-panel .laga-auth-content select{height:44px;padding:9px 11px;font-size:16px;border-radius:8px}
.laga-auth-content form>p,.laga-auth-content form>span{font-size:11px;line-height:1.4}
.laga-auth-content h3{font-size:20px;line-height:1.2;margin:0}
.laga-auth-content a{font-size:11px}
.laga-auth-content .topup-register-game-grid{gap:10px}
.laga-auth-content .topup-password-field{gap:6px;min-width:0}
.laga-auth-content .topup-password-field input{min-width:0}
.laga-auth-content .topup-register-security{gap:4px;font-size:10px;line-height:1.45}
.laga-auth-content #lagaLoginStatus{font-size:12px;line-height:1.45;margin:10px 0 0}
@media(max-width:640px){
 .laga-account-panel.laga-auth{grid-template-columns:1fr;margin-top:8px}
 .laga-auth-welcome{display:grid;grid-template-columns:62px minmax(0,1fr);gap:4px 12px;padding:14px 16px;align-items:center}
 .laga-auth-welcome img{width:62px;grid-column:1;grid-row:1 / 4}
 .laga-auth-welcome small,.laga-auth-welcome h2,.laga-auth-welcome p{grid-column:2}
 .laga-auth-welcome h2{font-size:23px;margin:0}
 .laga-auth-welcome small{font-size:8px}
 .laga-auth-welcome p{font-size:11px;line-height:1.4}
 .laga-auth-content{padding:16px}
 .laga-auth-content>h2{font-size:23px;margin-bottom:10px}
}

/* Reserve bottom navigation space once on the authentication view. */
body[data-laga-page].laga-auth-view{box-sizing:border-box;min-height:100dvh}
body.laga-auth-view #lagaLoginPanel{margin-bottom:12px;scroll-margin-top:calc(var(--laga-header-height,76px) + 8px)}
@media(max-width:767px){body[data-laga-page].laga-auth-view{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}}

.laga-profile-wallet{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:12px}.laga-profile-wallet>.laga-profile-bookings{grid-column:1/-1;margin:0;padding:12px 0 0;border-top:1px solid #5dcbe433}.laga-profile-wallet .laga-profile-bookings>h3{font-size:12px;letter-spacing:.04em;margin:0 0 9px;color:#a9e5f3}.laga-profile-wallet .laga-booking{min-height:48px;margin:6px 0 0;padding:10px;border:1px solid #346b8433;border-radius:9px;background:#051b2e66}.laga-profile-wallet .laga-booking .laga-team-logo{width:34px;height:34px;border-radius:50%;padding:3px;margin-right:9px}.laga-profile-wallet .laga-booking strong{font-size:11px;line-height:1.5;color:#e2f6ff}.laga-profile-wallet .laga-booking p{font-size:10px;color:#a0d4e4}.laga-profile-wallet .laga-profile-bookings>p{font-size:11px;color:#9dc6d8;margin:0}

.laga-player-lineup{display:grid;grid-template-columns:1fr 1fr 1.25fr 1fr 1fr;align-items:end;gap:8px;margin:20px 0 12px}.laga-player-mini{min-width:0;text-align:center}.laga-player-photo{aspect-ratio:4/5;display:grid;place-items:center;overflow:hidden;background:linear-gradient(160deg,#12354b,#061527);border:1px solid #26536d;border-radius:10px}.laga-player-photo img{width:100%;height:100%;object-fit:cover;object-position:center}.laga-player-photo svg{width:30px;height:30px;color:#527e96}.laga-player-mini>strong{display:block;margin-top:6px;font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d9edf8}.laga-player-mini.is-leader .laga-player-photo{border-color:#43cbe4;box-shadow:0 0 16px #22d3ee20}.laga-player-mini>small{display:block;margin-top:3px;font-size:7px;letter-spacing:.1em;color:#67e8f9}.laga-player-mini:not(.is-leader){padding-bottom:13px}#lagaTeamPanel.is-editing-team>.laga-player-lineup{display:none}@media(max-width:400px){.laga-player-lineup{gap:6px}.laga-player-mini>strong{font-size:9px}}

.laga-player-mini.is-leader .laga-player-photo:has(img){position:relative;overflow:visible;margin-top:14px;isolation:isolate;background:none;border:0;box-shadow:none}.laga-player-mini.is-leader .laga-player-photo:has(img)::before{content:"";position:absolute;inset:0;z-index:-1;border:1px solid #43cbe4;border-radius:10px;background:linear-gradient(160deg,#12354b,#061527);box-shadow:0 0 16px #22d3ee20}.laga-player-mini.is-leader .laga-player-photo img{position:absolute;left:0;bottom:0;width:100%;height:calc(100% + 18px);max-height:none;object-fit:cover;object-position:center top;border-radius:0 0 10px 10px}

.laga-player-mini.is-leader .laga-player-photo img{top:-18px;bottom:auto;left:-12%;width:124%;height:calc(100% + 18px);object-fit:cover;object-position:center top;clip-path:inset(0 0 0 0 round 0 0 10px 10px)}

.laga-player-mini.is-leader .laga-player-photo:has(img){clip-path:inset(-20px 0 0 0 round 0 0 10px 10px)}.laga-player-mini.is-leader .laga-player-photo img{width:340%;max-width:none;height:auto;max-height:none;left:50%;top:calc(-20px - 26%);bottom:auto;transform:translateX(-47%);object-fit:initial;object-position:initial;clip-path:none;border-radius:0}

.laga-player-mini.is-leader .laga-player-photo img{top:calc(-10px - 26%)}

.laga-player-mini:not(.is-leader) .laga-player-photo:has(img){position:relative;overflow:visible;isolation:isolate;background:none;border:0;clip-path:inset(-10px 0 0 0 round 0 0 10px 10px)}.laga-player-mini:not(.is-leader) .laga-player-photo:has(img)::before{content:"";position:absolute;inset:0;z-index:-1;border:1px solid #26536d;border-radius:10px;background:linear-gradient(160deg,#12354b,#061527)}.laga-player-mini:not(.is-leader) .laga-player-photo img{position:absolute;top:-10px;left:50%;width:145%;max-width:none;height:auto;transform:translateX(-50%);object-fit:initial}


#lagaPosterDialog{width:min(94vw,900px);max-height:90dvh;overflow:auto;background:#061527;color:#e6f7ff;border:1px solid #26536d;border-radius:16px;padding:16px}#lagaPosterDialog::backdrop{background:#020711d9}.laga-poster-actions{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.laga-poster-actions button{background:#12354b;border:1px solid #26536d;border-radius:8px;padding:8px 12px}#lagaPosterCanvas{width:100%;height:auto;border-radius:8px}#lagaPosterCanvas[hidden]{display:none}#lagaPosterDownload{width:100%;margin-top:12px;padding:12px;border:0;border-radius:10px;background:linear-gradient(100deg,#22d3ee,#1686eb);color:#041120;font-weight:800}#lagaPosterDownload:disabled{opacity:.5}#lagaPreviewTeam{flex-shrink:0}

.laga-team-name-row{justify-content:flex-end;gap:6px}.laga-team-name-row h2{margin-right:auto}#lagaTeamPanel>.laga-roster{display:none}#lagaTeamPanel.is-editing-team>.laga-roster{display:block;margin-top:0;padding:16px;border:1px solid #275573;border-top:0;border-radius:0 0 14px 14px;background:#061124;max-width:640px}#lagaTeamPanel.is-editing-team .laga-team-edit-card{border-radius:14px 14px 0 0}.player-photo-upload{font-size:12px}.player-photo-upload input{max-width:100%;font-size:12px}.laga-player-mini.is-leader.has-custom-photo .laga-player-photo img:not([src*="gnex-portfolio-person"]){width:145%;top:-18px;left:50%;transform:translateX(-50%)}

.laga-logo-edit{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}.laga-logo-edit small{color:#8faec2;font-size:11px}.laga-logo-edit input[hidden]{display:none}.laga-logo-edit button{padding:9px 14px;border-radius:8px}

#lagaCropDialog{width:min(92vw,440px);max-height:92dvh;overflow:auto;background:#061527;color:#e6f7ff;border:1px solid #26536d;border-radius:16px;padding:16px}#lagaCropDialog::backdrop{background:#020711d9}#lagaCropCanvas{display:block;width:100%;max-height:52dvh;object-fit:contain;aspect-ratio:4/5;touch-action:none;background:linear-gradient(160deg,#12354b,#061527);border:1px solid #26536d;border-radius:10px;cursor:grab}#lagaCropDialog label{display:block;margin-top:12px;font-size:12px}#lagaCropZoom{width:100%;accent-color:#22d3ee}#lagaCropDialog small{font-size:11px;color:#8faec2}#lagaCropSave{width:100%;margin-top:12px;padding:12px;border:0;border-radius:10px;background:#22d3ee;color:#041120;font-weight:800}.laga-player-mini.has-custom-photo .laga-player-photo img[src*="laga-uploads/"]{width:100%;height:calc(100% + 10px);top:-10px;left:0;transform:none;object-fit:cover}.laga-player-mini.is-leader.has-custom-photo .laga-player-photo img[src*="laga-uploads/"]{width:100%;height:calc(100% + 18px);top:-18px;left:0;transform:none;object-fit:cover}

#lagaCropCanvas{width:min(100%,41.6dvh);height:auto;max-height:none;margin:0 auto}

.player-photo-note{display:block;margin-top:6px;color:#8faec2;font-size:11px;line-height:1.5}

.laga-edit-top-nav{display:none}body.laga-team-edit-open .laga-nav-shell{visibility:hidden}body.laga-team-edit-open .laga-edit-top-nav{display:flex;position:fixed;top:0;left:0;right:0;z-index:70;height:var(--laga-header-height,80px);align-items:center;gap:14px;padding:12px max(18px,calc((100vw - 1200px)/2));background:#040c19;border-bottom:1px solid #26536d}.laga-edit-top-nav h2{font-size:24px;font-weight:800;margin:0}.laga-edit-top-nav button{width:40px;height:40px;padding:0;font-size:30px;border:1px solid #26536d;border-radius:10px;background:#071829;color:#67e8f9}#lagaTeamForm input[name=team_name]{padding:9px 12px;font-size:15px;min-height:40px}#lagaTeamForm>label{font-size:12px}#lagaTeamForm .laga-logo-edit{gap:12px;margin:14px 0}#lagaTeamForm .laga-logo-edit img{width:64px;height:64px;border-radius:12px;object-fit:contain}#lagaChangeLogo{display:grid;place-items:center;width:34px;height:34px;padding:7px;border-radius:9px}#lagaTeamSave{padding:10px;font-size:13px}#lagaTeamStatus:empty{display:none}

.player-photo-edit{display:flex;align-items:center;gap:12px;margin-top:14px}.player-photo-current{width:72px;height:90px;border:1px solid #26536d;border-radius:10px;overflow:hidden;background:#0a2237;display:grid;place-items:center}.player-photo-current img{width:100%;height:100%;object-fit:cover}.player-photo-current span{font-size:32px;color:#527e96}.player-photo-current [hidden],.player-photo-edit input[hidden]{display:none}.player-photo-button{display:grid;place-items:center;width:34px;height:34px;padding:7px!important;border-radius:9px}.laga-crop-stage{position:relative;width:min(100%,34.6dvh);margin:auto}.laga-crop-stage::after{content:"";position:absolute;inset:var(--crop-headroom,0%) 0 0;border:2px solid #43cbe4;border-radius:10px;pointer-events:none}.laga-crop-stage #lagaCropCanvas{width:100%;border:0;border-radius:0}.laga-player-mini.has-headroom .laga-player-photo:has(img[src*="laga-uploads/"]){clip-path:inset(-20% 0 0 0 round 0 0 10px 10px)}.laga-player-mini.has-headroom .laga-player-photo img[src*="laga-uploads/"],.laga-player-mini.is-leader.has-headroom .laga-player-photo img[src*="laga-uploads/"]{width:100%;height:120%;top:-20%;left:0;transform:none;object-fit:fill}

#lagaCropChoose{display:block;margin-top:12px;padding:8px 12px;border:1px solid #26536d;border-radius:8px;color:#67e8f9;background:#0a2237;font-size:12px}

.laga-profile-logo{border-radius:50%;overflow:hidden}

#lagaCropDialog.is-player-crop .laga-crop-stage::before{content:"";position:absolute;top:2%;left:0;right:0;border-top:1px dashed #fff;z-index:2;pointer-events:none}

.laga-player-photo{background:transparent;border:0;border-radius:0;position:relative;isolation:isolate}.laga-player-photo::before,.laga-player-mini.is-leader .laga-player-photo:has(img)::before,.laga-player-mini:not(.is-leader) .laga-player-photo:has(img)::before{content:"";position:absolute;inset:0;z-index:-1;border:0;border-radius:0;box-shadow:none;background:transparent url('images/laga-player-card-frame.png') center 53% / 140% 115% no-repeat}.laga-player-mini.is-leader .laga-player-photo{box-shadow:none;border:0}.laga-player-photo svg{position:relative}

.laga-player-mini .laga-player-photo:has(img),.laga-player-mini.is-leader .laga-player-photo:has(img),.laga-player-mini.has-headroom .laga-player-photo:has(img[src*="laga-uploads/"]){clip-path:polygon(0 -30%,100% -30%,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px))}.laga-player-photo img{clip-path:polygon(1% 0,99% 0,99% calc(100% - 6px),calc(99% - 6px) 99%,calc(1% + 6px) 99%,1% calc(100% - 6px))}

.laga-player-mini.is-leader.has-custom-photo .laga-player-photo img[src*="laga-player-1-20261002"]{width:235%;height:auto;top:-14px;left:50%;transform:translateX(-50%);object-fit:initial}

.laga-player-mini .laga-player-photo:has(img),.laga-player-mini.is-leader .laga-player-photo:has(img),.laga-player-mini.has-headroom .laga-player-photo:has(img[src*="laga-uploads/"]){clip-path:polygon(1.5% -30%,98.5% -30%,98.5% 92%,91% 97%,9% 97%,1.5% 92%)}

.laga-player-mini .laga-player-photo:has(img){clip-path:none!important}.laga-player-cut{position:absolute;inset:0;clip-path:polygon(1.5% -30%,98.5% -30%,98.5% 92%,91% 97%,9% 97%,1.5% 92%)}
