#website-posts-section>p{color:var(--muted,#aab1b7);line-height:1.6}
.website-posts-toolbar,.website-post-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
#website-posts-section button{padding:10px 14px;border:1px solid #778087;border-radius:4px}
#website-posts-section button:disabled{opacity:.55;cursor:wait}
#website-posts-list{display:grid;gap:9px;margin:16px 0}
.website-post-list-item{display:grid;grid-template-columns:1fr auto;gap:7px 14px;padding:14px;border:1px solid #495158;border-radius:4px}
.website-post-list-item>span{grid-column:1;color:#aab1b7;font-size:12px}.website-post-list-item>button{grid-column:2;grid-row:1/3}
#website-posts-form{border-top:1px solid #495158;padding-top:20px}
#website-posts-form>label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px}
#website-posts-form>label:has(input[type=checkbox]){flex-direction:row;align-items:center}
#website-posts-form input:not([type=checkbox]),#website-posts-form textarea,#website-posts-form select{box-sizing:border-box;width:100%;padding:11px;color:#fff;background:#20262b;border:1px solid #69747c;border-radius:4px;font:inherit}
#website-posts-form textarea{resize:vertical}.website-post-hint{color:#b0b8bd;font-size:12px;line-height:1.5}
#website-post-image-preview{max-width:180px;max-height:240px;object-fit:contain}
#website-post-publish{background:#f4df13;color:#111;font-weight:bold}
#website-posts-status{border-left:3px solid #f4df13;padding:12px;background:#ffffff0a}
#website-post-preview-dialog{width:min(640px,90vw);max-height:85vh;overflow:auto;padding:28px;background:#fff;color:#171b1e;border:0;border-radius:5px}
#website-post-preview-close{float:right}#website-post-preview-content img{max-width:100%;max-height:400px;object-fit:contain}
#website-post-preview-content{line-height:1.6;overflow-wrap:anywhere}

.website-season-settings{border:1px solid #495158;padding:14px;margin:18px 0;border-radius:4px;font-size:13px;line-height:1.6}
.website-season-settings summary{font-weight:700;cursor:pointer}.website-season-settings p{color:#b0b8bd}
.website-season-settings label{display:flex;align-items:center;gap:9px;margin:13px 0}
.website-season-settings select{padding:8px;background:#20262b;color:#fff;border:1px solid #69747c}

.season-roster-name-group{display:grid;gap:6px;min-width:0}.season-roster-name-group>select{max-width:170px;font-size:12px;padding:5px}

/* Roster editor: one shared field grid instead of interleaved controls. */
.season-roster-card{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px;padding:14px;border-radius:10px;align-items:start}
.season-roster-card::before{position:absolute;top:15px;left:14px;display:flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:5px;background:#ffffff0b;color:#aeb8b0;font:600 12px/1 Arial,sans-serif;content:counter(season-team)}
.season-roster-card .season-roster-name-group{display:flex;align-items:center;grid-column:1/-1;min-height:29px;margin-left:35px;padding-right:38px;min-width:0}
.season-roster-card .season-roster-name-group strong{white-space:normal;overflow:visible;text-overflow:clip;font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.season-roster-card>.season-roster-group,.season-roster-card>.season-roster-position,.season-roster-card>.season-roster-joined{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;align-items:start;justify-self:stretch;width:auto;min-width:0;margin:0;font-size:11px;line-height:1.4;color:#aeb8b0}
.season-roster-card>.season-roster-group{grid-column:1;grid-row:2}.season-roster-card>.season-roster-position{grid-column:2;grid-row:2}
.season-roster-card>.season-roster-joined{grid-column:1/-1;grid-row:3}
.season-roster-card select,.season-roster-card input{box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:42px;min-height:42px;padding:8px 10px;font-size:14px;color:#fff;border-radius:7px;line-height:1.35;margin:0}
.season-roster-card input[type=date]{appearance:none;-webkit-appearance:none;text-align:left}
.season-roster-card>.club-back{position:absolute;right:12px;top:12px;display:inline-flex;align-items:center;justify-content:center;width:34px;min-width:34px;height:34px;min-height:34px;margin:0;padding:7px;border-radius:7px;color:#aeb8b0;background:transparent;border-color:#495149;grid-column:auto;grid-row:auto}
.season-roster-card>.club-back svg{display:block;width:18px;height:18px;flex:none}
.season-roster-card>.club-back:hover{color:#fff;background:#ffffff0c}
@media(min-width:1100px){
 .season-roster-card{grid-template-columns:minmax(160px,1.6fr) minmax(115px,1.15fr) minmax(75px,.65fr) minmax(150px,1.2fr) 36px;align-items:center;gap:14px;padding:14px}
 .season-roster-card::before{top:50%;transform:translateY(-50%)}
 .season-roster-card .season-roster-name-group{grid-column:1;grid-row:1;margin-left:35px;padding-right:0}
 .season-roster-card>.season-roster-group{grid-column:2;grid-row:1}.season-roster-card>.season-roster-position{grid-column:3;grid-row:1}
 .season-roster-card>.season-roster-joined{grid-column:4;grid-row:1}
 .season-roster-card>.club-back{position:static;grid-column:5;grid-row:1;align-self:center;justify-self:end}
}

/* On wider screens roster cards share the space in two equal columns. */
@media(min-width:1250px){
 #season-roster-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
 #season-roster-cards>.season-roster-card{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px;padding:14px;align-items:start}
 #season-roster-cards>.season-roster-card::before{top:15px;transform:none}
 #season-roster-cards .season-roster-name-group{grid-column:1/-1;grid-row:1;min-height:29px;margin-left:35px;padding-right:38px}
 #season-roster-cards .season-roster-group{grid-column:1;grid-row:2}
 #season-roster-cards .season-roster-position{grid-column:2;grid-row:2}
 #season-roster-cards .season-roster-joined{grid-column:1/-1;grid-row:3}
 #season-roster-cards>.season-roster-card>.club-back{position:absolute;right:12px;top:12px;grid-column:auto;grid-row:auto}
}
@media(min-width:1600px){
 #season-roster-cards>.season-roster-card{grid-template-columns:minmax(0,1.2fr) minmax(65px,.6fr) minmax(145px,1.2fr);gap:12px}
 #season-roster-cards .season-roster-group{grid-column:1;grid-row:2}
 #season-roster-cards .season-roster-position{grid-column:2;grid-row:2}
 #season-roster-cards .season-roster-joined{grid-column:3;grid-row:2}
}
/* Social Media / Facebook / website module navigation and separate editor screens. */
.media-center-tiles{margin-top:20px}.media-center-tiles>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;text-align:left;min-height:110px}
.media-center-tiles>button small{font:400 12px/1.5 Arial,sans-serif;color:#aab5ae}
#website-posts-section>h2,#media-center-section>h2,#website-center-section>h2,#website-stats-section>h2{font-size:22px;margin:16px 0}
#website-posts-form{border:0;padding-top:8px}
.website-post-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}
.website-post-editor-main,.website-post-editor-side{min-width:0}
#website-posts-form label{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:13px;line-height:1.4}
#website-posts-form .website-post-remove-label{flex-direction:row;align-items:center}
.website-post-editor-side{border:1px solid #3d493f;border-radius:8px;padding:18px;background:#ffffff03}
.website-post-editor-side h3{font-size:15px;margin:0 0 12px}.website-post-editor-side h3:not(:first-child){margin-top:22px}
#website-post-image-preview{display:block;width:100%;max-width:none;max-height:300px;object-fit:contain;background:#ffffff05;margin-top:12px}
#website-post-image-preview[hidden]{display:none}
#website-post-content{min-height:330px}
.website-post-actions{position:sticky;bottom:0;background:#181c19;padding:14px;border:1px solid #3d493f;border-radius:7px;z-index:2}
#website-posts-section .website-post-actions button{min-height:42px}.website-post-actions #website-post-publish{margin-left:auto}
.website-posts-toolbar{display:flex;align-items:end;justify-content:space-between}.website-posts-search{display:grid;gap:7px;flex:1;max-width:400px;min-width:0;font-size:12px}
#website-posts-search{width:100%;box-sizing:border-box;min-width:0;background:#111612;color:#fff;border:1px solid #465249;border-radius:6px;padding:11px;font:inherit}
.website-posts-filters{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}
#website-posts-section [data-post-filter]{background:transparent;color:#b2bcb5;border-color:#465249}
#website-posts-section [data-post-filter][aria-pressed=true]{background:#f4df13;color:#111;border-color:#f4df13;font-weight:700}
.website-season-settings h3{font-size:17px;margin-top:0}
.website-stats-controls{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:20px 0}.website-stats-controls label{display:grid;gap:7px;font-size:12px}.website-stats-controls select{padding:10px;background:#111612;color:#fff;border:1px solid #465249;border-radius:6px}
.website-stats-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:22px 0}.website-stats-summary>div{display:grid;gap:12px;padding:20px;border:1px solid #3d493f;border-radius:8px}.website-stats-summary span{color:#aeb8b0;font-size:12px}.website-stats-summary strong{font-size:29px;color:#f4df13;font-variant-numeric:tabular-nums}
.website-stats-table{margin:28px 0}.website-stats-table h3{font-size:17px}.website-stats-table-wrap{overflow:auto}.website-stats-table table{width:100%;border-collapse:collapse;font-size:13px}.website-stats-table :is(th,td){text-align:left;padding:12px 9px;border-bottom:1px solid #354037}.website-stats-table th{color:#adb8af}.website-stats-table :is(th,td):not(:first-child){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.website-stats-table td:first-child{overflow-wrap:anywhere}.website-stats-table p,#website-stats-status{font-size:13px;line-height:1.6;color:#b2bcb5}
@media(max-width:1000px){.website-post-editor-grid{grid-template-columns:minmax(0,1fr)}.website-post-editor-side{max-width:none}.website-post-editor-side #website-post-image-preview{max-width:240px}}
@media(max-width:600px){.media-center-tiles{grid-template-columns:1fr}.media-center-tiles>button{min-height:94px}.website-post-actions{bottom:76px;margin-inline:-4px;padding:10px;gap:8px}.website-post-actions #website-post-publish{margin-left:0}.website-posts-toolbar{flex-direction:column;align-items:stretch}.website-stats-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.website-stats-summary>div{padding:14px}.website-stats-summary strong{font-size:24px}.website-post-editor-grid{gap:16px}}

#website-posts-form .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
