/* MyGoal Signal — info.css: the card's «i» (owner, 16.11.2026) and the sheet of the match's 17 indicators. Colors only from tokens.css. */
/* The disc, drawn as a small 3D jewel in the site's colors (owner, 16.11.2026): a gold bevel ring (the
   logo's gold, lit from the top left), a domed lens of GOAL's blue with a glossy highlight over its top
   half, the letter raised on it, and a soft shadow under it on the card. In the card's bottom right corner
   (clear of the score); the strip under the forecast (app.css) keeps it off every forecast's cell.
   The card's corner swells into a round bulge of its own material that holds the disc (owner, 16.11.2026):
   drawn behind the card's content and over its edge, its rim and shadow only on the outer side. */
.card:has(> .ib) { position: relative; isolation: isolate; }
.card:has(> .ib)::after { content: ""; position: absolute; z-index: -1; right: -0.9375rem; bottom: -0.9375rem; width: 3.25rem; height: 3.25rem;
  pointer-events: none;
  /* The bulge (radius 1.3125rem, centred on the disc) in the tile's own bottom color with a hairline rim, and its
     shadow falling down and right; the box reaches 0.9375rem past the card, inside the page's 16 px side gutter. */
  background: radial-gradient(circle, var(--tile-foot) calc(1.3125rem - 1px), var(--tile-edge) calc(1.3125rem - 0.5px),
      transparent calc(1.3125rem + 0.5px)),
    radial-gradient(circle at calc(50% + 0.125rem) calc(50% + 0.1875rem), var(--bump-shade) 1rem, transparent 1.5rem);
  /* Shown only outside the card (and over its 1px edge, which would read as a seam): right of its right edge, under
     its bottom edge, and in the notch its rounded corner (radius 0.875rem) leaves; inside, the card itself shows. */
  --edge: calc(2.3125rem - 1px);
  -webkit-mask: linear-gradient(to right, transparent var(--edge), #000 var(--edge)), linear-gradient(to bottom, transparent var(--edge), #000 var(--edge)),
    radial-gradient(circle at 0 0, transparent calc(0.875rem - 1px), #000 calc(0.875rem - 1px)) 1.4375rem 1.4375rem / 0.875rem 0.875rem no-repeat;
  mask: linear-gradient(to right, transparent var(--edge), #000 var(--edge)), linear-gradient(to bottom, transparent var(--edge), #000 var(--edge)),
    radial-gradient(circle at 0 0, transparent calc(0.875rem - 1px), #000 calc(0.875rem - 1px)) 1.4375rem 1.4375rem / 0.875rem 0.875rem no-repeat; }
.ib { position: absolute; right: -0.25rem; bottom: -0.25rem; width: 1.875rem; height: 1.875rem; border: 0; cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease; }
/* The same jewel crowns the open sheet (.idisc). */
.ib, .ipop .idisc { padding: 0.125rem; border-radius: 50%; background: var(--ib-rim); box-shadow: var(--ib-drop); }
.ib span, .ipop .idisc span { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%;
  background: var(--ib-face); box-shadow: var(--ib-inner); }
/* The lens' highlight: a bright crescent over its top half. */
.ib span::before, .ipop .idisc span::before { content: ""; position: absolute; left: 14%; right: 14%; top: 5%; height: 46%; border-radius: 50%; background: var(--ib-gloss); }
.ib b, .ipop .idisc b { position: relative; top: -0.125rem; font: italic 700 1.1rem/1 Georgia, "Times New Roman", serif; color: var(--up-ink); text-shadow: var(--ib-emboss); }
/* A finger-sized target around the small disc. */
.ib::after { content: ""; position: absolute; inset: -0.4375rem; }
.ib:hover { transform: translateY(-2px); box-shadow: var(--ib-lift); }
.ib[aria-expanded="true"] { transform: translateY(1px); box-shadow: var(--ib-press); }
.ib:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ib, .ib:hover { transition: none; transform: none; } }

/* The sheet: lit from above like a tile, closer to the eye. Its head (title, sides, the columns' names) and
   its foot (the tally, the forecast) stay in place; only the rows between them scroll (owner, 16.11.2026). */
.ipop { position: fixed; z-index: 60; display: flex; flex-direction: column; width: min(36rem, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem - 1.375rem); padding: 0.875rem 1rem 1rem; border-radius: 1rem; color: var(--ink);
  font-size: 0.875rem; background: var(--pop); box-shadow: var(--pop-depth); }
.ipop .ihead, .ipop .ifoot { flex: none; }
.ipop .ix { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ipop[hidden], .iveil[hidden] { display: none; }
.iveil { position: fixed; inset: 0; z-index: 59; background: var(--veil); }
/* A phone: a sheet from the bottom, its rows scrolled inside it. */
.ipop.sheet { left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: calc(92vh - 1.375rem); max-height: calc(92dvh - 1.375rem); border-radius: 1.125rem 1.125rem 0 0;
  padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
/* The crown (owner, 16.11.2026): the sheet's top edge swells into a half round of its own top color, rim and a
   soft shadow above, holding the card's «i» jewel in its middle; only the part above the edge is drawn, so no
   seam crosses the sheet. 1.375rem rises over the edge: place() in info.js keeps that room (SWELL). */
.ipop .ibump { position: absolute; left: 50%; top: -1.375rem; width: 3.5rem; height: 3.5rem; margin-left: -1.75rem;
  display: grid; place-items: center; pointer-events: none; }
.ipop .ibump::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pop-top);
  box-shadow: 0 0 0 1px var(--pop-rim), 0 -0.25rem 0.75rem var(--bump-shade);
  clip-path: inset(-1rem -1rem calc(100% - 1.375rem - 1px) -1rem); }
.ipop .idisc { position: relative; display: block; width: 2.25rem; height: 2.25rem; box-sizing: border-box; margin-top: -0.25rem; }
.ipop .idisc b { font-size: 1.3rem; }

.ipop .ih { display: flex; align-items: flex-start; justify-content: flex-end; }
/* The league's flag (owner, 16.11.2026): on the left, the close button's size and distance from the edges,
   drawn as the «i» jewel is — a gold bevel ring, the flag as a domed lens with the same gloss over its top
   half and shade at its bottom, a soft shadow under it. */
.ipop .iflag { flex: none; width: 2.375rem; height: 2.375rem; padding: 0.125rem; box-sizing: border-box; border-radius: 50%;
  background: var(--ib-rim); box-shadow: var(--ib-drop); }
.ipop .iflag span { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; }
.ipop .iflag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ipop .iflag span::before { content: ""; position: absolute; z-index: 1; left: 14%; right: 14%; top: 5%; height: 46%; border-radius: 50%; background: var(--ib-gloss); }
.ipop .iflag span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: var(--ib-inner); }
/* A tournament of no country: its logo whole on the lens' light plate. */
.ipop .iflag.logo span { background: var(--plate); }
.ipop .iflag.logo img { box-sizing: border-box; padding: 10%; object-fit: contain; }
/* The country beside the round, in capitals like the card's tournament line and in the gold of the round's rim
   (the places' gold), apart from the names' ink, its top on the round's top (owner, 16.11.2026); never
   reaching the «i» in the middle. */
.ipop .iland { display: flex; align-items: flex-start; gap: 0.5rem; min-width: 0; max-width: calc(50% - 2.25rem); }
.ipop .iland b { min-width: 0; padding-top: 0.1875rem; font-size: 0.8rem; font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase;
  background: var(--place); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(var(--place-shadow)); }
.ipop .ix-x { position: relative; flex: none; margin-left: auto; display: grid; place-items: center; width: 2.375rem; height: 2.375rem; padding: 0; border: 0;
  border-radius: 50%; cursor: pointer; color: var(--x-ink); background: var(--x-bg); box-shadow: var(--x-depth);
  transition: transform 140ms ease; }
/* Close, easy to see (owner, 16.11.2026): a raised red disc with a white cross, a ring pulsing out of it all the
   time the sheet is open, so the eye always finds the way out. */
.ipop .ix-x::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 var(--x-ring); animation: ix-x-ping 1.1s ease-out 0.3s infinite; }
@keyframes ix-x-ping { to { box-shadow: 0 0 0 0.75rem transparent; } }
/* The cross drawn as two bars (owner, 16.11.2026: bigger): a font's × is small and sits off centre. */
.ipop .ix-x i { position: relative; width: 1.125rem; height: 1.125rem; filter: drop-shadow(var(--x-emboss)); }
.ipop .ix-x i::before, .ipop .ix-x i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 0.1875rem; margin-top: -0.09375rem;
  border-radius: 0.125rem; background: currentColor; transform: rotate(45deg); }
.ipop .ix-x i::after { transform: rotate(-45deg); }
.ipop .ix-x:hover { transform: scale(1.08); }
.ipop .ix-x:active { transform: scale(0.96); }
.ipop .ix-x:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ipop .ix-x::after { animation: none; } .ipop .ix-x { transition: none; } }

/* The two sides facing each other across the middle (owner, 16.11.2026): home name then crest, the final
   score between the crests once the match is over, away crest then name. */
.ipop .iteams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0.625rem; margin: 0.25rem 0 0.625rem; }
.ipop .iteams .s { display: flex; align-items: center; gap: 0.5rem; min-width: 0; font: 800 0.95rem/1.2 var(--i-head, "Manrope", sans-serif); }
.ipop .iteams .h { justify-content: flex-end; text-align: right; }
.ipop .isc { font: 800 1.25rem/1 var(--i-head, "Manrope", sans-serif); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ipop .isc.none { width: 0.5rem; }
.ipop .iteams b { min-width: 0; }
/* The place and the badges drawn as a card draws them (zones.css), here too for a host site without it. */
.ipop .pl { flex: none; text-align: center; font: 800 0.78rem/1 var(--i-head, "Manrope", sans-serif); font-variant-numeric: tabular-nums; text-shadow: none;
  background: var(--place); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(var(--place-shadow)); }
.ipop .zn { flex: none; object-fit: contain; vertical-align: middle; filter: drop-shadow(var(--zone-shadow)); }
/* Under the names, on one line for both sides, what the card shows before the match: the place in the
   table (the card's gold number) and the badges, a little smaller than on the card; each under its name,
   clear of its crest. */
.ipop .iteams .tg { display: flex; align-items: center; gap: 0.3125rem; min-width: 0; margin-top: -0.375rem; }
.ipop .iteams .tg.h { justify-content: flex-end; padding-right: 2.375rem; }
.ipop .iteams .tg.a { padding-left: 2.375rem; }
.ipop .iteams .tg .pl { width: auto; min-width: 0.75rem; margin: 0; font-size: 0.85rem; }
.ipop .iteams .tg img.zn { width: 1.375rem; height: 1.375rem; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.ipop .iteams img { flex: none; width: 1.875rem; height: 1.875rem; padding: 0.25rem; border-radius: 50%; object-fit: contain; background: var(--plate); box-shadow: var(--plate-depth); }

/* The rows in a shallow well: home value | number and words | away value. */
.ipop .ix { padding: 0 0.5rem 0.5rem; border-radius: 0.75rem; background: var(--well); box-shadow: var(--well-depth); font-variant-numeric: tabular-nums; }
.ipop .igc { margin: 0.375rem 0.5rem 0.25rem; text-align: center; font-size: 0.72rem; line-height: 1.35; color: var(--slate); }
/* Every row edge to edge of the well (its side padding taken back), so its stripe and the 1 X 2 band reach the
   well's sides; the columns inside keep their places. */
.ipop .ir { --g: 0.5rem; --pad: 0.3125rem; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 4.5rem 5rem; align-items: center; gap: var(--g);
  margin: 0 -0.5rem; padding: var(--pad) 0.5rem; }
/* Every second row on a faint stripe instead of a rule between rows (owner, 22.11.2026: rows told apart at a
   glance, without visual noise); a host site without the token gets the stripe from its own ink. */
.ipop .ir.z { background: var(--i-zebra, color-mix(in srgb, var(--ink) 5%, transparent)); }
/* The 1 X 2 column on a band of its own from the columns' names to the last row (owner, 22.11.2026: apart from
   the figures): the cell reaches over the row's padding, so the band runs unbroken. */
.ipop .ic, .ipop .icols > span:last-child { align-self: stretch; display: grid; place-items: center; margin: calc(-1 * var(--pad)) 0; padding: var(--pad) 0;
  background: var(--i-band, color-mix(in srgb, var(--ink) 8%, transparent)); }
/* The columns' names over the well, on its grid: 1 | figure | 2 | forecast — bold in the headings' gold, so
   a visitor reads them first (owner, 22.11.2026: they were not seen). */
.ipop .ix > .icols { --pad: 0.4375rem; position: sticky; top: 0; z-index: 1; border-radius: 0.75rem 0.75rem 0 0;
  background: var(--cols-bg); box-shadow: 0 1px 0 var(--rule); font: 800 0.72rem/1.2 var(--i-head, "Manrope", sans-serif);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); text-align: center; }
.ipop .ix > .icols > span:last-child { border-top-right-radius: 0.75rem; }
/* Each column's name between thin rules (owner, 16.11.2026), the rule in the middle of the gap, so a visitor
   reads them as columns: 1 | figure | 2 | 1 X 2. */
.ipop .icols > span { position: relative; }
.ipop .icols > span + span::before { content: ""; position: absolute; top: -0.125rem; bottom: -0.125rem; left: calc(var(--g) / -2 - 0.5px); width: 1px; background: var(--rule); }
/* The forecast 1 X 2: three small discs, the given one lit in soft green with its ring (owner, 16.11.2026). */
.ipop .ik { justify-self: center; display: inline-flex; gap: 0.125rem; }
.ipop .ik i { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; font: 800 0.7rem/1 var(--i-head, "Manrope", sans-serif);
  font-style: normal; color: var(--slate); opacity: 0.55; }
.ipop .ik i.on { opacity: 1; color: var(--lit-ink); background: var(--lit-bg); box-shadow: inset 0 0 0 1.5px var(--lit), var(--plate-depth); }
/* After the match: a forecast that did not come true turns soft red; the ✓ or ✗ beside it says it in words. */
.ipop .ik.miss i.on { color: var(--miss-lit-ink); background: var(--miss-lit-bg); box-shadow: inset 0 0 0 1.5px var(--miss-lit), var(--plate-depth); }
.ipop .ik b { align-self: center; width: 0.75rem; margin-left: 0.0625rem; font: 800 0.72rem/1 var(--i-head, "Manrope", sans-serif); }
.ipop .ik.hit b { color: var(--lit); }
.ipop .ik.miss b { color: var(--miss-lit); }
.ipop .il { min-width: 0; text-align: center; font-size: 0.8rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
/* Over the row's words: its place from the weakest (1) to the strongest (17) and its kind, in the headings'
   gold capitals (owner, 22.11.2026). */
.ipop .il small { display: block; font: 800 0.6rem/1.3 var(--i-head, "Manrope", sans-serif); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.ipop .il em { display: block; font-style: normal; font-size: 0.66rem; font-weight: 700; color: var(--slate); }
.ipop .iv { position: relative; display: block; box-sizing: border-box; width: 100%; padding: 0.1875rem 0.875rem; border-radius: 0.5rem; text-align: center;
  font: 700 0.9rem/1.15 var(--i-head, "Manrope", sans-serif); color: var(--slate); white-space: nowrap; }
/* The side a row favours: raised in the pick's blue, the arrow pointing at it. */
.ipop .iv.won { color: var(--lit-ink); background: var(--lit-bg); box-shadow: inset 0 0 0 1.5px var(--lit), var(--plate-depth); }
.ipop .iv i { position: absolute; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 0.7rem; }
/* Every value in its column the same width, the digits centred: the numbers stand on one vertical line, the
   arrow kept out of their way at the cell's outer edge. */
.ipop .ir > .iv:first-child i { left: 0.3125rem; }
.ipop .ir > .iv:nth-child(3) i { right: 0.3125rem; }
.ipop .iv.none { padding-inline: 0.25rem; font: 600 0.7rem/1.2 var(--i-text, "Onest", sans-serif); white-space: normal; }
/* «Even» is the row's answer, not a label (owner, 16.11.2026): a small pill lit as its X beside it — the
   forecast's green of each site, apart from the gold of the kinds' headings. */
.ipop .ir.even .il em { display: table; margin: 0.125rem auto 0; padding: 0.0625rem 0.5rem; border-radius: 999px; line-height: 1.3;
  color: var(--lit-ink); background: var(--lit-bg); box-shadow: inset 0 0 0 1px var(--lit); }
.ipop .ir.copy { opacity: 0.6; }
.ipop .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The tally: a bar split home | even | away, the counts under it, the verdict in words. */
.ipop .it { margin-top: 0.625rem; }
.ipop .it-bar { display: flex; gap: 2px; height: 0.5rem; border-radius: 0.25rem; overflow: hidden; box-shadow: var(--well-depth); }
.ipop .it-bar span { min-width: 0; }
.ipop .it-bar .lead { background: var(--lit); }
.ipop .it-bar .trail { background: var(--miss-lit); }
.ipop .it-bar .level { background: var(--slate); }
.ipop .it-bar .e { background: var(--gold); }
.ipop .it-n { display: flex; justify-content: space-between; gap: 0.5rem; margin: 0.375rem 0 0; font-size: 0.76rem; color: var(--slate); }
.ipop .it-n span:nth-child(2) { text-align: center; }
.ipop .it-n span:last-child { text-align: right; }
.ipop .it-n b { font: 800 0.95rem var(--i-head, "Manrope", sans-serif); color: var(--ink); }
.ipop .it-v { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.375rem 0.625rem; margin: 0.625rem 0 0;
  padding: 0.5rem 0.75rem; border-radius: 0.625rem; text-align: center; font: 800 0.9rem/1.35 var(--i-head, "Manrope", sans-serif); background: var(--pale); color: var(--ink); }
.ipop .it-v > span:first-child { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ipop .it-v .ik i { width: 1.625rem; height: 1.625rem; font-size: 0.85rem; }
.ipop .it-v.v1, .ipop .it-v.v2 { color: var(--lit-ink); background: var(--lit-bg); box-shadow: inset 0 0 0 1.5px var(--lit); }
.ipop .in { margin: 0.625rem 0.25rem 0.125rem; font-size: 0.74rem; line-height: 1.45; color: var(--slate); }
@media (max-width: 400px) { .ipop .ir { --g: 0.25rem; grid-template-columns: 3.375rem minmax(0, 1fr) 3.375rem 4.75rem; } .ipop { padding-inline: 0.75rem; } .ipop .ik { gap: 0.0625rem; } .ipop .ik b { margin-left: 0; } .ipop .iv { padding-inline: 0.75rem; } .ipop .ir > .iv:first-child i { left: 0.1875rem; } .ipop .ir > .iv:nth-child(3) i { right: 0.1875rem; } }
/* A narrow phone: the sides' names a little smaller and their crests too, so a long one-word name fits
   whole beside a live score instead of breaking mid-word. */
@media (max-width: 400px) { .ipop .iteams { gap: 0.5rem; } .ipop .iteams .s { gap: 0.375rem; font-size: 0.82rem; } .ipop .iteams img { width: 1.5rem; height: 1.5rem; padding: 0.1875rem; }
  .ipop .isc { font-size: 1.1rem; } .ipop .iteams .tg.h { padding-right: 1.875rem; } .ipop .iteams .tg.a { padding-left: 1.875rem; } }
