@charset "UTF-8";
/* Fixed desktop member surface; existing management, login and gate pages are untouched. */
body:has(.bm-member-betting) { margin:0; min-width:0; overflow-x:auto; background:#fff; }
body:has(.bm-member-betting) .app-shell,
body:has(.bm-member-betting) .workspace,
body:has(.bm-member-betting) .page,
body:has(.bm-member-betting) .replica-page,
body:has(.bm-member-betting) .dk-betting-page { width:100%; min-width:0; max-width:none; padding:0; margin:0; display:block; }
body:has(.bm-member-betting) .app-shell > .sidebar,
body:has(.bm-member-betting) .workspace > .topbar,
body:has(.bm-member-betting) .replica-breadcrumb,
body:has(.bm-member-betting) .replica-simulation-label,
body:has(.bm-member-betting) .workspace > .footer,
body:has(.bm-member-betting) .bm-member-legacy { display:none !important; }
.bm-member-betting { width:100%; min-width:1380px; color:#111; background:#fff; font:12px Arial,"Microsoft YaHei",sans-serif; line-height:1.4; }
.bm-member-betting * { box-sizing:border-box; }
.bm-member-betting [hidden] { display:none !important; }
.bm-member-betting button,.bm-member-betting input,.bm-member-betting textarea,.bm-member-betting select { font:inherit; }
.bm-member-betting button { cursor:pointer; border-radius:0; box-shadow:none; }
.bm-member-betting button:disabled,.bm-member-betting input:disabled { cursor:not-allowed; opacity:.6; }
.bm-member-betting a { color:inherit; text-decoration:none; }
.bm-member-betting a:hover { text-decoration:underline; }
.bm-member-betting button:focus-visible,.bm-member-betting a:focus-visible { outline:2px solid #ed9900; outline-offset:1px; }
.bm-member-header { display:flex; height:88px; background:linear-gradient(#2d7aca 0%,#0a57af 44%,#064f9f 68%,#3473bd 100%); color:#fff; border-bottom:1px solid #245689; }
.bm-member-brand { display:flex; flex:0 0 177px; height:88px; align-items:center; justify-content:center; font:italic 700 63px Georgia,serif; color:#fff !important; text-shadow:1px 3px 2px #093464; letter-spacing:-6px; text-decoration:none !important; }
.bm-member-header-main { position:relative; flex:1; min-width:0; padding:8px 9px 0 1px; }
.bm-member-topline { height:30px; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.bm-member-games { display:flex; gap:5px; }
.bm-member-games button { height:25px; min-width:100px; padding:0 13px; color:#074b86; border:1px solid #accee9; border-radius:3px 3px 0 0; background:linear-gradient(#f4faff,#b7d4ef); font-weight:bold; }
.bm-member-games button.active { color:#fff; border-color:#edaa34; background:linear-gradient(#ffae28,#e77500); }
.bm-member-links { display:flex; align-items:center; gap:0; white-space:nowrap; padding-top:3px; }
.bm-member-links a,.bm-member-links button { padding:0 12px; color:#fff; border:0; border-right:1px solid #97c3ef; background:transparent; font-size:12px; line-height:14px; }
.bm-member-links button:last-child { border-right:0; padding-right:0; }
.bm-member-welcome { position:absolute; top:40px; left:5px; font-size:11px; color:#e0efff; }
.bm-member-welcome strong { color:#fff496; }
.bm-member-categories { display:flex; position:absolute; right:8px; bottom:0; height:29px; align-items:stretch; border-left:1px solid #75a7d9; }
.bm-member-categories button { color:#fff; min-width:64px; padding:0 15px; border:0; border-top:1px solid #87afda; border-right:1px solid #87afda; background:linear-gradient(#5496d8,#2168b4); white-space:nowrap; }
.bm-member-categories button.active { color:#d60000; background:linear-gradient(#fff,#d2e9ff); font-weight:bold; }
.bm-member-categories button:hover { background:#bad9f8; color:#004f98; }
.bm-member-layout { display:grid; grid-template-columns:177px minmax(1203px,1fr); align-items:stretch; min-height:calc(100vh - 88px); }
.bm-member-sidebar { background:#f0f4ff; padding:6px 8px 25px 7px; border-right:1px solid #93afd0; }
.bm-member-account { width:100%; border-collapse:collapse; table-layout:fixed; color:#164475; font-size:12px; }
.bm-member-account th,.bm-member-account td { border:1px solid #93afcc; padding:4px 3px; height:26px; text-align:center; }
.bm-member-account th { height:27px; color:#fff; background:linear-gradient(#397bba,#1b5898); font-weight:bold; }
.bm-member-account td { background:#f8fbff; }
.bm-member-account td:first-child { background:#e0edf9; }
.bm-member-account td[data-bm-account="username"] { background:#fff; color:#bd0000; font-weight:bold; }
.bm-member-account td[data-bm-account="balance"],.bm-member-account td[data-bm-account="pending"] { color:#c00; font-weight:bold; }
.bm-member-account td[data-bm-account="pan"] { color:#153f75; font-weight:bold; }
.bm-member-account td.bm-member-account-label { height:22px; padding:2px; color:#123f73; background:#c4ddf8; }
.bm-member-account td[data-bm-account] { height:26px; background:#fff; }
.bm-member-side-links { display:flex; justify-content:space-around; margin:9px 0 12px; color:#175d9d; }
.bm-member-recent { border:1px solid #8aa8c7; }
.bm-member-recent h2 { margin:0; padding:5px 4px; height:28px; font-size:12px; font-weight:400; background:#b6d6f5; color:#063b75; border-bottom:1px solid #8aa8c7; }
.bm-member-recent h2 button { float:right; padding:0 3px; border:1px solid #739dc4; color:#164e82; background:#f3f8ff; font-size:11px; }
.bm-member-recent-item { display:block; padding:5px; color:#333 !important; border-bottom:1px dotted #aebdd0; background:#fff; }
.bm-member-recent-item > span { display:flex; justify-content:space-between; gap:5px; }
.bm-member-recent-item b { color:#15457b; font-weight:400; overflow-wrap:anywhere; }
.bm-member-recent-item strong { color:#c00; font-weight:400; }
.bm-member-recent-item small { color:#697987; font-size:11px; }
.bm-member-no-bets { margin:0; padding:12px 3px; color:#697987; text-align:center; }
.bm-member-main { min-width:0; padding:0 8px 18px 7px; }
.bm-member-betting .dk-roundbar { min-height:31px; padding:3px 5px; margin:0 -1px; border:0; border-bottom:1px solid #a7bdcf; background:#fff; gap:6px 14px; color:#1a4067; }
.bm-member-betting .dk-roundbar #monitor-previous { margin-left:auto; }
.bm-member-betting .dk-roundbar .dk-roundbar-actions { display:none; }
.bm-member-betting .dk-roundbar #bet-window { font-size:11px; }
.bm-member-board-title { display:flex; align-items:center; min-height:34px; padding:3px 0; gap:14px; color:#ba0200; }
.bm-member-board-title > strong { min-width:94px; font-size:14px; padding-left:5px; }
.bm-member-board-message { margin-left:auto; font-size:12px; color:#b60000; }
.bm-member-pans { display:flex; gap:3px; }
.bm-member-pans button { min-width:48px; height:25px; padding:1px 8px; color:#164c7c; border:1px solid #99b6d0; background:#eef5fc; }
.bm-member-pans button.active { background:#b4d7f5; color:#b00000; border-color:#497aa8; font-weight:bold; }
.bm-member-rule-tabs,.bm-member-position-tabs { display:flex; align-items:center; flex-wrap:wrap; gap:0; border:1px solid #90abc4; background:#d4e9fa; margin-bottom:5px; min-height:29px; }
.bm-member-rule-tabs button,.bm-member-position-tabs button { min-width:75px; height:27px; color:#123f6c; border:0; border-right:1px solid #9ab5ce; background:transparent; padding:3px 12px; }
.bm-member-rule-tabs button.active,.bm-member-position-tabs button.active { background:#fff; color:#c00; font-weight:bold; }
.bm-member-quickbar { display:flex; gap:7px; align-items:center; height:33px; padding:3px 6px; margin-bottom:4px; border:1px solid #a0b2c4; background:#e7edf4; }
.bm-member-quickbar label { display:flex; align-items:center; gap:6px; margin-right:15px; color:#333; }
.bm-member-quickbar input { width:74px; height:23px; padding:1px 4px; border:1px solid #8f9cab; background:#fff; color:#000; border-radius:0; }
.bm-member-quickbar select { min-width:93px; height:23px; padding:0 4px; border:1px solid #8c9ead; background:#fff; color:#222; border-radius:0; }
.bm-member-quickbar button { min-width:29px; height:23px; padding:0 7px; background:linear-gradient(#fff,#dce4ec); border:1px solid #9baebe; color:#333; }
.bm-member-quickbar button[data-bm-filter="red"] { color:#d00; }
.bm-member-quickbar button[data-bm-filter="blue"] { color:#05c; }
.bm-member-quickbar button[data-bm-filter="green"] { color:#00812a; }
.bm-member-tables { display:grid; gap:5px; align-items:start; }
.bm-member-six-tables { grid-template-columns:repeat(5,minmax(0,1fr)) 170px; }
.bm-member-five-tables { grid-template-columns:repeat(5,minmax(0,1fr)); }
.bm-member-option-tables { grid-template-columns:repeat(auto-fit,minmax(180px,230px)); }
.bm-member-number-table { width:100%; table-layout:fixed; border-collapse:collapse; color:#111; }
.bm-member-number-table th,.bm-member-number-table td { border:1px solid #809ab6; padding:0 2px; text-align:center; }
.bm-member-number-table th { height:26px; background:#a6cef4; color:#153e67; font-weight:400; }
.bm-member-number-table th:first-child { width:44px; }
.bm-member-number-table th:nth-child(2) { width:49px; }
.bm-member-number-table td { height:33px; background:#fff; }
.bm-member-number-table tr:nth-child(even) td { background:#f3f7fc; }
.bm-member-number-table td:first-child { background:#eef4fc; }
.bm-member-number-table td.bm-member-odds { color:#c60000; font-size:13px; font-weight:bold; }
.bm-member-number-table input { display:block; margin:auto; width:64px; max-width:100%; height:22px; padding:1px 4px; border:1px solid #a1a7b0; border-radius:0; box-shadow:inset 1px 1px 2px #dce0e6; background:#fff; color:#111; text-align:right; font-size:13px; }
.bm-member-number-table input:focus,.bm-member-quickbar input:focus { outline:1px solid #2e6fb4; background:#fffbd9; }
.bm-member-number-table .has-amount td { background:#fff6d5 !important; }
.bm-member-option { display:flex; align-items:center; justify-content:center; min-height:30px; width:100%; padding:0; border:0; background:transparent; color:#111; white-space:nowrap; }
.bm-member-ball { display:inline-flex; align-items:center; justify-content:center; width:25px; height:25px; border-radius:50%; font:700 14px Arial,sans-serif; color:#fff; border:1px solid #fff; box-shadow:0 1px 2px #70829b; text-shadow:0 1px 1px #0006; }
.bm-member-ball.red { background:radial-gradient(circle at 35% 25%,#ffb8b5 0,#ef5252 30%,#cb0000 67%,#a20000 100%); }
.bm-member-ball.blue { background:radial-gradient(circle at 35% 25%,#b6ddff 0,#529be8 30%,#0560bd 67%,#03468d 100%); }
.bm-member-ball.green { background:radial-gradient(circle at 35% 25%,#b3ebcd 0,#40b375 30%,#008b41 67%,#007139 100%); }
.bm-member-option-tables .bm-member-number-table th:first-child { width:auto; }
.bm-member-empty-row td { background:#f3f7fc !important; }
.bm-member-toolbar { display:flex; gap:18px; align-items:center; justify-content:center; min-height:43px; padding:6px; margin-top:7px; background:#e6e9ed; border:1px solid #a1afbd; }
.bm-member-submit-actions { display:flex; gap:15px; }
.bm-member-toolbar .bm-member-order,.bm-member-toolbar .bm-member-cancel { width:68px; height:26px; color:#fff; font-weight:bold; border:1px solid #38852c; border-radius:3px; background:linear-gradient(#89cd5d,#459833); text-shadow:0 1px #4b722d; }
.bm-member-toolbar .bm-member-cancel { background:linear-gradient(#8bc85e,#4d9535); }
.bm-member-toolbar label { display:flex; gap:3px; align-items:center; white-space:nowrap; }
.bm-member-toolbar label input { margin:0; }
.bm-member-toolbar > button { border:0; padding:0; color:#17548a; background:transparent; text-decoration:underline; }
.bm-member-total { color:#bb0000; min-width:115px; }
.bm-member-text-entry { display:flex; gap:12px; align-items:center; padding:10px; background:#f5f8fd; border:1px solid #a1afbd; border-top:0; }
.bm-member-text-entry label { display:flex; align-items:center; gap:10px; }
.bm-member-text-entry textarea { width:360px; padding:5px; resize:vertical; border:1px solid #849eb8; background:#fff; color:#222; }
.bm-member-text-entry button { color:#0d4777; border:1px solid #839fb9; padding:5px 12px; background:#dfecf7; }
.bm-member-text-entry > span { color:#647383; }
.bm-member-draft { margin-top:9px; border:1px solid #9eb4ca; background:#f8fbff; color:#244769; }
.bm-member-draft > summary { padding:6px 10px; cursor:pointer; background:#deebf8; }
.bm-member-draft > summary span { float:right; color:#aa0000; }
.bm-member-betting .replica-slip-panel { border:0; width:auto; margin:0; box-shadow:none; }
.bm-member-betting .replica-slip-panel > .replica-panel-title { display:none; }
.bm-member-betting .replica-slip-actions { display:flex; justify-content:flex-end; gap:7px; padding:7px; }
.bm-member-betting .replica-slip-row { font-size:12px; }
.bm-member-advanced { border:1px solid #8ba9c5; background:#fff; }
.bm-member-betting #bet-form { padding:8px; }
.bm-member-betting .replica-trade-fields { display:flex; flex-wrap:wrap; gap:10px 20px; background:#e9f2fb; padding:8px; margin-bottom:8px; }
.bm-member-betting .replica-trade-fields > label { flex:0 0 auto; }
.bm-member-betting .replica-trade-fields > label:has([name="rule"]),
.bm-member-betting .replica-trade-fields > label:has([name="pan"]),
.bm-member-betting .replica-trade-fields > label:has(#bet-balance),
.bm-member-betting .replica-trade-fields .dk-account-picker { display:none; }
.bm-member-betting .replica-trade-fields [name="stake"] { width:90px; }
.bm-member-betting .dk-mode-tabs { background:#d7eafa; gap:0; }
.bm-member-betting .dk-mode-tabs button { min-width:74px; margin:0; height:27px; padding:3px 12px; border:1px solid #8faec9; background:#d7eafa; border-radius:0; }
.bm-member-betting .dk-mode-tabs button.active { background:#fff; color:#c00; }
.bm-member-betting .replica-selection-options.numbers { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); gap:0 6px; border:0; }
.bm-member-betting .replica-selection-options.numbers label { display:flex; align-items:center; justify-content:center; min-height:34px; margin:0; border:1px solid #8da7bf; background:#f2f7fc; border-radius:0; }
.bm-member-betting .replica-selection-options.numbers.bm-member-combo-tables { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:start; gap:6px; padding:0; border:0; background:transparent; }
.bm-member-betting .bm-member-combo-table th:first-child { width:55px; }
.bm-member-betting .bm-member-combo-table th:nth-child(2) { width:auto; }
.bm-member-betting .bm-member-combo-table th:last-child { width:53px; }
.bm-member-betting .bm-member-combo-table td label { display:flex; min-height:31px; margin:0; padding:0; border:0; background:transparent; cursor:pointer; }
.bm-member-betting .bm-member-combo-table input[name="selection-value"] { display:inline-block; appearance:auto; position:static; clip:auto; overflow:visible; width:14px; height:14px; margin:0; padding:0; box-shadow:none; opacity:1; }
.bm-member-betting .bm-member-combo-table tr:has(input:checked) td { background:#fff5c7; }
.bm-member-betting .dk-current-total { background:#e9edf2; color:#b00000; padding:8px; }
.bm-member-betting .dk-add-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; padding:6px; border-top:1px solid #a5b9cd; background:#e5e9ee; }
.bm-member-betting .dk-add-actions .primary { min-width:85px; color:#fff; border:1px solid #38852c; background:linear-gradient(#89cd5d,#459833); border-radius:3px; }
@media (max-width:700px) {
  body:has(.bm-member-betting) { -webkit-text-size-adjust:100%; }
  .bm-member-betting { min-width:1380px; }
  .bm-member-betting .bm-member-header { position:relative; }
}
