.cp-bet-builder {
	--cpbb-ink: var(--cp-ink, #18201c);
	--cpbb-deep: var(--cp-ink-deep, #0c1210);
	--cpbb-paper: var(--cp-paper, #fffaf0);
	--cpbb-ivory: var(--cp-ivory, #f3ecdd);
	--cpbb-text: var(--cp-text, #252b27);
	--cpbb-muted: var(--cp-muted, #606961);
	--cpbb-red: var(--cp-red, #9a342f);
	--cpbb-green: var(--cp-green, #17543f);
	--cpbb-green-light: var(--cp-green-light, #2d7359);
	--cpbb-metal: var(--cp-warm-metal, #c59a52);
	--cpbb-border: var(--cp-border, #d9d0bf);
	box-sizing: border-box;
	width: min(100%, 1180px);
	margin: 42px auto 56px;
	color: var(--cpbb-text);
	font-family: var(--cp-body, "Inter", "Segoe UI", sans-serif);
	overflow: clip;
}

.cp-bet-builder *, .cp-bet-builder *::before, .cp-bet-builder *::after { box-sizing: border-box; }
.cp-bet-builder :where(h2, h3, h4, p, dl, dd, ul) { max-width: none !important; margin-inline: 0 !important; }
.cp-bet-builder :where(h2, h3, h4)::before { display: none !important; }

.cp-bet-builder__hero {
	position: relative;
	padding: clamp(28px, 5vw, 58px);
	border: 1px solid rgba(197, 154, 82, 0.55);
	border-radius: 20px 20px 0 0;
	background: radial-gradient(circle at 91% 10%, rgba(197,154,82,.2), transparent 34%), linear-gradient(140deg, #091611, #123e2f);
	color: #fffaf0;
	overflow: hidden;
}

.cp-bet-builder__hero::after {
	position: absolute; right: -34px; bottom: -58px; width: 190px; height: 190px;
	border: 1px solid rgba(255,250,240,.1); border-radius: 50%;
	box-shadow: 0 0 0 28px rgba(255,250,240,.025), 0 0 0 58px rgba(255,250,240,.02); content: "";
}

.cp-bet-builder__eyebrow { margin: 0 0 8px !important; color: #b67c2d; font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.cp-bet-builder__hero .cp-bet-builder__eyebrow { color: #e1bd7c; }
.cp-bet-builder__hero h2 { position: relative; z-index: 1; max-width: 900px !important; margin: 0 !important; padding: 0 !important; color: #fffaf0; font-family: var(--cp-display, Georgia, serif); font-size: clamp(34px, 6vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: .99; }
.cp-bet-builder__lede { position: relative; z-index: 1; max-width: 800px !important; margin: 18px 0 0 !important; color: #dce8e0; font-size: clamp(16px, 2vw, 19px); line-height: 1.6; }
.cp-bet-builder__trust { display: flex; position: relative; z-index: 1; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,250,240,.14); color: #bcd0c4; font-size: 12px; }
.cp-bet-builder__trust strong { color: #fffaf0; }

.cp-bet-builder__panel { padding: clamp(24px, 4.2vw, 46px); border: 1px solid var(--cpbb-border); border-top: 0; background: rgba(255,253,248,.97); }
.cp-bet-builder__panel:last-of-type { border-radius: 0 0 20px 20px; }
.cp-bet-builder__section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.cp-bet-builder__section-heading h3 { margin: 0 !important; padding: 0 !important; color: var(--cpbb-ink); font-family: var(--cp-display, Georgia, serif); font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.cp-bet-builder__section-heading > div > p:last-child { max-width: 720px !important; margin: 8px 0 0 !important; color: var(--cpbb-muted); font-size: 15px; line-height: 1.55; }

.cp-bet-builder__puck-picker { margin: 0; padding: 0; border: 0; }
.cp-bet-builder__puck-picker legend { margin-bottom: 12px; color: var(--cpbb-ink); font-size: 13px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.cp-bet-builder__puck-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; }
.cp-bet-builder__puck-grid label { position: relative; min-width: 0; }
.cp-bet-builder__puck-grid input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cp-bet-builder__puck-grid span { display: grid; place-items: center; min-height: 52px; border: 1px solid #cfc3af; border-radius: 9px; background: #fffaf0; color: var(--cpbb-ink); font-size: 16px; font-weight: 850; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.cp-bet-builder__puck-grid input:checked + span { border-color: var(--cpbb-green); background: var(--cpbb-green); box-shadow: inset 0 0 0 2px #fffaf0; color: #fffaf0; }
.cp-bet-builder__puck-grid input:focus-visible + span { outline: 3px solid #d3a84f; outline-offset: 3px; }

.cp-bet-builder__summary, .cp-bet-builder__ev-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.cp-bet-builder__summary > div, .cp-bet-builder__ev-summary > div { min-width: 0; padding: 18px; border: 1px solid var(--cpbb-border); border-radius: 12px; background: #f8f2e6; }
.cp-bet-builder__summary span, .cp-bet-builder__ev-summary span { display: block; color: var(--cpbb-muted); font-size: 10px; font-weight: 850; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }
.cp-bet-builder__summary strong, .cp-bet-builder__ev-summary strong { display: block; margin-top: 5px; color: var(--cpbb-ink); font-family: var(--cp-display, Georgia, serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.1; overflow-wrap: anywhere; }
.cp-bet-builder__summary small, .cp-bet-builder__ev-summary small { display: block; margin-top: 5px; color: var(--cpbb-muted); font-size: 11px; line-height: 1.35; }
.cp-bet-builder__summary-seven { border-color: rgba(154,52,47,.55) !important; background: #fff2ee !important; }
.cp-bet-builder__summary-seven strong { color: var(--cpbb-red); }

.cp-bet-builder__button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid #b9ad9a; border-radius: 9px; background: #fffaf0; color: var(--cpbb-ink); font: inherit; font-size: 13px; font-weight: 800; line-height: 1.2; cursor: pointer; }
.cp-bet-builder__button--primary { border-color: var(--cpbb-green); background: var(--cpbb-green); color: #fff; }
.cp-bet-builder__button:hover { border-color: var(--cpbb-green); }
.cp-bet-builder__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--cpbb-border); }
.cp-bet-builder__wagers { display: grid; gap: 12px; }
.cp-bet-builder__loading { margin: 0 !important; padding: 20px; border: 1px dashed #cfc3af; border-radius: 10px; color: var(--cpbb-muted); text-align: center; }

.cp-bet-builder__wager { display: grid; grid-template-columns: minmax(190px,1.3fr) minmax(160px,1fr) minmax(110px,.55fr) auto; gap: 12px; align-items: end; padding: 16px; border: 1px solid var(--cpbb-border); border-radius: 12px; background: #fffdf8; box-shadow: 0 8px 22px rgba(12,18,16,.045); }
.cp-bet-builder__wager.is-invalid { border-color: #bd6d64; background: #fff8f6; }
.cp-bet-builder__field { min-width: 0; }
.cp-bet-builder__field label, .cp-bet-builder__field-label { display: block; margin-bottom: 6px; color: var(--cpbb-muted); font-size: 10px; font-weight: 850; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }
.cp-bet-builder :where(select, input[type="number"]) { width: 100%; min-height: 44px; margin: 0; padding: 9px 11px; border: 1px solid #cfc3af; border-radius: 8px; background: #fffaf0; color: var(--cpbb-ink); font: inherit; }
.cp-bet-builder__readonly { display: flex; align-items: center; min-height: 44px; padding: 9px 11px; border: 1px solid #ded5c5; border-radius: 8px; background: #f4eddf; color: var(--cpbb-ink); font-size: 14px; font-weight: 750; }
.cp-bet-builder__wager-details { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding-top: 2px; }
.cp-bet-builder__row-note { grid-column: 1 / -1; margin: -2px 0 0 !important; color: var(--cpbb-muted); font-size: 12px; line-height: 1.45; }
.cp-bet-builder__row-note.is-warning { color: #7e342e; font-weight: 700; }
.cp-bet-builder__remove { min-width: 44px; padding-inline: 12px; color: #7e342e; }
.cp-bet-builder__check { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 10px; border: 1px solid #cfc3af; border-radius: 8px; background: #fffaf0; color: var(--cpbb-ink); font-size: 13px; font-weight: 700; }
.cp-bet-builder__check input { width: 20px; height: 20px; margin: 0; }

.cp-bet-builder__table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--cpbb-border); border-radius: 12px; background: #fffdf8; -webkit-overflow-scrolling: touch; }
.cp-bet-builder__table-scroll:focus-visible { outline: 3px solid #d3a84f; outline-offset: 3px; }
.cp-bet-builder table { width: 100%; margin: 0 !important; border: 0; border-collapse: collapse; color: var(--cpbb-text); font-size: 13px; }
.cp-bet-builder__outcomes { min-width: 100%; table-layout: fixed; }
.cp-bet-builder__outcomes th:nth-child(1) { width: 70px; }
.cp-bet-builder__outcomes th:nth-child(2) { width: 105px; }
.cp-bet-builder__outcomes th:nth-child(3) { width: 150px; }
.cp-bet-builder table :where(th,td) { padding: 13px 12px; border: 0; border-bottom: 1px solid #e1d9ca; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.cp-bet-builder table thead th { background: #122e24; color: #fffaf0; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.cp-bet-builder table tbody tr:last-child > * { border-bottom: 0; }
.cp-bet-builder table tbody th { color: var(--cpbb-ink); font-family: var(--cp-display, Georgia, serif); font-size: 22px; }
.cp-bet-builder__seven > * { background: #fff0ec; }
.cp-bet-builder__seven > :first-child { box-shadow: inset 5px 0 0 var(--cpbb-red); color: var(--cpbb-red); }
.cp-bet-builder__net { font-weight: 850; white-space: nowrap; }
.cp-bet-builder__net.is-negative { color: var(--cpbb-red); }
.cp-bet-builder__net.is-positive { color: var(--cpbb-green); }
.cp-bet-builder__net-range { display: block; margin-top: 4px; color: var(--cpbb-muted); font-size: 10px; font-weight: 650; line-height: 1.35; white-space: normal; }
.cp-bet-builder__cell-list { display: grid; gap: 5px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.cp-bet-builder__cell-list li { margin: 0; font-size: 12px; line-height: 1.35; }
.cp-bet-builder__empty { color: #89908b; }

.cp-bet-builder__ev-summary { margin: 0 0 20px; }
.cp-bet-builder__ev-table { min-width: 760px; }
.cp-bet-builder table.cp-bet-builder__ev-table tbody th { background: #103d2e; color: #fffaf0; }
.cp-bet-builder__scroll-hint { display: none; margin: 0 0 8px !important; color: var(--cpbb-muted); font-size: 12px; font-weight: 700; }
.cp-bet-builder__session { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.cp-bet-builder__session label { display: block; margin-bottom: 6px; color: var(--cpbb-muted); font-size: 11px; font-weight: 800; }
.cp-bet-builder__session-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.cp-bet-builder__session-results > div { padding: 16px; border-left: 4px solid var(--cpbb-metal); border-radius: 8px; background: #fffaf0; }
.cp-bet-builder__session-results strong { display: block; color: var(--cpbb-ink); font-size: 17px; }
.cp-bet-builder__session-results p { margin: 5px 0 0 !important; color: var(--cpbb-muted); font-size: 12px; line-height: 1.45; }

.cp-bet-builder__support details { padding: 16px 18px; border: 1px solid var(--cpbb-border); border-radius: 10px; background: #fffaf0; }
.cp-bet-builder__support summary { display: flex; align-items: center; min-height: 44px; color: var(--cpbb-ink); font-weight: 850; cursor: pointer; }
.cp-bet-builder__support details p { margin: 10px 0 0 !important; color: #4f5a53; font-size: 13px; line-height: 1.55; }
.cp-bet-builder__method { margin: 20px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--cpbb-border); color: var(--cpbb-muted); font-size: 12px; line-height: 1.6; }
.cp-bet-builder__method a { font-weight: 750; }
.cp-bet-builder__error { margin: 0 0 18px !important; padding: 15px 17px; border: 1px solid #bd6d64; border-radius: 8px; background: #fff1ee; color: #762b25; }
.cp-bet-builder__noscript { margin-top: 16px; padding: 16px; border: 1px solid #bd6d64; border-radius: 8px; background: #fff1ee; }
.cp-bet-builder__status { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.cp-bet-builder :where(a,button,select,input,summary):focus-visible { outline: 3px solid #d3a84f; outline-offset: 3px; }

@media (max-width: 1100px) {
	.cp-bet-builder__outcomes { min-width: 920px; }
	.cp-bet-builder__scroll-hint { display: block; }
}

@media (max-width: 900px) {
	.cp-bet-builder__wager { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.cp-bet-builder__wager-details { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.cp-bet-builder__remove { justify-self: start; }
}

@media (max-width: 640px) {
	.cp-bet-builder { width: 100%; margin-block: 32px 44px; }
	.cp-bet-builder__hero { padding: 28px 20px; border-radius: 15px 15px 0 0; }
	.cp-bet-builder__panel { padding: 26px 18px; }
	.cp-bet-builder__panel:last-of-type { border-radius: 0 0 15px 15px; }
	.cp-bet-builder__section-heading { display: block; }
	.cp-bet-builder__section-heading--action .cp-bet-builder__button { width: 100%; margin-top: 16px; }
	.cp-bet-builder__puck-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
	.cp-bet-builder__summary, .cp-bet-builder__ev-summary, .cp-bet-builder__session, .cp-bet-builder__session-results { grid-template-columns: 1fr; }
	.cp-bet-builder__wager, .cp-bet-builder__wager-details { grid-template-columns: 1fr; }
	.cp-bet-builder__actions .cp-bet-builder__button { flex: 1 1 calc(50% - 10px); }
}

@media (prefers-reduced-motion: reduce) {
	.cp-bet-builder *, .cp-bet-builder *::before, .cp-bet-builder *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
