/* The landing page (#/welcome). Editorial: ink type on white and paper, ai-iro (Japanese indigo, the dye of the
   keikogi) as the accent, and on this page only a vermilion for what was hit (the strike map's heat, the lit target).
   The page scrolls the window (html.lp-on frees the app shell); the app's tokens come from ui.css.
   Nothing on it is set below 14px. */
html.lp-on, html.lp-on body { height: auto; overflow: visible; }
.lp-on .side, .lp-on .rail, .lp-on .bar, .lp-on .top { display: none !important; }
.lp-on .app { display: block; height: auto; }
.lp-on #main { height: auto; overflow: visible; }
html.lp-on { scroll-padding-top: 120px; }

.lp {
  --ai: #1f3a5f; --ai-2: #2c4f7c; --ai-t: #e8edf4; --paper: #f6f4ef; --vermilion: #b8322a; --hit: #d9483b;
  --wrap: 1200px; --gut: 32px; --sec: 120px; --nav: 64px;
  color: var(--text); font-size: 16px; line-height: 25px; background: #fff; overflow-x: clip;
}
:where(.lp) a { color: inherit; text-decoration: none; }
:where(.lp) :is(h1, h2, h3, p, figure, ol, ul, dl, dd) { margin: 0; }
:where(.lp) :is(ol, ul) { padding: 0; list-style: none; }
.lp-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.lp :focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; border-radius: 6px; }
.lp-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* nav: sticky; on a wide screen its links are the chapters, the one being read underlined */
.lp-nav { position: sticky; top: 0; z-index: 30; height: var(--nav); background: rgb(255 255 255 / 92%); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--border); }
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 28px; height: 100%; max-width: 1376px; }
.lp-brand { display: inline-flex; align-items: center; gap: 9px; --brand-paper: #fff; }
.lp-brand .men { width: 30px; height: 30px; color: var(--text); }
.lp-brand span { font: 700 25px/1 "Space Grotesk", var(--sans); letter-spacing: -.045em; }
.lp-chapters { display: flex; gap: 20px; margin-left: auto; font-size: 15px; color: var(--text-2); }
.lp-chapters a { position: relative; padding: 6px 0; transition: color var(--motion); }
.lp-chapters a:hover, .lp-chapters a.on { color: var(--text); }
.lp-chapters a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 1px; background: var(--ai); }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; background: var(--text); color: #fff; border: 0; cursor: pointer; transition: background-color var(--motion), transform var(--motion-press); }
.lp-btn:hover { background: var(--ai); }
.lp-btn:active { transform: scale(.97); }
.lp-btn.primary { height: 52px; padding: 0 28px; font-size: 16.5px; }

/* type */
.lp h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: .96; letter-spacing: -.05em; font-weight: 650; }
.lp h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
.lp h3 { font-size: 20px; line-height: 26px; letter-spacing: -.015em; font-weight: 600; }
.lp-lede { font-size: clamp(18px, 1.4vw, 20px); line-height: 1.5; color: var(--text-2); max-width: 40ch; margin-top: 24px; font-variant-numeric: tabular-nums; }
.lp-lede b { color: var(--text); font-weight: 600; }
.lp-sub { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 54ch; margin-top: 18px; text-wrap: pretty; }
.lp-link, .lp table a { color: var(--ai); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgb(31 58 95 / 35%); transition: text-decoration-color var(--motion); }
.lp-link:hover, .lp table a:hover { text-decoration-color: var(--ai); }
.lp-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-weight: 500; font-size: 16px; }
.lp-head { max-width: 720px; margin-bottom: 48px; }
.lp-head-wide { max-width: none; }

/* ---------- the hero: copy on the left, the match on the right; the pin holds both while the match plays ---------- */
.lp-hero { position: relative; }
.lp-pin { height: calc(100svh - var(--nav)); min-height: 600px; max-height: 1000px; max-width: 1376px; margin: 0 auto; padding: 24px var(--gut); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; box-sizing: border-box; }
.lp-left { display: grid; align-items: center; height: 100%; }
.lp-left > * { grid-area: 1 / 1; }
.lp-copy { align-self: center; }
.lp-steps { position: relative; align-self: center; display: none; }
.lp-moving .lp-steps { display: grid; }
.lp-steps li { grid-area: 1 / 1; max-width: 30rem; }
.lp-stepk { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--ai); margin-bottom: 14px !important; }
.lp-stepk b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ai); color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.lp-steps h2 { font-size: clamp(32px, 3vw, 44px); }
.lp-steps li > p:last-child { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--text-2); }

/* search */
.lp-find { position: relative; display: flex; align-items: center; gap: 12px; width: min(520px, 100%); height: 58px; margin-top: 32px; padding: 0 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--border-strong), 0 1px 2px rgb(17 19 24 / 6%), 0 12px 32px -14px rgb(17 19 24 / 22%); transition: box-shadow var(--motion); }
.lp-find:focus-within { box-shadow: 0 0 0 1.5px var(--ai), 0 0 0 5px rgb(31 58 95 / 12%), 0 12px 32px -14px rgb(17 19 24 / 22%); }
.lp-find > svg, .lp-thumb svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; color: var(--muted); }
.lp-find input, .sm-who input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 400 17px var(--sans); color: var(--text); }
.lp-find input::placeholder, .sm-who input::placeholder { color: var(--muted); }
.lp-find input::-webkit-search-cancel-button, .sm-who input::-webkit-search-cancel-button { display: none; }
.lp .lp-find input:focus-visible, .lp .sm-who input:focus-visible { outline: none; }
.lp-res { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; padding: 6px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); max-height: 60vh; overflow: auto; }
.lp-res a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 48px; padding: 6px 10px; border-radius: 10px; }
.lp-res a[aria-selected="true"], .lp-res a:hover { background: var(--ai-t); }
.lp-res .lp-n, .lp-res .lp-s { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-res .lp-s { font-size: 14px; color: var(--muted); line-height: 19px; }
.lp-none { padding: 12px 10px; color: var(--muted); font-size: 15px; }
.lp-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; color: var(--muted); }
.lp-try button { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--paper); font: 500 15px var(--sans); color: var(--text-2); cursor: pointer; transition: background-color var(--motion), color var(--motion); }
.lp-try button:hover { background: var(--ai-t); color: var(--ai); }

/* the stage: a sheet of paper with the match on it; every figure is placed by landing.js in % of the sheet, and each
   kendoka sits in a full-sheet layer so the moves are in sheet units too */
.lp-stagewrap { position: relative; justify-self: center; width: min(100%, calc((100svh - var(--nav) - 48px) * 4 / 3)); }
.lp-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 24px; background: var(--paper); overflow: hidden; box-shadow: inset 0 0 0 1px rgb(17 19 24 / 5%); transform-origin: 50% 70%; contain: layout paint; }
.st-hall { position: absolute; left: -12%; top: 0; width: 124%; height: 47%; object-fit: cover; object-position: 50% 100%; opacity: .55; mix-blend-mode: multiply; pointer-events: none; }
.st-court { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.st-court path { fill: none; stroke: var(--ai); stroke-opacity: .55; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: round; }
.st-court .st-mark { stroke-opacity: .75; stroke-width: 2; }
.st-l { position: absolute; inset: 0; pointer-events: none; will-change: transform, opacity; }
.st-fig { position: absolute; display: block; user-select: none; pointer-events: none; will-change: transform, opacity; }
.st-up, .st-strike, .st-redF, .st-whiteB { opacity: 0; }
.st-hit { position: absolute; width: 12%; height: 16%; opacity: 0; overflow: visible; pointer-events: none; }
.st-hit circle { fill: none; stroke: var(--hit); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.st-hit circle + circle { stroke-width: 1.2; stroke-opacity: .6; }
.st-call { position: absolute; padding: 5px 12px; border-radius: 999px; background: var(--text); color: #fff; font-size: clamp(14px, 1.1vw, 16px); font-weight: 600; letter-spacing: .02em; opacity: 0; white-space: nowrap; }
.st-kiai { background: var(--hit); }
.st-card { position: absolute; right: 4%; bottom: 5%; width: min(48%, 320px); padding: 14px 16px 10px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); opacity: 0; font-size: 15px; }
.st-card-k { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-card-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 36px; border-top: 1px solid var(--border); }
.st-card-row b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-card-row.lose b { font-weight: 400; color: var(--text-2); }
.st-sw { width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--text); background: #fff; }
.st-sw.red { background: var(--vermilion); box-shadow: none; }
.st-pts, .lp-w { display: flex; gap: 4px; }
.st-pts i, .lp-w i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--ai); color: #fff; font: 600 14px/1 var(--sans); font-style: normal; }
.lp-replay { position: absolute; right: 12px; top: 12px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 92%); box-shadow: var(--shadow-lg); font: 500 15px var(--sans); color: var(--text); cursor: pointer; }
/* the finished state, without motion: they have passed and turned, the flags are up, the result is written */
.lp-done .st-down, .lp-done .st-aka, .lp-done .st-shiro, .lp-done .st-strike { opacity: 0; }
.lp-done .st-up, .lp-done .st-redF, .lp-done .st-whiteB, .lp-done .st-card { opacity: 1; }
.lp-done .lp-steps { display: none; }

/* counts under the hero */
.lp-stats { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 8px; border-block: 1px solid var(--text); }
.lp-stat { padding: 22px 18px 20px; border-left: 1px solid var(--border); }
.lp-stat:first-child { border-left: 0; padding-left: 0; }
.lp-stat b { display: block; font-size: clamp(26px, 2.5vw, 34px); line-height: 1; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--text-2); }

/* the chapter bar: phones and tablets only, it sticks under the nav once the hero is past */
.lp-chbar { display: none; }

/* ---------- sections ---------- */
.lp-sec { padding: var(--sec) 0; scroll-margin-top: var(--nav); }
.lp-hero + .lp-chbar + .lp-sec { margin-top: 40px; }
.lp-paper { background: var(--paper); }
.lp-ai { background: var(--ai-t); }
.lp-two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.lp-two > .lp-head { margin-bottom: 0; }
.lp-fl { font-size: 16px; line-height: 1; }
.lp-dots { display: none; }

/* a real screenshot in a quiet browser frame */
.lp-browser { position: relative; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgb(17 19 24 / 8%), 0 2px 4px rgb(17 19 24 / 4%), 0 30px 60px -24px rgb(31 58 95 / 28%); }
.lp-chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #fafaf8; border-bottom: 1px solid var(--border); }
.lp-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.lp-chrome span { margin: 0 auto; padding: 2px 14px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; color: var(--muted); transform: translateX(-20px); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-browser img { display: block; width: 100%; height: auto; }
.lp-shots { position: relative; padding-right: 72px; }
.lp-phone { position: absolute; right: 0; bottom: -48px; width: 31%; border-radius: 28px; padding: 7px; background: var(--text); box-shadow: 0 30px 60px -20px rgb(17 19 24 / 40%); }
.lp-phone img { display: block; width: 100%; height: auto; border-radius: 22px; }

/* you: a live slice of the #1's page */
.lp-me { margin-top: 32px; padding: 6px 20px 8px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgb(17 19 24 / 8%), 0 18px 40px -26px rgb(31 58 95 / 35%); }
.lp-me-top { display: flex; align-items: center; gap: 10px; min-height: 56px; border-bottom: 1px solid var(--border); font-size: 18px; }
.lp-me-top span { margin-left: auto; font-size: 15px; color: var(--ai); font-weight: 600; white-space: nowrap; }
.lp-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.lp-facts div { padding: 12px 0 10px 12px; border-left: 1px solid var(--border); }
.lp-facts div:first-child { padding-left: 0; border-left: 0; }
.lp-facts dt { font-size: 14px; color: var(--muted); }
.lp-facts dd { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.lp-last li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 56px; border-bottom: 1px solid var(--border); }
.lp-last li:last-child { border-bottom: 0; }
.lp-last [class^="lp-res-"] { font-size: 14px; font-weight: 600; }
.lp-res-W { color: var(--ai); } .lp-res-L { color: var(--vermilion); } .lp-res-D { color: var(--muted); }
.lp-m { min-width: 0; }
.lp-n, .lp-s { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-n { font-size: 16px; font-weight: 500; }
.lp-n .lp-fl { margin-right: 7px; }
.lp-n .orig { color: var(--muted); font-weight: 400; }
.lp-s { font-size: 14px; line-height: 19px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- the strike map ---------- */
.sm-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 32px; }
.sm-chip, .sm-sel select, .sm-who { height: 44px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--border-strong); font: 500 15.5px var(--sans); color: var(--text-2); }
.sm-chip { padding: 0 18px; cursor: pointer; transition: background-color var(--motion), color var(--motion); }
.sm-chip[aria-pressed="true"] { background: var(--text); color: #fff; box-shadow: none; }
.sm-sel select { padding: 0 38px 0 18px; appearance: none; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.sm-who { position: relative; display: flex; align-items: center; width: 220px; padding: 0 18px; }
.sm-who .lp-res { min-width: 300px; }
.sm-main { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: start; transition: opacity var(--motion); }
.sm-busy .sm-main { opacity: .55; }
.sm-fig { outline: none; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgb(17 19 24 / 7%), 0 24px 48px -28px rgb(31 58 95 / 30%); padding: 16px 8px; touch-action: manipulation; }
.sm-fig:focus-visible { outline: 2px solid var(--ai); outline-offset: 4px; }
.mq { display: block; width: 100%; height: auto; max-height: min(780px, 84vh); margin: 0 auto; font-family: var(--sans); -webkit-tap-highlight-color: transparent; }
.mq-zone { fill: var(--hit); fill-opacity: calc(var(--heat, 0) * .78); stroke: none; cursor: pointer; transition: fill-opacity .6s ease, stroke .2s; }
.mq-zone.on { fill-opacity: calc(.25 + var(--heat, 0) * .75); stroke: #fff; stroke-width: 2.5; paint-order: stroke; }
.mq-zone :is(path, ellipse) { vector-effect: non-scaling-stroke; }
.mq-alt { fill: none; stroke: var(--hit); stroke-width: 2; stroke-dasharray: 5 4; opacity: 0; vector-effect: non-scaling-stroke; pointer-events: none; transition: opacity .3s; }
.mq-zone[data-zone="kote"].on ~ .mq-alt { opacity: .85; }
.mq-lead { fill: none; stroke: var(--muted); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.mq-pin { fill: var(--text); }
.mq-label text { fill: var(--text); }
.mq-pct { font-size: 50px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mq-zn { font-size: 26px; fill: var(--text-2); }
.mq-label.on .mq-pct { fill: var(--hit); }
.mq-label.on .mq-lead { stroke: var(--hit); stroke-width: 2.2; }
.mq-label.on .mq-pin { fill: var(--hit); }
.sm-side-k { display: flex; gap: 8px; margin-bottom: 20px; }
.sm-side-k[hidden] { display: none; }
.sm-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sm-tabs button { display: grid; gap: 2px; justify-items: start; padding: 10px 14px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--border); cursor: pointer; font: 500 15px var(--sans); color: var(--text-2); text-align: left; transition: background-color var(--motion), color var(--motion); }
.sm-tabs b { font-size: 24px; font-weight: 650; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.sm-tabs [aria-selected="true"] { background: var(--text); color: rgb(255 255 255 / 75%); box-shadow: none; }
.sm-tabs [aria-selected="true"] b { color: #fff; }
.sm-read { padding: 24px 0 8px; }
.sm-name { font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.sm-name b { font-weight: 650; }
.sm-name span { color: var(--hit); font-weight: 500; margin-left: 6px; }
.sm-n { margin-top: 8px !important; font-size: 16px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.sm-rule { margin-top: 14px !important; font-size: 17px; line-height: 1.55; max-width: 46ch; }
.sm-splits { margin-top: 24px; border-top: 1px solid var(--text); }
.sm-splits h3 { font-size: 16px; padding: 14px 0 6px; }
.sm-row { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) 48px; gap: 12px; align-items: center; min-height: 40px; font-size: 15px; }
.sm-rl { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-row b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.sm-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--border); }
.sm-bar i { display: block; height: 100%; border-radius: 6px; background: var(--hit); transition: width .4s ease; }
.sm-years { border-top: 1px solid var(--border); margin-top: 10px; }
.sm-years summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.sm-years summary::-webkit-details-marker { display: none; }
.sm-years summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform var(--motion); }
.sm-years[open] summary::after { transform: rotate(-135deg); }
.sm-valid { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 70ch; }

/* bracket */
.lp-bracket { position: relative; display: grid; grid-template-columns: 30% 8% 30% 6% 26%; grid-template-rows: 1fr 1fr; min-height: 300px; margin-bottom: 16px; }
.br-m { position: relative; z-index: 1; align-self: center; display: grid; padding: 6px 16px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgb(17 19 24 / 8%), 0 12px 28px -18px rgb(31 58 95 / 35%); }
.br-s0 { grid-area: 1 / 1; } .br-s1 { grid-area: 2 / 1; }
.br-f { grid-area: 1 / 3 / 3 / 4; }
.br-c { grid-area: 1 / 5 / 3 / 6; align-self: center; padding-left: 8px; }
.br-k { font-size: 15px; font-weight: 600; color: var(--ai); }
.br-c .br-p { font-size: 24px; font-weight: 650; letter-spacing: -.02em; border: 0; height: auto; padding-top: 6px; }
.br-p { display: flex; align-items: center; gap: 8px; height: 44px; border-bottom: 1px solid var(--border); font-size: 16px; }
.br-p span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-p.w { font-weight: 600; }
.br-p.l { color: var(--text-2); }
.br-p.muted { color: var(--muted); }
.br-sc { padding-top: 8px; font-size: 15px; color: var(--ai); font-weight: 500; }
.br-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.br-lines path { fill: none; stroke: var(--ai); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }

/* countries and clubs */
.lp-find2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lp-chips button { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--border-strong); font: 500 15px var(--sans); color: var(--text-2); cursor: pointer; transition: background-color var(--motion), color var(--motion); white-space: nowrap; }
.lp-chips button[aria-selected="true"] { background: var(--text); color: #fff; box-shadow: none; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.lp-table th, .lp-table td { text-align: left; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.lp-table thead th { font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--text); }
.lp-table tbody th { font-weight: 600; font-variant-numeric: tabular-nums; width: 64px; }
.lp-table thead th:first-child { width: auto; }
.lp-mapwrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; margin-top: 96px; }
.lp-mapwrap .lp-browser { aspect-ratio: 1200 / 1000; }
.lp-mapwrap .lp-browser img { height: calc(100% - 34px); object-fit: cover; object-position: 50% 30%; }
.lp-maptext p { margin-top: 12px; color: var(--text-2); font-size: 17px; line-height: 1.55; }
.lp-ctry { margin-top: 24px; border-top: 1px solid var(--text); }
.lp-ctry a { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 50px; border-bottom: 1px solid var(--border); font-size: 16px; transition: color var(--motion); }
.lp-ctry a:hover { color: var(--ai); }
.lp-ctry b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 15px; }

/* rankings */
.lp-ranks { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.lp-rcard { padding: 8px 24px 12px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgb(17 19 24 / 8%); }
.lp-rcard h3 { padding: 14px 0; border-bottom: 1px solid var(--text); }
.lp-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 62px; padding: 6px 0; border-bottom: 1px solid var(--border); transition: background-color var(--motion); }
.lp-row:hover { background: var(--ai-t); }
.lp-k { font-size: 15px; color: var(--ai); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-r { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text-2); }

/* scouting: three cards */
.lp-prep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.lp-prep article { padding: 22px 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgb(31 58 95 / 12%); }
.lp-prep h3 { margin-bottom: 12px; }
.lp-prep article > p { margin-top: 14px; color: var(--text-2); font-size: 16px; line-height: 1.5; }
.lp-scout p { font-size: 16px; line-height: 23px; padding: 12px 0; border-top: 1px solid var(--border); margin: 0 !important; color: var(--text); }
.lp-scout p span { color: var(--text-2); }
.lp-five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; border-bottom: 1px solid var(--ai); }
.lp-five li { display: grid; justify-items: center; gap: 6px; padding-bottom: 10px; }
.lp-five img { width: 100%; max-width: 80px; height: auto; display: block; }
.lp-five span { font-size: 14px; font-weight: 600; display: grid; justify-items: center; }
.lp-five span b { font-size: 14px; color: var(--ai); font-variant-numeric: tabular-nums; }
.lp-alert { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; padding: 12px 14px; margin-top: 8px; border-radius: 14px; background: var(--ai-t); font-size: 15px; line-height: 1.4; }
.lp-alert b { font-weight: 600; }
.lp-alert em { display: block; margin-top: 4px; font-size: 14px; color: var(--ai); font-weight: 500; font-style: normal; }
.lp-dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--hit); }

/* more: shops, how the record is kept, questions */
.lp-shop { margin-bottom: var(--sec); }
.lp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 64px; }
.lp-trust article { padding-top: 20px; border-top: 2px solid var(--ai); }
.lp-trust p { margin-top: 10px; color: var(--text-2); font-size: 16.5px; line-height: 1.55; }
.lp-qs { max-width: 880px; }
.lp-qs details { border-bottom: 1px solid var(--border); }
.lp-qs details:first-child { border-top: 1px solid var(--text); }
.lp-qs summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.lp-qs summary::-webkit-details-marker { display: none; }
.lp-qs summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform var(--motion); }
.lp-qs details[open] summary::after { transform: rotate(-135deg); }
.lp-qs details p { padding: 0 0 20px; max-width: 64ch; color: var(--text-2); font-size: 17px; line-height: 26px; }

/* end and footer */
.lp-end { padding: 112px 0; background: var(--ai); color: #fff; text-align: center; }
.lp-end .lp-sub { color: rgb(255 255 255 / 80%); margin: 14px auto 32px; }
.lp-end .lp-btn { background: #fff; color: var(--ai); }
.lp-end .lp-btn:hover { background: var(--ai-t); }
.lp-foot { padding: 40px 0 56px; }
.lp-thumb { display: none; }

/* ---------- tablet and phone ---------- */
@media (max-width: 1180px) { .lp-chapters { display: none; } .lp-open { margin-left: auto; } }
@media (max-width: 1080px) {
  .lp-stats { grid-template-columns: repeat(3, 1fr); }
  .lp-stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .lp-stat:nth-child(n + 4) { border-top: 1px solid var(--border); }
  .sm-main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sm-fig { max-width: 620px; width: 100%; justify-self: center; box-sizing: border-box; }
  .lp-prep { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .lp { --sec: 80px; --gut: 24px; }
  html.lp-on { scroll-padding-top: 116px; }
  .lp-pin { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; padding: 36px var(--gut) 24px; }
  .lp-left { display: contents; }
  .lp-copy { order: 1; }
  .lp-stagewrap { order: 2; width: 100%; margin-top: 32px; }
  .lp-stage { border-radius: 18px; }
  /* the caption under the stage: one step at a time while it plays */
  .lp-steps { order: 3; }
  .lp-moving .lp-steps { display: grid; margin-top: 18px; min-height: 9.5rem; }
  .lp-steps li { max-width: none; }
  .lp-stepk { margin-bottom: 8px !important; }
  .lp-steps h2 { font-size: 24px; line-height: 1.2; letter-spacing: -.02em; }
  .lp-steps li > p:last-child { margin-top: 6px; font-size: 16px; line-height: 1.5; }
  .lp-done .lp-steps { display: grid; gap: 18px; margin-top: 24px; }
  .lp-done .lp-steps li { grid-area: auto; padding-top: 14px; border-top: 1px solid var(--border); }
  .lp-two, .lp-find2, .lp-mapwrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lp-shots { padding-right: 56px; margin-bottom: 40px; }
  .lp-mapwrap { margin-top: 64px; }
  .lp-trust { grid-template-columns: 1fr; gap: 28px; }
  .lp-ranks { grid-template-columns: 1fr; }
  /* chapters: a sticky row of pills under the nav */
  .lp-chbar { position: sticky; top: var(--nav); z-index: 29; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px var(--gut); background: rgb(255 255 255 / 94%); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--border); scroll-padding-inline: var(--gut); }
  .lp-chbar::-webkit-scrollbar { display: none; }
  .lp-chbar a { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background-color var(--motion), color var(--motion); }
  .lp-chbar a.on { background: var(--text); color: #fff; }
  .lp-sec { scroll-margin-top: calc(var(--nav) + 52px); }
  .lp-hero + .lp-chbar + .lp-sec { margin-top: 0; }
  /* the thumb bar: search and open, within reach, once the hero's search is gone */
  .lp-thumb { position: fixed; z-index: 31; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgb(17 19 24 / 92%); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -12px rgb(17 19 24 / 50%); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .lp-thumbon .lp-thumb { transform: none; }
  .lp-thumb-q { flex: 1; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 10%); color: #fff; font: 500 16px var(--sans); cursor: pointer; }
  .lp-thumb-q svg { color: #fff; }
  .lp-thumb .lp-btn { height: 48px; background: #fff; color: var(--text); }
  .lp-foot { padding-bottom: 104px; }
}
@media (max-width: 720px) {
  /* swipe decks: cards side by side, snapping, the next one peeking; dots under them */
  .lp [data-deck] { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut) 12px; scroll-padding: 0 var(--gut); }
  .lp [data-deck]::-webkit-scrollbar { display: none; }
  .lp [data-deck] > * { scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; }
  .lp-trust[data-deck] article { padding: 20px; border-radius: 18px; background: var(--paper); border-top: 0; }
  .lp-dots { display: flex; justify-content: center; margin: 4px 0 8px; }
  .lp-dots i { width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; }
  .lp-dots i::after { content: ""; width: 7px; height: 7px; border-radius: 4px; background: var(--border-strong); transition: width .3s, background-color .3s; }
  .lp-dots i.on::after { width: 22px; background: var(--text); }
  .lp-prep { margin-bottom: 24px; }
  .lp-trust { margin-bottom: 40px; }
}
@media (max-width: 640px) {
  .lp { --gut: 16px; --sec: 64px; }
  .lp-nav { --nav: 56px; }
  .lp { --nav: 56px; }
  .lp-nav .lp-wrap { height: 56px; }
  .lp-brand span { font-size: 23px; }
  .lp-btn { height: 40px; padding: 0 16px; }
  .lp-pin { padding-top: 28px; }
  .lp h1 { font-size: clamp(42px, 12.4vw, 50px); }
  .lp h2 { font-size: clamp(29px, 8vw, 34px); }
  .lp-lede { font-size: 17px; margin-top: 16px; }
  .lp-find { height: 54px; margin-top: 24px; }
  .lp-stagewrap { width: calc(100% + 2 * var(--gut)); margin-left: calc(-1 * var(--gut)); }
  .lp-stage { border-radius: 0; }
  .st-card { width: 60%; right: 3%; bottom: 3%; padding: 8px 10px 4px; font-size: 14px; }
  .st-card-k { margin-bottom: 4px !important; }
  .st-card-row { height: 30px; }
  .st-pts i { width: 20px; height: 20px; font-size: 13px; }
  .st-call { padding: 3px 9px; font-size: 14px; }
  .lp-stat { padding: 16px 10px 14px; }
  .lp-stat b { font-size: 23px; }
  .lp-stat span { font-size: 14px; }
  .lp-head { margin-bottom: 32px; }
  .lp-sub { font-size: 17px; }
  .lp-me { padding: 4px 14px 6px; margin-top: 24px; }
  .lp-facts { grid-template-columns: repeat(4, 1fr); }
  .lp-facts div { padding-left: 8px; }
  .lp-facts dd { font-size: 22px; }
  .lp-shots { display: none; }   /* the live card above shows the same page, readable */
  #lp-you { padding-top: 40px; }
  .lp-phone { width: 36%; bottom: -36px; border-radius: 20px; padding: 5px; }
  .lp-phone img { border-radius: 16px; }
  .lp-chrome span { display: none; }
  .lp-bracket { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; min-height: 0; }
  .br-s0, .br-s1, .br-f, .br-c { grid-area: auto; }
  .br-c { padding: 8px 0 0; }
  .br-lines { display: none; }
  .lp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)) 16px; padding: 0 var(--gut); }
  .lp-chips::-webkit-scrollbar { display: none; }
  /* strike map on a phone: the figure full width, the pickers a scrolling row, the targets as four big buttons */
  .sm-pick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)) 20px; padding: 2px var(--gut); }
  .sm-pick::-webkit-scrollbar { display: none; }
  .sm-pick > * { flex: none; }
  .sm-who { width: 170px; }
  .sm-who .lp-res { position: fixed; left: 16px; right: 16px; top: auto; min-width: 0; }
  .sm-fig { margin: 0 calc(-1 * var(--gut)); width: calc(100% + 2 * var(--gut)); max-width: none; border-radius: 0; box-shadow: none; background: #fff; padding: 8px 0; }
  .sm-tabs { gap: 6px; }
  .sm-tabs button { padding: 10px 10px; min-height: 64px; }
  .sm-tabs b { font-size: 21px; }
  .sm-name { font-size: 26px; }
  .sm-row { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "l p" "b b"; row-gap: 6px; min-height: 0; padding: 8px 0; }
  .sm-rl { grid-area: l; } .sm-row b { grid-area: p; } .sm-bar { grid-area: b; }
  .lp-rcard { padding: 6px 16px 8px; }
  .lp-five img { max-width: 56px; }
  .lp-end { padding: 80px 0; }
}
@media (max-width: 380px) {
  .lp h1 { font-size: 40px; }
  .lp-try button { padding: 0 12px; font-size: 14.5px; }
  .sm-tabs button { padding: 8px; }
  .sm-tabs span { font-size: 14px; }
  .sm-tabs b { font-size: 19px; }
}
/* the counts line up with the hero's copy, not the narrower sections */
.lp-hero > .lp-wrap { max-width: 1376px; }
@media (max-width: 420px) { .lp-rcard .lp-r { display: none; } .lp-rcard .lp-row { grid-template-columns: 40px minmax(0, 1fr); } }

/* =================== round 4: fixed header, the name as the hero, poses, bracket, country, calendar, footer =================== */
/* the header never moves: fixed, the page starts under it; on phones the chapter bar is fixed right under it */
.lp { padding-top: var(--nav); }
.lp-nav { position: fixed; left: 0; right: 0; top: 0; }
html.lp-on { scroll-padding-top: calc(var(--nav) + 8px); }
.lp-sec { scroll-margin-top: var(--nav); }
.lp-hero + .lp-chbar + .lp-sec, .lp-hero + .lp-sec { margin-top: 0; }

/* the name: very large, cut by one shinai stroke on load */
.lp-title { --brand-paper: #fff; display: grid; justify-items: center; text-align: center; padding: clamp(48px, 9vh, 104px) var(--gut) 40px; max-width: 1100px; margin: 0 auto; }
.lp-word { margin: 0; line-height: 0; color: var(--text); }
.lp-word .wordcut { height: clamp(112px, 17vw, 236px); width: auto; display: block; overflow: visible; }
.lp-toru { margin-top: 18px !important; font-size: clamp(18px, 1.6vw, 22px); color: var(--text-2); letter-spacing: -.005em; }
.lp-toru span { margin-right: 10px; color: var(--text); font-weight: 500; }
.lp-counts { margin-top: 14px !important; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-counts b { color: var(--text); font-weight: 600; }
.lp-title .lp-find { width: min(760px, 100%); height: 72px; margin-top: 36px; padding: 0 22px 0 24px; border-radius: 20px; gap: 14px; box-shadow: 0 0 0 1px var(--border-strong), 0 2px 4px rgb(17 19 24 / 5%), 0 24px 60px -24px rgb(31 58 95 / 40%); }
.lp-title .lp-find > svg { width: 24px; height: 24px; }
.lp-title .lp-find input { font-size: 20px; }
.lp-kbd { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--border-strong); font: 500 14px var(--sans); color: var(--muted); }
.lp-title .lp-res { text-align: left; }
.lp-title .lp-try { justify-content: center; margin-top: 18px; }
.lp-try button { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; }

/* the match below the name: caption on the left, stage on the right, pinned while it plays */
.lp-pin { height: calc(100svh - var(--nav)); }
.lp-pin { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.lp-pin > .lp-steps { display: grid; align-self: center; }
.lp-steps li { grid-area: 1 / 1; }
.lp-stepk { font-size: clamp(30px, 2.8vw, 42px); font-weight: 650; letter-spacing: -.03em; color: var(--text); margin-bottom: 16px !important; gap: 14px; }
.lp-stepk b { width: 34px; height: 34px; font-size: 15px; flex: none; }
.lp-stepp { font-size: 19px; line-height: 1.5; color: var(--text-2); max-width: 26rem; }
.lp-done .lp-pin > .lp-steps { display: grid; gap: 22px; }
.lp-done .lp-steps li { grid-area: auto; }
.lp-done .lp-stepk { font-size: 22px; margin-bottom: 4px !important; }
.lp-done .lp-stepp { font-size: 16px; }
.st-pts .lp-mk { width: 22px; height: 22px; }

/* ippon marks, used in the card, the bracket and the lists */
.lp-mk { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ai); color: #fff; font: 600 13px/1 var(--sans); font-style: normal; }
.lp-mk.mk-kote { background: var(--ai-2); } .lp-mk.mk-do { background: #50678b; } .lp-mk.mk-tsuki { background: #7d8fab; } .lp-mk.mk-hansoku { background: var(--vermilion); }

/* the strike map: four poses stacked, the chosen one shown; they cross-fade with a little movement */
.mq-pose { opacity: 0; transform: translateY(10px) scale(.985); transform-box: fill-box; transform-origin: 50% 100%; transition: opacity .3s ease, transform .32s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.mq-pose.on { opacity: 1; transform: none; }
.mq-lit { opacity: .62; filter: url(#mq-glow); animation: mq-pulse 2.4s ease-in-out infinite; }
.mq-lit.soft { opacity: .3; animation: none; }
.mq-off .mq-lit { animation-play-state: paused; }
@keyframes mq-pulse { 50% { opacity: .78; } }
.mq-label { opacity: 0; transition: opacity .25s ease .1s; }
.mq-label.on { opacity: 1; }
.mq-label text { fill: var(--text); }
.mq-pct { font-size: 64px; font-weight: 650; letter-spacing: -.03em; fill: var(--hit) !important; }
.mq-zn { font-size: 30px; fill: var(--text-2) !important; }
.mq-lead { stroke: var(--hit); stroke-width: 2.2; fill: none; vector-effect: non-scaling-stroke; }
.mq-pin { fill: var(--hit); }
.sm-fig { cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .mq-pose, .mq-label { transition: none; } .mq-lit { animation: none; } }

/* bracket */
.bk-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chips .sm-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-chips .sm-chip:disabled { display: none; }
.bk-who { width: 260px; }
.bk-board { transition: opacity var(--motion); }
.bk-busy { opacity: .5; }
.bk-wait { color: var(--muted); font-size: 16px; padding: 16px 0; }
.bk-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 20px !important; }
.bk-title a { font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.bk-title span { color: var(--muted); font-size: 16px; }
.bk-tree { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 0 56px; align-items: center; position: relative; }
.bk-col { display: grid; gap: 20px; position: relative; }
.bk-col + .bk-col::before { content: ""; position: absolute; left: -40px; top: 50%; width: 24px; height: 1.5px; background: var(--ai); }
.bk-m { padding: 6px 16px 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgb(17 19 24 / 8%), 0 14px 30px -20px rgb(31 58 95 / 40%); }
.bk-k { font-size: 14px; font-weight: 600; color: var(--ai); padding: 6px 0 2px; }
.bk-p { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 48px; border-top: 1px solid var(--border); font-size: 16px; }
.bk-p > :is(button, span:nth-child(2)) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.bk-p.w { font-weight: 600; }
.bk-p:not(.w) { color: var(--text-2); }
.lp [data-card] { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-strong); min-height: 32px; }
.lp [data-card]:hover { color: var(--ai); text-decoration-color: var(--ai); }
.bk-mk { display: flex; gap: 4px; }
.bk-c { font-size: clamp(24px, 2.4vw, 32px); font-weight: 650; letter-spacing: -.02em; }
.bk-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 22px !important; color: var(--muted); font-size: 14px; }
.bk-key .lp-mk { margin-left: 8px; }
.bk-key .lp-mk:first-child { margin-left: 0; }

/* countries, live */
.cy { transition: opacity var(--motion); }
.cy-fed { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgb(17 19 24 / 7%); margin-bottom: 20px; }
.cy-fed img { width: 64px; height: 64px; object-fit: contain; }
.cy-flag { font-size: 44px; line-height: 1; }
.cy-fed h3 { font-size: 26px; line-height: 1.1; }
.cy-fed p { margin-top: 4px !important; color: var(--text-2); font-size: 15px; }
.cy-fed p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); }
.cy-fed dl { display: flex; gap: 28px; margin: 0; }
.cy-fed dt { font-size: 14px; color: var(--muted); }
.cy-fed dd { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cy-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.cy-card { padding: 18px 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgb(17 19 24 / 7%); }
.cy-card h4 { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.cy-card ol { margin: 0; }
.cy-card li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; border-top: 1px solid var(--border); font-size: 16px; }
.cy-card li > :is(a, button) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.cy-card li span { color: var(--ai); font-weight: 650; font-size: 15px; min-width: 28px; }
.cy-card li em { font-style: normal; color: var(--muted); font-size: 14px; }
.cy-card:last-child li { grid-template-columns: minmax(0, 1fr) auto; }
.cy-g { font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 0 2px; }

/* coming up */
.lp-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lp-cal a { display: grid; gap: 14px; height: 100%; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgb(17 19 24 / 8%); transition: box-shadow var(--motion); box-sizing: border-box; }
.lp-cal a:hover { box-shadow: 0 0 0 1.5px var(--ai); }
.lp-cal time { display: grid; font-size: 15px; color: var(--ai); font-weight: 600; text-transform: uppercase; }
.lp-cal time b { font-size: 40px; line-height: 1; letter-spacing: -.03em; color: var(--text); }
.lp-cal .lp-n { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 16px; line-height: 1.35; }
.lp-cal .lp-s { white-space: normal; margin-top: 6px; }

/* a kendoka's card */
.lp-card { width: min(440px, calc(100vw - 32px)); border: 0; border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 40px 100px -30px rgb(17 19 24 / 50%); color: var(--text); }
.lp-card::backdrop { background: rgb(17 19 24 / 40%); backdrop-filter: blur(3px); }
.lp-card-x { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; color: var(--muted); cursor: pointer; }
.lp-card-n { font-size: 22px; display: flex; gap: 10px; align-items: center; padding-right: 40px; margin-bottom: 12px !important; }
.lp-card .lp-facts { border-top: 1px solid var(--border); }
.lp-card .lp-btn { width: 100%; margin-top: 14px; }
.lp-me-sp { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.lp-me-sp span { padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: 15px; }

/* closing */
.lp-end h2 { color: #fff; }
.lp-end-q { margin-top: 28px; gap: 10px; }
.lp-end-q svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* footer: indigo, the cut name large, the record live, a tenugui edge */
.lp-foot { padding: 0 0 56px; background: #16263d; color: #e9edf4; --brand-paper: #16263d; }
.lp-tenugui { height: 22px; background-color: #16263d;
  background-image: radial-gradient(circle at 50% 100%, transparent 6px, rgb(255 255 255 / 22%) 6.5px, rgb(255 255 255 / 22%) 7.5px, transparent 8px, transparent 10px, rgb(255 255 255 / 14%) 10.5px, rgb(255 255 255 / 14%) 11.5px, transparent 12px);
  background-size: 24px 12px; border-bottom: 1px solid rgb(255 255 255 / 10%); }
.lp-foot .lp-wrap { display: block; }
.ft-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; padding: 56px 0 32px; border-bottom: 1px solid rgb(255 255 255 / 12%); }
.ft-word { color: #fff; }
.ft-word .wordcut { height: clamp(84px, 11vw, 150px); }
.ft-line { font-size: 18px; color: rgb(233 237 244 / 75%); }
.ft-live { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-bottom: 1px solid rgb(255 255 255 / 12%); }
.ft-live div { padding: 24px 0 22px; }
.ft-live dt { font-size: 14px; color: rgb(233 237 244 / 60%); }
.ft-live dd { margin: 4px 0 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.ft-news { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px 0; }
.ft-news a { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: rgb(255 255 255 / 6%); transition: background-color var(--motion); }
.ft-news a:hover { background: rgb(255 255 255 / 11%); }
.ft-news span { font-size: 14px; color: rgb(233 237 244 / 60%); }
.ft-news b { font-size: 17px; font-weight: 600; color: #fff; display: flex; gap: 8px; }
.ft-news em { font-style: normal; font-size: 14px; color: rgb(233 237 244 / 70%); }
.ft-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 8px 0 28px; }
.ft-links h3 { font-size: 15px; color: rgb(233 237 244 / 60%); font-weight: 500; margin-bottom: 6px; }
.ft-links a { display: flex; align-items: center; min-height: 40px; font-size: 16px; color: #fff; }
.ft-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-fix { display: flex; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 15px; color: rgb(233 237 244 / 75%); }
.ft-fix .men { width: 26px; height: 26px; color: #fff; --brand-paper: #16263d; }

@media (max-width: 1180px) { .lp-cal { grid-template-columns: repeat(3, 1fr); } .cy-grid { grid-template-columns: 1fr 1fr; } .cy-grid .cy-card:first-child { grid-column: 1 / -1; } }
@media (max-width: 960px) {
  .lp { padding-top: calc(var(--nav) + 52px); }
  html.lp-on { scroll-padding-top: calc(var(--nav) + 60px); }
  .lp-chbar { position: fixed; top: var(--nav); left: 0; right: 0; z-index: 29; }
  .lp-sec { scroll-margin-top: calc(var(--nav) + 52px); }
  .lp-pin { height: auto; display: flex; flex-direction: column; }
  .lp-pin > .lp-steps { order: 2; margin-top: 18px; min-height: 8.5rem; }
  .lp-stagewrap { order: 1; margin-top: 0; }
  .lp-stepk { font-size: 26px; margin-bottom: 8px !important; }
  .lp-stepp { font-size: 17px; }
  .bk-tree { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bk-col + .bk-col::before { display: none; }
  .bk-champ { padding: 4px 4px 0; }
  .cy-fed { grid-template-columns: auto minmax(0, 1fr); }
  .cy-fed dl { grid-column: 1 / -1; }
  .ft-live { grid-template-columns: 1fr 1fr; }
  .ft-links { grid-template-columns: 1fr 1fr; }
  .ft-news { grid-template-columns: 1fr; }
  .lp-foot { padding-bottom: 104px; }
}
@media (max-width: 720px) {
  .lp-cal { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; }
  .cy-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 88%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 12px; }
  .cy-grid::-webkit-scrollbar { display: none; }
  .cy-grid > * { scroll-snap-align: start; }
  .cy-grid .cy-card:first-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .lp-title { padding-top: 40px; padding-bottom: 28px; }
  .lp-word .wordcut { height: clamp(88px, 27vw, 120px); }
  .lp-toru { font-size: 17px; }
  .lp-toru span { display: block; margin: 0 0 2px; }
  .lp-counts { font-size: 15.5px; }
  .lp-title .lp-find { height: 62px; border-radius: 18px; margin-top: 26px; padding: 0 16px; }
  .lp-title .lp-find input { font-size: 17px; }
  .lp-kbd { display: none; }
  .lp-title .lp-try { flex-wrap: wrap; }
  .lp-pin { padding-top: 8px; }
  .bk-pick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)) 16px; padding: 2px var(--gut); }
  .bk-pick::-webkit-scrollbar { display: none; }
  .bk-chips { flex-wrap: nowrap; }
  .bk-chips .sm-chip, .bk-who { flex: none; }
  .bk-who { width: 220px; }
  .bk-title a { font-size: 19px; }
  .cy-fed { padding: 16px; gap: 14px; }
  .cy-fed dl { gap: 20px; }
  .cy-fed dd { font-size: 22px; }
  .ft-top { padding-top: 40px; }
  .ft-word .wordcut { height: 80px; }
  .lp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)) 16px; padding: 0 var(--gut); }
}
.lp [data-card] .lp-fl, .bk-p .lp-fl, .ft-news .lp-fl, .lp-try .lp-fl, .sm-chip .lp-fl { margin-right: 6px; }
@media (max-width: 640px) { .lp-title .lp-try { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: calc(100% + 2 * var(--gut)); margin-left: calc(-1 * var(--gut)); padding: 0 var(--gut); box-sizing: border-box; } .lp-title .lp-try::-webkit-scrollbar { display: none; } .lp-try button { flex: none; } }

/* =================== hero, two columns (owner 2026-10-12): the name, counts and search on the left, the match on the right =================== */
.lp-pin { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.lp-left { display: grid; align-items: center; height: 100%; }
.lp-left > * { grid-area: 1 / 1; }
.lp-title { justify-items: start; text-align: left; padding: 0; margin: 0; max-width: 34rem; align-self: center; }
.lp-word .wordcut { height: clamp(76px, 7.4vw, 124px); }
.lp-toru { margin-top: 14px !important; font-size: 19px; }
.lp-counts { margin-top: 8px !important; font-size: 16px; }
.lp-title .lp-find { width: 100%; height: 60px; margin-top: 28px; border-radius: 16px; padding: 0 16px 0 18px; }
.lp-title .lp-find input { font-size: 17.5px; }
.lp-title .lp-try { justify-content: flex-start; margin-top: 14px; }
.lp-try button { height: 36px; padding: 0 13px; font-size: 14.5px; background: transparent; box-shadow: inset 0 0 0 1px var(--border); }
.lp-left > .lp-steps { display: grid; align-self: center; opacity: 1; }
.lp-left > .lp-steps li { opacity: 0; }
.lp-done .lp-left > .lp-steps { display: none; }
@media (max-width: 960px) {
  .lp-pin { display: flex; flex-direction: column; height: auto; gap: 0; padding-top: 24px; }
  .lp-left { display: contents; }
  .lp-title { order: 0; max-width: none; width: 100%; padding: 0 0 20px; }
  .lp-stagewrap { order: 1; margin-top: 0; }
  .lp-left > .lp-steps { order: 2; margin-top: 18px; min-height: 8.5rem; }
  .lp-done .lp-left > .lp-steps { display: grid; gap: 18px; }
  .lp-done .lp-left > .lp-steps li { opacity: 1; grid-area: auto; }
}
@media (max-width: 640px) {
  .lp-pin { padding-top: 18px; }
  .lp-word .wordcut { height: 64px; }
  .lp-toru { font-size: 16px; margin-top: 10px !important; }
  .lp-counts { font-size: 14.5px; }
  .lp-title .lp-find { height: 54px; margin-top: 18px; }
  .lp-title .lp-try { margin-top: 10px; width: calc(100% + 2 * var(--gut)); }
}
/* who is who after zanshin: a small tag at each kendoka's feet, and the card names the sides */
.st-card-row { grid-template-columns: 12px minmax(0, 1fr) auto auto; }
.st-card-row em { font-style: normal; font-size: 13px; color: var(--muted); }
/* the result card sits over the hall, so both kendoka and their side tags stay in view */
.st-card { left: 3%; top: 4%; right: auto; bottom: auto; }

/* =================== round 7 (owner review): fewer boxes and pills; type, fine rules, ink and kendo objects =================== */
/* you: a search and one live kendoka */
.lp-findme { margin-top: 24px; height: 58px; width: min(460px, 100%); }
.me { display: grid; gap: 10px; padding: 26px 0 0; border-top: 2px solid var(--text); color: inherit; }
.me-rank { font-size: 15px; color: var(--muted); } .me-rank b { color: var(--text); font-size: 18px; }
.me-name { font-size: clamp(30px, 3.2vw, 44px); font-weight: 650; letter-spacing: -.03em; line-height: 1.05; display: flex; gap: 12px; align-items: center; }
.me-rec { font-size: 17px; color: var(--text-2); } .me-rec b { color: var(--text); font-size: 22px; font-weight: 600; margin: 0 2px 0 8px; } .me-rec b:first-child { margin-left: 0; }
.me-last { display: grid; margin-top: 8px; border-top: 1px solid var(--border); }
.me-m { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 46px; border-bottom: 1px solid var(--border); font-size: 16px; }
.me-m > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-wz { display: flex; gap: 4px; }
.me:hover .me-name { color: var(--ai); }
.f-W, .f-L, .f-D { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; font: 600 13px/1 var(--sans); font-style: normal; }
.f-W { background: var(--text); color: #fff; } .f-L { box-shadow: inset 0 0 0 1.5px var(--text); color: var(--text); } .f-D { box-shadow: inset 0 0 0 1px var(--border-strong); color: var(--muted); }

/* bracket: a tournament board in ink, the champion's path drawn in */
.bk-board { margin-top: 8px; }
.bk-title { margin-bottom: 28px !important; }
.bk-title a { font-size: clamp(22px, 2vw, 28px); }
.bk-title span { display: inline-flex; gap: 6px; align-items: center; }
.bk-tree { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); gap: 0 64px; }
.bk-semis { gap: 0; }
.bk-m { background: none; box-shadow: none; border-radius: 0; padding: 18px 0; position: relative; }
.bk-m .bk-p:last-child { border-bottom: 1px solid var(--border); }
.bk-k { font-size: 14px; color: var(--muted); font-weight: 500; padding: 0 0 6px; }
.bk-sw { width: 10px; height: 10px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--text); }
.bk-sw.red { background: var(--vermilion); box-shadow: none; }
/* the lines: from each semi-final to the final, from the final to the champion; the champion's path in ink */
.bk-semis .bk-m::after, .bk-mid .bk-m::after { content: ""; position: absolute; left: 100%; top: 58%; width: 32px; height: 0; border-top: 1.5px solid var(--border-strong); transform-origin: left; transform: scaleX(0); transition: transform .5s ease; }
.bk-semis::after { content: ""; position: absolute; left: calc(100% + 32px); top: calc(25% + 8%); bottom: calc(25% - 8%); border-left: 1.5px solid var(--border-strong); transform-origin: top; transform: scaleY(0); transition: transform .5s ease .4s; }
.bk-mid .bk-m::before { content: ""; position: absolute; right: 100%; top: 58%; width: 32px; border-top: 1.5px solid var(--text); transform-origin: left; transform: scaleX(0); transition: transform .4s ease .8s; }
.bk-m.bk-won::after { border-color: var(--text); }
.bk-mid .bk-m::after { width: 40px; border-top: 2px solid var(--text); transition-delay: 1.1s; }
.bk-in .bk-semis .bk-m::after, .bk-in .bk-mid .bk-m::after, .bk-in .bk-mid .bk-m::before { transform: scaleX(1); }
.bk-in .bk-semis::after { transform: scaleY(1); }
.bk-champ { padding-left: 16px; opacity: 0; transform: translateX(-8px); transition: opacity .5s ease 1.4s, transform .5s ease 1.4s; }
.bk-in .bk-champ { opacity: 1; transform: none; }
.bk-c { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; text-align: left; }
.bk-other { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 28px; font-size: 16px; color: var(--text-2); }
.bk-q { position: relative; display: inline-block; }
.bk-q input { width: 260px; height: 40px; border: 0; border-bottom: 1.5px solid var(--text); background: none; font: 16px var(--sans); color: var(--text); outline: none; padding: 0 2px; }
.bk-q .lp-res { min-width: 320px; }
@media (prefers-reduced-motion: reduce) { .bk-m::after, .bk-m::before, .bk-semis::after, .bk-champ { transition: none !important; } }

/* countries: the country name is the selector; years in big numerals, fine rules */
.cy-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; }
.cy-pick { position: relative; display: inline-flex; align-items: baseline; }
.cy-pick select { appearance: none; border: 0; background: none; font: inherit; color: var(--ai); letter-spacing: inherit; padding: 0 1.1em 0 0; cursor: pointer; border-bottom: 3px solid currentColor; line-height: 1.05; }
.cy-pick::after { content: ""; position: absolute; right: .15em; top: 50%; width: .3em; height: .3em; border: solid var(--ai); border-width: 0 .08em .08em 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cy-fed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px !important; font-size: 16px; color: var(--text-2); }
.cy-fed img { width: 40px; height: 40px; object-fit: contain; }
.cy-fed a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-strong); }
.cy-fed span { color: var(--muted); }
.cy-years { margin-top: 28px; border-top: 1px solid var(--text); }
.cy-years li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cy-y { font-size: clamp(34px, 3.4vw, 48px); font-weight: 650; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.cy-mw { display: grid; gap: 2px; font-size: 18px; text-align: left; min-width: 0; }
.cy-mw em { font-style: normal; font-size: 14px; color: var(--muted); }
.cy-mw > :is(button, span) { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cy-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 36px; }
.cy-cols h3 { font-size: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--text); }
.cy-cols li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 46px; border-bottom: 1px solid var(--border); font-size: 16px; }
.cy-cols li > :is(a, button) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.cy-cols div:last-child li { grid-template-columns: minmax(0, 1fr) auto; }
.cy-n { color: var(--ai); font-weight: 650; font-size: 15px; min-width: 28px; }
.cy-cols em { font-style: normal; color: var(--muted); font-size: 14px; }

/* coming up: weeks on a running line */
.tl { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; border-top: 2px solid var(--text); padding-bottom: 8px; }
.tl::-webkit-scrollbar { display: none; }
.tl-wk { flex: 1 0 300px; min-width: 300px; padding-right: 28px; scroll-snap-align: start; position: relative; }
.tl-wk::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--text); }
.tl-k { font-size: 15px; font-weight: 600; padding: 18px 0 6px; }
.tl-wk ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 28px; }
.tl-wk a { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); max-width: 300px; }
.tl-wk time { grid-row: 1 / 3; display: grid; align-content: start; font-size: 14px; color: var(--muted); text-transform: uppercase; }
.tl-wk time b { font-size: 30px; line-height: 1; color: var(--text); letter-spacing: -.03em; }
.tl-n { font-size: 16px; line-height: 1.3; font-weight: 500; }
.tl-s { font-size: 14px; color: var(--muted); margin-top: 3px; }
.tl-wk a:hover .tl-n { color: var(--ai); }

/* scouting: a real sheet, then five zekken against five */
.sc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.sc-sheet { padding: 26px 28px; background: #fff; box-shadow: 0 1px 0 var(--border), 0 30px 60px -40px rgb(17 19 24 / 40%); position: relative; }
.sc-sheet::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--border); pointer-events: none; }
.sc-k { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.sc-sheet h3 { font-size: 26px; margin-top: 6px; } .sc-sheet h3 a { display: inline-flex; gap: 10px; align-items: center; }
.sc-rec { color: var(--text-2); margin-top: 4px !important; }
.sc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 22px; }
.sc-cols h4 { font-size: 15px; margin: 0 0 8px; }
.sc-bar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: center; min-height: 28px; font-size: 15px; }
.sc-bar i { height: 8px; background: var(--border); position: relative; overflow: hidden; }
.sc-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--hit); transform-origin: left; transform: scaleX(0); transition: transform .8s cubic-bezier(.2, .8, .2, 1) .2s; }
.sc-in .sc-bar i::after { transform: none; }
.sc-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.sc-form { display: flex; flex-wrap: wrap; gap: 4px; }
.sc-h2h { font-size: 16px; display: flex; gap: 8px; align-items: center; } .sc-h2h b { margin-left: auto; }
.sc-cols h4 + .sc-form + h4 { margin-top: 18px; }
.sc-plan { margin-top: 22px; border-top: 1px solid var(--text); counter-reset: sp; }
.sc-plan li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--border); position: relative; font-size: 16px; line-height: 1.45; counter-increment: sp; }
.sc-plan li::before { content: counter(sp); position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.sc-plan span { color: var(--text-2); }
.sc-team h3 { font-size: 22px; margin-bottom: 18px; } .sc-team h3 span { display: block; font-size: 16px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.tm { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tm li { display: grid; gap: 10px; justify-items: center; opacity: 0; transform: translateY(18px); transition: opacity .5s ease calc(var(--i) * .12s), transform .5s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .12s); }
.tm-in .tm li { opacity: 1; transform: none; }
.tm-pos { font-size: 15px; font-weight: 600; }
.tm-pair { display: grid; gap: 8px; width: 100%; }
.zk { display: grid; justify-items: center; background: #fff; border: 1.5px solid var(--text); border-radius: 2px 2px 6px 6px; padding: 0 0 10px; min-height: 96px; overflow: hidden; }
.zk-top { width: 100%; text-align: center; background: var(--text); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .1em; padding: 4px 0; }
.zk-name { writing-mode: vertical-rl; text-orientation: mixed; font-size: 17px; font-weight: 600; letter-spacing: .04em; margin-top: 8px; max-height: 120px; overflow: hidden; }
.tm-pair .zk + .zk { opacity: .7; }
.tm-e { font-size: 14px; color: var(--muted); text-align: center; } .tm-e b { display: block; font-size: 22px; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .tm li { opacity: 1; transform: none; transition: none; } .sc-bar i::after { transform: none; transition: none; } }

/* shops: a shelf of kendo objects in ink; each opens its kind of shop */
.shelf ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border-bottom: 3px solid var(--text); position: relative; }
.shelf li { opacity: 0; transform: translateY(24px); transition: opacity .5s ease calc(var(--i) * .08s), transform .6s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .08s); }
.sh-in li { opacity: 1; transform: none; }
.shelf a { display: grid; justify-items: center; gap: 4px; padding: 12px 6px 14px; color: var(--text); }
.sh-art { display: block; width: 100%; max-width: 110px; aspect-ratio: 1; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.sh-art svg { width: 100%; height: 100%; display: block; }
.shelf a:hover .sh-art, .shelf a:focus-visible .sh-art { transform: translateY(-10px) rotate(-4deg); }
.sh-l { font-size: 16px; font-weight: 600; margin-top: 6px; }
.sh-n { font-size: 14px; color: var(--muted); }
.lp-shop, .lp-more-shot { display: none; }
.lp-qs { margin-top: 64px; }
@media (prefers-reduced-motion: reduce) { .shelf li { opacity: 1; transform: none; transition: none; } .sh-art { transition: none; } }

/* footer: short; the cut name, the links, the corrections */
.lp-foot { padding-bottom: 48px; }
.ft { display: grid !important; grid-template-columns: auto 1fr; gap: 32px 64px; align-items: start; padding-top: 44px; }
.ft-word .wordcut { height: 64px; }
.ft-links { padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ft-links a { font-size: 15.5px; }

@media (max-width: 960px) {
  .sc { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .cy-cols { grid-template-columns: 1fr; gap: 28px; }
  .ft { grid-template-columns: 1fr; }
  .ft-links { grid-template-columns: 1fr 1fr; }
  .bk-tree { grid-template-columns: minmax(0, 1fr); }
  .bk-semis::after, .bk-m::after, .bk-m::before { display: none; }
  .bk-champ { padding: 8px 0 0; border-top: 2px solid var(--text); }
  .shelf ol { grid-template-columns: repeat(7, 34%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
  .shelf ol::-webkit-scrollbar { display: none; }
  .shelf li { scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .lp-findme { width: 100%; height: 54px; }
  .me-name { font-size: 30px; }
  .cy-h { font-size: 30px; }
  .cy-years li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 16px; }
  .cy-y { grid-column: 1 / -1; font-size: 32px; }
  .tl-wk { min-width: 82%; padding-right: 20px; }
  .sc-sheet { padding: 20px 18px; margin: 0 calc(-1 * var(--gut)); }
  .sc-cols { grid-template-columns: 1fr; gap: 18px; }
  .tm { grid-template-columns: repeat(5, 46%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 8px; }
  .tm::-webkit-scrollbar { display: none; }
  .tm li { scroll-snap-align: start; }
  .bk-q input { width: 100%; }
  .bk-other { display: grid; }
  .ft-word .wordcut { height: 52px; }
}

/* =================== the story, redone: board, speed lines, zanshin trail, step dots, the final on video =================== */
.st-card { display: none; }
.st-board { position: absolute; left: 3%; top: 4%; min-width: 30%; padding: 10px 14px 8px; background: rgb(255 255 255 / 94%); box-shadow: 0 0 0 1px rgb(17 19 24 / 10%), 0 12px 30px -16px rgb(17 19 24 / 40%); font-size: clamp(13px, 1.1vw, 15px); }
.st-board p { font-size: clamp(12px, .95vw, 14px); color: var(--muted); margin-bottom: 4px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 32ch; }
.sb-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 30px; border-top: 1px solid var(--border); }
.sb-row b { font-weight: 600; }
.sb-pts { display: flex; gap: 4px; min-width: 22px; }
.lp-moving .sb-m { opacity: 0; }
.st-speed, .st-trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.st-speed path { fill: none; stroke: var(--text); stroke-width: .35; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.st-trail path { fill: none; stroke: var(--ai); stroke-width: .45; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.st-whiteB img { transform-origin: 34% 100%; }
.st-l { will-change: transform, opacity; }
.lp-stage { will-change: transform; }
/* step dots beside the stage: where you are, and a click goes there */
.st-dots { position: absolute; right: -36px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.st-dots button { width: 22px; height: 22px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; position: relative; }
.st-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: transform .25s, background-color .25s; }
.st-dots button[aria-current="true"]::before { background: var(--text); transform: scale(1.4); }
.st-dots span { position: absolute; right: 30px; white-space: nowrap; font-size: 14px; color: var(--muted); opacity: 0; transition: opacity .2s; pointer-events: none; }
.st-dots button:hover span, .st-dots button:focus-visible span { opacity: 1; }
.lp-done .st-dots { display: none; }
/* the final, on video */
.lp-watchf { padding: 72px 0 24px; }
.lp-watchf h2 { margin-bottom: 20px; }
.vf { position: relative; aspect-ratio: 16 / 9; max-width: 960px; background: #000; }
.vf iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 1500px) { .st-dots { right: auto; left: -32px; } .st-dots span { right: auto; left: 30px; } }
@media (max-width: 960px) {
  .st-dots { position: static; transform: none; display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
  .st-dots button { width: 40px; height: 32px; }
  .st-dots span { display: none; }
  .lp-watchf { padding-top: 48px; }
}
@media (max-width: 640px) { .st-board { min-width: 0; padding: 6px 10px 4px; } .sb-row { height: 24px; } .st-board p { display: none; } }
@media (prefers-reduced-motion: reduce) { .st-dots button::before { transition: none; } }

/* round 8: bracket lines meet the boxes (each line at its box's centre; the two semis share the column halves) */
.bk-tree { align-items: stretch; }
.bk-semis { display: grid; grid-template-rows: 1fr 1fr; }
.bk-semis .bk-m, .bk-mid { align-self: center; }
.bk-mid { display: grid; align-content: center; }
.bk-semis .bk-m::after, .bk-mid .bk-m::after, .bk-mid .bk-m::before { top: 50%; }
.bk-semis::after { top: 25%; bottom: 25%; }
.bk-p { grid-template-columns: 12px minmax(0, 1fr) auto; }
.bk-sw { align-self: center; justify-self: start; }
/* countries: the federation is a plain line under the heading */
#lp-find .cy-fed { display: flex; grid-template-columns: none; background: none; box-shadow: none; border-radius: 0; padding: 14px 0; margin: 20px 0 0 !important; border-bottom: 1px solid var(--border); }
/* scouting: sheet and team side by side; nothing wraps in the head-to-head */
.sc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.sc-h2h { white-space: nowrap; } .sc-h2h b { white-space: nowrap; }
.sc-cols { grid-template-columns: 1fr 1.1fr; }
.zk { cursor: pointer; font: inherit; color: var(--text); width: 100%; }
.zk-r { font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (max-width: 960px) { .sc { grid-template-columns: minmax(0, 1fr); } }
.bk-champ { align-self: center; display: grid; align-content: center; }
.zk { height: 150px; align-content: start; }
.zk-name { height: 84px; }
/* flags: a class per shinpan from the playhead */
.lp-moving .st-down { opacity: 1 !important; transition: opacity .12s; }
.lp-moving .st-down.off { opacity: 0 !important; }
.lp-moving .st-up { opacity: 0 !important; transform: translateY(8px) scale(.97); transition: opacity .15s, transform .25s cubic-bezier(.3, 1.8, .5, 1); }
.lp-moving .st-up.on { opacity: 1 !important; transform: none; }
.zk { height: 176px; } .zk-name { height: 108px; font-size: 16px; }

/* =================== dividers: one gesture each, drawn in on view =================== */
.lp-div { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); color: var(--text); }
.lp-div svg { display: block; width: 100%; }
.dv-cut svg { height: 40px; }
.dv-line { fill: none; stroke: var(--border-strong); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease; }
.dv-slash { fill: none; stroke: var(--text); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .22s cubic-bezier(.5, 0, .2, 1) .7s; }
.dv-cut.in .dv-line, .dv-cut.in .dv-slash { stroke-dashoffset: 0; }
.dv-tenugui { padding-top: 8px; padding-bottom: 8px; }
.dv-cloth { height: 26px; background-color: var(--ai); -webkit-mask: none; background-image: radial-gradient(circle at 50% 100%, transparent 6px, rgb(255 255 255 / 55%) 6.5px, rgb(255 255 255 / 55%) 7.5px, transparent 8px, transparent 10px, rgb(255 255 255 / 35%) 10.5px, rgb(255 255 255 / 35%) 11.5px, transparent 12px); background-size: 24px 13px; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.6, 0, .2, 1); border-radius: 2px; }
.dv-tenugui.in .dv-cloth { clip-path: inset(0 0 0 0); }
.dv-tare { display: flex; justify-content: center; padding-top: 18px; padding-bottom: 18px; }
.dv-tare svg { width: min(340px, 80%); height: auto; }
.dv-tare .dv-t { opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.dv-tare > svg > g:nth-child(2) .dv-t { transition-delay: .08s; } .dv-tare > svg > g:nth-child(3) .dv-t { transition-delay: .16s; } .dv-tare > svg > g:nth-child(4) .dv-t { transition-delay: .24s; } .dv-tare > svg > g:nth-child(5) .dv-t { transition-delay: .32s; }
.dv-tare.in .dv-t { opacity: 1; transform: none; }
.dv-tare .zk-bag { fill: #fff; }
.dv-steps svg { height: 60px; color: var(--border-strong); }
.dv-steps g { opacity: 0; transition: opacity .3s ease calc(var(--i) * .14s); }
.dv-steps.in g { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .dv-line, .dv-slash, .dv-cloth, .dv-tare .dv-t { transition: none; } }
/* a small piece of bogu beside a heading */
.lp-obj { display: inline-block; width: .9em; height: .9em; margin-right: .25em; vertical-align: -.08em; }
.lp-obj svg { width: 100%; height: 100%; display: block; }
/* the shinai section: full width, the paper of the page */
.lp-shinai { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-shinai .fs-title { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); }
.shelf ol { grid-template-columns: repeat(11, minmax(0, 1fr)); }
.shelf .sh-l { font-size: 15px; text-align: center; }
@media (max-width: 1180px) { .shelf ol { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 18px; } }
@media (max-width: 960px) { .shelf ol { grid-template-columns: repeat(11, 34%); } }
/* hold the space of what loads late, so the page doesn't jump under the reader */
.bk-board { min-height: 380px; } #lp-cy { min-height: 560px; } .sc-team { min-height: 380px; } #lp-shelf { min-height: 190px; }
@media (max-width: 960px) { .bk-board { min-height: 560px; } #lp-cy { min-height: 900px; } .sc-team { min-height: 300px; } }
.dv-tare { align-items: center; gap: 24px; }
.dv-tare svg { width: min(520px, 70%); flex: none; }
.dv-tare i { flex: 1; height: 1px; background: var(--border-strong); }

/* =================== round 11: one rhythm. Every section the same padding, white and paper alternating, one column =================== */
.lp { --sec: 104px; }
.lp-sec { padding: var(--sec) 0; margin: 0; }
.lp-sec > .lp-wrap > :last-child { margin-bottom: 0; }
.lp-head { margin-bottom: 40px; }
.bk-board { min-height: 0; } .bk-other { margin-top: 24px; }
.lp-qs { margin-top: 0; }
#lp-faq { padding-top: 72px; padding-bottom: 72px; }
/* the camera moves inside the frame */
.st-cam { position: absolute; inset: 0; transform-origin: 50% 62%; will-change: transform; }
@media (max-width: 960px) { .lp { --sec: 72px; } .bk-board { min-height: 0; } }
@media (max-width: 640px) { .lp { --sec: 56px; } .lp-head { margin-bottom: 28px; } #lp-faq { padding: 48px 0; } }
.cy-pick { flex: none; }
.cy-pick select { width: auto; max-width: 100%; }
.sh-art { max-width: 120px; aspect-ratio: 1; display: grid; place-items: center; }
.sh-art svg { width: 100%; height: 100%; object-fit: contain; }
/* the footer: the shinai loop in the middle, the name and the links around it, on the indigo */
.lp-foot { padding: 0 0 44px; }
.ft-loop { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gut) 8px; min-height: 360px; color: #e9edf4; }
.ft { grid-template-columns: auto 1fr; align-items: end; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 12%); }
@media (max-width: 960px) { .ft-loop { min-height: 300px; padding-top: 32px; } }
.shelf ol { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 28px; border-bottom: 0; }
.shelf li { border-bottom: 2px solid var(--text); }
.sh-art { max-width: 150px; }
@media (max-width: 960px) { .shelf ol { grid-template-columns: repeat(11, 40%); row-gap: 0; } .shelf li { border-bottom: 0; } .shelf ol { border-bottom: 2px solid var(--text); } }
@media (max-width: 960px) { .ft { grid-template-columns: minmax(0, 1fr); gap: 24px; } .ft-links { grid-template-columns: 1fr 1fr; gap: 20px 24px; } }
/* zekken: Latin family names read across, not turned on their side (no vertical Latin text) */
.zk-name { writing-mode: horizontal-tb; text-orientation: initial; height: auto !important; max-height: none; margin: 14px 4px 8px; font-size: 15px; line-height: 19px; text-align: center; overflow-wrap: anywhere; }
.zk { height: auto !important; min-height: 120px; }
.sm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px 24px; margin: 12px 0 8px; }
.sm-cell { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--border); padding-top: 10px; }
.sm-cell b { font-family: var(--display); font-size: 28px; line-height: 32px; font-weight: 650; }
.sm-cell span { font-size: 14px; color: var(--muted); }
/* the story's steps are text stacked in one cell, most of them invisible: they must never take a click meant for the hero search under them */
.lp-steps, .lp-steps li { pointer-events: none; }
