html, body {
  height: 100%;
}
body {
  min-height: 100dvh;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: none;
}
.card {
  -webkit-tap-highlight-color: transparent;
}
.bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: #0f172a;
  border-top: 2px solid #1e293b;
  color: #e2e8f0;
  font-family: system-ui, 'Segoe UI', Tahoma, sans-serif;
  direction: rtl;
  z-index: 10;
}
.bar-txt {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.bar-btn {
  flex: 0 0 auto;
  background: #38bdf8;
  color: #0b1023;
  border: 0;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}
.ios .bar-txt {
  font-size: 14px;
}

.bar[hidden] {
  display: none;
}
