:root {
  --bg: #0f1115;
  --panel: #14161c;
  --border: #262a33;
  --text: #d6dae1;
  --muted: #8a909c;
  --accent: #6ee7a8;
  --on-accent: #07130d;
  --warn: #f0b35a;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
}
.status {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
  text-align: center;
}
.status[hidden] {
  display: none;
}
.mark {
  color: var(--accent);
}
#message {
  max-width: 28em;
  margin: 0;
}
button {
  font: inherit;
  padding: 10px 20px;
  border-radius: 8px;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  min-height: 44px;
}
button[hidden] {
  display: none;
}
/* Tamga's frame keeps out of a phone's notch and home bar: a frame's own env(safe-area-inset-*) is 0 */
.app {
  position: fixed;
  inset: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  width: calc(100% - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  height: calc(100% - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  border: 0;
  background: var(--bg);
}
.line {
  position: fixed;
  top: calc(8px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--warn);
  font-size: 14px;
  z-index: 10;
  pointer-events: none;
}
.line[hidden] {
  display: none;
}
