* {
  box-sizing: border-box;
}

:root {
  --bg-1: #08111f;
  --bg-2: #142944;
  --panel: rgba(7, 18, 34, 0.72);
  --panel-border: rgba(255, 255, 255, 0.14);
  --text: #f6f7fb;
  --muted: #adc0d9;
  --accent: #ff9d32;
  --accent-soft: rgba(255, 157, 50, 0.2);
  --shadow: 0 24px 60px rgba(2, 7, 17, 0.45);
  --tank: #ff8c42;
  --dps: #ff5666;
  --support: #52d6c7;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Barlow Condensed", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 157, 50, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(82, 214, 199, 0.16), transparent 24%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2) 58%, #0c1628);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.24;
  pointer-events: none;
}

button,
input {
  font: inherit;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 0 36px;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(120px, 144px) minmax(0, 1fr) minmax(120px, 144px);
  gap: 10px;
  align-items: start;
  width: min(1700px, calc(100% - 48px));
  margin: 0 auto;
}

.side-rail {
  position: sticky;
  top: 28px;
}

.side-slot {
  min-height: 600px;
  padding: 18px 14px;
  border-radius: 28px;
  backdrop-filter: blur(16px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(7, 18, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.side-slot.has-live-ad {
  padding: 14px;
}

.side-slot-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100%;
}

.side-slot.has-live-ad .side-slot-fallback {
  display: none;
}

.side-slot-ad {
  display: none;
  width: 100%;
  min-width: 0;
  min-height: 600px;
}

.side-slot.has-live-ad .side-slot-ad {
  display: block;
}

.side-slot-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #bbdefa;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-slot p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer {
  width: min(1700px, calc(100% - 48px));
  margin: 8px auto 20px;
  text-align: center;
}

.site-footer a {
  color: rgba(173, 192, 217, 0.78);
  font-size: 0.92rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.site-footer a:hover {
  color: #bbdefa;
}

.policy-shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 56px;
}

.policy-panel {
  padding: 24px 26px;
  border-radius: 28px;
  backdrop-filter: blur(16px);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.policy-panel h1,
.policy-panel h2 {
  margin: 0 0 12px;
  font-family: "Oxanium", "Arial Black", sans-serif;
}

.policy-panel h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fcdc51;
}

.policy-panel h2 {
  margin-top: 24px;
  font-size: 1.2rem;
  color: #bbdefa;
}

.policy-panel p,
.policy-panel li {
  color: #fdf7e5;
  font-size: 1rem;
  line-height: 1.6;
}

.policy-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.policy-back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(173, 192, 217, 0.84);
  text-decoration: none;
}

.policy-back-link:hover {
  color: #bbdefa;
}

.hero-list-panel,
.flashcard-panel {
  backdrop-filter: blur(16px);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.meta-chip,
.filter-group span,
.search-field span,
.hero-list-header p,
.section-title-row span {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flashcard-face h2,
.hero-list-header h2 {
  margin: 0;
  font-family: "Oxanium", "Arial Black", sans-serif;
}

.meta-chip,
.ghost-button,
.nav-button,
.role-pill,
.role-badge {
  border-radius: 999px;
}

.meta-chip,
.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f7f8fb;
  font-size: 1.35rem;
}

.hero-copy .role-badge {
  align-self: flex-start;
}

#backRoleBadge {
  min-height: 42px;
  padding: 0 16px;
  font-size: 1.35rem;
  align-self: flex-start;
}

.ghost-button,
.nav-button,
.role-pill {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.ghost-button:hover,
.nav-button:hover,
.role-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.11);
}

.ghost-button {
  min-height: 42px;
  min-width: 84px;
  padding: 0 16px;
}

.card-controls {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr auto;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 24px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-field,
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-field input {
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 11, 22, 0.75);
  color: var(--text);
  padding: 0 16px;
  font-size: 1.08rem;
}

.search-field input:focus {
  outline: 2px solid rgba(255, 157, 50, 0.45);
  border-color: rgba(255, 157, 50, 0.75);
}

.role-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.role-pill {
  min-height: 44px;
  padding: 0 16px;
}

.role-pill.is-active {
  background: linear-gradient(120deg, rgba(255, 157, 50, 0.9), rgba(255, 111, 58, 0.92));
  border-color: rgba(255, 196, 132, 0.9);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.7fr);
  gap: 18px;
}

.flashcard-panel,
.hero-list-panel {
  border-radius: 28px;
  padding: 20px;
}

.card-stage {
  position: relative;
}

.card-toolbar,
.nav-row,
.back-header,
.hero-list-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.card-toolbar {
  align-items: center;
  margin-bottom: 14px;
}

.card-controls-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  justify-content: flex-end;
}

.card-progress {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flashcard {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.flashcard-inner {
  position: relative;
  min-height: 604px;
  transform-style: preserve-3d;
  transition: transform 420ms ease;
}

.flashcard.is-flipped .flashcard-inner {
  transform: rotateY(180deg);
}

.flashcard-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backface-visibility: hidden;
  padding: 24px 24px 94px;
  color: #fcdc51;
}

.flashcard-front {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.flashcard-front,
.flashcard-back {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(5, 16, 31, 0.98), rgba(18, 34, 60, 0.92));
}

.flashcard-front::before,
.flashcard-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 22%),
    radial-gradient(circle at bottom left, var(--accent-soft), transparent 28%);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.flashcard-back > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.hero-copy h2,
.flashcard-back h2 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.95;
}

.prompt-line,
.prompt-question {
  margin: 0;
}

.prompt-line {
  color: #fdf7e5;
  font-size: 1.2rem;
}

.prompt-question {
  color: #bbdefa;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.front-notes {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 480px;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.front-notes p {
  margin: 0;
  color: #fcfcfc;
  font-size: 1.05rem;
}

.front-notes .front-avatar-frame {
  display: none;
}

.front-avatar-frame,
.back-avatar-frame {
  flex: 0 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.front-avatar-frame {
  width: 96px;
  height: 96px;
}

.back-avatar-frame {
  width: 84px;
  height: 84px;
}

.front-avatar-frame img,
.back-avatar-frame img,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 28px;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 12, 24, 0.15) 45%, rgba(5, 12, 24, 0.78) 100%);
}

.hero-visual img {
  position: relative;
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 450px);
  max-height: 525px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.flashcard-back {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: rotateY(180deg);
}

.back-header {
  align-items: center;
}

.back-header > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-title-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.section-title-row h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #bbdefa;
}

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

.group-card {
  border-radius: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.group-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.group-card h4 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1;
}

.group-card > h4 {
  margin-bottom: 14px;
}

.group-card-progress {
  color: #bbdefa;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.group-card[data-role="tank"] h4 {
  color: #d98630;
}

.group-card[data-role="dps"] h4 {
  color: #cf5257;
}

.group-card[data-role="support"] h4 {
  color: #67b8ae;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quiz-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fcfcfc;
  font-size: 0.95rem;
}

.tag.is-empty {
  color: #fcfcfc;
}

.tag-button {
  width: 100%;
  justify-content: flex-start;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.tag-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
}

.nav-row {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin-top: 0;
  z-index: 5;
}

.quiz-panel {
  margin-top: 0;
}

.quiz-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 24px 24px 88px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(145deg, rgba(5, 16, 31, 0.98), rgba(18, 34, 60, 0.92));
  box-shadow: var(--shadow);
}

.quiz-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 22%),
    radial-gradient(circle at bottom left, var(--accent-soft), transparent 28%);
  pointer-events: none;
}

.quiz-card > * {
  position: relative;
  z-index: 1;
}

.quiz-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.quiz-header-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-hero-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.quiz-hero-side .card-progress {
  text-align: center;
}

.quiz-header-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.quiz-role-row {
  display: flex;
  align-items: center;
}

.quiz-mode-label {
  color: #bbdefa;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-header-copy h2 {
  margin: 0;
  font-family: "Oxanium", "Arial Black", sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 0.95;
  color: #fcdc51;
}

.quiz-intro {
  margin: 0;
  color: #fdf7e5;
  font-size: 1.12rem;
}

.quiz-length-grid,
.quiz-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quiz-length-grid {
  margin-top: 20px;
}

.quiz-choice {
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fcfcfc;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.quiz-choice:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
}

.quiz-status-row,
.quiz-result-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.quiz-status-row {
  align-items: baseline;
  margin-bottom: 12px;
}

.quiz-section-label,
.quiz-section-progress,
.quiz-results-list span {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quiz-section-label,
.quiz-section-progress {
  color: #bbdefa;
}

.quiz-question {
  margin: 0 0 16px;
  color: #fdf7e5;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.quiz-feedback {
  min-height: 24px;
  margin: -2px 0 14px;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}

.quiz-feedback.is-correct {
  color: #98ebbf;
}

.quiz-feedback.is-wrong {
  color: #ffb2ba;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.quiz-actions .nav-button,
.quiz-actions .ghost-button {
  min-width: 150px;
}

.quiz-summary-section + .quiz-summary-section {
  margin-top: 18px;
}

.quiz-summary-single {
  grid-template-columns: minmax(0, 1fr);
}

.tag.is-correct {
  color: #edfff4;
  background: rgba(76, 179, 117, 0.24);
  border-color: rgba(132, 231, 171, 0.42);
}

.tag.is-wrong {
  color: #ffe9eb;
  background: rgba(207, 82, 87, 0.24);
  border-color: rgba(255, 140, 146, 0.42);
}

.quiz-results-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.quiz-results-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.quiz-result-row {
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz-result-row strong {
  color: #fcfcfc;
  font-size: 1.1rem;
}

.nav-button {
  min-height: 48px;
  min-width: 110px;
  padding: 0 18px;
}

.nav-button.primary {
  background: linear-gradient(120deg, rgba(255, 157, 50, 0.92), rgba(255, 103, 65, 0.9));
  border-color: rgba(255, 214, 165, 0.85);
}

.hero-list-header {
  align-items: flex-end;
  margin-bottom: 14px;
}

.hero-list-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 690px;
  overflow: auto;
  padding-right: 6px;
}

.hero-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: calc(50% - 5px);
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
}

.hero-list-item.is-active {
  background: rgba(255, 157, 50, 0.16);
  border-color: rgba(255, 184, 103, 0.8);
}

.hero-list-item img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
}

.hero-list-copy strong {
  display: block;
  font-size: 1.02rem;
}

.hero-list-copy span {
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.flashcard-panel[data-role="tank"] .role-badge,
.hero-list-item[data-role="tank"] .hero-list-copy span {
  color: #d98630;
  background: rgba(255, 140, 66, 0.08);
}

.flashcard-panel[data-role="dps"] .role-badge,
.hero-list-item[data-role="dps"] .hero-list-copy span {
  color: #cf5257;
  background: rgba(255, 86, 102, 0.08);
}

.flashcard-panel[data-role="support"] .role-badge,
.hero-list-item[data-role="support"] .hero-list-copy span {
  color: #67b8ae;
  background: rgba(82, 214, 199, 0.08);
}

@media (max-width: 1680px) {
  .page-shell {
    grid-template-columns: 1fr;
    width: min(100%, calc(100% - 32px));
  }

  .side-rail {
    display: none;
  }

  .app-shell {
    width: min(1400px, calc(100% - 32px));
  }
}

@media (max-width: 1080px) {
  .page-shell {
    grid-template-columns: 1fr;
    width: min(100%, calc(100% - 18px));
  }

  .side-rail {
    display: none;
  }

  .app-shell {
    width: 100%;
  }

  .content-grid,
  .card-controls,
  .flashcard-front,
  .group-grid,
  .quiz-length-grid,
  .quiz-choice-grid,
  .quiz-option-grid {
    grid-template-columns: 1fr;
  }

  .hero-list {
    max-height: none;
  }

  .hero-list-item {
    min-width: 100%;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 18px, 100%);
    padding-top: 14px;
  }

  .site-footer,
  .policy-shell {
    width: min(100% - 18px, 100%);
  }

  .flashcard-panel,
  .hero-list-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .card-controls {
    padding: 14px;
  }

  .card-controls-actions {
    justify-content: flex-start;
    align-items: stretch;
  }

  .card-toolbar,
  .section-title-row,
  .hero-list-header,
  .quiz-header,
  .quiz-status-row,
  .quiz-result-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .quiz-header-bar {
    position: static;
    justify-content: flex-start;
    pointer-events: auto;
  }

  .flashcard-inner {
    min-height: 760px;
  }

  .flashcard-back,
  .quiz-card {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: auto;
  }

  .flashcard-back::-webkit-scrollbar,
  .quiz-card::-webkit-scrollbar {
    display: none;
  }

  .flashcard-face,
  .quiz-card {
    padding-bottom: 24px;
  }

  .nav-row {
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
  }

  .hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px 14px;
  }

  #frontCardProgress,
  .prompt-line,
  .prompt-question,
  .front-notes {
    grid-column: 1 / -1;
  }

  #frontHeroName {
    grid-column: 1;
    grid-row: 2;
  }

  #frontRoleBadge {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
  }

  .back-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 10px 14px;
  }

  .back-header > div:first-child {
    display: contents;
  }

  #backHeroName {
    grid-column: 1;
    grid-row: 1;
  }

  #backRoleBadge {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
  }

  .back-header .back-avatar-frame {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .hero-visual {
    justify-self: stretch;
    min-height: 260px;
    width: 100%;
    padding-top: 14px;
  }

  .hero-visual img {
    margin: 0 auto;
  }

  .hero-copy h2,
  .flashcard-back h2 {
    font-size: 2.35rem;
  }
}
