/*! Copyright (c) 2026 BamByte (bambyte.net). All rights reserved.
 * Proprietary code: no copying, redistribution, or use to train or prompt
 * AI / machine-learning systems without written permission from BamByte. */
#canvas1{border:7px solid rgb(248,160,7);border-radius:20px;background:green;display:block;margin:0;flex:0 0 auto}img{display:none}canvas{display:block}button:focus{outline:none}:root{--hud-gap-x: 8px;--hud-gap-y: 12px}.game{display:flex;align-items:center;justify-content:center;column-gap:var(--hud-gap-x);row-gap:var(--hud-gap-y);padding:var(--hud-gap-y) var(--hud-gap-x);box-sizing:border-box;max-width:100%;max-height:100%}.hud-panel,#canvas1{margin:0!important}:root{--hud-w: 247px;--hud-h: 400px;--hud-gap: 23px;--hud-radius: 12px;--hud-pad-x: 14px;--hud-pad-y: 12px;--hud-bg: #7f7f7f;--hud-border: #f1f73e;--hud-shadow: 0 8px 20px rgba(0,0,0,.35);--hud-text: #fff;--hud-label-size: 20px;--hud-label-weight: 400;--hud-letter-spacing: 2px;--hud-top: 1px;--hud-left: 16px;--hud-z: 2}.hud-panel{width:var(--hud-w);height:var(--hud-h);box-sizing:border-box;padding:var(--hud-pad-y) var(--hud-pad-x);background:var(--hud-bg);border:2px solid var(--hud-border);border-radius:var(--hud-radius);box-shadow:var(--hud-shadow);color:var(--hud-text)}.hud-row{display:grid;grid-template-columns:50px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;margin:12px 4px}.hud-icon{grid-row:1 / span 2;width:40px;height:auto}.hud-label{font-weight:var(--hud-label-weight);letter-spacing:var(--hud-letter-spacing);font-size:var(--hud-label-size);margin-bottom:1px}.hud-bar{--segs: var(--hud-segs);height:var(--hud-bar-h);background:var(--hud-bar-bg);border-radius:6px;overflow:hidden}.hud-bar .seg{height:100%;width:calc((100% - (var(--segs) - 1)*var(--hud-seg-gap)) / var(--segs));margin-right:var(--hud-seg-gap);float:left;background:var(--hud-seg-empty);border-radius:3px;transition:background-color .18s ease}.hud-bar .seg.filled{background:var(--hud-seg-full)}.hud-sticky{position:sticky;top:var(--hud-top)}#dynamite_sheet,#explosion_plus,#boundary_rock,#boundary_tree,#range_img,#mine_img,#speed_img{display:none!important}:root{--hud-portrait-max-h: 9999px;--hud-portrait-max-w: calc(100% - 24px) }.hud-panel{display:flex;flex-direction:column}.hud-portrait{display:block!important;margin:2px auto 4px;width:auto;height:auto;max-width:var(--hud-portrait-max-w);max-height:var(--hud-portrait-max-h);object-fit:contain}.hud-row{margin:3px 4px}.hud-panel img{display:inline-block!important}.hud-bar.hud-bar-ticks{--tick-size: 12px;--tick-height: 16px;--tick-gap: 6px;display:flex;align-items:center;gap:var(--tick-gap);padding:6px 10px;background:#00000059;border-radius:12px;position:relative}.hud-bar.hud-bar-ticks .tick{width:var(--tick-size);height:var(--tick-height);border-radius:3px;background:#ffffff29;outline:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px #ffffff2e,0 0 0 1px #0003}.hud-bar.hud-bar-ticks .tick.active{background:#ffffffe6;outline-color:#ffffffe6;box-shadow:inset 0 1px #fffc,0 0 0 1px #00000040}html,body{height:100%;margin:0;overflow:hidden;background:#424141}body{min-height:var(--bb-vh, 100dvh);display:flex;justify-content:center;align-items:center}.hud-panel{flex:0 0 auto;max-height:100%;box-sizing:border-box;overflow:hidden}.hud-portrait{flex:0 1 auto;min-height:0}.hud-panel .hud-mapselect{display:flex;align-items:center;gap:8px;margin-top:14px}.hud-panel .hud-mapselect label{font-weight:var(--hud-label-weight);letter-spacing:.5px;font-size:12px;color:var(--hud-text);opacity:.85}.hud-panel .hud-mapselect select{flex:1 1 auto;min-width:0;font:inherit;font-size:13px;padding:6px 8px;color:var(--hud-text);background:#4a4a4a;border:2px solid rgba(var(--game-accent-rgb),.55);border-radius:999px;cursor:pointer}.hud-panel .hud-mapselect select:hover{background:#5c5c5c;border-color:var(--game-accent)}.hud-panel .hud-mapselect select:focus-visible{outline:none;border-color:var(--game-accent);box-shadow:0 0 10px rgba(var(--game-accent-rgb),.45)}#leftPanel{display:flex;flex-direction:column;gap:8px;width:320px;flex:0 0 auto}.game-controls-bar{display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 14px;border-radius:999px;border:3px solid #069d2c;background:#1e1e1e}.game-controls-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border-radius:50%;border:none;background:#2a2a2a;cursor:pointer}.game-controls-btn:hover{background:#3a3a3a}.game-controls-btn img{display:block!important;width:70%;height:70%;object-fit:contain;pointer-events:none}@media(max-height:700px){:root{--hud-portrait-max-h: 90px;--hud-h: auto}.hud-panel{--hud-label-size: 16px;padding:8px 10px}}@media(max-height:430px){:root{--hud-portrait-max-h: 0px}.hud-panel{--hud-label-size: 14px}.hud-panel img.hud-portrait{display:none!important}}.hud-panel{background:#36363b;border:6px solid #000000;border-radius:10px;box-shadow:inset 0 0 0 2px #ffffff0d}.hud-panel .hud-panel__title{width:100%;display:flex;align-items:center;justify-content:center;margin:0 0 4px}.hud-panel .hud-panel__title img{display:block;max-width:78%;height:auto;filter:drop-shadow(0 3px 2px rgba(0,0,0,.4))}#hud-root.hud{position:static!important;width:auto!important;height:auto!important;background:linear-gradient(to bottom,#ffffff1f,#00000040);padding:7px!important;margin:6px 0 0!important;box-shadow:inset 0 1px 2px #0009,inset 0 -1px #ffffff14;border:2px solid #000000;border-radius:0}.hud-panel img.hud-portrait{max-width:65%;filter:drop-shadow(0 3px 2px rgba(0,0,0,.4))}#hudPanel.hud-panel{width:320px;height:auto;padding:14px 14px 10px;border:3px solid var(--game-accent)}.hud-panel .hud-row{display:flex;align-items:center;gap:10px;margin:0}.hud-panel .hud-row .hud-label{min-width:6px;margin:0 8px 0 0;font-weight:700;font-size:13px;letter-spacing:.8px;color:#e6e6e6;text-shadow:2px 3px 0 rgba(0,0,0,.6);opacity:.95}.hud-panel .hud-row .hud-bar{flex:1 1 auto}.hud-panel .hud-row .hud-icon{width:40px;height:40px;flex:0 0 15px;margin-left:1px}.hud-panel .hud-bar.hud-bar-ticks{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;height:16px;background:linear-gradient(to bottom,#ffffff1f,#00000040);border:4px solid rgba(0,0,0,.7);border-radius:999px;padding:2px 10px;box-shadow:inset 0 1px 2px #0009,inset 0 -1px #ffffff14;overflow:hidden;position:relative}.hud-panel .hud-bar.hud-bar-ticks:after{content:"";position:absolute;left:8px;right:8px;top:2px;height:30%;border-radius:999px;background:linear-gradient(to bottom,#ffffff59,#fff0);pointer-events:none}.hud-panel .hud-bar.hud-bar-ticks .tick{width:auto;height:100%;border-radius:999px;background:#00000059;border:1px solid rgba(0,0,0,.55);box-shadow:inset 0 1px 1px #ffffff1a,inset 0 -1px #00000040;outline:none}#hud-speed-bar.hud-bar-ticks .tick.active{background:linear-gradient(to bottom,#ffd86b,#c79822)}#hud-mines-bar.hud-bar-ticks .tick.active{background:linear-gradient(to bottom,#d61616,#8a8a8a)}#hud-range-bar.hud-bar-ticks .tick.active{background:linear-gradient(to bottom,#d1e3ee,#6aa8d6)}.bb-preview-select{flex:1 1 auto;min-width:0}.bb-preview-select-btn{width:100%;box-sizing:border-box;text-align:left;font:inherit;font-size:13px;padding:6px 8px;color:#e6e6e6;background:#4a4a4a;border:2px solid rgba(var(--game-accent-rgb),.55);border-radius:999px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.bb-preview-select-btn:hover{background:#5c5c5c;border-color:var(--game-accent)}.bb-preview-select-btn:focus-visible,.bb-preview-select-btn[aria-expanded=true]{outline:none;border-color:var(--game-accent);box-shadow:0 0 10px rgba(var(--game-accent-rgb),.45)}.bb-preview-select-btn:after{content:"";float:right;margin-top:5px;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #e6e6e6}.bb-preview-select-list{position:fixed;z-index:1000;background:#2a2a2a;border:2px solid rgba(var(--game-accent-rgb),.55);border-radius:14px;padding:4px;max-height:260px;overflow-y:auto;box-shadow:0 10px 24px #00000080,0 0 10px rgba(var(--game-accent-rgb),.25)}.bb-preview-select-list[hidden]{display:none}.bb-preview-select-option{padding:6px 8px;border-radius:6px;font-size:13px;color:#e6e6e6;cursor:pointer;white-space:nowrap}.bb-preview-select-option:hover,.bb-preview-select-option.selected{background:#4a4a4a}.bb-preview-select-btn:disabled,.bb-preview-select-btn.is-locked{background:#3a3a3a;border-color:#1a1a1a;box-shadow:none;color:#8f8f8f;font-style:italic;cursor:not-allowed}.bb-preview-select-btn:disabled:hover,.bb-preview-select-btn.is-locked:hover{background:#3a3a3a}.bb-preview-select-btn:disabled:after,.bb-preview-select-btn.is-locked:after{display:none}.cn-online-control-bar{position:fixed;top:0;left:0;right:0;z-index:600;height:72px;box-sizing:border-box;display:flex;align-items:center;padding:0 16px;background:#1c1c1c;border-bottom:4px solid rgba(var(--game-accent-rgb),.85)}.cn-online-control-bar[hidden]{display:none}body.sidebar-ui>.game{height:var(--bb-vh, 100dvh);max-width:none;max-height:none;align-items:stretch;column-gap:12px;padding:80px 8px 8px;box-sizing:border-box;width:100%}.cn-online-title-group{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.cn-online-title-actions{display:flex;gap:6px}.cn-online-profile{margin-left:auto;display:flex;align-items:center;gap:10px}.cn-online-profile[hidden]{display:none}.cn-online-profile__name{color:#eef2f5;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Helvetica Neue,Arial,Noto Sans,sans-serif;font-size:15px;font-weight:700;white-space:nowrap;max-width:16ch;overflow:hidden;text-overflow:ellipsis}.cn-online-profile__avatar{display:block;flex:0 0 auto;width:42px;height:42px;box-sizing:border-box;object-fit:cover;background:#0b0f1a;border:3px solid var(--game-accent);border-radius:20%}.cn-online-profile__badge{flex:0 0 auto;display:flex;align-items:center;height:42px;box-sizing:border-box;background:#0b0f1a;border:3px solid var(--game-accent);border-radius:10px;overflow:hidden;font:800 14px/1 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.cn-online-profile__badge-coin{height:100%;width:auto;display:block;box-sizing:border-box;padding:3px 5px;object-fit:contain}.cn-online-profile__badge-value{display:flex;align-items:center;gap:1px;height:100%;box-sizing:border-box;padding:0 8px 0 6px;border-left:3px solid var(--game-accent)}.cn-online-profile__badge-sign{height:16px;width:auto;display:block;object-fit:contain}.cn-online-profile__badge-amount{color:#f3f4f6;letter-spacing:.3px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.cn-online-room-rename-btn{appearance:none;-webkit-appearance:none;background:transparent;color:#ffffffbf;border:1px solid var(--game-accent);border-radius:999px;padding:2px 10px;font-size:11px;font-weight:600;letter-spacing:.02em;cursor:pointer;white-space:nowrap}.cn-online-room-rename-btn:hover{background:var(--game-accent);color:#1c1c1c}.cn-online-room-rename-btn[hidden]{display:none}.cn-online-control-bar-controls{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;padding:6px 16px;border-radius:16px;background:#4a4a4a;border:2px solid #6d6d6d;box-shadow:inset 0 1px #ffffff14,0 2px 6px #00000073}.cn-online-layout-menu-wrap{display:none;position:relative;margin-left:auto;flex:0 0 auto}body.online-mode .cn-online-layout-menu-wrap{display:block}.cn-online-layout-menu-btn{appearance:none;-webkit-appearance:none;background:transparent;color:#ffffffbf;border:1px solid var(--game-accent);border-radius:8px;width:30px;height:30px;font-size:15px;line-height:1;cursor:pointer}.cn-online-layout-menu-btn:hover{background:var(--game-accent);color:#1c1c1c}.cn-online-layout-menu{position:fixed;z-index:610;display:flex;flex-direction:column;gap:6px;padding:8px;background:#10131a;border:2px solid var(--game-accent);border-radius:10px;box-shadow:0 12px 28px #0000008c}.cn-online-layout-menu[hidden]{display:none}.cn-online-layout-menu-item{appearance:none;-webkit-appearance:none;width:100%;text-align:left;white-space:nowrap;padding:7px 12px;font-size:13px;font-weight:600;color:#eef2f5;background:#ffffff0f;border:1px solid #2b2b2b;border-radius:8px;cursor:pointer}.cn-online-layout-menu-item:hover:not(:disabled){background:#ffffff24}.cn-online-layout-menu-item:disabled{opacity:.45;cursor:default}.cn-online-control-bar-icon-btn{border:0;background:transparent;padding:0;width:40px;height:40px;cursor:pointer;transition:filter .15s ease,transform .15s ease}.cn-online-control-bar-icon-btn img{display:block;width:100%;height:100%}.cn-online-control-bar-icon-btn[hidden]{display:none}.cn-online-control-bar-icon-btn:hover,.cn-online-control-bar-icon-btn:focus-visible{filter:brightness(1.18);transform:translateY(-1px)}.cn-online-switch-menu{position:absolute;top:72px;left:50%;transform:translate(-50%);z-index:610;min-width:260px;background:#10131a;border:3px solid var(--game-accent);border-radius:14px;padding:8px;display:flex;flex-direction:column;gap:6px;box-shadow:0 10px 30px #00000080}.cn-online-switch-menu[hidden]{display:none}.cn-online-switch-item{display:flex;align-items:center;gap:12px;width:100%;background:transparent;border:0;border-radius:10px;cursor:pointer;text-align:left;padding:8px 10px;color:#eaeefb;font-size:15px;font-weight:600;transition:background .15s ease,transform .15s ease}.cn-online-switch-item:hover,.cn-online-switch-item:focus-visible{background:#ffffff14;transform:scale(1.02);outline:none}.cn-online-switch-item img{display:block;width:46px;height:28px;object-fit:cover;border-radius:6px;flex-shrink:0;border:2px solid var(--game-accent)}.cn-online-overlay{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;background:#0000;overflow:hidden;box-sizing:border-box;padding:8px 0}.cn-online-overlay[hidden]{display:none}body.online-mode .cn-online-overlay{right:calc(var(--bb-sidebar-w) + 30px)}body.online-mode.bb-dock-left .cn-online-overlay{left:calc(var(--bb-sidebar-w) + 30px);right:0}.cn-online-card{width:98%;height:100%;max-width:1400px;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:28px;background-image:linear-gradient(#0a0a0a99,#0a0a0a99),url(/assets/img/boom_bug_card.webp);background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#1c1c1c;border:4px solid rgba(var(--game-accent-rgb),.85);border-radius:2px;padding:40px 32px;box-shadow:0 14px 34px #0009;overflow-y:auto}.cn-online-title{color:#ffffffbf;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-weight:900;font-size:clamp(28px,4vw,48px);text-align:center;letter-spacing:.03em}.cn-online-title.cn-online-title--hud{font-size:20px;line-height:1;text-align:left;white-space:nowrap}.cn-online-roster-group{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.cn-online-roster{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:clamp(16px,3vw,48px);row-gap:32px}.cn-online-seat{flex:0 0 auto;min-width:0;display:flex;flex-direction:column;align-items:center;gap:10px;width:clamp(140px,16vw,220px)}.cn-online-seat-actions{height:40px;display:flex;align-items:center;justify-content:center}.cn-online-seat-btn{display:block;border:0;background:transparent;padding:0;cursor:pointer;width:36px;height:36px;transition:filter .15s ease,transform .15s ease}.cn-online-seat-btn[hidden]{display:none}.cn-online-seat-btn img{display:block;width:100%;height:100%}.cn-online-seat-btn:hover,.cn-online-seat-btn:focus-visible{filter:brightness(1.15);transform:translateY(-2px)}.cn-online-seat-avatar{display:block;width:100%;aspect-ratio:1 / 1;border-radius:10px;border:5px solid var(--game-accent);object-fit:contain;background:#fff}.cn-online-seat--me .cn-online-seat-avatar{border-color:#5cc8ff;box-shadow:0 0 0 3px #5cc8ff80}.cn-online-seat-invite{display:grid;place-items:center;width:100%;aspect-ratio:1 / 1;padding:0;box-sizing:content-box;border:5px solid rgba(255,255,255,.4);border-radius:10px;background:transparent;color:#ffffffb8;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-weight:700;font-size:clamp(12px,1.2vw,16px);letter-spacing:.12em;text-transform:uppercase;cursor:pointer;transition:border-color .15s ease,color .15s ease,transform .15s ease}.cn-online-seat-invite:hover,.cn-online-seat-invite:focus-visible{border-color:var(--game-accent);color:#fff;transform:translateY(-2px);outline:none}.cn-online-seat-label{color:#fff;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-weight:900;font-size:clamp(14px,1.6vw,20px);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.cn-online-seat-sub,.cn-online-spectators{display:none}.cn-online-status{color:#ffffffb3;font-size:14px;text-align:center}.cn-online-status{margin-top:auto}#rightPanel{display:none}body.sidebar-ui #rightPanel{display:flex;flex-direction:column;gap:8px;flex:0 0 var(--bb-sidebar-w);width:var(--bb-sidebar-w);max-height:100%;min-width:0;box-sizing:border-box;border:3px solid #a30f0f;border-radius:10px;padding:8px;overflow:hidden;position:relative;z-index:60}:root{--bb-sidebar-w: clamp(220px, 24vw, 360px)}body.sidebar-ui>.game>#playfield{order:1}body.sidebar-ui>.game>#bb-resize-handle{order:2}body.sidebar-ui>.game>#rightPanel{order:3}body.sidebar-ui.bb-dock-left>.game>#rightPanel{order:1}body.sidebar-ui.bb-dock-left>.game>#playfield{order:3}body.sidebar-ui #leftPanel{display:none}body.sidebar-ui #rightPanel>#hudPanel{width:100%;flex:0 0 auto;margin-top:0;border-width:3px;border-color:var(--game-accent)}#hudPanel[hidden]{display:none}#playfield{display:contents}body.sidebar-ui #playfield{display:flex;align-items:center;justify-content:center;flex:1 1 auto;min-width:0;min-height:0;overflow:hidden}.bb-resize-handle{display:none}body.sidebar-ui>.game>.bb-resize-handle{display:block;flex:0 0 10px;position:relative;cursor:col-resize;background:transparent;z-index:60}.bb-resize-handle:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;transform:translate(-50%);background:#2b2b2b;border-radius:2px}.bb-resize-handle:hover:before,.bb-resize-handle.bb-resizing:before{background:var(--game-accent);width:4px}body.bb-resizing-cursor{cursor:col-resize;-webkit-user-select:none;user-select:none}.sidebar{position:relative}.pane{background-color:#0c101866;border:3px solid #06a813;border-radius:8px;padding:8px}.scrollable{overflow:auto;min-height:0;flex:1 1 auto}.sidebar-tabs-wrap{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.sidebar-tabs{display:flex;gap:8px}.sidebar-tabs .tab{padding:6px 10px;border-radius:8px;border:1px solid var(--border, #2b2b2b);background:var(--panel, rgba(0,0,0,.05));cursor:pointer}.sidebar-tabs .tab.active{outline:2px solid rgba(255,194,10,.555)}.sidebar-tabs .online-badge{font-size:12px;margin-left:6px;opacity:.8}#tab-chat{background:url(/assets/img/turq_glass_button.webp) center/100% 100% no-repeat;border:none;color:#fff;font-weight:700}#tab-players{background:url(/assets/img/orange_glass_button.webp) center/100% 100% no-repeat;border:none;color:#fff;font-weight:700}#tab-info{background:url(/assets/img/purple_glass_button.webp) center/100% 100% no-repeat;border:none;color:#fff;font-weight:700}.tab-panels{display:flex;flex-direction:column;min-height:200px;height:calc(100% - 40px)}.tab-panel .pad{padding:8px;opacity:.8}.chat-panel{display:flex;flex-direction:column;height:100%;min-height:0;gap:8px}.chat-messages{flex:1;min-height:0;overflow:auto;border-radius:8px;padding:8px;background:#00000014}.chat-row{padding:6px 8px;border:2px solid #00000072;border-radius:8px;margin:4px 0;background:#ffffff0a}.chat-row.mine{background:#78c8ff1f}.chat-row-meta{display:flex;gap:6px;font-size:12px;opacity:.75;margin-bottom:2px}.chat-row-text{word-wrap:break-word;overflow-wrap:anywhere}.chat-input-row{display:grid;grid-template-columns:auto auto 1fr auto;grid-template-areas:"emoji gif   .     .   " "input input input send";gap:6px;align-items:center;min-width:0}.chat-input-row .btn-emoji{grid-area:emoji}.chat-input-row .btn-gif{grid-area:gif}.chat-input-row #chat-send{grid-area:send}.chat-input-row input[type=text]{grid-area:input;min-width:0;box-sizing:border-box;padding:8px 10px;border-radius:8px;border:1px solid var(--border, #ff4e4e)}.chat-input-row button{padding:8px 12px;border-radius:8px;border:1px solid var(--border, #2b2b2b);cursor:pointer;background:var(--panel, rgba(0,0,0,.06))}.chat-input-row .btn-emoji{background:url(/assets/img/yellow_glass_button.webp) center/100% 100% no-repeat;border:none}.chat-input-row .btn-gif{background:url(/assets/img/red_glass_button.webp) center/100% 100% no-repeat;border:none;color:#fcfcfc;font-weight:700}.chat-input-row #chat-send{background:url(/assets/img/green_glass_button.webp) center/100% 100% no-repeat;border:none;color:#0a0a0a;font-weight:700}.chat-toolbar{display:flex;gap:8px;margin-bottom:6px}.chat-toolbar button{padding:6px 10px;border-radius:8px;border:3px solid var(--border,#9f0e0e);background:var(--panel,rgba(0,0,0,.06));cursor:pointer}.popover{position:absolute;top:70px;left:8px;right:8px;max-height:calc(var(--bb-vh, 100vh) * .8);max-width:100vh;overflow:auto;background:#000000d9;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:8px;z-index:999;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.emoji-mart,.emoji-mart *{box-sizing:border-box}.gif-search{margin-bottom:8px}.gif-search input{width:50%;padding:8px 10px;border-radius:8px;border:1px solid var(--border,#2b2b2b);background:#111;color:#eee}.gif-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.gif-item{border:0;background:transparent;padding:0;cursor:pointer;border-radius:8px;overflow:hidden}.gif-item img{width:100%;height:100%;object-fit:cover;display:block}.chat-img{max-width:100%;border-radius:8px;display:block}.sidebar,#rightPanel,#rightPanel #sb-content,.right-panel,.right-panel #sb-content{position:relative}.sidebar-tabs-overlay{position:absolute;inset:8px;display:flex;flex-direction:column;gap:8px;pointer-events:auto}.tab-panels{flex:1;min-height:0;display:flex;flex-direction:column}.tab-panel{flex:1;min-height:0}:root{--game-accent: rgb(255, 185, 23);--game-accent-rgb: 255, 185, 23}#sb-content{border:3px solid var(--game-accent);border-radius:10px}body.sidebar-ui #rightPanel{border:0;border-left:4px solid var(--game-accent);border-radius:0}.cn-online-card{border:4px solid var(--game-accent);border-radius:4px;width:100%}.cn-online-hud{border-bottom:4px solid var(--game-accent)}.cn-online-switch-menu,.cn-online-profile__avatar,.cn-online-profile__badge,.cn-online-seat-avatar,.cn-online-layout-menu,.cn-online-layout-menu-btn{border-color:var(--game-accent)}.cn-online-profile__badge-value{border-left-color:var(--game-accent)}#tab-chat,#tab-players,#tab-info{background:#ffffff0f;background-image:none;border:1px solid #3a3a3a;color:#fff;font-weight:400}.sidebar-tabs .tab.active{outline:2px solid var(--game-accent);outline-offset:-1px}.cn-online-switch-item img{border-color:var(--game-accent)}.sidebar-tabs{flex-wrap:wrap;row-gap:6px}body.sidebar-ui #rightPanel{align-self:stretch;max-height:none;margin-top:-8px;margin-bottom:-8px}.cn-online-overlay{padding-left:8px;padding-right:8px}.cn-online-overlay{padding-top:80px}.cn-online-card{max-width:none;width:100%}#hudPanel .hud-panel__title{position:relative}#hudPanel .hud-panel__title .bb-chat-settings-wrap{position:absolute;top:-2px;right:-2px;margin-left:0}#hudPanel .hud-panel__title--with-gear{box-sizing:border-box;padding:0 30px}#hudPanel .hud-panel__title.hud-panel__title--with-gear img{max-width:100%}#hudPanel .hud-panel__title .bb-chat-gear{width:26px;height:26px}#hudPanel .hud-panel__title .bb-chat-gear svg{width:15px;height:15px}#panel-info,#game-info-panel{overflow-y:auto}.game-info h3{margin:0 0 10px;font-size:15px;color:var(--game-accent)}.game-info dt{margin-top:10px;font-weight:800;font-size:13px;color:var(--game-accent)}.game-info dd{margin:2px 0 8px;font-size:12.5px;line-height:1.45;color:#fff}.sidebar-tabs .tab{color:#fff}.bb-players-list{flex:1 1 auto;min-height:0;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:6px}.bb-players-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;box-sizing:border-box;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff0a;color:#fff;font-size:13px}.bb-players-avatar{flex:0 0 auto;width:28px;height:28px;border-radius:50%;object-fit:cover;background:#2b2f3a}.bb-players-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;color:var(--bb-chat-name-color, #fff)}.bb-players-role{flex:0 0 auto;font-size:11px;color:#fff;opacity:.75}.bb-players-bump{flex:0 0 auto;width:24px;height:24px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;opacity:.85;transition:opacity .15s ease,transform .15s ease}.bb-players-bump img{display:block;width:100%;height:100%}.bb-players-bump:hover,.bb-players-bump:focus-visible{opacity:1;transform:scale(1.12);outline:none}.bb-players-bump:active{transform:scale(.95)}#panel-players{display:flex;flex-direction:column;min-height:0}#panel-players[hidden]{display:none}body.sidebar-ui #rightPanel{border:0}body.sidebar-ui #rightPanel .cn-online-control-bar-controls{position:static;transform:none;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 0 8px;padding:6px 10px}body.sidebar-ui #rightPanel .cn-online-control-bar-icon-btn{flex:0 0 auto}body>.cn-online-switch-menu{position:fixed;top:auto;left:auto;transform:none}body.online-mode.cn-in-play .cn-online-control-bar{display:none}body.online-mode.cn-in-play>.game{padding-top:8px}:root{--bb-sidebar-w: 336px}body.sidebar-ui #rightPanel .hud-collapsed>*:not(.cn-online-control-bar-controls):not(#gameControlsBar){display:none!important}body.sidebar-ui #rightPanel .hud-collapsed{padding:0;border:0;background:transparent;box-shadow:none;min-height:0}body.sidebar-ui #rightPanel .cn-online-profile{margin:0 0 8px;justify-content:center;flex-wrap:wrap}body.online-mode .cn-online-control-bar{display:none}body.sidebar-ui>.game{padding-top:8px}.cn-online-overlay{padding-top:8px}body.sidebar-ui:not(.online-mode) #sb-content{display:none}body.sidebar-ui #rightPanel #gameControlsBar{position:static;transform:none;width:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:0 0 8px;padding:6px 10px;border-radius:16px;background:#4a4a4a;border:2px solid #6d6d6d;box-shadow:inset 0 1px #ffffff14,0 2px 6px #00000073}body.sidebar-ui #rightPanel #gameControlsBar .game-controls-btn{flex:0 0 auto;width:40px;height:40px;padding:0;border:0;background:transparent;cursor:pointer;transition:filter .15s ease,transform .15s ease}body.sidebar-ui #rightPanel #gameControlsBar .game-controls-btn:hover{background:transparent;filter:brightness(1.18);transform:translateY(-1px)}body.sidebar-ui #rightPanel #gameControlsBar .game-controls-btn img{display:block;width:100%;height:100%}body.sidebar-ui:not(.online-mode) #hudPanel .bb-chat-gear,body.sidebar-ui:not(.online-mode) #hud-panel .bb-chat-gear{visibility:hidden;pointer-events:none}body.sidebar-ui>.game>.bb-resize-handle{display:block;position:relative;flex:0 0 10px;align-self:stretch;cursor:col-resize;background:transparent;z-index:60}body.sidebar-ui>.game>.bb-resize-handle:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;transform:translate(-50%);background:var(--game-accent);opacity:.35;border-radius:2px;transition:opacity .18s ease,width .18s ease}body.sidebar-ui>.game>.bb-resize-handle:hover:before,body.sidebar-ui>.game>.bb-resize-handle.bb-resizing:before{opacity:1;width:4px}.bb-tc .bb-tc-btn img{display:block}@media(orientation:portrait)and (max-width:1024px){html{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}body{display:block;height:auto;min-height:100%;overflow:visible}body.sidebar-ui>.game{flex-direction:column;align-items:stretch;justify-content:flex-start;height:auto;min-height:var(--bb-vh, 100svh);width:100%;max-width:100vw;gap:10px;padding:8px}body.sidebar-ui>.game>#playfield,body.sidebar-ui.bb-dock-left>.game>#playfield{order:1;flex:0 0 auto;width:100%}body.sidebar-ui>.game>#rightPanel,body.sidebar-ui.bb-dock-left>.game>#rightPanel{order:2;flex:0 0 auto;width:100%;max-width:100%;max-height:none;align-self:stretch;margin:0;overflow:visible}body.sidebar-ui>.game>#bb-resize-handle{display:none}body.sidebar-ui #rightPanel #hudPanel{--hud-portrait-max-h: 120px;max-height:none}body.online-mode #rightPanel #sb-content{flex:0 0 auto;height:min(calc(var(--bb-vh, 100svh) * .7),560px)}body.bb-touch-controls.sidebar-ui>.game{padding-bottom:160px}body.online-mode:not(.cn-in-play)>.game>#playfield{min-height:calc(var(--bb-vh, 100svh) * .62)}body.online-mode .cn-online-overlay,body.online-mode.bb-dock-left .cn-online-overlay{position:absolute;inset:0 0 auto;height:calc(calc(var(--bb-vh, 100svh) * .62) + 16px);padding:8px}.cn-online-card{padding:16px 12px;gap:14px}}@media(orientation:landscape)and (max-height:500px){:root{--bb-sidebar-w: 220px !important}body.sidebar-ui>.game>#bb-resize-handle{display:none}body.sidebar-ui #rightPanel{overflow-x:hidden;overflow-y:auto}body.sidebar-ui #rightPanel>#hudPanel{padding:8px 8px 6px;max-height:none;flex-shrink:0;--hud-label-size: 12px}body.online-mode #rightPanel #sb-content{flex:0 0 auto;height:300px}.cn-online-card{padding:12px;gap:12px}}@media(orientation:landscape){body.bb-touch-controls.sidebar-ui #rightPanel{padding-bottom:110px}body.bb-touch-controls.sidebar-ui.bb-dock-left #rightPanel{padding-bottom:8px}body.bb-touch-controls.sidebar-ui.bb-dock-left>.game{padding-right:112px}}@media(orientation:landscape)and (max-height:500px){body.bb-touch-controls.sidebar-ui>.game{padding-left:136px}body.bb-touch-controls.sidebar-ui #rightPanel{padding-bottom:96px}body.bb-touch-controls.sidebar-ui.bb-dock-left>.game{padding-left:8px;padding-right:96px}}@media(min-width:1025px),(orientation:landscape){body.bb-sidebar-folded-page>.game{column-gap:10px}body.bb-sidebar-folded-page>.game>#playfield{flex:0 0 auto;align-self:flex-start}body.bb-sidebar-folded-page .bb-keep-beside{border:2px solid #fff;border-radius:10px}body.bb-sidebar-folded-page .bb-sidebar-collapse-btn{position:fixed;top:50%;transform:translateY(-50%);left:6px}body.bb-sidebar-folded-page .bb-sidebar-collapse-btn[data-side=right]{left:auto;right:6px}}
