/* /fantasy: approved as cricketdatabase-fantasy-preview-286.html */
.fx-hero { position: relative; overflow: hidden; padding: calc(var(--bar-h) + 72px) 0 72px; border-bottom: 1px solid var(--hair);
  background: radial-gradient(60% 50% at 78% 20%, #17271F 0%, var(--ink) 62%); }
.fx-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.fx-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 56px; align-items: center; }
.fx-kw { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--gilt); }
.fx-kw::before { content: ""; width: 26px; height: 1px; background: var(--gilt); }
.fx-title { display: block; max-width: 14ch; font-weight: 400; font-stretch: 88%; font-size: clamp(42px, 5.6vw, 78px); line-height: .98; letter-spacing: -.035em; }
.fx-hero .lede { margin-top: 24px; }
.fx-btn { min-width: 190px; }
.fx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 44px; max-width: 560px; border-top: 1px solid var(--hair); }
.fx-facts div { padding: 14px 16px 0 0; }
.fx-facts b { display: block; font-size: 26px; font-weight: 400; font-stretch: 88%; color: var(--willow); font-variant-numeric: tabular-nums; }
.fx-facts span { font-size: 13px; color: var(--stone); }

/* the live card: points moving as the balls land */
.fx-live { border-radius: var(--r); border: 1px solid var(--hair-2); background: rgba(14, 23, 20, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.fx-live header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--hair); font-size: 13px; }
.fx-live header .dot { width: 7px; height: 7px; border-radius: var(--r); background: var(--win); box-shadow: 0 0 10px var(--win); animation: fxpulse 1.6s infinite; }
.fx-live header .dot.off { background: var(--stone); box-shadow: none; animation: none; }
.fx-live header .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-live header .ov { color: var(--stone); font-family: var(--code); font-size: 12px; white-space: nowrap; }
.fx-live .ball { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--hair); font-size: 13px; color: var(--stone); min-height: 40px; }
.fx-live .ball .bb { flex: none; width: 26px; height: 22px; border-radius: var(--r); display: grid; place-items: center; font: 500 12px/1 var(--code); border: 1px solid var(--hair-2); color: var(--willow); }
.fx-live .ball .bb.w { border-color: rgba(212, 183, 122, .6); color: var(--gilt); }
.fx-live .ball .bb.b { border-color: rgba(169, 210, 230, .55); color: var(--glint); }
.fx-live .ball .txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.fx-live table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fx-live td { padding: 8px 14px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.fx-live tr:last-child td { border-bottom: 0; }
.fx-live td.p { color: var(--willow); max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.fx-live td.r { color: var(--stone); width: 92px; }
.fx-live td.n { text-align: right; width: 64px; font-variant-numeric: tabular-nums; color: var(--willow); }
.fx-live td.d { text-align: right; width: 54px; font-variant-numeric: tabular-nums; color: var(--win); opacity: 0; transition: opacity .4s; }
.fx-live td.d.on { opacity: 1; }
.fx-live tr { transition: background 1s; }
.fx-live tr.hot { background: rgba(212, 183, 122, .09); }
.fx-live footer { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--hair); font: 400 12px/1.4 var(--code); color: var(--stone); }
.fx-live footer b { color: var(--willow); font-weight: 400; }
@keyframes fxpulse { 50% { opacity: .35; } }

/* sections */
.fx-sec { padding: 88px 0; border-bottom: 1px solid var(--hair); }
.fx-sec.alt { background: var(--ink-2); }
.fx-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.fx-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; font-stretch: 88%; letter-spacing: -.03em; line-height: 1.05; }
.fx-head p { margin: 0; color: var(--stone); font-size: 15.5px; max-width: 54ch; }
.fx-kick { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13.5px; font-weight: 500; color: var(--gilt); }
.fx-kick::before { content: ""; width: 18px; height: 1px; background: var(--gilt); }

/* projections: the match card */
.pj { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.pj-card { border-radius: var(--r); border: 1px solid var(--hair-2); background: var(--ink-2); overflow: hidden; }
.pj-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--hair); font-size: 13.5px; color: var(--stone); }
.pj-top .when { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-s { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r); border: 1px solid var(--hair-2); font-size: 12px; color: var(--stone); white-space: nowrap; }
.chip-s.ok { border-color: rgba(159, 203, 168, .5); color: var(--win); }
.pj-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pj-side { padding: 6px 18px 14px; }
.pj-side + .pj-side { border-left: 1px solid var(--hair); }
.pj-sh { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 0 10px; border-bottom: 1px solid var(--hair); }
.pj-sh h3 { margin: 0; font-size: 17px; font-weight: 500; white-space: nowrap; }
.pj-sh span { font-size: 12.5px; color: var(--stone); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pj-row { display: grid; grid-template-columns: minmax(0, 1fr) 128px 46px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 13.5px; }
.pj-row:last-child { border-bottom: 0; }
.pj-row .nm { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-row .nm small { margin-left: 6px; font-size: 11.5px; color: #6F7C76; }
.pj-row .cv { display: inline-grid; place-items: center; width: 20px; height: 18px; margin-right: 6px; border-radius: 4px; font-size: 10.5px; vertical-align: 1px; border: 1px solid rgba(212, 183, 122, .6); color: var(--gilt); }
.pj-row .pts { text-align: right; font-variant-numeric: tabular-nums; color: var(--willow); }
.rng { position: relative; height: 6px; border-radius: var(--r); background: var(--hair); }
.rng i { position: absolute; top: 0; bottom: 0; border-radius: var(--r); background: rgba(169, 210, 230, .32); }
.rng b { position: absolute; top: -3px; width: 2px; height: 12px; margin-left: -1px; border-radius: 2px; background: var(--gilt); }
.pj-lock { display: flex; align-items: center; gap: 8px; padding: 10px 0 2px; font-size: 12.5px; color: var(--stone); }
.pj-lock svg { width: 12px; height: 12px; flex: none; }
.pj-side-col { display: grid; gap: 16px; align-content: start; }
.pj-box { border-radius: var(--r); border: 1px solid var(--hair-2); background: var(--ink-2); padding: 16px 18px; }
.pj-box h3 { margin: 0 0 12px; font-size: 14px; font-weight: 500; color: var(--stone); }
.pick { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hair); }
.pick:first-of-type { border-top: 0; }
.pick .cv { flex: none; display: grid; place-items: center; width: 26px; height: 24px; border-radius: var(--r); font-size: 12px; border: 1px solid rgba(212, 183, 122, .6); color: var(--gilt); }
.pick .who { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick .who small { display: block; font-size: 12px; color: #6F7C76; }
.pick .pts { font-variant-numeric: tabular-nums; font-size: 18px; font-stretch: 88%; }
.acc { display: grid; gap: 10px; }
.acc-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-size: 13px; color: var(--stone); }
.acc-row .bar { height: 6px; border-radius: var(--r); background: var(--hair); overflow: hidden; }
.acc-row .bar span { display: block; height: 100%; border-radius: var(--r); background: var(--glint); }
.acc-row.us .bar span { background: var(--gilt); }
.acc-row em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--willow); }
.pj-box p { margin: 12px 0 0; font-size: 12.5px; color: #6F7C76; line-height: 1.55; }

.pj-none { margin: 0; padding: 22px 24px; border-radius: var(--r); border: 1px dashed var(--hair-2); color: var(--stone); font-size: 14.5px; }
.rules-foot a code { text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 3px; }

/* rankings */
.rk-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r); border: 1px solid var(--hair-2); background: var(--ink-2); }
.seg button { min-width: 92px; height: 32px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--stone); font: 400 13.5px/1 var(--font); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--ink-3); color: var(--willow); box-shadow: inset 0 0 0 1px var(--hair-2); }
.rk-bar .grow { flex: 1; }
.rk-bar .note { font-size: 12.5px; color: #6F7C76; white-space: nowrap; }
.rk-wrap { border-radius: var(--r); border: 1px solid var(--hair-2); overflow: hidden; }
.rk { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.rk thead th { background: var(--ink-3); text-align: left; padding: 11px 14px; font-size: 12px; font-weight: 500; color: var(--stone); white-space: nowrap; border-bottom: 1px solid var(--hair-2); cursor: pointer; }
.rk thead th.nr, .rk td.nr { text-align: right; }
.rk thead th[aria-sort] { color: var(--willow); }
.rk thead th[aria-sort]::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: var(--gilt); vertical-align: -2px; }
.rk td { padding: 10px 14px; border-bottom: 1px solid var(--hair); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rk tbody tr { transition: background .2s; }
.rk tbody tr:hover { background: rgba(233, 228, 216, .03); }
.rk td.pl { color: var(--willow); }
.rk td.pl small { display: block; font-size: 12px; color: #6F7C76; }
.rk td.pos { width: 52px; color: var(--stone); }
.role { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; height: 22px; border-radius: var(--r); font-size: 11.5px; border: 1px solid var(--hair-2); color: var(--stone); }
.role.k { border-color: rgba(169, 210, 230, .45); color: var(--glint); }
.role.a { border-color: rgba(212, 183, 122, .45); color: var(--gilt); }
.role.w { border-color: rgba(159, 203, 168, .45); color: var(--win); }
.rk td.rt { color: var(--willow); font-size: 15px; }
.spark { width: 84px; height: 22px; vertical-align: middle; }
.spark polyline { fill: none; stroke: var(--glint); stroke-width: 1.4; }
.spark circle { fill: var(--gilt); }
.rk .rng { width: 120px; display: inline-block; vertical-align: middle; }
.rk .rng + small { margin-left: 8px; font-size: 12px; color: #6F7C76; }
.rk td.act { width: 112px; text-align: right; }
.btn-xs { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 28px; border-radius: var(--r); border: 1px solid var(--hair-2); font-size: 12.5px; color: var(--willow); white-space: nowrap; }
.btn-xs:hover { border-color: var(--willow); }
.rk tr.lock td { color: #4E5C56; }
.rk tr.lock td.pl { filter: blur(4px); user-select: none; }
.rk-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px; background: var(--ink-2); border-top: 1px solid var(--hair-2); font-size: 13.5px; color: var(--stone); }
.rk-foot .grow { flex: 1; }
.rk-scroll { position: relative; overflow-x: auto; }

/* how points are scored */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rule { border-radius: var(--r); border: 1px solid var(--hair-2); background: var(--ink); padding: 18px 20px; }
.rule h3 { margin: 0; font-size: 17px; font-weight: 500; }
.rule h3 small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; color: #6F7C76; }
.rule dl { margin: 14px 0 0; }
.rule dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--hair); font-size: 13.5px; }
.rule dt { color: var(--stone); } .rule dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--willow); }
.rules-foot { margin-top: 16px; font-size: 13.5px; color: var(--stone); }
.rules-foot code { font-family: var(--code); font-size: 12.5px; color: var(--willow); }

/* endpoints and tools */
.eps { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.ep-tbl { border-radius: var(--r); border: 1px solid var(--hair-2); overflow: hidden; }
.ep-r { display: grid; grid-template-columns: 46px minmax(0, 1fr) 128px 88px; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--hair); font-size: 13.5px; }
.ep-r:last-child { border-bottom: 0; }
.ep-r .m { font: 500 11.5px/1 var(--code); color: var(--gilt); }
.ep-r .pa { min-width: 0; }
.ep-r .pa code { display: block; font: 400 12.5px/1.4 var(--code); color: var(--willow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-r .pa span { display: block; font-size: 12.5px; color: #6F7C76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-r .lv { display: inline-flex; justify-content: center; align-items: center; width: 128px; height: 24px; border-radius: var(--r); font-size: 11.5px; border: 1px solid var(--hair-2); color: var(--stone); white-space: nowrap; }
.ep-r .lv.f { border-color: rgba(159, 203, 168, .5); color: var(--win); }
.ep-r .lv.p { border-color: rgba(212, 183, 122, .5); color: var(--gilt); }
.tools-b { border-radius: var(--r); border: 1px solid var(--hair-2); background: var(--ink); padding: 18px 20px; }
.tools-b h3 { margin: 0 0 6px; font-size: 17px; font-weight: 500; }
.tools-b > p { margin: 0 0 14px; font-size: 13.5px; color: var(--stone); }
.tools-b ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tools-b li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--hair); font-size: 13px; }
.tools-b li code { font: 400 12.5px/1.4 var(--code); color: var(--willow); }
.tools-b li span { color: #6F7C76; white-space: nowrap; }
.tools-b pre { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r); background: var(--ink-3); font: 400 12px/1.6 var(--code); color: var(--stone); white-space: pre-wrap; word-break: break-all; }

/* the close */
.fx-close { padding: 88px 0 96px; background: radial-gradient(70% 60% at 50% 0%, #17271F 0%, var(--ink) 70%); }
.fx-close .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.fx-close h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; font-stretch: 88%; letter-spacing: -.03em; line-height: 1.05; max-width: 20ch; }
.fx-close p { margin: 14px 0 0; color: var(--stone); font-size: 15.5px; max-width: 58ch; }
.fx-close .ctas { margin: 0; }

@media (max-width: 1100px) {
  .fx-hero .wrap { grid-template-columns: 1fr; }
  .fx-live { max-width: 560px; }
  .pj { grid-template-columns: 1fr; }
  .pj-side-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .fx-hero { padding: calc(var(--bar-h) + 40px) 0 48px; }
  .fx-head { grid-template-columns: 1fr; gap: 14px; }
  .fx-sec { padding: 60px 0; }
  .pj-sides { grid-template-columns: 1fr; }
  .pj-side + .pj-side { border-left: 0; border-top: 1px solid var(--hair); }
  .pj-side-col { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .ep-r { grid-template-columns: 40px minmax(0, 1fr) 88px; }
  .ep-r .lv { display: none; }
  .fx-close .wrap { grid-template-columns: 1fr; }
  .seg button { min-width: 0; flex: 1; }
  .seg { display: flex; width: 100%; }
  .rk-bar .grow, .rk-bar .note { display: none; }
  .seg.roles { overflow-x: auto; scrollbar-width: none; }
  .seg.roles button { flex: none; min-width: 108px; }
  .pj-top { flex-wrap: wrap; }
  .pj-top .when { flex-basis: 100%; white-space: normal; }
  .pj-row { grid-template-columns: minmax(0, 1fr) 84px 46px; }
  .pj-row .nm small { display: none; }
  .fx-facts b { font-size: 22px; }
}
