:root {
  --bg: #000;
  --ink: #f3efe6;
  --muted: #b7b1a6;
  --line: #2a2a2a;
  --accent: #fd5a1e;
  --heading: #e4d3a6;
  --hover: #707070;
}

html {
  background: #000;
}

body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--hover);
}

.site {
  box-sizing: border-box;
  max-width: 892px;
  margin: 0 auto;
  padding: 18px 16px 12px;
  border-bottom: 1px solid var(--accent);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand:hover .host {
  color: var(--hover);
}

.avatar {
  width: 48px;
  height: 48px;
  flex: none;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.host {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
}

.board {
  margin: 0;
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 42px;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.wrap {
  box-sizing: border-box;
  max-width: 892px;
  margin: 0 auto;
  padding: 16px 16px 8px;
}

h2 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
}

.foot {
  box-sizing: border-box;
  max-width: 892px;
  margin: 0 auto;
  padding: 8px 16px 28px;
  color: var(--muted);
  font-size: 13px;
}

.foot p {
  margin: 0 0 4px;
}

@media (max-width: 640px) {
  .board {
    font-size: 32px;
  }
}

/* --- карточки акций (как плитки аниме) --- */
.block { margin: 18px 0 26px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.stock {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line, #2a2a2a);
  background: #070707;
  padding: 12px;
}
.stock-cover {
  flex: 0 0 64px;
  width: 64px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1e1e1e;
  background:
    linear-gradient(160deg, #101010 0%, #050505 100%);
}
.ticker {
  font-family: Palatino, Georgia, serif;
  font-size: 18px;
  letter-spacing: .08em;
  color: var(--accent, #fd5a1e);
}
.stock-body { min-width: 0; }
.stock-body h3 {
  margin: 0 0 3px;
  font-family: Palatino, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading, #e4d3a6);
}
.stock-meta {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7d7d78;
}
.stock-about { margin: 0; font-size: 13px; line-height: 1.42; color: #b7b1a6; }
.note { color: #7d7d78; font-size: 13px; max-width: 62ch; }

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .stock-cover { flex-basis: 54px; width: 54px; height: 74px; }
}
