/* Screen-size driven web layout. Shared forms and permissions remain unchanged. */
.mobile-website-navigation,.mobile-menu-account{display:none}
.website-layout .desktop-web .schedule-table{table-layout:auto;min-width:0;width:100%}
.website-layout .schedule-table :is(th,td){word-break:normal;overflow-wrap:normal;hyphens:none;vertical-align:top;line-height:1.5;padding:16px 12px}
.website-layout .schedule-col-date{width:15%}.website-layout .schedule-col-club{width:15%}.website-layout .schedule-col-fixture{width:30%}.website-layout .schedule-col-location{width:19%}.website-layout .schedule-col-status{width:15%}.website-layout .schedule-col-action{width:6%}
.website-layout .schedule-event>strong{display:block;text-wrap:pretty;font-size:18px;line-height:1.45}
.website-layout .schedule-event-meta{display:flex;flex-wrap:wrap;column-gap:4px;row-gap:3px;margin-top:6px;line-height:1.5;font-size:14px}
.website-layout .schedule-position{white-space:nowrap}
.website-layout .schedule-table .club-context{font-size:16px;font-weight:600;color:var(--navy);text-wrap:pretty}
.website-layout .schedule-table .schedule-date small{white-space:nowrap}
@media(max-width:1000px){
 .website-layout .schedule-table :is(colgroup,thead){display:none}
 .website-layout .schedule-table,.website-layout .schedule-table tbody{display:block;width:100%}
 .website-layout .schedule-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:18px;gap:10px 16px;border-bottom:1px solid var(--border)}
 .website-layout .schedule-table tr:last-child{border-bottom:0}
 .website-layout .schedule-table td{display:block;padding:0;border:0;min-width:0;overflow-wrap:break-word}
 .website-layout .schedule-table .schedule-event{grid-column:1/-1;grid-row:2}
 .website-layout .schedule-table .schedule-date{grid-column:1;grid-row:1}
 .website-layout .schedule-table .schedule-date strong,.website-layout .schedule-table .schedule-date small{display:inline;margin-right:8px;font-size:14px}
 .website-layout .schedule-table .club-context{grid-column:1/-1;grid-row:3;font-size:14px}
 .website-layout .schedule-table .schedule-location{grid-column:1/-1;font-size:14px;color:var(--muted)}
 .website-layout .schedule-table .schedule-location small{display:inline;margin-left:8px;font-size:14px}
 .website-layout .schedule-table .schedule-status{grid-column:1}
 .website-layout .schedule-table .schedule-open{grid-column:2;align-self:center}
 .website-layout .schedule-table .schedule-open button{min-height:44px;padding:8px 12px;background:#eaf1fb;border-radius:7px}
}
@media(max-width:800px){
 body:has(.mobile-club-menu[open]){overflow:hidden}
 .website-layout{--header-height:76px}
 .website-layout .site-header{position:sticky;top:0;z-index:30;height:auto;background:#ffffffed;backdrop-filter:blur(18px);border-bottom:1px solid var(--border)}
 .website-layout .header-masthead{min-height:76px;height:76px;background:none;padding:8px 18px;display:flex;align-items:center}
 .website-layout .header-masthead:before,.website-layout .header-masthead:after{display:none}
 .website-layout .brand{margin:0;padding:0;color:var(--navy);font-size:22px;display:flex;align-items:center;gap:10px;letter-spacing:-.5px}
 .website-layout .brand img{width:48px;height:48px;object-fit:contain}
 .website-layout .brand small{font-size:12px;color:var(--muted);letter-spacing:normal;margin-top:1px}
 .website-layout .header-menu-bar{height:0;min-height:0;padding:0;display:block;border:0}
 .website-layout .header-menu-bar>nav{display:block;height:0;padding:0;margin:0}
 .website-layout .header-link,.website-layout .club-rail-heading,.website-layout .profile-menu{display:none}
 .website-layout .notification-menu{position:static}
 .website-layout .notification-menu>summary{display:none}
 .website-layout .notification-menu[open]>.notification-dropdown{position:fixed;top:84px!important;left:12px!important;width:calc(100vw - 24px)!important;max-height:calc(100dvh - 178px)!important;z-index:70}
 .website-layout .shell.desktop-web{display:block;min-height:calc(100dvh - 76px)}
 .website-layout .sidebar{display:none}
 .website-layout:has(.mobile-club-menu[open]) .sidebar{display:block;position:fixed;inset:76px 0 calc(70px + env(safe-area-inset-bottom));height:auto;width:auto;max-height:none;padding:20px;overflow-y:auto;background:#f4f7fb;z-index:40;color:var(--navy)}
 .website-layout .sidebar-mobile-title{display:none}
 .website-layout .mobile-menu-account{display:block}
 .mobile-menu-account h2{font-size:20px;margin:0 0 16px}
 .mobile-account-links{display:grid;gap:4px;background:white;border:1px solid var(--border);border-radius:12px;padding:8px;margin-bottom:24px}
 .mobile-account-links button{font-size:16px;text-align:left;padding:12px;min-height:44px}
 .website-layout .sidebar-club{background:white;border:1px solid var(--border);border-radius:12px;margin:0 0 16px;padding:12px}
 .website-layout .sidebar-club nav{display:grid;grid-template-columns:1fr}
 .website-layout .sidebar-club .nav-item{color:var(--navy);font-size:16px;padding:12px;min-height:44px}
 .website-layout .sidebar-club .nav-item.active{background:#eaf1fb;color:#174b89}
 .website-layout .sidebar .club-summary strong{color:var(--navy);font-size:17px}
 .website-layout .sidebar .club-summary small{color:var(--muted)}
 .website-layout .content{padding:20px 16px 24px;max-width:none}
 .website-layout .page-heading{display:flex;flex-wrap:wrap;gap:12px;align-items:start}
 .website-layout .page-heading-text{flex:1;min-width:0}
 .website-layout .page-header h1{font-size:28px;line-height:1.25}
 .website-layout .page-club-name{font-size:14px;letter-spacing:normal}
 .website-layout .page-season{flex-basis:100%;width:100%}
 .website-layout .page-season select{width:100%;min-height:44px}
 .website-layout .season-label{display:flex;justify-content:space-between}
 .website-layout .page-toolbar{display:block}
 .website-layout .page-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:12px}
 .website-layout .toolbar{flex-wrap:wrap;gap:12px}
 .website-layout .toolbar .inline-label{width:100%}
 .website-layout .toolbar select{width:100%;min-height:44px}
 .website-layout .simple-dashboard{gap:20px}
 .website-layout .dashboard-top{grid-template-columns:1fr;gap:20px}
 .website-layout .dashboard-top .dashboard-hero{min-height:0;padding:24px}
 .website-layout .dashboard-top .dashboard-hero h2{font-size:26px;padding-right:32px}
 .website-layout .dashboard-top .hero-art{width:64px;height:64px;right:20px;opacity:.12}
 .website-layout .hero-date{font-size:18px}
 .website-layout .dashboard-top .dashboard-side-summary{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:12px}
 .website-layout .dashboard-side-summary .dashboard-shortcut{padding:16px;min-height:130px}
 .website-layout .dashboard-shortcut>strong{font-size:30px}
 .website-layout .dashboard-shortcut>span:first-of-type{font-size:16px}
 .website-layout .dashboard-shortcut>small{font-size:14px}
 .website-layout .club-site-footer{margin-bottom:calc(80px + env(safe-area-inset-bottom));padding:16px;gap:12px;flex-wrap:wrap;font-size:12px}
 .mobile-website-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;min-height:70px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(20px);border-top:1px solid var(--border);z-index:60}
 .mobile-website-navigation>button,.mobile-website-navigation summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;padding:4px;color:#536983;font-size:11px;line-height:16px;border-radius:9px;cursor:pointer;list-style:none}
 .mobile-website-navigation summary::-webkit-details-marker{display:none}
 .mobile-website-navigation svg{width:23px;height:23px}
 .mobile-website-navigation [aria-current],.mobile-club-menu[open] summary{background:#eaf1fb;color:#174b89}
 .mobile-website-navigation b{font-size:10px;margin-left:3px;background:#174b89;color:white;border-radius:8px;padding:1px 4px}
 .modal-overlay{padding:0;align-items:stretch}
 .modal-overlay .modal{width:100%;max-width:none;border-radius:0;max-height:100dvh;height:100dvh;display:flex;flex-direction:column}
 .modal header{flex:none;padding:18px 16px}
 .modal .modal-body{padding:20px 16px;overflow-y:auto;flex:1;min-height:0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
 .modal .form-grid,.website-layout .setup-grid,.website-layout .stats{grid-template-columns:1fr}
 .modal .actions,.website-layout .actions{flex-wrap:wrap;gap:10px}
 .website-layout .setup-panel{padding:18px}
 .website-layout .rink-rosters{grid-template-columns:1fr}
 .website-layout .intentions-management{flex-wrap:wrap}
 .website-layout .panel{min-width:0}
}
