/* HYR CLUB page only, on top of forms.css. Scoped to .mm-club-page. */

.mm-club-page .sc-spiral {
  display: block;
  width: clamp(52px, 6vw, 72px);
  height: auto;
  margin: 0 auto clamp(18px, 2.4vw, 28px);
}
/* the name: HYR CLUB is a short wordmark, so it is set a size up from the other page titles (the line and the
   countdown inside are fitted to its width, see club.js) */
.mm-club-page .sc-title { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -0.02em; }
.mm-club-page .sc-title-text { display: inline-block; white-space: nowrap; }
.mm-club-page .sc-longname { margin: 0 0 clamp(26px, 3.4vw, 40px); color: var(--sc-soft); }

/* the member number box: the letters in front, three digits typed after them, the rule hugging the digits */
.mm-club-page .sc-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.22em;
  margin: 6px 0 0;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
}
.mm-club-page .sc-prefix { font: inherit; letter-spacing: 0.02em; }
/* the rule is the digits' own underline, so it is exactly as wide as they are and sits just beneath them */
.mm-club-page .sc-number-input {
  width: calc(3ch + 0.12em);
  padding: 0;
  border-bottom: 0;
  font: inherit;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.03em;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.1em;
  text-decoration-skip-ink: none;
}
@supports (field-sizing: content) {
  .mm-club-page .sc-number-input { width: auto; min-width: 1ch; field-sizing: content; }
}
.mm-club-page .sc-number-input::placeholder {
  color: rgba(54, 43, 38, 0.3);
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.1em;
}
.mm-club-page .sc-number-input:focus-visible { text-decoration-color: var(--sc-accent); }
.mm-club-page .sc-number-input:focus-visible::placeholder { text-decoration-color: var(--sc-accent); }
/* the members-only line sits just under the long name, in the rust; the two margins collapse to the 8px */
.mm-club-page .sc-members-line { margin: calc(8px - clamp(26px, 3.4vw, 40px)) 0 clamp(26px, 3.4vw, 40px); }
.mm-club-page .sc-toggle { margin: 36px 0 0; }
.mm-club-page .sc-actions-tight { margin-top: 10px; }
.mm-club-page .sc-registered-note { white-space: pre-line; }

/* a number that arrived by DM, shown while its owner tells us who they are */
.mm-club-page .sc-claim-number { margin: 0 0 26px; }

/* ---------- inside ---------- */
.mm-club-page .sc-welcome { margin: 0 0 clamp(22px, 3vw, 34px); }

/* "Your place of awakening" and the countdown are fitted by club.js to the width of the name above */
.mm-club-page .sc-place {
  margin: 0 0 clamp(22px, 3vw, 34px);
  font: inherit;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.mm-club-page .sc-place-text { display: inline-block; white-space: nowrap; }

.mm-club-page .sc-countdown {
  display: inline-flex;
  justify-content: center;
  gap: 0.55em;
  margin: 0 0 clamp(22px, 3vw, 30px);
  font-size: var(--cd, 2.4rem);
  white-space: nowrap;
}
.mm-club-page .sc-countdown div { text-align: center; min-width: 1.55em; }
.mm-club-page .sc-countdown b {
  display: block;
  font: inherit;
  font-size: 1em;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.mm-club-page .sc-countdown span {
  display: block;
  margin-top: 0.3em;
  font-size: 0.2em;
  letter-spacing: 0.14em;
  color: var(--sc-soft);
}
.mm-club-page .sc-awakening { margin: 0; }
.mm-club-page .sc-registered-note { margin: 0 auto; max-width: 520px; }
.mm-club-page .sc-member-foot { margin-top: clamp(26px, 3.4vw, 40px); }

/* the latest Sunday Awakening, and the library */
.mm-club-page .sc-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto 18px;
  background: rgba(54, 43, 38, 0.06);
}
.mm-club-page .sc-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mm-club-page .sc-playing { margin: 0 0 10px; }
.mm-club-page .sc-library {
  list-style: none;
  margin: clamp(30px, 4vw, 44px) auto 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mm-club-page .sc-library-link { text-decoration: none; }
.mm-club-page .sc-library-link:hover,
.mm-club-page .sc-library-link[aria-current="true"] { text-decoration: underline; }

@media (max-width: 760px) {
  .mm-club-page .sc-number-row { font-size: clamp(2rem, 11vw, 2.6rem); }
}
