/* The expansion shares the base game's crown and display typeface. */
.court-page {
  --court-ink: #f3eadc;
  --court-muted: #c9bdb8;
  --court-gold: #edce99;
  --court-line: #483a40;
  color: var(--court-ink);
  background: #151218;
  font-size: 1rem;
}
.court-page :focus-visible, .court-home:focus-visible { outline: 3px solid #f1cc82; outline-offset: 4px; }
.court-page h1, .court-page h2, .court-page h3, .court-home h2 { font-family: var(--font); font-weight: 600; }
.court-page h1, .court-page h2, .court-page h3, .court-page figure, .court-page p { margin: 0; }
.court-page em, .court-home em { color: var(--court-gold, #edce99); font-weight: inherit; }
.court-page h2 { font-size: clamp(2.8rem, 5.25vw, 5.1rem); line-height: .98; letter-spacing: -.043em; }
.court-page h3 { font-size: 1.7rem; line-height: 1.1; }
.court-page img { display: block; max-width: 100%; }
.court-mast, .court-foot { display: flex; align-items: center; gap: 2rem; padding: 1.1rem max(5vw, calc((100% - 1400px) / 2)); }
.court-mast { min-height: 72px; background: #14141a; border-bottom: 1px solid var(--court-line); }
.court-mast nav, .court-foot nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.7rem; }
.court-mast nav { margin-left: auto; }
.court-mast nav a, .court-foot nav a { padding: .4rem 0; font-size: .95rem; }
.court-mast [aria-current], .court-mast nav a:hover, .court-foot nav a:hover { color: var(--court-gold); text-decoration: underline; text-underline-offset: .35rem; }
.court-foot { border-top: 1px solid var(--court-line); min-height: 105px; justify-content: space-between; flex-wrap: wrap; }
.court-foot small { color: var(--court-muted); font-size: .85rem; }
.court-width { width: min(88%, 1180px); margin-inline: auto; }
.court-section { padding-block: clamp(3.8rem, 7vw, 7.5rem); }
.court-kicker { color: var(--court-gold, #edce99); font: 650 .875rem/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.court-page .court-kicker { margin-bottom: 1rem; }
.court-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(540px, 73vh, 800px); overflow: hidden; background: #10151d; border-bottom: 1px solid var(--court-line); }
.court-hero > img { z-index: -2; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 57%; }
.court-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#0b101bf7 2%,#10131dd9 24%,#12131c70 46%,transparent 62%),linear-gradient(0deg,#151218aa,transparent 25%); }
.court-hero-copy { width: min(88%,1180px); margin-inline: auto; padding: 4rem 0; }
.court-hero h1 { max-width: 10ch; font-size: clamp(5.25rem, 9.2vw, 9.4rem); line-height: .79; letter-spacing: -.057em; }
.court-hero-copy > p:not(.court-kicker) { max-width: 29rem; font-size: clamp(1.025rem, 1.4vw, 1.23rem); line-height: 1.6; margin: 1.8rem 0 1.65rem; color: #f0e7e0; }
.court-links { display: flex; flex-wrap: wrap; gap: .75rem 1.3rem; align-items: center; }
.court-button, .court-link { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; font-size: 1rem; font-weight: 650; }
.court-button { border: 1px solid #efd3a1; background: #edd09d; color: #2d201b !important; padding: .6rem 1.08rem; border-radius: 3px; text-decoration: none !important; }
.court-button:hover { background: #ffe2ad; }
.court-button.outline { background: transparent; color: var(--court-ink) !important; }
.court-button.outline:hover { background: #422e32; }
.court-link, .doc-content a:not(.court-button), .help-box a { color: var(--court-gold); text-decoration: underline; text-underline-offset: .23em; }
.court-link:hover, .doc-content a:hover, .help-box a:hover { color: #fff1dc; }
.story { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.story > div > p:not(.court-kicker), .systems > div > p:not(.court-kicker), .editions > div > p:not(.court-kicker) { margin-top: 1.25rem; line-height: 1.65; color: var(--court-muted); max-width: 58ch; }
.story .court-note { padding-left: 1rem; border-left: 2px solid var(--court-gold); }
.court-page cite { color: var(--court-ink); }
.story figure, .roster-portrait, .boards-grid figure > img { border: 1px solid var(--court-line); }
.story figure { position: relative; }
.story figure img, .boards-grid img { width: 100%; height: auto; }
.story figcaption { padding: .5rem .9rem; font-size: 1rem; background: #241c23; color: var(--court-muted); font-style: italic; }
.court-band { background: #21191f; border-block: 1px solid var(--court-line); }
.roster-layout { display: grid; grid-template-columns: minmax(200px,.86fr) minmax(300px,1.14fr); align-items: center; gap: clamp(2rem,6vw,6rem); margin-top: 2.4rem; }
.roster-portrait { background: #292128; box-shadow: 0 20px 45px #0c080c55; }
.roster-portrait img { width: 100%; aspect-ratio: 1; height: auto; }
.champion-choice { border-top: 1px solid var(--court-line); }
.champion-choice:last-child { border-bottom: 1px solid var(--court-line); }
.champion-choice summary { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: .8rem; padding: .7rem .3rem; cursor: pointer; }
.champion-choice summary::-webkit-details-marker { display: none; }
.champion-choice summary img { width: 48px; height: 48px; border: 1px solid var(--court-line); }
.champion-choice summary span:nth-child(2) { font-family: var(--font); font-size: clamp(1.35rem,2.4vw,2.05rem); line-height: 1; }
.champion-choice .ability { font-size: .9rem; color: var(--court-muted); }
.champion-choice[open] summary { color: var(--court-gold); }
.champion-choice:hover summary { background: #382831; }
.champion-rule { padding: 0 .7rem 1rem 4.1rem; color: var(--court-muted); }
.champion-rule .inline-portrait { display: none; }
.systems, .editions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.systems h2, .editions h2 { font-size: clamp(2.8rem,4.4vw,4.4rem); }
.armory-list { display: grid; grid-template-columns: max-content 1fr; margin: 1.5rem 0 0; }
.armory-list dt, .armory-list dd { padding: .49rem 0; border-top: 1px solid var(--court-line); margin: 0; }
.armory-list dt { font-weight: 650; color: var(--court-gold); padding-right: 1.25rem; }
.decree-list { margin-top: 1.5rem; border-block: 1px solid var(--court-line); }
.decree-list summary { padding: .8rem .1rem; color: var(--court-gold); cursor: pointer; font-weight: 650; }
.decree-list dl { margin: 0 0 1rem; }
.decree-list dt { font-weight: 650; margin-top: .7rem; }
.decree-list dd { margin: 0; color: var(--court-muted); }

.court-scenarios { border-bottom: 1px solid var(--court-line); }
.court-scenarios .scenario-intro { max-width: 65ch; margin-top: 1.1rem; color: var(--court-muted); line-height: 1.65; }
.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.15rem 1.6rem; margin-top: 2rem; }
.scenario-grid img { width: 100%; height: auto; border: 1px solid var(--court-line); }
.scenario-grid figcaption { padding-top: .85rem; }
.scenario-grid p { margin-top: .45rem; color: var(--court-muted); line-height: 1.55; }
@media (max-width: 900px) { .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .scenario-grid { grid-template-columns: 1fr; } }

.boards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.3rem,3vw,3rem); margin-top: 2.2rem; }
.boards-grid figcaption { padding-top: .9rem; }
.boards-grid p { color: var(--court-muted); margin-top: .4rem; }
.editions { align-items: center; }
.editions .court-links { margin-top: 1.35rem; }
.help-box { border-left: 2px solid #946c5b; padding: 1rem 0 1rem 2rem; }
.help-box a { display: table; padding-top: .75rem; }
.court-doc { width: min(88%, 800px); margin-inline: auto; padding: clamp(3.2rem,6vw,6rem) 0; }
.doc-head { padding-bottom: 2rem; border-bottom: 1px solid var(--court-line); }
.doc-head h1 { font-size: clamp(3.6rem,7vw,6.2rem); line-height: .95; letter-spacing: -.055em; }
.doc-head > p:last-child { font-size: 1.17rem; margin-top: 1.1rem; color: var(--court-muted); }
.doc-content section { margin-top: 2rem; }
.doc-content h2 { font-size: clamp(2.1rem,4vw,3rem); letter-spacing: -.025em; }
.doc-content h3 { font-size: 1.52rem; margin-top: 1.45rem; }
.doc-content p { margin-top: .7rem; line-height: 1.7; max-width: 72ch; }
.doc-content .policy-date { color: var(--court-muted); margin-top: 1.4rem; }
/* Keep the homepage navigation over the hero, just below the announcement. */
.home-masthead { position: relative; }
.home-masthead > .site-header { top: 100%; }
.expansion-ribbon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .7rem;
  min-height: 38px;
  padding: .45rem 1rem;
  border-bottom: 1px solid #68272e;
  background: #170c14;
  color: #f0818a;
  font: 650 .8125rem/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .055em;
  text-align: center;
  text-decoration: none;
}
.expansion-ribbon:hover { background: #30131d; color: #ffb3b9; }
.expansion-ribbon:focus-visible { outline: 2px solid #f0818a; outline-offset: -3px; }
@media (max-width: 760px), (pointer: coarse) {
  .expansion-ribbon { min-height: 44px; }
}
.court-home { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; width: min(88%,1180px); margin: clamp(3rem,5vw,5rem) auto; background: #221b24; border: 1px solid #57444b; color: #f6eadd; }
.court-home img { width: 100%; height: 100%; object-fit: cover; max-height: 350px; }
.court-home > div { padding: clamp(1.8rem,4vw,4rem); align-self: center; }
.court-home h2 { margin: .55rem 0; font-size: clamp(2.4rem,4.4vw,4.6rem); line-height: .94; letter-spacing: -.035em; }
.court-home p { margin: .9rem 0; }
.court-home strong { color: #efd19d; text-decoration: underline; text-underline-offset: .25rem; }
.court-home:hover strong { color: #fff3dc; }
@media (max-width: 760px) {
  .court-mast { flex-wrap: wrap; gap: .4rem 1rem; padding: .8rem 6%; }
  .court-mast .brand { font-size: 1.3rem; }
  .court-mast nav { gap: 1rem; }
  .court-hero { min-height: 0; align-items: end; }
  .court-hero > img { height: 65%; object-position: 75% 45%; }
  .court-hero::before { background: linear-gradient(0deg,#11151e 33%,#11151eec 42%,#11151e50 64%,transparent 83%); }
  .court-hero-copy { padding-top: clamp(11.5rem,43vw,17rem); padding-bottom: 2.7rem; }
  .court-hero h1 { font-size: clamp(4.5rem,14vw,7rem); }
  .court-hero-copy > p:not(.court-kicker) { max-width: 34rem; margin: 1.3rem 0; }
  .story,.roster-layout,.systems,.editions,.boards-grid,.court-home { grid-template-columns: 1fr; }
  .story,.systems,.boards-grid,.editions { gap: 2.1rem; }
  .roster-layout { margin-top: 1.4rem; }
  .roster-portrait { display: none; }
  .champion-rule .inline-portrait { display: block; width: min(35%,130px); height: auto; }
  .champion-rule { display: flex; align-items: center; gap: .9rem; padding: 0 .3rem 1rem; }
  .help-box { padding-left: 1.25rem; }
  .court-home img { max-height: 240px; }
  .court-foot { padding: 2rem 6%; gap: 1rem; align-items: flex-start; flex-direction: column; }
  .court-foot nav { gap: 1rem; }
}
@media (max-width: 510px) {
  .court-mast nav { width: 100%; margin-left: 0; justify-content: space-between; }
  .court-mast nav a { font-size: .9rem; padding: .25rem 0; }
  .champion-choice summary { grid-template-columns: 42px 1fr; gap: .1rem .8rem; }
  .champion-choice summary img { width: 42px; height: 42px; grid-row: span 2; }
  .champion-choice .ability { grid-column: 2; }
  .court-home > div { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
