/* Preserve the compact shared header grid over the full-page map scenery. */
.report-workspace .overview-concept-sheet { --sheet-gap:20px; --sheet-cape-width:50px; --sheet-cape-height:100px; }
.report-workspace .overview-concept-sheet .match-sheet-map-layout {
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:auto auto auto;
  column-gap:var(--sheet-gap);
  row-gap:0;
  min-width:0;
}
.report-workspace .overview-concept-sheet .match-sheet-map-scenery {
  position:relative;
  z-index:0;
  grid-column:1 / -1;
  grid-row:1 / 3;
  min-width:0;
  min-height:0;
  overflow:hidden;
  border-radius:6px 6px 0 0;
  background:none;
  pointer-events:none;
}
.report-workspace .overview-concept-sheet .match-sheet-map-layout > .overview-build-ledger,
.report-workspace .overview-concept-sheet .match-sheet-map-layout > .overview-build-ledger > .overview-teams-grid { display:contents; }
.report-workspace .overview-concept-sheet .match-sheet-map-layout .overview-team-ledger {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-rows:subgrid;
  grid-column:1;
  grid-row:2 / 4;
  min-width:0;
  align-self:stretch;
}
.report-workspace .overview-concept-sheet .match-sheet-map-layout .overview-team-ledger.team-red { grid-column:2; }
.report-workspace .overview-concept-sheet .match-sheet-map-layout .match-sheet-guild { grid-row:1; position:relative; isolation:isolate; }
.report-workspace .overview-concept-sheet .match-sheet-map-layout .sheet-data { grid-row:2; min-width:0; align-self:start; }
.report-workspace .overview-concept-sheet :is(.match-sheet-map-scenery,.match-sheet-guild-map) > .report-map-wash { visibility:hidden; overflow:hidden; border-radius:inherit; }
.report-workspace .overview-concept-sheet .match-sheet-guild-map { display:none; position:absolute; z-index:-1; inset:0; overflow:hidden; background:none; pointer-events:none; }
:root:not([data-visual-mode="minimal"]) .report-workspace .overview-concept-sheet :is(.match-sheet-map-scenery,.match-sheet-guild-map) { background:linear-gradient(180deg,rgb(15 19 19 /60%),rgb(15 19 19 /80%)); }
.report-workspace .overview-concept-sheet .match-sheet-header {
  position:relative;
  isolation:isolate;
  z-index:1;
  grid-column:1 / -1;
  grid-row:1;
  margin:0;
  padding:0;
  background:none;
}
.report-workspace .overview-concept-sheet .report-overview-combat .combat-player-ledger-head {
  background:none;
  text-shadow:0 1px 3px #000;
}
.report-workspace[data-destination="overview"] .report-navigation-slot { padding-inline:0; background:none; }
.report-workspace[data-destination="overview"] .report-navigation-slot .workspace-section-tab { background:none; text-shadow:none; }
.report-workspace .overview-concept-sheet .report-overview-combat .combat-player-ledger-head { padding-inline:8px; }
.report-workspace .overview-concept-sheet .match-sheet-header .matchup-report-header {
  position:relative;
  margin:0;
  padding:0;
  align-content:center;
  gap:0;
  border:0;
  background:none;
  border-radius:0;
  overflow:visible;
}
.report-workspace .overview-concept-sheet .overview-match-header > h2.sr-only { position:absolute; }
.report-workspace .overview-match-header > .report-map-wash { visibility:hidden; overflow:hidden; border-radius:inherit; }
.report-workspace .overview-concept-sheet .has-map-scene .match-sheet-header .matchup-report-header { background:none; border-radius:0; box-shadow:none; }
:root[data-visual-mode="minimal"] .report-workspace .overview-concept-sheet .match-sheet-header .matchup-report-header { min-height:0; background:none; }
.report-workspace .overview-concept-sheet .report-match-facts {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:3px;
  width:min(100%,360px);
  box-sizing:border-box;
  margin-inline:auto;
  padding:8px 24px;
  border:0;
  border-radius:0;
  background:none;
  color:var(--color-text);
  text-shadow:0 1px 3px #000;
}
.report-workspace .overview-concept-sheet .report-match-facts > :is(.report-match-fact,.report-match-occasion) { display:flex; align-items:center; justify-content:center; gap:6px; min-width:0; padding:0; color:var(--color-text); text-decoration:none; }
.report-workspace .overview-concept-sheet .report-match-facts > :is(.report-match-fact,.report-match-occasion) > em { color:var(--color-text-secondary); font:400 11px/16px var(--font-sans); font-style:normal; }
.report-workspace .overview-concept-sheet .report-match-facts > :is(.report-match-fact,.report-match-occasion) > strong { display:flex; align-items:center; justify-content:center; gap:6px; min-width:0; font:500 12px/18px var(--font-sans); text-align:center; overflow-wrap:anywhere; }
.report-workspace .overview-concept-sheet .report-match-facts > .report-map-fact > strong { font:600 15px/20px var(--font-sans); }
.report-workspace .overview-concept-sheet .report-match-facts > :not(.report-map-fact) > em { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.report-workspace .overview-concept-sheet .report-match-facts > :is(.report-date-fact,.report-duration-fact) > strong { color:var(--color-text-secondary); }
.report-workspace .overview-concept-sheet :is(.report-date-fact,.report-duration-fact) .workspace-control-icon { flex:0 0 13px; width:13px; height:13px; }
.report-workspace .overview-concept-sheet .report-match-flux > strong > img { flex:0 0 18px; width:18px; height:18px; border-radius:2px; }
.report-workspace .overview-concept-sheet .report-match-facts > .report-help { position:absolute; top:50%; right:4px; transform:translateY(-50%); }
.report-workspace .overview-concept-sheet .report-match-facts > .report-help > button { width:24px; height:24px; min-height:24px; padding:2px; }
.report-workspace .overview-concept-sheet .match-sheet-guild {
  --guild-header-fade-direction:to right;
  display:grid;
  grid-template-columns:var(--sheet-cape-width) minmax(0,1fr) 108px;
  align-items:center;
  gap:10px;
  min-width:0;
  min-height:80px;
  padding:8px 12px;
  border:0;
  background:linear-gradient(var(--guild-header-fade-direction),rgb(15 19 19 / 0%) 0% 18%,rgb(15 19 19 / 68%) calc(100% - 132px) 100%);
  text-shadow:0 1px 3px #000;
}
.report-workspace .overview-concept-sheet .match-sheet-guild.team-red {
  --guild-header-fade-direction:to left;
  grid-template-columns:108px minmax(0,1fr) var(--sheet-cape-width);
}
.report-workspace .overview-concept-sheet .match-sheet-guild.team-red .report-team-cape { grid-column:3; grid-row:1; }
.report-workspace .overview-concept-sheet .match-sheet-guild.team-red .report-team-heading { grid-column:2; grid-row:1; text-align:right; }
.report-workspace .overview-concept-sheet .match-sheet-guild.team-red .match-sheet-summary-table { grid-column:1; grid-row:1; }
.report-workspace .overview-concept-sheet .match-sheet-guild.team-red :is(.report-matchup-guild-name h3,.report-match-rating-changes) { justify-content:flex-end; }
.report-workspace .overview-concept-sheet .match-sheet-guild.team-red .report-match-rating-changes { margin-left:auto; }
.report-workspace .overview-concept-sheet .match-sheet-guild .report-team-cape {
  position:relative;
  inset:auto;
  z-index:0;
  width:var(--sheet-cape-width);
  height:var(--sheet-cape-height);
  opacity:1;
  overflow:visible;
}
.report-workspace .overview-concept-sheet .match-sheet-guild .report-team-cape .guild-cape {
  display:block;
  width:var(--sheet-cape-width);
  height:var(--sheet-cape-height);
  inline-size:var(--sheet-cape-width);
  block-size:var(--sheet-cape-height);
}
.report-workspace .overview-concept-sheet .match-sheet-guild .report-team-heading {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  align-content:center;
  gap:4px;
  min-width:0;
  min-height:0;
  padding:0;
  border:0;
  background:none;
}
.report-workspace .overview-concept-sheet .match-sheet-guild :is(.report-lineup-guild,.report-matchup-guild-name) { display:contents; }
.report-workspace .overview-concept-sheet .match-sheet-guild .report-matchup-guild-name h3 { grid-column:1; grid-row:1; margin:0; }
.report-workspace .overview-concept-sheet .match-sheet-guild .report-match-rating-changes { grid-column:1; grid-row:2; margin:0; align-self:start; }
.report-workspace .overview-concept-sheet .match-sheet-guild .overview-team-export { grid-column:1; grid-row:3; justify-self:start; gap:8px; }
.report-workspace .overview-concept-sheet .match-sheet-guild.team-red .report-match-rating-changes { grid-column:1; }
.report-workspace .overview-concept-sheet .match-sheet-guild.team-red .overview-team-export { grid-column:1; justify-self:end; align-items:flex-end; }
.report-workspace .overview-concept-sheet .report-matchup-guild-name h3 {
  gap:5px 8px;
  font-size:clamp(17px,1.2vw,21px);
  line-height:1.2;
  text-shadow:0 2px 5px #000;
}
.report-workspace .overview-concept-sheet .report-match-rating-changes {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  margin-top:0;
  padding:0;
  background:none;
  text-shadow:0 1px 3px #000;
}
.report-workspace .overview-concept-sheet .team-red .report-match-rating-changes { align-items:flex-end; }
.report-workspace .overview-concept-sheet :is(.report-team-dot,.report-match-rating-separator) { display:none; }
.report-workspace .overview-concept-sheet .overview-team-export { align-self:center; align-items:center; flex-direction:row; flex-wrap:nowrap; gap:8px; }
.report-workspace .overview-concept-sheet .match-sheet-guild .overview-team-export-button {
  gap:4px;
  width:auto;
  min-width:0;
  min-height:24px;
  height:24px;
  padding:0;
  border:0;
  background:none;
  color:var(--color-text);
  font:500 11px/1.2 var(--font-sans);
}
.report-workspace .overview-concept-sheet .match-sheet-guild .overview-team-export-icon { width:24px; height:24px; }
.report-workspace .overview-concept-sheet .match-sheet-guild .overview-team-export-format { display:none; }
.report-workspace .overview-concept-sheet .match-sheet-guild .overview-team-export-name { display:inline; }
.report-workspace .overview-concept-sheet .match-sheet-guild .overview-team-export-button svg { display:block; width:12px; height:12px; }
.report-workspace .overview-concept-sheet .match-sheet-guild .overview-team-export-button:not(:disabled):hover { background:none; }
.report-workspace .overview-concept-sheet .match-sheet-summary-table {
  width:100%;
  table-layout:auto;
  border-collapse:collapse;
  background:none;
  border:0;
  font-size:12px;
  font-variant-numeric:tabular-nums;
}
.report-workspace .overview-concept-sheet .match-sheet-summary-table :is(th,td) { height:16px; padding:0; border:0; background:none; font:400 12px/16px var(--font-sans); font-variant-numeric:tabular-nums; letter-spacing:0; text-transform:none; white-space:nowrap; }
.report-workspace .overview-concept-sheet .match-sheet-summary-table th { text-align:left; font-weight:400; color:var(--color-text-secondary); }
.report-workspace .overview-concept-sheet .match-sheet-summary-table td { text-align:right; font-size:12px; font-weight:500; }
.report-workspace .overview-concept-sheet .match-sheet-summary-table tr { border:0; background:none; }
.report-workspace .overview-concept-sheet .match-sheet-summary-stat { display:flex; align-items:center; gap:4px; }
.report-workspace .overview-concept-sheet .match-sheet-summary-stat svg { width:13px; height:13px; }
.report-workspace .overview-concept-sheet .overview-build-ledger .overview-teams-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:var(--sheet-gap);
}
.report-workspace .overview-concept-sheet .overview-team-ledger {
  --sheet-team-rgb:98 141 255;
  border:0;
  border-radius:0;
  background:none;
  overflow:visible;
}
.report-workspace .overview-concept-sheet .overview-team-ledger.team-red { --sheet-team-rgb:240 107 104; }
.report-workspace .overview-concept-sheet .sheet-data {
  border:0;
  border-radius:0;
  background:none;
  overflow:visible;
}
.report-workspace .overview-concept-sheet .sheet-roster { position:relative; isolation:isolate; }
.report-workspace .tab-panel .overview-concept-sheet .sheet-roster table.report-roster-table.report-build-matrix { background:none; }
.report-workspace .tab-panel .overview-concept-sheet .sheet-roster table.report-roster-table.report-build-matrix tbody tr.report-player-row { background:none; }
.report-workspace .tab-panel .overview-concept-sheet .sheet-roster table.report-roster-table.report-build-matrix tbody tr.report-player-row:nth-child(even) { background:none; }
.report-workspace .tab-panel .overview-concept-sheet .sheet-roster table.report-roster-table.report-build-matrix tbody tr.report-player-row > td { border-bottom:0; }
.report-workspace .tab-panel .overview-concept-sheet .sheet-roster table.report-roster-table.report-build-matrix tbody tr.report-player-row > th { background:color-mix(in srgb,rgb(var(--sheet-team-rgb)) 6%,rgb(10 15 17 / 78%)); }
.report-workspace .tab-panel .overview-concept-sheet .sheet-roster table.report-roster-table.report-build-matrix tbody tr.report-player-row:nth-child(even) > th { background:color-mix(in srgb,rgb(var(--sheet-team-rgb)) 9%,rgb(10 15 17 / 78%)); }
.report-workspace .tab-panel .overview-concept-sheet .sheet-roster table.report-roster-table.report-build-matrix tbody tr.report-player-row:is(:hover,:focus-within) > th { background:color-mix(in srgb,rgb(var(--sheet-team-rgb)) 14%,rgb(10 15 17 / 84%)); }
.report-workspace .overview-concept-sheet .report-overview-combat { margin-top:28px; }
.report-workspace .overview-concept-sheet :is(.match-sheet-header,.match-sheet-guild) :is(a,button):focus-visible { outline:2px solid #f0d08b; outline-offset:3px; }
:root[data-visual-mode="minimal"] .report-workspace[data-destination="overview"] > .report-atmosphere { display:none; }

@media (min-width:1440px) {
  .report-workspace .overview-concept-sheet { --sheet-cape-width:54px; --sheet-cape-height:108px; }
  .report-workspace .overview-concept-sheet .match-sheet-map-layout {
    --sheet-facts-half:110px;
    grid-template-columns:minmax(0,1fr) var(--sheet-facts-half) var(--sheet-facts-half) minmax(0,1fr);
    grid-template-rows:auto auto;
  }
  .report-workspace .overview-concept-sheet .match-sheet-map-scenery { grid-row:1; }
  /* Continue the guild-header wash through the team gutter behind the facts. */
  :root:not([data-visual-mode="minimal"]) .report-workspace .overview-concept-sheet .match-sheet-map-scenery::before { content:""; position:absolute; inset-block:0; left:calc(50% - var(--sheet-gap) / 2); width:var(--sheet-gap); background:rgb(15 19 19 /68%); pointer-events:none; }
  .report-workspace .overview-concept-sheet .match-sheet-header { grid-column:2 / 4; grid-row:1; z-index:2; }
  .report-workspace .overview-concept-sheet .match-sheet-map-layout .overview-team-ledger { grid-column:1 / 3; grid-row:1 / 3; }
  .report-workspace .overview-concept-sheet .match-sheet-map-layout .overview-team-ledger.team-red { grid-column:3 / 5; }
  .report-workspace .overview-concept-sheet .match-sheet-map-layout .match-sheet-guild { padding-inline-end:calc(12px + var(--sheet-facts-half) + var(--sheet-gap)); }
  .report-workspace .overview-concept-sheet .match-sheet-map-layout .match-sheet-guild.team-red { padding-inline-start:calc(12px + var(--sheet-facts-half) + var(--sheet-gap)); padding-inline-end:12px; }
  .report-workspace .overview-concept-sheet .match-sheet-header .matchup-report-header::after { background:linear-gradient(90deg,rgb(16 18 22 / 18%),rgb(16 18 22 / 58%) 25% 75%,rgb(16 18 22 / 18%)); }
}
@media (max-width:1439px) {
  .report-workspace .overview-concept-sheet .overview-build-ledger .overview-teams-grid { grid-template-columns:minmax(0,1fr); gap:28px; }
  .report-workspace .overview-concept-sheet .match-sheet-map-layout { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto auto auto; }
  .report-workspace .overview-concept-sheet .match-sheet-map-layout .overview-team-ledger.team-red { grid-column:1; grid-row:4 / 6; margin-top:28px; }
  .report-workspace .overview-concept-sheet .overview-team-ledger.team-red .match-sheet-guild-map { display:block; }
}
@media (max-width:760px) {
  .report-workspace .overview-concept-sheet .match-sheet-guild { gap:8px; }
}
@media (max-width:650px) {
  .report-workspace .overview-concept-sheet .match-sheet-guild .report-team-heading { gap:4px 6px; }
  .report-workspace .overview-concept-sheet .report-match-rating-changes { font-size:11px; }
  .report-workspace .overview-concept-sheet .match-sheet-map-layout .match-sheet-guild { grid-template-rows:auto auto auto; row-gap:4px; align-content:center; }
  .report-workspace .overview-concept-sheet .match-sheet-guild .report-team-heading { display:contents; }
  .report-workspace .overview-concept-sheet .match-sheet-guild .report-matchup-guild-name h3 { grid-column:1 / -1; grid-row:1; }
  .report-workspace .overview-concept-sheet .match-sheet-guild .report-team-cape { grid-column:1; grid-row:2 / 4; }
  .report-workspace .overview-concept-sheet .match-sheet-guild .match-sheet-summary-table { grid-column:3; grid-row:2 / 4; }
  .report-workspace .overview-concept-sheet .match-sheet-guild .report-match-rating-changes { grid-column:2; grid-row:2; }
  .report-workspace .overview-concept-sheet .match-sheet-guild .overview-team-export { grid-column:2; grid-row:3; justify-self:start; }
  .report-workspace .overview-concept-sheet .match-sheet-guild.team-red .report-team-cape { grid-column:3; grid-row:2 / 4; }
  .report-workspace .overview-concept-sheet .match-sheet-guild.team-red .match-sheet-summary-table { grid-column:1; grid-row:2 / 4; }
  .report-workspace .overview-concept-sheet .match-sheet-guild.team-red .report-match-rating-changes { grid-column:2; grid-row:2; }
  .report-workspace .overview-concept-sheet .match-sheet-guild.team-red .overview-team-export { grid-column:2; grid-row:3; justify-self:end; }
}
@media (max-width:420px) {
  .report-workspace .overview-concept-sheet .match-sheet-map-layout .match-sheet-guild .overview-team-export { grid-column:1 / -1; grid-row:4; }
}
@media (max-width:760px) {
  /* Skills slide behind this rail; keep their artwork out of the player text. */
  .report-workspace .tab-panel .overview-concept-sheet .sheet-roster table.report-roster-table.report-build-matrix tbody tr.report-player-row > th { background:color-mix(in srgb,rgb(var(--sheet-team-rgb)) 5%,#0e1414); }
  .report-workspace .tab-panel .overview-concept-sheet .sheet-roster table.report-roster-table.report-build-matrix tbody tr.report-player-row:is(:hover,:focus-within) > th { background:color-mix(in srgb,rgb(var(--sheet-team-rgb)) 12%,#0e1414); }
}
@media print {
  .report-workspace .overview-concept-sheet :is(.match-sheet-map-scenery,.match-sheet-guild-map) { display:none; }
  .report-workspace .overview-match-header > .report-map-wash { display:none; }
  .report-workspace .overview-concept-sheet .match-sheet-header .matchup-report-header { min-height:0; background:none; }
  .report-workspace[data-destination="overview"] > .report-atmosphere { display:none; }
  .report-workspace .overview-concept-sheet .match-sheet-header { break-inside:avoid; }
}
