.top-links {
  display: flex;
  gap: 18px;
}

.metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.event-row {
  grid-template-columns: 190px 1fr 210px 20px;
}

.status.waiting,
.status.offered {
  background: #fff2cf;
  color: #795a00;
}

.status.replacement {
  background: #eee6ff;
  color: #5b3394;
}

.status.confirmed {
  background: #e3f3e9;
  color: #176241;
}

.status.declined,
.status.cancelled,
.status.expired {
  background: #f7e4e2;
  color: #982c24;
}

.comic-body {
  background: linear-gradient(145deg, #f8f4ed 0, #f4eee4 100%);
}

.comic-header {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 74px;
  padding: 12px max(22px, calc((100vw - 1260px) / 2));
  display: flex;
  align-items: center;
  gap: 34px;
  background: rgba(32, 31, 28, .97);
  color: #fff;
}

.comic-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
}

.comic-brand span {
  font-size: 27px;
}

.comic-brand small {
  color: #aaa39a;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.comic-header nav {
  display: flex;
  gap: 8px;
}

.comic-header nav a {
  padding: 10px 13px;
  border-radius: 10px;
  color: #cfc8bf;
}

.comic-header nav a.active,
.comic-header nav a:hover {
  background: #383530;
  color: #fff;
}

.comic-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #cfc8bf;
}

.comic-account form {
  margin: 0;
}

.comic-main {
  margin: 0 auto;
  max-width: 1260px;
  padding: 34px 22px 60px;
}

.comic-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
}

.comic-title h1 {
  margin: 0;
  font-size: 34px;
}

.participation-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.participation-strip article {
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: 14px;
  background: #f2eee7;
}

.participation-strip span,
.application-list span {
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  margin: 30px 0 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 25px;
}

.comic-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comic-event-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 245px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.comic-event-card h3 {
  font-size: 21px;
  margin: 6px 0;
}

.event-date {
  color: var(--accent);
  font-weight: 800;
  margin: 0;
}

.apply-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.event-state {
  padding: 11px 13px;
  border-radius: 10px;
  font-weight: 750;
  background: #f1ede7;
  color: var(--muted);
}

.event-state.confirmed {
  background: #e3f3e9;
  color: #176241;
}

.event-state.waiting,
.event-state.offered {
  background: #fff2cf;
  color: #795a00;
}

.event-state.replacement {
  background: #eee6ff;
  color: #5b3394;
}

.application-list {
  display: grid;
}

.application-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 2px;
  border-top: 1px solid var(--line);
}

.application-list article:first-child {
  border-top: 0;
}

.application-list article > div {
  display: grid;
  gap: 6px;
}

@media (max-width: 720px) {
  .top-links {
    display: none;
  }

  .comic-header {
    position: static;
    display: grid;
    gap: 10px;
    padding: 14px;
  }

  .comic-header nav {
    order: 3;
    overflow: auto;
  }

  .comic-account {
    position: absolute;
    right: 14px;
    top: 12px;
    display: block;
    text-align: right;
  }

  .comic-account span {
    font-size: 12px;
  }

  .comic-account .link-button {
    margin-left: auto;
  }

  .comic-main {
    padding: 24px 14px 40px;
  }

  .comic-title h1 {
    font-size: 27px;
  }

  .comic-event-grid,
  .apply-form {
    grid-template-columns: 1fr;
  }

  .application-list article {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-row {
    grid-template-columns: 1fr 80px;
  }
}
