
#hd-game-board{padding:12px 0;color-scheme:light}
#hd-game-board .tg-app{--tg-bg:#fff;--tg-ink:#21332d;--tg-muted:#5b6b63;--tg-line:#d9e1db;--tg-soft:#f3f6f3;--tg-active:#fae2cc;--tg-active-line:#c57a3d;--tg-tile:#fffaf5;--tg-green:#235e46;--tg-on-green:#fff;--tg-error:#a02c27;font:13px/1.4 system-ui,sans-serif;color:var(--tg-ink);background:var(--tg-bg);border:1px solid var(--tg-line);border-radius:14px;overflow:hidden;max-width:900px;margin:auto}
#hd-game-board .tg-head{padding:20px 110px 16px 18px;border-bottom:1px solid var(--tg-line)}
#hd-game-board .tg-brand{font-size:11px;letter-spacing:.1em;font-weight:650;display:flex;flex-wrap:wrap;gap:12px}
#hd-game-board .tg-brand span{font-size:10px;font-weight:450;color:var(--tg-muted)}
#hd-game-board h2{font-size:24px;line-height:1.2;letter-spacing:-.025em;margin:10px 0 6px;font-weight:650}
#hd-game-board h3{font-size:13px;margin:0;font-weight:650}
#hd-game-board .tg-sub{font-size:11px;color:var(--tg-muted)}
#hd-game-board .tg-lock{font-size:12px;font-weight:550;margin-top:10px;color:var(--tg-ink)}
#hd-game-board button{font:inherit;color:var(--tg-ink);background:var(--tg-bg);border:1px solid var(--tg-line);border-radius:6px;min-height:34px;padding:6px 10px;touch-action:manipulation}
#hd-game-board button:disabled{opacity:.45}
#hd-game-board .tg-toolbar{padding:16px 18px 12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center}
#hd-game-board .tg-mode{display:flex;gap:4px;flex-wrap:wrap}
#hd-game-board .tg-mode button[aria-pressed=true],#hd-game-board .tg-auto{background:var(--tg-green);color:var(--tg-on-green);border-color:var(--tg-green)}
#hd-game-board .tg-guide{display:flex;flex-wrap:wrap;gap:8px 15px;padding:0 18px;font-size:11px;color:var(--tg-muted)}
#hd-game-board .tg-key{display:flex;align-items:center;gap:5px}
#hd-game-board .tg-key i{width:12px;height:12px;border-radius:3px;display:inline-block;border:1px solid var(--tg-line)}
#hd-game-board .tg-key .tg-active-key{background:var(--tg-active);border-color:var(--tg-active-line)}
#hd-game-board .tg-key .tg-backup-key{background:var(--tg-soft)}
#hd-game-board #tg-count{margin-left:auto;font-variant-numeric:tabular-nums}
#hd-game-board .tg-help{padding:10px 18px 12px;font-size:11px;color:var(--tg-muted)}
#hd-game-board .tg-grid{padding:0 12px}
#hd-game-board .tg-colheads,#hd-game-board .tg-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
#hd-game-board .tg-colheads{font-size:11px;color:var(--tg-muted);padding:0 0 7px}
#hd-game-board .tg-colheads span{text-align:center}
#hd-game-board .tg-colheads span:first-child{text-align:left;padding-left:3px}
#hd-game-board .tg-row{margin-bottom:5px}
#hd-game-board .tg-row-label{grid-column:1/-1;display:flex;flex-direction:column;justify-content:center;font-size:16px;font-weight:650;padding:12px 3px 5px}
#hd-game-board .tg-row-label small{font-size:13px;line-height:1.5;font-weight:400;color:var(--tg-muted)}
#hd-game-board .tg-place{background:var(--tg-soft);border:1px solid var(--tg-line);border-radius:7px;padding:4px;min-height:80px;min-width:0;position:relative}
#hd-game-board .tg-place.is-active{background:var(--tg-active);border-color:var(--tg-active-line)}
#hd-game-board .tg-place-tag{font-size:9px;font-weight:550;color:var(--tg-muted);display:block;padding:0 2px 3px}
#hd-game-board .tg-place.is-active .tg-place-tag{color:var(--tg-ink)}
#hd-game-board .tg-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;min-width:0;padding:5px 6px;border-radius:4px;min-height:74px;background:var(--tg-bg);user-select:none;cursor:grab}
#hd-game-board .tg-place.is-active .tg-tile{background:var(--tg-tile)}
#hd-game-board .tg-tile:active{cursor:grabbing}
#hd-game-board .tg-tile-name{font-size:11px;font-weight:650;overflow-wrap:anywhere}
#hd-game-board .tg-tile-eligibility{font-size:11px;color:var(--tg-green);font-weight:550;overflow-wrap:anywhere}
#hd-game-board .tg-tile-event{font-size:11px}
#hd-game-board .tg-tile-date{font-size:10px;color:var(--tg-muted)}
#hd-game-board .tg-tile[aria-pressed=true]{outline:2px solid var(--tg-green);outline-offset:1px}
#hd-game-board .tg-empty{width:100%;min-height:57px;background:transparent;border:1px dashed var(--tg-line);font-size:11px;color:var(--tg-muted);padding:4px}
#hd-game-board .tg-place.is-target{outline:2px solid var(--tg-green);outline-offset:1px}
#hd-game-board .tg-place.is-invalid{opacity:.42}
#hd-game-board .tg-message{padding:12px 18px;min-height:32px;font-size:12px;color:var(--tg-muted)}
#hd-game-board .tg-message.is-error{color:var(--tg-error)}
#hd-game-board .tg-tray{margin:0 12px 14px;border:1px dashed var(--tg-line);border-radius:8px;padding:12px;background:var(--tg-soft)}
#hd-game-board .tg-tray.is-target{outline:2px solid var(--tg-green)}
#hd-game-board .tg-tray-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
#hd-game-board .tg-tray-head span{font-size:11px;color:var(--tg-muted)}
#hd-game-board .tg-tray-head button{margin-left:auto;font-size:11px}
#hd-game-board .tg-pool{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:7px}
#hd-game-board .tg-pool .tg-tile{min-height:65px}
#hd-game-board .tg-foot{padding:13px 18px;border-top:1px solid var(--tg-line);display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
#hd-game-board .tg-foot span{font-size:11px;color:var(--tg-muted)}
@media(max-width:600px){#hd-game-board .tg-colheads{display:none}#hd-game-board .tg-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-bottom:1px solid var(--tg-line);padding:0 0 12px;margin-bottom:12px}#hd-game-board .tg-row-label{grid-column:1/-1;flex-direction:column;justify-content:flex-start;gap:3px;align-items:flex-start}#hd-game-board .tg-place-tag{font-size:10px}#hd-game-board .tg-head{padding-left:14px}#hd-game-board .tg-toolbar{padding:14px}#hd-game-board .tg-guide,#hd-game-board .tg-help{padding-left:14px;padding-right:14px}#hd-game-board h2{font-size:21px}#hd-game-board #tg-count{margin-left:0}}
@media(pointer:coarse){#hd-game-board button{min-height:44px}#hd-game-board .tg-tile{min-height:70px}}

body{margin:0;background:#f2f5f2;color:#20372c;font:15px/1.5 system-ui,sans-serif}[hidden]{display:none!important}.panel{max-width:460px;margin:8vh auto;padding:26px;background:white;border:1px solid #d9e1db;border-radius:14px}.panel label{display:block;font-weight:650}.panel input{width:100%;box-sizing:border-box;padding:12px;margin:8px 0 16px;font:inherit;border:1px solid #8caa96;border-radius:6px}.panel button{padding:12px;background:#235e46;color:white;border:0;border-radius:7px}.eyebrow{font-weight:700;letter-spacing:.12em}.topbar{max-width:900px;margin:15px auto;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.topbar select{max-width:70%;font:inherit;padding:7px}.topbar button{margin-left:auto}.tg-head h1{font-size:26px;line-height:1.15}.tg-message{min-height:22px}.tg-tile-name{overflow-wrap:anywhere}#hd-game-board .tg-tile{min-height:100px}#hd-game-board .tg-head{padding-right:18px}#save-status{font-weight:700}#login-message{color:#a02c27}#hd-game-board .tg-tile[aria-pressed=true]{outline:3px solid #235e46;outline-offset:1px}#hd-game-board .tg-tile:focus-visible{outline:3px solid #235e46}#hd-game-board .tg-place:has(.tg-tile[aria-pressed=true]){background:#dbece2}#hd-game-board .tg-tile:disabled{opacity:.9}@media(max-width:600px){.panel{margin:20px 12px}.topbar{padding:0 12px}.topbar select{max-width:62%}#hd-game-board .tg-tile{min-height:110px}}

.preview-totals{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:8px;max-width:620px}.preview-totals dd{margin:0;font-weight:700}.preview-scroll{overflow-x:auto}.preview-games{width:100%;border-collapse:collapse;text-align:left}.preview-games td,.preview-games th{padding:10px;border-bottom:1px solid #dce3e8;vertical-align:top}.preview-games small{font-weight:400}

/* Portraits supplement the player name; names and eligibility never disappear. */
#hd-game-board .tg-portrait{position:relative;display:flex;align-items:center;justify-content:center;align-self:center;width:82px;height:60px;overflow:hidden;border-radius:8px;background:#edf2ef;color:#446451;margin:1px 0 5px;font-size:21px;font-weight:700;pointer-events:none}
#hd-game-board .tg-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#edf2ef;pointer-events:none}
#hd-game-board .tg-tile-name{font-size:13px;line-height:1.25;font-weight:750;margin-bottom:4px}
#hd-game-board .tg-tile-eligibility{font-weight:650;font-size:11px;color:#235e46}
#hd-game-board .tg-tile-event{font-size:12px;margin-top:4px}
#hd-game-board .tg-tile-date{font-size:10px;line-height:1.45;margin-top:4px;color:#5b6b63}
#hd-game-board .tg-pool{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}
.manager-scoring-status{margin:16px 18px 2px;position:relative}
#hd-game-board .status-card{border:1px solid #d4dfd9;border-left:4px solid #667d70;border-radius:9px;background:#f6f9f7;padding:15px 17px}
#hd-game-board .status-heading{display:flex;align-items:center;gap:8px;padding-right:100px}
#hd-game-board .status-heading h2{font-size:18px;margin:0;letter-spacing:0}
.status-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#667d70}
.status-card p{margin:8px 0;max-width:740px;line-height:1.5}
.status-meta{display:flex;gap:5px 20px;flex-wrap:wrap;color:#53695b;font-size:11px;margin-top:12px}
#hd-game-board .status-footnote{font-size:11px;color:#53695b;margin-bottom:0}
#hd-game-board .status-review,#hd-game-board .status-stale,#hd-game-board .status-unavailable{border-left-color:#ad6b18;background:#fff8e9}
.status-review .status-dot,.status-stale .status-dot,.status-unavailable .status-dot{background:#ad6b18}
#hd-game-board .status-finalized{border-left-color:#287b50;background:#eef8f1}.status-finalized .status-dot{background:#287b50}
.status-total strong{font-size:22px;margin-left:8px}
#hd-game-board #status-refresh{position:absolute;top:10px;right:10px;font-size:11px;background:white}
@media(max-width:600px){.manager-scoring-status{margin:12px}#hd-game-board .status-card{padding:13px}#hd-game-board .status-heading{padding-right:92px}#hd-game-board .status-heading h2{font-size:16px}#hd-game-board .tg-portrait{width:72px;height:53px}}

.matchup-navigation,.matchup-review{padding:18px;border-bottom:1px solid #d9e2dc}.matchup-navigation>div{display:flex;gap:8px;flex-wrap:wrap}.matchup-navigation button[aria-pressed="true"]{background:#315c47;color:white}.matchup-navigation p{font-size:13px;line-height:1.6;margin-bottom:0}.matchup-review{margin:18px;background:#f1f5f3;border:1px solid #cedbd2;border-radius:10px}

.account-context{padding:14px 18px;background:#e9f2ec;border-bottom:1px solid #c6d8cd;font-weight:650;line-height:1.6}.account-context.is-development{background:#fff1cf;border-color:#ddbd76}#team-waiting{margin:22px auto;max-width:720px}

#hd-game-board .tg-row.has-six{grid-template-columns:repeat(6,minmax(0,1fr))}
