/* MSK v2: shared responsive application components. */
.loading-screen{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;color:#748468}.loading-screen img{width:62px}.loading-screen p{font-size:13px}button:disabled{cursor:default;opacity:.45;transform:none!important}.tag .icon{width:13px;height:13px}.empty-state{padding:48px 24px;text-align:center;grid-column:1/-1;background:#ffffff80;border:1px dashed #d7dfc7;border-radius:9px}.empty-state>.icon{width:31px;height:31px;color:#98ad74;margin-bottom:15px}.empty-state h3{font-size:16px;margin-bottom:10px}.empty-state p{font-size:12px;line-height:2;color:#8b967a;max-width:380px;margin:auto}.public-empty{background:white;border:1px solid var(--line);border-radius:8px;padding:30px}.public-empty>span{font-family:'Barlow Condensed';font-size:23px;letter-spacing:.12em}.public-empty p{font-size:12px;color:#889577;line-height:2;margin-top:10px}.bottom-nav{display:none}.compact-heading{margin:28px 0 18px}.compact-heading h2{font-size:20px}.activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.activity-card{background:white;border:1px solid var(--line);border-radius:11px;padding:25px;min-width:0}.activity-top{display:flex;align-items:start;gap:21px}.activity-top .event-date{padding:1px 20px 0 0;min-width:65px}.activity-top h2{font-size:17px;line-height:1.7;margin:10px 0 7px;overflow-wrap:anywhere}.activity-tags{display:flex;gap:7px;flex-wrap:wrap}.activity-top .event-meta{font-size:12px;line-height:1.9;display:flex;align-items:baseline;gap:7px;flex-wrap:nowrap;margin-top:3px;overflow-wrap:anywhere}.activity-top .event-meta .icon{width:14px;height:14px;align-self:start;margin-top:5px}.activity-notes{font-size:12px;line-height:2;white-space:pre-wrap;color:#7e8b6e;margin-top:19px;padding:12px 14px;background:#f6f7f0;border-radius:6px;overflow-wrap:anywhere}.registration-list{border-top:1px solid var(--line);margin-top:21px;padding-top:16px}.registration-list>p{display:flex;align-items:center;gap:7px;font-size:12px}.registration-list>p>.icon{width:16px;height:16px}.registration-list b{font-size:13px;margin-left:3px}.registration-list>p>small{margin-left:auto;color:#9aa388;font-size:10px;white-space:nowrap}.participant-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.participant-chip{display:inline-flex;align-items:center;gap:6px;background:#f3f5ed;padding:5px 10px 5px 5px;border-radius:25px;font-size:12px;max-width:100%;overflow-wrap:anywhere;min-height:32px}.participant-chip i{display:inline-flex;align-items:center;justify-content:center;background:#e5ebd3;border-radius:50%;width:23px;height:23px;font-size:10px;font-style:normal;flex-shrink:0}.participant-chip i.peach{background:#f1dfce}.participant-chip i.blue{background:#dce9e8}.participant-chip i.lilac{background:#e5e1f1}.participant-chip.mine{background:#f0f4d8;border:1px solid #d9e4aa;padding:4px 9px 4px 4px}.participant-chip>small{font-size:9px;color:#94a56f}.roster-empty{display:block;font-size:11px;line-height:1.9;color:#98a184;padding:16px 0 2px}.activity-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:21px}.activity-actions>.btn{flex:1;gap:7px;padding:11px 12px;font-size:12px;white-space:nowrap;min-height:44px}.activity-actions>.btn .icon{width:17px;height:17px}.activity-actions>.btn:only-child{flex:0 1 auto;min-width:150px}.selected-event{padding:18px 21px;background:white;border:1px solid var(--line);border-radius:8px}.selected-event h2{font-size:20px;overflow-wrap:anywhere}.selected-event .match-summary{font-size:12px;color:#8b967b;gap:15px;line-height:1.8}.event-picker{max-width:600px}.form-field select,.form-field textarea{width:100%;padding:12px;border:1px solid #d7deca;border-radius:6px;background:#fbfcf8;color:var(--green);font:inherit;font-size:14px;max-width:100%;min-width:0}.form-field textarea{resize:vertical}.form-field input,.form-field select{min-height:46px}.draw-hint{font-size:12px;color:#8c987b;flex:1;min-width:200px}.round-toolbar{display:flex;align-items:center;justify-content:space-between;gap:13px;background:#eaf0dc;border:1px solid #dae2c7;border-radius:8px;padding:9px;margin:22px 0;position:sticky;top:12px;z-index:5;scroll-margin-top:18px;box-shadow:0 5px 12px #f6f5efaa}.round-toolbar>button{width:44px;height:44px;border-radius:6px;background:white;font-size:26px;line-height:1}.round-toolbar>label{display:flex;align-items:center;gap:13px}.round-toolbar>label>span{font-family:'Barlow Condensed';font-size:17px;letter-spacing:.05em}.round-toolbar select{background:white;border:0;border-radius:5px;padding:11px 14px;color:var(--green);font-size:14px;min-height:44px}.court-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.court-label{padding:13px 19px;font-size:12px}.court-label .tag{font-size:10px}.teams{padding:25px 20px 14px;gap:13px}.team{font-size:14px;gap:12px;min-width:0;flex:1;align-items:start}.team span{overflow-wrap:anywhere;display:flex;align-items:baseline;gap:8px;max-width:100%;line-height:1.7}.team em{flex-shrink:0;align-self:start;margin-top:3px}.team .my-player{font-weight:700}.vs{font-size:21px;flex-shrink:0;padding:0 10px}.court-score{font-size:42px;margin:5px 20px 18px;gap:30px}.court-footer{margin:0 19px 19px}.court-footer .btn{min-height:44px;gap:8px;font-size:12px}.court-footer .icon{width:16px;height:16px}.round-heading{align-items:center}.round-heading strong{font-size:23px}.round-heading small{font-size:11px}.rest-list{display:flex;align-items:start;gap:9px;font-size:12px;line-height:2;color:#8b9878;margin:16px 3px}.rest-list .icon{width:16px;height:16px;margin-top:4px;flex-shrink:0}.draw-footer-info{font-size:11px;text-align:center;color:#98a184;margin-top:18px}.ranking-description{color:#899777;font-size:12px;line-height:1.9;margin-bottom:11px}.rank-name{overflow-wrap:anywhere;min-width:0}.rank-row .rank-name{font-size:14px}.rank-row .rank-name small{font-size:11px;line-height:1.9;margin-top:3px}.rank-score small{font-size:11px}.points-label{font-size:12px;color:#96a17e;margin-left:9px;white-space:nowrap}.rank-list{max-width:700px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.photo-card{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;padding:0;text-align:left}.photo-card img{width:100%;height:225px;object-fit:cover}.photo-card>div{padding:19px}.photo-card h2{font-size:15px;overflow-wrap:anywhere}.photo-card p{font-size:11px;color:#8e9a7b;margin-top:9px}.admin-users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.admin-user-card{background:white;border:1px solid var(--line);border-radius:9px;padding:23px;min-width:0}.admin-user-card>div:first-child{display:flex;align-items:center;gap:12px}.admin-user-card>div:first-child>div{flex:1;min-width:0}.admin-user-card h3{font-size:15px;overflow-wrap:anywhere}.admin-user-card p{font-size:11px;color:#8e997c;margin-top:3px}.user-admin-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.permission-toggle{display:flex;align-items:center;gap:9px;min-height:44px;font-size:12px;cursor:pointer;width:100%}.permission-toggle input{width:19px;height:19px;accent-color:var(--green);flex-shrink:0}.user-role{padding-top:18px;font-size:11px;color:#83956d}.setup-shell{max-width:550px;margin:50px auto 100px;padding:0 20px}.setup-shell>.brand{margin-bottom:30px}.setup-shell>.panel{padding:32px}.setup-shell h1{font-size:24px;margin:12px 0 16px}.setup-back{display:block;text-align:center;font-size:12px;margin-top:23px;color:#8a9779}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px;min-width:0}.form-columns>*{min-width:0}.generation-summary{background:#f0f4e3;border-radius:7px;padding:17px;margin-bottom:19px}.generation-summary b{font-size:14px}.generation-summary p{font-size:12px;color:#879574;margin-top:7px;line-height:1.9}.cancel-registration{justify-content:center;margin:20px auto 0;padding:7px;font-size:12px;min-height:44px}.registration-disclaimer{font-size:11px;margin:15px 0 0}.workspace .mini-note{font-size:12px;line-height:2}.workspace .info-line{font-size:12px;line-height:1.9}.workspace .form-field{font-size:12px}.workspace .panel-title h2{font-size:17px}dialog .form-field{font-size:13px}dialog .form-field input,dialog .form-field select,dialog .form-field textarea{font-size:16px}dialog .form-field small{font-size:11px}dialog .modal-copy{font-size:12px}dialog .form-error{font-size:12px;line-height:1.8}dialog .member-choice .name{font-size:14px}dialog .member-choice small{font-size:11px}dialog .modal-summary{font-size:13px}.close-modal{width:44px;height:44px;right:8px;top:5px;display:grid;place-items:center}.sidebar-user{overflow-wrap:anywhere;min-width:0}.sidebar-user>span:last-child{min-width:0}.header-tools button{min-width:42px;min-height:42px;display:flex;align-items:center;justify-content:center;border-radius:6px;font-size:24px}.header-tools button:hover{background:#edf2e1}.public-header .btn{white-space:nowrap}.public-event h3{overflow-wrap:anywhere}.family-card h2{overflow-wrap:anywhere}.modal-title{padding-right:10px;overflow-wrap:anywhere}
@media(max-width:1100px){.activity-grid,.admin-users{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-top h2{font-size:18px}.workspace .page-heading h1{font-size:25px}.selected-event h2{font-size:19px}}
@media(max-width:750px){.dashboard{display:block}.sidebar{position:relative;inset:auto;width:100%;padding:17px 20px;background:var(--green)}.sidebar>.brand{margin:0}.sidebar .brand img{width:36px;height:36px}.sidebar .brand strong{font-size:15px}.sidebar .brand small{font-size:8px}.sidebar .side-nav,.sidebar .sidebar-caption,.sidebar .side-note,.sidebar .sidebar-user{display:none}.workspace-header{height:50px;padding:0 20px;position:sticky;top:0;z-index:10}.breadcrumbs{font-size:10px;white-space:nowrap}.header-tools{gap:4px}.header-tools>span{display:none}.workspace-content{padding:25px 20px calc(108px + env(safe-area-inset-bottom))}.bottom-nav{position:fixed;display:flex;align-items:center;justify-content:space-around;bottom:0;left:0;right:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#fffef9f5;border-top:1px solid #dce2ce;z-index:20;backdrop-filter:blur(16px)}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:53px;flex:1;border-radius:8px;color:#929c80;max-width:110px}.bottom-nav .icon{width:22px;height:22px}.bottom-nav span{font-size:10px;line-height:1.4;font-weight:600}.bottom-nav button.active{color:var(--green);background:#edf2dc}.bottom-nav button.active .icon{stroke-width:2}.activity-grid{grid-template-columns:1fr;gap:18px}.activity-card{padding:23px;border-radius:10px}.activity-top{gap:19px}.activity-top .event-date{min-width:57px;padding-right:18px}.activity-top .event-date b{font-size:42px}.activity-top .event-date small{font-size:9px;letter-spacing:.06em}.activity-top .event-date em{font-size:10px}.activity-top .event-meta{font-size:12px}.activity-top h2{font-size:17px}.activity-top .tag{font-size:11px}.registration-list>p{font-size:12px}.activity-actions>.btn{font-size:13px;min-height:46px}.compact-heading{flex-wrap:wrap;gap:14px;align-items:center}.compact-heading h2{font-size:20px}.compact-heading .segmented{min-height:40px}.segmented button{font-size:12px;padding:8px 12px;white-space:nowrap}.page-heading{display:block}.workspace .page-heading h1{font-size:24px;line-height:1.6;overflow-wrap:anywhere}.workspace .page-heading p:not(.overline){font-size:12px;line-height:1.9}.workspace .page-heading>.btn,.workspace .page-heading>.segmented{margin-top:16px}.page-heading .btn{font-size:12px;min-height:44px}.welcome-banner{padding:25px;min-height:167px}.welcome-banner h2{font-size:22px}.welcome-banner h2 span{display:block}.welcome-banner p{font-size:11px;line-height:1.9;max-width:250px}.court-art{width:118px;min-width:118px;height:90px;margin-right:-55px}.stat-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:18px 16px}.stat-top{font-size:11px}.stat-value b{font-size:37px}.stat-value span{font-size:11px}.selected-event{padding:20px}.selected-event h2{font-size:18px}.selected-event .match-summary{gap:10px;font-size:12px}.match-tabs{gap:24px}.match-tabs button{font-size:13px;min-height:49px}.match-controls{gap:15px;margin:20px 0}.match-controls>.btn{min-height:46px;font-size:13px;width:100%}.draw-hint{font-size:12px;line-height:1.9}.round-toolbar{top:60px;scroll-margin-top:60px;padding:8px;margin:20px 0}.round-toolbar select{font-size:16px;padding:9px 11px}.court-grid{grid-template-columns:1fr;gap:14px}.court-label{padding:14px 20px;font-size:12px}.court-label .tag{font-size:11px}.teams{padding:25px 20px 15px}.team{font-size:15px;gap:11px}.team span{gap:8px;line-height:1.8}.team em{width:22px;height:22px;font-size:11px;margin-top:3px}.vs{font-size:21px;padding:0 3px}.court-score{font-size:44px;margin:8px 20px 21px;gap:33px}.court-footer{margin:0 20px 20px}.court-footer .btn{min-height:46px;font-size:13px}.round-heading strong{font-size:24px}.round-heading small{font-size:11px}.rest-list{font-size:12px;padding:8px 0;margin-bottom:8px}.rank-row{padding:17px 0}.rank-row .rank-name{font-size:14px}.rank-row .rank-name small{font-size:11px}.rank-number{font-size:28px}.rank-score{font-size:30px}.podium-grid{grid-template-columns:1fr;gap:18px}.panel{padding:23px 20px}.ranking-description{font-size:12px}.points-label{font-size:12px}.photo-grid{grid-template-columns:1fr;gap:17px}.photo-card img{height:260px}.photo-card h2{font-size:16px}.photo-card p{font-size:12px}.admin-users{grid-template-columns:1fr}.admin-user-card{padding:20px}.admin-user-card h3{font-size:16px}.admin-user-card .tag{font-size:10px}.permission-toggle{font-size:12px}.user-admin-actions .btn{min-height:44px;font-size:12px}.family-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.family-card{padding:21px 16px}.family-card .tag{font-size:9px;top:14px;right:12px}.family-card .avatar{width:52px;height:52px;font-size:23px;margin:20px 0 15px}.family-card h2{font-size:18px}.family-card .member-handle{font-size:9px}.family-metrics{gap:22px;margin-top:20px}.family-metrics b{font-size:29px}.family-metrics span{font-size:10px}.family-card .btn{font-size:11px;padding:10px 5px;min-height:44px}.family-add{min-height:280px;padding:10px}.family-add b{font-size:12px}.family-add small{font-size:10px}.workspace .info-line{font-size:12px;padding:16px}.stats-layout{grid-template-columns:1fr}.big-chart{gap:16px}.big-chart .chart-item{font-size:12px}.form-field{font-size:13px}.form-field input,.form-field select,.form-field textarea{font-size:16px;min-width:0;max-width:100%}.event-picker{margin-bottom:20px}dialog{padding:34px 23px 25px;border-radius:13px;width:calc(100% - 24px);max-width:490px;max-height:calc(100dvh - 32px)}dialog .modal-title{font-size:23px;line-height:1.6}dialog .modal-copy{font-size:13px;line-height:1.9}dialog .form-field{font-size:13px}dialog .form-field input,dialog .form-field select,dialog .form-field textarea{min-height:48px;padding:11px 12px;font-size:16px}dialog .btn.full{min-height:49px;font-size:14px}dialog .form-error{font-size:12px}dialog .member-choice{padding:14px 12px}dialog .member-choice .name{font-size:15px}dialog .member-choice small{font-size:11px}dialog .form-columns{gap:12px}dialog .form-columns select{padding-right:5px}.generation-summary{padding:16px}.generation-summary p{font-size:12px}.score-inputs input{font-size:37px;width:90px;min-height:72px}.modal-bottom{font-size:12px}.modal-bottom button{font-size:12px;min-height:44px}.modal-kicker{font-size:12px}.setup-shell{margin:27px auto 100px}.setup-shell>.panel{padding:26px 22px}.setup-shell h1{font-size:22px}.setup-shell .modal-copy{font-size:13px}.setup-shell>.brand{margin-bottom:24px}.setup-shell .btn{min-height:48px}.setup-shell .form-field input{font-size:16px}#toast{top:13px;font-size:12px;min-width:230px;max-width:calc(100% - 30px);white-space:normal;padding:13px 18px}.public-header{gap:9px}.public-header .brand strong{font-size:14px}.public-header .brand small{font-size:7px}.public-header .btn{font-size:11px;min-height:44px;padding:10px 12px;gap:7px}.hero p{font-size:12px}.hero .btn{min-height:46px;font-size:12px}.hero .text-link{font-size:11px}.hero-actions{flex-wrap:wrap}.hero-foot{font-size:9px}.public-nav{gap:0}.public-event{align-items:start}.public-event h3{font-size:14px}.public-event p{font-size:12px}.public-event:after{content:none}.public-event .tag{font-size:11px}.public-footer{font-size:11px}.intro-copy p{font-size:13px}.join-section p{font-size:12px}.join-section .btn{font-size:13px;min-height:47px}.join-section .overline{font-size:11px}.public-empty p{font-size:13px}.album-large{max-height:65dvh;object-fit:contain}.family-mini span{overflow-wrap:anywhere}}
@media(max-width:359px){.wrap{padding:0 13px}.public-header .brand strong{font-size:12px}.public-header .brand img{width:33px;height:33px}.public-header .btn{padding:10px;font-size:10px}.public-header .btn>.icon:first-child{display:none}.hero h1{font-size:39px}.hero-copy{padding:27px 22px}.hero-actions{gap:12px}.hero .text-link{font-size:10px}.workspace-content{padding-left:14px;padding-right:14px}.activity-card{padding:19px}.activity-top{gap:14px}.activity-top .event-date{padding-right:14px}.activity-top h2{font-size:16px}.activity-actions>.btn{font-size:12px}.compact-heading .segmented button{font-size:11px;padding:8px 10px}.participant-chip{font-size:11px}.bottom-nav span{font-size:9px}.family-card{padding:18px 12px}.family-metrics{gap:18px}.family-card .btn{font-size:10px}.workspace .page-heading h1{font-size:22px}.breadcrumbs{font-size:9px}.match-tabs{gap:19px}.match-tabs button{font-size:12px}.team{font-size:14px}.team em{width:19px;height:19px}.form-columns{grid-template-columns:1fr}}
@media(max-width:750px){.workspace-content>.welcome-banner{display:none}.workspace .page-heading h1{font-size:22px}.compact-heading{margin-top:24px}.workspace-content>.page-heading{margin-bottom:20px}}
