/* Wolfbet Tips Bar: the "Bet now" bar of a prediction. */
.wtb { --wtb-line: #28374D; --wtb-text: #fff; --wtb-muted: #B8C6DC; --wtb-grad: linear-gradient(90deg, #3D87F9, #1566DF);
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980; padding: 0 12px calc(10px + env(safe-area-inset-bottom));
  transform: translate3d(0, 120%, 0); transition: transform .3s ease; pointer-events: none; font-family: inherit;
  will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-sizing: border-box; }
.wtb *, .wtb *::before, .wtb *::after { box-sizing: border-box; }
.wtb[hidden] { display: block; visibility: hidden; }
.wtb.on { transform: translate3d(0, 0, 0); visibility: visible; }
.wtb-in { pointer-events: auto; position: relative; max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
  padding: 10px 52px 10px 14px; background: rgb(28 37 51 / .97); border: 1px solid var(--wtb-line); border-radius: 14px;
  box-shadow: 0 10px 34px rgb(0 0 0 / .45); color: var(--wtb-text); }
.wtb-match { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wtb-teams { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 0 !important; font-size: 16px; font-weight: 700; color: var(--wtb-text); }
.wtb-team { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.wtb-team > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtb-vs { flex: none; padding: 2px 7px; border-radius: 5px; background: rgb(255 255 255 / .08); color: var(--wtb-muted); font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.wtb-logo { width: 34px; height: 34px; flex: none; object-fit: contain; border-radius: 50%; background: rgb(255 255 255 / .06); padding: 3px; margin: 0 !important; }
.wtb-teams strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtb-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 0 !important; font-size: 12px; color: var(--wtb-muted); line-height: 1.3; }
.wtb-league { width: 18px; height: 18px; object-fit: contain; flex: none; margin: 0 !important; }
.wtb-when:empty { display: none; }
.wtb-when { color: #7EE787; font-weight: 600; }
.wtb-when.is-live { color: #fff; background: #E5484D; padding: 1px 7px; border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.wtb-note { color: #6D7D97; }
.wtb-note::before { content: "·"; margin-right: 8px; }
.wtb-tip { display: inline-flex; flex-direction: column; justify-content: center; min-height: 42px; padding: 4px 12px; border-radius: 8px;
  border: 1px solid rgb(255 255 255 / .12); background: rgb(0 0 0 / .2); line-height: 1.2; white-space: nowrap; }
.wtb-tip small { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--wtb-muted); }
.wtb-tip b { font-size: 14px; color: var(--wtb-text); }
.wtb-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.wtb-cta { display: inline-block; padding: 0 26px; line-height: 42px; border-radius: 6px; background: var(--wtb-grad); color: #fff !important;
  text-decoration: none !important; font-weight: 700; font-size: 15px; white-space: nowrap; text-align: center; transition: opacity .2s; }
.wtb-cta:hover { opacity: .9; }
.wtb .wtb-code { position: relative; display: inline-flex; align-items: center; justify-content: flex-end; min-width: 170px; height: 42px; padding: 0 12px; margin: 0;
  border: 2px dashed rgb(255 255 255 / .45); border-radius: 6px !important; background: rgb(0 0 0 / .25); overflow: hidden; cursor: pointer;
  user-select: none; -webkit-user-select: none; font: inherit; color: #fff; }
.wtb-code-val { font-family: monospace; font-size: 15px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.wtb-code-cover { position: absolute; inset: 0 auto 0 0; width: 80%; display: flex; align-items: center; padding-left: 12px;
  background: #1DBB2F; color: #fff; font-weight: 700; font-size: 14px; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); transition: transform .35s ease, opacity .35s ease; }
.wtb-code-hint { display: none; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 600; color: #b0c4de; }
.wtb .wtb-code.revealed { border-style: solid; border-color: #4CAF50; justify-content: center; }
.wtb-code.revealed .wtb-code-cover { transform: translateX(-110%); opacity: 0; pointer-events: none; }
.wtb-code.revealed .wtb-code-hint { display: block; }
.wtb-code.revealed .wtb-code-val { margin-right: 38px; }
.wtb .wtb-close { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); width: 28px; height: 28px; padding: 0 !important; border: 0;
  border-radius: 50% !important; background: rgb(255 255 255 / .08); color: #b0c4de; font-size: 18px; line-height: 28px; cursor: pointer; }
.wtb .wtb-close:hover { background: rgb(255 255 255 / .16); color: #fff; }
body.wtb-pad { padding-bottom: 96px; }

@media (max-width: 767px) {
  /* Full width, its background down to the screen's edge (the iPhone's home bar space is inside). */
  .wtb { padding: 0; }
  .wtb-in { flex-wrap: wrap; gap: 8px; padding: 10px 44px calc(10px + env(safe-area-inset-bottom)) 12px; border-radius: 14px 14px 0 0;
    border-bottom: 0; background: rgb(28 37 51); }
  .wtb-match { flex: 1 1 100%; }
  .wtb-teams { font-size: 14px; gap: 6px; }
  .wtb-logo { width: 28px; height: 28px; }
  .wtb-team { gap: 6px; }
  .wtb-actions { flex: 1 1 100%; }
  .wtb-actions > * { flex: 1 1 0; min-width: 0; }
  .wtb-tip { flex: 0 1 auto; padding: 3px 10px; }
  .wtb-note { display: none; }
  .wtb .wtb-code { min-width: 0; }
  .wtb .wtb-close { top: 10px; right: 8px; transform: none; }
  body.wtb-pad { padding-bottom: 128px; }
}
