.mast nav { font-size: .9375rem; }
.league-hero .eyebrow,.class-section .eyebrow,.question-section .eyebrow { font-size: .875rem; }
.mast nav a[aria-current="page"] { background: var(--gold); border-radius: .35rem; padding-inline: .75rem; }
.league-hero { color: var(--paper); padding-block: 3.7rem 0; background: linear-gradient(140deg,#102f35,#215a4d); }
.league-hero .eyebrow { color: #c1e79d; }
.league-hero-copy { position: relative; padding-bottom: 2.5rem; }
.league-hero h1 { font-size: clamp(4.4rem,9.5vw,8rem); line-height: .86; letter-spacing: -.025em; text-transform: uppercase; }
.league-hero h1 span { color: var(--gold); }
.hero-summary { position: absolute; width: 40%; right: 0; top: 2.3rem; }
.hero-summary > p:first-child { font-family: var(--display); font-size: clamp(1.75rem,3vw,2.5rem); line-height: 1.13; margin-bottom: 1rem; }
.hero-summary > p:first-child strong { color: #cae6af; font-weight: 700; }
.hero-summary > p + p { max-width: 43ch; color: #e0eddf; }
.league-hero .button { color: var(--ink); }
.battle-hero { margin-block: 0; }
.battle-hero img { border: 5px solid #f1dfab; border-bottom: none; border-radius: .7rem .7rem 0 0; width: 100%; height: auto; }
.battle-hero figcaption { color: #e0e9d3; padding: .7rem .25rem 1rem; font-size: .875rem; }
.guide-jumps { display: flex; flex-wrap: wrap; gap: .45rem .8rem; padding-block: 1.3rem; border-bottom: 2px solid #c4d1b1; }
.guide-jumps a { display: inline-flex; align-items: center; padding: .55rem .75rem; min-height: 44px; background: #e7efd7; border-radius: .3rem; text-decoration: none; font-size: .9375rem; font-weight: 800; }
.guide-jumps a:hover { background: var(--gold); }
.match-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.match-steps li { display: flex; align-items: flex-start; gap: 1rem; }
.step-icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; flex: 0 0 3.1rem; border: 2px solid var(--ink); border-radius: .6rem; background: var(--mint); box-shadow: 2px 3px var(--ink); color: var(--ink); font: 800 1.9rem/1 var(--display); transform: rotate(-5deg); }
.snack-icon { background: #ffe2a6; transform: rotate(5deg); }
.play-icon { background: #d7d9f8; font-size: 1.3rem; }
.match-steps h3 { font-size: 1.8rem; margin-bottom: .6rem; }
.match-steps p { color: var(--muted); }
.turn-section { background: #e5efdf; border-block: 1px solid #c3d5bc; }
.action-picture { margin: 0 0 2rem; }
.action-picture img { width: 100%; border: 3px solid var(--ink); border-radius: .7rem; }
.action-picture figcaption { padding-top: .7rem; color: var(--muted); font-size: .875rem; }
.action-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.3rem; }
.action-grid article { padding: 1.3rem; border: 1px solid #b8c9ad; border-radius: .6rem; background: #fffaf0; }
.action-grid h3 { font-size: 1.65rem; margin: .8rem 0 .6rem; }
.action-grid p { color: var(--muted); }
.action-tag { display: inline-flex; align-items: center; min-height: 1.85rem; padding: .3rem .6rem; border-radius: .3rem; background: #d2e7bd; font-size: .875rem; line-height: 1.2; font-weight: 900; }
.special-tag { background: #e3d9f7; }.switch-tag { background: #d5e9ef; }.food-tag { background: #ffdfac; }
.turn-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; padding: 1.5rem 0 .4rem; }
.turn-notes p { color: var(--muted); }
.deep-dive { margin-top: 1.5rem; border: 1px solid #abbf9e; border-radius: .5rem; background: #fffaf0; }
.deep-dive summary { cursor: pointer; font-weight: 800; padding: 1rem 1.2rem; min-height: 44px; }
.deep-dive > div { padding: 0 1.2rem 1.2rem; }
.deep-dive p + p { margin-top: .75rem; }
.food-cheatsheet { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; }
.food-cheatsheet article { border-top: 5px solid #c5663b; background: #ffeddd; padding: 1.3rem; border-radius: .4rem; }
.food-cheatsheet article:nth-child(2) { border-color: #38839c; background: #e0f0f2; }
.food-cheatsheet article:nth-child(3) { border-color: #a363a4; background: #f4e6f4; }
.food-cheatsheet article:nth-child(4) { border-color: #bf8233; background: #fff0d2; }
.food-cheatsheet article:nth-child(5) { border-color: #a69053; background: #f5efd8; }
.food-cheatsheet article:nth-child(6) { border-color: #99694f; background: #f4e2d4; }
.food-cheatsheet h3 { font-size: 1.9rem; margin-bottom: .65rem; }
.food-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; }
.food-footer p { max-width: 48ch; color: var(--muted); }
.food-footer .button { flex-shrink: 0; }
.class-section { background: #183f3b; color: var(--paper); }
.class-layout { display: grid; grid-template-columns: 1fr .9fr; gap: 5rem; align-items: center; }
.class-section .eyebrow { color: #c2df98; }
.class-intro { margin: 1.3rem 0 1rem; }
.class-layout > div > p { max-width: 50ch; }
.class-layout .text-link { margin-top: .8rem; color: var(--gold); }
.class-checker { border: 3px solid #bfd692; border-radius: .7rem; padding: 1.5rem; background: #fff8e8; color: var(--ink); box-shadow: 7px 7px #082c29; }
.class-checker h3 { font-size: 2.3rem; margin-bottom: 1rem; }
.class-checker label { font-size: .9375rem; font-weight: 700; display: block; margin-bottom: .4rem; }
.class-checker select { width: 100%; padding: .75rem 2.5rem .75rem .8rem; border: 2px solid var(--ink); border-radius: .35rem; background: #fffdf5; color: var(--ink); font: 800 1rem var(--body); min-height: 48px; appearance: none; background-image: linear-gradient(45deg,transparent 50%,#123530 50%),linear-gradient(135deg,#123530 50%,transparent 50%); background-position: calc(100% - 20px) 52%,calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
#class-result { margin-top: 1rem; }
#class-result p { padding: .8rem; background: #e5f0d7; border-radius: .3rem; }
#class-result p + p { margin-top: .6rem; background: #fbe3d9; }
#class-result strong,#class-result span { display: block; }
#class-result span { margin-top: .2rem; }
#class-result .neutral-note { font-size: .875rem; background: transparent; padding: .4rem 0 0; color: var(--muted); }
.mode-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.mode-grid article { border-top: 3px solid #8ba76c; padding-top: 1rem; }
.mode-grid h3 { margin-bottom: .7rem; }
.mode-grid p:not(.eyebrow) { color: var(--muted); }
.mode-grid .eyebrow { font-size: .875rem; }
.question-section { background: #f2e9cc; border-block: 1px solid #d9cdad; }
.question-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.question-layout > div > p:last-child { margin-top: 1.2rem; max-width: 32ch; }
.question-list details { border-bottom: 1px solid #baae8e; }
.question-list details:first-child { border-top: 1px solid #baae8e; }
.question-list summary { cursor: pointer; font-size: 1rem; font-weight: 800; padding: 1rem .2rem; min-height: 48px; }
.question-list details p { padding: 0 .2rem 1.2rem; color: var(--muted); }
.league-close { padding-block: 3.7rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.league-close h2 { font-size: clamp(2.7rem,4.6vw,4rem); }
.league-close p { margin-top: 1rem; color: var(--muted); max-width: 44ch; }
.league-close .buttons { margin-top: 0; }
@media(max-width:64rem) { .class-layout { gap: 2.5rem; }.action-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.match-steps li { display: block; }.step-icon { margin-bottom: 1rem; }.hero-summary { width: 41%; }.league-hero h1 { font-size: clamp(4.2rem,9vw,6.7rem); } }
@media(max-width:46rem) {
  .mast nav { font-size: .875rem; gap: .25rem .8rem; justify-content: flex-start; }.mast nav a { min-height: 44px; }
  .league-hero { padding-top: 2.3rem; }.league-hero h1 { font-size: clamp(3.9rem,15vw,6rem); }.hero-summary { position: static; width: 100%; margin-top: 1.5rem; }.hero-summary > p:first-child { font-size: 1.9rem; }.hero-summary > p + p { max-width: 48ch; }
  .battle-hero { width: 100%; }.battle-hero img { border-inline: none; border-radius: 0; }.battle-hero figcaption { padding-inline: 1rem; }
  .guide-jumps { gap: .4rem; }.guide-jumps a { font-size: .875rem; padding-inline: .65rem; }
  .match-steps { grid-template-columns: 1fr; gap: 1.6rem; }.match-steps li { display: flex; }.step-icon { margin-bottom: 0; }
  .action-grid { gap: .8rem; }.action-grid article { padding: 1rem; }.action-grid h3 { font-size: 1.55rem; }.turn-notes { grid-template-columns: 1fr; gap: 1rem; }
  .food-cheatsheet { grid-template-columns: 1fr 1fr; gap: .8rem; }.food-cheatsheet article { padding: 1rem; }.food-cheatsheet h3 { font-size: 1.65rem; }.food-footer { flex-direction: column; align-items: flex-start; gap: 1rem; }.food-footer .button { max-width: 100%; }
  .class-layout,.question-layout { grid-template-columns: 1fr; gap: 2rem; }.class-checker { padding: 1.2rem; }.mode-grid { grid-template-columns: 1fr; gap: 1.5rem; }.league-close { flex-direction: column; align-items: flex-start; }
}
@media(max-width:25rem) { .action-grid,.food-cheatsheet { grid-template-columns: 1fr; }.match-steps li { gap: .75rem; }.step-icon { width: 2.6rem; height: 2.6rem; flex-basis: 2.6rem; }.league-hero h1 { font-size: 15vw; } }
