/* Game completion checklist kit (12/11/2026): GTA 5 100% checklist and any later game page that reuses its view
   (variantOf). Phone first: big tap targets, sticky progress + filter bar, no horizontal scroll at 390 px. */
#visu-tools .vt-gcl { display: block; }
#visu-tools .vt-gcl [hidden] { display: none !important; }
#visu-tools .vt-gcl-bar { position: sticky; top: var(--vt-site-header-h, 0px); z-index: 6; display: grid; gap: 10px; padding: 12px 14px; margin: 0 0 10px; background: var(--vt-surface, #fff); border: 1px solid var(--vt-line-2); border-radius: 14px; box-shadow: var(--vl-shadow-sm, 0 2px 8px rgba(0, 0, 0, .06)); }
#visu-tools .vt-gcl-olabel { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--vt-muted); font-size: 14px; }
#visu-tools .vt-gcl-olabel strong { color: var(--vt-ink); font-size: 20px; font-variant-numeric: tabular-nums; }
#visu-tools .vt-gcl-pct { margin-left: auto; color: var(--vt-accent-text); font-weight: 700; font-variant-numeric: tabular-nums; }
#visu-tools .vt-gcl-meter { height: 6px; border-radius: 99px; background: var(--vt-tint); overflow: hidden; }
#visu-tools .vt-gcl-meter > span { display: block; height: 100%; width: 0; background: var(--vt-accent); border-radius: inherit; transition: width .25s ease; }
#visu-tools .vt-gcl-meter-big { height: 8px; margin-top: 6px; }
#visu-tools .vt-gcl-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
#visu-tools .vt-gcl-search input { width: 100%; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 16px; color: var(--vt-ink); background: var(--vt-bg); border: 1px solid var(--vt-line-2); border-radius: 10px; box-sizing: border-box; }
#visu-tools .vt-gcl-filter { display: inline-flex; border: 1px solid var(--vt-line-2); border-radius: 10px; padding: 2px; margin: 0; min-width: 0; }
#visu-tools .vt-gcl-filter label { position: relative; display: block; cursor: pointer; }
#visu-tools .vt-gcl-filter input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
#visu-tools .vt-gcl-filter span { display: flex; align-items: center; min-height: 38px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--vt-muted); white-space: nowrap; }
#visu-tools .vt-gcl-filter input:checked + span { background: var(--vt-ink); color: var(--vt-surface, #fff); }
#visu-tools .vt-gcl-filter input:focus-visible + span { outline: 2px solid var(--vt-accent); outline-offset: 2px; }
#visu-tools .vt-gcl-ohint { margin: 0 0 6px; }
#visu-tools .vt-gcl-store { margin: 0 0 10px; font-size: 14px; color: var(--vt-muted); }
#visu-tools .vt-gcl-example { display: grid; gap: 8px; padding: 12px 14px; margin: 0 0 10px; border: 1px solid var(--vt-line-2); border-radius: 12px; background: var(--vt-tint); }
#visu-tools .vt-gcl-example p { margin: 0; }
#visu-tools .vt-gcl-actions { flex-wrap: wrap; margin: 0 0 6px; }
#visu-tools .vt-gcl-actions .vt-btn { min-height: 44px; font-size: 14px; }
#visu-tools .vt-gcl-extag { margin-left: auto; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--vt-tint); color: var(--vt-accent-text); }
#visu-tools .vt-gcl-extag:not([hidden]) + .vt-gcl-pct { margin-left: 0; }
#visu-tools .vt-gcl-file { position: relative; cursor: pointer; }
#visu-tools .vt-gcl-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
#visu-tools .vt-gcl-file:focus-within { outline: 2px solid var(--vt-accent); outline-offset: 2px; }
#visu-tools .vt-gcl-confirm { padding: 12px 14px; margin: 0 0 10px; border: 1px solid var(--vt-err, #c0392b); border-radius: 12px; background: var(--vt-surface, #fff); }
#visu-tools .vt-gcl-confirm p { margin: 0 0 8px; }
#visu-tools .vt-gcl-danger { background: var(--vt-err, #c0392b); border-color: var(--vt-err, #c0392b); }
#visu-tools .vt-gcl-empty { margin: 16px 0; padding: 14px; text-align: center; border: 1px dashed var(--vt-line-2); border-radius: 12px; color: var(--vt-muted); }
#visu-tools .vt-gcl-block { margin: 18px 0 0; }
#visu-tools .vt-gcl-bh { font-size: 18px; margin: 0 0 6px; }
#visu-tools .vt-gcl-sec { margin: 0 0 10px; border: 1px solid var(--vt-line); border-radius: 14px; background: var(--vt-surface, #fff); scroll-margin-top: calc(var(--vt-site-header-h, 0px) + 140px); }
#visu-tools .vt-gcl-sec > details > summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 52px; cursor: pointer; list-style: none; }
#visu-tools .vt-gcl-sec > details > summary::-webkit-details-marker { display: none; }
#visu-tools .vt-gcl-sec > details > summary::before { content: ""; width: 8px; height: 8px; flex: none; border-right: 2px solid var(--vt-muted); border-bottom: 2px solid var(--vt-muted); transform: rotate(-45deg); transition: transform .15s; }
#visu-tools .vt-gcl-sec > details[open] > summary::before { transform: rotate(45deg); }
#visu-tools .vt-gcl-sh { margin: 0; font-size: 16px; flex: 1 1 auto; min-width: 0; }
#visu-tools .vt-gcl-count { flex: none; font-size: 13px; color: var(--vt-muted); font-variant-numeric: tabular-nums; text-align: right; max-width: 55%; }
#visu-tools .vt-gcl-sec.is-complete .vt-gcl-count { color: var(--vt-ok, #1e8e3e); font-weight: 700; }
#visu-tools .vt-gcl-body { padding: 0 14px 12px; }
#visu-tools .vt-gcl-note { margin: 8px 0; font-size: 14px; color: var(--vt-muted); }
#visu-tools .vt-gcl-glabel { margin: 12px 0 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--vt-muted); }
#visu-tools .vt-gcl-ghint { font-weight: 400; text-transform: none; letter-spacing: 0; }
#visu-tools .vt-gcl-list { list-style: none; margin: 0; padding: 0; }
#visu-tools .vt-gcl-list .vt-gcl-item { border-top: 1px solid var(--vt-line); }
#visu-tools .vt-gcl-list .vt-gcl-item:first-child { border-top: 0; }
#visu-tools .vt-gcl-list label { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; min-height: 48px; padding: 6px 2px; cursor: pointer; }
#visu-tools .vt-gcl-list input[type="checkbox"] { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--vt-accent); cursor: pointer; }
#visu-tools .vt-gcl-name { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
#visu-tools .vt-gcl-item.is-done .vt-gcl-name { color: var(--vt-muted); text-decoration: line-through; text-decoration-color: var(--vt-line-2); }
#visu-tools .vt-gcl-tag { font-size: 12px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--vt-line-2); color: var(--vt-muted); white-space: nowrap; }
#visu-tools .vt-gcl-tag-setup { color: var(--vt-accent-text); }
#visu-tools .vt-gcl-hint { display: block; margin: -4px 0 8px 36px; font-size: 13px; color: var(--vt-muted); }
#visu-tools a.vt-gcl-hint { color: var(--vt-accent-text); }
#visu-tools .vt-gcl-linked label { cursor: default; }
#visu-tools .vt-gcl-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
#visu-tools .vt-gcl-num label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--vt-line-2); border-radius: 10px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; user-select: none; }
#visu-tools .vt-gcl-num input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#visu-tools .vt-gcl-num.is-done label { background: var(--vt-accent); border-color: var(--vt-accent); color: #fff; }
#visu-tools .vt-gcl-num input:focus-visible + .vt-sr + span, #visu-tools .vt-gcl-num label:focus-within { outline: 2px solid var(--vt-accent); outline-offset: 2px; }
#visu-tools .vt-gcl-counter { display: flex; align-items: flex-end; gap: 10px; margin: 8px 0 4px; }
#visu-tools .vt-gcl-step { min-width: 52px; min-height: 48px; font-size: 22px; line-height: 1; padding: 0; }
#visu-tools .vt-gcl-counter-field { display: grid; gap: 4px; flex: 1 1 auto; max-width: 220px; }
#visu-tools .vt-gcl-counter-field input { min-height: 48px; font-size: 20px; text-align: center; border: 1px solid var(--vt-line-2); border-radius: 10px; background: var(--vt-bg); color: var(--vt-ink); width: 100%; box-sizing: border-box; }
#visu-tools .vt-gcl-sources { margin: 22px 0 0; padding: 14px; border: 1px solid var(--vt-line); border-radius: 12px; font-size: 14px; }
#visu-tools .vt-gcl-sources ul { margin: 6px 0; padding-left: 18px; }
#visu-tools .vt-gcl-sources a { overflow-wrap: anywhere; }
#visu-tools .vt-gcl-h { margin: 0 0 4px; font-weight: 700; }
#visu-tools .vt-gcl-fan { margin: 8px 0 0; color: var(--vt-muted); }
#visu-tools .vt-gcl-cta { margin: 14px 0 0; font-size: 14px; color: var(--vt-muted); }
/* My Creations (client/visu-save.js; markup only when the factory switch is on). The three labels share one grid cell and
   the inactive ones are invisible, so the button keeps one size; results open in a fixed sheet, so nothing below moves. */
#visu-tools .vt-save-btn { display: inline-grid; place-items: center; }
#visu-tools .vt-save-l { grid-area: 1 / 1; }
#visu-tools .vt-save-l.is-off { visibility: hidden; }
#visu-tools .vt-save-btn[data-state="saved"] { background: var(--vt-surface, #fff); color: var(--vt-ok, #1e8e3e); border-color: var(--vt-ok, #1e8e3e); }
#visu-tools .vt-save-privacy { margin: 0 0 10px; font-size: 13px; }
#visu-tools .vt-save-sheet { position: fixed; z-index: 1100; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin: 0 auto; padding: 14px 16px; border: 1px solid var(--vt-line-2); border-radius: 14px; background: var(--vt-surface, #fff); color: var(--vt-ink); box-shadow: 0 8px 28px rgba(0, 0, 0, .18); }
#visu-tools .vt-save-sheet[hidden] { display: none; }
#visu-tools .vt-save-sheet p { margin: 0 0 10px; }
#visu-tools .vt-save-sheet .vt-actions { flex-wrap: wrap; gap: 8px; align-items: center; }
#visu-tools .vt-save-sheet .vt-btn { min-height: 44px; font-size: 14px; }
#visu-tools .vt-save-close { min-height: 44px; margin-left: auto; }
/* Phone: the bar sits under the 64 px site header, so it stays short. One 20 px progress line, the meter as a thin
   strip on the bottom edge, then the 44 px search + filter row. Fixed heights: ticking or the example tag never resize it. */
@media (max-width: 759.98px) {
  #visu-tools .vt-gcl-bar { gap: 6px; padding: 6px 12px 10px; }
  #visu-tools .vt-gcl-olabel { flex-wrap: nowrap; align-items: center; height: 20px; font-size: 13px; line-height: 20px; white-space: nowrap; }
  #visu-tools .vt-gcl-olabel > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  #visu-tools .vt-gcl-olabel strong { font-size: 16px; }
  #visu-tools .vt-gcl-extag { flex: none; line-height: 16px; }
  #visu-tools .vt-gcl-meter-big { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 4px; margin: 0; }
  #visu-tools .vt-gcl-sec { scroll-margin-top: calc(var(--vt-site-header-h, 0px) + 100px); }
}
@media (min-width: 760px) {
  #visu-tools .vt-gcl-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
  #visu-tools .vt-gcl-list { columns: 2; column-gap: 28px; }
  #visu-tools .vt-gcl-list .vt-gcl-item { break-inside: avoid; }
  #visu-tools .vt-gcl-list .vt-gcl-item:first-child { border-top: 1px solid var(--vt-line); }
}
@media print {
  #visu-tools .vt-gcl-bar { position: static; box-shadow: none; }
  #visu-tools .vt-gcl-actions, #visu-tools .vt-gcl-tools, #visu-tools .vt-save-sheet, #visu-tools .vt-save-privacy { display: none; }
}
