:root {
  color-scheme: dark;
  --bg: #111318;
  --panel: #1a1d24;
  --panel-strong: #23262f;
  --text: #f4f7fb;
  --muted: #aeb6c3;
  --line: #343844;
  --accent: #d94848;
  --accent-dark: #9d2d32;
  --danger: #e45656;
  --warning: #f7b955;
  --success: #54d990;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(217, 72, 72, 0.09), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(157, 45, 50, 0.10), transparent 30rem),
    linear-gradient(135deg, #111318 0%, #1b1c23 54%, #15171d 100%);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 19, 24, 0.82);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  text-decoration: none;
}

.brand:visited,
.brand:hover,
.brand:focus-visible {
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  filter: brightness(1.05);
}

.brand .eyebrow {
  color: var(--accent);
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: rgba(217, 72, 72, 0.12);
  border: 1px solid rgba(217, 72, 72, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-logo {
  width: 2rem;
  height: 2rem;
}

.site-logo.large {
  width: 4.1rem;
  height: 4.1rem;
}

.logo-shield {
  fill: rgba(217, 72, 72, 0.18);
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linejoin: round;
}

.logo-mark {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
}

.eyebrow {
  margin: 0 0 0.2rem;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.45rem, 4vw, 2.15rem);
}

.top-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-menu {
  position: relative;
}

.nav-menu .top-actions {
  display: flex;
}

.nav-menu summary {
  display: none;
  list-style: none;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  padding: 0.72rem 1rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.65rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-menu[open] summary::after {
  transform: translateY(0.1rem) rotate(225deg);
}

.top-actions a,
button {
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  padding: 0.72rem 1rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.top-actions a:hover,
button:hover,
.primary-button:hover,
.ghost-link:hover,
.profile-actions a:hover,
.verified-user-actions a:hover,
.verified-user-actions button:hover,
.section-link:hover,
.site-footer a:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(217, 72, 72, 0.20);
}

.top-actions a:first-child {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.top-actions a[aria-current="page"] {
  color: #ffffff;
  background: rgba(217, 72, 72, 0.24);
  border: 1px solid rgba(217, 72, 72, 0.42);
}

.primary-button,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.primary-button {
  color: #ffffff;
  background: var(--accent);
}

.ghost-link {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 0 4rem;
}

.helper-copy,
.list-count {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.6rem 0.85rem;
  color: #ffffff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 auto;
  padding: 0 0 2rem;
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
  font-weight: 800;
}

.site-footer a {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(26, 30, 38, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.site-footer svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.site-footer a:hover {
  border-color: var(--accent);
  color: #ffffff;
}

.verification-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 1rem;
  align-items: stretch;
}

.verified-directory-hero {
  padding: clamp(1.25rem, 4vw, 2rem);
  background: rgba(26, 30, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.verified-directory-hero p:last-child {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.verified-users-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.verified-search-panel {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(26, 30, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.verified-search-panel label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 800;
}

.verified-user-card {
  min-width: 0;
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.verified-user-card:hover,
.verified-user-card:focus-visible {
  border-color: rgba(217, 72, 72, 0.48);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.verified-user-avatar {
  width: 4.25rem;
  height: 4.25rem;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101319;
}

.verified-user-card h3 {
  margin-bottom: 0;
}

.verified-user-card dd,
.verified-user-card dt {
  overflow-wrap: anywhere;
}

.verified-user-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.verified-user-actions a,
.verified-user-actions button {
  width: 2.45rem;
  height: 2.45rem;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0;
  color: #ffffff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.verified-user-actions button {
  width: auto;
  padding: 0 0.75rem;
}

.verified-user-actions svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.verification-copy,
.verification-card,
.requirement-card {
  background: rgba(26, 29, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.verification-copy {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.verification-copy h2 {
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.verification-copy p {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.verification-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.verification-icon {
  width: 5.5rem;
  height: 5.5rem;
  display: grid;
  place-items: center;
  background: rgba(217, 72, 72, 0.08);
  border: 1px solid rgba(217, 72, 72, 0.22);
  border-radius: 8px;
}

.verification-card p,
.requirement-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.verify-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.verify-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--text);
  line-height: 1.4;
}

.verify-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.52rem;
  height: 0.9rem;
  margin-top: 0.08rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.verification-section {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.requirement-card {
  padding: 1rem;
}

.requirement-card h3 {
  margin-bottom: 0.5rem;
}

.workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.search-panel,
.stats,
.report-form,
.report-copy {
  background: rgba(26, 30, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

.search-panel-heading h2 {
  margin-bottom: 0;
}

.search-form label,
.report-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

input,
select,
textarea {
  width: 100%;
  color: var(--text);
  background: #101319;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.82rem 0.9rem;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 10rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 72, 72, 0.16);
}

.filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.filters label {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.filters input {
  width: auto;
}

.stats {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 0.75rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.stat-card {
  display: grid;
  align-content: center;
  color: var(--text);
  text-decoration: none;
  padding: 1rem;
  background: var(--panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:visited {
  color: var(--text);
}

.stat-card:hover,
.stat-card:focus-visible {
  color: var(--text);
  border-color: rgba(217, 72, 72, 0.48);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.stat-card.total {
  background: linear-gradient(135deg, rgba(217, 72, 72, 0.18), var(--panel-strong));
}

.stats span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
}

.stats p {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-page main {
  width: min(1100px, calc(100% - 2rem));
  padding: 2rem 0 4rem;
}

.admin-panel,
.application-card {
  background: rgba(26, 30, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
}

.admin-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.admin-panel button {
  min-height: 3rem;
}

.applications {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.application-card {
  display: grid;
  gap: 0.85rem;
}

.application-card.verified-report {
  border-color: rgba(84, 217, 144, 0.42);
}

.application-card h2 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.application-card p {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.application-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.review-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.admin-card-head h2 {
  overflow-wrap: anywhere;
}

.admin-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.badge.verified {
  background: rgba(84, 217, 144, 0.14);
  color: #a9f4c9;
}

.admin-note-field {
  min-height: 4.75rem;
}

.copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.copy-button {
  min-height: 2rem;
  padding: 0.35rem 0.55rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.admin-evidence-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.admin-evidence-preview a,
.admin-evidence-preview span {
  display: grid;
  gap: 0.45rem;
  padding: 0.6rem;
  color: var(--muted);
  background: #101319;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.admin-evidence-preview img,
.admin-evidence-preview video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 8px;
  background: #0b0d12;
}

.admin-detail-section {
  display: grid;
  gap: 0.75rem;
}

.danger-button {
  background: var(--danger);
  color: white;
}

#adminMessage {
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 800;
}

.results-section,
.steam-section,
.report-section {
  margin-top: 1rem;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading h2 {
  margin-bottom: 0.5rem;
}

.ghost-button {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.compact-grid {
  margin-top: 0;
}

.reports-list {
  display: grid;
  gap: 0.75rem;
}

.report-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 260px) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
}

.report-row:hover,
.report-row:focus-visible {
  border-color: rgba(217, 72, 72, 0.48);
  outline: none;
}

.report-row .card-head {
  align-items: flex-start;
  flex-direction: column;
}

.report-row h3,
.report-row dd,
.report-row .description {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pagination button {
  width: auto;
  min-width: 2.45rem;
  padding: 0.62rem 0.8rem;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.pagination button.active,
.pagination button:hover:not(:disabled) {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pagination span {
  color: var(--muted);
  font-weight: 900;
}

.report-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
  gap: 0.85rem;
  align-content: stretch;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.report-card:hover,
.report-card:focus-visible,
article[role="button"]:hover,
article[role="button"]:focus-visible {
  border-color: rgba(217, 72, 72, 0.48);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.card-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-head-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.14);
  color: #ffb4b4;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.badge.cheating {
  background: rgba(247, 185, 85, 0.14);
  color: #ffd99c;
}

.badge.trolling {
  background: rgba(136, 113, 255, 0.16);
  color: #c8bdff;
}

.badge.toxicity {
  background: rgba(228, 86, 86, 0.18);
  color: #ffb4b4;
}

.date,
.report-card dt,
.report-card dd,
.description,
.media-list {
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-card h3 {
  margin-bottom: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-profile-head,
.report-detail-profile {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
}

.report-profile-head > div,
.report-detail-profile > div {
  min-width: 0;
}

.report-profile-avatar {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  background: #101319;
  border: 1px solid var(--line);
}

.report-profile-meta {
  min-height: 2.3rem;
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.report-card .report-profile-head {
  min-height: 4.15rem;
}

.report-card .report-profile-head h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-detail-profile .report-profile-avatar {
  width: 64px;
  height: 64px;
}

dl {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}

.report-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
}

.report-card dd {
  margin: -0.25rem 0 0;
  word-break: break-word;
}

.description {
  margin-bottom: 0;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  min-height: 4.65em;
}

.report-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.report-title-row h2 {
  margin-bottom: 0;
}

.media-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.media-list span,
.media-list a {
  max-width: 100%;
  padding: 0.38rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.media-list a:hover {
  border-color: var(--accent);
  color: var(--text);
}

.report-dialog {
  width: min(920px, calc(100% - 2rem));
  max-height: min(86vh, 920px);
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
}

.report-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(5px);
}

.report-detail {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: #171a21;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow-wrap: anywhere;
}

.report-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.report-detail-head h2 {
  margin: 0.65rem 0 0.25rem;
  overflow-wrap: anywhere;
}

.report-detail-head p,
.report-detail-description {
  margin-bottom: 0;
  color: var(--muted);
}

.icon-button {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  padding: 0;
}

.report-detail-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem;
  background: #101319;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.report-detail-meta dt,
.report-detail-meta dd {
  overflow-wrap: anywhere;
}

.report-detail h3 {
  margin-bottom: 0.5rem;
}

.report-detail-description {
  white-space: pre-wrap;
  line-height: 1.65;
}

.leetify-dialog .report-detail {
  max-height: min(86vh, 920px);
  overflow: auto;
}

.leetify-dialog section,
.verified-profile-modal {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  background: rgba(16, 19, 25, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.leetify-dialog section h3 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0;
}

.verified-profile-modal-main {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: #101319;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.verified-profile-modal-main h3 {
  margin: 0.5rem 0;
}

.verified-profile-modal-main dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leetify-summary,
.leetify-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.leetify-attribution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, rgba(248, 73, 130, 0.13), rgba(16, 19, 25, 0.96));
  border: 1px solid rgba(248, 73, 130, 0.28);
  border-radius: 8px;
}

.leetify-attribution img {
  display: block;
  width: min(180px, 100%);
  height: auto;
}

.leetify-attribution p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.leetify-view-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.55rem 0.8rem;
  color: #ffffff;
  background: #f84982;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.leetify-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.leetify-metric,
.leetify-match {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem;
  background: linear-gradient(180deg, #151922, #101319);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.leetify-metric span,
.leetify-match span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.leetify-metric strong {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #ffffff;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.leetify-match strong {
  color: #ffffff;
  line-height: 1.35;
}

.leetify-match span {
  text-transform: none;
  line-height: 1.45;
}

.leetify-match-list {
  display: grid;
  gap: 0.6rem;
}

.leetify-dialog {
  width: min(1180px, calc(100% - 2rem));
}

.leetify-dialog .report-detail {
  gap: 1rem;
}

.leetify-dialog #leetifyDialogBody {
  min-width: 0;
}

.profile-dashboard {
  display: grid;
  gap: 1rem;
}

.leetify-dialog .profile-dashboard-section,
.leetify-dialog .profile-modal-hero {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: linear-gradient(180deg, rgba(18, 22, 31, 0.98), rgba(13, 16, 23, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.leetify-dialog .profile-modal-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(178, 42, 50, 0.16), rgba(16, 19, 25, 0.98) 45%),
    #101319;
  border-color: rgba(221, 72, 80, 0.22);
}

.profile-modal-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-modal-avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #0d1017;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-modal-identity h3 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  overflow-wrap: anywhere;
}

.profile-modal-identity p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.profile-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-external-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.profile-icon-action {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--accent);
  border-radius: 8px;
  text-decoration: none;
}

.profile-icon-action:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.profile-icon-action svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.profile-modal-actions img {
  display: block;
  width: min(170px, 28vw);
  height: auto;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.28rem 0.55rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.source-chip.active {
  color: #ffffff;
  background: rgba(221, 72, 80, 0.2);
  border-color: rgba(221, 72, 80, 0.42);
}

.profile-modal-identity .source-chip + .source-chip {
  margin-left: 0.35rem;
}

.profile-metric-grid,
.profile-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.profile-metric-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-metric {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.25rem;
  padding: 0.95rem;
  background: #121721;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-metric span,
.profile-progress-head span {
  color: #b8c4d7;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.profile-metric strong {
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.profile-metric small {
  color: var(--muted);
  line-height: 1.4;
}

.profile-metric.premier-rating {
  border-color: color-mix(in srgb, var(--premier-color, #8f98a8) 54%, var(--line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--premier-color, #8f98a8) 22%, transparent), rgba(18, 23, 33, 0.94) 48%),
    #121721;
}

.profile-metric.premier-rating strong {
  color: var(--premier-color, #ffffff);
}

.combined-rank-card {
  gap: 0.5rem;
}

.combined-rank-values {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.combined-rank-values strong {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.combined-rank-values strong:first-child {
  color: #ffffff;
}

.profile-metric.premier-gray {
  --premier-color: #9aa3af;
}

.profile-metric.premier-light-blue {
  --premier-color: #6fc7ff;
}

.profile-metric.premier-blue {
  --premier-color: #3f8cff;
}

.profile-metric.premier-purple {
  --premier-color: #a56cff;
}

.profile-metric.premier-pink {
  --premier-color: #ff5aa5;
}

.profile-metric.premier-red {
  --premier-color: #ff4f55;
}

.profile-metric.premier-yellow {
  --premier-color: #ffd84a;
}

.profile-progress-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-progress {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
  padding: 0.7rem 0;
}

.profile-progress-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: baseline;
}

.profile-progress-head strong {
  color: #ffffff;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.profile-progress-track {
  height: 0.45rem;
  overflow: hidden;
  background: #272d39;
  border-radius: 999px;
}

.profile-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #dd4850, #f2b660);
  border-radius: inherit;
}

.profile-match-list {
  display: grid;
  gap: 0.65rem;
}

.profile-match {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  background: #121721;
  border: 1px solid var(--line);
  border-left: 3px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.profile-match.win {
  border-left-color: #39d58a;
}

.profile-match.loss {
  border-left-color: #dd4850;
}

.profile-match strong,
.profile-match span {
  overflow-wrap: anywhere;
}

.profile-match span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-dashboard-section.warning {
  border-color: rgba(221, 72, 80, 0.28);
}

.trust-panel {
  border-color: rgba(84, 217, 144, 0.22);
}

.trust-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.trust-panel-head h3 {
  margin-bottom: 0;
}

.trust-panel-head .trust-score-badge {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
}

.trust-breakdown {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.trust-breakdown-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem;
  padding: 0.85rem;
  background: #121721;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-breakdown-row span,
.trust-breakdown-row small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.trust-breakdown-row span {
  color: #b8c4d7;
  text-transform: uppercase;
}

.trust-breakdown-row strong {
  color: #ffffff;
  overflow-wrap: anywhere;
  grid-column: 1 / -1;
}

.trust-breakdown-row small {
  grid-column: 1 / -1;
}

.trust-score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
  color: #ffffff;
  background: #d94848;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.trust-score-badge.good {
  background: #1f9d62;
}

.trust-score-badge.medium {
  background: #c7942e;
}

.trust-score-badge.low,
.trust-score-badge.unknown {
  background: #d94848;
}

.trust-score-badge.compact {
  min-height: 1.65rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.78rem;
}

.report-leetify-note {
  margin-bottom: 0;
  padding: 0.85rem;
  color: var(--muted);
  background: #101319;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.report-detail-evidence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.evidence-frame {
  min-width: 0;
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  color: var(--muted);
  background: #101319;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.evidence-frame:hover {
  border-color: var(--accent);
  color: var(--text);
}

.evidence-frame img,
.evidence-frame video {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 8px;
  background: #0b0d12;
}

.empty-state {
  display: grid;
  gap: 0.85rem;
  grid-column: 1 / -1;
  padding: 1.25rem;
  color: var(--muted);
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.empty-state p {
  margin-bottom: 0;
}

.empty-state .primary-button {
  width: fit-content;
}

.loading-state {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 5rem;
  padding: 1.25rem;
  color: var(--muted);
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.skeleton-card {
  min-width: 0;
  display: grid;
  gap: 0.9rem;
  align-content: start;
  min-height: 15rem;
  padding: 1rem;
  background: rgba(26, 29, 36, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.reports-list .skeleton-card {
  min-height: 8.5rem;
}

.skeleton-card-head {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.skeleton-logo,
.skeleton-line,
.skeleton-trace {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.skeleton-logo {
  width: 4rem;
  height: 4rem;
  border-radius: 8px;
  background: rgba(217, 72, 72, 0.10);
  border-color: rgba(217, 72, 72, 0.24);
}

.skeleton-title-block,
.skeleton-body {
  display: grid;
  gap: 0.65rem;
}

.skeleton-line {
  width: 100%;
  height: 0.78rem;
  border-radius: 999px;
}

.skeleton-title {
  width: 72%;
  height: 0.95rem;
}

.skeleton-short {
  width: 54%;
}

.skeleton-shine::before {
  content: "";
  position: absolute;
  inset: -45% -65%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 22%, rgba(255, 180, 180, 0.24) 31%, transparent 46%);
  transform: translateX(-60%);
  animation: skeletonShimmer 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.skeleton-trace {
  height: 0.28rem;
  border-radius: 999px;
}

.skeleton-trace::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(217, 72, 72, 0), rgba(217, 72, 72, 0.72), rgba(255, 180, 180, 0.46), rgba(217, 72, 72, 0));
  transform: translateX(-70%);
  animation: skeletonTrace 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.skeleton-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  color: rgba(244, 247, 251, 0.74);
  font-size: 0.8rem;
  font-weight: 900;
}

.skeleton-loading span:first-child {
  color: transparent;
  background: linear-gradient(90deg, rgba(255, 180, 180, 0.62), rgba(255, 255, 255, 0.96), rgba(255, 180, 180, 0.62));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: skeletonTextShine 1.15s ease-in-out infinite;
}

.skeleton-ell {
  opacity: 0.65;
  animation: skeletonDots 1s steps(3, end) infinite;
}

.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75em;
}

.loader-dot {
  height: 0.8125em;
  width: 1.25em;
  margin-right: 0.625em;
  border-radius: 0.625em;
  background-color: var(--accent);
  animation: loaderpulse 1.5s infinite ease-in-out;
}

.loader-dot:last-child {
  margin-right: 0;
}

.loader-dot:nth-child(1) {
  animation-delay: -0.1875s;
}

.loader-dot:nth-child(2) {
  animation-delay: -0.0625s;
}

.loader-dot:nth-child(3) {
  animation-delay: 0.0625s;
}

@keyframes skeletonShimmer {
  to {
    transform: translateX(60%);
  }
}

@keyframes skeletonTrace {
  to {
    transform: translateX(70%);
  }
}

@keyframes skeletonTextShine {
  0% {
    background-position: 0% 50%;
    opacity: 0.72;
  }

  50% {
    opacity: 1;
  }

  100% {
    background-position: 100% 50%;
    opacity: 0.76;
  }
}

@keyframes skeletonDots {
  0% {
    opacity: 0.35;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.35;
  }
}

@keyframes loaderpulse {
  0% {
    transform: scale(0.8);
    background-color: #ffb4b4;
    box-shadow: 0 0 0 0 rgba(217, 72, 72, 0.7);
  }

  50% {
    transform: scale(1.2);
    background-color: var(--accent);
    box-shadow: 0 0 0 0.625em rgba(217, 72, 72, 0);
  }

  100% {
    transform: scale(0.8);
    background-color: #ffb4b4;
    box-shadow: 0 0 0 0 rgba(217, 72, 72, 0.7);
  }
}

.steam-profile-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.steam-profile-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.steam-profile-main:hover,
.steam-profile-main:focus-visible {
  border-color: rgba(217, 72, 72, 0.48);
  outline: none;
}

.steam-profile-main img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #101319;
}

.steam-profile-main h3 {
  margin-bottom: 0.3rem;
}

.steam-profile-main p {
  margin-bottom: 0.3rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.profile-actions {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
}

.profile-actions a,
.profile-actions button {
  color: #ffffff;
  background: var(--accent);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
}

.profile-actions button {
  width: 100%;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.profile-actions button:hover {
  border-color: var(--accent);
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-self: end;
  margin-top: auto;
}

.card-head .report-actions {
  flex-wrap: nowrap;
}

.report-actions a {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.report-actions svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.report-detail-actions:empty {
  display: none;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(84, 217, 144, 0.38);
  border-radius: 8px;
  color: #a9f4c9;
  background: rgba(84, 217, 144, 0.12);
  font-size: 0.8rem;
  font-weight: 900;
}

.profile-report-list {
  display: grid;
  gap: 0.65rem;
}

.profile-report-list h4 {
  margin: 0;
}

.profile-report-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.report-section {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.report-copy {
  padding: 1.25rem;
  position: sticky;
  top: 6rem;
}

.report-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.report-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.upload-box {
  place-items: center;
  min-height: 8rem;
  padding: 1.25rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #101319;
  text-align: center;
  cursor: pointer;
}

.verified-report-warning {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  color: #ffe3b3;
  background: rgba(247, 185, 85, 0.12);
  border: 1px solid rgba(247, 185, 85, 0.35);
  border-radius: 8px;
}

.verified-report-warning p {
  margin-bottom: 0;
  color: #f5d9aa;
  line-height: 1.55;
}

.verified-report-warning[hidden] {
  display: none;
}

.upload-box input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.upload-box span {
  color: var(--text);
  font-size: 1.1rem;
}

.upload-box small {
  color: var(--muted);
}

.preview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

.preview-item {
  position: relative;
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.preview-item img,
.preview-item video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #101319;
}

.preview-item span {
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.remove-file {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  width: auto;
  padding: 0.38rem 0.52rem;
  color: #ffffff;
  background: rgba(255, 107, 107, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.remove-file:hover {
  background: var(--danger);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.captcha-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #101319;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 5.5rem;
}

.captcha-copy {
  display: grid;
  gap: 0.35rem;
}

.captcha-copy strong {
  color: var(--text);
  font-size: 0.95rem;
}

.captcha-copy p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.turnstile-widget {
  width: 300px;
  max-width: 100%;
  color: var(--muted);
  font-weight: 800;
}

.turnstile-widget .loading-state {
  min-height: 3.5rem;
  padding: 0.5rem;
  background: transparent;
  border: 0;
}

.turnstile-widget iframe {
  max-width: 100%;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

#formMessage,
#verificationMessage {
  margin-bottom: 0;
  color: var(--accent);
  font-weight: 800;
}

#formMessage[data-tone="error"],
#verificationMessage[data-tone="error"] {
  color: var(--danger);
}

@media (max-width: 900px) {
  .workspace,
  .search-panel,
  .verification-hero,
  .verification-section,
  .steam-profile-main,
  .report-row,
  .report-section {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    justify-items: stretch;
  }

  .stats {
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  }

  .requirement-grid {
    grid-template-columns: 1fr;
  }

  .captcha-box {
    grid-template-columns: 1fr;
  }

  .turnstile-widget {
    width: 100%;
  }

  .verified-users-grid,
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-detail-evidence,
  .report-detail-meta,
  .application-meta,
  .verified-profile-modal-main,
  .verified-profile-modal-main dl,
  .leetify-summary,
  .leetify-grid,
  .profile-metric-grid,
  .profile-metric-grid.compact,
  .profile-progress-grid,
  .trust-breakdown {
    grid-template-columns: 1fr;
  }

  .leetify-dialog .profile-modal-hero {
    grid-template-columns: 1fr;
  }

  .profile-modal-actions {
    justify-content: space-between;
  }

  .report-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .section-heading,
  .form-actions,
  .leetify-attribution {
    align-items: stretch;
    flex-direction: column;
  }

  .app-header {
    align-items: center;
    gap: 0.75rem;
  }

  .brand {
    min-width: 0;
  }

  .brand h1,
  .brand .eyebrow {
    overflow-wrap: anywhere;
  }

  .nav-menu {
    align-self: flex-start;
  }

  .nav-menu summary {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }

  .nav-menu:not([open]) .top-actions {
    display: none;
  }

  .top-actions,
  .search-row,
  .form-grid,
  .stats,
  .verified-users-grid,
  .results-grid,
  .profile-match {
    grid-template-columns: 1fr;
  }

  .profile-modal-identity,
  .profile-modal-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-modal-actions img {
    width: min(190px, 100%);
  }

  .top-actions {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    z-index: 20;
    width: min(17rem, calc(100vw - 2rem));
    display: grid;
    gap: 0.5rem;
    padding: 0.65rem;
    background: rgba(17, 19, 24, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .top-actions a,
  button {
    width: 100%;
    text-align: center;
  }

  .icon-button {
    width: 2.5rem;
    align-self: flex-start;
  }
}

.verified-button {
  background: linear-gradient(135deg, #d94848, #9d2d32);
  color: #ffffff;
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(217, 72, 72, 0.18);
}

.verified-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(217, 72, 72, 0.24);
}
