/* Simulation GM: the static guide pages (league, team, how it works). Builds on style.css. */
.pg a { color: var(--brand); }
.pg main { display: block; }
.pg-top { flex-wrap: nowrap; }
.pg-top .mark { text-decoration: none; color: inherit; white-space: nowrap; }
.pg-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.pg-nav::-webkit-scrollbar { display: none; }
.pg-nav a { color: var(--head-ink); text-decoration: none; font-weight: 600; font-size: .9rem; padding: 6px 10px; border-radius: 6px; white-space: nowrap; opacity: .86; }
.pg-nav a:hover { opacity: 1; background: color-mix(in srgb, var(--head-ink) 12%, transparent); }
.pg-nav a[aria-current="page"] { opacity: 1; background: color-mix(in srgb, var(--head-ink) 18%, transparent); }
.pg-play { flex: none; background: var(--brass-fill) !important; border-color: var(--brass-fill) !important; color: #1C1404 !important; font-weight: 700; }
.btn.big { padding: 12px 22px; font-size: 1.02rem; border-radius: 8px; }
.btn.ghost { background: transparent; color: #F2F6F3; border-color: rgba(242, 246, 243, .45); }
.btn.ghost:hover { border-color: #FFFFFF; }

/* hero: league art under the night-game gradient */
.night.pg-hero { margin: 0; padding: 56px 0 48px; position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(90deg, rgba(6, 22, 17, .96) 0%, rgba(6, 22, 17, .86) 46%, rgba(6, 22, 17, .45) 100%), var(--art) center / cover no-repeat, #061611; }
.pg-hero.team { box-shadow: inset 0 -5px 0 var(--tc, var(--brass-fill)); }
.pg-hero .kicker { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; color: var(--brass-fill); margin-bottom: 10px; }
.pg-hero .kicker a { color: inherit; }
.pg-hero h1 { max-width: 14em; font-size: clamp(2.6rem, 7.5vw, 5.4rem); line-height: .92; }
.pg-hero .lede { max-width: 40em; margin-top: 14px; font-size: 1.12rem; color: rgba(238, 244, 240, .86); }
.pg-hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pg-hero .btn.primary { background: var(--brass-fill); border-color: var(--brass-fill); color: #1C1404; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.stats div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; padding: 8px 14px; min-width: 120px; }
.stats span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.stats b { font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: .02em; }
.stats b i { font-style: normal; color: var(--brass-fill); }

/* body */
.pg-body { display: flex; flex-direction: column; gap: 40px; padding-block: 36px 48px; }
.pg-body section { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pg-body h2 { font-size: 1.8rem; }
.pg-intro { max-width: 70ch; font-size: 1.08rem; }
.pg-intro p + p { margin-top: 10px; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.feat li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brass-fill); border-radius: var(--r); padding: 12px 14px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px 24px; }
.tgroup h3 { color: var(--muted); font-size: .9rem; margin-bottom: 6px; }
.tgroup ul, .others { list-style: none; margin: 0; padding: 0; }
.tgroup li a, .others a { display: inline-flex; align-items: center; padding: 3px 0; text-decoration: none; font-weight: 600; }
.tgroup li a:hover, .others a:hover { text-decoration: underline; }
.others { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.tbl table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th { text-align: left; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); background: var(--sunk); padding: 8px 10px; white-space: nowrap; }
.tbl td { padding: 7px 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.tbl th, .tbl td { text-align: left; }
.tbl td.num, .tbl th.num { text-align: right; }
.tbl tfoot td { background: var(--sunk); font-weight: 700; }
.rt { display: inline-block; min-width: 2.4em; text-align: center; border-radius: 4px; padding: 1px 4px; font-weight: 600; }
.rt.t1 { background: var(--brass-fill); color: #1C1404; } .rt.t2 { background: var(--good-soft); color: var(--good); } .rt.t3 { background: var(--sunk); }
h3.sub { margin-top: 14px; color: var(--muted); }
.rules { max-width: 72ch; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.rules h3 { margin-top: 6px; }
.faq { display: flex; flex-direction: column; gap: 8px; max-width: 72ch; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-top: 8px; color: var(--muted); }
.cta-band { align-items: flex-start; padding: 26px 24px; border-radius: 12px; color: #EEF4F0; background: radial-gradient(80% 140% at 100% 0%, rgba(224, 165, 38, .25), transparent 60%), linear-gradient(135deg, #0C3328, #061611); }
.cta-band h2 { color: #FFFFFF; }
.cta-band .btn.primary { background: var(--brass-fill); border-color: var(--brass-fill); color: #1C1404; }
.gmbox { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; max-width: 72ch; }
.pn { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 12px; font-weight: 600; }
.hsteps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.hsteps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.hsteps h3::before { content: counter(s) ". "; color: var(--brass); }
.hsteps p { margin-top: 6px; color: var(--muted); }
.lgcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.lgcard { display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; padding: 14px; border-radius: 10px; text-decoration: none; color: #FFF !important;
  background: linear-gradient(180deg, rgba(6, 20, 16, .1), rgba(6, 20, 16, .9)), var(--art) center / cover; border: 1px solid var(--line); transition: transform .15s ease; }
.lgcard:hover { transform: translateY(-3px); }
.lgcard span { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; opacity: .8; }
.lgcard b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; }
.lgcard em { font-style: normal; color: var(--brass-fill); font-weight: 700; font-size: .85rem; }
.nf h1 { font-size: 4rem; }
@media (max-width: 760px) {
  .pg-top { gap: 10px; }
  .pg-nav a { padding: 6px 7px; font-size: .84rem; }
  .pg-play { padding: 6px 10px; }
  .night.pg-hero { padding: 36px 0 32px; background: linear-gradient(180deg, rgba(6, 22, 17, .82), rgba(6, 22, 17, .95)), var(--art) center / cover no-repeat, #061611; }
  .rules { padding: 16px; }
  .pg-body { gap: 30px; }
}
@media (max-width: 520px) { .pg-top { flex-wrap: wrap; justify-content: space-between; } .pg-top .mark { font-size: 1.25rem; } .pg-nav { order: 3; flex-basis: 100%; margin-inline: -7px; } }
