/* The MathFit Open Junior, and the switch between the two competitions (12-Oct-2026).
   Built on the MathFit Open's system: same ink, cream, gold, type and buttons. The Junior adds only the medallion, the
   three band colours (K-1 coral, 2-3 plum, 4-5 forest: deep on purpose, so bands never read as the four FUAR rounds)
   and daylight photos. */
:root { --band-k1: #E5555E; --band-23: #80408F; --band-45: #1C7C48; }

/* header switch: the MathFit Open first, the default; the Junior second */
.series-switch { display: flex; border: 1px solid rgba(250,248,245,.22); border-radius: 0; padding: 3px; gap: 2px; margin-right: auto; margin-left: 18px; }
.series-switch a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: rgba(250,248,245,.72);
  padding: 4px 14px; border-radius: 0; line-height: 1.1; min-width: 108px; }
.series-switch a b { font-family: var(--font-display); font-weight: 500; font-size: 13.5px; }
.series-switch a small { font-size: 10.5px; opacity: .8; letter-spacing: .02em; }
.series-switch a:hover { color: #FAF8F5; }
.series-switch a.on { background: var(--brand-5); color: var(--neutral-14, #161412); }
.series-switch a.on small { opacity: .75; }
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; row-gap: 8px; }
  .series-switch { order: 3; width: 100%; margin: 0; }
  .series-switch a { flex: 1; min-width: 0; padding: 6px 8px; }
}

/* the grade router: parents know the grade, not our product names */
.graderouter { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 26px; }
.graderouter .gr-q { font-size: 14px; opacity: .85; }
.graderouter .gr-set { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.graderouter .gr-set + .gr-set { padding-left: 14px; border-left: 1px solid rgba(250,248,245,.25); }
.graderouter a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(250,248,245,.4); color: #FAF8F5; text-decoration: none; font-family: var(--font-display); font-size: 16px; }
.graderouter a:hover { background: rgba(250,248,245,.12); }
.graderouter a.here { background: #FAF8F5; color: var(--neutral-14, #161412); border-color: #FAF8F5; }
.graderouter .gr-lbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-right: 2px; }

/* hero medallion */
.hero-photo .jr-ov { display: flex; align-items: center; gap: 10px; }
.hero-photo .jr-ov img { width: 30px; height: 30px; }

/* band chips */
.bands { display: flex; flex-wrap: wrap; gap: 6px; }
.band { display: inline-flex; align-items: center; gap: 6px; color: #fff; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.band small { font-weight: 500; opacity: .85; }
.band.b1 { background: var(--band-k1); } .band.b2 { background: var(--band-23); } .band.b3 { background: var(--band-45); }
.band.full { opacity: .45; }
.ec-bands { padding: 10px 16px 0; }
.ec-also { padding: 8px 16px 0; font-size: 12px; color: var(--neutral-13, #1D1C1B); }
.ec-also a { color: inherit; }

/* how the day works */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps4 > div { border-top: 2px solid var(--border-primary); padding-top: 16px; }
.steps4 > div:first-child { border-top-color: var(--brand-5); }
.steps4 .n { font-family: var(--font-display); font-weight: 700; font-size: 38px; color: var(--brand-5); line-height: 1; }
.steps4 h3 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 12px 0 6px; }
.steps4 p { margin: 0; color: var(--text-secondary); font-size: 15px; }
@media (max-width: 860px) { .steps4 { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* what your child takes home */
.takehome { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.takehome > div { background: var(--neutral-1, #fff); border: 1px solid var(--border-secondary); padding: 20px; }
.takehome .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-1, #FAF1E6); display: grid; place-items: center; color: var(--brand-7, #CE7E12); }
.takehome .ic svg { width: 22px; height: 22px; }
.takehome b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.25; margin-top: 16px; }
@media (max-width: 860px) { .takehome { grid-template-columns: 1fr 1fr; } }

/* photo band, three across */
.jr-band { background: var(--neutral-13); color: var(--text-inverse-primary); margin: 72px calc(-1 * var(--wrap-pad)) 0; padding: 56px var(--wrap-pad) 60px; }
.jr-band h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); margin: 0 0 24px; }
.jr-band .pb3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.jr-band figure { margin: 0; }
.jr-band img { width: 100%; height: 220px; object-fit: cover; display: block; }
.jr-band figcaption { font-size: 14px; opacity: .8; margin-top: 12px; line-height: 1.45; }
@media (max-width: 760px) { .jr-band .pb3 { grid-template-columns: 1fr; } .jr-band { margin-top: 48px; } }

/* the fork back to the main event */
.fork { margin: 56px calc(-1 * var(--wrap-pad)) 0; background: var(--brand-1, #FAF1E6); padding: 26px var(--wrap-pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fork b { font-family: var(--font-display); font-weight: 500; font-size: 20px; }
.fork span { color: var(--text-secondary); margin-left: 10px; }
.fork a { color: var(--brand-8, #A45F00); font-weight: 700; text-decoration: none; }

/* details */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.qa > div { border-top: 1px solid var(--border-secondary); padding: 18px 0; }
.qa h3 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 0 0 6px; }
.qa p { margin: 0; color: var(--text-secondary); }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } }

/* register form: the band follows the grade */
.band-hint { margin-top: 8px; }
.jr-photo { position: relative; }

/* entry page */
.ticket .tk-band { display: inline-block; margin-top: 8px; }
.entry-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-photo .jr-ov img { position: static; inset: auto; width: 30px; height: 30px; object-fit: contain; }
.hero-photo.jr-hero img.hero-img { object-position: 70% 40%; }
/* full-bleed backgrounds without horizontal scroll: the colour runs edge to edge, the content stays in the column */
.jr-band { box-shadow: 0 0 0 100vmax var(--neutral-13); clip-path: inset(0 -100vmax); }
.fork { box-shadow: 0 0 0 100vmax var(--brand-1, #FAF1E6); clip-path: inset(0 -100vmax); }
.medal { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; color: #1C1917; }
.medal.m1 { background: #F4AB52; } .medal.m2 { background: #D6D3D1; } .medal.m3 { background: #D9A273; }


.hero-photo.jr-hero img.hero-img { object-position: center 45%; }
.hero-photo.jr-hero .hero-photo-shade { background: linear-gradient(90deg, rgba(29,28,27,.88) 0%, rgba(29,28,27,.72) 38%, rgba(29,28,27,.25) 70%, rgba(29,28,27,.1) 100%), linear-gradient(180deg, rgba(29,28,27,0) 55%, rgba(29,28,27,.92) 100%); }


/* what your child takes home: the moment on the left, the four things on the right */
.th-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.th-photo { margin: 0; min-height: 420px; } .th-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; display: block; }
.takehome.two { grid-template-columns: 1fr 1fr; }
.takehome.two > div { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) { .th-wrap { grid-template-columns: 1fr; } .th-photo { min-height: 0; } .th-photo img { height: 300px; } }

/* The four rounds (12-Oct-2026). The four FUAR colours are fixed and mean the rounds, nothing else on the page;
   the grade groups keep their own deep colours so a chip never reads as a round. */
.jr-rounds { --f: #3B82F6; --u: #10B981; --a: #F59E0B; --r: #8B5CF6; }
.mx-wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 36px; }
.mx-art { background: var(--neutral-13, #1C1917); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; padding: 34px; box-shadow: 0 0 0 10px var(--brand-1, #FAF1E6); }
.mx { width: 100%; height: auto; display: block; overflow: visible; }
.mx .arc { transition: opacity .25s, stroke-width .25s; }
.mx[data-on] .arc { opacity: .22; }
.mx[data-on="f"] .arc.f, .mx[data-on="u"] .arc.u, .mx[data-on="a"] .arc.a, .mx[data-on="r"] .arc.r { opacity: 1; stroke-width: 14; }
.mx-copy .eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brand-8, #A45F00); }
.mx-copy h2 { font-family: var(--font-display); font-size: 36px; line-height: 1.05; margin: 8px 0 12px; }
.mx-copy p { font-size: 17px; line-height: 1.55; color: var(--text-secondary); margin: 0 0 18px; max-width: 620px; }
.mx-key { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mx-key li { cursor: pointer; padding: 10px 12px 11px; border: 1px solid var(--border-tertiary); border-top: 4px solid; background: var(--neutral-2); transition: transform .15s, box-shadow .15s; }
.mx-key li:hover { transform: translateY(-2px); }
.mx-key li.on { box-shadow: 0 6px 18px rgba(28,25,23,.10); }
.mx-key li.f { border-top-color: var(--f); } .mx-key li.u { border-top-color: var(--u); } .mx-key li.a { border-top-color: var(--a); } .mx-key li.r { border-top-color: var(--r); }
.mx-key i { display: none; }
.mx-key b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.1; }
.mx-key span { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); margin-top: 3px; }
.ladder { display: grid; grid-template-columns: repeat(4, 34px) minmax(0, 1fr); gap: 6px; align-items: end; height: 76px; margin-top: 20px; }
.ladder span { height: var(--h); min-height: 24px; color: #fff; font-family: var(--font-display); font-size: 13px; line-height: 1; display: flex; align-items: flex-start; justify-content: center; padding-top: 5px; }
.ladder span.f { background: var(--f); } .ladder span.u { background: var(--u); } .ladder span.a { background: var(--a); } .ladder span.r { background: var(--r); }
.ladder small { align-self: center; padding-left: 12px; font-size: 14px; color: var(--text-secondary); line-height: 1.4; }
.jr-rounds .rtile .rt-num { font-family: inherit; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.jr-rounds .rtile.f .rt-num { color: #8DB7FA; } .jr-rounds .rtile.u .rt-num { color: #6EE0B9; } .jr-rounds .rtile.a .rt-num { color: #FBC55B; } .jr-rounds .rtile.r .rt-num { color: #C3A6FB; }
.jr-rounds .rpanel .rb-pillar { color: var(--text-primary); }
.jr-rounds .rpanel.f .rb-pillar { color: #1D4FD8; } .jr-rounds .rpanel.u .rb-pillar { color: #047857; } .jr-rounds .rpanel.a .rb-pillar { color: #B45309; } .jr-rounds .rpanel.r .rb-pillar { color: #6D28D9; }
.jr-rounds .spec { grid-template-columns: repeat(2, minmax(0, 140px)); }
.ti-g { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.ti-g span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--text-secondary); margin-right: 4px; }
.ti-g button { font: inherit; font-family: var(--font-display); font-weight: 500; font-size: 15px; padding: 5px 14px; border-radius: 999px; border: 1.5px solid var(--border-primary); background: var(--neutral-2); color: var(--text-primary); cursor: pointer; }
.ti-g button.on { color: #fff; }
.ti-g button.k1.on { background: #E5555E; border-color: #E5555E; } .ti-g button.k23.on { background: #80408F; border-color: #80408F; } .ti-g button.k45.on { background: #1C7C48; border-color: #1C7C48; }
.ti-pics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ti-pics button { display: grid; justify-items: center; gap: 4px; padding: 10px 6px 8px; text-align: center; color: var(--text-primary); }
.ti-pics svg { width: 64px; height: 64px; display: block; }
.ti-pics span { font-weight: 700; font-size: 13px; }
.jr-rounds .ti-fig svg { max-width: 150px; }
@media (max-width: 860px) {
  .mx-wrap { grid-template-columns: 1fr; gap: 24px; justify-items: center; text-align: left; }
  .mx-art { width: 200px; padding: 24px; }
  .mx-copy h2 { font-size: 28px; }
  .mx-key { grid-template-columns: 1fr 1fr; }
  .jr-rounds .rtiles { grid-template-columns: 1fr 1fr; }
}
.jr-rmini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.jr-rmini div { border-top: 4px solid; background: var(--neutral-2); border-left: 1px solid var(--border-tertiary); border-right: 1px solid var(--border-tertiary); border-bottom: 1px solid var(--border-tertiary); padding: 10px 12px 12px; }
.jr-rmini .f { border-top-color: #3B82F6; } .jr-rmini .u { border-top-color: #10B981; } .jr-rmini .a { border-top-color: #F59E0B; } .jr-rmini .r { border-top-color: #8B5CF6; }
.jr-rmini small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--text-secondary); }
.jr-rmini b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; margin: 4px 0 2px; }
.jr-rmini span { font-size: 13px; color: var(--text-secondary); }
.jr-rmini-more { font-size: 14px; margin-top: 10px; }
.jr-rmini-more a { color: var(--brand-8, #A45F00); font-weight: 700; text-decoration: none; }
@media (max-width: 760px) { .jr-rmini { grid-template-columns: 1fr 1fr; } }
/* Picture questions (12-Oct-2026): a white picture card, then big tap tiles. Colourful objects, no text in the art. */
.jr-rounds .tryit { background: var(--neutral-3); border: 1px solid var(--border-tertiary); }
.jr-rounds .ti-q { font-size: 19px; }
.ti-card { background: #fff; padding: 14px; margin: 0 0 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(28,25,23,.06); }
.ti-card svg.pic { width: 100%; max-width: 380px; height: auto; display: block; }
.jr-rounds .ti-opts { display: grid; gap: 10px; }
.jr-rounds .ti-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jr-rounds .ti-tiles button { text-align: center; font-family: var(--font-display); font-size: 26px; padding: 14px 6px; background: #fff; border: 2px solid var(--border-primary); transition: transform .12s, border-color .12s, background .12s; }
.jr-rounds .ti-pics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jr-rounds .ti-pics button { background: #fff; border: 2px solid var(--border-primary); transition: transform .12s, border-color .12s, background .12s; }
.jr-rounds .ti-pics svg.opt { width: 100%; max-width: 110px; height: auto; }
.jr-rounds .ti-opts button:hover { transform: translateY(-2px); border-color: var(--text-primary); }
.jr-rounds .ti-opts button.ok { border-color: #1C7C48; background: #E8F6EE; }
.jr-rounds .ti-opts button.no { border-color: #E5555E; background: #FDECEE; animation: jr-shake .3s; }
.jr-rounds .ti-out { font-weight: 500; }
.jr-rounds .ti-out b { color: #1C7C48; }
.jr-rounds .tryit.done .ti-k::after { content: " ★"; color: #F4AB52; font-size: 14px; }
@keyframes jr-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .jr-rounds .ti-opts button.no { animation: none; } }
.ti-card svg.pic { max-height: 190px; }
.jr-rounds .ti-pics svg.opt { max-width: 120px; }
/* The entry page after the event: the child's place, the certificate, the evaluation */
.jr-result { background: var(--neutral-2); border: 1px solid var(--border-tertiary); border-top: 6px solid; border-image: linear-gradient(90deg, #3B82F6 0 25%, #10B981 25% 50%, #F59E0B 50% 75%, #8B5CF6 75%) 1; padding: 20px 22px; }
.jr-result-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brand-8, #A45F00); }
.jr-result-big { font-family: var(--font-display); font-size: 30px; line-height: 1.15; margin: 6px 0 4px; }
.jr-result-sub { color: var(--text-secondary); font-size: 15px; }
.jr-result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ---- The Junior's colour layer (12-Oct-2026, Gokul: "needs to be a bit more colourful in elements").
   Same skeleton, type and gold buttons as the MathFit Open, so the two read as one family; the Junior's details carry
   colour, and every colour keeps its meaning: the medal's four colours as a strip (the four rounds), the grade-group
   colours on anything about grades, soft tints for decoration only. Corners round up a little. The MathFit Open
   pages never get body.jr, so none of this reaches them. */
body.jr { --jr-strip: linear-gradient(90deg, #3B82F6 0 25%, #10B981 25% 50%, #F59E0B 50% 75%, #8B5CF6 75% 100%);
  --t-sky: #EAF2FE; --t-mint: #E6F7F0; --t-honey: #FEF3E0; --t-lilac: #F1ECFE;
  --d-sky: #1D4FD8; --d-mint: #047857; --d-honey: #B45309; --d-lilac: #6D28D9; }
/* the medal strip: under the header, over the footer, on top of the dark bands */
body.jr header.top { position: relative; }
body.jr header.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 5px; background: var(--jr-strip); z-index: 3; }
body.jr .site-foot { position: relative; }
body.jr .site-foot::before, body.jr .cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--jr-strip); }
body.jr .cta-band { position: relative; }
/* grade router: each grade in its grade group's colour */
body.jr .graderouter a.gk1 { border-color: #E5555E; } body.jr .graderouter a.g23 { border-color: #B57BC4; } body.jr .graderouter a.g45 { border-color: #3FAE73; }
body.jr .graderouter a.gk1:hover, body.jr .graderouter a.gk1.here { background: #E5555E; color: #fff; border-color: #E5555E; }
body.jr .graderouter a.g23:hover, body.jr .graderouter a.g23.here { background: #80408F; color: #fff; border-color: #80408F; }
body.jr .graderouter a.g45:hover, body.jr .graderouter a.g45.here { background: #1C7C48; color: #fff; border-color: #1C7C48; }
/* event cards: softer, rounder, the medal strip on top */
body.jr .evcard { border-color: rgba(28,25,23,.18); background: #FFFDF9; box-shadow: 0 2px 0 rgba(28,25,23,.04); }
body.jr .evcard .ec-head { border-top: 5px solid transparent; border-image: var(--jr-strip) 1; }
body.jr .evcard .ec-cta { }
/* how the day works: four tinted tiles, numbers in the matching deep shade */
body.jr .steps4 { gap: 16px; }
body.jr .steps4 > div { border-top: 0; padding: 20px 20px 22px; }
body.jr .steps4 > div:nth-child(1) { background: var(--t-sky); } body.jr .steps4 > div:nth-child(1) .n { color: var(--d-sky); }
body.jr .steps4 > div:nth-child(2) { background: var(--t-mint); } body.jr .steps4 > div:nth-child(2) .n { color: var(--d-mint); }
body.jr .steps4 > div:nth-child(3) { background: var(--t-honey); } body.jr .steps4 > div:nth-child(3) .n { color: var(--d-honey); }
body.jr .steps4 > div:nth-child(4) { background: var(--t-lilac); } body.jr .steps4 > div:nth-child(4) .n { color: var(--d-lilac); }
/* what your child takes home: tinted icon discs, rounder tiles */
body.jr .takehome > div { }
body.jr .takehome > div:nth-child(1) .ic { background: var(--t-honey); color: var(--d-honey); }
body.jr .takehome > div:nth-child(2) .ic { background: var(--t-sky); color: var(--d-sky); }
body.jr .takehome > div:nth-child(3) .ic { background: var(--t-mint); color: var(--d-mint); }
body.jr .takehome > div:nth-child(4) .ic { background: var(--t-lilac); color: var(--d-lilac); }
/* the details: a gold tick down each question */
body.jr .qa > div { border-top: 0; border-left: 4px solid #F4AB52; padding: 14px 0 14px 16px; margin-bottom: 10px; }
/* the fork to the MathFit Open stays gold and square: it points at the premium tier */

/* Find your city, compact tiles (HG 13-Oct): four across on desktop, two across on phones, so a parent sees every room
   without a long scroll. Seats show per grade group on the bands; the 45-seat total is gone. */
.chip-n { display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: rgba(28,25,23,.08); font-size: 11.5px; font-weight: 700; text-align: center; }
.chip.on .chip-n { background: var(--brand-5); color: var(--neutral-14, #161412); }
body.jr .jr-evgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body.jr .jr-evgrid .ec-head { padding: 11px 14px 10px; }
body.jr .jr-evgrid .ec-kicker { display: none; }
body.jr .jr-evgrid .ec-city { font-size: 22px; }
body.jr .jr-evgrid .ec-row { padding: 7px 14px; gap: 10px; }
body.jr .jr-evgrid .ec-row svg { width: 17px; height: 17px; }
body.jr .jr-evgrid .ec-row b { font-size: 15px; }
body.jr .jr-evgrid .ec-bands { padding: 8px 14px 12px; }
body.jr .jr-evgrid .band { padding: 3px 8px; font-size: 11px; gap: 4px; }
body.jr .jr-evgrid .ec-notes { padding: 0 14px 10px; }
body.jr .jr-evgrid .ec-cta { font-size: 15px; padding: 10px 12px; }
@media (max-width: 1000px) { body.jr .jr-evgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  body.jr .jr-evgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  body.jr .jr-evgrid .ec-head { padding: 9px 10px 8px; }
  body.jr .jr-evgrid .ec-badge { font-size: 11px; padding: 4px 7px; }
  body.jr .jr-evgrid .ec-city { font-size: 18px; gap: 5px; }
  body.jr .jr-evgrid .ec-closes { font-size: 10.5px; margin-top: 3px; }
  body.jr .jr-evgrid .ec-row { padding: 6px 10px; gap: 7px; }
  body.jr .jr-evgrid .ec-row svg { width: 14px; height: 14px; }
  body.jr .jr-evgrid .ec-row b { font-size: 13.5px; }
  body.jr .jr-evgrid .ec-row small { display: none; }
  body.jr .jr-evgrid .ec-bands { padding: 6px 10px 10px; }
  body.jr .jr-evgrid .bands { gap: 4px; }
  body.jr .jr-evgrid .band { padding: 2px 6px; font-size: 10.5px; }
  body.jr .jr-evgrid .ec-notes { padding: 0 10px 8px; font-size: 11px; }
  body.jr .jr-evgrid .ec-cta { font-size: 13.5px; padding: 9px 8px; }
}

/* How the day works, told as a story (HG 13-Oct): six moments on one line, no times (the ticket email has those) */
.story { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; }
.story::before { content: ''; position: absolute; top: 19px; left: 20px; right: calc((100% - 70px) / 6 - 20px); height: 3px; background: var(--jr-strip, var(--brand-5)); }
.story li { position: relative; }
.story .st-n { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-5); color: var(--neutral-14, #161412); font-family: var(--font-display); font-weight: 700; font-size: 18px; box-shadow: 0 0 0 5px var(--neutral-1, #F8F6F3); }
.story li:nth-child(1) .st-n { background: #8DB7FA; } .story li:nth-child(2) .st-n { background: #6EE0B9; } .story li:nth-child(3) .st-n { background: #FBC55B; }
.story li:nth-child(4) .st-n { background: #C3A6FB; } .story li:nth-child(5) .st-n { background: var(--brand-5); } .story li:nth-child(6) .st-n { background: #F9A8B4; }
.story h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.2; margin: 14px 0 6px; }
.story p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story::before { top: 20px; bottom: 56px; left: 19px; background: linear-gradient(180deg, #3B82F6, #10B981, #F59E0B, #8B5CF6); right: auto; width: 3px; height: auto; }
  .story li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding-bottom: 18px; }
  .story .st-n { grid-row: span 2; }
  .story h3 { margin: 8px 0 2px; font-size: 17px; }
  .story p { font-size: 13.5px; }
}

/* The four rounds, smaller (HG 13-Oct: the round panel was too big) */
body.jr .jr-rounds .rb-text h3 { font-size: 26px; margin-bottom: 8px; }
body.jr .jr-rounds .rb-line { font-size: 15px; }
body.jr .jr-rounds .ti-card { padding: 10px; }
body.jr .jr-rounds .ti-card svg.pic { max-height: 120px; }
body.jr .jr-rounds .ti-tiles button { font-size: 20px; padding: 8px 6px; }
body.jr .jr-rounds .ti-pics svg.opt { max-height: 44px; }
@media (max-width: 760px) {
  body.jr .jr-rounds .rb-text h3 { font-size: 22px; }
  body.jr .jr-rounds .rb-line { font-size: 14px; }
  body.jr .jr-rounds .ti-card svg.pic { max-height: 96px; }
  body.jr .jr-rounds .ti-tiles button { font-size: 18px; padding: 6px 4px; }
}

/* Find your city tiles, calmer (HG 13-Oct: too much colour): the colour strip on top stays, grade groups as plain outlined pills */
body.jr .jr-evgrid .band, body.jr .jr-evgrid .band.b1, body.jr .jr-evgrid .band.b2, body.jr .jr-evgrid .band.b3 {
  background: transparent; color: var(--neutral-13, #1D1C1B); box-shadow: inset 0 0 0 1px rgba(28,25,23,.28); font-weight: 600; }
body.jr .jr-evgrid .band small { opacity: .7; }
body.jr .jr-evgrid .band.full { opacity: .4; text-decoration: line-through; }
