/* Bingo18 desktop play surface, following the dark emerald and gold design. */
body.bingo-page {
  --b18-bg: #031b14;
  --b18-panel: #062b20;
  --b18-panel-raised: #08382a;
  --b18-line: rgba(66, 151, 113, 0.26);
  --b18-soft: #b8d6c8;
  --b18-text: #f1f7f2;
  --b18-muted: #90b3a2;
  --b18-green: #18a96b;
  --b18-gold: #ffd768;
  --b18-gold-dark: #e8ad35;
  background: var(--b18-bg) !important;
  color: var(--b18-text);
  overflow-x: hidden;
  scrollbar-color: #266c4c #031b14;
}
body.bingo-page::-webkit-scrollbar {
  width: 10px;
}
body.bingo-page::-webkit-scrollbar-track {
  background: #031b14;
}
body.bingo-page::-webkit-scrollbar-thumb {
  border: 2px solid #031b14;
  border-radius: 999px;
  background: #286d4d;
}
body.bingo-page .site-header {
  color: #f5fff8;
  background: #052b20;
  border-bottom: 1px solid rgba(108, 190, 146, 0.2);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.18);
}
body.bingo-page .site-header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.28);
}
body.bingo-page .site-header .brand-img {
  content: url('../img/brand/logo-figma-white.png');
}
body.bingo-page .nav-i > a,
body.bingo-page .nav-i > button,
body.bingo-page .hright,
body.bingo-page .burger {
  color: #e8f6ed;
}
body.bingo-page .nav-i > a:hover,
body.bingo-page .nav-i > button:hover,
body.bingo-page .nav-i.active > a,
body.bingo-page .nav-i.active > button {
  color: var(--b18-gold);
}
body.bingo-page .nav-i > a::after,
body.bingo-page .nav-i > button::after {
  background: var(--b18-gold);
}
body.bingo-page .drop,
body.bingo-page .tier-menu {
  color: var(--b18-text);
  background: #073a2b;
  border: 1px solid var(--b18-line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
body.bingo-page .drop a,
body.bingo-page .tier-menu a {
  color: #e8f6ed;
}
body.bingo-page .drop a:hover,
body.bingo-page .tier-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.bingo-page .tier-chip,
body.bingo-page .wallet-chip,
body.bingo-page .hicon,
body.bingo-page .cart-btn {
  color: #eff9f2;
  border-color: rgba(154, 206, 178, 0.3);
  background: rgba(255, 255, 255, 0.045);
}
body.bingo-page .wallet-chip {
  background: rgba(255, 215, 104, 0.1);
  border-color: rgba(255, 215, 104, 0.3);
}
body.bingo-page .wallet-chip span {
  color: var(--b18-gold);
}
body.bingo-page .hicon:hover,
body.bingo-page .cart-btn:hover,
body.bingo-page .tier-chip:hover {
  background: rgba(255, 255, 255, 0.1);
}
body.bingo-page .drawer {
  color: var(--b18-text);
  background: #052b20;
  border-color: var(--b18-line);
}
body.bingo-page .drawer nav a {
  color: #e8f6ed;
}
body.bingo-page .drawer nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.bingo-page .drawer .grp {
  color: var(--b18-gold);
}
body.bingo-page .site-footer {
  color: #a9c8b8;
  background: #041f17;
  border-top: 1px solid rgba(108, 190, 146, 0.19);
}
body.bingo-page .site-footer h4 {
  color: #f1f7f2;
}
body.bingo-page .site-footer a {
  color: #b7d2c3;
}
body.bingo-page .site-footer a:hover {
  color: var(--b18-gold);
}
body.bingo-page .site-footer .hotline {
  color: var(--b18-gold);
}
body.bingo-page .site-footer .social a {
  color: #e9f6ee;
  border-color: rgba(154, 206, 178, 0.32);
  background: #073a2b;
}
body.bingo-page .site-footer .fbottom {
  border-top-color: rgba(154, 206, 178, 0.18);
  color: #9ab8a8;
}
body.bingo-page .site-footer .app-foot {
  border-top-color: rgba(154, 206, 178, 0.18);
  color: #9ab8a8;
}

.b18-page {
  min-height: calc(100vh - 72px);
  padding: 16px 0 20px;
  background: radial-gradient(ellipse at 50% -12%, rgba(16, 98, 66, 0.24), transparent 52%), var(--b18-bg);
}
.b18-page-wrap {
  width: min(100% - 36px, 1600px);
  margin: 0 auto;
}
html .b18-app {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--b18-text);
  border-radius: 0 !important;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
}
html .b18-app::before {
  display: none;
}
.b18-app > * {
  position: relative;
  z-index: 1;
}
.b18-cols {
  display: grid;
  grid-template-columns: minmax(310px, 1.05fr) minmax(450px, 1.28fr) minmax(300px, 0.9fr);
  gap: 12px;
  align-items: start;
}
.b18-colL,
.b18-colM,
.b18-colR {
  min-width: 0;
}
.b18-colL,
.b18-colR {
  display: grid;
  gap: 10px;
}
.b18-panel {
  min-width: 0;
  background: linear-gradient(145deg, rgba(7, 57, 42, 0.97), rgba(4, 39, 29, 0.98));
  border: 1px solid var(--b18-line);
  border-radius: 13px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.13);
}
.b18-live-panel {
  padding: 13px 14px 12px;
  overflow: hidden;
}
.b18-live-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(127, 193, 157, 0.15);
}
.b18-live-logo {
  display: grid;
  place-items: center;
  width: 84px;
  height: 52px;
  flex: none;
}
.b18-live-logo .plw {
  width: 84px !important;
  height: 50px !important;
}
.b18-live-title {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.b18-live-title strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.b18-live-title small {
  color: var(--b18-soft);
  font-size: 10px;
}
.b18-live-mark {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8be0aa;
  font-size: 10px;
  white-space: nowrap;
}
.b18-live-mark i,
.b18-open-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47da88;
  box-shadow: 0 0 10px rgba(71, 218, 136, 0.75);
}
.b18-icon-btn {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--b18-line);
  border-radius: 9px;
  color: #eaf6ee;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.b18-icon-btn:hover {
  color: var(--b18-gold);
  background: rgba(255, 255, 255, 0.1);
}
.b18-icon-btn svg {
  width: 19px;
  height: 19px;
}
.b18-draw-meta {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 11px 1px 7px;
}
.b18-draw-meta > div {
  display: grid;
  gap: 3px;
}
.b18-draw-meta small {
  font-size: 10px;
  color: var(--b18-soft);
}
.b18-draw-meta strong {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.3px;
  font-variant-numeric: tabular-nums;
}
.b18-open-status {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(52, 210, 130, 0.22);
  color: #8be0aa;
  background: rgba(34, 174, 102, 0.12);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.b18-open-status i {
  width: 7px;
  height: 7px;
}
.b18-countdown {
  text-align: right;
}
.b18-countdown b {
  font-size: 22px;
  line-height: 1;
  color: #f1fff5;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.b18-stage {
  height: 158px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 11px;
  background:
    radial-gradient(ellipse at 48% 68%, rgba(101, 197, 130, 0.34), transparent 42%),
    linear-gradient(180deg, rgba(0, 14, 10, 0.08), rgba(0, 15, 11, 0.35));
}
.b18-stage-glow {
  position: absolute;
  width: 210px;
  height: 108px;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(249, 207, 92, 0.23), rgba(28, 169, 99, 0.1) 48%, transparent 74%);
  filter: blur(2px);
}
.b18-stage-mascot {
  position: absolute;
  z-index: 2;
  left: 9px;
  bottom: 2px;
  width: 76px;
  height: 108px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.35));
}
.b18-stage-balls {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 53px;
  margin-top: -3px;
}
.b18-dice-ball {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #123d2b;
  background: radial-gradient(circle at 33% 25%, #fffde3 0 7%, #fff0b0 22%, #d3f2dc 55%, #8ac59f 100%);
  border: 2px solid rgba(221, 255, 228, 0.8);
  box-shadow:
    inset -6px -8px 13px rgba(5, 64, 35, 0.26),
    inset 4px 3px 8px rgba(255, 255, 255, 0.92),
    0 7px 18px rgba(0, 0, 0, 0.28);
  font: 800 34px/1 var(--app-font);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}
.b18-stage-base {
  position: absolute;
  bottom: 12px;
  left: 19%;
  right: 7%;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(180deg, #256d45, #071c14 80%);
  border-top: 2px solid rgba(225, 190, 91, 0.66);
  box-shadow: 0 8px 13px rgba(0, 0, 0, 0.3);
}
.b18-last-result {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 7px 10px 0;
  color: #d9ecdf;
  text-align: center;
  font-size: 11px;
}
.b18-last-result span {
  font-size: 10px;
  color: #aac9b7;
}
.b18-last-result strong {
  font-size: 12px;
}
.b18-last-result i {
  padding: 0 5px;
  color: #9bb9a7;
  font-style: normal;
}
.b18-last-result b {
  color: var(--b18-gold);
}
.b18-recent-panel,
.b18-watch-panel {
  padding: 11px 13px;
}
.b18-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
.b18-panel-head h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.1px;
}
.b18-panel-head > span,
.b18-panel-head > a {
  color: #93b5a3;
  font-size: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.b18-hist {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: #2b7251 transparent;
  padding: 1px 0 3px;
}
.b18-hist i {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: #e8fff0;
  background: radial-gradient(circle at 35% 28%, #eefdf2, #43a976 48%, #075738 82%);
  border: 1px solid rgba(160, 233, 185, 0.48);
  box-shadow:
    inset 0 1px 5px rgba(255, 255, 255, 0.42),
    0 3px 7px rgba(0, 0, 0, 0.25);
}
.b18-hist i:nth-child(4n + 2) {
  background: radial-gradient(circle at 35% 28%, #fff9d8, #ffd76b 49%, #b57b19 85%);
  color: #4d3106;
  border-color: rgba(255, 229, 152, 0.64);
}
.b18-hist i.sv {
  background: radial-gradient(circle at 35% 28%, #f8fff9, #d9f1e1 49%, #5aa87b 85%);
  color: #145538;
  border-color: rgba(228, 255, 235, 0.8);
}
.b18-ticket-glyph {
  display: inline-grid;
  place-items: center;
  margin-right: 7px;
  color: var(--b18-gold);
  font-size: 16px;
  vertical-align: -1px;
}
.b18-watch-panel .b18-panel-head {
  margin-bottom: 5px;
}
.b18-watch-list {
  display: grid;
  gap: 5px;
}
.b18-watch-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 7px 8px;
  border-radius: 9px;
  color: var(--b18-text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(154, 206, 178, 0.12);
}
.b18-watch-row:hover {
  background: rgba(255, 255, 255, 0.09);
}
.b18-watch-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--b18-gold);
  background: rgba(255, 215, 104, 0.13);
  font-size: 17px;
}
.b18-watch-row > span:nth-child(2) {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}
.b18-watch-row b {
  overflow: hidden;
  color: #eef8f1;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.b18-watch-row small,
.b18-watch-row > i {
  color: #99b9a7;
  font-size: 9px;
  font-style: normal;
}
.b18-watch-empty {
  margin: 3px 1px 2px;
  color: #97b5a4;
  font-size: 10px;
  line-height: 1.45;
}

.b18-center-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 2px 2px 0;
}
.b18-center-head h1 {
  margin: 0;
  color: #f7fbf8;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.b18-center-head p {
  margin: 4px 0 0;
  color: #9cbbaa;
  font-size: 10px;
}
.b18-round-tag {
  padding: 5px 8px;
  border: 1px solid rgba(255, 215, 104, 0.21);
  border-radius: 6px;
  color: var(--b18-gold);
  background: rgba(255, 215, 104, 0.08);
  font-size: 9px;
  white-space: nowrap;
}
.b18-app .b18-tabs {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0 0 9px;
  padding: 3px;
  gap: 4px;
  border-radius: 10px;
  border: 1px solid var(--b18-line);
  background: #05271d;
}
.b18-app .b18-tabs button {
  min-height: 34px;
  flex: 1;
  border-radius: 8px;
  color: #bdd8c9;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}
.b18-app .b18-tabs button.active {
  color: #fff;
  background: linear-gradient(180deg, #25b87a, #118455);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.22);
}
.b18-bet-panel {
  padding: 12px 12px 9px;
}
.b18-gh {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: #eff9f1;
  font-size: 12px;
  font-weight: 800;
}
.b18-gh > span {
  color: #f0f8f2;
}
.b18-info-dot {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(160, 215, 183, 0.48);
  border-radius: 50%;
  color: #afd4bf;
  font-size: 10px;
  font-style: normal;
  line-height: 1;
}
.b18-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 12px;
}
html .b18-app .b18-cell.choice {
  min-height: 76px;
  border-radius: 10px;
  border: 1px solid rgba(92, 183, 132, 0.43);
  background: linear-gradient(145deg, #0a4a36, #063b2c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
html .b18-app .b18-cell.choice strong {
  margin: 3px 0 1px;
  color: #f5fbf7 !important;
  font: 800 17px/1 var(--app-font);
  text-shadow: none;
}
html .b18-app .b18-cell.choice.tie {
  border-color: rgba(255, 215, 104, 0.55);
  background: linear-gradient(145deg, #315439, #125238);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
html .b18-app .b18-cell.choice.tie strong {
  color: var(--b18-gold) !important;
}
html .b18-app .b18-cell.choice small {
  margin-top: 2px;
  padding: 0;
  background: none;
  color: #d0e9d8;
  font-size: 10px;
  font-weight: 700;
}
html .b18-app .b18-cell.choice em {
  position: static;
  margin-top: 1px;
  padding: 0;
  background: none;
  color: #98caaa;
  font-size: 9px;
  font-style: normal;
}
.b18-bet-section {
  margin-top: 8px;
}
.b18-section-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 6px;
  color: #eff8f2;
  font-size: 12px;
  font-weight: 800;
}
.b18-section-label small,
.b18-section-alt {
  color: var(--b18-gold);
  font-size: 10px;
  font-weight: 700;
}
.b18-section-alt {
  margin-left: auto;
}
.b18-board {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.b18-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
html .b18-app .b18-grid.full {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 5px;
}
html .b18-app .b18-cell.number {
  min-height: 47px;
  border: 1px solid rgba(82, 146, 111, 0.36);
  border-radius: 8px;
  color: #eff9f1;
  background: linear-gradient(145deg, #0b3b2e, #082d23);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
html .b18-app .b18-cell.number:hover {
  border-color: #5aa77a;
  background: #0e4a35;
  transform: translateY(-1px);
}
html .b18-app .b18-cell.number strong {
  color: inherit;
  font: 800 18px/1 var(--app-font);
}
html .b18-app .b18-cell.number em {
  margin-top: 2px;
  color: #97bdaa;
  font-size: 8px;
  font-style: normal;
}
html .b18-app .b18-cell.chosen,
html .b18-app .b18-sp.chosen {
  border-color: #ffe384 !important;
  background: linear-gradient(145deg, #ffea97, #eebd43) !important;
  box-shadow:
    0 0 0 1px rgba(255, 225, 120, 0.5),
    0 4px 13px rgba(255, 205, 76, 0.23) !important;
}
html .b18-app .b18-cell.chosen strong {
  color: #332608 !important;
}
html .b18-app .b18-cell.chosen em {
  color: #6f5313 !important;
}
html .b18-app .b18-check {
  background: #1e9b63;
  box-shadow: 0 0 0 2px #062b20;
}
html .b18-app .b18-sprow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
html .b18-app .b18-sprow.pair-row,
html .b18-app .b18-sprow.single-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
html .b18-app .b18-sp,
html .b18-app .b18-sp:nth-child(even) {
  min-height: 47px;
  border: 1px solid rgba(82, 146, 111, 0.36);
  border-radius: 8px;
  background: linear-gradient(145deg, #0b3b2e, #082d23);
  overflow: hidden;
}
html .b18-app .b18-sp:hover {
  border-color: #5aa77a;
  background: #0e4a35;
}
html .b18-app .b18-sp.pair {
  min-height: 47px;
}
html .b18-app .b18-sp.single {
  min-height: 45px;
}
html .b18-app .b18-ball {
  width: 22px;
  height: 22px;
  color: #503507;
  background: radial-gradient(circle at 33% 26%, #fffde5 0 8%, #ffe287 25%, #efb43c 65%, #ba7b1c 100%);
  font-size: 11px;
}
html .b18-app .b18-sp.triple .b18-balls {
  width: 40px;
}
html .b18-app .b18-sp.triple .b18-ball {
  width: 20px;
  height: 20px;
  font-size: 10px;
}
html .b18-app .b18-sp.single .b18-ball {
  width: 25px;
  height: 25px;
  font-size: 12px;
}
.b18-rules-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding: 7px 2px 0;
  border-top: 1px solid rgba(127, 193, 157, 0.13);
  color: #bcd5c5;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
}
.b18-rules-link:hover {
  color: var(--b18-gold);
}
.b18-rules-link b {
  color: var(--b18-gold);
  font-size: 17px;
  font-weight: 500;
}

.b18-slip-panel {
  padding: 13px 14px 12px;
}
.b18-slip-head {
  margin-bottom: 10px;
}
.b18-slip-head h2 {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.b18-slip-head h2 i {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  margin-left: 7px;
  padding: 0 5px;
  border-radius: 50%;
  color: #422c08;
  background: var(--b18-gold);
  font-size: 10px;
  font-style: normal;
}
.b18-slip-total-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-bottom: 12px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 215, 104, 0.36);
  border-radius: 9px;
  color: #eff8f2;
  background: rgba(255, 215, 104, 0.055);
}
.b18-slip-total-row span {
  flex: 1;
  font-size: 12px;
  font-weight: 700;
}
.b18-slip-total-row strong {
  color: var(--b18-gold);
  font-size: 13px;
}
.b18-slip-total-row button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  color: #d5e6dc;
  background: rgba(255, 255, 255, 0.08);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.b18-slip-total-row button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.b18-ticket-list {
  display: grid;
  gap: 5px;
  max-height: 184px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #2b7251 transparent;
}
.b18-ticket-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 43px;
  width: 100%;
  padding: 6px 8px;
  border: 1px solid rgba(97, 163, 124, 0.19);
  border-radius: 8px;
  color: #e8f3ec;
  text-align: left;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
}
.b18-ticket-row:hover {
  border-color: rgba(255, 215, 104, 0.42);
  background: rgba(255, 255, 255, 0.075);
}
.b18-ticket-type {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1;
}
.b18-ticket-type > i {
  color: var(--b18-gold);
  font-size: 13px;
  font-style: normal;
}
.b18-ticket-type span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.b18-ticket-type b {
  overflow: hidden;
  color: #eaf6ef;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.b18-ticket-type small {
  color: #93b3a1;
  font-size: 9px;
}
.b18-ticket-row > strong {
  color: var(--b18-gold);
  font-size: 10px;
  white-space: nowrap;
}
.b18-ticket-edit {
  color: #91b6a0;
  font-size: 17px;
}
.b18-ticket-empty {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 17px 10px;
  color: #91b3a0;
  text-align: center;
  border: 1px dashed rgba(97, 163, 124, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
}
.b18-ticket-empty span {
  font-size: 19px;
  filter: saturate(0.8);
}
.b18-ticket-empty p {
  margin: 0;
  font-size: 10px;
  line-height: 1.4;
}
.b18-stake-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 13px 0 7px;
}
.b18-stake-title h3 {
  margin: 0;
  color: #eff8f2;
  font-size: 12px;
  font-weight: 800;
}
.b18-stake-title small {
  overflow: hidden;
  color: #a6c5b3;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.b18-stake-stepper {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 43px;
  gap: 7px;
}
.b18-stake-stepper button {
  height: 39px;
  border: 1px solid rgba(114, 185, 142, 0.29);
  border-radius: 8px;
  color: #ddf1e4;
  background: #0b4a35;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.b18-stake-stepper button:hover:not(:disabled) {
  color: #3d2a08;
  background: var(--b18-gold);
}
.b18-stake-stepper button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.b18-stake-stepper strong {
  display: grid;
  place-items: center;
  min-width: 0;
  border: 1px solid rgba(126, 181, 147, 0.28);
  border-radius: 8px;
  color: #f4f8f4;
  background: rgba(0, 0, 0, 0.16);
  font-size: 14px;
  font-weight: 600;
}
.b18-quick-stakes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 7px;
}
.b18-quick-stakes button {
  min-height: 33px;
  border: 1px solid rgba(125, 186, 148, 0.25);
  border-radius: 7px;
  color: #cce1d3;
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.b18-quick-stakes button.active {
  color: #3b2a08;
  background: linear-gradient(180deg, #ffe590, #f3c34f);
  border-color: transparent;
}
.b18-quick-stakes button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.b18-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 13px 0 10px;
  padding-top: 11px;
  border-top: 1px solid rgba(127, 193, 157, 0.17);
}
.b18-total span {
  color: #e3f1e8;
  font-size: 12px;
  font-weight: 700;
}
.b18-total strong {
  color: var(--b18-gold);
  font-size: 23px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.b18-app .b18-btns {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  margin: 0;
}
.b18-app .b18-btns button {
  height: 43px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
}
.b18-app .b18-btns .b18-cart {
  display: flex;
  gap: 6px;
  padding: 0 10px;
  color: #d6eadd;
  background: #0b4a35;
  border: 1px solid rgba(119, 183, 146, 0.28) !important;
  white-space: nowrap;
}
.b18-app .b18-btns .b18-cart svg {
  width: 17px;
  height: 17px;
}
.b18-app .b18-btns .b18-go {
  display: flex;
  gap: 7px;
  color: #3c2a08 !important;
  background: linear-gradient(180deg, #ffe590, #f1bd45) !important;
  box-shadow: 0 4px 13px rgba(229, 174, 52, 0.16);
}
.b18-app .b18-btns .b18-go svg {
  width: 16px;
  height: 16px;
}
.b18-reset-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 8px;
  padding: 4px;
  color: #d5e5db;
  background: transparent;
  border: 0;
  font-size: 11px;
  cursor: pointer;
}
.b18-reset-link:hover {
  color: var(--b18-gold);
}
.b18-reset-link svg {
  width: 16px;
  height: 16px;
}
.b18-select-note {
  margin: 6px 0 0;
  color: #8ead9b;
  text-align: center;
  font-size: 9px;
  line-height: 1.4;
}
.b18-guide-link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--b18-line);
  border-radius: 10px;
  color: #edf7f0;
  background: #073326;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.b18-guide-link:hover {
  border-color: rgba(255, 215, 104, 0.36);
  color: var(--b18-gold);
}
.b18-guide-link span {
  font-size: 17px;
}
.b18-guide-link b {
  margin-left: auto;
  color: #9fbea9;
  font-size: 16px;
  font-weight: 500;
}
.b18-demo {
  margin: 9px 3px 0;
  color: #759887;
  text-align: center;
  font-size: 10px;
}

.b18-reference {
  margin: 30px 0 0;
  padding: 19px;
  border: 1px solid var(--b18-line);
  border-radius: 14px;
  background: #06291e;
  color: var(--b18-text);
}
.b18-reference h2 {
  margin: 0 0 12px;
  color: #f1f7f2;
  font-size: 17px;
}
.b18-reference .tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 11px;
  padding: 4px;
  border: 1px solid var(--b18-line);
  border-radius: 10px;
  background: #031f17;
}
.b18-reference .tabs button {
  flex: 1;
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  color: #a9c8b7;
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.b18-reference .tabs button.on {
  color: #3b2a08;
  background: var(--b18-gold);
  font-weight: 800;
}
.b18-reference .panel {
  padding: 14px;
  border: 1px solid rgba(108, 177, 137, 0.15);
  border-radius: 10px;
  color: #e3f1e7;
  background: #082f23;
}
.b18-reference .steps {
  margin: 0;
  padding-left: 20px;
  color: #d8eade;
}
.b18-reference .steps li {
  padding: 4px 0;
  font-size: 12px;
  line-height: 1.6;
}
.b18-reference .steps b {
  color: #f3cf69;
}
.b18-reference .rtable {
  color: #e3f1e7;
  background: transparent;
}
.b18-reference .rtable th {
  color: #f3cf69;
  background: #0d4733;
}
.b18-reference .rtable td {
  color: #d7e9de;
  border-color: rgba(108, 177, 137, 0.18);
}
.b18-reference .muted {
  color: #9dbba9 !important;
}

@media (min-width: 821px) {
  .b18-app .b18-tabs {
    margin-bottom: 7px;
  }
  .b18-bet-panel {
    padding: 10px 11px 7px;
  }
  .b18-choices {
    margin-bottom: 8px;
  }
  .b18-bet-section {
    margin-top: 6px;
  }
  .b18-section-label {
    margin-bottom: 4px;
  }
  html .b18-app .b18-cell.choice {
    min-height: 66px;
  }
  html .b18-app .b18-grid.full .number {
    min-height: 39px;
  }
  html .b18-app .b18-sp,
  html .b18-app .b18-sp:nth-child(even),
  html .b18-app .b18-sp.pair,
  html .b18-app .b18-sp.single {
    min-height: 39px;
  }
  html .b18-app .b18-sp.triple .b18-ball {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  html .b18-app .b18-sp.single .b18-ball {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .b18-rules-link {
    margin-top: 8px;
    padding-top: 5px;
  }
}

html .bingo-page #b18-wager {
  max-width: 440px;
  color: #edf7f0;
  background: #062b20;
  border: 1px solid rgba(92, 183, 132, 0.37);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
html .bingo-page #b18-wager::backdrop {
  background: rgba(0, 12, 8, 0.75);
  backdrop-filter: blur(4px);
}
html .bingo-page #b18-wager .b18-wchoice b {
  color: var(--b18-gold);
  background: #073b2a;
  border-color: rgba(92, 183, 132, 0.35);
}
html .bingo-page #b18-wager .b18-wchoice span {
  color: #b9d8c7;
}
html .bingo-page #b18-wager .b18-presets button {
  border-color: rgba(125, 186, 148, 0.29);
  color: #cde1d3;
  background: rgba(255, 255, 255, 0.035);
}
html .bingo-page #b18-wager .b18-presets button.active {
  color: #3b2a08;
  background: linear-gradient(180deg, #ffe590, #f1bd45);
}
html .bingo-page #b18-wager .b18-clear {
  color: #a9c8b7;
}
html .bingo-page #b18-help {
  color: #edf7f0;
  background: #062b20;
  border: 1px solid rgba(92, 183, 132, 0.37);
}
html .bingo-page #b18-help::backdrop {
  background: rgba(0, 12, 8, 0.75);
  backdrop-filter: blur(4px);
}
html .bingo-page #b18-help .b18-hbody p {
  color: #b9d8c7;
}

@media (min-width: 1200px) {
  .b18-colL {
    position: sticky;
    top: 84px;
  }
  .b18-colR {
    position: sticky;
    top: 84px;
  }
}
@media (max-width: 1199px) {
  .b18-cols {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.35fr);
  }
  .b18-colR {
    grid-column: 2;
    grid-row: 2;
  }
  .b18-colL {
    grid-column: 1;
    grid-row: 1 / span 2;
    position: sticky;
    top: 84px;
  }
  .b18-center-head {
    grid-column: 2;
  }
}
@media (max-width: 820px) {
  .b18-page-wrap {
    width: min(100% - 24px, 720px);
  }
  .b18-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .b18-colL,
  .b18-colM,
  .b18-colR {
    grid-column: auto;
    grid-row: auto;
    position: static;
  }
  .b18-colL {
    order: 1;
  }
  .b18-colM {
    order: 2;
  }
  .b18-colR {
    order: 3;
  }
  .b18-center-head {
    margin-top: 2px;
  }
  .b18-live-panel {
    padding: 12px;
  }
  .b18-stage {
    height: 176px;
  }
  .b18-stage-mascot {
    width: 88px;
    height: 126px;
  }
  .b18-dice-ball {
    width: 64px;
    height: 64px;
  }
}
@media (max-width: 520px) {
  .b18-page {
    padding: 9px 0 17px;
  }
  .b18-page-wrap {
    width: calc(100% - 16px);
  }
  .b18-center-head h1 {
    font-size: 18px;
  }
  .b18-center-head p {
    font-size: 9px;
  }
  .b18-round-tag {
    padding: 4px 6px;
    font-size: 8px;
  }
  .b18-live-head {
    gap: 7px;
  }
  .b18-live-logo,
  .b18-live-logo .plw {
    width: 70px !important;
  }
  .b18-live-logo .plw {
    height: 44px !important;
  }
  .b18-live-title strong {
    font-size: 13px;
  }
  .b18-live-mark {
    display: none;
  }
  .b18-draw-meta {
    grid-template-columns: 1fr auto;
    gap: 6px;
  }
  .b18-open-status {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    min-height: 25px;
  }
  .b18-countdown {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .b18-draw-meta strong {
    font-size: 18px;
  }
  .b18-countdown b {
    font-size: 20px;
  }
  .b18-stage {
    height: 152px;
  }
  .b18-stage-mascot {
    left: 0;
    width: 72px;
    height: 105px;
  }
  .b18-stage-balls {
    gap: 6px;
    margin-left: 38px;
  }
  .b18-dice-ball {
    width: 53px;
    height: 53px;
    font-size: 29px;
  }
  .b18-stage-base {
    left: 17%;
    right: 4%;
    height: 12px;
  }
  .b18-recent-panel,
  .b18-watch-panel,
  .b18-slip-panel {
    padding: 10px;
  }
  .b18-hist {
    gap: 4px;
  }
  .b18-hist i {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
    font-size: 12px;
  }
  .b18-app .b18-tabs button {
    font-size: 11px;
  }
  .b18-bet-panel {
    padding: 10px 8px 8px;
  }
  .b18-choices {
    gap: 5px;
  }
  html .b18-app .b18-cell.choice {
    min-height: 70px;
  }
  html .b18-app .b18-cell.choice strong {
    font-size: 15px;
  }
  html .b18-app .b18-grid.full {
    gap: 4px;
  }
  html .b18-app .b18-cell.number {
    min-height: 46px;
  }
  html .b18-app .b18-cell.number strong {
    font-size: 16px;
  }
  html .b18-app .b18-cell.number em {
    font-size: 7px;
  }
  html .b18-app .b18-sprow {
    gap: 4px;
  }
  html .b18-app .b18-sp,
  html .b18-app .b18-sp:nth-child(even) {
    min-height: 42px;
  }
  html .b18-app .b18-ball {
    width: 19px;
    height: 19px;
    font-size: 10px;
  }
  html .b18-app .b18-sp.triple .b18-ball {
    width: 17px;
    height: 17px;
    font-size: 9px;
  }
  .b18-section-label {
    font-size: 11px;
  }
  .b18-section-alt {
    font-size: 9px;
  }
  .b18-reference {
    margin-top: 18px;
    padding: 12px;
  }
  .b18-reference h2 {
    font-size: 15px;
  }
  body.bingo-page .site-footer {
    margin-top: 8px;
    padding-top: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.bingo-page *,
  body.bingo-page *::before,
  body.bingo-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Thiết kế mới của màn Bingo18 (chỉ giao diện/bố cục, giữ nguyên luồng đặt vé) ---------- */
.b18-page {
  padding: 15px 0 6px;
}
.b18-page-wrap {
  width: min(100% - 34px, 1600px);
}
.b18-app {
  font-family: var(--app-font);
}
.b18-cols {
  grid-template-columns: minmax(300px, 399fr) minmax(430px, 481fr) minmax(290px, 336fr);
  gap: 14px;
  align-items: stretch;
}
.b18-colL,
.b18-colR {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.b18-panel {
  border-radius: 14px;
  border: 1px solid rgba(74, 150, 116, 0.28);
  background: linear-gradient(160deg, #0d3a2c, #0a3125);
  box-shadow: none;
}
.b18-ic {
  width: 22px;
  height: 22px;
  flex: none;
}

/* Không gian quay số */
.b18-live-panel {
  padding: 8px 16px 14px;
}
.b18-live-head {
  gap: 12px;
  min-height: 62px;
  padding-bottom: 3px;
}
.b18-live-logo {
  width: 98px;
  height: 60px;
  margin-left: -2px;
}
.b18-live-logo .plw {
  width: 98px !important;
  height: 62px !important;
}
.b18-live-title strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
}
.b18-icon-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  color: #e6f3ea;
  background: transparent;
}
.b18-icon-btn svg {
  width: 21px;
  height: 21px;
}
.b18-draw-meta {
  grid-template-columns: auto auto 1fr;
  gap: 16px;
  padding: 10px 4px 2px;
}
.b18-draw-meta > div {
  gap: 6px;
}
.b18-draw-meta small {
  font-size: 12px;
  line-height: 1.2;
  color: #c3dbcd;
}
.b18-draw-meta strong {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.b18-open-status {
  align-self: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 13px;
  border-color: rgba(52, 210, 130, 0.26);
  color: #9ee8b9;
  background: rgba(34, 174, 102, 0.16);
  font-size: 12px;
  font-weight: 600;
}
.b18-open-status i {
  width: 10px;
  height: 10px;
}
.b18-countdown {
  justify-items: end;
}
.b18-countdown b {
  display: grid;
  place-items: center;
  min-width: 97px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(126, 190, 154, 0.4);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.b18-stage {
  height: 122px;
  overflow: visible;
  border-radius: 0;
  background: none;
}
.b18-stage::before,
.b18-stage::after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: 22px;
  width: 34%;
  height: 125%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(215, 255, 185, 0.42), rgba(190, 255, 170, 0.1) 60%, transparent 85%);
  filter: blur(9px);
}
.b18-stage::before {
  left: -9%;
  transform: skewX(34deg);
  transform-origin: bottom;
}
.b18-stage::after {
  right: -9%;
  transform: skewX(-34deg);
  transform-origin: bottom;
}
.b18-stage-glow {
  width: 86%;
  height: 120px;
  bottom: -4px;
  background: radial-gradient(
    ellipse at 50% 62%,
    rgba(170, 240, 150, 0.34),
    rgba(60, 180, 110, 0.14) 45%,
    transparent 72%
  );
  filter: blur(4px);
}
.b18-stage-balls {
  gap: 14px;
  margin: -12px 0 0;
}
.b18-dice-ball {
  width: 80px;
  height: 80px;
  border: 0;
  color: #12382a;
  background: radial-gradient(circle at 34% 26%, #ffffff 0 12%, #f3f6ec 40%, #cdd8c6 78%, #9fb3a2 100%);
  box-shadow:
    inset -7px -9px 14px rgba(40, 70, 50, 0.28),
    inset 5px 4px 9px rgba(255, 255, 255, 0.95),
    0 10px 20px rgba(0, 0, 0, 0.4);
  font: 800 44px/1 var(--app-font);
  text-shadow: none;
}
.b18-stage-base {
  left: 8%;
  right: 8%;
  bottom: 2px;
  height: 40px;
  border-radius: 50%;
  border-top: 0;
  background: radial-gradient(ellipse at 50% 30%, #3b7d59, #1d5038 52%, #0c2f22 100%);
  box-shadow:
    0 0 0 1px rgba(190, 240, 195, 0.3),
    0 -3px 18px rgba(170, 245, 175, 0.3),
    0 10px 16px rgba(0, 0, 0, 0.4);
}
.b18-last-result {
  position: relative;
  z-index: 4;
  gap: 4px;
  width: min(72%, 262px);
  margin: -12px auto 0;
  padding: 9px 12px 10px;
  border: 1px solid rgba(110, 180, 140, 0.3);
  border-radius: 14px;
  background: #0b3024;
  font-size: 13px;
}
.b18-last-result span {
  font-size: 13px;
  color: #c3dbcd;
}
.b18-last-result strong {
  font-size: 16px;
  font-weight: 700;
  color: #f3faf5;
}
.b18-last-result i {
  padding: 0 7px;
  color: #d5e8dc;
}
.b18-last-result b {
  color: #5fe08d;
}

/* Kết quả gần đây */
.b18-recent-panel {
  padding: 9px 16px 12px;
}
.b18-watch-panel {
  padding: 11px 10px 10px;
}
.b18-panel-head {
  margin-bottom: 9px;
}
.b18-panel-head h2 {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.b18-hist {
  gap: 9px;
  overflow: hidden;
  padding: 1px 0;
}
.b18-hist i,
.b18-hist i:nth-child(4n + 2),
.b18-hist i.sv {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  font-size: 15px;
  font-weight: 700;
  color: #eafff1;
  background: radial-gradient(circle at 35% 26%, #3f9c70, #16694a 52%, #0a4631 88%);
  border: 1px solid rgba(140, 220, 175, 0.5);
  box-shadow:
    inset 0 1px 4px rgba(255, 255, 255, 0.25),
    0 3px 7px rgba(0, 0, 0, 0.28);
}
.b18-hist i.lo {
  color: #163d2d;
  background: radial-gradient(circle at 35% 26%, #fff, #eef3ea 50%, #b6c7b9 92%);
  border-color: rgba(235, 255, 240, 0.9);
}
.b18-hist i.tie {
  color: #4a2f04;
  background: radial-gradient(circle at 35% 26%, #fff3c2, #f6c858 50%, #c98f22 92%);
  border-color: rgba(255, 229, 152, 0.8);
}

/* Vé đang theo dõi */
.b18-watch-panel .b18-panel-head {
  margin: 0 6px 9px;
}
.b18-ticket-glyph {
  width: 26px;
  height: 22px;
  margin-right: 9px;
  color: var(--b18-gold);
}
.b18-watch-row {
  gap: 12px;
  min-height: 57px;
  padding: 8px 10px;
  border-radius: 10px;
  border-color: rgba(110, 180, 140, 0.2);
  background: rgba(0, 0, 0, 0.14);
}
.b18-watch-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: var(--b18-gold);
  background: rgba(255, 215, 104, 0.1);
  border: 1px solid rgba(255, 215, 104, 0.25);
}
.b18-watch-icon svg {
  width: 22px;
  height: 22px;
}
.b18-watch-row > span:nth-child(2) {
  gap: 4px;
}
.b18-watch-row b {
  font-size: 13px;
  font-weight: 500;
  color: #dcebe2;
}
.b18-watch-row small {
  font-size: 13px;
  color: #eef8f1;
}
.b18-watch-row small em {
  color: var(--b18-gold);
  font-style: normal;
  font-weight: 600;
}
.b18-watch-status {
  flex: none;
  display: grid;
  place-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 8px;
  color: #b9cdc1;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  white-space: nowrap;
}
.b18-watch-row > i {
  font-size: 22px;
  line-height: 1;
  color: #c2d8cb;
}
.b18-watch-empty {
  margin: 2px 6px 4px;
  font-size: 12px;
}
.b18-side-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: auto;
  padding: 0 8px;
}
.b18-side-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eef8f1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.b18-side-links a:hover {
  color: var(--b18-gold);
}
.b18-side-links a + a {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(160, 215, 183, 0.3);
  height: 24px;
}
.b18-side-links img {
  width: 62px;
  height: 62px;
  margin-right: 9px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: radial-gradient(circle, #7a1424, #3a0812);
  border: 2px solid rgba(255, 215, 104, 0.55);
}
.b18-side-links svg {
  width: 24px;
  height: 24px;
}

/* Chọn dự thưởng */
.b18-colM.b18-panel {
  display: flex;
  flex-direction: column;
  padding: 10px 12px 9px;
}
.b18-center-head {
  margin: 0 0 9px;
  padding: 0;
}
.b18-center-head h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
.b18-app .b18-tabs {
  margin: 0 0 8px;
  padding: 0;
  gap: 0;
  border-radius: 9px;
  border: 1px solid rgba(74, 150, 116, 0.3);
  background: #0a2c22;
  overflow: hidden;
}
.b18-app .b18-tabs button {
  min-height: 35px;
  padding: 0 6px;
  border-radius: 8px;
  color: #d6e8dc;
  font-size: 14px;
  font-weight: 500;
}
.b18-app .b18-tabs button.active {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(180deg, #27b67a, #17935f);
  box-shadow: none;
}
.b18-bet-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
}
.b18-gh,
.b18-section-label {
  justify-content: flex-start;
  white-space: nowrap;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #f1f8f3;
}
.b18-section-label small,
.b18-section-alt {
  color: #d6e8dc;
  font-size: 13px;
  font-weight: 500;
}
.b18-info-dot {
  width: 17px;
  height: 17px;
  border-color: rgba(160, 215, 183, 0.55);
  color: #c3dbcd;
  font-size: 11px;
  font-weight: 600;
  cursor: help;
}
.b18-choices {
  gap: 8px;
  margin: 0 0 14px;
}
html .b18-app .b18-cell.choice,
html .b18-app .b18-cell.choice.tie {
  min-height: 80px;
  gap: 3px;
  border-radius: 9px;
  border: 1px solid rgba(92, 170, 128, 0.42);
  background: linear-gradient(160deg, #124a37, #0d3d2e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
html .b18-app .b18-cell.choice strong,
html .b18-app .b18-cell.choice.tie strong,
html .b18-app .b18-cell.choice.large strong {
  margin: 0;
  color: #fff !important;
  font: 800 23px/1.1 var(--app-font);
  letter-spacing: 0.5px;
}
html .b18-app .b18-cell.choice small {
  margin: 0;
  color: #f1f8f3;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}
html .b18-app .b18-cell.choice em {
  margin: 0;
  color: #b5d0c1;
  font-size: 12px;
  line-height: 1.2;
}
html .b18-app .b18-cell.choice:hover {
  border-color: #6dbb8f;
  background: #145240;
}
.b18-bet-section {
  margin-top: 0;
}
.b18-bet-section + .b18-bet-section {
  margin-top: 9px;
}
.b18-triple-wrap > div:last-child .b18-section-label {
  gap: 5px;
}
html .b18-app .b18-grid,
html .b18-app .b18-grid.full {
  gap: 6px;
}
html .b18-app .b18-cell.number,
html .b18-app .b18-grid.full .number {
  min-height: 57px;
  gap: 5px;
  border-radius: 8px;
  border: 1px solid rgba(86, 158, 120, 0.4);
  background: linear-gradient(160deg, #103f30, #0b3226);
  overflow: visible;
}
html .b18-app .b18-cell.number strong,
html .b18-app .b18-grid.full .number strong {
  font: 700 20px/1 var(--app-font);
}
html .b18-app .b18-cell.number em,
html .b18-app .b18-grid.full .number em {
  margin: 0;
  color: #b5d0c1;
  font-size: 12px;
  line-height: 1;
}
html .b18-app .b18-cell.chosen,
html .b18-app .b18-sp.chosen {
  outline: 0;
  border-color: #ffe9a2 !important;
  background: linear-gradient(160deg, #fff0ad, #f1c555) !important;
  box-shadow: 0 4px 14px rgba(255, 205, 76, 0.22) !important;
}
html .b18-app .b18-cell.chosen small {
  color: #4a380d !important;
}
html .b18-app .b18-sp.chosen strong {
  color: #332608;
}
html .b18-app .b18-cell,
html .b18-app .b18-sp {
  overflow: visible;
}
html .b18-app .b18-check {
  position: absolute;
  z-index: 2;
  top: -7px;
  right: -6px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #7a5a12;
  border: 1px solid #f3d27a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
html .b18-app .b18-check svg {
  width: 12px;
  height: 12px;
}
html .b18-app .b18-check svg path {
  stroke: #ffe9a2;
}
.b18-triple-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 95px;
  gap: 33px;
  margin-top: 8px !important;
  padding-top: 9px;
  border-top: 1px solid rgba(127, 193, 157, 0.16);
}
html .b18-app .b18-sprow,
html .b18-app .b18-sprow.pair-row,
html .b18-app .b18-sprow.single-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
html .b18-app .b18-sprow.any-row {
  grid-template-columns: minmax(0, 1fr);
}
html .b18-app .b18-sp,
html .b18-app .b18-sp:nth-child(even),
html .b18-app .b18-sp.pair,
html .b18-app .b18-sp.single {
  min-height: 37px;
  border-radius: 8px;
  border: 1px solid rgba(86, 158, 120, 0.4);
  background: linear-gradient(160deg, #103f30, #0b3226);
  color: #f1f8f3;
}
html .b18-app .b18-sp strong {
  font: 500 15px/1 var(--app-font);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
html .b18-app .b18-sp:hover {
  border-color: #6dbb8f;
  background: #145240;
}
.b18-rules-link {
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px 2px 6px;
  border-top: 0;
  color: #dcebe2;
  font-size: 13px;
  font-weight: 500;
}
.b18-rules-link svg {
  width: 17px;
  height: 17px;
}
.b18-rules-link b {
  margin-left: 2px;
  color: inherit;
  font-size: 20px;
  line-height: 0.8;
}

/* Vé của bạn */
.b18-slip-panel {
  padding: 18px 14px 14px;
}
.b18-slip-head {
  margin: 0 4px 21px;
}
.b18-slip-head h2 {
  font-size: 17px;
  font-weight: 700;
}
.b18-slip-head h2 i {
  min-width: 20px;
  height: 20px;
  margin-left: 10px;
  padding: 0 5px;
  font-size: 13px;
  font-weight: 700;
}
.b18-slip-head > span {
  color: #dcebe2;
  font-size: 13px;
}
.b18-ticket-list {
  gap: 7px;
  max-height: 150px;
}
.b18-ticket-row {
  gap: 6px;
  min-height: 44px;
  padding: 0 8px 0 0;
  border-color: rgba(110, 180, 140, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  cursor: default;
}
.b18-ticket-row.active {
  border-color: rgba(255, 215, 104, 0.7);
  background: rgba(255, 215, 104, 0.04);
}
.b18-ticket-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 6px 0 16px;
  color: #f1f8f3;
  background: transparent;
  text-align: left;
}
.b18-ticket-main b {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 17px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.b18-ticket-main small {
  color: #b5d0c1;
  font-size: 12px;
  white-space: nowrap;
}
.b18-ticket-main strong {
  color: var(--b18-gold);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.b18-ticket-x {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  margin-left: 8px;
  border-radius: 6px;
  color: #e6f3ea;
  background: rgba(255, 255, 255, 0.1);
  font-size: 20px;
  line-height: 1;
}
.b18-ticket-x:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}
.b18-ticket-empty {
  padding: 11px 10px;
}
.b18-ticket-empty p {
  font-size: 12px;
}
.b18-stake-title {
  margin: 22px 0 9px;
}
.b18-stake-title h3 {
  font-size: 14px;
  font-weight: 600;
}
.b18-stake-title small {
  font-size: 12px;
}
.b18-stake-stepper {
  grid-template-columns: 49px minmax(0, 1fr) 49px;
  gap: 7px;
}
.b18-stake-stepper button {
  height: 39px;
  border-color: rgba(114, 185, 142, 0.34);
  background: #0f4635;
  font-size: 26px;
  font-weight: 400;
}
.b18-stake-stepper strong {
  font-size: 17px;
  font-weight: 500;
}
.b18-quick-stakes {
  gap: 8px;
  margin-top: 11px;
}
.b18-quick-stakes button {
  min-height: 37px;
  border-radius: 8px;
  color: #e6f3ea;
  font-size: 14px;
  font-weight: 500;
}
.b18-quick-stakes button.active {
  font-weight: 600;
}
.b18-total {
  margin: 34px 0 6px;
  padding: 0 2px;
  border-top: 0;
}
.b18-total span {
  font-size: 17px;
  font-weight: 600;
  color: #f1f8f3;
}
.b18-total strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}
.b18-app .b18-btns {
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
}
.b18-app .b18-btns .b18-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 50px;
  border-radius: 9px;
  color: #33260a !important;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(180deg, #f7dd87, #e9bb4a) !important;
  box-shadow: 0 4px 14px rgba(229, 174, 52, 0.18);
}
.b18-app .b18-btns .b18-go .b18-ic {
  width: 30px;
  height: 30px;
}
.b18-app .b18-btns .b18-go .b18-ic path:last-child {
  stroke: #e9bb4a;
}
.b18-slip-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.b18-app .b18-slip-links button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: auto;
  margin: 0;
  padding: 3px 2px;
  color: #f1f8f3;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
}
.b18-app .b18-slip-links button:hover {
  color: var(--b18-gold);
}
.b18-slip-links svg {
  width: 20px;
  height: 20px;
}
.b18-select-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 15px 0 0;
  color: #c3dbcd;
  font-size: 13px;
}
.b18-select-note i {
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #0a3125;
  background: #c3dbcd;
  font: 700 11px/1 var(--app-font);
}
.b18-guide-link {
  gap: 14px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 12px;
  border-color: rgba(74, 150, 116, 0.28);
  background: linear-gradient(160deg, #0d3a2c, #0a3125);
  font-size: 16px;
  font-weight: 600;
}
.b18-guide-link span {
  display: grid;
  font-size: 0;
}
.b18-guide-link span svg {
  width: 26px;
  height: 26px;
}
.b18-guide-link b {
  display: grid;
  color: #e6f3ea;
}
.b18-guide-link b svg {
  width: 22px;
  height: 22px;
}
.b18-demo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: auto 4px 0;
  padding: 14px 0 6px;
  color: #b5d0c1;
  font-size: 12px;
  text-align: right;
}
.b18-demo a {
  color: inherit;
  text-decoration: none;
}
.b18-demo a:hover {
  color: var(--b18-gold);
}
.b18-demo i {
  width: 1px;
  height: 12px;
  background: rgba(160, 215, 183, 0.4);
}

@media (min-width: 1200px) {
  .b18-colL,
  .b18-colR {
    position: static;
  }
}
@media (max-width: 1199px) {
  .b18-cols {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
  }
  .b18-colL {
    position: static;
  }
  .b18-draw-meta {
    gap: 8px;
  }
  .b18-open-status {
    gap: 6px;
    padding: 0 8px;
    font-size: 11px;
  }
  .b18-countdown b {
    min-width: 84px;
    font-size: 22px;
  }
}
@media (max-width: 820px) {
  .b18-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .b18-side-links {
    margin-top: 0;
  }
  .b18-demo {
    justify-content: center;
  }
}
@media (max-width: 520px) {
  .b18-live-logo,
  .b18-live-logo .plw {
    width: 74px !important;
  }
  .b18-live-logo {
    height: 52px;
  }
  .b18-live-logo .plw {
    height: 46px !important;
  }
  .b18-live-title strong {
    font-size: 15px;
  }
  .b18-draw-meta {
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
    padding: 12px 0 8px;
  }
  .b18-open-status {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }
  .b18-countdown {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .b18-dice-ball {
    width: 66px;
    height: 66px;
    font-size: 36px;
  }
  .b18-stage {
    height: 108px;
  }
  .b18-hist {
    gap: 6px;
  }
  .b18-hist i,
  .b18-hist i:nth-child(4n + 2) {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .b18-colM.b18-panel {
    padding: 10px 8px 8px;
  }
  .b18-app .b18-tabs button {
    font-size: 13px;
  }
  html .b18-app .b18-cell.choice,
  html .b18-app .b18-cell.choice.tie {
    min-height: 72px;
  }
  html .b18-app .b18-cell.choice strong,
  html .b18-app .b18-cell.choice.tie strong,
  html .b18-app .b18-cell.choice.large strong {
    font-size: 19px;
  }
  html .b18-app .b18-cell.choice small {
    font-size: 13px;
  }
  html .b18-app .b18-grid,
  html .b18-app .b18-grid.full {
    gap: 4px;
  }
  html .b18-app .b18-cell.number,
  html .b18-app .b18-grid.full .number {
    min-height: 50px;
  }
  html .b18-app .b18-cell.number strong,
  html .b18-app .b18-grid.full .number strong {
    font-size: 16px;
  }
  html .b18-app .b18-cell.number em,
  html .b18-app .b18-grid.full .number em {
    font-size: 9px;
  }
  .b18-triple-wrap {
    gap: 10px;
    grid-template-columns: minmax(0, 6fr) minmax(0, 1.5fr);
  }
  .b18-triple-wrap > div:last-child .b18-info-dot {
    display: none;
  }
  html .b18-app .b18-sprow,
  html .b18-app .b18-sprow.pair-row,
  html .b18-app .b18-sprow.single-row {
    gap: 4px;
  }
  html .b18-app .b18-sp strong {
    font-size: 13px;
    letter-spacing: 0;
  }
  .b18-gh,
  .b18-section-label {
    font-size: 13px;
  }
  .b18-section-label small {
    font-size: 11px;
  }
  .b18-total {
    margin-top: 22px;
  }
}
