:root {
  --game-scale: 1;
  color: #323233;
  font-synthesis: none;
  background: #eff2fb;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Helvetica,
    "Segoe UI",
    Arial,
    Roboto,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@font-face {
  font-family: DINAlternate;
  src: url(/play/assets/DINAlternate-Bold.woff2) format("woff2");
  font-display: block;
}
@font-face {
  font-family: LcdD;
  src: url(/play/assets/LcdD.woff2) format("woff2");
  font-display: block;
}
@keyframes packet-sprite-cycle {
  0%,
  60% {
    background-position: center 0;
  }
  60.01%,
  70% {
    background-position: center -85.4px;
  }
  70.01%,
  85% {
    background-position: center -170.8px;
  }
  85.01%,
  99.99% {
    background-position: center -256.2px;
  }
  100% {
    background-position: center 0;
  }
}
* {
  box-sizing: border-box;
}
html,
body {
  background: #eff2fb;
  width: 390px;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}
body {
  transform-origin: 0 0;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  background: 0 0;
  border: 0;
  touch-action: manipulation;
}
button:focus-visible,
input:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #4f7ee8;
}
.composer button:focus-visible,
.composer input:focus-visible {
  outline: 0;
}
#app {
  width: 390px;
  min-height: 100vh;
  min-height: 100dvh;
}
.game-shell,
.route-page,
.lobby {
  background: #f1f3ff;
  width: 390px;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}
.game-header {
  z-index: 4;
  background: #fefefe;
  border-bottom: 2px solid #f0f1fa;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  height: 50px;
  display: grid;
  position: relative;
}
.game-header h1 {
  text-align: center;
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  transform: translateY(-1px);
}
.game-header button {
  text-align: center;
  height: 50px;
  font-size: 0;
  transform: translateX(2px);
}
.game-header button:before {
  content: "\ea64";
  font-family: remixicon;
  font-size: 24px;
}
.draw-panel {
  color: #fff;
  background: #5676df url(/play/assets/header-bg.png) 50% / cover no-repeat;
  height: 160px;
  padding: 13px 16px 8px;
  position: relative;
}
.draw-panel:before {
  content: "";
  background: rgb(238 127 120 / 5.6%);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sandbox-draw-label {
  z-index: 2;
  position: absolute;
  top: 2px;
  right: 8px;
  padding: 2px 7px;
  border: 1px solid rgb(255 225 140 / 80%);
  border-radius: 9px;
  color: #774b00;
  background: rgb(255 241 183 / 94%);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.2;
}
.draw-top {
  grid-template-columns: 1fr 1.22fr 1.03fr;
  align-items: center;
  height: 36px;
  font-size: 12px;
  font-weight: 300;
  display: grid;
  position: relative;
  transform: translateY(-3px);
}
.draw-top > span,
.issue,
.last-draw > span,
.balance {
  opacity: 0.9;
}
.issue {
  text-align: center;
  font-family: DINAlternate, sans-serif;
  width: 108px;
  position: absolute;
  left: 150px;
  transform: translateX(-1px);
}
.issue b {
  font-size: 11px;
  font-weight: 500;
  display: block;
}
.issue small {
  margin-top: 4px;
  font-size: 10px;
  display: block;
}
.flip {
  justify-content: flex-end;
  gap: 8px;
  display: flex;
  position: absolute;
  right: 4px;
}
.flip b {
  color: #202020;
  background: #f8f8f8;
  border-radius: 6px;
  place-items: center;
  width: 29px;
  height: 29px;
  font:
    italic 700 14px/1.1 Arial Narrow,
    sans-serif;
  display: grid;
  box-shadow:
    inset 0 0 2px #aeb6c8,
    0 1px 3px #32499f88;
}
.phase-status {
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid #d6e0ea;
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 100px;
  height: 32px;
  padding: 0 12px;
  display: flex;
  box-shadow: 0 1px 4px rgba(45,80,140,.10);
}
.phase-status svg {
  fill: currentColor;
  width: 18px;
  height: 18px;
  animation: round-status-spin 0.85s linear infinite;
}
.phase-status strong {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.official-source-status{min-width:82px;color:#ffffff;background:#5B9EFF;border-color:#f5df9d}.official-source-status strong{font-size:12px}
@keyframes round-status-spin {
  to { transform: rotate(360deg); }
}
.last-draw {
  background: url(/play/assets/open-bg.png) 50%/100% 100% no-repeat;
  align-items: center;
  gap: 25px;
  height: 56px;
  margin: 7px 0 5px;
  padding: 6px 16px 6px 26px;
  display: flex;
}
@keyframes result-reel {
  from { transform:translateY(0); }
  to { transform:translateY(calc(-100% + var(--roll-cell))); }
}
.roll-track{display:block;width:100%;height:100%}
.roll-track i{display:none;width:100%;height:var(--roll-cell);place-items:center;font:inherit;font-style:normal;line-height:var(--roll-cell)}
.roll-track i:first-child{display:grid}
.last-draw.is-rolling .roll-track{height:auto;animation:result-reel .9s linear infinite;will-change:transform}
.last-draw.is-rolling .roll-track i{display:grid}
.last-draw.is-rolling :is(.equation b,.mark-six-result b,.pk10-result b):nth-of-type(2n) .roll-track{animation-delay:-.3s}
.last-draw.is-rolling :is(.equation b,.mark-six-result b,.pk10-result b):nth-of-type(3n) .roll-track{animation-delay:-.6s}
.last-draw > span {
  text-align: center;
  width: 76px;
  font-size: 13px;
  font-family: DINAlternate, sans-serif;
  transform: translate(-1.5px, -4px);
}
.equation {
  align-items: center;
  gap: 3px;
  transform: translate(1px, -4px);
  display: flex;
}
.equation b {
  --roll-cell:36.4px;
  color: #fff;
  background: #242424;
  border: 2px solid #b9a978;
  border-radius: 4.16px;
  place-items: center;
  width: 36.4px;
  height: 36.4px;
  font-family: DINAlternate, sans-serif;
  font-size: 29.12px;
  line-height: 36.4px;
  display: grid;
  overflow:hidden;
}
.equation b:nth-of-type(1),
.equation b:nth-of-type(2) {
  transform: translate(-1px, 1px);
}
.equation b:nth-of-type(3) {
  transform: translateY(1px);
}
.equation b:nth-of-type(4) {
  transform: translate(1px, 1px);
}
.equation em {
  font-size: 19px;
  font-style: normal;
}
.mark-six-result{display:flex;align-items:center;gap:4px;transform:translate(-8px,-4px)}
.mark-six-result b{--roll-cell:27px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;overflow:hidden;color:#fff;font:700 13px/1 DINAlternate,sans-serif;box-shadow:inset 0 -3px 5px #0004,0 1px 2px #0006}
.mark-six-result b.red{background:#cf3d37}.mark-six-result b.blue{background:#3578bd}.mark-six-result b.green{background:#35955c}.mark-six-result b.extra{outline:2px solid #5B9EFF;outline-offset:2px;margin-left:3px}.mark-six-result em{font-style:normal;color:#5B9EFF;font-weight:700}
.game-shell[data-room="hongkong49"] .last-draw{gap:12px;padding-left:14px}
.game-shell[data-room="hongkong49"] .last-draw>span{width:70px}
.composer.display-only input:disabled{opacity:1;color:#c7b06d}.composer.display-only button:disabled{opacity:.72;cursor:not-allowed}
.mark-six-unavailable{width:100%;padding:11px 8px;color:#5B9EFF;font-size:13px;text-align:center;background:#fff7dc;border:1px solid #efd787;border-radius:8px}
.pk10-result{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;width:238px;transform:translate(-8px,-2px)}
.pk10-result b{--roll-cell:20px;position:relative;height:20px;overflow:hidden;border:1px solid #5B9EFF;border-radius:3px;background:#ffffff;color:#535d76;font:700 11px/20px DINAlternate,sans-serif;text-align:center}
.pk10-result b>small{position:absolute;z-index:2;left:1px;top:1px;width:8px;height:8px;border-radius:2px;background:#5B9EFF;color:#ffffff;font:700 6px/8px sans-serif}
.trend-pk10-balls{display:grid;grid-template-columns:repeat(5,minmax(35px,1fr));gap:5px}.trend-pk10-balls span{display:flex;align-items:center;gap:3px}.trend-pk10-balls small{color:#5B9EFF}.trend-pk10-balls b{display:grid;place-items:center;width:24px;height:24px;border-radius:4px;background:#ffffff;color:#5B9EFF;border:1px solid #5B9EFF}
.wallet-row {
  grid-template-columns: 41px 122px 1fr;
  align-items: center;
  height: 39px;
  display: grid;
  transform: translateY(-1px);
}
.member {
  width: 36px;
  height: 36px;
  position: relative;
  transform: translate(-2px, -1px);
  filter: saturate(0.6);
}
.member > img:first-child {
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(45,80,140,.25);
  width: 36px;
  height: 36px;
}
.member .vip {
  object-fit: contain;
  width: 21px;
  height: 21px;
  position: absolute;
  bottom: -2px;
  right: -9px;
}
.member .vip-text{position:absolute;right:-2px;bottom:-2px;padding:1px 4px;border-radius:7px;background:#555e78;color:#ffdb45;font-size:7px;font-weight:700;line-height:1.4}
.balance {
  padding-left: 2px;
  font-size: 10px;
  font-family: DINAlternate, sans-serif;
  line-height: 1.4;
  transform: translate(1px, -1px);
}
.balance small {
  display: block;
}
.wallet-row nav {
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  display: grid;
  transform: translateY(-2px);
}
.wallet-row nav button {
  color: #333;
  background: #f4f5fbdd;
  border-radius: 4px;
  height: 26px;
  font-size: 12px;
  font-weight: 200;
}
.chat-stream {
  scroll-behavior: smooth;
  background: #f1f3ff;
  padding: 12px 16px 24px;
  position: absolute;
  inset: 210px 0 103px;
  overflow-y: auto;
}
.chat-message {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12.48px;
  margin-bottom: 15.6px;
  display: grid;
}
.chat-avatar {
  object-fit: cover;
  border-radius: 6px;
  width: 47px;
  height: 47px;
}
.chat-avatar.brand-chat-avatar {
  object-fit: cover;
  object-position: center;
  background: #0d4ab2;
  border: 0;
  padding: 0;
  filter: none;
}
.chat-body {
  min-width: 0;
}
.chat-meta {
  color: #a5a5a5;
  height: 20.8px;
  font-size: 12.48px;
  line-height: 20.8px;
  padding-left: 4px;
}
.chat-meta time {
  margin-left: 8px;
  font-size: 9px;
}
.bubble {
  color: #646974;
  word-break: break-word;
  background: #fff;
  border-radius: 6.24px;
  max-width: 242px;
  padding: 13.52px 15.6px;
  font-size: 16.64px;
  font-weight: 100;
  line-height: 20.8px;
  display: inline-block;
  position: relative;
}
.game-shell[data-room="australia28"] .bubble {
  font-weight: 400;
}
.game-shell[data-room="europe28"] .bubble {
  color: #5a606b;
  font-weight: 400;
}
.system .bubble,
.notice .bubble {
  width: 241px;
}
.bubble:before {
  content: "";
  border: 5px solid #0000;
  border-right-color: #fff;
  position: absolute;
  top: 10px;
  left: -8px;
}
.bubble b {
  color: #59616f;
  font-weight: 500;
}
.notice .bubble {
  background: #fff;
  width: 241px;
}
.packet .bubble {
  color: #fff;
  cursor: pointer;
  background: #f5c382;
  min-width: 225px;
  padding-left: 59px;
}
.packet .bubble:before {
  border-right-color: #f5c382;
}
.packet .bubble:after {
  content: "";
  background: url(/play/assets/red-packet.png) top/36px no-repeat;
  width: 36px;
  height: 43px;
  position: absolute;
  top: 9px;
  left: 12px;
}
.packet .bubble small {
  opacity: 0.82;
}
.is-user {
  grid-template-columns: minmax(0, 1fr) 48px;
}
.is-user .chat-avatar {
  grid-column: 2;
}
.is-user .chat-body {
  text-align: right;
  grid-area: 1/1;
}
.is-user .bubble {
  color: #27372b;
  text-align: left;
  background: #98e168;
}
.is-user .bubble:before {
  border-left-color: #98e168;
  border-right-color: #0000;
  left: auto;
  right: -8px;
}
.is-user .chat-meta {
  text-align: right;
}
.error .bubble {
  color: #d04d51;
  background: #fff5f5;
  border: 1px solid #f0c9ca;
}
.error .bubble:before {
  border-right-color: #f0c9ca;
}
.receipt .bubble {
  color: #347653;
  background: #f3fff7;
  border: 1px solid #bde3cb;
}
.receipt .bubble:before {
  border-right-color: #bde3cb;
}
.new-message {
  color: #557fe4;
  background: #fff;
  border-radius: 18px;
  padding: 6px 14px;
  position: sticky;
  bottom: 4px;
  left: 50%;
  transform: translate(-50%);
  box-shadow: 0 2px 9px #48557333;
}
.action-bar {
  z-index: 10;
  background: #f7f8fd;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 14px;
  width: 390px;
  height: 49px;
  padding: 6px 8px;
  display: grid;
  position: fixed;
  bottom: 54px;
  left: 0;
}
.action-bar button {
  white-space: nowrap;
  background: #fff;
  border: 1px solid #e8e9ed;
  border-radius: 20px;
  justify-self: start;
  width: calc(100% - 2px);
  height: 34px;
  font-size: 12px;
  font-weight: 400;
  transform: translateY(-2px);
}
.action-bar i {
  vertical-align: -2px;
  border: 2px solid #333;
  border-radius: 50%;
  width: 13px;
  height: 13px;
  margin-right: 4px;
  display: inline-block;
}
.icon-trend {
  border-left-color: #0000 !important;
}
.icon-rules {
  border-radius: 2px !important;
}
.icon-service {
  border-bottom-color: #0000 !important;
}
.composer {
  z-index: 11;
  background: #f7f8fd;
  border-top: 0;
  grid-template-columns: 47px 1fr 58px;
  align-items: center;
  gap: 7px;
  width: 390px;
  height: 54px;
  padding: 5px 9px;
  display: grid;
  position: fixed;
  bottom: 0;
  left: 0;
}
.composer .quick {
  color: #6192ed;
  background: #eef4ff;
  border: 1px solid #90acec;
  border-radius: 5px;
  height: 43px;
  font-size: 13px;
}
.composer input {
  background: #fff;
  border: 0;
  border-radius: 6px;
  min-width: 0;
  height: 43px;
  padding: 0 10px;
  font-size: 13px;
}
.composer input::placeholder {
  color: #c7c8cd;
}
.composer .send {
  color: #fff;
  background: #58be6b;
  border-radius: 4px;
  height: 37px;
  font-size: 13px;
}
.keyboard {
  height: 38px;
  padding: 3px;
}
.keyboard img {
  width: 32px;
  height: 32px;
}
.number-pad {
  z-index: 12;
  background: #cbd0d8;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 390px;
  padding: 5px;
  display: grid;
  position: fixed;
  bottom: 54px;
  left: 0;
}
.number-pad button {
  background: #fff;
  border-radius: 3px;
  height: 42px;
  font-size: 17px;
}
.quick-sheet,.amount-sheet,[data-quick] { touch-action:manipulation; }
.overlay {
  z-index: 50;
  background: #000000b3;
  align-items: flex-end;
  width: 390px;
  display: flex;
  position: fixed;
  inset: 0;
}
.quick-sheet {
  background: #fff;
  border-radius: 0;
  flex-direction: column;
  width: 390px;
  height: 591px;
  max-height: 70vh;
  display: flex;
  overflow: hidden;
}
.desktop-scale .quick-sheet {
  height: calc(100vh / var(--game-scale));
  max-height: calc(100vh / var(--game-scale));
}
.desktop-scale .quick-sheet header,
.desktop-scale .quick-sheet footer {
  min-height: 50px;
}
.desktop-scale .quick-sheet nav {
  height: 38px;
}
.desktop-scale .choice-grid button {
  min-height: 40px;
}
.quick-sheet header {
  border-bottom: 0;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 55px;
  display: grid;
}
.quick-sheet h2 {
  text-align: center;
  grid-column: 2;
  margin: 0;
  color: #52545a;
  font-size: 16px;
  font-weight: 400;
}
.quick-sheet header button {
  color: #bbbcc2;
  grid-column: 3;
  font-size: 30px;
  font-weight: 200;
}
.quick-sheet nav {
  grid-template-columns: repeat(5, 1fr);
  height: 42px;
  padding: 0 14px;
  display: grid;
}
.quick-sheet nav button {
  color: #5f6066;
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: 14px;
  position: relative;
}
.quick-sheet nav button.active {
  color: #46484e;
  background: transparent;
}
.quick-sheet nav button.active::after {
  content: "";
  background: #f0a900;
  border-radius: 2px;
  width: 40px;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.choice-grid {
  align-content: start;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  flex: 1;
  padding: 11px 24px 10px;
  display: grid;
  overflow-y: auto;
}
.choice-grid.choice-grid--tema {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 8px;
}
.choice-grid button {
  background: #fff;
  border: 1px solid #ead8ac;
  border-radius: 2px;
  min-height: 47px;
  font-size: 16px;
}
.choice-grid button b,
.choice-grid button small {
  display: block;
}
.choice-grid button small {
  color: #e8b70b;
  margin-top: 0;
  font-size: 13px;
}
.choice-grid button.selected {
  background: #fffaf0;
  border-color: #e6b93b;
  box-shadow: inset 0 0 0 1px #e6b93b;
}
.quick-sheet footer {
  border-top: 1px solid #eee;
  justify-content: space-between;
  align-items: center;
  min-height: 55px;
  padding: 5px 17px;
  display: flex;
}
.quick-sheet footer span {
  font-size: 15px;
}
.quick-sheet footer span b {
  color: #e5363d;
  margin: 0 4px;
  font-size: 18px;
  font-weight: 500;
}
.quick-sheet footer > button {
  color: #fff;
  background: #ef3f42;
  border-radius: 23px;
  width: 114px;
  height: 42px;
}
.quick-sheet footer > button:disabled {
  opacity: 1;
}
.amount-sheet,
.info-sheet {
  background: #fff;
  border-radius: 12px;
  width: 348px;
  margin: auto auto 95px;
  padding: 18px;
}
.amount-sheet h2,
.info-sheet h2 {
  text-align: center;
  margin: 0 0 12px;
  font-size: 18px;
}
.amount-sheet p,
.info-sheet p {
  color: #687189;
  line-height: 1.6;
}
.amount-sheet input {
  border: 1px solid #dfe2ea;
  border-radius: 5px;
  width: 100%;
  height: 43px;
  padding: 0 10px;
}
.amount-sheet > div {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 12px 0;
  display: grid;
}
.amount-sheet > div button {
  border: 1px solid #e0e3ea;
  border-radius: 4px;
  height: 34px;
}
.amount-sheet > button,
.info-sheet > button {
  color: #fff;
  background: #f4af00;
  border-radius: 5px;
  width: 100%;
  height: 40px;
}
.lobby > header {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 60px;
  display: grid;
}
.lobby h1 {
  color: #4c576e;
  margin: 0;
  font-size: 21px;
  font-weight: 500;
}
.lobby-grid {
  grid-template-columns: 1fr;
  gap: 14px;
  display: grid;
}
.game-card {
  background: #fff var(--card) center/cover no-repeat;
  border-radius: 12px;
  height: 130px;
  padding: 23px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px #74809d22;
}
.game-card h2,
.game-card p {
  color: #4e596f;
  margin: 0;
  position: relative;
}
.game-card h2 {
  font-size: 20px;
}
.game-card button {
  color: #fff;
  background: #f20b2b;
  border-radius: 22px;
  margin-top: 13px;
  padding: 8px 18px;
  font-size: 14px;
  position: relative;
}
.route-page > section {
  padding: 14px;
}
.route-page h2 {
  text-align: center;
  font-size: 18px;
}
.route-page article {
  background: #fff;
  border-bottom: 1px solid #edf0f5;
  grid-template-columns: 1.2fr 1fr 0.7fr 0.7fr;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  font-size: 11px;
  display: grid;
}
.route-page article em {
  color: #f05a64;
  font-style: normal;
}
.route-page article small {
  text-align: right;
  color: #5da77d;
}
.empty-record {
  text-align: center;
  color: #81899a;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 20px;
}
.empty-record p {
  margin: 5px 0;
  font-size: 11px;
}
#toast {
  z-index: 100;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  background: #222d;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 13px;
  transition: all 0.2s;
  position: fixed;
  top: 43vh;
  left: 195px;
  transform: translate(-50%, -8px);
}
#toast.show {
  opacity: 1;
  transform: translate(-50%);
}
@media (width>=520px) {
  .lobby-grid {
    grid-template-columns: 1fr 1fr;
  }
  .game-card {
    height: 105px;
    padding: 16px;
  }
  .game-card h2 {
    font-size: 16px;
  }
  .game-card p {
    font-size: 12px;
  }
  .game-card button {
    margin-top: 7px;
    padding: 6px 12px;
  }
}
.ball-row {
  align-items: center;
  gap: 3px;
  min-width: 0;
  display: flex;
}
.ball-row .ball {
  background: #ef5962;
  border: 1px solid #fff;
  border-radius: 50%;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 9px;
  display: grid;
}
.ball-row .c1 {
  background: #3e91d2;
}
.ball-row .c2 {
  background: #3daf73;
}
.ball-row em {
  font-style: normal;
}
.rank-row {
  grid-template-columns: repeat(5, 21px);
  gap: 3px;
  display: grid;
}
.rank {
  background: #6d7f9e;
  border: 1px solid #fff;
  border-radius: 2px;
  place-items: center;
  height: 21px;
  font-size: 8px;
  display: grid;
}
.rank.r1 {
  color: #333;
  background: #f1c12f;
}
.rank.r2 {
  background: #45a0ca;
}
.rank.r3 {
  background: #454545;
}
.rank.r4 {
  background: #ed7a32;
}
.rank.r5 {
  background: #62b6b1;
}
.rank.r6 {
  background: #7351ad;
}
.rank.r8 {
  background: #e45055;
}
.rank.r10 {
  background: #4ba257;
}
.lobby {
  background: #fff8cf;
  padding: 10px 24px 28px;
}
.lobby > header {
  height: 58px;
}
.lobby h1 {
  font-size: 20px;
}
.lobby-section {
  margin-bottom: 18px;
}
.lobby-section > h2 {
  text-align: center;
  color: #4d5870;
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
}
.lobby-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.game-card {
  border-radius: 9px;
  height: 105px;
  padding: 14px 10px;
}
.game-card h3,
.game-card p {
  color: #4e596f;
  margin: 0;
  position: relative;
}
.game-card h3 {
  font-size: 15px;
}
.game-card p {
  margin-top: 4px;
  font-size: 11px;
}
.game-card button {
  margin-top: 10px;
  padding: 6px 11px;
  font-size: 11px;
}
.packet-float {
  z-index: 9;
  width: 92px;
  height: 116px;
  position: fixed;
  top: 478px;
  right: 15px;
}
.packet-close {
  z-index: 2;
  position: absolute;
  top: 2px;
  left: -20px;
  width: 24px;
  height: 24px;
  padding: 0;
}
.packet-close:before {
  content: "\eb97";
  color: #7c8290;
  font-family: remixicon;
  font-size: 17px;
  line-height: 17px;
}
.packet-body {
  width: 92px;
  height: 116px;
  padding: 0;
}
.packet-body > span {
  background: url(/play/assets/red-packet.png) top/123px no-repeat;
  width: 92px;
  height: 95px;
  margin: auto;
  display: block;
  filter: saturate(0.8) brightness(1.02);
}
.packet-float time {
  color: #ed3131;
  background: linear-gradient(#ffe986, #ffd434);
  border: 1px solid #fff;
  border-radius: 18px;
  width: 74px;
  height: 22px;
  margin: -8px auto 0;
  font-size: 11px;
  line-height: 20px;
  display: block;
  box-shadow: 0 2px 6px #6664;
}
.desktop-scale .packet-float {
  z-index: 12;
  top: 59px;
  right: 14.25px;
  pointer-events: auto;
}
.desktop-scale .draw-panel > * {
  translate: 0.5px -1px;
}
.desktop-scale .packet-body > span {
  background-size: 123.25px;
  filter: saturate(0.78) brightness(1.04) hue-rotate(2deg) blur(0.3px);
}
.desktop-scale .draw-top {
  font-weight: 200;
  translate: 0.25px 0.25px;
}
.desktop-scale .last-draw {
  translate: 0.5px -1.75px;
}
.desktop-scale .flip {
  gap: 8px;
}
.desktop-scale .flip b {
  width: 29px;
  height: 28px;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: inset 0 0 2px #aeb6c8, 0 1px 4px #32499f88;
}
.desktop-scale .action-bar {
  height: 48px;
  gap: 17.5px;
  padding: 6px 9px;
}
.desktop-scale .action-bar button {
  justify-self: stretch;
  width: 100%;
  height: 34px;
  border-color: #f0f0f0;
  font-weight: 100;
  transform: translateY(-1px);
}
.desktop-scale .composer {
  bottom: 3px;
}
.desktop-scale .composer .quick {
  color: #7196df;
  background: #e5ebf8;
  border-color: #eaf0fc;
  width: 44px;
  height: 44px;
  margin-left: 3.5px;
}
.desktop-scale .composer input {
  width: calc(100% - 10px);
  height: 44px;
  margin-left: 5px;
}
.desktop-scale .composer .send {
  height: 35px;
  transform: translateX(0.75px);
}
.desktop-scale .last-draw > span {
  transform: translate(-1.5px, -0.5px);
}
.desktop-scale .equation {
  transform: translate(0.5px, -3.5px);
}
.desktop-scale .game-shell:is([data-room="australia28"], [data-room="europe28"]) .draw-top {
  font-weight: 100;
}
.desktop-scale .game-shell:is([data-room="australia28"], [data-room="europe28"]) :is(.draw-top > span, .issue, .last-draw > span, .balance) {
  opacity: 0.95;
}
.desktop-scale .game-shell:is([data-room="australia28"], [data-room="europe28"]) .last-draw > span {
  font-size: 13.5px;
}
.desktop-scale .game-shell:is([data-room="australia28"], [data-room="europe28"]) .issue small {
  font-size: 9px;
}
.desktop-scale .game-shell:is([data-room="australia28"], [data-room="europe28"]) .equation b {
  font-size: 28px;
}
.desktop-scale .game-shell:is([data-room="australia28"], [data-room="europe28"]) .flip b {
  font-size: 13px;
}
@font-face {
  font-family: remixicon;
  src: url(/play/assets/remixicon.woff2) format("woff2");
  font-display: block;
}
.action-bar i {
  font-family: remixicon;
  font-size: 15px;
  font-style: normal;
  border: 0 !important;
  border-radius: 0 !important;
}
.ri-dvd-line:before {
  content: "";
}
.ri-pie-chart-line:before {
  content: "";
}
.ri-bill-line:before {
  content: "";
}
.ri-customer-service-line:before {
  content: "";
}
@media (width<=600px) {
  .game-shell[data-room="australia28"] .draw-top > span,
  .game-shell[data-room="australia28"] .issue,
  .game-shell[data-room="australia28"] .last-draw > span,
  .game-shell[data-room="australia28"] .balance {
    opacity: 1;
  }
  .game-shell[data-room="europe28"] .draw-top > span,
  .game-shell[data-room="europe28"] .issue,
  .game-shell[data-room="europe28"] .last-draw > span,
  .game-shell[data-room="europe28"] .balance {
    opacity: 1;
  }
  .game-shell[data-room="australia28"] .game-header h1 {
    font-size: 16.76px;
    font-weight: 500;
  }
  .game-shell[data-room="europe28"] .game-header h1 {
    font-size: 16.74px;
    font-weight: 500;
  }
  .game-shell[data-room="australia28"] .flip b,
  .game-shell[data-room="europe28"] .flip b {
    background: #f6f6f6;
    font-size: 13px;
  }
  .game-shell[data-room="australia28"] .packet-body > span {
    background-size: 122px;
  }
  .game-shell[data-room="australia28"] .composer .quick {
    border-color: #ecf4fc;
  }
  .chat-stream {
    top: 210px;
  }
  .composer {
    grid-template-columns: 47px 1fr 58px 44px;
  }
  .composer .quick {
    width: 44px;
    margin-left: 3px;
    border-color: #d8e0e8;
  }
  .composer input {
    width: calc(100% - 5px);
    margin-left: 4px;
  }
  .composer .send {
    width: 56px;
    margin-left: 7px;
    height: 34px;
    min-height: 34px;
    align-self: start;
    transform: translateY(2px);
  }
  .composer .quick,
  .composer input {
    height: 46px;
    min-height: 46px;
    transform: translateY(-3px);
  }
  .keyboard {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 5px;
  }
}

/* Dingxin International light-blue room theme. */

:root{background:#f0f5ff;color:#32343a}
html,body{background:#f0f5ff}
.game-shell,.route-page,.lobby{background:#f0f5ff;color:#535d76}
.game-header{background:#ffffff;border-color:#e4eaf5;color:#535d76}
.draw-panel{background:#ffffff linear-gradient(180deg,#A3CFFC 0%,#EAF4FF 55%,#ffffff 100%);filter:none;border-bottom:1px solid #d6e6ff}
.sandbox-draw-label{background:#e8f2ff!important;color:#3D7FE0!important;border-color:#b7d4ff!important}
.last-draw{background:rgba(91,158,255,.08)}
.equation b{background:#ffffff!important;border-color:#5B9EFF!important;color:#32343a!important}
.flip b{background:#ffffff!important;color:#32343a!important}
.wallet-row nav button{background:#5B9EFF!important;color:#fff!important}
.chat-stream{background:#f0f5ff}
.chat-meta{color:#8a8f9c}.bubble{background:#ffffff!important;color:#535d76!important;border-color:#e4eaf5!important}.bubble:before{border-right-color:#ffffff!important}.is-user .bubble{background:#5B9EFF!important;color:#fff!important}.is-user .bubble:before{border-left-color:#5B9EFF!important}
.action-bar,.composer{background:#ffffff!important;border-color:#e4eaf5!important}.action-bar button{background:#eef5ff!important;border-color:#b7d4ff!important;color:#3D7FE0!important}.composer input{background:#f7f9fc!important;border-color:#d6e6ff!important;color:#32343a!important}.composer .send,.composer .quick{background:#5B9EFF!important;border-color:#5B9EFF!important;color:#fff!important}
.last-draw > span { color: #1d3f8f !important; font-weight: 700; }
.last-draw .equation, .last-draw b { color: #16295e !important; }
.last-draw .equation b { background: #ffffff !important; border: 1.5px solid #5B9EFF !important; box-shadow: 0 1px 3px rgba(45,80,140,.18); }
.chat-avatar, .service-chat-header > img, .service-brand-avatar { border-radius: 50% !important; border: 2px solid #fff !important; box-shadow: 0 1px 4px rgba(45,80,140,.25) !important; object-fit: cover !important; }
.packet-float{filter:saturate(.9)}
.quick-sheet,.info-sheet{background:#ffffff!important;color:#535d76!important}.quick-sheet header,.quick-sheet nav,.quick-sheet footer{border-color:#e4eaf5!important}.quick-sheet nav button.active,.choice-grid button.selected{color:#5B9EFF!important;border-color:#5B9EFF!important}.choice-grid button{background:#f7f9fc!important;border-color:#d6e6ff!important;color:#535d76!important}.quick-sheet footer>button{background:#5B9EFF!important;color:#fff!important}

/* Target-backed mobile room baseline shared by default, input, and quick states. */
@media (width<=600px) {
  .last-draw {
    translate: 0 -2px;
  }
  .last-draw > span,
  .last-draw .equation {
    translate: 0 2px;
  }
  .draw-top > span {
    translate: 2px 0;
  }
  .issue {
    translate: none;
  }
  .flip {
    translate: 1px 0;
  }
  .balance {
    translate: 2px 0;
  }
  .draw-panel:before {
    background: rgb(238 127 120 / 6.2%);
  }
  .chat-stream {
    background: #f1f3ff;
    padding-bottom: 0;
  }
  .system .bubble,
  .notice .bubble {
    background: #fdfdfd;
  }
  .system .bubble:before,
  .notice .bubble:before {
    border-right-color: #fdfdfd;
  }
  .notice .bubble {
    color: rgb(76 81 92);
    font-size: 16.55px;
    font-weight: 200;
    letter-spacing: 0.05px;
    line-height: 20.8px;
  }
  .system .bubble {
    color: rgb(76 81 92);
    font-weight: 100;
  }
  .system .bubble-copy {
    text-shadow: 0 0 0.85px currentcolor;
  }
  .notice .bubble-copy {
    display: inline-block;
    transform: translateX(-0.1px);
    -webkit-text-stroke: 0.2px currentcolor;
    text-shadow: 0 0 0.85px currentcolor;
  }
  .draw-top > span,
  .issue {
    filter: none;
  }
  .equation {
    filter: none;
  }
  .draw-top {
    font-weight: 500;
  }
  .draw-top > span,
  .issue,
  .last-draw > span,
  .balance {
    opacity: 1;
  }
  .issue b,
  .last-draw > span {
    font-weight: 700;
  }
  .issue small,
  .balance {
    font-weight: 500;
  }
  .last-draw > span {
    transform: translate(-2px, -4px);
  }
  .equation,
  .equation b,
  .wallet-row,
  .wallet-row button {
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }
  .equation b {
    border-color: #5B9EFF;
  }
  .chat-avatar {
    filter: saturate(0.8) brightness(1);
  }
  .wallet-row {
    filter: none;
  }
  .action-bar button {
    background: #f8f8f8;
    width: calc(100% - 2.5px);
    translate: 1px 0;
  }
  .composer {
    background: rgb(245 246 251);
  }
  .composer .quick {
    translate: 0 -1.5px;
  }
  .composer input {
    background: #f9f9f9;
    translate: 0 -0.75px;
  }
  .composer .send {
    background: rgb(92 194 111);
  }
  .keyboard img {
    translate: 1.5px -3px;
  }
  .packet-body > span {
    background-size: 118.5px;
    filter: saturate(0.8) brightness(1.04) blur(0.5px);
    animation: packet-sprite-cycle 1.2s steps(1, end) infinite;
  }
  .flip {
    right: 0;
    gap: 0;
    translate: 0 1px;
    filter: none;
  }
  .flip b {
    color: #202020;
    background: url(/play/assets/timer-box.png) 0 0 / 100% auto no-repeat;
    border: 0;
    border-radius: 0;
    width: 43.68px;
    height: 37.44px;
    margin-right: -5.2px;
    text-indent: -3.12px;
    font-family: LcdD, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 33.28px;
    text-align: center;
    display: block;
    box-shadow: none;
  }
}
.info-sheet header {
  grid-template-columns: 1fr 36px;
  align-items: center;
  display: grid;
}
.info-sheet header h2 {
  text-align: left;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}
.info-sheet header button {
  color: #bbb;
  font-size: 29px;
}
.info-sheet header button:before {
  content: none;
}
.rules-sheet {
  border-radius: 0;
  width: 390px;
  height: 505px;
  margin: 0;
  padding: 8px 16px 16px;
  overflow-y: auto;
}
.rules-sheet p {
  color: #596071;
  margin: 14px 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
}
.rules-sheet header {
  grid-template-columns: 1fr 24px;
}
.rules-sheet p b {
  color: #3D7FE0;
  font-weight: 400;
}
.service-blank {
  background: #fff;
  width: 390px;
  height: 100vh;
}
.game-shell .chat-stream{background:#f0f5ff!important}
.service-blank{background:#ffffff;color:#535d76}

/* Fill the actual mobile browser viewport instead of leaving a white strip beside the old 390px canvas. */
@media (max-width: 600px) {
  html,
  body {
    width: 100vw;
    min-width: 0;
    overflow: hidden;
  }
  body:not(.home-mode) #app,
  body:not(.home-mode) .game-shell,
  body:not(.home-mode) .route-page,
  body:not(.home-mode) .lobby,
  body:not(.home-mode) .service-blank {
    width: 100vw;
    max-width: none;
  }
  body:not(.home-mode) .action-bar,
  body:not(.home-mode) .composer,
  body:not(.home-mode) .number-pad,
  body:not(.home-mode) .overlay,
  body:not(.home-mode) .quick-sheet,
  body:not(.home-mode) .rules-sheet {
    width: 100vw;
  }
  #toast { left: 50vw; }
}
@media (min-width: 391px) and (max-width: 600px) {
  body:not(.home-mode) .issue {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Full-screen desktop room layout. */
@media (min-width: 601px) {
  html,
  body {
    width: 100vw;
    min-width: 0;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
  }
  #app,
  .game-shell,
  .route-page {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
  }
  .game-header {
    grid-template-columns: 72px 1fr 72px;
    height: 60px;
  }
  .game-header button { height: 60px; }
  .game-header h1 { font-size: 20px; }
  .draw-panel {
    height: 220px;
    padding: 15px clamp(28px, 5vw, 88px) 10px;
  }
  .draw-top {
    grid-template-columns: minmax(160px,1fr) minmax(260px,1fr) minmax(180px,1fr);
    height: 44px;
    font-size: 15px;
    transform: none;
  }
  .draw-top > span { justify-self: start; }
  .issue {
    position: static;
    justify-self: center;
    width: auto;
    transform: none;
  }
  .issue b { font-size: 15px; }
  .issue small { font-size: 12px; }
  .flip {
    position: static;
    justify-self: end;
    transform: none;
  }
  .desktop-scale .flip b {
    width: 46px;
    height: 42px;
    border-radius: 7px;
    font-size: 23px;
  }
  .desktop-scale .flip { gap: 7px; }
  .phase-status {
    min-width: 148px;
    height: 42px;
    border-radius: 22px;
  }
  .phase-status svg { width: 22px; height: 22px; }
  .phase-status strong { font-size: 16px; }
  .last-draw {
    justify-content: center;
    gap: clamp(36px,8vw,120px);
    height: 82px;
    margin: 6px 0;
  }
  .last-draw > span {
    width: auto;
    font-size: 16px;
    transform: none;
  }
  .desktop-scale .equation { transform: none; }
  .equation b {
    width: 46px;
    height: 46px;
    font-size: 34px;
    line-height: 46px;
  }
  .wallet-row {
    grid-template-columns: 54px minmax(220px,1fr) 360px;
    gap: 10px;
    height: 54px;
    transform: none;
  }
  .member,
  .member > img:first-child { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(45,80,140,.25); }
  .balance { font-size: 13px; }
  .wallet-row nav { gap: 14px; transform: none; }
  .wallet-row nav button { height: 34px; font-size: 14px; }
  .chat-stream {
    inset: 280px 0 124px;
    padding: 22px clamp(32px,8vw,120px) 32px;
  }
  .chat-stream > [data-testid="chat-message-list"] {
    max-width: 1200px;
    margin: 0 auto;
  }
  .chat-message {
    grid-template-columns: 54px minmax(0,1fr);
    gap: 14px;
    max-width: 900px;
  }
  .chat-avatar { width: 54px; height: 54px; border-radius: 28%; object-fit: cover; }
  .bubble,
  .system .bubble,
  .notice .bubble {
    width: auto;
    max-width: min(720px,62vw);
    font-size: 16px;
  }
  .action-bar {
    width: 100vw;
    height: 60px;
    bottom: 64px;
    gap: clamp(18px,4vw,72px);
    padding: 9px clamp(28px,8vw,120px);
  }
  .desktop-scale .action-bar { height: 60px; gap: clamp(18px,4vw,72px); padding: 9px clamp(28px,8vw,120px); }
  .desktop-scale .action-bar button,
  .action-bar button { justify-self: stretch; height: 42px; font-size: 15px; }
  .composer,
  .desktop-scale .composer {
    grid-template-columns: 86px minmax(0,1fr) 100px;
    width: 100vw;
    height: 64px;
    bottom: 0;
    gap: 12px;
    padding: 8px clamp(28px,8vw,120px);
  }
  .desktop-scale .composer .quick,
  .composer .quick,
  .desktop-scale .composer input,
  .composer input,
  .desktop-scale .composer .send,
  .composer .send {
    width: 100%;
    height: 46px;
    margin: 0;
    transform: none;
  }
  .composer .quick { font-size: 14px; }
  .composer input { font-size: 15px; }
  .composer .send { font-size: 15px; }
  .packet-float,
  .desktop-scale .packet-float {
    top: 330px;
    right: clamp(24px,4vw,64px);
    pointer-events: auto;
  }
  .overlay { width: 100vw; justify-content: center; }
  .quick-sheet {
    width: min(760px,100vw);
    height: min(640px,74vh);
    max-height: 74vh;
  }
  .desktop-scale .quick-sheet { height: min(640px,74vh); max-height: 74vh; }
  .amount-sheet,
  .info-sheet { width: min(760px,100vw); }
  .rules-sheet { width: min(760px,100vw); height: min(680px,78vh); }
  .number-pad { width: min(760px,100vw); left: 50%; bottom: 64px; transform: translateX(-50%); }
}

/* Light-blue room text hierarchy. */
.game-header,.draw-top,.issue,.last-draw>span,.balance,.chat-meta,.action-bar button,.composer input,.bubble { color:#535d76; }
.chat-meta,.bubble small,.issue small,.balance small { opacity:1; color:#8a8f9c; }
.draw-top>span,.issue b,.last-draw>span,.balance{color:#32343a}

/* ===== 渲染性能 ===== */
/* 聊天流隔离布局：新消息追加时不再触发整页重排。
   注意只用 layout/style，不用 paint——paint 会裁掉气泡阴影与头像。 */
.chat-stream{contain:layout style;-webkit-overflow-scrolling:touch}
/* 数字滚轮提升到 GPU，避免每帧走 CPU 光栅化 */
.roll-track{will-change:transform;backface-visibility:hidden}
/* 说明：此处曾加过 .chat-avatar{content-visibility:auto} 与
   .message{contain:paint}，会导致头像不渲染成空框，已移除。
   小尺寸且始终可见的图片不适用 content-visibility。 */
/* 倒计时每 50ms 改一次文字。给每个数字格固定宽高并隔离布局，
   使文字变化只在格子内部重排，不波及整个头部。 */
.flip{contain:layout style}
.flip > b{contain:layout style paint;display:inline-block;text-align:center;font-variant-numeric:tabular-nums}
/* 真实开奖数据到达前隐藏面板，避免先显示本地占位再整块替换（会闪一下且多渲染一次）。
   关键：用 visibility 隐藏时 CSS 动画仍会运行并占用合成资源，
   所以这里显式停掉动画，进房那一刻不做任何无用的动画合成。 */
.game-shell[data-initial-draw-pending] .draw-panel{visibility:hidden}
.game-shell[data-initial-draw-pending] .roll-track,
.game-shell[data-initial-draw-pending] .phase-status svg{animation:none!important}
.confirm-sheet .confirm-actions{display:flex;gap:10px;margin-top:14px}
.confirm-sheet .confirm-actions button{flex:1;height:42px;border:1px solid #d6e6ff;border-radius:10px;background:#f7f9fc;color:#535d76;font-size:15px}
.confirm-sheet .confirm-actions button.danger{border-color:#8c2b2b;background:linear-gradient(135deg,#c0392b,#8c2b2b);color:#fff;font-weight:700}

/* phase-status-white-20260919 */
.phase-status{color:#1a1a1a!important;background:#ffffff!important;border-color:#d6e0ea!important}
.phase-status svg{fill:#1a1a1a!important}
.phase-status strong{color:#1a1a1a!important}

/* brand-avatar-fill-20260919 */
.chat-avatar.brand-chat-avatar{
  border:0!important;
  background:#0d4ab2!important;
  object-fit:cover!important;
  object-position:center!important;
  box-shadow:0 1px 4px rgba(45,80,140,.22)!important;
}


/* VIP 等级徽章：会员栏与聊天头像下沿（美术图 104×40 等比缩放） */
.member .vip-corner,
.chat-avatar-slot .vip-corner {
  position: absolute;
  left: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: #555e78;
  box-shadow: 0 0 0 1.5px #fff, 0 1px 3px rgba(45, 80, 140, .28);
  transform: translateX(-50%);
}
.member .vip-corner { width: 38px; height: 15px; bottom: -3px; }
.chat-avatar-slot .vip-corner { width: 42px; height: 16px; bottom: -4px; border-radius: 8px; }
.vip-corner > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vip-corner.vip-text { color: #ffdb45; font-size: 8px; font-weight: 700; letter-spacing: .2px; }
.chat-avatar-slot { position: relative; display: block; width: 47px; height: 47px; align-self: start; }
.chat-avatar-slot .chat-avatar { width: 100%; height: 100%; }
.is-user .chat-avatar-slot { grid-column: 2; }
@media (min-width: 601px) {
  .chat-avatar-slot { width: 54px; height: 54px; }
  .chat-avatar-slot .vip-corner { width: 46px; height: 18px; }
}

/* User reference: regular-weight dark gray on member and system bubbles.
   Keep metadata, controls, font sizes and red-packet styling unchanged. */
.game-shell .chat-message:not(.packet) .bubble,
.game-shell .chat-message:not(.packet) .bubble-copy,
.game-shell .chat-message:not(.packet) .bubble-copy b,
.game-shell .chat-message:not(.packet) .bubble-copy strong,
.game-shell .chat-message:not(.packet) .bubble-copy small {
  color: #555 !important;
  font-weight: 400;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

/* ---- 28福袋悬浮入口（由 red-packet-float.mjs 驱动；贴住 390 内容列右边缘） ---- */
.fudai-float{position:fixed;right:6px;bottom:30%;z-index:60;display:none;width:92px;pointer-events:none}
.fudai-float.show{display:block}
.fudai-float .fudai-body{position:relative;display:block;width:92px;padding:0;border:0;background:none;pointer-events:auto;cursor:pointer;animation:fudaiFloat 2.6s ease-in-out infinite}
.fudai-float .fudai-body.busy{pointer-events:none;opacity:.75}
.fudai-float .fudai-img{display:block;width:92px;height:95px;object-fit:contain;filter:saturate(.9) drop-shadow(0 3px 6px rgba(102,102,102,.35))}
.fudai-float .fudai-pill{display:block;width:74px;height:22px;margin:-8px auto 0;color:#ed3131;background:linear-gradient(#ffe986,#ffd434);border:1px solid #fff;border-radius:18px;font-size:11px;line-height:20px;text-align:center;box-shadow:0 2px 6px #6664}
.fudai-float[data-mode="countdown"] .fudai-pill{font-family:DINAlternate,sans-serif;font-size:12px;font-weight:700}
.fudai-float[data-mode="open"] .fudai-pill{color:#fff;font-weight:700;background:linear-gradient(#ff6b52,#e6332a);border-color:#ffe0b0;animation:fudaiPulse 1s ease-in-out infinite}
.fudai-float[data-mode="claimed"] .fudai-pill,.fudai-float[data-mode="soldout"] .fudai-pill{color:#7c8290;background:linear-gradient(#f4f5f7,#e3e5ea)}
.fudai-float .fudai-close{position:absolute;top:2px;left:-20px;z-index:2;width:24px;height:24px;padding:0;border:0;background:none;pointer-events:auto;color:#7c8290;font-family:remixicon;font-size:17px;line-height:17px;cursor:pointer}
.fudai-float .fudai-close:before{content:"\eb97"}
@keyframes fudaiFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes fudaiPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
.fudai-overlay{position:fixed;inset:0;z-index:120;display:none;align-items:center;justify-content:center;background:rgba(15,22,38,.5)}
.fudai-overlay.show{display:flex}
.fudai-card{width:268px;padding:22px 18px 18px;border-radius:16px;background:linear-gradient(#fff7ef,#ffe6c7);text-align:center;box-shadow:0 12px 32px rgba(20,30,60,.28)}
.fudai-card img{width:104px;height:108px;object-fit:contain}
.fudai-card h3{margin:6px 0 2px;color:#7a3a12;font-size:17px}
.fudai-card .fudai-amount{margin:2px 0 4px;color:#e6332a;font:700 30px/1.2 DINAlternate,sans-serif}
.fudai-card .fudai-note{margin:0 0 14px;color:#8a6a4a;font-size:12px}
.fudai-card button{width:100%;height:42px;border:0;border-radius:10px;background:linear-gradient(#ff6b52,#e6332a);color:#fff;font-size:15px;font-weight:700;cursor:pointer}
