/* Page shell */
.page {
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(var(--accent-bright-rgb),  0.12), transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(var(--secondary-rgb),  0.08), transparent 48%),
    radial-gradient(ellipse 55% 70% at 10% 40%, rgba(var(--secondary-deep-rgb),  0.18), transparent 52%),
    linear-gradient(180deg, var(--page-base-top) 0%, var(--page-base-bot) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(var(--accent-bright-rgb),  0.06) 0%, transparent 35%);
  pointer-events: none;
}

/* Hero + dashboard row */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4.5rem);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: min(100%, 36rem);
  width: 100%;
}

.hero__art {
  width: min(100%, 280px);
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 28px rgba(var(--accent-bright-rgb),  0.28))
    drop-shadow(0 0 64px rgba(var(--secondary-rgb),  0.15));
  opacity: 0.95;
  -webkit-mask-size: 118% 118%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-image:
    radial-gradient(
      ellipse 54% 64% at 50% 48%,
      rgba(0, 0, 0, 1) 20%,
      rgba(0, 0, 0, 0.85) 34%,
      rgba(0, 0, 0, 0.45) 48%,
      rgba(0, 0, 0, 0.12) 58%,
      rgba(0, 0, 0, 0) 66%
    );
  mask-size: 118% 118%;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-image:
    radial-gradient(
      ellipse 54% 64% at 50% 48%,
      rgba(0, 0, 0, 1) 20%,
      rgba(0, 0, 0, 0.85) 34%,
      rgba(0, 0, 0, 0.45) 48%,
      rgba(0, 0, 0, 0.12) 58%,
      rgba(0, 0, 0, 0) 66%
    );
}

.hero__title {
  margin: 1rem 0 0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-bright);
  text-shadow:
    0 0 22px rgba(var(--accent-bright-rgb),  0.4),
    0 0 40px rgba(var(--secondary-rgb),  0.25),
    0 2px 4px rgba(0, 40, 30, 0.8);
}

.hero__subtitle {
  display: block;
  margin-top: 0.35em;
  font-size: 0.92em;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero__label {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(var(--text-nav-rgb),  0.85);
}

.hero__label--live {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-shadow:
    0 0 14px rgba(var(--accent-bright-rgb),  0.55),
    0 0 28px rgba(var(--secondary-rgb),  0.35);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  width: 100%;
}

.countdown__unit {
  min-width: 4.25rem;
  padding: 0.65rem 0.5rem 0.55rem;
  border-radius: 8px;
  background: rgba(var(--panel-rgb),  0.55);
  border: 1px solid rgba(var(--accent-rgb),  0.4);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 0 12px rgba(var(--accent-bright-rgb),  0.06);
}

.countdown__value {
  display: block;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-bright);
  line-height: 1.2;
  text-shadow:
    0 0 12px rgba(var(--accent-bright-rgb),  0.45),
    0 0 24px rgba(var(--secondary-rgb),  0.2);
}

.countdown__name {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(var(--text-dim-rgb),  0.8);
}

/* Live trophy threshold board (home) */
.home-dashboard {
  --home-notices-width: 16.5rem;
  --home-board-max: 38.4rem;
  --home-tools-width: 22rem;
  --home-dashboard-gap: 1.35rem;
  --home-cluster-max: calc(var(--home-board-max) + var(--home-dashboard-gap) + var(--home-tools-width));
  display: grid;
  grid-template-columns: 1fr var(--home-board-max) 1fr;
  align-items: start;
  width: 100%;
  margin-top: 1.75rem;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.home-dashboard__cluster {
  display: contents;
}

.notice-center {
  grid-column: 1;
  justify-self: end;
  width: var(--home-notices-width);
  min-width: 0;
  margin-right: var(--home-dashboard-gap);
  position: sticky;
  top: 4.5rem;
}

.notice-center__heading {
  margin: 0 0 0.75rem;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--text-dim-rgb),  0.7);
}

.notice-center__drawer {
  margin: 0;
  border: 0;
}

.notice-center__drawer-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(var(--accent-rgb),  0.2);
  background: rgba(var(--panel-rgb),  0.55);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.notice-center__drawer-toggle:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb),  0.45);
  outline-offset: 2px;
}

.notice-center__drawer-label {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--text-dim-rgb),  0.7);
}

.notice-center__chevron {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(var(--text-dim-rgb),  0.75);
  border-bottom: 2px solid rgba(var(--text-dim-rgb),  0.75);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.notice-center__drawer--open .notice-center__chevron {
  transform: rotate(-135deg);
}

.notice-center__drawer-inner {
  overflow: hidden;
  min-height: 0;
}

.notice-center__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.notice-center__item[data-notice-tier="info"] {
  order: 1;
}

.notice-center__item[data-notice-tier="important"] {
  order: 2;
}

.notice-center__item[data-notice-tier="new"] {
  order: 3;
}

.notice-center__item[data-notice-tier="live"] {
  order: 4;
}

.notice-center__item {
  margin: 0;
}

.notice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-rgb),  0.2);
  background: rgba(var(--panel-rgb),  0.62);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.notice-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.notice-card--link:hover {
  border-color: rgba(var(--accent-rgb),  0.38);
  background: rgba(var(--panel-rgb),  0.78);
  box-shadow:
    0 4px 22px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(var(--accent-bright-rgb),  0.06);
}

.notice-card--disabled {
  cursor: default;
  background: rgba(var(--panel-rgb),  0.28);
  border-color: rgba(var(--accent-rgb),  0.1);
  box-shadow: none;
}

.notice-card--disabled .notice-card__title {
  color: rgba(var(--text-dim-rgb),  0.38);
}

.notice-card--disabled .notice-card__text {
  color: rgba(var(--text-dim-rgb),  0.32);
}

.notice-card__badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice-card__badge--new {
  color: rgba(255, 232, 160, 0.92);
  background: rgba(220, 170, 40, 0.14);
  border: 1px solid rgba(220, 170, 40, 0.38);
}

.notice-card__badge--info {
  color: rgba(190, 220, 255, 0.92);
  background: rgba(80, 130, 200, 0.14);
  border: 1px solid rgba(80, 130, 200, 0.35);
}

.notice-card__badge--important {
  color: rgba(255, 200, 180, 0.96);
  background: rgba(200, 70, 50, 0.16);
  border: 1px solid rgba(200, 70, 50, 0.42);
}

.notice-card__badge--live {
  color: #b8f0d0;
  background: rgba(40, 140, 90, 0.45);
  border: 1px solid rgba(72, 200, 140, 0.55);
}

.notice-card__title {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--text-bright);
}

.notice-card__text {
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(var(--text-dim-rgb),  0.72);
}

.threshold-live {
  grid-column: 2;
  width: 100%;
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
}

.threshold-live__shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.threshold-live__panel {
  width: 100%;
  min-width: 0;
  padding: 1rem 1rem 0.85rem;
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(var(--accent-rgb),  0.28);
  background: rgba(var(--panel-rgb),  0.72);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(var(--accent-bright-rgb),  0.05);
}

.threshold-live--error .threshold-live__panel {
  border-color: rgba(200, 100, 80, 0.35);
}

.threshold-live--error {
  border-color: transparent;
}

.threshold-live__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(var(--accent-rgb),  0.14);
}

.threshold-live__head-primary {
  min-width: 0;
  flex: 1;
}

.threshold-live__title {
  margin: 0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-bright);
}

.threshold-live__meta {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  color: rgba(var(--text-dim-rgb),  0.6);
}

.threshold-live__countdown {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  text-align: right;
}

.threshold-live__countdown-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--text-dim-rgb),  0.6);
  line-height: 1.2;
}

.threshold-live__countdown-value {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  color: rgba(180, 255, 210, 0.95);
  text-shadow: 0 0 12px rgba(var(--accent-bright-rgb),  0.25);
}

.threshold-live__countdown--due .threshold-live__countdown-value {
  color: #e8c090;
  text-shadow: 0 0 10px rgba(232, 192, 144, 0.2);
}

.threshold-live__league {
  text-transform: capitalize;
  color: rgba(var(--text-dim-rgb),  0.85);
}

.threshold-live__tabs {
  display: flex;
  flex-direction: row;
  gap: 0.25rem;
  width: auto;
  margin-bottom: -1px;
}

.threshold-live__tab {
  position: relative;
  flex: 1;
  display: block;
  padding: 0.5rem 0.45rem;
  border: 1px solid rgba(var(--accent-rgb),  0.24);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: rgba(var(--header-rgb),  0.62);
  color: rgba(var(--text-dim-rgb),  0.72);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}

.threshold-live__tab:hover {
  border-color: rgba(var(--accent-rgb),  0.34);
  color: var(--text-bright);
  background: rgba(var(--panel-rgb),  0.72);
}

.threshold-live__tab--active {
  z-index: 1;
  border-color: rgba(var(--accent-rgb),  0.28);
  background: rgba(var(--panel-rgb),  0.72);
  color: var(--text-bright);
}

.threshold-live__tab--active::after {
  content: "";
  position: absolute;
  top: auto;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: rgba(var(--panel-rgb),  0.72);
}

.threshold-live__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.threshold-live__note {
  margin: 0.65rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(var(--text-dim-rgb),  0.5);
  text-align: center;
}

.threshold-live__note--ranked {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
}

.threshold-live__note-count {
  font-variant-numeric: tabular-nums;
  color: rgba(var(--text-dim-rgb),  0.68);
}

.threshold-live__note-change {
  flex-shrink: 0;
  text-align: right;
  color: rgba(var(--text-dim-rgb),  0.52);
}

.threshold-live__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(var(--accent-rgb),  0.12);
  background: rgba(var(--header-rgb),  0.45);
}

.threshold-live__tier {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.threshold-live__tier-name {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.threshold-live__row--dragon .threshold-live__tier-name { color: #e85d4c; }
.threshold-live__row--rune .threshold-live__tier-name { color: #5fd4c8; }
.threshold-live__row--adamant .threshold-live__tier-name { color: #3cb88e; }
.threshold-live__row--mithril .threshold-live__tier-name { color: #6ba3e8; }
.threshold-live__row--steel .threshold-live__tier-name { color: #b8c0cc; }
.threshold-live__row--iron .threshold-live__tier-name { color: #c0c0c0; }
.threshold-live__row--bronze .threshold-live__tier-name { color: #cd7f32; }

.threshold-live__cutoff {
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  color: rgba(var(--text-dim-rgb),  0.65);
}

.threshold-live__row--relic .threshold-live__tier-name {
  color: rgba(180, 255, 210, 0.92);
}

.threshold-live__list--skill-xp {
  gap: 0.5rem;
}

.threshold-live__skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  /* Six full skill rows (Overall sits above this list). */
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-gutter: stable;
}

.threshold-live__row--skill {
  align-items: center;
}

.threshold-live__row--skill.threshold-live__row--featured {
  border-color: rgba(var(--accent-rgb),  0.32);
  background: rgba(var(--accent-rgb),  0.08);
}

.threshold-live__skill {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.threshold-live__skill-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.threshold-live__skill-icon {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.threshold-live__skill-name {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(var(--text-dim-rgb),  0.9);
}

.threshold-live__row--featured .threshold-live__skill-name {
  color: rgba(180, 255, 210, 0.95);
}

.threshold-live__skill-player {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(var(--accent-mid-rgb),  0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.threshold-live__xp {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(232, 220, 196, 0.95);
  text-align: right;
}

.threshold-live__stats {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-shrink: 0;
}

.threshold-live__qualified {
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(232, 220, 196, 0.95);
  text-align: right;
}

.threshold-live__qualified-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--text-dim-rgb),  0.5);
}

.threshold-live__delta {
  min-width: 2.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: rgba(var(--text-dim-rgb),  0.55);
}

.threshold-live__delta--up {
  color: rgb(var(--accent-mid-rgb));
}

.threshold-live__delta--down {
  color: #e8a090;
}

.threshold-live__code {
  font-size: 0.62rem;
  padding: 0.08rem 0.3rem;
  border-radius: 3px;
  background: rgba(var(--header-rgb),  0.65);
  border: 1px solid rgba(var(--accent-rgb),  0.18);
  color: rgba(180, 255, 210, 0.75);
}

.threshold-live__empty {
  margin: 0.25rem 0;
  font-size: 0.78rem;
  color: rgba(var(--text-dim-rgb),  0.65);
  font-style: italic;
  text-align: center;
}

/* Intro — poe.ninja mission statement */
.intro {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.intro__text {
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(212, 200, 184, 0.82);
}

.intro__text strong {
  color: rgba(232, 220, 196, 0.95);
  font-weight: 600;
}

/* Feature cards — poe.ninja tool sections */
.features {
  grid-column: 3;
  justify-self: start;
  width: var(--home-tools-width);
  min-width: 0;
  margin-left: var(--home-dashboard-gap);
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 0;
}

.features__heading {
  margin: 0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(var(--text-dim-rgb),  0.7);
  position: absolute;
  top: 0;
  right: 0;
  width: min(22rem, 100%);
  transform: translateY(calc(-100% - 0.35rem));
  pointer-events: none;
}

.features__grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-card {
  position: relative;
  display: block;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: rgba(var(--panel-rgb),  0.65);
  border: 1px solid rgba(var(--accent-rgb),  0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    padding 0.25s ease;
  overflow: hidden;
}

.feature-card__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.feature-card--link:hover {
  border-color: rgba(var(--accent-rgb),  0.38);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(var(--accent-bright-rgb),  0.06);
  padding-bottom: 1rem;
}

.feature-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.feature-card__badge {
  flex-shrink: 0;
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card__badge--live {
  color: #b8f0d0;
  background: rgba(40, 140, 90, 0.45);
  border: 1px solid rgba(72, 200, 140, 0.55);
}

.feature-card__badge--wip {
  color: rgba(255, 232, 160, 0.92);
  background: rgba(220, 170, 40, 0.14);
  border: 1px solid rgba(220, 170, 40, 0.38);
}

.feature-card__badge--soon {
  color: rgba(255, 190, 180, 0.95);
  background: rgba(200, 60, 50, 0.14);
  border: 1px solid rgba(200, 60, 50, 0.4);
}

.feature-card:not(.feature-card--link) {
  cursor: default;
  background: rgba(var(--panel-rgb),  0.28);
  border-color: rgba(var(--accent-rgb),  0.1);
  box-shadow: none;
}

.feature-card:not(.feature-card--link) .feature-card__title {
  color: rgba(var(--text-dim-rgb),  0.38);
}

.feature-card__title {
  margin: 0;
  min-width: 0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-bright);
}

.feature-card__flavor {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(var(--text-dim-rgb),  0.72);
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    margin-top 0.28s ease;
}

.feature-card--link:hover .feature-card__flavor {
  max-height: 2.5rem;
  opacity: 1;
  margin-top: 0.4rem;
}

.feature-card:not(.feature-card--link) .feature-card__flavor {
  color: rgba(var(--text-dim-rgb),  0.32);
}

/* Stack notifications, leaderboard, and tools on narrower viewports */
@media (max-width: 80rem) {
  .home-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    width: min(100%, var(--home-board-max));
    margin-inline: auto;
  }

  .threshold-live {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: static;
  }

  .features {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    position: static;
  }

  .notice-center {
    order: 1;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    position: static;
  }

  .notice-center__heading--desktop {
    display: none;
  }

  .notice-center__drawer-toggle {
    display: flex;
    margin-bottom: 0;
  }

  .notice-center__drawer-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.32s ease;
  }

  .notice-center__drawer:not(.notice-center__drawer--open) .notice-center__list {
    opacity: 0;
    transform: translateY(-0.35rem);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .notice-center__drawer--open .notice-center__list {
    margin-top: 0.65rem;
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.28s ease 0.05s,
      transform 0.28s ease 0.05s;
  }
}

@media (min-width: 80.0625rem) {
  .notice-center__drawer-toggle {
    display: none;
  }

  .notice-center__drawer-body {
    overflow: visible;
    max-height: none !important;
  }

  .notice-center__drawer .notice-center__list {
    display: flex;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 66rem) {
  .features__heading {
    position: static;
    width: auto;
    transform: none;
    margin-bottom: 0.85rem;
    text-align: center;
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .home-dashboard {
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero__art {
    width: min(100%, 220px);
  }

  .countdown__unit {
    min-width: 3.75rem;
    padding: 0.55rem 0.4rem 0.45rem;
  }

  .countdown__value {
    font-size: 1.35rem;
  }

  .threshold-live__row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .threshold-live__stats {
    justify-content: space-between;
  }
}
