/* Full fairness report layout */
.report-hero {
  padding: clamp(2.25rem, 7vw, 5.5rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, color-mix(in srgb, var(--mafia-accent) 24%, transparent), transparent 55%),
    linear-gradient(165deg, #140808, #080808 60%);
  border-bottom: 1px solid var(--mafia-outline);
}

.report-hero h1 {
  font-size: clamp(1.55rem, 6vw, 3rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.report-hero .lede {
  max-width: 42rem;
  color: var(--mafia-muted);
  margin: 0 0 1.25rem;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
}

.report-meta {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
  margin-top: 1.35rem;
}

@media (min-width: 420px) {
  .report-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .report-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.75rem;
  }
}

.report-meta div {
  padding: 0.8rem 0.9rem;
  background: color-mix(in srgb, var(--mafia-elevated) 90%, transparent);
  border-inline-start: 3px solid var(--mafia-accent);
  min-width: 0;
  overflow-wrap: anywhere;
}

.report-meta strong {
  display: block;
  font-size: 0.75rem;
  color: var(--mafia-muted);
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.report-layout {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4rem);
}

@media (min-width: 980px) {
  .report-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
  }
}

.report-toc {
  padding: 0.85rem;
  background: var(--mafia-surface);
  border: 1px solid color-mix(in srgb, var(--mafia-outline) 70%, transparent);
  font-size: 0.86rem;
}

@media (min-width: 980px) {
  .report-toc {
    position: sticky;
    top: calc(4.5rem + var(--safe-top, 0px));
    padding: 1rem;
  }
}

.report-toc p {
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: #fff;
}

.report-toc ol {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  margin: 0;
  padding: 0.15rem 0 0.35rem;
  list-style: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.report-toc ol::-webkit-scrollbar {
  height: 4px;
}

.report-toc ol::-webkit-scrollbar-thumb {
  background: var(--mafia-outline);
}

.report-toc li {
  margin: 0;
  flex: 0 0 auto;
}

.report-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--mafia-outline);
  color: var(--mafia-muted);
  text-decoration: none;
  white-space: nowrap;
  background: color-mix(in srgb, #000 25%, transparent);
}

.report-toc a:hover {
  color: var(--mafia-accent-light);
  border-color: var(--mafia-accent);
}

@media (min-width: 980px) {
  .report-toc ol {
    display: block;
    overflow: visible;
    padding-inline-start: 1.1rem;
    list-style: decimal;
  }

  .report-toc li + li {
    margin-top: 0.4rem;
  }

  .report-toc a {
    display: inline;
    min-height: auto;
    padding: 0;
    border: 0;
    background: none;
    white-space: normal;
  }
}

.report-section {
  margin-bottom: 2.25rem;
  scroll-margin-top: calc(5rem + var(--safe-top, 0px));
  min-width: 0;
}

@media (min-width: 800px) {
  .report-section {
    margin-bottom: 2.75rem;
  }
}

.report-section h2 {
  font-size: clamp(1.25rem, 4.2vw, 1.85rem);
  margin: 0 0 0.85rem;
  overflow-wrap: anywhere;
}

.report-section h3 {
  font-size: clamp(1.05rem, 3.2vw, 1.15rem);
  margin: 1.5rem 0 0.65rem;
  color: #ffe8e8;
}

.report-section h4 {
  font-size: 0.98rem;
  margin: 1.25rem 0 0.55rem;
  color: var(--mafia-accent-light);
}

.report-section p,
.report-section li {
  color: var(--mafia-muted);
  font-size: 0.95rem;
}

.report-section ul,
.report-section ol {
  padding-inline-start: 1.15rem;
}

.role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1.25rem;
}

.role-chip {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--mafia-outline);
  background: color-mix(in srgb, var(--mafia-elevated) 80%, transparent);
  font-size: 0.8rem;
  color: #fff;
}

.role-chip[data-side="2"] {
  border-color: color-mix(in srgb, var(--mafia-accent) 55%, transparent);
  color: #ffd0d0;
}

.table-wrap {
  position: relative;
  overflow-x: auto;
  margin: 1rem 0 1.35rem;
  border: 1px solid color-mix(in srgb, var(--mafia-outline) 65%, transparent);
  background: color-mix(in srgb, #000 40%, var(--mafia-surface));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}

.table-wrap::after {
  content: "↔";
  position: absolute;
  inset-inline-end: 0.55rem;
  top: 0.45rem;
  z-index: 2;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mafia-accent) 85%, #000);
  color: #fff;
  font-size: 0.75rem;
  pointer-events: none;
  opacity: 0.9;
}

@media (min-width: 980px) {
  .table-wrap::after {
    display: none;
  }
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  min-width: 560px;
}

@media (min-width: 700px) {
  .report-table {
    font-size: 0.82rem;
    min-width: 640px;
  }
}

.report-table th,
.report-table td {
  padding: 0.5rem 0.55rem;
  border-bottom: 1px solid color-mix(in srgb, var(--mafia-outline) 45%, transparent);
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 700px) {
  .report-table th,
  .report-table td {
    padding: 0.55rem 0.65rem;
  }
}

.report-table th:first-child,
.report-table td:first-child {
  text-align: start;
  position: sticky;
  inset-inline-start: 0;
  background: #1a1010;
  z-index: 1;
  box-shadow: 4px 0 8px color-mix(in srgb, #000 35%, transparent);
}

.report-table thead th {
  background: #241414;
  color: #fff;
  font-weight: 600;
}

.report-table thead th:first-child {
  z-index: 2;
}

.report-table tbody tr:hover td {
  background: color-mix(in srgb, var(--mafia-accent) 10%, transparent);
}

.report-table tbody tr:hover td:first-child {
  background: #2a1616;
}

.report-table .hl {
  color: var(--mafia-accent-light);
  font-weight: 600;
}

.note-box {
  padding: 0.9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--mafia-outline) 70%, transparent);
  background: color-mix(in srgb, var(--mafia-elevated) 70%, transparent);
  color: var(--mafia-muted);
  margin: 1rem 0;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.verdict-block {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--mafia-accent) 45%, transparent);
  background: color-mix(in srgb, var(--mafia-accent) 12%, transparent);
  color: #ffe8e8;
  font-weight: 500;
  font-size: 0.95rem;
}

.conclusion-list {
  margin: 1rem 0 0;
  padding-inline-start: 1.15rem;
}

.conclusion-list li {
  margin-bottom: 0.45rem;
  color: var(--mafia-muted);
}

.back-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.back-row .btn {
  width: 100%;
}

@media (min-width: 560px) {
  .back-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .back-row .btn {
    width: auto;
  }
}
