.report {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  overflow: auto;
  min-height: 0;
  padding: 0 12px 12px;
  background:
    radial-gradient(circle at 75% 18%, rgba(209, 167, 77, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(15, 15, 13, 0.32), rgba(10, 10, 9, 0.78));
}

.report-detail-title {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 -12px 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(215, 170, 71, 0.18);
  background: rgba(18, 17, 14, 0.95);
  color: #f7e6b5;
  font-weight: 900;
}

.report-detail-title b {
  padding: 5px 9px;
  border: 1px solid rgba(215, 170, 71, 0.34);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
}

.empty-report {
  padding: 16px 14px;
  color: rgba(244, 236, 216, 0.58);
  font-size: 13px;
  line-height: 1.6;
}

.battle-stats {
  margin: 0 0 12px;
  border: 1px solid rgba(215, 170, 71, 0.2);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(35, 90, 100, 0.22), rgba(110, 38, 31, 0.16)),
    rgba(15, 14, 11, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, 0.08);
}

.battle-stats-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid rgba(215, 170, 71, 0.16);
}

.battle-stats-head strong {
  display: block;
  color: #fff0bd;
  font-size: 14px;
}

.battle-stats-head span {
  color: rgba(244, 236, 216, 0.62);
  font-size: 11px;
  line-height: 1.45;
}

.battle-stats-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.battle-stats-total span {
  padding: 4px 7px;
  border: 1px solid rgba(215, 170, 71, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.battle-stats-total b {
  color: #f7d77e;
}

.battle-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  padding: 10px;
}

.battle-stat-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(215, 170, 71, 0.14);
  border-radius: 5px;
  background: rgba(8, 8, 7, 0.36);
}

.battle-stat-player {
  box-shadow: inset 3px 0 0 rgba(93, 182, 233, 0.8);
}

.battle-stat-enemy {
  box-shadow: inset 3px 0 0 rgba(235, 113, 100, 0.82);
}

.battle-stat-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.battle-stat-title span {
  color: rgba(244, 236, 216, 0.58);
  font-size: 11px;
}

.battle-stat-title strong {
  overflow: hidden;
  color: #fff2d2;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-stat-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0;
}

.battle-stat-values span {
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(215, 170, 71, 0.12);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.16);
}

.battle-stat-values small {
  display: block;
  color: rgba(244, 236, 216, 0.56);
  font-size: 10px;
}

.battle-stat-values b {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-stat-values .damage,
.battle-skill-total .damage {
  color: #ff7c71;
}

.battle-stat-values .heal,
.battle-skill-total .heal {
  color: #7ce2a7;
}

.battle-skill-totals {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.battle-skill-total {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  min-width: 0;
  color: rgba(244, 236, 216, 0.76);
  font-size: 11px;
  line-height: 1.4;
}

.battle-skill-total b {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff0aa;
}

.battle-skill-total em {
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.battle-stat-empty {
  color: rgba(244, 236, 216, 0.46);
  font-size: 11px;
}

.log-line {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  border-bottom: 1px solid rgba(215, 170, 71, 0.08);
  background: rgba(20, 19, 15, 0.3);
  padding: 10px 8px;
  color: #e9dec2;
  font-size: 13px;
  line-height: 1.62;
}

.log-line:nth-child(2n + 1) {
  background: rgba(8, 8, 7, 0.28);
}

.log-line.round {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin: 10px 0 6px;
  border: 1px solid rgba(215, 170, 71, 0.22);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(120, 30, 25, 0.72), rgba(31, 86, 86, 0.62)),
    rgba(20, 19, 15, 0.84);
  color: #f5dfaa;
  font-weight: 900;
}

.log-line.round em {
  color: rgba(255, 237, 194, 0.68);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0;
}

.log-line.hit {
  box-shadow: inset 3px 0 0 rgba(218, 80, 65, 0.78);
}

.log-line.heal {
  box-shadow: inset 3px 0 0 rgba(91, 173, 133, 0.82);
}

.log-line.control {
  box-shadow: inset 3px 0 0 rgba(107, 141, 197, 0.82);
}

.log-line.system {
  box-shadow: inset 3px 0 0 rgba(234, 213, 164, 0.72);
}

.log-line.result {
  box-shadow: inset 3px 0 0 rgba(232, 186, 82, 0.88);
}

.report-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 2px solid rgba(215, 170, 71, 0.38);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 230, 172, 0.18), transparent),
    rgba(10, 10, 8, 0.86);
  color: #fff3c5;
  font-size: 15px;
  font-weight: 900;
}

.report-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.report-avatar-portrait::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.14), transparent 42%),
    radial-gradient(circle at 50% 18%, transparent 0 52%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
  content: "";
}

.log-line.hit .report-avatar {
  border-color: rgba(218, 80, 65, 0.86);
}

.log-line.heal .report-avatar {
  border-color: rgba(91, 173, 133, 0.88);
}

.log-line.control .report-avatar {
  border-color: rgba(107, 141, 197, 0.88);
}

.log-line.result .report-avatar {
  border-color: rgba(232, 186, 82, 0.9);
}

.log-line .report-avatar.report-avatar-player {
  border-color: rgba(93, 182, 233, 0.92);
  background:
    linear-gradient(135deg, rgba(126, 218, 255, 0.18), transparent),
    rgba(8, 18, 24, 0.86);
  box-shadow:
    0 0 0 1px rgba(35, 94, 128, 0.68),
    0 0 12px rgba(84, 186, 255, 0.18);
}

.log-line .report-avatar.report-avatar-enemy {
  border-color: rgba(235, 113, 100, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 166, 132, 0.18), transparent),
    rgba(28, 10, 8, 0.86);
  box-shadow:
    0 0 0 1px rgba(112, 38, 34, 0.72),
    0 0 12px rgba(255, 91, 78, 0.18);
}

.report-skill {
  color: #fff0aa;
  font-weight: 900;
}

.report-unit {
  font-weight: 900;
}

.report-unit-player {
  color: #69c6ff;
  text-shadow: 0 0 12px rgba(84, 186, 255, 0.28);
}

.report-unit-enemy {
  color: #ff7b6f;
  text-shadow: 0 0 12px rgba(255, 91, 78, 0.28);
}

.report-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.report-number {
  padding: 0 2px;
  font-weight: 900;
}

.report-number.damage {
  color: #ff6f63;
}

.report-number.heal {
  color: #7ce2a7;
}

.report-modifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.report-modifiers span {
  padding: 2px 6px;
  border: 1px solid rgba(215, 170, 71, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(245, 223, 170, 0.78);
  font-size: 11px;
  line-height: 1.35;
}

.system-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  min-height: 0;
  padding: 12px;
  background:
    radial-gradient(circle at 20% 18%, rgba(107, 141, 197, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(15, 15, 13, 0.26), rgba(10, 10, 9, 0.72));
}

.system-message {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(215, 170, 71, 0.14);
  border-radius: 6px;
  background: rgba(20, 19, 15, 0.5);
  box-shadow: inset 3px 0 0 rgba(234, 213, 164, 0.7);
}

.system-message span {
  color: rgba(244, 236, 216, 0.52);
  font-size: 11px;
  font-weight: 800;
}

.system-message p {
  color: #e9dec2;
  font-size: 13px;
  line-height: 1.55;
}

.report-entry {
  position: relative;
  border-color: rgba(245, 223, 170, 0.34);
  background:
    linear-gradient(180deg, rgba(245, 223, 170, 0.16), rgba(245, 223, 170, 0.05)),
    rgba(14, 15, 14, 0.78);
  color: #f8df9b;
}

.report-entry.has-unread {
  box-shadow:
    0 0 0 1px rgba(245, 223, 170, 0.2),
    0 0 22px rgba(190, 54, 46, 0.2);
}

.report-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  border: 1px solid rgba(255, 224, 170, 0.7);
  border-radius: 999px;
  background: #b9362f;
  color: #fff7dc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.battle-report-modal {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f2ead3;
}

.battle-report-modal::backdrop {
  background:
    radial-gradient(circle at 50% 42%, rgba(224, 176, 79, 0.1), transparent 20rem),
    linear-gradient(90deg, rgba(8, 13, 17, 0.82), rgba(13, 13, 12, 0.72), rgba(22, 9, 8, 0.8)),
    rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(2px);
}

.battle-report-shell {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    radial-gradient(circle at 22% 14%, rgba(83, 147, 182, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 74%, rgba(176, 57, 50, 0.16), transparent 28rem),
    rgba(20, 22, 22, 0.9);
}

.battle-report-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 86px) 12px;
}

.battle-report-top p {
  color: rgba(247, 222, 154, 0.58);
  font-size: 13px;
}

.battle-report-top h2 {
  color: #efd27d;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
}

.battle-report-close {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #c94f49;
  cursor: pointer;
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
}

.battle-report-content {
  overflow: hidden;
  min-height: 0;
  padding: 0 clamp(14px, 5vw, 86px) 28px;
}

.battle-report-list-view,
.battle-report-detail-view {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-height: 0;
}

.battle-report-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1480px;
  margin: 0 auto 12px;
  width: 100%;
}

.battle-report-tabs,
.battle-report-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.battle-report-tabs button,
.battle-report-tool,
.battle-report-bottom-nav button,
.battle-report-stat-nav button,
.battle-report-replay,
.battle-report-back {
  min-height: 38px;
  border: 1px solid rgba(245, 223, 170, 0.28);
  border-radius: 2px;
  background: rgba(20, 20, 19, 0.76);
  color: rgba(246, 237, 213, 0.82);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.battle-report-tabs button,
.battle-report-tool {
  padding: 0 22px;
}

.battle-report-tabs .active,
.battle-report-bottom-nav .active,
.battle-report-stat-nav .active {
  border-color: rgba(227, 73, 65, 0.5);
  background:
    linear-gradient(90deg, rgba(155, 39, 34, 0.64), rgba(36, 31, 26, 0.78)),
    rgba(18, 17, 16, 0.85);
  color: #fff0bd;
  box-shadow: inset 0 -2px 0 rgba(231, 66, 58, 0.7);
}

.battle-report-tabs button:disabled,
.battle-report-tool:disabled,
.battle-report-bottom-nav button:disabled {
  cursor: default;
  opacity: 0.48;
}

.battle-report-list {
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: auto;
  max-width: 1480px;
  width: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 0 6px 20px;
}

.battle-report-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  min-height: 214px;
  border: 1px solid rgba(245, 238, 194, 0.44);
  background:
    linear-gradient(90deg, rgba(21, 31, 45, 0.82), rgba(32, 31, 30, 0.74) 48%, rgba(58, 22, 25, 0.78)),
    rgba(18, 18, 17, 0.8);
  color: #f4ecd8;
  cursor: pointer;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 30px rgba(0, 0, 0, 0.24);
}

.battle-report-card.unread {
  border-color: rgba(255, 244, 197, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 239, 173, 0.18),
    0 0 24px rgba(231, 194, 106, 0.18),
    0 16px 30px rgba(0, 0, 0, 0.24);
}

.battle-report-shield {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 240, 184, 0.95) 0 7px, transparent 8px),
    linear-gradient(180deg, rgba(8, 8, 8, 0.86), rgba(8, 8, 8, 0.44));
}

.battle-report-card-main {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.battle-report-card-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  min-height: 54px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(245, 223, 170, 0.14);
  background: rgba(11, 13, 14, 0.36);
}

.battle-report-card-head strong {
  overflow: hidden;
  color: #f7df9f;
  font-size: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-report-card-head span {
  color: #87d98d;
  font-size: 15px;
  font-weight: 800;
}

.battle-report-card-head em {
  color: rgba(244, 236, 216, 0.64);
  font-style: normal;
}

.battle-report-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, 180px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 18px 24px 22px;
}

.battle-report-list-side {
  display: grid;
  gap: 10px;
}

.battle-report-list-side > span {
  font-size: 19px;
  font-weight: 900;
}

.battle-report-list-side.enemy {
  justify-items: end;
}

.battle-report-mini-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.battle-report-list-side.enemy .battle-report-mini-line {
  justify-content: flex-end;
}

.battle-report-mini-unit {
  position: relative;
  display: grid;
  width: 104px;
  height: 118px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(245, 223, 170, 0.28);
  background: rgba(0, 0, 0, 0.34);
}

.battle-report-mini-unit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.battle-report-mini-unit b {
  position: absolute;
  top: 5px;
  right: 6px;
  color: #ffe27b;
  font-size: 12px;
}

.battle-report-mini-unit.fallen {
  filter: grayscale(0.9);
  opacity: 0.56;
}

.battle-report-result {
  display: grid;
  place-items: center;
  color: #efd27d;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 900;
  text-shadow: 0 0 24px rgba(239, 210, 125, 0.32);
}

.battle-report-result.enemy {
  color: #d4938b;
}

.battle-report-detail-view {
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  max-width: 1600px;
  margin: 0 auto;
}

.battle-report-detail-view.stats-page {
  grid-template-rows: auto 1fr auto;
}

.battle-report-back {
  justify-self: start;
  min-height: 34px;
  padding: 0 14px;
}

.battle-report-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 160px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.battle-report-score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
}

.battle-report-score.enemy {
  grid-template-columns: 1fr auto;
}

.battle-report-score.enemy span {
  grid-column: 2;
}

.battle-report-score.enemy strong {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.battle-report-score span {
  color: #fff2d8;
  font-size: 20px;
  font-weight: 900;
}

.battle-report-score strong {
  color: #efd27d;
  font-size: 17px;
}

.battle-report-score-bar {
  grid-column: 1 / -1;
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.66);
  background: rgba(0, 0, 0, 0.72);
}

.battle-report-score-bar i {
  display: block;
  width: var(--active-pct, 0%);
  height: 100%;
  background: linear-gradient(90deg, #67d3ff, #3486d3);
}

.enemy .battle-report-score-bar i,
.battle-report-score.enemy .battle-report-score-bar i {
  background: linear-gradient(90deg, #aa3032, #dd5a58);
}

.battle-report-match-result {
  color: #efd27d;
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 0 26px rgba(239, 210, 125, 0.32);
}

.battle-report-stage {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(180px, 240px) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 0;
  overflow: auto;
  padding: 14px 0;
}

.battle-report-army {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 16px;
}

.battle-report-center {
  display: grid;
  gap: 10px;
  justify-items: center;
  color: #f5dfaa;
  text-align: center;
}

.battle-report-center strong {
  font-size: 22px;
}

.battle-report-center span {
  color: rgba(244, 236, 216, 0.78);
}

.battle-report-replay {
  padding: 0 18px;
}

.battle-report-unit {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(245, 223, 170, 0.24);
  background: rgba(8, 12, 14, 0.62);
}

.battle-report-unit.enemy {
  background: rgba(34, 12, 12, 0.58);
}

.battle-report-unit.fallen {
  filter: grayscale(0.9);
  opacity: 0.58;
}

.battle-report-unit-portrait {
  position: relative;
  aspect-ratio: 0.74 / 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.32);
}

.battle-report-unit-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.battle-report-unit-portrait span {
  position: absolute;
  top: 6px;
  right: 6px;
  color: #ffe680;
  font-size: 15px;
}

.battle-report-unit-name {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.battle-report-unit-name small,
.battle-report-unit-name em {
  color: #f5dfaa;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.battle-report-unit-name strong {
  overflow: hidden;
  color: #fff2d2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-report-unit-troops {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: rgba(244, 236, 216, 0.75);
  font-size: 12px;
}

.battle-report-unit-troops b {
  color: #e4524d;
}

.battle-report-log-panel,
.battle-report-stats-view {
  overflow: auto;
  min-height: 0;
  border: 1px solid rgba(245, 223, 170, 0.12);
  background: rgba(11, 12, 12, 0.36);
}

.battle-report-log-panel .report {
  min-height: 100%;
}

.battle-report-stats-view {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.battle-report-stat-nav {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 12px;
  border-right: 1px solid rgba(245, 223, 170, 0.12);
  background: rgba(8, 9, 9, 0.42);
}

.battle-report-stat-nav button {
  min-height: 72px;
  padding: 8px 14px;
  writing-mode: vertical-rl;
  justify-self: center;
}

.battle-report-stat-panel {
  overflow: auto;
  min-width: 0;
  padding: 14px;
}

.battle-hero-stat-table {
  display: grid;
  min-width: 980px;
}

.battle-hero-stat-head,
.battle-hero-stat-row {
  display: grid;
  grid-template-columns: 260px repeat(7, minmax(90px, 1fr));
  gap: 0;
  align-items: center;
}

.battle-hero-stat-head {
  min-height: 42px;
  color: #efd27d;
  font-weight: 900;
}

.battle-hero-stat-row {
  min-height: 94px;
  border-top: 1px solid rgba(245, 223, 170, 0.12);
  background: rgba(30, 43, 54, 0.5);
}

.battle-hero-stat-row.enemy,
.battle-skill-stat-row.enemy {
  background: rgba(60, 28, 28, 0.5);
}

.battle-hero-stat-row > span:not(.battle-stat-unit) {
  color: #f4ecd8;
  font-size: 20px;
  text-align: center;
}

.battle-hero-stat-row .danger {
  color: #e4524d;
}

.battle-stat-unit {
  display: grid;
  grid-template-columns: 76px 30px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  min-width: 0;
}

.battle-stat-unit img {
  grid-row: 1 / span 2;
  width: 68px;
  height: 78px;
  object-fit: cover;
  object-position: 50% 18%;
}

.battle-stat-unit b {
  color: rgba(244, 236, 216, 0.7);
  font-size: 14px;
  writing-mode: vertical-rl;
}

.battle-stat-unit strong {
  overflow: hidden;
  color: #fff2d2;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-skill-stat-list {
  display: grid;
  gap: 14px;
  min-width: 980px;
}

.battle-skill-stat-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: stretch;
  background: rgba(30, 43, 54, 0.5);
}

.battle-skill-stat-cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.battle-skill-stat-cell,
.battle-skill-stat-empty {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 86px;
  padding: 10px 16px;
  border-left: 1px solid rgba(245, 223, 170, 0.12);
}

.battle-skill-stat-cell strong {
  color: #f7df9f;
  font-size: 18px;
}

.battle-skill-stat-cell em {
  color: #fff2d2;
  font-size: 18px;
  font-style: normal;
}

.battle-skill-stat-cell small,
.battle-skill-stat-empty {
  color: rgba(244, 236, 216, 0.64);
  font-size: 16px;
}

.battle-report-bottom-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 2px;
}

.battle-report-bottom-nav button {
  min-width: 178px;
  min-height: 48px;
  font-size: 21px;
}

.report-test-buffer {
  position: fixed;
  top: 0;
  left: -9999px;
  width: 420px;
  height: 700px;
  pointer-events: none;
}
