/* Activity center */
.activity-mode .topbar-links a[href="/activity"] { color: #ef4144; }

.activity-page {
  min-height: calc(100vh - 42px);
  padding: 50px 0 70px;
  background: #f7f5f5;
}

.activity-page > .wrap {
  width: min(1200px, calc(100% - 48px));
  max-width: none;
}

.activity-page .activity-card {
  margin: 0 0 30px;
  padding: 0;
  overflow: hidden;
  border: 2px solid #101010;
  border-radius: 4px;
  background: #fff;
}

.activity-page .activity-card:last-child { margin-bottom: 0; }
.activity-page .act-img { height: auto; aspect-ratio: 1196 / 286; }

.activity-page .act-foot {
  min-height: 58px;
  gap: 20px;
  padding: 10px 20px;
  color: #454545;
}

.activity-page .act-foot em {
  padding: 1px 4px;
  background: #ff9e22;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.activity-page .act-foot b { min-width: 0; overflow: hidden; font-size: 18px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.activity-page .act-foot i { color: #e98610; font-size: 20px; font-weight: 700; white-space: nowrap; }
.activity-page .activity-card:focus-visible { outline: 3px solid #ca2d31; outline-offset: 3px; }

/* Sign-in and account creation */
.auth-mode .main { padding-bottom: 0; }
.auth-mode .footer { margin-top: 0; border-color: #ddd; background: #fff; }
.auth-mode .footer-links { gap: 0; }
.auth-mode .footer-links a { padding: 0 11px; line-height: 1.2; }
.auth-mode .footer-links a + a { border-left: 1px solid #aaa; }

.auth-page-v2 {
  min-height: max(655px, calc(100vh - 270px));
  padding: 103px 0 90px;
}

.auth-page-v2 .auth-v2-inner { width: min(400px, calc(100% - 40px)); max-width: none; grid-template-columns: minmax(0, 1fr); gap: 0; }
.auth-page-v2 .auth-tabs-v2 { justify-content: center; align-items: baseline; gap: 32px; margin-bottom: 22px; border: 0; }
.auth-page-v2 .auth-tabs-v2 h1 { position: relative; margin: 0; padding: 0 0 10px; color: #303030; font-size: 17px; font-weight: 700; line-height: 1.4; }
.auth-page-v2 .auth-tabs-v2 h1::after { position: absolute; bottom: 0; left: 50%; width: 24px; height: 4px; border-radius: 4px; background: #363636; content: ""; transform: translateX(-50%); }
.auth-page-v2 .auth-tabs-v2 a { padding: 0 0 10px; color: #666; font-size: 14px; }
.auth-page-v2 .auth-field-v2 { margin-bottom: 18px; }
.auth-page-v2 .auth-field-v2 label { margin-bottom: 6px; color: #666; font-size: 12px; }
.auth-page-v2 .auth-field-v2 input { border-color: #dadada; border-radius: 4px; color: #222; font-size: 14px; }
.auth-page-v2 .auth-field-v2 input:focus { border-color: #cb2d31; box-shadow: 0 0 0 2px rgba(203, 45, 49, .12); }
.auth-page-v2 .auth-submit-v2 { margin: 2px 0 0; border-radius: 4px; background: #cb2d31; font-size: 15px; }
.auth-page-v2 .auth-submit-v2:hover { background: #ad2328; }
.auth-page-v2 .auth-links-v2 { justify-content: flex-end; margin-top: 14px; font-size: 13px; }
.auth-page-v2 .auth-terms { margin-top: 35px; color: #777; font-size: 12px; }
.auth-page-v2 .auth-terms a, .auth-page-v2 .auth-links-v2 a { color: #4b5660; }
.auth-page-v2 .auth-agree-v2 { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; color: #606060; font-size: 12px; }
.auth-page-v2 .auth-agree-v2 input { margin: 2px 0 0; accent-color: #cb2d31; }
