: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}