.auth-modal-overlay.auth-modal-overlay--branded{color-scheme:light dark;background:color-mix(in srgb,var(--auth-text-default) 36%,transparent);padding:24px}.auth-modal-overlay .auth-modal{width:min(440px,100%);max-height:calc(100dvh - 48px);padding:28px 32px 20px;background:var(--auth-bg-surface);color:var(--auth-text-default);border:1px solid var(--auth-border-strong);border-radius:20px;box-shadow:var(--shadow-xl);scrollbar-width:thin;overscroll-behavior:contain}.auth-modal-overlay .auth-modal__header{align-items:flex-start}.auth-modal__brand{display:block;margin:0 0 20px}.auth-modal__brand img{display:block;width:152px;height:auto}.auth-modal-overlay .auth-modal__header h2{margin:0;color:var(--auth-text-default);font-size:1.75rem;font-weight:700;line-height:1.2;letter-spacing:-.035em}.auth-modal-overlay .auth-modal__close{flex-shrink:0;margin:-12px -16px 0 0;color:var(--auth-text-muted);border-radius:50%!important}.auth-modal-overlay .auth-modal__close:hover{background:var(--auth-bg-inset)!important;color:var(--auth-text-default)}.auth-modal-overlay .auth-modal__description{margin:8px 0 24px;color:var(--auth-text-muted);font-size:.9375rem;line-height:1.5}.auth-modal-overlay .auth-modal__form{gap:16px}.auth-modal__credentials{display:grid;grid-template-columns:1fr 1fr;gap:4px;min-width:0;margin:0 0 4px;padding:4px;border:1px solid var(--auth-border-strong);border-radius:12px;background:var(--auth-bg-page)}.auth-modal__credentials legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.auth-modal__credentials label{position:relative;cursor:pointer}.auth-modal__credentials input{position:absolute;width:1px;height:1px;opacity:0}.auth-modal__credentials span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid transparent;border-radius:8px;color:var(--auth-text-muted);font-size:.9375rem;font-weight:600}.auth-modal__credentials input:checked+span{background:var(--auth-bg-surface);border-color:var(--auth-border-strong);color:var(--auth-brand-teal);box-shadow:var(--shadow-sm)}.auth-modal__credentials label:hover span{color:var(--auth-brand-teal)}.auth-modal__credentials input:focus-visible+span{outline:2px solid var(--auth-brand-teal);outline-offset:2px}.auth-modal__credentials:disabled{opacity:.6}.auth-modal-overlay .auth-modal__label{color:var(--auth-text-default);font-size:.875rem;font-weight:600;gap:8px}.auth-modal-overlay .auth-modal__input,.auth-modal-overlay .phone-input__wrapper{width:100%;min-width:0;min-height:48px;background:var(--auth-bg-surface);border:1px solid var(--auth-border-strong);border-radius:10px;color:var(--auth-text-default);box-shadow:none}.auth-modal-overlay .auth-modal__input{padding:12px 14px;font-size:1rem}.auth-modal-overlay .auth-modal__input:focus,.auth-modal-overlay .phone-input__wrapper:focus-within{border-color:var(--auth-brand-teal);box-shadow:0 0 0 3px color-mix(in srgb,var(--auth-brand-teal) 16%,transparent);outline:none}.auth-modal-overlay .phone-input__input,.auth-modal-overlay .phone-input__input-wrapper{min-width:0}.auth-modal-overlay .phone-input__input{width:100%;color:var(--auth-text-default);padding:12px 14px}.auth-modal-overlay .phone-input__input:focus-visible{outline:none}.auth-modal-overlay .phone-input__country-code{background:var(--auth-bg-page);border-color:var(--auth-border-strong);color:var(--auth-text-muted);cursor:default}.auth-modal-overlay input::placeholder{color:var(--auth-text-tertiary);opacity:1}.auth-modal-overlay .phone-input__wrapper:has(.phone-input__input--error){border-color:var(--auth-danger)}.auth-modal-overlay .phone-input__error-icon,.auth-modal-overlay .phone-input__error-message{color:var(--auth-danger)}.auth-modal__password-label{display:flex;align-items:center;justify-content:space-between;gap:8px}.auth-modal__password-label .auth-modal__footer-link{min-height:28px!important;margin-block:-6px;font-size:.8125rem}.auth-modal__password-field{position:relative}.auth-modal__password-field .auth-modal__input{padding-right:48px}.auth-modal__password-toggle{position:absolute;inset:2px 2px 2px auto;display:flex;align-items:center;justify-content:center;width:44px;color:var(--auth-text-muted);border-radius:8px}.auth-modal__password-toggle:hover{color:var(--auth-brand-teal);background:var(--auth-bg-page)}.auth-modal-overlay .auth-modal__submit{width:100%;min-height:48px;margin-top:4px;padding:12px 16px;background:var(--auth-brand-gold);color:var(--auth-on-brand-gold);box-shadow:none;border:1px solid transparent;border-radius:10px;line-height:1.5}.auth-modal-overlay .auth-modal__submit:not(:disabled):hover{background:color-mix(in srgb,var(--auth-brand-gold) 88%,var(--auth-on-brand-gold));box-shadow:none;transform:none}.auth-modal-overlay .auth-modal__submit:disabled{opacity:.6}.auth-modal-overlay .auth-modal__provider-button{background:var(--auth-bg-surface);border-color:var(--auth-border-strong);color:var(--auth-text-default);margin:0 0 12px}.auth-modal-overlay .auth-modal__provider-button:not(:disabled):hover{background:var(--auth-bg-page)}.auth-modal-overlay .auth-modal__divider{margin:16px 0;color:var(--auth-text-muted)}.auth-modal-overlay .auth-modal__divider:after,.auth-modal-overlay .auth-modal__divider:before{background:var(--auth-border-strong)}.auth-modal-overlay .auth-modal__footer-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px!important;color:var(--auth-brand-teal)}.auth-modal-overlay .auth-modal__footer-link:hover{color:var(--auth-brand-teal)}.auth-modal-overlay .auth-modal__form>.auth-modal__footer-link{margin-top:-12px}.auth-modal-overlay .auth-modal__footer{margin-top:20px;padding-top:12px;border-top:1px solid var(--auth-border-strong);font-size:.9375rem}.auth-modal-overlay .auth-modal__footer-text,.auth-modal-overlay .auth-modal__legal-text{color:var(--auth-text-muted)}.auth-modal-overlay .auth-modal__legal-text{margin:0;font-size:.8125rem;line-height:1.6}.auth-modal-overlay .auth-modal__legal-text a{color:var(--auth-brand-teal);text-underline-offset:3px}.auth-modal-overlay .auth-modal__alert{align-items:flex-start;line-height:1.5}.auth-modal-overlay .auth-modal__alert svg{flex-shrink:0;margin-top:2px}.auth-modal-overlay .auth-modal__alert.error{color:var(--auth-danger);background:var(--auth-danger-tint)}.auth-modal-overlay .auth-modal__alert.success{color:var(--auth-success);background:var(--auth-success-tint)}.auth-modal-overlay .auth-modal__requirement.valid,.auth-modal-overlay .auth-modal__requirement.valid .auth-modal__requirement-icon{color:var(--auth-success)}.auth-modal-overlay .auth-modal__requirement{color:var(--auth-text-muted)}.auth-modal-overlay .auth-modal__ghost-button{min-height:44px;color:var(--auth-brand-teal);border-color:var(--auth-border-strong)}.auth-modal-overlay :is(button,a):focus-visible{outline:2px solid var(--auth-brand-teal);outline-offset:3px}@media (max-width:480px){.auth-modal-overlay.auth-modal-overlay--branded{padding:12px}.auth-modal-overlay .auth-modal{max-height:calc(100dvh - 24px);padding:24px 20px 16px;border-radius:16px}.auth-modal-overlay .auth-modal__close{margin-right:-8px}}@media (prefers-reduced-motion:reduce){.auth-modal-overlay *,.auth-modal-overlay :after,.auth-modal-overlay :before{transition:none!important;animation:none!important}}.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:flex-end;justify-content:center;z-index:2001!important;padding:0;animation:fadeIn .2s ease-out;isolation:isolate;overflow:hidden}.modal-content{background:var(--bg-surface);border-radius:24px 24px 0 0;border:none;box-shadow:0 -4px 24px rgba(0,0,0,.15);max-width:100%;width:100%;max-height:95vh;height:auto;overflow-y:auto;overflow-x:visible;animation:slideUpMobile .3s cubic-bezier(.4,0,.2,1);position:relative;display:flex;flex-direction:column}@keyframes slideUpMobile{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;border-bottom:1px solid var(--gray-200);background:var(--bg-surface);border-radius:24px 24px 0 0;position:sticky;top:0;z-index:10;flex-shrink:0;gap:.75rem}.modal-header-right{display:flex;align-items:center;gap:.5rem;margin-left:auto}.modal-header .season-badge{margin-right:0}.modal-header-actions{display:flex;align-items:center;gap:12px}.modal-header h2:not(.league-members-modal-title){color:var(--gray-900);font-size:1.25rem;font-weight:600;margin:0;font-family:Urbanist,sans-serif}.modal-header .close-btn{background:none;border:none;color:var(--gray-600);padding:6px;box-shadow:none;width:32px;height:32px;border-radius:6px;transition:all .15s ease;display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal-header .close-btn:hover{background:var(--gray-100);color:var(--gray-900);transform:none;box-shadow:none}.modal-header .close-btn:active{transform:scale(.95);background:var(--gray-200)}.modal-body{padding:28px}.modal-stats{display:flex;gap:20px;margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid var(--gray-200);flex-wrap:wrap}.modal-stat{display:flex;align-items:center;gap:8px;font-size:.95em;font-weight:600}.modal-stat:first-child{color:var(--primary)}.modal-body p,.modal-stat:nth-child(2){color:var(--gray-700)}.modal-body p{font-size:1.05em;line-height:1.6;margin:0}.modal-actions{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--gray-200);justify-content:flex-end;background:var(--bg-surface);position:sticky;bottom:0;flex-shrink:0;margin-top:auto}.modal-actions .button:not(.btn-success):not(.btn-danger){background:none;color:var(--gray-700)}.modal-actions .button:not(.btn-success):not(.btn-danger):hover{background:var(--gray-50);color:var(--gray-900)}.modal-actions .button:not(.btn-success):not(.btn-danger):active{background:var(--gray-100)}.modal-actions .button.btn-danger{background:var(--danger-dark);color:white;font-weight:600;border:none;box-shadow:0 2px 4px rgba(var(--danger-rgb),.3)}.modal-actions .button.btn-danger:hover{background:var(--danger-darker);color:white;box-shadow:0 4px 8px rgba(var(--danger-rgb),.4);transform:translateY(-1px)}.modal-actions .button.btn-danger:active{background:var(--danger-darkest);transform:translateY(0)}.modal-actions .delete-match-text-btn{margin-right:auto}.confirmation-modal{max-width:550px}.modal-header-title-group{display:flex;align-items:center;gap:12px;flex:1 1;min-width:0}.confirmation-modal-warning-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--danger-lighter);color:var(--danger-dark)}.confirmation-modal-context{margin-bottom:16px;padding:12px 16px;background:var(--gray-50);border-radius:8px;border:1px solid var(--gray-200)}.confirmation-modal-context-row{display:flex;align-items:baseline;gap:8px;font-size:.95rem}.confirmation-modal-context-row+.confirmation-modal-context-row{margin-top:6px}.confirmation-modal-context-label{font-weight:600;color:var(--gray-600);min-width:60px}.confirmation-modal-context-value{color:var(--gray-900)}.modal-player-stats{margin:24px 0}.modal-stats-table{width:100%;border-collapse:collapse;font-size:.875rem;background:var(--bg-surface);border-radius:8px;overflow:hidden;border:1px solid var(--gray-300);box-shadow:0 2px 8px rgba(0,0,0,.08)}.modal-stats-table thead{background:var(--coral);border-bottom:2px solid rgba(255,120,73,.2)}.modal-stats-table th{text-align:left;padding:14px 12px;font-size:.75rem;font-weight:700;color:var(--gray-900);text-transform:uppercase;letter-spacing:.8px;position:relative}.modal-stats-table th:not(:last-child):after{content:"";position:absolute;right:0;top:20%;bottom:20%;width:1px;background:rgba(255,120,73,.2)}.modal-stats-table tbody tr{border-bottom:1px solid var(--gray-100);transition:background .15s ease}.modal-stats-table tbody tr:hover{background:var(--gray-50)}.modal-stats-table tbody tr:last-child{border-bottom:none}.modal-stats-table td{padding:14px 12px;vertical-align:middle;color:var(--gray-700);font-weight:500}.modal-stats-table-name{font-weight:600;color:var(--primary);text-align:left}.modal-stats-table td:not(:first-child){text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.modal-close-button{background:none;border:none;color:var(--gray-400);cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.modal-close-button:hover{background:var(--gray-100);color:var(--gray-600)}.modal-hint{color:var(--gray-600);font-size:.9em;margin-top:12px}body{margin:0;padding:0}#root{width:100%;min-height:100dvh}