/* Blackjack Trainer strategy pages. Generated by tools/sitegen. */
:root {
  --deep: #124232;
  --panel: #17503C;
  --felt: #1F6F52;
  --ivory: #FAF8F4;
  --ink: #12241C;
  --gold: #E7C784;
  --muted: #C4D9CF;
  --hair: #3A7B63;
  --k-h: #FFE08A;
  --k-s: #F4A9A0;
  --k-d: #9CCBF2;
  --k-p: #A8E0B5;
  --k-r: #D3BFEE;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ivory);
  background: var(--deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ivory); text-underline-offset: 3px; text-decoration-color: var(--gold); }
a:hover { text-decoration-color: var(--ivory); }
a:focus-visible, summary:focus-visible, .scroll:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ivory); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 24px; padding-bottom: 56px; }

header.site { background: linear-gradient(180deg, var(--felt), var(--deep)); border-bottom: 1px solid var(--hair); }
header.site .bar { max-width: 860px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.brand { font-weight: 800; letter-spacing: -0.01em; text-decoration: none; font-size: 17px; }
header.site nav { display: flex; gap: 18px; font-size: 15px; }

footer.site { border-top: 1px solid var(--hair); color: var(--muted); font-size: 14px; padding: 24px 0 40px; }
footer.site p { margin: 0 0 8px; }
footer.site a { color: var(--ivory); }

h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.12; margin: 8px 0 14px; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: 20px; margin: 0 0 10px; color: var(--gold); letter-spacing: 0.01em; }
h3 { font-size: 17px; margin: 18px 0 6px; }
p { margin: 0 0 14px; }
section { margin-top: 32px; }
.sub { color: var(--muted); margin: 0 0 18px; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }

.answer { background: var(--panel); border: 1px solid var(--hair); border-radius: 14px; padding: 18px 18px 6px; margin-top: 18px; }
.lede { font-size: 19px; margin-bottom: 12px; }
.lede strong { color: var(--gold); }
ul.plays { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
ul.plays li { display: grid; grid-template-columns: 1fr; gap: 2px 14px; padding: 10px 12px; background: var(--deep); border-radius: 10px; border: 1px solid var(--hair); }
ul.plays .rule { color: var(--muted); font-size: 14px; }
ul.plays .move { font-weight: 800; font-size: 20px; }
ul.plays .alt { color: var(--muted); font-size: 15px; }
@media (min-width: 640px) {
  ul.plays li { grid-template-columns: 220px 1fr; align-items: baseline; }
  ul.plays .alt { grid-column: 2; }
}
.defs { color: var(--muted); font-size: 15px; margin: 0 0 14px; padding-left: 18px; }

ul.facts, ul.rules { margin: 0 0 14px; padding-left: 20px; }
ul.facts li, ul.rules li { margin-bottom: 6px; }
.note { color: var(--muted); font-size: 15px; }

table.data { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: 10px; overflow: hidden; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
table.data caption { text-align: left; color: var(--muted); font-size: 15px; padding: 0 0 8px; caption-side: top; }
table.data th, table.data td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--hair); font-size: 15px; }
table.data thead th { color: var(--gold); font-weight: 700; }
table.data td.num, table.data th.num { text-align: right; }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }
td.best { font-weight: 800; }
td.best .tag { color: var(--ink); background: var(--gold); border-radius: 6px; padding: 1px 6px; font-size: 12px; margin-left: 6px; font-weight: 700; }
.scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.faq h3 { margin-top: 20px; }
.faq p { color: var(--ivory); }

nav.related { margin-top: 32px; }
nav.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
nav.related li a { display: block; padding: 10px 12px; border: 1px solid var(--hair); border-radius: 10px; background: var(--panel); text-decoration: none; }
nav.related li a:hover { border-color: var(--gold); }
nav.related .lab { display: block; color: var(--muted); font-size: 13px; }
@media (min-width: 640px) { nav.related ul { grid-template-columns: 1fr 1fr; } }

.cta { margin-top: 36px; padding: 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--gold); }
.cta h2 { margin-bottom: 8px; }
.cta .fine { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
a.appstore { display: inline-flex; flex-direction: column; text-decoration: none; background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 10px; padding: 8px 18px 9px; line-height: 1.1; }
a.appstore .small { font-size: 11px; letter-spacing: 0.02em; }
a.appstore .big { font-size: 20px; font-weight: 600; }
a.appstore:hover { border-color: #fff; }

/* Charts: an ivory sheet so every cell color sits on a light surface with dark text. */
.sheet { background: var(--ivory); color: var(--ink); border-radius: 14px; padding: 14px; margin: 0 0 8px; }
.sheet h2 { color: var(--ink); }
table.chart { border-collapse: separate; border-spacing: 2px; width: 100%; min-width: 440px; font-size: 14px; }
table.chart caption { text-align: left; font-size: 14px; padding-bottom: 6px; color: var(--ink); }
table.chart th { font-weight: 700; padding: 5px 6px; background: #E8E3D8; color: var(--ink); border-radius: 4px; white-space: nowrap; }
table.chart th[scope="row"] { text-align: left; }
table.chart td { padding: 0; text-align: center; border-radius: 4px; color: var(--ink); }
table.chart td a { display: block; padding: 6px 2px; color: var(--ink); text-decoration: none; font-weight: 700; border-radius: 4px; }
table.chart td a:hover { text-decoration: underline; }
table.chart td a:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; }
table.chart td.diff a { box-shadow: inset 0 0 0 2px var(--ink); }
.k-h { background: var(--k-h); }
.k-s { background: var(--k-s); }
.k-d, .k-ds { background: var(--k-d); }
.k-p, .k-ph, .k-pd { background: var(--k-p); }
.k-rh, .k-rs, .k-rp { background: var(--k-r); }
ul.key { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); font-size: 14px; }
ul.key li { display: flex; gap: 8px; align-items: baseline; }
ul.key .sw { display: inline-block; min-width: 34px; text-align: center; font-weight: 700; padding: 1px 6px; border-radius: 4px; color: var(--ink); }
.sheet .note { color: #3b4a43; }
.linkgrid { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.linkgrid a { display: block; padding: 10px 12px; border: 1px solid var(--hair); border-radius: 10px; background: var(--panel); text-decoration: none; }
.linkgrid a:hover { border-color: var(--gold); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pills a { display: inline-block; padding: 8px 14px; border: 1px solid var(--hair); border-radius: 999px; background: var(--panel); text-decoration: none; }
.pills a:hover { border-color: var(--gold); }
@media (max-width: 480px) {
  .sheet { padding: 10px; }
  table.chart { font-size: 12.5px; min-width: 0; border-spacing: 1px; }
  table.chart th { padding: 5px 3px; }
  table.chart td a { padding: 7px 0; }
}
@media print { body { background: #fff; color: #000; } a { color: #000; } }

/* Guide pages: hero, jump row, card pictures, chart excerpts, app calls to action, phone app bar.
   Every selector is scoped to a gd- or vz- class that only the guide pages use. */
body.gd-page { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
@media (prefers-reduced-motion: no-preference) { html:has(body.gd-page) { scroll-behavior: smooth; } }

.gd-hero { position: relative; margin: 6px -16px 0; padding: 20px 16px 26px; overflow: hidden; background: radial-gradient(130% 90% at 85% 0%, #23785A 0%, var(--felt) 42%, var(--deep) 100%); }
.gd-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); }
.gd-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 128px; grid-template-areas: "head head" "side phone"; gap: 8px 14px; align-items: center; }
.gd-head { grid-area: head; }
.gd-hero h1 { margin: 0 0 10px; }
.gd-dek { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ivory); }
.gd-side { grid-area: side; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.gd-phone { grid-area: phone; margin: 0; }
.gd-phone .gd-shot { transform: rotate(3deg); }
.gd-shot { display: block; width: 100%; height: auto; border-radius: 5% / 2.3%; background: var(--deep); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(231, 199, 132, 0.4); }
.gd-fanbox { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gd-fan { position: relative; width: 168px; height: 104px; }
.gd-fan .vz-c { position: absolute; top: 8px; }
.gd-fan-2 .vz-c:nth-child(1) { left: 22px; transform: rotate(-10deg); }
.gd-fan-2 .vz-c:nth-child(2) { left: 80px; top: 4px; transform: rotate(8deg); }
.gd-fan-3 .vz-c:nth-child(1) { left: 2px; transform: rotate(-12deg); }
.gd-fan-3 .vz-c:nth-child(2) { left: 53px; top: 0; }
.gd-fan-3 .vz-c:nth-child(3) { left: 104px; transform: rotate(12deg); }
.gd-fan .vz-tag { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.gd-fan-l { margin: 0; padding: 2px 14px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 800; letter-spacing: 0.02em; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); }
.gd-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (min-width: 760px) {
  .gd-hero { margin: 10px 0 0; padding: 36px 40px; border-radius: 22px; border: 1px solid rgba(231, 199, 132, 0.45); }
  .gd-hero::after { display: none; }
  .gd-hero-in { grid-template-columns: minmax(0, 1fr) 210px; grid-template-rows: auto 1fr; grid-template-areas: "head phone" "side phone"; gap: 26px 44px; align-items: start; }
  .gd-dek { font-size: 19px; }
  .gd-side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
}

.gd-jump { margin: 18px -16px 0; }
.gd-jump-l { margin: 0 16px 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gd-jump ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 6px 16px 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-padding: 0 16px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.gd-jump ul::-webkit-scrollbar { display: none; }
.gd-jump li { flex: none; scroll-snap-align: start; }
.gd-jump a { display: block; padding: 7px 14px; border: 1px solid var(--hair); border-radius: 999px; background: var(--panel); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gd-jump a:hover { border-color: var(--gold); }
@media (min-width: 760px) {
  .gd-jump { margin: 22px 0 0; }
  .gd-jump-l { margin-left: 0; }
  .gd-jump ul { flex-wrap: wrap; padding: 6px 0 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
}

.gd > section > h2 { scroll-margin-top: 14px; }
.gd > section > h2::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 11px 3px 1px; background: var(--gold); transform: rotate(45deg); vertical-align: middle; }
.gd > section + section, .gd > .gd-mid + section { margin-top: 30px; padding-top: 26px; border-top: 1px solid transparent; border-image: linear-gradient(90deg, rgba(231, 199, 132, 0), rgba(231, 199, 132, 0.6), rgba(231, 199, 132, 0)) 1; }

.vz { margin: 16px 0 8px; padding: 16px; border: 1px solid var(--hair); border-radius: 16px; background: radial-gradient(120% 100% at 50% 0%, #1B5D45 0%, var(--panel) 70%); }
ul.vz, ol.vz { list-style: none; }
.vz-title { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.vz-cap { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.vz-c { position: relative; display: inline-block; flex: none; width: 40px; height: 56px; border-radius: 6px; background: var(--ivory); color: var(--ink); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(18, 36, 28, 0.12); font-weight: 800; line-height: 1; text-align: left; }
.vz-c b { position: absolute; top: 5px; left: 5px; font-size: 14px; letter-spacing: -0.04em; }
.vz-c i { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-style: normal; font-size: 22px; }
.vz-c.vz-red { color: #B3261E; }
.vz-c-sm { width: 30px; height: 42px; border-radius: 5px; }
.vz-c-sm b { top: 4px; left: 4px; font-size: 12px; }
.vz-c-sm i { bottom: 4px; font-size: 16px; }
.vz-c-lg { width: 62px; height: 88px; border-radius: 9px; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(18, 36, 28, 0.12); }
.vz-c-lg b { top: 7px; left: 8px; font-size: 22px; }
.vz-c-lg i { bottom: 10px; font-size: 34px; }
.vz-hand { display: inline-flex; padding: 0 0 8px 6px; }
.vz-hand .vz-c + .vz-c { margin-left: -12px; }
.vz-hand .vz-c-sm + .vz-c-sm { margin-left: -9px; }
.vz-ace { position: absolute; left: -7px; bottom: -8px; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.vz-hb { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.vz-total { display: inline-block; padding: 2px 11px; border-radius: 999px; background: #E8E3D8; color: var(--ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
.vz-total.vz-soft { background: var(--k-p); }
.vz-total.vz-bj { background: var(--gold); }
.vz-total.vz-next { background: var(--ivory); font-weight: 700; }
.vz-hands { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px 12px; margin: 0; padding: 0; list-style: none; }
.vz-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 8px; }
.vz-op { color: var(--gold); font-size: 22px; font-weight: 800; line-height: 1; padding-bottom: 34px; }
.vz-flow .vz-total { padding: 2px 9px; font-size: 13px; }
.vz-to { display: inline-flex; align-items: center; gap: 8px; }

.vz-vals { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.vz-vals li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vz-v { font-size: 15px; font-weight: 800; }
.vz-vrow { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 14px 24px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--hair); }
.vz-vg { display: flex; align-items: center; gap: 10px; margin: 0; }
.vz-vg .vz-hand { padding: 0; }
.vz-eqv { font-size: 18px; font-weight: 800; white-space: nowrap; }

.vz-steps { padding: 18px 16px 6px; }
.vz-steps li { position: relative; display: grid; grid-template-columns: 34px 28px minmax(0, 1fr); gap: 0 10px; align-items: start; padding-bottom: 16px; }
.vz-steps li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; background: linear-gradient(var(--gold), rgba(231, 199, 132, 0.12)); }
.vz-step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 16px; font-weight: 800; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); }
.vz-step-i { display: grid; place-items: center; height: 34px; color: var(--gold); }
.vz-steps p, .vz-move p { margin: 5px 0 0; }
.vz-moves { display: grid; gap: 10px; margin: 16px 0 8px; padding: 0; list-style: none; }
.vz-move { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--hair); border-radius: 14px; background: radial-gradient(120% 100% at 50% 0%, #1B5D45 0%, var(--panel) 70%); }
.vz-move-i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--ink); box-shadow: inset 0 -3px 0 rgba(18, 36, 28, 0.14); }
.vz-steps svg, .vz-move svg { width: 24px; height: 24px; }
@media (min-width: 640px) { .vz-moves { grid-template-columns: 1fr 1fr; } }

.vz-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1.35; white-space: nowrap; }
.vz-pill small { margin-left: 5px; font-size: 11px; font-weight: 600; }
.vz-pill-ins { background: var(--gold); }
.vz-pill-no { background: #E8E3D8; }
.vz-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.vz-or { color: var(--muted); font-size: 12px; }
.vz-rb { display: inline-block; padding: 0 6px; border: 1px solid var(--gold); border-radius: 6px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.5; vertical-align: middle; }

.vz-chart { padding: 0; border: 0; background: none; }
.vz-chart .sheet { margin: 0; }
.vz-chart .vz-title { color: var(--ink); }
.vz-chart .vz-rb { color: var(--ink); border-color: var(--ink); }
.vz-chart .key { margin-top: 12px; }
.vz-chart .note { margin: 4px 0 0; font-size: 14px; }
.vz-more { margin: 10px 0 0; font-size: 15px; font-weight: 700; }
.vz-chart .vz-more a { color: var(--ink); text-decoration-color: var(--felt); }

.vz-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 8px; padding: 0; list-style: none; }
.vz-thumb { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border: 1px solid var(--hair); border-radius: 14px; background: radial-gradient(120% 100% at 50% 0%, #1B5D45 0%, var(--panel) 70%); }
.vz-thumb .vz-hand { padding: 0 0 6px; }
.vz-thumb-h { font-size: 15px; font-weight: 800; line-height: 1.25; }
.vz-thumb-u { color: var(--muted); font-size: 13px; line-height: 1.3; }
.vz-thumb-a { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: auto; padding-top: 6px; }
@media (min-width: 640px) { .vz-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.vz-dealer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 8px 14px; }
.vz-dealer li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.vz-dealer .vz-hand { padding: 0 0 2px; }
.vz-dl-h { font-size: 14px; font-weight: 800; line-height: 1.25; }
.vz-rr { display: flex; align-items: center; gap: 5px; }

.vz-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.vz-tbl th, .vz-tbl td { padding: 9px 6px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: middle; }
.vz-tbl thead th { color: var(--gold); font-size: 13px; }
.vz-tbl tbody tr:last-child th, .vz-tbl tbody tr:last-child td { border-bottom: 0; }
.vz-tbl .vz-pill { border-radius: 9px; text-align: center; }
.vz-tbl .vz-pill small { display: block; margin: 0; }
.vz-tbl th[scope="row"] { line-height: 1.3; }
.vz-tbl th[scope="row"] a { text-decoration-color: rgba(231, 199, 132, 0.6); }
.vz-hn { white-space: nowrap; }
.vz-vs { white-space: nowrap; color: var(--muted); font-size: 13px; font-weight: 600; }
@media (max-width: 639px) { .vz-tbl .vz-vs { display: block; } }
.vz-tbl .vz-num { text-align: center; }
.vz-num { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vz-idx th, .vz-idx td { padding: 8px 4px; }
.vz-idx .vz-pill { padding: 3px 8px; font-size: 12px; }
.vz-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 8px; color: var(--muted); font-size: 13px; }

.vz-when { display: grid; gap: 10px; }
.vz-when-c { padding: 12px; border: 1px solid var(--hair); border-radius: 12px; background: var(--deep); }
.vz-when-h { margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.vz-when-t { margin: 0; font-size: 15px; }
@media (min-width: 640px) { .vz-when { grid-template-columns: 1.5fr 1fr 1fr; } }

.vz-tag { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 5px; border-radius: 7px; color: var(--ink); font-size: 13px; font-weight: 800; line-height: 1; }
.vz-tag-p { background: var(--k-p); }
.vz-tag-z { background: #E8E3D8; }
.vz-tag-m { background: var(--k-s); }
.vz-hilo { display: grid; gap: 14px; }
.vz-hg { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 4px 10px; }
.vz-hg > .vz-tag { min-width: 48px; height: 32px; font-size: 17px; }
.vz-hg-cards { display: flex; flex-wrap: wrap; gap: 5px; }
.vz-hg-r { grid-column: 2; color: var(--muted); font-size: 13px; }
@media (min-width: 640px) {
  .vz-hilo { grid-template-columns: 5fr 3fr 5fr; }
  .vz-hg { grid-template-columns: 1fr; justify-items: start; align-content: start; }
  .vz-hg-r { grid-column: 1; }
}

.vz-bal { display: flex; gap: 2px; height: 34px; }
.vz-bal i { flex: 1 1 0; border-radius: 2px; }
.vz-bal-row { display: flex; gap: 6px; margin-top: 8px; font-size: 13px; text-align: center; }
.vz-bal-l b { display: block; font-size: 16px; }
.vz-bal-sum { margin: 14px 0 0; text-align: center; font-size: 15px; }
.vz-bal-sum b { color: var(--gold); font-size: 22px; vertical-align: -2px; margin-left: 4px; }

.vz-runwrap { overflow-x: auto; }
.vz-run { display: flex; justify-content: center; gap: 6px; margin: 0 auto; padding: 0; list-style: none; width: max-content; }
.vz-run li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vz-run-c { display: block; height: 42px; }
.vz-run-n { min-width: 30px; padding: 0 3px; border-radius: 6px; background: var(--deep); font-size: 14px; font-weight: 800; line-height: 22px; text-align: center; }
.vz-run-k span { display: flex; align-items: center; height: 22px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.vz-run-k span:first-child { height: 42px; }
.vz-run-total { margin: 14px 0 0; text-align: center; font-size: 15px; }
.vz-run-total b { color: var(--gold); font-size: 22px; vertical-align: -2px; margin-left: 4px; }

.vz-eq { display: flex; align-items: stretch; justify-content: center; gap: 8px; }
.vz-eq-t { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; max-width: 150px; padding: 12px 6px; border: 1px solid var(--hair); border-radius: 12px; background: var(--deep); text-align: center; }
.vz-eq-t small { color: var(--muted); font-size: 12px; line-height: 1.2; }
.vz-eq-t b { font-size: 28px; line-height: 1; }
.vz-eq-r { border-color: var(--gold); }
.vz-eq-r b { color: var(--gold); }
.vz-eq-op { align-self: center; color: var(--gold); font-size: 26px; font-weight: 800; }

.vz-shoe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vz-shoe-c { padding: 12px; border: 1px solid var(--hair); border-radius: 12px; background: var(--deep); text-align: center; }
.vz-decks { display: flex; justify-content: center; gap: 9px; margin: 6px 0 12px; padding-right: 4px; }
.vz-deck { display: block; width: 22px; height: 32px; border: 2px solid var(--ivory); border-radius: 4px; background: repeating-linear-gradient(45deg, var(--felt) 0 3px, var(--panel) 3px 6px); box-shadow: 2px 2px 0 rgba(250, 248, 244, 0.85), 4px 4px 0 rgba(250, 248, 244, 0.55); }
.vz-deck-out { opacity: 0.45; transform: rotate(-90deg) scale(0.9); }
.vz-shoe-n { margin: 0; font-weight: 800; }

.gd-mid { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; margin: 34px 0 4px; padding: 16px; border: 1px solid var(--gold); border-radius: 18px; background: linear-gradient(135deg, #1B5D45 0%, var(--deep) 100%); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); }
.gd-mid-n { margin: 0 0 4px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.gd-mid-p { margin: 0 0 12px; font-size: 17px; font-weight: 700; line-height: 1.35; }
@media (min-width: 640px) {
  .gd-mid { grid-template-columns: 150px minmax(0, 1fr); gap: 28px; padding: 22px 28px; }
  .gd-mid-p { font-size: 20px; }
}

.gd-final .gd-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 540px; margin: 22px 0 22px; padding: 0; list-style: none; }
.gd-strip figure { margin: 0; text-align: center; }
.gd-strip li:nth-child(2) { transform: translateY(-10px); }
.gd-strip figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 700; }

.gd-appbar { display: none; }
@media (max-width: 720px) {
  body.gd-page { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .gd-appbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border-top: 1px solid rgba(231, 199, 132, 0.6); background: var(--deep); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35); }
  .gd-appbar-i { flex: none; width: 40px; height: 40px; border-radius: 9px; }
  .gd-appbar-n { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.2; }
  .gd-appbar .gd-badges { flex: none; flex-wrap: nowrap; gap: 6px; margin-left: auto; }
  .gd-appbar a.appstore { padding: 5px 12px 6px; border-radius: 8px; }
  .gd-appbar a.appstore .small { font-size: 9px; }
  .gd-appbar a.appstore .big { font-size: 15px; }
}
@media print { .gd-appbar, .gd-jump { display: none; } }
