/* HiPay + Betting watch-demo — teal & smoke-white (matches FieldTrade) */

.ft-phone-device--hipay-demo .ft-ma-slide,
.ft-phone-device--betting-demo .ft-ma-slide {
  background: linear-gradient(180deg, #f3f5f7 0%, #ecfdf5 100%);
}

.ft-ma-slide .hx-ma-app,
.ft-ma-slide .bt-ma-app {
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}

/* ── Shared smoke surface ── */
.hx-ma-app,
.bt-ma-app {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 7px;
  line-height: 1.35;
  color: #334155;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 55%, #f0fdfa 100%);
}

.hx-ma-liquid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(45, 212, 191, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.85) 0%, transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.hx-ma-app > *:not(.hx-ma-liquid),
.bt-ma-app > * {
  position: relative;
  z-index: 1;
}

.hx-ma-head,
.bt-ma-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 6px;
  gap: 6px;
  border-bottom: 1px solid #dde3ea;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.hx-ma-head--compact {
  justify-content: flex-start;
  gap: 8px;
  font-size: 7.5px;
  color: #134e4a;
}

.hx-ma-logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 9px;
  color: #0f766e;
}

.hx-ma-badge,
.hx-ma-pill,
.bt-ma-slip {
  font-size: 6px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  color: #0f766e;
}

.hx-ma-back {
  color: #0f766e;
}

.hx-ma-balance,
.bt-ma-balance {
  margin: 8px 10px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dde3ea;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.08);
}

.hx-ma-balance span,
.bt-ma-balance > span:first-child {
  display: block;
  font-size: 6.5px;
  color: #64748b;
}

.hx-ma-balance strong,
.bt-ma-balance strong {
  display: block;
  font-size: 11px;
  margin: 3px 0;
  letter-spacing: -0.02em;
  color: #134e4a;
}

.hx-ma-balance-meta {
  display: flex;
  gap: 8px;
  font-size: 6px;
  color: #0f766e;
  font-weight: 600;
}

.hx-ma-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 10px 8px;
  text-align: center;
  font-size: 6px;
  font-weight: 600;
  color: #0f766e;
}

.hx-ma-actions span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dde3ea;
}

.hx-ma-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 10px;
}

.hx-ma-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  font-size: 6.5px;
}

.hx-ma-list strong {
  color: #134e4a;
}

.hx-ma-body {
  padding: 0 10px 10px;
  flex: 1;
}

.hx-ma-label {
  margin: 0 0 3px;
  font-size: 6px;
  color: #64748b;
  font-weight: 600;
}

.hx-ma-seg {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.hx-ma-seg span {
  flex: 1;
  text-align: center;
  font-size: 5.5px;
  padding: 4px 2px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.hx-ma-seg span.is-active {
  background: #ecfdf5;
  border-color: #99f6e4;
  color: #0f766e;
  font-weight: 700;
}

.hx-ma-field {
  margin-bottom: 6px;
  padding: 5px 7px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #dde3ea;
  font-size: 7px;
  color: #12181c;
}

.hx-ma-field--ok {
  color: #0f766e;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  border-color: #99f6e4;
}

.hx-ma-field--amount {
  font-size: 9px;
  font-weight: 700;
  color: #134e4a;
}

.hx-ma-btn,
.bt-ma-btn {
  width: 100%;
  margin-top: 6px;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
}

.hx-ma-btn--ghost,
.bt-ma-btn--ghost {
  background: #fff;
  border: 1px solid #dde3ea;
  color: #0f766e;
}

.hx-ma-queue-card {
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dde3ea;
  margin-bottom: 6px;
  font-size: 6.5px;
}

.hx-ma-queue-card.is-active {
  border-color: #5eead4;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.1);
}

.hx-ma-queue-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  color: #134e4a;
}

.hx-ma-queue-amt {
  font-size: 9px;
  font-weight: 700;
  margin: 4px 0;
  color: #0f766e;
}

.hx-ma-queue-actions {
  display: flex;
  gap: 4px;
}

.hx-ma-queue-actions .hx-ma-btn {
  flex: 1;
  margin-top: 4px;
}

.hx-ma-success,
.bt-ma-won {
  text-align: center;
  padding: 12px 10px 8px;
}

.hx-ma-success-icon,
.bt-ma-won-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  border: 1px solid #99f6e4;
  color: #0f766e;
}

.hx-ma-success h3,
.bt-ma-won h3 {
  margin: 0 0 2px;
  font-size: 9px;
  color: #134e4a;
}

.hx-ma-success p,
.bt-ma-won p {
  margin: 0;
  font-size: 6px;
  color: #64748b;
}

.hx-ma-receipt {
  margin: 0 10px 8px;
  font-size: 6.5px;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  padding: 4px 8px;
}

.hx-ma-receipt div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
}

.hx-ma-receipt dt {
  color: #64748b;
}

.hx-ma-receipt dd {
  margin: 0;
  font-weight: 600;
  color: #134e4a;
}

/* ── Betting (HITEX Gaming–style, light teal) ── */
.bt-ma-head strong {
  color: #134e4a;
  font-size: 7.5px;
}

.bt-ma-live {
  font-size: 6px;
  font-weight: 800;
  color: #fff;
  background: #0f766e;
  padding: 2px 5px;
  border-radius: 4px;
}

.bt-ma-balance {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.bt-ma-slip {
  margin-left: auto;
}

.bt-ma-jackpot {
  margin: 0 10px 8px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #99f6e4;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.08);
  text-align: center;
}

.bt-ma-jackpot span {
  font-size: 6px;
  color: #64748b;
  font-weight: 600;
}

.bt-ma-jackpot strong {
  display: block;
  font-size: 11px;
  color: #0f766e;
}

.bt-ma-jackpot em {
  font-style: normal;
  font-size: 6px;
  font-weight: 700;
  color: #fff;
  background: #0f766e;
  padding: 2px 8px;
  border-radius: 999px;
}

.bt-ma-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 10px 10px;
}

.bt-ma-app--lobby .bt-ma-cards {
  grid-template-columns: 1fr 1fr;
}

.bt-ma-cards article {
  padding: 6px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dde3ea;
}

.bt-ma-cards strong {
  display: block;
  font-size: 7px;
  color: #134e4a;
}

.bt-ma-cards span:last-child {
  font-size: 6px;
  color: #64748b;
}

.bt-ma-tag {
  font-size: 5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: #ecfdf5;
  color: #0f766e;
  border: 1px solid #99f6e4;
}

.bt-ma-tag--live {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}

.bt-ma-slip-list {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
}

.bt-ma-slip-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 8px;
  margin-bottom: 4px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.bt-ma-odd {
  font-weight: 800;
  color: #0f766e;
}

.bt-ma-slip-foot {
  margin-top: auto;
  padding: 8px 10px 10px;
  border-top: 1px solid #dde3ea;
  background: rgba(255, 255, 255, 0.65);
}

.bt-ma-slip-foot div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  color: #475569;
}

.bt-ma-win {
  color: #0f766e;
}

.bt-ma-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #134e4a;
}

.bt-ma-score em {
  font-style: normal;
  font-size: 7px;
  color: #64748b;
  font-weight: 600;
}

.bt-ma-odds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 10px;
}

.bt-ma-odds-grid button {
  border: 1px solid #dde3ea;
  background: #fff;
  border-radius: 6px;
  padding: 6px 2px;
  color: #475569;
  font-family: inherit;
  font-size: 6px;
}

.bt-ma-odds-grid button.is-hot {
  border-color: #5eead4;
  background: #ecfdf5;
}

.bt-ma-odds-grid strong {
  display: block;
  font-size: 8px;
  color: #0f766e;
}

.bt-ma-feed {
  margin: 8px 10px;
  font-size: 5.5px;
  color: #64748b;
  text-align: center;
}

.bt-ma-won strong {
  font-size: 11px;
  color: #0f766e;
}

.bt-ma-settled-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 8px;
  font-size: 6.5px;
}

.bt-ma-settled-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  margin-bottom: 3px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.bt-ma-settled-list .is-won {
  color: #0f766e;
  background: #ecfdf5;
  border-color: #99f6e4;
}

.bt-ma-settled-list .is-open {
  color: #64748b;
}
