/* Follows the Telegram theme (variables set by telegram-web-app.js), plain defaults elsewhere. */
:root {
  --bg: var(--tg-theme-bg-color, #ffffff);
  --text: var(--tg-theme-text-color, #1c1c1e);
  --hint: var(--tg-theme-hint-color, #707579);
  --section-bg: var(--tg-theme-secondary-bg-color, #f2f2f7);
  --accent: var(--tg-theme-button-color, #2481cc);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1 { font-size: 22px; margin: 0 0 4px; }

.hello { color: var(--hint); margin: 0 0 16px; }

.status { color: var(--hint); text-align: center; margin-top: 40vh; white-space: pre-line; }
.status:empty { display: none; }

.sections { list-style: none; margin: 0; padding: 0; }

.sections li {
  background: var(--section-bg);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 2px solid transparent;
}

.sections li.current { border-color: var(--accent); }

.sections .title { display: block; }
.sections .soon { display: block; color: var(--hint); font-size: 14px; }
