/* /betting-sites/virtual-football/ (vf- prefix). Loaded only there by mu-plugins/betadvisor-page-virtual-football.php. Mobile first. */

/* First screen: no big hero image, tighter page head, operator list straight after one line */
.tpl-rating .page-hero { display: none; }
.tpl-rating .page-head { padding-top: 14px; padding-bottom: 12px; }
.tpl-rating .page-head .lead { margin-bottom: .3em; font-size: 1rem; }
.rv-btn--sm { min-height: 38px; padding: 7px 14px; font-size: .9rem; }
.vf-lead { font-size: 1.02rem; margin: 0 0 12px; }

/* Licensed sites [rv_vf_sites] */
.vf-sites { margin: 0 0 22px; display: grid; gap: 8px; }
.vf-site { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 8px 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.vf-site--big { border-left: 4px solid var(--green-2); background: #fbfaf6; }
.vf-site--first { border-left-color: var(--gold); }
.vf-site__rank { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .78rem; font-weight: 800; }
.vf-site__main { min-width: 0; }
.vf-site__name { margin: 0 !important; font-weight: 800; }
.vf-site__name a { color: var(--ink); text-decoration: none; }
.vf-site__name a:hover { text-decoration: underline; }
.vf-site__score { color: var(--green); white-space: nowrap; }
.vf-site__score small { color: var(--ink-soft); font-weight: 600; }
.vf-site__facts { margin: 2px 0 0 !important; display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: .8rem; color: var(--ink-soft); }
.vf-badge { padding: 0 7px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 700; }
.vf-site__btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.vf-site__btns .rv-btn { margin: 0; justify-content: center; text-align: center; }
@media (min-width: 760px) {
	.vf-site { grid-template-columns: auto auto minmax(0, 1fr) auto; }
	.vf-site__btns { grid-column: auto; display: flex; }
	.vf-sites { grid-template-columns: minmax(0, 1fr); }
}
.vf-sites__note { margin: 2px 0 0 !important; font-size: .76rem; color: var(--ink-soft); }

/* How a result is made */
.vf-flow { margin: 0 0 20px; display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); counter-reset: vf; }
@media (min-width: 720px) { .vf-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vf-flow__s { position: relative; padding: 14px 12px 12px; border-radius: var(--radius-sm); background: var(--green); color: #dbe9e2; counter-increment: vf; }
.vf-flow__s::before { content: counter(vf); position: absolute; top: -9px; left: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: var(--green); font-weight: 800; font-size: .76rem; }
.vf-flow__s p { margin: 0; font-size: .86rem; }
.vf-flow__t { font-weight: 800; color: #fff; margin-bottom: 4px !important; }
.vf-flow__cap { grid-column: 1 / -1; margin: 0 !important; font-size: .76rem; color: var(--ink-soft); }

/* Pace: bets a day */
.vf-pace { margin: 0 0 20px; padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.vf-pace__t { margin: 0 0 10px !important; font-weight: 800; color: var(--green); }
.vf-pace__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 70px; gap: 8px; align-items: center; margin: 0 0 8px; font-size: .84rem; }
.vf-pace__track { height: 16px; border-radius: 8px; background: #f1efe8; overflow: hidden; }
.vf-pace__fill { display: block; height: 100%; border-radius: 8px; background: var(--green-2); }
.vf-pace__fill--hot { background: #b3261e; }
.vf-pace__v { text-align: right; font-weight: 800; }
.vf-w3 { width: 2.8%; } .vf-w40 { width: 40%; } .vf-w67 { width: 66.7%; } .vf-w100 { width: 100%; }
.vf-pace__cap { margin: 6px 0 0 !important; font-size: .76rem; color: var(--ink-soft); }
@media (max-width: 420px) { .vf-pace__row { grid-template-columns: 92px minmax(0, 1fr) 56px; font-size: .78rem; } }

/* Random streak strip */
.vf-strip { margin: 0 0 20px; padding: 14px; border-radius: var(--radius-sm); background: #fbfaf6; border: 1px solid var(--line); }
.vf-strip__t { margin: 0 0 8px !important; font-weight: 800; color: var(--green); }
.vf-strip__row { display: flex; flex-wrap: wrap; gap: 4px; }
.vf-strip__row span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font-size: .72rem; font-weight: 800; color: #fff; }
.vf-r1 { background: var(--green-2); } .vf-rx { background: #8a8a7e; } .vf-r2 { background: #d99a00; }
.vf-strip__row span.vf-run { box-shadow: 0 0 0 3px rgba(179, 38, 30, .45); }
.vf-strip__cap { margin: 8px 0 0 !important; font-size: .78rem; color: var(--ink-soft); }

/* Margin bar */
.vf-margin { margin: 0 0 20px; padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.vf-margin__t { margin: 0 0 10px !important; font-weight: 800; color: var(--green); }
.vf-margin__bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; font-size: .74rem; font-weight: 800; color: #fff; }
.vf-margin__bar span { display: grid; place-items: center; white-space: nowrap; overflow: hidden; }
.vf-seg-h { width: 40.6%; background: var(--green-2); } .vf-seg-d { width: 26.3%; background: #3d7a62; } .vf-seg-a { width: 33.1%; background: #6aa58a; }
.vf-margin__over { position: relative; height: 26px; margin-top: 6px; }
.vf-margin__line { position: absolute; top: -40px; bottom: 0; left: 89.4%; border-left: 2px dashed #b3261e; }
.vf-margin__lbl { position: absolute; right: 0; top: 4px; font-size: .74rem; font-weight: 800; color: #b3261e; }
.vf-margin__cap { margin: 6px 0 0 !important; font-size: .78rem; color: var(--ink-soft); }

/* Session calculator [rv_vf_turnover] */
.vf-calc { margin: 0 0 22px; padding: 16px; border-radius: var(--radius); border: 2px solid var(--green); background: #fff; box-shadow: var(--shadow); }
.vf-calc__t { margin: 0 0 10px !important; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--green); }
.vf-calc__in { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .vf-calc__in { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vf-calc__f { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); min-width: 0; }
.vf-calc__f input { width: 100%; min-height: 42px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: 700 1rem/1.2 var(--font); color: var(--ink); background: #fbfaf6; }
.vf-calc__f small { font-weight: 400; font-size: .7rem; }
.vf-calc__out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 8px; }
@media (min-width: 720px) { .vf-calc__out { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vf-calc__out div { padding: 10px; border-radius: var(--radius-sm); background: var(--green-soft); }
.vf-calc__out div.is-warn { background: var(--red-soft); }
.vf-calc__out dt { font-size: .72rem; color: var(--ink-soft); }
.vf-calc__out dd { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--green); }
.vf-calc__out div.is-warn dd { color: #a4511b; }
.vf-calc__say { margin: 0 !important; font-size: .88rem; }

/* Checklist and callouts */
.vf-check { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .vf-check { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vf-check li { margin: 0; position: relative; padding: 12px 14px 12px 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-size: .92rem; }
.vf-check li::before { content: "\2713"; position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green-2); font-weight: 800; font-size: .75rem; }
.vf-check strong { display: block; color: var(--green); }
.vf-keep { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin: 0 0 16px; }
@media (min-width: 640px) { .vf-keep { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vf-keep__col { padding: 14px; border-radius: var(--radius-sm); background: #f4f9f1; border-left: 4px solid var(--green-2); }
.vf-keep__col--warn { background: var(--red-soft); border-left-color: var(--red-line); }
.vf-keep__t { margin: 0 0 6px !important; font-weight: 800; color: var(--green); }
.vf-keep__col--warn .vf-keep__t { color: #8a4415; }
.vf-keep ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.vf-table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.vf-table table { margin: 0; }
.vf-table tbody tr:nth-child(even) td { background: #fbfaf6; }
@media (max-width: 480px) { .vf-table th, .vf-table td { padding: 8px; font-size: .84rem; } }
.vf-img { margin: 0 0 18px; }
.vf-img img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.vf-rg { margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--green-soft); font-size: .9rem; }
