:root{--bg:#f7f5f0;--paper:#fff;--ink:#171717;--muted:#6f6b64;--line:#d9d4ca;--accent:#1d5d4f;--accent2:#e8f1ee;--danger:#9d2c2c;--warn:#805b12;--shadow:0 8px 30px rgba(0,0,0,.06)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.shell{width:min(1180px,calc(100% - 32px));margin:auto}.site-header{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.header-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px}.brand{font-size:1.2rem;font-weight:800;color:var(--ink);text-decoration:none}.site-header nav{display:flex;flex-wrap:wrap;gap:15px}.site-header nav a{color:var(--ink);text-decoration:none;font-weight:650;font-size:.92rem}main{padding:32px 0 64px}h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1;margin:0 0 28px}h2{margin-top:30px}h3{margin-top:0}.card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:22px;box-shadow:var(--shadow);margin:16px 0}.narrow{max-width:520px}.grid{display:grid;gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}label{display:grid;gap:7px;font-weight:650;margin:12px 0}input,select,textarea,button{font:inherit}input,select,textarea{width:100%;padding:10px 11px;border:1px solid #bdb7ae;border-radius:8px;background:#fff;color:var(--ink)}input[type=checkbox]{width:auto;transform:scale(1.15)}button,.button{border:1px solid #aaa39a;background:#fff;color:var(--ink);padding:10px 15px;border-radius:9px;text-decoration:none;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;gap:8px}.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.big{font-size:1.08rem;padding:13px 18px}.danger{color:var(--danger);border-color:#d8b1b1}.subtle{box-shadow:none}.hero-actions,.status-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.badge,.status{display:inline-block;background:var(--accent2);border-radius:999px;padding:3px 9px;font-size:.85em}.flash{padding:14px 16px;border-radius:10px;margin:12px 0 20px;border:1px solid}.flash.success{background:#eaf6ef;border-color:#a9d0b7}.flash.error{background:#fff0f0;border-color:#dfb4b4}.flash.warning,.notice{background:#fff7e5;border:1px solid #e2ca8c;padding:13px;border-radius:9px}.muted,small{color:var(--muted)}.table-wrap{overflow-x:auto;background:var(--paper);border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;min-width:720px}th,td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{font-size:.85rem;text-transform:uppercase;letter-spacing:.035em;background:#faf9f6}td small{display:block;font-size:.72rem;margin-top:3px}.card-list{display:grid;gap:10px}.game-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:15px 17px;text-decoration:none;color:var(--ink);display:grid;grid-template-columns:1.2fr .7fr 1.3fr;gap:14px;align-items:center}.image-strip{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px}.image-strip img{height:260px;max-width:360px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:10px}.check{display:flex;align-items:flex-start;gap:10px;font-weight:550}.check.important{font-size:1.05rem;padding:12px;background:var(--accent2);border-radius:9px}.question{border-left:4px solid var(--warn);padding:10px 14px;margin:12px 0;background:#fffaf0}.question.resolved{border-left-color:var(--accent);opacity:.8}.suggestions{font-size:.9rem;background:#f6f5f2;padding:8px 10px;border-radius:8px}.suggestions span{margin-right:10px}.player-name-card{margin-bottom:12px}.score-card{padding:16px}.score-table input,.score-table select{min-width:85px;padding:7px}.score-table .small-number{min-width:60px;width:68px}.center{text-align:center}.inline-form{margin:8px 0 20px}.prose{max-width:900px}.site-footer{border-top:1px solid var(--line);padding:24px 0 40px;color:var(--muted)}code{background:#eeeae2;padding:2px 5px;border-radius:4px}@media(max-width:850px){.header-row{align-items:flex-start;padding:14px 0;flex-direction:column}.site-header{position:static}.grid.two,.grid.three,.grid.four{grid-template-columns:1fr}.game-card{grid-template-columns:1fr}.image-strip img{height:210px}.shell{width:min(100% - 20px,1180px)}main{padding-top:22px}h1{font-size:2.2rem}}
.member-chip{font-size:.78rem;color:var(--muted);white-space:nowrap}.queue-list{display:grid;gap:10px}.queue-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.queue-item .game-card{min-width:0}.queue-delete{margin:0}.account-list{display:grid;grid-template-columns:140px 1fr;gap:10px 18px;margin:0}.account-list dt{font-weight:750;color:var(--muted)}.account-list dd{margin:0}@media(max-width:850px){.member-chip{display:none}.queue-item{grid-template-columns:1fr}.queue-delete button{width:100%;justify-content:center}.account-list{grid-template-columns:1fr}.account-list dt{margin-top:8px}}

/* v5 site + workflow */
.site-nav .active{color:var(--accent);text-decoration:underline;text-underline-offset:5px}.home-intro{max-width:760px}.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.feature-card{display:grid;gap:8px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:24px;text-decoration:none;color:var(--ink);box-shadow:var(--shadow)}.feature-card strong{font-size:1.35rem}.feature-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;color:var(--muted);font-weight:800}.choice-group{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:14px 0}.choice-group legend{font-weight:750}.review-toolbar{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-bottom:14px}.review-workspace{display:grid;grid-template-columns:minmax(320px,42%) minmax(0,58%);gap:22px;align-items:start}.image-review-pane{position:sticky;top:82px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:12px;box-shadow:var(--shadow);max-height:calc(100vh - 100px);overflow:auto}.image-controls{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:10px}.image-controls button{padding:7px 10px}.image-stage{height:min(65vh,760px);overflow:auto;background:#eeeae2;border-radius:9px;display:flex;align-items:center;justify-content:center;position:relative}.image-stage img{max-width:100%;max-height:100%;transform-origin:center;transition:transform .15s ease}.image-thumbs{display:flex;gap:8px;overflow:auto;margin-top:10px}.image-thumb{padding:3px;border:2px solid transparent}.image-thumb.active{border-color:var(--accent)}.image-thumb img{width:80px;height:60px;object-fit:cover;display:block}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.needs-attention{font-size:.78rem;font-weight:800;color:var(--danger);background:#fff0f0;border-radius:999px;padding:4px 8px}.verified-looking{font-size:.75rem;color:var(--muted)}.attention-item{outline:2px solid rgba(157,44,44,.18);outline-offset:-2px}.row-alert{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--danger);color:#fff;font-size:.7rem;margin-left:6px}.candidate-chip{padding:5px 8px;font-size:.84rem;margin:4px 5px 4px 0;border-radius:999px}.save-status{min-width:90px;text-align:center}.queue-toolbar{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}.queue-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.queue-filters label{margin:0;min-width:150px}.queue-state-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.queue-state-tabs .active{background:var(--accent);color:#fff}.queue-state{font-weight:800}.state-needs_attention .game-card{border-left:5px solid var(--danger)}.state-ready .game-card{border-left:5px solid var(--accent)}.state-possible_duplicate .game-card{border-left:5px solid var(--warn)}.state-new .game-card{border-left:5px solid #678}.state-completed .game-card{opacity:.78}.form-end{display:flex;align-items:end;padding-bottom:12px}.account-grid{align-items:start}.image-archive-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.image-archive-grid img{width:100%;max-height:720px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:10px}.review-form-pane{min-width:0}.final-confirm{position:relative}.attention-count{font-weight:750}.queue-toolbar #processPendingAi{white-space:nowrap}
@media(max-width:980px){.review-workspace{grid-template-columns:1fr}.image-review-pane{position:relative;top:auto;max-height:none}.image-stage{height:55vh}}

/* v5.0.1 hotfix */
input[type=radio]{width:auto;transform:scale(1.15)}
.choice-group .check{min-width:0;overflow-wrap:anywhere}
.choice-group .check input{flex:0 0 auto;margin-top:.25em}
.choice-group .check{align-items:flex-start}

/* v5.1 UI cleanup */
:root{--focus:#267c69;--surface-soft:#fbfaf7;--surface-hover:#f4f1eb}
html{scroll-behavior:smooth}
body{min-width:320px}
.shell{width:min(1320px,calc(100% - 36px))}
.site-header{box-shadow:0 1px 0 rgba(0,0,0,.02)}
.header-row{min-height:68px;gap:22px}
.brand{white-space:nowrap;flex:0 0 auto;letter-spacing:-.015em}
.header-right{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:0;flex:1}
.site-nav{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;white-space:nowrap}
.site-nav::-webkit-scrollbar{display:none}
.site-header nav a{padding:7px 9px;border-radius:8px;transition:background .15s ease,color .15s ease}
.site-header nav a:hover{background:var(--surface-hover)}
.site-nav .active{background:var(--accent2);color:var(--accent);text-decoration:none}
.member-chip{flex:0 0 auto;padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft)}
main{padding-top:38px}
h1{letter-spacing:-.035em;margin-bottom:30px}
h2{letter-spacing:-.015em}
.card{padding:24px;border-radius:16px}
.card>h2:first-child,.card>h3:first-child{margin-top:0}
input,select,textarea{min-height:44px;transition:border-color .15s ease,box-shadow .15s ease;background:#fff}
textarea{min-height:auto;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--focus);box-shadow:0 0 0 3px rgba(38,124,105,.14)}
button,.button{min-height:42px;transition:transform .12s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}
button:hover,.button:hover{background:var(--surface-hover)}
.primary:hover{background:#174d42;border-color:#174d42}
button:active,.button:active{transform:translateY(1px)}
button:focus-visible,.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(38,124,105,.35);outline-offset:2px}
.flash{box-shadow:var(--shadow)}
.status-row{align-items:center}
.status{line-height:1.35}
.choice-group{display:grid;gap:8px;padding:12px 14px;background:var(--surface-soft)}
.choice-group legend{padding:0 6px}
.choice-group .check{margin:0;padding:10px 11px;border:1px solid transparent;border-radius:9px;line-height:1.35}
.choice-group .check:hover{background:#fff;border-color:var(--line)}
.choice-group .check:has(input:checked){background:var(--accent2);border-color:#bfd7d0}
input[type=file]{padding:7px;background:var(--surface-soft)}
input[type=file]::file-selector-button{font:inherit;font-weight:700;border:1px solid #aaa39a;background:#fff;padding:7px 11px;border-radius:7px;margin-right:10px;cursor:pointer}
.table-wrap{box-shadow:0 3px 16px rgba(0,0,0,.025)}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:#fcfbf8}
th{position:sticky;top:0;z-index:1}
.game-card{transition:border-color .15s ease,background .15s ease,transform .12s ease}
.game-card:hover{background:var(--surface-soft);border-color:#c3bdb3;transform:translateY(-1px)}
.feature-card{transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.feature-card:hover{transform:translateY(-2px);border-color:#c2bbb0;box-shadow:0 12px 34px rgba(0,0,0,.08)}
.queue-toolbar{padding:18px 20px;align-items:center}
.queue-filters{display:grid;grid-template-columns:minmax(150px,190px) minmax(170px,220px) minmax(180px,1fr) auto;gap:12px;align-items:end;flex:1}
.queue-filters label{min-width:0}
.queue-filters button{height:44px}
.queue-state-tabs{margin:18px 0 14px}
.queue-state-tabs .status{padding:6px 11px;text-decoration:none}
.queue-item{gap:12px}
.queue-delete button{min-width:84px;justify-content:center}
.review-toolbar{background:var(--surface-soft);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.review-toolbar .check{margin:0;white-space:nowrap}
.image-review-pane{border-radius:16px}
.image-controls{position:sticky;top:0;z-index:2;background:var(--paper);padding-bottom:8px}
.image-controls button{min-height:36px}
.image-stage{border:1px solid var(--line)}
.image-thumb{background:#fff;border-radius:7px}
.section-heading h2,.section-heading h3{margin:0}
.needs-attention{white-space:nowrap}
.suggestions{margin-top:10px}
.candidate-chip{min-height:34px}
.final-confirm{border-color:#b9d5cd}
.account-grid .card{height:100%}
.admin-user-table select{min-width:110px}
.site-footer{background:rgba(255,255,255,.45)}

@media(max-width:1180px){
  .shell{width:min(100% - 28px,1180px)}
  .header-row{align-items:flex-start;flex-direction:column;gap:8px;padding:12px 0}
  .header-right{width:100%;justify-content:space-between;gap:12px}
  .site-nav{justify-content:flex-start;flex:1}
  .member-chip{margin-left:auto}
}
@media(max-width:900px){
  .queue-filters{grid-template-columns:1fr 1fr}
  .queue-filters button{width:100%;justify-content:center}
  .queue-toolbar #processPendingAi{width:100%;justify-content:center}
  .review-toolbar{align-items:flex-start}
  .review-toolbar .check{white-space:normal}
}
@media(max-width:700px){
  .shell{width:min(100% - 20px,1180px)}
  main{padding:22px 0 46px}
  h1{font-size:2.25rem;margin-bottom:22px}
  h2{font-size:1.45rem}
  .card{padding:17px;border-radius:13px}
  .header-row{padding:10px 0}
  .header-right{display:block}
  .site-nav{width:100%;padding-bottom:3px}
  .site-header nav a{padding:7px 8px}
  .member-chip{display:none}
  .queue-filters{grid-template-columns:1fr}
  .queue-item{grid-template-columns:1fr}
  .game-card{padding:14px;gap:7px}
  .choice-group{padding:10px}
  .choice-group .check{padding:9px}
  .image-controls{gap:5px}
  .image-controls button{padding:6px 8px;font-size:.9rem}
  .status-row{gap:7px}
  .status-row .status{font-size:.8rem}
  .table-wrap{margin-left:-2px;margin-right:-2px}
}

/* v5.3 online score sheet */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.compact-copy{margin:.35rem 0 0}
.online-sheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.autosave-indicator{font-size:.9rem;color:var(--muted);white-space:nowrap}
.online-sheet-meta{display:grid;grid-template-columns:minmax(180px,240px) minmax(300px,1fr);gap:1rem;margin-bottom:1rem}
.online-sheet-meta label{display:grid;gap:.35rem;font-weight:700}
.online-sheet-meta input{font-weight:400}
.online-sheet-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 16px 36px rgba(28,36,31,.06)}
.online-score-table{min-width:1220px;width:100%;border-collapse:separate;border-spacing:0;margin:0}
.online-score-table th,.online-score-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:.6rem;vertical-align:middle}
.online-score-table tr:last-child th,.online-score-table tr:last-child td{border-bottom:0}
.online-score-table th:last-child,.online-score-table td:last-child{border-right:0}
.online-score-table thead th{position:sticky;top:0;background:#f7f5f1;z-index:3}
.online-score-table .round-label-col{position:sticky;left:0;z-index:2;min-width:145px;width:145px;background:#f7f5f1;text-align:left}
.online-score-table thead .round-label-col{z-index:5}
.online-score-table .round-label-col strong,.online-score-table .round-label-col span,.online-score-table .round-label-col small{display:block}
.online-score-table .round-label-col span{font-size:.85rem;margin-top:.15rem}
.online-score-table .round-label-col small{font-size:.72rem;color:var(--muted);margin-top:.2rem}
.online-score-table .player-column{min-width:150px;width:150px}
.player-picker,.new-player-name{width:100%;font-size:.92rem}
.new-player-name{margin-top:.35rem}
.score-entry-cell{min-width:150px;background:#fff}
.score-entry-cell .round-score{width:100%;min-width:0;font-size:1.05rem;font-weight:700;text-align:center;padding:.55rem .4rem}
.score-flags{display:grid;grid-template-columns:52px 1fr;align-items:center;gap:.35rem;margin-top:.35rem}
.round-symbol{padding:.42rem .3rem;width:52px;min-width:52px;text-align:center}
.finish-check{display:flex;align-items:center;justify-content:center;gap:.25rem;font-size:.76rem;font-weight:600;white-space:nowrap;margin:0}
.finish-check input{width:auto;margin:0}
.subtotal-row th,.subtotal-row td{background:#f3f1ec!important;font-weight:700}
.total-row th,.total-row td{background:#e9efe9!important;font-weight:800;font-size:1.05rem}
.rank-row th,.rank-row td{background:#f7f5f1!important;font-weight:800}
.calculated{text-align:center;font-variant-numeric:tabular-nums}
.online-sheet-legend{display:flex;flex-wrap:wrap;gap:.7rem 1.3rem;margin-top:1rem;font-size:.9rem}
.online-sheet-message{min-height:1.5rem;margin-top:1rem;font-weight:700}
.online-sheet-message.error{color:#9d312f}
.online-sheet-actions{margin-top:.5rem}
@media(max-width:760px){
  .online-sheet-toolbar{align-items:flex-start;flex-direction:column}
  .online-sheet-meta{grid-template-columns:1fr}
  .online-score-table{min-width:1080px}
  .online-score-table .round-label-col{min-width:125px;width:125px}
  .online-score-table .player-column,.score-entry-cell{min-width:135px;width:135px}
}

/* v5.4 online score sheet workflow + UI refinement */
.online-sheet-toolbar{padding:18px 20px;margin-bottom:14px;background:#fff}
.sheet-progress-summary{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:.9rem;color:var(--muted)}
.sheet-progress-summary #sheet-round-status{font-weight:800;color:var(--ink)}
.online-sheet-meta{margin-bottom:14px}
.online-sheet-wrap{border-radius:12px;box-shadow:0 8px 24px rgba(28,36,31,.045)}
.online-score-table{min-width:1080px;table-layout:auto}
.online-score-table th,.online-score-table td{padding:.5rem}
.online-score-table thead th{top:0;box-shadow:0 1px 0 var(--line)}
.online-score-table .round-label-col{min-width:132px;width:132px}
.online-score-table .player-column,.online-score-table .score-entry-cell{transition:min-width .18s ease,width .18s ease,opacity .18s ease,background .18s ease}
.online-score-table .player-column,.online-score-table .score-entry-cell{min-width:146px;width:146px}
.online-score-table .player-column.seat-inactive,.online-score-table .score-entry-cell.seat-inactive{min-width:106px;width:106px;opacity:.56;background:#fbfaf8}
.online-score-table .player-column.seat-inactive select{font-size:.78rem;color:var(--muted)}
.online-score-table .total.seat-inactive,.online-score-table .rank.seat-inactive{opacity:.35}
.player-picker,.new-player-name{min-height:38px;padding:.35rem .45rem}
.score-input-label{display:block;margin-bottom:.18rem;text-align:center;font-size:.68rem;font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:var(--muted)}
.score-entry-cell .round-score{min-height:48px;font-size:1.35rem;font-weight:850;border-width:1.5px;border-radius:8px;background:#fff}
.score-entry-cell .round-score:disabled{background:#f4f2ee;color:#aaa49b;cursor:not-allowed}
.score-flags{display:flex;align-items:center;justify-content:center;gap:.55rem;margin-top:.42rem}
.symbol-field{margin:0;display:block}
.round-symbol{width:50px;min-width:50px;min-height:34px;height:34px;padding:.15rem .2rem;font-size:1rem;font-weight:700;text-align:center}
.finish-check{display:inline-flex;align-items:center;justify-content:flex-start;gap:.32rem;margin:0;font-size:.76rem;font-weight:750;white-space:nowrap}
.finish-check input{width:16px;height:16px;min-height:0;margin:0}
.round-running-subtotal{display:flex;align-items:center;justify-content:space-between;gap:.45rem;margin:.5rem -.5rem -.5rem;padding:.38rem .5rem;background:#f4f2ed;border-top:1px solid var(--line);font-size:.73rem;color:var(--muted)}
.round-running-subtotal strong{font-size:.92rem;color:var(--ink);font-variant-numeric:tabular-nums}
.round-running-subtotal .is-leader{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:2px 6px;border-radius:999px;background:#dfeee8;color:#174d42}
.round-row{transition:opacity .16s ease,background .16s ease,box-shadow .16s ease}
.round-row.is-active-round>th,.round-row.is-active-round>td{background:#fffdf8}
.round-row.is-active-round{box-shadow:inset 4px 0 0 var(--accent)}
.round-row.is-active-round .round-label-col strong{color:var(--accent)}
.round-row.is-complete-round{opacity:.78}
.round-row.is-future-round{opacity:.92}
.total-row th,.total-row td{background:#e9efe9!important;font-weight:850}
.rank-row th,.rank-row td{background:#f7f5f1!important;font-weight:850}
.total-row .is-leader,.rank-row .is-leader{background:#dcebe5!important;color:#174d42;box-shadow:inset 0 0 0 2px #a9cbbf}
.online-sheet-legend{padding:14px 18px;border-radius:11px;background:#fbfaf7;box-shadow:none}
.online-sheet-sticky-actions{position:sticky;bottom:0;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px -2px 0;padding:12px 14px;background:rgba(250,248,244,.96);border:1px solid var(--line);border-radius:12px;box-shadow:0 -8px 24px rgba(28,36,31,.09);backdrop-filter:blur(10px)}
.sticky-sheet-status{display:flex;align-items:center;gap:7px;min-width:0;color:var(--muted);font-size:.9rem;white-space:nowrap}
.sticky-sheet-status strong{color:var(--ink)}
.sticky-sheet-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.sticky-sheet-buttons .button{white-space:nowrap}
#next-online-round:disabled{opacity:.45;cursor:not-allowed}
.online-sheet-message{margin-bottom:0}

@media(min-width:761px) and (max-width:1180px){
  .online-score-table{min-width:990px}
  .online-score-table .round-label-col{min-width:120px;width:120px}
  .online-score-table .player-column,.online-score-table .score-entry-cell{min-width:128px;width:128px}
  .online-score-table .player-column.seat-inactive,.online-score-table .score-entry-cell.seat-inactive{min-width:94px;width:94px}
  .score-entry-cell .round-score{font-size:1.2rem}
  .finish-check{font-size:.7rem}
}

@media(max-width:700px){
  .online-sheet-toolbar{padding:15px;gap:8px}
  .sheet-progress-summary{width:100%;justify-content:flex-start}
  .online-sheet-wrap{overflow:visible;border:0;box-shadow:none;background:transparent}
  .online-score-table{display:block;min-width:0;width:100%;border-collapse:separate}
  .online-score-table thead,.online-score-table tbody{display:block;width:100%}
  .online-score-table thead{position:relative}
  .online-score-table .player-header-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;background:#f7f5f1;border:1px solid var(--line);border-radius:12px;margin-bottom:10px}
  .online-score-table .player-header-row .player-heading{grid-column:1/-1;position:static!important;width:auto!important;min-width:0!important;padding:0 0 3px;border:0;background:transparent;font-size:.9rem}
  .online-score-table .player-column{display:block;position:static!important;width:auto!important;min-width:0!important;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fff!important;opacity:1!important}
  .online-score-table .player-column.seat-inactive{background:#faf9f7!important;opacity:.72!important}
  .player-picker,.new-player-name{font-size:.82rem;min-height:38px}
  .online-score-table tbody{display:grid;gap:10px}
  .online-score-table .round-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:none}
  .online-score-table .round-row.is-active-round{box-shadow:inset 4px 0 0 var(--accent)}
  .online-score-table .round-row>th.round-label-col{grid-column:1/-1;position:static!important;width:auto!important;min-width:0!important;padding:0 0 5px;border:0;background:transparent!important}
  .online-score-table .score-entry-cell{display:block;position:relative;width:auto!important;min-width:0!important;padding:8px;border:1px solid var(--line);border-radius:9px;background:#fff!important;opacity:1!important}
  .online-score-table .score-entry-cell.seat-inactive{display:none}
  .online-score-table .score-entry-cell::before{content:attr(data-player-label);display:block;margin-bottom:5px;font-size:.8rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .score-entry-cell .round-score{font-size:1.2rem;min-height:46px}
  .round-running-subtotal{margin:.45rem -8px -8px;padding:.35rem 8px}
  .online-score-table .total-row,.online-score-table .rank-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff}
  .online-score-table .total-row>th,.online-score-table .rank-row>th{grid-column:1/-1;position:static!important;width:auto!important;min-width:0!important;padding:0;border:0;background:transparent!important}
  .online-score-table .total-row>td,.online-score-table .rank-row>td{display:block;width:auto!important;min-width:0!important;padding:9px;border:1px solid var(--line);border-radius:8px;background:#fff!important;text-align:right}
  .online-score-table .total-row>td.seat-inactive,.online-score-table .rank-row>td.seat-inactive{display:none}
  .online-score-table .total-row>td::before,.online-score-table .rank-row>td::before{content:attr(data-player-label);float:left;font-size:.78rem;font-weight:700;color:var(--muted)}
  .online-sheet-sticky-actions{position:sticky;bottom:0;display:block;margin:14px -4px 0;padding:10px;border-radius:10px}
  .sticky-sheet-status{justify-content:center;margin-bottom:8px;font-size:.82rem}
  .sticky-sheet-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .sticky-sheet-buttons #save-online-game{grid-column:1/-1}
  .sticky-sheet-buttons .button{width:100%;justify-content:center;padding:8px 10px}
  .online-sheet-legend{font-size:.82rem}
}
