.page{min-height:100vh;width:100%;display:grid;place-items:center;padding:2rem 1rem}.page-public{background:radial-gradient(circle at 20% 15%,rgba(255,188,117,.3),transparent 45%),radial-gradient(circle at 80% 20%,rgba(86,179,255,.25),transparent 40%),linear-gradient(140deg,#f7fbff,#eef3ff)}.page-private{background:radial-gradient(circle at 75% 25%,rgba(95,223,169,.28),transparent 42%),radial-gradient(circle at 15% 15%,rgba(104,160,255,.2),transparent 40%),linear-gradient(140deg,#f4fff8,#eef7ff)}.card{width:min(680px,100%);background:#ffffffe6;border:1px solid rgba(49,61,89,.12);border-radius:20px;box-shadow:0 20px 45px #1f2a4429;padding:clamp(1.5rem,2.5vw,2.5rem)}.hero h1{margin:.3rem 0 .7rem;font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.1}.eyebrow{margin:0;text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;color:#4866a2}.actions{margin-top:1.3rem;display:flex;gap:.75rem;flex-wrap:wrap}.auth-card h1{margin:0}.form{margin-top:1rem;display:grid;gap:.75rem}.form label{display:grid;gap:.35rem;font-weight:600;font-size:.92rem}.form input{border:1px solid #c8d2e9;border-radius:10px;padding:.65rem .75rem;font:inherit}.form input:focus{outline:2px solid #7eb1ff;outline-offset:1px}.btn{border:0;border-radius:10px;padding:.7rem 1rem;font:inherit;font-weight:700;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.btn-primary{background:#1f6fff;color:#fff}.btn-secondary{background:#fff;color:#223052;border:1px solid #ccd8f2}.btn-danger{background:#b12e34;color:#fff}.btn:disabled{opacity:.65;cursor:not-allowed}.muted{color:#5a6788;margin:0}.small{margin-top:1rem;font-size:.92rem}.error{margin:0;color:#b12e34;font-weight:600}.success{margin:0;color:#1b7a44;font-weight:600}.loading{text-align:center;font-weight:600}.app-shell{min-height:100vh;width:100%;padding:1rem}.app-header{max-width:1400px;margin:0 auto 1rem;background:#ffffffeb;border:1px solid rgba(49,61,89,.12);border-radius:14px;padding:.9rem 1rem;display:flex;justify-content:space-between;gap:1rem;align-items:center}.app-title{margin:.15rem 0 0;font-size:1.15rem}.header-right{display:flex;gap:.7rem;align-items:center;position:relative}.header-avatar-trigger{border:0;padding:0;background:transparent;cursor:pointer;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}.header-avatar{width:36px;height:36px;object-fit:cover;border-radius:50%;border:1px solid rgba(49,61,89,.2);background:#f1f5ff}.header-avatar-fallback{width:36px;height:36px;border-radius:50%;background:#1f6fff;color:#fff;font-weight:700;display:grid;place-items:center}.header-dropdown{position:absolute;top:calc(100% + .5rem);right:0;min-width:240px;background:#fffffffa;border:1px solid rgba(49,61,89,.12);border-radius:14px;box-shadow:0 20px 45px #1f2a4429;z-index:100}.header-dropdown-section{padding:.8rem;display:grid;gap:.55rem}.header-dropdown-section:first-of-type{justify-items:center;text-align:center}.header-dropdown-avatar,.header-dropdown-avatar-fallback{width:52px;height:52px;border-radius:50%}.header-dropdown-avatar{object-fit:cover;border:1px solid rgba(49,61,89,.2);background:#f1f5ff}.header-dropdown-avatar-fallback{background:#1f6fff;color:#fff;font-weight:700;display:grid;place-items:center}.header-dropdown-name{margin:0;font-weight:700;color:#1e2a47}.header-dropdown-email{margin:0;color:#5a6788;font-size:.85rem}.header-dropdown-divider{border:none;border-top:1px solid rgba(49,61,89,.12);margin:0}.app-body{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:220px minmax(0,1fr);gap:1rem}.app-sidebar{background:#ffffffeb;border:1px solid rgba(49,61,89,.12);border-radius:14px;padding:.6rem;display:grid;gap:.35rem;align-content:start}.side-link{border-radius:10px;padding:.55rem .7rem;color:#30456e;text-decoration:none;font-weight:600}.side-link.active{background:#1f6fff;color:#fff}.app-content{width:100%;min-width:0}.page-private .app-content.card{width:100%;max-width:none}.settings-form{margin-top:1.25rem}.profile-pic-preview{width:92px;height:92px;border-radius:50%;object-fit:cover;border:1px solid rgba(49,61,89,.2);background:#f1f5ff}.danger-zone{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid rgba(49,61,89,.16)}.danger-zone h2{margin:0 0 .5rem;font-size:1.1rem}.players-table-wrap{margin-top:1rem;overflow-x:scroll;overflow-y:auto;max-height:60vh;width:100%;scrollbar-gutter:stable both-edges;-webkit-overflow-scrolling:touch;border:1px solid rgba(49,61,89,.16);border-radius:12px;background:#ffffffe0}.players-table-inner{min-width:1500px;width:max-content}.players-table{width:100%;font-size:.82rem;border-collapse:collapse}.players-table th,.players-table td{text-align:left;padding:.5rem .55rem;border-bottom:1px solid rgba(49,61,89,.12);color:#2a3759;vertical-align:top;white-space:nowrap;min-width:80px}.players-table th{position:sticky;top:0;z-index:1;background:#edf4ff;color:#263a63;font-size:.82rem;text-transform:uppercase;letter-spacing:.03em}.table-sort-button{border:0;background:transparent;font:inherit;font-weight:700;color:inherit;cursor:pointer;padding:0;text-transform:inherit;letter-spacing:inherit;white-space:nowrap}.players-table tr:last-child td{border-bottom:none}.player-table-image{width:52px;height:52px;object-fit:cover;border-radius:8px;border:1px solid rgba(49,61,89,.2);background:#f1f5ff}.players-table th:nth-child(1),.players-table td:nth-child(1){min-width:150px}.players-table th:nth-child(3),.players-table td:nth-child(3){min-width:100px}@media(max-width:900px){.app-body{grid-template-columns:1fr}.app-sidebar{grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto}.header-right{flex-wrap:wrap;justify-content:flex-end}.players-table{min-width:760px}}.app-body-with-panel{grid-template-columns:220px minmax(0,1fr) 370px}.player-stats-panel{background:#ffffffeb;border:1px solid rgba(49,61,89,.12);border-radius:14px;padding:1.25rem;overflow-y:auto;max-height:calc(100vh - 6rem);display:flex;flex-direction:column;gap:1rem;animation:panelSlideIn .25s ease-out}@keyframes panelSlideIn{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}.player-stats-top{display:flex;justify-content:space-between;align-items:center}.player-stats-close{border:0;background:transparent;font-size:1.5rem;line-height:1;cursor:pointer;color:#5a6788;padding:.15rem .4rem;border-radius:8px;transition:background .15s}.player-stats-close:hover{background:#313d5914;color:#2a3759}.player-stats-photo-wrap{display:flex;justify-content:center}.player-stats-photo{width:180px;height:180px;object-fit:cover;border-radius:14px;border:2px solid rgba(49,61,89,.15);background:#f1f5ff}.player-stats-photo-placeholder{width:180px;height:180px;border-radius:14px;border:2px dashed rgba(49,61,89,.18);background:#f1f5ff;display:grid;place-items:center;color:#5a6788;font-size:.85rem;font-weight:600}.player-stats-name{margin:0;text-align:center;font-size:1.35rem;color:#1e2a47}.player-stats-meta{display:flex;justify-content:center;gap:.4rem;flex-wrap:wrap}.player-stats-badge{display:inline-block;background:#edf4ff;color:#263a63;font-size:.75rem;font-weight:700;padding:.25rem .6rem;border-radius:8px;text-transform:uppercase;letter-spacing:.03em}.player-stats-badge.badge-outline{background:transparent;border:1px solid #c8d2e9;color:#5a6788}.player-stats-kpi-row{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.player-stats-kpi{background:#f6f9ff;border:1px solid rgba(49,61,89,.1);border-radius:10px;padding:.6rem .7rem;text-align:center}.player-stats-kpi-label{display:block;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#4866a2;margin-bottom:.2rem}.player-stats-kpi-value{display:block;font-size:1.2rem;font-weight:700;color:#1f6fff}.player-stats-section{background:#f8faff;border:1px solid rgba(49,61,89,.1);border-radius:10px;padding:.75rem .85rem}.player-stats-section h3{margin:0 0 .45rem;font-size:.88rem;color:#2a3759}.player-stats-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.45rem}.player-stats-section-head h3{margin:0}.player-stats-edit-btn{font-size:.72rem;padding:.3rem .6rem;border-radius:8px}.player-stats-list{margin:0;padding-left:1.2rem;font-size:.82rem;color:#2a3759;display:grid;gap:.25rem}.player-stats-notes-display p{margin:0;font-size:.85rem;color:#2a3759;white-space:pre-wrap;line-height:1.5}.player-stats-notes-editor{display:grid;gap:.5rem}.player-stats-textarea{width:100%;border:1px solid #c8d2e9;border-radius:8px;padding:.55rem .65rem;font:inherit;font-size:.85rem;resize:vertical;min-height:70px;color:#2a3759}.player-stats-textarea:focus{outline:2px solid #7eb1ff;outline-offset:1px}.player-stats-notes-actions{display:flex;gap:.4rem}.player-stats-table-wrap{margin-top:.3rem;overflow-y:auto;max-height:260px;border-radius:8px}.player-stats-table{width:100%;font-size:.8rem;border-collapse:collapse}.player-stats-table th,.player-stats-table td{text-align:left;padding:.35rem .5rem;border-bottom:1px solid rgba(49,61,89,.08);color:#2a3759}.player-stats-table th{position:sticky;top:0;background:#edf4ff;color:#263a63;font-size:.72rem;text-transform:uppercase;letter-spacing:.03em;font-weight:700}.player-stats-table td:last-child{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}.player-stats-table tr:last-child td{border-bottom:none}.players-table tbody tr{cursor:pointer;transition:background .12s}.players-table tbody tr:hover{background:#1f6fff0d}.players-table tbody tr.selected-row{background:#1f6fff1a}.players-table tbody tr.selected-row td{color:#1a3570}@media(max-width:1100px){.app-body-with-panel{grid-template-columns:220px minmax(0,1fr);position:relative}.player-stats-panel{position:fixed;top:0;right:0;width:370px;height:100vh;max-height:100vh;z-index:20;border-radius:0;box-shadow:-8px 0 30px #1f2a442e}}@media(max-width:900px){.app-body-with-panel{grid-template-columns:1fr}.player-stats-panel{width:100%}}.transactions-table-wrap{margin-top:1rem;overflow-x:auto;overflow-y:auto;max-height:60vh;width:100%;border:1px solid rgba(49,61,89,.16);border-radius:12px;background:#ffffffe0}.transactions-table{width:100%;font-size:.82rem;border-collapse:collapse}.transactions-table th,.transactions-table td{text-align:left;padding:.5rem .75rem;border-bottom:1px solid rgba(49,61,89,.12);color:#2a3759;vertical-align:top;min-width:100px}.transactions-table th{position:sticky;top:0;z-index:1;background:#edf4ff;color:#263a63;font-size:.82rem;text-transform:uppercase;letter-spacing:.03em;font-weight:700}.transactions-table tr:last-child td{border-bottom:none}.transactions-table td:last-child{white-space:normal;min-width:250px}.modal-overlay{position:fixed;inset:0;z-index:1000;background:#1e2a4773;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:1rem;animation:overlay-in .2s ease-out}@keyframes overlay-in{0%{opacity:0}to{opacity:1}}.modal-panel{width:min(720px,100%);max-height:90vh;overflow-y:auto;animation:panel-in .25s ease-out}@keyframes panel-in{0%{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem}.modal-header h2{margin:0;font-size:1.35rem;color:#1e2a47}.modal-close{background:none;border:none;font-size:1.6rem;line-height:1;color:#5a6788;cursor:pointer;padding:.2rem .4rem;border-radius:8px;transition:background .15s,color .15s}.modal-close:hover{background:#313d5914;color:#1e2a47}.modal-body{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}.modal-fields{display:grid;gap:.85rem}.modal-label{display:grid;gap:.3rem;font-weight:600;font-size:.92rem;color:#1e2a47}.modal-input,.modal-select{border:1px solid #c8d2e9;border-radius:10px;padding:.6rem .75rem;font:inherit;font-weight:400;color:#1e2a47;background:#fff;transition:border-color .15s,outline-color .15s}.modal-input:focus,.modal-select:focus{outline:2px solid #7eb1ff;outline-offset:1px;border-color:#7eb1ff}.modal-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235a6788' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;padding-right:2rem;cursor:pointer}.modal-budget-input{position:relative;display:flex;align-items:center}.budget-prefix{position:absolute;left:.75rem;font-weight:600;color:#5a6788;pointer-events:none}.budget-field{padding-left:1.5rem;width:100%}.budget-field::-webkit-inner-spin-button,.budget-field::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.budget-field{-moz-appearance:textfield}.modal-positions{background:#f4f8ff;border:1px solid rgba(49,61,89,.1);border-radius:14px;padding:1rem 1.25rem}.modal-positions h3{margin:0 0 .75rem;font-size:1rem;color:#263a63;text-align:center}.positions-grid{display:grid;grid-template-columns:1fr 1fr;gap:.4rem 1.5rem}.position-item{display:flex;justify-content:space-between;padding:.3rem 0;font-size:.88rem;color:#2a3759}.position-name{font-weight:600}.position-count{color:#4866a2;font-weight:700}.modal-footer{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.75rem}@media(max-width:600px){.modal-body{grid-template-columns:1fr}}:root{font-family:Sora,Segoe UI,sans-serif;color:#1e2a47;background:#f3f8ff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;width:100%}a{color:inherit}
