.field-report {
  --report-ink: #392920;
  --report-muted: #705438;
  --report-rule: #ad845674;
  --report-blue: #244e77;
  --report-red: #a14133;
  width: min(778px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 29px 33px 26px;
  color: var(--report-ink);
  color-scheme: light;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.73' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.12' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 14% 0%, #fff8e4, transparent 70%),
    linear-gradient(145deg, #faedce, #efddb7);
  border: 1px solid #ad8554; border-radius: 4px;
  box-shadow: 0 1px 0 #e4c58e, 0 5px 0 -1px #ba9769, 0 8px 0 -2px #e0c497, 0 25px 85px #2c190e68;
  outline: 1px solid #a87a4e48; outline-offset: -9px;
  font-variant-numeric: tabular-nums;
}
.field-report::backdrop { background: #251b1445; }
.live:has(#field-report[open]) #match-controls { visibility: hidden; }
.field-report h2, .field-report h3, .field-report p, .field-report dl, .field-report dd { margin: 0; }
.field-report h2, .field-report h3 { font-family: Georgia, serif; font-weight: 400; }
.field-report h2 { font-size: 30px; letter-spacing: -.02em; margin-top: 3px; }
.field-report h2:focus { outline: none; }
.field-report h3 { font-size: 24px; }
.field-report-head { display: flex; align-items: center; gap: 15px; padding-right: 28px; }
.field-report-seal { flex: none; width: 58px; height: 58px; }
.field-report-kicker {
  display: block; color: var(--report-muted); font-size: 10px; font-weight: 750;
  letter-spacing: .19em; text-transform: uppercase;
}
.field-report-rule {
  position: relative; display: flex; align-items: center; gap: 22px;
  min-height: 6px; margin: 22px 0 23px;
}
.field-report-rule::before, .field-report-rule::after { content: ''; flex: 1; height: 1px; background: var(--report-rule); }
.field-report-rule span {
  position: absolute; width: 6px; height: 6px; left: calc(50% - 3px);
  background: #ac8653; transform: rotate(45deg);
}
.field-report-body { display: grid; grid-template-columns: .73fr 1.27fr; gap: 27px; }
.field-report-summary { padding-top: 4px; }
#field-report-outcome {
  display: inline-block; margin-bottom: 10px; padding: 4px 8px;
  color: var(--report-blue); background: #d8c9a375; border: 1px solid #b9996660;
}
.field-report[data-result="red"] #field-report-outcome { color: var(--report-red); }
.field-report[data-result="draw"] #field-report-outcome, .field-report[data-result=""] #field-report-outcome { color: var(--report-muted); }
.field-report-margin {
  display: block; margin-top: 4px; font: 82px/1 Georgia, serif; letter-spacing: -.05em;
}
.field-report-blue { color: var(--report-blue); }
.field-report-red { color: var(--report-red); }
.field-report-final-label { margin-top: 20px; }
.field-report-scores {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 7px;
}
.field-report-scores > div {
  display: flex; gap: 6px; align-items: center; justify-content: space-between;
  min-height: 36px; border-top: 1px solid #b08a5849;
}
.field-report-scores dt { font-weight: 650; }
.field-report-scores dt::before, .field-report-chart-key i {
  content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px;
  transform: rotate(45deg); background: currentColor; vertical-align: .16em;
}
.field-report-scores dd { font: 20px Georgia, serif; }
.field-report .field-report-districts {
  display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; margin-top: 5px;
  padding-top: 10px; border-top: 1px dashed #b08a5873; color: var(--report-muted); font-size: 12px;
}
.field-report-chronicle { border-left: 1px solid var(--report-rule); padding: 4px 0 0 24px; min-width: 0; }
.field-report-chronicle h3 { margin: 4px 0 10px; }
.field-report-chart { display: block; width: 100%; height: auto; }
.field-report-chart[hidden] { display: none; }
.field-report-chart-key {
  display: flex; justify-content: center; gap: 18px; margin-top: 6px;
  color: var(--report-muted); font: italic 13px Georgia, serif;
}
.field-report-chart-key[hidden] { display: none; }
.field-report-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  margin-top: 23px; border-top: 1px solid var(--report-rule); padding-top: 18px;
}
.field-report-actions { display: flex; gap: 10px; }
.field-report button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border: 1px solid #ac865371; border-radius: 4px;
  color: inherit; background: transparent; font: 650 13px system-ui, sans-serif; cursor: pointer;
}
.field-report button svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.field-report button:focus-visible { outline: 2px solid #805a2d; }
.field-report button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px #ad845674; }
.field-report button:disabled { opacity: .65; cursor: wait; }
.field-report .field-report-close {
  position: absolute; right: 17px; top: 17px; width: 44px; min-height: 44px; padding: 0;
  border-radius: 50%; color: var(--report-muted);
}
.field-report .field-report-play { color: #fff3da; border-color: #624523; background: #5a3e25; }
.field-report .field-report-error { color: var(--report-red); margin-top: 12px; }

@media (max-width: 620px) {
  .field-report { padding: 19px 21px; }
  .field-report-head { gap: 9px; }
  .field-report-seal { width: 40px; height: 40px; }
  .field-report h2 { font-size: 22px; }
  .field-report h3 { font-size: 20px; }
  .field-report-rule { margin: 14px 0; }
  .field-report-body { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .field-report-summary { padding-top: 0; }
  #field-report-outcome { margin-bottom: 5px; }
  .field-report-margin { font-size: 56px; }
  .field-report-final-label { margin-top: 10px; }
  .field-report-chronicle { border-left: 0; border-top: 1px solid var(--report-rule); padding: 11px 0 0; }
  .field-report-chronicle h3 { margin-bottom: 3px; }
  .field-report-chart { max-height: 180px; }
  .field-report-footer { flex-wrap: wrap; gap: 8px; margin-top: 11px; padding-top: 11px; }
  .field-report-actions { justify-content: space-between; width: 100%; }
  .field-report-actions button { padding-inline: 10px; }
  .field-report .field-report-close { right: 10px; top: 10px; }
}
