/* /predictions/accumulator/ only (enqueued by mu-plugins/betadvisor-page-accumulator.php). Prefix acc-. */

/* ----- Compact page head so today's picks reach the first screen ----- */
.tpl-prediction .page-head--band { padding: 10px 0 12px; margin-bottom: 12px; }
.tpl-prediction .page-head--band .page-title { font-size: clamp(1.55rem, 4.6vw, 2.3rem); margin: .1em 0 .2em; }
.tpl-prediction .page-head--band .lead { font-size: .98rem; margin: 0 0 .4em; max-width: 62ch; }
.tpl-prediction .page-head--band .meta-line { margin: 0; font-size: .82rem; }
.tpl-prediction .notice { padding: 8px 12px 8px 36px; font-size: .84rem; margin: 0 0 12px; }
.tpl-prediction .entry { padding-top: 14px; }
@media (max-width: 640px) {
	.tpl-prediction .page-head--band .eyebrow, .tpl-prediction .breadcrumbs { display: none; }
	.tpl-prediction .page-head--band .lead { font-size: .92rem; }
}

/* ----- Acca board ----- */
.acc-board { margin: 0 0 20px; border: 2px solid var(--green); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.acc-board--empty { padding: 16px; }
.acc-board__head { background: var(--green); color: #fff; padding: 12px 14px 0; }
.acc-board__title { margin: 0 0 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: #fff; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.acc-board--empty .acc-board__title { color: var(--green); }
.acc-board__title span { font-family: var(--font); font-weight: 600; font-size: .78rem; color: var(--lime); }
.acc-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tab { all: unset; box-sizing: border-box; cursor: pointer; flex: none; padding: 9px 12px; border-radius: 10px 10px 0 0; font-weight: 700; font-size: .88rem; color: #cfe2d8; display: inline-flex; gap: 6px; align-items: center; }
.acc-tab small { font-size: .7rem; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.acc-tab[aria-selected="true"] { background: var(--card); color: var(--green); }
.acc-tab[aria-selected="true"] small { background: var(--lime); color: var(--green); }
.acc-tab:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.acc-panel { padding: 12px 14px 14px; }
.acc-panel__note { margin: 0 0 8px; font-size: .84rem; color: var(--ink-soft); }
.acc-legs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.acc-leg { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) 76px; gap: 2px 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfaf6; }
.acc-leg.is-on { border-color: var(--green-2); background: #f2f8ea; }
.acc-leg.is-started { opacity: .55; }
.acc-leg input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--green-2); margin: 0; }
.acc-leg__main { display: flex; flex-direction: column; min-width: 0; cursor: pointer; line-height: 1.3; }
.acc-leg__meta { font-size: .72rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-leg__meta b { color: #a4511b; }
.acc-leg__match { font-weight: 700; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; }
.acc-leg__pick { font-size: .86rem; color: var(--green-2); font-weight: 700; }
.acc-leg__odds input { width: 100%; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font: 700 .95rem var(--font); text-align: center; background: #fff; }
.acc-leg__odds input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.acc-leg__why { grid-column: 2 / -1; font-size: .82rem; }
.acc-leg__why summary { cursor: pointer; color: var(--green-2); font-weight: 700; }
.acc-sum { display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 10px; }
@media (min-width: 760px) { .acc-sum { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acc-sum p { margin: 0; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--green-soft); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.acc-sum span { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); font-weight: 700; }
.acc-sum b { font-family: var(--font-head); font-size: 1.25rem; color: var(--green); }
.acc-sum__stake label { display: flex; flex-direction: column; }
.acc-sum__stake input { width: 100%; min-height: 34px; margin-top: 2px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; font: 700 1rem var(--font); background: #fff; }
.acc-sum__wide { grid-column: 1 / -1; }
.acc-sum__wide b { font-family: var(--font); font-size: .9rem; font-weight: 700; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acc-actions .rv-btn { margin: 0; }
.acc-actions__status { font-size: .82rem; color: var(--green-2); font-weight: 700; }
.acc-board__foot { margin: 0; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--ink-soft); background: #fbfaf6; }

/* ----- Contents strip and numbered headings ----- */
.acc-carnet { margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfaf6; padding: 14px 16px; }
.acc-carnet__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; font-size: .9rem; }
.acc-carnet__head span { color: var(--ink-soft); font-size: .82rem; }
.acc-carnet ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .acc-carnet ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acc-carnet li { margin: 0; }
.acc-carnet a { display: flex; gap: 10px; align-items: baseline; padding: 4px 0; text-decoration: none; color: var(--ink); font-size: .93rem; }
.acc-carnet a:hover { color: var(--green-2); }
.acc-carnet__n { font-family: var(--mono); font-weight: 700; font-size: .8rem; color: var(--green-2); min-width: 22px; }
.entry-content h2.acc-h { display: flex; align-items: baseline; gap: 12px; }
.entry-content h2.acc-h::before { display: none; }
.acc-h__n { flex: none; font-family: var(--mono); font-size: .95rem; font-weight: 700; color: var(--green); background: var(--lime); border-radius: 6px; padding: 2px 7px; line-height: 1.3; }

/* ----- Quick facts strip ----- */
.acc-facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .acc-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acc-facts li { margin: 0; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--green); color: #cfe2d8; font-size: .8rem; line-height: 1.35; }
.acc-facts b { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--lime); }

/* ----- SVG anatomy ----- */
.acc-fig { margin: 0 0 20px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.acc-fig svg { display: block; width: 100%; height: auto; }
.acc-fig figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.acc-svg__card { fill: #fbfaf6; stroke: var(--line); }
.acc-svg__pill { fill: var(--green-soft); stroke: var(--green-2); }
.acc-svg__k { font: 700 13px var(--font); fill: var(--ink-soft); letter-spacing: .06em; }
.acc-svg__k--inv { fill: #cfe2d8; }
.acc-svg__t { font: 700 17px var(--font); fill: var(--ink); }
.acc-svg__o { font: 800 16px var(--font); fill: var(--green); }
.acc-svg__x { font: 800 22px var(--font); fill: var(--green-2); }
.acc-svg__arrow { stroke: var(--green-2); stroke-width: 3; fill: none; }
.acc-svg__head { fill: var(--green-2); }
.acc-svg__slip { fill: var(--green); }
.acc-svg__big { font: 800 34px var(--font-head); fill: var(--lime); }
.acc-svg__mid { font: 800 24px var(--font-head); fill: #fff; }
.acc-svg__foot { font: 600 14px var(--font); fill: #a4511b; }

/* ----- Acca types with risk meter ----- */
.acc-types { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin: 0 0 18px; }
@media (min-width: 640px) { .acc-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .acc-types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.acc-type { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfaf6; }
.acc-type p { margin: 0 0 4px; font-size: .9rem; }
.acc-type__name { font-weight: 800; color: var(--green); font-size: 1rem !important; }
.acc-risk { display: flex; gap: 3px; margin: 2px 0 8px; align-items: center; font-size: .72rem; font-weight: 700; color: var(--ink-soft); }
.acc-risk i { width: 16px; height: 6px; border-radius: 3px; background: var(--line); }
.acc-risk--1 i:nth-child(-n+1), .acc-risk--2 i:nth-child(-n+2) { background: var(--green-2); }
.acc-risk--3 i:nth-child(-n+3) { background: #d99a00; }
.acc-risk--4 i:nth-child(-n+4), .acc-risk--5 i:nth-child(-n+5) { background: #b3261e; }
.acc-risk span { margin-left: 6px; }

/* ----- System calculator ----- */
.acc-sys { margin: 0 0 20px; border: 2px solid var(--green); border-radius: var(--radius); padding: 16px; background: var(--card); box-shadow: var(--shadow); }
.acc-sys__title { margin: 0 0 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--green); }
.acc-sys__form { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 12px; }
.acc-sys__f { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); min-width: 0; }
.acc-sys__f input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: 700 1rem var(--font); background: #fbfaf6; }
.acc-sys__table { overflow-x: auto; }
.acc-sys__table table { width: 100%; border-collapse: collapse; font-size: .86rem; margin: 0; }
.acc-sys__table th, .acc-sys__table td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.acc-sys__table th { background: var(--green-soft); color: var(--green); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.acc-sys__table tr.is-acca td { font-weight: 700; background: #fbfaf6; }
td.acc-sys__up { color: var(--green-2); font-weight: 700; }
td.acc-sys__part { color: #8a5f00; }
td.acc-sys__zero { color: #b3261e; }
.acc-sys__legend { margin: 8px 0 0; font-size: .78rem; color: var(--ink-soft); }
span.acc-sys__up { color: var(--green-2); font-weight: 700; }
span.acc-sys__part { color: #8a5f00; font-weight: 700; }
span.acc-sys__zero { color: #b3261e; font-weight: 700; }
.acc-sys__note { margin: 8px 0 0; font-size: .78rem; color: var(--ink-soft); }

/* ----- Steps, pair boxes, notes, flags ----- */
.acc-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; counter-reset: accs; }
.acc-steps li { margin: 0; position: relative; padding: 10px 12px 10px 52px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfaf6; counter-increment: accs; font-size: .94rem; }
.acc-steps li::before { content: counter(accs, decimal-leading-zero); position: absolute; left: 12px; top: 10px; font-family: var(--mono); font-weight: 700; color: var(--green); background: var(--lime); border-radius: 5px; padding: 0 5px; font-size: .82rem; }
.acc-steps b { color: var(--green); }
.acc-pair { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin: 0 0 20px; }
@media (min-width: 760px) { .acc-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acc-box { border-radius: var(--radius); padding: 14px 16px; border: 1px solid var(--line); background: var(--card); }
.acc-box h3 { margin: 0 0 8px; font-size: 1.02rem; }
.acc-box ul { margin: 0; padding-left: 1.1em; font-size: .94rem; }
.acc-box--keep { border-top: 4px solid var(--green-2); }
.acc-box--watch { border-top: 4px solid var(--red-line); background: #fffaf5; }
.acc-note { padding: 10px 14px; border-left: 4px solid var(--gold); background: #fffbef; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .93rem; }
.acc-table { display: block; overflow-x: auto; }
.entry-content table.acc-table tr.is-key td { background: rgba(183, 227, 74, .22); font-weight: 700; }
.acc-flags { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.acc-flags li { margin: 0; display: grid; gap: 4px 14px; grid-template-columns: minmax(0, 1fr); padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
@media (min-width: 760px) { .acc-flags li { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.acc-flags__claim { font-weight: 800; color: #a4511b; }
.acc-flags__real::before { content: "Reality: "; font-weight: 700; color: var(--green-2); }

/* ----- [rv_acca_chart] styles (copied from home.css, which loads on the front page only) ----- */
/* ----- Accumulator reality check [rv_acca_chart] ----- */
.hb-acca { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); min-width: 0; }
.hb-acca__ctl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 18px; margin: 0 0 16px; padding: 12px 14px; background: var(--green-soft); border-radius: var(--radius-sm); }
@media (min-width: 560px) { .hb-acca__ctl { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: auto auto; } }
.hb-acca__ctl label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--green); }
.hb-acca__ctl output { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--green); }
.hb-acca__ctl input[type=range] { width: 100%; margin: 2px 0 8px; accent-color: var(--green-2); }
.hb-acca__grid { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px 8px; align-items: center; }
.hb-acca__lbl { font-size: .72rem; line-height: 1.25; color: var(--ink-soft); font-weight: 700; }
.hb-acca__lbl--top { align-self: end; padding-bottom: 6px; }
.hb-acca__bars, .hb-acca__row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.hb-acca__bars { height: 170px; align-items: end; background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), var(--line) calc(25% - 1px) 25%); border-bottom: 2px solid var(--ink-soft); }
.hb-acca__col { all: unset; box-sizing: border-box; cursor: pointer; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border-radius: 6px 6px 0 0; }
.hb-acca__col:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hb-acca__val { font-size: .74rem; font-weight: 800; color: var(--ink); margin-bottom: 3px; white-space: nowrap; }
.hb-acca__bar { display: block; width: 78%; min-height: 2px; border-radius: 5px 5px 0 0; transition: height .25s ease, opacity .15s; opacity: .8; }
.hb-acca__col.z-hi .hb-acca__bar { background: var(--green-2); }
.hb-acca__col.z-mid .hb-acca__bar { background: #d99a00; }
.hb-acca__col.z-lo .hb-acca__bar { background: #b3261e; }
.hb-acca__col:hover .hb-acca__bar { opacity: 1; }
.hb-acca__col.is-sel { background: rgba(183, 227, 74, .28); }
.hb-acca__col.is-sel .hb-acca__bar { opacity: 1; box-shadow: 0 0 0 2px var(--green); }
.hb-acca__row span { text-align: center; font-size: .74rem; font-weight: 700; color: var(--ink); padding: 3px 0; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.hb-acca__row--legs span { font-size: .85rem; color: var(--ink-soft); }
.hb-acca__row span.is-sel { background: rgba(183, 227, 74, .35); color: var(--green); }
.hb-acca__read { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); border-left: 4px solid var(--green-2); background: #fbfaf6; font-size: .93rem; }
.hb-acca__read.z-mid { border-left-color: #d99a00; }
.hb-acca__read.z-lo { border-left-color: #b3261e; }
.hb-acca__read p { margin: 0 0 .4em; }
.hb-acca__read p:last-child { margin: 0; }
.hb-acca__big { font-size: 1.05rem; }
.hb-acca figcaption { font-size: .78rem; color: var(--ink-soft); margin-top: 10px; }
@media (max-width: 420px) { .hb-acca { padding: 12px; } .hb-acca__grid { grid-template-columns: 58px minmax(0, 1fr); } .hb-acca__bars, .hb-acca__row { gap: 2px; } .hb-acca__val, .hb-acca__row span { font-size: .66rem; } .hb-acca__lbl { font-size: .66rem; } }
@media (prefers-reduced-motion: reduce) { .hb-acca__bar { transition: none; } }


/* ----- Target meter (board with target, used on /predictions/5-odds/) ----- */
.acc-sum__target { background: #fffbef !important; }
.acc-meter { display: block; height: 8px; margin: 4px 0 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.acc-meter i { display: block; height: 100%; width: 0; border-radius: 4px; background: #d99a00; transition: width .25s; }
.acc-meter i.is-on { background: var(--green-2); }
.acc-meter i.is-over { background: #b3261e; }
