/* Permanent dark. System type. No imports, fonts, scripts, or tracking. */
:root {
  color-scheme: only dark;
  --background: #080808;
  --text: #e9e9e7;
  --muted: #989896;
  --gutter: clamp(1.25rem, 4.2vw, 5rem);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 16rem; }
p, h1 { margin: 0; }
::selection { background: #dededb; color: #080808; }

.page {
  width: min(100%, 60rem);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding-top: clamp(3rem, 9vh, 7rem);
  padding-bottom: 8rem;
}

h1 { display: flex; align-items: baseline; gap: .25rem; font-weight: 400; }
.wordmark {
  display: block;
  width: fit-content;
  font-size: clamp(3.75rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.07em;
  color: #bcbcb9;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .wordmark {
    background: linear-gradient(170deg, #d7d7d4 10%, #a1a19e 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.club {
  display: block;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .025em;
  color: var(--muted);
}

.welcome {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #bcbcb9;
}
.welcome h1 { font: inherit; }
.welcome a {
  color: inherit;
  margin-right: -.12em;
  text-decoration-color: #686866;
  text-underline-offset: .18em;
}
.thanks { color: var(--muted); }

.activity {
  width: min(100%, 30rem);
  margin-top: clamp(2rem, 5vh, 3.5rem);
  padding-block: 1rem .875rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.activity-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.activity-identity {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.activity-avatar {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  border-radius: 50%;
  background-image: url("activity-source.png");
  background-repeat: no-repeat;
  background-size: 26.39rem 19.33rem;
  background-position: -3rem -6.51rem;
}
.activity-name {
  font-size: 1.125rem;
  line-height: 1.15;
  color: #e5e5e3;
}
.activity-handle,
.activity-source,
.activity-updated {
  color: var(--muted);
}
.activity-handle { margin-top: .15rem; font-size: 1rem; }
.activity-source {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.activity-grid {
  display: block;
  width: 100%;
  height: auto;
  margin-block: 1rem 1.125rem;
}
.activity-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}
.activity-stats > div {
  min-width: 0;
  padding-inline: .75rem;
  text-align: center;
}
.activity-stats > div:first-child { padding-left: 0; }
.activity-stats > div + div { border-left: 1px solid #292929; }
.activity-stats dd {
  margin: 0;
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -.04em;
  color: #e7e7e5;
  white-space: nowrap;
}
.activity-stats dt {
  margin-top: .25rem;
  font-size: .75rem;
  line-height: 1.35;
  color: var(--muted);
}
.activity-updated {
  margin-top: .75rem;
  font-size: .6875rem;
  line-height: 1.4;
  text-align: right;
}

@media (max-width: 40rem) {
  .page { padding-inline: clamp(1.5rem, 8vw, 3rem); }
  main { padding-top: 8vh; }
  .activity { margin-top: clamp(2rem, 5vh, 3rem); }
  .activity-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1rem;
  }
  .activity-stats > div:nth-child(3) { border-left: 0; }
  .activity-stats > div:nth-child(odd) { padding-left: 0; }
  .activity-stats > div:nth-child(even) { padding-right: 0; }
  .activity-stats dd { font-size: clamp(1.25rem, 5vw, 1.5rem); }
}

@media (forced-colors: active) {
  .wordmark { background: none; color: CanvasText; }
}
