#view-container.hub-page-container {
  min-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  background:
    radial-gradient(circle at 12% 10%, rgba(212, 175, 55, 0.12), transparent 28%),
    radial-gradient(circle at 85% 90%, rgba(47, 45, 45, 0.08), transparent 30%),
    #f7f5ef;
}

.hub-page {
  width: 100%;
  min-height: calc(100% + 140px);
  padding: 2.25rem 2rem 9.5rem;
  box-sizing: border-box;
  background: transparent;
  font-family: 'Crimson Text', 'Georgia', serif;
  color: #2f2d2d;
}

.hub-page::after {
  content: "";
  display: block;
  height: 9.5rem;
}

.hub-page__header {
  max-width: 840px;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.hub-page__eyebrow {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7d6854;
  font-weight: 600;
  background: linear-gradient(
    110deg,
    #6a5342 0%,
    #6a5342 38%,
    #f1ddb0 50%,
    #6a5342 62%,
    #6a5342 100%
  );
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hub-eyebrow-shimmer 6.8s linear infinite;
}

@keyframes hub-eyebrow-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -40% 0;
  }
}

.hub-page__title {
  margin: 0.6rem 0 0.5rem;
  font-size: 2.2rem;
  line-height: 1.15;
}

.hub-page__subtitle {
  margin: 0;
  font-size: 1.18rem;
  color: #4d4a47;
}

.hub-page__grid {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.hub-page__module {
  --module-accent: #b79a60;
  --module-accent-strong: #9e7f3c;
  --module-tint: rgba(214, 197, 160, 0.22);
  --module-surface: #fffdfa;
  --module-button-fill: #d8c39a;
  --module-shadow:
    0 24px 42px rgba(33, 28, 18, 0.11),
    0 8px 18px rgba(33, 28, 18, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(33, 28, 18, 0.04) inset;
  --module-shadow-hover:
    0 30px 52px rgba(33, 28, 18, 0.16),
    0 10px 24px rgba(33, 28, 18, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(33, 28, 18, 0.05) inset;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  background: var(--module-surface);
  border: 2px solid rgba(104, 88, 66, 0.34);
  border-radius: 10px;
  padding: 1.55rem 1.3rem 1.3rem;
  transform: translateY(0) scale(1);
  box-shadow: var(--module-shadow);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.hub-page__module::after {
  content: "";
  position: absolute;
  top: 0.95rem;
  right: -1.15rem;
  width: 6.75rem;
  height: 6.75rem;
  border-radius: 50%;
  background: var(--module-tint);
  z-index: 0;
}

.hub-page__module--active {
  --module-accent: #c7a96b;
  --module-accent-strong: #aa8643;
  --module-tint: rgba(242, 222, 177, 0.42);
  --module-surface: #fffaf0;
  --module-button-fill: #ecd39a;
  --module-shadow:
    0 24px 46px rgba(48, 38, 20, 0.14),
    0 8px 18px rgba(48, 38, 20, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(48, 38, 20, 0.05) inset;
  --module-shadow-hover:
    0 34px 58px rgba(48, 38, 20, 0.2),
    0 12px 26px rgba(48, 38, 20, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(48, 38, 20, 0.06) inset;
}

.hub-page__module--keyboard {
  --module-accent: #75a6ba;
  --module-accent-strong: #4f8fa9;
  --module-tint: rgba(182, 220, 234, 0.38);
  --module-surface: #fbfeff;
  --module-button-fill: #bfdce8;
  --module-shadow:
    0 24px 44px rgba(34, 73, 92, 0.13),
    0 8px 18px rgba(34, 73, 92, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(34, 73, 92, 0.04) inset;
  --module-shadow-hover:
    0 34px 56px rgba(34, 73, 92, 0.2),
    0 12px 24px rgba(34, 73, 92, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(34, 73, 92, 0.05) inset;
}

.hub-page__module--staff {
  --module-accent: #9b89d0;
  --module-accent-strong: #7f68be;
  --module-tint: rgba(216, 205, 245, 0.42);
  --module-surface: #fdfbff;
  --module-button-fill: #d4c7f1;
  --module-shadow:
    0 24px 44px rgba(69, 53, 113, 0.13),
    0 8px 18px rgba(69, 53, 113, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(69, 53, 113, 0.04) inset;
  --module-shadow-hover:
    0 34px 56px rgba(69, 53, 113, 0.2),
    0 12px 24px rgba(69, 53, 113, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(69, 53, 113, 0.05) inset;
}

.hub-page__module--rhythm {
  --module-accent: #c15f57;
  --module-accent-strong: #a54740;
  --module-tint: rgba(244, 203, 198, 0.42);
  --module-surface: #fffaf9;
  --module-button-fill: #eab8b2;
  --module-shadow:
    0 24px 44px rgba(109, 43, 40, 0.14),
    0 8px 18px rgba(109, 43, 40, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(109, 43, 40, 0.04) inset;
  --module-shadow-hover:
    0 34px 56px rgba(109, 43, 40, 0.21),
    0 12px 24px rgba(109, 43, 40, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(109, 43, 40, 0.05) inset;
}

.hub-page__module--technical {
  --module-accent: #6ea377;
  --module-accent-strong: #4f8a59;
  --module-tint: rgba(197, 227, 203, 0.42);
  --module-surface: #fbfefb;
  --module-button-fill: #b9dcbc;
  --module-shadow:
    0 24px 44px rgba(35, 82, 43, 0.13),
    0 8px 18px rgba(35, 82, 43, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(35, 82, 43, 0.04) inset;
  --module-shadow-hover:
    0 34px 56px rgba(35, 82, 43, 0.2),
    0 12px 24px rgba(35, 82, 43, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(35, 82, 43, 0.05) inset;
}

.hub-page__module--sight-reading {
  --module-accent: #9aa2ac;
  --module-accent-strong: #7c8590;
  --module-tint: rgba(216, 221, 228, 0.46);
  --module-surface: #fcfdfe;
  --module-button-fill: #ced5de;
  --module-shadow:
    0 24px 44px rgba(63, 73, 85, 0.12),
    0 8px 18px rgba(63, 73, 85, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(63, 73, 85, 0.04) inset;
  --module-shadow-hover:
    0 34px 56px rgba(63, 73, 85, 0.18),
    0 12px 24px rgba(63, 73, 85, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(63, 73, 85, 0.05) inset;
}

.hub-page__module--jazz {
  --module-accent: #b36a86;
  --module-accent-strong: #9b4f6c;
  --module-tint: rgba(235, 199, 214, 0.42);
  --module-surface: #fffafd;
  --module-button-fill: #e4bed0;
  --module-shadow:
    0 24px 44px rgba(100, 38, 62, 0.13),
    0 8px 18px rgba(100, 38, 62, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(100, 38, 62, 0.04) inset;
  --module-shadow-hover:
    0 34px 56px rgba(100, 38, 62, 0.2),
    0 12px 24px rgba(100, 38, 62, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(100, 38, 62, 0.05) inset;
}

.hub-page__module--symbols {
  --module-accent: #6f7667;
  --module-accent-strong: #555d4f;
  --module-tint: rgba(205, 211, 198, 0.44);
  --module-surface: #fbfcf9;
  --module-button-fill: #c8d0bf;
  --module-shadow:
    0 24px 44px rgba(66, 73, 58, 0.13),
    0 8px 18px rgba(66, 73, 58, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(66, 73, 58, 0.04) inset;
  --module-shadow-hover:
    0 34px 56px rgba(66, 73, 58, 0.19),
    0 12px 24px rgba(66, 73, 58, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(66, 73, 58, 0.05) inset;
}

.hub-page__module--harmony {
  --module-accent: #c7a96b;
  --module-accent-strong: #aa8643;
  --module-tint: rgba(242, 222, 177, 0.42);
  --module-surface: #fffaf0;
  --module-button-fill: #ecd39a;
  --module-shadow:
    0 24px 46px rgba(48, 38, 20, 0.14),
    0 8px 18px rgba(48, 38, 20, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -14px 22px rgba(48, 38, 20, 0.05) inset;
  --module-shadow-hover:
    0 34px 58px rgba(48, 38, 20, 0.2),
    0 12px 26px rgba(48, 38, 20, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 -18px 28px rgba(48, 38, 20, 0.06) inset;
}

.hub-page__module--interactive:hover {
  transform: translateY(-4px);
  border-color: var(--module-accent-strong);
  box-shadow: var(--module-shadow-hover);
}

.hub-page__module--interactive:active {
  border-color: #2f2d2d;
  box-shadow:
    0 18px 30px rgba(33, 28, 18, 0.12),
    0 6px 14px rgba(33, 28, 18, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.72) inset,
    0 -12px 20px rgba(33, 28, 18, 0.05) inset;
}

.hub-page__module--coming-soon {
  opacity: 1;
}

.hub-page__module-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.05rem;
  padding-bottom: 0.8rem;
}

.hub-page__module-top::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.2rem;
  height: 1px;
  background: var(--module-accent);
}

.hub-page__module-title {
  margin: 0;
  max-width: 13ch;
  font-size: 1.62rem;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hub-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  background: #f4e8cc;
  color: #7a5a1d;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.hub-page__badge--muted {
  background: #ebe7df;
  color: #5e5850;
}

.hub-page__badge--icon {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0;
}

.hub-page__badge--icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
}

.hub-page__badge--glyph {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.hub-page__module--keyboard .hub-page__badge {
  background: #d8edf6;
  color: #295c72;
}

.hub-page__module--staff .hub-page__badge {
  background: #e6ddfb;
  color: #503f86;
}

.hub-page__module--rhythm .hub-page__badge {
  background: #f9dcd8;
  color: #843a36;
}

.hub-page__module--technical .hub-page__badge {
  background: #d9efde;
  color: #2f6a3c;
}

.hub-page__module--sight-reading .hub-page__badge {
  background: #dfe4ea;
  color: #4a5563;
}

.hub-page__module--jazz .hub-page__badge {
  background: #f3d6e1;
  color: #7c3e57;
}

.hub-page__module--symbols .hub-page__badge {
  background: #dbe2d4;
  color: #4a5144;
}

.hub-page__module--harmony .hub-page__badge {
  background: #f5e4bf;
  color: #7a5a1d;
}

.hub-page__module-description {
  position: relative;
  z-index: 1;
  margin: 0 0 1.15rem;
  max-width: 40ch;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #4f4941;
}

.hub-page__module-list {
  position: relative;
  z-index: 1;
  margin: 0.35rem 0 0;
  padding-left: 0;
  color: #4a453d;
  line-height: 1.55;
  list-style: none;
}

.hub-page__module-list li {
  margin: 0.32rem 0;
}

.hub-page__module-list-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--module-accent-strong);
  background: var(--module-button-fill);
  color: #1f1a14;
  border-radius: 10px;
  min-height: 2.7rem;
  padding: 0.55rem 0.95rem;
  font-family: 'Crimson Text', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.hub-page__module-list-button::before {
  content: "";
}

.hub-page__module-list-button:hover {
  border-color: var(--module-accent-strong);
  background: var(--module-accent-strong);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(47, 45, 45, 0.16);
}

.hub-page__module-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.hub-page__module-progress {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hub-page__module-progress-track {
  flex: 1 1 auto;
  height: 0.56rem;
  border: 1px solid #2f2d2d;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.hub-page__module-progress-fill {
  display: block;
  height: 100%;
  border-radius: 0;
  background: hsl(0 72% 44%);
  transition: width 0.2s ease;
}

.hub-page__module-progress-value {
  min-width: 2.45rem;
  text-align: right;
  font-size: 0.92rem;
  font-weight: 700;
  color: #295c72;
}

.hub-page__module-primary,
.hub-page__module-secondary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--module-accent-strong);
  background: var(--module-button-fill);
  color: #1f1a14;
  border-radius: 10px;
  min-height: 2.7rem;
  padding: 0.55rem 0.95rem;
  font-family: 'Crimson Text', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.hub-page__module-primary:hover,
.hub-page__module-secondary:hover {
  border-color: var(--module-accent-strong);
  background: var(--module-accent-strong);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(47, 45, 45, 0.16);
}

@media (hover: none) {
  .hub-page__module--interactive:hover {
    transform: none;
    border-color: inherit;
    box-shadow: inherit;
  }

  .hub-page__module--interactive:active {
    transform: none;
  }
}

.hub-page__module-note {
  position: relative;
  z-index: 1;
  margin: 0.2rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #6d675f;
}
