.fived-root {
  position: relative;
  width: 100%;
  max-width: var(--mobile-frame, 390px);
  margin: 0 auto;
  min-height: 100dvh;
  height: 100dvh;
  max-height: 100dvh;
  background: #f2f3f8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page#page-5d {
  padding-bottom: 0;
  margin-bottom: 0;
}

.page#page-5d .app-screen,
.page#page-5d .page-stack {
  padding-bottom: 0 !important;
  min-height: auto !important;
}

/* Scrollable curved red block: wallet through room selectors (Daman-style). */
.fived-bg {
  position: absolute;
  left: calc(-1 * var(--fived-gutter, 10px));
  width: calc(100% + (2 * var(--fived-gutter, 10px)));
  top: 0;
  height: clamp(300px, 82vw, 360px);
  background: linear-gradient(180deg, #ff6666 0%, #ff7272 100%);
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  z-index: 0;
  pointer-events: none;
}

.fived-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.14) 0 18%, transparent 19%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.1) 0 17%, transparent 18%);
}

.fived-content {
  --fived-gutter: 10px;
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: calc(50px + env(safe-area-inset-top, 0px)) var(--fived-gutter) calc(12px + env(safe-area-inset-bottom, 0px));
}

.fived-content::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.fived-panel {
  margin-top: 14px;
}

#page-5d .timer-cards-wrap {
  margin-top: 4px;
}

.fived-latest-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 12px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(40, 57, 95, 0.08);
}

.fived-latest-label {
  width: 56px;
  color: #74819c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.fived-latest-balls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.fived-latest-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f5fb;
  color: #2e3a56;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fived-latest-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.fived-latest-column span {
  color: #74819c;
  font-size: 14px;
}

.fived-latest-equals {
  color: #67748d;
  font-size: 24px;
  font-weight: 700;
}

.fived-latest-total {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff6a67 0%, #ff5556 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(255, 98, 100, 0.28);
}

.fived-ticket-card {
  margin-top: 10px;
  padding: 12px 12px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(40, 57, 95, 0.08);
}

.fived-ticket-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.fived-ticket-meta,
.fived-ticket-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fived-ticket-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fived-ticket-meta span,
.fived-ticket-time span {
  color: #7b8498;
  font-size: 12px;
  line-height: 1;
}

.fived-ticket-meta strong {
  display: block;
  margin-top: 6px;
  color: #152243;
  font-size: clamp(14px, 4.2vw, 18px);
  font-weight: 600;
  letter-spacing: -0.55px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fived-ticket-time {
  align-items: flex-end;
  min-width: 94px;
}

.fived-ticket-card .k3-how-button {
  height: 24px;
  min-width: 88px;
  padding: 0 8px;
  gap: 5px;
  font-size: 9px;
  flex-shrink: 0;
}

.fived-ticket-card .k3-how-button img {
  width: 11px;
  height: 11px;
}

.fived-ticket-time > span {
  font-size: 12px;
}

.fived-ticket-time .k3-ticket-digits {
  display: flex;
  align-items: center;
  gap: 2px;
}

.fived-ticket-time .k3-ticket-digits span {
  width: 18px;
  height: 24px;
  border-radius: 5px;
  background: #f3f5fb;
  color: #ff5b61;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fived-ticket-time .k3-ticket-digits .k3-ticket-colon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #ff5b61;
  font-size: 16px;
  padding: 0;
}

.fived-wheel-wrap {
  position: relative;
  margin-top: 14px;
  background: linear-gradient(180deg, #0fce6a 0%, #06b25b 100%);
  border-radius: 12px;
  padding: 10px;
}

.fived-wheel-handle {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 34px;
  background: linear-gradient(180deg, #099b52 0%, #08c66a 100%);
  border-radius: 10px;
  transform: translateY(-50%);
}

.fived-wheel-handle.left { left: -3px; }
.fived-wheel-handle.right { right: -3px; }

.fived-wheel-stage {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  background: #113b32;
  border-radius: 10px;
  padding: 6px;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.3);
}

.fived-wheel-slot {
  position: relative;
  height: 76px;
  border-radius: 10px;
  background: #5e5e66;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.fived-wheel-slot::before,
.fived-wheel-slot::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 84%;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.fived-wheel-slot::before { top: -12px; }
.fived-wheel-slot::after { bottom: -12px; }

.fived-wheel-slot.active {
  background: linear-gradient(180deg, #2dc768 0%, #1bab57 100%);
}

.fived-wheel-digit {
  position: relative;
  z-index: 1;
  color: #6c7790;
  font-size: 42px;
  font-weight: 800;
  line-height: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.fived-wheel-slot.active .fived-wheel-digit {
  color: #fff;
}

.fived-wheel-reel-strip {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translate3d(0, 0, 0);
  animation: fivedWheelRoll var(--fived-roll-duration, 1.85s) cubic-bezier(0.18, 0.88, 0.24, 1) forwards;
  will-change: transform;
}

.fived-wheel-digit.reel-item {
  width: 100%;
  min-height: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fivedWheelRoll {
  0% { transform: translate3d(0, 0, 0); }
  72% { transform: translate3d(0, calc(var(--fived-roll-offset) - 20px), 0); }
  100% { transform: translate3d(0, var(--fived-roll-offset), 0); }
}

.fived-bet-panel {
  position: relative;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #7e7f83 0%, #6f7075 100%);
}

.fived-bet-tabs,
.fived-modal-tab-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f2f2f2;
  touch-action: manipulation;
}

.fived-bet-tabs button,
.fived-modal-tab-row button {
  height: 44px;
  border: none;
  background: transparent;
  color: #1e2840;
  font-size: 16px;
  font-weight: 500;
}

.fived-bet-tabs button.active,
.fived-modal-tab-row button.active {
  background: linear-gradient(180deg, #a4342f 0%, #6d1f1c 100%);
  color: #fff;
  font-weight: 600;
}

.fived-bet-view {
  margin-top: 12px;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}

.fived-mini-category-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.fived-mini-category-row.sum-only {
  margin-bottom: 0;
}

.fived-mini-category {
  height: 36px;
  border: none;
  border-radius: 8px;
  background: #f6f6f8;
  color: #73809d;
  font-size: 15px;
  font-weight: 700;
}

.fived-mini-category.tone-big.active { background: linear-gradient(180deg, #f5b14f 0%, #f0a142 100%); color: #fff; }
.fived-mini-category.tone-small.active { background: linear-gradient(180deg, #74a8f4 0%, #5d93e6 100%); color: #fff; }
.fived-mini-category.tone-odd.active { background: linear-gradient(180deg, #ff6e6a 0%, #ff5b61 100%); color: #fff; }
.fived-mini-category.tone-even.active,
.fived-mini-category.active { background: linear-gradient(180deg, #b16cff 0%, #a754ff 100%); color: #fff; }

.fived-number-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 10px;
}

.fived-number-button {
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.fived-number-button .ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #c9d0df;
  color: #6f7a93;
  font-size: 23px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.fived-number-button.active .ring {
  background: linear-gradient(180deg, #ff6d6b 0%, #ff5a61 100%);
  color: #fff;
  border-color: transparent;
}

/* 5D compact restore: prevent shared wallet/header styles from expanding on some phones. */
#page-5d,
#page-5d.active {
  overflow-x: hidden !important;
}

.fived-root {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow-x: hidden !important;
}

.fived-content {
  --fived-gutter: clamp(8px, 2.6vw, 10px);
  padding-top: calc(52px + env(safe-area-inset-top, 0px)) !important;
  padding-left: var(--fived-gutter) !important;
  padding-right: var(--fived-gutter) !important;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.fived-content::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.fived-bg {
  left: calc(-1 * var(--fived-gutter, 10px)) !important;
  width: calc(100% + (2 * var(--fived-gutter, 10px))) !important;
}


.fived-root .wallet-card {
  min-height: clamp(112px, 31vw, 136px) !important;
  max-height: 150px !important;
  padding: clamp(13px, 3.4vw, 18px) clamp(14px, 4.8vw, 21px) clamp(13px, 3.4vw, 16px) !important;
  background-size: 100% 100% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 21px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.fived-root .wallet-amount {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  color: #0e2348 !important;
  font-size: clamp(17px, 5vw, 21px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.fived-root .wallet-amount > span {
  grid-column: 2 !important;
  justify-self: center !important;
}

.fived-root .wallet-amount .wingo-inline-refresh {
  grid-column: 3 !important;
  justify-self: start !important;
  margin-left: 12px !important;
}

.fived-root .wallet-label {
  margin-top: 7px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  color: #0e2348 !important;
  font-size: 13.5px !important;
}

.fived-root .wallet-label img {
  width: 14px !important;
  height: 14px !important;
}

.fived-root .wallet-actions {
  margin-top: clamp(12px, 4vw, 18px) !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.fived-root .wallet-actions button {
  flex: 1 1 0 !important;
  width: auto !important;
  height: clamp(32px, 9.2vw, 38px) !important;
  border: 0 !important;
  border-radius: 21px !important;
  color: #fff !important;
  font-size: clamp(13px, 3.9vw, 15px) !important;
  font-weight: 600 !important;
}

.fived-panel {
  margin-top: clamp(10px, 3.4vw, 14px) !important;
}

.fived-ticket-head {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: clamp(4px, 1.5vw, 8px) !important;
}

.fived-ticket-meta {
  min-width: 0 !important;
}

.fived-ticket-meta strong {
  max-width: 100% !important;
  font-size: clamp(14px, 4.2vw, 18px) !important;
  font-weight: 600 !important;
}

.fived-ticket-time {
  min-width: 88px !important;
  overflow: hidden !important;
}

.fived-ticket-time .k3-ticket-digits {
  gap: 2px !important;
}

.fived-ticket-time .k3-ticket-digits span {
  width: clamp(14px, 4.2vw, 18px) !important;
  height: clamp(22px, 6.6vw, 24px) !important;
  font-size: clamp(14px, 4.4vw, 16px) !important;
}

.fived-ticket-time .k3-ticket-digits .k3-ticket-colon {
  width: 6px !important;
}

.fived-latest-card {
  overflow: hidden !important;
}

.fived-latest-balls {
  min-width: 0 !important;
  gap: clamp(4px, 1.8vw, 8px) !important;
}

.fived-latest-pill {
  width: clamp(28px, 8vw, 34px) !important;
  height: clamp(28px, 8vw, 34px) !important;
  font-size: clamp(15px, 4.8vw, 18px) !important;
}

.fived-wheel-stage {
  gap: clamp(3px, 1.5vw, 6px) !important;
}

.fived-wheel-slot {
  height: clamp(64px, 22vw, 92px) !important;
}

.fived-wheel-digit,
.fived-wheel-digit.reel-item {
  min-height: clamp(64px, 22vw, 92px) !important;
  font-size: clamp(30px, 10vw, 48px) !important;
}

@media (max-width: 360px) {
  .fived-ticket-head {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

.fived-number-button strong {
  color: #74809e;
  font-size: 13px;
  font-weight: 700;
}

.fived-chart-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #e6e9f1;
}

.fived-chart-tabs button {
  height: 42px;
  border: none;
  border-radius: 14px 14px 0 0;
  background: transparent;
  color: #6d7a96;
  font-size: 15px;
  font-weight: 700;
}

.fived-chart-tabs button.active {
  background: linear-gradient(180deg, #a4342f 0%, #6d1f1c 100%);
  color: #fff;
}

.fived-stat-grid {
  padding: 2px 0 8px;
}

.fived-stat-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 8px;
  align-items: start;
  margin-bottom: 7px;
}

.fived-stat-row strong {
  color: #111d38;
  font-size: 12px;
  line-height: 1.2;
}

.fived-stat-values {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #93a0b7;
  font-size: 13px;
}

.fived-chart-table {
  position: relative;
  background: #fff;
}

.fived-chart-row {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 10px;
  border-bottom: 1px solid #eef1f6;
}

.fived-chart-period {
  color: #17223f;
  font-size: 11px;
  line-height: 1.2;
}

.fived-chart-number-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.fived-chart-digit {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #d4dae7;
  color: #b2bbcf;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.fived-chart-digit.active {
  background: linear-gradient(180deg, #ff6e6b 0%, #ff5960 100%);
  color: #fff;
  border-color: transparent;
}

.fived-chart-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fived-chart-row > div:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  min-width: 72px;
}

.fived-chart-badge.b { background: #ffaf3c; }
.fived-chart-badge.s { background: #5e96ff; }
.fived-chart-badge.e { background: #b460ff; }
.fived-chart-badge.o { background: #25bb67; }

.fived-chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fived-history-head {
  display: grid;
  grid-template-columns: 1.7fr 1.2fr 56px;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #ff6666 0%, #ff595c 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.fived-history-table {
  background: #fff;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.fived-history-row {
  display: grid;
  grid-template-columns: 1.7fr 1.2fr 56px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid #eef1f6;
}

.fived-history-row:last-child {
  border-bottom: none;
}

.fived-history-period {
  color: #152241;
  font-size: 14px;
}

.fived-history-result {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fived-history-result-ball {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #cbd3e3;
  color: #4f5d7c;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fived-history-total {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff6865 0%, #ff5558 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fived-my-empty {
  background: #fff;
  border-radius: 12px;
  padding: 28px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fived-my-empty img {
  width: 180px;
  opacity: 0.5;
}

.fived-my-empty span {
  color: #b4bdd0;
  font-size: 16px;
}

.fived-my-row-wrap {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.fived-my-row-card {
  border-bottom: 1px solid #eef1f6;
}

.fived-my-row-card .my-detail-line .detail-code {
  color: #7a8eb4;
  font-weight: 500;
  word-break: break-all;
  max-width: 190px;
}

.fived-my-row-card .my-detail-line .taxed {
  color: #ef4e52;
}

.fived-my-row-card .my-detail-line .status-pending {
  color: #7f8a9f;
}

.fived-my-row-card .my-detail-line .status-ok {
  color: #22b95d;
}

.fived-my-row-card .my-detail-line .status-fail {
  color: #ef4e52;
}

.fived-my-row-card .my-detail-line .result-pack {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: end;
}

.fived-my-row-card .my-detail-line .detail-inline-total {
  color: #0e2348;
  font-size: 14px;
  font-weight: 600;
}

.fived-my-row-card:last-child {
  border-bottom: none;
}

/* 5D chart/history compact restore: keep result rows inside the mobile table. */
.fived-history-wrap,
.fived-history-table,
.fived-chart-table {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.fived-history-head,
.fived-history-row {
  grid-template-columns: minmax(0, 42%) minmax(92px, 38%) minmax(42px, 20%) !important;
  gap: 6px !important;
  padding-left: clamp(10px, 3vw, 14px) !important;
  padding-right: clamp(10px, 3vw, 14px) !important;
}

.fived-history-head > div,
.fived-history-row > div,
.fived-chart-row > div {
  min-width: 0 !important;
}

.fived-history-period,
.fived-chart-period {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.fived-history-result {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  overflow: hidden !important;
}

.fived-history-result-ball {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  font-size: 11px !important;
}

.fived-history-total {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  font-size: 13px !important;
  justify-self: end !important;
}

.fived-chart-row {
  grid-template-columns: minmax(0, 33%) minmax(118px, 47%) minmax(52px, 20%) !important;
  gap: 5px !important;
  padding-left: clamp(8px, 2.6vw, 10px) !important;
  padding-right: clamp(8px, 2.6vw, 10px) !important;
}

.fived-chart-number-row {
  min-width: 0 !important;
  justify-content: center !important;
  gap: 2px !important;
  overflow: hidden !important;
}

.fived-chart-digit {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px !important;
  font-size: 8px !important;
}

.fived-chart-row > div:last-child {
  min-width: 0 !important;
  justify-content: flex-end !important;
  gap: 3px !important;
}

.fived-chart-badge {
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px !important;
  font-size: 9px !important;
}

.fived-my-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
}

.fived-my-badge {
  width: 56px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff6c6d 0%, #ff5a63 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fived-my-badge.category {
  font-size: 14px;
}

.fived-my-mid p {
  margin: 0;
  color: #12203d;
  font-size: 15px;
  font-weight: 800;
}

.fived-my-mid span {
  display: block;
  margin-top: 2px;
  color: #a3aec5;
  font-size: 12px;
}

.fived-my-side {
  text-align: right;
}

.fived-my-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #ff7b7d;
  color: #ff5f64;
  font-size: 13px;
  font-weight: 700;
}

.fived-my-status.win {
  color: #17b553;
  border-color: #56d885;
}

.fived-my-status.pending {
  color: #7f8ba6;
  border-color: #d7dceb;
}

.fived-my-amount {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
}

.fived-my-amount.win { color: #17b553; }
.fived-my-amount.loss { color: #ff5d63; }
.fived-my-amount.pending { color: #7f8ba6; }

#page-5d #fived-outcome-modal.modal {
  z-index: 120 !important;
}

.fived-outcome-card {
  width: min(100%, 340px);
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.fived-outcome-card .modal-close {
  display: none;
}

.fived-outcome-banner {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0;
  position: relative;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center top;
  align-items: stretch;
}

.fived-outcome-banner::before,
.fived-outcome-banner::after {
  content: "";
  position: absolute;
  left: 56px;
  right: 56px;
  border-top: 5px dotted rgba(163, 122, 90, 0.28);
}

.fived-outcome-banner::before {
  top: 176px;
}

.fived-outcome-banner::after {
  top: 286px;
}

.fived-outcome-banner h3,
.fived-outcome-number {
  display: none;
}

.fived-outcome-banner .wingo-outcome-tags {
  top: 106px;
  gap: 5px;
  flex-wrap: nowrap;
}

.fived-outcome-banner .wingo-outcome-label {
  color: #7b2030;
  font-size: 10px;
  font-weight: 700;
}

.fived-outcome-banner .wingo-outcome-tag {
  min-width: 26px;
  height: 22px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}

.fived-outcome-banner .wingo-outcome-bonus-box {
  top: 178px;
  width: 194px;
  min-height: 74px;
  padding: 0 10px;
}

.fived-outcome-banner .wingo-outcome-bonus-label {
  color: #7b2030;
  font-size: 18px;
  font-weight: 800;
}

.fived-outcome-banner #fived-outcome-text {
  display: block;
  margin-top: 4px;
  color: #ff220d;
  font-size: 18px;
  font-weight: 900;
  line-height: 0.95;
  width: 100%;
  text-align: center;
}

.fived-outcome-banner .wingo-outcome-bonus-box small {
  color: #667391;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.18;
  margin-top: 3px;
}

.fived-outcome-banner.is-loss .wingo-outcome-label {
  color: #5e709d;
}

.fived-outcome-banner.is-loss .wingo-outcome-bonus-box {
  top: 190px;
}

.fived-outcome-banner.is-loss .wingo-outcome-bonus-label {
  color: #5e709d;
  font-size: 20px;
}

.fived-outcome-banner.is-loss #fived-outcome-text {
  display: none;
}

.fived-outcome-banner .wingo-outcome-auto {
  bottom: 26px;
  gap: 10px;
  color: #111;
  font-size: 13px;
  font-weight: 700;
}

.fived-outcome-banner .wingo-outcome-auto-check {
  width: 20px;
  height: 20px;
  border-width: 2px;
  color: #f33023;
  border-color: #f33023;
}

.fived-outcome-banner .wingo-outcome-auto.is-off .wingo-outcome-auto-check {
  background: transparent;
  color: transparent;
}

.fived-outcome-banner.is-loss .wingo-outcome-auto,
.fived-outcome-banner.is-loss .wingo-outcome-auto-check {
  color: #111;
  border-color: #111;
}

.fived-bet-inline-choice {
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fived-inline-chip {
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff6e6a 0%, #ff5b61 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fived-inline-chip.number {
  background: linear-gradient(180deg, #ff6e6a 0%, #ff5b61 100%);
}

.fived-inline-chip.tag {
  font-size: 15px;
}

.fived-inline-chip.tone-big {
  background: linear-gradient(180deg, #f5b14f 0%, #f0a142 100%);
}

.fived-inline-chip.tone-small {
  background: linear-gradient(180deg, #74a8f4 0%, #5d93e6 100%);
}

.fived-inline-chip.tone-odd {
  background: linear-gradient(180deg, #ff6e6a 0%, #ff5b61 100%);
}

.fived-inline-chip.tone-even {
  background: linear-gradient(180deg, #b16cff 0%, #a754ff 100%);
}

#fived-bet-base-row button.active[data-theme="red"],
#fived-bet-multi-row button.active[data-theme="red"],
#fived-bet-confirm[data-theme="red"] {
  background: linear-gradient(180deg, #ff6e6a 0%, #ff5b61 100%);
  border-color: transparent;
  color: #fff;
}

#fived-bet-base-row button.active[data-theme="orange"],
#fived-bet-multi-row button.active[data-theme="orange"],
#fived-bet-confirm[data-theme="orange"] {
  background: linear-gradient(180deg, #f5b14f 0%, #f0a142 100%);
  border-color: transparent;
  color: #fff;
}

#fived-bet-base-row button.active[data-theme="blue"],
#fived-bet-multi-row button.active[data-theme="blue"],
#fived-bet-confirm[data-theme="blue"] {
  background: linear-gradient(180deg, #74a8f4 0%, #5d93e6 100%);
  border-color: transparent;
  color: #fff;
}

#fived-bet-base-row button.active[data-theme="violet"],
#fived-bet-multi-row button.active[data-theme="violet"],
#fived-bet-confirm[data-theme="violet"] {
  background: linear-gradient(180deg, #b16cff 0%, #a754ff 100%);
  border-color: transparent;
  color: #fff;
}

#fived-bet-minus[data-theme="red"],
#fived-bet-plus[data-theme="red"] {
  background: linear-gradient(180deg, #ff6e6a 0%, #ff5b61 100%);
  color: #fff;
}

#fived-bet-minus[data-theme="orange"],
#fived-bet-plus[data-theme="orange"] {
  background: linear-gradient(180deg, #f5b14f 0%, #f0a142 100%);
  color: #fff;
}

#fived-bet-minus[data-theme="blue"],
#fived-bet-plus[data-theme="blue"] {
  background: linear-gradient(180deg, #74a8f4 0%, #5d93e6 100%);
  color: #fff;
}

#fived-bet-minus[data-theme="violet"],
#fived-bet-plus[data-theme="violet"] {
  background: linear-gradient(180deg, #b16cff 0%, #a754ff 100%);
  color: #fff;
}

/* Lottery 2.0 compatibility guard: keep old 5D wheel look, prevent table/ticket overflow. */
.fived-ticket-head {
  max-width: 100% !important;
}

.fived-ticket-meta,
.fived-ticket-time {
  min-width: 0 !important;
}

.fived-ticket-meta strong {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.fived-wheel-wrap,
.fived-wheel-stage {
  max-width: 100% !important;
  overflow: hidden !important;
}

.fived-wheel-slot {
  min-width: 0 !important;
}

.fived-root .fived-history-wrap,
.fived-root #fived-history-body,
.fived-root .fived-history-body,
.fived-root .fived-history-table,
.fived-root .fived-history-row {
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.fived-root #fived-history-body.k3-history-body,
.fived-root .fived-history-body.k3-history-body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.fived-root .fived-history-head {
  display: grid !important;
  grid-template-columns: minmax(0, 42%) minmax(92px, 38%) minmax(42px, 20%) !important;
  align-items: center !important;
  height: 42px !important;
  padding: 0 clamp(10px, 3vw, 14px) !important;
  font-size: 13px !important;
}

.fived-history-result {
  max-width: 100% !important;
}

.fived-history-result-ball {
  flex-shrink: 0 !important;
}

/* 5D final mobile repair: keep upgraded logic, restore compact old-game layout. */
.fived-root .top-header .back-button::before,
.fived-root .top-header .back-button::after {
  content: none !important;
  display: none !important;
}

.fived-root .top-header .back-button {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.fived-root .top-header .back-button img {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
}

.fived-root .timer-panel {
  margin-top: clamp(10px, 3vw, 13px) !important;
}

.fived-root .timer-cards {
  align-items: stretch !important;
}

.fived-root .timer-card {
  min-height: clamp(84px, 22vw, 96px) !important;
  border-radius: 14px !important;
  padding: 10px 4px !important;
}

.fived-root .timer-card span {
  display: block !important;
  max-width: 100% !important;
  line-height: 1.08 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  font-size: clamp(12px, 3.35vw, 14px) !important;
}

.fived-root .timer-card[data-fived-room="1m"] span::before { content: "1 Min"; display: block; }
.fived-root .timer-card[data-fived-room="3m"] span::before { content: "3 Min"; display: block; }
.fived-root .timer-card[data-fived-room="5m"] span::before { content: "5 Min"; display: block; }
.fived-root .timer-card[data-fived-room="10m"] span::before { content: "10 Min"; display: block; }

.fived-root .timer-card span::before {
  font-size: clamp(12px, 3.35vw, 14px);
}

.fived-root .timer-card span {
  font-size: 0 !important;
}

.fived-root .timer-card span::after {
  content: "5D";
  display: block;
  font-size: clamp(12px, 3.35vw, 14px);
}

.fived-ticket-card {
  margin-top: clamp(10px, 3vw, 14px) !important;
  padding: 10px !important;
}

.fived-ticket-head {
  grid-template-columns: minmax(112px, 1fr) 76px minmax(76px, auto) !important;
  gap: 5px !important;
  align-items: center !important;
}

.fived-ticket-meta strong {
  display: block !important;
  max-width: 100% !important;
  font-size: clamp(14px, 4.2vw, 18px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.6px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.fived-ticket-card .k3-how-button {
  width: 76px !important;
  min-width: 76px !important;
  height: 24px !important;
  padding: 0 5px !important;
  font-size: 8.5px !important;
}

.fived-ticket-time {
  min-width: 76px !important;
  align-items: flex-end !important;
}

.fived-ticket-time > span {
  font-size: 10px !important;
  white-space: nowrap !important;
}

.fived-ticket-time .k3-ticket-digits span {
  width: clamp(14px, 4vw, 17px) !important;
  height: clamp(22px, 6vw, 24px) !important;
  font-size: clamp(14px, 4vw, 16px) !important;
}

.fived-wheel-wrap {
  margin-top: 12px !important;
  padding: 9px !important;
  border-radius: 13px !important;
}

.fived-wheel-stage {
  gap: clamp(3px, 1.3vw, 5px) !important;
  padding: 6px !important;
  border-radius: 10px !important;
}

.fived-wheel-slot {
  height: 76px !important;
  border-radius: 9px !important;
}

.fived-wheel-digit,
.fived-wheel-digit.reel-item {
  min-height: 76px !important;
  height: 76px !important;
  flex: 0 0 76px !important;
  font-size: clamp(30px, 9vw, 44px) !important;
}

.fived-history-head,
.fived-history-row {
  grid-template-columns: minmax(112px, 1fr) minmax(98px, auto) 34px !important;
  gap: 4px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.fived-history-period {
  font-size: clamp(9.5px, 2.65vw, 11px) !important;
  letter-spacing: -0.55px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.fived-history-result {
  justify-content: center !important;
  gap: 2px !important;
}

.fived-history-result-ball {
  width: clamp(16px, 4.5vw, 19px) !important;
  height: clamp(16px, 4.5vw, 19px) !important;
  flex: 0 0 clamp(16px, 4.5vw, 19px) !important;
  font-size: clamp(9px, 2.7vw, 11px) !important;
}

.fived-history-total {
  width: 28px !important;
  height: 28px !important;
  flex: 0 0 28px !important;
  font-size: 14px !important;
}

@media (max-width: 360px) {
  .fived-ticket-head {
    grid-template-columns: minmax(108px, 1fr) 70px minmax(72px, auto) !important;
  }

  .fived-ticket-card .k3-how-button {
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: center !important;
    margin-top: 0 !important;
    width: 70px !important;
    min-width: 70px !important;
  }

  .fived-ticket-time {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* ── 5D REFERENCE LAYOUT (matches Daman style) ───────────────────────────── */

/* Kill global red overlay that duplicates behind the page */
#page-5d.game-page::before {
  content: none !important;
  display: none !important;
}

#page-5d.page,
#page-5d.game-page {
  padding: 0 !important;
  background: #f2f3f8 !important;
  overflow: hidden !important;
}

.fived-root {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Fixed top header – full width edge-to-edge */
.fived-root .top-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 40 !important;
  margin: 0 !important;
  padding: max(env(safe-area-inset-top, 0px), 0px) max(env(safe-area-inset-right, 0px), 10px) 0 max(env(safe-area-inset-left, 0px), 10px) !important;
  background: linear-gradient(180deg, #ff6464 0%, #ff7070 100%) !important;
  box-shadow: none !important;
}
.fived-root .top-sticky::after {
  content: none !important;
  display: none !important;
}
.fived-root .top-header {
  position: relative !important;
  height: clamp(46px, 12.5vw, 50px) !important;
  min-height: clamp(46px, 12.5vw, 50px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  padding: 0 2px !important;
}

.fived-root .fived-content {
  background: #f2f3f8 !important;
}

/* Wallet card: white strip on red block */
.fived-root .wallet-card {
  background-color: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1) !important;
  padding: clamp(14px, 4vw, 20px) clamp(14px, 4.2vw, 22px) clamp(14px, 4vw, 18px) !important;
  min-height: clamp(118px, 33vw, 145px) !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.fived-root .wallet-amount {
  font-weight: 600 !important;
}

.fived-root .wallet-label,
.fived-root .wallet-label span {
  font-weight: 500 !important;
}

.fived-root .wallet-actions button {
  font-weight: 500 !important;
}

/* Notice bar: white pill on red (reference) */
.fived-root .notice-bar {
  background: #fff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.fived-root .notice-bar p {
  color: #303a4c !important;
  font-weight: 400 !important;
}
.fived-root .notice-bar button {
  background: linear-gradient(90deg, #f95959 0%, #ff9a8e 100%) !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 500 !important;
}

.fived-root .top-hero-stack {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.fived-root .timer-panel {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 12px !important;
}
.fived-root .timer-panel::before {
  display: none !important;
}

/* Timer cards wrap */
.fived-root .timer-cards-wrap {
  background: #fff !important;
  border-radius: 18px !important;
  padding: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 18px rgba(33, 41, 75, 0.09) !important;
  position: relative !important;
  z-index: 1 !important;
}
.fived-root .timer-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
.fived-root .timer-card {
  height: clamp(70px, 19.5vw, 76px) !important;
  border: none !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #768096 !important;
  box-shadow: none !important;
}
.fived-root .timer-card.active {
  background: linear-gradient(180deg, #ff7b7b 0%, #ff5f5f 100%) !important;
  color: #fff !important;
}
.fived-root .timer-card img {
  filter: none !important;
  opacity: 1 !important;
}
.fived-root .timer-card.active img {
  filter: none !important;
  opacity: 1 !important;
}
.fived-root .timer-card span,
.fived-root .timer-card span::before,
.fived-root .timer-card span::after {
  font-weight: 500 !important;
}
.fived-root .timer-card.active span::before,
.fived-root .timer-card.active span::after {
  color: #fff !important;
  font-weight: 500 !important;
}

/* Ticket card: Period + How to play + Timer – 3 columns, no overlap */
.fived-ticket-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: start !important;
  gap: 6px !important;
}
.fived-ticket-meta span {
  font-weight: 400 !important;
  color: #7b8498 !important;
}
.fived-ticket-meta strong {
  display: block !important;
  font-size: clamp(14px, 4.2vw, 18px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.6px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  color: #152243 !important;
  margin-top: 5px !important;
}
.fived-ticket-card .k3-how-button {
  align-self: center !important;
  width: auto !important;
  min-width: 80px !important;
  height: 26px !important;
  padding: 0 8px !important;
  font-size: 9px !important;
  white-space: nowrap !important;
}
.fived-ticket-time {
  min-width: 84px !important;
  align-items: flex-end !important;
  text-align: right !important;
}
.fived-ticket-time > span {
  font-size: 10px !important;
  white-space: nowrap !important;
  color: #8090a8 !important;
  display: block !important;
  text-align: right !important;
}
.fived-ticket-time .k3-ticket-digits {
  justify-content: flex-end !important;
  gap: 2px !important;
}
.fived-ticket-time .k3-ticket-digits span {
  width: clamp(15px, 4.3vw, 18px) !important;
  height: clamp(22px, 6.4vw, 25px) !important;
  font-size: clamp(14px, 4.2vw, 17px) !important;
  color: #ff5558 !important;
  background: #fff !important;
  border: none !important;
}

/* Wheel: slots and reel items must be exactly 76px so JS offset matches */
.fived-wheel-slot {
  height: 76px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}
.fived-wheel-digit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 76px !important;
  line-height: 76px !important;
  font-size: clamp(32px, 9.5vw, 46px) !important;
  position: relative !important;
  z-index: 1 !important;
}
.fived-wheel-reel-strip {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  transform: translate3d(0, 0, 0) !important;
  animation: fivedWheelRoll var(--fived-roll-duration, 1.85s) cubic-bezier(0.18, 0.88, 0.24, 1) forwards !important;
  will-change: transform !important;
}
.fived-wheel-digit.reel-item {
  min-height: 76px !important;
  height: 76px !important;
  flex: 0 0 76px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: clamp(32px, 9.5vw, 46px) !important;
  line-height: 1 !important;
  width: 100% !important;
}

/* Tabs + history */
.fived-root .tabs-row {
  margin: 14px 0 10px !important;
  gap: 10px !important;
}
.fived-root .tabs-row button {
  height: 38px !important;
  border-radius: 22px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.fived-root .tabs-row button.active {
  background: #ff6b6b !important;
  color: #fff !important;
}
.fived-root .fived-history-wrap {
  margin: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
}

/* Stack everything above history in z:1 */
.fived-root .top-hero-stack,
.fived-root .timer-panel,
.fived-root .fived-latest-card,
.fived-root .fived-ticket-card,
.fived-root .fived-bet-panel,
.fived-root .fived-history-wrap {
  position: relative !important;
  z-index: 1 !important;
}

.fived-root .fived-latest-card {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) 12px 34px !important;
  align-items: center !important;
  gap: 5px !important;
  min-height: 56px !important;
  padding: 9px 9px !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(40, 57, 95, 0.08) !important;
  overflow: hidden !important;
}

.fived-root .fived-latest-label {
  width: auto !important;
  min-width: 0 !important;
  max-width: 54px !important;
  font-size: 10.5px !important;
  line-height: 1.12 !important;
  color: #6d7487 !important;
  overflow-wrap: normal !important;
}

.fived-root .fived-latest-balls {
  min-width: 0 !important;
  width: 100% !important;
  flex: none !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 3px !important;
}

.fived-root .fived-latest-column {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  justify-items: center !important;
  gap: 2px !important;
}

.fived-root .fived-latest-pill {
  width: clamp(21px, 5.9vw, 26px) !important;
  height: clamp(21px, 5.9vw, 26px) !important;
  font-size: clamp(12px, 3.5vw, 15px) !important;
  border-radius: 50% !important;
  background: #f2f4fb !important;
  color: #36405b !important;
}

.fived-root .fived-latest-column span:last-child {
  font-size: 9px !important;
  line-height: 1 !important;
  color: #7c8498 !important;
}

.fived-root .fived-latest-equals {
  min-width: 12px !important;
  text-align: center !important;
  font-size: 15px !important;
  color: #1b2438 !important;
}

.fived-root .fived-latest-total {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  font-size: 15px !important;
  border-radius: 50% !important;
}

@media (max-width: 360px) {
  .fived-root .fived-latest-card {
    grid-template-columns: 48px minmax(0, 1fr) 10px 31px !important;
    gap: 4px !important;
    padding: 8px 7px !important;
  }

  .fived-root .fived-latest-label {
    max-width: 48px !important;
    font-size: 9.5px !important;
  }

  .fived-root .fived-latest-balls {
    gap: 2px !important;
  }

  .fived-root .fived-latest-pill {
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
  }

  .fived-root .fived-latest-column span:last-child {
    font-size: 8px !important;
  }

  .fived-root .fived-latest-total {
    width: 31px !important;
    height: 31px !important;
    flex-basis: 31px !important;
    font-size: 14px !important;
  }
}
