:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101418;
  color: #f2f4f6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
}

#app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: calc(12px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  max-width: 640px;
  margin: 0 auto;
}

h1 { font-size: 1.4rem; margin: 8px 0 16px; }

h2 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8ea0ae;
  margin: 8px 0 10px;
}

button, input {
  font: inherit;
  min-height: 44px;
}

button {
  border: 0;
  border-radius: 12px;
  background: #2f6fed;
  color: white;
  padding: 0 16px;
}

input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #33404c;
  background: #1a2128;
  color: inherit;
  padding: 0 12px;
}

.card, .bubble, .status {
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 10px;
}

.card, .bubble { background: #1a2128; }

.card { width: 100%; text-align: left; }

.live {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #8fd0a4;
}

.row { display: flex; gap: 8px; }

.row input { flex: 1; }

.mine { background: #24344a; }

.status { color: #c5d0da; background: transparent; padding-left: 0; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.ghost { background: transparent; color: #c5d0da; }
