/* FishSnap Kids pages (hub, crew, games, stories, grown-ups). Loaded after kids-v2.css and fs2.css.
   Palette: deep ocean navy and teal for structure, sun yellow for the single primary action per group,
   coral and kelp only for Challenge and Gentle, sand for backgrounds. */
:root {
  --fk-ink: #0d2f44; --fk-deep: #0c3b54; --fk-teal: #17828e; --fk-sun: #ffbe3d; --fk-coral: #ff6f4f; --fk-kelp: #2f9e6b; --fk-sand: #fff6e0; --fk-line: #ecd9ad;
}
body.fk { background: var(--fk-sand); color: var(--fk-ink); }
body.fk main { background: var(--fk-sand); }
body.fk .fs2-c, body.fk .btn { border-color: #9dbcc4; }
body.fk .fs2-c.fs2-sun { background: var(--fk-sun); border-color: var(--fk-sun); color: var(--fk-ink); }
body.fk .fs2-c.fs2-sun:hover { border-color: #e2a21f; }
.fk-sub { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px; flex-wrap: wrap; }
.fk-crumb { margin: 0; font-size: 12.5px; color: #557; }
.fk-crumb a { color: inherit; text-decoration: none; }
.fk-crumb a:hover { text-decoration: underline; }
.fk-tabs { display: grid; grid-template-columns: repeat(4, 132px); gap: 8px; }
.fk-tabs a { display: inline-flex; align-items: center; justify-content: center; height: var(--fs2-S); padding: 0 10px; border-radius: 999px; border: 1.5px solid #9dbcc4; background: #fff; color: var(--fk-ink); font: 700 var(--fs2-fsS)/1 Inter, sans-serif; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fk-tabs a[aria-current="page"] { background: var(--fk-ink); border-color: var(--fk-ink); color: #fff; }
@media (max-width: 999px) { .fk-tabs { display: none; } }

.fk-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--fk-deep); color: #fff; }
.fk-hero-art { position: absolute; inset: 0; z-index: -2; background: url('../images/kids-v2/2026-09-15/main-cast-action-banner.webp') center / cover no-repeat; }
.fk-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,57,81,.93) 0%, rgba(6,57,81,.85) 30%, rgba(6,57,81,.3) 55%, transparent 70%); }
.fk-hero-inner { padding: clamp(36px, 6vw, 72px) 0; max-width: 520px; display: grid; gap: 14px; }
.fk-hero .fk-kick { font: 800 11px/1.4 Inter, sans-serif; letter-spacing: .14em; color: #a7ecdd; }
.fk-hero h1 { margin: 0; color: #fff; text-shadow: 0 2px 12px rgba(7,44,61,.4); }
.fk-hero p { margin: 0; color: #eef9f2; font-size: 1.02rem; line-height: 1.6; }
.fk-hero small { color: #cfe6e6; font-size: 12px; }
@media (max-width: 759px) {
  .fk-hero-art { background-image: url('../images/kids-v2/2026-09-15/main-cast-action-banner-mobile.webp'); background-position: center top; }
  .fk-hero::before { background: linear-gradient(180deg, rgba(6,57,81,.95) 0%, rgba(6,57,81,.9) 60%, rgba(6,57,81,.6) 100%); }
}

.fk-age { display: grid; gap: 10px; padding: 18px; background: #fff; border: 1.5px solid var(--fk-line); border-radius: 18px; color: var(--fk-ink); max-width: 640px; }
.fk-age h2 { margin: 0; font-size: 1.15rem !important; letter-spacing: -.01em !important; }
.fk-age p { margin: 0; color: #4c6470; font-size: .92rem; }
.fk-age .fk-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fk-path { display: grid; gap: 2px; justify-items: start; text-align: left; min-height: 68px; padding: 12px 14px; border: 2px solid #c9dade; border-radius: 14px; background: #fff; color: var(--fk-ink); cursor: pointer; font: inherit; }
.fk-path b { font-size: 1rem; }
.fk-path span { font-size: .84rem; color: #4c6470; }
.fk-path[data-age="gentle"][aria-pressed="true"] { border-color: var(--fk-kelp); background: #eaf7ef; }
.fk-path[data-age="challenge"][aria-pressed="true"] { border-color: var(--fk-coral); background: #fff0eb; }
.fk-path:focus-visible { outline: 3px solid #e9b83f; outline-offset: 3px; }
.fk-age-note { font-size: .86rem; color: #4c6470; }
@media (max-width: 479px) { .fk-age .fk-paths { grid-template-columns: 1fr; } }

.fk-feature { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px; background: #fff; border: 1.5px solid var(--fk-line); border-radius: 18px; }
.fk-feature img { width: 132px; height: 132px; object-fit: contain; border-radius: 14px; background: #eaf7f7; }
.fk-feature h3 { margin: 4px 0 6px; font-size: 1.35rem; letter-spacing: -.02em; }
.fk-feature p { margin: 0 0 12px; color: #4c6470; }
.fk-feature .fs2-tag { background: var(--fk-sun); color: var(--fk-ink); }
@media (max-width: 559px) { .fk-feature { grid-template-columns: 1fr; } .fk-feature img { width: 96px; height: 96px; } }

.fk-teasers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fk-teaser { display: grid; gap: 8px; align-content: start; padding: 18px; background: #fff; border: 1.5px solid var(--fk-line); border-radius: 18px; }
.fk-teaser h3 { margin: 0; font-size: 1.15rem; letter-spacing: -.02em; }
.fk-teaser p { margin: 0 0 6px; color: #4c6470; font-size: .92rem; }
.fk-teaser .fs2-c { width: 100%; margin-top: auto; }
@media (max-width: 999px) { .fk-teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .fk-teasers { grid-template-columns: 1fr; } }
.fk-section { padding-block: clamp(32px, 5vw, 56px); }
.fk-honest { margin: 16px 0 0; padding: 12px 14px; border: 1.5px dashed #d9b866; border-radius: 12px; background: #fffaf0; font-size: .9rem; color: #5b4a12; }
.fk-page-head { padding-block: clamp(24px, 4vw, 44px) 8px; }
.fk-page-head h1 { margin: 6px 0 8px; color: var(--fk-ink); }
.fk-page-head p { margin: 0; max-width: 46rem; color: #3f5b68; }
.fk-classic-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 18px; background: #fff; border: 1.5px solid var(--fk-line); border-radius: 16px; margin-top: 28px; }
.fk-classic-link p { margin: 0; max-width: 40rem; color: #3f5b68; }
.fk-gd-mobile-banner { display: none; }
@media (max-width: 760px) {
  .fk-gd-mobile-banner { display: block; aspect-ratio: 16 / 9; background: url('../images/kids-v2/2026-09-16/games-device-banner-mobile.webp') center / cover no-repeat; border-radius: 16px; margin-bottom: 16px; }
}
/* the original filter chips on the games page: equal-width on desktop, equal two-column on phones */
.fk .v2-game-controls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 640px; }
.fk .v2-game-controls button { height: var(--fs2-S); padding: 0 10px; border-radius: 999px; font: 700 var(--fs2-fsS)/1 Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 479px) { .fk .v2-game-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fk .v2-load-wrap .v2-button { min-height: var(--fs2-L); }
.fk .v2-suggest { display: inline-flex; margin: 0 0 6px; }
.fk .v2-friend-grid { margin-top: 12px; }
@media (max-width: 999px) { .fk .v2-friend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .fk .v2-friend-grid { grid-template-columns: 1fr; } .fk .v2-friend { aspect-ratio: 4 / 5; } }
.fk-stories-grid { display: grid; gap: 28px; }
.fk-grown { display: grid; gap: 20px; }
.fk-grown .family-hero, .fk-grown .family-routes, .fk-grown .family-pass-panel, .fk-grown .family-care, .fk-grown .family-questions { margin-inline: auto; }
.fk-grown a.kids-button { min-height: var(--fs2-L); }
.fk-storage table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fk-storage th, .fk-storage td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--fk-line); vertical-align: top; }
.fk-storage code { font-size: .82rem; word-break: break-all; }

/* phone: the cast image is its own block above the text so Doopi leads the entrance */
@media (max-width: 759px) {
  .fk-hero { display: flex; flex-direction: column; }
  .fk-hero-art { position: relative; inset: auto; z-index: 0; order: -1; height: min(96vw, 400px); background-position: center 30%; background-size: cover; }
  .fk-hero::before { display: none; }
  .fk-hero .container { padding-block: 20px 28px; }
  .fk-hero-inner { padding: 0; }
}

/* two-column intro: age path and Reef Dash side by side, stacked on tablets and phones */
.fk-duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; align-items: stretch; }
.fk-duo .fk-age { max-width: none; }
.fk-duo .fk-feature { height: 100%; }
@media (max-width: 899px) { .fk-duo { grid-template-columns: minmax(0, 1fr); } }
.fk-section { padding-block: clamp(24px, 4vw, 40px); }
/* character filter chips: equal columns */
body.fk.kids-v2 .v2-game-controls { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 560px; }
body.fk.kids-v2 .v2-game-controls button { width: 100%; }
@media (max-width: 479px) { body.fk.kids-v2 .v2-game-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
