/* [comment #10] */

:root {
  --sky:       #8FDCF7;
  --sky-low:   #D9F3FF;
  --sky-deep:  #57C4EC;
  --grass:     #9BDE6B;
  --grass-deep:#63B84A;
  --dirt:      #D9A96B;
  --dirt-deep: #B9834B;
  --bark:      #6B5B44;

  --paper:     #FFF6E3;
  --paper-edge:#EBD9B4;
  --cream:     #FBF1DC;
  --stone:     #E3DCD0;
  --ink:       #4A3352;
  --ink-soft:  #7A6685;

  --sunny:     #FFD24C;
  --coral:     #FF7C6B;
  --mint:      #6FDCB0;
  --plum:      #B075D8;
  --berry:     #EE5D8A;
  --tangerine: #FFA24C;
  --peach:     #FFC178;
  --candle:    #FFF3C4;
  --cherry:    #A3231C;

  --clan:      #FFD24C;
  --clan-2:    #FFC2DC;
  --clan-edge: #B9834B;
  --horde:     #BFF07A;
  --horde-2:   #C9A9F0;
  --horde-edge:#8A6A9E;

  --snack:     #FFD24C;

  --pad: clamp(1.1rem, 4vw, 4.5rem);
  --edge: 3px;
  --wide: 84rem;

  /* [comment #11] */
  --drop: 0 0.4rem 0 rgba(74, 51, 82, 0.28);
  --drop-big: 0 0.7rem 0 rgba(74, 51, 82, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 clamp(1rem, 0.4vw + 0.95rem, 1.125rem)/1.65
        ui-rounded, "Nunito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.4vw, 1.4rem); }
p  { margin: 0 0 1em; }
img, video { max-width: 100%; }

a { color: inherit; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 50;
  background: var(--sunny); color: var(--ink);
  border: var(--edge) solid var(--ink); border-radius: 0.6rem;
  padding: 0.6rem 1rem; font-weight: 800; text-decoration: none;
  transition: top 0.15s;
}
.skip:focus { top: 0.75rem; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 0.7rem var(--pad);
  background: var(--paper);
  border-bottom: var(--edge) solid var(--ink);
}

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; font-weight: 900; letter-spacing: 0.02em;
}
.brand-glyph {
  width: 1.6rem; height: 1.6rem; flex: none;
  border: var(--edge) solid var(--ink); border-radius: 0.4rem;
  background:
    linear-gradient(var(--sky) 0 30%, var(--grass) 30% 100%);
  position: relative; overflow: hidden;
}
.brand-glyph::after {
  content: ""; position: absolute; left: 0; right: 0; top: 45%;
  height: 22%; background: var(--dirt);
}
.brand-word { font-size: 1.15rem; }
.brand-word span { color: var(--berry); }

.topbar nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 0.2rem; flex-wrap: wrap;
}
@media (max-width: 62rem) {
  .topbar { flex-wrap: nowrap; }
  .topbar nav {
    flex-wrap: nowrap; overflow-x: auto; min-width: 0;
    scrollbar-width: none; padding-block: 0.15rem 0.45rem;
  }
  .topbar nav a { flex: none; }
}
@media (max-width: 34rem) {
  .topbar { flex-wrap: wrap; gap: 0.3rem; }
  .topbar nav { margin-left: 0; width: 100%; }
}
.topbar nav a {
  padding: 0.55rem 0.7rem; border-radius: 0.5rem;
  text-decoration: none; font-weight: 700; font-size: 0.95rem;
  min-height: 44px; display: inline-flex; align-items: center;
}
.topbar nav a:hover { background: var(--cream); }
.nav-cta {
  background: var(--sunny);
  border: var(--edge) solid var(--ink);
  box-shadow: var(--drop);
  margin-left: 0.4rem;
}
.nav-cta:hover { background: var(--peach); }

/* [comment #12] */

.frame {
  border: var(--edge) solid var(--ink);
  border-radius: 0.9rem;
  background: var(--sky-low);
  box-shadow: var(--drop-big);
  overflow: hidden;
}
.frame-16x9 { aspect-ratio: 16 / 9; width: 100%; }
.frame-16x9 > img,
.frame-16x9 > video,
.frame-16x9 > iframe {
  display: block; width: 100%; height: 100%;
  object-fit: contain; background: var(--ink);
}

.hero {
  padding: clamp(1.5rem, 4vw, 3.5rem) var(--pad) clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(120% 90% at 20% 0%, var(--sky-low), transparent 60%),
    linear-gradient(var(--sky) 0 55%, var(--grass) 55% 100%);
  border-bottom: var(--edge) solid var(--ink);
}

.hero-grid {
  max-width: var(--wide); margin: 0 auto;
  display: grid; gap: clamp(1.25rem, 3vw, 2.75rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(20rem, 27rem) minmax(0, 1.35fr); }
}

.eyebrow {
  display: inline-block; margin: 0 0 0.9rem;
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 999px; padding: 0.3rem 0.85rem;
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.03em;
  box-shadow: var(--drop);
}

.title {
  margin: 0 0 0.45rem;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 900; letter-spacing: -0.02em;
  text-shadow: 0.11em 0.11em 0 var(--paper);
}
.title-a { color: var(--ink); }
.title-b { color: var(--berry); }

.hook {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 700; max-width: 34ch;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.1rem 0 1.3rem; }

.big-btn, .ghost-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.3rem;
  border: var(--edge) solid var(--ink); border-radius: 0.7rem;
  font-weight: 900; text-decoration: none;
  box-shadow: var(--drop);
}
.big-btn { background: var(--sunny); }
.big-btn:hover { background: var(--peach); }
.ghost-btn { background: var(--paper); }
.ghost-btn:hover { background: var(--cream); }

.tagline {
  display: inline; margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 900; letter-spacing: 0.06em;
  background: linear-gradient(transparent 42%, var(--sunny) 42% 92%, transparent 92%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.tagline + .hook { margin-top: 1rem; }

.hero-media { margin: 0; }
.hero-yt { border: 0; display: block; }
.hero-media figcaption {
  margin-top: 0.6rem; font-size: 0.9rem; font-weight: 700;
  color: var(--ink);
}

.chips {
  max-width: var(--wide); margin: clamp(1.4rem, 3vw, 2.2rem) auto 0;
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
}
.chips li {
  background: var(--paper); border: 2px solid var(--ink);
  border-radius: 999px; padding: 0.35rem 0.95rem;
  font-size: 0.95rem; font-weight: 800; box-shadow: var(--drop);
}
.chips b { color: var(--cherry); font-weight: 900; }

.sec { padding: clamp(2.5rem, 6vw, 5rem) var(--pad); }
.sec-paper { background: var(--cream); border-block: var(--edge) solid var(--ink); }

.sec-head { max-width: 56rem; margin: 0 auto clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.sec-kicker {
  margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cherry);
}
.sec-sub { color: var(--ink-soft); max-width: 48rem; margin-inline: auto; }

/* [comment #13] */
body.js .sec {
  opacity: 0; transform: translateY(0.9rem);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
body.js .sec.seen { opacity: 1; transform: none; }

.gallery { max-width: 68rem; margin: 0 auto; }

.viewer { margin: 0; }
.viewer figcaption {
  margin-top: 0.75rem; text-align: center;
  font-size: 0.95rem; font-weight: 700;
}

/* [comment #14] */
.strip {
  margin-top: 1rem;
  display: flex; gap: 0.6rem;
  overflow-x: auto; overflow-y: hidden;
  padding: 0.35rem 0.2rem 0.9rem;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--ink) var(--stone);
}
.thumb {
  flex: 0 0 auto; position: relative;
  width: clamp(8.5rem, 16vw, 13rem);
  aspect-ratio: 16 / 9;
  padding: 0; margin: 0; cursor: pointer;
  background: var(--ink);
  border: var(--edge) solid var(--ink); border-radius: 0.6rem;
  overflow: hidden; scroll-snap-align: start;
  box-shadow: var(--drop);
  transition: transform 0.15s ease;
}
.thumb > img {
  display: block; width: 100%; height: 100%;
  object-fit: contain; opacity: 0.72;
  transition: opacity 0.15s ease;
}
.thumb:hover > img { opacity: 1; }
.thumb:hover { transform: translateY(-2px); }
.thumb[aria-pressed="true"] {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px var(--berry), var(--drop);
}
.thumb[aria-pressed="true"] > img { opacity: 1; }
/* [comment #33] */
.viewer-box { position: relative; }
.viewer-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; padding: 0; cursor: pointer;
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 50%; box-shadow: var(--drop);
}
.viewer-nav:hover { background: var(--sunny); }
.viewer-nav[hidden] { display: none; }
.viewer-nav::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0.7rem; height: 0.7rem;
  border-top: 0.24rem solid var(--ink); border-right: 0.24rem solid var(--ink);
}
.viewer-prev { left: 0.7rem; }
.viewer-prev::before { transform: translateX(15%) rotate(-135deg); }
.viewer-next { right: 0.7rem; }
.viewer-next::before { transform: translateX(-15%) rotate(45deg); }

.plainlinks { margin-top: 1rem; text-align: center; font-weight: 700; }

.prose { max-width: var(--wide); margin: 0 auto; }
.prose:has(> h1) { max-width: 48rem; }
.prose > h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.prose > h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-top: 1.6em; }
/* [comment #63] */
.prose > h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); margin-top: 1.5em; }
.prose > .rules-row { margin-bottom: 0.4rem; }
/* [comment #64] */
.prose > .warn {
  margin: 0.9rem 0 0; padding: 0.85rem 1rem;
  background: var(--paper); border: 2px solid var(--cherry);
  border-left-width: 0.5rem; border-radius: 0.6rem;
  color: var(--cherry); font-weight: 700;
}
.prose > h1 + .lede { text-align: left; margin-inline: 0; }
.lede {
  max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem);
  font-size: clamp(1.1rem, 1.5vw, 1.32rem); font-weight: 600;
  text-align: center;
}

.wide-shot { max-width: 62rem; margin: clamp(1.8rem, 4vw, 3rem) auto 0; }
.wide-shot figcaption {
  margin-top: 0.6rem; text-align: center;
  font-size: 0.9rem; font-weight: 700; color: var(--ink-soft);
}

.sub-head {
  max-width: var(--wide); margin: clamp(2.2rem, 5vw, 3.5rem) auto 1.2rem;
  text-align: center; font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}

.sec-sky { background: var(--sky-low); border-block: var(--edge) solid var(--ink); }
.sec-sun { background: var(--sunny); border-block: var(--edge) solid var(--ink); }

/* [comment #34] */
.steps {
  max-width: var(--wide); margin: 0 auto; padding: 0; list-style: none;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
}
.step {
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.9rem; padding: 0.8rem 1rem 1.1rem;
  box-shadow: var(--drop);
}
.step-art {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  aspect-ratio: 8 / 5; margin-bottom: 0.8rem; padding: 0.6rem;
  border: 2px solid var(--ink); border-radius: 0.5rem; overflow: hidden;
  background: linear-gradient(var(--sky-low) 0 72%, var(--grass) 72% 100%);
}
.step-art img {
  display: block; min-width: 0; max-height: 100%; width: auto; height: auto;
  object-fit: contain; image-rendering: pixelated;
}
.step-art-food img, .step-art-build img { max-width: 46%; }
.step-art-squad img { max-width: 100%; }
.step-art-base { padding: 0; justify-content: space-between; }
.step-art-base img { height: 100%; }
.step-art-base img:first-child { transform: scaleX(-1); }
.step h3 { display: flex; align-items: center; gap: 0.55rem; }
.step-n {
  flex: none; display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--sunny); border: 2px solid var(--ink);
  font-size: 1rem; font-weight: 900;
}
.step p { margin: 0; }

.rules-row {
  max-width: var(--wide); margin: 1.4rem auto 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
}
.rule-card {
  background: var(--paper); border: 2px solid var(--ink);
  border-radius: 0.8rem; padding: 0.9rem 1rem 1rem;
  display: grid; grid-template-columns: auto 1fr; gap: 0 0.8rem; align-items: baseline;
}
.rule-big {
  grid-row: span 2; margin: 0;
  font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--cherry);
}
.rule-card h3 { margin: 0 0 0.2rem; font-size: 1.1rem; }
.rule-card p:last-child { grid-column: 1 / -1; margin: 0.5rem 0 0; font-size: 0.95rem; }

/* [comment #35] */
.versus {
  max-width: var(--wide); margin: 0 auto;
  display: grid; gap: 1rem; align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 56rem) {
  .versus { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
}
.vs {
  align-self: center; justify-self: center; margin: 0;
  display: grid; place-items: center;
  width: 4.2rem; height: 4.2rem; border-radius: 50%;
  background: var(--coral); border: var(--edge) solid var(--ink);
  box-shadow: var(--drop); font-size: 1.4rem; font-weight: 900;
}
.army {
  border: var(--edge) solid var(--ink);
  border-radius: 0.9rem; padding: 1.1rem 1.3rem 1.3rem;
  box-shadow: var(--drop-big);
}
.army-clan { background: linear-gradient(170deg, var(--clan-2), var(--paper) 55%); }
.army-horde { background: linear-gradient(170deg, var(--horde-2), var(--paper) 55%); }
.army-art {
  margin: 0 0 0.9rem; border: 2px solid var(--ink); border-radius: 0.6rem;
  overflow: hidden;
  background: linear-gradient(var(--sky) 79%, var(--grass) 79%);
}
.army-horde .army-art { background: linear-gradient(var(--horde-2) 79%, var(--grass) 79%); }
.army-art { padding: 1rem 0.8rem 0.4rem; }
.army-squad { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.army-kicker {
  margin: 0 0 0.2rem; font-size: 0.85rem; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cherry);
}
.army h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.2rem; }
.army-tag { font-weight: 900; font-size: 1.1rem; margin-bottom: 0.6rem; }
.army-tricks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.4rem; }
.army-tricks li {
  padding: 0.4rem 0.7rem 0.4rem 2.1rem; position: relative;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 0.55rem;
}
.army-tricks li::before {
  content: ""; position: absolute; left: 0.65rem; top: 50%;
  width: 0.8rem; height: 0.8rem; margin-top: -0.4rem;
  border: 2px solid var(--ink); border-radius: 0.2rem;
}
.army-clan .army-tricks li::before { background: var(--clan); }
.army-horde .army-tricks li::before { background: var(--horde); }
.army-homes { margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.army-homes div {
  flex: 1 1 10rem; padding: 0.5rem 0.8rem;
  border: 2px solid var(--ink); border-radius: 0.55rem;
}
.army-clan .army-homes div { background: var(--clan); }
.army-horde .army-homes div { background: var(--horde); }
.army-homes dt { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.army-homes dd { margin: 0; font-weight: 900; font-size: 1.15rem; }

/* [comment #36] */
.filters { display: none; }
body.js .filters {
  max-width: var(--wide); margin: 0 auto 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem;
  justify-content: center; align-items: center;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.filter-label { font-weight: 900; font-size: 0.9rem; margin-right: 0.2rem; }
.fbtn {
  min-height: 44px; padding: 0.4rem 0.95rem; cursor: pointer;
  font: inherit; font-weight: 800; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px;
}
.fbtn:hover { background: var(--candle); }
.fbtn[aria-pressed="true"] { background: var(--sunny); box-shadow: var(--drop); }
.filter-count { flex-basis: 100%; margin: 0; text-align: center; font-weight: 700; font-size: 0.9rem; }

.roster { max-width: var(--wide); margin: 0 auto; }
.roster-army + .roster-army { margin-top: 2rem; }
.roster-army[hidden], .unit[hidden] { display: none; }
.roster-title {
  display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 0.9rem;
  padding-bottom: 0.4rem; border-bottom: var(--edge) solid var(--ink);
}
.roster-title span {
  font-size: 0.8rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.15rem 0.6rem; border: 2px solid var(--ink); border-radius: 999px;
}
.roster-army[data-army="clan"] .roster-title span { background: var(--clan); }
.roster-army[data-army="horde"] .roster-title span { background: var(--horde); }

.roster-grid {
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
}

/* [comment #37] */
.unit {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.8rem; padding: 0.55rem 0.65rem 0.75rem;
  box-shadow: var(--drop);
}
.unit-art {
  display: flex; align-items: flex-end; justify-content: center; gap: 0.3rem;
  height: 7.2rem; margin-bottom: 0.55rem; padding: 0 0.4rem;
  border: 2px solid var(--ink); border-radius: 0.55rem; overflow: hidden;
  background:
    linear-gradient(transparent 78%, var(--grass) 78% 86%, var(--grass-deep) 86%),
    linear-gradient(var(--sky-low), var(--sky));
}
.unit[data-army="horde"] .unit-art {
  background:
    linear-gradient(transparent 78%, var(--grass) 78% 86%, var(--grass-deep) 86%),
    linear-gradient(var(--horde-2), var(--horde));
}
.unit-art img { display: block; image-rendering: crisp-edges; image-rendering: pixelated; }
.unit-face {
  align-self: center; width: 4.4rem; height: 4.4rem; object-fit: contain;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 0.5rem;
}
.unit-body { height: 6.2rem; width: auto; margin-bottom: 0.2rem; }
.unit-art img.gone { display: none; }

.unit::before, .unit::after {
  position: absolute; top: 0.95rem; z-index: 1;
  border: 2px solid var(--ink); border-radius: 999px;
  font-size: 0.75rem; font-weight: 900; line-height: 1.4;
  padding: 0 0.45rem; background: var(--paper);
}
.unit::after { content: "#" attr(data-tier); right: 0.95rem; }
.unit[data-kind="collector"]::before { content: "Collector"; left: 0.95rem; background: var(--sunny); }
.unit[data-kind="shooter"]::before,
.unit[data-kind="ranged"]::before { content: "Shooter"; left: 0.95rem; background: var(--mint); }

.unit-name { margin: 0; font-size: 1.15rem; line-height: 1.2; }
.unit-role { margin: 0 0 0.45rem; font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }

.unit-stats {
  list-style: none; margin: 0 0 0.55rem; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.25rem;
}
.stat {
  grid-column: span 2;
  display: flex; flex-direction: column; align-items: center;
  padding: 0.2rem 0.1rem; border-radius: 0.4rem; background: var(--cream);
  line-height: 1.25; text-align: center;
}
.stat-cost, .stat-reach { grid-column: span 3; flex-direction: row; justify-content: space-between; padding-inline: 0.5rem; }
.stat span { font-size: 0.75rem; font-weight: 800; }
.stat b { font-size: 0.9rem; font-weight: 900; }
.stat-cost b { color: var(--cherry); }
.stat .pips { font-size: 0.75rem; letter-spacing: -0.02em; color: var(--cherry); white-space: nowrap; }

.unit-special {
  margin: 0 0 0.45rem; padding: 0.5rem 0.6rem;
  background: var(--candle); border: 2px solid var(--ink); border-radius: 0.55rem;
  font-size: 0.9rem; line-height: 1.45;
}
.unit-special b {
  display: table; margin-bottom: 0.25rem; padding: 0 0.4rem;
  background: var(--sunny); border-radius: 0.3rem;
  font-size: 0.82rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em;
}
.unit[data-army="horde"] .unit-special b { background: var(--horde); }
.unit-note { margin: auto 0 0; font-size: 0.82rem; font-style: italic; color: var(--ink-soft); line-height: 1.4; }

/* [comment #38] */
.premises {
  max-width: var(--wide); margin: 0 auto;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
}
.premise {
  border: var(--edge) solid var(--ink); border-radius: 0.9rem;
  padding: 1.2rem 1.3rem; box-shadow: var(--drop);
}
.premise-clan { background: var(--clan-2); }
.premise-horde { background: var(--horde-2); }
.premise p:last-child { margin: 0; }

.campaigns {
  max-width: var(--wide); margin: 0 auto;
  display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 60rem) { .campaigns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.campaign {
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.9rem; padding: 1rem 1.1rem 0.6rem; box-shadow: var(--drop);
}
.campaign > h3 {
  margin: -1rem -1.1rem 0.6rem; padding: 0.7rem 1.1rem;
  border-bottom: var(--edge) solid var(--ink); border-radius: 0.65rem 0.65rem 0 0;
}
.campaign[data-army="clan"] > h3 { background: var(--clan); }
.campaign[data-army="horde"] > h3 { background: var(--horde); }
.campaign > h3 span {
  display: block; font-size: 0.72em; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink);
}
.missions { list-style: none; margin: 0; padding: 0; }
.mission {
  position: relative;
  display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0.7rem;
  padding: 0.6rem 0; border-bottom: 2px solid var(--paper-edge);
}
.mission:last-child { border-bottom: 0; }
.m-num {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem;
  border: 2px solid var(--ink); border-radius: 0.5rem;
  font-weight: 900; background: var(--cream);
}
.mission > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.5rem; }
.mission h4 { margin: 0; font-size: 1.02rem; line-height: 1.25; }
.m-twist {
  margin: 0; padding: 0 0.45rem; border: 2px solid var(--ink); border-radius: 0.35rem;
  font-size: 0.75rem; font-weight: 900; letter-spacing: 0.04em; line-height: 1.5;
}
.campaign[data-army="clan"] .m-twist { background: var(--clan); }
.campaign[data-army="horde"] .m-twist { background: var(--horde); }
.m-hook { flex-basis: 100%; margin: 0; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.mission[data-free="true"] .m-num { background: var(--mint); }
.mission[data-free="true"] h4::after {
  content: "Free"; margin-left: 0.45rem; vertical-align: 0.1em;
  padding: 0 0.4rem; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--mint); font-size: 0.72rem; font-weight: 900; text-transform: uppercase;
}

.twist-shots, .weather-grid {
  max-width: var(--wide); margin: clamp(1.8rem, 4vw, 2.6rem) auto 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.weather-grid { margin-top: 0; }
.twist-shots figure, .weather figure { margin: 0; }
.twist-shots figcaption {
  margin-top: 0.6rem; font-size: 0.95rem; font-weight: 700;
}
.weather {
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.9rem; padding: 0.8rem 1rem 1.1rem; box-shadow: var(--drop);
}
.weather figure { margin-bottom: 0.8rem; }
.weather .frame { box-shadow: none; border-width: 2px; border-radius: 0.55rem; }
.weather h3 {
  display: inline-block; padding: 0.1rem 0.7rem; margin-bottom: 0.5rem;
  border: 2px solid var(--ink); border-radius: 999px;
}
.weather-rain h3 { background: var(--sky); }
.weather-snow h3 { background: var(--paper-edge); }
.weather-night h3 { background: var(--horde-2); }
.weather p { margin: 0; }
.weather-note, .power-note, .mode-note {
  max-width: 46rem; margin: 1.4rem auto 0; text-align: center; font-weight: 700;
}

/* [comment #39] */
.power-row {
  max-width: var(--wide); margin: 0 auto;
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.power {
  border: var(--edge) solid var(--ink); border-radius: 0.8rem;
  padding: 0.9rem 1rem; box-shadow: var(--drop);
}
.power h3 { margin-bottom: 0.25rem; }
.power p { margin: 0; }
.power-mend { background: var(--clan-2); }
.power-strike { background: var(--peach); }
.power-retreat { background: var(--mint); }
.power-highway { background: var(--sky); }

.tricks {
  max-width: var(--wide); margin: 1.8rem auto 0;
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.trick {
  position: relative; overflow: hidden;
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.8rem; padding: 0.9rem 1rem 1rem; box-shadow: var(--drop);
}
.trick h4 { margin: 0 0 0.2rem; font-size: 1.05rem; letter-spacing: 0.03em; }
.trick p { margin: 0; font-size: 0.95rem; }
.trick .trick-role { font-weight: 900; margin-bottom: 0.4rem; }
.trick::before {
  content: "In battle"; display: inline-block; margin-bottom: 0.45rem;
  padding: 0 0.45rem; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--peach); font-size: 0.72rem; font-weight: 900; line-height: 1.5;
}
.trick[data-kind="passive"]::before { content: "Always on"; background: var(--mint); }
.trick[data-kind="room"]::before { content: "Squad"; background: var(--sunny); }

.mode-grid {
  max-width: var(--wide); margin: 0 auto;
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.mode {
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.8rem; padding: 1rem 1.1rem; box-shadow: var(--drop);
  border-top-width: 0.6rem;
}
.mode-local { background: var(--candle); }
.mode-online { background: var(--sky-low); }
.mode h3 { margin-bottom: 0.15rem; }
.mode-tag { font-weight: 900; color: var(--cherry); font-size: 0.95rem; margin-bottom: 0.5rem; }
.mode p:last-child { margin: 0; }

.yours-grid {
  max-width: var(--wide); margin: 0 auto;
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.yours {
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.8rem; padding: 1rem 1.1rem; box-shadow: var(--drop);
}
.yours p:last-child { margin: 0; }
.swatches {
  list-style: none; padding: 0; margin: 0.4rem 0 0;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.3rem;
}
.swatches li { aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 0.3rem; }
.food-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.3rem 0.8rem;
}
.food-list li { font-weight: 900; font-size: 0.95rem; line-height: 1.3; }
.food-list span { display: block; font-weight: 700; font-size: 0.8rem; color: var(--ink-soft); }

.trophies {
  max-width: 60rem; margin: 0 auto; padding: 0; list-style: none;
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.trophy {
  text-align: center;
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.8rem; padding: 1rem 1.1rem 1.1rem; box-shadow: var(--drop);
}
.trophy p { margin: 0; }
.cup {
  position: relative; display: block; margin: 0.2rem auto 0.9rem;
  width: 3.4rem; height: 2.6rem;
  border: var(--edge) solid var(--ink); border-radius: 0.3rem 0.3rem 1.7rem 1.7rem;
}
.cup::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 2rem; height: 0.9rem; margin-left: -1rem;
  border: var(--edge) solid var(--ink); border-top-width: 0.7rem;
  background: inherit; border-radius: 0 0 0.3rem 0.3rem;
}
.trophy-easy .cup { background: var(--tangerine); }
.trophy-normal .cup { background: var(--stone); }
.trophy-hard .cup { background: var(--sunny); }

.free-box {
  max-width: var(--wide); margin: 0 auto;
  display: grid; gap: 1rem 2.5rem; align-items: center;
  grid-template-columns: minmax(0, 1fr);
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 1rem; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--drop-big);
}
@media (min-width: 50rem) {
  .free-box { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
.free-box h2 { margin-bottom: 0.4rem; }
.unlock-list, .tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.unlock-list li, .tick-list li { position: relative; padding-left: 2rem; font-weight: 800; }
.unlock-list li::before, .tick-list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.3em;
  width: 0.5rem; height: 0.9rem;
  border-right: 0.22rem solid var(--ink); border-bottom: 0.22rem solid var(--ink);
  transform: rotate(40deg);
}
.free-fine { grid-column: 1 / -1; margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

.info-grid {
  max-width: var(--wide); margin: clamp(2rem, 4vw, 2.8rem) auto 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.info {
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.9rem; padding: 1.1rem 1.2rem; box-shadow: var(--drop);
}
.info-sub { color: var(--ink-soft); }
.info .lang-grid { grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); }
.info .lang-grid li { box-shadow: none; padding: 0.45rem 0.6rem; }

/* [comment #47] */
.faq { max-width: 50rem; margin: clamp(2rem, 4vw, 2.8rem) auto 0; }
.faq h3 { text-align: center; }
.faq details {
  background: var(--paper); border: 2px solid var(--ink);
  border-radius: 0.7rem; margin-bottom: 0.5rem;
}
.faq summary {
  min-height: 44px; display: flex; align-items: center;
  padding: 0.55rem 1rem; cursor: pointer; font-weight: 900;
}
.faq details[open] summary { border-bottom: 2px solid var(--paper-edge); }
.faq details p { margin: 0; padding: 0.7rem 1rem 0.9rem; }

.shot-missing { display: none; }

.lang-grid {
  max-width: 54rem; margin: 0 auto; padding: 0; list-style: none;
  display: grid; gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.lang-grid li {
  background: var(--paper); border: 2px solid var(--ink);
  border-radius: 0.6rem; padding: 0.7rem 0.9rem;
  font-weight: 800; text-align: center;
  box-shadow: var(--drop);
}


.sec-get { background: var(--sky-low); border-block: var(--edge) solid var(--ink); }

.stores {
  max-width: var(--wide); margin: 0 auto;
  display: grid; gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* [comment #8] */
.store:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 0.4rem); }
@media (min-width: 40rem) {
  .stores { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .store, .store:last-child:nth-child(odd) { grid-column: span 2; justify-self: stretch; width: auto; }
  .store:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
}
@media (min-width: 74rem) {
  .stores { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .store, .store:last-child:nth-child(odd),
  .store:nth-child(4):nth-last-child(2) { grid-column: auto; }
}
/* [comment #61] */
.stores.one, .stores.one .store { grid-column: auto; width: auto; }
.stores.one { grid-template-columns: minmax(0, 24rem); margin: 1rem 0 1.4rem; }
.store {
  display: grid; gap: 0.15rem; align-content: start;
  min-height: 6rem; padding: 1rem 1.1rem;
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.8rem; text-decoration: none;
  box-shadow: var(--drop);
}
.store-name { font-weight: 900; font-size: 1.1rem; }
.store-sub { font-size: 0.9rem; color: var(--ink-soft); }
.store-flag {
  justify-self: start; margin-top: 0.5rem;
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 0.1rem 0.6rem; font-size: 0.78rem; font-weight: 900;
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* [comment #15] */
.store[data-store-status="soon"] {
  background: var(--stone);
  cursor: default;
  box-shadow: none;
  transform: translateY(0.4rem);
}
.store[data-store-status="soon"] .store-flag { background: var(--paper); }

.soon-note {
  max-width: 44rem; margin: 1.3rem auto 0;
  text-align: center; font-size: 0.95rem; color: var(--ink-soft);
}

.notify {
  max-width: 44rem; margin: clamp(1.8rem, 4vw, 2.6rem) auto 0;
  text-align: center;
  background: var(--paper); border: var(--edge) solid var(--ink);
  border-radius: 0.9rem; padding: 1.3rem 1.4rem 1.5rem;
  box-shadow: var(--drop);
}
.notify p { color: var(--ink); }

.footer {
  padding: clamp(2rem, 4vw, 3rem) var(--pad);
  background: var(--ink); color: var(--paper);
}
.footer-top {
  max-width: var(--wide); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { font-weight: 900; font-size: 1.3rem; margin: 0 0 0.2rem; }
.footer-brand span { color: var(--sunny); }
.footer-line { margin: 0; color: var(--stone); }
.footer-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-nav a { color: var(--sunny); font-weight: 700; }
.footer-fine {
  max-width: var(--wide); margin: 1.6rem auto 0;
  font-size: 0.85rem; color: var(--stone);
}
.footer a:focus-visible { outline-color: var(--sunny); }

/* [comment #16] */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.js .sec { opacity: 1; transform: none; transition: none; }
  .thumb, .thumb > img { transition: none; }
  .thumb:hover { transform: none; }
  .skip { transition: none; }
}

/* [comment #58] */
.trick-art {
  display: block; width: calc(100% + 2rem); max-width: none; height: auto;
  margin: -0.9rem -1rem 0.7rem; border-bottom: 2px solid var(--ink);
  image-rendering: pixelated;
}
.trick:has(.trick-art)::before { position: absolute; top: 0.55rem; left: 0.6rem; margin: 0; }
@media (max-width: 40rem) {
  .trick:has(.trick-art) {
    display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 0 0.8rem;
    align-items: start; padding-left: 0;
  }
  .trick-art {
    grid-row: 1 / span 3; width: 8rem; height: 6rem; margin: -0.9rem 0 0;
    border-bottom: 0; border-right: 2px solid var(--ink); border-bottom-right-radius: 0.5rem;
  }
  .trick:has(.trick-art)::before { top: auto; bottom: 0.5rem; left: 0.5rem; }
}

.yt-facade {
  position: relative; display: block; width: 100%; height: 100%;
  background: var(--ink); cursor: pointer;
}
.yt-facade img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt-play {
  position: absolute; left: 50%; top: 50%;
  width: 5.2rem; height: 5.2rem; margin: -2.6rem 0 0 -2.6rem;
  border-radius: 50%; background: var(--sunny);
  border: var(--edge) solid var(--ink); box-shadow: var(--drop-big);
}
.yt-play::after {
  content: ""; position: absolute; left: 38%; top: 28%;
  border-style: solid; border-width: 1.2rem 0 1.2rem 1.9rem;
  border-color: transparent transparent transparent var(--ink);
}
.yt-facade:hover .yt-play { background: var(--peach); }
.hero-yt { width: 100%; height: 100%; }

.getstrip {
  padding: 1rem var(--pad); background: var(--paper);
  border-bottom: var(--edge) solid var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 1rem;
}
.getstrip-h { margin: 0; font-size: 1.05rem; }
.getstrip-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
}
.store-chip {
  display: inline-flex; align-items: baseline; gap: 0.35rem;
  min-height: 44px; padding: 0.55rem 0.9rem;
  border: 2px solid var(--ink); border-radius: 0.6rem;
  background: var(--cream); text-decoration: none; font-size: 0.95rem;
}
.store-chip span { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.store-chip:hover { background: var(--sunny); }
/* [comment #55] */
@media (max-width: 61.99rem) {
  main:has(> .getstrip) { display: flex; flex-direction: column; }
  main > .getstrip { order: -1; padding-block: 0.6rem; gap: 0.4rem 0.8rem; }
  .getstrip-h { font-size: 0.95rem; width: 100%; text-align: center; }
  .getstrip-list { gap: 0.4rem; }
  .store-chip { padding: 0.45rem 0.75rem; }
  .store-chip span {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
}

.more { max-width: var(--wide); margin: 1.4rem auto 0; }
.more > summary {
  display: block; width: max-content; max-width: 100%; margin: 0 auto;
  min-height: 44px; padding: 0.55rem 1.1rem; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 0.6rem; background: var(--paper);
  font-weight: 900; list-style: none;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: " +"; }
.more[open] > summary::after { content: " \2212"; }
.more-link { text-align: center; margin: 1.6rem 0 0; }

.page-title { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta-box { max-width: 46rem; margin: 0 auto; text-align: center; }
.cta-box p { font-weight: 700; }

.topbar nav a[aria-current="page"] { background: var(--cream); text-decoration: underline; text-underline-offset: 0.3em; }
