.brawlers-page {
  --studio-paper: #fff8eb;
  --studio-ink: #32143d;
  background: var(--studio-paper);
  color: var(--studio-ink);
  font: 400 17px/1.6 Outfit, Arial, sans-serif;
  color-scheme: light;
}
.brawlers-page :is(h2,h3,p,figure) { margin: 0; }
.brawlers-page h2 { font-size: clamp(30px,3vw,42px); line-height: 1.13; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.brawlers-page h3 { font-size: 23px; line-height: 1.25; font-weight: 500; }
.brawlers-page p { color: #5e4658; }
.brawlers-page .brand-header { background: #fff8eb; color: #32143d; padding-block: 12px; border-bottom-color: #e3d7c9; }
.brawlers-page .brand-header nav { font-size: 16px; font-weight: 500; }
.brawlers-page .brand-header nav a { gap: 8px; }
.brawlers-page :is(a,button,summary):focus-visible { outline: 3px solid #006f73; outline-offset: 5px; }
.brawlers-wrap { width: min(1180px,calc(100% - 96px)); margin-inline: auto; }
.brawlers-section { padding-block: 72px; }
.brawlers-section-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: end; margin-bottom: 38px; }
.brawlers-section-head p { max-width: 46ch; }
.brawlers-modes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.brawlers-modes li { padding-top: 22px; border-top: 1px solid #cdbfae; }
.brawlers-number { display: block; color: #8d4c31; font-size: 15px; margin-bottom: 12px; }
.brawlers-modes h3 { margin-bottom: 14px; }
.brawlers-modes .brawlers-mode-note { color: #00676d; font-size: 14px; font-weight: 500; margin-top: 20px; }
.brawlers-gameplay { background: #e4eeea; padding-block: 64px; }
.brawlers-shots { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.brawlers-shots a { display: block; border-radius: 12px; overflow: hidden; }
.brawlers-shots img { width: 100%; height: auto; }
.brawlers-shots figcaption { margin-top: 12px; color: #5e4658; font-size: 14px; }
.brawlers-steps { list-style: none; padding: 0; margin: 0; counter-reset: steps; }
.brawlers-steps li { display: grid; grid-template-columns: 36px minmax(140px,.65fr) minmax(0,1.35fr); gap: 20px; border-top: 1px solid #dfd4c3; padding: 26px 0; counter-increment: steps; }
.brawlers-steps li::before { content: counter(steps); font-size: 20px; color: #8d4c31; line-height: 1.5; }
.brawlers-keys { border-top: 1px solid #dfd4c3; margin-top: 10px; }
.brawlers-keys summary { cursor: pointer; padding-block: 18px; min-height: 48px; font-weight: 500; color: #00676d; }
.brawlers-keys dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 36px; margin: 10px 0 0; }
.brawlers-keys dl div { display: flex; flex-direction: column; }
.brawlers-keys dt { font-weight: 500; }
.brawlers-keys dd { color: #5e4658; margin: 0; }
.brawlers-finale { padding-block: 60px; background: var(--edition-wash); text-align: center; }
.brawlers-finale p { margin-top: 16px; }
.brawlers-finale .edition-actions { justify-content: center; }
.brawlers-footer { width: min(1180px,calc(100% - 96px)); margin: auto; padding-block: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; font-size: 15px; }
.brawlers-footer a:not(.studio-brand) { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; text-decoration: underline; text-underline-offset: 5px; }
.brawlers-footer p { font-size: 14px; }
@media(max-width:1000px) {
  .brawlers-wrap,.brawlers-footer { width: calc(100% - 56px); }
  .brawlers-section-head { gap: 32px; }
  .brawlers-modes { gap: 24px; }
}
@media(max-width:700px) {
  .brawlers-wrap,.brawlers-footer { width: calc(100% - 40px); }
  .brawlers-section,.brawlers-gameplay { padding-block: 44px; }
  .brawlers-section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .brawlers-modes,.brawlers-shots { grid-template-columns: 1fr; gap: 28px; }
  .brawlers-modes .brawlers-mode-note { margin-top: 12px; }
  .brawlers-steps li { grid-template-columns: 24px minmax(0,1fr); gap: 12px; padding-block: 22px; }
  .brawlers-steps p { grid-column: 2; }
  .brawlers-keys dl { grid-template-columns: 1fr; }
  .brawlers-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media(max-width:450px) {
  .brawlers-page .brand-header { justify-content: center; gap: 4px; }
  .brawlers-page .brand-header nav { justify-content: center; width: 100%; gap: 32px; }
  .brawlers-page .studio-edition figcaption { flex-wrap: wrap; gap: 2px 12px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

.brawlers-fighters { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; }
.brawlers-fighters li { min-width: 0; }
.brawlers-fighters img { display: block; width: 100%; height: auto; background: #e4eeea; border-radius: 12px; margin-bottom: 20px; }
.brawlers-fighters p { font-size: 16px; line-height: 1.6; }
.brawlers-fighters .brawlers-fighter-role { color: #00676d; font-weight: 500; margin-block: 8px 12px; }
@media(min-width:701px) and (max-width:1000px) {
  .brawlers-fighters { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:700px) {
  .brawlers-fighters { grid-template-columns: 1fr; gap: 24px; }
  .brawlers-fighters li { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 20px; align-items: start; }
  .brawlers-fighters img { margin: 0; }
  .brawlers-fighters .brawlers-fighter-role { margin-block: 6px 8px; }
}
@media(max-width:360px) {
  .brawlers-fighters li { grid-template-columns: 88px minmax(0,1fr); gap: 16px; }
}
