:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}:root{color:#17324d;background:#f4f7fb;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:linear-gradient(#eef8f4 0%,#f7f9fc 38%,#f4f7fb 100%);min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button{cursor:pointer}.app-shell{width:min(1100px,100% - 32px);margin:0 auto;padding:48px 0 64px}.app-header{max-width:760px;margin-bottom:32px}.eyebrow,.section-label{letter-spacing:.12em;text-transform:uppercase;color:#18875b;margin:0 0 8px;font-size:.8rem;font-weight:800}.app-header h1{letter-spacing:-.04em;color:#102a43;margin:0;font-size:clamp(2.3rem,6vw,4.2rem);line-height:1}.subtitle{color:#52697f;max-width:680px;margin:18px 0 0;font-size:1.1rem;line-height:1.65}.setup-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);align-items:start;gap:24px;display:grid}.card{background:#fffffff0;border:1px solid #dfe8ef;border-radius:22px;padding:24px;box-shadow:0 18px 50px #243d5214}.card-heading,.settings-card{flex-direction:column;display:flex}.card h2{color:#17324d;margin:0;font-size:1.6rem}.add-player-row{grid-template-columns:1fr auto;gap:12px;margin:22px 0;display:grid}.add-player-row input,.field input{color:#17324d;background:#fff;border:1px solid #cfdce6;border-radius:12px;outline:none;width:100%;padding:12px 14px}.add-player-row input:focus,.field input:focus{border-color:#2d9f73;box-shadow:0 0 0 3px #2d9f731f}.add-player-row button,.generate-button{color:#fff;background:#19875d;border:0;border-radius:12px;padding:12px 18px;font-weight:700}.add-player-row button:hover,.generate-button:hover{background:#126d4a}.player-list{gap:10px;display:grid}.player-row{background:#fbfcfd;border:1px solid #e1e9ef;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.player-row span{font-weight:650}.remove-button{color:#b5473b;background:0 0;border:0;font-weight:700}.remove-button:hover{text-decoration:underline}.settings-card{gap:18px}.field{gap:8px;display:grid}.field span{color:#415a70;font-size:.9rem;font-weight:750}.session-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:4px;display:grid}.session-summary div{text-align:center;background:#f0f7f4;border-radius:12px;gap:4px;padding:14px 8px;display:grid}.session-summary strong{color:#176f50;font-size:1.45rem}.session-summary span{color:#63788c;font-size:.78rem}.generate-button{margin-top:4px;padding:14px 18px;font-size:1rem}@media (width<=820px){.app-shell{width:min(100% - 20px,720px);padding-top:28px}.setup-grid{grid-template-columns:1fr}}@media (width<=520px){.card{border-radius:18px;padding:18px}.add-player-row{grid-template-columns:1fr}.session-summary{grid-template-columns:1fr 1fr 1fr}}.error-message{color:#b5473b;background:#fff2f0;border-radius:10px;margin:0;padding:12px;font-weight:700}.schedule-section{margin-top:32px}.schedule-heading{margin-bottom:18px}.schedule-heading h2{color:#17324d;margin:0}.round-list{gap:22px;display:grid}.round-card{background:#fffffff5;border:1px solid #dfe8ef;border-radius:20px;padding:22px;box-shadow:0 14px 40px #243d5212}.round-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.round-heading h3{color:#17324d;margin:0;font-size:1.45rem}.round-heading p{color:#6d7f90;margin:0;font-weight:650}.court-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.court-card{background:#f9fbfc;border:1px solid #dce6ed;border-radius:16px;padding:18px}.court-number{letter-spacing:.1em;text-transform:uppercase;color:#18875b;margin:0 0 14px;font-size:.8rem;font-weight:800}.team{color:#17324d;font-size:1.05rem}.versus{text-transform:uppercase;color:#8193a3;margin:8px 0;font-size:.8rem;font-weight:800}@media (width<=700px){.court-grid{grid-template-columns:1fr}.round-heading{flex-direction:column;align-items:flex-start}}.player-rating{color:#147a50;background:#e8f5ee;border-radius:12px;margin-left:12px;padding:3px 9px;font-size:.82rem;font-weight:700;display:inline-block}.score-team{justify-content:center;align-items:center;gap:10px;display:flex}.score-input{text-align:center;border:1px solid #cbd5df;border-radius:8px;width:58px;padding:6px 8px;font-size:.95rem;font-weight:700}.save-result-button{color:#fff;cursor:pointer;background:#147a50;border:none;border-radius:8px;margin-top:10px;padding:8px 16px;font-size:.9rem;font-weight:700}.save-result-button:hover:not(:disabled){opacity:.85}.save-result-button:disabled{color:#7d8b85;cursor:default;background:#dfe7e3}.winner-text{color:#147a50;margin-top:8px;font-size:.95rem;font-weight:600}.standings-section{background:#fffffff0;border:1px solid #dfe8ef;border-radius:22px;width:700px;max-width:100%;margin:32px 0;padding:24px;box-shadow:0 18px 50px #243d5214}.player-database-section{width:1100px}.standings-table{border:1px solid #dce6e1;border-radius:12px;margin-top:18px;overflow:hidden}.standings-row{border-bottom:1px solid #e5ece8;grid-template-columns:minmax(140px,2fr) repeat(9,1fr) minmax(250px,2.2fr);align-items:center;gap:10px;padding:11px 16px;display:grid}.player-standings-section .standings-row{grid-template-columns:minmax(140px,2fr) repeat(7,1fr);column-gap:18px}.player-actions{white-space:nowrap;justify-content:center;align-items:center;gap:8px;display:flex}.player-action-button{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;padding:8px 14px;font-size:14px;font-weight:600}.player-action-button.edit-button{color:#17365d;background:#eef3f7}.player-action-button.add-button{color:#fff;background:#168f63}.player-action-button.delete-button{color:#b42318;background:#fff0f0}.standings-row:last-child{border-bottom:none}.standings-row span:not(:first-child){text-align:center}.standings-header{color:#147a50;background:#eef7f2;font-weight:700}.standings-row span:first-child{font-weight:700}.match-history{margin-top:28px}.match-history h3{margin-bottom:12px}.match-history-row{border-bottom:1px solid #e5ece8;grid-template-columns:100px 1.2fr 1.3fr 1.8fr 70px 50px 70px;align-items:center;gap:10px;padding:10px 12px;font-size:14px;display:grid}.match-history-row .match-history-header{color:#147a50;background:#eef7f2;border-radius:8px 8px 0 0;font-weight:700}.match-history-row:last-child{border-bottom:none}.database-save-message{z-index:1000;background:#fff;border:2px solid #198754;border-radius:10px;padding:12px 18px;font-weight:700;position:fixed;top:20px;right:20px;box-shadow:0 4px 14px #0000002e}.player-edit-form{grid-template-columns:1fr 1fr;align-items:start;gap:16px 18px;max-width:760px;margin:0 auto 20px;display:grid}.player-edit-form label{flex-direction:column;gap:6px;width:100%;font-weight:600;display:flex}.player-edit-form input[type=text],.player-edit-form input[type=email],.player-edit-form input[type=tel]{box-sizing:border-box;width:100%;padding:8px 10px}.player-edit-form label:has(input[type=checkbox]){flex-direction:row;place-self:center start;align-items:center;gap:8px;width:auto;font-weight:500}.player-edit-form button{width:fit-content}.suggested-skill{flex-direction:column;align-items:center;gap:12px;width:100%;margin-top:16px;display:flex}.suggested-skill strong{text-align:center;display:block}.suggested-skill button{width:auto;display:block}.invite-method-button.preferred-contact{color:#fff;background-color:#198f67;border:2px solid #198f67;font-weight:700}.invite-player-row{grid-template-columns:150px 180px 1fr;align-items:center;gap:12px;margin:8px 0;display:grid}.invite-player-name{text-align:right}.invite-rsvp-status{text-align:left}.preferred-contact{outline-offset:2px;outline:3px solid #f0b429;font-weight:700}.sign-out-button{padding:7px 14px;font-size:14px;position:absolute;top:20px;right:24px}.player-match-prompt{text-align:center;background:#f7fcf9;border:2px solid #168b5b;border-radius:14px;max-width:620px;margin:20px auto;padding:24px}.player-match-prompt h3{margin-top:0;margin-bottom:16px}.player-match-card{background:#fff;border:1px solid #c9ddd3;border-radius:10px;margin:14px 0;padding:16px}.player-match-button{color:#fff;cursor:pointer;background:#168b5b;border:none;border-radius:8px;margin:6px;padding:9px 18px;font-weight:700}.player-match-button:hover{opacity:.88}.create-player-heading{text-align:center;margin-bottom:28px}.create-player-heading h2{color:#12335a;margin:0 0 6px}.create-player-heading p{color:#5f6f86;margin:0}.create-player-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:22px 28px;display:grid}.create-player-field{color:#17365d;flex-direction:column;gap:8px;font-weight:600;display:flex}.create-player-field input,.create-player-field select{box-sizing:border-box;background:#fff;border:1px solid #cfd9e6;border-radius:10px;width:100%;min-height:48px;padding:10px 12px;font-size:16px}.create-player-whatsapp{flex-wrap:nowrap;grid-column:1/span 3;align-items:flex-end;gap:24px;display:flex}.create-player-whatsapp .checkbox-label{white-space:nowrap;align-items:center;gap:8px;min-height:48px;display:flex}.create-player-whatsapp .create-player-field{flex:0 0 240px}.create-player-skill{grid-column:span 1}.create-player-actions{grid-column:3/5;justify-content:flex-end;gap:16px;display:flex}.create-player-actions .generate-button{min-width:180px}.checkbox-label{color:#17365d;align-items:center;gap:8px;font-weight:500;display:flex}@media (width<=950px){.create-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.create-player-whatsapp,.create-player-actions{grid-column:span 2}}@media (width<=620px){.create-player-grid{grid-template-columns:1fr}.create-player-whatsapp,.create-player-actions,.create-player-skill{grid-column:span 1}.create-player-actions{flex-direction:column}.create-player-actions .generate-button{width:100%}}.install-app-link{color:#fff;background:#159363;border-radius:10px;margin:8px 0 14px;padding:10px 18px;font-weight:700;text-decoration:none;display:inline-block}.install-app-link:hover{opacity:.9}
