.weekly-share-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border:1px solid #168c7750;border-radius:18px;margin:20px 0;background:linear-gradient(110deg,#087f8320,transparent)}.weekly-share-bar small{display:block;margin-top:6px;font-size:14px}.weekly-share-bar button{white-space:nowrap}#weeklyDialog{width:min(1100px,96vw);max-width:96vw;max-height:94dvh;overflow:auto;padding:24px;box-sizing:border-box}#weeklyDialog::backdrop{background:#071c2dbb}.weekly-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.weekly-preview{background:#e8ebee;border-radius:16px;padding:16px;align-self:start;position:sticky;top:0}#weeklyCanvas{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain}.weekly-pages,.weekly-actions,.weekly-bottom{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:14px}.weekly-controls label{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:14px}.weekly-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.weekly-controls input,.weekly-controls select{min-width:0;width:100%;box-sizing:border-box;font-size:16px}.weekly-controls input[type=color]{height:42px;padding:4px}.weekly-controls input[type=checkbox]{width:20px;height:20px;flex:none}.weekly-checks label,#weeklyMatches label{flex-direction:row;align-items:center}#weeklyMatches{max-height:220px;overflow:auto}#weeklyMatches label{padding:10px;border-bottom:1px solid #8293a644}.weekly-bottom{position:sticky;bottom:-24px;padding:14px 0;background:var(--bg,#fff);border-top:1px solid #8293a655;flex-wrap:wrap}#weeklyMessage{font-size:14px}#weeklyDialog button{min-height:44px}#weeklyDialog button:disabled{opacity:.45;cursor:default}@media(max-width:700px){.weekly-share-bar{padding:15px;flex-wrap:wrap}.weekly-share-bar button{width:100%}.weekly-layout{grid-template-columns:1fr}.weekly-preview{position:relative}#weeklyCanvas{max-height:48dvh}#weeklyDialog{padding:16px}.weekly-bottom{bottom:-16px}.weekly-bottom button{flex:1;white-space:nowrap;padding:10px}.weekly-actions button{flex:1;padding:8px}}

.weekly-preview .weekly-pages{color:#15334b}.weekly-preview .weekly-pages span{font-size:14px}
.weekly-share-bar{margin:8px 0;padding:8px 14px;border-radius:12px;flex-wrap:nowrap;min-height:0}.weekly-share-bar small{display:none}.weekly-share-bar b{font-size:14px}.weekly-share-bar button{width:auto;padding:8px 14px;min-height:36px;font-size:14px}#teamBadges{margin:20px 0;padding:16px;border:1px solid #8293a650;border-radius:12px}#teamBadges summary{cursor:pointer;font-weight:700}.badge-item{display:flex;gap:12px;align-items:center;border-bottom:1px solid #8293a644;padding:12px 0}.badge-item img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:8px}.badge-item div{flex:1;min-width:0}.badge-item small{display:block;white-space:pre-wrap;overflow-wrap:anywhere}.badge-item button{flex:none}#badgeForm label{display:flex;flex-direction:column;gap:8px;margin:16px 0}#badgePreview{width:100px;height:100px;object-fit:contain;background:#fff;border-radius:10px}#badgeForm input,#badgeForm textarea{max-width:100%;box-sizing:border-box}#badgeDialog{max-width:94vw}#badgeMatches{font-size:14px;line-height:1.7}
/* Compact share editor */
#weeklyDialog{padding:16px 18px;width:min(1040px,96vw)}#weeklyDialog .dialog-head{margin-bottom:6px;gap:12px}#weeklyDialog h2{font-size:20px;margin:0}#weeklyDialog>p{margin:6px 0 12px;font-size:14px}.weekly-layout{gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.weekly-preview{padding:10px;border-radius:12px}#weeklyCanvas{max-height:64dvh}.weekly-controls{min-width:0}.weekly-controls label{margin:5px 0;gap:3px;font-size:14px;line-height:1.35}.weekly-fields{gap:4px 10px}.weekly-controls input:not([type=checkbox]):not([type=range]):not([type=color]),.weekly-controls select{padding:7px 9px;min-height:36px;height:36px;border-radius:8px}.weekly-controls input[type=color]{height:34px;padding:3px}.weekly-controls details{border:1px solid #8293a640;border-radius:9px;padding:8px 10px;margin:8px 0}.weekly-controls summary{font-size:14px;font-weight:700;cursor:pointer;line-height:22px}#weeklyMatches{max-height:138px}#weeklyMatches label{padding:5px 0;margin:0;gap:8px;font-size:14px;line-height:1.4}.weekly-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.weekly-checks label{margin:6px 0;gap:6px}.weekly-controls input[type=checkbox]{width:18px;height:18px}.weekly-actions,.weekly-pages{margin-top:8px;gap:8px}#weeklyDialog button{padding:7px 12px;min-height:36px;font-size:14px;border-radius:9px}.weekly-actions button{flex:1}.weekly-bottom{padding:9px 0;margin-top:8px;bottom:-16px;background:#fff}.weekly-bottom button{flex:1}.weekly-background small{font-size:12px;display:block;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.weekly-upload{display:flex;align-items:center;gap:8px}.weekly-controls .weekly-upload-button{border:1px solid #8293a670;border-radius:8px;padding:8px 10px;cursor:pointer;margin:4px 0;font-size:14px}.weekly-upload-button input[type=file]{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.weekly-upload-button:focus-within{outline:2px solid #19b292}.weekly-background input[type=range]{height:28px;padding:0}.weekly-background label:has(input[type=range]){position:relative;padding-right:40px}.weekly-background #weeklyOverlayValue{position:absolute;right:0;top:0;font-size:12px}#weeklyMessage{line-height:1.5;margin:8px 0;min-height:0}#weeklyMessage:empty{display:none}@media(max-width:700px){#weeklyDialog{padding:12px;max-height:96dvh}.weekly-layout{grid-template-columns:1fr;gap:10px}#weeklyCanvas{max-height:35dvh}.weekly-preview{padding:8px}.weekly-pages{margin-top:6px}#weeklyDialog .weekly-pages button{min-height:34px;padding:5px 10px}.weekly-controls details{margin:6px 0;padding:6px 9px}#weeklyMatches{max-height:110px}.weekly-bottom{bottom:-12px;gap:6px}.weekly-bottom button{padding:8px 5px!important}.weekly-checks label{font-size:13px}.weekly-text-fields{grid-template-columns:1fr}.weekly-upload{flex-wrap:wrap}}

/* Compact share editor; scoped to override the site's general form styles. */
#weeklyDialog .weekly-controls label{margin:3px 0;gap:3px;min-width:0;font-size:14px}
#weeklyDialog .weekly-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}
#weeklyDialog .weekly-controls input:not([type=checkbox]):not([type=range]):not([type=color]):not([type=file]),#weeklyDialog .weekly-controls select{height:36px;min-height:36px;padding:6px 8px;margin:0;width:100%;font-size:16px}
#weeklyDialog .weekly-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#weeklyDialog .weekly-colors label{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px}
#weeklyDialog .weekly-colors input{width:100%;height:32px;min-height:0;margin:0}
#weeklyDialog .weekly-background{margin:6px 0;padding:7px 9px;background:#168c7709}
#weeklyDialog .weekly-upload{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:4px 0}
#weeklyDialog .weekly-upload-button{display:flex;align-items:center;justify-content:center;background:#087f83;color:#fff;font-weight:700;margin:0;padding:8px;min-height:36px;box-sizing:border-box}
#weeklyDialog .weekly-background small{font-size:13px}
#weeklyDialog .weekly-text-fields{grid-template-columns:1fr}
#weeklyDialog .weekly-checks label{font-size:14px}
@media(max-width:700px){#weeklyDialog .weekly-preview{position:relative}#weeklyDialog #weeklyCanvas{max-height:27dvh}#weeklyDialog .weekly-layout{gap:8px}#weeklyDialog .weekly-controls details{margin:5px 0}#weeklyDialog .weekly-bottom{background:var(--bg,#fff)}}

html[data-appearance=sport] #weeklyDialog .weekly-bottom{background:#13223a}

/* Group selection and compact individual matches. */
#weeklyDialog .weekly-select-all{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 0}
#weeklyDialog .weekly-select-all label{display:flex;flex-direction:row;align-items:center;gap:7px;cursor:pointer;font-weight:700}
#weeklySelectionTotal{font-size:14px;white-space:nowrap}
#weeklyDialog .weekly-group-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:6px;margin:6px 0 10px}
#weeklyDialog .weekly-group-tile{display:flex;flex-direction:row;align-items:center;gap:7px;padding:8px;border:1px solid #8293a670;border-radius:8px;cursor:pointer;margin:0;min-height:44px;box-sizing:border-box}
#weeklyDialog .weekly-group-tile:has(input:checked),#weeklyDialog .weekly-group-tile:has(input:indeterminate){border-color:#168c77;background:#168c771c}
#weeklyDialog .weekly-group-tile span{min-width:0;overflow-wrap:anywhere;font-weight:700;line-height:1.4}
#weeklyDialog .weekly-group-tile small{display:block;font-size:14px;font-weight:400}
#weeklyDialog .weekly-selection input[type=checkbox],#weeklyDialog #weeklyMatches input[type=checkbox]{appearance:auto;accent-color:#087f83;width:18px;height:18px;margin:0;flex:none}
#weeklyDialog #weeklyMatches{max-height:235px;overscroll-behavior:contain;border-top:1px solid #8293a640}
#weeklyDialog #weeklyMatches label{display:flex;align-items:center;gap:8px;padding:8px 2px;min-height:44px;box-sizing:border-box;cursor:pointer}
#weeklyDialog #weeklyMatches label>span{min-width:0;overflow-wrap:anywhere}
#weeklyDialog #weeklyMatches b{font-size:14px;font-weight:400}
#weeklyDialog #weeklyMatches label>span>span{display:block;font-size:14px;font-weight:700;line-height:1.5}
#weeklyDialog #weeklyMatches small{display:block;font-size:13px;opacity:.8}
#weeklyDialog .weekly-selection input:focus-visible,#weeklyDialog #weeklyMatches input:focus-visible{outline:2px solid #19b292;outline-offset:3px}
@media(max-width:700px){#weeklyDialog #weeklyMatches{max-height:200px}}
