/* The Open wagers board, rebuilt to be scrolled: a sticky control deck with a chip rail, a spotlight of tickets,
   reveal-on-scroll, a gold progress line and a back-to-top coin. Premium and quiet: slow easing, antique gold, nothing loud.
   No hover movement or blur; text stays at .76rem or larger; all motion stops under reduced-motion. */

/* sticky needs a non-scrolling clip, not overflow:hidden */
#fruit-wagers .bp-app { overflow: clip; }

/* ------------------------------------------------------------------ the deck */
#fruit-wagers .bp-main .cz-deck { position: relative; z-index: 2; gap: 16px; margin: 20px 0 22px; padding: 26px 24px 16px; border-radius: 24px;
  transition: padding .3s ease, gap .3s ease, border-radius .3s ease, box-shadow .3s ease; }
#fruit-wagers .cz-deck::after { background:
  radial-gradient(ellipse at 50% -10%, rgba(232, 180, 74, .14), transparent 55%),
  repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 16px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 16px),
  linear-gradient(165deg, rgba(44, 20, 80, .96), rgba(14, 7, 28, .97) 60%, rgba(8, 4, 16, .98)); }
#fruit-wagers .cz-top { flex-wrap: wrap; row-gap: 10px; }
#fruit-wagers .cz-tools2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }

/* chip rail */
.cz-railwrap { position: relative; }
.cz-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 8px 4px 12px; margin: 0 -4px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent); mask: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent); }
.cz-rail::-webkit-scrollbar { display: none; }
.cz-chip { position: relative; flex: none; scroll-snap-align: center; display: grid; justify-items: center; gap: 7px; min-width: 100px; padding: 14px 14px 11px; border-radius: 18px; color: #e8dcf7; cursor: pointer;
  font: 900 .84rem/1.1 var(--label); letter-spacing: .05em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .38)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tc, #aeb4c6) 45%, transparent), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: box-shadow .25s ease, background .25s ease, color .25s ease; }
.cz-chip.all { --tc: #ffe3a1; }
.cz-chip .cz-fchip { width: 48px; height: 48px; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .7)) drop-shadow(0 0 8px color-mix(in srgb, var(--tc, #aeb4c6) 55%, transparent)); }
.cz-chip .cz-fchip.all { --k1: #14081f; --k2: #ffd45a; --k3: #1d0c2e; --k4: #ffd45a; --k5: #ffd45a; --k6: #14081f; }
.cz-chip em { position: absolute; top: 9px; right: 10px; min-width: 22px; padding: 3px 7px; border-radius: 99px; font: 900 .78rem/1 var(--label); font-style: normal; text-align: center; color: #1a0a00;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tc, #aeb4c6) 55%, #fff), var(--tc, #aeb4c6)); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .22); }
.cz-chip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 30px; height: 3px; translate: -50% 0; border-radius: 3px; background: var(--tc, #aeb4c6); box-shadow: 0 0 10px var(--tc, #aeb4c6); opacity: 0; transition: opacity .25s; }
.cz-chip:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--tc, #aeb4c6) 14%, transparent), rgba(0, 0, 0, .3)); box-shadow: inset 0 0 0 1.5px var(--tc, #aeb4c6), 0 0 22px -8px var(--tc, #aeb4c6); }
.cz-chip[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--tc, #aeb4c6) 30%, transparent), rgba(0, 0, 0, .28));
  box-shadow: inset 0 0 0 2px var(--tc, #aeb4c6), inset 0 0 0 4px rgba(0, 0, 0, .5), 0 0 28px -6px var(--tc, #aeb4c6); }
.cz-chip[aria-pressed="true"]::after { opacity: 1; }
.cz-chip.has .cz-fchip { animation: cz-chip 2.8s ease-in-out infinite; }
.cz-chip[aria-pressed="true"] .cz-fchip { animation: bc-chipspin 9s linear infinite; }
.cz-chip.has[aria-pressed="true"] .cz-fchip { animation: cz-chip 2.8s ease-in-out infinite, bc-chipspin 9s linear infinite; }
.cz-arrow { position: absolute; top: 50%; translate: 0 -62%; z-index: 3; display: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #2a1400; font: 900 1.4rem/1 var(--label); cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #fff0b8, #e8b44a 60%, #a8721c); box-shadow: inset 0 0 0 2px #7a4a00, 0 0 0 3px rgba(232, 180, 74, .3), 0 8px 16px -6px #000; transition: opacity .25s; }
.cz-arrow.l { left: -10px; } .cz-arrow.r { right: -10px; }
.cz-railwrap.scrolls .cz-arrow { display: grid; }
.cz-railwrap.at-l .cz-arrow.l, .cz-railwrap.at-r .cz-arrow.r { opacity: .25; pointer-events: none; }

/* search and the sliding segmented controls */
.cz-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.cz-search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 14px; color: #e8b44a; cursor: text;
  background: rgba(0, 0, 0, .48); box-shadow: inset 0 3px 8px rgba(0, 0, 0, .65), inset 0 0 0 1.5px rgba(232, 180, 74, .35); transition: box-shadow .25s; }
.cz-search:focus-within { box-shadow: inset 0 3px 8px rgba(0, 0, 0, .65), inset 0 0 0 2px #e8b44a, 0 0 24px -6px rgba(232, 180, 74, .75); }
.cz-search .bp-ico { width: 18px; height: 18px; flex: none; }
#fruit-wagers .cz-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none; color: #fff; font: 700 .95rem var(--label); }
.cz-search input::placeholder { color: #a794c2; }
.cz-search kbd { padding: 3px 8px; border-radius: 6px; font: 800 .78rem/1 var(--label); color: #e8b44a; background: rgba(232, 180, 74, .12); box-shadow: inset 0 0 0 1px rgba(232, 180, 74, .4); }
.cz-search:focus-within kbd { opacity: 0; }
.cz-seg { --n: 4; --i: 0; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 99px; background: rgba(0, 0, 0, .5);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(232, 180, 74, .32); }
.cz-sort { --n: 3; }
.cz-seg[data-i="0"] { --i: 0; } .cz-seg[data-i="1"] { --i: 1; } .cz-seg[data-i="2"] { --i: 2; } .cz-seg[data-i="3"] { --i: 3; }
.cz-seg button { position: relative; z-index: 1; padding: 10px 18px; border-radius: 99px; font: 900 .84rem/1 var(--label); letter-spacing: .06em; white-space: nowrap; color: #cdbde6; background: transparent; cursor: pointer; transition: color .3s; }
.cz-seg button:hover { color: #fff; }
.cz-seg button[aria-pressed="true"] { color: #2a1400; }
.cz-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n)); border-radius: 99px; translate: calc(var(--i) * 100%) 0;
  background: linear-gradient(180deg, #fff0b8, #ffc23a 55%, #d98f0c); box-shadow: inset 0 1px 0 #fff, 0 0 16px rgba(232, 180, 74, .55); transition: translate .42s cubic-bezier(.3, 1.25, .5, 1); }

/* what is showing, and how to undo it */
.cz-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 28px; font: 700 .86rem/1.2 var(--label); color: #cdbde6; }
.cz-summary b { color: #ffe3a1; }
.cz-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; font: 800 .8rem/1 var(--label); color: #2a1400; cursor: pointer; background: linear-gradient(180deg, #ffe9a8, #e8b44a); box-shadow: inset 0 1px 0 #fff9; }
.cz-tag::after { content: "\2715"; font-size: .72rem; opacity: .7; }
.cz-clear { margin-left: auto; padding: 5px 12px; border-radius: 99px; font: 800 .8rem/1 var(--label); letter-spacing: .06em; color: #e8b44a; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 1px rgba(232, 180, 74, .5); }
.cz-clear:hover { background: rgba(232, 180, 74, .12); }

/* scrolled: the deck shrinks to a slim bar that follows you down the board */

/* ------------------------------------------------------------------ spotlight: tickets you can scroll through */
.cz-spot { margin: 4px 0 0; }
.cz-spot-h { display: flex; align-items: baseline; gap: 14px; margin: 4px 4px 8px; }
.cz-spot-h h3 { margin: 0; font: 400 1.35rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #ffe3a1; text-shadow: 0 2px 0 #5a3000; }
.cz-spot-h small { font: 700 .86rem/1.2 var(--label); color: #b9a6d6; }
.cz-spot-nav { margin-left: auto; display: flex; gap: 8px; }
.cz-spot-nav .cz-arrow { position: static; translate: none; display: grid; width: 32px; height: 32px; font-size: 1.2rem; }
.cz-spot.at-l .cz-spot-nav .cz-arrow:first-child, .cz-spot.at-r .cz-spot-nav .cz-arrow:last-child { opacity: .25; pointer-events: none; }
.cz-spot:not(.scrolls) .cz-spot-nav { display: none; }
.cz-spotrail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 16px; }
.cz-spotrail::-webkit-scrollbar { display: none; }
.cz-ticket { --pc: #aeb4c6; flex: none; width: 320px; scroll-snap-align: start; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; color: #fff; cursor: pointer;
  border-radius: 16px; background: radial-gradient(120% 150% at 0% 0%, color-mix(in srgb, var(--pc) 38%, transparent), transparent 62%), linear-gradient(180deg, color-mix(in srgb, var(--pc) 16%, #0a040c), #05020a);
  box-shadow: inset 0 0 0 1.5px var(--pc), inset 0 0 0 4px #05020a, inset 0 0 0 5px color-mix(in srgb, var(--pc) 45%, transparent);
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; }
.cz-ticket:hover { filter: brightness(1.12); }
.cz-tk-art { display: flex; align-items: center; }
.cz-tk-art .bp-glyph { width: 56px; height: 56px; margin-right: -14px; border: 0; background-color: transparent; font-size: 0; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .65)) drop-shadow(0 0 10px color-mix(in srgb, var(--pc) 55%, transparent)); }
.cz-tk-art .bp-plus { display: none; }
.cz-tk-body { display: grid; gap: 4px; min-width: 0; }
.cz-tk-body b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 900 1rem/1.1 var(--label); letter-spacing: .03em; text-transform: uppercase; }
.cz-tk-body small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 .82rem/1.2 var(--label); color: #cdbde6; }
.cz-tk-body i { justify-self: start; padding: 3px 9px; border-radius: 99px; font: 900 .76rem/1 var(--label); font-style: normal; letter-spacing: .1em; color: #170a22; background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 55%, #fff), var(--pc)); }
.cz-tk-val { position: relative; padding-left: 14px; }
.cz-tk-val::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; border-left: 2px dashed color-mix(in srgb, var(--pc) 60%, transparent); }
.cz-tk-val .bp-chip { --cs: 56px; }

/* show more */
.cz-more { display: flex; justify-content: center; padding: 10px 0 20px; }
.cz-morebtn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; padding: 14px 30px; border-radius: 99px; font: 900 .9rem/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: #2a1400; cursor: pointer;
  background: linear-gradient(180deg, #fff0b8, #ffc23a 55%, #c9830a); box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 rgba(120, 60, 0, .4), 0 0 0 2px #4a2a00, 0 12px 24px -10px rgba(232, 180, 74, .7); }
.cz-morebtn i { padding: 4px 10px; border-radius: 99px; font: 800 .78rem/1 var(--label); font-style: normal; letter-spacing: .04em; background: rgba(42, 20, 0, .16); }
.cz-morebtn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; left: -50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); animation: bc-glide 5s ease-in-out infinite; }

/* ------------------------------------------------------------------ scroll furniture */
.bc-progress { --p: 0; position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; pointer-events: none; background: rgba(0, 0, 0, .3); }
.bc-progress i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p)); background: linear-gradient(90deg, #a8721c, #ffe3a1 55%, #e8b44a, #b04dff); box-shadow: 0 0 10px rgba(232, 180, 74, .8); }
.bc-top { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; color: #2a1400; font: 900 1.4rem/1 var(--label); cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #fff0b8, #e8b44a 60%, #a8721c); box-shadow: inset 0 0 0 2px #7a4a00, 0 0 0 3px rgba(232, 180, 74, .35), 0 14px 26px -8px #000;
  opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .35s ease, translate .35s cubic-bezier(.2, .8, .2, 1); }
.bc-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.bc-top::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(232, 180, 74, .6); animation: bc-topring 3.2s ease-out infinite; }
@keyframes bc-topring { 0% { scale: 1; opacity: .8; } 70%, 100% { scale: 1.45; opacity: 0; } }
.bc-bg .bc-icons { translate: 0 calc(var(--sy, 0) * -.05px); }
.bc-bg .bc-beam { translate: 0 calc(var(--sy, 0) * -.03px); }

/* things below the fold arrive as you scroll to them */
.bc-js #fruit-wagers .rv { opacity: 0; translate: 0 28px; transition: opacity .75s ease var(--rd, 0s), translate .75s cubic-bezier(.2, .8, .2, 1) var(--rd, 0s), box-shadow .18s, filter .18s; }
.bc-js #fruit-wagers .rv.in { opacity: 1; translate: 0 0; }
#fruit-wagers .cz-deal > .bpp:nth-child(n+4) { animation: none; }

@media (max-width: 900px) { #fruit-wagers .bp-main .cz-deck { position: static; } .cz-bar { grid-template-columns: 1fr; } .cz-tools2 { margin-left: 0; } .cz-ticket { width: 280px; } }
@media (max-width: 700px) { .bc-top { right: 14px; bottom: 14px; } .cz-chip { min-width: 90px; } .cz-seg button { padding: 10px 12px; } }
@media (prefers-reduced-motion: reduce) {
  .bc-js #fruit-wagers .rv { opacity: 1; translate: none; transition: none; }
  .cz-thumb, .bc-top, .cz-chip, .cz-deck { transition: none; }
  .cz-chip .cz-fchip, .bc-top::after, .cz-morebtn::after { animation: none; }
  .cz-rail, .cz-spotrail { scroll-behavior: auto; }
}

/* ---- arrows: a real chevron, big and dark on the gold coin ---- */
.cz-arrow { width: 40px; height: 40px; padding: 0; font-size: 0; }
.cz-spot-nav .cz-arrow { width: 38px; height: 38px; }
.cz-chev { width: 62%; height: 62%; fill: none; stroke: #2a1400; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.cz-arrow:hover { filter: brightness(1.1); }
.cz-railwrap.at-l .cz-arrow.l, .cz-railwrap.at-r .cz-arrow.r, .cz-spot.at-l .cz-spot-nav .cz-arrow:first-child, .cz-spot.at-r .cz-spot-nav .cz-arrow:last-child { opacity: .4; filter: grayscale(.5); }

/* ---- the slim filter bar: out of flow, so showing or hiding it can never move the page (this stopped the scroll jitter) ---- */
#fruit-wagers .bp-main .cz-sticky { position: sticky !important; top: 8px; z-index: 40; height: 0; margin: 0; }
.cz-compact { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(44, 20, 80, .97), rgba(14, 7, 28, .98));
  box-shadow: inset 0 0 0 2px #8a5a12, inset 0 0 0 4px #1b0d05, inset 0 0 0 5px rgba(255, 203, 92, .6), 0 22px 40px -14px #000;
  opacity: 0; visibility: hidden; pointer-events: none; translate: 0 -14px; transition: opacity .3s ease, translate .3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s; }
.cz-compact.on { opacity: 1; visibility: visible; pointer-events: auto; translate: 0 0; transition-delay: 0s; }
.cz-jump { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 38px; padding: 0 14px; border-radius: 99px; font: 900 .82rem/1 var(--label); letter-spacing: .08em; text-transform: uppercase; color: #2a1400; cursor: pointer;
  background: linear-gradient(180deg, #fff0b8, #ffc23a 55%, #d98f0c); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #4a2a00; }
.cz-jump .bp-ico { width: 16px; height: 16px; }
.cz-chips { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cz-chips::-webkit-scrollbar { display: none; }
.cz-compact .cz-chip { grid-auto-flow: column; align-items: center; justify-items: start; gap: 8px; min-width: 0; padding: 5px 12px 5px 6px; border-radius: 99px; }
.cz-compact .cz-chip .cz-fchip { width: 30px; height: 30px; }
.cz-compact .cz-chip em { position: static; }
.cz-compact .cz-chip::after { display: none; }
.cz-compact .cz-seg { flex: none; }
.cz-compact .cz-seg button { padding: 8px 14px; }
@media (max-width: 900px) { .cz-sticky { display: none; } }
@media (prefers-reduced-motion: reduce) { .cz-compact { transition: none; translate: none; } }

/* a post you have already sent a request to */
.cz-tk-req { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 99px; font: 800 .62rem/1.4 var(--label); letter-spacing: .06em; text-transform: uppercase; color: #1a1200; background: #ffd35a; font-style: normal; }
