.groups-main,.identity-main,.positions-main{max-width:520px;padding:20px 24px 120px;color:var(--ink);font-family:var(--font-inter),Arial,sans-serif;min-height:calc(100dvh - 79px)}.groups-main{padding-bottom:32px}.add-player-screen,.groups-screen{display:flex;flex-direction:column;gap:16px;overflow-wrap:anywhere}.groups-screen h1,.screen-heading h1{font-size:24px;font-weight:700;line-height:34px;letter-spacing:0;margin:0}.screen-heading{gap:10px;min-width:0}.screen-back,.screen-heading{display:flex;align-items:center}.screen-back{justify-content:center;width:44px;height:44px;flex-shrink:0;border-radius:10px;font-size:20px}.screen-description{font-size:14px;line-height:1.5;color:var(--muted);margin:0}.groups-links{display:grid;gap:16px}.player-home-link .group-link-label{font-size:16px;flex:1;min-width:0;flex-shrink:1}.group-link-label small{font-size:13px;color:var(--muted);line-height:1.5;margin-top:4px}.groups-create{margin-top:8px;min-height:56px;justify-content:space-between}.add-player-screen form,.group-create-form{display:grid;gap:20px}.form-surface{margin:0;padding:16px;border-radius:16px;background:var(--paper);font-size:15px;line-height:1.5}.form-surface h2{font-size:21px;line-height:1.35;margin:0 0 12px}.form-surface p{margin:0;color:var(--muted)}.form-surface input{margin-top:8px}.form-surface small{font-size:13px;font-weight:400;color:var(--muted);margin-top:8px}.add-player-screen form>button,.group-create-form>.button,.group-create-form>button{width:100%;min-height:56px}.positions-main{padding:0 24px 24px}.positions-editor{height:calc(100dvh - 79px - 85px);min-height:350px}.positions-editor .positions-heading h1{font-size:24px;margin:0}.positions-editor .positions-heading p{margin-top:6px}.positions-embedded{height:auto;min-height:0;margin:0}.positions-embedded .welcome-positions-scroll{overflow:visible;padding:16px 0}.positions-embedded .positions-action{padding:16px 0}.positions-embedded .positions-heading h1{font-size:20px}body:has(.positions-editor) .view-banner{font-size:12px;padding:6px 24px}body:has(.positions-editor):has(.view-banner) .positions-editor{height:calc(100dvh - 79px - 85px - 48px)}.access-context h1{font-size:26px;line-height:34px}.access-context>p{font-size:15px;line-height:22px}.identity-main:has(.welcome-identity){padding:0 24px 110px}@media(max-height:550px){.positions-editor{height:auto}.positions-editor .welcome-positions-scroll{overflow:visible}.positions-editor .positions-action{position:sticky;bottom:85px}}.recovery-main{max-width:520px;min-height:calc(100dvh - 79px);padding:24px;display:flex;flex-direction:column;gap:16px}.recovery-main h1{font-size:24px;line-height:34px;margin:0;letter-spacing:0}.recovery-main>p{font-size:15px;color:var(--muted);margin:0}.recovery-main .error{margin:0}.recovery-action{margin-top:auto;width:100%;min-height:56px}.groups-main:has(.group-create-screen){padding-bottom:0;display:flex;flex-direction:column}.group-create-screen{flex:1;overflow:visible}.group-create-screen>.screen-description{margin-bottom:8px}.group-create-form{display:flex;flex:1;flex-direction:column;gap:20px}.group-name-field{display:flex;gap:8px;padding:16px;background:var(--paper);border:1px solid var(--line);border-radius:16px;font-size:13px;font-weight:600;color:var(--muted);transition:border-color .15s}.group-name-field:focus-within{border-color:var(--green)}.group-name-field input:not([type=checkbox]):not([type=range]){min-height:32px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--ink);font-size:17px;font-weight:500;line-height:1.5}.group-name-field input::placeholder{color:var(--muted);font-weight:400}.group-create-hint{margin:0;padding:0 4px;color:var(--muted);font-size:14px;line-height:1.5}.group-create-action{margin:auto -24px 0;padding:16px 24px max(24px,env(safe-area-inset-bottom));background:var(--paper);border-radius:20px 20px 0 0}.group-create-action button{width:100%;min-height:56px;font-size:17px}.group-create-action button,.positions-action>button{display:flex;align-items:center;justify-content:space-between;gap:16px}.group-create-action .error{margin:0 0 12px}.group-name-field:focus-within{box-shadow:0 0 0 2px var(--green)}.group-name-field input:focus-visible{outline:none}.ratings-heading .screen-heading{align-items:center;gap:12px;margin-bottom:12px}.ratings-heading .screen-heading h1{margin:0;font-size:24px}.ratings-main .rating-state{border-radius:16px;gap:16px}.ratings-main .rating-state h2{font-size:24px;line-height:1.35}.ratings-main .rating-state h3{margin:0 0 8px;font-size:17px}.rating-saved{padding:16px;border-radius:12px;background:var(--bg)}.ratings-review{min-height:48px}.ratings-main .rating-state>button{min-height:56px}.ratings-screen:has(.rating-confirm)>.notice,.ratings-screen:has(.rating-confirm)>.ratings-review-actions,.ratings-screen:has(.rating-confirm)>.ratings-review-note{display:none}.ratings-main .rating-state h3{letter-spacing:0}.match-wizard .screen-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}.match-wizard .screen-heading h1{margin:0;min-width:0}.match-wizard .screen-back{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;box-shadow:none;background:transparent;color:#14586a}.match-wizard-primary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;text-align:left}.match-wizard-forward-arrow{flex-shrink:0;font-size:20px;line-height:1}main:has(.match-result-screen){max-width:720px;padding:20px 24px 120px;background:#f5f7f8;font-family:var(--font-inter),Arial,sans-serif}.match-result-screen>.screen-heading{display:flex;gap:10px;align-items:center}.match-result-screen>.screen-heading h1{flex:1;margin:0;font-size:25px;letter-spacing:0}.result-copy{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:12px;border:0;border-radius:10px;background:#e6f0f1}.result-copy span{display:block;width:20px;height:20px;background:url(/icons/results/copy.svg) 50%/contain no-repeat}.match-result-screen .result-field-screen{margin:0;padding:0;min-height:0}.match-result-screen .result-field-wrap{min-height:0;margin:0}.match-result-screen .result-field{flex:none;min-height:560px;box-shadow:none;background:#15565a;border-color:#accfca}.match-result-screen .result-field:before{background:repeating-linear-gradient(180deg,#15565a 0,#15565a 12.5%,#1a5e61 0,#1a5e61 25%);opacity:1}.match-result-screen .result-half{flex:1 0 auto;gap:20px;padding:16px 4px;justify-content:space-around}.match-result-screen .result-line{align-items:flex-start;gap:4px;min-height:48px}.match-result-screen .result-player{gap:3px}.match-result-screen .result-shirt{width:28px;height:22px;font-size:10px;border-radius:5px}.match-result-screen .result-player strong{font-size:12px;line-height:1.25;padding:3px 4px;background:#103f43;font-weight:600}.match-result-screen .result-half-b .result-player strong{background:#4c402b}.match-result-screen .result-half-b .result-shirt{background:#eed9a7;border-color:#eed9a7;color:#172f38}.match-result-screen .result-field-dense{min-height:640px}.match-result-screen .result-field-dense .result-player strong{font-size:11px}.match-result-screen .history{margin:20px 0;padding:16px;border:0;border-radius:14px;background:white}.match-result-screen .history h2{font-size:20px}.match-result-screen .history p{font-size:13px;color:#526b77}.match-result-screen .result-team-label{padding:8px 0}.match-result-screen .result-proposals button{min-height:48px}.match-result-screen>.notice{position:fixed;left:50%;transform:translateX(-50%);bottom:96px;z-index:40;max-width:calc(100% - 48px);width:max-content;pointer-events:none}@media(min-width:768px){.match-result-screen .result-field-dense .result-player strong,.match-result-screen .result-player strong{font-size:14px}.match-result-screen .result-half{gap:24px;padding:20px 8px}}.match-result-screen .result-field{display:grid;grid-template-rows:repeat(2,minmax(min-content,1fr))}.match-result-screen .result-half{min-width:0}.match-result-screen .result-metrics-toggle{min-height:44px}.match-result-screen .result-metrics{flex-wrap:wrap;gap:12px 20px}.generation-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin:18px 0;padding:14px 16px;border:0;border-radius:14px;background:white;color:#172f38;text-align:left}.generation-options button>span:first-child,.generation-trigger>span:first-child{display:grid;gap:4px;min-width:0}.generation-options strong,.generation-trigger strong{font-size:15px;font-weight:600}.generation-options small,.generation-trigger small{color:#526b77;font-size:13px;font-weight:400}.generation-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,520px);max-width:100%;max-height:80dvh;padding:24px 24px max(24px,env(safe-area-inset-bottom));border:0;border-radius:24px 24px 0 0;color:#172f38;background:white;font-family:var(--font-inter),Arial,sans-serif}.generation-dialog::backdrop{background:rgb(23 47 56/40%)}.generation-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.generation-dialog-heading h2{margin:0;font-size:24px;letter-spacing:0}.generation-dialog-heading button{width:44px;min-height:44px;padding:0;border:0;border-radius:12px;background:#f5f7f8;color:#14586a;font-size:26px}.generation-options{display:grid;gap:10px}.generation-options button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:14px 12px;border:0;border-radius:12px;background:#f5f7f8;color:#172f38;text-align:left}.generation-options button[aria-pressed=true]{background:#e6f0f1;color:#14586a}.match-result-screen .match-actions{display:grid;gap:12px;margin:18px 0}.match-result-screen .match-actions>a,.match-result-screen .record-toggle,.match-statistics-link{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:56px;padding:16px;border:0;border-radius:14px;font-size:16px;font-weight:600;text-align:left}.match-result-screen .match-actions>a,.match-statistics-link{background:white;color:#14586a}.match-result-screen .match-actions>.danger{min-height:44px;justify-self:center;font-size:14px}.match-result-screen .match-record-surface{padding:0;margin:18px 0;border:0;background:transparent;box-shadow:none}.match-result-screen .record-toggle{background:#14586a;color:white;list-style:none;margin:0}.match-result-screen .record-toggle::-webkit-details-marker{display:none}.match-result-screen .match-record-surface>details{padding:0;border:0;margin:0 0 12px}.match-result-screen .match-record-surface>details[open]{padding:0 0 16px}.match-statistics-link{margin-top:12px}.record-wizard{display:grid;gap:16px;min-height:calc(100dvh - 220px)}.record-wizard h2{font-size:18px;letter-spacing:0;margin:0}.record-wizard p{margin:0;color:#526b77;font-size:15px;line-height:1.5}.record-progress{list-style:none;display:flex;gap:6px;margin:0;padding:0}.record-progress li{height:3px;background:#d8e3e7;flex:1}.record-progress li.active{background:#14586a}.record-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:16px;background:white;color:#14586a;border:0;border-radius:14px;text-align:left;font-size:16px}.record-roster{background:white;border-radius:16px;overflow:hidden}.record-person{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border-bottom:1px solid #d8e3e7}.record-person>span{min-width:0;overflow-wrap:anywhere;font-size:15px}.record-person small{display:block;font-size:12px;color:#526b77}.record-person>div{display:flex;flex-shrink:0;gap:3px}.record-person button{padding:0;width:44px;height:44px;min-height:44px;background:transparent;color:#14586a;border:0;border-radius:10px}.record-person button[aria-pressed=true]{background:#14586a;color:white}.record-goals input{width:44px;height:44px;padding:4px;text-align:center;border:0;background:#f5f7f8;appearance:textfield}.record-goals input::-webkit-inner-spin-button{appearance:none}.record-person .record-goals button:last-child{background:#e6f0f1}.record-keepers{display:grid;grid-template-columns:1fr 1fr;gap:8px}.record-keepers label{min-width:0;background:white;border-radius:12px;padding:12px;font-size:13px}.record-keepers select{width:100%;padding:8px 0;border:0;font-size:14px}.record-footer{position:sticky;bottom:78px;align-self:end;background:#f5f7f8;padding:16px 0;z-index:5}.record-footer>button{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:56px;border:0;border-radius:14px;padding:16px;background:#14586a;color:white;text-align:left}.record-footer>button:disabled{background:#cdd9dd;color:#526b77}.record-score{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-around;padding:24px;background:white;border-radius:20px}.record-score>div{display:grid;text-align:center;gap:8px}.record-score strong{font-size:36px}.record-score p{width:100%;text-align:center;margin-top:12px;color:#14586a;font-weight:600}.record-date{padding:16px;background:white;border-radius:14px}.record-wizard>.screen-heading h1{font-size:24px}.record-wizard>.screen-heading small{white-space:nowrap;color:#526b77}.record-wizard .screen-back{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;background:transparent;color:#14586a;border:0;box-shadow:none}.record-wizard .record-goals input{width:44px;min-width:44px;max-width:44px;height:44px;padding:4px;border:0;border-radius:10px;background:#f5f7f8;text-align:center;font-size:16px}.record-wizard .record-person button{flex:0 0 44px;min-width:44px}.record-wizard .record-person>span{flex:1}.record-wizard{align-content:start}.played-summary{margin:16px 0;padding:16px;background:white;border-radius:20px;text-align:center}.played-summary>p{margin:4px 0;color:#526b77}.played-summary .record-score{padding:16px 0}.played-result .played-field{margin:16px 0;min-height:540px}.played-players{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 6px;position:relative;z-index:3}.played-players .result-player{width:100%;max-width:none}.played-players .played-keeper{grid-column:1/-1}.played-goals{padding:2px 6px;border-radius:8px;background:white;color:#172f38;font-size:12px;font-weight:700}.played-caption{font-size:13px;line-height:1.5;color:#526b77}.played-field .result-half-b .played-players{direction:ltr}.played-field .result-half-b .played-keeper{order:1}.played-field .result-half{padding:20px 6px}.played-legacy{padding:16px;border-radius:14px;background:white}.played-summary{margin:12px 0;border-radius:16px}.played-summary>p{margin:2px 0;font-size:13px}.played-summary .record-score{padding:10px 0 0;gap:6px}.played-summary .record-score>div{gap:3px;font-size:14px}.played-summary .record-score strong{font-size:30px;line-height:1.1}.played-summary .record-score p{margin-top:4px;font-size:14px}.played-summary{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:12px 16px;text-align:left}.played-summary>p{margin:0;font-size:12px;line-height:1.3}.played-summary>p:nth-child(2){text-align:right}.played-summary .record-score{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:10px;padding:6px 0 0;border-radius:0}.played-summary .record-score>div{display:flex;align-items:center;gap:10px;font-size:13px}.played-summary .record-score>div:nth-of-type(2){flex-direction:row-reverse}.played-summary .record-score strong{font-size:28px;line-height:1}.played-summary .record-score p{margin:2px 0 0;font-size:12px;line-height:1.3}main:has(.matches-index){max-width:520px;padding:20px 24px 120px;background:#f5f7f8;font-family:var(--font-inter),Arial,sans-serif}.matches-index{display:grid;gap:12px}.matches-index-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.matches-index-heading h1{margin:0;font-size:26px;letter-spacing:0}.matches-index-heading .button{min-height:44px;padding:10px 20px;border-radius:12px;font-size:16px;background:#14586a}.matches-index-context{margin:0 0 8px;font-size:13px;color:#617680}.match-index-card{display:grid;gap:9px;padding:16px;border-radius:16px;background:white;color:#172f38}.match-index-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.match-index-title h2{margin:0;font-size:18px;letter-spacing:0;line-height:1.4}.match-index-title h2:first-letter{text-transform:uppercase}.match-index-title>span{color:#617680;font-size:24px}.match-index-card p{margin:0;font-size:14px;color:#617680;overflow-wrap:anywhere}.match-index-card .match-index-name{font-weight:500;color:#34515c}.match-index-status{justify-self:start;padding:4px 10px;border-radius:7px;font-size:12px;line-height:1.4;font-weight:600;background:#e6f0f1;color:#14586a}.match-index-status.draft{background:#fff0c7;color:#795414}.matches-index-section{margin:10px 0 0;font-size:14px;font-weight:600;letter-spacing:0;color:#617680}.matches-index-empty{padding:24px 16px;border-radius:16px;background:white}.matches-index-empty h2{font-size:20px;letter-spacing:0}.matches-index-empty p{color:#617680;line-height:1.5}main:has(.group-management),main:has(.group-statistics){max-width:640px;padding:24px 24px 120px;background:#f5f7f8;font-family:var(--font-inter),Arial,sans-serif}.group-management>h1,.group-statistics>h1{margin:0;font-size:26px;letter-spacing:0;overflow-wrap:anywhere}.group-count{margin:8px 0 20px;color:#617680;font-size:14px}.group-tabs{display:flex;gap:4px;padding:4px;border-radius:14px;background:#e6f0f1;margin:16px 0 20px}.group-tabs a{display:flex;align-items:center;justify-content:center;flex:1;min-height:48px;border-radius:10px;color:#14586a;font-size:15px;font-weight:600}.group-tabs a[aria-current=page]{background:#14586a;color:white}.group-management .group-profile{background:white;border:0;border-radius:14px;padding:16px;margin-bottom:16px;font-size:16px}.group-management .group-tool{border:0;background:white;border-radius:14px;margin:12px 0}.group-management .group-tool>summary{min-height:48px;padding:14px 16px;font-size:16px}.group-roster-heading h2{font-size:18px;letter-spacing:0}.group-roster-heading .button{min-height:44px;font-size:14px;border:0;border-radius:12px;background:#e6f0f1;color:#14586a;padding:10px 14px}.group-management .management-member{padding:12px 14px;margin:0 0 2px;border:0;border-radius:12px;background:white}.group-management .member-row{border:0;padding:0;gap:12px}.group-management .avatar{width:36px;height:36px;min-width:36px;font-size:12px;background:#e6f0f1;color:#14586a}.group-management .member-name{min-width:0}.group-management .member-name strong{font-size:16px;overflow-wrap:anywhere}.group-management .chips{font-size:12px;color:#617680}.group-management .player-editor{border:0;margin-top:8px}.group-management .player-editor>summary{color:#14586a;font-size:14px;min-height:44px}.group-management .group-search input{border-radius:12px;background:white;min-height:48px}.group-management .group-leave{margin-top:24px;font-size:14px}.statistics-surface{background:white;padding:12px;border-radius:16px}.statistics-surface>.actions{display:flex;margin:0 0 12px;gap:4px}.statistics-surface>.actions button{flex:1;min-height:44px;border:0;border-radius:10px;background:white;color:#526b77;font-size:14px}.statistics-surface>.actions button[aria-pressed=true]{background:#e6f0f1;color:#14586a;border-bottom:2px solid #14586a}.statistics-surface>p{font-size:13px;line-height:1.5;color:#617680}.statistics-scroll{overflow-x:auto}.statistics-surface .standings{width:100%;margin:0;border-collapse:collapse;font-size:13px}.statistics-surface .standings td,.statistics-surface .standings th{padding:12px 5px;border:0;border-bottom:1px solid #edf2f4;text-align:center;background:white}.statistics-surface .standings th:first-child{text-align:left;min-width:90px;max-width:180px;overflow-wrap:anywhere;font-weight:500}.statistics-surface .standings thead th button{padding:0;min-height:44px;min-width:24px;border:0;background:transparent;color:#526b77;font-size:12px;font-weight:400;white-space:nowrap}.statistics-surface .standings thead th[aria-sort=ascending] button,.statistics-surface .standings thead th[aria-sort=descending] button{color:#14586a;font-weight:700}.statistics-surface .conceded-note{display:block;font-size:11px;white-space:normal}.statistics-surface .empty{padding:20px 8px;border:0;box-shadow:none}.group-editing>.group-edit-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.group-edit-heading h1{margin:0;font-size:24px}.group-editing .management-member:not(.editing-member),.group-editing>.group-count,.group-editing>.group-leave,.group-editing>.group-profile,.group-editing>.group-tabs,.group-editing>.group-tool,.group-editing>h1,.group-editing>section>.group-roster-heading,.group-editing>section>.group-search{display:none}.group-editing .editing-member{padding:20px;border-radius:16px}.player-edit-link{display:flex;justify-content:space-between;align-items:center;min-height:44px;color:#14586a;font-size:14px}.group-editing .player-editor-body>h3{font-size:18px;letter-spacing:0}.statistics-surface .standings th:first-child{min-width:100px}.statistics-surface .standings td{font-variant-numeric:tabular-nums}main:has(.player-profile-editor){max-width:520px;padding:24px 24px 120px;background:#f5f7f8;font-family:var(--font-inter),Arial,sans-serif}.player-profile-editor{display:grid;align-content:start;gap:18px;min-height:calc(100dvh - 224px)}.player-profile-editor .screen-heading{display:flex;align-items:center;gap:12px}.player-profile-editor h1{margin:0;font-size:24px;letter-spacing:0}.player-profile-editor .screen-back{width:44px;min-width:44px;min-height:44px;padding:0;background:transparent;color:#14586a;border:0}.player-profile-editor .form-surface{margin:0;padding:16px;border-radius:16px;background:white}.player-profile-editor .form-surface p{margin:8px 0 0}.player-profile-editor .record-row[aria-pressed=true]{background:#e6f0f1}.player-editor-footer{display:grid;gap:12px;position:sticky;bottom:78px;padding:16px 0;background:#f5f7f8}.player-editor-footer>button{min-height:56px;border:0;border-radius:14px}.player-editor-footer>button:first-child{background:#14586a;color:white}.player-profile-editor input{min-height:48px}.group-admin-links{display:grid;gap:14px;margin:16px 0}.admin-settings .admin-accounts,.admin-settings .admin-name,.admin-settings .admin-review,.group-management:not(.tool-invitations)>.admin-invitations,.group-management:not(.tool-review):not(.tool-name):not(.tool-accounts)>.admin-settings{display:none}.tool-accounts .admin-accounts,.tool-name .admin-name,.tool-review .admin-review{display:block}.group-tool-screen>.screen-heading{display:flex;gap:12px;align-items:center;margin-bottom:18px}.group-tool-screen>.screen-heading h1{font-size:24px;margin:0;letter-spacing:0}.group-tool-screen:not(.tool-manage)>.group-admin-links,.group-tool-screen>.group-leave,.group-tool-screen>.group-profile,.group-tool-screen>.group-tabs,.group-tool-screen>h1,.group-tool-screen>section[aria-labelledby]{display:none}.group-tool-screen .group-tool{background:transparent}.group-tool-screen .group-tool-body{padding:0}.group-tool-screen .panel{padding:16px;border:0;border-radius:16px;background:white}.group-tool-screen .invite-card{padding:16px;border-radius:16px;background:white;margin:16px 0}.group-tool-screen .split{display:grid;gap:10px}.group-tool-screen .admin-name>h2,.group-tool-screen .admin-review>h2{display:none}.confirmation-copy{font-size:15px;line-height:1.5;color:#526b77;margin:16px 0}.group-tool-screen .screen-back{background:transparent;color:#14586a;border:0}.principal-accounts{display:grid;gap:16px}.principal-accounts h2{font-size:20px;letter-spacing:0}.group-management .group-leave{padding:0;border:0}.admin-name form>button,.player-editor-footer>button:first-child{display:flex;justify-content:space-between;align-items:center;gap:16px}.group-tool-screen .screen-heading h1{overflow-wrap:anywhere;min-width:0}.group-tool-screen .screen-back{flex-shrink:0}.player-profile-editor .positions-heading .screen-heading h1{margin:0}.player-profile-editor .positions-embedded .welcome-action{position:static}main.profile-main{max-width:520px;padding:24px 24px 112px;background:#f5f7f8;font-family:var(--font-inter),Arial,sans-serif}.profile-screen{display:grid;gap:24px}.profile-screen .screen-heading{display:flex;align-items:center;gap:12px}.profile-screen h1{margin:0;font-size:26px;letter-spacing:0}.profile-screen .screen-back{display:grid;place-items:center;width:44px;min-height:44px;flex-shrink:0;color:#14586a}.profile-card{background:white;border-radius:18px;padding:20px}.profile-screen h2{font-size:20px;letter-spacing:0;margin:0 0 12px;overflow-wrap:anywhere}.profile-account{text-align:center}.profile-avatar{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 14px;border-radius:50%;background:#e6f0f1;color:#14586a;font-size:22px;font-weight:600}.profile-signin{font-size:13px;color:#617680}.profile-account dl{border-top:1px solid #edf2f4;text-align:left;margin:20px 0 0;padding-top:16px}.profile-account dt{font-size:13px;color:#617680}.profile-account dd{margin:6px 0 0;font-size:16px;overflow-wrap:anywhere}.profile-player-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#526b77}.profile-badge{padding:5px 9px;border-radius:8px;background:#e6f0f1;color:#14586a;font-size:12px}.profile-screen h3{font-size:14px;margin:22px 0 12px}.profile-positions{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 20px}.profile-positions li{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;background:#e6f0f1;color:#14586a;font-size:14px}.profile-positions li>span{font-size:12px;font-weight:700}.profile-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;color:#14586a;font-weight:600;border-top:1px solid #edf2f4;padding-top:12px}.profile-groups>h2{display:flex;align-items:center;gap:10px}.profile-groups>h2 span{font-size:13px;background:#e6f0f1;border-radius:8px;padding:4px 8px;color:#14586a}.profile-groups>p{font-size:14px;color:#617680;line-height:1.5}.profile-group{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:white;border-radius:16px;margin-top:10px;color:#14586a}.profile-group strong{display:block;font-size:16px;overflow-wrap:anywhere}.profile-group small{display:block;font-size:13px;color:#617680;margin-top:6px}.topbar .account summary{gap:8px;padding:8px 12px;border-radius:12px}.topbar .account[open] summary{background:#e6f0f1;color:#14586a}.account-chevron{display:inline-block}.account[open] .account-chevron{transform:rotate(180deg)}.topbar .account>div{top:calc(100% + 8px);width:264px;padding:8px;background:#fff;border:1px solid #e6edf0;border-radius:18px;box-shadow:0 12px 36px #172b3a24;overflow:hidden}.account .account-caption{margin:10px 12px 8px;font-size:11px;font-weight:700;letter-spacing:1.2px;color:#617680}.topbar .account .account-signout,.topbar .account a{display:flex;align-items:center;width:100%;min-height:48px;padding:12px;border:0;border-radius:10px;font-size:15px;font-weight:500;text-align:left;line-height:1.4;color:#234753;background:transparent}.topbar .account a:focus-visible,.topbar .account a:hover{background:#edf5f5}.topbar .account .account-signout{justify-content:flex-start;color:#ae3934;border-top:1px solid #edf2f4;border-radius:0;margin-top:6px}.topbar .account .account-signout:hover{background:#fff3f1}.topbar .wordmark{display:inline-flex;align-items:center;flex-shrink:0;min-height:44px}.topbar .wordmark .brand-logo{display:block;width:210px;height:auto}@media(max-width:374px){.topbar .wordmark .brand-logo{width:190px}}.ratings-main .rating-card>.rating-save{justify-content:space-between;text-align:left}.account-identity-tools,.account-permission-card{padding:20px;border-radius:18px;background:#fff}.account-permission-card>small{font-size:11px;letter-spacing:.09em;color:#526b77;font-weight:700}.account-permission-card h2{margin:8px 0 12px;overflow-wrap:anywhere}.account-identity-tools>p,.account-permission-card p{color:#526b77;font-size:14px;line-height:1.55}.permission-badge{display:inline-flex;padding:5px 10px;border-radius:999px;background:#e9f3f3;color:#14586a;font-size:12px;font-weight:650}.account-list-copy{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere;text-align:left}.account-list-copy strong{font-size:15px}.account-list-copy small{font-size:12px;color:#526b77;font-weight:400}.account-identity-tools summary{font-weight:600;color:#14586a;cursor:pointer}.account-identity-tools label{margin-top:16px}.invite-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.invite-card-heading h2{font-size:17px;margin:0;letter-spacing:0}.invite-card>p{font-size:13px;color:#526b77;margin:8px 0 18px}.invite-actions{display:grid;gap:10px}.invite-actions>button{width:100%}.admin-invitations .group-tool-body>button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.invite-actions>.text-button{justify-content:center;min-height:44px;font-size:13px}.admin-invitations .group-tool-body>button{width:100%}.result-copy span.copy-success{background:none;color:#14586a;font-size:21px;line-height:20px;text-align:center}.invite-actions>.result-copy{width:44px;justify-self:end}.expandable-pitch{position:relative;cursor:zoom-in}.pitch-fullscreen{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;padding:0;background:var(--bg);color:var(--ink);overscroll-behavior:contain}.pitch-fullscreen::backdrop{background:#172b3a99}.pitch-close{position:fixed;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));z-index:5;width:44px;min-height:44px;padding:0;font-size:28px;background:#103f43;color:white;border:1px solid #accfca;border-radius:50%}.pitch-fullscreen-content{max-width:1000px;margin:auto;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.pitch-fullscreen .played-goals,.pitch-fullscreen .result-preference-badge,.pitch-fullscreen .result-team-label{display:none}.match-result-screen .pitch-fullscreen .result-field{min-height:calc(100dvh - 16px);margin:0}.match-result-screen .pitch-fullscreen .result-half{gap:10px;padding:12px 4px}.match-result-screen .pitch-fullscreen .result-player strong{font-size:12px}.expandable-pitch:focus-visible{outline:3px solid #b17815;outline-offset:4px;border-radius:8px}body:has(.pitch-fullscreen[open]){overflow:hidden}.match-result-screen .pitch-fullscreen .result-field-wrap{width:100%;max-width:none}.pitch-fullscreen-content>.played-field{width:100%;margin-inline:auto}.rating-skip{width:100%;min-height:44px;margin-top:8px;color:#14586a;text-align:center}:root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--screen-height:100vh;--visible-height:var(--screen-height);--visible-top:0px;--viewport-bottom:0px;--header-height:79px;--nav-height:0px;--banner-height:0px}@supports(height:100dvh){:root{--screen-height:100dvh}}body{padding-inline:var(--safe-left) var(--safe-right)}.topbar{height:calc(74px + var(--safe-top));padding-top:var(--safe-top)}@media(max-width:767px){.topbar{height:calc(100px + var(--safe-top))}}.topbar.match-wizard-topbar,.topbar.welcome-topbar{height:calc(79px + var(--safe-top))}.topbar.player-home-topbar{height:calc(100px + var(--safe-top))}.bottom-nav{bottom:var(--viewport-bottom);padding-bottom:max(18px,var(--safe-bottom));width:calc(100% - var(--safe-left) - var(--safe-right));left:calc(50% + (var(--safe-left) - var(--safe-right))/2)}html{scroll-padding-bottom:calc(var(--nav-height) + var(--viewport-bottom) + 24px);scroll-padding-top:var(--safe-top)}body:has(.bottom-nav) main:not(.positions-main):after{content:"";display:block;height:var(--safe-bottom);flex-shrink:0}body .welcome-positions:not(.positions-embedded),body:has(.positions-editor):has(.view-banner) .positions-editor{height:calc(var(--visible-height) - var(--header-height) - var(--banner-height) - var(--nav-height));min-height:0;margin-bottom:0}.positions-main{min-height:0;padding-bottom:0}body .welcome-positions:not(.positions-embedded) .welcome-positions-scroll{min-height:0;overflow-y:auto}body .welcome-positions:not(.positions-embedded) .positions-action{position:static}.match-wizard-footer,.match-wizard-footer.review-footer,.player-editor-footer,.record-footer,.wizard-footer{bottom:calc(var(--nav-height) + var(--viewport-bottom))}.welcome-action{bottom:var(--viewport-bottom)}.match-result-screen>.notice{bottom:calc(var(--nav-height) + var(--viewport-bottom) + 12px)}dialog{overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:16px}dialog,dialog.generation-dialog,dialog.welcome-dialog{max-height:calc(var(--visible-height) - var(--safe-top) - 24px)}dialog.generation-dialog,dialog.welcome-dialog{bottom:var(--viewport-bottom);max-width:calc(100% - var(--safe-left) - var(--safe-right));padding-bottom:max(24px,var(--safe-bottom))}dialog.pitch-fullscreen{inset:var(--visible-top) 0 auto;height:var(--visible-height);max-height:var(--visible-height);overflow-y:auto}.pitch-close{top:calc(var(--visible-top) + max(8px,var(--safe-top)));right:max(8px,var(--safe-right))}.pitch-fullscreen-content{padding-left:max(8px,var(--safe-left));padding-right:max(8px,var(--safe-right))}.match-result-screen .pitch-fullscreen .result-field{min-height:calc(var(--visible-height) - max(8px,var(--safe-top)) - max(8px,var(--safe-bottom)))}.topbar .account>div{max-height:calc(var(--visible-height) - var(--header-height) - 16px);overflow-y:auto}@supports(height:100svh){.access-main,.admin-home-main,.groups-main,.identity-main,.match-wizard,.ratings-main,.recovery-main,.welcome-identity{min-height:calc(100svh - var(--header-height))}}@media(max-height:550px){body .welcome-positions:not(.positions-embedded),body:has(.positions-editor):has(.view-banner) .positions-editor{height:auto;min-height:0}body .welcome-positions:not(.positions-embedded) .welcome-positions-scroll{overflow:visible}.positions-main{padding-bottom:calc(var(--nav-height) + var(--safe-bottom) + 24px)}}.match-wizard-main .match-wizard{min-height:0;margin-bottom:0}.match-wizard-main .match-wizard-content{min-height:0}.match-wizard-main .match-wizard-footer,.match-wizard-main .match-wizard-footer.review-footer{position:static;bottom:auto;padding-block:8px;margin-top:0}.result-edit{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:11px;border:0;border-radius:10px;background:#e6f0f1;color:#14586a}.result-edit svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.match-result-screen>.screen-heading h1{font-size:24px;min-width:0}.result-proposals.result-proposals-compact button{height:48px;min-height:48px;white-space:nowrap;font-size:12px}main.manual-main{max-width:720px;margin:0 auto;padding:0 0 calc(98px + env(safe-area-inset-bottom));font-family:var(--font-inter),Arial,sans-serif;background:#f5f7f8}.manual-header{position:sticky;top:0;z-index:20;background:#f5f7f8;padding:16px 16px 0;border-bottom:1px solid #dbe5e8}.manual-header .screen-heading{gap:8px}.manual-header .screen-heading>div{flex:1;min-width:0}.manual-header h1{font-size:22px;line-height:28px}.manual-header .screen-heading p{font-size:12px;color:#526b77;margin:4px 0 0}.manual-header .screen-back{background:transparent;color:#14586a;padding:0;border:0;min-width:40px;width:40px}.manual-metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 8px}.manual-metrics>div{background:white;border-radius:12px;padding:10px 12px;display:grid;gap:2px}.manual-metrics small,.manual-metrics span{font-size:11px;color:#526b77}.manual-metrics strong{font-size:24px;color:#14586a;line-height:30px;font-variant-numeric:tabular-nums}.manual-instruction{margin:0;padding:10px 2px;min-height:50px;font-size:13px;line-height:18px;color:#234e5a;overflow-wrap:anywhere}.manual-menu{position:relative;border:0;padding:0;margin:0}.manual-menu summary{display:grid;place-items:center;list-style:none;width:44px;height:44px;border-radius:10px;font-size:26px;color:#14586a;cursor:pointer}.manual-menu summary::-webkit-details-marker{display:none}.manual-menu>div{position:absolute;right:0;top:48px;width:235px;padding:6px;background:white;border:1px solid #dbe5e8;border-radius:12px;box-shadow:0 8px 24px #172f3826}.manual-menu button{display:block;width:100%;min-height:48px;background:white;color:#14586a;font-size:13px;text-align:left;border:0;border-radius:8px}.manual-content{padding:12px 12px 20px}.manual-content .result-field-wrap{min-height:660px}.manual-content .result-field{min-height:600px}.manual-content .result-line{min-height:56px}.manual-content .result-player{min-height:52px;justify-content:center;border-radius:8px}.manual-content .result-player strong{font-size:12px;max-width:100%;line-height:16px}.manual-content .result-player.manual-selected{background:#ffdf723b;outline:3px solid #ffdf72;outline-offset:-1px}.manual-content .result-player .manual-player-target{position:absolute;inset:-3px 0;min-height:48px;width:100%;padding:0;margin:0;border:0;border-radius:8px;background:transparent;z-index:4}.manual-player-target:focus-visible{outline:3px solid #ffdf72;outline-offset:0}.manual-content .result-player:has(.manual-player-target:hover){background:#ffffff16}.manual-footer{position:fixed;bottom:0;left:50%;transform:translateX(-50%);z-index:25;display:grid;grid-template-columns:1fr 1.7fr;gap:12px;width:100%;max-width:720px;padding:14px 16px calc(14px + env(safe-area-inset-bottom));background:#f5f7f8;border-top:1px solid #dbe5e8}.manual-footer button{min-height:52px;border-radius:12px;font-size:15px}.manual-footer button:not(.secondary){background:#14586a;color:white;border:0}.manual-comparison-close{width:100%;margin-bottom:12px;background:#e6f0f1;color:#14586a;border:0}@media(min-width:768px){.manual-header{padding-left:28px;padding-right:28px}.manual-content{padding:20px 28px}.manual-content .result-player strong{font-size:14px}.manual-content .result-field{min-height:660px}}@media(max-height:500px){.manual-header{position:relative}.manual-header .manual-instruction{min-height:0}.manual-metrics{margin-top:8px}}.topbar[hidden]{display:none}.match-result-screen>.screen-heading:has(.result-edit){gap:8px}.match-result-screen>.screen-heading:has(.result-edit) h1{font-size:22px;line-height:30px;white-space:nowrap}.manual-menu summary{border:0;box-shadow:none}.manual-content .result-field{background:#15565a;border-color:#accfca;box-shadow:none}.manual-content .result-field:before{background:repeating-linear-gradient(180deg,#15565a 0,#15565a 12.5%,#1a5e61 0,#1a5e61 25%)}.manual-content .result-shirt{width:28px;height:22px;font-size:10px;border-radius:5px}.manual-content .result-player strong{padding:3px 4px;background:#103f43;font-weight:600}.manual-content .result-half-b .result-player strong{background:#4c402b}.manual-content .result-half-b .result-shirt{background:#eed9a7;border-color:#eed9a7;color:#172f38}.manual-selection-mark{position:absolute;top:-4px;left:4px;background:#ffdf72;color:#193c43;border-radius:50%;width:18px;height:18px;font-size:12px;font-weight:800;line-height:18px}.manual-instruction{display:flex;gap:8px;align-items:center;justify-content:space-between}.manual-instruction button{flex:0 0 40px;min-height:40px;width:40px;padding:0;background:transparent;border:0;color:#14586a;font-size:20px}