/* 7arif Versus poster (retro/vs-poster.js): the "cover story" that sells playing friends live. Red sunburst panel,
   ink border, hard shadow, Lalezar headline, the seven Versus games as paper tags, one big print button. Works on the
   main page (style.css) and the game pages (kit.css): only the shared tokens are used, with fallbacks. */
.vs-poster { display: block; container-type: inline-size; }
.vs-poster__card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 16px; overflow: hidden; isolation: isolate;
  color: var(--paper-clip, #FBF7EC); text-decoration: none; border: 3px solid var(--ink, #1A1A1A); box-shadow: 4px 4px 0 var(--ink, #1A1A1A);
  background: repeating-conic-gradient(from 0deg at 88% 34%, #D7262E 0 9deg, #E4463D 9deg 18deg); -webkit-tap-highlight-color: transparent; }
html[dir="rtl"] .vs-poster__card { background: repeating-conic-gradient(from 0deg at 12% 34%, #D7262E 0 9deg, #E4463D 9deg 18deg); }
.vs-poster__card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(0,0,0,.22) 1.1px, transparent 1.4px); background-size: 5px 5px; }
.vs-poster__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vs-poster__kicker { background: var(--ink, #1A1A1A); color: var(--yellow, #F4D21F); font: 800 13px/1.5 var(--font-ui, sans-serif); padding: 1px 9px; transform: rotate(-2deg); }
.vs-poster__live { display: inline-flex; align-items: center; gap: 5px; background: var(--yellow, #F4D21F); color: var(--ink, #1A1A1A);   /* E6: ink on yellow (red was 3.4:1) */ border: 2px solid var(--ink, #1A1A1A);
  font: 900 13px/1.4 var(--font-ui, sans-serif); padding: 0 8px; transform: rotate(4deg); box-shadow: 2px 2px 0 var(--ink, #1A1A1A); }
.vs-poster__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red, #D7262E); animation: vs-live 1.6s ease-in-out infinite; }
@keyframes vs-live { 50% { opacity: .25; } }
.vs-poster__body { display: flex; align-items: center; gap: 12px; }
.vs-poster__ico { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow, #F4D21F); color: var(--ink, #1A1A1A);
  border: 3px solid var(--ink, #1A1A1A); box-shadow: 3px 3px 0 var(--ink, #1A1A1A); transform: rotate(-8deg); }
.vs-poster__ico svg { width: 40px; height: 40px; }
.vs-poster__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vs-poster__title { font: 400 36px/1.05 var(--font-display, sans-serif); padding-top: 6px; color: var(--yellow, #F4D21F);
  -webkit-text-stroke: 6px var(--ink, #1A1A1A); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink, #1A1A1A); }
html[lang="en"] .vs-poster__title { font: 900 28px/1.1 var(--font-ui, sans-serif); padding-top: 0; -webkit-text-stroke-width: 5px; }
.vs-poster__pitch { font: 700 14px/1.5 var(--font-ui, sans-serif); color: var(--paper-clip, #FBF7EC); text-shadow: 0 1px 0 rgba(0,0,0,.35); }
.vs-poster__facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 2px solid var(--ink, #1A1A1A); border-bottom: 2px solid var(--ink, #1A1A1A); background: var(--ink, #1A1A1A); }
.vs-poster__facts span { flex: 1 1 auto; text-align: center; font: 800 13px/1.5 var(--font-ui, sans-serif); color: var(--paper-clip, #FBF7EC); padding: 4px 8px; }
.vs-poster__facts span + span { border-inline-start: 2px dashed rgba(251,247,236,.45); }
.vs-poster__games { display: flex; flex-wrap: wrap; gap: 6px 6px; }
.vs-poster__games span { background: var(--paper-clip, #FBF7EC); color: var(--ink, #1A1A1A); border: 2px solid var(--ink, #1A1A1A); font: 800 13px/1.5 var(--font-ui, sans-serif); padding: 1px 8px;
  box-shadow: 2px 2px 0 var(--ink, #1A1A1A); white-space: nowrap; }
.vs-poster__games span:nth-child(even) { }
.vs-poster__go { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-top: 2px; background: var(--yellow, #F4D21F); color: var(--ink, #1A1A1A);
  border: 3px solid var(--ink, #1A1A1A); box-shadow: 3px 3px 0 var(--ink, #1A1A1A); font: 400 26px/1 var(--font-display, sans-serif); padding-top: 4px; }
html[lang="en"] .vs-poster__go { font: 900 19px/1 var(--font-ui, sans-serif); padding-top: 0; }
.vs-poster__chev { width: 22px; height: 22px; flex: 0 0 auto; margin-top: -3px; }
html[dir="ltr"] .vs-poster__chev { transform: scaleX(-1); margin-top: 0; }
.vs-poster__card:active { translate: 2px 2px; box-shadow: 2px 2px 0 var(--ink, #1A1A1A); }
@media (hover: hover) and (pointer: fine) { .vs-poster__card:hover .vs-poster__go { background: #F8DE4E; } .vs-poster__card:hover { translate: 0 -2px; box-shadow: 5px 6px 0 var(--ink, #1A1A1A); } }
.vs-poster__card:focus-visible { outline: 3px solid var(--yellow, #F4D21F); outline-offset: 3px; }
@container (max-width: 340px) {
  .vs-poster__card { padding: 10px 10px 14px; }
  .vs-poster__ico { width: 52px; height: 52px; } .vs-poster__ico svg { width: 32px; height: 32px; }
  .vs-poster__title { font-size: 31px; } html[lang="en"] .vs-poster__title { font-size: 24px; }
  .vs-poster__pitch { font-size: 13px; }
  .vs-poster__facts span { font-size: 12px; padding-inline: 5px; }
}
/* wide: the cover story spreads out, the game tags sit beside the button */
@container (min-width: 620px) {
  .vs-poster__card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h h" "b b" "f f" "g go"; align-items: center; gap: 12px 18px; padding: 16px 20px 20px; }
  .vs-poster__head { grid-area: h; } .vs-poster__body { grid-area: b; } .vs-poster__facts { grid-area: f; } .vs-poster__games { grid-area: g; } .vs-poster__go { grid-area: go; }
  .vs-poster__go { min-width: 220px; padding-inline: 24px; }
  .vs-poster__ico { width: 84px; height: 84px; } .vs-poster__ico svg { width: 52px; height: 52px; }
  .vs-poster__title { font-size: 48px; } html[lang="en"] .vs-poster__title { font-size: 36px; }
  .vs-poster__pitch { font-size: 16px; }
  .vs-poster__games span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .vs-poster__live::before { animation: none; } }
@media (forced-colors: active) { .vs-poster__card, .vs-poster__go { border-color: CanvasText; } }

/* ---- data-vs-variant="strip" (vs-poster.js): the contents page's Versus ticket strip, one row ~90 px high: the glyph,
   the Lalezar title with the "live" tag, one facts line, and a yellow "go" stub torn off along a perforation (the
   vintage match ticket). The main page's full poster above is untouched. ---- */
.vs-poster--strip { height: 90px; }
.vs-strip { position: relative; display: flex; align-items: stretch; height: 100%; box-sizing: border-box; overflow: hidden; isolation: isolate; text-decoration: none;
  color: var(--paper-clip, #FBF7EC); border: 3px solid var(--ink, #1A1A1A); box-shadow: 3px 3px 0 var(--ink, #1A1A1A);
  background: repeating-conic-gradient(from 0deg at 88% 50%, #D7262E 0 9deg, #E4463D 9deg 18deg); -webkit-tap-highlight-color: transparent; }
html[dir="rtl"] .vs-strip { background: repeating-conic-gradient(from 0deg at 12% 50%, #D7262E 0 9deg, #E4463D 9deg 18deg); }
.vs-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(0,0,0,.22) 1.1px, transparent 1.4px); background-size: 5px 5px; }
.vs-strip__ico { flex: 0 0 auto; align-self: center; margin-bottom: 20px; display: grid; place-items: center; width: 48px; height: 48px; margin-inline: 10px 14px; border-radius: 50%;
  background: var(--yellow, #F4D21F); color: var(--ink, #1A1A1A); border: 2.5px solid var(--ink, #1A1A1A); box-shadow: 2px 2px 0 var(--ink, #1A1A1A); transform: rotate(-8deg); }
.vs-strip__ico svg { width: 30px; height: 30px; }
.vs-strip__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-block: 4px; }
.vs-strip__title { font: 400 26px/1.15 var(--font-display, sans-serif); padding-top: 4px; color: var(--yellow, #F4D21F); white-space: nowrap;
  -webkit-text-stroke: 5px var(--ink, #1A1A1A); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--ink, #1A1A1A); }
html[lang="en"] .vs-strip__title { font: 900 20px/1.2 var(--font-ui, sans-serif); padding-top: 0; -webkit-text-stroke-width: 4px; }
.vs-strip .vs-poster__live { position: absolute; z-index: 1; bottom: 5px; inset-inline-start: 4px; gap: 4px; font-size: 12px; line-height: 1.35; padding: 0 5px; }
.vs-strip .vs-poster__live::before { width: 6px; height: 6px; }
.vs-strip__sub { font: 700 14px/1.5 var(--font-ui, sans-serif); color: var(--paper-clip, #FBF7EC); text-shadow: 0 1px 0 rgba(0,0,0,.35);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
/* the stub: yellow, a dashed tear line and two half-moon notches where it would be torn off */
.vs-strip__go { position: relative; flex: 0 0 78px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px 6px 0;
  background: var(--yellow, #F4D21F); color: var(--ink, #1A1A1A); border-inline-start: 3px dashed var(--ink, #1A1A1A);
  font: 400 21px/1.1 var(--font-display, sans-serif); }
.vs-strip__go::before, .vs-strip__go::after { content: ""; position: absolute; inset-inline-start: -9px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper, #EFE6D2); border: 3px solid var(--ink, #1A1A1A); }
.vs-strip__go::before { top: -10px; } .vs-strip__go::after { bottom: -10px; }
html[lang="en"] .vs-strip__go { font: 900 15px/1.2 var(--font-ui, sans-serif); padding-top: 0; }
.vs-strip:active { translate: 2px 2px; box-shadow: 1px 1px 0 var(--ink, #1A1A1A); }
@media (hover: hover) and (pointer: fine) { .vs-strip:hover .vs-strip__go { background: #F8DE4E; } .vs-strip:hover { translate: 0 -2px; box-shadow: 4px 5px 0 var(--ink, #1A1A1A); } }
.vs-strip:focus-visible { outline: 3px solid var(--yellow, #F4D21F); outline-offset: 3px; }
@container (max-width: 340px) {
  .vs-strip__ico { width: 40px; height: 40px; margin-inline: 8px 6px; } .vs-strip__ico svg { width: 26px; height: 26px; }
  .vs-strip__title { font-size: 23px; } html[lang="en"] .vs-strip__title { font-size: 18px; }
  .vs-strip__go { flex-basis: 66px; font-size: 19px; } html[lang="en"] .vs-strip__go { font-size: 14px; }
}
@media (forced-colors: active) { .vs-strip, .vs-strip__go { border-color: CanvasText; } }
