/* Stamford Travel Baseball theme, "Program Mosaic" design.
   Navy pages, Oswald display type, Source Sans 3 text, red accents, photo-mosaic heroes built from every age group's championship photos.
   Sections: base / header + dropdown menu / home / page header + reading column / legacy page blocks / V-Track module pages / follow + partners + footer. */

:root {
  --navy: #01092D;
  --navy-2: #0a1a4a;
  --navy-3: #13245e;
  --red: #C8102E;
  --red-soft: #ff8a9a;
  --blue: #3a5bd9;
  --gold: #ffd166;
  --white: #FFFFFF;
  --ink: #0d1530;
  --text-2: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.14);
  --display: Oswald, "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 8px;

  /* names the V-Track module views (forms, tryouts) use */
  --vt-primary: var(--navy); --vt-accent: var(--red); --vt-text: var(--white); --vt-bg: var(--navy);
  --vt-surface: var(--navy-2); --vt-on-primary: #fff; --vt-on-accent: #fff; --vt-radius: var(--radius);
  --vt-muted: var(--text-2); --vt-line: var(--line); --vt-heading-font: var(--display);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body.stb { margin: 0; background: var(--navy); color: var(--white); font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.stb-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.stb-skip { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: var(--navy); padding: .5rem 1rem; }
.stb-skip:focus { left: 1rem; top: 1rem; }
.stb-kicker { font: 600 .85rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--red-soft); margin: 0 0 .4rem; }

/* ---------- Header + menu ---------- */
.stb-nav { position: sticky; top: 0; z-index: 50; background: rgba(1,9,45,.96); backdrop-filter: blur(8px); border-bottom: 3px solid var(--red); }
.stb-nav-inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.stb-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.stb-brand img { width: 48px; height: 48px; }
.stb-brand span { font: 600 1.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.stb-menu { margin-left: auto; }
.stb-menu ul { list-style: none; margin: 0; padding: 0; }
.stb-menu > ul, .stb-menu .menu { display: flex; align-items: center; gap: 2px; }
.stb-menu li { position: relative; }
.stb-menu a { display: block; padding: 8px 11px; font: 500 .88rem var(--display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: rgba(255,255,255,.88); border-radius: 4px; }
.stb-menu a:hover, .stb-menu li:focus-within > a { color: #fff; background: rgba(255,255,255,.08); }
.stb-menu a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.stb-menu li:has(> ul) > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.stb-menu li > ul { position: absolute; left: 0; top: 100%; min-width: 230px; padding: 8px; background: #fff; border-radius: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.35); display: none; z-index: 60; }
.stb-menu li:hover > ul, .stb-menu li:focus-within > ul { display: block; }
.stb-menu li > ul a { color: var(--ink); text-transform: none; letter-spacing: 0; font: 600 .98rem var(--body); padding: 9px 12px; }
.stb-menu li > ul a:hover { background: #eef1f8; color: var(--red); }
.stb-menu li > ul a[aria-current="page"] { color: var(--red); box-shadow: inset 3px 0 0 var(--red); border-radius: 0 4px 4px 0; }
.stb-cta { flex: 0 0 auto; padding: 10px 16px; border-radius: 4px; background: #fff; color: var(--navy); font: 600 .88rem var(--display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.stb-cta:hover { background: var(--gold); }
/* Sign in / Admin: top right, outlined so the white Tryouts button stays the primary action */
.stb-signin { flex: 0 0 auto; padding: 9px 14px; border-radius: 4px; color: #fff; border: 1px solid rgba(255,255,255,.45); font: 600 .88rem var(--display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.stb-signin:hover, .stb-signin:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; }
@media (min-width: 1101px) and (max-width: 1320px) {
  .stb-nav-inner { gap: 10px; }
  .stb-menu a { padding: 8px 8px; }
  .stb-brand span { font-size: 1.05rem; }
}
@media (max-width: 480px) {
  .stb-brand span { white-space: normal; font-size: .95rem; }
  .stb-signin { padding: 7px 10px; font-size: .8rem; }
}
.stb-menu-btn { display: none; margin-left: auto; font: 600 .9rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: none; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; padding: 8px 12px; }

@media (max-width: 1100px) {
  .stb-menu-btn { display: inline-block; }
  .stb-cta { display: none; }
  .stb-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 3px solid var(--red); padding: 8px 16px 18px; max-height: calc(100vh - 75px); overflow: auto; }
  .stb-menu.is-open { display: block; }
  .stb-menu > ul, .stb-menu .menu { flex-direction: column; align-items: stretch; }
  .stb-menu a { font-size: 1rem; padding: 12px 8px; }
  .stb-menu li > ul { position: static; display: block; background: transparent; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; }
  .stb-menu li > ul a { color: rgba(255,255,255,.85); font-size: 1rem; }
  .stb-menu li > ul a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .stb-menu li > ul a[aria-current="page"] { color: #fff; }
  .stb-menu li:has(> ul) > a::after { display: none; }
}

/* ---------- Buttons ---------- */
.stb-btn, a.stb-btn { display: inline-block; padding: 13px 22px; border-radius: 4px; font: 600 .95rem var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; background: var(--red); color: #fff; border: 0; cursor: pointer; }
.stb-btn:hover { filter: brightness(1.1); }
.stb-btn.line { background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.stb-btn.white { background: #fff; color: var(--navy); }
.stb-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Home ---------- */
.stb-hero { position: relative; overflow: hidden; }
.stb-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 3px; }
.stb-mosaic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); }
.stb-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(1,9,45,.9) 0%, rgba(1,9,45,.8) 45%, rgba(1,9,45,.58) 100%); }
.stb-hero-center { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; text-align: center; padding: 24px; }
.stb-hero-center img { width: 170px; margin: 0 auto 14px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.stb-hero-center h1 { font: 700 clamp(2.4rem, 6vw, 4.6rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 10px; }
.stb-hero-center p { margin: 0 0 22px; font-size: 1.2rem; color: rgba(255,255,255,.9); }
.stb-hero-center .stb-btns { justify-content: center; }

.stb-ribbon { background: var(--red); }
.stb-ribbon .stb-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stb-ribbon div div, .stb-ribbon .stat { display: flex; align-items: center; gap: 14px; padding: 20px 16px; }
.stb-ribbon b { font: 700 2.8rem/1 var(--display); }
.stb-ribbon span { font: 600 .82rem/1.25 var(--display); letter-spacing: .1em; text-transform: uppercase; }

.stb-sec { padding: 70px 0; }
.stb-sec + .stb-sec { padding-top: 0; }
.stb-sec h2, .stb-h2 { font: 700 2.1rem/1.1 var(--display); text-transform: uppercase; margin: 0 0 6px; }
.stb-lead { color: var(--text-2); margin: 0 0 26px; max-width: 62ch; }
.stb-head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.stb-head-row a { font: 600 .85rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--red-soft); }

.stb-ages { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.stb-age { display: block; text-decoration: none; background: var(--navy-2); border-radius: var(--radius); padding: 16px 12px; text-align: center; border-top: 4px solid var(--blue); transition: transform .15s; }
.stb-age:hover { transform: translateY(-3px); }
.stb-age.big { border-top-color: var(--red); }
.stb-age b { display: block; font: 700 1.9rem var(--display); }
.stb-age small { display: block; font-size: .82rem; color: var(--text-2); line-height: 1.3; }

.stb-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.stb-try { background: #fff; color: var(--ink); border-radius: 10px; padding: 30px; }
.stb-try .stb-kicker { color: var(--red); }
.stb-try h3 { font: 700 1.9rem var(--display); text-transform: uppercase; margin: 4px 0 10px; }
.stb-try ul { margin: 0 0 20px; padding-left: 18px; }
.stb-time { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--red); }
.stb-time li { position: relative; padding: 0 0 18px 22px; }
.stb-time li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px var(--red); }
.stb-time b { display: block; font: 600 .82rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--red-soft); }

.stb-pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stb-pcard { background: var(--navy-2); border-radius: var(--radius); overflow: hidden; }
.stb-pcard img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.stb-pcard div { padding: 20px; }
.stb-pcard h3 { font: 600 1.35rem var(--display); text-transform: uppercase; margin: 0 0 8px; }
.stb-pcard p { margin: 0; color: var(--text-2); font-size: 1rem; }

.stb-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.stb-photos figure { margin: 0; scroll-snap-align: start; background: var(--navy-2); border-radius: var(--radius); overflow: hidden; }
.stb-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.stb-photos figcaption { padding: 10px 12px; font-size: .9rem; line-height: 1.3; }

/* ---------- Page header + reading column ---------- */
.stb-pagehead { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.stb-pagehead-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 2px; }
.stb-pagehead-mosaic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.stb-pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,9,45,.95) 0%, rgba(1,9,45,.82) 55%, rgba(1,9,45,.6) 100%); }
.stb-pagehead-title { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.stb-pagehead h1 { font: 700 clamp(2rem, 5vw, 3.2rem)/1.05 var(--display); text-transform: uppercase; margin: 0; }

.stb-page { padding: 48px 0 70px; }
.stb-body { max-width: 860px; }
.stb-body > :first-child { margin-top: 0; }
.stb-body h2 { font: 700 1.8rem/1.15 var(--display); text-transform: uppercase; margin: 2.4rem 0 .8rem; }
.stb-body h2::after { content: ""; display: block; width: 52px; height: 4px; background: var(--red); margin-top: 8px; }
.stb-body h3 { font: 600 1.3rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 1.8rem 0 .5rem; }
.stb-body h4 { font: 600 1.05rem var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--red-soft); margin: 1.4rem 0 .4rem; }
.stb-body p { margin: 0 0 1rem; }
.stb-body ul, .stb-body ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.stb-body li { margin: .3rem 0; }
.stb-body a:not(.stb-btn) { color: var(--gold); }
.stb-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
.stb-body strong { color: #fff; }
.stb-lede { font-size: 1.2rem; color: rgba(255,255,255,.9); }

.stb-note { background: var(--navy-2); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 1.2rem 0; color: var(--text-2); }
.stb-note.red { border-left-color: var(--red); }
.stb-callout { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; color: var(--ink); border-radius: 10px; padding: 24px 26px; margin: 1.6rem 0; }
.stb-callout h3 { margin: 0 0 4px; color: var(--ink); }
.stb-callout p { margin: 0; max-width: 52ch; }
.stb-callout .stb-kicker { color: var(--red); }

.stb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; margin: 1rem 0 1.4rem; }
.stb-box { background: var(--navy-2); border-radius: var(--radius); padding: 18px 20px; border-top: 4px solid var(--blue); }
.stb-box.red { border-top-color: var(--red); } .stb-box.gold { border-top-color: var(--gold); }
.stb-box h3, .stb-box h4 { margin-top: 0; }
.stb-box p:last-child, .stb-box ul:last-child { margin-bottom: 0; }
.stb-pill { display: inline-block; font: 600 .75rem var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--navy-3); margin: 0 4px 4px 0; }
.stb-pill.navy { background: #2246a8; } .stb-pill.white { background: #fff; color: var(--navy); } .stb-pill.grey { background: #6b7391; }

.stb-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2rem; }
.stb-toc a { padding: 8px 14px; border-radius: 999px; background: var(--navy-2); text-decoration: none; font: 600 .9rem var(--display); letter-spacing: .06em; color: #fff !important; }
.stb-toc a:hover { background: var(--red); }

.stb-table-wrap { overflow-x: auto; margin: 0 0 1.4rem; }
.stb-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.stb-table th { text-align: left; font: 600 .8rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--red-soft); border-bottom: 2px solid var(--red); padding: 10px 12px; }
.stb-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.stb-table tr:nth-child(even) td { background: rgba(255,255,255,.03); }

/* ---------- Pages carried over from the Google Sites site ---------- */
.stb-intro { max-width: 640px; }
.stb-crest { width: 160px; margin: 1rem 0 1.6rem; }
.stb-list-center { list-style: none; padding: 0 !important; }
.stb-goals h4 { color: var(--red-soft); }
.stb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 1rem 0; }
.stb-card { background: var(--navy-2); border-radius: var(--radius); overflow: hidden; padding-bottom: 6px; }
.stb-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.stb-card.stb-logo img { object-fit: contain; background: #fff; padding: 18px; aspect-ratio: 4/3; }
.stb-card h3 { margin: .9rem 16px .5rem; font-size: 1.1rem; }
.stb-card p { margin: 0 16px 12px; font-size: .95rem; color: var(--text-2); }
.stb-carousel { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: var(--radius); }
.stb-carousel figure { margin: 0; }
.stb-carousel.is-ready figure { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none; }
.stb-carousel.is-ready figure.is-active { opacity: 1; pointer-events: auto; }
.stb-carousel img { width: 100%; height: 100%; object-fit: cover; }
.stb-carousel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .75rem .6rem; text-align: center; font: 500 .85rem var(--display); letter-spacing: .04em; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.stb-car-prev, .stb-car-next { position: absolute; top: 50%; transform: translateY(-50%); width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 1.6rem; cursor: pointer; }
.stb-car-prev { left: .5rem; } .stb-car-next { right: .5rem; }
.stb-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; margin: .6rem 0 1rem; }
.stb-dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.stb-dots button[aria-current="true"] { background: #fff; }
.stb-carousel:not(.is-ready) { aspect-ratio: auto; display: grid; gap: .5rem; background: none; }

/* ---------- V-Track module pages (forms, tryout registration) ---------- */
.sec { padding-block: 48px; }
.sec + .sec { padding-top: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sec h1 { font: 700 clamp(2rem, 5vw, 3rem)/1.05 var(--display); text-transform: uppercase; margin: 0 0 .6rem; }
.sec-heading { font: 700 1.6rem var(--display); text-transform: uppercase; }
.sec-heading::after { content: ""; display: block; width: 52px; height: 4px; background: var(--red); margin-top: 8px; }
.prose { max-width: 70ch; }
.empty { color: var(--text-2); }
.btn { display: inline-block; padding: .8rem 1.3rem; border-radius: 4px; background: #fff; color: var(--navy); font: 600 .95rem var(--display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; }
.btn-accent { background: var(--red); color: #fff; }
.games { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.game { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: .25rem 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.game-date { display: flex; flex-direction: column; line-height: 1.2; }
.game-day, .game-time, .game-where { font-size: .85rem; color: var(--text-2); }
.game-md { font: 700 1.15rem var(--display); }
.game-team { font-weight: 700; }
.embed { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; }
.embed-tall { height: min(80vh, 900px); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.callout-inline { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; justify-content: space-between; background: var(--navy-2); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-top: 1.5rem; }
.callout-inline p { margin: 0; max-width: 46ch; }
.form-wrap { max-width: 44rem; }
.vt-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.vt-form .field { display: grid; gap: .35rem; }
.vt-form label, .vt-form legend { font-weight: 600; }
.vt-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .4rem; }
.vt-form input[type=text], .vt-form input[type=email], .vt-form input[type=tel], .vt-form input[type=number], .vt-form input[type=date], .vt-form select, .vt-form textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #c6cbe0; border-radius: 6px; padding: .65rem .75rem; width: 100%; }
.vt-form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.vt-form .check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--red); }
.vt-form .help { margin: 0; font-size: .9rem; color: var(--text-2); }
.vt-form .error { margin: 0; font-size: .9rem; color: #ff9b9b; font-weight: 600; }
.vt-form button { justify-self: start; }
.form-heading { margin: 1rem 0 0; font: 600 1.3rem var(--display); text-transform: uppercase; padding-bottom: .35rem; border-bottom: 2px solid var(--line); }
.form-errors { background: #3a0d18; color: #ffd0d6; border-radius: 6px; padding: .75rem 1rem; margin-top: 1rem; }
.form-done { background: var(--navy-2); border-left: 4px solid var(--gold); padding: 1rem 1.25rem; border-radius: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Follow + partners + footer (every page) ---------- */
.stb-follow { padding: 50px 0; border-top: 1px solid var(--line); }
.stb-follow-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.stb-follow h2 { font: 700 1.9rem var(--display); text-transform: uppercase; margin: 0 0 4px; }
.stb-follow p { margin: 0; color: var(--text-2); }
.stb-follow-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stb-follow-actions .stb-cta { display: inline-block; }   /* stays visible on phones (the header CTA hides under 1100px) */
.stb-social { display: flex; gap: 12px; flex-wrap: wrap; }
.stb-social a { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 6px; background: var(--navy-2); text-decoration: none; font: 600 .95rem var(--display); text-transform: uppercase; letter-spacing: .06em; }
.stb-social a:hover { background: var(--navy-3); }
.stb-social svg { width: 24px; height: 24px; flex: none; }
.stb-partners { background: #fff; padding: 34px 0; }
.stb-partners-inner { display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; align-items: center; }
.stb-partners img { height: 64px; width: auto; transition: transform .15s; }
.stb-partners a:hover img { transform: scale(1.06); }
.stb-footer { padding: 24px 0; font-size: .9rem; color: rgba(255,255,255,.6); }
.stb-footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stb-footer-meta p, .powered-by { margin: 0; }
.stb-footer-links { display: flex; gap: 16px; }
.stb-footer-links a { color: inherit; text-decoration: underline; }
.stb-footer-links a:hover { color: #fff; }
.powered-by a { color: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .stb-ages { grid-template-columns: repeat(4, 1fr); }
  .stb-pagehead-mosaic { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 760px) {
  .stb-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 130px; }
  .stb-ribbon .stb-wrap { grid-template-columns: repeat(2, 1fr); }
  .stb-split, .stb-pcards, .stb-cards { grid-template-columns: 1fr; }
  .stb-ages { grid-template-columns: repeat(2, 1fr); }
  .stb-pagehead-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 90px; }
  .stb-brand span { font-size: 1rem; }
  .game { grid-template-columns: 5rem 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
