/* Neutral content surfaces keep all club/appearance themes readable. */
.fan-week-card,.fan-lab-dialog,.fan-post-poll,.fan-poll-compose{--lab-ink:#152238;--lab-muted:#46566d;background:#f8fafc!important;color:var(--lab-ink)!important;border:1px solid #cbd5e1;border-radius:12px;box-sizing:border-box;min-width:0}
.fan-week-card{padding:14px;margin:4px 0 16px}
.fan-week-card[hidden]{display:none}
.fan-week-card :is(h2,h3,p,span,b,strong,summary),.fan-lab-dialog :is(h2,h3,p,span,b,strong,label,summary),#view .fan-post-poll :is(h3,p,span,b,strong,label),#view .fan-poll-compose :is(p,span,label){color:#152238!important}
.fan-week-card h2,.fan-lab-dialog h2{font-size:16px!important;line-height:1.4;margin:0!important}
.fan-week-card h3{font-size:12px!important;margin:0 0 7px!important}
.fan-week-heading,.fan-lab-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:10px}
.fan-lab-kicker{display:block;font-size:11px;font-weight:700;margin-bottom:3px}
.fan-lab-note,.fan-week-card .fan-lab-note{font-size:11px!important;line-height:1.5;margin:7px 0!important;color:#46566d!important}
.fan-lab-tools,.fan-lab-actions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.fan-lab-tools .btn{font-size:12px;min-height:38px;padding:7px 10px}
.fan-week-card button,.fan-lab-dialog button,.fan-post-poll button{font:inherit;cursor:pointer}
.fan-week-card .textlink,.fan-lab-dialog .textlink{background:transparent;border:0;color:#194b7e!important;font-size:12px;min-height:36px;padding:4px}
.fan-week-matches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}
.fan-week-matches>section{min-width:0}
.fan-week-match{display:flex;align-items:center;gap:5px;padding:8px 0;border-top:1px solid #d9e1eb;min-width:0}
.fan-week-match-link{display:grid;gap:5px;flex:1;min-width:0;border:0;background:transparent;text-align:left;color:#152238!important;padding:0;font-size:12px!important;line-height:1.5;white-space:normal}
.fan-week-match-link small{color:#46566d;font-size:10px}
.fan-week-match-link b{white-space:nowrap;margin:0 4px}
.fan-week-match>.textlink{flex:none;font-size:11px}
.fan-week-predictions{display:flex;flex-wrap:wrap;gap:7px 12px;align-items:center;border-top:1px solid #d9e1eb;padding-top:10px;margin-top:10px;font-size:12px}
.fan-week-predictions b{font-size:17px;font-variant-numeric:tabular-nums}
.fan-week-popular{margin:12px 0 8px;font-size:12px}
.fan-week-popular summary{cursor:pointer;min-height:30px}
.fan-week-popular>button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:9px 0;border:0;border-top:1px solid #d9e1eb;text-align:left;background:transparent;color:#152238;font-size:12px}
.fan-week-popular>button span{overflow-wrap:anywhere;min-width:0}
.fan-week-popular>button small{color:#46566d;white-space:nowrap;flex:none;font-size:10px}
.fan-week-card>footer,.fan-lab-dialog [data-fan-lab-body]>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #d9e1eb;padding-top:5px}
.fan-week-card footer small,.fan-lab-dialog footer small{color:#46566d;font-size:10px}
.fan-lab-overlay .box.fan-lab-dialog{width:min(680px,calc(100vw - 24px));max-width:680px;max-height:calc(100dvh - 24px);padding:16px;overflow-y:auto;overscroll-behavior:contain}
.fan-lab-dialog>header{position:sticky;top:-16px;background:#f8fafc;padding:9px 0;z-index:2;border-bottom:1px solid #d9e1eb;margin-bottom:12px}
.fan-lab-dialog .iconbutton{color:#152238!important;background:transparent;border:0;min-width:36px;min-height:36px;font-size:24px;padding:0}
.fan-lab-dialog .btn{font-size:12px;min-height:40px;padding:8px 12px;background:#152b46!important;border:1px solid #152b46!important;color:white!important;border-radius:8px}
.fan-lab-dialog .btn.ghost{background:white!important;color:#152b46!important}
.fan-lab-dialog button:disabled{opacity:.55;cursor:default}
.fan-lab-error,.fan-lab-dialog .err{color:#a21e27!important;font-size:12px;line-height:1.5}
.fan-lab-dialog .err:empty{display:none}
.fan-lab-dialog select,#view .fan-post-poll select{background:white;color:#152238;border:1px solid #a7b7ca;border-radius:6px;font:inherit;min-height:40px;padding:5px;max-width:100%}
.fan-lab-dialog :is(button,select):focus-visible,.fan-post-poll :is(button,input):focus-visible{outline:2px solid #245a98;outline-offset:2px}
.fan-poll-compose{padding:12px;margin:14px 0;font-size:12px}
.fan-poll-compose .fan-poll-toggle{display:flex;align-items:center;gap:8px;margin:0!important;cursor:pointer;font-weight:700}
.fan-poll-toggle input{width:18px;height:18px;min-height:18px;padding:0}
.fan-poll-fields{display:grid;gap:7px;border:0;padding:12px 0 0;margin:0;min-width:0}
.fan-poll-fields[hidden]{display:none}
.fan-poll-fields label{display:grid;gap:5px;margin:0;font-size:12px}
#view .fan-poll-fields input{width:100%;box-sizing:border-box;min-height:40px;background:#fff!important;color:#152238!important;border:1px solid #a7b7ca;border-radius:6px;padding:8px;font-size:13px}
#view .fan-poll-fields input::placeholder{color:#52637a!important}
.fan-post-poll{padding:14px;margin:14px 0;font-size:13px}
#view .fan-post-poll h3{font-size:15px!important;line-height:1.5;margin:0 0 10px!important}
.fan-poll-options{display:grid;gap:7px}
.fan-poll-option{position:relative;display:flex;align-items:center;gap:8px;min-height:44px;padding:9px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;overflow:hidden;margin:0!important;cursor:pointer}
.fan-poll-option>i{position:absolute;inset:0 auto 0 0;background:#dce9f9;pointer-events:none}
.fan-poll-option>*:not(i){position:relative;z-index:1}
.fan-poll-option input{flex:none;width:16px;height:16px;min-height:16px;margin:0;padding:0;accent-color:#194b7e}
.fan-poll-option>span{flex:1;min-width:0;overflow-wrap:anywhere}
.fan-poll-option>b{font-size:11px;white-space:nowrap}
#view .fan-post-poll .btn{margin-top:10px;font-size:12px;min-height:40px;background:#152b46!important;color:white!important;border:0;padding:8px 12px;border-radius:7px}
#view .fan-post-poll .fan-lab-note{color:#46566d!important}
@media(max-width:600px){.fan-week-matches{grid-template-columns:1fr;gap:10px}.fan-lab-overlay{padding:0!important}.fan-lab-overlay .box.fan-lab-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px}.fan-lab-dialog>header{top:-12px}.fan-week-heading{align-items:flex-start}.fan-week-card{padding:12px}.fan-week-card h2{font-size:15px!important}}
