.community-page {
  --community-night: #080b0a;
  --community-panel: #101713;
  --community-panel-soft: #16211b;
  --community-grid: rgba(255, 255, 255, 0.08);
  color: var(--paper-soft);
  background:
    radial-gradient(circle at 78% 4%, rgba(211, 170, 53, 0.16), transparent 28rem),
    linear-gradient(180deg, #0b100d 0%, #050706 100%);
}

.community-page .section-kicker,
.community-page .eyebrow {
  color: #e8c65b;
}

.community-page .section-title {
  color: #fff;
}

.community-hero {
  position: relative;
  display: grid;
  min-height: clamp(31rem, 72vh, 50rem);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8.5rem) var(--gutter);
  border-bottom: 1px solid var(--community-grid);
}

.community-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--community-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--community-grid) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  opacity: 0.42;
}

.community-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 69rem;
}

.community-display {
  max-width: 14ch;
  margin-bottom: 1.4rem;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7.4vw, 8.6rem);
  font-weight: 620;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.community-display span {
  color: transparent;
  background: var(--gold-metal);
  background-clip: text;
  background-position: var(--gold-position) center;
  background-size: 250% 100%;
  -webkit-background-clip: text;
}

.community-lede {
  max-width: 46rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.season-emblem {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(10rem, 18vw, 18rem);
  aspect-ratio: 1;
  place-content: center;
  color: #0a0c0b;
  background: var(--gold-metal);
  background-position: var(--gold-position) center;
  background-size: 250% 100%;
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  filter: drop-shadow(0 1.5rem 2.5rem rgba(211, 170, 53, 0.16));
  text-align: center;
}

.season-emblem::before {
  position: absolute;
  inset: 0.8rem;
  content: "";
  border: 1px solid rgba(8, 11, 10, 0.4);
  clip-path: inherit;
}

.season-emblem span {
  font-family: var(--display);
  font-size: clamp(3.7rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.75;
}

.season-emblem small {
  margin-top: 0.7rem;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.24em;
}

.season-access {
  display: grid;
  max-width: 55rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.1rem;
  backdrop-filter: blur(1rem);
}

.season-access__icon {
  display: grid;
  width: 2.8rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: var(--gold-metal);
  border-radius: 50%;
}

.season-access p {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.87rem;
}

.season-access .season-access__xp {
  margin-top: 0.45rem;
  color: #f0d46e;
  font-size: 0.72rem;
  font-weight: 800;
}

.season-player {
  display: grid;
  max-width: 47rem;
  grid-template-columns: auto minmax(12rem, 1fr);
  align-items: center;
  gap: 0.65rem 1.3rem;
  margin-top: 2rem;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
}

.season-player__identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 750;
}

.season-player__level {
  padding: 0.35rem 0.55rem;
  color: var(--ink);
  background: var(--gold-metal);
  border-radius: 0.4rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.season-player__bar {
  height: 0.58rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.season-player__bar span {
  display: block;
  width: var(--season-progress, 0%);
  height: 100%;
  background: var(--gold-metal);
  background-position: var(--gold-position) center;
  background-size: 250% 100%;
  border-radius: inherit;
}

.season-player p {
  grid-column: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
}

.season-board,
.community-section {
  padding: clamp(3.5rem, 7vw, 7rem) var(--gutter);
}

.season-earn {
  display: grid;
  gap: 1.7rem;
  border-bottom: 1px solid var(--community-grid);
}

.season-earn__header,
.season-personal > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.season-earn__header > p {
  max-width: 35rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.season-rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.season-rule {
  display: grid;
  min-height: 13rem;
  align-content: start;
  padding: 1.25rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 55%),
    var(--community-panel);
  border: 1px solid var(--community-grid);
  border-radius: 1rem;
}

.season-rule--provider {
  border-color: rgba(211, 170, 53, 0.3);
}

.season-rule__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.season-rule__top span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-rule__top strong {
  flex: none;
  color: #f1d66f;
  font-size: 0.76rem;
}

.season-rule h3 {
  margin: 1.35rem 0 0.45rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1;
}

.season-rule > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.8rem;
}

.season-quota {
  display: grid;
  gap: 0.42rem;
  margin-top: auto;
  padding-top: 1.15rem;
}

.season-quota span {
  color: #e9cb67;
  font-size: 0.68rem;
  font-weight: 800;
}

.season-quota::after {
  height: 0.28rem;
  content: "";
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.season-quota i {
  z-index: 1;
  width: var(--quota-progress, 0%);
  height: 0.28rem;
  margin-top: -0.7rem;
  background: var(--gold-metal);
  border-radius: 999px;
}

.season-board {
  overflow: hidden;
  border-bottom: 1px solid var(--community-grid);
}

.season-board__header,
.schedule-browser__header,
.profile-context,
.availability-editor,
.member-bookings {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.season-board__controls {
  display: flex;
  gap: 0.55rem;
}

.season-board__controls button {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
}

.season-board__controls button:hover {
  color: var(--ink);
  background: var(--gold);
}

.season-track {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  padding: 0.6rem 0 1.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.season-track::-webkit-scrollbar {
  display: none;
}

.season-level {
  position: relative;
  display: grid;
  min-width: clamp(16rem, 23vw, 21rem);
  min-height: 27rem;
  grid-template-rows: auto 10rem 1fr auto;
  overflow: hidden;
  padding: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 55%),
    var(--community-panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  scroll-snap-align: start;
}

.season-level--current {
  border-color: #dcb638;
  box-shadow: 0 0 0 1px rgba(220, 182, 56, 0.25), 0 1.2rem 3.5rem rgba(211, 170, 53, 0.13);
}

.season-level--complete {
  border-color: rgba(99, 223, 172, 0.38);
}

.season-level__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.season-level__number {
  color: #fff;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.season-level__xp {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.season-level__visual {
  display: grid;
  place-items: center;
  margin: 1rem -1rem;
  background:
    radial-gradient(circle, rgba(211, 170, 53, 0.3), transparent 55%),
    repeating-linear-gradient(120deg, transparent 0 0.7rem, rgba(255, 255, 255, 0.025) 0.7rem 0.76rem);
}

.season-level__visual span {
  display: grid;
  width: 5.8rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: var(--gold-metal);
  background-position: var(--gold-position) center;
  background-size: 250% 100%;
  clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
  font-size: 2rem;
}

.season-level--locked .season-level__visual,
.season-level--hidden .season-level__visual {
  filter: saturate(0.1);
  opacity: 0.55;
}

.season-level__title {
  margin-bottom: 0.3rem;
  color: #e8c65b;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.season-level h3 {
  margin-bottom: 0.55rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
}

.season-level__content > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.season-level__state {
  width: fit-content;
  margin-top: 1rem;
  padding: 0.3rem 0.55rem;
  color: #92e7c1;
  background: rgba(12, 107, 77, 0.2);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-level__state--claimed {
  color: #f4dc81;
  background: rgba(211, 170, 53, 0.16);
}

.season-level__state--fulfilled {
  color: #d9e4de;
  background: rgba(255, 255, 255, 0.09);
}

.season-level__claim {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1rem;
}

.season-level__claim .season-level__state {
  margin-top: 0;
}

.season-level__claim button {
  padding: 0.38rem 0.65rem;
  color: #0a0c0b;
  background: var(--gold-metal);
  border: 0;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.season-level--current .season-level__state {
  color: #f4dc81;
  background: rgba(211, 170, 53, 0.16);
}

.season-level__veil {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 2rem;
  background: rgba(5, 7, 6, 0.62);
  backdrop-filter: blur(9px);
  text-align: center;
}

.season-level__veil b {
  color: #fff;
  font-family: var(--display);
  font-size: 1.25rem;
}

.season-level__veil small {
  color: #e8c65b;
}

.season-scroll-progress {
  height: 2px;
  margin-top: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
}

.season-scroll-progress span {
  display: block;
  width: 15%;
  height: 100%;
  background: var(--gold-metal);
  transform: translateX(0);
  transform-origin: left;
}

.season-how {
  display: grid;
  gap: 2rem;
}

.season-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--community-grid);
  border: 1px solid var(--community-grid);
  border-radius: 1rem;
}

.season-actions-grid article {
  padding: clamp(1.4rem, 3vw, 2.6rem);
  background: var(--community-panel);
}

.season-actions-grid article > span {
  color: #e8c65b;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.season-actions-grid h3 {
  margin: 1.2rem 0 0.55rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
}

.season-actions-grid p,
.community-fineprint {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
}

.community-fineprint {
  max-width: 60rem;
  font-size: 0.78rem;
}

.season-personal {
  display: grid;
  gap: 1.7rem;
}

.season-personal > header > strong {
  color: transparent;
  background: var(--gold-metal);
  background-clip: text;
  -webkit-background-clip: text;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
}

.season-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.season-ledger article,
.season-ledger-empty,
.season-gifts article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  background: var(--community-panel);
  border: 1px solid var(--community-grid);
  border-radius: 0.85rem;
}

.season-ledger__mark {
  display: grid;
  width: 2.35rem;
  aspect-ratio: 1;
  place-items: center;
  color: #11130d;
  background: var(--gold-metal);
  clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
}

.season-ledger article > div {
  display: grid;
}

.season-ledger article strong,
.season-ledger-empty h3,
.season-gifts strong {
  color: #fff;
}

.season-ledger article small,
.season-ledger-empty p,
.season-gifts p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.season-ledger article > b {
  color: #92e7c1;
  font-size: 0.78rem;
}

.season-ledger article > b.is-negative {
  color: #f0a79d;
}

.season-ledger-empty {
  grid-template-columns: auto minmax(0, 1fr);
}

.season-ledger-empty > span {
  color: #e8c65b;
  font-size: 2rem;
}

.season-ledger-empty h3,
.season-ledger-empty p,
.season-gifts p {
  margin: 0;
}

.season-gifts {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.season-gifts article > span {
  padding: 0.35rem 0.6rem;
  color: #f4dc81;
  background: rgba(211, 170, 53, 0.14);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
}

.schedule-hero {
  min-height: clamp(27rem, 60vh, 43rem);
}

.schedule-hero__date {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  color: var(--ink);
  background: var(--gold-metal);
  background-position: var(--gold-position) center;
  background-size: 250% 100%;
  border-radius: 1rem;
  box-shadow: 0 1rem 4rem rgba(211, 170, 53, 0.14);
}

.schedule-hero__date strong {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.8;
}

.schedule-hero__date span {
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.14em;
}

.community-status {
  margin: 2rem var(--gutter) 0;
  padding: 1rem 1.2rem;
  border-radius: 0.8rem;
}

.community-status--success {
  color: #c7f4df;
  background: rgba(12, 107, 77, 0.25);
  border: 1px solid rgba(80, 207, 151, 0.32);
}

.community-status--error {
  color: #ffd4ce;
  background: rgba(163, 50, 36, 0.24);
  border: 1px solid rgba(239, 111, 96, 0.32);
}

.profile-context {
  border-bottom: 1px solid var(--community-grid);
}

.role-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.role-chips span {
  padding: 0.55rem 0.8rem;
  color: #f3d977;
  background: rgba(211, 170, 53, 0.12);
  border: 1px solid rgba(211, 170, 53, 0.35);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.availability-editor,
.own-availability,
.member-bookings {
  align-items: start;
  border-bottom: 1px solid var(--community-grid);
}

.availability-editor > header,
.own-availability > div:first-child,
.member-bookings > div:first-child {
  max-width: 31rem;
}

.availability-editor > header p:last-child {
  color: rgba(255, 255, 255, 0.58);
}

.availability-form {
  display: grid;
  width: min(100%, 56rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--community-panel);
  border: 1px solid var(--community-grid);
  border-radius: 1.2rem;
}

.community-page .field {
  display: grid;
  gap: 0.35rem;
}

.community-page .field label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 750;
}

.community-page .field small {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}

.community-page .field input,
.community-page .field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  color: #fff;
  background: #0a0e0c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.58rem;
  color-scheme: dark;
}

.community-page .field input:focus,
.community-page .field select:focus {
  border-color: #d7b54d;
  outline: 2px solid rgba(211, 170, 53, 0.22);
}

.availability-form__note {
  grid-column: 1 / -1;
}

.availability-form .btn {
  justify-self: start;
}

.own-availability {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.own-availability__list {
  display: grid;
  width: min(100%, 55rem);
  gap: 0.6rem;
}

.own-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--community-panel);
  border: 1px solid var(--community-grid);
  border-radius: 0.8rem;
}

.own-slot > div {
  display: grid;
}

.own-slot > div span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.7rem;
}

.own-slot > div strong {
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
}

.role-chip {
  padding: 0.35rem 0.55rem;
  color: #f5dd88;
  background: rgba(211, 170, 53, 0.12);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.schedule-browser {
  display: grid;
  gap: 2rem;
  border-bottom: 1px solid var(--community-grid);
}

.schedule-browser__header {
  align-items: end;
}

.schedule-filters {
  display: flex;
  align-items: end;
  gap: 0.65rem;
}

.schedule-filters .field {
  min-width: 9rem;
}

.schedule-filters .btn {
  min-height: 3rem;
}

.schedule-days {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}

.schedule-day {
  display: grid;
  min-width: min(24rem, 86vw);
  grid-template-columns: 4.6rem minmax(0, 1fr);
  overflow: hidden;
  background: var(--community-panel);
  border: 1px solid var(--community-grid);
  border-radius: 1rem;
  scroll-snap-align: start;
}

.schedule-day > header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.1rem 0.5rem;
  background: rgba(255, 255, 255, 0.035);
  border-right: 1px solid var(--community-grid);
}

.schedule-day > header span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.schedule-day > header strong {
  color: #fff;
  font-family: var(--display);
  font-size: 1.25rem;
}

.schedule-day__slots {
  display: grid;
}

.schedule-slot {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border-bottom: 1px solid var(--community-grid);
}

.schedule-slot:last-child {
  border-bottom: 0;
}

.schedule-slot__identity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.schedule-slot__identity > span {
  display: grid;
  width: 2.2rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: var(--gold-metal);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 700;
}

.schedule-slot__identity div {
  display: grid;
}

.schedule-slot__identity small {
  color: rgba(255, 255, 255, 0.46);
}

.schedule-slot__time {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
}

.schedule-slot__time strong {
  color: #fff;
  font-family: var(--display);
  font-size: 1.55rem;
}

.schedule-slot__time span,
.schedule-slot__note {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.8rem;
}

.schedule-slot__note {
  margin: 0;
}

.schedule-slot__booking {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(4rem, 0.65fr);
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--community-grid);
}

.schedule-slot__message,
.schedule-slot__booking .btn {
  grid-column: 1 / -1;
}

.schedule-slot__booking .btn {
  width: 100%;
}

.community-empty {
  display: grid;
  min-height: 17rem;
  place-content: center;
  padding: 2rem;
  background: var(--community-panel);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  text-align: center;
}

.community-empty > span {
  color: #e8c65b;
  font-size: 2.5rem;
}

.community-empty h3 {
  margin: 0.6rem 0 0.35rem;
  color: #fff;
  font-family: var(--display);
}

.community-empty p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
}

.member-bookings__list {
  display: grid;
  width: min(100%, 55rem);
  gap: 0.6rem;
}

.booking-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--community-panel);
  border: 1px solid var(--community-grid);
  border-radius: 0.8rem;
}

.booking-row h3,
.booking-row p {
  margin: 0;
}

.booking-row h3 {
  color: #fff;
  font-family: var(--display);
}

.booking-row p,
.booking-row__date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.booking-row__status {
  padding: 0.35rem 0.55rem;
  color: #f5dd88;
  background: rgba(211, 170, 53, 0.12);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.booking-row__status--confirmed,
.booking-row__status--completed {
  color: #a7ebce;
  background: rgba(12, 107, 77, 0.25);
}

.community-link-button {
  padding: 0;
  color: #f0a79d;
  background: transparent;
  border: 0;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.schedule-preview {
  min-height: 28rem;
  filter: blur(5px);
  opacity: 0.48;
}

.schedule-preview__reopen {
  display: flex;
  justify-content: center;
  margin: -2rem var(--gutter) 3rem;
}

.schedule-preview__toolbar {
  width: 55%;
  height: 3.2rem;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
}

.schedule-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.schedule-preview__grid span {
  min-height: 12rem;
  background: var(--community-panel);
  border: 1px solid var(--community-grid);
  border-radius: 1rem;
}

.community-dialog {
  width: min(34rem, calc(100% - 2rem));
  padding: clamp(1.5rem, 5vw, 3rem);
  color: var(--ink);
  background: var(--paper-soft);
  border: 0;
  border-radius: 1.3rem;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.52);
}

.community-dialog::backdrop {
  background: rgba(0, 8, 6, 0.72);
  backdrop-filter: blur(5px);
}

.community-dialog__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 2.4rem;
  aspect-ratio: 1;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.community-dialog__mark {
  display: grid;
  width: 4rem;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 1.5rem;
  color: var(--ink);
  background: var(--gold-metal);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  font-family: var(--display);
  font-weight: 800;
}

.community-dialog h2 {
  max-width: 19ch;
  margin-bottom: 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 0.98;
}

.community-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

@media (max-width: 1000px) {
  .community-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .season-emblem,
  .schedule-hero__date {
    position: absolute;
    top: 2rem;
    right: var(--gutter);
    width: 7rem;
    opacity: 0.4;
  }

  .schedule-hero__date {
    width: auto;
    transform: scale(0.8);
    transform-origin: top right;
  }

  .availability-editor,
  .own-availability,
  .member-bookings,
  .schedule-browser__header {
    display: grid;
    align-items: start;
  }

  .availability-form,
  .own-availability__list,
  .member-bookings__list {
    width: 100%;
  }

  .schedule-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .season-rules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .community-hero {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  .community-display {
    max-width: 11ch;
    font-size: clamp(3.3rem, 16vw, 5.4rem);
  }

  .community-lede {
    font-size: 0.95rem;
  }

  .season-emblem,
  .schedule-hero__date {
    display: none;
  }

  .season-access {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .season-access .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .season-player {
    grid-template-columns: minmax(0, 1fr);
  }

  .season-player__bar,
  .season-player p {
    grid-column: 1;
  }

  .season-board__header {
    align-items: center;
  }

  .season-level {
    min-width: min(82vw, 19rem);
    min-height: 25rem;
  }

  .season-actions-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .season-earn__header,
  .season-personal > header {
    display: grid;
    align-items: start;
  }

  .season-rules-grid,
  .season-ledger {
    grid-template-columns: minmax(0, 1fr);
  }

  .season-rules-grid {
    display: flex;
    padding-bottom: 0.65rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
  }

  .season-rule {
    min-width: min(82vw, 20rem);
    min-height: 11.5rem;
    scroll-snap-align: start;
  }

  .profile-context {
    display: grid;
    align-items: start;
  }

  .role-chips {
    justify-content: flex-start;
  }

  .availability-form,
  .schedule-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  .availability-form__note {
    grid-column: 1;
  }

  .schedule-day {
    min-width: 88vw;
    grid-template-columns: 3.8rem minmax(0, 1fr);
  }

  .booking-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .own-slot {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .booking-row form,
  .own-slot form {
    grid-column: 1 / -1;
  }

  .schedule-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .season-track,
  .schedule-days {
    scroll-behavior: auto;
  }
}

