* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background-color: #5aa6ea;
  background-image: url("./assets/wallpaper.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #14386b;
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: "Nunito", sans-serif;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
}

.page {
  width: min(1100px, 96vw);
  margin: 18px auto;
}

.page-content {
  border-radius: 22px;
  border: 2px solid rgba(209, 230, 255, 0.95);
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.94), rgba(216, 233, 253, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 22px rgba(34, 79, 136, 0.3);
  padding: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  font-family: "Nunito", sans-serif;
  color: #2b4f84;
}

.breadcrumb a {
  color: #1f4f92;
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  text-align: center;
}

.site-header-plain {
  margin-bottom: 10px;
}

.brand {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 2vw, 36px);
  color: #234371;
}

.brand span {
  color: #f09513;
}

.site-header h1 {
  margin: 4px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(32px, 3vw, 54px);
  line-height: 1.05;
  color: #1f406f;
}

.lead {
  margin: 6px auto 0;
  max-width: 840px;
  font-family: "Nunito", sans-serif;
  font-size: clamp(17px, 1.3vw, 22px);
  color: #2e517f;
}

.category-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 14px 0 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #9cc2eb;
  background: linear-gradient(180deg, #f9fcff, #e0edff);
  color: #23406c;
  font-family: "Baloo 2", cursive;
  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1;
  padding: 8px 14px;
}

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

.hub-card {
  border-radius: 16px;
  border: 1px solid #c2d8f4;
  background: linear-gradient(180deg, #f8fcff, #e4efff);
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 4px 10px rgba(39, 83, 137, 0.14);
}

.hub-card h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.8vw, 34px);
  line-height: 1.06;
  color: #1e406f;
}

.hub-card p {
  font-family: "Nunito", sans-serif;
  font-size: clamp(16px, 1.1vw, 19px);
  color: #2b4f81;
}

.hub-link {
  display: inline-flex;
  margin-top: 4px;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #96b9e2;
  background: linear-gradient(180deg, #f9fcff, #dfebfb);
  color: #244677;
  font-family: "Baloo 2", cursive;
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 700;
  padding: 6px 12px;
}

.challenge-shell {
  display: grid;
  gap: 10px;
}

.challenge-controls {
  border-radius: 16px;
  border: 1px solid #bdd6f5;
  background: linear-gradient(180deg, #f8fcff, #e4efff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 6px 12px rgba(40, 82, 136, 0.12);
  padding: 10px;
}

.challenge-controls h2,
.challenge-days h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(28px, 2vw, 40px);
  line-height: 1.04;
  color: #224472;
}

.challenge-variant-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.challenge-variant-row .chip {
  width: 100%;
}

.challenge-progress-head {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.challenge-progress-head p {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(16px, 1.1vw, 20px);
  font-weight: 800;
  color: #2f507d;
}

.challenge-progress-head .ideas-btn {
  margin-top: 0;
  font-size: clamp(20px, 1.35vw, 28px);
  padding: 8px 16px;
}

.challenge-progressbar {
  margin-top: 10px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid #9fc2ea;
  background: linear-gradient(180deg, #f1f8ff, #d9eaff);
  overflow: hidden;
}

.challenge-progressbar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #42cf37, #209f1a);
  transition: width 0.24s ease;
}

.challenge-info {
  margin: 8px 0 0;
  min-height: 22px;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 800;
  color: #375d8f;
}

.challenge-info.success {
  color: #1f7c1f;
}

.challenge-info.error {
  color: #b11b1b;
}

.challenge-login-note {
  margin: 6px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.95vw, 17px);
  color: #335785;
}

.challenge-login-note a {
  color: #1c5aa8;
  font-weight: 800;
  text-decoration: none;
}

.challenge-days {
  border-radius: 16px;
  border: 1px solid #bdd6f5;
  background: linear-gradient(180deg, #f8fcff, #e4efff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 6px 12px rgba(40, 82, 136, 0.12);
  padding: 10px;
}

.challenge-days-grid {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.challenge-day-card {
  border-radius: 14px;
  border: 1px solid #b2cdef;
  background: linear-gradient(180deg, #f8fcff, #deecff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 5px 10px rgba(33, 76, 129, 0.1);
  padding: 9px;
}

.challenge-day-card.is-done {
  border-color: #90c88a;
  background: linear-gradient(180deg, #f5fff3, #ddf3d7);
}

.challenge-day-kicker {
  margin: 0;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid #99bde7;
  background: linear-gradient(180deg, #f7fbff, #deecff);
  padding: 4px 10px;
  font-family: "Baloo 2", cursive;
  font-size: 13px;
  line-height: 1;
  color: #234370;
}

.challenge-day-card h3 {
  margin: 8px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(25px, 1.7vw, 36px);
  line-height: 1.04;
  color: #1f406f;
}

.challenge-day-card p {
  margin: 7px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(15px, 1.02vw, 18px);
  color: #2f507d;
}

.challenge-day-card .chip {
  margin-top: 8px;
}

.categories-page {
  width: min(1240px, 96vw);
  margin: 12px auto;
}

.categories-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  gap: 12px;
  align-items: start;
}

.categories-main-card h2 {
  margin: 0 0 10px;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-size: clamp(31px, 2.2vw, 44px);
  line-height: 1;
  color: #22487a;
}

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

.category-spot {
  border-radius: 20px;
  border: 1px solid #c6daf4;
  background: linear-gradient(180deg, #f9fcff, #e4efff);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 14px rgba(39, 83, 137, 0.18);
}

.category-spot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-bottom: 1px solid #c4d9f3;
}

.category-spot-body {
  padding: 10px;
}

.category-spot h3 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(23px, 1.6vw, 31px);
  line-height: 1.04;
  color: #23406b;
}

.category-spot p {
  margin: 7px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(15px, 1.02vw, 18px);
  line-height: 1.4;
  color: #2d507e;
}

.category-spot-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.categories-sidebar .challenge-card,
.categories-sidebar .community-card,
.categories-sidebar .categories-side-links {
  margin-top: 0;
}

.categories-sidebar .community-card,
.categories-sidebar .categories-side-links {
  margin-top: 10px;
}

.categories-side-links h2 {
  margin: 0 0 8px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.65vw, 34px);
  color: #22487a;
}

.categories-side-links .hub-link {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.categories-side-links .hub-link + .hub-link {
  margin-top: 8px;
}

.blog-overview-page {
  width: min(1220px, 96vw);
  margin: 12px auto;
  padding: 0 4px;
}

.blog-overview-header {
  margin: 0 0 12px;
}

.blog-overview-logo {
  display: block;
  width: min(900px, 96%);
  margin: 0 auto 8px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(18, 56, 108, 0.35));
}

.blog-overview-header h1 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(36px, 3.2vw, 58px);
  line-height: 1;
  color: #22487d;
}

.blog-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blog-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.55fr);
  gap: 12px;
  align-items: start;
}

.blog-overview-grid {
  grid-column: 1;
  grid-row: 1;
}

.blog-overview-sidebar {
  grid-column: 2;
  grid-row: 1;
}

.blog-overview-sidebar .popular-cats,
.blog-overview-sidebar .challenge-card,
.blog-overview-sidebar .calendar-card {
  margin-top: 0;
}

.blog-overview-sidebar .challenge-card,
.blog-overview-sidebar .calendar-card {
  margin-top: 10px;
}

.blog-overview-card {
  border-radius: 28px;
  border: 2px solid rgba(198, 220, 247, 0.96);
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.96), rgba(233, 241, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 20px rgba(39, 82, 136, 0.2);
  overflow: hidden;
}

.blog-overview-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-bottom: 2px solid rgba(200, 220, 245, 0.85);
}

.blog-overview-content {
  padding: 14px 16px 16px;
}

.blog-overview-content h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(34px, 2.2vw, 52px);
  line-height: 1.04;
  color: #35547f;
}

.blog-overview-content p {
  margin: 8px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.45;
  color: #2f4f7c;
}

.blog-overview-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid #7babf0;
  background: linear-gradient(180deg, #56a5ff, #1f5fd4);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.5vw, 32px);
  font-weight: 700;
  line-height: 1;
  padding: 10px 20px;
  text-shadow: 0 2px 0 rgba(16, 62, 139, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 6px 0 #1d4eb0,
    0 12px 18px rgba(27, 83, 176, 0.32);
}

.article-card {
  border-radius: 18px;
  border: 1px solid #c3d8f5;
  background: linear-gradient(180deg, #f9fdff, #e4efff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 16px rgba(34, 79, 136, 0.17);
}

.article-full {
  padding: 12px;
}

.article-head h2,
.article-head h1 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(28px, 2.2vw, 46px);
  line-height: 1.05;
  color: #1f406f;
}

.article-head p,
.article-content p,
.article-content li {
  font-family: "Nunito", sans-serif;
  font-size: clamp(17px, 1.15vw, 21px);
  line-height: 1.5;
  color: #254877;
}

.article-content h2,
.article-content h3,
.note-box h2,
.toc h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  color: #234371;
}

.article-content h2 {
  font-size: clamp(26px, 2vw, 38px);
}

.article-content h3 {
  margin-top: 8px;
  font-size: clamp(22px, 1.5vw, 30px);
}

.article-content + .article-content,
.article-content + .note-box,
.note-box + .article-content {
  margin-top: 10px;
}

.article-meta {
  margin: 0 0 6px;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #4e6f9c;
  font-weight: 700;
}

.toc {
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid #c2d8f4;
  background: linear-gradient(180deg, #f8fcff, #e2edfd);
  padding: 10px 12px;
}

.toc ol {
  margin: 8px 0 0;
  padding-left: 18px;
}

.toc a {
  color: #215392;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

.note-box {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid #f2ca7f;
  background: linear-gradient(180deg, #fff8e7, #ffefc8);
  padding: 10px 12px;
}

.note-box pre {
  margin: 8px 0 0;
  overflow-x: auto;
  background: #fff7e2;
  border: 1px solid #f2d8a7;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.inline-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-links a {
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #53d73f, #239e18);
  border: 2px solid #78de64;
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(18px, 1.2vw, 24px);
  line-height: 1;
  padding: 8px 12px;
}

.auth-shell {
  display: grid;
  gap: 12px;
}

.auth-intro p {
  margin: 0;
}

.auth-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-panel {
  border-radius: 14px;
  border: 1px solid #bcd6f5;
  background: linear-gradient(180deg, #f8fcff, #e2edfd);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 14px rgba(34, 79, 136, 0.12);
  padding: 12px;
}

.auth-panel h2,
.auth-panel h3 {
  margin: 0 0 8px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.8vw, 34px);
  line-height: 1.05;
  color: #21416f;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-field {
  display: grid;
  gap: 5px;
}

.auth-field label {
  font-family: "Nunito", sans-serif;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 700;
  color: #1f406f;
}

.auth-field input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #9fc3ec;
  background: #fff;
  color: #1d3f6f;
  font-family: "Nunito", sans-serif;
  font-size: clamp(15px, 1vw, 18px);
  padding: 10px 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.auth-field input:focus-visible {
  outline: 3px solid rgba(43, 104, 182, 0.38);
  outline-offset: 1px;
}

.auth-submit {
  border: 1px solid #2665b4;
  border-radius: 999px;
  background: linear-gradient(180deg, #3276cb, #1f5395);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 700;
  line-height: 1;
  padding: 10px 14px;
  cursor: pointer;
}

.auth-submit-alt {
  border-color: #24852b;
  background: linear-gradient(180deg, #3cad3c, #1f7a20);
}

.auth-msg {
  margin: 0;
  min-height: 22px;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 700;
  color: #395f93;
}

.auth-msg.success {
  color: #1f7a20;
}

.auth-msg.error {
  color: #b53131;
}

.auth-session {
  text-align: center;
}

.auth-session-text {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(17px, 1.1vw, 20px);
  font-weight: 700;
  color: #1f406f;
}

.auth-session-actions {
  justify-content: center;
}

.auth-logout {
  margin-top: 8px;
  border: 1px solid #a23d3d;
  border-radius: 999px;
  background: linear-gradient(180deg, #de5c5c, #b03939);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 700;
  line-height: 1;
  padding: 9px 15px;
  cursor: pointer;
}

.portal-shell {
  display: grid;
  gap: 10px;
}

.portal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid #bed8f5;
  background: linear-gradient(180deg, #f8fcff, #e3efff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 6px 14px rgba(34, 79, 136, 0.12);
  padding: 12px;
}

.portal-head-copy {
  min-width: 0;
}

.portal-head h2,
.portal-head h3 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(28px, 2vw, 38px);
  line-height: 1.05;
  color: #1f406f;
}

.portal-head p {
  margin: 4px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(17px, 1.1vw, 21px);
  font-weight: 700;
  color: #2a4f81;
}

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

.portal-card {
  border-radius: 14px;
  border: 1px solid #bcd6f5;
  background: linear-gradient(180deg, #f8fcff, #e2edfd);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 14px rgba(34, 79, 136, 0.12);
  padding: 12px;
}

.portal-card h3 {
  margin: 0 0 8px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.6vw, 34px);
  line-height: 1.05;
  color: #21416f;
}

.portal-meta {
  margin: 0;
  display: grid;
  gap: 8px;
}

.portal-meta div {
  display: grid;
  gap: 2px;
}

.portal-meta dt {
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.9vw, 16px);
  color: #4a6d9a;
  font-weight: 700;
}

.portal-meta dd {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(16px, 1vw, 19px);
  color: #234370;
  font-weight: 800;
}

.portal-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.portal-kpi {
  border-radius: 12px;
  border: 1px solid #98bfec;
  background: linear-gradient(180deg, #f7fbff, #dcebff);
  padding: 8px 10px;
}

.portal-kpi-label {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: clamp(13px, 0.85vw, 15px);
  font-weight: 700;
  color: #466998;
}

.portal-kpi strong {
  margin-top: 2px;
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: clamp(26px, 1.9vw, 36px);
  line-height: 1;
  color: #1f4171;
}

.portal-subline {
  margin: 8px 0 6px;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.9vw, 16px);
  color: #466998;
  font-weight: 700;
}

.portal-history {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.portal-history li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid #b7d3f5;
  background: linear-gradient(180deg, #f9fdff, #e6f1ff);
  padding: 7px 8px;
}

.portal-idea-id {
  font-family: "Baloo 2", cursive;
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1;
  color: #1f4372;
}

.portal-idea-ts {
  font-family: "Nunito", sans-serif;
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 700;
  color: #5779a5;
}

.portal-history-empty {
  justify-content: center;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.9vw, 16px);
  color: #4e6f9c;
}

.portal-head-logout {
  margin-top: 0;
  flex-shrink: 0;
}

.admin-shell {
  display: grid;
  gap: 10px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-tab-btn {
  min-width: 140px;
  min-height: 42px;
}

.admin-tab-btn.active {
  box-shadow:
    inset 0 0 0 3px #ffc448,
    0 3px 8px rgba(38, 86, 149, 0.18);
}

.admin-panels {
  display: grid;
  gap: 10px;
}

.admin-panel {
  display: grid;
  gap: 10px;
}

.admin-challenge-grid {
  display: grid;
  gap: 10px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 14px;
  border: 1px solid #bed8f5;
  background: linear-gradient(180deg, #f8fcff, #e3efff);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 6px 14px rgba(34, 79, 136, 0.12);
  padding: 12px;
}

.admin-head h2,
.admin-head h3 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(28px, 2vw, 38px);
  line-height: 1.05;
  color: #1f406f;
}

.admin-head p {
  margin: 4px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 700;
  color: #355a8a;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.85fr) minmax(0, 1.15fr);
  gap: 10px;
}

.admin-card {
  border-radius: 14px;
  border: 1px solid #bcd6f5;
  background: linear-gradient(180deg, #f8fcff, #e2edfd);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 14px rgba(34, 79, 136, 0.12);
  padding: 12px;
}

.admin-card h3 {
  margin: 0 0 8px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.6vw, 34px);
  line-height: 1.05;
  color: #21416f;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-kpi {
  border-radius: 12px;
  border: 1px solid #98bfec;
  background: linear-gradient(180deg, #f7fbff, #dcebff);
  padding: 8px 10px;
}

.admin-kpi span {
  display: block;
  font-family: "Nunito", sans-serif;
  font-size: clamp(13px, 0.85vw, 15px);
  font-weight: 700;
  color: #466998;
}

.admin-kpi strong {
  margin-top: 2px;
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: clamp(26px, 1.9vw, 36px);
  line-height: 1;
  color: #1f4171;
}

.admin-latest,
.admin-meta {
  margin: 8px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.9vw, 16px);
  color: #466998;
  font-weight: 700;
}

.admin-toolbar {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-toolbar label {
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 800;
  color: #2e507d;
}

.admin-toolbar select {
  border-radius: 12px;
  border: 1px solid #97bbe8;
  background: linear-gradient(180deg, #f9fcff, #e1eeff);
  color: #244572;
  font-family: "Baloo 2", cursive;
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
}

.admin-table-wrap {
  margin-top: 8px;
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.admin-table th,
.admin-table td {
  border: 1px solid #b8d2f2;
  padding: 8px;
  text-align: left;
}

.admin-table th {
  font-family: "Baloo 2", cursive;
  font-size: clamp(16px, 1vw, 20px);
  line-height: 1;
  color: #234370;
  background: linear-gradient(180deg, #eef6ff, #dcebff);
}

.admin-table td {
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.92vw, 16px);
  color: #2a4c7a;
  background: #f9fcff;
}

.admin-error {
  margin: 0;
  min-height: 24px;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 700;
  color: #b53131;
}

.faq-list h2 {
  margin-top: 6px;
}

.faq-list p {
  margin-top: 4px;
}

.footer {
  width: min(1100px, 96vw);
  margin: 10px auto 18px;
  border-radius: 14px;
  border: 1px solid rgba(140, 181, 230, 0.34);
  background: linear-gradient(180deg, rgba(12, 35, 75, 0.88), rgba(10, 28, 60, 0.94));
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.footer a {
  text-decoration: none;
  color: #edf7ff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(20px, 1.4vw, 26px);
  line-height: 1;
}

.top-header {
  width: min(1260px, 98vw);
  margin: -6px auto 0;
  padding: 0 2px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo-link {
  display: inline-block;
  line-height: 0;
  flex: 0 1 auto;
  margin-left: -32px;
  width: clamp(360px, 32vw, 560px);
  height: auto;
  overflow: visible;
  border-radius: 0;
}

.logo-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 6px 10px rgba(14, 50, 103, 0.35));
}

@media (max-width: 1100px) {
  .top-header {
    margin-top: -4px;
  }

  .logo-link {
    margin-left: -18px;
    width: clamp(290px, 40vw, 450px);
    height: auto;
  }
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-left: auto;
  margin-top: 30px;
}

.menu-btn {
  text-decoration: none;
  border-radius: 16px;
  border: 1px solid #8db9ea;
  background: linear-gradient(180deg, #f5fbff, #d9ebff);
  color: #1f3f75;
  font-family: "Baloo 2", cursive;
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 700;
  line-height: 1;
  padding: 9px 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 3px 8px rgba(36, 86, 152, 0.22);
}

.menu-btn.active {
  color: #fff;
  border-color: #3f6ca9;
  background: linear-gradient(180deg, #3b67a9, #25406f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 4px 0 #f1a41d,
    0 10px 14px rgba(37, 64, 111, 0.28);
}

.menu-btn.premium {
  color: #e18d00;
  font-weight: 800;
}

.menu-btn.premium span {
  margin-right: 5px;
}

@media (max-width: 760px) {
  .menu {
    margin-top: 2px;
  }
}

.hero-wrap {
  width: min(1260px, 98vw);
  margin: 22px auto 0;
  padding: 0 2px 0;
}

.hero-panel {
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1fr 1.9fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 0 4px 6px;
}

.hero-art {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.hero-art.right {
  clip-path: inset(0 0 0 2px);
}

.hero-center {
  text-align: center;
}

.hero-center h1 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(46px, 5.3vw, 86px);
  line-height: 0.95;
  color: #f8fcff;
  white-space: nowrap;
  letter-spacing: 0.01em;
  -webkit-text-stroke: 2px rgba(44, 90, 150, 0.55);
  text-shadow:
    0 3px 0 rgba(30, 71, 124, 0.45),
    0 8px 16px rgba(18, 60, 118, 0.35),
    0 0 12px rgba(255, 255, 255, 0.25);
}

.hero-center h1 span {
  color: #ffd04a;
  -webkit-text-stroke: 2px rgba(128, 88, 8, 0.45);
}

.hero-sub {
  margin: 8px 0 0;
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #eff8ff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(22px, 1.85vw, 30px);
  font-weight: 700;
  box-shadow: none;
  text-shadow: 0 3px 7px rgba(24, 66, 123, 0.35);
}

.squiggle {
  position: relative;
  display: inline-block;
}

.squiggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 8px;
  border-bottom: 4px solid #f4be2a;
  border-radius: 0 0 70% 70%;
  transform: skewX(-12deg);
  filter: drop-shadow(0 1px 0 rgba(180, 110, 4, 0.35));
}

.hero-cta {
  margin-top: 12px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  width: min(100%, 980px);
  padding: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 2.35vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 0 rgba(123, 63, 0, 0.45);
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 240, 171, 0.5) 0 10%, transparent 11%),
    linear-gradient(180deg, #ffd23d 0%, #ffac10 52%, #f18700 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(176, 87, 0, 0.38),
    0 9px 0 #bf6000,
    0 0 0 4px rgba(255, 193, 62, 0.5),
    0 18px 30px rgba(199, 101, 0, 0.4);
  transform-origin: center;
  will-change: transform, filter;
  animation: ctaPulse 1.8s ease-in-out infinite;
}

.hero-cta::after {
  content: "";
  position: absolute;
  left: 2.5%;
  right: 2.5%;
  top: 8px;
  height: 38%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

@keyframes ctaPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.035);
    filter: brightness(1.09);
  }
}

.filter-panel {
  margin-top: 10px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1.56fr 1.2fr 0.9fr;
  gap: 12px;
  padding: 4px 6px 8px;
}

.filter-group h2 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-family: "Baloo 2", cursive;
  font-size: clamp(26px, 2vw, 40px);
  line-height: 1;
  color: #2a4d84;
}

.filter-group h2 .line {
  display: none;
}

.line {
  flex: 0 0 74px;
  width: 74px;
  height: 3px;
  border-radius: 999px;
  background: #89b7e7;
  display: none;
}

.chip-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 1px solid #8dbce8;
  border-radius: 16px;
  padding: 7px 12px;
  min-width: 128px;
  min-height: 44px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(14px, 1.02vw, 22px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(180deg, #f4faff, #d9ecff);
  color: #24426d;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 3px 8px rgba(38, 86, 149, 0.18);
}

.chip.active {
  box-shadow:
    inset 0 0 0 3px #ffc448,
    0 3px 8px rgba(38, 86, 149, 0.18);
}

.chip.dark {
  background: linear-gradient(180deg, #355f9c, #223d6d);
  color: #fff;
}

.chip:focus-visible {
  outline: 3px solid rgba(253, 194, 70, 0.9);
  outline-offset: 2px;
}

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

  .hero-art {
    max-height: 230px;
    object-fit: cover;
  }

  .hero-center h1 {
    white-space: nowrap;
    font-size: clamp(38px, 8vw, 68px);
  }

  .hero-cta {
    width: 100%;
    font-size: clamp(18px, 4.4vw, 30px);
    padding: 11px 16px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .filter-group h2 {
    justify-content: flex-start;
    font-size: clamp(22px, 3.8vw, 30px);
  }

  .line {
    flex-basis: 48px;
    width: 48px;
  }
}

@media (max-width: 900px) {
  .admin-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .top-header {
    width: min(1260px, 100vw);
    margin: 2px auto 0;
    padding: 0 10px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }

  .logo-link {
    width: min(92vw, 540px);
    height: auto;
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
  }

  .logo-img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .menu {
    width: 100%;
    margin: 6px 0 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    white-space: normal;
  }

  .menu-btn {
    font-size: clamp(14px, 4vw, 22px);
    padding: 8px 14px;
    border-radius: 18px;
  }

  .hero-wrap {
    width: min(1260px, 100vw);
    margin: 14px auto 0;
    padding: 0 10px 12px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    padding: 0;
  }

  .hero-art {
    display: none;
  }

  .hero-center {
    margin-top: -2px;
    width: 100%;
  }

  .hero-center h1 {
    font-size: clamp(42px, 10.2vw, 62px);
    line-height: 0.98;
    letter-spacing: 0;
    white-space: normal;
  }

  .hero-sub {
    margin-top: 6px;
    font-size: clamp(22px, 5.4vw, 34px);
    line-height: 1.08;
    max-width: 96%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    width: 100%;
    margin-top: 10px;
    padding: 10px 16px;
    font-size: clamp(21px, 5.2vw, 34px);
    white-space: normal;
    text-align: center;
    line-height: 1.1;
  }

  .filter-panel {
    margin-top: 8px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 0 4px;
  }

  .filter-group h2 {
    justify-content: center;
    font-size: clamp(28px, 7vw, 42px);
  }

  .line {
    flex-basis: clamp(58px, 10vw, 90px);
    width: clamp(58px, 10vw, 90px);
  }

  .chip-row {
    margin-top: 6px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .chip {
    font-size: clamp(18px, 4.8vw, 30px);
    padding: 8px 16px;
    border-radius: 18px;
    min-width: 0;
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .content-stage {
    margin-top: 30px;
    padding: 0 8px;
  }

  .admin-card,
  .admin-head {
    padding: 10px;
  }

  .admin-kpis {
    grid-template-columns: 1fr;
  }

  .admin-tab-btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .admin-table {
    min-width: 500px;
  }

  .portal-card,
  .portal-head {
    padding: 10px;
  }

  .portal-kpis {
    grid-template-columns: 1fr;
  }

  .portal-head-logout {
    width: auto;
  }

  .auth-panel {
    padding: 10px;
  }

  .auth-submit,
  .auth-logout {
    width: 100%;
  }

  .top-header {
    padding: 0 8px;
    margin-top: 0;
  }

  .logo-link {
    height: auto;
  }

  .logo-img {
    width: min(96vw, 440px);
    transform: none;
  }

  .menu {
    gap: 6px;
  }

  .menu-btn {
    font-size: 15px;
    padding: 7px 12px;
    border-radius: 16px;
  }

  .hero-wrap {
    margin-top: 12px;
    padding: 0 8px 10px;
  }

  .hero-art {
    display: none;
  }

  .hero-center h1 {
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.02;
  }

  .hero-sub {
    font-size: clamp(15px, 5.2vw, 22px);
    line-height: 1.2;
  }

  .hero-cta {
    font-size: clamp(17px, 5vw, 21px);
    padding: 10px 12px;
    gap: 8px;
  }

  .filter-group h2 {
    font-size: clamp(24px, 9.2vw, 34px);
    gap: 8px;
  }

  .line {
    flex-basis: clamp(40px, 11vw, 64px);
    width: clamp(40px, 11vw, 64px);
    height: 2px;
  }

  .chip-row {
    gap: 7px;
  }

  .chip {
    font-size: clamp(16px, 7vw, 24px);
    padding: 8px 14px;
  }
}

.site-footer {
  width: min(1260px, 100vw);
  margin: 120px auto 0;
  padding: 0 10px 12px;
}

.content-stage {
  width: min(1160px, 100vw);
  margin: 30px auto 0;
  padding: 0 10px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(360px, 1fr) minmax(230px, 0.66fr);
  gap: 10px;
  align-items: start;
}

.left-sidebar {
  width: 100%;
}

.left-sidebar .calendar-card {
  margin-top: 10px;
}

.popular-cats h2,
.popular-cats h3 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.7vw, 34px);
  line-height: 1;
  color: #244677;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.cat-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 2px solid rgba(206, 232, 255, 0.95);
  background: linear-gradient(180deg, rgba(178, 217, 255, 0.8), rgba(151, 197, 249, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 16px rgba(45, 97, 167, 0.25);
  overflow: hidden;
}

.cat-card.green {
  background: linear-gradient(180deg, rgba(211, 245, 216, 0.9), rgba(170, 225, 176, 0.87));
}

.cat-card.wide {
  grid-column: span 1;
}

.cat-art {
  height: 94px;
  border-radius: 18px 18px 0 0;
  background-size: cover;
  background-position: center;
}

.art-home {
  background-image: url("./assets/kategorie-zuhause.webp");
  background-size: 116% auto;
  background-position: 50% 52%;
  background-repeat: no-repeat;
}

.art-out {
  background-image: url("./assets/kategorie-draußen.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.art-alone {
  background-image: url("./assets/kategorie-alleine.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.art-friends {
  background-image: url("./assets/kategorie-friends.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.art-active {
  background-image: url("./assets/kategorie-aktiv.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.art-calm {
  background-image: url("./assets/kategorie-ruhig.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cat-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 9px 8px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(16px, 1.15vw, 24px);
  font-weight: 700;
  color: #213f6a;
  background: linear-gradient(180deg, #f5fbff, #dcecff);
}

.cat-card.green .cat-label {
  color: #2f6a2e;
  background: linear-gradient(180deg, #f4fff2, #d9f6cf);
}

.cat-label em {
  font-style: normal;
  opacity: 0.7;
}

.cat-label span,
.cat-label em {
  display: none;
}

.challenge-card {
  margin-top: 8px;
  border-radius: 26px;
  border: 2px solid rgba(209, 230, 255, 0.95);
  background: linear-gradient(180deg, rgba(239, 248, 255, 0.95), rgba(202, 225, 252, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 20px rgba(34, 79, 136, 0.28);
  padding: 0 10px 10px;
}

.challenge-card h2,
.challenge-card h3 {
  margin: 0 -10px;
  border-radius: 24px 24px 16px 16px;
  padding: 8px 10px 7px;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.8vw, 32px);
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 2px 0 rgba(122, 66, 10, 0.42);
  background: linear-gradient(180deg, #ff9d31, #df6500);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 6px 0 #ad4f00;
}

.challenge-board {
  margin: 10px 4px 9px;
  padding: 8px 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f6fbff, #deedff);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.challenge-board span {
  min-height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(180deg, #fff, #e9f3ff);
  border: 1px solid #b7d2f2;
}

.challenge-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd33f, #f59c08);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.7vw, 31px);
  font-weight: 800;
  line-height: 1;
  padding: 9px 14px;
  text-shadow: 0 2px 0 rgba(128, 71, 0, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 7px 0 #ba6100,
    0 14px 20px rgba(175, 93, 0, 0.34);
}

.top-list-card {
  border-radius: 24px;
  border: 2px solid rgba(209, 230, 255, 0.95);
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.95), rgba(216, 233, 253, 0.93));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 20px rgba(34, 79, 136, 0.28);
  padding: 8px 9px 10px;
}

.top-list-card h2,
.top-list-card h3 {
  margin: 0 0 6px;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.9vw, 36px);
  line-height: 1;
  color: #244677;
}

.top-list-card h2 .spark,
.top-list-card h3 .spark {
  color: #ffb21f;
}

.top-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.top-list li {
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fcff, #e4efff);
  border: 1px solid #c2d8f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 6px 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(17px, 1.35vw, 25px);
  font-weight: 700;
  color: #273f67;
}

.rank {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #415777, #273851);
  color: #fff;
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  flex: 0 0 auto;
}

.rank.hot {
  background: linear-gradient(180deg, #ffb131, #f28700);
}

.ico {
  font-size: 22px;
  line-height: 1;
}

.star {
  margin-left: auto;
  color: #ffb21f;
}

.ideas-btn {
  display: block;
  margin-top: 8px;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #53d73f, #239e18);
  border: 2px solid #78de64;
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(26px, 1.8vw, 34px);
  font-weight: 800;
  line-height: 1;
  padding: 10px 14px;
  cursor: pointer;
  text-shadow: 0 2px 0 rgba(25, 99, 24, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 7px 0 #1a7f13,
    0 14px 20px rgba(20, 107, 21, 0.28);
}

.idea-engine .engine-lead {
  margin: 0;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-size: clamp(15px, 1.05vw, 20px);
  color: #2a4d82;
}

.engine-filters {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.engine-filter {
  border-radius: 14px;
  border: 1px solid #c2d8f4;
  background: linear-gradient(180deg, #f8fcff, #e4efff);
  padding: 7px;
}

.engine-filter h3 {
  margin: 0;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-size: clamp(16px, 1.15vw, 24px);
  line-height: 1;
  color: #244677;
}

.idea-engine .chip-row {
  margin-top: 7px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.idea-engine .chip {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 7px 10px;
  font-size: clamp(14px, 0.98vw, 19px);
}

.engine-main-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.engine-main-actions .ideas-btn {
  margin-top: 0;
  font-size: clamp(20px, 1.45vw, 28px);
  padding: 9px 12px;
  width: 100%;
}

.engine-main-actions #generateIdeaBtn {
  max-width: 100%;
  animation: ideaButtonPulse 1.8s ease-in-out infinite;
}

.ideas-btn-muted {
  background: linear-gradient(180deg, #eff6ff, #d8e8ff);
  border-color: #98bae5;
  color: #234777;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 5px 0 #7ca4d8,
    0 12px 16px rgba(55, 96, 152, 0.18);
}

@keyframes ideaButtonPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      0 7px 0 #1a7f13,
      0 14px 20px rgba(20, 107, 21, 0.28);
  }
  50% {
    transform: scale(1.015);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      0 8px 0 #1a7f13,
      0 18px 26px rgba(20, 107, 21, 0.4);
  }
}

.idea-result {
  margin-top: 10px;
  border-radius: 18px;
  border: 1px solid #d9cfb4;
  background: linear-gradient(180deg, #fffdf6, #f5ecd7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 10px;
}

.idea-engine .idea-result {
  display: none;
}

.idea-result-kicker {
  margin: 0;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid #cfbe97;
  background: linear-gradient(180deg, #fff7df, #f3e4c4);
  color: #856017;
  font-family: "Baloo 2", cursive;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.idea-result h3 {
  margin: 8px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(21px, 1.55vw, 30px);
  line-height: 1.04;
  color: #1f406f;
}

.idea-description {
  margin: 6px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(15px, 1.05vw, 18px);
  color: #294c7d;
}

.idea-meta {
  margin: 8px 0 0;
  padding-left: 17px;
  display: grid;
  gap: 4px;
}

.idea-meta li {
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 1vw, 17px);
  color: #274574;
}

.idea-actions {
  margin-top: 9px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.idea-actions .chip {
  padding: 7px 10px;
}

.idea-feedback {
  min-height: 22px;
  margin: 8px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 700;
  color: #2d6b21;
}

.affiliate-disclosure {
  margin: 0 0 8px;
  font-family: "Nunito", sans-serif;
  font-size: clamp(12px, 0.88vw, 15px);
  color: #486289;
}

.aff-card.is-primary {
  border-color: #d8c291;
  background: linear-gradient(180deg, #fff8e7, #f7e9c8);
}

.finder-page {
  margin-top: 14px;
}

.finder-hero .article-head p {
  margin-top: 8px;
}

.finder-controls {
  margin-top: 10px;
}

.finder-controls h2,
.finder-results h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(28px, 2vw, 42px);
  line-height: 1;
  color: #23426f;
}

.finder-controls .engine-filters {
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.finder-controls .chip-row {
  margin-top: 7px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.finder-controls .chip {
  width: 100%;
  min-width: 0;
  padding: 7px 10px;
}

.finder-actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.finder-actions .ideas-btn {
  margin-top: 0;
  font-size: clamp(20px, 1.4vw, 28px);
  padding: 10px 12px;
  width: min(520px, 100%);
}

.finder-results {
  margin-top: 10px;
}

.finder-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.finder-results-meta {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 700;
  color: #2f527f;
}

.finder-ideas-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.finder-idea-card {
  border-radius: 18px;
  border: 1px solid #c6daf4;
  background: linear-gradient(180deg, #f8fcff, #e5efff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 10px;
}

.finder-idea-kicker {
  margin: 0;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid #9ec1e8;
  background: linear-gradient(180deg, #f7fbff, #dfecff);
  color: #244571;
  font-family: "Baloo 2", cursive;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 5px 10px;
}

.finder-idea-card h3 {
  margin: 8px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(22px, 1.55vw, 31px);
  line-height: 1.04;
  color: #1f406f;
}

.finder-idea-summary {
  margin: 6px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(15px, 1.05vw, 18px);
  color: #2b4f80;
}

.finder-idea-facts {
  margin: 8px 0 0;
  padding-left: 17px;
  display: grid;
  gap: 4px;
}

.finder-idea-facts li {
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.95vw, 17px);
  color: #294a78;
}

.finder-product-box {
  margin-top: 9px;
  border-radius: 14px;
  border: 1px solid #dbc89d;
  background: linear-gradient(180deg, #fff8e6, #f5e9c8);
  padding: 9px;
}

.finder-product-head {
  margin: 0;
  width: fit-content;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe08e, #f2b63f);
  color: #6e4700;
  font-family: "Baloo 2", cursive;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 5px 9px;
}

.finder-product-copy {
  margin: 7px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(14px, 0.95vw, 16px);
  color: #5f430d;
}

.finder-product-box .aff-btn {
  margin-top: 8px;
}

.finder-alt-link {
  margin-top: 7px;
  display: inline-block;
  text-decoration: none;
  font-family: "Baloo 2", cursive;
  font-size: clamp(16px, 1.1vw, 20px);
  color: #20518d;
}

.affiliate-col {
  border-radius: 22px;
  border: 2px solid rgba(221, 215, 197, 0.9);
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(241, 238, 230, 0.95));
  padding: 8px 8px 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 20px rgba(35, 74, 126, 0.24);
}

.affiliate-col .community-card {
  margin-top: 10px;
}

.affiliate-col h2,
.affiliate-col h3 {
  margin: -2px auto 8px;
  width: fit-content;
  border-radius: 14px;
  border: 1px solid #e7dbbe;
  background: linear-gradient(180deg, #fffaf0, #efe6d8);
  padding: 6px 12px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(22px, 1.4vw, 30px);
  line-height: 1;
  color: #1f3d69;
}

.affiliate-col h2 span,
.affiliate-col h3 span {
  color: #db8612;
}

.aff-card {
  border-radius: 16px;
  border: 1px solid #cadbf1;
  background: linear-gradient(180deg, #f8fcff, #e2edfd);
  padding: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 16px rgba(39, 83, 137, 0.2);
}

.aff-card + .aff-card {
  margin-top: 8px;
}

.aff-top {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px;
  align-items: center;
}

.aff-icon {
  border-radius: 10px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Baloo 2", cursive;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.aff-icon.blue { background: linear-gradient(180deg, #63bcff, #3987ea); }
.aff-icon.red { background: linear-gradient(180deg, #ff6666, #e02121); }
.aff-icon.gray { background: linear-gradient(180deg, #8aa4ce, #5f78a3); }
.aff-icon.dark { background: linear-gradient(180deg, #60779f, #334865); }

.aff-top strong {
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: clamp(16px, 1.05vw, 22px);
  line-height: 1;
  color: #203f6c;
}

.aff-top p {
  margin: 2px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(12px, 0.9vw, 17px);
  line-height: 1.1;
  color: #2f4d79;
}

.rating {
  margin: 4px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(15px, 1.1vw, 20px);
  color: #f39d13;
}

.aff-btn {
  margin-top: 6px;
  display: block;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd03f, #f69200);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(19px, 1.25vw, 25px);
  font-weight: 800;
  line-height: 1;
  padding: 7px 10px;
  text-shadow: 0 2px 0 rgba(128, 70, 0, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 5px 0 #b95f00;
}

.extras-grid {
  margin-top: 4px;
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(360px, 1fr) minmax(230px, 0.66fr);
  gap: 12px;
  align-items: start;
}

.extras-grid .calendar-card {
  grid-column: 1;
}

.extras-grid .community-card {
  grid-column: 3;
}

.calendar-card,
.blog-strip,
.community-card,
.steps-row {
  border-radius: 26px;
  border: 2px solid rgba(209, 230, 255, 0.95);
  background: linear-gradient(180deg, rgba(244, 250, 255, 0.95), rgba(216, 233, 253, 0.93));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 20px rgba(34, 79, 136, 0.28);
}

.calendar-card {
  padding: 12px;
}

.calendar-art {
  min-height: 210px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 15%, #fff1bf 0 8%, transparent 9%),
    linear-gradient(180deg, #edf5ff 0%, #d4e7ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.blog-strip {
  padding: 10px 10px 12px;
}

.blog-strip h2,
.blog-strip h3,
.steps-row h2,
.steps-row h3 {
  margin: 0 0 10px;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-size: clamp(33px, 2.2vw, 42px);
  color: #244677;
  line-height: 1;
}

.blog-strip h2 span,
.blog-strip h3 span {
  color: #e08612;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.blog-card {
  border-radius: 18px;
  border: 1px solid #c6daf4;
  background: linear-gradient(180deg, #f8fcff, #e2edfd);
  padding: 10px 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.blog-card strong {
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: clamp(20px, 1.3vw, 24px);
  line-height: 1.05;
  color: #233e68;
  min-height: 62px;
}

.blog-card a {
  margin-top: 10px;
  display: block;
  text-decoration: none;
  text-align: center;
  border-radius: 14px;
  border: 1px solid #96b9e2;
  background: linear-gradient(180deg, #f9fcff, #dfebfb);
  color: #244677;
  font-family: "Baloo 2", cursive;
  font-size: clamp(22px, 1.45vw, 28px);
  font-weight: 700;
  padding: 6px 8px;
}

.community-card {
  position: relative;
  padding: 10px 10px 12px;
  text-align: center;
  background: linear-gradient(180deg, #f5f9ff 0%, #deecff 58%, #d5e7ff 100%);
}

.community-card h2,
.community-card h3 {
  margin: 0 auto 8px;
  width: fit-content;
  padding: 4px 14px;
  border-radius: 14px;
  border: 1px solid #f0d2a2;
  background: linear-gradient(180deg, #fff5df, #f9e7cc);
  font-family: "Baloo 2", cursive;
  font-size: clamp(22px, 1.45vw, 30px);
  color: #e08612;
  line-height: 1;
}

.community-card p {
  margin: 6px 0 8px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(19px, 1.2vw, 24px);
  color: #223e6a;
}

.community-card p strong {
  color: #ef8d1d;
}

.community-star {
  position: absolute;
  left: 8px;
  top: 46px;
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(245, 168, 24, 0.4));
}

.community-avatars {
  margin: 2px auto 4px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid #9ebfe8;
  background: linear-gradient(180deg, #f7fbff, #dfecff);
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 3px 7px rgba(52, 98, 160, 0.25);
}

.avatar.a1 { background: linear-gradient(180deg, #ffd9b3, #f0a77e); }
.avatar.a2 { background: linear-gradient(180deg, #cfd5ff, #7f95d8); }
.avatar.a3 { background: linear-gradient(180deg, #ffe5ca, #efb891); }
.avatar.a4 { background: linear-gradient(180deg, #ffd1d8, #e1899d); }

.community-share {
  display: block;
  text-decoration: none;
  border-radius: 24px;
  border: 1px solid #9cbde6;
  background: linear-gradient(180deg, #ffffff, #e8f2ff);
  color: #23406b;
  font-family: "Baloo 2", cursive;
  font-size: clamp(22px, 1.34vw, 28px);
  line-height: 1.05;
  padding: 10px 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 3px 10px rgba(62, 105, 160, 0.2);
}

.community-share span {
  color: #2a7de6;
}

.community-join {
  margin-top: 8px;
  display: block;
  text-decoration: none;
  border-radius: 999px;
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(24px, 1.45vw, 30px);
  font-weight: 800;
  line-height: 1;
  padding: 10px;
  background: linear-gradient(180deg, #51b3ff, #1f63db);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 5px 0 #154cae,
    0 10px 14px rgba(26, 74, 154, 0.35);
}

.steps-row {
  margin-top: 12px;
  padding: 10px 10px 12px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.step-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid #c3d8f5;
  background: linear-gradient(180deg, #f9fdff, #e4efff);
  padding: 10px 10px 12px;
}

.step-card b {
  position: absolute;
  left: 10px;
  top: -10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3f6fb2, #234476);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: 24px;
}

.step-card p {
  margin: 16px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(30px, 1.9vw, 36px);
  line-height: 1.05;
  color: #22406b;
}

.step-art-img {
  display: block;
  width: 100%;
  height: 112px;
  margin-top: 10px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #c2d7f3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 5px 10px rgba(44, 84, 135, 0.2);
}

.step-card a {
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd139, #f18d01);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(33px, 2.1vw, 40px);
  font-weight: 800;
  line-height: 1;
  padding: 10px 18px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.f-cat {
  text-decoration: none;
  border-radius: 18px;
  padding: 10px 18px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(20px, 1.65vw, 28px);
  font-weight: 700;
  line-height: 1;
  color: #ecf5ff;
  border: 1px solid #315c99;
  background: linear-gradient(180deg, #28539a, #1e3767);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 14px rgba(17, 40, 78, 0.38);
}

.f-cat.light,
.f-cat.light.green,
.f-cat.active {
  color: #ecf5ff;
  border-color: #315c99;
  background: linear-gradient(180deg, #28539a, #1e3767);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 14px rgba(17, 40, 78, 0.38);
}

.footer-bottom {
  margin-top: 10px;
  border-top: 2px solid rgba(140, 181, 230, 0.34);
  background: linear-gradient(180deg, rgba(12, 35, 75, 0.88), rgba(10, 28, 60, 0.94));
  border-radius: 18px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 20px rgba(8, 24, 53, 0.35);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
}

.target {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(255, 212, 71, 0.38));
}

.footer-links a {
  position: relative;
  text-decoration: none;
  color: #edf7ff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(22px, 1.55vw, 28px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
}

.footer-links a.is-current::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -8px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 161, 40, 0), #ffac1d, rgba(255, 161, 40, 0));
}

.sep {
  color: rgba(204, 222, 246, 0.7);
  font-weight: 700;
}

.footer-social {
  display: none;
}

.footer-social .soc {
  pointer-events: none;
  opacity: 0.45;
  filter: grayscale(1) saturate(0.2);
}

.soc {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(6, 17, 36, 0.45);
}

.soc.insta {
  background: radial-gradient(circle at 30% 30%, #ffd65a, #ff4ea4 48%, #6b40ff 100%);
}

.soc.tiktok {
  background: linear-gradient(180deg, #111a2b, #05080f);
}

.soc.mail {
  background: linear-gradient(180deg, #64b7ff, #2f7de1);
}

.soc.yt {
  background: linear-gradient(180deg, #ff5a58, #dd1313);
}

@media (max-width: 900px) {
  .content-stage {
    margin-top: 44px;
    padding: 0 10px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .extras-grid,
  .steps-grid,
  .blog-cards {
    grid-template-columns: 1fr;
  }

  .left-sidebar {
    width: 100%;
  }

  .cat-art {
    height: 110px;
  }

  .cat-label {
    font-size: clamp(18px, 4.5vw, 28px);
  }

  .top-list li {
    font-size: clamp(20px, 4.8vw, 30px);
  }

  .rank {
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .ico {
    font-size: 28px;
  }

  .challenge-btn,
  .ideas-btn,
  .aff-btn {
    font-size: clamp(24px, 6vw, 34px);
  }

  .idea-engine .engine-filters,
  .engine-main-actions {
    grid-template-columns: 1fr;
  }

  .finder-controls .engine-filters,
  .finder-actions,
  .finder-ideas-grid {
    grid-template-columns: 1fr;
  }

  .idea-engine .chip {
    font-size: clamp(16px, 4vw, 24px);
  }

  .finder-controls h2,
  .finder-results h2 {
    font-size: clamp(26px, 6.4vw, 36px);
  }

  .idea-actions {
    flex-direction: column;
  }

  .idea-actions .chip {
    width: 100%;
    justify-content: center;
  }

  .step-card p,
  .blog-strip h2,
  .blog-strip h3,
  .steps-row h2,
  .steps-row h3 {
    font-size: clamp(26px, 6.5vw, 36px);
  }

  .community-card h2,
  .community-card h3 {
    font-size: clamp(22px, 4.8vw, 28px);
  }

  .community-card p {
    font-size: clamp(16px, 3.8vw, 20px);
  }

  .community-share {
    font-size: clamp(18px, 4vw, 22px);
  }

  .community-join {
    font-size: clamp(20px, 4.4vw, 26px);
  }

  .site-footer {
    padding: 0 10px 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .footer-social {
    align-self: center;
  }
}

@media (max-width: 520px) {
  .popular-cats h2,
  .popular-cats h3 {
    font-size: clamp(24px, 8.4vw, 34px);
    gap: 8px;
  }

  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .cat-card.wide {
    grid-column: span 1;
  }

  .cat-art {
    height: 94px;
  }

  .cat-label {
    font-size: clamp(15px, 5.4vw, 24px);
    gap: 6px;
    padding: 7px 8px 9px;
  }

  .challenge-card h2,
  .challenge-card h3 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .challenge-board span {
    min-height: 42px;
    font-size: 25px;
  }

  .top-list-card h2,
  .top-list-card h3,
  .affiliate-col h2,
  .affiliate-col h3 {
    font-size: clamp(24px, 8vw, 33px);
  }

  .idea-engine .engine-lead {
    font-size: 14px;
  }

  .engine-filter h3 {
    font-size: clamp(18px, 6vw, 24px);
  }

  .finder-results-meta {
    font-size: 13px;
  }

  .finder-idea-card h3 {
    font-size: clamp(22px, 7vw, 31px);
  }

  .finder-actions .ideas-btn {
    font-size: clamp(21px, 6.2vw, 30px);
  }

  .top-list li {
    font-size: clamp(16px, 5.2vw, 22px);
    padding: 7px;
    gap: 6px;
  }

  .step-art-img {
    height: 92px;
    border-radius: 12px;
  }

  .rank {
    width: 28px;
    height: 28px;
    font-size: 17px;
    border-radius: 9px;
  }

  .ico {
    font-size: 22px;
  }

  .star {
    font-size: 15px;
  }

  .aff-top {
    grid-template-columns: 46px 1fr;
    gap: 7px;
  }

  .aff-icon {
    height: 44px;
    font-size: 16px;
    border-radius: 10px;
  }

  .aff-top strong {
    font-size: clamp(16px, 5vw, 21px);
  }

  .aff-top p,
  .rating {
    font-size: clamp(13px, 4.2vw, 17px);
  }

  .community-card {
    padding: 8px 8px 10px;
  }

  .community-star {
    left: 6px;
    top: 40px;
    font-size: 20px;
  }

  .community-avatars {
    gap: 3px;
    padding: 4px 6px;
  }

  .avatar {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .site-footer {
    margin-top: 80px;
    padding: 0 8px 12px;
  }

  .footer-top {
    gap: 6px;
  }

  .f-cat {
    font-size: 14px;
    padding: 8px 11px;
    border-radius: 14px;
  }

  .footer-bottom {
    padding: 9px 10px;
    border-radius: 14px;
    margin-top: 8px;
  }

  .target {
    font-size: 28px;
  }

  .footer-links {
    gap: 6px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .soc {
    width: 36px;
    height: 36px;
    font-size: 20px;
    border-radius: 10px;
  }
}

@media (max-width: 900px) {
  .page {
    width: min(1100px, 98vw);
    margin: 10px auto;
  }

  .categories-page {
    width: min(1120px, 98vw);
    margin: 8px auto;
  }

  .categories-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .challenge-variant-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .challenge-progress-head {
    grid-template-columns: 1fr;
  }

  .challenge-days-grid {
    grid-template-columns: 1fr;
  }

  .blog-overview-page {
    width: min(1120px, 98vw);
    margin: 8px auto;
    padding: 0;
  }

  .blog-overview-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blog-overview-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .blog-overview-grid,
  .blog-overview-sidebar {
    grid-column: auto;
  }

  .blog-overview-header h1 {
    font-size: clamp(34px, 7vw, 52px);
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .site-header h1 {
    font-size: clamp(30px, 7.4vw, 48px);
  }

  .article-head h1,
  .article-head h2 {
    font-size: clamp(28px, 6.6vw, 40px);
  }

  .article-content h2 {
    font-size: clamp(24px, 6vw, 34px);
  }

  .article-content h3 {
    font-size: clamp(21px, 5vw, 28px);
  }
}

@media (max-width: 520px) {
  .page-content {
    padding: 10px;
  }

  .category-spot-body {
    padding: 9px;
  }

  .category-spot h3 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .category-spot p {
    font-size: clamp(15px, 4.7vw, 18px);
  }

  .blog-overview-logo {
    width: 100%;
    margin-bottom: 6px;
  }

  .blog-overview-header h1 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .blog-overview-content {
    padding: 12px 12px 14px;
  }

  .blog-overview-content h2 {
    font-size: clamp(24px, 8vw, 36px);
  }

  .blog-overview-content p {
    font-size: clamp(16px, 4.8vw, 20px);
  }

  .blog-overview-btn {
    width: 100%;
    min-width: 0;
    font-size: clamp(22px, 7vw, 30px);
    padding: 10px 14px;
  }

  .breadcrumb {
    font-size: 13px;
    gap: 6px;
  }

  .tag {
    font-size: 15px;
    padding: 7px 10px;
  }

  .article-head p,
  .article-content p,
  .article-content li {
    font-size: 16px;
  }

  .inline-links a,
  .hub-link {
    font-size: 16px;
  }

  .footer a {
    font-size: 16px;
  }
}

/* Blog Template (Pixel-Style) */
.blog-template-page {
  width: min(1160px, 96vw);
  margin: 16px auto;
  border-radius: 26px;
  border: 2px solid rgba(193, 218, 245, 0.95);
  background: linear-gradient(180deg, rgba(88, 149, 233, 0.86), rgba(160, 201, 249, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 14px 30px rgba(21, 60, 112, 0.28);
  padding: 14px 14px 12px;
}

.blog-template-brand {
  margin: 0;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-size: clamp(28px, 2.2vw, 50px);
  line-height: 1;
  color: #f0f7ff;
  text-shadow:
    0 4px 0 rgba(31, 74, 130, 0.5),
    0 7px 18px rgba(16, 51, 98, 0.42);
}

.blog-template-logo {
  display: block;
  width: min(620px, 92%);
  margin: 0 auto 2px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(15, 50, 99, 0.45));
}

.blog-template-hero h1 {
  margin: 8px 0 10px;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-size: clamp(40px, 3.1vw, 68px);
  line-height: 0.98;
  color: #f7fcff;
  text-shadow:
    0 4px 0 rgba(38, 82, 139, 0.45),
    0 10px 18px rgba(21, 58, 111, 0.35);
}

.blog-template-intro {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr) 286px;
  gap: 10px;
  align-items: stretch;
}

.blog-template-figure {
  margin: 0;
  border-radius: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.blog-template-figure img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 255px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(23, 61, 109, 0.28));
}

.blog-template-copy {
  border-radius: 22px;
  border: 2px solid #c7ddf7;
  background: linear-gradient(180deg, #f9fdff, #e7f1ff);
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 14px rgba(31, 72, 126, 0.2);
}

.blog-template-copy p {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(19px, 1.3vw, 28px);
  line-height: 1.35;
  color: #1f3f72;
}

.blog-template-copy p + p {
  margin-top: 10px;
}

.blog-btn-green,
.blog-btn-orange {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  border-radius: 999px;
  font-family: "Baloo 2", cursive;
  font-size: clamp(30px, 1.95vw, 42px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  padding: 10px 14px;
}

.blog-btn-green {
  border: 2px solid #85df73;
  background: linear-gradient(180deg, #73dd4f, #2ea31f);
  text-shadow: 0 2px 0 rgba(20, 92, 20, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 7px 0 #1f8215,
    0 14px 20px rgba(20, 94, 18, 0.34);
}

.blog-btn-orange {
  border: 2px solid #ffca69;
  background: linear-gradient(180deg, #ffd446, #f39802);
  text-shadow: 0 2px 0 rgba(122, 66, 0, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 7px 0 #bc6100,
    0 12px 18px rgba(155, 82, 0, 0.33);
}

.blog-btn-small {
  font-size: clamp(20px, 1.2vw, 27px);
  margin-top: 8px;
  padding: 7px 10px;
}

.blog-random-card {
  border-radius: 22px;
  border: 2px solid #86b1e6;
  background: linear-gradient(180deg, #3f89e7, #2f69c8);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 14px rgba(17, 51, 101, 0.32);
}

.blog-random-card h2 {
  margin: 0;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-size: clamp(28px, 1.8vw, 38px);
  line-height: 1.05;
  color: #f6fbff;
}

.blog-template-layout {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 10px;
  align-items: start;
}

.blog-template-content {
  display: grid;
  gap: 10px;
}

.blog-idea-card {
  border-radius: 20px;
  border: 2px solid #c2d9f6;
  background: linear-gradient(180deg, #f7fcff, #e3efff);
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 14px rgba(34, 79, 137, 0.2);
}

.blog-idea-card h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(34px, 2.2vw, 46px);
  line-height: 1.05;
  color: #1d3f72;
}

.blog-idea-points {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.blog-idea-points li,
.blog-paragraph {
  position: relative;
  margin: 6px 0 0;
  padding-left: 22px;
  font-family: "Nunito", sans-serif;
  font-size: clamp(24px, 1.5vw, 31px);
  line-height: 1.35;
  color: #1f406f;
}

.blog-idea-points li::before,
.blog-paragraph::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: #61a51f;
  font-weight: 800;
}

.blog-idea-offer {
  margin-top: 10px;
  border-radius: 16px;
  border: 1px solid #c4daf5;
  background: linear-gradient(180deg, #fbfdff, #e5f0ff);
  padding: 9px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 10px;
  align-items: end;
}

.blog-offer-copy h3 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(25px, 1.5vw, 32px);
  line-height: 1.05;
  color: #1e3f6f;
}

.blog-offer-copy p {
  margin: 4px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(21px, 1.3vw, 27px);
  color: #224371;
}

.blog-stars {
  font-family: "Baloo 2", cursive;
  color: #f29c08;
}

.blog-stars span {
  color: #1e3f6f;
}

.blog-idea-offer img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #c3d8f4;
}

.blog-template-sidebar {
  border-radius: 20px;
  border: 2px solid #e1d9c3;
  background: linear-gradient(180deg, #fffaf0, #ece5d8);
  padding: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 14px rgba(35, 69, 111, 0.22);
}

.blog-template-sidebar h2 {
  margin: 0 0 8px;
  text-align: center;
  font-family: "Baloo 2", cursive;
  font-size: clamp(35px, 2vw, 44px);
  line-height: 1.05;
  color: #bf5f00;
}

.blog-side-offer {
  border-radius: 16px;
  border: 1px solid #cadcf2;
  background: linear-gradient(180deg, #f9fdff, #e4efff);
  padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 11px rgba(34, 77, 132, 0.2);
}

.blog-side-offer + .blog-side-offer {
  margin-top: 8px;
}

.blog-side-offer img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #c3d8f4;
}

.blog-side-offer h3 {
  margin: 8px 0 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(28px, 1.7vw, 36px);
  line-height: 1.05;
  color: #1f406f;
}

.blog-side-offer p {
  margin: 2px 0 0;
  font-family: "Nunito", sans-serif;
  font-size: clamp(17px, 1.1vw, 22px);
  color: #274a7a;
}

.blog-side-offer-head {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px;
  align-items: center;
}

.app-chip {
  height: 56px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Baloo 2", cursive;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(180deg, #65bfff, #3e89eb);
}

.blog-template-footer {
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(140, 181, 230, 0.34);
  background: linear-gradient(180deg, rgba(12, 35, 75, 0.88), rgba(10, 28, 60, 0.94));
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.blog-template-footer a {
  text-decoration: none;
  color: #edf7ff;
  font-family: "Baloo 2", cursive;
  font-size: clamp(18px, 1.2vw, 24px);
  line-height: 1;
}

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

  .blog-template-figure img {
    max-height: 220px;
  }

  .blog-template-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .blog-template-page {
    width: 100vw;
    margin: 0;
    border-radius: 0;
    padding: 10px 8px;
  }

  .blog-template-hero h1 {
    font-size: clamp(30px, 8.2vw, 44px);
  }

  .blog-template-logo {
    width: min(440px, 95%);
    margin-bottom: 4px;
  }

  .blog-template-copy p {
    font-size: clamp(17px, 4.8vw, 23px);
  }

  .blog-btn-green,
  .blog-btn-orange {
    font-size: clamp(22px, 6vw, 28px);
  }

  .blog-idea-card h2,
  .blog-template-sidebar h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .blog-idea-points li,
  .blog-paragraph {
    font-size: clamp(17px, 4.8vw, 22px);
  }

  .blog-idea-offer {
    grid-template-columns: 1fr;
  }

  .blog-idea-offer img {
    height: 120px;
  }

  .blog-side-offer h3 {
    font-size: clamp(21px, 6vw, 29px);
  }

  .blog-side-offer p,
  .blog-offer-copy p {
    font-size: clamp(14px, 4vw, 18px);
  }
}
