:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 16px;
  font-family: Arial, sans-serif;
  background: #121212;
  color: #e6e6e6;
}

.page-header {
  position: sticky;
  top: 0;
  background: #121212;
  padding-bottom: 12px;
  z-index: 10;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.title {
  font-size: 1.3rem;
  font-weight: 700;
}

.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.actions a,
.actions button {
  background: #2a2a2a;
  color: #e6e6e6;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  padding: 6px 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.status {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #bdbdbd;
}

.panel {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  background: #1a1a1a;
}

.panel h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.news-item {
  padding: 10px 0;
  border-top: 1px solid #2a2a2a;
}

.news-item:first-child {
  border-top: none;
  padding-top: 0;
}

.news-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.news-text {
  color: #c9c9c9;
  font-size: 0.95rem;
}

.news-link {
  margin-top: 6px;
}

.news-link a {
  color: #8ecbff;
  text-decoration: none;
}

.market-list,
.rmv-list {
  display: grid;
  gap: 6px;
}

.empty {
  color: #9a9a9a;
}
