.stage-page .stage-app-shell {
  max-width: 1240px;
  gap: 14px;
  padding: 8px 12px 42px;
}

.stage-page .stage-hero {
  min-height: 46px;
}

.stage-page .brand-home-btn {
  color: var(--text);
  text-decoration: none;
}

.stage-page .brand-home-btn h1 {
  color: var(--text);
}

.stage-page .profile-btn {
  text-decoration: none;
}

.stage-shell {
  display: grid;
  gap: 14px;
}

.stage-navigation {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.stage-date-nav {
  align-items: stretch;
}

.stage-period-pill-group {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage-week-filters {
  display: grid;
  gap: 6px;
  margin-top: 0;
}

.stage-week-carousel {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
}

.stage-week-nav {
  width: 38px;
  height: 44px;
  padding: 0;
  border-radius: 14px;
  color: var(--text);
}

.stage-week-nav:disabled {
  opacity: 0.34;
  cursor: default;
  transform: none;
}

.stage-week-rail {
  position: relative;
  min-width: 0;
}

.stage-week-rail::before,
.stage-week-rail::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 8px;
  width: 28px;
  pointer-events: none;
}

.stage-week-rail::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface) 0%, transparent 100%);
}

.stage-week-rail::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface) 0%, transparent 100%);
}

.stage-week-toggle-group {
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 2px 26px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.stage-week-toggle-group::-webkit-scrollbar {
  display: none;
}

.stage-week-btn {
  flex: 0 0 auto;
  min-width: 126px;
  min-height: 62px;
  scroll-snap-align: center;
}

.stage-week-status {
  color: color-mix(in srgb, var(--text) 62%, var(--muted) 38%);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.stage-profile-context {
  display: flex;
  justify-content: center;
  min-height: 0;
}

.stage-profile-context:empty {
  display: none;
}

.stage-context-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: color-mix(in srgb, var(--text) 82%, var(--muted) 18%);
  background: color-mix(in srgb, var(--surface) 72%, var(--accent) 8%);
  font-size: 0.84rem;
  font-weight: 700;
}

.stage-search-band {
  display: grid;
  padding: 16px;
}

.stage-search {
  position: relative;
  display: block;
  width: min(720px, 100%);
  margin: 0 auto;
}

.stage-search-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, white 6%), color-mix(in srgb, var(--surface) 98%, var(--accent) 2%));
  box-shadow: 0 14px 32px rgba(42, 31, 80, 0.1);
}

.stage-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 8px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.stage-page .stage-search-box input[type="search"] {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 0;
  padding: 0;
  font: inherit;
  font-size: 1.04rem;
  color: var(--text);
  background: transparent;
}

.stage-search-submit {
  min-height: 42px;
  padding-inline: 16px;
  white-space: nowrap;
}

.stage-page .stage-search-box:focus-within {
  outline: none;
  box-shadow: var(--soft-glow);
}

.stage-page .stage-search-box input[type="search"]:focus {
  outline: none;
  box-shadow: none;
}

.stage-focused-view {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--panel-strong) 98%, white 2%), color-mix(in srgb, var(--surface) 96%, var(--paper) 4%));
  box-shadow: 0 12px 28px rgba(42, 31, 80, 0.08);
}

.stage-focused-view.is-hidden {
  display: none;
}

.stage-focused-head {
  display: grid;
  grid-template-areas: "actions" "title";
  gap: 14px;
}

.stage-focused-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "back refine"
    "filters filters";
  gap: 10px;
  align-items: start;
}

.stage-focused-actions > [data-stage-focused-nav] {
  grid-area: back;
  justify-self: stretch;
  justify-content: center;
  min-height: 48px;
  padding-inline: 16px;
}

.stage-focused-copy {
  grid-area: title;
  min-width: 0;
  text-align: center;
  padding: 2px 8px 4px;
}

.stage-focused-title {
  margin: 0;
}

.stage-focused-title {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: clamp(1.32rem, 7vw, 2rem);
  line-height: 1.12;
  text-wrap: balance;
}

.stage-provider-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  max-width: 860px;
  margin-inline: auto;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, #d6a23a 28%, var(--line) 72%);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, #f4cf76 24%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--panel-strong) 93%, #f5d989 7%), color-mix(in srgb, var(--surface) 94%, #e0b24f 6%));
  box-shadow: 0 14px 28px rgba(116, 82, 24, 0.1);
}

.stage-provider-copy {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-width: 0;
  text-align: left;
}

.stage-provider-header h2 {
  margin: 0;
  font-size: clamp(1.48rem, 6.5vw, 2.18rem);
}

.stage-provider-header p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}

.stage-provider-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.stage-provider-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, #d6a23a 22%);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 90%, #fff1c8 10%);
  color: var(--text-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.stage-provider-stat-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: color-mix(in srgb, #8f651f 80%, var(--text) 20%);
}

.stage-provider-stat-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-provider-visual {
  display: block;
  width: 96px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 78%, #d6a23a 22%);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, #fff1c8 12%);
  box-shadow: 0 10px 22px rgba(42, 31, 80, 0.1);
}

.stage-provider-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stage-section {
  display: grid;
  gap: 10px;
}

.stage-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
}

.stage-section-heading h2 {
  font-size: 1.08rem;
}

.stage-section-heading span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.stage-registry-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  row-gap: 10px;
}

.stage-registry-title-block {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.stage-refine-summary {
  grid-area: refine;
  justify-self: stretch;
  justify-content: center;
  min-height: 48px;
  padding-inline: 16px;
  cursor: pointer;
}

.stage-filter-row {
  grid-area: filters;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, white 4%), color-mix(in srgb, var(--panel-strong) 98%, var(--paper) 2%));
  box-shadow: 0 16px 34px rgba(42, 31, 80, 0.11);
}

.stage-filter-control {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.stage-filter-icon {
  position: absolute;
  left: 13px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface) 88%);
  pointer-events: none;
}

.stage-filter-control select {
  appearance: none;
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  padding: 0 40px 0 50px;
  border-color: var(--line);
  background:
    url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23262945' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px 18px no-repeat,
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, white 4%), color-mix(in srgb, var(--surface) 99%, var(--paper) 1%));
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(42, 31, 80, 0.06);
}

.stage-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.stage-shell.is-loading .stage-groups,
.stage-shell.is-loading .stage-registry {
  opacity: 0.78;
}

.stage-loading {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: color-mix(in srgb, var(--text) 78%, var(--muted) 22%);
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--panel-strong) 96%, white 4%), color-mix(in srgb, var(--surface) 96%, var(--paper) 4%));
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  font-weight: 750;
  box-shadow: 0 10px 22px rgba(42, 31, 80, 0.07);
}

.stage-loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid color-mix(in srgb, var(--accent) 18%, var(--line) 82%);
  border-top-color: var(--accent-strong);
  border-radius: 999px;
  animation: stage-spin 0.85s linear infinite;
}

@keyframes stage-spin {
  to {
    transform: rotate(360deg);
  }
}

.stage-group-button {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--panel-strong) 98%, white 2%), color-mix(in srgb, var(--surface) 92%, var(--accent) 8%));
  color: var(--text);
  text-align: left;
  padding: 18px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(42, 31, 80, 0.09);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.stage-group-skeleton {
  pointer-events: none;
}

.stage-group-skeleton [class~="stage-group-image"] {
  opacity: 0.5;
  background:
    linear-gradient(100deg, transparent 0%, color-mix(in srgb, var(--surface) 58%, transparent) 45%, transparent 82%),
    color-mix(in srgb, var(--accent) 8%, var(--surface) 92%);
}

.stage-skeleton-line,
.stage-skeleton-count {
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--line) 54%, transparent), color-mix(in srgb, var(--surface) 84%, white 16%), color-mix(in srgb, var(--line) 54%, transparent));
  background-size: 220% 100%;
  animation: stage-skeleton 1.15s ease-in-out infinite;
}

.stage-skeleton-title {
  width: min(180px, 58vw);
  height: 24px;
}

.stage-skeleton-count {
  width: 74px;
  height: 58px;
  border-radius: 16px;
}

@keyframes stage-skeleton {
  to {
    background-position: -220% 0;
  }
}

.stage-group-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 16% 18%, color-mix(in srgb, var(--paper) 42%, transparent), transparent 34%);
  pointer-events: none;
}

.stage-group-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 30px rgba(42, 31, 80, 0.12);
}

.stage-group-button-spotlight {
  border-color: color-mix(in srgb, #d6a23a 42%, var(--line) 58%);
  background:
    radial-gradient(circle at 16% 20%, color-mix(in srgb, #f3c96d 24%, transparent), transparent 38%),
    linear-gradient(145deg, color-mix(in srgb, var(--panel-strong) 88%, #f5d989 12%), color-mix(in srgb, var(--surface) 90%, #e0b24f 10%));
  box-shadow: 0 16px 32px rgba(116, 82, 24, 0.12);
}

.stage-group-button-spotlight:hover {
  border-color: color-mix(in srgb, #c89228 52%, var(--line-strong) 48%);
}

.stage-group-button:focus-visible {
  outline: none;
  box-shadow: var(--soft-glow);
}

.stage-group-image {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface) 90%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.12) 44%, rgba(0, 0, 0, 0.72) 64%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.12) 44%, rgba(0, 0, 0, 0.72) 64%, #000 80%);
}

.stage-group-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--panel-strong) 44%, transparent) 0%, transparent 54%),
    linear-gradient(0deg, color-mix(in srgb, var(--text) 8%, transparent), transparent 56%);
}

.stage-group-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.96;
  filter: saturate(1.08) contrast(0.98);
}

.stage-group-image-spotlight img {
  object-position: 64% center;
  filter: saturate(1.05) contrast(1);
}

.stage-group-image-fallback {
  background:
    radial-gradient(circle at 70% 24%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 92%, var(--accent) 8%), color-mix(in srgb, var(--surface) 94%, var(--paper) 6%));
}

.stage-group-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  justify-items: start;
  max-width: min(72%, 330px);
}

.stage-group-content > strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.36rem;
  line-height: 1.16;
}

.stage-group-kicker,
.stage-provider-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: color-mix(in srgb, #7b561b 82%, var(--text) 18%);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.stage-group-kicker-icon,
.stage-provider-kicker-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid color-mix(in srgb, #d7a134 48%, var(--line) 52%);
  border-radius: 8px;
  background: color-mix(in srgb, #fff3ca 70%, var(--surface) 30%);
  color: color-mix(in srgb, #a67620 88%, var(--text) 12%);
}

.stage-group-kicker-icon svg,
.stage-provider-kicker-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.stage-group-count {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--surface) 12%);
  border-radius: 16px;
  padding: 7px 12px 8px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 88%, var(--paper) 12%);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(42, 31, 80, 0.06);
}

.stage-group-count strong {
  font-size: 2.25rem;
  letter-spacing: 0;
}

.stage-group-count small {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stage-featured-placement {
  margin: 16px 0 18px;
}

.stage-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stage-featured-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.stage-featured-grid-portrait-media .stage-featured-card {
  grid-template-columns: minmax(142px, 36%) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.stage-featured-grid-portrait-media .stage-featured-card-kidsus {
  grid-template-columns: minmax(268px, 47%) minmax(0, 1fr);
}

.stage-featured-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  min-height: 100%;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--line) 64%);
  border-radius: 22px;
  padding: 14px;
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, #efd79b 28%, transparent), transparent 36%),
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 32%),
    linear-gradient(135deg, color-mix(in srgb, var(--panel-strong) 96%, white 4%), color-mix(in srgb, var(--surface) 89%, #f1dfb5 11%));
  box-shadow: 0 18px 42px rgba(42, 31, 80, 0.12);
}

.stage-featured-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 28%, color-mix(in srgb, #e5b56a 14%, transparent));
  pointer-events: none;
}

.stage-featured-image,
.stage-featured-body,
.stage-featured-action {
  position: relative;
  z-index: 1;
}

.stage-featured-image {
  display: block;
  align-self: stretch;
  aspect-ratio: 16 / 8.5;
  min-height: 0;
  max-height: 210px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 74%, transparent);
  border-radius: 16px;
  overflow: hidden;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface) 90%);
  box-shadow: 0 12px 26px rgba(42, 31, 80, 0.1);
}

.stage-featured-grid-portrait-media .stage-featured-image {
  grid-row: 1 / span 2;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  max-height: none;
}

.stage-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(0.98);
}

.stage-featured-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.stage-featured-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: -2px;
}

.stage-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: color-mix(in srgb, var(--accent-strong) 68%, var(--text) 32%);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0;
}

.stage-featured-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 18%, color-mix(in srgb, white 72%, transparent), transparent 38%),
    color-mix(in srgb, var(--accent) 16%, var(--panel-strong) 84%);
  color: color-mix(in srgb, var(--accent-strong) 78%, var(--text) 22%);
  box-shadow: 0 5px 13px color-mix(in srgb, var(--accent) 12%, transparent);
}

.stage-featured-badge-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.stage-featured-body h2 {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.28rem, 1.65vw, 1.58rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.stage-featured-description,
.stage-featured-week {
  margin: 0;
  max-width: 62ch;
  color: color-mix(in srgb, var(--text) 82%, var(--muted) 18%);
  font-size: 0.98rem;
  line-height: 1.42;
}

.stage-featured-week {
  color: color-mix(in srgb, var(--muted) 78%, var(--text) 22%);
  font-size: 0.9rem;
  font-weight: 650;
}

.stage-featured-meta {
  margin-top: 4px;
}

.stage-featured-action {
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line) 66%);
  border-radius: 16px;
  padding: 0 8px 0 17px;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, #efd79b 18%, transparent), transparent 36%),
    color-mix(in srgb, var(--panel-strong) 94%, var(--surface) 6%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    0 13px 26px rgba(42, 31, 80, 0.09),
    inset 0 1px 0 color-mix(in srgb, white 66%, transparent);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.stage-featured-grid-portrait-media .stage-featured-action {
  grid-column: 2;
}

.stage-featured-grid-single.stage-featured-grid-portrait-media .stage-featured-card {
  grid-template-columns: minmax(280px, 28%) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
}

.stage-featured-grid-single.stage-featured-grid-portrait-media .stage-featured-image {
  grid-row: 1 / span 2;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 260px;
}

.stage-featured-grid-single.stage-featured-grid-portrait-media .stage-featured-body {
  align-self: end;
}

.stage-featured-grid-single.stage-featured-grid-portrait-media .stage-featured-action {
  align-self: start;
  justify-self: start;
  width: min(330px, 100%);
}

.stage-featured-action:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 56%, var(--line) 44%);
  box-shadow:
    0 16px 30px rgba(42, 31, 80, 0.12),
    0 0 0 4px color-mix(in srgb, var(--accent) 10%, transparent);
}

.stage-featured-action:focus-visible,
.stage-featured-image:focus-visible {
  outline: none;
  box-shadow: var(--soft-glow);
}

.stage-featured-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 76%, var(--accent-strong) 24%);
  color: color-mix(in srgb, white 93%, var(--paper) 7%);
  box-shadow: 0 9px 18px color-mix(in srgb, var(--accent) 25%, transparent);
}

.stage-featured-action-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-group-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: 0 8px 20px rgba(42, 31, 80, 0.1);
}

.stage-group-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-group-button-all {
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 96%, var(--paper) 4%), color-mix(in srgb, var(--panel-strong) 95%, var(--muted) 5%));
}

.stage-group-button-all .stage-group-content {
  max-width: calc(100% - 54px);
}

.stage-empty-week {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 9% 16%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--panel-strong) 97%, white 3%), color-mix(in srgb, var(--surface) 94%, var(--paper) 6%));
  box-shadow: 0 14px 30px rgba(42, 31, 80, 0.08);
}

.stage-empty-week-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line) 74%);
  border-radius: 18px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface) 90%);
  box-shadow: 0 10px 22px rgba(42, 31, 80, 0.08);
}

.stage-empty-week-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-empty-week-copy {
  display: grid;
  gap: 5px;
}

.stage-empty-week-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.24rem;
  line-height: 1.15;
}

.stage-empty-week-copy span {
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.35;
}

.stage-meta {
  display: block;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.stage-registry {
  display: grid;
  gap: 10px;
}

.stage-registry-row {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel-strong) 96%, white 4%), color-mix(in srgb, var(--surface) 98%, var(--accent) 2%));
  padding: 10px;
  box-shadow: 0 7px 18px rgba(38, 68, 136, 0.09);
}

.stage-card-thumb {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: 124px;
  border: 1px solid rgba(36, 77, 165, 0.2);
  border-radius: 10px;
  overflow: hidden;
  color: color-mix(in srgb, var(--accent-strong) 86%, var(--text) 14%);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 14%, var(--surface) 86%), color-mix(in srgb, var(--paper) 84%, var(--accent) 16%));
}

.stage-card-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 124px;
  object-fit: cover;
}

.stage-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.stage-card-thumb-fallback-content {
  display: none;
}

.stage-card-thumb-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stage-card-thumb-fallback .stage-card-thumb-fallback-content {
  display: contents;
}

.stage-card-thumb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 17px;
  color: color-mix(in srgb, var(--accent-strong) 88%, var(--text) 12%);
  background: color-mix(in srgb, var(--surface) 78%, var(--accent) 10%);
  box-shadow: 0 10px 22px rgba(42, 31, 80, 0.08);
}

.stage-card-thumb-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-card-thumb-label {
  margin-top: 9px;
  color: color-mix(in srgb, var(--text) 74%, var(--muted) 26%);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: capitalize;
}

.stage-row-main {
  min-width: 0;
}

.stage-row-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
  line-height: 1.2;
  max-width: 68ch;
}

.stage-row-description {
  max-width: 76ch;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.42;
}

.stage-meta-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 7px;
  margin-top: 12px;
}

.stage-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: color-mix(in srgb, var(--text) 86%, var(--muted) 14%);
  font-size: 0.84rem;
  font-weight: 700;
}

.stage-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: color-mix(in srgb, var(--text) 82%, var(--accent-strong) 18%);
}

.stage-meta-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-row-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  background: var(--panel-strong);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.stage-row-action:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.stage-row-action-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage-row-action:focus-visible {
  outline: none;
  box-shadow: var(--soft-glow);
}

.stage-row-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  height: 21px;
  border-radius: 6px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface) 88%);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.03em;
}

.stage-empty {
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  padding: 18px;
  color: var(--muted);
  background: var(--panel-strong);
}

body.theme-dark .stage-group-button {
  background: color-mix(in srgb, var(--surface) 82%, var(--accent) 5%);
}

body.theme-dark .stage-registry-row,
body.theme-dark .stage-empty-week,
body.theme-dark .stage-empty {
  background: var(--panel-strong);
}

.stage-profile-popover {
  width: min(460px, calc(100vw - 24px));
  padding: 12px;
  display: grid;
  gap: 10px;
}

.stage-profile-summary {
  display: grid;
  gap: 8px;
}

.stage-profile-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface) 82%, var(--panel-strong) 18%);
}

.stage-profile-summary-row span,
.stage-profile-empty {
  color: var(--muted);
  font-size: 0.86rem;
}

.stage-profile-summary-row strong {
  text-align: right;
}

@media (max-width: 640px) {
  .stage-period-pill-group,
  .stage-filter-row,
  .stage-registry-row {
    grid-template-columns: 1fr;
  }

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

  .stage-featured-card {
    gap: 12px;
    padding: 12px;
  }

  .stage-provider-header {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    padding: 14px;
  }

  .stage-provider-copy {
    justify-items: center;
    text-align: center;
  }

  .stage-provider-stats {
    justify-content: center;
  }

  .stage-provider-visual {
    display: none;
  }

  .stage-featured-grid-portrait-media .stage-featured-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: stretch;
  }

  .stage-featured-grid-single.stage-featured-grid-portrait-media .stage-featured-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: stretch;
  }

  .stage-featured-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .stage-featured-grid-portrait-media .stage-featured-image {
    grid-row: auto;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .stage-featured-grid-single.stage-featured-grid-portrait-media .stage-featured-image {
    grid-row: auto;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: none;
  }

  .stage-featured-grid-single.stage-featured-grid-portrait-media .stage-featured-body {
    align-self: stretch;
  }

  .stage-featured-image img {
    min-height: 0;
  }

  .stage-featured-action {
    width: 100%;
  }

  .stage-featured-grid-portrait-media .stage-featured-action {
    grid-column: auto;
  }

  .stage-featured-grid-single.stage-featured-grid-portrait-media .stage-featured-action {
    width: 100%;
    justify-self: stretch;
  }

  .stage-focused-head {
    grid-template-columns: 1fr;
  }

  .stage-focused-head .btn {
    justify-self: stretch;
  }

  .stage-card-thumb {
    min-height: 150px;
    aspect-ratio: 16 / 7;
  }

  .stage-card-thumb-img {
    min-height: 150px;
  }

  .stage-row-action {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .stage-page .stage-app-shell {
    padding: 8px 8px 32px;
  }

  .stage-page .stage-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .stage-page .hero-actions {
    display: inline-flex;
    justify-content: flex-end;
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .stage-search-box {
    min-height: 56px;
    padding: 0 8px 0 14px;
  }

  .stage-search-submit {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
  }

  .stage-search-submit span:last-child {
    display: none;
  }

  .stage-empty-week {
    align-items: flex-start;
    gap: 13px;
    min-height: 0;
    padding: 18px;
  }

  .stage-empty-week-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .stage-empty-week-copy strong {
    font-size: 1.12rem;
  }

  .stage-featured-placement {
    margin: 13px 0 16px;
  }

  .stage-featured-card {
    border-radius: 20px;
  }

  .stage-featured-body h2 {
    font-size: 1.42rem;
  }

  .stage-featured-description,
  .stage-featured-week {
    font-size: 0.92rem;
  }

  .stage-featured-meta {
    gap: 7px 12px;
  }

  .stage-navigation {
    padding: 12px;
  }

  .stage-week-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 7px;
    margin-inline: -2px;
  }

  .stage-week-nav {
    width: 42px;
    height: 52px;
    border-radius: 16px;
  }

  .stage-week-btn {
    min-width: 132px;
    min-height: 58px;
  }
}
