.txdemo-spacer { height: 76px; width: 100%; flex: none; grid-column: 1 / -1; }

.txdemo-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: #18120a;
  border-top: 2px solid #f5a524;
  color: #f4f4f5;
  font: 400 13px/1.45 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}

.txdemo-bar * { box-sizing: border-box; }

.txdemo-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 6px;
  background: #f5a524;
  color: #18120a;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.txdemo-text { margin: 0; flex: 1 1 auto; color: #d4d4d8; }
.txdemo-text b { color: #fafafa; font-weight: 600; }

.txdemo-bar .txdemo-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.txdemo-bar .txdemo-ghost { color: #e4e4e7; border-color: rgba(255, 255, 255, .18); background: transparent; }
.txdemo-bar .txdemo-ghost:hover { background: rgba(255, 255, 255, .07); }
.txdemo-bar .txdemo-primary { background: #f5a524; color: #18120a; }
.txdemo-bar .txdemo-primary:hover { background: #ffb63f; }

.tx-has-tabbar .txdemo-bar { bottom: calc(var(--tx-tabbar-h, 64px) + env(safe-area-inset-bottom)); }
.tx-has-tabbar.tx-has-buybar .txdemo-bar { bottom: calc(var(--tx-tabbar-h, 64px) + env(safe-area-inset-bottom) + 76px); }
.tx-has-tabbar .txdemo-spacer { height: 150px; }
.tx-has-tabbar.tx-has-buybar .txdemo-spacer { height: 226px; }

@media (max-width: 900px) {
  .txdemo-bar { flex-wrap: wrap; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .txdemo-text { flex: 1 1 100%; order: 3; font-size: 12.5px; }
  .txdemo-spacer { height: 136px; }
  .tx-has-tabbar .txdemo-spacer { height: 210px; }
  .tx-has-tabbar.tx-has-buybar .txdemo-spacer { height: 286px; }
}

.txdemo-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .66);
  font: 400 14px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.txdemo-card {
  width: min(460px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid #2a2a31;
  background: #121216;
  color: #e4e4e7;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .7);
  text-align: left;
}

.txdemo-card .txdemo-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f5a524;
  color: #18120a;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.txdemo-card h2 { margin: 14px 0 10px; font-size: 20px; line-height: 1.25; color: #fafafa; font-weight: 600; }
.txdemo-card p { margin: 0 0 12px; }
.txdemo-card p b { color: #fafafa; font-weight: 600; }
.txdemo-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.txdemo-card .txdemo-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 9px;
  border: 1px solid transparent;
  text-decoration: none;
  font: 600 14px/1 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  cursor: pointer;
}

.txdemo-card .txdemo-ghost { color: #e4e4e7; border-color: #2f2f37; background: transparent; }
.txdemo-card .txdemo-ghost:hover { background: rgba(255, 255, 255, .06); }
.txdemo-card .txdemo-primary { background: #f5a524; color: #18120a; }
.txdemo-card .txdemo-primary:hover { background: #ffb63f; }
