:root {
  --tg-theme-bg-color: #ffffff;
  --tg-theme-text-color: #000000;
  --tg-theme-hint-color: #999999;
  --tg-theme-link-color: #2481cc;
  --tg-theme-button-color: #2481cc;
  --tg-theme-button-text-color: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  margin: 0;
  padding: 16px;
  background-color: var(--tg-theme-bg-color);
  color: var(--tg-theme-text-color);
  line-height: 1.5;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 24px;
}

.header-image {
  width: 60%;
  max-width: 780px;
  height: auto;
  aspect-ratio: 780/436;
  object-fit: contain;
  margin-bottom: 16px;
  margin-top: 48px;
}

.bot-name {
  font-size: 1.8em;
  margin: 24px 0;
  text-align: center;
  font-weight: normal;
}

.section {
  background: rgba(36, 129, 204, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--tg-theme-button-color);
}

.section-content {
  margin-bottom: 16px;
}
.responsibilities {
  margin-top: 20px;
}

.command {
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.command-name {
  padding-left: 4px;
  font-weight: bold;
  color: var(--tg-theme-link-color);
}
.command-name2 {
  margin-top: 5px;
  padding-left: 4px;
  font-weight: bold;
  color: var(--tg-theme-link-color);
}

.command-desc {
  color: var(--tg-theme-text-color);
  margin-left: 4px;
  padding-bottom: 5px;
}

.alias {
  color: var(--tg-theme-hint-color);
  font-size: 0.9em;
  margin-top: 4px;
  padding-left: 2px;
  font-style: italic;
}

.list-item {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.list-item::before {
  content: "•";
  position: absolute;
  left: 0;
}

.sub-command {
  margin-left: 20px;
}

.sub-command::before {
  content: "⤷";
  margin-right: 8px;
}

.time-format {
  background: rgba(36, 129, 204, 0.05);
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
}

.footer {
  text-align: center;
  margin-top: 32px;
  padding: 16px;
  background: rgba(36, 129, 204, 0.1);
  border-radius: 8px;
}

.footer a {
  display: block;
  margin: 8px 0;
}

a {
  color: var(--tg-theme-link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tg-theme-bg-color: #1f1f1f;
    --tg-theme-text-color: #ffffff;
    --tg-theme-hint-color: #aaaaaa;
    --tg-theme-link-color: #64b5f6;
    --tg-theme-button-color: #64b5f6;
  }

  .section {
    background: rgba(100, 181, 246, 0.1);
  }

  .command {
    background: rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 600px) {
  .header-image {
    max-width: 100%;
  }

  .container {
    padding: 8px;
  }
}
