/* Bwin calendar demo, rebuilt from the final mobile designs. */
.demo-band { position: relative; background: #16181d; margin: clamp(100px, 10vw, 140px) calc(50% - 50vw) 0; padding: clamp(48px, 6vw, 88px) max(var(--gutter, 24px), calc(50vw - 590px)); }
.demo-band .wave-top { color: #16181d; }
.demo-band .demo-wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.demo-wrap > * { min-width: 0; }
.try-notes { color: #e9e7e1; }
.try-notes .lbl { color: #ff8a73; }
.try-notes .rules li { color: #e9e7e1; border-color: #2f323a; }
.try-notes .rules li::before { background: #fff; color: var(--ink); }
.try-notes .cap { color: #9d9a92; }
@media (max-width: 860px) { .demo-band .demo-wrap { grid-template-columns: 1fr; } }

.bw {
  --y: #ffcc00; --line: #e4e4e4; --soft: #f1f1f1; --odd: #ececec; --txt: #1f1f1f; --sub: #777; --live: #e8412c;
  width: 372px; max-width: 100%; margin: 0 auto; background: #0b0b0b; border-radius: 52px; padding: 12px;
  box-shadow: 0 0 0 2px #2a2a2a, 0 40px 90px rgba(0,0,0,.45);
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif; color: var(--txt); font-size: 14px; line-height: 1.2;
}
.bw button { font: inherit; color: inherit; }
.bw-screen { position: relative; height: 720px; border-radius: 40px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.bw-status { background: #000; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 14px 28px 2px; font-size: 15px; }
.bw-status b { font-family: -apple-system, system-ui, sans-serif; font-weight: 600; }
.bw-sys { display: flex; gap: 2px; align-items: end; height: 11px; }
.bw-sys i { width: 3px; background: #fff; border-radius: 1px; }
.bw-sys i:nth-child(1) { height: 4px; } .bw-sys i:nth-child(2) { height: 6px; } .bw-sys i:nth-child(3) { height: 8px; } .bw-sys i:nth-child(4) { height: 11px; }
.bw-url { background: #000; color: #ddd; text-align: center; font-family: -apple-system, system-ui, sans-serif; font-size: 12px; padding: 4px 0 6px; }
.bw-head { background: #000; color: #fff; display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; }
.bw-logo { font-family: Arial Black, Arial, sans-serif; font-weight: 900; font-style: italic; font-size: 25px; letter-spacing: -0.04em; margin-right: auto; }
.bw-dep { background: var(--y); color: #000; font-weight: 700; font-size: 11px; padding: 7px 8px; border-radius: 2px; }
.bw-bal { font-size: 13px; display: grid; line-height: 1.1; }
.bw-bal small { font-size: 8px; color: #999; }
.bw-av { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; position: relative; }
.bw-av::after { content: ""; position: absolute; right: -6px; top: -6px; width: 8px; height: 8px; border-radius: 50%; background: var(--y); }
.bw-sub { background: #111; color: #fff; display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 16px; }
.bw-back { font-size: 24px; line-height: .6; padding-right: 10px; border-right: 1px solid #444; margin-right: 2px; }
.bw-nav { display: flex; gap: 0; background: #fff; border-bottom: 1px solid var(--line); }
.bw-nav span { flex: 1; text-align: center; padding: 10px 0 8px; font-size: 15px; color: #333; border-bottom: 3px solid transparent; }
.bw-nav span.on { font-weight: 700; color: #000; border-color: var(--y); }
.bw-time { display: flex; background: var(--soft); padding-top: 8px; }
.bw-time button { flex: 1; appearance: none; border: 0; border-right: 1px solid var(--line); background: var(--soft); padding: 8px 2px 7px; font-size: 13px; color: #444; cursor: pointer; border-bottom: 3px solid transparent; line-height: 1.25; }
.bw-time button small { display: block; font-size: 12px; color: #666; }
.bw-time button[aria-pressed="true"] { background: #fff; font-weight: 700; color: #000; border-bottom-color: var(--y); }
.bw-time button[aria-pressed="true"] small { color: #000; }
.bw-tools { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 6px; background: var(--soft); }
.bw-sort { appearance: none; border: 0; background: none; width: 30px; height: 26px; cursor: pointer; padding: 0; color: #555; border-radius: 4px; }
.bw-sort[aria-pressed="true"] { background: #e2e2e2; color: #000; }
.bw-filter { appearance: none; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #555; letter-spacing: .02em; position: relative; padding: 4px 0; }
.bw-fi { display: inline-flex; color: #444; }
.bw-cnt { position: absolute; right: -6px; top: -6px; background: var(--y); color: #000; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; }
.bw-cnt[hidden] { display: none; }
.bw-chips { display: flex; gap: 6px; padding: 4px 12px 10px; background: var(--soft); overflow-x: auto; scrollbar-width: none; min-height: 14px; }
.bw-chips::-webkit-scrollbar { display: none; }
.bw-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid #ddd; border-radius: 999px; padding: 4px 6px 4px 6px; font-size: 13px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.bw-chip button { appearance: none; border: 0; background: none; color: #999; cursor: pointer; padding: 0 2px; font-size: 13px; line-height: 1; }
.bw-chip button:hover { color: #000; }
.bw-list { flex: 1; overflow-y: auto; background: var(--soft); scrollbar-width: none; overscroll-behavior: contain; }
.bw-list::-webkit-scrollbar { display: none; }
.bw-grp { background: #fff; margin-bottom: 8px; }
.bw-gh { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 16px; }
.bw-gh .mk { margin-left: auto; font-weight: 400; font-size: 12.5px; border: 1px solid #ccc; border-radius: 2px; padding: 5px 8px; min-width: 132px; display: flex; justify-content: space-between; gap: 8px; color: #333; }
.bw-gh .chev { margin-left: auto; color: #555; }
.bw-gh.time { font-size: 15px; cursor: pointer; }
.bw-cols { display: grid; grid-template-columns: 1fr repeat(3, 48px); gap: 6px; padding: 8px 12px 0; font-size: 11px; color: #777; text-align: center; }
.bw-cols.duo { grid-template-columns: 1fr repeat(2, 76px); }
.bw-ev { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.bw-ev:last-child { border-bottom: 0; }
.bw-ev.with-ic { grid-template-columns: 20px 1fr auto; }
.bw-ev .ic { color: #333; display: flex; }
.bw-names { font-size: 14px; line-height: 1.25; min-width: 0; }
.bw-names div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-names small { display: block; font-size: 11.5px; color: var(--sub); margin-top: 3px; }
.bw-names small em { font-style: normal; color: var(--live); }
.bw-odds { display: flex; gap: 6px; }
.bw-odd { appearance: none; width: 48px; height: 44px; background: var(--odd); border: 1px solid #dadada; border-radius: 2px; cursor: pointer; font-size: 15px; display: grid; place-items: center; align-content: center; gap: 1px; transition: background .15s; }
.bw-odds.duo .bw-odd { width: 76px; }
.bw-odd span { font-size: 10px; color: #888; }
.bw-odd:hover { background: #e2e2e2; }
.bw-odd[aria-pressed="true"] { background: var(--y); border-color: #e0b400; }
.bw-odd[aria-pressed="true"] span { color: #333; }
.bw-empty { text-align: center; color: var(--sub); padding: 48px 24px; background: #fff; font-size: 14px; }
.bw-empty button { appearance: none; border: 0; background: none; text-decoration: underline; cursor: pointer; margin-top: 8px; color: #000; font-weight: 700; }
.bw-tab { display: flex; background: #000; color: #fff; padding: 8px 4px 22px; }
.bw-tab span { flex: 1; display: grid; justify-items: center; gap: 3px; font-size: 9.5px; position: relative; }
.bw-tab span svg { width: 20px; height: 20px; }
.bw-tab em { position: absolute; top: -4px; left: 50%; margin-left: 5px; background: var(--y); color: #000; font-style: normal; font-size: 9px; font-weight: 700; min-width: 14px; height: 14px; border-radius: 7px; display: grid; place-items: center; }
.bw-tab em[hidden] { display: none; }
.bw-tab em.pop { animation: bwPop .35s cubic-bezier(.2,1.6,.4,1); }
@keyframes bwPop { from { transform: scale(.4); } to { transform: none; } }

/* filter sheet */
.bw-sheet { position: absolute; inset: 64px 0 0; background: #fff; display: flex; flex-direction: column; z-index: 3; border-radius: 0; animation: bwUp .3s cubic-bezier(.2,.8,.2,1); }
.bw-sheet[hidden] { display: none; }
@keyframes bwUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.bw-fh { background: #000; color: #fff; display: flex; align-items: center; gap: 14px; padding: 14px 12px; font-size: 17px; font-weight: 700; }
.bw-fh .clr { margin-left: auto; appearance: none; border: 0; background: none; color: #bbb; font-size: 13px; cursor: pointer; letter-spacing: .03em; }
.bw-fh .x { appearance: none; border: 0; background: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 0 2px; }
.bw-fl { flex: 1; overflow-y: auto; background: var(--soft); scrollbar-width: none; }
.bw-fsec { padding: 18px 12px 6px; font-size: 14px; color: #777; letter-spacing: .02em; }
.bw-flet { padding: 8px 12px 4px; font-size: 13px; color: #888; }
.bw-frow { display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 12px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.bw-frow input { appearance: none; margin-left: auto; width: 16px; height: 16px; border: 1px solid #888; border-radius: 2px; display: grid; place-items: center; cursor: pointer; }
.bw-frow input:checked { background: #222; border-color: #222; }
.bw-frow input:checked::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.bw-apply { appearance: none; border: 0; margin: 10px 12px 26px; background: #33a24a; color: #fff; font-weight: 700; font-size: 15px; padding: 13px; border-radius: 3px; cursor: pointer; letter-spacing: .02em; }
.bw svg { display: block; }

@media (max-width: 420px) { .bw { border-radius: 40px; padding: 8px; } .bw-screen { border-radius: 32px; height: 640px; } .bw-odd { width: 42px; } .bw-odds.duo .bw-odd { width: 64px; } .bw-gh .mk { min-width: 110px; } }
