/* DraftArena v1.6.20 — photographs in match history and read-only draft replay.
   All rules are scoped: the live draft retains its verified v1.6.14 layout. */
body:not(.draft-focus-mode) .history-match-item{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:15px 18px;
}
body:not(.draft-focus-mode) .history-match-info{flex:1;min-width:230px}
body:not(.draft-focus-mode) .history-match-info>small{display:block;margin-top:5px}
body:not(.draft-focus-mode) .history-match-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body:not(.draft-focus-mode) .history-picks{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}
body:not(.draft-focus-mode) .history-team-portraits{display:flex;align-items:center;gap:5px;min-height:50px}
body:not(.draft-focus-mode) .history-team-portraits>span:first-child{font-size:12px;font-weight:800;color:#b4c9da;margin-right:4px}
body:not(.draft-focus-mode) .history-class-face{display:block;width:43px;height:48px;overflow:hidden;border:1px solid #344e61;border-radius:4px;background:#111f2d}
body:not(.draft-focus-mode) .history-class-face img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}
body:not(.draft-focus-mode) .history-no-pick{color:#8193a5;font-size:15px}
body:not(.draft-focus-mode) .history-replay-link{display:flex;justify-content:flex-end;margin-bottom:12px}
body:not(.draft-focus-mode) .profile-match-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
/* Replay reuses the same stage, players, map, class face portraits and picks/bans
   board. It only replaces player interaction areas with a timeline navigator. */
body.draft-focus-mode .draft-replay-board .draft-replay-transport{
  width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;
}
body.draft-focus-mode .draft-replay-board .draft-replay-transport .btn{
  min-width:0;padding:8px 4px;font-size:18px;min-height:42px;
}
body.draft-focus-mode .draft-replay-board .draft-replay-details{
  display:flex;flex-direction:column;gap:9px;padding:14px;justify-content:center;
  background:rgba(9,24,33,.83);border:1px solid #324653;min-width:0;
}
body.draft-focus-mode .draft-replay-board .draft-replay-details>b{font-size:12px;color:#c2d8e8}
body.draft-focus-mode .draft-replay-board .draft-replay-details>p{
  font-weight:800;font-size:clamp(13px,1.12vw,20px);color:#edf4fa;line-height:1.3;
  margin:0;overflow-wrap:anywhere;
}
body.draft-focus-mode .draft-replay-board .draft-replay-details>small{font-size:11px;color:#9db2c4;line-height:1.3}
body.draft-focus-mode .draft-replay-board .draft-order-step[data-action="replay-jump"]{
  cursor:pointer;border-radius:4px!important;transition:background .12s;
}
body.draft-focus-mode .draft-replay-board .draft-order-step[data-action="replay-jump"]:hover:not(:disabled),
body.draft-focus-mode .draft-replay-board .draft-order-step[aria-pressed="true"]{
  background:rgba(133,174,211,.18)!important;
}
body.draft-focus-mode .draft-replay-board .draft-order-step:disabled{opacity:.38;cursor:default}
body.draft-focus-mode .draft-replay-board .draft-reference-controls .draft-class{cursor:default}
body.draft-focus-mode .draft-replay-board .draft-focus-back{width:100%;max-width:180px}
@media(max-width:1250px){
 body.draft-focus-mode .draft-replay-board .draft-replay-details{min-height:130px}
}
@media(max-width:650px){
 body:not(.draft-focus-mode) .history-match-item{align-items:flex-start;padding:13px}
 body:not(.draft-focus-mode) .history-match-actions{width:100%}
 body.draft-focus-mode .draft-replay-board .draft-replay-details{min-height:110px;padding:8px}
}

/* v1.6.51: return to the combat/report screen without closing the match. */
body.draft-focus-mode .draft-replay-board .draft-focus-nav{gap:6px;flex-wrap:wrap}
body.draft-focus-mode .draft-replay-board .draft-focus-nav .draft-focus-back{flex:1 1 142px;width:auto;max-width:200px}

/* v1.6.58: public KTA participants instead of Team A/B; larger readable cards. */
body:not(.draft-focus-mode) .history-match-item{padding:21px 23px;gap:20px}
body:not(.draft-focus-mode) .history-picks{gap:18px;align-items:stretch;margin-top:15px}
body:not(.draft-focus-mode) .history-team-portraits{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:9px;min-width:210px;flex:1}
body:not(.draft-focus-mode) .history-team-portraits>span.history-team-names{font-size:14px;font-weight:750;line-height:1.35;color:#e3eefb;overflow-wrap:anywhere;margin:0}
body:not(.draft-focus-mode) .history-team-classes{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
body:not(.draft-focus-mode) .history-class-face{width:55px;height:62px}
body:not(.draft-focus-mode) .history-match-info>strong{font-size:16px}
body:not(.draft-focus-mode) .history-match-info>small{font-size:12px}
@media(max-width:650px){
 body:not(.draft-focus-mode) .history-match-item{padding:16px}
 body:not(.draft-focus-mode) .history-picks{gap:14px}
 body:not(.draft-focus-mode) .history-team-portraits{min-width:140px}
 body:not(.draft-focus-mode) .history-class-face{width:49px;height:57px}
}
