.brawlhalla-editorial main > .handbook-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.15rem, 2.7vw, 2.75rem);
  border: 1px solid #8b805168;
  border-radius: 1.2rem;
  background:
    linear-gradient(90deg, #13251e 0%, #13251ee6 35%, #14281dc9 63%, #14281d94 100%),
    url('/assets/brand-refresh/brawlhalla-legends-wallpaper.webp') right center / cover no-repeat,
    linear-gradient(124deg, #182a20, #0d1712 73%);
  box-shadow: 0 1.25rem 3.5rem #0004;
}
.brawlhalla-editorial main > .handbook-hero h1 {
  max-width: 12ch;
  margin: .4rem 0 1rem;
  color: #f7f2e5;
  font-size: clamp(2.1rem, 5.25vw, 5.5rem);
  line-height: .98;
}
.handbook-hero h1 span { color: var(--combat-gold); }
.handbook-introduction .eyebrow { color: var(--combat-teal); margin: 0; }
.brawlhalla-editorial main > .handbook-hero .intro { max-width: 38ch; margin: 0; color: #eee8d6; font-size: clamp(1.05rem, 1.55vw, 1.4rem); }
.handbook-description { max-width: 39ch; margin: .65rem 0 .3rem; color: #c9d4c9; }
.handbook-pillars-link { display: inline-flex; min-height: 2.75rem; align-items: center; color: #ecd393; text-underline-offset: .24em; }

.brawlhalla-editorial .handbook-cover {
  width: 100%;
  max-width: none;
  min-height: clamp(19rem, 26vw, 22.5rem);
  padding: clamp(1rem, 2.25vw, 2.25rem);
  border-radius: .8rem;
  background: radial-gradient(ellipse at 74% 83%, #a78d4f9c, transparent 55%), linear-gradient(138deg, #2d4a3a, #11231a 62%);
  box-shadow: .45rem .55rem 0 #ae965f6b, 0 1.3rem 2.6rem #0008;
}
.brawlhalla-editorial .handbook-cover::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: .65rem;
  border: 1px solid #e2c68052;
  border-radius: .46rem;
  pointer-events: none;
}
.brawlhalla-editorial .handbook-cover::after {
  background: linear-gradient(103deg, #101d16f2 6%, #101d16d9 35%, #101d1640 60%, transparent 77%);
}
.handbook-cover .hub-book-logo { width: 3rem; height: 3rem; margin: 0 0 .5rem; }
.brawlhalla-editorial .handbook-cover p {
  width: fit-content;
  max-width: 26ch;
  margin: 0;
  padding: 0;
  background: none;
}
.brawlhalla-editorial .handbook-cover h2 {
  max-width: 12ch;
  margin: .35rem 0 .55rem;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.04;
}
.handbook-cover-description { font-size: .9rem; line-height: 1.45; }
.brawlhalla-editorial .handbook-cover .byline { margin: .75rem 0 0; letter-spacing: .05em; }
.handbook-cover .handbook-wu { right: -15%; bottom: -10%; width: 86%; max-height: 76%; }
.handbook-cover .handbook-petra { left: 27%; bottom: -9%; width: 31%; max-height: 62%; opacity: .86; }

.brawlhalla-editorial .handbook-paths {
  grid-column: 1 / -1;
  padding: .35rem 0 0;
  border: 0;
}
.handbook-mode-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 0;
}
.handbook-mode-links a { gap: .28rem; padding: .85rem 1rem; }
.handbook-mode-links strong { font: 650 1.06rem/1.3 system-ui, sans-serif; }
.handbook-mode-links a > span:last-child { font-size: .875rem; line-height: 1.4; }
.handbook-mode-links + p:empty { display: none; }
.brawlhalla-editorial main.handbook-session-active > .handbook-hero {
  display: block;
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  box-shadow: none;
}
.brawlhalla-editorial main.handbook-session-active > .handbook-hero h1 {
  max-width: none;
  margin: .3rem 0 .45rem;
  font-size: clamp(1.95rem, 4vw, 3rem);
}
.handbook-session-active :is(.handbook-cover, .handbook-description, .handbook-pillars-link) { display: none; }
.brawlhalla-editorial .handbook-session-active .handbook-paths { padding: 1rem 0 0; }
.handbook-session-active .handbook-mode-links strong { font-size: 1rem; }
.handbook-desk { padding: clamp(1.5rem, 3.8vw, 2.6rem) 0; }
.desk-intro { display: flex; justify-content: space-between; align-items: end; gap: 1.2rem; margin-bottom: 1rem; }
.desk-intro h2 { margin: 0 0 .45rem; }
.desk-intro p { margin: 0; }
.handbook-game-banner {
  display: block;
  width: min(100%, 54rem);
  height: auto;
  margin-block: 1rem;
  border: 1px solid #526b5a;
  border-radius: .8rem;
}
.desk-source { font-size: .8rem; color: #b9c9bf; max-width: 40ch; }
.desk-topics { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.desk-topics[hidden], .desk-check[hidden] { display: none; }
.desk-topics button, #desk-answers button {
  border: 1px solid #526b5a;
  border-radius: .65rem;
  background: #182722;
  min-height: 2.75rem;
  color: #f5f3e7;
  font: inherit;
  padding: .55rem .8rem;
  text-align: start;
  cursor: pointer;
}
.desk-topics button[aria-pressed="true"] { color: #18170f; border-color: #ead494; background: #e2c884; }
.desk-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.desk-film, .desk-lesson { margin: 0; min-width: 0; border: 1px solid #526b5a; border-radius: .95rem; background: #16221c; }
.desk-film { overflow: hidden; }
.desk-film video { display: block; aspect-ratio: 16 / 9; width: 100%; object-fit: contain; background: #0b110e; }
.desk-film figcaption { display: grid; gap: .4rem; padding: .9rem 1rem; color: #d4dfd3; }
.desk-lesson { padding: clamp(1rem, 3.5vw, 1.6rem); }
.desk-kicker { margin: 0; font-size: .78rem; color: #dfc786; }
.desk-lesson h3 { margin: .35rem 0 .7rem; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.1; }
.desk-lesson h4 { margin: 1.05rem 0 .3rem; }
.desk-lesson p { line-height: 1.53; }
.desk-check label { display: block; margin: .8rem 0 .2rem; }
.desk-check fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.desk-check legend { padding: 0; font-weight: 700; line-height: 1.35; margin-bottom: .55rem; }
#desk-answers { display: grid; gap: .42rem; }
#desk-answers button:hover { background: #294336; }
#desk-answers button[data-result=correct] { border-color: #a7d996; color: #ceedc6; }
#desk-answers button[data-result=try-again] { border-color: #dfbc81; }
#desk-feedback, #desk-saved { font-size: .89rem; }
#desk-feedback:empty, #desk-saved:empty { display: none; }
.desk-check textarea { display: block; width: 100%; padding: .65rem; color: inherit; background: #0c1711; border: 1px solid #698874; border-radius: .6rem; font: inherit; margin-bottom: .55rem; }
@media (max-width: 760px) {
  .desk-layout { grid-template-columns: minmax(0,1fr); }
  .brawlhalla-editorial main > .handbook-hero { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .brawlhalla-editorial .handbook-cover { min-height: 8rem; padding: .85rem; transform: none; }
  .handbook-cover :is(h2, p.eyebrow, p.handbook-cover-description) { display: none; }
  .handbook-cover .hub-book-logo { width: 2rem; height: 2rem; }
  .brawlhalla-editorial .handbook-cover .byline { margin-top: .25rem; }
  .handbook-cover .handbook-wu { right: -13%; bottom: -19%; width: 73%; max-height: 118%; }
  .handbook-cover .handbook-petra { left: 37%; bottom: -17%; width: 26%; max-height: 99%; }
  .desk-intro { display: block; }
  .desk-source { margin-top: .45rem !important; }
}
@media (max-width: 600px) {
  :is(.handbook-paths, .handbook-session-active) .handbook-mode-links { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .handbook-mode-links a { padding: .65rem .75rem; }
}
