.p80-page .p80-home-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p80-page .p80-entry-card {
  min-height: 260px;
}

.p80-entry-icon.is-orange {
  background: var(--p80-orange-soft);
  color: var(--p80-orange);
}

.p80-badge.is-orange {
  background: var(--p80-orange-soft);
  color: var(--p80-orange);
}

.p80-btn.is-orange {
  border-color: var(--p80-orange);
  background: var(--p80-orange);
  color: #fff;
}

.p80-btn.is-orange:hover,
.p80-btn.is-orange:focus-visible {
  border-color: #c35a0a;
  background: #c35a0a;
}

.p80-page .p80-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p80-page .p80-stat strong {
  min-height: 30px;
  font-size: 24px;
}

.p80-home-actions {
  display: grid;
  gap: 10px;
}

.p80-home-actions .p80-btn {
  width: 100%;
}

.p80-home-empty {
  margin: 0;
  color: var(--p80-muted);
  line-height: 1.6;
}

.p80-home-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
}

.p80-home-empty-actions a {
  color: var(--p80-blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.p80-home-empty-actions a:hover,
.p80-home-empty-actions a:focus-visible {
  text-decoration: underline;
}

.p80-home-record-link {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  width: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.p80-home-record-link:hover strong,
.p80-home-record-link:focus-visible strong {
  color: var(--p80-blue);
}

.p80-home-record-link .p80-record-copy {
  min-width: 0;
}

.p80-home-record-link .p80-record-copy strong,
.p80-home-record-link .p80-record-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p80-user-meta .p80-home-profile-link {
  color: #dbeafe;
  font-weight: 800;
  text-decoration: none;
}

.p80-user-meta .p80-home-profile-link:hover,
.p80-user-meta .p80-home-profile-link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .p80-page .p80-home-grid,
  .p80-page .p80-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .p80-page .p80-home-grid,
  .p80-page .p80-stats-grid {
    grid-template-columns: 1fr;
  }
}
