.marker-count-button{border:0;background:rgba(233,221,202,.1);border-radius:999px;padding:8px 11px;cursor:pointer}
.marker-count-button:not(:disabled){color:var(--cream)}
.marker-count-button:disabled{cursor:default;opacity:.65}
.marker-dialog{width:min(calc(100% - 24px),620px);max-height:min(88dvh,820px)}
.marker-dialog-inner{position:relative;padding:25px}
.marker-dialog h2{margin:7px 34px 18px 0;font-size:28px}
.marker-list{display:grid;gap:12px;max-height:calc(88dvh - 115px);overflow:auto;padding-right:2px}
.marker-card{border:1px solid var(--line);border-radius:16px;background:#141217;overflow:hidden}
.marker-card-head{display:flex;justify-content:space-between;gap:12px;padding:13px 14px}
.marker-card-head strong,.marker-card-head span{display:block}
.marker-card-head strong{font-size:14px}
.marker-card-head span{margin-top:3px;font-size:11px;color:var(--muted)}
.marker-score{font-family:Georgia,serif;font-size:25px!important;color:var(--text)!important;margin:0!important;white-space:nowrap}
.marker-photo{display:block;width:100%;max-height:390px;object-fit:contain;background:#09080b;border-top:1px solid var(--line)}
.marker-no-photo{padding:14px;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}
.history-marker-button{grid-column:1/-1;justify-self:start;border:0;background:transparent;color:#ef526c;padding:3px 0;font-size:12px;font-weight:800;cursor:pointer}
body.table-mode .match-actions{display:none}
body.table-mode .win-button{background-clip:padding-box}
@media(orientation:landscape) and (max-height:650px){
  body:not(.manual-portrait) .match-actions{display:none}
  body:not(.manual-portrait) .win-button{background-clip:padding-box}
}
@media(max-width:520px){.marker-dialog-inner{padding:22px 15px}.marker-dialog h2{font-size:24px}.marker-photo{max-height:330px}}
