/* ipporu.com product vignettes (12-03, the owner's review of v4): each product drawn in the site's own type and colours instead of a
   screenshot. Light and dark follow the page (a court section is always dark); every vignette is whole at any width (it reflows by
   container queries, never crops), text never under 14px, and motion only moves or reveals: text is never faded (owner 11-22).
   The people are invented (gen.py checks every name against the record). */
.vgw { container-type: inline-size; width: 100%; }
.vg { --c: var(--paper); --c2: var(--tint); --ln: var(--line); --sh: 0 0 0 1px var(--line), 0 50px 90px -50px rgb(12 19 34 / 40%);
  font-size: clamp(15px, 1.5cqi + 7px, 18px); line-height: 1.4; color: var(--ink); text-align: left; }
.v-court .vg, :root[data-theme="dark"] .vg { --c: #141a26; --c2: #1c2333; --ln: #ffffff1c; --sh: 0 0 0 1px #ffffff1c, 0 50px 90px -40px rgb(0 0 0 / 70%); }
.vg-card, .vg .vg-card { background: var(--c); border-radius: 22px; box-shadow: var(--sh); padding: 1.5em; }
.vg .g-lbl { margin: 0 0 .8em; font: 600 max(14px, .78em)/1.2 var(--sans); color: var(--muted); letter-spacing: .01em; }
.vg small { font-size: max(14px, .8em); color: var(--text-2); }
.vg .nm { white-space: nowrap; } .vg .nm b { font-weight: 650; }
.vg .av { flex: none; display: grid; place-items: center; width: 3.2em; height: 3.2em; border-radius: 50%; background: var(--ink); color: var(--page); font: 650 1.05em/1 var(--display); letter-spacing: -.01em; }
.vg .av.sq { border-radius: 14px; background: var(--c2); color: var(--ink); }
.vg .av.g-sm { width: 2.3em; height: 2.3em; font-size: max(14px, .8em); }
/* ippon letters: the first ippon of a match in the one circle */
.vg .g-ips { display: inline-flex; gap: .15em; align-items: center; }
.vg .ipl { display: inline-grid; font-style: normal; place-items: center; width: 1.75em; height: 1.75em; font: 650 .95em/1 var(--display); font-style: normal; color: var(--ink); }
.vg .ipl.f { border-radius: 50%; box-shadow: inset 0 0 0 2px var(--aka); color: var(--aka-text); }
.vg .bdg { justify-self: start; display: inline-flex; align-items: center; min-height: 1.9em; padding: 0 .75em; border-radius: 999px; background: var(--c2); font: 600 max(14px, .8em)/1 var(--sans); color: var(--ink); white-space: nowrap; }
.vg .bdg.edge { background: color-mix(in srgb, var(--aka) 16%, transparent); color: var(--aka-text); }

/* ---------- your page ---------- */
.vg-page { padding: 1.8em; }
.vg-page .ph, .vg-scout .ph { display: flex; align-items: center; gap: 1em; padding-bottom: 1.3em; border-bottom: 1px solid var(--ln); }
.vg .g-who { display: grid; gap: .3em; min-width: 0; }
.vg .g-who .nm, .vg .g-who .t { font: 600 1.45em/1.15 var(--display); letter-spacing: -.02em; }
.vg .g-who small { display: flex; align-items: center; gap: .5em; flex-wrap: wrap; }
.vg .g-who img { border-radius: 2px; width: 1.25em; height: auto; }
.vg .rt { margin-left: auto; display: grid; justify-items: end; gap: .2em; }
.vg .rt b { font: 650 2.1em/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vg .rt .g-up { font-style: normal; color: #2f9e62; font-weight: 600; }
.vg-page .pb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2em; padding-top: 1.5em; align-items: center; }
.vg-page .pf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2em; align-items: center; }
.vg-page .g-fig { max-height: 22em; justify-self: center; width: 100%; }
.vg .tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55em; }
.vg .tiles li { display: grid; gap: .2em; padding: .8em .9em; border-radius: 14px; background: var(--c2); }
.vg .tiles b { font: 650 1.7em/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vg .tiles span { font-size: max(14px, .82em); color: var(--text-2); }
.vg .tiles li.g-on { background: color-mix(in srgb, var(--aka) 15%, transparent); } .vg .tiles li.g-on b { color: var(--aka-text); }
.vg .g-mt { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.vg .g-mt li { position: relative; display: grid; gap: .55em; padding: .9em 1em .9em 1.2em; border-radius: 14px; background: var(--c2); }
.vg .g-mt li.g-w::before { content: ""; position: absolute; left: 0; top: .8em; bottom: .8em; width: 3px; border-radius: 2px; background: var(--aka); }
.vg .g-mt .ev { display: flex; justify-content: space-between; gap: 1em; align-items: baseline; }
.vg .g-mt .ev b { font-weight: 600; }
.vg .g-mt .g-sc { display: flex; align-items: center; gap: .6em; }
.vg .g-mt .vs { flex: 1; color: var(--text-2); }
.vg .g-mt .vs::before { content: "vs "; color: var(--muted); }
@container (max-width: 700px) {
  .vg-page .pb { grid-template-columns: 1fr; gap: 1.4em; }
  .vg-page .g-fig { max-height: 17em; }
}
@container (max-width: 430px) {
  .vg-page, .vg .vg-card, .vg.vg-card { padding: 1.15em; }
  .vg .g-who .nm, .vg .g-who .t { font-size: 1.25em; }
  .vg .rt b { font-size: 1.6em; }
  .vg .av { width: 2.6em; height: 2.6em; }
  .vg-page .g-fig { max-height: 14em; }
  .vg .g-mt .ev { flex-direction: column; gap: .15em; }
}
.vg-page.compact .g-pm .g-mt li:nth-child(n+3) { display: none; }

/* ---------- Ask ipporu: the question types itself, the answer comes in under the mark ---------- */
.vg-ask { display: grid; gap: 1.2em; padding: 1.6em; }
.vg-ask .ch { display: grid; gap: 1.3em; }
.vg-ask .g-q { justify-self: end; max-width: 80%; margin: 0; padding: .85em 1.1em; border-radius: 20px 20px 6px 20px; background: var(--ink); color: var(--page); font-size: 1.08em; font-weight: 500; }
.vg-ask .a { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: .9em; align-items: start; }
.vg-ask .am { width: 2.4em; height: 2.4em; color: var(--ink); }
.vg-ask .ab { display: grid; gap: .7em; }
.vg-ask .g-st { margin: 0; font-size: 1.08em; line-height: 1.5; text-wrap: pretty; }
.vg-ask .g-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .7em; margin-top: .3em; }
.vg .mc { display: flex; align-items: center; gap: .8em; padding: .85em 1em; border-radius: 16px; background: var(--c2); min-width: 0; }
.vg .mc > span { display: grid; gap: .15em; min-width: 0; }
.vg .mc b { font-weight: 600; }
.vg .mc .g-pl { flex: none; position: relative; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--aka); }
.vg .mc .g-pl::after { content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%; border: .42em solid transparent; border-left: .66em solid #fff; border-right: 0; }
.vg-ask .bar { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .55em .55em .55em 1.1em; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2, var(--ln)); color: var(--muted); }
.vg-ask .bar span { font-size: max(14px, .9em); color: var(--text-2); }
.vg-ask .bar b { padding: .6em 1.1em; border-radius: 999px; background: var(--ink); color: var(--page); font-size: max(14px, .85em); font-weight: 600; }
@container (max-width: 520px) {
  .vg-ask { padding: 1.15em; }
  .vg-ask .g-q { max-width: 92%; }
  .vg-ask .g-cards { grid-template-columns: 1fr; }
  .vg-ask .a { grid-template-columns: 1fr; gap: .6em; }
  .vg-ask .am { width: 2em; height: 2em; }
}
.vg-ask .rest { visibility: hidden; }

/* ---------- the team order ---------- */
.vg-order { padding: 1.6em; }
.vg-order .oh { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1em; align-items: center; padding-bottom: 1.2em; border-bottom: 1px solid var(--ln); }
.vg-order .tm { display: grid; gap: .25em; }
.vg-order .tm b { font: 600 1.3em/1.15 var(--display); letter-spacing: -.015em; }
.vg-order .tm.r { text-align: right; }
.vg-order .g-x { font: 600 max(14px, .85em)/1 var(--sans); color: var(--muted); }
.vg-order ol { list-style: none; margin: 0; padding: 0; }
.vg-order li { display: grid; grid-template-columns: 6.5em minmax(0, 1.25fr) minmax(0, 1.5fr) 4.5em; gap: 1.2em; align-items: center; padding: .95em 0; border-bottom: 1px solid var(--ln); }
.vg-order li:last-child { border-bottom: 0; padding-bottom: 0; }
.vg-order .pos { display: grid; gap: .1em; }
.vg-order .pos b { font: 600 1em/1.2 var(--display); }
.vg-order .g-pair { display: grid; gap: .15em; }
.vg-order .g-pair .vsx { font-style: normal; font-size: max(14px, .78em); color: var(--muted); }
.vg-order .g-pair .nm:last-child { color: var(--text-2); }
.vg-order .g-pl { color: var(--text-2); text-wrap: pretty; }
.vg-order .bdg { justify-self: end; }
@container (max-width: 760px) {
  .vg-order li { grid-template-columns: minmax(0, 1fr) auto; gap: .45em 1em; }
  .vg-order .pos { grid-column: 1; display: flex; gap: .6em; align-items: baseline; }
  .vg-order .bdg { grid-column: 2; grid-row: 1; }
  .vg-order .g-pair { grid-column: 1 / -1; display: flex; gap: .5em; flex-wrap: wrap; align-items: baseline; }
  .vg-order .g-pl { grid-column: 1 / -1; }
}
@container (max-width: 430px) {
  .vg-order { padding: 1.15em; }
  .vg-order .oh { grid-template-columns: 1fr; gap: .4em; }
  .vg-order .tm.r { text-align: left; }
  .vg-order .g-x { display: none; }
  .vg-order .tm b { font-size: 1.1em; }
}
.vg-order.compact li .g-pl { display: none; }
.vg-order.compact li { padding: .7em 0; }

/* ---------- Live: the court's board and the knockout ---------- */
.vg-live .sb { display: flex; flex-direction: column; } .vg-live .sb .nx { margin-top: auto; }
.vg-live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2em; align-items: stretch; }
.vg .sbh { display: flex; align-items: center; gap: .7em; margin: 0 0 1.1em; flex-wrap: wrap; }
.vg .sbh b { font: 600 1.25em/1 var(--display); }
.vg .lv { display: inline-flex; align-items: center; gap: .4em; padding: .35em .7em; border-radius: 999px; background: var(--aka); color: #fff; font: 600 max(14px, .78em)/1 var(--sans); }
.vg .lv::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #fff; }
.vg .clk { margin-left: auto; font: 600 1.6em/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.vg .sd { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1em; min-height: 3.8em; padding: 0 1em 0 1.5em; border-radius: 14px; background: var(--c2); font-size: 1.15em; }
.vg .sd + .sd { margin-top: .55em; }
.vg .sd .g-band { position: absolute; left: 0; top: 0; bottom: 0; width: .45em; border-radius: 14px 0 0 14px; }
.vg .sd.aka .g-band { background: var(--aka); }
.vg .sd.shiro .g-band { background: #fff; box-shadow: inset -1px 0 0 var(--ln), inset 0 0 0 1px #0c13221f; }
.vg .sd .ipl { width: 1.9em; height: 1.9em; font-size: 1.05em; }
.vg .br .bk { display: grid; grid-template-columns: minmax(0, 1fr) 2.2em minmax(0, 1fr); align-items: center; }
.vg .br .col { display: grid; gap: 1em; }
.vg .br .m { display: grid; gap: .3em; padding: .7em .85em; border-radius: 14px; background: var(--c2); }
.vg .br .m > span { display: flex; justify-content: space-between; gap: .6em; align-items: center; min-height: 1.9em; color: var(--text-2); }
.vg .br .m > span.g-w { color: var(--ink); }
.vg .br .m.now { box-shadow: inset 0 0 0 2px var(--aka); }
.vg .br .m small { color: var(--muted); }
.vg .br .tbd { color: var(--muted); font-size: max(14px, .85em); }
.vg .br .ln { width: 100%; height: 60%; overflow: visible; }
.vg .br .ln path { fill: none; stroke: var(--line-2, var(--ln)); stroke-width: 2; vector-effect: non-scaling-stroke; }
.vg .br .ln path.go { stroke: var(--aka); }
@container (max-width: 760px) { .vg-live { grid-template-columns: 1fr; } }
@container (max-width: 430px) { .vg .br .bk { grid-template-columns: minmax(0, 1.2fr) 1.2em minmax(0, 1fr); } .vg .br .m { padding: .6em .65em; } .vg .clk { font-size: 1.3em; } }
.vg-live.compact .br { display: none; } .vg-live.compact { grid-template-columns: 1fr; }

/* ---------- Partners ---------- */
.vg-partner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.2em; align-items: start; }
.vg .ph2 { display: flex; align-items: center; gap: .9em; margin: 0 0 1em; }
.vg .ph2 .fl { margin-left: auto; padding: .65em 1.1em; border-radius: 10px; background: var(--ink); color: var(--page); font-size: max(14px, .85em); font-weight: 600; }
.vg .tags { display: flex; gap: .45em; flex-wrap: wrap; margin: 0 0 1.3em; }
.vg .tags span { padding: .45em .8em; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2, var(--ln)); font-size: max(14px, .82em); }
.vg .sem { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.vg .sem li { display: flex; align-items: center; gap: 1em; padding: .7em .9em; border-radius: 14px; background: var(--c2); }
.vg .sem li > span:last-child { display: grid; gap: .15em; min-width: 0; }
.vg .sem b { font-weight: 600; }
.vg .dt { flex: none; display: grid; justify-items: center; width: 3.3em; padding: .5em 0; border-radius: 12px; background: var(--ink); color: var(--page); }
.vg .dt b { font: 650 1.35em/1 var(--display); } .vg .dt small { color: inherit; font-size: max(14px, .75em); }
.vg .sem li:first-child .dt { background: var(--aka); color: #fff; }
.vg .kit { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; }
.vg .kit li { display: grid; gap: .15em; padding: .8em .95em; border-radius: 14px; background: var(--c2); }
.vg .kit b { font-weight: 600; }
.vg .shop .g-ft { margin: 1em 0 0; font-size: max(14px, .85em); color: var(--text-2); }
@container (max-width: 760px) { .vg-partner { grid-template-columns: 1fr; } }
.vg-partner.compact .shop { display: none; } .vg-partner.compact { grid-template-columns: 1fr; }
.vg-partner.compact .sem li:nth-child(3) { display: none; }

/* ---------- Pro: the opponent, the road ---------- */
.vg-scout { padding: 1.8em; }
.vg-scout .sb2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2em; padding-top: 1.5em; align-items: center; }
.vg-scout .g-fig { max-height: 21em; width: 100%; justify-self: center; }
.vg-scout .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6em; }
.vg .g-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .65em; }
.vg .g-bars li { display: grid; grid-template-columns: 3.6em minmax(0, 1fr) 1.8em; gap: .7em; align-items: center; }
.vg .g-bars i { display: block; height: .62em; border-radius: 6px; background: var(--ink); width: var(--w); }
.vg .g-bars.hit i { background: var(--aka); }
.vg .g-bars b { font: 600 1em/1 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.vg-scout .h2h { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .7em; margin: .4em 0 0; padding: .9em 1.1em; border-radius: 14px; background: var(--c2); }
.vg-scout .h2h b { font: 650 1.5em/1 var(--display); }
@container (max-width: 700px) { .vg-scout .sb2 { grid-template-columns: 1fr; } .vg-scout .g-fig { max-height: 15em; } }
@container (max-width: 430px) { .vg-scout { padding: 1.15em; } .vg-scout .cols { grid-template-columns: 1fr; gap: 1.1em; } }
.vg-scout.compact .h2h { display: none; }
.vg-road ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }
.vg-road li { display: grid; grid-template-columns: 8em minmax(0, 1fr) minmax(6em, 10em); gap: 1em; align-items: center; padding: .85em 1em; border-radius: 14px; background: var(--c2); }
.vg-road .rd { color: var(--text-2); }
.vg-road .ch { display: grid; grid-template-columns: 1fr 3em; gap: .6em; align-items: center; }
.vg-road .ch i { display: block; height: .55em; border-radius: 6px; background: var(--ink); width: var(--w); }
.vg-road li:first-child .ch i { background: var(--aka); }
.vg-road .ch b { font: 600 1em/1 var(--mono); text-align: right; }
.vg-road .g-ft { margin: 1em 0 0; color: var(--text-2); font-size: max(14px, .9em); }
@container (max-width: 520px) { .vg-road li { grid-template-columns: 1fr auto; } .vg-road .rd { grid-column: 1 / -1; font-size: max(14px, .85em); } .vg-road .ch { grid-template-columns: 4em 3em; } }

/* ---------- the record: the figure both ways, the knockout ---------- */
.vg-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 2em; padding: 1.8em; }
.vg-figs > div { display: grid; justify-items: center; text-align: center; }
.vg-figs .g-fig { width: min(100%, 15em); }
.vg-figs .cap { margin: .8em 0 0; color: var(--text-2); } .vg-figs .cap b { color: var(--ink); }
.vg-figs > div:last-child .cap b { color: var(--aka-text); }
@container (max-width: 380px) { .vg-figs { gap: 1em; padding: 1.1em; } .vg-figs .cap { font-size: max(14px, .85em); } }
.vg-draw .g-dk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4em; align-items: center; }
.vg-draw .col { display: grid; gap: .7em; }
.vg-draw .m { display: grid; gap: .2em; padding: .6em .8em; border-radius: 14px; background: var(--c2); }
.vg-draw .m > span { display: flex; justify-content: space-between; align-items: center; gap: .5em; min-height: 1.9em; color: var(--text-2); }
.vg-draw .m > span.g-w { color: var(--ink); }
.vg-draw .col.f .m { box-shadow: inset 0 0 0 2px var(--aka); }
@container (max-width: 700px) { .vg-draw .g-dk { grid-template-columns: 1fr 1fr; } .vg-draw .col.g-q { display: none; } }
@container (max-width: 430px) { .vg-draw .g-dk { grid-template-columns: 1fr; } .vg-draw .col.s { display: none; } }

/* ---------- the Notebook week ---------- */
.vg-week ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.vg-week li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 1em; align-items: center; padding: .75em 1em; border-radius: 14px; background: var(--c2); }
.vg-week li > span:last-child { display: grid; gap: .15em; }
.vg-week .dy { font: 600 1em/1 var(--display); color: var(--text-2); }
.vg-week b { font-weight: 600; }
.vg-week li.day { background: var(--ink); color: var(--page); } .vg-week li.day small, .vg-week li.day .dy { color: inherit; }

/* ---------- Teams: the keiko log, the roster ---------- */
.vg-log .lh, .vg-log li { display: grid; grid-template-columns: minmax(8em, 1fr) minmax(0, 2fr); gap: 1em; align-items: center; }
.vg-log .lh { padding: 0 1em .5em; }
.vg-log .ds { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4em; justify-items: center; }
.vg-log .lh .ds span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.vg-log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; }
.vg-log li { padding: .7em 1em; border-radius: 14px; background: var(--c2); }
.vg-log .ds i { width: 1.15em; height: 1.15em; border-radius: 50%; }
.vg-log .ds i.y { background: var(--ink); } .vg-log .ds i.n { box-shadow: inset 0 0 0 1.5px var(--line-2, var(--ln)); }
.vg-log li .ds i.y:last-child { background: var(--aka); }
@container (max-width: 560px) { .vg-log .lh, .vg-log li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } .vg-log .nm { white-space: normal; } }
.vg-roster ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55em; }
.vg-roster li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: .1em .8em; align-items: center; padding: .75em .9em; border-radius: 14px; background: var(--c2); }
.vg-roster .av { grid-row: 1 / span 2; }
.vg-roster li small { grid-column: 2; grid-row: 2; }
.vg-roster .bdg { grid-column: 3; grid-row: 1; justify-self: end; }
.vg-roster .pro { grid-column: 3; grid-row: 2; justify-self: end; font: 600 max(14px, .8em)/1 var(--sans); color: var(--aka-text); }
@container (max-width: 600px) { .vg-roster ol { grid-template-columns: 1fr; } }

/* ---------- Live: courts, now and next ---------- */
.vg-courts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.vg .nx { display: flex; flex-wrap: wrap; gap: .3em .6em; align-items: baseline; margin: 1em 0 0; padding-top: .9em; border-top: 1px solid var(--ln); color: var(--text-2); }
.vg .nx small { color: var(--muted); } .vg .nx .vsx { font-style: normal; color: var(--muted); }
@container (max-width: 640px) { .vg-courts { grid-template-columns: 1fr; } }

/* ---------- Seminars ---------- */
.vg-sems .sem li { padding: .85em 1em; }

/* ---------- motion: only once a vignette is on screen (vg.js adds .play), so a still page or a full-page shot shows it whole ---------- */
@keyframes vg-in { from { transform: translateY(14px); clip-path: inset(0 0 100% 0 round 14px); } to { transform: none; clip-path: inset(0 0 0 0 round 14px); } }
@keyframes vg-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes vg-grow { from { width: 0; } }
@keyframes vg-pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: none; } }
@keyframes vg-pulse { 0%, 100% { filter: none; } 50% { filter: brightness(1.25) saturate(1.2); } }
@keyframes vg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .vg.play .g-mt li, .vg.play .sem li, .vg.play .kit li, .vg.play .vg-order li, .vg-order.play li, .vg.play .tiles li, .vg-road.play li, .vg-week.play li,
  .vg-log.play li, .vg-roster.play li, .vg-draw.play .m { animation: vg-in .7s var(--v-ease, ease) both; }
  .vg.play li:nth-child(2), .vg.play .m:nth-child(2) { animation-delay: .12s; } .vg.play li:nth-child(3) { animation-delay: .24s; }
  .vg.play li:nth-child(4) { animation-delay: .36s; } .vg.play li:nth-child(5) { animation-delay: .48s; } .vg.play li:nth-child(6) { animation-delay: .6s; }
  .vg.play .g-bars i, .vg-road.play .ch i { animation: vg-grow 1.1s var(--v-ease, ease) both .2s; }
  .vg.play .bdg.edge { animation: vg-pop .5s ease both 1s; }
  .vg-ask.play .g-st { animation: vg-wipe .9s linear both; animation-delay: calc(var(--d, 1.6s)); }
  .vg-ask.play .g-st + .g-st { animation-delay: calc(var(--d, 1.6s) + .9s); }
  .vg-ask.play .g-cards .mc { animation: vg-in .6s var(--v-ease, ease) both calc(var(--d, 1.6s) + 1.9s); }
  .vg-ask.play .g-cards .mc + .mc { animation-delay: calc(var(--d, 1.6s) + 2.05s); }
  .vg-live.play .ipl.pop { animation: vg-pop .5s ease both 2.2s; }
  .vg-live.play .br .ln path.go { stroke-dasharray: 1; animation: vg-draw 1s ease both 2.6s; }
  .vg-live.play .br .in { animation: vg-wipe .6s ease both 3.4s; }
}

/* ---------- vignettes in the page: a moment's visual fills its column; a hero's sits under its words ---------- */
.vgs { width: 100%; }
.v-ph .vgs { margin-top: 64px; }
.v-ph.side .vgs { margin-top: 0; }
.v-ph.side .v-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.v-ph.v-court .vg, .v-mo.v-court .vg { --page: #0b0e14; }
.v-mo.split .mm .vgs { align-self: center; }
@media (max-width: 900px) { .v-ph .vgs { margin-top: 44px; } .v-ph.side .v-wrap { grid-template-columns: 1fr; gap: 0; } .v-ph.side .vgs { margin-top: 44px; } }

/* ---------- the Apps page: the vignettes on phones (a phone grows with what it holds, so nothing in it is cut) ---------- */
.v-phones.vgp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 72px; align-items: start; }
.vg-phone { position: relative; display: grid; align-content: start; gap: 10px; min-height: 0; padding: 44px 10px 18px; border-radius: 40px; background: var(--page);
  box-shadow: 0 0 0 9px #05070c, 0 0 0 10px #ffffff2b, 0 40px 80px -30px rgb(0 0 0 / 70%); overflow: hidden; }
.vg-phone .isl { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 34%; height: 22px; border-radius: 12px; background: #05070c; }
.v-court .vg-phone { --ink: var(--v-on); }
.vg-phone .vg { --sh: 0 0 0 1px var(--ln); font-size: 15px; }
.vg-phone .vg .vg-card, .vg-phone .vg.vg-card { border-radius: 18px; }
.vg-phone.g-ft { padding: 44px 10px 10px; max-width: 360px; margin: 0 auto; }
.vg-phone.g-ft .v-film { aspect-ratio: 9 / 16; border-radius: 26px; }
.vg-phone.lk { max-width: 360px; margin: 0 auto; padding: 56px 14px 28px; background: linear-gradient(170deg, #1d2a48, #0b0e14 70%); }
.vg-phone.lk .vg { --c: #ffffff1f; --c2: #ffffff14; --ln: #ffffff22; --ink: #fff; --text-2: #dfe4ee; --muted: #c3c9d4; --page: #0b0e14; color: #fff; }
.vg-lock { display: grid; gap: 12px; }
.vg-lock .tm { display: grid; justify-items: center; margin: 0 0 18px; color: #fff; }
.vg-lock .tm small { color: #dfe4ee; font-weight: 600; }
.vg-lock .tm b { font: 600 76px/1 var(--display); letter-spacing: -.03em; }
.vg-lock .la, .vg-lock .g-wd { padding: 1em; backdrop-filter: blur(10px); }
.vg-lock .g-wd p:last-child { margin: 0; }
.v-phones.vgp figcaption { margin-top: 26px; display: grid; gap: 4px; }
.v-phones.vgp figcaption b { font: 600 19px/1.2 var(--display); color: #fff; }
.v-phones.vgp figcaption span { color: var(--text-2); font-size: 16px; }
.v-phones.vgp figure { margin: 0; }
@media (max-width: 1100px) { .v-phones.vgp { grid-template-columns: 1fr 1fr; gap: 48px 28px; } }
@media (max-width: 600px) { .v-phones.vgp { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; } }
/* a flipped moment keeps its visual in the wide column */
.v-mo.split.flip .v-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 900px) { .v-mo.split.flip .v-wrap { grid-template-columns: 1fr; } }

/* ---------- the Products menu (12-03): a solid panel the width of the page under the header, so nothing of the page shows through;
   each product with its icon and one line, its vignette whole on the stage ---------- */
.v-scrim { background: rgb(5 7 12 / 78%); }
@media (min-width: 901px) {
  .v-menu { top: var(--v-hd); left: 0; width: 100%; translate: 0 -6px; border-radius: 0 0 24px 24px; background: var(--page);
    box-shadow: 0 1px 0 var(--line), 0 40px 80px -30px rgb(5 7 12 / 55%); }
  html.v-mopen .v-menu { translate: 0 0; }
  .v-mgrid { max-width: var(--v-w); margin: 0 auto; grid-template-columns: 380px minmax(0, 1fr); gap: 32px; padding: 20px 32px 12px; }
  .v-mpro { max-width: var(--v-w); margin: 0 auto; border-top: 0; padding: 4px 32px 22px; }
  .v-mpro > span { display: inline-flex; align-items: center; gap: 10px; }
}
.v-mrow { gap: 16px; }
.v-mrow .mico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.v-mrow .mico .bm { width: 30px; height: 30px; color: var(--ink); }
.v-mrow.on .mico { background: var(--ink); box-shadow: none; } .v-mrow.on .mico .bm { color: var(--page); }
.v-mpro .pmi { width: 22px; height: 22px; color: var(--ink); flex: none; }
.v-stage { display: grid; min-height: 0; grid-template-rows: none; align-items: center; padding: 28px; border-radius: 20px; background: var(--tint); overflow: hidden; }
.v-stage .sv, .v-stage .sv.on { position: relative; inset: auto; grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .22s, visibility 0s .22s; }
.v-stage .sv.on { opacity: 1; visibility: inherit; transition: opacity .22s; }
.v-stage .sv .vg { font-size: 15px; }
.v-stage .sv > .v-film { border-radius: 16px; }
.v-stage .sv img, .v-stage .sv video { position: absolute; }
.v-stage .sv .vg img { position: static; inset: auto; width: 1.25em; height: auto; object-fit: fill; }
.v-stage .vg-page .g-fig { max-height: 15em; }
@media (max-width: 900px) { .v-mrow .mico { width: 52px; height: 52px; } }
/* the footer's products, each with its icon */
/* ---------- Following ---------- */
.vg-follow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.vg-follow li { display: flex; align-items: center; gap: .9em; padding: .75em .9em; border-radius: 14px; background: var(--c2); }
.vg-follow .fi { flex: none; display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 12px; background: var(--c); }
.vg-follow .g-who b { font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.vg-follow .g-who img { width: 1.25em; height: auto; border-radius: 2px; }
.vg-follow .fr { margin-left: auto; display: flex; align-items: center; gap: .7em; }
.vg-follow .fr .bdg { background: var(--ink); color: var(--page); }
@container (max-width: 460px) { .vg-follow .fr small { display: none; } }
/* the narrowest holders (a phone on the Apps page): the header wraps, the figure sits over its tiles */
@container (max-width: 320px) {
  .vg .ph { flex-wrap: wrap; row-gap: .6em; }
  .vg .rt { margin-left: 0; grid-auto-flow: column; justify-items: start; align-items: baseline; gap: .5em; width: 100%; }
  .vg .rt b { font-size: 1.4em; }
  .vg-page .pf { grid-template-columns: 1fr; }
  .vg-page .g-fig { max-height: 11em; }
  .vg .g-who .nm { font-size: 1.15em; white-space: normal; }
}
.v-court .vg-phone { background: #0b0e14; }
.v-phones.vgp { align-items: stretch; }
.v-phones.vgp figure { display: grid; grid-template-rows: 1fr auto; }
@media (min-width: 1700px) { :root { --v-w: 1400px; } }
.vg .br .nm { white-space: normal; }

/* ---------- the app's own kendoka (landing/img/pose-*.webp), the target lit where it lands (12-03) ---------- */
.vg .g-fig { aspect-ratio: auto; }
.vg .pf { display: block; width: 100%; height: 100%; }
.vg .pf .lit { fill: var(--aka); fill-opacity: .88; stroke: var(--aka); stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.kf-dark .fgl { display: none; } .kf-dark .fgd { display: inline; }
@keyframes vg-lit { 0%, 100% { fill-opacity: .88; } 50% { fill-opacity: .35; } }
@media (prefers-reduced-motion: no-preference) { .vg.play .pf .lit { animation: vg-lit 1.6s ease-in-out .6s 2; } }
/* your page: the kendoka about the card's height on the left, the targets and the matches beside him */
.vg-page .pb { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.2em; align-items: stretch; }
.vg-page .g-fig.tall { max-height: none; display: grid; place-items: center; }
.vg-page .g-fig.tall .pf { height: auto; max-height: 30em; width: auto; max-width: 100%; }
.vg-page .pr { display: grid; align-content: start; gap: .2em; }
.vg-page .pr .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.2em; }
@container (max-width: 700px) { .vg-page .pb { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.2em; } .vg-page .pr .tiles { grid-template-columns: 1fr 1fr; } }
@container (max-width: 430px) { .vg-page .pb { grid-template-columns: 1fr; } .vg-page .g-fig.tall .pf { max-height: 19em; } .vg-page .pr .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .vg .tiles li { padding: .6em .5em; } }
.vg-scout .g-fig .pf, .vg-figs .g-fig .pf { height: auto; max-height: 21em; width: auto; max-width: 100%; margin: 0 auto; }
/* ask: the moment's card carries its frame (12-03) */
.vg-ask .g-cards { align-items: stretch; }
.vg .mc.vid { align-items: center; }
.vg .mc .th { position: relative; flex: none; width: 6.2em; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #0b0e14; }
.vg .mc .th img { position: static; display: block; width: 100%; height: 100%; object-fit: cover; }
.vg .mc .th .g-pl { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 1.9em; height: 1.9em; }
/* the open menu is a solid surface at once (no fade through the page under it), never taller than the window: it scrolls inside (12-03) */
.v-menu { background-color: var(--page, #0b0e14); isolation: isolate; backdrop-filter: none; -webkit-backdrop-filter: none; }
:root:not([data-theme="dark"]) .v-menu { background-color: var(--page, #f3f4f7); }
html.v-mopen .v-menu { opacity: 1; transition: translate .26s var(--v-ease); }
.v-menu[hidden], html:not(.v-mopen) .v-menu { display: none !important; }  /* closed: nothing of it, its stage included, is drawn */
@media (min-width: 901px) {
  .v-menu { max-height: calc(100dvh - var(--v-hd)); overflow-y: auto; overscroll-behavior: contain; }
}
.v-scrim { background: rgb(5 7 12 / 86%); }
