.colorful-overview-page .shell-main {
  position: relative;
  overflow-x: clip;
}

.colorful-page-shell {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.colorful-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(156, 208, 238, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(108, 193, 255, 0.18), transparent 17rem),
    radial-gradient(circle at 18% 0%, rgba(255, 196, 94, 0.12), transparent 14rem),
    linear-gradient(135deg, rgba(14, 23, 34, 0.94) 0%, rgba(11, 18, 27, 0.96) 50%, rgba(12, 22, 34, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.colorful-hero::before,
.colorful-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.42;
}

.colorful-hero::before {
  top: -42px;
  right: -70px;
  width: 260px;
  height: 220px;
  background: radial-gradient(circle, rgba(110, 214, 255, 0.4), rgba(110, 214, 255, 0));
}

.colorful-hero::after {
  bottom: -90px;
  left: -60px;
  width: 240px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 201, 112, 0.26), rgba(255, 201, 112, 0));
}

.colorful-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: rgba(195, 225, 243, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.colorful-hero h1 {
  margin: 0;
  color: #f5efe3;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  position: relative;
  z-index: 1;
}

.colorful-hero-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.colorful-help-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(183, 221, 243, 0.16);
  border-radius: 999px;
  color: #f5d07b;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-size: 1rem;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.colorful-help-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 208, 123, 0.34);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.colorful-help-toggle:focus-visible {
  outline: 2px solid rgba(118, 217, 255, 0.8);
  outline-offset: 2px;
}

.colorful-help-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(179, 224, 247, 0.14);
  border-radius: 20px;
  color: rgba(233, 240, 246, 0.9);
  background:
    linear-gradient(180deg, rgba(8, 13, 20, 0.84) 0%, rgba(11, 18, 27, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 36px rgba(0, 0, 0, 0.24);
}

.colorful-help-kicker {
  margin: 0 0 10px;
  color: #f3d48b;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.colorful-help-panel p {
  margin: 0;
  line-height: 1.7;
}

.colorful-help-panel p + p {
  margin-top: 8px;
}

.colorful-help-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.colorful-help-list li {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(185, 221, 241, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.colorful-subline {
  max-width: 62ch;
  margin: 14px 0 0;
  color: rgba(220, 231, 241, 0.78);
  font-size: 1rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.colorful-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.colorful-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(197, 221, 237, 0.12);
  border-radius: 999px;
  color: #edf5fb;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.colorful-hero-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(159, 209, 239, 0.32);
  box-shadow: 0 12px 24px rgba(3, 8, 14, 0.24);
}

.colorful-hero-btn.is-primary {
  color: #08131e;
  background: linear-gradient(135deg, #f1cb72 0%, #f5e1a6 100%);
  border-color: transparent;
}

.colorful-hero-badge {
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(182, 221, 245, 0.16);
  border-radius: 999px;
  color: #f3eedf;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.colorful-category-nav {
  position: sticky;
  top: 16px;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(243, 233, 212, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 18, 25, 0.48) 0%, rgba(10, 16, 23, 0.34) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.colorful-category-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(238, 227, 205, 0.12);
  border-radius: 999px;
  color: #f6eee0;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font: inherit;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.colorful-category-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(250, 241, 219, 0.26);
  background: rgba(255, 255, 255, 0.09);
}

.colorful-category-chip:focus-visible {
  outline: 2px solid rgba(118, 217, 255, 0.8);
  outline-offset: 2px;
}

.colorful-category-chip span {
  font-weight: 700;
}

.colorful-category-chip strong {
  color: #f0c662;
  font-size: 0.94rem;
}

.colorful-category-chip.is-active {
  border-color: rgba(117, 214, 255, 0.34);
  color: #f8fbff;
  background: linear-gradient(135deg, rgba(39, 76, 108, 0.9) 0%, rgba(29, 109, 119, 0.76) 100%);
  box-shadow: 0 12px 24px rgba(2, 7, 14, 0.18);
}

.colorful-category-chip.is-active strong {
  color: #fff3c7;
}

.colorful-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(243, 233, 212, 0.1);
  border-radius: 18px;
  color: rgba(235, 241, 247, 0.82);
  background: rgba(13, 19, 26, 0.68);
}

.colorful-note i {
  color: #f1c967;
}

.colorful-sections {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.colorful-section[hidden] {
  display: none !important;
}

.colorful-section {
  padding: 24px;
  border: 1px solid rgba(241, 232, 214, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 24, 33, 0.72) 0%, rgba(12, 18, 25, 0.64) 100%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

.colorful-section.is-active {
  border-color: rgba(154, 212, 246, 0.18);
}

.colorful-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.colorful-section-kicker {
  margin: 0 0 10px;
  color: #e4be63;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.colorful-section-copy h2 {
  margin: 0;
  color: #f7efe1;
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.colorful-section-copy p {
  max-width: 58ch;
  margin: 10px 0 0;
  color: rgba(230, 237, 244, 0.72);
  line-height: 1.75;
}

.colorful-section-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.colorful-section-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(241, 232, 214, 0.12);
  border-radius: 999px;
  color: #f6efe2;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.colorful-group-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.colorful-group {
  overflow: hidden;
  border: 1px solid rgba(241, 232, 214, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.018);
  height: fit-content;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.colorful-group-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.colorful-group-summary::-webkit-details-marker {
  display: none;
}

.colorful-group-title {
  display: grid;
  gap: 6px;
}

.colorful-group-title strong {
  color: #f8f1e5;
  font-size: 1.06rem;
}

.colorful-group-title small {
  color: rgba(224, 232, 240, 0.7);
  font-size: 0.88rem;
}

.colorful-group-action {
  color: rgba(228, 235, 243, 0.78);
  font-size: 0.88rem;
  white-space: nowrap;
}

.colorful-group[open] .colorful-group-action {
  color: #f1c967;
}

.colorful-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  padding: 0 18px 18px;
}

.colorful-card {
  overflow: hidden;
  border: 1px solid rgba(240, 232, 214, 0.08);
  border-radius: 22px;
  color: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.colorful-card:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 201, 103, 0.36);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: no-preference) {
  .colorful-hero,
  .colorful-category-nav,
  .colorful-note,
  .colorful-section,
  .colorful-group,
  .colorful-card {
    transition:
      transform 0.18s ease,
      border-color 0.18s ease,
      box-shadow 0.18s ease,
      background 0.18s ease;
  }
}

.colorful-card-media {
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 244, 227, 0.06) 0%, rgba(255, 244, 227, 0.02) 100%),
    rgba(7, 10, 15, 0.22);
}

.colorful-card-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.colorful-card-image.is-pending {
  opacity: 0.92;
  filter: saturate(0.78) brightness(0.9);
}

.colorful-card-image.is-loaded {
  opacity: 1;
  filter: none;
}

.colorful-card-body {
  padding: 0 14px 12px;
}

.colorful-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}

.colorful-card-body strong {
  flex: 1 1 auto;
  min-width: 0;
  color: #f7efe1;
  font-size: 0.98rem;
  line-height: 1.5;
}

.colorful-card-meta {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 8px;
}

.colorful-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(233, 239, 246, 0.86);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}

.colorful-empty {
  padding: 32px;
  border: 1px solid rgba(241, 232, 214, 0.1);
  border-radius: 24px;
  color: #f7efe1;
  background: rgba(12, 18, 25, 0.92);
  text-align: center;
}

.colorful-empty p {
  margin: 10px 0 0;
  color: rgba(228, 235, 243, 0.74);
}

@media (max-width: 1080px) {
  .colorful-hero {
    grid-template-columns: 1fr;
  }

  .colorful-hero-badge {
    justify-self: start;
  }

  .colorful-group-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .colorful-page-shell {
    width: min(100%, calc(100% - 20px));
    padding: 18px 0 28px;
  }

  .colorful-hero,
  .colorful-section {
    padding: 18px;
    border-radius: 22px;
  }

  .colorful-category-nav {
    top: 10px;
    padding: 12px;
    background: rgba(12, 18, 25, 0.34);
  }

  .colorful-hero-title-row {
    align-items: flex-start;
  }

  .colorful-help-list {
    grid-template-columns: 1fr;
  }

  .colorful-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px 12px;
  }

  .colorful-section-copy {
    min-width: 0;
  }

  .colorful-section-copy p {
    margin-top: 6px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .colorful-section-meta {
    justify-content: flex-end;
    gap: 8px;
  }

  .colorful-section-meta span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .colorful-group-summary {
    flex-direction: row;
    align-items: center;
    padding: 14px 16px;
  }

  .colorful-group-title {
    gap: 2px;
  }

  .colorful-group-title strong {
    font-size: 1rem;
  }

  .colorful-group-title small,
  .colorful-group-action {
    font-size: 0.82rem;
  }

  .colorful-card-body {
    padding: 0 12px 10px;
  }

  .colorful-card-head {
    align-items: center;
    gap: 8px;
  }

  .colorful-card-meta {
    justify-content: flex-end;
    gap: 6px;
  }

  .colorful-card-meta span {
    min-height: 26px;
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .colorful-card-body strong {
    font-size: 0.94rem;
    line-height: 1.4;
  }

  .colorful-card-grid {
    grid-template-columns: 1fr;
    padding: 0 14px 14px;
  }

  .colorful-section {
    background: linear-gradient(180deg, rgba(17, 24, 33, 0.56) 0%, rgba(12, 18, 25, 0.48) 100%);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
  }

  .colorful-group,
  .colorful-card {
    box-shadow: none;
  }

  .colorful-hero-btn,
  .colorful-category-nav {
    backdrop-filter: none;
  }
}
