*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f4f6fb;
  color: #1b2334;
  min-height: 100vh;
}

.splash {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 16px;
  color: #6b7692;
  font-size: .92rem;
}

.spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #d7dded;
  border-top-color: #3b5bdb;
  animation: spin .85s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid #e4e9f4;
}

.topbar__brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.02em; }

.topbar__brand .mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #3b5bdb;
  color: #fff;
  font-size: .78rem;
}

.topbar__right { display: flex; align-items: center; gap: 12px; }

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef1fb;
  color: #3b5bdb;
  font-size: .78rem;
  font-weight: 650;
}

.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1b2334;
  color: #fff;
  font-size: .82rem;
  font-weight: 650;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (max-width: 820px) { .layout { grid-template-columns: 1fr; } }

.panel {
  background: #fff;
  border: 1px solid #e4e9f4;
  border-radius: 14px;
  padding: 22px 24px;
}

.panel h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: #6b7692; }

.feed, .board { list-style: none; margin-top: 14px; }

.feed__item { padding: 14px 0; border-bottom: 1px solid #eef1f7; }
.feed__item:last-child { border-bottom: 0; }
.feed__line { font-size: .94rem; }
.feed__amount { color: #2f9e63; font-weight: 700; }
.feed__message { margin-top: 4px; font-size: .86rem; color: #6b7692; }
.feed__tag { color: #3b5bdb; font-weight: 650; }

.board__row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  font-size: .9rem;
}

.board__rank { color: #8b95ad; font-size: .8rem; }
.board__points { font-weight: 700; color: #1b2334; }
