/* Responsive finishing layer: final overrides after every legacy stylesheet. */
html,body{min-width:0;margin:0}body{overflow-wrap:normal}.top{height:auto!important;min-height:78px;display:flex!important;flex-wrap:wrap!important;gap:16px!important;padding-top:16px!important;padding-bottom:16px!important}.top .brand{flex:0 0 auto!important;min-width:200px!important;max-width:100%;gap:10px!important}.top .brand>span:last-child{flex:0 1 auto!important;min-width:0!important;width:auto!important}.top .brand b{display:block!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.2!important}.top .brand small{display:block!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;max-width:210px;line-height:1.4!important}.top .brand-mark{width:42px!important;height:44px!important;min-width:42px!important;flex:0 0 42px!important}.top .account{flex:0 1 auto!important;max-width:100%;min-width:0;display:flex!important;flex-wrap:wrap!important;gap:8px!important}.top .account .btn{white-space:nowrap;min-height:38px}.top .ys-nav-group summary{color:#d4dff0!important;min-height:40px;display:flex;align-items:center;gap:6px}.top .ys-nav-group summary::after{margin-left:0}.top .ys-nav-group:not([open])>.ys-nav-dropdown{display:none!important}.top .ys-nav-dropdown{box-sizing:border-box;max-width:calc(100vw - 32px);overflow-wrap:normal}.top .ys-grouped-nav{overflow:visible!important}.adstrip{min-width:0;max-width:100%;display:flex;gap:12px}.adstrip>a{min-width:0;max-width:100%;flex:1;overflow:hidden;box-sizing:border-box}.adstrip img{display:block;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain}.panel,.manage-row,.form-grid,.form-grid>*,.page-head,.league-filter{min-width:0}.form-grid input,.form-grid select,.form-grid textarea{max-width:100%;min-width:0;box-sizing:border-box}.table-wrap{width:100%;max-width:100%;overflow-x:auto}.ys-module-app main>table{display:block;overflow-x:auto;max-width:100%}.ys-module-app form{min-width:0}.ys-module-app form>*{min-width:0;max-width:100%}button,input,select,textarea{font-family:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #dc2c4a;outline-offset:3px}.ys-team-picker{border-top:3px solid #db2447}.ys-selected-team>.manage-row{align-items:start}.ys-selected-team details>summary{font-weight:700;padding:12px 0;color:#213b60}.ys-selected-team form{gap:14px}.ys-selected-team .coach-assign-form{padding:16px!important;border-radius:12px!important;background:#f5f7fb!important}
@media(max-width:1000px){.top .ys-grouped-nav{flex:1 0 100%!important;order:3;gap:4px 20px!important}.top .account{margin-left:auto!important}.top .brand{min-width:190px!important}}
@media(max-width:640px){.top{position:relative!important;min-height:0!important;padding:14px 16px!important;gap:12px!important;align-items:center!important}.top .brand{flex:1 1 100%!important;min-width:0!important;width:100%!important}.top .brand>span:last-child{min-width:180px!important;flex:1 1 auto!important}.top .brand b{font-size:17px!important}.top .brand small{font-size:10px!important;max-width:none!important}.top .account{order:2;width:100%!important;flex:1 1 100%!important;margin:0!important;justify-content:flex-start!important;gap:8px!important}.top .account .btn{font-size:12px!important;padding:8px 11px!important;min-height:38px}.top .ys-account-menu{margin-left:auto;max-width:100%;min-width:0}.top .ys-account-menu summary{font-size:12px;max-width:165px;white-space:normal;word-break:normal;overflow-wrap:break-word}.top .ys-grouped-nav{order:3;border-top:1px solid #ffffff14;padding-top:8px!important;margin:0!important;gap:2px 14px!important;justify-content:flex-start!important;width:100%!important}.top .ys-grouped-nav>a,.top .ys-grouped-nav summary{font-size:12px!important;padding:8px 0!important;min-height:36px!important}.top .ys-nav-group{position:static}.top .ys-nav-dropdown{left:16px!important;right:16px!important;top:auto!important;width:auto!important;min-width:0!important;max-width:none!important;z-index:150}.top .ys-account-menu .ys-nav-dropdown{top:auto!important}.top .ys-nav-dropdown a{min-height:42px;white-space:normal!important}.wrap{padding-left:14px!important;padding-right:14px!important}.hero{margin-top:16px!important;padding:26px 22px!important;border-radius:18px!important}.hero h1{font-size:clamp(28px,8vw,38px)!important;line-height:1.15!important}.hero p{font-size:13px!important;line-height:1.7!important}.hero-actions{flex-wrap:wrap;gap:8px}.hero-actions .btn{min-height:42px;font-size:12px!important;padding:10px 12px!important}.adstrip{display:grid;grid-template-columns:minmax(0,1fr)}.adstrip>a{width:100%}.page-head{display:flex!important;flex-direction:column;align-items:stretch!important;gap:14px!important}.page-head h2{font-size:23px!important}.league-filter,.league-filter label,.league-filter select{width:100%!important;max-width:100%!important}.panel{padding:18px 14px!important;border-radius:14px!important}.form-grid{grid-template-columns:minmax(0,1fr)!important}.form-grid label,.form-grid .wide{grid-column:auto!important;width:100%}.form-grid input,.form-grid select,.form-grid textarea{width:100%;font-size:16px;min-height:44px}.score-form,.coach-assign-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.score-form label,.coach-assign-form label{min-width:0}.score-form button,.coach-assign-form button{grid-column:1/-1}.manage-row{flex-wrap:wrap!important;gap:14px}.manage-row>div{min-width:0;max-width:100%}.ys-selected-team .manage-row>div{width:100%}.loginbox{width:auto!important;max-width:none!important;margin:18px 14px!important;padding:0!important}.loginbox>.panel{max-width:100%!important;width:100%!important}.loginbox input,.loginbox select{font-size:16px!important;min-height:44px}.loginbox input[type=checkbox]{min-height:0}.cookie-banner,.cookie-consent,[role=dialog]{max-width:calc(100vw - 24px);box-sizing:border-box}.match-detail .detail-score{gap:8px!important}.match-detail .detail-score img{max-width:52px;max-height:52px}.profile-tabs{display:flex;flex-wrap:wrap;gap:8px}.profile-tabs a,.profile-tabs button{font-size:12px;min-height:40px;white-space:normal}.ys-module-app>header{padding:18px 16px}.ys-module-app>main{padding:24px 14px}.ys-module-app form:not(#ys-profile-form){display:grid;grid-template-columns:minmax(0,1fr)}.ys-module-app form input,.ys-module-app form select,.ys-module-app form textarea{font-size:16px!important;width:100%}.ys-module-app form input[type=checkbox]{width:auto}.ys-module-app .ys-profile-card form:not(#ys-profile-form)>input,.ys-module-app .ys-profile-card form:not(#ys-profile-form)>select{width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.ys-mobile-menu-toggle{display:none}.ys-account-menu summary{list-style:none}
@media(max-width:640px){.top .brand{flex:1 1 calc(100% - 100px)!important;width:auto!important;max-width:calc(100% - 90px)!important}.top .brand>span:last-child{min-width:0!important}.top .brand small{max-width:190px!important}.ys-mobile-menu-toggle{display:flex;align-items:center;justify-content:center;min-height:40px;gap:8px;background:#ffffff0c;color:#e5edfa;border:1px solid #ffffff25;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:700;cursor:pointer}.top.ys-mobile-ready .ys-grouped-nav{display:none!important}.top.ys-mobile-ready.ys-menu-open .ys-grouped-nav{display:flex!important}.top.ys-mobile-ready.ys-menu-open .ys-grouped-nav{flex-direction:column;align-items:stretch!important;gap:0!important}.top.ys-mobile-ready.ys-menu-open .ys-grouped-nav>a,.top.ys-mobile-ready.ys-menu-open .ys-grouped-nav summary{padding:11px 4px!important}.top.ys-mobile-ready.ys-menu-open .ys-nav-dropdown{position:static;max-width:100%;margin:0 0 8px;box-shadow:none}.top .ys-account-menu .ys-nav-dropdown{position:absolute;left:16px!important;right:16px!important;box-shadow:0 10px 30px #0003}}

/* Shared panel rhythm and public directories. */
.ys-module-app main>h1,.ys-directory-heading h1{font-size:30px;letter-spacing:-.8px;margin:8px 0 12px}.ys-directory-heading>p{font-size:14px;color:#718198;line-height:1.7}.ys-directory-manage{display:inline-flex;padding:10px 15px;background:#fff;border:1px solid #dce3ed;border-radius:9px;text-decoration:none;color:#354a69;font-size:13px;font-weight:600}.ys-module-app main>form{border:1px solid #e1e7ef;border-radius:13px;box-shadow:0 3px 12px #20345003;padding:20px;gap:12px}.ys-module-app input,.ys-module-app select,.ys-module-app textarea{border:1px solid #dbe3ef;border-radius:8px;min-height:43px;background:#fcfdff;color:#22344f}.ys-module-app button{border-radius:8px;font-size:13px;font-weight:700;min-height:43px;background:#d92648}.ys-module-app input[type=checkbox]{min-height:0;accent-color:#d92648}.ys-module-app main>h2,.ys-module-app main>h3{margin-top:32px;letter-spacing:-.4px}.ys-ref-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}.ys-ref-directory .panel{margin:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 18px!important;border:1px solid #e2e8f1;box-shadow:0 4px 15px #13254204;border-radius:14px}.ys-ref-directory .panel img{border-radius:50%;width:74px;height:74px;object-fit:cover;background:#f0f3f8;margin-bottom:15px}.ys-ref-directory .panel>a{font-size:14px;text-decoration:none;font-weight:750;color:#203553;line-height:1.5}.ys-ref-directory .panel p{font-size:12px;color:#76869d;line-height:1.8;margin-bottom:0}.ys-module-app .panel{border:1px solid #e1e7ef;box-shadow:0 3px 12px #13244003}.ys-responsive-table{margin:12px 0;border:1px solid #e2e8f1;border-radius:10px;background:#fff}.ys-responsive-table table{margin:0!important}.ys-responsive-table:focus-visible{outline:2px solid #315981;outline-offset:3px}.ys-module-app table th{background:#f3f6fa;font-size:12px;color:#5c708c}.ys-module-app table td{font-size:13px}.ys-module-app form textarea{line-height:1.7}.ys-module-app .flash{border:1px solid #e7dcae;border-radius:10px;font-size:14px;line-height:1.6}
@media(max-width:900px){.ys-ref-directory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.ys-ref-directory{grid-template-columns:minmax(0,1fr);gap:12px}.ys-ref-directory .panel{align-items:flex-start;text-align:left}.ys-directory-heading h1{font-size:26px}.ys-module-app main>form{padding:16px}.ys-module-app main>h1{font-size:26px}}

.loginbox label[hidden]{display:none!important}.loginbox label{font-size:13px!important;font-weight:600!important}.loginbox h3{font-size:21px!important}.loginbox .ys-register-help{font-size:12px!important;line-height:1.75!important}.admin-content{font-size:14px}.admin-content h3{font-size:19px}.admin-content label{font-size:13px;font-weight:600;line-height:1.5}.admin-content .muted{font-size:12px;line-height:1.7}.admin-content .manage-row small{font-size:12px}.admin-nav a{font-size:13px!important;min-height:40px;display:flex;align-items:center}.admin-layout{gap:22px}.admin-content .panel{box-shadow:0 4px 16px #14274404;border:1px solid #e1e7f0}.admin-content input,.admin-content select,.admin-content textarea{min-height:41px;border-radius:8px}.admin-content input[type=checkbox]{min-height:0}.admin-content .btn{min-height:39px;font-size:12px}.admin-content .manage-row{padding-top:18px;padding-bottom:18px}.kf-cookie-note{box-sizing:border-box}
@media(max-width:640px){.admin-layout{display:block!important}.admin-nav{position:static!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:7px;padding:10px!important;margin-bottom:18px;width:100%;max-width:100%;border-radius:12px;scrollbar-width:thin}.admin-nav .admin-label{display:none}.admin-nav a{flex:0 0 auto;min-height:40px;white-space:nowrap;font-size:12px!important;padding:10px 14px!important;margin:0!important}.admin-content input,.admin-content select,.admin-content textarea{font-size:16px!important;min-height:44px}.kf-cookie-note{left:10px!important;right:10px!important;bottom:10px!important;width:auto!important;max-width:none!important;padding:13px!important;border-radius:12px!important}.kf-cookie-note p{font-size:12px!important;line-height:1.6!important;margin:0 0 10px!important}.kf-cookie-actions{display:flex!important;gap:7px!important;flex-wrap:wrap}.kf-cookie-actions .btn{font-size:11px!important;min-height:40px;padding:9px 10px!important;flex:1 1 140px}}
